diff options
author | Richard Purdie <richard@openedhand.com> | 2006-05-09 18:38:19 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-05-09 18:38:19 +0000 |
commit | b4cb437c6595ff8ac13506e502fe04b1a60c4e04 (patch) | |
tree | f529de217094f1a49049f90c49d779a49e19cd7c | |
parent | 3baacb49c13a48798d45e30a0a0076ca0b8c9e6a (diff) | |
download | poky-b4cb437c6595ff8ac13506e502fe04b1a60c4e04.tar.gz |
Merge packages changes from OE into poky.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@386 311d38ba-8fff-0310-9ca6-ca027cbcb966
135 files changed, 6375 insertions, 14447 deletions
diff --git a/openembedded/packages/cairo/cairo_1.0.4.bb b/openembedded/packages/cairo/cairo_1.0.4.bb index 001a33e33b..61aefa91f5 100644 --- a/openembedded/packages/cairo/cairo_1.0.4.bb +++ b/openembedded/packages/cairo/cairo_1.0.4.bb | |||
@@ -1,7 +1,6 @@ | |||
1 | SECTION = "libs" | 1 | SECTION = "libs" |
2 | PRIORITY = "optional" | 2 | PRIORITY = "optional" |
3 | MAINTAINER = "Phil Blundell <pb@debian.org>" | 3 | DEPENDS = "libx11 libpng fontconfig libxrender" |
4 | DEPENDS = "x11 libpng fontconfig libxrender" | ||
5 | DESCRIPTION = "Cairo graphics library" | 4 | DESCRIPTION = "Cairo graphics library" |
6 | LICENSE = "MPL LGPL" | 5 | LICENSE = "MPL LGPL" |
7 | 6 | ||
@@ -10,5 +9,5 @@ SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.gz" | |||
10 | inherit autotools pkgconfig | 9 | inherit autotools pkgconfig |
11 | 10 | ||
12 | do_stage () { | 11 | do_stage () { |
13 | autotools_stage_all | 12 | autotools_stage_all |
14 | } | 13 | } |
diff --git a/openembedded/packages/console-tools/console-tools-0.3.2/uclibc-fileno.patch b/openembedded/packages/console-tools/console-tools-0.3.2/uclibc-fileno.patch new file mode 100644 index 0000000000..c73d8a3d9e --- /dev/null +++ b/openembedded/packages/console-tools/console-tools-0.3.2/uclibc-fileno.patch | |||
@@ -0,0 +1,47 @@ | |||
1 | Fixing the locale issues isn't enough, console-tools also does a couple of | ||
2 | other pretty stupid things (like FILE *f; f->_fileno instead of fileno(f)), | ||
3 | |||
4 | --- console-tools-0.3.2/lib/cfont/fontstruct.c.ark 2005-05-22 19:12:38.000000000 +0000 | ||
5 | +++ console-tools-0.3.2/lib/cfont/fontstruct.c 2005-05-22 19:13:23.000000000 +0000 | ||
6 | @@ -50,8 +50,7 @@ | ||
7 | * get filesize | ||
8 | */ | ||
9 | |||
10 | - /* FIXME: should not use _fileno ! */ | ||
11 | - if (fstat(fontfile->_fileno, &stbuf) == -1) | ||
12 | + if (fstat(fileno(fontfile), &stbuf) == -1) | ||
13 | goto rsf_return_error; | ||
14 | |||
15 | if (S_ISREG(stbuf.st_mode)) | ||
16 | @@ -211,8 +210,7 @@ | ||
17 | * get filesize | ||
18 | */ | ||
19 | |||
20 | - /* FIXME: should not use _fileno ! */ | ||
21 | - if (fstat(fontfile->_fileno, &stbuf) == -1) | ||
22 | + if (fstat(fileno(fontfile), &stbuf) == -1) | ||
23 | goto rfg_return_error; | ||
24 | |||
25 | if (S_ISREG(stbuf.st_mode)) | ||
26 | --- console-tools-0.3.2/lib/console/acm.c.ark 2005-05-22 19:17:15.000000000 +0000 | ||
27 | +++ console-tools-0.3.2/lib/console/acm.c 2005-05-22 19:17:23.000000000 +0000 | ||
28 | @@ -30,7 +30,7 @@ | ||
29 | lct_boolean parse_failed = False; | ||
30 | lct_boolean is_unicode; | ||
31 | |||
32 | - if (fstat(fp->_fileno, &stbuf)) | ||
33 | + if (fstat(fileno(fp), &stbuf)) | ||
34 | perror(_("Cannot stat ACM file")), exit(1); | ||
35 | |||
36 | /* first try a wg15-charmap (glibc) file format */ | ||
37 | --- console-tools-0.3.2/include/lct/local.h.ark 2005-05-22 19:08:54.000000000 +0000 | ||
38 | +++ console-tools-0.3.2/include/lct/local.h 2005-05-22 19:09:12.000000000 +0000 | ||
39 | @@ -8,7 +8,7 @@ | ||
40 | #include <locale.h> | ||
41 | |||
42 | |||
43 | -#ifdef HAVE_LOCALE_H | ||
44 | +#if defined(HAVE_LOCALE_H) && defined(HAVE_LIBINTL_H) | ||
45 | # include <libintl.h> | ||
46 | # define _(String) gettext (String) | ||
47 | # ifdef gettext_noop | ||
diff --git a/openembedded/packages/console-tools/console-tools_0.3.2.bb b/openembedded/packages/console-tools/console-tools_0.3.2.bb index f7455825e0..01c2e42a31 100644 --- a/openembedded/packages/console-tools/console-tools_0.3.2.bb +++ b/openembedded/packages/console-tools/console-tools_0.3.2.bb | |||
@@ -8,6 +8,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/lct/console-tools-${PV}.tar.gz \ | |||
8 | file://configure.patch;patch=1 \ | 8 | file://configure.patch;patch=1 \ |
9 | file://compile.patch;patch=1 \ | 9 | file://compile.patch;patch=1 \ |
10 | file://kbdrate.patch;patch=1 \ | 10 | file://kbdrate.patch;patch=1 \ |
11 | file://uclibc-fileno.patch;patch=1 \ | ||
11 | file://config/*.m4" | 12 | file://config/*.m4" |
12 | 13 | ||
13 | export SUBDIRS = "fontfiletools vttools kbdtools screenfonttools contrib \ | 14 | export SUBDIRS = "fontfiletools vttools kbdtools screenfonttools contrib \ |
diff --git a/openembedded/packages/e2fsprogs/e2fsprogs_1.38.bb b/openembedded/packages/e2fsprogs/e2fsprogs_1.38.bb index e13aac5951..c27cf4c3fa 100644 --- a/openembedded/packages/e2fsprogs/e2fsprogs_1.38.bb +++ b/openembedded/packages/e2fsprogs/e2fsprogs_1.38.bb | |||
@@ -2,7 +2,7 @@ DESCRIPTION = "EXT2 Filesystem Utilities" | |||
2 | HOMEPAGE = "http://e2fsprogs.sourceforge.net" | 2 | HOMEPAGE = "http://e2fsprogs.sourceforge.net" |
3 | LICENSE = "GPL" | 3 | LICENSE = "GPL" |
4 | SECTION = "base" | 4 | SECTION = "base" |
5 | PR = "r5" | 5 | PR = "r6" |
6 | 6 | ||
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-${PV}.tar.gz \ | 7 | SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-${PV}.tar.gz \ |
8 | file://no-hardlinks.patch;patch=1" | 8 | file://no-hardlinks.patch;patch=1" |
@@ -38,12 +38,13 @@ do_stage () { | |||
38 | # blkid used to be part of e2fsprogs but is useful outside, add it | 38 | # blkid used to be part of e2fsprogs but is useful outside, add it |
39 | # as an RDEPENDS so that anything relying on it being in e2fsprogs | 39 | # as an RDEPENDS so that anything relying on it being in e2fsprogs |
40 | # still works | 40 | # still works |
41 | RDEPENDS_e2fsprogs = "e2fsprogs-blkid e2fsprogs-uuidgen" | 41 | RDEPENDS_e2fsprogs = "e2fsprogs-blkid e2fsprogs-uuidgen e2fsprogs-badblocks" |
42 | 42 | ||
43 | PACKAGES =+ "e2fsprogs-blkid e2fsprogs-uuidgen e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-fsck e2fsprogs-tune2fs" | 43 | PACKAGES =+ "e2fsprogs-blkid e2fsprogs-uuidgen e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-fsck e2fsprogs-tune2fs e2fsprogs-badblocks" |
44 | FILES_e2fsprogs-blkid = "${base_sbindir}/blkid" | 44 | FILES_e2fsprogs-blkid = "${base_sbindir}/blkid" |
45 | FILES_e2fsprogs-uuidgen = "${bindir}/uuidgen" | 45 | FILES_e2fsprogs-uuidgen = "${bindir}/uuidgen" |
46 | FILES_e2fsprogs-fsck = "${base_sbindir}/fsck" | 46 | FILES_e2fsprogs-fsck = "${base_sbindir}/fsck" |
47 | FILES_e2fsprogs-e2fsck = "${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext*" | 47 | FILES_e2fsprogs-e2fsck = "${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext*" |
48 | FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs ${base_sbindir}/mkfs.ext*" | 48 | FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs ${base_sbindir}/mkfs.ext*" |
49 | FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs ${base_sbindir}/e2label ${base_sbindir}/findfs" | 49 | FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs ${base_sbindir}/e2label ${base_sbindir}/findfs" |
50 | FILES_e2fsprogs-badblocks = "${base_sbindir}/badblocks" \ No newline at end of file | ||
diff --git a/openembedded/packages/fakeroot/fakeroot-native_1.2.13.bb b/openembedded/packages/fakeroot/fakeroot-native_1.2.13.bb index 4df6eeb5c5..cc3dfd2231 100644 --- a/openembedded/packages/fakeroot/fakeroot-native_1.2.13.bb +++ b/openembedded/packages/fakeroot/fakeroot-native_1.2.13.bb | |||
@@ -6,7 +6,13 @@ inherit native | |||
6 | SRC_URI += "file://fix-prefix.patch;patch=1" | 6 | SRC_URI += "file://fix-prefix.patch;patch=1" |
7 | S = "${WORKDIR}/fakeroot-${PV}" | 7 | S = "${WORKDIR}/fakeroot-${PV}" |
8 | 8 | ||
9 | EXTRA_OECONF = "--program-prefix=" | 9 | EXTRA_OECONF = " --program-prefix=" |
10 | |||
11 | # Compatability for the rare systems not using or having SYSV | ||
12 | python () { | ||
13 | if bb.data.getVar('HOST_NONSYSV', d, True) and bb.data.getVar('HOST_NONSYSV', d, True) != '0': | ||
14 | bb.data.setVar('EXTRA_OECONF', ' --with-ipc=tcp --program-prefix= ', d) | ||
15 | } | ||
10 | 16 | ||
11 | do_stage_append () { | 17 | do_stage_append () { |
12 | oe_libinstall -so libfakeroot ${STAGING_LIBDIR}/libfakeroot/ | 18 | oe_libinstall -so libfakeroot ${STAGING_LIBDIR}/libfakeroot/ |
diff --git a/openembedded/packages/flex/files/flex-lvalue.diff b/openembedded/packages/flex/files/flex-lvalue.diff new file mode 100644 index 0000000000..56ae539a6c --- /dev/null +++ b/openembedded/packages/flex/files/flex-lvalue.diff | |||
@@ -0,0 +1,36 @@ | |||
1 | Patch from http://bugs.debian.org/cgi-bin/bugreport.cgi/flex-lvalue.diff?bug=194844;msg=10;att=1 | ||
2 | |||
3 | according to posix 0,1,2 are already setup and this avoids | ||
4 | the issues with | ||
5 | | filter.c: In function 'filter_apply_chain': | ||
6 | | filter.c:161: error: invalid lvalue in assignment | ||
7 | | filter.c:163: error: invalid lvalue in assignment | ||
8 | | filter.c:184: error: invalid lvalue in assignment | ||
9 | |||
10 | |||
11 | diff -ur flex-2.5.31.ORIG/filter.c flex-2.5.31/filter.c | ||
12 | --- flex-2.5.31.ORIG/filter.c 2003-03-25 16:39:08.000000000 +0000 | ||
13 | +++ flex-2.5.31/filter.c 2003-05-27 17:00:26.000000000 +0000 | ||
14 | @@ -157,11 +157,8 @@ | ||
15 | if (chain->filter_func) { | ||
16 | int r; | ||
17 | |||
18 | - /* setup streams again */ | ||
19 | - if ((stdin = fdopen (0, "r")) == NULL) | ||
20 | - flexfatal (_("fdopen(0) failed")); | ||
21 | - if ((stdout = fdopen (1, "w")) == NULL) | ||
22 | - flexfatal (_("fdopen(1) failed")); | ||
23 | + /* POSIX says we inherit fd[0-2], so we don't need | ||
24 | + to do anything to them here */ | ||
25 | |||
26 | if ((r = chain->filter_func (chain)) == -1) | ||
27 | flexfatal (_("filter_func failed")); | ||
28 | @@ -181,8 +178,6 @@ | ||
29 | if (dup2 (pipes[1], 1) == -1) | ||
30 | flexfatal (_("dup2(pipes[1],1)")); | ||
31 | close (pipes[1]); | ||
32 | - if ((stdout = fdopen (1, "w")) == NULL) | ||
33 | - flexfatal (_("fdopen(1) failed")); | ||
34 | |||
35 | return true; | ||
36 | } | ||
diff --git a/openembedded/packages/flex/flex.inc b/openembedded/packages/flex/flex.inc index 6e605ac9be..d6affad226 100644 --- a/openembedded/packages/flex/flex.inc +++ b/openembedded/packages/flex/flex.inc | |||
@@ -3,6 +3,7 @@ SECTION = "devel" | |||
3 | LICENSE = "BSD" | 3 | LICENSE = "BSD" |
4 | 4 | ||
5 | SRC_URI = "${SOURCEFORGE_MIRROR}/lex/flex-2.5.31.tar.bz2 \ | 5 | SRC_URI = "${SOURCEFORGE_MIRROR}/lex/flex-2.5.31.tar.bz2 \ |
6 | file://flex-lvalue.diff;patch=1 \ | ||
6 | file://fix-gen.patch;patch=1" | 7 | file://fix-gen.patch;patch=1" |
7 | S = "${WORKDIR}/flex-${PV}" | 8 | S = "${WORKDIR}/flex-${PV}" |
8 | 9 | ||
diff --git a/openembedded/packages/freetype/files/no-hardcode.patch b/openembedded/packages/freetype/files/no-hardcode.patch new file mode 100644 index 0000000000..44ae450a14 --- /dev/null +++ b/openembedded/packages/freetype/files/no-hardcode.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- freetype-2.1.10/builds/unix/freetype-config.in.old 2006-05-01 12:39:20.000000000 +0100 | ||
2 | +++ freetype-2.1.10/builds/unix/freetype-config.in 2006-05-01 12:39:34.000000000 +0100 | ||
3 | @@ -16,7 +16,7 @@ | ||
4 | libdir=@libdir@ | ||
5 | enable_shared=@enable_shared@ | ||
6 | wl=@wl@ | ||
7 | -hardcode_libdir_flag_spec='@hardcode_libdir_flag_spec@' | ||
8 | +hardcode_libdir_flag_spec='' | ||
9 | |||
10 | usage() | ||
11 | { | ||
diff --git a/openembedded/packages/freetype/freetype_2.1.10.bb b/openembedded/packages/freetype/freetype_2.1.10.bb index 772b316cc8..35c0d0cbd6 100644 --- a/openembedded/packages/freetype/freetype_2.1.10.bb +++ b/openembedded/packages/freetype/freetype_2.1.10.bb | |||
@@ -2,10 +2,11 @@ DESCRIPTION = "Freetype font rendering library" | |||
2 | HOMEPAGE = "http://www.freetype.org" | 2 | HOMEPAGE = "http://www.freetype.org" |
3 | SECTION = "libs" | 3 | SECTION = "libs" |
4 | LICENSE = "freetype" | 4 | LICENSE = "freetype" |
5 | PR = "r0" | 5 | PR = "r1" |
6 | 6 | ||
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \ | 7 | SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \ |
8 | file://configure.patch;patch=1" | 8 | file://configure.patch;patch=1 \ |
9 | file://no-hardcode.patch;patch=1" | ||
9 | S = "${WORKDIR}/freetype-${PV}" | 10 | S = "${WORKDIR}/freetype-${PV}" |
10 | 11 | ||
11 | inherit autotools pkgconfig binconfig | 12 | inherit autotools pkgconfig binconfig |
diff --git a/openembedded/packages/gcc/gcc-4.0.2/100-uclibc-conf.patch b/openembedded/packages/gcc/gcc-4.0.2/100-uclibc-conf.patch new file mode 100644 index 0000000000..35445522f8 --- /dev/null +++ b/openembedded/packages/gcc/gcc-4.0.2/100-uclibc-conf.patch | |||
@@ -0,0 +1,556 @@ | |||
1 | From: | ||
2 | http://buildroot.uclibc.org/cgi-bin/viewcvs.cgi/*checkout*/trunk/buildroot/toolchain/gcc/4.0.2/100-uclibc-conf.patch?rev=13898 | ||
3 | |||
4 | --- gcc-4.0.2/gcc/config/t-linux-uclibc | ||
5 | +++ gcc-4.0.2/gcc/config/t-linux-uclibc | ||
6 | @@ -0,0 +1,5 @@ | ||
7 | +# Remove glibc specific files added in t-linux | ||
8 | +SHLIB_MAPFILES := $(filter-out $(srcdir)/config/libgcc-glibc.ver, $(SHLIB_MAPFILES)) | ||
9 | + | ||
10 | +# Use unwind-dw2-fde instead of unwind-dw2-fde-glibc | ||
11 | +LIB2ADDEH := $(subst unwind-dw2-fde-glibc.c,unwind-dw2-fde.c,$(LIB2ADDEH)) | ||
12 | --- gcc-4.0.2/gcc/config.gcc | ||
13 | +++ gcc-4.0.2/gcc/config.gcc | ||
14 | @@ -1778,7 +1778,7 @@ | ||
15 | ;; | ||
16 | sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \ | ||
17 | sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \ | ||
18 | - sh-*-linux* | sh[346lbe]*-*-linux* | \ | ||
19 | + sh*-*-linux* | sh[346lbe]*-*-linux* | \ | ||
20 | sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \ | ||
21 | sh64-*-netbsd* | sh64l*-*-netbsd*) | ||
22 | tmake_file="${tmake_file} sh/t-sh sh/t-elf" | ||
23 | @@ -2234,10 +2234,16 @@ | ||
24 | *) | ||
25 | echo "*** Configuration ${target} not supported" 1>&2 | ||
26 | exit 1 | ||
27 | ;; | ||
28 | esac | ||
29 | + | ||
30 | +# Rather than hook into each target, just do it after all the linux | ||
31 | +# targets have been processed | ||
32 | +case ${target} in | ||
33 | +*-linux-uclibc*) tm_defines="${tm_defines} USE_UCLIBC" ; tmake_file="${tmake_file} t-linux-uclibc" | ||
34 | +esac | ||
35 | |||
36 | case ${target} in | ||
37 | i[34567]86-*-linux*aout* | i[34567]86-*-linux*libc1) | ||
38 | tmake_file="${tmake_file} i386/t-gmm_malloc" | ||
39 | ;; | ||
40 | --- gcc-4.0.2/gcc/config/alpha/linux-elf.h | ||
41 | +++ gcc-4.0.2/gcc/config/alpha/linux-elf.h | ||
42 | @@ -27,7 +27,11 @@ | ||
43 | #define SUBTARGET_EXTRA_SPECS \ | ||
44 | { "elf_dynamic_linker", ELF_DYNAMIC_LINKER }, | ||
45 | |||
46 | +#ifdef USE_UCLIBC | ||
47 | +#define ELF_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" | ||
48 | +#else | ||
49 | #define ELF_DYNAMIC_LINKER "/lib/ld-linux.so.2" | ||
50 | +#endif | ||
51 | |||
52 | #define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax} \ | ||
53 | %{O*:-O3} %{!O*:-O1} \ | ||
54 | --- gcc-4.0.2/gcc/config/arm/linux-elf.h | ||
55 | +++ gcc-4.0.2/gcc/config/arm/linux-elf.h | ||
56 | @@ -81,14 +81,19 @@ | ||
57 | #define ENDFILE_SPEC \ | ||
58 | "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s" | ||
59 | |||
60 | +#ifdef USE_UCLIBC | ||
61 | +#define ELF_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" | ||
62 | +#else | ||
63 | +#define ELF_DYNAMIC_LINKER "/lib/ld-linux.so.2" | ||
64 | +#endif | ||
65 | #undef LINK_SPEC | ||
66 | #define LINK_SPEC "%{h*} %{version:-v} \ | ||
67 | %{b} %{Wl,*:%*} \ | ||
68 | %{static:-Bstatic} \ | ||
69 | %{shared:-shared} \ | ||
70 | %{symbolic:-Bsymbolic} \ | ||
71 | %{rdynamic:-export-dynamic} \ | ||
72 | - %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2} \ | ||
73 | + %{!dynamic-linker:-dynamic-linker " ELF_DYNAMIC_LINKER "} \ | ||
74 | -X \ | ||
75 | %{mbig-endian:-EB}" \ | ||
76 | SUBTARGET_EXTRA_LINK_SPEC | ||
77 | --- gcc-4.0.2/gcc/config/cris/linux.h | ||
78 | +++ gcc-4.0.2/gcc/config/cris/linux.h | ||
79 | @@ -79,6 +79,25 @@ | ||
80 | #undef CRIS_DEFAULT_CPU_VERSION | ||
81 | #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG | ||
82 | |||
83 | +#ifdef USE_UCLIBC | ||
84 | + | ||
85 | +#undef CRIS_SUBTARGET_VERSION | ||
86 | +#define CRIS_SUBTARGET_VERSION " - cris-axis-linux-uclibc" | ||
87 | + | ||
88 | +#undef CRIS_LINK_SUBTARGET_SPEC | ||
89 | +#define CRIS_LINK_SUBTARGET_SPEC \ | ||
90 | + "-mcrislinux\ | ||
91 | + -rpath-link include/asm/../..%s\ | ||
92 | + %{shared} %{static}\ | ||
93 | + %{symbolic:-Bdynamic} %{shlib:-Bdynamic} %{static:-Bstatic}\ | ||
94 | + %{!shared: \ | ||
95 | + %{!static: \ | ||
96 | + %{rdynamic:-export-dynamic} \ | ||
97 | + %{!dynamic-linker:-dynamic-linker /lib/ld-uClibc.so.0}}} \ | ||
98 | + %{!r:%{O2|O3: --gc-sections}}" | ||
99 | + | ||
100 | +#else /* USE_UCLIBC */ | ||
101 | + | ||
102 | #undef CRIS_SUBTARGET_VERSION | ||
103 | #define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu" | ||
104 | |||
105 | @@ -93,6 +112,8 @@ | ||
106 | %{!shared:%{!static:%{rdynamic:-export-dynamic}}}\ | ||
107 | %{!r:%{O2|O3: --gc-sections}}" | ||
108 | |||
109 | +#endif /* USE_UCLIBC */ | ||
110 | + | ||
111 | |||
112 | /* Node: Run-time Target */ | ||
113 | |||
114 | --- gcc-4.0.2/gcc/config/i386/linux.h | ||
115 | +++ gcc-4.0.2/gcc/config/i386/linux.h | ||
116 | @@ -107,6 +107,11 @@ | ||
117 | #define LINK_EMULATION "elf_i386" | ||
118 | #define DYNAMIC_LINKER "/lib/ld-linux.so.2" | ||
119 | |||
120 | +#ifdef USE_UCLIBC | ||
121 | +#undef DYNAMIC_LINKER | ||
122 | +#define DYNAMIC_LINKER "/lib/ld-uClibc.so.0" | ||
123 | +#endif | ||
124 | + | ||
125 | #undef SUBTARGET_EXTRA_SPECS | ||
126 | #define SUBTARGET_EXTRA_SPECS \ | ||
127 | { "link_emulation", LINK_EMULATION },\ | ||
128 | --- gcc-4.0.2/gcc/config/i386/linux64.h | ||
129 | +++ gcc-4.0.2/gcc/config/i386/linux64.h | ||
130 | @@ -54,14 +54,21 @@ | ||
131 | When the -shared link option is used a final link is not being | ||
132 | done. */ | ||
133 | |||
134 | +#ifdef USE_UCLIBC | ||
135 | +#define ELF32_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" | ||
136 | +#define ELF64_DYNAMIC_LINKER "/lib/ld64-uClibc.so.0" | ||
137 | +#else | ||
138 | +#define ELF32_DYNAMIC_LINKER "/lib/ld-linux.so.2" | ||
139 | +#define ELF64_DYNAMIC_LINKER "/lib64/ld-linux-x86-64.so.2" | ||
140 | +#endif | ||
141 | #undef LINK_SPEC | ||
142 | #define LINK_SPEC "%{!m32:-m elf_x86_64} %{m32:-m elf_i386} \ | ||
143 | %{shared:-shared} \ | ||
144 | %{!shared: \ | ||
145 | %{!static: \ | ||
146 | %{rdynamic:-export-dynamic} \ | ||
147 | - %{m32:%{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}} \ | ||
148 | - %{!m32:%{!dynamic-linker:-dynamic-linker /lib64/ld-linux-x86-64.so.2}}} \ | ||
149 | + %{m32:%{!dynamic-linker:-dynamic-linker " ELF32_DYNAMIC_LINKER "}} \ | ||
150 | + %{!m32:%{!dynamic-linker:-dynamic-linker " ELF64_DYNAMIC_LINKER "}}} \ | ||
151 | %{static:-static}}" | ||
152 | |||
153 | #define MULTILIB_DEFAULTS { "m64" } | ||
154 | --- gcc-4.0.2/gcc/config/ia64/linux.h | ||
155 | +++ gcc-4.0.2/gcc/config/ia64/linux.h | ||
156 | @@ -37,13 +37,18 @@ | ||
157 | /* Define this for shared library support because it isn't in the main | ||
158 | linux.h file. */ | ||
159 | |||
160 | +#ifdef USE_UCLIBC | ||
161 | +#define ELF_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" | ||
162 | +#else | ||
163 | +#define ELF_DYNAMIC_LINKER "/lib/ld-linux-ia64.so.2" | ||
164 | +#endif | ||
165 | #undef LINK_SPEC | ||
166 | #define LINK_SPEC "\ | ||
167 | %{shared:-shared} \ | ||
168 | %{!shared: \ | ||
169 | %{!static: \ | ||
170 | %{rdynamic:-export-dynamic} \ | ||
171 | - %{!dynamic-linker:-dynamic-linker /lib/ld-linux-ia64.so.2}} \ | ||
172 | + %{!dynamic-linker:-dynamic-linker " ELF_DYNAMIC_LINKER "}} \ | ||
173 | %{static:-static}}" | ||
174 | |||
175 | |||
176 | --- gcc-4.0.2/gcc/config/m68k/linux.h | ||
177 | +++ gcc-4.0.2/gcc/config/m68k/linux.h | ||
178 | @@ -127,12 +127,17 @@ | ||
179 | |||
180 | /* If ELF is the default format, we should not use /lib/elf. */ | ||
181 | |||
182 | +#ifdef USE_UCLIBC | ||
183 | +#define ELF_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" | ||
184 | +#else | ||
185 | +#define ELF_DYNAMIC_LINKER "/lib/ld.so.1" | ||
186 | +#endif | ||
187 | #undef LINK_SPEC | ||
188 | #define LINK_SPEC "-m m68kelf %{shared} \ | ||
189 | %{!shared: \ | ||
190 | %{!static: \ | ||
191 | %{rdynamic:-export-dynamic} \ | ||
192 | - %{!dynamic-linker*:-dynamic-linker /lib/ld.so.1}} \ | ||
193 | + %{!dynamic-linker*:-dynamic-linker " ELF_DYNAMIC_LINKER "}} \ | ||
194 | %{static}}" | ||
195 | |||
196 | /* For compatibility with linux/a.out */ | ||
197 | --- gcc-4.0.2/gcc/config/mips/linux.h | ||
198 | +++ gcc-4.0.2/gcc/config/mips/linux.h | ||
199 | @@ -108,14 +108,19 @@ | ||
200 | |||
201 | /* Borrowed from sparc/linux.h */ | ||
202 | #undef LINK_SPEC | ||
203 | +#ifdef USE_UCLIBC | ||
204 | +#define ELF_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" | ||
205 | +#else | ||
206 | +#define ELF_DYNAMIC_LINKER "/lib/ld.so.1" | ||
207 | +#endif | ||
208 | #define LINK_SPEC \ | ||
209 | "%(endian_spec) \ | ||
210 | %{shared:-shared} \ | ||
211 | %{!shared: \ | ||
212 | %{!ibcs: \ | ||
213 | %{!static: \ | ||
214 | %{rdynamic:-export-dynamic} \ | ||
215 | - %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}} \ | ||
216 | + %{!dynamic-linker:-dynamic-linker " ELF_DYNAMIC_LINKER "}} \ | ||
217 | %{static:-static}}}" | ||
218 | |||
219 | #undef SUBTARGET_ASM_SPEC | ||
220 | --- gcc-4.0.2/gcc/config/pa/pa-linux.h | ||
221 | +++ gcc-4.0.2/gcc/config/pa/pa-linux.h | ||
222 | @@ -82,13 +82,18 @@ | ||
223 | /* Define this for shared library support because it isn't in the main | ||
224 | linux.h file. */ | ||
225 | |||
226 | +#ifdef USE_UCLIBC | ||
227 | +#define ELF_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" | ||
228 | +#else | ||
229 | +#define ELF_DYNAMIC_LINKER "/lib/ld.so.1" | ||
230 | +#endif | ||
231 | #undef LINK_SPEC | ||
232 | #define LINK_SPEC "\ | ||
233 | %{shared:-shared} \ | ||
234 | %{!shared: \ | ||
235 | %{!static: \ | ||
236 | %{rdynamic:-export-dynamic} \ | ||
237 | - %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}} \ | ||
238 | + %{!dynamic-linker:-dynamic-linker " ELF_DYNAMIC_LINKER "}} \ | ||
239 | %{static:-static}}" | ||
240 | |||
241 | /* glibc's profiling functions don't need gcc to allocate counters. */ | ||
242 | --- gcc-4.0.2/gcc/config/rs6000/linux.h | ||
243 | +++ gcc-4.0.2/gcc/config/rs6000/linux.h | ||
244 | @@ -69,7 +69,11 @@ | ||
245 | #define LINK_START_DEFAULT_SPEC "%(link_start_linux)" | ||
246 | |||
247 | #undef LINK_OS_DEFAULT_SPEC | ||
248 | +#ifdef USE_UCLIBC | ||
249 | +#define LINK_OS_DEFAULT_SPEC "%(link_os_linux_uclibc)" | ||
250 | +#else | ||
251 | #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" | ||
252 | +#endif | ||
253 | |||
254 | #define LINK_GCC_C_SEQUENCE_SPEC \ | ||
255 | "%{static:--start-group} %G %L %{static:--end-group}%{!static:%G}" | ||
256 | --- gcc-4.0.2/gcc/config/rs6000/sysv4.h | ||
257 | +++ gcc-4.0.2/gcc/config/rs6000/sysv4.h | ||
258 | @@ -949,6 +949,7 @@ | ||
259 | mcall-linux : %(link_os_linux) ; \ | ||
260 | mcall-gnu : %(link_os_gnu) ; \ | ||
261 | mcall-netbsd : %(link_os_netbsd) ; \ | ||
262 | + mcall-linux-uclibc : %(link_os_linux_uclibc); \ | ||
263 | mcall-openbsd: %(link_os_openbsd) ; \ | ||
264 | : %(link_os_default) }" | ||
265 | |||
266 | @@ -1127,6 +1128,10 @@ | ||
267 | %{rdynamic:-export-dynamic} \ | ||
268 | %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}}}" | ||
269 | |||
270 | +#define LINK_OS_LINUX_UCLIBC_SPEC "-m elf32ppclinux %{!shared: %{!static: \ | ||
271 | + %{rdynamic:-export-dynamic} \ | ||
272 | + %{!dynamic-linker:-dynamic-linker /lib/ld-uClibc.so.0}}}" | ||
273 | + | ||
274 | #if defined(HAVE_LD_EH_FRAME_HDR) | ||
275 | # define LINK_EH_SPEC "%{!static:--eh-frame-hdr} " | ||
276 | #endif | ||
277 | @@ -1293,6 +1298,7 @@ | ||
278 | { "link_os_sim", LINK_OS_SIM_SPEC }, \ | ||
279 | { "link_os_freebsd", LINK_OS_FREEBSD_SPEC }, \ | ||
280 | { "link_os_linux", LINK_OS_LINUX_SPEC }, \ | ||
281 | + { "link_os_linux_uclibc", LINK_OS_LINUX_UCLIBC_SPEC }, \ | ||
282 | { "link_os_gnu", LINK_OS_GNU_SPEC }, \ | ||
283 | { "link_os_netbsd", LINK_OS_NETBSD_SPEC }, \ | ||
284 | { "link_os_openbsd", LINK_OS_OPENBSD_SPEC }, \ | ||
285 | --- gcc-4.0.2/gcc/config/s390/linux.h | ||
286 | +++ gcc-4.0.2/gcc/config/s390/linux.h | ||
287 | @@ -77,6 +77,13 @@ | ||
288 | #define MULTILIB_DEFAULTS { "m31" } | ||
289 | #endif | ||
290 | |||
291 | +#ifdef USE_UCLIBC | ||
292 | +#define ELF31_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" | ||
293 | +#define ELF64_DYNAMIC_LINKER "/lib/ld64-uClibc.so.0" | ||
294 | +#else | ||
295 | +#define ELF31_DYNAMIC_LINKER "/lib/ld.so.1" | ||
296 | +#define ELF64_DYNAMIC_LINKER "/lib/ld64.so.1" | ||
297 | +#endif | ||
298 | #undef LINK_SPEC | ||
299 | #define LINK_SPEC \ | ||
300 | "%{m31:-m elf_s390}%{m64:-m elf64_s390} \ | ||
301 | @@ -86,8 +93,8 @@ | ||
302 | %{!static: \ | ||
303 | %{rdynamic:-export-dynamic} \ | ||
304 | %{!dynamic-linker: \ | ||
305 | - %{m31:-dynamic-linker /lib/ld.so.1} \ | ||
306 | - %{m64:-dynamic-linker /lib/ld64.so.1}}}}" | ||
307 | + %{m31:-dynamic-linker " ELF31_DYNAMIC_LINKER "} \ | ||
308 | + %{m64:-dynamic-linker " ELF64_DYNAMIC_LINKER "}}}}" | ||
309 | |||
310 | |||
311 | #define TARGET_ASM_FILE_END file_end_indicate_exec_stack | ||
312 | --- gcc-4.0.2/gcc/config/sh/linux.h | ||
313 | +++ gcc-4.0.2/gcc/config/sh/linux.h | ||
314 | @@ -67,11 +67,16 @@ | ||
315 | #undef SUBTARGET_LINK_EMUL_SUFFIX | ||
316 | #define SUBTARGET_LINK_EMUL_SUFFIX "_linux" | ||
317 | #undef SUBTARGET_LINK_SPEC | ||
318 | +#ifdef USE_UCLIBC | ||
319 | +#define ELF_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" | ||
320 | +#else | ||
321 | +#define ELF_DYNAMIC_LINKER "/lib/ld-linux.so.2" | ||
322 | +#endif | ||
323 | #define SUBTARGET_LINK_SPEC \ | ||
324 | "%{shared:-shared} \ | ||
325 | %{!static: \ | ||
326 | %{rdynamic:-export-dynamic} \ | ||
327 | - %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}} \ | ||
328 | + %{!dynamic-linker:-dynamic-linker " ELF_DYNAMIC_LINKER "}} \ | ||
329 | %{static:-static}" | ||
330 | |||
331 | #undef LIB_SPEC | ||
332 | --- gcc-4.0.2/gcc/config/sparc/linux.h | ||
333 | +++ gcc-4.0.2/gcc/config/sparc/linux.h | ||
334 | @@ -130,14 +130,19 @@ | ||
335 | |||
336 | /* If ELF is the default format, we should not use /lib/elf. */ | ||
337 | |||
338 | +#ifdef USE_UCLIBC | ||
339 | +#define ELF_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" | ||
340 | +#else | ||
341 | +#define ELF_DYNAMIC_LINKER "/lib/ld-linux.so.2" | ||
342 | +#endif | ||
343 | #undef LINK_SPEC | ||
344 | #define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \ | ||
345 | %{!mno-relax:%{!r:-relax}} \ | ||
346 | %{!shared: \ | ||
347 | %{!ibcs: \ | ||
348 | %{!static: \ | ||
349 | %{rdynamic:-export-dynamic} \ | ||
350 | - %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}} \ | ||
351 | + %{!dynamic-linker:-dynamic-linker " ELF_DYNAMIC_LINKER "}} \ | ||
352 | %{static:-static}}}" | ||
353 | |||
354 | /* The sun bundled assembler doesn't accept -Yd, (and neither does gas). | ||
355 | --- gcc-4.0.2/gcc/config/sparc/linux64.h | ||
356 | +++ gcc-4.0.2/gcc/config/sparc/linux64.h | ||
357 | @@ -167,12 +166,17 @@ | ||
358 | { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \ | ||
359 | { "link_arch", LINK_ARCH_SPEC }, | ||
360 | |||
361 | +#ifdef USE_UCLIBC | ||
362 | +#define ELF_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" | ||
363 | +#else | ||
364 | +#define ELF_DYNAMIC_LINKER "/lib/ld-linux.so.2" | ||
365 | +#endif | ||
366 | #define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \ | ||
367 | %{!shared: \ | ||
368 | %{!ibcs: \ | ||
369 | %{!static: \ | ||
370 | %{rdynamic:-export-dynamic} \ | ||
371 | - %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}} \ | ||
372 | + %{!dynamic-linker:-dynamic-linker " ELF_DYNAMIC_LINKER "}} \ | ||
373 | %{static:-static}}} \ | ||
374 | " | ||
375 | |||
376 | --- gcc-4.0.2/libtool.m4 | ||
377 | +++ gcc-4.0.2/libtool.m4 | ||
378 | @@ -682,6 +682,11 @@ | ||
379 | lt_cv_deplibs_check_method=pass_all | ||
380 | ;; | ||
381 | |||
382 | +linux-uclibc*) | ||
383 | + lt_cv_deplibs_check_method=pass_all | ||
384 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | ||
385 | + ;; | ||
386 | + | ||
387 | netbsd* | knetbsd*-gnu) | ||
388 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | ||
389 | [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'] | ||
390 | --- gcc-4.0.2/ltconfig | ||
391 | +++ gcc-4.0.2/ltconfig | ||
392 | @@ -603,6 +603,7 @@ | ||
393 | |||
394 | # Transform linux* to *-*-linux-gnu*, to support old configure scripts. | ||
395 | case $host_os in | ||
396 | +linux-uclibc*) ;; | ||
397 | linux-gnu*) ;; | ||
398 | linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | ||
399 | esac | ||
400 | @@ -1274,6 +1275,23 @@ | ||
401 | dynamic_linker='GNU/Linux ld.so' | ||
402 | ;; | ||
403 | |||
404 | +linux-uclibc*) | ||
405 | + version_type=linux | ||
406 | + need_lib_prefix=no | ||
407 | + need_version=no | ||
408 | + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | ||
409 | + soname_spec='${libname}${release}.so$major' | ||
410 | + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | ||
411 | + shlibpath_var=LD_LIBRARY_PATH | ||
412 | + shlibpath_overrides_runpath=no | ||
413 | + # This implies no fast_install, which is unacceptable. | ||
414 | + # Some rework will be needed to allow for fast_install | ||
415 | + # before this can be enabled. | ||
416 | + hardcode_into_libs=yes | ||
417 | + # Assume using the uClibc dynamic linker. | ||
418 | + dynamic_linker="uClibc ld.so" | ||
419 | + ;; | ||
420 | + | ||
421 | netbsd*) | ||
422 | need_lib_prefix=no | ||
423 | need_version=no | ||
424 | --- gcc-4.0.2/libffi/configure | ||
425 | +++ gcc-4.0.2/libffi/configure | ||
426 | @@ -3457,6 +3457,11 @@ | ||
427 | lt_cv_deplibs_check_method=pass_all | ||
428 | ;; | ||
429 | |||
430 | +linux-uclibc*) | ||
431 | + lt_cv_deplibs_check_method=pass_all | ||
432 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | ||
433 | + ;; | ||
434 | + | ||
435 | netbsd* | knetbsd*-gnu) | ||
436 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | ||
437 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' | ||
438 | --- gcc-4.0.2/libgfortran/configure | ||
439 | +++ gcc-4.0.2/libgfortran/configure | ||
440 | @@ -3681,6 +3681,11 @@ | ||
441 | lt_cv_deplibs_check_method=pass_all | ||
442 | ;; | ||
443 | |||
444 | +linux-uclibc*) | ||
445 | + lt_cv_deplibs_check_method=pass_all | ||
446 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | ||
447 | + ;; | ||
448 | + | ||
449 | netbsd* | knetbsd*-gnu) | ||
450 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | ||
451 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' | ||
452 | --- gcc-4.0.2/libjava/configure | ||
453 | +++ gcc-4.0.2/libjava/configure | ||
454 | @@ -4351,6 +4351,11 @@ | ||
455 | lt_cv_deplibs_check_method=pass_all | ||
456 | ;; | ||
457 | |||
458 | +linux-uclibc*) | ||
459 | + lt_cv_deplibs_check_method=pass_all | ||
460 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | ||
461 | + ;; | ||
462 | + | ||
463 | netbsd* | knetbsd*-gnu) | ||
464 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | ||
465 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' | ||
466 | --- gcc-4.0.2/libmudflap/configure | ||
467 | +++ gcc-4.0.2/libmudflap/configure | ||
468 | @@ -5380,6 +5380,11 @@ | ||
469 | lt_cv_deplibs_check_method=pass_all | ||
470 | ;; | ||
471 | |||
472 | +linux-uclibc*) | ||
473 | + lt_cv_deplibs_check_method=pass_all | ||
474 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | ||
475 | + ;; | ||
476 | + | ||
477 | netbsd* | knetbsd*-gnu) | ||
478 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | ||
479 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' | ||
480 | --- gcc-4.0.2/libobjc/configure | ||
481 | +++ gcc-4.0.2/libobjc/configure | ||
482 | @@ -3283,6 +3283,11 @@ | ||
483 | lt_cv_deplibs_check_method=pass_all | ||
484 | ;; | ||
485 | |||
486 | +linux-uclibc*) | ||
487 | + lt_cv_deplibs_check_method=pass_all | ||
488 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | ||
489 | + ;; | ||
490 | + | ||
491 | netbsd* | knetbsd*-gnu) | ||
492 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | ||
493 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' | ||
494 | --- gcc-4.0.2/boehm-gc/configure | ||
495 | +++ gcc-4.0.2/boehm-gc/configure | ||
496 | @@ -4320,6 +4320,11 @@ | ||
497 | lt_cv_deplibs_check_method=pass_all | ||
498 | ;; | ||
499 | |||
500 | +linux-uclibc*) | ||
501 | + lt_cv_deplibs_check_method=pass_all | ||
502 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | ||
503 | + ;; | ||
504 | + | ||
505 | netbsd* | knetbsd*-gnu) | ||
506 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | ||
507 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' | ||
508 | --- gcc-4.0.2/configure | ||
509 | +++ gcc-4.0.2/configure | ||
510 | @@ -1141,7 +1141,7 @@ | ||
511 | ;; | ||
512 | "") | ||
513 | case "${target}" in | ||
514 | - *-*-linux*-gnu | *-*-gnu* | *-*-k*bsd*-gnu) | ||
515 | + *-*-linux*-gnu | *-*-gnu* | *-*-k*bsd*-gnu | *-*-linux-uclibc*) | ||
516 | # Enable libmudflap by default in GNU and friends. | ||
517 | ;; | ||
518 | *-*-freebsd*) | ||
519 | --- gcc-4.0.2/configure.in | ||
520 | +++ gcc-4.0.2/configure.in | ||
521 | @@ -350,7 +350,7 @@ | ||
522 | ;; | ||
523 | "") | ||
524 | case "${target}" in | ||
525 | - *-*-linux*-gnu | *-*-gnu* | *-*-k*bsd*-gnu) | ||
526 | + *-*-linux*-gnu | *-*-gnu* | *-*-k*bsd*-gnu | *-*-linux-uclibc*) | ||
527 | # Enable libmudflap by default in GNU and friends. | ||
528 | ;; | ||
529 | *-*-freebsd*) | ||
530 | --- gcc-4.0.2/contrib/regression/objs-gcc.sh | ||
531 | +++ gcc-4.0.2/contrib/regression/objs-gcc.sh | ||
532 | @@ -105,6 +105,10 @@ | ||
533 | then | ||
534 | make all-gdb all-dejagnu all-ld || exit 1 | ||
535 | make install-gdb install-dejagnu install-ld || exit 1 | ||
536 | +elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ] | ||
537 | + then | ||
538 | + make all-gdb all-dejagnu all-ld || exit 1 | ||
539 | + make install-gdb install-dejagnu install-ld || exit 1 | ||
540 | elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then | ||
541 | make bootstrap || exit 1 | ||
542 | make install || exit 1 | ||
543 | --- gcc-4.0.2/zlib/configure | ||
544 | +++ gcc-4.0.2/zlib/configure | ||
545 | @@ -3426,6 +3426,11 @@ | ||
546 | lt_cv_deplibs_check_method=pass_all | ||
547 | ;; | ||
548 | |||
549 | +linux-uclibc*) | ||
550 | + lt_cv_deplibs_check_method=pass_all | ||
551 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | ||
552 | + ;; | ||
553 | + | ||
554 | netbsd* | knetbsd*-gnu) | ||
555 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | ||
556 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' | ||
diff --git a/openembedded/packages/gcc/gcc-4.0.2/200-uclibc-locale.patch b/openembedded/packages/gcc/gcc-4.0.2/200-uclibc-locale.patch new file mode 100644 index 0000000000..8be03a5446 --- /dev/null +++ b/openembedded/packages/gcc/gcc-4.0.2/200-uclibc-locale.patch | |||
@@ -0,0 +1,3240 @@ | |||
1 | From: | ||
2 | http://buildroot.uclibc.org/cgi-bin/viewcvs.cgi/*checkout*/trunk/buildroot/toolchain/gcc/4.0.2/200-uclibc-locale.patch?rev=11715 | ||
3 | |||
4 | diff -urN gcc-4.0.0-100/libstdc++-v3/acinclude.m4 gcc-4.0.0/libstdc++-v3/acinclude.m4 | ||
5 | --- gcc-4.0.0-100/libstdc++-v3/acinclude.m4 2005-04-30 13:06:53.000000000 -0500 | ||
6 | +++ gcc-4.0.0/libstdc++-v3/acinclude.m4 2005-04-28 20:19:01.000000000 -0500 | ||
7 | @@ -1104,7 +1104,7 @@ | ||
8 | AC_MSG_CHECKING([for C locale to use]) | ||
9 | GLIBCXX_ENABLE(clocale,auto,[@<:@=MODEL@:>@], | ||
10 | [use MODEL for target locale package], | ||
11 | - [permit generic|gnu|ieee_1003.1-2001|yes|no|auto]) | ||
12 | + [permit generic|gnu|ieee_1003.1-2001|uclibc|yes|no|auto]) | ||
13 | |||
14 | # If they didn't use this option switch, or if they specified --enable | ||
15 | # with no specific model, we'll have to look for one. If they | ||
16 | @@ -1120,6 +1120,9 @@ | ||
17 | # Default to "generic". | ||
18 | if test $enable_clocale_flag = auto; then | ||
19 | case ${target_os} in | ||
20 | + *-uclibc*) | ||
21 | + enable_clocale_flag=uclibc | ||
22 | + ;; | ||
23 | linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu) | ||
24 | AC_EGREP_CPP([_GLIBCXX_ok], [ | ||
25 | #include <features.h> | ||
26 | @@ -1263,6 +1266,40 @@ | ||
27 | CTIME_CC=config/locale/generic/time_members.cc | ||
28 | CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h | ||
29 | ;; | ||
30 | + uclibc) | ||
31 | + AC_MSG_RESULT(uclibc) | ||
32 | + | ||
33 | + # Declare intention to use gettext, and add support for specific | ||
34 | + # languages. | ||
35 | + # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT | ||
36 | + ALL_LINGUAS="de fr" | ||
37 | + | ||
38 | + # Don't call AM-GNU-GETTEXT here. Instead, assume glibc. | ||
39 | + AC_CHECK_PROG(check_msgfmt, msgfmt, yes, no) | ||
40 | + if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then | ||
41 | + USE_NLS=yes | ||
42 | + fi | ||
43 | + # Export the build objects. | ||
44 | + for ling in $ALL_LINGUAS; do \ | ||
45 | + glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \ | ||
46 | + glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \ | ||
47 | + done | ||
48 | + AC_SUBST(glibcxx_MOFILES) | ||
49 | + AC_SUBST(glibcxx_POFILES) | ||
50 | + | ||
51 | + CLOCALE_H=config/locale/uclibc/c_locale.h | ||
52 | + CLOCALE_CC=config/locale/uclibc/c_locale.cc | ||
53 | + CCODECVT_CC=config/locale/uclibc/codecvt_members.cc | ||
54 | + CCOLLATE_CC=config/locale/uclibc/collate_members.cc | ||
55 | + CCTYPE_CC=config/locale/uclibc/ctype_members.cc | ||
56 | + CMESSAGES_H=config/locale/uclibc/messages_members.h | ||
57 | + CMESSAGES_CC=config/locale/uclibc/messages_members.cc | ||
58 | + CMONEY_CC=config/locale/uclibc/monetary_members.cc | ||
59 | + CNUMERIC_CC=config/locale/uclibc/numeric_members.cc | ||
60 | + CTIME_H=config/locale/uclibc/time_members.h | ||
61 | + CTIME_CC=config/locale/uclibc/time_members.cc | ||
62 | + CLOCALE_INTERNAL_H=config/locale/uclibc/c++locale_internal.h | ||
63 | + ;; | ||
64 | esac | ||
65 | |||
66 | # This is where the testsuite looks for locale catalogs, using the | ||
67 | diff -urN gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/c++locale_internal.h gcc-4.0.0/libstdc++-v3/config/locale/uclibc/c++locale_internal.h | ||
68 | --- gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/c++locale_internal.h 1969-12-31 18:00:00.000000000 -0600 | ||
69 | +++ gcc-4.0.0/libstdc++-v3/config/locale/uclibc/c++locale_internal.h 2005-04-28 01:13:15.000000000 -0500 | ||
70 | @@ -0,0 +1,59 @@ | ||
71 | +// Prototypes for GLIBC thread locale __-prefixed functions -*- C++ -*- | ||
72 | + | ||
73 | +// Copyright (C) 2002, 2004 Free Software Foundation, Inc. | ||
74 | +// | ||
75 | +// This file is part of the GNU ISO C++ Library. This library is free | ||
76 | +// software; you can redistribute it and/or modify it under the | ||
77 | +// terms of the GNU General Public License as published by the | ||
78 | +// Free Software Foundation; either version 2, or (at your option) | ||
79 | +// any later version. | ||
80 | + | ||
81 | +// This library is distributed in the hope that it will be useful, | ||
82 | +// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
83 | +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
84 | +// GNU General Public License for more details. | ||
85 | + | ||
86 | +// You should have received a copy of the GNU General Public License along | ||
87 | +// with this library; see the file COPYING. If not, write to the Free | ||
88 | +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||
89 | +// USA. | ||
90 | + | ||
91 | +// As a special exception, you may use this file as part of a free software | ||
92 | +// library without restriction. Specifically, if other files instantiate | ||
93 | +// templates or use macros or inline functions from this file, or you compile | ||
94 | +// this file and link it with other files to produce an executable, this | ||
95 | +// file does not by itself cause the resulting executable to be covered by | ||
96 | +// the GNU General Public License. This exception does not however | ||
97 | +// invalidate any other reasons why the executable file might be covered by | ||
98 | +// the GNU General Public License. | ||
99 | + | ||
100 | +// Written by Jakub Jelinek <jakub@redhat.com> | ||
101 | + | ||
102 | +#include <clocale> | ||
103 | + | ||
104 | +#ifdef __UCLIBC_MJN3_ONLY__ | ||
105 | +#warning clean this up | ||
106 | +#endif | ||
107 | + | ||
108 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
109 | + | ||
110 | +extern "C" __typeof(iswctype_l) __iswctype_l; | ||
111 | +extern "C" __typeof(nl_langinfo_l) __nl_langinfo_l; | ||
112 | +extern "C" __typeof(strcoll_l) __strcoll_l; | ||
113 | +extern "C" __typeof(strftime_l) __strftime_l; | ||
114 | +extern "C" __typeof(strtod_l) __strtod_l; | ||
115 | +extern "C" __typeof(strtof_l) __strtof_l; | ||
116 | +extern "C" __typeof(strtold_l) __strtold_l; | ||
117 | +extern "C" __typeof(strxfrm_l) __strxfrm_l; | ||
118 | +extern "C" __typeof(towlower_l) __towlower_l; | ||
119 | +extern "C" __typeof(towupper_l) __towupper_l; | ||
120 | +extern "C" __typeof(wcscoll_l) __wcscoll_l; | ||
121 | +extern "C" __typeof(wcsftime_l) __wcsftime_l; | ||
122 | +extern "C" __typeof(wcsxfrm_l) __wcsxfrm_l; | ||
123 | +extern "C" __typeof(wctype_l) __wctype_l; | ||
124 | +extern "C" __typeof(newlocale) __newlocale; | ||
125 | +extern "C" __typeof(freelocale) __freelocale; | ||
126 | +extern "C" __typeof(duplocale) __duplocale; | ||
127 | +extern "C" __typeof(uselocale) __uselocale; | ||
128 | + | ||
129 | +#endif // GLIBC 2.3 and later | ||
130 | diff -urN gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/c_locale.cc gcc-4.0.0/libstdc++-v3/config/locale/uclibc/c_locale.cc | ||
131 | --- gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/c_locale.cc 1969-12-31 18:00:00.000000000 -0600 | ||
132 | +++ gcc-4.0.0/libstdc++-v3/config/locale/uclibc/c_locale.cc 2005-04-28 01:13:15.000000000 -0500 | ||
133 | @@ -0,0 +1,160 @@ | ||
134 | +// Wrapper for underlying C-language localization -*- C++ -*- | ||
135 | + | ||
136 | +// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. | ||
137 | +// | ||
138 | +// This file is part of the GNU ISO C++ Library. This library is free | ||
139 | +// software; you can redistribute it and/or modify it under the | ||
140 | +// terms of the GNU General Public License as published by the | ||
141 | +// Free Software Foundation; either version 2, or (at your option) | ||
142 | +// any later version. | ||
143 | + | ||
144 | +// This library is distributed in the hope that it will be useful, | ||
145 | +// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
146 | +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
147 | +// GNU General Public License for more details. | ||
148 | + | ||
149 | +// You should have received a copy of the GNU General Public License along | ||
150 | +// with this library; see the file COPYING. If not, write to the Free | ||
151 | +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||
152 | +// USA. | ||
153 | + | ||
154 | +// As a special exception, you may use this file as part of a free software | ||
155 | +// library without restriction. Specifically, if other files instantiate | ||
156 | +// templates or use macros or inline functions from this file, or you compile | ||
157 | +// this file and link it with other files to produce an executable, this | ||
158 | +// file does not by itself cause the resulting executable to be covered by | ||
159 | +// the GNU General Public License. This exception does not however | ||
160 | +// invalidate any other reasons why the executable file might be covered by | ||
161 | +// the GNU General Public License. | ||
162 | + | ||
163 | +// | ||
164 | +// ISO C++ 14882: 22.8 Standard locale categories. | ||
165 | +// | ||
166 | + | ||
167 | +// Written by Benjamin Kosnik <bkoz@redhat.com> | ||
168 | + | ||
169 | +#include <cerrno> // For errno | ||
170 | +#include <locale> | ||
171 | +#include <stdexcept> | ||
172 | +#include <langinfo.h> | ||
173 | +#include <bits/c++locale_internal.h> | ||
174 | + | ||
175 | +#ifndef __UCLIBC_HAS_XLOCALE__ | ||
176 | +#define __strtol_l(S, E, B, L) strtol((S), (E), (B)) | ||
177 | +#define __strtoul_l(S, E, B, L) strtoul((S), (E), (B)) | ||
178 | +#define __strtoll_l(S, E, B, L) strtoll((S), (E), (B)) | ||
179 | +#define __strtoull_l(S, E, B, L) strtoull((S), (E), (B)) | ||
180 | +#define __strtof_l(S, E, L) strtof((S), (E)) | ||
181 | +#define __strtod_l(S, E, L) strtod((S), (E)) | ||
182 | +#define __strtold_l(S, E, L) strtold((S), (E)) | ||
183 | +#warning should dummy __newlocale check for C|POSIX ? | ||
184 | +#define __newlocale(a, b, c) NULL | ||
185 | +#define __freelocale(a) ((void)0) | ||
186 | +#define __duplocale(a) __c_locale() | ||
187 | +#endif | ||
188 | + | ||
189 | +namespace std | ||
190 | +{ | ||
191 | + template<> | ||
192 | + void | ||
193 | + __convert_to_v(const char* __s, float& __v, ios_base::iostate& __err, | ||
194 | + const __c_locale& __cloc) | ||
195 | + { | ||
196 | + if (!(__err & ios_base::failbit)) | ||
197 | + { | ||
198 | + char* __sanity; | ||
199 | + errno = 0; | ||
200 | + float __f = __strtof_l(__s, &__sanity, __cloc); | ||
201 | + if (__sanity != __s && errno != ERANGE) | ||
202 | + __v = __f; | ||
203 | + else | ||
204 | + __err |= ios_base::failbit; | ||
205 | + } | ||
206 | + } | ||
207 | + | ||
208 | + template<> | ||
209 | + void | ||
210 | + __convert_to_v(const char* __s, double& __v, ios_base::iostate& __err, | ||
211 | + const __c_locale& __cloc) | ||
212 | + { | ||
213 | + if (!(__err & ios_base::failbit)) | ||
214 | + { | ||
215 | + char* __sanity; | ||
216 | + errno = 0; | ||
217 | + double __d = __strtod_l(__s, &__sanity, __cloc); | ||
218 | + if (__sanity != __s && errno != ERANGE) | ||
219 | + __v = __d; | ||
220 | + else | ||
221 | + __err |= ios_base::failbit; | ||
222 | + } | ||
223 | + } | ||
224 | + | ||
225 | + template<> | ||
226 | + void | ||
227 | + __convert_to_v(const char* __s, long double& __v, ios_base::iostate& __err, | ||
228 | + const __c_locale& __cloc) | ||
229 | + { | ||
230 | + if (!(__err & ios_base::failbit)) | ||
231 | + { | ||
232 | + char* __sanity; | ||
233 | + errno = 0; | ||
234 | + long double __ld = __strtold_l(__s, &__sanity, __cloc); | ||
235 | + if (__sanity != __s && errno != ERANGE) | ||
236 | + __v = __ld; | ||
237 | + else | ||
238 | + __err |= ios_base::failbit; | ||
239 | + } | ||
240 | + } | ||
241 | + | ||
242 | + void | ||
243 | + locale::facet::_S_create_c_locale(__c_locale& __cloc, const char* __s, | ||
244 | + __c_locale __old) | ||
245 | + { | ||
246 | + __cloc = __newlocale(1 << LC_ALL, __s, __old); | ||
247 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
248 | + if (!__cloc) | ||
249 | + { | ||
250 | + // This named locale is not supported by the underlying OS. | ||
251 | + __throw_runtime_error(__N("locale::facet::_S_create_c_locale " | ||
252 | + "name not valid")); | ||
253 | + } | ||
254 | +#endif | ||
255 | + } | ||
256 | + | ||
257 | + void | ||
258 | + locale::facet::_S_destroy_c_locale(__c_locale& __cloc) | ||
259 | + { | ||
260 | + if (_S_get_c_locale() != __cloc) | ||
261 | + __freelocale(__cloc); | ||
262 | + } | ||
263 | + | ||
264 | + __c_locale | ||
265 | + locale::facet::_S_clone_c_locale(__c_locale& __cloc) | ||
266 | + { return __duplocale(__cloc); } | ||
267 | +} // namespace std | ||
268 | + | ||
269 | +namespace __gnu_cxx | ||
270 | +{ | ||
271 | + const char* const category_names[6 + _GLIBCXX_NUM_CATEGORIES] = | ||
272 | + { | ||
273 | + "LC_CTYPE", | ||
274 | + "LC_NUMERIC", | ||
275 | + "LC_TIME", | ||
276 | + "LC_COLLATE", | ||
277 | + "LC_MONETARY", | ||
278 | + "LC_MESSAGES", | ||
279 | +#if _GLIBCXX_NUM_CATEGORIES != 0 | ||
280 | + "LC_PAPER", | ||
281 | + "LC_NAME", | ||
282 | + "LC_ADDRESS", | ||
283 | + "LC_TELEPHONE", | ||
284 | + "LC_MEASUREMENT", | ||
285 | + "LC_IDENTIFICATION" | ||
286 | +#endif | ||
287 | + }; | ||
288 | +} | ||
289 | + | ||
290 | +namespace std | ||
291 | +{ | ||
292 | + const char* const* const locale::_S_categories = __gnu_cxx::category_names; | ||
293 | +} // namespace std | ||
294 | diff -urN gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/c_locale.h gcc-4.0.0/libstdc++-v3/config/locale/uclibc/c_locale.h | ||
295 | --- gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/c_locale.h 1969-12-31 18:00:00.000000000 -0600 | ||
296 | +++ gcc-4.0.0/libstdc++-v3/config/locale/uclibc/c_locale.h 2005-04-28 01:13:15.000000000 -0500 | ||
297 | @@ -0,0 +1,115 @@ | ||
298 | +// Wrapper for underlying C-language localization -*- C++ -*- | ||
299 | + | ||
300 | +// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc. | ||
301 | +// | ||
302 | +// This file is part of the GNU ISO C++ Library. This library is free | ||
303 | +// software; you can redistribute it and/or modify it under the | ||
304 | +// terms of the GNU General Public License as published by the | ||
305 | +// Free Software Foundation; either version 2, or (at your option) | ||
306 | +// any later version. | ||
307 | + | ||
308 | +// This library is distributed in the hope that it will be useful, | ||
309 | +// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
310 | +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
311 | +// GNU General Public License for more details. | ||
312 | + | ||
313 | +// You should have received a copy of the GNU General Public License along | ||
314 | +// with this library; see the file COPYING. If not, write to the Free | ||
315 | +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||
316 | +// USA. | ||
317 | + | ||
318 | +// As a special exception, you may use this file as part of a free software | ||
319 | +// library without restriction. Specifically, if other files instantiate | ||
320 | +// templates or use macros or inline functions from this file, or you compile | ||
321 | +// this file and link it with other files to produce an executable, this | ||
322 | +// file does not by itself cause the resulting executable to be covered by | ||
323 | +// the GNU General Public License. This exception does not however | ||
324 | +// invalidate any other reasons why the executable file might be covered by | ||
325 | +// the GNU General Public License. | ||
326 | + | ||
327 | +// | ||
328 | +// ISO C++ 14882: 22.8 Standard locale categories. | ||
329 | +// | ||
330 | + | ||
331 | +// Written by Benjamin Kosnik <bkoz@redhat.com> | ||
332 | + | ||
333 | +#ifndef _C_LOCALE_H | ||
334 | +#define _C_LOCALE_H 1 | ||
335 | + | ||
336 | +#pragma GCC system_header | ||
337 | + | ||
338 | +#include <cstring> // get std::strlen | ||
339 | +#include <cstdio> // get std::snprintf or std::sprintf | ||
340 | +#include <clocale> | ||
341 | +#include <langinfo.h> // For codecvt | ||
342 | +#ifdef __UCLIBC_MJN3_ONLY__ | ||
343 | +#warning fix this | ||
344 | +#endif | ||
345 | +#ifdef __UCLIBC_HAS_LOCALE__ | ||
346 | +#include <iconv.h> // For codecvt using iconv, iconv_t | ||
347 | +#endif | ||
348 | +#ifdef __UCLIBC_HAS_GETTEXT_AWARENESS__ | ||
349 | +#include <libintl.h> // For messages | ||
350 | +#endif | ||
351 | + | ||
352 | +#ifdef __UCLIBC_MJN3_ONLY__ | ||
353 | +#warning what is _GLIBCXX_C_LOCALE_GNU for | ||
354 | +#endif | ||
355 | +#define _GLIBCXX_C_LOCALE_GNU 1 | ||
356 | + | ||
357 | +#ifdef __UCLIBC_MJN3_ONLY__ | ||
358 | +#warning fix categories | ||
359 | +#endif | ||
360 | +// #define _GLIBCXX_NUM_CATEGORIES 6 | ||
361 | +#define _GLIBCXX_NUM_CATEGORIES 0 | ||
362 | + | ||
363 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
364 | +namespace __gnu_cxx | ||
365 | +{ | ||
366 | + extern "C" __typeof(uselocale) __uselocale; | ||
367 | +} | ||
368 | +#endif | ||
369 | + | ||
370 | +namespace std | ||
371 | +{ | ||
372 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
373 | + typedef __locale_t __c_locale; | ||
374 | +#else | ||
375 | + typedef int* __c_locale; | ||
376 | +#endif | ||
377 | + | ||
378 | + // Convert numeric value of type _Tv to string and return length of | ||
379 | + // string. If snprintf is available use it, otherwise fall back to | ||
380 | + // the unsafe sprintf which, in general, can be dangerous and should | ||
381 | + // be avoided. | ||
382 | + template<typename _Tv> | ||
383 | + int | ||
384 | + __convert_from_v(char* __out, const int __size, const char* __fmt, | ||
385 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
386 | + _Tv __v, const __c_locale& __cloc, int __prec) | ||
387 | + { | ||
388 | + __c_locale __old = __gnu_cxx::__uselocale(__cloc); | ||
389 | +#else | ||
390 | + _Tv __v, const __c_locale&, int __prec) | ||
391 | + { | ||
392 | +# ifdef __UCLIBC_HAS_LOCALE__ | ||
393 | + char* __old = std::setlocale(LC_ALL, NULL); | ||
394 | + char* __sav = new char[std::strlen(__old) + 1]; | ||
395 | + std::strcpy(__sav, __old); | ||
396 | + std::setlocale(LC_ALL, "C"); | ||
397 | +# endif | ||
398 | +#endif | ||
399 | + | ||
400 | + const int __ret = std::snprintf(__out, __size, __fmt, __prec, __v); | ||
401 | + | ||
402 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
403 | + __gnu_cxx::__uselocale(__old); | ||
404 | +#elif defined __UCLIBC_HAS_LOCALE__ | ||
405 | + std::setlocale(LC_ALL, __sav); | ||
406 | + delete [] __sav; | ||
407 | +#endif | ||
408 | + return __ret; | ||
409 | + } | ||
410 | +} | ||
411 | + | ||
412 | +#endif | ||
413 | diff -urN gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/codecvt_members.cc gcc-4.0.0/libstdc++-v3/config/locale/uclibc/codecvt_members.cc | ||
414 | --- gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/codecvt_members.cc 1969-12-31 18:00:00.000000000 -0600 | ||
415 | +++ gcc-4.0.0/libstdc++-v3/config/locale/uclibc/codecvt_members.cc 2005-04-28 01:13:15.000000000 -0500 | ||
416 | @@ -0,0 +1,306 @@ | ||
417 | +// std::codecvt implementation details, GNU version -*- C++ -*- | ||
418 | + | ||
419 | +// Copyright (C) 2002, 2003 Free Software Foundation, Inc. | ||
420 | +// | ||
421 | +// This file is part of the GNU ISO C++ Library. This library is free | ||
422 | +// software; you can redistribute it and/or modify it under the | ||
423 | +// terms of the GNU General Public License as published by the | ||
424 | +// Free Software Foundation; either version 2, or (at your option) | ||
425 | +// any later version. | ||
426 | + | ||
427 | +// This library is distributed in the hope that it will be useful, | ||
428 | +// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
429 | +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
430 | +// GNU General Public License for more details. | ||
431 | + | ||
432 | +// You should have received a copy of the GNU General Public License along | ||
433 | +// with this library; see the file COPYING. If not, write to the Free | ||
434 | +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||
435 | +// USA. | ||
436 | + | ||
437 | +// As a special exception, you may use this file as part of a free software | ||
438 | +// library without restriction. Specifically, if other files instantiate | ||
439 | +// templates or use macros or inline functions from this file, or you compile | ||
440 | +// this file and link it with other files to produce an executable, this | ||
441 | +// file does not by itself cause the resulting executable to be covered by | ||
442 | +// the GNU General Public License. This exception does not however | ||
443 | +// invalidate any other reasons why the executable file might be covered by | ||
444 | +// the GNU General Public License. | ||
445 | + | ||
446 | +// | ||
447 | +// ISO C++ 14882: 22.2.1.5 - Template class codecvt | ||
448 | +// | ||
449 | + | ||
450 | +// Written by Benjamin Kosnik <bkoz@redhat.com> | ||
451 | + | ||
452 | +#include <locale> | ||
453 | +#include <bits/c++locale_internal.h> | ||
454 | + | ||
455 | +namespace std | ||
456 | +{ | ||
457 | + // Specializations. | ||
458 | +#ifdef _GLIBCXX_USE_WCHAR_T | ||
459 | + codecvt_base::result | ||
460 | + codecvt<wchar_t, char, mbstate_t>:: | ||
461 | + do_out(state_type& __state, const intern_type* __from, | ||
462 | + const intern_type* __from_end, const intern_type*& __from_next, | ||
463 | + extern_type* __to, extern_type* __to_end, | ||
464 | + extern_type*& __to_next) const | ||
465 | + { | ||
466 | + result __ret = ok; | ||
467 | + state_type __tmp_state(__state); | ||
468 | + | ||
469 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
470 | + __c_locale __old = __uselocale(_M_c_locale_codecvt); | ||
471 | +#endif | ||
472 | + | ||
473 | + // wcsnrtombs is *very* fast but stops if encounters NUL characters: | ||
474 | + // in case we fall back to wcrtomb and then continue, in a loop. | ||
475 | + // NB: wcsnrtombs is a GNU extension | ||
476 | + for (__from_next = __from, __to_next = __to; | ||
477 | + __from_next < __from_end && __to_next < __to_end | ||
478 | + && __ret == ok;) | ||
479 | + { | ||
480 | + const intern_type* __from_chunk_end = wmemchr(__from_next, L'\0', | ||
481 | + __from_end - __from_next); | ||
482 | + if (!__from_chunk_end) | ||
483 | + __from_chunk_end = __from_end; | ||
484 | + | ||
485 | + __from = __from_next; | ||
486 | + const size_t __conv = wcsnrtombs(__to_next, &__from_next, | ||
487 | + __from_chunk_end - __from_next, | ||
488 | + __to_end - __to_next, &__state); | ||
489 | + if (__conv == static_cast<size_t>(-1)) | ||
490 | + { | ||
491 | + // In case of error, in order to stop at the exact place we | ||
492 | + // have to start again from the beginning with a series of | ||
493 | + // wcrtomb. | ||
494 | + for (; __from < __from_next; ++__from) | ||
495 | + __to_next += wcrtomb(__to_next, *__from, &__tmp_state); | ||
496 | + __state = __tmp_state; | ||
497 | + __ret = error; | ||
498 | + } | ||
499 | + else if (__from_next && __from_next < __from_chunk_end) | ||
500 | + { | ||
501 | + __to_next += __conv; | ||
502 | + __ret = partial; | ||
503 | + } | ||
504 | + else | ||
505 | + { | ||
506 | + __from_next = __from_chunk_end; | ||
507 | + __to_next += __conv; | ||
508 | + } | ||
509 | + | ||
510 | + if (__from_next < __from_end && __ret == ok) | ||
511 | + { | ||
512 | + extern_type __buf[MB_LEN_MAX]; | ||
513 | + __tmp_state = __state; | ||
514 | + const size_t __conv = wcrtomb(__buf, *__from_next, &__tmp_state); | ||
515 | + if (__conv > static_cast<size_t>(__to_end - __to_next)) | ||
516 | + __ret = partial; | ||
517 | + else | ||
518 | + { | ||
519 | + memcpy(__to_next, __buf, __conv); | ||
520 | + __state = __tmp_state; | ||
521 | + __to_next += __conv; | ||
522 | + ++__from_next; | ||
523 | + } | ||
524 | + } | ||
525 | + } | ||
526 | + | ||
527 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
528 | + __uselocale(__old); | ||
529 | +#endif | ||
530 | + | ||
531 | + return __ret; | ||
532 | + } | ||
533 | + | ||
534 | + codecvt_base::result | ||
535 | + codecvt<wchar_t, char, mbstate_t>:: | ||
536 | + do_in(state_type& __state, const extern_type* __from, | ||
537 | + const extern_type* __from_end, const extern_type*& __from_next, | ||
538 | + intern_type* __to, intern_type* __to_end, | ||
539 | + intern_type*& __to_next) const | ||
540 | + { | ||
541 | + result __ret = ok; | ||
542 | + state_type __tmp_state(__state); | ||
543 | + | ||
544 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
545 | + __c_locale __old = __uselocale(_M_c_locale_codecvt); | ||
546 | +#endif | ||
547 | + | ||
548 | + // mbsnrtowcs is *very* fast but stops if encounters NUL characters: | ||
549 | + // in case we store a L'\0' and then continue, in a loop. | ||
550 | + // NB: mbsnrtowcs is a GNU extension | ||
551 | + for (__from_next = __from, __to_next = __to; | ||
552 | + __from_next < __from_end && __to_next < __to_end | ||
553 | + && __ret == ok;) | ||
554 | + { | ||
555 | + const extern_type* __from_chunk_end; | ||
556 | + __from_chunk_end = static_cast<const extern_type*>(memchr(__from_next, '\0', | ||
557 | + __from_end | ||
558 | + - __from_next)); | ||
559 | + if (!__from_chunk_end) | ||
560 | + __from_chunk_end = __from_end; | ||
561 | + | ||
562 | + __from = __from_next; | ||
563 | + size_t __conv = mbsnrtowcs(__to_next, &__from_next, | ||
564 | + __from_chunk_end - __from_next, | ||
565 | + __to_end - __to_next, &__state); | ||
566 | + if (__conv == static_cast<size_t>(-1)) | ||
567 | + { | ||
568 | + // In case of error, in order to stop at the exact place we | ||
569 | + // have to start again from the beginning with a series of | ||
570 | + // mbrtowc. | ||
571 | + for (;; ++__to_next, __from += __conv) | ||
572 | + { | ||
573 | + __conv = mbrtowc(__to_next, __from, __from_end - __from, | ||
574 | + &__tmp_state); | ||
575 | + if (__conv == static_cast<size_t>(-1) | ||
576 | + || __conv == static_cast<size_t>(-2)) | ||
577 | + break; | ||
578 | + } | ||
579 | + __from_next = __from; | ||
580 | + __state = __tmp_state; | ||
581 | + __ret = error; | ||
582 | + } | ||
583 | + else if (__from_next && __from_next < __from_chunk_end) | ||
584 | + { | ||
585 | + // It is unclear what to return in this case (see DR 382). | ||
586 | + __to_next += __conv; | ||
587 | + __ret = partial; | ||
588 | + } | ||
589 | + else | ||
590 | + { | ||
591 | + __from_next = __from_chunk_end; | ||
592 | + __to_next += __conv; | ||
593 | + } | ||
594 | + | ||
595 | + if (__from_next < __from_end && __ret == ok) | ||
596 | + { | ||
597 | + if (__to_next < __to_end) | ||
598 | + { | ||
599 | + // XXX Probably wrong for stateful encodings | ||
600 | + __tmp_state = __state; | ||
601 | + ++__from_next; | ||
602 | + *__to_next++ = L'\0'; | ||
603 | + } | ||
604 | + else | ||
605 | + __ret = partial; | ||
606 | + } | ||
607 | + } | ||
608 | + | ||
609 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
610 | + __uselocale(__old); | ||
611 | +#endif | ||
612 | + | ||
613 | + return __ret; | ||
614 | + } | ||
615 | + | ||
616 | + int | ||
617 | + codecvt<wchar_t, char, mbstate_t>:: | ||
618 | + do_encoding() const throw() | ||
619 | + { | ||
620 | + // XXX This implementation assumes that the encoding is | ||
621 | + // stateless and is either single-byte or variable-width. | ||
622 | + int __ret = 0; | ||
623 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
624 | + __c_locale __old = __uselocale(_M_c_locale_codecvt); | ||
625 | +#endif | ||
626 | + if (MB_CUR_MAX == 1) | ||
627 | + __ret = 1; | ||
628 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
629 | + __uselocale(__old); | ||
630 | +#endif | ||
631 | + return __ret; | ||
632 | + } | ||
633 | + | ||
634 | + int | ||
635 | + codecvt<wchar_t, char, mbstate_t>:: | ||
636 | + do_max_length() const throw() | ||
637 | + { | ||
638 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
639 | + __c_locale __old = __uselocale(_M_c_locale_codecvt); | ||
640 | +#endif | ||
641 | + // XXX Probably wrong for stateful encodings. | ||
642 | + int __ret = MB_CUR_MAX; | ||
643 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
644 | + __uselocale(__old); | ||
645 | +#endif | ||
646 | + return __ret; | ||
647 | + } | ||
648 | + | ||
649 | + int | ||
650 | + codecvt<wchar_t, char, mbstate_t>:: | ||
651 | + do_length(state_type& __state, const extern_type* __from, | ||
652 | + const extern_type* __end, size_t __max) const | ||
653 | + { | ||
654 | + int __ret = 0; | ||
655 | + state_type __tmp_state(__state); | ||
656 | + | ||
657 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
658 | + __c_locale __old = __uselocale(_M_c_locale_codecvt); | ||
659 | +#endif | ||
660 | + | ||
661 | + // mbsnrtowcs is *very* fast but stops if encounters NUL characters: | ||
662 | + // in case we advance past it and then continue, in a loop. | ||
663 | + // NB: mbsnrtowcs is a GNU extension | ||
664 | + | ||
665 | + // A dummy internal buffer is needed in order for mbsnrtocws to consider | ||
666 | + // its fourth parameter (it wouldn't with NULL as first parameter). | ||
667 | + wchar_t* __to = static_cast<wchar_t*>(__builtin_alloca(sizeof(wchar_t) | ||
668 | + * __max)); | ||
669 | + while (__from < __end && __max) | ||
670 | + { | ||
671 | + const extern_type* __from_chunk_end; | ||
672 | + __from_chunk_end = static_cast<const extern_type*>(memchr(__from, '\0', | ||
673 | + __end | ||
674 | + - __from)); | ||
675 | + if (!__from_chunk_end) | ||
676 | + __from_chunk_end = __end; | ||
677 | + | ||
678 | + const extern_type* __tmp_from = __from; | ||
679 | + size_t __conv = mbsnrtowcs(__to, &__from, | ||
680 | + __from_chunk_end - __from, | ||
681 | + __max, &__state); | ||
682 | + if (__conv == static_cast<size_t>(-1)) | ||
683 | + { | ||
684 | + // In case of error, in order to stop at the exact place we | ||
685 | + // have to start again from the beginning with a series of | ||
686 | + // mbrtowc. | ||
687 | + for (__from = __tmp_from;; __from += __conv) | ||
688 | + { | ||
689 | + __conv = mbrtowc(NULL, __from, __end - __from, | ||
690 | + &__tmp_state); | ||
691 | + if (__conv == static_cast<size_t>(-1) | ||
692 | + || __conv == static_cast<size_t>(-2)) | ||
693 | + break; | ||
694 | + } | ||
695 | + __state = __tmp_state; | ||
696 | + __ret += __from - __tmp_from; | ||
697 | + break; | ||
698 | + } | ||
699 | + if (!__from) | ||
700 | + __from = __from_chunk_end; | ||
701 | + | ||
702 | + __ret += __from - __tmp_from; | ||
703 | + __max -= __conv; | ||
704 | + | ||
705 | + if (__from < __end && __max) | ||
706 | + { | ||
707 | + // XXX Probably wrong for stateful encodings | ||
708 | + __tmp_state = __state; | ||
709 | + ++__from; | ||
710 | + ++__ret; | ||
711 | + --__max; | ||
712 | + } | ||
713 | + } | ||
714 | + | ||
715 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
716 | + __uselocale(__old); | ||
717 | +#endif | ||
718 | + | ||
719 | + return __ret; | ||
720 | + } | ||
721 | +#endif | ||
722 | +} | ||
723 | diff -urN gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/collate_members.cc gcc-4.0.0/libstdc++-v3/config/locale/uclibc/collate_members.cc | ||
724 | --- gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/collate_members.cc 1969-12-31 18:00:00.000000000 -0600 | ||
725 | +++ gcc-4.0.0/libstdc++-v3/config/locale/uclibc/collate_members.cc 2005-04-28 01:13:15.000000000 -0500 | ||
726 | @@ -0,0 +1,80 @@ | ||
727 | +// std::collate implementation details, GNU version -*- C++ -*- | ||
728 | + | ||
729 | +// Copyright (C) 2001, 2002 Free Software Foundation, Inc. | ||
730 | +// | ||
731 | +// This file is part of the GNU ISO C++ Library. This library is free | ||
732 | +// software; you can redistribute it and/or modify it under the | ||
733 | +// terms of the GNU General Public License as published by the | ||
734 | +// Free Software Foundation; either version 2, or (at your option) | ||
735 | +// any later version. | ||
736 | + | ||
737 | +// This library is distributed in the hope that it will be useful, | ||
738 | +// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
739 | +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
740 | +// GNU General Public License for more details. | ||
741 | + | ||
742 | +// You should have received a copy of the GNU General Public License along | ||
743 | +// with this library; see the file COPYING. If not, write to the Free | ||
744 | +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||
745 | +// USA. | ||
746 | + | ||
747 | +// As a special exception, you may use this file as part of a free software | ||
748 | +// library without restriction. Specifically, if other files instantiate | ||
749 | +// templates or use macros or inline functions from this file, or you compile | ||
750 | +// this file and link it with other files to produce an executable, this | ||
751 | +// file does not by itself cause the resulting executable to be covered by | ||
752 | +// the GNU General Public License. This exception does not however | ||
753 | +// invalidate any other reasons why the executable file might be covered by | ||
754 | +// the GNU General Public License. | ||
755 | + | ||
756 | +// | ||
757 | +// ISO C++ 14882: 22.2.4.1.2 collate virtual functions | ||
758 | +// | ||
759 | + | ||
760 | +// Written by Benjamin Kosnik <bkoz@redhat.com> | ||
761 | + | ||
762 | +#include <locale> | ||
763 | +#include <bits/c++locale_internal.h> | ||
764 | + | ||
765 | +#ifndef __UCLIBC_HAS_XLOCALE__ | ||
766 | +#define __strcoll_l(S1, S2, L) strcoll((S1), (S2)) | ||
767 | +#define __strxfrm_l(S1, S2, N, L) strxfrm((S1), (S2), (N)) | ||
768 | +#define __wcscoll_l(S1, S2, L) wcscoll((S1), (S2)) | ||
769 | +#define __wcsxfrm_l(S1, S2, N, L) wcsxfrm((S1), (S2), (N)) | ||
770 | +#endif | ||
771 | + | ||
772 | +namespace std | ||
773 | +{ | ||
774 | + // These are basically extensions to char_traits, and perhaps should | ||
775 | + // be put there instead of here. | ||
776 | + template<> | ||
777 | + int | ||
778 | + collate<char>::_M_compare(const char* __one, const char* __two) const | ||
779 | + { | ||
780 | + int __cmp = __strcoll_l(__one, __two, _M_c_locale_collate); | ||
781 | + return (__cmp >> (8 * sizeof (int) - 2)) | (__cmp != 0); | ||
782 | + } | ||
783 | + | ||
784 | + template<> | ||
785 | + size_t | ||
786 | + collate<char>::_M_transform(char* __to, const char* __from, | ||
787 | + size_t __n) const | ||
788 | + { return __strxfrm_l(__to, __from, __n, _M_c_locale_collate); } | ||
789 | + | ||
790 | +#ifdef _GLIBCXX_USE_WCHAR_T | ||
791 | + template<> | ||
792 | + int | ||
793 | + collate<wchar_t>::_M_compare(const wchar_t* __one, | ||
794 | + const wchar_t* __two) const | ||
795 | + { | ||
796 | + int __cmp = __wcscoll_l(__one, __two, _M_c_locale_collate); | ||
797 | + return (__cmp >> (8 * sizeof (int) - 2)) | (__cmp != 0); | ||
798 | + } | ||
799 | + | ||
800 | + template<> | ||
801 | + size_t | ||
802 | + collate<wchar_t>::_M_transform(wchar_t* __to, const wchar_t* __from, | ||
803 | + size_t __n) const | ||
804 | + { return __wcsxfrm_l(__to, __from, __n, _M_c_locale_collate); } | ||
805 | +#endif | ||
806 | +} | ||
807 | diff -urN gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/ctype_members.cc gcc-4.0.0/libstdc++-v3/config/locale/uclibc/ctype_members.cc | ||
808 | --- gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/ctype_members.cc 1969-12-31 18:00:00.000000000 -0600 | ||
809 | +++ gcc-4.0.0/libstdc++-v3/config/locale/uclibc/ctype_members.cc 2005-04-28 01:13:15.000000000 -0500 | ||
810 | @@ -0,0 +1,300 @@ | ||
811 | +// std::ctype implementation details, GNU version -*- C++ -*- | ||
812 | + | ||
813 | +// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc. | ||
814 | +// | ||
815 | +// This file is part of the GNU ISO C++ Library. This library is free | ||
816 | +// software; you can redistribute it and/or modify it under the | ||
817 | +// terms of the GNU General Public License as published by the | ||
818 | +// Free Software Foundation; either version 2, or (at your option) | ||
819 | +// any later version. | ||
820 | + | ||
821 | +// This library is distributed in the hope that it will be useful, | ||
822 | +// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
823 | +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
824 | +// GNU General Public License for more details. | ||
825 | + | ||
826 | +// You should have received a copy of the GNU General Public License along | ||
827 | +// with this library; see the file COPYING. If not, write to the Free | ||
828 | +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||
829 | +// USA. | ||
830 | + | ||
831 | +// As a special exception, you may use this file as part of a free software | ||
832 | +// library without restriction. Specifically, if other files instantiate | ||
833 | +// templates or use macros or inline functions from this file, or you compile | ||
834 | +// this file and link it with other files to produce an executable, this | ||
835 | +// file does not by itself cause the resulting executable to be covered by | ||
836 | +// the GNU General Public License. This exception does not however | ||
837 | +// invalidate any other reasons why the executable file might be covered by | ||
838 | +// the GNU General Public License. | ||
839 | + | ||
840 | +// | ||
841 | +// ISO C++ 14882: 22.2.1.1.2 ctype virtual functions. | ||
842 | +// | ||
843 | + | ||
844 | +// Written by Benjamin Kosnik <bkoz@redhat.com> | ||
845 | + | ||
846 | +#define _LIBC | ||
847 | +#include <locale> | ||
848 | +#undef _LIBC | ||
849 | +#include <bits/c++locale_internal.h> | ||
850 | + | ||
851 | +#ifndef __UCLIBC_HAS_XLOCALE__ | ||
852 | +#define __wctype_l(S, L) wctype((S)) | ||
853 | +#define __towupper_l(C, L) towupper((C)) | ||
854 | +#define __towlower_l(C, L) towlower((C)) | ||
855 | +#define __iswctype_l(C, M, L) iswctype((C), (M)) | ||
856 | +#endif | ||
857 | + | ||
858 | +namespace std | ||
859 | +{ | ||
860 | + // NB: The other ctype<char> specializations are in src/locale.cc and | ||
861 | + // various /config/os/* files. | ||
862 | + template<> | ||
863 | + ctype_byname<char>::ctype_byname(const char* __s, size_t __refs) | ||
864 | + : ctype<char>(0, false, __refs) | ||
865 | + { | ||
866 | + if (std::strcmp(__s, "C") != 0 && std::strcmp(__s, "POSIX") != 0) | ||
867 | + { | ||
868 | + this->_S_destroy_c_locale(this->_M_c_locale_ctype); | ||
869 | + this->_S_create_c_locale(this->_M_c_locale_ctype, __s); | ||
870 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
871 | + this->_M_toupper = this->_M_c_locale_ctype->__ctype_toupper; | ||
872 | + this->_M_tolower = this->_M_c_locale_ctype->__ctype_tolower; | ||
873 | + this->_M_table = this->_M_c_locale_ctype->__ctype_b; | ||
874 | +#endif | ||
875 | + } | ||
876 | + } | ||
877 | + | ||
878 | +#ifdef _GLIBCXX_USE_WCHAR_T | ||
879 | + ctype<wchar_t>::__wmask_type | ||
880 | + ctype<wchar_t>::_M_convert_to_wmask(const mask __m) const | ||
881 | + { | ||
882 | + __wmask_type __ret; | ||
883 | + switch (__m) | ||
884 | + { | ||
885 | + case space: | ||
886 | + __ret = __wctype_l("space", _M_c_locale_ctype); | ||
887 | + break; | ||
888 | + case print: | ||
889 | + __ret = __wctype_l("print", _M_c_locale_ctype); | ||
890 | + break; | ||
891 | + case cntrl: | ||
892 | + __ret = __wctype_l("cntrl", _M_c_locale_ctype); | ||
893 | + break; | ||
894 | + case upper: | ||
895 | + __ret = __wctype_l("upper", _M_c_locale_ctype); | ||
896 | + break; | ||
897 | + case lower: | ||
898 | + __ret = __wctype_l("lower", _M_c_locale_ctype); | ||
899 | + break; | ||
900 | + case alpha: | ||
901 | + __ret = __wctype_l("alpha", _M_c_locale_ctype); | ||
902 | + break; | ||
903 | + case digit: | ||
904 | + __ret = __wctype_l("digit", _M_c_locale_ctype); | ||
905 | + break; | ||
906 | + case punct: | ||
907 | + __ret = __wctype_l("punct", _M_c_locale_ctype); | ||
908 | + break; | ||
909 | + case xdigit: | ||
910 | + __ret = __wctype_l("xdigit", _M_c_locale_ctype); | ||
911 | + break; | ||
912 | + case alnum: | ||
913 | + __ret = __wctype_l("alnum", _M_c_locale_ctype); | ||
914 | + break; | ||
915 | + case graph: | ||
916 | + __ret = __wctype_l("graph", _M_c_locale_ctype); | ||
917 | + break; | ||
918 | + default: | ||
919 | + __ret = __wmask_type(); | ||
920 | + } | ||
921 | + return __ret; | ||
922 | + } | ||
923 | + | ||
924 | + wchar_t | ||
925 | + ctype<wchar_t>::do_toupper(wchar_t __c) const | ||
926 | + { return __towupper_l(__c, _M_c_locale_ctype); } | ||
927 | + | ||
928 | + const wchar_t* | ||
929 | + ctype<wchar_t>::do_toupper(wchar_t* __lo, const wchar_t* __hi) const | ||
930 | + { | ||
931 | + while (__lo < __hi) | ||
932 | + { | ||
933 | + *__lo = __towupper_l(*__lo, _M_c_locale_ctype); | ||
934 | + ++__lo; | ||
935 | + } | ||
936 | + return __hi; | ||
937 | + } | ||
938 | + | ||
939 | + wchar_t | ||
940 | + ctype<wchar_t>::do_tolower(wchar_t __c) const | ||
941 | + { return __towlower_l(__c, _M_c_locale_ctype); } | ||
942 | + | ||
943 | + const wchar_t* | ||
944 | + ctype<wchar_t>::do_tolower(wchar_t* __lo, const wchar_t* __hi) const | ||
945 | + { | ||
946 | + while (__lo < __hi) | ||
947 | + { | ||
948 | + *__lo = __towlower_l(*__lo, _M_c_locale_ctype); | ||
949 | + ++__lo; | ||
950 | + } | ||
951 | + return __hi; | ||
952 | + } | ||
953 | + | ||
954 | + bool | ||
955 | + ctype<wchar_t>:: | ||
956 | + do_is(mask __m, wchar_t __c) const | ||
957 | + { | ||
958 | + // Highest bitmask in ctype_base == 10, but extra in "C" | ||
959 | + // library for blank. | ||
960 | + bool __ret = false; | ||
961 | + const size_t __bitmasksize = 11; | ||
962 | + for (size_t __bitcur = 0; __bitcur <= __bitmasksize; ++__bitcur) | ||
963 | + if (__m & _M_bit[__bitcur] | ||
964 | + && __iswctype_l(__c, _M_wmask[__bitcur], _M_c_locale_ctype)) | ||
965 | + { | ||
966 | + __ret = true; | ||
967 | + break; | ||
968 | + } | ||
969 | + return __ret; | ||
970 | + } | ||
971 | + | ||
972 | + const wchar_t* | ||
973 | + ctype<wchar_t>:: | ||
974 | + do_is(const wchar_t* __lo, const wchar_t* __hi, mask* __vec) const | ||
975 | + { | ||
976 | + for (; __lo < __hi; ++__vec, ++__lo) | ||
977 | + { | ||
978 | + // Highest bitmask in ctype_base == 10, but extra in "C" | ||
979 | + // library for blank. | ||
980 | + const size_t __bitmasksize = 11; | ||
981 | + mask __m = 0; | ||
982 | + for (size_t __bitcur = 0; __bitcur <= __bitmasksize; ++__bitcur) | ||
983 | + if (__iswctype_l(*__lo, _M_wmask[__bitcur], _M_c_locale_ctype)) | ||
984 | + __m |= _M_bit[__bitcur]; | ||
985 | + *__vec = __m; | ||
986 | + } | ||
987 | + return __hi; | ||
988 | + } | ||
989 | + | ||
990 | + const wchar_t* | ||
991 | + ctype<wchar_t>:: | ||
992 | + do_scan_is(mask __m, const wchar_t* __lo, const wchar_t* __hi) const | ||
993 | + { | ||
994 | + while (__lo < __hi && !this->do_is(__m, *__lo)) | ||
995 | + ++__lo; | ||
996 | + return __lo; | ||
997 | + } | ||
998 | + | ||
999 | + const wchar_t* | ||
1000 | + ctype<wchar_t>:: | ||
1001 | + do_scan_not(mask __m, const char_type* __lo, const char_type* __hi) const | ||
1002 | + { | ||
1003 | + while (__lo < __hi && this->do_is(__m, *__lo) != 0) | ||
1004 | + ++__lo; | ||
1005 | + return __lo; | ||
1006 | + } | ||
1007 | + | ||
1008 | + wchar_t | ||
1009 | + ctype<wchar_t>:: | ||
1010 | + do_widen(char __c) const | ||
1011 | + { return _M_widen[static_cast<unsigned char>(__c)]; } | ||
1012 | + | ||
1013 | + const char* | ||
1014 | + ctype<wchar_t>:: | ||
1015 | + do_widen(const char* __lo, const char* __hi, wchar_t* __dest) const | ||
1016 | + { | ||
1017 | + while (__lo < __hi) | ||
1018 | + { | ||
1019 | + *__dest = _M_widen[static_cast<unsigned char>(*__lo)]; | ||
1020 | + ++__lo; | ||
1021 | + ++__dest; | ||
1022 | + } | ||
1023 | + return __hi; | ||
1024 | + } | ||
1025 | + | ||
1026 | + char | ||
1027 | + ctype<wchar_t>:: | ||
1028 | + do_narrow(wchar_t __wc, char __dfault) const | ||
1029 | + { | ||
1030 | + if (__wc >= 0 && __wc < 128 && _M_narrow_ok) | ||
1031 | + return _M_narrow[__wc]; | ||
1032 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
1033 | + __c_locale __old = __uselocale(_M_c_locale_ctype); | ||
1034 | +#endif | ||
1035 | + const int __c = wctob(__wc); | ||
1036 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
1037 | + __uselocale(__old); | ||
1038 | +#endif | ||
1039 | + return (__c == EOF ? __dfault : static_cast<char>(__c)); | ||
1040 | + } | ||
1041 | + | ||
1042 | + const wchar_t* | ||
1043 | + ctype<wchar_t>:: | ||
1044 | + do_narrow(const wchar_t* __lo, const wchar_t* __hi, char __dfault, | ||
1045 | + char* __dest) const | ||
1046 | + { | ||
1047 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
1048 | + __c_locale __old = __uselocale(_M_c_locale_ctype); | ||
1049 | +#endif | ||
1050 | + if (_M_narrow_ok) | ||
1051 | + while (__lo < __hi) | ||
1052 | + { | ||
1053 | + if (*__lo >= 0 && *__lo < 128) | ||
1054 | + *__dest = _M_narrow[*__lo]; | ||
1055 | + else | ||
1056 | + { | ||
1057 | + const int __c = wctob(*__lo); | ||
1058 | + *__dest = (__c == EOF ? __dfault : static_cast<char>(__c)); | ||
1059 | + } | ||
1060 | + ++__lo; | ||
1061 | + ++__dest; | ||
1062 | + } | ||
1063 | + else | ||
1064 | + while (__lo < __hi) | ||
1065 | + { | ||
1066 | + const int __c = wctob(*__lo); | ||
1067 | + *__dest = (__c == EOF ? __dfault : static_cast<char>(__c)); | ||
1068 | + ++__lo; | ||
1069 | + ++__dest; | ||
1070 | + } | ||
1071 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
1072 | + __uselocale(__old); | ||
1073 | +#endif | ||
1074 | + return __hi; | ||
1075 | + } | ||
1076 | + | ||
1077 | + void | ||
1078 | + ctype<wchar_t>::_M_initialize_ctype() | ||
1079 | + { | ||
1080 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
1081 | + __c_locale __old = __uselocale(_M_c_locale_ctype); | ||
1082 | +#endif | ||
1083 | + wint_t __i; | ||
1084 | + for (__i = 0; __i < 128; ++__i) | ||
1085 | + { | ||
1086 | + const int __c = wctob(__i); | ||
1087 | + if (__c == EOF) | ||
1088 | + break; | ||
1089 | + else | ||
1090 | + _M_narrow[__i] = static_cast<char>(__c); | ||
1091 | + } | ||
1092 | + if (__i == 128) | ||
1093 | + _M_narrow_ok = true; | ||
1094 | + else | ||
1095 | + _M_narrow_ok = false; | ||
1096 | + for (size_t __j = 0; | ||
1097 | + __j < sizeof(_M_widen) / sizeof(wint_t); ++__j) | ||
1098 | + _M_widen[__j] = btowc(__j); | ||
1099 | + | ||
1100 | + for (size_t __k = 0; __k <= 11; ++__k) | ||
1101 | + { | ||
1102 | + _M_bit[__k] = static_cast<mask>(_ISbit(__k)); | ||
1103 | + _M_wmask[__k] = _M_convert_to_wmask(_M_bit[__k]); | ||
1104 | + } | ||
1105 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
1106 | + __uselocale(__old); | ||
1107 | +#endif | ||
1108 | + } | ||
1109 | +#endif // _GLIBCXX_USE_WCHAR_T | ||
1110 | +} | ||
1111 | diff -urN gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/messages_members.cc gcc-4.0.0/libstdc++-v3/config/locale/uclibc/messages_members.cc | ||
1112 | --- gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/messages_members.cc 1969-12-31 18:00:00.000000000 -0600 | ||
1113 | +++ gcc-4.0.0/libstdc++-v3/config/locale/uclibc/messages_members.cc 2005-04-28 01:13:15.000000000 -0500 | ||
1114 | @@ -0,0 +1,100 @@ | ||
1115 | +// std::messages implementation details, GNU version -*- C++ -*- | ||
1116 | + | ||
1117 | +// Copyright (C) 2001, 2002 Free Software Foundation, Inc. | ||
1118 | +// | ||
1119 | +// This file is part of the GNU ISO C++ Library. This library is free | ||
1120 | +// software; you can redistribute it and/or modify it under the | ||
1121 | +// terms of the GNU General Public License as published by the | ||
1122 | +// Free Software Foundation; either version 2, or (at your option) | ||
1123 | +// any later version. | ||
1124 | + | ||
1125 | +// This library is distributed in the hope that it will be useful, | ||
1126 | +// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1127 | +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1128 | +// GNU General Public License for more details. | ||
1129 | + | ||
1130 | +// You should have received a copy of the GNU General Public License along | ||
1131 | +// with this library; see the file COPYING. If not, write to the Free | ||
1132 | +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||
1133 | +// USA. | ||
1134 | + | ||
1135 | +// As a special exception, you may use this file as part of a free software | ||
1136 | +// library without restriction. Specifically, if other files instantiate | ||
1137 | +// templates or use macros or inline functions from this file, or you compile | ||
1138 | +// this file and link it with other files to produce an executable, this | ||
1139 | +// file does not by itself cause the resulting executable to be covered by | ||
1140 | +// the GNU General Public License. This exception does not however | ||
1141 | +// invalidate any other reasons why the executable file might be covered by | ||
1142 | +// the GNU General Public License. | ||
1143 | + | ||
1144 | +// | ||
1145 | +// ISO C++ 14882: 22.2.7.1.2 messages virtual functions | ||
1146 | +// | ||
1147 | + | ||
1148 | +// Written by Benjamin Kosnik <bkoz@redhat.com> | ||
1149 | + | ||
1150 | +#include <locale> | ||
1151 | +#include <bits/c++locale_internal.h> | ||
1152 | + | ||
1153 | +#ifdef __UCLIBC_MJN3_ONLY__ | ||
1154 | +#warning fix gettext stuff | ||
1155 | +#endif | ||
1156 | +#ifdef __UCLIBC_HAS_GETTEXT_AWARENESS__ | ||
1157 | +extern "C" char *__dcgettext(const char *domainname, | ||
1158 | + const char *msgid, int category); | ||
1159 | +#undef gettext | ||
1160 | +#define gettext(msgid) __dcgettext(NULL, msgid, LC_MESSAGES) | ||
1161 | +#else | ||
1162 | +#undef gettext | ||
1163 | +#define gettext(msgid) (msgid) | ||
1164 | +#endif | ||
1165 | + | ||
1166 | +namespace std | ||
1167 | +{ | ||
1168 | + // Specializations. | ||
1169 | + template<> | ||
1170 | + string | ||
1171 | + messages<char>::do_get(catalog, int, int, const string& __dfault) const | ||
1172 | + { | ||
1173 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
1174 | + __c_locale __old = __uselocale(_M_c_locale_messages); | ||
1175 | + const char* __msg = const_cast<const char*>(gettext(__dfault.c_str())); | ||
1176 | + __uselocale(__old); | ||
1177 | + return string(__msg); | ||
1178 | +#elif defined __UCLIBC_HAS_LOCALE__ | ||
1179 | + char* __old = strdup(setlocale(LC_ALL, NULL)); | ||
1180 | + setlocale(LC_ALL, _M_name_messages); | ||
1181 | + const char* __msg = gettext(__dfault.c_str()); | ||
1182 | + setlocale(LC_ALL, __old); | ||
1183 | + free(__old); | ||
1184 | + return string(__msg); | ||
1185 | +#else | ||
1186 | + const char* __msg = gettext(__dfault.c_str()); | ||
1187 | + return string(__msg); | ||
1188 | +#endif | ||
1189 | + } | ||
1190 | + | ||
1191 | +#ifdef _GLIBCXX_USE_WCHAR_T | ||
1192 | + template<> | ||
1193 | + wstring | ||
1194 | + messages<wchar_t>::do_get(catalog, int, int, const wstring& __dfault) const | ||
1195 | + { | ||
1196 | +# ifdef __UCLIBC_HAS_XLOCALE__ | ||
1197 | + __c_locale __old = __uselocale(_M_c_locale_messages); | ||
1198 | + char* __msg = gettext(_M_convert_to_char(__dfault)); | ||
1199 | + __uselocale(__old); | ||
1200 | + return _M_convert_from_char(__msg); | ||
1201 | +# elif defined __UCLIBC_HAS_LOCALE__ | ||
1202 | + char* __old = strdup(setlocale(LC_ALL, NULL)); | ||
1203 | + setlocale(LC_ALL, _M_name_messages); | ||
1204 | + char* __msg = gettext(_M_convert_to_char(__dfault)); | ||
1205 | + setlocale(LC_ALL, __old); | ||
1206 | + free(__old); | ||
1207 | + return _M_convert_from_char(__msg); | ||
1208 | +# else | ||
1209 | + char* __msg = gettext(_M_convert_to_char(__dfault)); | ||
1210 | + return _M_convert_from_char(__msg); | ||
1211 | +# endif | ||
1212 | + } | ||
1213 | +#endif | ||
1214 | +} | ||
1215 | diff -urN gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/messages_members.h gcc-4.0.0/libstdc++-v3/config/locale/uclibc/messages_members.h | ||
1216 | --- gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/messages_members.h 1969-12-31 18:00:00.000000000 -0600 | ||
1217 | +++ gcc-4.0.0/libstdc++-v3/config/locale/uclibc/messages_members.h 2005-04-28 01:13:15.000000000 -0500 | ||
1218 | @@ -0,0 +1,118 @@ | ||
1219 | +// std::messages implementation details, GNU version -*- C++ -*- | ||
1220 | + | ||
1221 | +// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc. | ||
1222 | +// | ||
1223 | +// This file is part of the GNU ISO C++ Library. This library is free | ||
1224 | +// software; you can redistribute it and/or modify it under the | ||
1225 | +// terms of the GNU General Public License as published by the | ||
1226 | +// Free Software Foundation; either version 2, or (at your option) | ||
1227 | +// any later version. | ||
1228 | + | ||
1229 | +// This library is distributed in the hope that it will be useful, | ||
1230 | +// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1231 | +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1232 | +// GNU General Public License for more details. | ||
1233 | + | ||
1234 | +// You should have received a copy of the GNU General Public License along | ||
1235 | +// with this library; see the file COPYING. If not, write to the Free | ||
1236 | +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||
1237 | +// USA. | ||
1238 | + | ||
1239 | +// As a special exception, you may use this file as part of a free software | ||
1240 | +// library without restriction. Specifically, if other files instantiate | ||
1241 | +// templates or use macros or inline functions from this file, or you compile | ||
1242 | +// this file and link it with other files to produce an executable, this | ||
1243 | +// file does not by itself cause the resulting executable to be covered by | ||
1244 | +// the GNU General Public License. This exception does not however | ||
1245 | +// invalidate any other reasons why the executable file might be covered by | ||
1246 | +// the GNU General Public License. | ||
1247 | + | ||
1248 | +// | ||
1249 | +// ISO C++ 14882: 22.2.7.1.2 messages functions | ||
1250 | +// | ||
1251 | + | ||
1252 | +// Written by Benjamin Kosnik <bkoz@redhat.com> | ||
1253 | + | ||
1254 | +#ifdef __UCLIBC_MJN3_ONLY__ | ||
1255 | +#warning fix prototypes for *textdomain funcs | ||
1256 | +#endif | ||
1257 | +#ifdef __UCLIBC_HAS_GETTEXT_AWARENESS__ | ||
1258 | +extern "C" char *__textdomain(const char *domainname); | ||
1259 | +extern "C" char *__bindtextdomain(const char *domainname, | ||
1260 | + const char *dirname); | ||
1261 | +#else | ||
1262 | +#undef __textdomain | ||
1263 | +#undef __bindtextdomain | ||
1264 | +#define __textdomain(D) ((void)0) | ||
1265 | +#define __bindtextdomain(D,P) ((void)0) | ||
1266 | +#endif | ||
1267 | + | ||
1268 | + // Non-virtual member functions. | ||
1269 | + template<typename _CharT> | ||
1270 | + messages<_CharT>::messages(size_t __refs) | ||
1271 | + : facet(__refs), _M_c_locale_messages(_S_get_c_locale()), | ||
1272 | + _M_name_messages(_S_get_c_name()) | ||
1273 | + { } | ||
1274 | + | ||
1275 | + template<typename _CharT> | ||
1276 | + messages<_CharT>::messages(__c_locale __cloc, const char* __s, | ||
1277 | + size_t __refs) | ||
1278 | + : facet(__refs), _M_c_locale_messages(_S_clone_c_locale(__cloc)), | ||
1279 | + _M_name_messages(__s) | ||
1280 | + { | ||
1281 | + char* __tmp = new char[std::strlen(__s) + 1]; | ||
1282 | + std::strcpy(__tmp, __s); | ||
1283 | + _M_name_messages = __tmp; | ||
1284 | + } | ||
1285 | + | ||
1286 | + template<typename _CharT> | ||
1287 | + typename messages<_CharT>::catalog | ||
1288 | + messages<_CharT>::open(const basic_string<char>& __s, const locale& __loc, | ||
1289 | + const char* __dir) const | ||
1290 | + { | ||
1291 | + __bindtextdomain(__s.c_str(), __dir); | ||
1292 | + return this->do_open(__s, __loc); | ||
1293 | + } | ||
1294 | + | ||
1295 | + // Virtual member functions. | ||
1296 | + template<typename _CharT> | ||
1297 | + messages<_CharT>::~messages() | ||
1298 | + { | ||
1299 | + if (_M_name_messages != _S_get_c_name()) | ||
1300 | + delete [] _M_name_messages; | ||
1301 | + _S_destroy_c_locale(_M_c_locale_messages); | ||
1302 | + } | ||
1303 | + | ||
1304 | + template<typename _CharT> | ||
1305 | + typename messages<_CharT>::catalog | ||
1306 | + messages<_CharT>::do_open(const basic_string<char>& __s, | ||
1307 | + const locale&) const | ||
1308 | + { | ||
1309 | + // No error checking is done, assume the catalog exists and can | ||
1310 | + // be used. | ||
1311 | + __textdomain(__s.c_str()); | ||
1312 | + return 0; | ||
1313 | + } | ||
1314 | + | ||
1315 | + template<typename _CharT> | ||
1316 | + void | ||
1317 | + messages<_CharT>::do_close(catalog) const | ||
1318 | + { } | ||
1319 | + | ||
1320 | + // messages_byname | ||
1321 | + template<typename _CharT> | ||
1322 | + messages_byname<_CharT>::messages_byname(const char* __s, size_t __refs) | ||
1323 | + : messages<_CharT>(__refs) | ||
1324 | + { | ||
1325 | + if (this->_M_name_messages != locale::facet::_S_get_c_name()) | ||
1326 | + delete [] this->_M_name_messages; | ||
1327 | + char* __tmp = new char[std::strlen(__s) + 1]; | ||
1328 | + std::strcpy(__tmp, __s); | ||
1329 | + this->_M_name_messages = __tmp; | ||
1330 | + | ||
1331 | + if (std::strcmp(__s, "C") != 0 && std::strcmp(__s, "POSIX") != 0) | ||
1332 | + { | ||
1333 | + this->_S_destroy_c_locale(this->_M_c_locale_messages); | ||
1334 | + this->_S_create_c_locale(this->_M_c_locale_messages, __s); | ||
1335 | + } | ||
1336 | + } | ||
1337 | diff -urN gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/monetary_members.cc gcc-4.0.0/libstdc++-v3/config/locale/uclibc/monetary_members.cc | ||
1338 | --- gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/monetary_members.cc 1969-12-31 18:00:00.000000000 -0600 | ||
1339 | +++ gcc-4.0.0/libstdc++-v3/config/locale/uclibc/monetary_members.cc 2005-04-28 01:23:02.000000000 -0500 | ||
1340 | @@ -0,0 +1,692 @@ | ||
1341 | +// std::moneypunct implementation details, GNU version -*- C++ -*- | ||
1342 | + | ||
1343 | +// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc. | ||
1344 | +// | ||
1345 | +// This file is part of the GNU ISO C++ Library. This library is free | ||
1346 | +// software; you can redistribute it and/or modify it under the | ||
1347 | +// terms of the GNU General Public License as published by the | ||
1348 | +// Free Software Foundation; either version 2, or (at your option) | ||
1349 | +// any later version. | ||
1350 | + | ||
1351 | +// This library is distributed in the hope that it will be useful, | ||
1352 | +// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1353 | +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1354 | +// GNU General Public License for more details. | ||
1355 | + | ||
1356 | +// You should have received a copy of the GNU General Public License along | ||
1357 | +// with this library; see the file COPYING. If not, write to the Free | ||
1358 | +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||
1359 | +// USA. | ||
1360 | + | ||
1361 | +// As a special exception, you may use this file as part of a free software | ||
1362 | +// library without restriction. Specifically, if other files instantiate | ||
1363 | +// templates or use macros or inline functions from this file, or you compile | ||
1364 | +// this file and link it with other files to produce an executable, this | ||
1365 | +// file does not by itself cause the resulting executable to be covered by | ||
1366 | +// the GNU General Public License. This exception does not however | ||
1367 | +// invalidate any other reasons why the executable file might be covered by | ||
1368 | +// the GNU General Public License. | ||
1369 | + | ||
1370 | +// | ||
1371 | +// ISO C++ 14882: 22.2.6.3.2 moneypunct virtual functions | ||
1372 | +// | ||
1373 | + | ||
1374 | +// Written by Benjamin Kosnik <bkoz@redhat.com> | ||
1375 | + | ||
1376 | +#define _LIBC | ||
1377 | +#include <locale> | ||
1378 | +#undef _LIBC | ||
1379 | +#include <bits/c++locale_internal.h> | ||
1380 | + | ||
1381 | +#ifdef __UCLIBC_MJN3_ONLY__ | ||
1382 | +#warning optimize this for uclibc | ||
1383 | +#warning tailor for stub locale support | ||
1384 | +#endif | ||
1385 | + | ||
1386 | +#ifndef __UCLIBC_HAS_XLOCALE__ | ||
1387 | +#define __nl_langinfo_l(N, L) nl_langinfo((N)) | ||
1388 | +#endif | ||
1389 | + | ||
1390 | +namespace std | ||
1391 | +{ | ||
1392 | + // Construct and return valid pattern consisting of some combination of: | ||
1393 | + // space none symbol sign value | ||
1394 | + money_base::pattern | ||
1395 | + money_base::_S_construct_pattern(char __precedes, char __space, char __posn) | ||
1396 | + { | ||
1397 | + pattern __ret; | ||
1398 | + | ||
1399 | + // This insanely complicated routine attempts to construct a valid | ||
1400 | + // pattern for use with monyepunct. A couple of invariants: | ||
1401 | + | ||
1402 | + // if (__precedes) symbol -> value | ||
1403 | + // else value -> symbol | ||
1404 | + | ||
1405 | + // if (__space) space | ||
1406 | + // else none | ||
1407 | + | ||
1408 | + // none == never first | ||
1409 | + // space never first or last | ||
1410 | + | ||
1411 | + // Any elegant implementations of this are welcome. | ||
1412 | + switch (__posn) | ||
1413 | + { | ||
1414 | + case 0: | ||
1415 | + case 1: | ||
1416 | + // 1 The sign precedes the value and symbol. | ||
1417 | + __ret.field[0] = sign; | ||
1418 | + if (__space) | ||
1419 | + { | ||
1420 | + // Pattern starts with sign. | ||
1421 | + if (__precedes) | ||
1422 | + { | ||
1423 | + __ret.field[1] = symbol; | ||
1424 | + __ret.field[3] = value; | ||
1425 | + } | ||
1426 | + else | ||
1427 | + { | ||
1428 | + __ret.field[1] = value; | ||
1429 | + __ret.field[3] = symbol; | ||
1430 | + } | ||
1431 | + __ret.field[2] = space; | ||
1432 | + } | ||
1433 | + else | ||
1434 | + { | ||
1435 | + // Pattern starts with sign and ends with none. | ||
1436 | + if (__precedes) | ||
1437 | + { | ||
1438 | + __ret.field[1] = symbol; | ||
1439 | + __ret.field[2] = value; | ||
1440 | + } | ||
1441 | + else | ||
1442 | + { | ||
1443 | + __ret.field[1] = value; | ||
1444 | + __ret.field[2] = symbol; | ||
1445 | + } | ||
1446 | + __ret.field[3] = none; | ||
1447 | + } | ||
1448 | + break; | ||
1449 | + case 2: | ||
1450 | + // 2 The sign follows the value and symbol. | ||
1451 | + if (__space) | ||
1452 | + { | ||
1453 | + // Pattern either ends with sign. | ||
1454 | + if (__precedes) | ||
1455 | + { | ||
1456 | + __ret.field[0] = symbol; | ||
1457 | + __ret.field[2] = value; | ||
1458 | + } | ||
1459 | + else | ||
1460 | + { | ||
1461 | + __ret.field[0] = value; | ||
1462 | + __ret.field[2] = symbol; | ||
1463 | + } | ||
1464 | + __ret.field[1] = space; | ||
1465 | + __ret.field[3] = sign; | ||
1466 | + } | ||
1467 | + else | ||
1468 | + { | ||
1469 | + // Pattern ends with sign then none. | ||
1470 | + if (__precedes) | ||
1471 | + { | ||
1472 | + __ret.field[0] = symbol; | ||
1473 | + __ret.field[1] = value; | ||
1474 | + } | ||
1475 | + else | ||
1476 | + { | ||
1477 | + __ret.field[0] = value; | ||
1478 | + __ret.field[1] = symbol; | ||
1479 | + } | ||
1480 | + __ret.field[2] = sign; | ||
1481 | + __ret.field[3] = none; | ||
1482 | + } | ||
1483 | + break; | ||
1484 | + case 3: | ||
1485 | + // 3 The sign immediately precedes the symbol. | ||
1486 | + if (__precedes) | ||
1487 | + { | ||
1488 | + __ret.field[0] = sign; | ||
1489 | + __ret.field[1] = symbol; | ||
1490 | + if (__space) | ||
1491 | + { | ||
1492 | + __ret.field[2] = space; | ||
1493 | + __ret.field[3] = value; | ||
1494 | + } | ||
1495 | + else | ||
1496 | + { | ||
1497 | + __ret.field[2] = value; | ||
1498 | + __ret.field[3] = none; | ||
1499 | + } | ||
1500 | + } | ||
1501 | + else | ||
1502 | + { | ||
1503 | + __ret.field[0] = value; | ||
1504 | + if (__space) | ||
1505 | + { | ||
1506 | + __ret.field[1] = space; | ||
1507 | + __ret.field[2] = sign; | ||
1508 | + __ret.field[3] = symbol; | ||
1509 | + } | ||
1510 | + else | ||
1511 | + { | ||
1512 | + __ret.field[1] = sign; | ||
1513 | + __ret.field[2] = symbol; | ||
1514 | + __ret.field[3] = none; | ||
1515 | + } | ||
1516 | + } | ||
1517 | + break; | ||
1518 | + case 4: | ||
1519 | + // 4 The sign immediately follows the symbol. | ||
1520 | + if (__precedes) | ||
1521 | + { | ||
1522 | + __ret.field[0] = symbol; | ||
1523 | + __ret.field[1] = sign; | ||
1524 | + if (__space) | ||
1525 | + { | ||
1526 | + __ret.field[2] = space; | ||
1527 | + __ret.field[3] = value; | ||
1528 | + } | ||
1529 | + else | ||
1530 | + { | ||
1531 | + __ret.field[2] = value; | ||
1532 | + __ret.field[3] = none; | ||
1533 | + } | ||
1534 | + } | ||
1535 | + else | ||
1536 | + { | ||
1537 | + __ret.field[0] = value; | ||
1538 | + if (__space) | ||
1539 | + { | ||
1540 | + __ret.field[1] = space; | ||
1541 | + __ret.field[2] = symbol; | ||
1542 | + __ret.field[3] = sign; | ||
1543 | + } | ||
1544 | + else | ||
1545 | + { | ||
1546 | + __ret.field[1] = symbol; | ||
1547 | + __ret.field[2] = sign; | ||
1548 | + __ret.field[3] = none; | ||
1549 | + } | ||
1550 | + } | ||
1551 | + break; | ||
1552 | + default: | ||
1553 | + __ret = pattern(); | ||
1554 | + } | ||
1555 | + return __ret; | ||
1556 | + } | ||
1557 | + | ||
1558 | + template<> | ||
1559 | + void | ||
1560 | + moneypunct<char, true>::_M_initialize_moneypunct(__c_locale __cloc, | ||
1561 | + const char*) | ||
1562 | + { | ||
1563 | + if (!_M_data) | ||
1564 | + _M_data = new __moneypunct_cache<char, true>; | ||
1565 | + | ||
1566 | + if (!__cloc) | ||
1567 | + { | ||
1568 | + // "C" locale | ||
1569 | + _M_data->_M_decimal_point = '.'; | ||
1570 | + _M_data->_M_thousands_sep = ','; | ||
1571 | + _M_data->_M_grouping = ""; | ||
1572 | + _M_data->_M_grouping_size = 0; | ||
1573 | + _M_data->_M_curr_symbol = ""; | ||
1574 | + _M_data->_M_curr_symbol_size = 0; | ||
1575 | + _M_data->_M_positive_sign = ""; | ||
1576 | + _M_data->_M_positive_sign_size = 0; | ||
1577 | + _M_data->_M_negative_sign = ""; | ||
1578 | + _M_data->_M_negative_sign_size = 0; | ||
1579 | + _M_data->_M_frac_digits = 0; | ||
1580 | + _M_data->_M_pos_format = money_base::_S_default_pattern; | ||
1581 | + _M_data->_M_neg_format = money_base::_S_default_pattern; | ||
1582 | + | ||
1583 | + for (size_t __i = 0; __i < money_base::_S_end; ++__i) | ||
1584 | + _M_data->_M_atoms[__i] = money_base::_S_atoms[__i]; | ||
1585 | + } | ||
1586 | + else | ||
1587 | + { | ||
1588 | + // Named locale. | ||
1589 | + _M_data->_M_decimal_point = *(__nl_langinfo_l(__MON_DECIMAL_POINT, | ||
1590 | + __cloc)); | ||
1591 | + _M_data->_M_thousands_sep = *(__nl_langinfo_l(__MON_THOUSANDS_SEP, | ||
1592 | + __cloc)); | ||
1593 | + _M_data->_M_grouping = __nl_langinfo_l(__MON_GROUPING, __cloc); | ||
1594 | + _M_data->_M_grouping_size = strlen(_M_data->_M_grouping); | ||
1595 | + _M_data->_M_positive_sign = __nl_langinfo_l(__POSITIVE_SIGN, __cloc); | ||
1596 | + _M_data->_M_positive_sign_size = strlen(_M_data->_M_positive_sign); | ||
1597 | + | ||
1598 | + char __nposn = *(__nl_langinfo_l(__INT_N_SIGN_POSN, __cloc)); | ||
1599 | + if (!__nposn) | ||
1600 | + _M_data->_M_negative_sign = "()"; | ||
1601 | + else | ||
1602 | + _M_data->_M_negative_sign = __nl_langinfo_l(__NEGATIVE_SIGN, | ||
1603 | + __cloc); | ||
1604 | + _M_data->_M_negative_sign_size = strlen(_M_data->_M_negative_sign); | ||
1605 | + | ||
1606 | + // _Intl == true | ||
1607 | + _M_data->_M_curr_symbol = __nl_langinfo_l(__INT_CURR_SYMBOL, __cloc); | ||
1608 | + _M_data->_M_curr_symbol_size = strlen(_M_data->_M_curr_symbol); | ||
1609 | + _M_data->_M_frac_digits = *(__nl_langinfo_l(__INT_FRAC_DIGITS, | ||
1610 | + __cloc)); | ||
1611 | + char __pprecedes = *(__nl_langinfo_l(__INT_P_CS_PRECEDES, __cloc)); | ||
1612 | + char __pspace = *(__nl_langinfo_l(__INT_P_SEP_BY_SPACE, __cloc)); | ||
1613 | + char __pposn = *(__nl_langinfo_l(__INT_P_SIGN_POSN, __cloc)); | ||
1614 | + _M_data->_M_pos_format = _S_construct_pattern(__pprecedes, __pspace, | ||
1615 | + __pposn); | ||
1616 | + char __nprecedes = *(__nl_langinfo_l(__INT_N_CS_PRECEDES, __cloc)); | ||
1617 | + char __nspace = *(__nl_langinfo_l(__INT_N_SEP_BY_SPACE, __cloc)); | ||
1618 | + _M_data->_M_neg_format = _S_construct_pattern(__nprecedes, __nspace, | ||
1619 | + __nposn); | ||
1620 | + } | ||
1621 | + } | ||
1622 | + | ||
1623 | + template<> | ||
1624 | + void | ||
1625 | + moneypunct<char, false>::_M_initialize_moneypunct(__c_locale __cloc, | ||
1626 | + const char*) | ||
1627 | + { | ||
1628 | + if (!_M_data) | ||
1629 | + _M_data = new __moneypunct_cache<char, false>; | ||
1630 | + | ||
1631 | + if (!__cloc) | ||
1632 | + { | ||
1633 | + // "C" locale | ||
1634 | + _M_data->_M_decimal_point = '.'; | ||
1635 | + _M_data->_M_thousands_sep = ','; | ||
1636 | + _M_data->_M_grouping = ""; | ||
1637 | + _M_data->_M_grouping_size = 0; | ||
1638 | + _M_data->_M_curr_symbol = ""; | ||
1639 | + _M_data->_M_curr_symbol_size = 0; | ||
1640 | + _M_data->_M_positive_sign = ""; | ||
1641 | + _M_data->_M_positive_sign_size = 0; | ||
1642 | + _M_data->_M_negative_sign = ""; | ||
1643 | + _M_data->_M_negative_sign_size = 0; | ||
1644 | + _M_data->_M_frac_digits = 0; | ||
1645 | + _M_data->_M_pos_format = money_base::_S_default_pattern; | ||
1646 | + _M_data->_M_neg_format = money_base::_S_default_pattern; | ||
1647 | + | ||
1648 | + for (size_t __i = 0; __i < money_base::_S_end; ++__i) | ||
1649 | + _M_data->_M_atoms[__i] = money_base::_S_atoms[__i]; | ||
1650 | + } | ||
1651 | + else | ||
1652 | + { | ||
1653 | + // Named locale. | ||
1654 | + _M_data->_M_decimal_point = *(__nl_langinfo_l(__MON_DECIMAL_POINT, | ||
1655 | + __cloc)); | ||
1656 | + _M_data->_M_thousands_sep = *(__nl_langinfo_l(__MON_THOUSANDS_SEP, | ||
1657 | + __cloc)); | ||
1658 | + _M_data->_M_grouping = __nl_langinfo_l(__MON_GROUPING, __cloc); | ||
1659 | + _M_data->_M_grouping_size = strlen(_M_data->_M_grouping); | ||
1660 | + _M_data->_M_positive_sign = __nl_langinfo_l(__POSITIVE_SIGN, __cloc); | ||
1661 | + _M_data->_M_positive_sign_size = strlen(_M_data->_M_positive_sign); | ||
1662 | + | ||
1663 | + char __nposn = *(__nl_langinfo_l(__N_SIGN_POSN, __cloc)); | ||
1664 | + if (!__nposn) | ||
1665 | + _M_data->_M_negative_sign = "()"; | ||
1666 | + else | ||
1667 | + _M_data->_M_negative_sign = __nl_langinfo_l(__NEGATIVE_SIGN, | ||
1668 | + __cloc); | ||
1669 | + _M_data->_M_negative_sign_size = strlen(_M_data->_M_negative_sign); | ||
1670 | + | ||
1671 | + // _Intl == false | ||
1672 | + _M_data->_M_curr_symbol = __nl_langinfo_l(__CURRENCY_SYMBOL, __cloc); | ||
1673 | + _M_data->_M_curr_symbol_size = strlen(_M_data->_M_curr_symbol); | ||
1674 | + _M_data->_M_frac_digits = *(__nl_langinfo_l(__FRAC_DIGITS, __cloc)); | ||
1675 | + char __pprecedes = *(__nl_langinfo_l(__P_CS_PRECEDES, __cloc)); | ||
1676 | + char __pspace = *(__nl_langinfo_l(__P_SEP_BY_SPACE, __cloc)); | ||
1677 | + char __pposn = *(__nl_langinfo_l(__P_SIGN_POSN, __cloc)); | ||
1678 | + _M_data->_M_pos_format = _S_construct_pattern(__pprecedes, __pspace, | ||
1679 | + __pposn); | ||
1680 | + char __nprecedes = *(__nl_langinfo_l(__N_CS_PRECEDES, __cloc)); | ||
1681 | + char __nspace = *(__nl_langinfo_l(__N_SEP_BY_SPACE, __cloc)); | ||
1682 | + _M_data->_M_neg_format = _S_construct_pattern(__nprecedes, __nspace, | ||
1683 | + __nposn); | ||
1684 | + } | ||
1685 | + } | ||
1686 | + | ||
1687 | + template<> | ||
1688 | + moneypunct<char, true>::~moneypunct() | ||
1689 | + { delete _M_data; } | ||
1690 | + | ||
1691 | + template<> | ||
1692 | + moneypunct<char, false>::~moneypunct() | ||
1693 | + { delete _M_data; } | ||
1694 | + | ||
1695 | +#ifdef _GLIBCXX_USE_WCHAR_T | ||
1696 | + template<> | ||
1697 | + void | ||
1698 | + moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale __cloc, | ||
1699 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
1700 | + const char*) | ||
1701 | +#else | ||
1702 | + const char* __name) | ||
1703 | +#endif | ||
1704 | + { | ||
1705 | + if (!_M_data) | ||
1706 | + _M_data = new __moneypunct_cache<wchar_t, true>; | ||
1707 | + | ||
1708 | + if (!__cloc) | ||
1709 | + { | ||
1710 | + // "C" locale | ||
1711 | + _M_data->_M_decimal_point = L'.'; | ||
1712 | + _M_data->_M_thousands_sep = L','; | ||
1713 | + _M_data->_M_grouping = ""; | ||
1714 | + _M_data->_M_grouping_size = 0; | ||
1715 | + _M_data->_M_curr_symbol = L""; | ||
1716 | + _M_data->_M_curr_symbol_size = 0; | ||
1717 | + _M_data->_M_positive_sign = L""; | ||
1718 | + _M_data->_M_positive_sign_size = 0; | ||
1719 | + _M_data->_M_negative_sign = L""; | ||
1720 | + _M_data->_M_negative_sign_size = 0; | ||
1721 | + _M_data->_M_frac_digits = 0; | ||
1722 | + _M_data->_M_pos_format = money_base::_S_default_pattern; | ||
1723 | + _M_data->_M_neg_format = money_base::_S_default_pattern; | ||
1724 | + | ||
1725 | + // Use ctype::widen code without the facet... | ||
1726 | + for (size_t __i = 0; __i < money_base::_S_end; ++__i) | ||
1727 | + _M_data->_M_atoms[__i] = | ||
1728 | + static_cast<wchar_t>(money_base::_S_atoms[__i]); | ||
1729 | + } | ||
1730 | + else | ||
1731 | + { | ||
1732 | + // Named locale. | ||
1733 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
1734 | + __c_locale __old = __uselocale(__cloc); | ||
1735 | +#else | ||
1736 | + // Switch to named locale so that mbsrtowcs will work. | ||
1737 | + char* __old = strdup(setlocale(LC_ALL, NULL)); | ||
1738 | + setlocale(LC_ALL, __name); | ||
1739 | +#endif | ||
1740 | + | ||
1741 | +#ifdef __UCLIBC_MJN3_ONLY__ | ||
1742 | +#warning fix this... should be monetary | ||
1743 | +#endif | ||
1744 | +#ifdef __UCLIBC__ | ||
1745 | +# ifdef __UCLIBC_HAS_XLOCALE__ | ||
1746 | + _M_data->_M_decimal_point = __cloc->decimal_point_wc; | ||
1747 | + _M_data->_M_thousands_sep = __cloc->thousands_sep_wc; | ||
1748 | +# else | ||
1749 | + _M_data->_M_decimal_point = __global_locale->decimal_point_wc; | ||
1750 | + _M_data->_M_thousands_sep = __global_locale->thousands_sep_wc; | ||
1751 | +# endif | ||
1752 | +#else | ||
1753 | + union { char *__s; wchar_t __w; } __u; | ||
1754 | + __u.__s = __nl_langinfo_l(_NL_MONETARY_DECIMAL_POINT_WC, __cloc); | ||
1755 | + _M_data->_M_decimal_point = __u.__w; | ||
1756 | + | ||
1757 | + __u.__s = __nl_langinfo_l(_NL_MONETARY_THOUSANDS_SEP_WC, __cloc); | ||
1758 | + _M_data->_M_thousands_sep = __u.__w; | ||
1759 | +#endif | ||
1760 | + _M_data->_M_grouping = __nl_langinfo_l(__MON_GROUPING, __cloc); | ||
1761 | + _M_data->_M_grouping_size = strlen(_M_data->_M_grouping); | ||
1762 | + | ||
1763 | + const char* __cpossign = __nl_langinfo_l(__POSITIVE_SIGN, __cloc); | ||
1764 | + const char* __cnegsign = __nl_langinfo_l(__NEGATIVE_SIGN, __cloc); | ||
1765 | + const char* __ccurr = __nl_langinfo_l(__INT_CURR_SYMBOL, __cloc); | ||
1766 | + | ||
1767 | + wchar_t* __wcs_ps = 0; | ||
1768 | + wchar_t* __wcs_ns = 0; | ||
1769 | + const char __nposn = *(__nl_langinfo_l(__INT_N_SIGN_POSN, __cloc)); | ||
1770 | + try | ||
1771 | + { | ||
1772 | + mbstate_t __state; | ||
1773 | + size_t __len = strlen(__cpossign); | ||
1774 | + if (__len) | ||
1775 | + { | ||
1776 | + ++__len; | ||
1777 | + memset(&__state, 0, sizeof(mbstate_t)); | ||
1778 | + __wcs_ps = new wchar_t[__len]; | ||
1779 | + mbsrtowcs(__wcs_ps, &__cpossign, __len, &__state); | ||
1780 | + _M_data->_M_positive_sign = __wcs_ps; | ||
1781 | + } | ||
1782 | + else | ||
1783 | + _M_data->_M_positive_sign = L""; | ||
1784 | + _M_data->_M_positive_sign_size = wcslen(_M_data->_M_positive_sign); | ||
1785 | + | ||
1786 | + __len = strlen(__cnegsign); | ||
1787 | + if (!__nposn) | ||
1788 | + _M_data->_M_negative_sign = L"()"; | ||
1789 | + else if (__len) | ||
1790 | + { | ||
1791 | + ++__len; | ||
1792 | + memset(&__state, 0, sizeof(mbstate_t)); | ||
1793 | + __wcs_ns = new wchar_t[__len]; | ||
1794 | + mbsrtowcs(__wcs_ns, &__cnegsign, __len, &__state); | ||
1795 | + _M_data->_M_negative_sign = __wcs_ns; | ||
1796 | + } | ||
1797 | + else | ||
1798 | + _M_data->_M_negative_sign = L""; | ||
1799 | + _M_data->_M_negative_sign_size = wcslen(_M_data->_M_negative_sign); | ||
1800 | + | ||
1801 | + // _Intl == true. | ||
1802 | + __len = strlen(__ccurr); | ||
1803 | + if (__len) | ||
1804 | + { | ||
1805 | + ++__len; | ||
1806 | + memset(&__state, 0, sizeof(mbstate_t)); | ||
1807 | + wchar_t* __wcs = new wchar_t[__len]; | ||
1808 | + mbsrtowcs(__wcs, &__ccurr, __len, &__state); | ||
1809 | + _M_data->_M_curr_symbol = __wcs; | ||
1810 | + } | ||
1811 | + else | ||
1812 | + _M_data->_M_curr_symbol = L""; | ||
1813 | + _M_data->_M_curr_symbol_size = wcslen(_M_data->_M_curr_symbol); | ||
1814 | + } | ||
1815 | + catch (...) | ||
1816 | + { | ||
1817 | + delete _M_data; | ||
1818 | + _M_data = 0; | ||
1819 | + delete __wcs_ps; | ||
1820 | + delete __wcs_ns; | ||
1821 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
1822 | + __uselocale(__old); | ||
1823 | +#else | ||
1824 | + setlocale(LC_ALL, __old); | ||
1825 | + free(__old); | ||
1826 | +#endif | ||
1827 | + __throw_exception_again; | ||
1828 | + } | ||
1829 | + | ||
1830 | + _M_data->_M_frac_digits = *(__nl_langinfo_l(__INT_FRAC_DIGITS, | ||
1831 | + __cloc)); | ||
1832 | + char __pprecedes = *(__nl_langinfo_l(__INT_P_CS_PRECEDES, __cloc)); | ||
1833 | + char __pspace = *(__nl_langinfo_l(__INT_P_SEP_BY_SPACE, __cloc)); | ||
1834 | + char __pposn = *(__nl_langinfo_l(__INT_P_SIGN_POSN, __cloc)); | ||
1835 | + _M_data->_M_pos_format = _S_construct_pattern(__pprecedes, __pspace, | ||
1836 | + __pposn); | ||
1837 | + char __nprecedes = *(__nl_langinfo_l(__INT_N_CS_PRECEDES, __cloc)); | ||
1838 | + char __nspace = *(__nl_langinfo_l(__INT_N_SEP_BY_SPACE, __cloc)); | ||
1839 | + _M_data->_M_neg_format = _S_construct_pattern(__nprecedes, __nspace, | ||
1840 | + __nposn); | ||
1841 | + | ||
1842 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
1843 | + __uselocale(__old); | ||
1844 | +#else | ||
1845 | + setlocale(LC_ALL, __old); | ||
1846 | + free(__old); | ||
1847 | +#endif | ||
1848 | + } | ||
1849 | + } | ||
1850 | + | ||
1851 | + template<> | ||
1852 | + void | ||
1853 | + moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale __cloc, | ||
1854 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
1855 | + const char*) | ||
1856 | +#else | ||
1857 | + const char* __name) | ||
1858 | +#endif | ||
1859 | + { | ||
1860 | + if (!_M_data) | ||
1861 | + _M_data = new __moneypunct_cache<wchar_t, false>; | ||
1862 | + | ||
1863 | + if (!__cloc) | ||
1864 | + { | ||
1865 | + // "C" locale | ||
1866 | + _M_data->_M_decimal_point = L'.'; | ||
1867 | + _M_data->_M_thousands_sep = L','; | ||
1868 | + _M_data->_M_grouping = ""; | ||
1869 | + _M_data->_M_grouping_size = 0; | ||
1870 | + _M_data->_M_curr_symbol = L""; | ||
1871 | + _M_data->_M_curr_symbol_size = 0; | ||
1872 | + _M_data->_M_positive_sign = L""; | ||
1873 | + _M_data->_M_positive_sign_size = 0; | ||
1874 | + _M_data->_M_negative_sign = L""; | ||
1875 | + _M_data->_M_negative_sign_size = 0; | ||
1876 | + _M_data->_M_frac_digits = 0; | ||
1877 | + _M_data->_M_pos_format = money_base::_S_default_pattern; | ||
1878 | + _M_data->_M_neg_format = money_base::_S_default_pattern; | ||
1879 | + | ||
1880 | + // Use ctype::widen code without the facet... | ||
1881 | + for (size_t __i = 0; __i < money_base::_S_end; ++__i) | ||
1882 | + _M_data->_M_atoms[__i] = | ||
1883 | + static_cast<wchar_t>(money_base::_S_atoms[__i]); | ||
1884 | + } | ||
1885 | + else | ||
1886 | + { | ||
1887 | + // Named locale. | ||
1888 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
1889 | + __c_locale __old = __uselocale(__cloc); | ||
1890 | +#else | ||
1891 | + // Switch to named locale so that mbsrtowcs will work. | ||
1892 | + char* __old = strdup(setlocale(LC_ALL, NULL)); | ||
1893 | + setlocale(LC_ALL, __name); | ||
1894 | +#endif | ||
1895 | + | ||
1896 | +#ifdef __UCLIBC_MJN3_ONLY__ | ||
1897 | +#warning fix this... should be monetary | ||
1898 | +#endif | ||
1899 | +#ifdef __UCLIBC__ | ||
1900 | +# ifdef __UCLIBC_HAS_XLOCALE__ | ||
1901 | + _M_data->_M_decimal_point = __cloc->decimal_point_wc; | ||
1902 | + _M_data->_M_thousands_sep = __cloc->thousands_sep_wc; | ||
1903 | +# else | ||
1904 | + _M_data->_M_decimal_point = __global_locale->decimal_point_wc; | ||
1905 | + _M_data->_M_thousands_sep = __global_locale->thousands_sep_wc; | ||
1906 | +# endif | ||
1907 | +#else | ||
1908 | + union { char *__s; wchar_t __w; } __u; | ||
1909 | + __u.__s = __nl_langinfo_l(_NL_MONETARY_DECIMAL_POINT_WC, __cloc); | ||
1910 | + _M_data->_M_decimal_point = __u.__w; | ||
1911 | + | ||
1912 | + __u.__s = __nl_langinfo_l(_NL_MONETARY_THOUSANDS_SEP_WC, __cloc); | ||
1913 | + _M_data->_M_thousands_sep = __u.__w; | ||
1914 | +#endif | ||
1915 | + _M_data->_M_grouping = __nl_langinfo_l(__MON_GROUPING, __cloc); | ||
1916 | + _M_data->_M_grouping_size = strlen(_M_data->_M_grouping); | ||
1917 | + | ||
1918 | + const char* __cpossign = __nl_langinfo_l(__POSITIVE_SIGN, __cloc); | ||
1919 | + const char* __cnegsign = __nl_langinfo_l(__NEGATIVE_SIGN, __cloc); | ||
1920 | + const char* __ccurr = __nl_langinfo_l(__CURRENCY_SYMBOL, __cloc); | ||
1921 | + | ||
1922 | + wchar_t* __wcs_ps = 0; | ||
1923 | + wchar_t* __wcs_ns = 0; | ||
1924 | + const char __nposn = *(__nl_langinfo_l(__N_SIGN_POSN, __cloc)); | ||
1925 | + try | ||
1926 | + { | ||
1927 | + mbstate_t __state; | ||
1928 | + size_t __len; | ||
1929 | + __len = strlen(__cpossign); | ||
1930 | + if (__len) | ||
1931 | + { | ||
1932 | + ++__len; | ||
1933 | + memset(&__state, 0, sizeof(mbstate_t)); | ||
1934 | + __wcs_ps = new wchar_t[__len]; | ||
1935 | + mbsrtowcs(__wcs_ps, &__cpossign, __len, &__state); | ||
1936 | + _M_data->_M_positive_sign = __wcs_ps; | ||
1937 | + } | ||
1938 | + else | ||
1939 | + _M_data->_M_positive_sign = L""; | ||
1940 | + _M_data->_M_positive_sign_size = wcslen(_M_data->_M_positive_sign); | ||
1941 | + | ||
1942 | + __len = strlen(__cnegsign); | ||
1943 | + if (!__nposn) | ||
1944 | + _M_data->_M_negative_sign = L"()"; | ||
1945 | + else if (__len) | ||
1946 | + { | ||
1947 | + ++__len; | ||
1948 | + memset(&__state, 0, sizeof(mbstate_t)); | ||
1949 | + __wcs_ns = new wchar_t[__len]; | ||
1950 | + mbsrtowcs(__wcs_ns, &__cnegsign, __len, &__state); | ||
1951 | + _M_data->_M_negative_sign = __wcs_ns; | ||
1952 | + } | ||
1953 | + else | ||
1954 | + _M_data->_M_negative_sign = L""; | ||
1955 | + _M_data->_M_negative_sign_size = wcslen(_M_data->_M_negative_sign); | ||
1956 | + | ||
1957 | + // _Intl == true. | ||
1958 | + __len = strlen(__ccurr); | ||
1959 | + if (__len) | ||
1960 | + { | ||
1961 | + ++__len; | ||
1962 | + memset(&__state, 0, sizeof(mbstate_t)); | ||
1963 | + wchar_t* __wcs = new wchar_t[__len]; | ||
1964 | + mbsrtowcs(__wcs, &__ccurr, __len, &__state); | ||
1965 | + _M_data->_M_curr_symbol = __wcs; | ||
1966 | + } | ||
1967 | + else | ||
1968 | + _M_data->_M_curr_symbol = L""; | ||
1969 | + _M_data->_M_curr_symbol_size = wcslen(_M_data->_M_curr_symbol); | ||
1970 | + } | ||
1971 | + catch (...) | ||
1972 | + { | ||
1973 | + delete _M_data; | ||
1974 | + _M_data = 0; | ||
1975 | + delete __wcs_ps; | ||
1976 | + delete __wcs_ns; | ||
1977 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
1978 | + __uselocale(__old); | ||
1979 | +#else | ||
1980 | + setlocale(LC_ALL, __old); | ||
1981 | + free(__old); | ||
1982 | +#endif | ||
1983 | + __throw_exception_again; | ||
1984 | + } | ||
1985 | + | ||
1986 | + _M_data->_M_frac_digits = *(__nl_langinfo_l(__FRAC_DIGITS, __cloc)); | ||
1987 | + char __pprecedes = *(__nl_langinfo_l(__P_CS_PRECEDES, __cloc)); | ||
1988 | + char __pspace = *(__nl_langinfo_l(__P_SEP_BY_SPACE, __cloc)); | ||
1989 | + char __pposn = *(__nl_langinfo_l(__P_SIGN_POSN, __cloc)); | ||
1990 | + _M_data->_M_pos_format = _S_construct_pattern(__pprecedes, __pspace, | ||
1991 | + __pposn); | ||
1992 | + char __nprecedes = *(__nl_langinfo_l(__N_CS_PRECEDES, __cloc)); | ||
1993 | + char __nspace = *(__nl_langinfo_l(__N_SEP_BY_SPACE, __cloc)); | ||
1994 | + _M_data->_M_neg_format = _S_construct_pattern(__nprecedes, __nspace, | ||
1995 | + __nposn); | ||
1996 | + | ||
1997 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
1998 | + __uselocale(__old); | ||
1999 | +#else | ||
2000 | + setlocale(LC_ALL, __old); | ||
2001 | + free(__old); | ||
2002 | +#endif | ||
2003 | + } | ||
2004 | + } | ||
2005 | + | ||
2006 | + template<> | ||
2007 | + moneypunct<wchar_t, true>::~moneypunct() | ||
2008 | + { | ||
2009 | + if (_M_data->_M_positive_sign_size) | ||
2010 | + delete [] _M_data->_M_positive_sign; | ||
2011 | + if (_M_data->_M_negative_sign_size | ||
2012 | + && wcscmp(_M_data->_M_negative_sign, L"()") != 0) | ||
2013 | + delete [] _M_data->_M_negative_sign; | ||
2014 | + if (_M_data->_M_curr_symbol_size) | ||
2015 | + delete [] _M_data->_M_curr_symbol; | ||
2016 | + delete _M_data; | ||
2017 | + } | ||
2018 | + | ||
2019 | + template<> | ||
2020 | + moneypunct<wchar_t, false>::~moneypunct() | ||
2021 | + { | ||
2022 | + if (_M_data->_M_positive_sign_size) | ||
2023 | + delete [] _M_data->_M_positive_sign; | ||
2024 | + if (_M_data->_M_negative_sign_size | ||
2025 | + && wcscmp(_M_data->_M_negative_sign, L"()") != 0) | ||
2026 | + delete [] _M_data->_M_negative_sign; | ||
2027 | + if (_M_data->_M_curr_symbol_size) | ||
2028 | + delete [] _M_data->_M_curr_symbol; | ||
2029 | + delete _M_data; | ||
2030 | + } | ||
2031 | +#endif | ||
2032 | +} | ||
2033 | diff -urN gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/numeric_members.cc gcc-4.0.0/libstdc++-v3/config/locale/uclibc/numeric_members.cc | ||
2034 | --- gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/numeric_members.cc 1969-12-31 18:00:00.000000000 -0600 | ||
2035 | +++ gcc-4.0.0/libstdc++-v3/config/locale/uclibc/numeric_members.cc 2005-04-28 01:20:20.000000000 -0500 | ||
2036 | @@ -0,0 +1,173 @@ | ||
2037 | +// std::numpunct implementation details, GNU version -*- C++ -*- | ||
2038 | + | ||
2039 | +// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc. | ||
2040 | +// | ||
2041 | +// This file is part of the GNU ISO C++ Library. This library is free | ||
2042 | +// software; you can redistribute it and/or modify it under the | ||
2043 | +// terms of the GNU General Public License as published by the | ||
2044 | +// Free Software Foundation; either version 2, or (at your option) | ||
2045 | +// any later version. | ||
2046 | + | ||
2047 | +// This library is distributed in the hope that it will be useful, | ||
2048 | +// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
2049 | +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
2050 | +// GNU General Public License for more details. | ||
2051 | + | ||
2052 | +// You should have received a copy of the GNU General Public License along | ||
2053 | +// with this library; see the file COPYING. If not, write to the Free | ||
2054 | +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||
2055 | +// USA. | ||
2056 | + | ||
2057 | +// As a special exception, you may use this file as part of a free software | ||
2058 | +// library without restriction. Specifically, if other files instantiate | ||
2059 | +// templates or use macros or inline functions from this file, or you compile | ||
2060 | +// this file and link it with other files to produce an executable, this | ||
2061 | +// file does not by itself cause the resulting executable to be covered by | ||
2062 | +// the GNU General Public License. This exception does not however | ||
2063 | +// invalidate any other reasons why the executable file might be covered by | ||
2064 | +// the GNU General Public License. | ||
2065 | + | ||
2066 | +// | ||
2067 | +// ISO C++ 14882: 22.2.3.1.2 numpunct virtual functions | ||
2068 | +// | ||
2069 | + | ||
2070 | +// Written by Benjamin Kosnik <bkoz@redhat.com> | ||
2071 | + | ||
2072 | +#define _LIBC | ||
2073 | +#include <locale> | ||
2074 | +#undef _LIBC | ||
2075 | +#include <bits/c++locale_internal.h> | ||
2076 | + | ||
2077 | +#ifdef __UCLIBC_MJN3_ONLY__ | ||
2078 | +#warning tailor for stub locale support | ||
2079 | +#endif | ||
2080 | +#ifndef __UCLIBC_HAS_XLOCALE__ | ||
2081 | +#define __nl_langinfo_l(N, L) nl_langinfo((N)) | ||
2082 | +#endif | ||
2083 | + | ||
2084 | +namespace std | ||
2085 | +{ | ||
2086 | + template<> | ||
2087 | + void | ||
2088 | + numpunct<char>::_M_initialize_numpunct(__c_locale __cloc) | ||
2089 | + { | ||
2090 | + if (!_M_data) | ||
2091 | + _M_data = new __numpunct_cache<char>; | ||
2092 | + | ||
2093 | + if (!__cloc) | ||
2094 | + { | ||
2095 | + // "C" locale | ||
2096 | + _M_data->_M_grouping = ""; | ||
2097 | + _M_data->_M_grouping_size = 0; | ||
2098 | + _M_data->_M_use_grouping = false; | ||
2099 | + | ||
2100 | + _M_data->_M_decimal_point = '.'; | ||
2101 | + _M_data->_M_thousands_sep = ','; | ||
2102 | + | ||
2103 | + for (size_t __i = 0; __i < __num_base::_S_oend; ++__i) | ||
2104 | + _M_data->_M_atoms_out[__i] = __num_base::_S_atoms_out[__i]; | ||
2105 | + | ||
2106 | + for (size_t __j = 0; __j < __num_base::_S_iend; ++__j) | ||
2107 | + _M_data->_M_atoms_in[__j] = __num_base::_S_atoms_in[__j]; | ||
2108 | + } | ||
2109 | + else | ||
2110 | + { | ||
2111 | + // Named locale. | ||
2112 | + _M_data->_M_decimal_point = *(__nl_langinfo_l(DECIMAL_POINT, | ||
2113 | + __cloc)); | ||
2114 | + _M_data->_M_thousands_sep = *(__nl_langinfo_l(THOUSANDS_SEP, | ||
2115 | + __cloc)); | ||
2116 | + | ||
2117 | + // Check for NULL, which implies no grouping. | ||
2118 | + if (_M_data->_M_thousands_sep == '\0') | ||
2119 | + _M_data->_M_grouping = ""; | ||
2120 | + else | ||
2121 | + _M_data->_M_grouping = __nl_langinfo_l(GROUPING, __cloc); | ||
2122 | + _M_data->_M_grouping_size = strlen(_M_data->_M_grouping); | ||
2123 | + } | ||
2124 | + | ||
2125 | + // NB: There is no way to extact this info from posix locales. | ||
2126 | + // _M_truename = __nl_langinfo_l(YESSTR, __cloc); | ||
2127 | + _M_data->_M_truename = "true"; | ||
2128 | + _M_data->_M_truename_size = 4; | ||
2129 | + // _M_falsename = __nl_langinfo_l(NOSTR, __cloc); | ||
2130 | + _M_data->_M_falsename = "false"; | ||
2131 | + _M_data->_M_falsename_size = 5; | ||
2132 | + } | ||
2133 | + | ||
2134 | + template<> | ||
2135 | + numpunct<char>::~numpunct() | ||
2136 | + { delete _M_data; } | ||
2137 | + | ||
2138 | +#ifdef _GLIBCXX_USE_WCHAR_T | ||
2139 | + template<> | ||
2140 | + void | ||
2141 | + numpunct<wchar_t>::_M_initialize_numpunct(__c_locale __cloc) | ||
2142 | + { | ||
2143 | + if (!_M_data) | ||
2144 | + _M_data = new __numpunct_cache<wchar_t>; | ||
2145 | + | ||
2146 | + if (!__cloc) | ||
2147 | + { | ||
2148 | + // "C" locale | ||
2149 | + _M_data->_M_grouping = ""; | ||
2150 | + _M_data->_M_grouping_size = 0; | ||
2151 | + _M_data->_M_use_grouping = false; | ||
2152 | + | ||
2153 | + _M_data->_M_decimal_point = L'.'; | ||
2154 | + _M_data->_M_thousands_sep = L','; | ||
2155 | + | ||
2156 | + // Use ctype::widen code without the facet... | ||
2157 | + for (size_t __i = 0; __i < __num_base::_S_oend; ++__i) | ||
2158 | + _M_data->_M_atoms_out[__i] = | ||
2159 | + static_cast<wchar_t>(__num_base::_S_atoms_out[__i]); | ||
2160 | + | ||
2161 | + for (size_t __j = 0; __j < __num_base::_S_iend; ++__j) | ||
2162 | + _M_data->_M_atoms_in[__j] = | ||
2163 | + static_cast<wchar_t>(__num_base::_S_atoms_in[__j]); | ||
2164 | + } | ||
2165 | + else | ||
2166 | + { | ||
2167 | + // Named locale. | ||
2168 | + // NB: In the GNU model wchar_t is always 32 bit wide. | ||
2169 | +#ifdef __UCLIBC_MJN3_ONLY__ | ||
2170 | +#warning fix this | ||
2171 | +#endif | ||
2172 | +#ifdef __UCLIBC__ | ||
2173 | +# ifdef __UCLIBC_HAS_XLOCALE__ | ||
2174 | + _M_data->_M_decimal_point = __cloc->decimal_point_wc; | ||
2175 | + _M_data->_M_thousands_sep = __cloc->thousands_sep_wc; | ||
2176 | +# else | ||
2177 | + _M_data->_M_decimal_point = __global_locale->decimal_point_wc; | ||
2178 | + _M_data->_M_thousands_sep = __global_locale->thousands_sep_wc; | ||
2179 | +# endif | ||
2180 | +#else | ||
2181 | + union { char *__s; wchar_t __w; } __u; | ||
2182 | + __u.__s = __nl_langinfo_l(_NL_NUMERIC_DECIMAL_POINT_WC, __cloc); | ||
2183 | + _M_data->_M_decimal_point = __u.__w; | ||
2184 | + | ||
2185 | + __u.__s = __nl_langinfo_l(_NL_NUMERIC_THOUSANDS_SEP_WC, __cloc); | ||
2186 | + _M_data->_M_thousands_sep = __u.__w; | ||
2187 | +#endif | ||
2188 | + | ||
2189 | + if (_M_data->_M_thousands_sep == L'\0') | ||
2190 | + _M_data->_M_grouping = ""; | ||
2191 | + else | ||
2192 | + _M_data->_M_grouping = __nl_langinfo_l(GROUPING, __cloc); | ||
2193 | + _M_data->_M_grouping_size = strlen(_M_data->_M_grouping); | ||
2194 | + } | ||
2195 | + | ||
2196 | + // NB: There is no way to extact this info from posix locales. | ||
2197 | + // _M_truename = __nl_langinfo_l(YESSTR, __cloc); | ||
2198 | + _M_data->_M_truename = L"true"; | ||
2199 | + _M_data->_M_truename_size = 4; | ||
2200 | + // _M_falsename = __nl_langinfo_l(NOSTR, __cloc); | ||
2201 | + _M_data->_M_falsename = L"false"; | ||
2202 | + _M_data->_M_falsename_size = 5; | ||
2203 | + } | ||
2204 | + | ||
2205 | + template<> | ||
2206 | + numpunct<wchar_t>::~numpunct() | ||
2207 | + { delete _M_data; } | ||
2208 | + #endif | ||
2209 | +} | ||
2210 | diff -urN gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/time_members.cc gcc-4.0.0/libstdc++-v3/config/locale/uclibc/time_members.cc | ||
2211 | --- gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/time_members.cc 1969-12-31 18:00:00.000000000 -0600 | ||
2212 | +++ gcc-4.0.0/libstdc++-v3/config/locale/uclibc/time_members.cc 2005-04-28 01:13:15.000000000 -0500 | ||
2213 | @@ -0,0 +1,406 @@ | ||
2214 | +// std::time_get, std::time_put implementation, GNU version -*- C++ -*- | ||
2215 | + | ||
2216 | +// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc. | ||
2217 | +// | ||
2218 | +// This file is part of the GNU ISO C++ Library. This library is free | ||
2219 | +// software; you can redistribute it and/or modify it under the | ||
2220 | +// terms of the GNU General Public License as published by the | ||
2221 | +// Free Software Foundation; either version 2, or (at your option) | ||
2222 | +// any later version. | ||
2223 | + | ||
2224 | +// This library is distributed in the hope that it will be useful, | ||
2225 | +// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
2226 | +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
2227 | +// GNU General Public License for more details. | ||
2228 | + | ||
2229 | +// You should have received a copy of the GNU General Public License along | ||
2230 | +// with this library; see the file COPYING. If not, write to the Free | ||
2231 | +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||
2232 | +// USA. | ||
2233 | + | ||
2234 | +// As a special exception, you may use this file as part of a free software | ||
2235 | +// library without restriction. Specifically, if other files instantiate | ||
2236 | +// templates or use macros or inline functions from this file, or you compile | ||
2237 | +// this file and link it with other files to produce an executable, this | ||
2238 | +// file does not by itself cause the resulting executable to be covered by | ||
2239 | +// the GNU General Public License. This exception does not however | ||
2240 | +// invalidate any other reasons why the executable file might be covered by | ||
2241 | +// the GNU General Public License. | ||
2242 | + | ||
2243 | +// | ||
2244 | +// ISO C++ 14882: 22.2.5.1.2 - time_get virtual functions | ||
2245 | +// ISO C++ 14882: 22.2.5.3.2 - time_put virtual functions | ||
2246 | +// | ||
2247 | + | ||
2248 | +// Written by Benjamin Kosnik <bkoz@redhat.com> | ||
2249 | + | ||
2250 | +#include <locale> | ||
2251 | +#include <bits/c++locale_internal.h> | ||
2252 | + | ||
2253 | +#ifdef __UCLIBC_MJN3_ONLY__ | ||
2254 | +#warning tailor for stub locale support | ||
2255 | +#endif | ||
2256 | +#ifndef __UCLIBC_HAS_XLOCALE__ | ||
2257 | +#define __nl_langinfo_l(N, L) nl_langinfo((N)) | ||
2258 | +#endif | ||
2259 | + | ||
2260 | +namespace std | ||
2261 | +{ | ||
2262 | + template<> | ||
2263 | + void | ||
2264 | + __timepunct<char>:: | ||
2265 | + _M_put(char* __s, size_t __maxlen, const char* __format, | ||
2266 | + const tm* __tm) const | ||
2267 | + { | ||
2268 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
2269 | + const size_t __len = __strftime_l(__s, __maxlen, __format, __tm, | ||
2270 | + _M_c_locale_timepunct); | ||
2271 | +#else | ||
2272 | + char* __old = strdup(setlocale(LC_ALL, NULL)); | ||
2273 | + setlocale(LC_ALL, _M_name_timepunct); | ||
2274 | + const size_t __len = strftime(__s, __maxlen, __format, __tm); | ||
2275 | + setlocale(LC_ALL, __old); | ||
2276 | + free(__old); | ||
2277 | +#endif | ||
2278 | + // Make sure __s is null terminated. | ||
2279 | + if (__len == 0) | ||
2280 | + __s[0] = '\0'; | ||
2281 | + } | ||
2282 | + | ||
2283 | + template<> | ||
2284 | + void | ||
2285 | + __timepunct<char>::_M_initialize_timepunct(__c_locale __cloc) | ||
2286 | + { | ||
2287 | + if (!_M_data) | ||
2288 | + _M_data = new __timepunct_cache<char>; | ||
2289 | + | ||
2290 | + if (!__cloc) | ||
2291 | + { | ||
2292 | + // "C" locale | ||
2293 | + _M_c_locale_timepunct = _S_get_c_locale(); | ||
2294 | + | ||
2295 | + _M_data->_M_date_format = "%m/%d/%y"; | ||
2296 | + _M_data->_M_date_era_format = "%m/%d/%y"; | ||
2297 | + _M_data->_M_time_format = "%H:%M:%S"; | ||
2298 | + _M_data->_M_time_era_format = "%H:%M:%S"; | ||
2299 | + _M_data->_M_date_time_format = ""; | ||
2300 | + _M_data->_M_date_time_era_format = ""; | ||
2301 | + _M_data->_M_am = "AM"; | ||
2302 | + _M_data->_M_pm = "PM"; | ||
2303 | + _M_data->_M_am_pm_format = ""; | ||
2304 | + | ||
2305 | + // Day names, starting with "C"'s Sunday. | ||
2306 | + _M_data->_M_day1 = "Sunday"; | ||
2307 | + _M_data->_M_day2 = "Monday"; | ||
2308 | + _M_data->_M_day3 = "Tuesday"; | ||
2309 | + _M_data->_M_day4 = "Wednesday"; | ||
2310 | + _M_data->_M_day5 = "Thursday"; | ||
2311 | + _M_data->_M_day6 = "Friday"; | ||
2312 | + _M_data->_M_day7 = "Saturday"; | ||
2313 | + | ||
2314 | + // Abbreviated day names, starting with "C"'s Sun. | ||
2315 | + _M_data->_M_aday1 = "Sun"; | ||
2316 | + _M_data->_M_aday2 = "Mon"; | ||
2317 | + _M_data->_M_aday3 = "Tue"; | ||
2318 | + _M_data->_M_aday4 = "Wed"; | ||
2319 | + _M_data->_M_aday5 = "Thu"; | ||
2320 | + _M_data->_M_aday6 = "Fri"; | ||
2321 | + _M_data->_M_aday7 = "Sat"; | ||
2322 | + | ||
2323 | + // Month names, starting with "C"'s January. | ||
2324 | + _M_data->_M_month01 = "January"; | ||
2325 | + _M_data->_M_month02 = "February"; | ||
2326 | + _M_data->_M_month03 = "March"; | ||
2327 | + _M_data->_M_month04 = "April"; | ||
2328 | + _M_data->_M_month05 = "May"; | ||
2329 | + _M_data->_M_month06 = "June"; | ||
2330 | + _M_data->_M_month07 = "July"; | ||
2331 | + _M_data->_M_month08 = "August"; | ||
2332 | + _M_data->_M_month09 = "September"; | ||
2333 | + _M_data->_M_month10 = "October"; | ||
2334 | + _M_data->_M_month11 = "November"; | ||
2335 | + _M_data->_M_month12 = "December"; | ||
2336 | + | ||
2337 | + // Abbreviated month names, starting with "C"'s Jan. | ||
2338 | + _M_data->_M_amonth01 = "Jan"; | ||
2339 | + _M_data->_M_amonth02 = "Feb"; | ||
2340 | + _M_data->_M_amonth03 = "Mar"; | ||
2341 | + _M_data->_M_amonth04 = "Apr"; | ||
2342 | + _M_data->_M_amonth05 = "May"; | ||
2343 | + _M_data->_M_amonth06 = "Jun"; | ||
2344 | + _M_data->_M_amonth07 = "Jul"; | ||
2345 | + _M_data->_M_amonth08 = "Aug"; | ||
2346 | + _M_data->_M_amonth09 = "Sep"; | ||
2347 | + _M_data->_M_amonth10 = "Oct"; | ||
2348 | + _M_data->_M_amonth11 = "Nov"; | ||
2349 | + _M_data->_M_amonth12 = "Dec"; | ||
2350 | + } | ||
2351 | + else | ||
2352 | + { | ||
2353 | + _M_c_locale_timepunct = _S_clone_c_locale(__cloc); | ||
2354 | + | ||
2355 | + _M_data->_M_date_format = __nl_langinfo_l(D_FMT, __cloc); | ||
2356 | + _M_data->_M_date_era_format = __nl_langinfo_l(ERA_D_FMT, __cloc); | ||
2357 | + _M_data->_M_time_format = __nl_langinfo_l(T_FMT, __cloc); | ||
2358 | + _M_data->_M_time_era_format = __nl_langinfo_l(ERA_T_FMT, __cloc); | ||
2359 | + _M_data->_M_date_time_format = __nl_langinfo_l(D_T_FMT, __cloc); | ||
2360 | + _M_data->_M_date_time_era_format = __nl_langinfo_l(ERA_D_T_FMT, | ||
2361 | + __cloc); | ||
2362 | + _M_data->_M_am = __nl_langinfo_l(AM_STR, __cloc); | ||
2363 | + _M_data->_M_pm = __nl_langinfo_l(PM_STR, __cloc); | ||
2364 | + _M_data->_M_am_pm_format = __nl_langinfo_l(T_FMT_AMPM, __cloc); | ||
2365 | + | ||
2366 | + // Day names, starting with "C"'s Sunday. | ||
2367 | + _M_data->_M_day1 = __nl_langinfo_l(DAY_1, __cloc); | ||
2368 | + _M_data->_M_day2 = __nl_langinfo_l(DAY_2, __cloc); | ||
2369 | + _M_data->_M_day3 = __nl_langinfo_l(DAY_3, __cloc); | ||
2370 | + _M_data->_M_day4 = __nl_langinfo_l(DAY_4, __cloc); | ||
2371 | + _M_data->_M_day5 = __nl_langinfo_l(DAY_5, __cloc); | ||
2372 | + _M_data->_M_day6 = __nl_langinfo_l(DAY_6, __cloc); | ||
2373 | + _M_data->_M_day7 = __nl_langinfo_l(DAY_7, __cloc); | ||
2374 | + | ||
2375 | + // Abbreviated day names, starting with "C"'s Sun. | ||
2376 | + _M_data->_M_aday1 = __nl_langinfo_l(ABDAY_1, __cloc); | ||
2377 | + _M_data->_M_aday2 = __nl_langinfo_l(ABDAY_2, __cloc); | ||
2378 | + _M_data->_M_aday3 = __nl_langinfo_l(ABDAY_3, __cloc); | ||
2379 | + _M_data->_M_aday4 = __nl_langinfo_l(ABDAY_4, __cloc); | ||
2380 | + _M_data->_M_aday5 = __nl_langinfo_l(ABDAY_5, __cloc); | ||
2381 | + _M_data->_M_aday6 = __nl_langinfo_l(ABDAY_6, __cloc); | ||
2382 | + _M_data->_M_aday7 = __nl_langinfo_l(ABDAY_7, __cloc); | ||
2383 | + | ||
2384 | + // Month names, starting with "C"'s January. | ||
2385 | + _M_data->_M_month01 = __nl_langinfo_l(MON_1, __cloc); | ||
2386 | + _M_data->_M_month02 = __nl_langinfo_l(MON_2, __cloc); | ||
2387 | + _M_data->_M_month03 = __nl_langinfo_l(MON_3, __cloc); | ||
2388 | + _M_data->_M_month04 = __nl_langinfo_l(MON_4, __cloc); | ||
2389 | + _M_data->_M_month05 = __nl_langinfo_l(MON_5, __cloc); | ||
2390 | + _M_data->_M_month06 = __nl_langinfo_l(MON_6, __cloc); | ||
2391 | + _M_data->_M_month07 = __nl_langinfo_l(MON_7, __cloc); | ||
2392 | + _M_data->_M_month08 = __nl_langinfo_l(MON_8, __cloc); | ||
2393 | + _M_data->_M_month09 = __nl_langinfo_l(MON_9, __cloc); | ||
2394 | + _M_data->_M_month10 = __nl_langinfo_l(MON_10, __cloc); | ||
2395 | + _M_data->_M_month11 = __nl_langinfo_l(MON_11, __cloc); | ||
2396 | + _M_data->_M_month12 = __nl_langinfo_l(MON_12, __cloc); | ||
2397 | + | ||
2398 | + // Abbreviated month names, starting with "C"'s Jan. | ||
2399 | + _M_data->_M_amonth01 = __nl_langinfo_l(ABMON_1, __cloc); | ||
2400 | + _M_data->_M_amonth02 = __nl_langinfo_l(ABMON_2, __cloc); | ||
2401 | + _M_data->_M_amonth03 = __nl_langinfo_l(ABMON_3, __cloc); | ||
2402 | + _M_data->_M_amonth04 = __nl_langinfo_l(ABMON_4, __cloc); | ||
2403 | + _M_data->_M_amonth05 = __nl_langinfo_l(ABMON_5, __cloc); | ||
2404 | + _M_data->_M_amonth06 = __nl_langinfo_l(ABMON_6, __cloc); | ||
2405 | + _M_data->_M_amonth07 = __nl_langinfo_l(ABMON_7, __cloc); | ||
2406 | + _M_data->_M_amonth08 = __nl_langinfo_l(ABMON_8, __cloc); | ||
2407 | + _M_data->_M_amonth09 = __nl_langinfo_l(ABMON_9, __cloc); | ||
2408 | + _M_data->_M_amonth10 = __nl_langinfo_l(ABMON_10, __cloc); | ||
2409 | + _M_data->_M_amonth11 = __nl_langinfo_l(ABMON_11, __cloc); | ||
2410 | + _M_data->_M_amonth12 = __nl_langinfo_l(ABMON_12, __cloc); | ||
2411 | + } | ||
2412 | + } | ||
2413 | + | ||
2414 | +#ifdef _GLIBCXX_USE_WCHAR_T | ||
2415 | + template<> | ||
2416 | + void | ||
2417 | + __timepunct<wchar_t>:: | ||
2418 | + _M_put(wchar_t* __s, size_t __maxlen, const wchar_t* __format, | ||
2419 | + const tm* __tm) const | ||
2420 | + { | ||
2421 | +#ifdef __UCLIBC_HAS_XLOCALE__ | ||
2422 | + __wcsftime_l(__s, __maxlen, __format, __tm, _M_c_locale_timepunct); | ||
2423 | + const size_t __len = __wcsftime_l(__s, __maxlen, __format, __tm, | ||
2424 | + _M_c_locale_timepunct); | ||
2425 | +#else | ||
2426 | + char* __old = strdup(setlocale(LC_ALL, NULL)); | ||
2427 | + setlocale(LC_ALL, _M_name_timepunct); | ||
2428 | + const size_t __len = wcsftime(__s, __maxlen, __format, __tm); | ||
2429 | + setlocale(LC_ALL, __old); | ||
2430 | + free(__old); | ||
2431 | +#endif | ||
2432 | + // Make sure __s is null terminated. | ||
2433 | + if (__len == 0) | ||
2434 | + __s[0] = L'\0'; | ||
2435 | + } | ||
2436 | + | ||
2437 | + template<> | ||
2438 | + void | ||
2439 | + __timepunct<wchar_t>::_M_initialize_timepunct(__c_locale __cloc) | ||
2440 | + { | ||
2441 | + if (!_M_data) | ||
2442 | + _M_data = new __timepunct_cache<wchar_t>; | ||
2443 | + | ||
2444 | +#warning wide time stuff | ||
2445 | +// if (!__cloc) | ||
2446 | + { | ||
2447 | + // "C" locale | ||
2448 | + _M_c_locale_timepunct = _S_get_c_locale(); | ||
2449 | + | ||
2450 | + _M_data->_M_date_format = L"%m/%d/%y"; | ||
2451 | + _M_data->_M_date_era_format = L"%m/%d/%y"; | ||
2452 | + _M_data->_M_time_format = L"%H:%M:%S"; | ||
2453 | + _M_data->_M_time_era_format = L"%H:%M:%S"; | ||
2454 | + _M_data->_M_date_time_format = L""; | ||
2455 | + _M_data->_M_date_time_era_format = L""; | ||
2456 | + _M_data->_M_am = L"AM"; | ||
2457 | + _M_data->_M_pm = L"PM"; | ||
2458 | + _M_data->_M_am_pm_format = L""; | ||
2459 | + | ||
2460 | + // Day names, starting with "C"'s Sunday. | ||
2461 | + _M_data->_M_day1 = L"Sunday"; | ||
2462 | + _M_data->_M_day2 = L"Monday"; | ||
2463 | + _M_data->_M_day3 = L"Tuesday"; | ||
2464 | + _M_data->_M_day4 = L"Wednesday"; | ||
2465 | + _M_data->_M_day5 = L"Thursday"; | ||
2466 | + _M_data->_M_day6 = L"Friday"; | ||
2467 | + _M_data->_M_day7 = L"Saturday"; | ||
2468 | + | ||
2469 | + // Abbreviated day names, starting with "C"'s Sun. | ||
2470 | + _M_data->_M_aday1 = L"Sun"; | ||
2471 | + _M_data->_M_aday2 = L"Mon"; | ||
2472 | + _M_data->_M_aday3 = L"Tue"; | ||
2473 | + _M_data->_M_aday4 = L"Wed"; | ||
2474 | + _M_data->_M_aday5 = L"Thu"; | ||
2475 | + _M_data->_M_aday6 = L"Fri"; | ||
2476 | + _M_data->_M_aday7 = L"Sat"; | ||
2477 | + | ||
2478 | + // Month names, starting with "C"'s January. | ||
2479 | + _M_data->_M_month01 = L"January"; | ||
2480 | + _M_data->_M_month02 = L"February"; | ||
2481 | + _M_data->_M_month03 = L"March"; | ||
2482 | + _M_data->_M_month04 = L"April"; | ||
2483 | + _M_data->_M_month05 = L"May"; | ||
2484 | + _M_data->_M_month06 = L"June"; | ||
2485 | + _M_data->_M_month07 = L"July"; | ||
2486 | + _M_data->_M_month08 = L"August"; | ||
2487 | + _M_data->_M_month09 = L"September"; | ||
2488 | + _M_data->_M_month10 = L"October"; | ||
2489 | + _M_data->_M_month11 = L"November"; | ||
2490 | + _M_data->_M_month12 = L"December"; | ||
2491 | + | ||
2492 | + // Abbreviated month names, starting with "C"'s Jan. | ||
2493 | + _M_data->_M_amonth01 = L"Jan"; | ||
2494 | + _M_data->_M_amonth02 = L"Feb"; | ||
2495 | + _M_data->_M_amonth03 = L"Mar"; | ||
2496 | + _M_data->_M_amonth04 = L"Apr"; | ||
2497 | + _M_data->_M_amonth05 = L"May"; | ||
2498 | + _M_data->_M_amonth06 = L"Jun"; | ||
2499 | + _M_data->_M_amonth07 = L"Jul"; | ||
2500 | + _M_data->_M_amonth08 = L"Aug"; | ||
2501 | + _M_data->_M_amonth09 = L"Sep"; | ||
2502 | + _M_data->_M_amonth10 = L"Oct"; | ||
2503 | + _M_data->_M_amonth11 = L"Nov"; | ||
2504 | + _M_data->_M_amonth12 = L"Dec"; | ||
2505 | + } | ||
2506 | +#if 0 | ||
2507 | + else | ||
2508 | + { | ||
2509 | + _M_c_locale_timepunct = _S_clone_c_locale(__cloc); | ||
2510 | + | ||
2511 | + union { char *__s; wchar_t *__w; } __u; | ||
2512 | + | ||
2513 | + __u.__s = __nl_langinfo_l(_NL_WD_FMT, __cloc); | ||
2514 | + _M_data->_M_date_format = __u.__w; | ||
2515 | + __u.__s = __nl_langinfo_l(_NL_WERA_D_FMT, __cloc); | ||
2516 | + _M_data->_M_date_era_format = __u.__w; | ||
2517 | + __u.__s = __nl_langinfo_l(_NL_WT_FMT, __cloc); | ||
2518 | + _M_data->_M_time_format = __u.__w; | ||
2519 | + __u.__s = __nl_langinfo_l(_NL_WERA_T_FMT, __cloc); | ||
2520 | + _M_data->_M_time_era_format = __u.__w; | ||
2521 | + __u.__s = __nl_langinfo_l(_NL_WD_T_FMT, __cloc); | ||
2522 | + _M_data->_M_date_time_format = __u.__w; | ||
2523 | + __u.__s = __nl_langinfo_l(_NL_WERA_D_T_FMT, __cloc); | ||
2524 | + _M_data->_M_date_time_era_format = __u.__w; | ||
2525 | + __u.__s = __nl_langinfo_l(_NL_WAM_STR, __cloc); | ||
2526 | + _M_data->_M_am = __u.__w; | ||
2527 | + __u.__s = __nl_langinfo_l(_NL_WPM_STR, __cloc); | ||
2528 | + _M_data->_M_pm = __u.__w; | ||
2529 | + __u.__s = __nl_langinfo_l(_NL_WT_FMT_AMPM, __cloc); | ||
2530 | + _M_data->_M_am_pm_format = __u.__w; | ||
2531 | + | ||
2532 | + // Day names, starting with "C"'s Sunday. | ||
2533 | + __u.__s = __nl_langinfo_l(_NL_WDAY_1, __cloc); | ||
2534 | + _M_data->_M_day1 = __u.__w; | ||
2535 | + __u.__s = __nl_langinfo_l(_NL_WDAY_2, __cloc); | ||
2536 | + _M_data->_M_day2 = __u.__w; | ||
2537 | + __u.__s = __nl_langinfo_l(_NL_WDAY_3, __cloc); | ||
2538 | + _M_data->_M_day3 = __u.__w; | ||
2539 | + __u.__s = __nl_langinfo_l(_NL_WDAY_4, __cloc); | ||
2540 | + _M_data->_M_day4 = __u.__w; | ||
2541 | + __u.__s = __nl_langinfo_l(_NL_WDAY_5, __cloc); | ||
2542 | + _M_data->_M_day5 = __u.__w; | ||
2543 | + __u.__s = __nl_langinfo_l(_NL_WDAY_6, __cloc); | ||
2544 | + _M_data->_M_day6 = __u.__w; | ||
2545 | + __u.__s = __nl_langinfo_l(_NL_WDAY_7, __cloc); | ||
2546 | + _M_data->_M_day7 = __u.__w; | ||
2547 | + | ||
2548 | + // Abbreviated day names, starting with "C"'s Sun. | ||
2549 | + __u.__s = __nl_langinfo_l(_NL_WABDAY_1, __cloc); | ||
2550 | + _M_data->_M_aday1 = __u.__w; | ||
2551 | + __u.__s = __nl_langinfo_l(_NL_WABDAY_2, __cloc); | ||
2552 | + _M_data->_M_aday2 = __u.__w; | ||
2553 | + __u.__s = __nl_langinfo_l(_NL_WABDAY_3, __cloc); | ||
2554 | + _M_data->_M_aday3 = __u.__w; | ||
2555 | + __u.__s = __nl_langinfo_l(_NL_WABDAY_4, __cloc); | ||
2556 | + _M_data->_M_aday4 = __u.__w; | ||
2557 | + __u.__s = __nl_langinfo_l(_NL_WABDAY_5, __cloc); | ||
2558 | + _M_data->_M_aday5 = __u.__w; | ||
2559 | + __u.__s = __nl_langinfo_l(_NL_WABDAY_6, __cloc); | ||
2560 | + _M_data->_M_aday6 = __u.__w; | ||
2561 | + __u.__s = __nl_langinfo_l(_NL_WABDAY_7, __cloc); | ||
2562 | + _M_data->_M_aday7 = __u.__w; | ||
2563 | + | ||
2564 | + // Month names, starting with "C"'s January. | ||
2565 | + __u.__s = __nl_langinfo_l(_NL_WMON_1, __cloc); | ||
2566 | + _M_data->_M_month01 = __u.__w; | ||
2567 | + __u.__s = __nl_langinfo_l(_NL_WMON_2, __cloc); | ||
2568 | + _M_data->_M_month02 = __u.__w; | ||
2569 | + __u.__s = __nl_langinfo_l(_NL_WMON_3, __cloc); | ||
2570 | + _M_data->_M_month03 = __u.__w; | ||
2571 | + __u.__s = __nl_langinfo_l(_NL_WMON_4, __cloc); | ||
2572 | + _M_data->_M_month04 = __u.__w; | ||
2573 | + __u.__s = __nl_langinfo_l(_NL_WMON_5, __cloc); | ||
2574 | + _M_data->_M_month05 = __u.__w; | ||
2575 | + __u.__s = __nl_langinfo_l(_NL_WMON_6, __cloc); | ||
2576 | + _M_data->_M_month06 = __u.__w; | ||
2577 | + __u.__s = __nl_langinfo_l(_NL_WMON_7, __cloc); | ||
2578 | + _M_data->_M_month07 = __u.__w; | ||
2579 | + __u.__s = __nl_langinfo_l(_NL_WMON_8, __cloc); | ||
2580 | + _M_data->_M_month08 = __u.__w; | ||
2581 | + __u.__s = __nl_langinfo_l(_NL_WMON_9, __cloc); | ||
2582 | + _M_data->_M_month09 = __u.__w; | ||
2583 | + __u.__s = __nl_langinfo_l(_NL_WMON_10, __cloc); | ||
2584 | + _M_data->_M_month10 = __u.__w; | ||
2585 | + __u.__s = __nl_langinfo_l(_NL_WMON_11, __cloc); | ||
2586 | + _M_data->_M_month11 = __u.__w; | ||
2587 | + __u.__s = __nl_langinfo_l(_NL_WMON_12, __cloc); | ||
2588 | + _M_data->_M_month12 = __u.__w; | ||
2589 | + | ||
2590 | + // Abbreviated month names, starting with "C"'s Jan. | ||
2591 | + __u.__s = __nl_langinfo_l(_NL_WABMON_1, __cloc); | ||
2592 | + _M_data->_M_amonth01 = __u.__w; | ||
2593 | + __u.__s = __nl_langinfo_l(_NL_WABMON_2, __cloc); | ||
2594 | + _M_data->_M_amonth02 = __u.__w; | ||
2595 | + __u.__s = __nl_langinfo_l(_NL_WABMON_3, __cloc); | ||
2596 | + _M_data->_M_amonth03 = __u.__w; | ||
2597 | + __u.__s = __nl_langinfo_l(_NL_WABMON_4, __cloc); | ||
2598 | + _M_data->_M_amonth04 = __u.__w; | ||
2599 | + __u.__s = __nl_langinfo_l(_NL_WABMON_5, __cloc); | ||
2600 | + _M_data->_M_amonth05 = __u.__w; | ||
2601 | + __u.__s = __nl_langinfo_l(_NL_WABMON_6, __cloc); | ||
2602 | + _M_data->_M_amonth06 = __u.__w; | ||
2603 | + __u.__s = __nl_langinfo_l(_NL_WABMON_7, __cloc); | ||
2604 | + _M_data->_M_amonth07 = __u.__w; | ||
2605 | + __u.__s = __nl_langinfo_l(_NL_WABMON_8, __cloc); | ||
2606 | + _M_data->_M_amonth08 = __u.__w; | ||
2607 | + __u.__s = __nl_langinfo_l(_NL_WABMON_9, __cloc); | ||
2608 | + _M_data->_M_amonth09 = __u.__w; | ||
2609 | + __u.__s = __nl_langinfo_l(_NL_WABMON_10, __cloc); | ||
2610 | + _M_data->_M_amonth10 = __u.__w; | ||
2611 | + __u.__s = __nl_langinfo_l(_NL_WABMON_11, __cloc); | ||
2612 | + _M_data->_M_amonth11 = __u.__w; | ||
2613 | + __u.__s = __nl_langinfo_l(_NL_WABMON_12, __cloc); | ||
2614 | + _M_data->_M_amonth12 = __u.__w; | ||
2615 | + } | ||
2616 | +#endif // 0 | ||
2617 | + } | ||
2618 | +#endif | ||
2619 | +} | ||
2620 | diff -urN gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/time_members.h gcc-4.0.0/libstdc++-v3/config/locale/uclibc/time_members.h | ||
2621 | --- gcc-4.0.0-100/libstdc++-v3/config/locale/uclibc/time_members.h 1969-12-31 18:00:00.000000000 -0600 | ||
2622 | +++ gcc-4.0.0/libstdc++-v3/config/locale/uclibc/time_members.h 2004-05-22 18:46:31.000000000 -0500 | ||
2623 | @@ -0,0 +1,68 @@ | ||
2624 | +// std::time_get, std::time_put implementation, GNU version -*- C++ -*- | ||
2625 | + | ||
2626 | +// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc. | ||
2627 | +// | ||
2628 | +// This file is part of the GNU ISO C++ Library. This library is free | ||
2629 | +// software; you can redistribute it and/or modify it under the | ||
2630 | +// terms of the GNU General Public License as published by the | ||
2631 | +// Free Software Foundation; either version 2, or (at your option) | ||
2632 | +// any later version. | ||
2633 | + | ||
2634 | +// This library is distributed in the hope that it will be useful, | ||
2635 | +// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
2636 | +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
2637 | +// GNU General Public License for more details. | ||
2638 | + | ||
2639 | +// You should have received a copy of the GNU General Public License along | ||
2640 | +// with this library; see the file COPYING. If not, write to the Free | ||
2641 | +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||
2642 | +// USA. | ||
2643 | + | ||
2644 | +// As a special exception, you may use this file as part of a free software | ||
2645 | +// library without restriction. Specifically, if other files instantiate | ||
2646 | +// templates or use macros or inline functions from this file, or you compile | ||
2647 | +// this file and link it with other files to produce an executable, this | ||
2648 | +// file does not by itself cause the resulting executable to be covered by | ||
2649 | +// the GNU General Public License. This exception does not however | ||
2650 | +// invalidate any other reasons why the executable file might be covered by | ||
2651 | +// the GNU General Public License. | ||
2652 | + | ||
2653 | +// | ||
2654 | +// ISO C++ 14882: 22.2.5.1.2 - time_get functions | ||
2655 | +// ISO C++ 14882: 22.2.5.3.2 - time_put functions | ||
2656 | +// | ||
2657 | + | ||
2658 | +// Written by Benjamin Kosnik <bkoz@redhat.com> | ||
2659 | + | ||
2660 | + template<typename _CharT> | ||
2661 | + __timepunct<_CharT>::__timepunct(size_t __refs) | ||
2662 | + : facet(__refs), _M_data(NULL), _M_c_locale_timepunct(NULL), | ||
2663 | + _M_name_timepunct(_S_get_c_name()) | ||
2664 | + { _M_initialize_timepunct(); } | ||
2665 | + | ||
2666 | + template<typename _CharT> | ||
2667 | + __timepunct<_CharT>::__timepunct(__cache_type* __cache, size_t __refs) | ||
2668 | + : facet(__refs), _M_data(__cache), _M_c_locale_timepunct(NULL), | ||
2669 | + _M_name_timepunct(_S_get_c_name()) | ||
2670 | + { _M_initialize_timepunct(); } | ||
2671 | + | ||
2672 | + template<typename _CharT> | ||
2673 | + __timepunct<_CharT>::__timepunct(__c_locale __cloc, const char* __s, | ||
2674 | + size_t __refs) | ||
2675 | + : facet(__refs), _M_data(NULL), _M_c_locale_timepunct(NULL), | ||
2676 | + _M_name_timepunct(__s) | ||
2677 | + { | ||
2678 | + char* __tmp = new char[std::strlen(__s) + 1]; | ||
2679 | + std::strcpy(__tmp, __s); | ||
2680 | + _M_name_timepunct = __tmp; | ||
2681 | + _M_initialize_timepunct(__cloc); | ||
2682 | + } | ||
2683 | + | ||
2684 | + template<typename _CharT> | ||
2685 | + __timepunct<_CharT>::~__timepunct() | ||
2686 | + { | ||
2687 | + if (_M_name_timepunct != _S_get_c_name()) | ||
2688 | + delete [] _M_name_timepunct; | ||
2689 | + delete _M_data; | ||
2690 | + _S_destroy_c_locale(_M_c_locale_timepunct); | ||
2691 | + } | ||
2692 | diff -urN gcc-4.0.0-100/libstdc++-v3/config/os/uclibc/ctype_base.h gcc-4.0.0/libstdc++-v3/config/os/uclibc/ctype_base.h | ||
2693 | --- gcc-4.0.0-100/libstdc++-v3/config/os/uclibc/ctype_base.h 1969-12-31 18:00:00.000000000 -0600 | ||
2694 | +++ gcc-4.0.0/libstdc++-v3/config/os/uclibc/ctype_base.h 2005-04-28 01:10:27.000000000 -0500 | ||
2695 | @@ -0,0 +1,64 @@ | ||
2696 | +// Locale support -*- C++ -*- | ||
2697 | + | ||
2698 | +// Copyright (C) 1997, 1998, 1999, 2000, 2002, 2003, 2004 | ||
2699 | +// Free Software Foundation, Inc. | ||
2700 | +// | ||
2701 | +// This file is part of the GNU ISO C++ Library. This library is free | ||
2702 | +// software; you can redistribute it and/or modify it under the | ||
2703 | +// terms of the GNU General Public License as published by the | ||
2704 | +// Free Software Foundation; either version 2, or (at your option) | ||
2705 | +// any later version. | ||
2706 | + | ||
2707 | +// This library is distributed in the hope that it will be useful, | ||
2708 | +// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
2709 | +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
2710 | +// GNU General Public License for more details. | ||
2711 | + | ||
2712 | +// You should have received a copy of the GNU General Public License along | ||
2713 | +// with this library; see the file COPYING. If not, write to the Free | ||
2714 | +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||
2715 | +// USA. | ||
2716 | + | ||
2717 | +// As a special exception, you may use this file as part of a free software | ||
2718 | +// library without restriction. Specifically, if other files instantiate | ||
2719 | +// templates or use macros or inline functions from this file, or you compile | ||
2720 | +// this file and link it with other files to produce an executable, this | ||
2721 | +// file does not by itself cause the resulting executable to be covered by | ||
2722 | +// the GNU General Public License. This exception does not however | ||
2723 | +// invalidate any other reasons why the executable file might be covered by | ||
2724 | +// the GNU General Public License. | ||
2725 | + | ||
2726 | +// | ||
2727 | +// ISO C++ 14882: 22.1 Locales | ||
2728 | +// | ||
2729 | + | ||
2730 | +/** @file ctype_base.h | ||
2731 | + * This is an internal header file, included by other library headers. | ||
2732 | + * You should not attempt to use it directly. | ||
2733 | + */ | ||
2734 | + | ||
2735 | +// Information as gleaned from /usr/include/ctype.h | ||
2736 | + | ||
2737 | + /// @brief Base class for ctype. | ||
2738 | + struct ctype_base | ||
2739 | + { | ||
2740 | + // Note: In uClibc, the following two types depend on configuration. | ||
2741 | + | ||
2742 | + // Non-standard typedefs. | ||
2743 | + typedef const __ctype_touplow_t* __to_type; | ||
2744 | + | ||
2745 | + // NB: Offsets into ctype<char>::_M_table force a particular size | ||
2746 | + // on the mask type. Because of this, we don't use an enum. | ||
2747 | + typedef __ctype_mask_t mask; | ||
2748 | + static const mask upper = _ISupper; | ||
2749 | + static const mask lower = _ISlower; | ||
2750 | + static const mask alpha = _ISalpha; | ||
2751 | + static const mask digit = _ISdigit; | ||
2752 | + static const mask xdigit = _ISxdigit; | ||
2753 | + static const mask space = _ISspace; | ||
2754 | + static const mask print = _ISprint; | ||
2755 | + static const mask graph = _ISalpha | _ISdigit | _ISpunct; | ||
2756 | + static const mask cntrl = _IScntrl; | ||
2757 | + static const mask punct = _ISpunct; | ||
2758 | + static const mask alnum = _ISalpha | _ISdigit; | ||
2759 | + }; | ||
2760 | diff -urN gcc-4.0.0-100/libstdc++-v3/config/os/uclibc/ctype_inline.h gcc-4.0.0/libstdc++-v3/config/os/uclibc/ctype_inline.h | ||
2761 | --- gcc-4.0.0-100/libstdc++-v3/config/os/uclibc/ctype_inline.h 1969-12-31 18:00:00.000000000 -0600 | ||
2762 | +++ gcc-4.0.0/libstdc++-v3/config/os/uclibc/ctype_inline.h 2002-06-24 00:49:19.000000000 -0500 | ||
2763 | @@ -0,0 +1,69 @@ | ||
2764 | +// Locale support -*- C++ -*- | ||
2765 | + | ||
2766 | +// Copyright (C) 2000, 2002 Free Software Foundation, Inc. | ||
2767 | +// | ||
2768 | +// This file is part of the GNU ISO C++ Library. This library is free | ||
2769 | +// software; you can redistribute it and/or modify it under the | ||
2770 | +// terms of the GNU General Public License as published by the | ||
2771 | +// Free Software Foundation; either version 2, or (at your option) | ||
2772 | +// any later version. | ||
2773 | + | ||
2774 | +// This library is distributed in the hope that it will be useful, | ||
2775 | +// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
2776 | +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
2777 | +// GNU General Public License for more details. | ||
2778 | + | ||
2779 | +// You should have received a copy of the GNU General Public License along | ||
2780 | +// with this library; see the file COPYING. If not, write to the Free | ||
2781 | +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||
2782 | +// USA. | ||
2783 | + | ||
2784 | +// As a special exception, you may use this file as part of a free software | ||
2785 | +// library without restriction. Specifically, if other files instantiate | ||
2786 | +// templates or use macros or inline functions from this file, or you compile | ||
2787 | +// this file and link it with other files to produce an executable, this | ||
2788 | +// file does not by itself cause the resulting executable to be covered by | ||
2789 | +// the GNU General Public License. This exception does not however | ||
2790 | +// invalidate any other reasons why the executable file might be covered by | ||
2791 | +// the GNU General Public License. | ||
2792 | + | ||
2793 | +// | ||
2794 | +// ISO C++ 14882: 22.1 Locales | ||
2795 | +// | ||
2796 | + | ||
2797 | +// ctype bits to be inlined go here. Non-inlinable (ie virtual do_*) | ||
2798 | +// functions go in ctype.cc | ||
2799 | + | ||
2800 | + bool | ||
2801 | + ctype<char>:: | ||
2802 | + is(mask __m, char __c) const | ||
2803 | + { return _M_table[static_cast<unsigned char>(__c)] & __m; } | ||
2804 | + | ||
2805 | + const char* | ||
2806 | + ctype<char>:: | ||
2807 | + is(const char* __low, const char* __high, mask* __vec) const | ||
2808 | + { | ||
2809 | + while (__low < __high) | ||
2810 | + *__vec++ = _M_table[static_cast<unsigned char>(*__low++)]; | ||
2811 | + return __high; | ||
2812 | + } | ||
2813 | + | ||
2814 | + const char* | ||
2815 | + ctype<char>:: | ||
2816 | + scan_is(mask __m, const char* __low, const char* __high) const | ||
2817 | + { | ||
2818 | + while (__low < __high | ||
2819 | + && !(_M_table[static_cast<unsigned char>(*__low)] & __m)) | ||
2820 | + ++__low; | ||
2821 | + return __low; | ||
2822 | + } | ||
2823 | + | ||
2824 | + const char* | ||
2825 | + ctype<char>:: | ||
2826 | + scan_not(mask __m, const char* __low, const char* __high) const | ||
2827 | + { | ||
2828 | + while (__low < __high | ||
2829 | + && (_M_table[static_cast<unsigned char>(*__low)] & __m) != 0) | ||
2830 | + ++__low; | ||
2831 | + return __low; | ||
2832 | + } | ||
2833 | diff -urN gcc-4.0.0-100/libstdc++-v3/config/os/uclibc/ctype_noninline.h gcc-4.0.0/libstdc++-v3/config/os/uclibc/ctype_noninline.h | ||
2834 | --- gcc-4.0.0-100/libstdc++-v3/config/os/uclibc/ctype_noninline.h 1969-12-31 18:00:00.000000000 -0600 | ||
2835 | +++ gcc-4.0.0/libstdc++-v3/config/os/uclibc/ctype_noninline.h 2005-04-28 01:10:27.000000000 -0500 | ||
2836 | @@ -0,0 +1,92 @@ | ||
2837 | +// Locale support -*- C++ -*- | ||
2838 | + | ||
2839 | +// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2004 | ||
2840 | +// Free Software Foundation, Inc. | ||
2841 | +// | ||
2842 | +// This file is part of the GNU ISO C++ Library. This library is free | ||
2843 | +// software; you can redistribute it and/or modify it under the | ||
2844 | +// terms of the GNU General Public License as published by the | ||
2845 | +// Free Software Foundation; either version 2, or (at your option) | ||
2846 | +// any later version. | ||
2847 | + | ||
2848 | +// This library is distributed in the hope that it will be useful, | ||
2849 | +// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
2850 | +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
2851 | +// GNU General Public License for more details. | ||
2852 | + | ||
2853 | +// You should have received a copy of the GNU General Public License along | ||
2854 | +// with this library; see the file COPYING. If not, write to the Free | ||
2855 | +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||
2856 | +// USA. | ||
2857 | + | ||
2858 | +// As a special exception, you may use this file as part of a free software | ||
2859 | +// library without restriction. Specifically, if other files instantiate | ||
2860 | +// templates or use macros or inline functions from this file, or you compile | ||
2861 | +// this file and link it with other files to produce an executable, this | ||
2862 | +// file does not by itself cause the resulting executable to be covered by | ||
2863 | +// the GNU General Public License. This exception does not however | ||
2864 | +// invalidate any other reasons why the executable file might be covered by | ||
2865 | +// the GNU General Public License. | ||
2866 | + | ||
2867 | +// | ||
2868 | +// ISO C++ 14882: 22.1 Locales | ||
2869 | +// | ||
2870 | + | ||
2871 | +// Information as gleaned from /usr/include/ctype.h | ||
2872 | + | ||
2873 | + const ctype_base::mask* | ||
2874 | + ctype<char>::classic_table() throw() | ||
2875 | + { return __C_ctype_b; } | ||
2876 | + | ||
2877 | + ctype<char>::ctype(__c_locale, const mask* __table, bool __del, | ||
2878 | + size_t __refs) | ||
2879 | + : facet(__refs), _M_c_locale_ctype(_S_get_c_locale()), | ||
2880 | + _M_del(__table != 0 && __del), _M_widen_ok(0), _M_narrow_ok(0) | ||
2881 | + { | ||
2882 | + _M_toupper = __C_ctype_toupper; | ||
2883 | + _M_tolower = __C_ctype_tolower; | ||
2884 | + _M_table = __table ? __table : __C_ctype_b; | ||
2885 | + memset(_M_widen, 0, sizeof(_M_widen)); | ||
2886 | + memset(_M_narrow, 0, sizeof(_M_narrow)); | ||
2887 | + } | ||
2888 | + | ||
2889 | + ctype<char>::ctype(const mask* __table, bool __del, size_t __refs) | ||
2890 | + : facet(__refs), _M_c_locale_ctype(_S_get_c_locale()), | ||
2891 | + _M_del(__table != 0 && __del), _M_widen_ok(0), _M_narrow_ok(0) | ||
2892 | + { | ||
2893 | + _M_toupper = __C_ctype_toupper; | ||
2894 | + _M_tolower = __C_ctype_tolower; | ||
2895 | + _M_table = __table ? __table : __C_ctype_b; | ||
2896 | + memset(_M_widen, 0, sizeof(_M_widen)); | ||
2897 | + memset(_M_narrow, 0, sizeof(_M_narrow)); | ||
2898 | + } | ||
2899 | + | ||
2900 | + char | ||
2901 | + ctype<char>::do_toupper(char __c) const | ||
2902 | + { return _M_toupper[static_cast<unsigned char>(__c)]; } | ||
2903 | + | ||
2904 | + const char* | ||
2905 | + ctype<char>::do_toupper(char* __low, const char* __high) const | ||
2906 | + { | ||
2907 | + while (__low < __high) | ||
2908 | + { | ||
2909 | + *__low = _M_toupper[static_cast<unsigned char>(*__low)]; | ||
2910 | + ++__low; | ||
2911 | + } | ||
2912 | + return __high; | ||
2913 | + } | ||
2914 | + | ||
2915 | + char | ||
2916 | + ctype<char>::do_tolower(char __c) const | ||
2917 | + { return _M_tolower[static_cast<unsigned char>(__c)]; } | ||
2918 | + | ||
2919 | + const char* | ||
2920 | + ctype<char>::do_tolower(char* __low, const char* __high) const | ||
2921 | + { | ||
2922 | + while (__low < __high) | ||
2923 | + { | ||
2924 | + *__low = _M_tolower[static_cast<unsigned char>(*__low)]; | ||
2925 | + ++__low; | ||
2926 | + } | ||
2927 | + return __high; | ||
2928 | + } | ||
2929 | diff -urN gcc-4.0.0-100/libstdc++-v3/config/os/uclibc/os_defines.h gcc-4.0.0/libstdc++-v3/config/os/uclibc/os_defines.h | ||
2930 | --- gcc-4.0.0-100/libstdc++-v3/config/os/uclibc/os_defines.h 1969-12-31 18:00:00.000000000 -0600 | ||
2931 | +++ gcc-4.0.0/libstdc++-v3/config/os/uclibc/os_defines.h 2005-04-28 01:10:27.000000000 -0500 | ||
2932 | @@ -0,0 +1,44 @@ | ||
2933 | +// Specific definitions for GNU/Linux -*- C++ -*- | ||
2934 | + | ||
2935 | +// Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc. | ||
2936 | +// | ||
2937 | +// This file is part of the GNU ISO C++ Library. This library is free | ||
2938 | +// software; you can redistribute it and/or modify it under the | ||
2939 | +// terms of the GNU General Public License as published by the | ||
2940 | +// Free Software Foundation; either version 2, or (at your option) | ||
2941 | +// any later version. | ||
2942 | + | ||
2943 | +// This library is distributed in the hope that it will be useful, | ||
2944 | +// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
2945 | +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
2946 | +// GNU General Public License for more details. | ||
2947 | + | ||
2948 | +// You should have received a copy of the GNU General Public License along | ||
2949 | +// with this library; see the file COPYING. If not, write to the Free | ||
2950 | +// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||
2951 | +// USA. | ||
2952 | + | ||
2953 | +// As a special exception, you may use this file as part of a free software | ||
2954 | +// library without restriction. Specifically, if other files instantiate | ||
2955 | +// templates or use macros or inline functions from this file, or you compile | ||
2956 | +// this file and link it with other files to produce an executable, this | ||
2957 | +// file does not by itself cause the resulting executable to be covered by | ||
2958 | +// the GNU General Public License. This exception does not however | ||
2959 | +// invalidate any other reasons why the executable file might be covered by | ||
2960 | +// the GNU General Public License. | ||
2961 | + | ||
2962 | +#ifndef _GLIBCXX_OS_DEFINES | ||
2963 | +#define _GLIBCXX_OS_DEFINES 1 | ||
2964 | + | ||
2965 | +// System-specific #define, typedefs, corrections, etc, go here. This | ||
2966 | +// file will come before all others. | ||
2967 | + | ||
2968 | +// This keeps isanum, et al from being propagated as macros. | ||
2969 | +#define __NO_CTYPE 1 | ||
2970 | + | ||
2971 | +#include <features.h> | ||
2972 | + | ||
2973 | +// We must not see the optimized string functions GNU libc defines. | ||
2974 | +#define __NO_STRING_INLINES | ||
2975 | + | ||
2976 | +#endif | ||
2977 | diff -urN gcc-4.0.0-100/libstdc++-v3/configure gcc-4.0.0/libstdc++-v3/configure | ||
2978 | --- gcc-4.0.0-100/libstdc++-v3/configure 2005-04-30 13:06:53.683055232 -0500 | ||
2979 | +++ gcc-4.0.0/libstdc++-v3/configure 2005-04-30 12:24:24.000000000 -0500 | ||
2980 | @@ -3998,6 +3998,11 @@ | ||
2981 | lt_cv_deplibs_check_method=pass_all | ||
2982 | ;; | ||
2983 | |||
2984 | +linux-uclibc*) | ||
2985 | + lt_cv_deplibs_check_method=pass_all | ||
2986 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | ||
2987 | + ;; | ||
2988 | + | ||
2989 | netbsd* | knetbsd*-gnu) | ||
2990 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | ||
2991 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' | ||
2992 | @@ -5672,7 +5677,7 @@ | ||
2993 | enableval="$enable_clocale" | ||
2994 | |||
2995 | case "$enableval" in | ||
2996 | - generic|gnu|ieee_1003.1-2001|yes|no|auto) ;; | ||
2997 | + generic|gnu|ieee_1003.1-2001|uclibc|yes|no|auto) ;; | ||
2998 | *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5 | ||
2999 | echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;} | ||
3000 | { (exit 1); exit 1; }; } ;; | ||
3001 | @@ -5697,6 +5702,9 @@ | ||
3002 | # Default to "generic". | ||
3003 | if test $enable_clocale_flag = auto; then | ||
3004 | case ${target_os} in | ||
3005 | + linux-uclibc*) | ||
3006 | + enable_clocale_flag=uclibc | ||
3007 | + ;; | ||
3008 | linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu) | ||
3009 | cat >conftest.$ac_ext <<_ACEOF | ||
3010 | /* confdefs.h. */ | ||
3011 | @@ -5927,6 +5935,76 @@ | ||
3012 | CTIME_CC=config/locale/generic/time_members.cc | ||
3013 | CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h | ||
3014 | ;; | ||
3015 | + uclibc) | ||
3016 | + echo "$as_me:$LINENO: result: uclibc" >&5 | ||
3017 | +echo "${ECHO_T}uclibc" >&6 | ||
3018 | + | ||
3019 | + # Declare intention to use gettext, and add support for specific | ||
3020 | + # languages. | ||
3021 | + # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT | ||
3022 | + ALL_LINGUAS="de fr" | ||
3023 | + | ||
3024 | + # Don't call AM-GNU-GETTEXT here. Instead, assume glibc. | ||
3025 | + # Extract the first word of "msgfmt", so it can be a program name with args. | ||
3026 | +set dummy msgfmt; ac_word=$2 | ||
3027 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3028 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
3029 | +if test "${ac_cv_prog_check_msgfmt+set}" = set; then | ||
3030 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3031 | +else | ||
3032 | + if test -n "$check_msgfmt"; then | ||
3033 | + ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test. | ||
3034 | +else | ||
3035 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3036 | +for as_dir in $PATH | ||
3037 | +do | ||
3038 | + IFS=$as_save_IFS | ||
3039 | + test -z "$as_dir" && as_dir=. | ||
3040 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
3041 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
3042 | + ac_cv_prog_check_msgfmt="yes" | ||
3043 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3044 | + break 2 | ||
3045 | + fi | ||
3046 | +done | ||
3047 | +done | ||
3048 | + | ||
3049 | + test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no" | ||
3050 | +fi | ||
3051 | +fi | ||
3052 | +check_msgfmt=$ac_cv_prog_check_msgfmt | ||
3053 | +if test -n "$check_msgfmt"; then | ||
3054 | + echo "$as_me:$LINENO: result: $check_msgfmt" >&5 | ||
3055 | +echo "${ECHO_T}$check_msgfmt" >&6 | ||
3056 | +else | ||
3057 | + echo "$as_me:$LINENO: result: no" >&5 | ||
3058 | +echo "${ECHO_T}no" >&6 | ||
3059 | +fi | ||
3060 | + | ||
3061 | + if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then | ||
3062 | + USE_NLS=yes | ||
3063 | + fi | ||
3064 | + # Export the build objects. | ||
3065 | + for ling in $ALL_LINGUAS; do \ | ||
3066 | + glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \ | ||
3067 | + glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \ | ||
3068 | + done | ||
3069 | + | ||
3070 | + | ||
3071 | + | ||
3072 | + CLOCALE_H=config/locale/uclibc/c_locale.h | ||
3073 | + CLOCALE_CC=config/locale/uclibc/c_locale.cc | ||
3074 | + CCODECVT_CC=config/locale/uclibc/codecvt_members.cc | ||
3075 | + CCOLLATE_CC=config/locale/uclibc/collate_members.cc | ||
3076 | + CCTYPE_CC=config/locale/uclibc/ctype_members.cc | ||
3077 | + CMESSAGES_H=config/locale/uclibc/messages_members.h | ||
3078 | + CMESSAGES_CC=config/locale/uclibc/messages_members.cc | ||
3079 | + CMONEY_CC=config/locale/uclibc/monetary_members.cc | ||
3080 | + CNUMERIC_CC=config/locale/uclibc/numeric_members.cc | ||
3081 | + CTIME_H=config/locale/uclibc/time_members.h | ||
3082 | + CTIME_CC=config/locale/uclibc/time_members.cc | ||
3083 | + CLOCALE_INTERNAL_H=config/locale/uclibc/c++locale_internal.h | ||
3084 | + ;; | ||
3085 | esac | ||
3086 | |||
3087 | # This is where the testsuite looks for locale catalogs, using the | ||
3088 | diff -urN gcc-4.0.0-100/libstdc++-v3/configure.host gcc-4.0.0/libstdc++-v3/configure.host | ||
3089 | --- gcc-4.0.0-100/libstdc++-v3/configure.host 2005-04-30 13:06:53.688054472 -0500 | ||
3090 | +++ gcc-4.0.0/libstdc++-v3/configure.host 2005-04-28 20:20:32.000000000 -0500 | ||
3091 | @@ -249,6 +249,12 @@ | ||
3092 | ;; | ||
3093 | esac | ||
3094 | |||
3095 | +# Override for uClibc since linux-uclibc gets mishandled above. | ||
3096 | +case "${host_os}" in | ||
3097 | + *-uclibc*) | ||
3098 | + os_include_dir="os/uclibc" | ||
3099 | + ;; | ||
3100 | +esac | ||
3101 | |||
3102 | # Set any OS-dependent and CPU-dependent bits. | ||
3103 | # THIS TABLE IS SORTED. KEEP IT THAT WAY. | ||
3104 | diff -urN gcc-4.0.0-100/libstdc++-v3/crossconfig.m4 gcc-4.0.0/libstdc++-v3/crossconfig.m4 | ||
3105 | --- gcc-4.0.0-100/libstdc++-v3/crossconfig.m4 2005-04-30 13:06:53.689054320 -0500 | ||
3106 | +++ gcc-4.0.0/libstdc++-v3/crossconfig.m4 2005-04-28 20:27:15.000000000 -0500 | ||
3107 | @@ -142,6 +142,98 @@ | ||
3108 | ;; | ||
3109 | esac | ||
3110 | ;; | ||
3111 | + *-uclibc*) | ||
3112 | +# Temporary hack until we implement the float versions of the libm funcs | ||
3113 | + AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h \ | ||
3114 | + machine/endian.h machine/param.h sys/machine.h sys/types.h \ | ||
3115 | + fp.h float.h endian.h inttypes.h locale.h float.h stdint.h]) | ||
3116 | + SECTION_FLAGS='-ffunction-sections -fdata-sections' | ||
3117 | + AC_SUBST(SECTION_FLAGS) | ||
3118 | + GLIBCXX_CHECK_LINKER_FEATURES | ||
3119 | + GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT | ||
3120 | + GLIBCXX_CHECK_WCHAR_T_SUPPORT | ||
3121 | + | ||
3122 | + # For LFS. | ||
3123 | + AC_DEFINE(HAVE_INT64_T) | ||
3124 | + case "$target" in | ||
3125 | + *-uclinux*) | ||
3126 | + # Don't enable LFS with uClinux | ||
3127 | + ;; | ||
3128 | + *) | ||
3129 | + AC_DEFINE(_GLIBCXX_USE_LFS) | ||
3130 | + esac | ||
3131 | + | ||
3132 | + # For showmanyc_helper(). | ||
3133 | + AC_CHECK_HEADERS(sys/ioctl.h sys/filio.h) | ||
3134 | + GLIBCXX_CHECK_POLL | ||
3135 | + GLIBCXX_CHECK_S_ISREG_OR_S_IFREG | ||
3136 | + | ||
3137 | + # For xsputn_2(). | ||
3138 | + AC_CHECK_HEADERS(sys/uio.h) | ||
3139 | + GLIBCXX_CHECK_WRITEV | ||
3140 | + | ||
3141 | +# AC_DEFINE(HAVE_ACOSF) | ||
3142 | +# AC_DEFINE(HAVE_ASINF) | ||
3143 | +# AC_DEFINE(HAVE_ATANF) | ||
3144 | +# AC_DEFINE(HAVE_ATAN2F) | ||
3145 | + AC_DEFINE(HAVE_CEILF) | ||
3146 | + AC_DEFINE(HAVE_COPYSIGN) | ||
3147 | +# AC_DEFINE(HAVE_COPYSIGNF) | ||
3148 | +# AC_DEFINE(HAVE_COSF) | ||
3149 | +# AC_DEFINE(HAVE_COSHF) | ||
3150 | +# AC_DEFINE(HAVE_EXPF) | ||
3151 | +# AC_DEFINE(HAVE_FABSF) | ||
3152 | + AC_DEFINE(HAVE_FINITE) | ||
3153 | + AC_DEFINE(HAVE_FINITEF) | ||
3154 | + AC_DEFINE(HAVE_FLOORF) | ||
3155 | +# AC_DEFINE(HAVE_FMODF) | ||
3156 | +# AC_DEFINE(HAVE_FREXPF) | ||
3157 | + AC_DEFINE(HAVE_HYPOT) | ||
3158 | +# AC_DEFINE(HAVE_HYPOTF) | ||
3159 | + AC_DEFINE(HAVE_ISINF) | ||
3160 | + AC_DEFINE(HAVE_ISINFF) | ||
3161 | + AC_DEFINE(HAVE_ISNAN) | ||
3162 | + AC_DEFINE(HAVE_ISNANF) | ||
3163 | +# AC_DEFINE(HAVE_LOGF) | ||
3164 | +# AC_DEFINE(HAVE_LOG10F) | ||
3165 | +# AC_DEFINE(HAVE_MODFF) | ||
3166 | +# AC_DEFINE(HAVE_SINF) | ||
3167 | +# AC_DEFINE(HAVE_SINHF) | ||
3168 | +# AC_DEFINE(HAVE_SINCOS) | ||
3169 | +# AC_DEFINE(HAVE_SINCOSF) | ||
3170 | + AC_DEFINE(HAVE_SQRTF) | ||
3171 | +# AC_DEFINE(HAVE_TANF) | ||
3172 | +# AC_DEFINE(HAVE_TANHF) | ||
3173 | + if test x"long_double_math_on_this_cpu" = x"yes"; then | ||
3174 | +# AC_DEFINE(HAVE_ACOSL) | ||
3175 | +# AC_DEFINE(HAVE_ASINL) | ||
3176 | +# AC_DEFINE(HAVE_ATANL) | ||
3177 | +# AC_DEFINE(HAVE_ATAN2L) | ||
3178 | +# AC_DEFINE(HAVE_CEILL) | ||
3179 | +# AC_DEFINE(HAVE_COPYSIGNL) | ||
3180 | +# AC_DEFINE(HAVE_COSL) | ||
3181 | +# AC_DEFINE(HAVE_COSHL) | ||
3182 | +# AC_DEFINE(HAVE_EXPL) | ||
3183 | +# AC_DEFINE(HAVE_FABSL) | ||
3184 | +# AC_DEFINE(HAVE_FINITEL) | ||
3185 | +# AC_DEFINE(HAVE_FLOORL) | ||
3186 | +# AC_DEFINE(HAVE_FMODL) | ||
3187 | +# AC_DEFINE(HAVE_FREXPL) | ||
3188 | +# AC_DEFINE(HAVE_HYPOTL) | ||
3189 | +# AC_DEFINE(HAVE_ISINFL) | ||
3190 | +# AC_DEFINE(HAVE_ISNANL) | ||
3191 | +# AC_DEFINE(HAVE_LOGL) | ||
3192 | +# AC_DEFINE(HAVE_LOG10L) | ||
3193 | +# AC_DEFINE(HAVE_MODFL) | ||
3194 | +# AC_DEFINE(HAVE_POWL) | ||
3195 | +# AC_DEFINE(HAVE_SINL) | ||
3196 | +# AC_DEFINE(HAVE_SINHL) | ||
3197 | +# AC_DEFINE(HAVE_SINCOSL) | ||
3198 | +# AC_DEFINE(HAVE_SQRTL) | ||
3199 | +# AC_DEFINE(HAVE_TANL) | ||
3200 | +# AC_DEFINE(HAVE_TANHL) | ||
3201 | + fi | ||
3202 | + ;; | ||
3203 | *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu) | ||
3204 | AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h \ | ||
3205 | machine/endian.h machine/param.h sys/machine.h sys/types.h \ | ||
3206 | @@ -156,7 +248,7 @@ | ||
3207 | AC_DEFINE(HAVE_INT64_T) | ||
3208 | case "$target" in | ||
3209 | *-uclinux*) | ||
3210 | - # Don't enable LFS with uClibc | ||
3211 | + # Don't enable LFS with uClinux | ||
3212 | ;; | ||
3213 | *) | ||
3214 | AC_DEFINE(_GLIBCXX_USE_LFS) | ||
3215 | diff -urN gcc-4.0.0-100/libstdc++-v3/include/c_compatibility/wchar.h gcc-4.0.0/libstdc++-v3/include/c_compatibility/wchar.h | ||
3216 | --- gcc-4.0.0-100/libstdc++-v3/include/c_compatibility/wchar.h 2005-04-30 13:06:53.690054168 -0500 | ||
3217 | +++ gcc-4.0.0/libstdc++-v3/include/c_compatibility/wchar.h 2005-04-28 20:15:56.000000000 -0500 | ||
3218 | @@ -101,7 +101,9 @@ | ||
3219 | using std::wmemcpy; | ||
3220 | using std::wmemmove; | ||
3221 | using std::wmemset; | ||
3222 | +#if _GLIBCXX_HAVE_WCSFTIME | ||
3223 | using std::wcsftime; | ||
3224 | +#endif | ||
3225 | |||
3226 | #if _GLIBCXX_USE_C99 | ||
3227 | using std::wcstold; | ||
3228 | diff -urN gcc-4.0.0-100/libstdc++-v3/include/c_std/std_cwchar.h gcc-4.0.0/libstdc++-v3/include/c_std/std_cwchar.h | ||
3229 | --- gcc-4.0.0-100/libstdc++-v3/include/c_std/std_cwchar.h 2005-04-30 13:06:53.691054016 -0500 | ||
3230 | +++ gcc-4.0.0/libstdc++-v3/include/c_std/std_cwchar.h 2005-04-28 20:15:56.000000000 -0500 | ||
3231 | @@ -179,7 +179,9 @@ | ||
3232 | using ::wcscoll; | ||
3233 | using ::wcscpy; | ||
3234 | using ::wcscspn; | ||
3235 | +#if _GLIBCXX_HAVE_WCSFTIME | ||
3236 | using ::wcsftime; | ||
3237 | +#endif | ||
3238 | using ::wcslen; | ||
3239 | using ::wcsncat; | ||
3240 | using ::wcsncmp; | ||
diff --git a/openembedded/packages/gcc/gcc-4.0.2/301-missing-execinfo_h.patch b/openembedded/packages/gcc/gcc-4.0.2/301-missing-execinfo_h.patch new file mode 100644 index 0000000000..8867593819 --- /dev/null +++ b/openembedded/packages/gcc/gcc-4.0.2/301-missing-execinfo_h.patch | |||
@@ -0,0 +1,14 @@ | |||
1 | From: | ||
2 | http://buildroot.uclibc.org/cgi-bin/viewcvs.cgi/*checkout*/trunk/buildroot/toolchain/gcc/4.0.2/301-missing-execinfo_h.patch?rev=11715 | ||
3 | |||
4 | --- gcc-4.0.0/boehm-gc/include/gc.h-orig 2005-04-28 22:28:57.000000000 -0500 | ||
5 | +++ gcc-4.0.0/boehm-gc/include/gc.h 2005-04-28 22:30:38.000000000 -0500 | ||
6 | @@ -500,7 +500,7 @@ | ||
7 | #ifdef __linux__ | ||
8 | # include <features.h> | ||
9 | # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ | ||
10 | - && !defined(__ia64__) | ||
11 | + && !defined(__ia64__) && !defined(__UCLIBC__) | ||
12 | # ifndef GC_HAVE_BUILTIN_BACKTRACE | ||
13 | # define GC_HAVE_BUILTIN_BACKTRACE | ||
14 | # endif | ||
diff --git a/openembedded/packages/gcc/gcc-4.0.2/302-c99-snprintf.patch b/openembedded/packages/gcc/gcc-4.0.2/302-c99-snprintf.patch new file mode 100644 index 0000000000..5159a52cd7 --- /dev/null +++ b/openembedded/packages/gcc/gcc-4.0.2/302-c99-snprintf.patch | |||
@@ -0,0 +1,14 @@ | |||
1 | From: | ||
2 | http://buildroot.uclibc.org/cgi-bin/viewcvs.cgi/*checkout*/trunk/buildroot/toolchain/gcc/4.0.2/302-c99-snprintf.patch?rev=11715 | ||
3 | |||
4 | --- gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h-orig 2005-04-29 00:08:41.000000000 -0500 | ||
5 | +++ gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h 2005-04-29 00:08:45.000000000 -0500 | ||
6 | @@ -142,7 +142,7 @@ | ||
7 | using ::vsprintf; | ||
8 | } | ||
9 | |||
10 | -#if _GLIBCXX_USE_C99 | ||
11 | +#if _GLIBCXX_USE_C99 || defined(__UCLIBC__) | ||
12 | |||
13 | #undef snprintf | ||
14 | #undef vfscanf | ||
diff --git a/openembedded/packages/gcc/gcc-4.0.2/303-c99-complex-ugly-hack.patch b/openembedded/packages/gcc/gcc-4.0.2/303-c99-complex-ugly-hack.patch new file mode 100644 index 0000000000..0ba0a89b4f --- /dev/null +++ b/openembedded/packages/gcc/gcc-4.0.2/303-c99-complex-ugly-hack.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | From: | ||
2 | http://buildroot.uclibc.org/cgi-bin/viewcvs.cgi/*checkout*/trunk/buildroot/toolchain/gcc/4.0.2/303-c99-complex-ugly-hack.patch?rev=11715 | ||
3 | |||
4 | --- gcc-4.0.0/libstdc++-v3/configure-old 2005-04-30 22:04:48.061603912 -0500 | ||
5 | +++ gcc-4.0.0/libstdc++-v3/configure 2005-04-30 22:06:13.678588152 -0500 | ||
6 | @@ -7194,6 +7194,9 @@ | ||
7 | cat >>conftest.$ac_ext <<_ACEOF | ||
8 | /* end confdefs.h. */ | ||
9 | #include <complex.h> | ||
10 | +#ifdef __UCLIBC__ | ||
11 | +#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs | ||
12 | +#endif | ||
13 | int | ||
14 | main () | ||
15 | { | ||
diff --git a/openembedded/packages/gcc/gcc-4.0.2/800-arm-bigendian.patch b/openembedded/packages/gcc/gcc-4.0.2/800-arm-bigendian.patch new file mode 100644 index 0000000000..e5fc413485 --- /dev/null +++ b/openembedded/packages/gcc/gcc-4.0.2/800-arm-bigendian.patch | |||
@@ -0,0 +1,70 @@ | |||
1 | From: | ||
2 | http://buildroot.uclibc.org/cgi-bin/viewcvs.cgi/trunk/buildroot/toolchain/gcc/4.0.2/800-arm-bigendian.patch?rev=14828&view=markup | ||
3 | |||
4 | By Lennert Buytenhek <buytenh@wantstofly.org> | ||
5 | Adds support for arm*b-linux* big-endian ARM targets | ||
6 | |||
7 | See http://gcc.gnu.org/PR16350 | ||
8 | |||
9 | --- gcc-4.0.3/gcc/config/arm/linux-elf.h | ||
10 | +++ gcc-4.0.3/gcc/config/arm/linux-elf.h | ||
11 | @@ -31,19 +31,33 @@ | ||
12 | /* Do not assume anything about header files. */ | ||
13 | #define NO_IMPLICIT_EXTERN_C | ||
14 | |||
15 | +/* | ||
16 | + * 'config.gcc' defines TARGET_BIG_ENDIAN_DEFAULT as 1 for arm*b-* | ||
17 | + * (big endian) configurations. | ||
18 | + */ | ||
19 | +#if TARGET_BIG_ENDIAN_DEFAULT | ||
20 | +#define TARGET_ENDIAN_DEFAULT ARM_FLAG_BIG_END | ||
21 | +#define TARGET_ENDIAN_OPTION "mbig-endian" | ||
22 | +#define TARGET_LINKER_EMULATION "armelfb_linux" | ||
23 | +#else | ||
24 | +#define TARGET_ENDIAN_DEFAULT 0 | ||
25 | +#define TARGET_ENDIAN_OPTION "mlittle-endian" | ||
26 | +#define TARGET_LINKER_EMULATION "armelf_linux" | ||
27 | +#endif | ||
28 | + | ||
29 | #undef TARGET_DEFAULT_FLOAT_ABI | ||
30 | #define TARGET_DEFAULT_FLOAT_ABI ARM_FLOAT_ABI_HARD | ||
31 | |||
32 | #undef TARGET_DEFAULT | ||
33 | -#define TARGET_DEFAULT (0) | ||
34 | +#define TARGET_DEFAULT (TARGET_ENDIAN_DEFAULT) | ||
35 | |||
36 | #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm6 | ||
37 | |||
38 | -#define SUBTARGET_EXTRA_LINK_SPEC " -m armelf_linux -p" | ||
39 | +#define SUBTARGET_EXTRA_LINK_SPEC " -m " TARGET_LINKER_EMULATION " -p" | ||
40 | |||
41 | #undef MULTILIB_DEFAULTS | ||
42 | #define MULTILIB_DEFAULTS \ | ||
43 | - { "marm", "mlittle-endian", "mhard-float", "mno-thumb-interwork" } | ||
44 | + { "marm", TARGET_ENDIAN_OPTION, "mhard-float", "mno-thumb-interwork" } | ||
45 | |||
46 | /* The GNU C++ standard library requires that these macros be defined. */ | ||
47 | #undef CPLUSPLUS_CPP_SPEC | ||
48 | @@ -90,7 +104,7 @@ | ||
49 | %{rdynamic:-export-dynamic} \ | ||
50 | %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2} \ | ||
51 | -X \ | ||
52 | - %{mbig-endian:-EB}" \ | ||
53 | + %{mbig-endian:-EB} %{mlittle-endian:-EL}" \ | ||
54 | SUBTARGET_EXTRA_LINK_SPEC | ||
55 | |||
56 | #define TARGET_OS_CPP_BUILTINS() \ | ||
57 | --- gcc-4.0.3/gcc/config.gcc | ||
58 | +++ gcc-4.0.3/gcc/config.gcc | ||
59 | @@ -672,6 +672,11 @@ | ||
60 | ;; | ||
61 | arm*-*-linux*) # ARM GNU/Linux with ELF | ||
62 | tm_file="dbxelf.h elfos.h linux.h arm/elf.h arm/linux-gas.h arm/linux-elf.h arm/aout.h arm/arm.h" | ||
63 | + case $target in | ||
64 | + arm*b-*) | ||
65 | + tm_defines="TARGET_BIG_ENDIAN_DEFAULT=1 $tm_defines" | ||
66 | + ;; | ||
67 | + esac | ||
68 | tmake_file="${tmake_file} arm/t-arm arm/t-linux" | ||
69 | extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" | ||
70 | gnu_ld=yes | ||
diff --git a/openembedded/packages/gcc/gcc-4.0.2/zecke-host-cpp-ac-hack.patch b/openembedded/packages/gcc/gcc-4.0.2/zecke-host-cpp-ac-hack.patch new file mode 100644 index 0000000000..3f26dce71f --- /dev/null +++ b/openembedded/packages/gcc/gcc-4.0.2/zecke-host-cpp-ac-hack.patch | |||
@@ -0,0 +1,140 @@ | |||
1 | gcc (AC_CHECK_HEADERS) is using $CPP to check if the header pass | ||
2 | the precompiler, if compiling with $CC failed. | ||
3 | Sadly $CC is xgcc of gcc, and $CPP is 'gcc -E'. And as you build | ||
4 | on a glibc machine, precompiling of the headers (execinfo.h and | ||
5 | iconv.h will succeed). As a dirty hack we will handle this case | ||
6 | as failure. | ||
7 | This fixes the libmudflap build for uclibc which lacks execinfo.h | ||
8 | but has HAVE_EXECINFO_H defined | ||
9 | |||
10 | Index: gcc-4.0.2/libmudflap/configure | ||
11 | =================================================================== | ||
12 | --- gcc-4.0.2.orig/libmudflap/configure 2006-04-30 16:57:47.000000000 +0200 | ||
13 | +++ gcc-4.0.2/libmudflap/configure 2006-04-30 17:00:59.000000000 +0200 | ||
14 | @@ -3719,6 +3719,8 @@ | ||
15 | ac_header_preproc=yes | ||
16 | ;; | ||
17 | no:yes:* ) | ||
18 | + # hack, hack, hack | ||
19 | + ac_header_preproc=no | ||
20 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
21 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
22 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
23 | @@ -3731,6 +3733,8 @@ | ||
24 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
25 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
26 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
27 | + { echo "$as_me:$LINENO: WARNING: $ac_header: Zecke says do not trust the wrong cpp! Ignoring." >&5 | ||
28 | +echo "$as_me: WARNING: $ac_header: Zecke says do not trust the wrong cpp! Ignoring." >&2;} | ||
29 | ( | ||
30 | cat <<\_ASBOX | ||
31 | ## ------------------------------------- ## | ||
32 | Index: gcc-4.0.2/libstdc++-v3/configure | ||
33 | =================================================================== | ||
34 | --- gcc-4.0.2.orig/libstdc++-v3/configure 2006-04-30 16:57:53.000000000 +0200 | ||
35 | +++ gcc-4.0.2/libstdc++-v3/configure 2006-04-30 22:59:00.000000000 +0200 | ||
36 | @@ -30513,6 +30513,7 @@ | ||
37 | ac_header_preproc=yes | ||
38 | ;; | ||
39 | no:yes:* ) | ||
40 | + ac_header_preproc=no | ||
41 | { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5 | ||
42 | echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;} | ||
43 | { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5 | ||
44 | @@ -30525,6 +30526,8 @@ | ||
45 | echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;} | ||
46 | { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5 | ||
47 | echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;} | ||
48 | + { echo "$as_me:$LINENO: WARNING: $ac_header: Zecke says do not trust the wrong cpp! Ignoring." >&5 | ||
49 | +echo "$as_me: WARNING: $ac_header: Zecke says do not trust the wrong cpp! Ignoring." >&2;} | ||
50 | ( | ||
51 | cat <<\_ASBOX | ||
52 | ## ----------------------------------------- ## | ||
53 | @@ -53622,6 +53625,7 @@ | ||
54 | ac_header_preproc=yes | ||
55 | ;; | ||
56 | no:yes:* ) | ||
57 | + ac_header_preproc=no | ||
58 | { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5 | ||
59 | echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;} | ||
60 | { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5 | ||
61 | @@ -75885,6 +75889,7 @@ | ||
62 | ac_header_preproc=yes | ||
63 | ;; | ||
64 | no:yes:* ) | ||
65 | + ac_header_preproc=no | ||
66 | { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5 | ||
67 | echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;} | ||
68 | { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5 | ||
69 | @@ -78600,6 +78605,7 @@ | ||
70 | ac_header_preproc=yes | ||
71 | ;; | ||
72 | no:yes:* ) | ||
73 | + ac_header_preproc=no | ||
74 | { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5 | ||
75 | echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;} | ||
76 | { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5 | ||
77 | @@ -80969,6 +80975,7 @@ | ||
78 | ac_header_preproc=yes | ||
79 | ;; | ||
80 | no:yes:* ) | ||
81 | + ac_header_preproc=no | ||
82 | { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5 | ||
83 | echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;} | ||
84 | { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5 | ||
85 | @@ -83214,6 +83221,7 @@ | ||
86 | ac_header_preproc=yes | ||
87 | ;; | ||
88 | no:yes:* ) | ||
89 | + ac_header_preproc=no | ||
90 | { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5 | ||
91 | echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;} | ||
92 | { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5 | ||
93 | @@ -86227,6 +86235,7 @@ | ||
94 | ac_header_preproc=yes | ||
95 | ;; | ||
96 | no:yes:* ) | ||
97 | + ac_header_preproc=no | ||
98 | { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5 | ||
99 | echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;} | ||
100 | { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5 | ||
101 | @@ -88425,6 +88434,7 @@ | ||
102 | ac_header_preproc=yes | ||
103 | ;; | ||
104 | no:yes:* ) | ||
105 | + ac_header_preproc=no | ||
106 | { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5 | ||
107 | echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;} | ||
108 | { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5 | ||
109 | @@ -90672,6 +90682,7 @@ | ||
110 | ac_header_preproc=yes | ||
111 | ;; | ||
112 | no:yes:* ) | ||
113 | + ac_header_preproc=no | ||
114 | { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5 | ||
115 | echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;} | ||
116 | { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5 | ||
117 | @@ -93280,6 +93291,7 @@ | ||
118 | ac_header_preproc=yes | ||
119 | ;; | ||
120 | no:yes:* ) | ||
121 | + ac_header_preproc=no | ||
122 | { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5 | ||
123 | echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;} | ||
124 | { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5 | ||
125 | @@ -94996,6 +95008,7 @@ | ||
126 | ac_header_preproc=yes | ||
127 | ;; | ||
128 | no:yes:* ) | ||
129 | + ac_header_preproc=no | ||
130 | { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5 | ||
131 | echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;} | ||
132 | { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5 | ||
133 | @@ -97337,6 +97350,7 @@ | ||
134 | ac_header_preproc=yes | ||
135 | ;; | ||
136 | no:yes:* ) | ||
137 | + ac_header_preproc=no | ||
138 | { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5 | ||
139 | echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;} | ||
140 | { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5 | ||
diff --git a/openembedded/packages/gcc/gcc-package.inc b/openembedded/packages/gcc/gcc-package.inc index b31a209b34..4dcc72e879 100644 --- a/openembedded/packages/gcc/gcc-package.inc +++ b/openembedded/packages/gcc/gcc-package.inc | |||
@@ -67,7 +67,7 @@ do_install () { | |||
67 | rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools | 67 | rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools |
68 | 68 | ||
69 | # Hack around specs file assumptions | 69 | # Hack around specs file assumptions |
70 | sed -i -e '/^*cross_compile:$/ { n; s/1/0/; }' ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs | 70 | sed -i -e '/^*cross_compile:$/ { n; s/1/0/; }' ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs &>/dev/null || true |
71 | 71 | ||
72 | # Move libgcc_s into /lib | 72 | # Move libgcc_s into /lib |
73 | mkdir -p ${D}${base_libdir} | 73 | mkdir -p ${D}${base_libdir} |
@@ -79,7 +79,8 @@ do_install () { | |||
79 | ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/libgcc_s.so | 79 | ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/libgcc_s.so |
80 | 80 | ||
81 | # We don't need libtool libraries | 81 | # We don't need libtool libraries |
82 | rm ${D}${libdir}/libg2c.la | 82 | rm ${D}${libdir}/libg2c.la &>/dev/null || true |
83 | |||
83 | 84 | ||
84 | # Cleanup manpages.. | 85 | # Cleanup manpages.. |
85 | rm -r ${D}${mandir}/man7 | 86 | rm -r ${D}${mandir}/man7 |
diff --git a/openembedded/packages/gdbm/gdbm-1.8.3/libtool-mode.patch b/openembedded/packages/gdbm/gdbm-1.8.3/libtool-mode.patch new file mode 100644 index 0000000000..c56bac2ca9 --- /dev/null +++ b/openembedded/packages/gdbm/gdbm-1.8.3/libtool-mode.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | --- gdbm-1.8.3/Makefile.in.orig 2006-02-16 15:17:25.000000000 +0000 | ||
2 | +++ gdbm-1.8.3/Makefile.in 2006-02-16 15:18:08.000000000 +0000 | ||
3 | @@ -131,7 +131,7 @@ | ||
4 | $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \ | ||
5 | $(DESTDIR)$(includedir) $(DESTDIR)$(man3dir) \ | ||
6 | $(DESTDIR)$(infodir) | ||
7 | - $(LIBTOOL) $(INSTALL) -c libgdbm.la $(DESTDIR)$(libdir)/libgdbm.la | ||
8 | + $(LIBTOOL) --mode=install $(INSTALL) -c libgdbm.la $(DESTDIR)$(libdir)/libgdbm.la | ||
9 | $(INSTALL_DATA) gdbm.h \ | ||
10 | $(DESTDIR)$(includedir)/gdbm.h | ||
11 | $(INSTALL_DATA) $(srcdir)/gdbm.3 \ | ||
12 | @@ -142,7 +142,7 @@ | ||
13 | install-compat: | ||
14 | $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \ | ||
15 | $(DESTDIR)$(includedir) | ||
16 | - $(LIBTOOL) $(INSTALL) -c libgdbm_compat.la \ | ||
17 | + $(LIBTOOL) --mode=install $(INSTALL) -c libgdbm_compat.la \ | ||
18 | $(DESTDIR)$(libdir)/libgdbm_compat.la | ||
19 | $(INSTALL_DATA) $(srcdir)/dbm.h \ | ||
20 | $(DESTDIR)$(includedir)/dbm.h | ||
diff --git a/openembedded/packages/gdbm/gdbm_1.8.3.bb b/openembedded/packages/gdbm/gdbm_1.8.3.bb index 7429f41679..ecef5fc414 100644 --- a/openembedded/packages/gdbm/gdbm_1.8.3.bb +++ b/openembedded/packages/gdbm/gdbm_1.8.3.bb | |||
@@ -6,7 +6,8 @@ LICENSE = "GPL" | |||
6 | PR = "r2" | 6 | PR = "r2" |
7 | 7 | ||
8 | SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \ | 8 | SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \ |
9 | file://makefile.patch;patch=1" | 9 | file://makefile.patch;patch=1 \ |
10 | file://libtool-mode.patch;patch=1" | ||
10 | 11 | ||
11 | inherit autotools | 12 | inherit autotools |
12 | 13 | ||
diff --git a/openembedded/packages/glibc/files/5090_all_stubs-rule-fix.patch b/openembedded/packages/glibc/files/5090_all_stubs-rule-fix.patch new file mode 100644 index 0000000000..c445a5296e --- /dev/null +++ b/openembedded/packages/glibc/files/5090_all_stubs-rule-fix.patch | |||
@@ -0,0 +1,39 @@ | |||
1 | Index: Makerules | ||
2 | =================================================================== | ||
3 | RCS file: /cvs/glibc/libc/Makerules,v | ||
4 | retrieving revision 1.430 | ||
5 | diff -u -r1.430 Makerules | ||
6 | --- libc/Makerules 5 Mar 2005 19:24:32 -0000 1.430 | ||
7 | +++ libc/Makerules 22 Apr 2005 18:31:27 -0000 | ||
8 | @@ -1390,15 +1390,26 @@ | ||
9 | $(addprefix $(objpfx),$(extra-objs)) | ||
10 | $(objpfx)stubs: $(objs-for-stubs) | ||
11 | ifneq (,$(strip $(objs-for-stubs))) | ||
12 | - $(OBJDUMP) -h $^ | \ | ||
13 | - $(AWK) '/\.gnu\.glibc-stub\./ { \ | ||
14 | - sub(/\.gnu\.glibc-stub\./, "", $$2); \ | ||
15 | - stubs[$$2] = 1; } \ | ||
16 | - END { for (s in stubs) print "#define __stub_" s }' > $@T | ||
17 | + $(stub-obj-list) | ||
18 | + cat $@L | xargs \ | ||
19 | + $(OBJDUMP) -h | \ | ||
20 | + $(AWK) '/\.gnu\.glibc-stub\./ { \ | ||
21 | + sub(/\.gnu\.glibc-stub\./, "", $$2); \ | ||
22 | + stubs[$$2] = 1; } \ | ||
23 | + END { for (s in stubs) print "#define __stub_" s }' \ | ||
24 | + > $@T | ||
25 | + -rm -f $@L | ||
26 | mv -f $@T $@ | ||
27 | else | ||
28 | > $@ | ||
29 | endif | ||
30 | + | ||
31 | +define stub-obj-list | ||
32 | +-@rm -f $@L | ||
33 | +-@echo "Generating stub obj list..." | ||
34 | +$(foreach file,$^, | ||
35 | +@echo >> $@L '$(file)') | ||
36 | +endef | ||
37 | |||
38 | # This information is not used for making distributions any more. | ||
39 | # But it's used by MakeTAGS for making TAGS files and the .pot files. | ||
diff --git a/openembedded/packages/glibc/files/etc/ld.so.conf b/openembedded/packages/glibc/files/etc/ld.so.conf index 3f9b41aabb..fb1aab516d 100644 --- a/openembedded/packages/glibc/files/etc/ld.so.conf +++ b/openembedded/packages/glibc/files/etc/ld.so.conf | |||
@@ -1,3 +1,3 @@ | |||
1 | /usr/local/lib | 1 | /usr/local/lib |
2 | /opt/QtPalmtop/lib | 2 | /opt/QtPalmtop/lib |
3 | 3 | /usr/X11R6/lib | |
diff --git a/openembedded/packages/glibc/glibc_2.3.5+cvs20050627.bb b/openembedded/packages/glibc/glibc_2.3.5+cvs20050627.bb index d1925902e4..c8f1d56841 100644 --- a/openembedded/packages/glibc/glibc_2.3.5+cvs20050627.bb +++ b/openembedded/packages/glibc/glibc_2.3.5+cvs20050627.bb | |||
@@ -53,6 +53,7 @@ SRC_URI = "http://familiar.handhelds.org/source/v0.8.3/stash_libc_sources.redhat | |||
53 | file://fhs-linux-paths.patch;patch=1 \ | 53 | file://fhs-linux-paths.patch;patch=1 \ |
54 | file://dl-cache-libcmp.patch;patch=1 \ | 54 | file://dl-cache-libcmp.patch;patch=1 \ |
55 | file://ldsocache-varrun.patch;patch=1 \ | 55 | file://ldsocache-varrun.patch;patch=1 \ |
56 | file://5090_all_stubs-rule-fix.patch;patch=1 \ | ||
56 | file://etc/ld.so.conf \ | 57 | file://etc/ld.so.conf \ |
57 | file://generate-supported.mk" | 58 | file://generate-supported.mk" |
58 | 59 | ||
diff --git a/openembedded/packages/gnome/gconf-dbus_svn.bb b/openembedded/packages/gnome/gconf-dbus_svn.bb index 28abec2763..1b843f2222 100644 --- a/openembedded/packages/gnome/gconf-dbus_svn.bb +++ b/openembedded/packages/gnome/gconf-dbus_svn.bb | |||
@@ -7,7 +7,7 @@ PROVIDES = "gconf" | |||
7 | RPROVIDES_${PN} = "gconf" | 7 | RPROVIDES_${PN} = "gconf" |
8 | RPROVIDES_${PN}-dev = "gconf-dev" | 8 | RPROVIDES_${PN}-dev = "gconf-dev" |
9 | 9 | ||
10 | PV = "0.0+svn${SRCDATE}" | 10 | PV = "2.10.0+svn${SRCDATE}" |
11 | PR = "r1" | 11 | PR = "r1" |
12 | 12 | ||
13 | SRC_URI = "svn://developer.imendio.com/svn/gconf-dbus;module=trunk;proto=http \ | 13 | SRC_URI = "svn://developer.imendio.com/svn/gconf-dbus;module=trunk;proto=http \ |
diff --git a/openembedded/packages/gtk+/gtk+_2.8.16.bb b/openembedded/packages/gtk+/gtk+_2.8.16.bb index acd3be5f27..93710dd18b 100644 --- a/openembedded/packages/gtk+/gtk+_2.8.16.bb +++ b/openembedded/packages/gtk+/gtk+_2.8.16.bb | |||
@@ -15,13 +15,13 @@ SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.8/gtk+-${PV}.tar.bz2 \ | |||
15 | file://hardcoded_libtool.patch;patch=1 \ | 15 | file://hardcoded_libtool.patch;patch=1 \ |
16 | file://disable-tooltips.patch;patch=1 \ | 16 | file://disable-tooltips.patch;patch=1 \ |
17 | file://gtklabel-resize-patch;patch=1 \ | 17 | file://gtklabel-resize-patch;patch=1 \ |
18 | file://gtktreeview-316689.patch;patch=1" | 18 | file://gtktreeview-316689.patch;patch=1 \ |
19 | # file://menu-deactivate.patch;patch=1 \ | 19 | # file://menu-deactivate.patch;patch=1 \ |
20 | # file://xsettings.patch;patch=1 \ | 20 | # file://xsettings.patch;patch=1 \ |
21 | # file://scroll-timings.patch;patch=1 \ | 21 | # file://scroll-timings.patch;patch=1 \ |
22 | # file://small-gtkfilesel.patch;patch=1 \ | 22 | # file://small-gtkfilesel.patch;patch=1 \ |
23 | # file://migration.patch;patch=1;pnum=0 \ | 23 | # file://migration.patch;patch=1;pnum=0 \ |
24 | # file://no-demos.patch;patch=1 \ | 24 | file://no-demos.patch;patch=1" |
25 | # file://gtk+-handhelds.patch;patch=1 \ | 25 | # file://gtk+-handhelds.patch;patch=1 \ |
26 | # file://single-click.patch;patch=1" | 26 | # file://single-click.patch;patch=1" |
27 | 27 | ||
diff --git a/openembedded/packages/hostap/files/hostap_cs.conf b/openembedded/packages/hostap/files/hostap_cs.conf index c5f46d8e71..abf9c7a247 100644 --- a/openembedded/packages/hostap/files/hostap_cs.conf +++ b/openembedded/packages/hostap/files/hostap_cs.conf | |||
@@ -1,9 +1,5 @@ | |||
1 | module "hostap_cs" opts "channel=3 iw_mode=2 essid=any ignore_cis_vcc=1" | 1 | module "hostap_cs" opts "channel=3 iw_mode=2 essid=any ignore_cis_vcc=1" |
2 | 2 | ||
3 | card "3Com AirConnect" | ||
4 | version "3Com", "3CRWE737A AirConnect Wireless LAN PC Card" | ||
5 | bind "hostap_cs" | ||
6 | |||
7 | card "Actiontec 802CI2" | 3 | card "Actiontec 802CI2" |
8 | manfid 0x1668, 0x0101 | 4 | manfid 0x1668, 0x0101 |
9 | bind "hostap_cs" | 5 | bind "hostap_cs" |
@@ -59,10 +55,6 @@ card "HyperLink Wireless PC Card 11Mbps" | |||
59 | # manfid 0x0156, 0x0002 | 55 | # manfid 0x0156, 0x0002 |
60 | # bind "hostap_cs" | 56 | # bind "hostap_cs" |
61 | 57 | ||
62 | card "Intel PRO/Wireless 2011" | ||
63 | manfid 0x0089, 0x0001 | ||
64 | bind "hostap_cs" | ||
65 | |||
66 | card "LA4111 Spectrum24 Wireless LAN PC Card" | 58 | card "LA4111 Spectrum24 Wireless LAN PC Card" |
67 | version "Symbol Technologies" | 59 | version "Symbol Technologies" |
68 | bind "hostap_cs" | 60 | bind "hostap_cs" |
@@ -84,28 +76,8 @@ card "Linksys WLAN CF Card" | |||
84 | manfid 0x0274, 0x3301 | 76 | manfid 0x0274, 0x3301 |
85 | bind "hostap_cs" | 77 | bind "hostap_cs" |
86 | 78 | ||
87 | card "MELCO WLI-PCM-L11" | ||
88 | version "MELCO", "WLI-PCM-L11" | ||
89 | bind "hostap_cs" | ||
90 | |||
91 | card "MELCO WLI-PCM-L11G" | ||
92 | version "MELCO", "WLI-PCM-L11G" | ||
93 | bind "hostap_cs" | ||
94 | |||
95 | card "MELCO WLI-PCM-L11G" | ||
96 | version "BUFFALO", "WLI-PCM-L11G" | ||
97 | bind "hostap_cs" | ||
98 | |||
99 | card "Buffalo WLI2-CF-S11" | ||
100 | version "BUFFALO", "WLI2-CF-S11" | ||
101 | bind "hostap_cs" | ||
102 | |||
103 | card "NETGEAR MA701 Wireless CF Card" | 79 | card "NETGEAR MA701 Wireless CF Card" |
104 | manfid 0xd601, 0x0002 | 80 | manfid 0xd601, 0x0002 |
105 | bind "hostap_cs" | ||
106 | |||
107 | card "NCR WaveLAN/IEEE Adapter" | ||
108 | version "NCR", "WaveLAN/IEEE" | ||
109 | bind "hostap_cs" | 81 | bind "hostap_cs" |
110 | 82 | ||
111 | card "Nortel Networks eMobility 802.11 Wireless Adapter" | 83 | card "Nortel Networks eMobility 802.11 Wireless Adapter" |
@@ -177,9 +149,37 @@ card "Wireless LAN Adapter Version 01.02" | |||
177 | bind "hostap_cs" | 149 | bind "hostap_cs" |
178 | 150 | ||
179 | card "Ambicom WL1100C 11Mbs Card 802.11b" | 151 | card "Ambicom WL1100C 11Mbs Card 802.11b" |
152 | version "AmbiCom", "WL1100C 802.11b CF-Card", "2.2" | ||
153 | manfid 0xd601,0x0002 | ||
154 | bind "hostap_cs" | ||
155 | |||
156 | card "Ambicom WL1100C 11Mbs Card 802.11b" | ||
180 | manfid 0xd601,0x0002 | 157 | manfid 0xd601,0x0002 |
181 | bind "hostap_cs" | 158 | bind "hostap_cs" |
182 | 159 | ||
183 | card "Sandisk Connect SDWCFB-000" | 160 | card "Sandisk Connect SDWCFB-000" |
184 | manfid 0xd601,0x0005 | 161 | manfid 0xd601,0x0005 |
185 | bind "hostap_cs" | 162 | bind "hostap_cs" |
163 | |||
164 | # Cards with Intersil firmware (Prism chipset) | ||
165 | |||
166 | card "Linksys WPC11 11Mbps 802.11b WLAN Card" | ||
167 | version "The Linksys Group, Inc.", "Instant Wireless Network PC Card", "ISL37300P", "RevA" | ||
168 | bind "hostap_cs" | ||
169 | |||
170 | card "Linksys CompactFlash Wireless Card" | ||
171 | version "Linksys", "Wireless CompactFlash Card" | ||
172 | bind "hostap_cs" | ||
173 | |||
174 | card "ACTIONTEC PRISM Wireless LAN PC Card" | ||
175 | version "ACTIONTEC", "PRISM Wireless LAN PC Card" | ||
176 | bind "hostap_cs" | ||
177 | |||
178 | card "Linksys WPC11 Version 3" | ||
179 | manfid 0x0274,0x1613 | ||
180 | bind "hostap_cs" | ||
181 | |||
182 | card "BENQ AWL100" | ||
183 | version "BENQ", "AWL100 PCMCIA ADAPTER" | ||
184 | bind "hostap_cs" | ||
185 | |||
diff --git a/openembedded/packages/hostap/hostap-conf_1.0.bb b/openembedded/packages/hostap/hostap-conf_1.0.bb index 6c9cb09e60..094722c845 100644 --- a/openembedded/packages/hostap/hostap-conf_1.0.bb +++ b/openembedded/packages/hostap/hostap-conf_1.0.bb | |||
@@ -1,9 +1,10 @@ | |||
1 | DESCRIPTION = "PCMCIA-cs configuration files for wireless LAN cards based on Intersil's Prism2/2.5/3 chipset" | 1 | DESCRIPTION = "PCMCIA-cs configuration files for wireless LAN cards based on Intersil's Prism2/2.5/3 chipset" |
2 | MAINTAINER = "Marcin Juszkiewicz <openembedded@hrw.one.pl>" | ||
2 | SECTION = "kernel/modules" | 3 | SECTION = "kernel/modules" |
3 | PRIORITY = "optional" | 4 | PRIORITY = "optional" |
4 | LICENSE = "GPL" | 5 | LICENSE = "GPL" |
5 | PACKAGE_ARCH = "all" | 6 | PACKAGE_ARCH = "all" |
6 | PR = "r0" | 7 | PR = "r4" |
7 | 8 | ||
8 | SRC_URI = "file://hostap_cs.conf \ | 9 | SRC_URI = "file://hostap_cs.conf \ |
9 | file://hostap_cs.conf-upstream" | 10 | file://hostap_cs.conf-upstream" |
diff --git a/openembedded/packages/initscripts/initscripts-1.0/collie/keymap-2.6.map b/openembedded/packages/initscripts/initscripts-1.0/collie/keymap-2.6.map deleted file mode 100644 index 285b597c99..0000000000 --- a/openembedded/packages/initscripts/initscripts-1.0/collie/keymap-2.6.map +++ /dev/null | |||
@@ -1,393 +0,0 @@ | |||
1 | # Default kernel keymap. This uses 7 modifier combinations. | ||
2 | keymaps 0-2,4-5,8,12 | ||
3 | # Change the above line into | ||
4 | # keymaps 0-2,4-6,8,12 | ||
5 | # in case you want the entries | ||
6 | # altgr control keycode 83 = Boot | ||
7 | # altgr control keycode 111 = Boot | ||
8 | # below. | ||
9 | # | ||
10 | # In fact AltGr is used very little, and one more keymap can | ||
11 | # be saved by mapping AltGr to Alt (and adapting a few entries): | ||
12 | # keycode 100 = Alt | ||
13 | # | ||
14 | # Note: | ||
15 | # The way in which the modifiers are handled are quite different | ||
16 | # than how they were handled in the 2.4.6-rmk1-np2-embedix kernel. | ||
17 | # | ||
18 | # Here, we simply pass up Fn as Control, and the german accent key | ||
19 | # as Altgr, and simply use a proper keymap. Said keymap is as | ||
20 | # follows. | ||
21 | # keymaps 0-2,4-5,8,12,20 | ||
22 | keycode 1 = Escape Escape | ||
23 | alt keycode 1 = Meta_Escape | ||
24 | keycode 2 = one exclam | ||
25 | alt keycode 2 = Meta_one | ||
26 | keycode 3 = two at at | ||
27 | control keycode 3 = nul | ||
28 | shift control keycode 3 = nul | ||
29 | alt keycode 3 = Meta_two | ||
30 | keycode 4 = three numbersign | ||
31 | control keycode 4 = Escape | ||
32 | alt keycode 4 = Meta_three | ||
33 | keycode 5 = four dollar dollar | ||
34 | control keycode 5 = Control_backslash | ||
35 | alt keycode 5 = Meta_four | ||
36 | keycode 6 = five percent | ||
37 | control keycode 6 = Control_bracketright | ||
38 | alt keycode 6 = Meta_five | ||
39 | keycode 7 = six asciicircum | ||
40 | control keycode 7 = Control_asciicircum | ||
41 | alt keycode 7 = Meta_six | ||
42 | keycode 8 = seven ampersand braceleft | ||
43 | control keycode 8 = Control_underscore | ||
44 | alt keycode 8 = Meta_seven | ||
45 | keycode 9 = eight asterisk bracketleft | ||
46 | control keycode 9 = Delete | ||
47 | alt keycode 9 = Meta_eight | ||
48 | keycode 10 = nine parenleft bracketright | ||
49 | alt keycode 10 = Meta_nine | ||
50 | keycode 11 = zero parenright braceright | ||
51 | alt keycode 11 = Meta_zero | ||
52 | keycode 12 = minus underscore backslash | ||
53 | control keycode 12 = Control_underscore | ||
54 | shift control keycode 12 = Control_underscore | ||
55 | alt keycode 12 = Meta_minus | ||
56 | keycode 13 = equal plus | ||
57 | alt keycode 13 = Meta_equal | ||
58 | keycode 14 = Delete Delete | ||
59 | control keycode 14 = BackSpace | ||
60 | alt keycode 14 = Meta_Delete | ||
61 | keycode 14 = BackSpace | ||
62 | shift keycode 14 = BackSpace | ||
63 | control keycode 14 = Delete | ||
64 | shiftl control keycode 14 = bracketleft | ||
65 | control shiftr keycode 14 = bracketleft | ||
66 | keycode 15 = Tab Tab | ||
67 | alt keycode 15 = Meta_Tab | ||
68 | shift keycode 15 = backslash | ||
69 | control keycode 15 = Caps_Lock | ||
70 | shiftl control keycode 15 = Caps_Lock | ||
71 | control shiftr keycode 15 = Caps_Lock | ||
72 | keycode 16 = q | ||
73 | control keycode 16 = one | ||
74 | shiftl control keycode 16 = Control_q | ||
75 | control shiftr keycode 16 = Meta_q | ||
76 | keycode 17 = w | ||
77 | keycode 18 = e | ||
78 | altgr keycode 18 = Hex_E | ||
79 | control keycode 17 = two | ||
80 | shiftl control keycode 17 = Control_w | ||
81 | control shiftr keycode 17 = Meta_w | ||
82 | keycode 18 = e | ||
83 | control keycode 18 = three | ||
84 | shiftl control keycode 18 = Control_e | ||
85 | control shiftr keycode 18 = Meta_e | ||
86 | keycode 19 = r | ||
87 | control keycode 19 = four | ||
88 | shiftr control keycode 19 = Control_r | ||
89 | control shiftl keycode 19 = Meta_r | ||
90 | keycode 20 = t | ||
91 | control keycode 20 = five | ||
92 | shiftl control keycode 20 = Control_t | ||
93 | control shiftr keycode 20 = Meta_t | ||
94 | keycode 21 = y | ||
95 | control keycode 21 = six | ||
96 | shiftl control keycode 21 = Control_y | ||
97 | control shiftr keycode 21 = Meta_y | ||
98 | keycode 22 = u | ||
99 | control keycode 22 = seven | ||
100 | shiftl control keycode 22 = Control_u | ||
101 | control shiftr keycode 22 = Meta_u | ||
102 | keycode 23 = i | ||
103 | control keycode 23 = eight | ||
104 | shiftl control keycode 23 = Control_i | ||
105 | control shiftr keycode 23 = Meta_i | ||
106 | keycode 24 = o | ||
107 | control keycode 24 = nine | ||
108 | shiftl control keycode 24 = Control_o | ||
109 | control shiftr keycode 24 = Meta_o | ||
110 | keycode 25 = p | ||
111 | keycode 26 = bracketleft braceleft | ||
112 | control keycode 26 = Escape | ||
113 | alt keycode 26 = Meta_bracketleft | ||
114 | keycode 27 = bracketright braceright asciitilde | ||
115 | control keycode 27 = Control_bracketright | ||
116 | alt keycode 27 = Meta_bracketright | ||
117 | control keycode 25 = zero | ||
118 | shiftl control keycode 25 = Control_p | ||
119 | control shiftr keycode 25 = Meta_p | ||
120 | keycode 28 = Return | ||
121 | alt keycode 28 = Meta_Control_m | ||
122 | control keycode 28 = greater | ||
123 | shiftl control keycode 28 = braceright | ||
124 | control shiftr keycode 28 = braceright | ||
125 | keycode 29 = Control | ||
126 | keycode 30 = a | ||
127 | altgr keycode 30 = Hex_A | ||
128 | keycode 30 = a | ||
129 | control keycode 30 = exclam | ||
130 | shiftl control keycode 30 = Control_a | ||
131 | control shiftr keycode 30 = Meta_a | ||
132 | keycode 31 = s | ||
133 | keycode 32 = d | ||
134 | altgr keycode 32 = Hex_D | ||
135 | keycode 33 = f | ||
136 | altgr keycode 33 = Hex_F | ||
137 | control keycode 31 = at | ||
138 | shiftl control keycode 31 = Control_s | ||
139 | control shiftr keycode 31 = Meta_s | ||
140 | keycode 32 = d | ||
141 | control keycode 32 = numbersign | ||
142 | shiftl control keycode 32 = Control_d | ||
143 | control shiftr keycode 32 = Meta_d | ||
144 | keycode 33 = f | ||
145 | control keycode 33 = dollar | ||
146 | shiftl control keycode 33 = Control_f | ||
147 | control shiftr keycode 33 = Meta_f | ||
148 | keycode 34 = g | ||
149 | control keycode 34 = percent | ||
150 | shiftl control keycode 34 = Control_g | ||
151 | control shiftr keycode 34 = Meta_g | ||
152 | keycode 35 = h | ||
153 | control keycode 35 = underscore | ||
154 | shiftl control keycode 35 = BackSpace | ||
155 | control shiftr keycode 35 = BackSpace | ||
156 | keycode 36 = j | ||
157 | control keycode 36 = ampersand | ||
158 | shiftl control keycode 36 = Linefeed | ||
159 | control shiftr keycode 36 = Linefeed | ||
160 | keycode 37 = k | ||
161 | control keycode 37 = asterisk | ||
162 | shiftl control keycode 37 = Control_k | ||
163 | control shiftr keycode 37 = Meta_k | ||
164 | keycode 38 = l | ||
165 | keycode 39 = semicolon colon | ||
166 | alt keycode 39 = Meta_semicolon | ||
167 | keycode 40 = apostrophe quotedbl | ||
168 | control keycode 40 = Control_g | ||
169 | alt keycode 40 = Meta_apostrophe | ||
170 | keycode 41 = grave asciitilde | ||
171 | control keycode 41 = nul | ||
172 | alt keycode 41 = Meta_grave | ||
173 | control keycode 38 = parenleft | ||
174 | shiftl control keycode 38 = Control_l | ||
175 | control shiftr keycode 38 = Meta_l | ||
176 | keycode 40 = apostrophe quotedbl | ||
177 | control keycode 40 = asciitilde | ||
178 | shiftl control keycode 40 = asciicircum | ||
179 | control shiftr keycode 40 = asciicircum | ||
180 | keycode 42 = Shift | ||
181 | keycode 43 = backslash bar | ||
182 | control keycode 43 = Control_backslash | ||
183 | alt keycode 43 = Meta_backslash | ||
184 | keycode 44 = z | ||
185 | control keycode 44 = Control_z | ||
186 | shiftl control keycode 44 = Control_z | ||
187 | control shiftr keycode 44 = Meta_z | ||
188 | keycode 45 = x | ||
189 | keycode 46 = c | ||
190 | altgr keycode 46 = Hex_C | ||
191 | control keycode 45 = Control_x | ||
192 | shiftl control keycode 45 = Control_x | ||
193 | control shiftr keycode 45 = Meta_x | ||
194 | keycode 46 = c | ||
195 | control keycode 46 = Control_c | ||
196 | shiftl control keycode 46 = Control_c | ||
197 | control shiftr keycode 46 = Meta_c | ||
198 | keycode 47 = v | ||
199 | keycode 48 = b | ||
200 | altgr keycode 48 = Hex_B | ||
201 | control keycode 47 = Control_v | ||
202 | shiftl control keycode 47 = Control_v | ||
203 | control shiftr keycode 47 = Meta_v | ||
204 | ## current location ## | ||
205 | keycode 48 = b | ||
206 | control keycode 48 = minus | ||
207 | shiftl control keycode 48 = Control_b | ||
208 | control shiftr keycode 48 = Meta_b | ||
209 | keycode 49 = n | ||
210 | control keycode 49 = plus | ||
211 | shiftl control keycode 49 = Control_n | ||
212 | control shiftr keycode 49 = Meta_n | ||
213 | keycode 50 = m | ||
214 | keycode 51 = comma less | ||
215 | alt keycode 51 = Meta_comma | ||
216 | keycode 52 = period greater | ||
217 | control keycode 52 = Compose | ||
218 | alt keycode 52 = Meta_period | ||
219 | keycode 53 = slash question | ||
220 | control keycode 53 = Delete | ||
221 | alt keycode 53 = Meta_slash | ||
222 | control keycode 50 = equal | ||
223 | shiftl control keycode 50 = Control_m | ||
224 | control shiftr keycode 50 = Meta_m | ||
225 | keycode 51 = comma | ||
226 | shift keycode 51 = semicolon | ||
227 | control keycode 51 = parenright | ||
228 | shiftl control keycode 51 = bracketright | ||
229 | control shiftr keycode 51 = bracketright | ||
230 | keycode 52 = period | ||
231 | shift keycode 52 = colon | ||
232 | control keycode 52 = less | ||
233 | shiftl control keycode 52 = braceleft | ||
234 | control shiftr keycode 52 = braceleft | ||
235 | keycode 53 = slash | ||
236 | shift keycode 53 = question | ||
237 | control keycode 53 = Num_Lock | ||
238 | shiftl control keycode 53 = Num_Lock | ||
239 | control shiftr keycode 53 = Num_Lock | ||
240 | keycode 54 = Shift | ||
241 | keycode 55 = KP_Multiply | ||
242 | keycode 56 = Alt | ||
243 | keycode 57 = space space | ||
244 | control keycode 57 = nul | ||
245 | alt keycode 57 = Meta_space | ||
246 | keycode 58 = Caps_Lock | ||
247 | keycode 59 = F1 F11 Console_13 | ||
248 | control keycode 59 = F1 | ||
249 | alt keycode 59 = Console_1 | ||
250 | control alt keycode 59 = Console_1 | ||
251 | keycode 60 = F2 F12 Console_14 | ||
252 | control keycode 60 = F2 | ||
253 | alt keycode 60 = Console_2 | ||
254 | control alt keycode 60 = Console_2 | ||
255 | keycode 61 = F3 F13 Console_15 | ||
256 | control keycode 61 = F3 | ||
257 | alt keycode 61 = Console_3 | ||
258 | control alt keycode 61 = Console_3 | ||
259 | keycode 62 = F4 F14 Console_16 | ||
260 | control keycode 62 = F4 | ||
261 | alt keycode 62 = Console_4 | ||
262 | control alt keycode 62 = Console_4 | ||
263 | keycode 63 = F5 F15 Console_17 | ||
264 | control keycode 63 = F5 | ||
265 | alt keycode 63 = Console_5 | ||
266 | control alt keycode 63 = Console_5 | ||
267 | keycode 64 = F6 F16 Console_18 | ||
268 | control keycode 64 = F6 | ||
269 | alt keycode 64 = Console_6 | ||
270 | control alt keycode 64 = Console_6 | ||
271 | keycode 65 = F7 F17 Console_19 | ||
272 | control keycode 65 = F7 | ||
273 | alt keycode 65 = Console_7 | ||
274 | control alt keycode 65 = Console_7 | ||
275 | keycode 66 = F8 F18 Console_20 | ||
276 | control keycode 66 = F8 | ||
277 | alt keycode 66 = Console_8 | ||
278 | control alt keycode 66 = Console_8 | ||
279 | keycode 67 = F9 F19 Console_21 | ||
280 | control keycode 67 = F9 | ||
281 | alt keycode 67 = Console_9 | ||
282 | control alt keycode 67 = Console_9 | ||
283 | keycode 68 = F10 F20 Console_22 | ||
284 | control keycode 68 = F10 | ||
285 | alt keycode 68 = Console_10 | ||
286 | control alt keycode 68 = Console_10 | ||
287 | keycode 69 = Num_Lock | ||
288 | shift keycode 69 = Bare_Num_Lock | ||
289 | keycode 70 = Scroll_Lock Show_Memory Show_Registers | ||
290 | control keycode 70 = Show_State | ||
291 | alt keycode 70 = Scroll_Lock | ||
292 | keycode 71 = KP_7 | ||
293 | alt keycode 71 = Ascii_7 | ||
294 | altgr keycode 71 = Hex_7 | ||
295 | keycode 72 = KP_8 | ||
296 | alt keycode 72 = Ascii_8 | ||
297 | altgr keycode 72 = Hex_8 | ||
298 | keycode 73 = KP_9 | ||
299 | alt keycode 73 = Ascii_9 | ||
300 | altgr keycode 73 = Hex_9 | ||
301 | keycode 74 = KP_Subtract | ||
302 | keycode 75 = KP_4 | ||
303 | alt keycode 75 = Ascii_4 | ||
304 | altgr keycode 75 = Hex_4 | ||
305 | keycode 76 = KP_5 | ||
306 | alt keycode 76 = Ascii_5 | ||
307 | altgr keycode 76 = Hex_5 | ||
308 | keycode 77 = KP_6 | ||
309 | alt keycode 77 = Ascii_6 | ||
310 | altgr keycode 77 = Hex_6 | ||
311 | keycode 78 = KP_Add | ||
312 | keycode 79 = KP_1 | ||
313 | alt keycode 79 = Ascii_1 | ||
314 | altgr keycode 79 = Hex_1 | ||
315 | keycode 80 = KP_2 | ||
316 | alt keycode 80 = Ascii_2 | ||
317 | altgr keycode 80 = Hex_2 | ||
318 | keycode 81 = KP_3 | ||
319 | alt keycode 81 = Ascii_3 | ||
320 | altgr keycode 81 = Hex_3 | ||
321 | keycode 82 = KP_0 | ||
322 | alt keycode 82 = Ascii_0 | ||
323 | altgr keycode 82 = Hex_0 | ||
324 | keycode 83 = KP_Period | ||
325 | # altgr control keycode 83 = Boot | ||
326 | control alt keycode 83 = Boot | ||
327 | keycode 84 = Last_Console | ||
328 | keycode 85 = | ||
329 | keycode 86 = less greater bar | ||
330 | alt keycode 86 = Meta_less | ||
331 | keycode 87 = F11 F11 Console_23 | ||
332 | control keycode 87 = F11 | ||
333 | alt keycode 87 = Console_11 | ||
334 | control alt keycode 87 = Console_11 | ||
335 | keycode 88 = F12 F12 Console_24 | ||
336 | control keycode 88 = F12 | ||
337 | alt keycode 88 = Console_12 | ||
338 | control alt keycode 88 = Console_12 | ||
339 | keycode 89 = | ||
340 | keycode 90 = | ||
341 | keycode 91 = | ||
342 | keycode 92 = | ||
343 | keycode 93 = | ||
344 | keycode 94 = | ||
345 | keycode 95 = | ||
346 | keycode 96 = KP_Enter | ||
347 | keycode 57 = space | ||
348 | shift keycode 57 = bar | ||
349 | control keycode 57 = nul | ||
350 | shiftl control keycode 57 = grave | ||
351 | control shiftr keycode 57 = grave | ||
352 | keycode 97 = Control | ||
353 | keycode 98 = KP_Divide | ||
354 | keycode 99 = Control_backslash | ||
355 | control keycode 99 = Control_backslash | ||
356 | alt keycode 99 = Control_backslash | ||
357 | keycode 100 = AltGr | ||
358 | keycode 101 = Break | ||
359 | keycode 102 = Find | ||
360 | keycode 103 = Up | ||
361 | keycode 104 = Prior | ||
362 | shift keycode 104 = Scroll_Backward | ||
363 | keycode 105 = Left | ||
364 | alt keycode 105 = Decr_Console | ||
365 | keycode 106 = Right | ||
366 | alt keycode 106 = Incr_Console | ||
367 | keycode 107 = Select | ||
368 | keycode 108 = Down | ||
369 | keycode 109 = Next | ||
370 | shift keycode 109 = Scroll_Forward | ||
371 | keycode 110 = Insert | ||
372 | keycode 111 = Remove | ||
373 | # altgr control keycode 111 = Boot | ||
374 | control alt keycode 111 = Boot | ||
375 | keycode 112 = Macro | ||
376 | keycode 113 = F13 | ||
377 | keycode 114 = F14 | ||
378 | keycode 115 = Help | ||
379 | keycode 116 = Do | ||
380 | keycode 117 = F17 | ||
381 | keycode 118 = KP_MinPlus | ||
382 | keycode 119 = Pause | ||
383 | keycode 120 = | ||
384 | keycode 121 = | ||
385 | keycode 122 = | ||
386 | keycode 123 = | ||
387 | keycode 124 = | ||
388 | keycode 125 = | ||
389 | keycode 126 = | ||
390 | keycode 127 = | ||
391 | string F1 = "\033[[A" | ||
392 | string F2 = "\033[[B" | ||
393 | string F3 = "\033[[C" | ||
diff --git a/openembedded/packages/initscripts/initscripts-1.0/poodle/keymap-2.6.map b/openembedded/packages/initscripts/initscripts-1.0/poodle/keymap-2.6.map deleted file mode 100644 index 285b597c99..0000000000 --- a/openembedded/packages/initscripts/initscripts-1.0/poodle/keymap-2.6.map +++ /dev/null | |||
@@ -1,393 +0,0 @@ | |||
1 | # Default kernel keymap. This uses 7 modifier combinations. | ||
2 | keymaps 0-2,4-5,8,12 | ||
3 | # Change the above line into | ||
4 | # keymaps 0-2,4-6,8,12 | ||
5 | # in case you want the entries | ||
6 | # altgr control keycode 83 = Boot | ||
7 | # altgr control keycode 111 = Boot | ||
8 | # below. | ||
9 | # | ||
10 | # In fact AltGr is used very little, and one more keymap can | ||
11 | # be saved by mapping AltGr to Alt (and adapting a few entries): | ||
12 | # keycode 100 = Alt | ||
13 | # | ||
14 | # Note: | ||
15 | # The way in which the modifiers are handled are quite different | ||
16 | # than how they were handled in the 2.4.6-rmk1-np2-embedix kernel. | ||
17 | # | ||
18 | # Here, we simply pass up Fn as Control, and the german accent key | ||
19 | # as Altgr, and simply use a proper keymap. Said keymap is as | ||
20 | # follows. | ||
21 | # keymaps 0-2,4-5,8,12,20 | ||
22 | keycode 1 = Escape Escape | ||
23 | alt keycode 1 = Meta_Escape | ||
24 | keycode 2 = one exclam | ||
25 | alt keycode 2 = Meta_one | ||
26 | keycode 3 = two at at | ||
27 | control keycode 3 = nul | ||
28 | shift control keycode 3 = nul | ||
29 | alt keycode 3 = Meta_two | ||
30 | keycode 4 = three numbersign | ||
31 | control keycode 4 = Escape | ||
32 | alt keycode 4 = Meta_three | ||
33 | keycode 5 = four dollar dollar | ||
34 | control keycode 5 = Control_backslash | ||
35 | alt keycode 5 = Meta_four | ||
36 | keycode 6 = five percent | ||
37 | control keycode 6 = Control_bracketright | ||
38 | alt keycode 6 = Meta_five | ||
39 | keycode 7 = six asciicircum | ||
40 | control keycode 7 = Control_asciicircum | ||
41 | alt keycode 7 = Meta_six | ||
42 | keycode 8 = seven ampersand braceleft | ||
43 | control keycode 8 = Control_underscore | ||
44 | alt keycode 8 = Meta_seven | ||
45 | keycode 9 = eight asterisk bracketleft | ||
46 | control keycode 9 = Delete | ||
47 | alt keycode 9 = Meta_eight | ||
48 | keycode 10 = nine parenleft bracketright | ||
49 | alt keycode 10 = Meta_nine | ||
50 | keycode 11 = zero parenright braceright | ||
51 | alt keycode 11 = Meta_zero | ||
52 | keycode 12 = minus underscore backslash | ||
53 | control keycode 12 = Control_underscore | ||
54 | shift control keycode 12 = Control_underscore | ||
55 | alt keycode 12 = Meta_minus | ||
56 | keycode 13 = equal plus | ||
57 | alt keycode 13 = Meta_equal | ||
58 | keycode 14 = Delete Delete | ||
59 | control keycode 14 = BackSpace | ||
60 | alt keycode 14 = Meta_Delete | ||
61 | keycode 14 = BackSpace | ||
62 | shift keycode 14 = BackSpace | ||
63 | control keycode 14 = Delete | ||
64 | shiftl control keycode 14 = bracketleft | ||
65 | control shiftr keycode 14 = bracketleft | ||
66 | keycode 15 = Tab Tab | ||
67 | alt keycode 15 = Meta_Tab | ||
68 | shift keycode 15 = backslash | ||
69 | control keycode 15 = Caps_Lock | ||
70 | shiftl control keycode 15 = Caps_Lock | ||
71 | control shiftr keycode 15 = Caps_Lock | ||
72 | keycode 16 = q | ||
73 | control keycode 16 = one | ||
74 | shiftl control keycode 16 = Control_q | ||
75 | control shiftr keycode 16 = Meta_q | ||
76 | keycode 17 = w | ||
77 | keycode 18 = e | ||
78 | altgr keycode 18 = Hex_E | ||
79 | control keycode 17 = two | ||
80 | shiftl control keycode 17 = Control_w | ||
81 | control shiftr keycode 17 = Meta_w | ||
82 | keycode 18 = e | ||
83 | control keycode 18 = three | ||
84 | shiftl control keycode 18 = Control_e | ||
85 | control shiftr keycode 18 = Meta_e | ||
86 | keycode 19 = r | ||
87 | control keycode 19 = four | ||
88 | shiftr control keycode 19 = Control_r | ||
89 | control shiftl keycode 19 = Meta_r | ||
90 | keycode 20 = t | ||
91 | control keycode 20 = five | ||
92 | shiftl control keycode 20 = Control_t | ||
93 | control shiftr keycode 20 = Meta_t | ||
94 | keycode 21 = y | ||
95 | control keycode 21 = six | ||
96 | shiftl control keycode 21 = Control_y | ||
97 | control shiftr keycode 21 = Meta_y | ||
98 | keycode 22 = u | ||
99 | control keycode 22 = seven | ||
100 | shiftl control keycode 22 = Control_u | ||
101 | control shiftr keycode 22 = Meta_u | ||
102 | keycode 23 = i | ||
103 | control keycode 23 = eight | ||
104 | shiftl control keycode 23 = Control_i | ||
105 | control shiftr keycode 23 = Meta_i | ||
106 | keycode 24 = o | ||
107 | control keycode 24 = nine | ||
108 | shiftl control keycode 24 = Control_o | ||
109 | control shiftr keycode 24 = Meta_o | ||
110 | keycode 25 = p | ||
111 | keycode 26 = bracketleft braceleft | ||
112 | control keycode 26 = Escape | ||
113 | alt keycode 26 = Meta_bracketleft | ||
114 | keycode 27 = bracketright braceright asciitilde | ||
115 | control keycode 27 = Control_bracketright | ||
116 | alt keycode 27 = Meta_bracketright | ||
117 | control keycode 25 = zero | ||
118 | shiftl control keycode 25 = Control_p | ||
119 | control shiftr keycode 25 = Meta_p | ||
120 | keycode 28 = Return | ||
121 | alt keycode 28 = Meta_Control_m | ||
122 | control keycode 28 = greater | ||
123 | shiftl control keycode 28 = braceright | ||
124 | control shiftr keycode 28 = braceright | ||
125 | keycode 29 = Control | ||
126 | keycode 30 = a | ||
127 | altgr keycode 30 = Hex_A | ||
128 | keycode 30 = a | ||
129 | control keycode 30 = exclam | ||
130 | shiftl control keycode 30 = Control_a | ||
131 | control shiftr keycode 30 = Meta_a | ||
132 | keycode 31 = s | ||
133 | keycode 32 = d | ||
134 | altgr keycode 32 = Hex_D | ||
135 | keycode 33 = f | ||
136 | altgr keycode 33 = Hex_F | ||
137 | control keycode 31 = at | ||
138 | shiftl control keycode 31 = Control_s | ||
139 | control shiftr keycode 31 = Meta_s | ||
140 | keycode 32 = d | ||
141 | control keycode 32 = numbersign | ||
142 | shiftl control keycode 32 = Control_d | ||
143 | control shiftr keycode 32 = Meta_d | ||
144 | keycode 33 = f | ||
145 | control keycode 33 = dollar | ||
146 | shiftl control keycode 33 = Control_f | ||
147 | control shiftr keycode 33 = Meta_f | ||
148 | keycode 34 = g | ||
149 | control keycode 34 = percent | ||
150 | shiftl control keycode 34 = Control_g | ||
151 | control shiftr keycode 34 = Meta_g | ||
152 | keycode 35 = h | ||
153 | control keycode 35 = underscore | ||
154 | shiftl control keycode 35 = BackSpace | ||
155 | control shiftr keycode 35 = BackSpace | ||
156 | keycode 36 = j | ||
157 | control keycode 36 = ampersand | ||
158 | shiftl control keycode 36 = Linefeed | ||
159 | control shiftr keycode 36 = Linefeed | ||
160 | keycode 37 = k | ||
161 | control keycode 37 = asterisk | ||
162 | shiftl control keycode 37 = Control_k | ||
163 | control shiftr keycode 37 = Meta_k | ||
164 | keycode 38 = l | ||
165 | keycode 39 = semicolon colon | ||
166 | alt keycode 39 = Meta_semicolon | ||
167 | keycode 40 = apostrophe quotedbl | ||
168 | control keycode 40 = Control_g | ||
169 | alt keycode 40 = Meta_apostrophe | ||
170 | keycode 41 = grave asciitilde | ||
171 | control keycode 41 = nul | ||
172 | alt keycode 41 = Meta_grave | ||
173 | control keycode 38 = parenleft | ||
174 | shiftl control keycode 38 = Control_l | ||
175 | control shiftr keycode 38 = Meta_l | ||
176 | keycode 40 = apostrophe quotedbl | ||
177 | control keycode 40 = asciitilde | ||
178 | shiftl control keycode 40 = asciicircum | ||
179 | control shiftr keycode 40 = asciicircum | ||
180 | keycode 42 = Shift | ||
181 | keycode 43 = backslash bar | ||
182 | control keycode 43 = Control_backslash | ||
183 | alt keycode 43 = Meta_backslash | ||
184 | keycode 44 = z | ||
185 | control keycode 44 = Control_z | ||
186 | shiftl control keycode 44 = Control_z | ||
187 | control shiftr keycode 44 = Meta_z | ||
188 | keycode 45 = x | ||
189 | keycode 46 = c | ||
190 | altgr keycode 46 = Hex_C | ||
191 | control keycode 45 = Control_x | ||
192 | shiftl control keycode 45 = Control_x | ||
193 | control shiftr keycode 45 = Meta_x | ||
194 | keycode 46 = c | ||
195 | control keycode 46 = Control_c | ||
196 | shiftl control keycode 46 = Control_c | ||
197 | control shiftr keycode 46 = Meta_c | ||
198 | keycode 47 = v | ||
199 | keycode 48 = b | ||
200 | altgr keycode 48 = Hex_B | ||
201 | control keycode 47 = Control_v | ||
202 | shiftl control keycode 47 = Control_v | ||
203 | control shiftr keycode 47 = Meta_v | ||
204 | ## current location ## | ||
205 | keycode 48 = b | ||
206 | control keycode 48 = minus | ||
207 | shiftl control keycode 48 = Control_b | ||
208 | control shiftr keycode 48 = Meta_b | ||
209 | keycode 49 = n | ||
210 | control keycode 49 = plus | ||
211 | shiftl control keycode 49 = Control_n | ||
212 | control shiftr keycode 49 = Meta_n | ||
213 | keycode 50 = m | ||
214 | keycode 51 = comma less | ||
215 | alt keycode 51 = Meta_comma | ||
216 | keycode 52 = period greater | ||
217 | control keycode 52 = Compose | ||
218 | alt keycode 52 = Meta_period | ||
219 | keycode 53 = slash question | ||
220 | control keycode 53 = Delete | ||
221 | alt keycode 53 = Meta_slash | ||
222 | control keycode 50 = equal | ||
223 | shiftl control keycode 50 = Control_m | ||
224 | control shiftr keycode 50 = Meta_m | ||
225 | keycode 51 = comma | ||
226 | shift keycode 51 = semicolon | ||
227 | control keycode 51 = parenright | ||
228 | shiftl control keycode 51 = bracketright | ||
229 | control shiftr keycode 51 = bracketright | ||
230 | keycode 52 = period | ||
231 | shift keycode 52 = colon | ||
232 | control keycode 52 = less | ||
233 | shiftl control keycode 52 = braceleft | ||
234 | control shiftr keycode 52 = braceleft | ||
235 | keycode 53 = slash | ||
236 | shift keycode 53 = question | ||
237 | control keycode 53 = Num_Lock | ||
238 | shiftl control keycode 53 = Num_Lock | ||
239 | control shiftr keycode 53 = Num_Lock | ||
240 | keycode 54 = Shift | ||
241 | keycode 55 = KP_Multiply | ||
242 | keycode 56 = Alt | ||
243 | keycode 57 = space space | ||
244 | control keycode 57 = nul | ||
245 | alt keycode 57 = Meta_space | ||
246 | keycode 58 = Caps_Lock | ||
247 | keycode 59 = F1 F11 Console_13 | ||
248 | control keycode 59 = F1 | ||
249 | alt keycode 59 = Console_1 | ||
250 | control alt keycode 59 = Console_1 | ||
251 | keycode 60 = F2 F12 Console_14 | ||
252 | control keycode 60 = F2 | ||
253 | alt keycode 60 = Console_2 | ||
254 | control alt keycode 60 = Console_2 | ||
255 | keycode 61 = F3 F13 Console_15 | ||
256 | control keycode 61 = F3 | ||
257 | alt keycode 61 = Console_3 | ||
258 | control alt keycode 61 = Console_3 | ||
259 | keycode 62 = F4 F14 Console_16 | ||
260 | control keycode 62 = F4 | ||
261 | alt keycode 62 = Console_4 | ||
262 | control alt keycode 62 = Console_4 | ||
263 | keycode 63 = F5 F15 Console_17 | ||
264 | control keycode 63 = F5 | ||
265 | alt keycode 63 = Console_5 | ||
266 | control alt keycode 63 = Console_5 | ||
267 | keycode 64 = F6 F16 Console_18 | ||
268 | control keycode 64 = F6 | ||
269 | alt keycode 64 = Console_6 | ||
270 | control alt keycode 64 = Console_6 | ||
271 | keycode 65 = F7 F17 Console_19 | ||
272 | control keycode 65 = F7 | ||
273 | alt keycode 65 = Console_7 | ||
274 | control alt keycode 65 = Console_7 | ||
275 | keycode 66 = F8 F18 Console_20 | ||
276 | control keycode 66 = F8 | ||
277 | alt keycode 66 = Console_8 | ||
278 | control alt keycode 66 = Console_8 | ||
279 | keycode 67 = F9 F19 Console_21 | ||
280 | control keycode 67 = F9 | ||
281 | alt keycode 67 = Console_9 | ||
282 | control alt keycode 67 = Console_9 | ||
283 | keycode 68 = F10 F20 Console_22 | ||
284 | control keycode 68 = F10 | ||
285 | alt keycode 68 = Console_10 | ||
286 | control alt keycode 68 = Console_10 | ||
287 | keycode 69 = Num_Lock | ||
288 | shift keycode 69 = Bare_Num_Lock | ||
289 | keycode 70 = Scroll_Lock Show_Memory Show_Registers | ||
290 | control keycode 70 = Show_State | ||
291 | alt keycode 70 = Scroll_Lock | ||
292 | keycode 71 = KP_7 | ||
293 | alt keycode 71 = Ascii_7 | ||
294 | altgr keycode 71 = Hex_7 | ||
295 | keycode 72 = KP_8 | ||
296 | alt keycode 72 = Ascii_8 | ||
297 | altgr keycode 72 = Hex_8 | ||
298 | keycode 73 = KP_9 | ||
299 | alt keycode 73 = Ascii_9 | ||
300 | altgr keycode 73 = Hex_9 | ||
301 | keycode 74 = KP_Subtract | ||
302 | keycode 75 = KP_4 | ||
303 | alt keycode 75 = Ascii_4 | ||
304 | altgr keycode 75 = Hex_4 | ||
305 | keycode 76 = KP_5 | ||
306 | alt keycode 76 = Ascii_5 | ||
307 | altgr keycode 76 = Hex_5 | ||
308 | keycode 77 = KP_6 | ||
309 | alt keycode 77 = Ascii_6 | ||
310 | altgr keycode 77 = Hex_6 | ||
311 | keycode 78 = KP_Add | ||
312 | keycode 79 = KP_1 | ||
313 | alt keycode 79 = Ascii_1 | ||
314 | altgr keycode 79 = Hex_1 | ||
315 | keycode 80 = KP_2 | ||
316 | alt keycode 80 = Ascii_2 | ||
317 | altgr keycode 80 = Hex_2 | ||
318 | keycode 81 = KP_3 | ||
319 | alt keycode 81 = Ascii_3 | ||
320 | altgr keycode 81 = Hex_3 | ||
321 | keycode 82 = KP_0 | ||
322 | alt keycode 82 = Ascii_0 | ||
323 | altgr keycode 82 = Hex_0 | ||
324 | keycode 83 = KP_Period | ||
325 | # altgr control keycode 83 = Boot | ||
326 | control alt keycode 83 = Boot | ||
327 | keycode 84 = Last_Console | ||
328 | keycode 85 = | ||
329 | keycode 86 = less greater bar | ||
330 | alt keycode 86 = Meta_less | ||
331 | keycode 87 = F11 F11 Console_23 | ||
332 | control keycode 87 = F11 | ||
333 | alt keycode 87 = Console_11 | ||
334 | control alt keycode 87 = Console_11 | ||
335 | keycode 88 = F12 F12 Console_24 | ||
336 | control keycode 88 = F12 | ||
337 | alt keycode 88 = Console_12 | ||
338 | control alt keycode 88 = Console_12 | ||
339 | keycode 89 = | ||
340 | keycode 90 = | ||
341 | keycode 91 = | ||
342 | keycode 92 = | ||
343 | keycode 93 = | ||
344 | keycode 94 = | ||
345 | keycode 95 = | ||
346 | keycode 96 = KP_Enter | ||
347 | keycode 57 = space | ||
348 | shift keycode 57 = bar | ||
349 | control keycode 57 = nul | ||
350 | shiftl control keycode 57 = grave | ||
351 | control shiftr keycode 57 = grave | ||
352 | keycode 97 = Control | ||
353 | keycode 98 = KP_Divide | ||
354 | keycode 99 = Control_backslash | ||
355 | control keycode 99 = Control_backslash | ||
356 | alt keycode 99 = Control_backslash | ||
357 | keycode 100 = AltGr | ||
358 | keycode 101 = Break | ||
359 | keycode 102 = Find | ||
360 | keycode 103 = Up | ||
361 | keycode 104 = Prior | ||
362 | shift keycode 104 = Scroll_Backward | ||
363 | keycode 105 = Left | ||
364 | alt keycode 105 = Decr_Console | ||
365 | keycode 106 = Right | ||
366 | alt keycode 106 = Incr_Console | ||
367 | keycode 107 = Select | ||
368 | keycode 108 = Down | ||
369 | keycode 109 = Next | ||
370 | shift keycode 109 = Scroll_Forward | ||
371 | keycode 110 = Insert | ||
372 | keycode 111 = Remove | ||
373 | # altgr control keycode 111 = Boot | ||
374 | control alt keycode 111 = Boot | ||
375 | keycode 112 = Macro | ||
376 | keycode 113 = F13 | ||
377 | keycode 114 = F14 | ||
378 | keycode 115 = Help | ||
379 | keycode 116 = Do | ||
380 | keycode 117 = F17 | ||
381 | keycode 118 = KP_MinPlus | ||
382 | keycode 119 = Pause | ||
383 | keycode 120 = | ||
384 | keycode 121 = | ||
385 | keycode 122 = | ||
386 | keycode 123 = | ||
387 | keycode 124 = | ||
388 | keycode 125 = | ||
389 | keycode 126 = | ||
390 | keycode 127 = | ||
391 | string F1 = "\033[[A" | ||
392 | string F2 = "\033[[B" | ||
393 | string F3 = "\033[[C" | ||
diff --git a/openembedded/packages/initscripts/initscripts_1.0.bb b/openembedded/packages/initscripts/initscripts_1.0.bb index 7b50d23f73..eebfbca7bf 100644 --- a/openembedded/packages/initscripts/initscripts_1.0.bb +++ b/openembedded/packages/initscripts/initscripts_1.0.bb | |||
@@ -6,7 +6,7 @@ DEPENDS = "makedevs" | |||
6 | DEPENDS_openzaurus = "makedevs virtual/kernel" | 6 | DEPENDS_openzaurus = "makedevs virtual/kernel" |
7 | RDEPENDS = "makedevs" | 7 | RDEPENDS = "makedevs" |
8 | LICENSE = "GPL" | 8 | LICENSE = "GPL" |
9 | PR = "r69" | 9 | PR = "r73" |
10 | 10 | ||
11 | SRC_URI = "file://halt \ | 11 | SRC_URI = "file://halt \ |
12 | file://ramdisk \ | 12 | file://ramdisk \ |
@@ -31,17 +31,10 @@ SRC_URI = "file://halt \ | |||
31 | file://sysfs.sh \ | 31 | file://sysfs.sh \ |
32 | file://device_table.txt \ | 32 | file://device_table.txt \ |
33 | file://populate-volatile.sh \ | 33 | file://populate-volatile.sh \ |
34 | file://volatiles \ | 34 | file://volatiles " |
35 | file://keymap" | ||
36 | 35 | ||
37 | SRC_URI_append_arm = " file://alignment.sh" | 36 | SRC_URI_append_arm = " file://alignment.sh" |
38 | SRC_URI_append_openzaurus = " file://checkversion" | 37 | SRC_URI_append_openzaurus = " file://checkversion" |
39 | SRC_URI_append_c7x0 = " file://keymap-*.map" | ||
40 | SRC_URI_append_tosa = " file://keymap-*.map" | ||
41 | SRC_URI_append_akita = " file://keymap-*.map" | ||
42 | SRC_URI_append_spitz = " file://keymap-*.map" | ||
43 | SRC_URI_append_collie = " file://keymap-*.map" | ||
44 | SRC_URI_append_poodle = " file://keymap-*.map" | ||
45 | 38 | ||
46 | def read_kernel_version(d): | 39 | def read_kernel_version(d): |
47 | import bb | 40 | import bb |
@@ -103,16 +96,6 @@ do_install () { | |||
103 | ln -sf ../init.d/checkversion ${D}${sysconfdir}/rcS.d/S01version | 96 | ln -sf ../init.d/checkversion ${D}${sysconfdir}/rcS.d/S01version |
104 | fi | 97 | fi |
105 | 98 | ||
106 | case ${MACHINE} in | ||
107 | c7x0 | tosa | spitz | akita | collie | poodle ) | ||
108 | install -m 0755 ${WORKDIR}/keymap ${D}${sysconfdir}/init.d | ||
109 | ln -sf ../init.d/keymap ${D}${sysconfdir}/rcS.d/S00keymap | ||
110 | install -m 0644 ${WORKDIR}/keymap-*.map ${D}${sysconfdir} | ||
111 | ;; | ||
112 | *) | ||
113 | ;; | ||
114 | esac | ||
115 | |||
116 | install -m 0755 ${WORKDIR}/banner ${D}${sysconfdir}/init.d/banner | 99 | install -m 0755 ${WORKDIR}/banner ${D}${sysconfdir}/init.d/banner |
117 | install -m 0755 ${WORKDIR}/devices ${D}${sysconfdir}/init.d/devices | 100 | install -m 0755 ${WORKDIR}/devices ${D}${sysconfdir}/init.d/devices |
118 | install -m 0755 ${WORKDIR}/umountfs ${D}${sysconfdir}/init.d/umountfs | 101 | install -m 0755 ${WORKDIR}/umountfs ${D}${sysconfdir}/init.d/umountfs |
diff --git a/openembedded/packages/ipkg/ipkg.inc b/openembedded/packages/ipkg/ipkg.inc index f535cfbef0..8fc6c9efe0 100644 --- a/openembedded/packages/ipkg/ipkg.inc +++ b/openembedded/packages/ipkg/ipkg.inc | |||
@@ -16,6 +16,11 @@ S = "${WORKDIR}/ipkg/C" | |||
16 | 16 | ||
17 | inherit autotools pkgconfig | 17 | inherit autotools pkgconfig |
18 | 18 | ||
19 | # Define a variable to allow distros to run configure earlier. | ||
20 | # (for example, to enable loading of ethernet kernel modules before networking starts) | ||
21 | IPKG_INIT_POSITION = "98" | ||
22 | IPKG_INIT_POSITION_slugos = "41" | ||
23 | |||
19 | pkg_postinst_ipkg () { | 24 | pkg_postinst_ipkg () { |
20 | #!/bin/sh | 25 | #!/bin/sh |
21 | if [ "x$D" != "x" ]; then | 26 | if [ "x$D" != "x" ]; then |
@@ -23,8 +28,8 @@ if [ "x$D" != "x" ]; then | |||
23 | # this happens at S98 where our good 'ole packages script used to run | 28 | # this happens at S98 where our good 'ole packages script used to run |
24 | echo -e "#!/bin/sh | 29 | echo -e "#!/bin/sh |
25 | ipkg-cl configure | 30 | ipkg-cl configure |
26 | " > ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S98configure | 31 | " > ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${IPKG_INIT_POSITION}configure |
27 | chmod 0755 ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S98configure | 32 | chmod 0755 ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${IPKG_INIT_POSITION}configure |
28 | fi | 33 | fi |
29 | 34 | ||
30 | update-alternatives --install ${bindir}/ipkg ipkg ${bindir}/ipkg-cl 100 | 35 | update-alternatives --install ${bindir}/ipkg ipkg ${bindir}/ipkg-cl 100 |
diff --git a/openembedded/packages/ipkg/ipkg_0.99.154.bb b/openembedded/packages/ipkg/ipkg_0.99.154.bb index 1898c6656e..de6af147b6 100644 --- a/openembedded/packages/ipkg/ipkg_0.99.154.bb +++ b/openembedded/packages/ipkg/ipkg_0.99.154.bb | |||
@@ -1 +1,2 @@ | |||
1 | include ipkg.inc | 1 | include ipkg.inc |
2 | PR = "r3" | ||
diff --git a/openembedded/packages/irda-utils/files/init b/openembedded/packages/irda-utils/files/init index f644e59295..9becfcc0ed 100755 --- a/openembedded/packages/irda-utils/files/init +++ b/openembedded/packages/irda-utils/files/init | |||
@@ -1,21 +1,64 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | 2 | ||
3 | DESC=irattach | 3 | module_id() { |
4 | awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo | ||
5 | } | ||
6 | |||
7 | if [ ! -f /etc/sysconfig/irda ]; then | ||
8 | |||
9 | case `module_id` in | ||
10 | "HP iPAQ H2200" | "HP iPAQ HX4700") | ||
11 | IRDA=yes | ||
12 | DEVICE=/dev/ttyS2 | ||
13 | DONGLE= | ||
14 | DISCOVERY= | ||
15 | ;; | ||
16 | *) | ||
17 | IRDA=yes | ||
18 | DEVICE=/dev/ttyS1 | ||
19 | DONGLE= | ||
20 | DISCOVERY= | ||
21 | ;; | ||
22 | esac | ||
23 | |||
24 | mkdir -p /etc/sysconfig | ||
25 | echo "IRDA=$IRDA" > /etc/sysconfig/irda | ||
26 | if [ $IRDA = "yes" ]; then | ||
27 | echo "DEVICE=$DEVICE" >> /etc/sysconfig/irda | ||
28 | echo "DONGLE=$DONGLE" >> /etc/sysconfig/irda | ||
29 | echo "DISCOVERY=$DISCOVERY" >> /etc/sysconfig/irda | ||
30 | fi | ||
31 | fi | ||
32 | |||
33 | . /etc/sysconfig/irda | ||
34 | |||
35 | # Check that irda is up. | ||
36 | [ ${IRDA} = "no" ] && exit 0 | ||
37 | |||
38 | [ -f /usr/sbin/irattach ] || exit 0 | ||
39 | |||
40 | ARGS= | ||
41 | if [ $DONGLE ]; then | ||
42 | ARGS="$ARGS -d $DONGLE" | ||
43 | fi | ||
44 | if [ "$DISCOVERY" = "yes" ];then | ||
45 | ARGS="$ARGS -s" | ||
46 | fi | ||
4 | 47 | ||
5 | case "$1" in | 48 | case "$1" in |
6 | start) | 49 | start) |
7 | echo -n "Starting $DESC: " | 50 | echo -n "Starting IrDA: " |
8 | irattach /dev/ttyS1 > /dev/null 2>&1 & | 51 | irattach ${DEVICE} ${ARGS} > /dev/null 2>&1 & |
9 | echo "$NAME." | 52 | echo "$NAME." |
10 | ;; | 53 | ;; |
11 | stop) | 54 | stop) |
12 | echo -n "Stopping $DESC: " | 55 | echo -n "Stopping IrDA: " |
13 | killall irattach > /dev/null 2>&1 | 56 | killall irattach > /dev/null 2>&1 |
14 | echo "$NAME." | 57 | echo "$NAME." |
15 | ;; | 58 | ;; |
16 | restart|force-reload) | 59 | restart|force-reload) |
17 | echo -n "Restarting $DESC: " | 60 | echo -n "Restarting IrDA: " |
18 | irattach /dev/ttyS1 > /dev/null 2>&1 & | 61 | irattach ${DEVICE} ${ARGS} > /dev/null 2>&1 & |
19 | sleep 1 | 62 | sleep 1 |
20 | killall irattach > /dev/null 2>&1 | 63 | killall irattach > /dev/null 2>&1 |
21 | echo "$NAME." | 64 | echo "$NAME." |
diff --git a/openembedded/packages/irda-utils/irda-utils_0.9.16.bb b/openembedded/packages/irda-utils/irda-utils_0.9.16.bb index 2e09edd841..db56a7044d 100644 --- a/openembedded/packages/irda-utils/irda-utils_0.9.16.bb +++ b/openembedded/packages/irda-utils/irda-utils_0.9.16.bb | |||
@@ -3,7 +3,7 @@ IrDA allows communication over Infrared with other devices \ | |||
3 | such as phones and laptops." | 3 | such as phones and laptops." |
4 | SECTION = "base" | 4 | SECTION = "base" |
5 | LICENSE = "GPL" | 5 | LICENSE = "GPL" |
6 | PR = "r2" | 6 | PR = "r5" |
7 | 7 | ||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/irda/irda-utils-${PV}.tar.gz \ | 8 | SRC_URI = "${SOURCEFORGE_MIRROR}/irda/irda-utils-${PV}.tar.gz \ |
9 | file://configure.patch;patch=1 \ | 9 | file://configure.patch;patch=1 \ |
diff --git a/openembedded/packages/initscripts/initscripts-1.0/akita/keymap-2.4.map b/openembedded/packages/keymaps/files/akita/keymap-2.4.map index e6339979e8..e6339979e8 100644 --- a/openembedded/packages/initscripts/initscripts-1.0/akita/keymap-2.4.map +++ b/openembedded/packages/keymaps/files/akita/keymap-2.4.map | |||
diff --git a/openembedded/packages/initscripts/initscripts-1.0/c7x0/keymap-2.6.map b/openembedded/packages/keymaps/files/akita/keymap-2.6.map index 6fc3a9a9cf..11a0e8b4d3 100755..100644 --- a/openembedded/packages/initscripts/initscripts-1.0/c7x0/keymap-2.6.map +++ b/openembedded/packages/keymaps/files/akita/keymap-2.6.map | |||
@@ -115,6 +115,21 @@ keycode 106 = Right | |||
115 | altgr keycode 106 = Incr_Console | 115 | altgr keycode 106 = Incr_Console |
116 | keycode 108 = Down | 116 | keycode 108 = Down |
117 | altgr keycode 108 = PageDown | 117 | altgr keycode 108 = PageDown |
118 | |||
119 | |||
120 | # LCD Softkeys as represented by zaurusd | ||
121 | keycode 82 = F5 | ||
122 | keycode 79 = F15 # Home | ||
123 | keycode 80 = F6 | ||
124 | keycode 81 = F16 # Email | ||
125 | keycode 75 = F7 | ||
126 | keycode 76 = F17 # Addresses | ||
127 | keycode 77 = F8 | ||
128 | keycode 71 = F18 # Calendar | ||
129 | keycode 72 = F9 | ||
130 | keycode 73 = F19 # Book | ||
131 | keycode 78 = F10 | ||
132 | |||
118 | string F1 = "\033[[A" | 133 | string F1 = "\033[[A" |
119 | string F2 = "\033[[B" | 134 | string F2 = "\033[[B" |
120 | string F3 = "\033[[C" | 135 | string F3 = "\033[[C" |
diff --git a/openembedded/packages/initscripts/initscripts-1.0/akita/keymap-2.6.map b/openembedded/packages/keymaps/files/c7x0/keymap-2.6.map index 6fc3a9a9cf..6fc3a9a9cf 100644..100755 --- a/openembedded/packages/initscripts/initscripts-1.0/akita/keymap-2.6.map +++ b/openembedded/packages/keymaps/files/c7x0/keymap-2.6.map | |||
diff --git a/openembedded/packages/keymaps/files/collie/keymap-2.4.map b/openembedded/packages/keymaps/files/collie/keymap-2.4.map new file mode 100644 index 0000000000..4cd8325bb0 --- /dev/null +++ b/openembedded/packages/keymaps/files/collie/keymap-2.4.map | |||
@@ -0,0 +1,114 @@ | |||
1 | keymaps 0-1,4-5 | ||
2 | alt_is_meta | ||
3 | keycode 1 = a | ||
4 | keycode 2 = b | ||
5 | keycode 3 = c | ||
6 | keycode 4 = d | ||
7 | keycode 5 = e | ||
8 | keycode 6 = f | ||
9 | keycode 7 = g | ||
10 | keycode 8 = h | ||
11 | keycode 9 = i | ||
12 | keycode 10 = j | ||
13 | keycode 11 = k | ||
14 | keycode 12 = l | ||
15 | keycode 13 = m | ||
16 | keycode 14 = n | ||
17 | keycode 15 = o | ||
18 | keycode 16 = p | ||
19 | keycode 17 = q | ||
20 | keycode 18 = r | ||
21 | keycode 19 = s | ||
22 | keycode 20 = t | ||
23 | keycode 21 = u | ||
24 | keycode 22 = v | ||
25 | keycode 23 = w | ||
26 | keycode 24 = x | ||
27 | keycode 25 = y | ||
28 | keycode 26 = z | ||
29 | keycode 27 = Shift | ||
30 | keycode 28 = Return | ||
31 | keycode 29 = F2 | ||
32 | keycode 30 = | ||
33 | keycode 31 = BackSpace | ||
34 | keycode 32 = bar | ||
35 | keycode 33 = | ||
36 | keycode 34 = Escape | ||
37 | keycode 35 = Left | ||
38 | control keycode 35 = Decr_Console | ||
39 | keycode 36 = Up | ||
40 | keycode 37 = Down | ||
41 | keycode 38 = Right | ||
42 | control keycode 38 = Incr_Console | ||
43 | keycode 39 = Return | ||
44 | keycode 40 = | ||
45 | keycode 41 = one | ||
46 | keycode 42 = two | ||
47 | keycode 43 = three | ||
48 | keycode 44 = four | ||
49 | keycode 45 = five | ||
50 | keycode 46 = six | ||
51 | keycode 47 = seven | ||
52 | keycode 48 = eight | ||
53 | keycode 49 = nine | ||
54 | keycode 50 = zero | ||
55 | keycode 51 = +adiaeresis | ||
56 | keycode 52 = +udiaeresis | ||
57 | keycode 53 = +odiaeresis | ||
58 | keycode 54 = +Adiaeresis | ||
59 | keycode 55 = +Udiaeresis | ||
60 | keycode 56 = +Odiaeresis | ||
61 | keycode 57 = +ssharp | ||
62 | keycode 58 = minus | ||
63 | keycode 59 = plus | ||
64 | keycode 60 = Shift_Lock | ||
65 | keycode 61 = at | ||
66 | keycode 62 = question | ||
67 | keycode 63 = comma | ||
68 | keycode 64 = period | ||
69 | keycode 65 = Tab | ||
70 | keycode 66 = F5 | ||
71 | keycode 67 = F6 | ||
72 | keycode 68 = F7 | ||
73 | keycode 69 = slash | ||
74 | keycode 70 = apostrophe | ||
75 | keycode 71 = semicolon | ||
76 | keycode 72 = quotedbl | ||
77 | keycode 73 = colon | ||
78 | keycode 74 = numbersign | ||
79 | keycode 75 = dollar | ||
80 | keycode 76 = percent | ||
81 | keycode 77 = underscore | ||
82 | keycode 78 = ampersand | ||
83 | keycode 79 = asterisk | ||
84 | keycode 80 = parenleft | ||
85 | keycode 81 = Delete | ||
86 | keycode 82 = F10 | ||
87 | keycode 83 = equal | ||
88 | keycode 84 = parenright | ||
89 | keycode 85 = asciitilde | ||
90 | keycode 86 = less | ||
91 | keycode 87 = greater | ||
92 | keycode 88 = Control | ||
93 | keycode 89 = Alt | ||
94 | keycode 90 = | ||
95 | keycode 91 = space | ||
96 | control keycode 91 = nul | ||
97 | keycode 92 = space | ||
98 | control keycode 92 = nul | ||
99 | keycode 93 = | ||
100 | keycode 94 = exclam | ||
101 | keycode 95 = | ||
102 | keycode 96 = | ||
103 | keycode 97 = | ||
104 | keycode 98 = | ||
105 | keycode 99 = | ||
106 | keycode 100 = | ||
107 | keycode 101 = | ||
108 | keycode 102 = | ||
109 | keycode 103 = Shift | ||
110 | keycode 104 = Control | ||
111 | keycode 105 = Control | ||
112 | keycode 106 = Alt | ||
113 | keycode 107 = Alt | ||
114 | keycode 108 = AltGr | ||
diff --git a/openembedded/packages/keymaps/files/collie/keymap-2.6.map b/openembedded/packages/keymaps/files/collie/keymap-2.6.map new file mode 100644 index 0000000000..9aca5abb38 --- /dev/null +++ b/openembedded/packages/keymaps/files/collie/keymap-2.6.map | |||
@@ -0,0 +1,262 @@ | |||
1 | # Note: | ||
2 | # The way in which the modifiers are handled are quite different | ||
3 | # than how they were handled in the 2.4.6-rmk1-np2-embedix kernel. | ||
4 | # | ||
5 | # Here, we simply pass up Fn as Control, and the german accent key | ||
6 | # as Altgr, and simply use a proper keymap. Said keymap is as | ||
7 | # follows. | ||
8 | # keymaps 0-2,4-5,8,12,20 | ||
9 | keycode 1 = Escape Escape | ||
10 | keycode 14 = BackSpace | ||
11 | shift keycode 14 = BackSpace | ||
12 | control keycode 14 = Delete | ||
13 | shiftl control keycode 14 = bracketleft | ||
14 | control shiftr keycode 14 = bracketleft | ||
15 | keycode 15 = Tab Tab | ||
16 | shift keycode 15 = backslash | ||
17 | control keycode 15 = Caps_Lock | ||
18 | shiftl control keycode 15 = Caps_Lock | ||
19 | control shiftr keycode 15 = Caps_Lock | ||
20 | keycode 16 = q | ||
21 | control keycode 16 = one | ||
22 | shiftl control keycode 16 = Control_q | ||
23 | control shiftr keycode 16 = Meta_q | ||
24 | keycode 17 = w | ||
25 | control keycode 17 = two | ||
26 | shiftl control keycode 17 = Control_w | ||
27 | control shiftr keycode 17 = Meta_w | ||
28 | keycode 18 = e | ||
29 | control keycode 18 = three | ||
30 | shiftl control keycode 18 = Control_e | ||
31 | control shiftr keycode 18 = Meta_e | ||
32 | keycode 19 = r | ||
33 | control keycode 19 = four | ||
34 | shiftr control keycode 19 = Control_r | ||
35 | control shiftl keycode 19 = Meta_r | ||
36 | keycode 20 = t | ||
37 | control keycode 20 = five | ||
38 | shiftl control keycode 20 = Control_t | ||
39 | control shiftr keycode 20 = Meta_t | ||
40 | keycode 21 = y | ||
41 | control keycode 21 = six | ||
42 | shiftl control keycode 21 = Control_y | ||
43 | control shiftr keycode 21 = Meta_y | ||
44 | keycode 22 = u | ||
45 | control keycode 22 = seven | ||
46 | shiftl control keycode 22 = Control_u | ||
47 | control shiftr keycode 22 = Meta_u | ||
48 | keycode 23 = i | ||
49 | control keycode 23 = eight | ||
50 | shiftl control keycode 23 = Control_i | ||
51 | control shiftr keycode 23 = Meta_i | ||
52 | keycode 24 = o | ||
53 | control keycode 24 = nine | ||
54 | shiftl control keycode 24 = Control_o | ||
55 | control shiftr keycode 24 = Meta_o | ||
56 | keycode 25 = p | ||
57 | control keycode 25 = zero | ||
58 | shiftl control keycode 25 = Control_p | ||
59 | control shiftr keycode 25 = Meta_p | ||
60 | keycode 28 = Return | ||
61 | control keycode 28 = greater | ||
62 | shiftl control keycode 28 = braceright | ||
63 | control shiftr keycode 28 = braceright | ||
64 | keycode 29 = Control | ||
65 | keycode 30 = a | ||
66 | control keycode 30 = exclam | ||
67 | shiftl control keycode 30 = Control_a | ||
68 | control shiftr keycode 30 = Meta_a | ||
69 | keycode 31 = s | ||
70 | control keycode 31 = at | ||
71 | shiftl control keycode 31 = Control_s | ||
72 | control shiftr keycode 31 = Meta_s | ||
73 | keycode 32 = d | ||
74 | control keycode 32 = numbersign | ||
75 | shiftl control keycode 32 = Control_d | ||
76 | control shiftr keycode 32 = Meta_d | ||
77 | keycode 33 = f | ||
78 | control keycode 33 = dollar | ||
79 | shiftl control keycode 33 = Control_f | ||
80 | control shiftr keycode 33 = Meta_f | ||
81 | keycode 34 = g | ||
82 | control keycode 34 = percent | ||
83 | shiftl control keycode 34 = Control_g | ||
84 | control shiftr keycode 34 = Meta_g | ||
85 | keycode 35 = h | ||
86 | control keycode 35 = underscore | ||
87 | shiftl control keycode 35 = BackSpace | ||
88 | control shiftr keycode 35 = BackSpace | ||
89 | keycode 36 = j | ||
90 | control keycode 36 = ampersand | ||
91 | shiftl control keycode 36 = Linefeed | ||
92 | control shiftr keycode 36 = Linefeed | ||
93 | keycode 37 = k | ||
94 | control keycode 37 = asterisk | ||
95 | shiftl control keycode 37 = Control_k | ||
96 | control shiftr keycode 37 = Meta_k | ||
97 | keycode 38 = l | ||
98 | control keycode 38 = bracketleft | ||
99 | shiftl control keycode 51 = parenleft | ||
100 | control shiftr keycode 51 = parenleft | ||
101 | keycode 40 = apostrophe quotedbl | ||
102 | control keycode 40 = asciitilde | ||
103 | shiftl control keycode 40 = asciicircum | ||
104 | control shiftr keycode 40 = asciicircum | ||
105 | keycode 42 = Shift | ||
106 | keycode 44 = z | ||
107 | control keycode 44 = Control_z | ||
108 | shiftl control keycode 44 = Control_z | ||
109 | control shiftr keycode 44 = Meta_z | ||
110 | keycode 45 = x | ||
111 | control keycode 45 = Control_x | ||
112 | shiftl control keycode 45 = Control_x | ||
113 | control shiftr keycode 45 = Meta_x | ||
114 | keycode 46 = c | ||
115 | control keycode 46 = Control_c | ||
116 | shiftl control keycode 46 = Control_c | ||
117 | control shiftr keycode 46 = Meta_c | ||
118 | keycode 47 = v | ||
119 | control keycode 47 = Control_v | ||
120 | shiftl control keycode 47 = Control_v | ||
121 | control shiftr keycode 47 = Meta_v | ||
122 | ## current location ## | ||
123 | keycode 48 = b | ||
124 | control keycode 48 = minus | ||
125 | shiftl control keycode 48 = Control_b | ||
126 | control shiftr keycode 48 = Meta_b | ||
127 | keycode 49 = n | ||
128 | control keycode 49 = plus | ||
129 | shiftl control keycode 49 = Control_n | ||
130 | control shiftr keycode 49 = Meta_n | ||
131 | keycode 50 = m | ||
132 | control keycode 50 = equal | ||
133 | shiftl control keycode 50 = Control_m | ||
134 | control shiftr keycode 50 = Meta_m | ||
135 | keycode 51 = comma | ||
136 | shift keycode 51 = semicolon | ||
137 | control keycode 51 = bracketright | ||
138 | shiftl control keycode 51 = parenright | ||
139 | control shiftr keycode 51 = parenright | ||
140 | keycode 52 = period | ||
141 | shift keycode 52 = colon | ||
142 | control keycode 52 = less | ||
143 | shiftl control keycode 52 = braceleft | ||
144 | control shiftr keycode 52 = braceleft | ||
145 | keycode 53 = slash | ||
146 | shift keycode 53 = question | ||
147 | control keycode 53 = Num_Lock | ||
148 | shiftl control keycode 53 = Num_Lock | ||
149 | control shiftr keycode 53 = Num_Lock | ||
150 | keycode 54 = Shift | ||
151 | keycode 55 = KP_Multiply | ||
152 | keycode 56 = Alt | ||
153 | keycode 57 = space | ||
154 | shift keycode 57 = bar | ||
155 | control keycode 57 = nul | ||
156 | shiftl control keycode 57 = grave | ||
157 | control shiftr keycode 57 = grave | ||
158 | keycode 97 = Control | ||
159 | keycode 99 = Control_backslash | ||
160 | control keycode 99 = Control_backslash | ||
161 | keycode 100 = AltGr | ||
162 | keycode 103 = Up | ||
163 | keycode 105 = Left | ||
164 | keycode 106 = Right | ||
165 | keycode 107 = Select | ||
166 | keycode 108 = Down | ||
167 | string F1 = "\033[[A" | ||
168 | string F2 = "\033[[B" | ||
169 | string F3 = "\033[[C" | ||
170 | string F4 = "\033[[D" | ||
171 | string F5 = "\033[[E" | ||
172 | string F6 = "\033[17~" | ||
173 | string F7 = "\033[18~" | ||
174 | string F8 = "\033[19~" | ||
175 | string F9 = "\033[20~" | ||
176 | string F10 = "\033[21~" | ||
177 | string F11 = "\033[23~" | ||
178 | string F12 = "\033[24~" | ||
179 | string F13 = "\033[25~" | ||
180 | string F14 = "\033[26~" | ||
181 | string F15 = "\033[28~" | ||
182 | string F16 = "\033[29~" | ||
183 | string F17 = "\033[31~" | ||
184 | string F18 = "\033[32~" | ||
185 | string F19 = "\033[33~" | ||
186 | string F20 = "\033[34~" | ||
187 | string Find = "\033[1~" | ||
188 | string Insert = "\033[2~" | ||
189 | string Remove = "\033[3~" | ||
190 | string Select = "\033[4~" | ||
191 | string Prior = "\033[5~" | ||
192 | string Next = "\033[6~" | ||
193 | string Macro = "\033[M" | ||
194 | string Pause = "\033[P" | ||
195 | compose '`' 'A' to 'À' | ||
196 | compose '`' 'a' to 'à' | ||
197 | compose '\'' 'A' to 'Á' | ||
198 | compose '\'' 'a' to 'á' | ||
199 | compose '^' 'A' to 'Â' | ||
200 | compose '^' 'a' to 'â' | ||
201 | compose '~' 'A' to 'Ã' | ||
202 | compose '~' 'a' to 'ã' | ||
203 | compose '"' 'A' to 'Ä' | ||
204 | compose '"' 'a' to 'ä' | ||
205 | compose 'O' 'A' to 'Å' | ||
206 | compose 'o' 'a' to 'å' | ||
207 | compose '0' 'A' to 'Å' | ||
208 | compose '0' 'a' to 'å' | ||
209 | compose 'A' 'A' to 'Å' | ||
210 | compose 'a' 'a' to 'å' | ||
211 | compose 'A' 'E' to 'Æ' | ||
212 | compose 'a' 'e' to 'æ' | ||
213 | compose ',' 'C' to 'Ç' | ||
214 | compose ',' 'c' to 'ç' | ||
215 | compose '`' 'E' to 'È' | ||
216 | compose '`' 'e' to 'è' | ||
217 | compose '\'' 'E' to 'É' | ||
218 | compose '\'' 'e' to 'é' | ||
219 | compose '^' 'E' to 'Ê' | ||
220 | compose '^' 'e' to 'ê' | ||
221 | compose '"' 'E' to 'Ë' | ||
222 | compose '"' 'e' to 'ë' | ||
223 | compose '`' 'I' to 'Ì' | ||
224 | compose '`' 'i' to 'ì' | ||
225 | compose '\'' 'I' to 'Í' | ||
226 | compose '\'' 'i' to 'í' | ||
227 | compose '^' 'I' to 'Î' | ||
228 | compose '^' 'i' to 'î' | ||
229 | compose '"' 'I' to 'Ï' | ||
230 | compose '"' 'i' to 'ï' | ||
231 | compose '-' 'D' to 'Ð' | ||
232 | compose '-' 'd' to 'ð' | ||
233 | compose '~' 'N' to 'Ñ' | ||
234 | compose '~' 'n' to 'ñ' | ||
235 | compose '`' 'O' to 'Ò' | ||
236 | compose '`' 'o' to 'ò' | ||
237 | compose '\'' 'O' to 'Ó' | ||
238 | compose '\'' 'o' to 'ó' | ||
239 | compose '^' 'O' to 'Ô' | ||
240 | compose '^' 'o' to 'ô' | ||
241 | compose '~' 'O' to 'Õ' | ||
242 | compose '~' 'o' to 'õ' | ||
243 | compose '"' 'O' to 'Ö' | ||
244 | compose '"' 'o' to 'ö' | ||
245 | compose '/' 'O' to 'Ø' | ||
246 | compose '/' 'o' to 'ø' | ||
247 | compose '`' 'U' to 'Ù' | ||
248 | compose '`' 'u' to 'ù' | ||
249 | compose '\'' 'U' to 'Ú' | ||
250 | compose '\'' 'u' to 'ú' | ||
251 | compose '^' 'U' to 'Û' | ||
252 | compose '^' 'u' to 'û' | ||
253 | compose '"' 'U' to 'Ü' | ||
254 | compose '"' 'u' to 'ü' | ||
255 | compose '\'' 'Y' to 'Ý' | ||
256 | compose '\'' 'y' to 'ý' | ||
257 | compose 'T' 'H' to 'Þ' | ||
258 | compose 't' 'h' to 'þ' | ||
259 | compose 's' 's' to 'ß' | ||
260 | compose '"' 'y' to 'ÿ' | ||
261 | compose 's' 'z' to 'ß' | ||
262 | compose 'i' 'j' to 'ÿ' | ||
diff --git a/openembedded/packages/initscripts/initscripts-1.0/keymap b/openembedded/packages/keymaps/files/keymap index 6ebc634266..6ebc634266 100755 --- a/openembedded/packages/initscripts/initscripts-1.0/keymap +++ b/openembedded/packages/keymaps/files/keymap | |||
diff --git a/openembedded/packages/keymaps/files/poodle/keymap-2.6.map b/openembedded/packages/keymaps/files/poodle/keymap-2.6.map new file mode 100644 index 0000000000..9aca5abb38 --- /dev/null +++ b/openembedded/packages/keymaps/files/poodle/keymap-2.6.map | |||
@@ -0,0 +1,262 @@ | |||
1 | # Note: | ||
2 | # The way in which the modifiers are handled are quite different | ||
3 | # than how they were handled in the 2.4.6-rmk1-np2-embedix kernel. | ||
4 | # | ||
5 | # Here, we simply pass up Fn as Control, and the german accent key | ||
6 | # as Altgr, and simply use a proper keymap. Said keymap is as | ||
7 | # follows. | ||
8 | # keymaps 0-2,4-5,8,12,20 | ||
9 | keycode 1 = Escape Escape | ||
10 | keycode 14 = BackSpace | ||
11 | shift keycode 14 = BackSpace | ||
12 | control keycode 14 = Delete | ||
13 | shiftl control keycode 14 = bracketleft | ||
14 | control shiftr keycode 14 = bracketleft | ||
15 | keycode 15 = Tab Tab | ||
16 | shift keycode 15 = backslash | ||
17 | control keycode 15 = Caps_Lock | ||
18 | shiftl control keycode 15 = Caps_Lock | ||
19 | control shiftr keycode 15 = Caps_Lock | ||
20 | keycode 16 = q | ||
21 | control keycode 16 = one | ||
22 | shiftl control keycode 16 = Control_q | ||
23 | control shiftr keycode 16 = Meta_q | ||
24 | keycode 17 = w | ||
25 | control keycode 17 = two | ||
26 | shiftl control keycode 17 = Control_w | ||
27 | control shiftr keycode 17 = Meta_w | ||
28 | keycode 18 = e | ||
29 | control keycode 18 = three | ||
30 | shiftl control keycode 18 = Control_e | ||
31 | control shiftr keycode 18 = Meta_e | ||
32 | keycode 19 = r | ||
33 | control keycode 19 = four | ||
34 | shiftr control keycode 19 = Control_r | ||
35 | control shiftl keycode 19 = Meta_r | ||
36 | keycode 20 = t | ||
37 | control keycode 20 = five | ||
38 | shiftl control keycode 20 = Control_t | ||
39 | control shiftr keycode 20 = Meta_t | ||
40 | keycode 21 = y | ||
41 | control keycode 21 = six | ||
42 | shiftl control keycode 21 = Control_y | ||
43 | control shiftr keycode 21 = Meta_y | ||
44 | keycode 22 = u | ||
45 | control keycode 22 = seven | ||
46 | shiftl control keycode 22 = Control_u | ||
47 | control shiftr keycode 22 = Meta_u | ||
48 | keycode 23 = i | ||
49 | control keycode 23 = eight | ||
50 | shiftl control keycode 23 = Control_i | ||
51 | control shiftr keycode 23 = Meta_i | ||
52 | keycode 24 = o | ||
53 | control keycode 24 = nine | ||
54 | shiftl control keycode 24 = Control_o | ||
55 | control shiftr keycode 24 = Meta_o | ||
56 | keycode 25 = p | ||
57 | control keycode 25 = zero | ||
58 | shiftl control keycode 25 = Control_p | ||
59 | control shiftr keycode 25 = Meta_p | ||
60 | keycode 28 = Return | ||
61 | control keycode 28 = greater | ||
62 | shiftl control keycode 28 = braceright | ||
63 | control shiftr keycode 28 = braceright | ||
64 | keycode 29 = Control | ||
65 | keycode 30 = a | ||
66 | control keycode 30 = exclam | ||
67 | shiftl control keycode 30 = Control_a | ||
68 | control shiftr keycode 30 = Meta_a | ||
69 | keycode 31 = s | ||
70 | control keycode 31 = at | ||
71 | shiftl control keycode 31 = Control_s | ||
72 | control shiftr keycode 31 = Meta_s | ||
73 | keycode 32 = d | ||
74 | control keycode 32 = numbersign | ||
75 | shiftl control keycode 32 = Control_d | ||
76 | control shiftr keycode 32 = Meta_d | ||
77 | keycode 33 = f | ||
78 | control keycode 33 = dollar | ||
79 | shiftl control keycode 33 = Control_f | ||
80 | control shiftr keycode 33 = Meta_f | ||
81 | keycode 34 = g | ||
82 | control keycode 34 = percent | ||
83 | shiftl control keycode 34 = Control_g | ||
84 | control shiftr keycode 34 = Meta_g | ||
85 | keycode 35 = h | ||
86 | control keycode 35 = underscore | ||
87 | shiftl control keycode 35 = BackSpace | ||
88 | control shiftr keycode 35 = BackSpace | ||
89 | keycode 36 = j | ||
90 | control keycode 36 = ampersand | ||
91 | shiftl control keycode 36 = Linefeed | ||
92 | control shiftr keycode 36 = Linefeed | ||
93 | keycode 37 = k | ||
94 | control keycode 37 = asterisk | ||
95 | shiftl control keycode 37 = Control_k | ||
96 | control shiftr keycode 37 = Meta_k | ||
97 | keycode 38 = l | ||
98 | control keycode 38 = bracketleft | ||
99 | shiftl control keycode 51 = parenleft | ||
100 | control shiftr keycode 51 = parenleft | ||
101 | keycode 40 = apostrophe quotedbl | ||
102 | control keycode 40 = asciitilde | ||
103 | shiftl control keycode 40 = asciicircum | ||
104 | control shiftr keycode 40 = asciicircum | ||
105 | keycode 42 = Shift | ||
106 | keycode 44 = z | ||
107 | control keycode 44 = Control_z | ||
108 | shiftl control keycode 44 = Control_z | ||
109 | control shiftr keycode 44 = Meta_z | ||
110 | keycode 45 = x | ||
111 | control keycode 45 = Control_x | ||
112 | shiftl control keycode 45 = Control_x | ||
113 | control shiftr keycode 45 = Meta_x | ||
114 | keycode 46 = c | ||
115 | control keycode 46 = Control_c | ||
116 | shiftl control keycode 46 = Control_c | ||
117 | control shiftr keycode 46 = Meta_c | ||
118 | keycode 47 = v | ||
119 | control keycode 47 = Control_v | ||
120 | shiftl control keycode 47 = Control_v | ||
121 | control shiftr keycode 47 = Meta_v | ||
122 | ## current location ## | ||
123 | keycode 48 = b | ||
124 | control keycode 48 = minus | ||
125 | shiftl control keycode 48 = Control_b | ||
126 | control shiftr keycode 48 = Meta_b | ||
127 | keycode 49 = n | ||
128 | control keycode 49 = plus | ||
129 | shiftl control keycode 49 = Control_n | ||
130 | control shiftr keycode 49 = Meta_n | ||
131 | keycode 50 = m | ||
132 | control keycode 50 = equal | ||
133 | shiftl control keycode 50 = Control_m | ||
134 | control shiftr keycode 50 = Meta_m | ||
135 | keycode 51 = comma | ||
136 | shift keycode 51 = semicolon | ||
137 | control keycode 51 = bracketright | ||
138 | shiftl control keycode 51 = parenright | ||
139 | control shiftr keycode 51 = parenright | ||
140 | keycode 52 = period | ||
141 | shift keycode 52 = colon | ||
142 | control keycode 52 = less | ||
143 | shiftl control keycode 52 = braceleft | ||
144 | control shiftr keycode 52 = braceleft | ||
145 | keycode 53 = slash | ||
146 | shift keycode 53 = question | ||
147 | control keycode 53 = Num_Lock | ||
148 | shiftl control keycode 53 = Num_Lock | ||
149 | control shiftr keycode 53 = Num_Lock | ||
150 | keycode 54 = Shift | ||
151 | keycode 55 = KP_Multiply | ||
152 | keycode 56 = Alt | ||
153 | keycode 57 = space | ||
154 | shift keycode 57 = bar | ||
155 | control keycode 57 = nul | ||
156 | shiftl control keycode 57 = grave | ||
157 | control shiftr keycode 57 = grave | ||
158 | keycode 97 = Control | ||
159 | keycode 99 = Control_backslash | ||
160 | control keycode 99 = Control_backslash | ||
161 | keycode 100 = AltGr | ||
162 | keycode 103 = Up | ||
163 | keycode 105 = Left | ||
164 | keycode 106 = Right | ||
165 | keycode 107 = Select | ||
166 | keycode 108 = Down | ||
167 | string F1 = "\033[[A" | ||
168 | string F2 = "\033[[B" | ||
169 | string F3 = "\033[[C" | ||
170 | string F4 = "\033[[D" | ||
171 | string F5 = "\033[[E" | ||
172 | string F6 = "\033[17~" | ||
173 | string F7 = "\033[18~" | ||
174 | string F8 = "\033[19~" | ||
175 | string F9 = "\033[20~" | ||
176 | string F10 = "\033[21~" | ||
177 | string F11 = "\033[23~" | ||
178 | string F12 = "\033[24~" | ||
179 | string F13 = "\033[25~" | ||
180 | string F14 = "\033[26~" | ||
181 | string F15 = "\033[28~" | ||
182 | string F16 = "\033[29~" | ||
183 | string F17 = "\033[31~" | ||
184 | string F18 = "\033[32~" | ||
185 | string F19 = "\033[33~" | ||
186 | string F20 = "\033[34~" | ||
187 | string Find = "\033[1~" | ||
188 | string Insert = "\033[2~" | ||
189 | string Remove = "\033[3~" | ||
190 | string Select = "\033[4~" | ||
191 | string Prior = "\033[5~" | ||
192 | string Next = "\033[6~" | ||
193 | string Macro = "\033[M" | ||
194 | string Pause = "\033[P" | ||
195 | compose '`' 'A' to 'À' | ||
196 | compose '`' 'a' to 'à' | ||
197 | compose '\'' 'A' to 'Á' | ||
198 | compose '\'' 'a' to 'á' | ||
199 | compose '^' 'A' to 'Â' | ||
200 | compose '^' 'a' to 'â' | ||
201 | compose '~' 'A' to 'Ã' | ||
202 | compose '~' 'a' to 'ã' | ||
203 | compose '"' 'A' to 'Ä' | ||
204 | compose '"' 'a' to 'ä' | ||
205 | compose 'O' 'A' to 'Å' | ||
206 | compose 'o' 'a' to 'å' | ||
207 | compose '0' 'A' to 'Å' | ||
208 | compose '0' 'a' to 'å' | ||
209 | compose 'A' 'A' to 'Å' | ||
210 | compose 'a' 'a' to 'å' | ||
211 | compose 'A' 'E' to 'Æ' | ||
212 | compose 'a' 'e' to 'æ' | ||
213 | compose ',' 'C' to 'Ç' | ||
214 | compose ',' 'c' to 'ç' | ||
215 | compose '`' 'E' to 'È' | ||
216 | compose '`' 'e' to 'è' | ||
217 | compose '\'' 'E' to 'É' | ||
218 | compose '\'' 'e' to 'é' | ||
219 | compose '^' 'E' to 'Ê' | ||
220 | compose '^' 'e' to 'ê' | ||
221 | compose '"' 'E' to 'Ë' | ||
222 | compose '"' 'e' to 'ë' | ||
223 | compose '`' 'I' to 'Ì' | ||
224 | compose '`' 'i' to 'ì' | ||
225 | compose '\'' 'I' to 'Í' | ||
226 | compose '\'' 'i' to 'í' | ||
227 | compose '^' 'I' to 'Î' | ||
228 | compose '^' 'i' to 'î' | ||
229 | compose '"' 'I' to 'Ï' | ||
230 | compose '"' 'i' to 'ï' | ||
231 | compose '-' 'D' to 'Ð' | ||
232 | compose '-' 'd' to 'ð' | ||
233 | compose '~' 'N' to 'Ñ' | ||
234 | compose '~' 'n' to 'ñ' | ||
235 | compose '`' 'O' to 'Ò' | ||
236 | compose '`' 'o' to 'ò' | ||
237 | compose '\'' 'O' to 'Ó' | ||
238 | compose '\'' 'o' to 'ó' | ||
239 | compose '^' 'O' to 'Ô' | ||
240 | compose '^' 'o' to 'ô' | ||
241 | compose '~' 'O' to 'Õ' | ||
242 | compose '~' 'o' to 'õ' | ||
243 | compose '"' 'O' to 'Ö' | ||
244 | compose '"' 'o' to 'ö' | ||
245 | compose '/' 'O' to 'Ø' | ||
246 | compose '/' 'o' to 'ø' | ||
247 | compose '`' 'U' to 'Ù' | ||
248 | compose '`' 'u' to 'ù' | ||
249 | compose '\'' 'U' to 'Ú' | ||
250 | compose '\'' 'u' to 'ú' | ||
251 | compose '^' 'U' to 'Û' | ||
252 | compose '^' 'u' to 'û' | ||
253 | compose '"' 'U' to 'Ü' | ||
254 | compose '"' 'u' to 'ü' | ||
255 | compose '\'' 'Y' to 'Ý' | ||
256 | compose '\'' 'y' to 'ý' | ||
257 | compose 'T' 'H' to 'Þ' | ||
258 | compose 't' 'h' to 'þ' | ||
259 | compose 's' 's' to 'ß' | ||
260 | compose '"' 'y' to 'ÿ' | ||
261 | compose 's' 'z' to 'ß' | ||
262 | compose 'i' 'j' to 'ÿ' | ||
diff --git a/openembedded/packages/initscripts/initscripts-1.0/spitz/keymap-2.4.map b/openembedded/packages/keymaps/files/spitz/keymap-2.4.map index e6339979e8..e6339979e8 100644 --- a/openembedded/packages/initscripts/initscripts-1.0/spitz/keymap-2.4.map +++ b/openembedded/packages/keymaps/files/spitz/keymap-2.4.map | |||
diff --git a/openembedded/packages/initscripts/initscripts-1.0/spitz/keymap-2.6.map b/openembedded/packages/keymaps/files/spitz/keymap-2.6.map index 6fc3a9a9cf..11a0e8b4d3 100644 --- a/openembedded/packages/initscripts/initscripts-1.0/spitz/keymap-2.6.map +++ b/openembedded/packages/keymaps/files/spitz/keymap-2.6.map | |||
@@ -115,6 +115,21 @@ keycode 106 = Right | |||
115 | altgr keycode 106 = Incr_Console | 115 | altgr keycode 106 = Incr_Console |
116 | keycode 108 = Down | 116 | keycode 108 = Down |
117 | altgr keycode 108 = PageDown | 117 | altgr keycode 108 = PageDown |
118 | |||
119 | |||
120 | # LCD Softkeys as represented by zaurusd | ||
121 | keycode 82 = F5 | ||
122 | keycode 79 = F15 # Home | ||
123 | keycode 80 = F6 | ||
124 | keycode 81 = F16 # Email | ||
125 | keycode 75 = F7 | ||
126 | keycode 76 = F17 # Addresses | ||
127 | keycode 77 = F8 | ||
128 | keycode 71 = F18 # Calendar | ||
129 | keycode 72 = F9 | ||
130 | keycode 73 = F19 # Book | ||
131 | keycode 78 = F10 | ||
132 | |||
118 | string F1 = "\033[[A" | 133 | string F1 = "\033[[A" |
119 | string F2 = "\033[[B" | 134 | string F2 = "\033[[B" |
120 | string F3 = "\033[[C" | 135 | string F3 = "\033[[C" |
diff --git a/openembedded/packages/initscripts/initscripts-1.0/tosa/keymap-2.4.map b/openembedded/packages/keymaps/files/tosa/keymap-2.4.map index 31ca75b660..31ca75b660 100644 --- a/openembedded/packages/initscripts/initscripts-1.0/tosa/keymap-2.4.map +++ b/openembedded/packages/keymaps/files/tosa/keymap-2.4.map | |||
diff --git a/openembedded/packages/initscripts/initscripts-1.0/tosa/keymap-2.6.map b/openembedded/packages/keymaps/files/tosa/keymap-2.6.map index ac43471326..ac43471326 100644 --- a/openembedded/packages/initscripts/initscripts-1.0/tosa/keymap-2.6.map +++ b/openembedded/packages/keymaps/files/tosa/keymap-2.6.map | |||
diff --git a/openembedded/packages/keymaps/keymaps_1.0.bb b/openembedded/packages/keymaps/keymaps_1.0.bb new file mode 100644 index 0000000000..350a7e0e08 --- /dev/null +++ b/openembedded/packages/keymaps/keymaps_1.0.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | DESCRIPTION = "Keyboard map" | ||
2 | SECTION = "base" | ||
3 | MAINTAINER = "Marcin Juszkiewicz <openembedded@hrw.one.pl>" | ||
4 | RDEPENDS = "initscripts console-tools" | ||
5 | LICENSE = "GPL" | ||
6 | PACKAGE_ARCH = "${MACHINE}" | ||
7 | PR = "r3" | ||
8 | |||
9 | inherit update-rc.d | ||
10 | |||
11 | SRC_URI = "file://keymap" | ||
12 | |||
13 | SRC_URI_append_c7x0 = " file://keymap-*.map" | ||
14 | SRC_URI_append_tosa = " file://keymap-*.map" | ||
15 | SRC_URI_append_akita = " file://keymap-*.map" | ||
16 | SRC_URI_append_spitz = " file://keymap-*.map" | ||
17 | SRC_URI_append_collie = " file://keymap-*.map" | ||
18 | SRC_URI_append_poodle = " file://keymap-*.map" | ||
19 | |||
20 | INITSCRIPT_NAME = "keymap" | ||
21 | INITSCRIPT_PARAMS = "start 00 S ." | ||
22 | |||
23 | do_install () { | ||
24 | install -d ${D}${sysconfdir}/init.d/ | ||
25 | install -m 0755 ${WORKDIR}/keymap ${D}${sysconfdir}/init.d/ | ||
26 | |||
27 | case ${MACHINE} in | ||
28 | c7x0 | tosa | spitz | akita | collie | poodle ) | ||
29 | install -m 0644 ${WORKDIR}/keymap-*.map ${D}${sysconfdir} | ||
30 | ;; | ||
31 | *) | ||
32 | ;; | ||
33 | esac | ||
34 | } | ||
diff --git a/openembedded/packages/libxml/libxml2_2.6.10.bb b/openembedded/packages/libxml/libxml2_2.6.10.bb index 745ddacd18..9f789a499e 100644 --- a/openembedded/packages/libxml/libxml2_2.6.10.bb +++ b/openembedded/packages/libxml/libxml2_2.6.10.bb | |||
@@ -9,7 +9,7 @@ PACKAGES = "${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale" | |||
9 | FILES_${PN}-dev += "${bindir}/xml-config" | 9 | FILES_${PN}-dev += "${bindir}/xml-config" |
10 | FILES_${PN}-utils += "${bindir}" | 10 | FILES_${PN}-utils += "${bindir}" |
11 | 11 | ||
12 | SRC_URI = "http://xmlsoft.org/sources/old/libxml2-${PV}.tar.gz" | 12 | SRC_URI = "http://xmlsoft.org/sources/libxml2/old/libxml2-${PV}.tar.gz" |
13 | 13 | ||
14 | inherit autotools pkgconfig | 14 | inherit autotools pkgconfig |
15 | 15 | ||
diff --git a/openembedded/packages/libxml/libxml2_2.6.22.bb b/openembedded/packages/libxml/libxml2_2.6.22.bb new file mode 100644 index 0000000000..fae00a6063 --- /dev/null +++ b/openembedded/packages/libxml/libxml2_2.6.22.bb | |||
@@ -0,0 +1,39 @@ | |||
1 | PR = "r1" | ||
2 | DESCRIPTION = "GNOME XML library" | ||
3 | SECTION = "libs" | ||
4 | PRIORITY = "optional" | ||
5 | LICENSE = "MIT" | ||
6 | PACKAGES = "${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale" | ||
7 | |||
8 | FILES_${PN}-dev += "${bindir}/xml-config" | ||
9 | FILES_${PN}-utils += "${bindir}" | ||
10 | |||
11 | SRC_URI = "http://xmlsoft.org/sources/libxml2/libxml2-${PV}.tar.gz \ | ||
12 | file://no-testapi.patch;patch=1" | ||
13 | inherit autotools pkgconfig | ||
14 | |||
15 | EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --without-c14n" | ||
16 | |||
17 | headers = "DOCBparser.h HTMLparser.h HTMLtree.h SAX.h SAX2.h c14n.h catalog.h chvalid.h debugXML.h dict.h encoding.h entities.h globals.h hash.h list.h nanoftp.h nanohttp.h parser.h parserInternals.h pattern.h relaxng.h schemasInternals.h threads.h tree.h uri.h valid.h xinclude.h xlink.h xmlIO.h xmlautomata.h xmlerror.h xmlexports.h xmlmemory.h xmlreader.h xmlregexp.h xmlschemas.h xmlschemastypes.h xmlstring.h xmlunicode.h xmlversion.h xmlwriter.h xpath.h xpathInternals.h xpointer.h" | ||
18 | |||
19 | do_stage () { | ||
20 | oe_libinstall -so libxml2 ${STAGING_LIBDIR} | ||
21 | |||
22 | mkdir -p ${STAGING_INCDIR}/libxml2/libxml | ||
23 | for i in ${headers}; do | ||
24 | install -m 0644 include/libxml/$i ${STAGING_INCDIR}/libxml2/libxml/$i | ||
25 | done | ||
26 | |||
27 | cat xml2-config | sed -e "s,^prefix=.*,prefix=${STAGING_BINDIR}/..," \ | ||
28 | -e "s,^exec_prefix=.*,exec_prefix=${STAGING_BINDIR}/..," \ | ||
29 | -e "s,^includedir=.*,includedir=${STAGING_INCDIR}," \ | ||
30 | -e "s,^libdir=.*,libdir=${STAGING_LIBDIR}," > ${STAGING_BINDIR}/xml2-config | ||
31 | chmod a+rx ${STAGING_BINDIR}/xml2-config | ||
32 | install -m 0644 libxml.m4 ${STAGING_DATADIR}/aclocal/ | ||
33 | } | ||
34 | |||
35 | python populate_packages_prepend () { | ||
36 | # autonamer would call this libxml2-2, but we don't want that | ||
37 | if bb.data.getVar('DEBIAN_NAMES', d, 1): | ||
38 | bb.data.setVar('PKG_libxml2', 'libxml2', d) | ||
39 | } | ||
diff --git a/openembedded/packages/linux/linux-omap1-2.6.12-rc2/nokia770/defconfig b/openembedded/packages/linux/linux-omap1-2.6.12-rc2/nokia770/defconfig deleted file mode 100644 index 0f897169e4..0000000000 --- a/openembedded/packages/linux/linux-omap1-2.6.12-rc2/nokia770/defconfig +++ /dev/null | |||
@@ -1,760 +0,0 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.12-rc2-omap1 | ||
4 | # Wed Jun 1 11:09:15 2005 | ||
5 | # | ||
6 | CONFIG_ARM=y | ||
7 | CONFIG_MMU=y | ||
8 | CONFIG_UID16=y | ||
9 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
10 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
11 | CONFIG_GENERIC_IOMAP=y | ||
12 | |||
13 | # | ||
14 | # Code maturity level options | ||
15 | # | ||
16 | CONFIG_EXPERIMENTAL=y | ||
17 | CONFIG_CLEAN_COMPILE=y | ||
18 | CONFIG_BROKEN_ON_SMP=y | ||
19 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
20 | |||
21 | # | ||
22 | # General setup | ||
23 | # | ||
24 | CONFIG_LOCALVERSION="" | ||
25 | CONFIG_SWAP=y | ||
26 | # CONFIG_SYSVIPC is not set | ||
27 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
28 | CONFIG_SYSCTL=y | ||
29 | # CONFIG_AUDIT is not set | ||
30 | CONFIG_HOTPLUG=y | ||
31 | # CONFIG_IKCONFIG is not set | ||
32 | # CONFIG_EMBEDDED is not set | ||
33 | CONFIG_KALLSYMS=y | ||
34 | # CONFIG_KALLSYMS_ALL is not set | ||
35 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
36 | CONFIG_BASE_FULL=y | ||
37 | CONFIG_FUTEX=y | ||
38 | CONFIG_EPOLL=y | ||
39 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
40 | CONFIG_SHMEM=y | ||
41 | CONFIG_CC_ALIGN_FUNCTIONS=0 | ||
42 | CONFIG_CC_ALIGN_LABELS=0 | ||
43 | CONFIG_CC_ALIGN_LOOPS=0 | ||
44 | CONFIG_CC_ALIGN_JUMPS=0 | ||
45 | # CONFIG_TINY_SHMEM is not set | ||
46 | CONFIG_BASE_SMALL=0 | ||
47 | |||
48 | # | ||
49 | # Loadable module support | ||
50 | # | ||
51 | CONFIG_MODULES=y | ||
52 | # CONFIG_MODULE_UNLOAD is not set | ||
53 | CONFIG_OBSOLETE_MODPARM=y | ||
54 | # CONFIG_MODVERSIONS is not set | ||
55 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
56 | # CONFIG_KMOD is not set | ||
57 | |||
58 | # | ||
59 | # System Type | ||
60 | # | ||
61 | # CONFIG_ARCH_CLPS7500 is not set | ||
62 | # CONFIG_ARCH_CLPS711X is not set | ||
63 | # CONFIG_ARCH_CO285 is not set | ||
64 | # CONFIG_ARCH_EBSA110 is not set | ||
65 | # CONFIG_ARCH_CAMELOT is not set | ||
66 | # CONFIG_ARCH_FOOTBRIDGE is not set | ||
67 | # CONFIG_ARCH_INTEGRATOR is not set | ||
68 | # CONFIG_ARCH_IOP3XX is not set | ||
69 | # CONFIG_ARCH_IXP4XX is not set | ||
70 | # CONFIG_ARCH_IXP2000 is not set | ||
71 | # CONFIG_ARCH_L7200 is not set | ||
72 | # CONFIG_ARCH_PXA is not set | ||
73 | # CONFIG_ARCH_RPC is not set | ||
74 | # CONFIG_ARCH_SA1100 is not set | ||
75 | # CONFIG_ARCH_S3C2410 is not set | ||
76 | # CONFIG_ARCH_SHARK is not set | ||
77 | # CONFIG_ARCH_LH7A40X is not set | ||
78 | CONFIG_ARCH_OMAP=y | ||
79 | # CONFIG_ARCH_VERSATILE is not set | ||
80 | # CONFIG_ARCH_IMX is not set | ||
81 | # CONFIG_ARCH_H720X is not set | ||
82 | |||
83 | # | ||
84 | # TI OMAP Implementations | ||
85 | # | ||
86 | CONFIG_ARCH_OMAP_OTG=y | ||
87 | CONFIG_ARCH_OMAP1=y | ||
88 | # CONFIG_ARCH_OMAP2 is not set | ||
89 | |||
90 | # | ||
91 | # OMAP Core Type | ||
92 | # | ||
93 | # CONFIG_ARCH_OMAP730 is not set | ||
94 | # CONFIG_ARCH_OMAP1510 is not set | ||
95 | CONFIG_ARCH_OMAP16XX=y | ||
96 | |||
97 | # | ||
98 | # OMAP Board Type | ||
99 | # | ||
100 | # CONFIG_MACH_OMAP_INNOVATOR is not set | ||
101 | # CONFIG_MACH_OMAP_H2 is not set | ||
102 | # CONFIG_MACH_OMAP_H3 is not set | ||
103 | # CONFIG_MACH_OMAP_OSK is not set | ||
104 | CONFIG_MACH_OMAP_GENERIC=y | ||
105 | |||
106 | # | ||
107 | # OMAP CPU Speed | ||
108 | # | ||
109 | CONFIG_OMAP_ARM_216MHZ=y | ||
110 | # CONFIG_OMAP_ARM_192MHZ is not set | ||
111 | # CONFIG_OMAP_ARM_168MHZ is not set | ||
112 | # CONFIG_OMAP_ARM_120MHZ is not set | ||
113 | # CONFIG_OMAP_ARM_60MHZ is not set | ||
114 | # CONFIG_OMAP_ARM_30MHZ is not set | ||
115 | CONFIG_OMAP_DSP=y | ||
116 | # CONFIG_OMAP_DSP_MBCMD_VERBOSE is not set | ||
117 | # CONFIG_OMAP_DSP_TASK_MULTIOPEN is not set | ||
118 | # CONFIG_OMAP_DSP_FBEXPORT is not set | ||
119 | |||
120 | # | ||
121 | # OMAP Feature Selections | ||
122 | # | ||
123 | CONFIG_OMAP_RESET_CLOCKS=y | ||
124 | CONFIG_OMAP_BOOT_TAG=y | ||
125 | CONFIG_OMAP_BOOT_REASON=y | ||
126 | CONFIG_OMAP_GPIO_SWITCH=y | ||
127 | CONFIG_OMAP_MUX=y | ||
128 | # CONFIG_OMAP_MUX_DEBUG is not set | ||
129 | CONFIG_OMAP_MUX_WARNINGS=y | ||
130 | CONFIG_OMAP_MPU_TIMER=y | ||
131 | # CONFIG_OMAP_32K_TIMER is not set | ||
132 | # CONFIG_OMAP_DM_TIMER is not set | ||
133 | CONFIG_OMAP_LL_DEBUG_UART1=y | ||
134 | # CONFIG_OMAP_LL_DEBUG_UART2 is not set | ||
135 | # CONFIG_OMAP_LL_DEBUG_UART3 is not set | ||
136 | |||
137 | # | ||
138 | # Processor Type | ||
139 | # | ||
140 | CONFIG_CPU_32=y | ||
141 | CONFIG_CPU_ARM926T=y | ||
142 | CONFIG_CPU_32v5=y | ||
143 | CONFIG_CPU_ABRT_EV5TJ=y | ||
144 | CONFIG_CPU_CACHE_VIVT=y | ||
145 | CONFIG_CPU_COPY_V4WB=y | ||
146 | CONFIG_CPU_TLB_V4WBI=y | ||
147 | |||
148 | # | ||
149 | # Processor Features | ||
150 | # | ||
151 | # CONFIG_ARM_THUMB is not set | ||
152 | # CONFIG_CPU_ICACHE_DISABLE is not set | ||
153 | # CONFIG_CPU_DCACHE_DISABLE is not set | ||
154 | # CONFIG_CPU_DCACHE_WRITETHROUGH is not set | ||
155 | # CONFIG_CPU_CACHE_ROUND_ROBIN is not set | ||
156 | |||
157 | # | ||
158 | # General setup | ||
159 | # | ||
160 | CONFIG_ZBOOT_ROM_TEXT=0x0 | ||
161 | CONFIG_ZBOOT_ROM_BSS=0x0 | ||
162 | # CONFIG_XIP_KERNEL is not set | ||
163 | |||
164 | # | ||
165 | # PCCARD (PCMCIA/CardBus) support | ||
166 | # | ||
167 | # CONFIG_PCCARD is not set | ||
168 | |||
169 | # | ||
170 | # At least one math emulation must be selected | ||
171 | # | ||
172 | CONFIG_FPE_NWFPE=y | ||
173 | CONFIG_FPE_NWFPE_XP=y | ||
174 | # CONFIG_FPE_FASTFPE is not set | ||
175 | # CONFIG_VFP is not set | ||
176 | # CONFIG_BINFMT_ELF is not set | ||
177 | # CONFIG_BINFMT_AOUT is not set | ||
178 | # CONFIG_BINFMT_MISC is not set | ||
179 | |||
180 | # | ||
181 | # Generic Driver Options | ||
182 | # | ||
183 | CONFIG_STANDALONE=y | ||
184 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
185 | # CONFIG_FW_LOADER is not set | ||
186 | # CONFIG_DEBUG_DRIVER is not set | ||
187 | CONFIG_PM=y | ||
188 | # CONFIG_PREEMPT is not set | ||
189 | CONFIG_APM=y | ||
190 | # CONFIG_ARTHUR is not set | ||
191 | CONFIG_CMDLINE="" | ||
192 | CONFIG_LEDS=y | ||
193 | CONFIG_ALIGNMENT_TRAP=y | ||
194 | |||
195 | # | ||
196 | # Parallel port support | ||
197 | # | ||
198 | # CONFIG_PARPORT is not set | ||
199 | |||
200 | # | ||
201 | # Memory Technology Devices (MTD) | ||
202 | # | ||
203 | CONFIG_MTD=y | ||
204 | # CONFIG_MTD_DEBUG is not set | ||
205 | # CONFIG_MTD_CONCAT is not set | ||
206 | CONFIG_MTD_PARTITIONS=y | ||
207 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
208 | CONFIG_MTD_CMDLINE_PARTS=y | ||
209 | CONFIG_MTD_AFS_PARTS=y | ||
210 | |||
211 | # | ||
212 | # User Modules And Translation Layers | ||
213 | # | ||
214 | CONFIG_MTD_CHAR=y | ||
215 | CONFIG_MTD_BLOCK=y | ||
216 | CONFIG_FTL=y | ||
217 | # CONFIG_NFTL is not set | ||
218 | # CONFIG_INFTL is not set | ||
219 | |||
220 | # | ||
221 | # RAM/ROM/Flash chip drivers | ||
222 | # | ||
223 | CONFIG_MTD_CFI=y | ||
224 | # CONFIG_MTD_JEDECPROBE is not set | ||
225 | CONFIG_MTD_GEN_PROBE=y | ||
226 | CONFIG_MTD_CFI_ADV_OPTIONS=y | ||
227 | CONFIG_MTD_CFI_NOSWAP=y | ||
228 | # CONFIG_MTD_CFI_BE_BYTE_SWAP is not set | ||
229 | # CONFIG_MTD_CFI_LE_BYTE_SWAP is not set | ||
230 | # CONFIG_MTD_CFI_GEOMETRY is not set | ||
231 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
232 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
233 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
234 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
235 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
236 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
237 | CONFIG_MTD_CFI_I1=y | ||
238 | CONFIG_MTD_CFI_I2=y | ||
239 | # CONFIG_MTD_CFI_I4 is not set | ||
240 | # CONFIG_MTD_CFI_I8 is not set | ||
241 | CONFIG_MTD_CFI_INTELEXT=y | ||
242 | CONFIG_MTD_CFI_AMDSTD=y | ||
243 | CONFIG_MTD_CFI_AMDSTD_RETRY=0 | ||
244 | CONFIG_MTD_CFI_STAA=y | ||
245 | CONFIG_MTD_CFI_UTIL=y | ||
246 | # CONFIG_MTD_RAM is not set | ||
247 | # CONFIG_MTD_ROM is not set | ||
248 | # CONFIG_MTD_ABSENT is not set | ||
249 | # CONFIG_MTD_XIP is not set | ||
250 | |||
251 | # | ||
252 | # Mapping drivers for chip access | ||
253 | # | ||
254 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
255 | # CONFIG_MTD_PHYSMAP is not set | ||
256 | # CONFIG_MTD_ARM_INTEGRATOR is not set | ||
257 | # CONFIG_MTD_EDB7312 is not set | ||
258 | CONFIG_MTD_OMAP_NORv2=y | ||
259 | |||
260 | # | ||
261 | # Self-contained MTD device drivers | ||
262 | # | ||
263 | # CONFIG_MTD_SLRAM is not set | ||
264 | # CONFIG_MTD_PHRAM is not set | ||
265 | # CONFIG_MTD_OMAP_NOR is not set | ||
266 | # CONFIG_MTD_MTDRAM is not set | ||
267 | # CONFIG_MTD_BLKMTD is not set | ||
268 | # CONFIG_MTD_BLOCK2MTD is not set | ||
269 | |||
270 | # | ||
271 | # Disk-On-Chip Device Drivers | ||
272 | # | ||
273 | # CONFIG_MTD_DOC2000 is not set | ||
274 | # CONFIG_MTD_DOC2001 is not set | ||
275 | # CONFIG_MTD_DOC2001PLUS is not set | ||
276 | |||
277 | # | ||
278 | # NAND Flash Device Drivers | ||
279 | # | ||
280 | CONFIG_MTD_NAND=y | ||
281 | # CONFIG_MTD_NAND_VERIFY_WRITE is not set | ||
282 | # CONFIG_MTD_NAND_TOTO is not set | ||
283 | CONFIG_MTD_NAND_IDS=y | ||
284 | # CONFIG_MTD_NAND_DISKONCHIP is not set | ||
285 | # CONFIG_MTD_NAND_NANDSIM is not set | ||
286 | CONFIG_MTD_NAND_OMAP_HW=y | ||
287 | |||
288 | # | ||
289 | # Plug and Play support | ||
290 | # | ||
291 | |||
292 | # | ||
293 | # Block devices | ||
294 | # | ||
295 | # CONFIG_BLK_DEV_FD is not set | ||
296 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
297 | # CONFIG_BLK_DEV_LOOP is not set | ||
298 | # CONFIG_BLK_DEV_RAM is not set | ||
299 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
300 | CONFIG_INITRAMFS_SOURCE="" | ||
301 | # CONFIG_CDROM_PKTCDVD is not set | ||
302 | |||
303 | # | ||
304 | # IO Schedulers | ||
305 | # | ||
306 | CONFIG_IOSCHED_NOOP=y | ||
307 | CONFIG_IOSCHED_AS=y | ||
308 | CONFIG_IOSCHED_DEADLINE=y | ||
309 | CONFIG_IOSCHED_CFQ=y | ||
310 | |||
311 | # | ||
312 | # Multi-device support (RAID and LVM) | ||
313 | # | ||
314 | # CONFIG_MD is not set | ||
315 | |||
316 | # | ||
317 | # Networking support | ||
318 | # | ||
319 | # CONFIG_NET is not set | ||
320 | # CONFIG_NETPOLL is not set | ||
321 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
322 | |||
323 | # | ||
324 | # SCSI device support | ||
325 | # | ||
326 | # CONFIG_SCSI is not set | ||
327 | |||
328 | # | ||
329 | # Fusion MPT device support | ||
330 | # | ||
331 | |||
332 | # | ||
333 | # IEEE 1394 (FireWire) support | ||
334 | # | ||
335 | |||
336 | # | ||
337 | # I2O device support | ||
338 | # | ||
339 | |||
340 | # | ||
341 | # ISDN subsystem | ||
342 | # | ||
343 | |||
344 | # | ||
345 | # Input device support | ||
346 | # | ||
347 | CONFIG_INPUT=y | ||
348 | |||
349 | # | ||
350 | # Userland interfaces | ||
351 | # | ||
352 | CONFIG_INPUT_MOUSEDEV=y | ||
353 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | ||
354 | CONFIG_INPUT_MOUSEDEV_SCREEN_X=800 | ||
355 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=480 | ||
356 | # CONFIG_INPUT_JOYDEV is not set | ||
357 | # CONFIG_INPUT_TSDEV is not set | ||
358 | # CONFIG_INPUT_EVDEV is not set | ||
359 | # CONFIG_INPUT_EVBUG is not set | ||
360 | |||
361 | # | ||
362 | # Input Device Drivers | ||
363 | # | ||
364 | CONFIG_INPUT_KEYBOARD=y | ||
365 | # CONFIG_KEYBOARD_ATKBD is not set | ||
366 | # CONFIG_KEYBOARD_SUNKBD is not set | ||
367 | # CONFIG_KEYBOARD_LKKBD is not set | ||
368 | # CONFIG_KEYBOARD_XTKBD is not set | ||
369 | # CONFIG_KEYBOARD_NEWTON is not set | ||
370 | # CONFIG_KEYBOARD_OMAP is not set | ||
371 | CONFIG_INPUT_MOUSE=y | ||
372 | # CONFIG_MOUSE_PS2 is not set | ||
373 | # CONFIG_MOUSE_SERIAL is not set | ||
374 | # CONFIG_MOUSE_VSXXXAA is not set | ||
375 | # CONFIG_INPUT_JOYSTICK is not set | ||
376 | CONFIG_INPUT_TOUCHSCREEN=y | ||
377 | CONFIG_TOUCHSCREEN_GUNZE=y | ||
378 | CONFIG_TOUCHSCREEN_ELO=y | ||
379 | CONFIG_TOUCHSCREEN_MTOUCH=y | ||
380 | CONFIG_TOUCHSCREEN_MK712=y | ||
381 | CONFIG_TOUCHSCREEN_OMAP=y | ||
382 | # CONFIG_INPUT_MISC is not set | ||
383 | |||
384 | # | ||
385 | # Hardware I/O ports | ||
386 | # | ||
387 | CONFIG_SERIO=y | ||
388 | # CONFIG_SERIO_SERPORT is not set | ||
389 | # CONFIG_SERIO_RAW is not set | ||
390 | # CONFIG_GAMEPORT is not set | ||
391 | CONFIG_SOUND_GAMEPORT=y | ||
392 | |||
393 | # | ||
394 | # Character devices | ||
395 | # | ||
396 | CONFIG_VT=y | ||
397 | CONFIG_VT_CONSOLE=y | ||
398 | CONFIG_HW_CONSOLE=y | ||
399 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
400 | |||
401 | # | ||
402 | # Serial drivers | ||
403 | # | ||
404 | # CONFIG_SERIAL_8250 is not set | ||
405 | |||
406 | # | ||
407 | # Non-8250 serial port support | ||
408 | # | ||
409 | CONFIG_UNIX98_PTYS=y | ||
410 | CONFIG_LEGACY_PTYS=y | ||
411 | CONFIG_LEGACY_PTY_COUNT=256 | ||
412 | |||
413 | # | ||
414 | # IPMI | ||
415 | # | ||
416 | # CONFIG_IPMI_HANDLER is not set | ||
417 | |||
418 | # | ||
419 | # Watchdog Cards | ||
420 | # | ||
421 | # CONFIG_WATCHDOG is not set | ||
422 | # CONFIG_NVRAM is not set | ||
423 | # CONFIG_RTC is not set | ||
424 | # CONFIG_OMAP_RTC is not set | ||
425 | # CONFIG_DTLK is not set | ||
426 | # CONFIG_R3964 is not set | ||
427 | |||
428 | # | ||
429 | # Ftape, the floppy tape device driver | ||
430 | # | ||
431 | # CONFIG_DRM is not set | ||
432 | # CONFIG_RAW_DRIVER is not set | ||
433 | |||
434 | # | ||
435 | # TPM devices | ||
436 | # | ||
437 | |||
438 | # | ||
439 | # I2C support | ||
440 | # | ||
441 | CONFIG_I2C=y | ||
442 | CONFIG_I2C_CHARDEV=y | ||
443 | |||
444 | # | ||
445 | # I2C Algorithms | ||
446 | # | ||
447 | CONFIG_I2C_ALGOBIT=y | ||
448 | CONFIG_I2C_ALGOPCF=y | ||
449 | # CONFIG_I2C_ALGOPCA is not set | ||
450 | |||
451 | # | ||
452 | # I2C Hardware Bus support | ||
453 | # | ||
454 | # CONFIG_I2C_ISA is not set | ||
455 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
456 | # CONFIG_I2C_STUB is not set | ||
457 | # CONFIG_I2C_PCA_ISA is not set | ||
458 | CONFIG_I2C_OMAP=y | ||
459 | |||
460 | # | ||
461 | # Hardware Sensors Chip support | ||
462 | # | ||
463 | # CONFIG_I2C_SENSOR is not set | ||
464 | # CONFIG_SENSORS_ADM1021 is not set | ||
465 | # CONFIG_SENSORS_ADM1025 is not set | ||
466 | # CONFIG_SENSORS_ADM1026 is not set | ||
467 | # CONFIG_SENSORS_ADM1031 is not set | ||
468 | # CONFIG_SENSORS_ASB100 is not set | ||
469 | # CONFIG_SENSORS_DS1621 is not set | ||
470 | # CONFIG_SENSORS_FSCHER is not set | ||
471 | # CONFIG_SENSORS_FSCPOS is not set | ||
472 | # CONFIG_SENSORS_GL518SM is not set | ||
473 | # CONFIG_SENSORS_GL520SM is not set | ||
474 | # CONFIG_SENSORS_IT87 is not set | ||
475 | # CONFIG_SENSORS_LM63 is not set | ||
476 | # CONFIG_SENSORS_LM75 is not set | ||
477 | # CONFIG_SENSORS_LM77 is not set | ||
478 | # CONFIG_SENSORS_LM78 is not set | ||
479 | # CONFIG_SENSORS_LM80 is not set | ||
480 | # CONFIG_SENSORS_LM83 is not set | ||
481 | # CONFIG_SENSORS_LM85 is not set | ||
482 | # CONFIG_SENSORS_LM87 is not set | ||
483 | # CONFIG_SENSORS_LM90 is not set | ||
484 | # CONFIG_SENSORS_LM92 is not set | ||
485 | # CONFIG_SENSORS_MAX1619 is not set | ||
486 | # CONFIG_SENSORS_PC87360 is not set | ||
487 | # CONFIG_SENSORS_SMSC47B397 is not set | ||
488 | # CONFIG_SENSORS_SMSC47M1 is not set | ||
489 | # CONFIG_SENSORS_W83781D is not set | ||
490 | # CONFIG_SENSORS_W83L785TS is not set | ||
491 | # CONFIG_SENSORS_W83627HF is not set | ||
492 | |||
493 | # | ||
494 | # Other I2C Chip support | ||
495 | # | ||
496 | # CONFIG_SENSORS_DS1337 is not set | ||
497 | # CONFIG_SENSORS_EEPROM is not set | ||
498 | # CONFIG_SENSORS_PCF8574 is not set | ||
499 | # CONFIG_SENSORS_PCF8591 is not set | ||
500 | # CONFIG_SENSORS_RTC8564 is not set | ||
501 | # CONFIG_ISP1301_OMAP is not set | ||
502 | # CONFIG_TPS65010 is not set | ||
503 | # CONFIG_SENSORS_TLV320AIC23 is not set | ||
504 | # CONFIG_GPIOEXPANDER_OMAP is not set | ||
505 | # CONFIG_I2C_DEBUG_CORE is not set | ||
506 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
507 | # CONFIG_I2C_DEBUG_BUS is not set | ||
508 | # CONFIG_I2C_DEBUG_CHIP is not set | ||
509 | |||
510 | # | ||
511 | # Multimedia devices | ||
512 | # | ||
513 | # CONFIG_VIDEO_DEV is not set | ||
514 | |||
515 | # | ||
516 | # Digital Video Broadcasting Devices | ||
517 | # | ||
518 | |||
519 | # | ||
520 | # File systems | ||
521 | # | ||
522 | CONFIG_EXT2_FS=y | ||
523 | # CONFIG_EXT2_FS_XATTR is not set | ||
524 | # CONFIG_EXT3_FS is not set | ||
525 | # CONFIG_JBD is not set | ||
526 | # CONFIG_REISERFS_FS is not set | ||
527 | # CONFIG_JFS_FS is not set | ||
528 | |||
529 | # | ||
530 | # XFS support | ||
531 | # | ||
532 | # CONFIG_XFS_FS is not set | ||
533 | # CONFIG_MINIX_FS is not set | ||
534 | # CONFIG_ROMFS_FS is not set | ||
535 | # CONFIG_QUOTA is not set | ||
536 | CONFIG_DNOTIFY=y | ||
537 | # CONFIG_AUTOFS_FS is not set | ||
538 | # CONFIG_AUTOFS4_FS is not set | ||
539 | |||
540 | # | ||
541 | # CD-ROM/DVD Filesystems | ||
542 | # | ||
543 | # CONFIG_ISO9660_FS is not set | ||
544 | # CONFIG_UDF_FS is not set | ||
545 | |||
546 | # | ||
547 | # DOS/FAT/NT Filesystems | ||
548 | # | ||
549 | # CONFIG_MSDOS_FS is not set | ||
550 | # CONFIG_VFAT_FS is not set | ||
551 | # CONFIG_NTFS_FS is not set | ||
552 | |||
553 | # | ||
554 | # Pseudo filesystems | ||
555 | # | ||
556 | CONFIG_PROC_FS=y | ||
557 | CONFIG_SYSFS=y | ||
558 | # CONFIG_DEVFS_FS is not set | ||
559 | # CONFIG_DEVPTS_FS_XATTR is not set | ||
560 | # CONFIG_TMPFS is not set | ||
561 | # CONFIG_HUGETLB_PAGE is not set | ||
562 | CONFIG_RAMFS=y | ||
563 | |||
564 | # | ||
565 | # Miscellaneous filesystems | ||
566 | # | ||
567 | # CONFIG_ADFS_FS is not set | ||
568 | # CONFIG_AFFS_FS is not set | ||
569 | # CONFIG_HFS_FS is not set | ||
570 | # CONFIG_HFSPLUS_FS is not set | ||
571 | # CONFIG_BEFS_FS is not set | ||
572 | # CONFIG_BFS_FS is not set | ||
573 | # CONFIG_EFS_FS is not set | ||
574 | # CONFIG_JFFS_FS is not set | ||
575 | CONFIG_JFFS2_FS=y | ||
576 | CONFIG_JFFS2_FS_DEBUG=0 | ||
577 | CONFIG_JFFS2_FS_NAND=y | ||
578 | # CONFIG_JFFS2_FS_NOR_ECC is not set | ||
579 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
580 | CONFIG_JFFS2_ZLIB=y | ||
581 | CONFIG_JFFS2_RTIME=y | ||
582 | # CONFIG_JFFS2_RUBIN is not set | ||
583 | # CONFIG_CRAMFS is not set | ||
584 | # CONFIG_VXFS_FS is not set | ||
585 | # CONFIG_HPFS_FS is not set | ||
586 | # CONFIG_QNX4FS_FS is not set | ||
587 | # CONFIG_SYSV_FS is not set | ||
588 | # CONFIG_UFS_FS is not set | ||
589 | |||
590 | # | ||
591 | # Partition Types | ||
592 | # | ||
593 | CONFIG_PARTITION_ADVANCED=y | ||
594 | CONFIG_ACORN_PARTITION=y | ||
595 | # CONFIG_ACORN_PARTITION_CUMANA is not set | ||
596 | # CONFIG_ACORN_PARTITION_EESOX is not set | ||
597 | # CONFIG_ACORN_PARTITION_ICS is not set | ||
598 | CONFIG_ACORN_PARTITION_ADFS=y | ||
599 | # CONFIG_ACORN_PARTITION_POWERTEC is not set | ||
600 | CONFIG_ACORN_PARTITION_RISCIX=y | ||
601 | # CONFIG_OSF_PARTITION is not set | ||
602 | # CONFIG_AMIGA_PARTITION is not set | ||
603 | # CONFIG_ATARI_PARTITION is not set | ||
604 | # CONFIG_MAC_PARTITION is not set | ||
605 | # CONFIG_MSDOS_PARTITION is not set | ||
606 | # CONFIG_LDM_PARTITION is not set | ||
607 | # CONFIG_SGI_PARTITION is not set | ||
608 | # CONFIG_ULTRIX_PARTITION is not set | ||
609 | # CONFIG_SUN_PARTITION is not set | ||
610 | # CONFIG_EFI_PARTITION is not set | ||
611 | |||
612 | # | ||
613 | # Native Language Support | ||
614 | # | ||
615 | # CONFIG_NLS is not set | ||
616 | |||
617 | # | ||
618 | # Profiling support | ||
619 | # | ||
620 | # CONFIG_PROFILING is not set | ||
621 | |||
622 | # | ||
623 | # Graphics support | ||
624 | # | ||
625 | CONFIG_FB=y | ||
626 | # CONFIG_FB_CFB_FILLRECT is not set | ||
627 | # CONFIG_FB_CFB_COPYAREA is not set | ||
628 | # CONFIG_FB_CFB_IMAGEBLIT is not set | ||
629 | # CONFIG_FB_SOFT_CURSOR is not set | ||
630 | # CONFIG_FB_MACMODES is not set | ||
631 | # CONFIG_FB_MODE_HELPERS is not set | ||
632 | # CONFIG_FB_TILEBLITTING is not set | ||
633 | # CONFIG_FB_S1D13XXX is not set | ||
634 | # CONFIG_FB_OMAP is not set | ||
635 | # CONFIG_FB_VIRTUAL is not set | ||
636 | |||
637 | # | ||
638 | # Console display driver support | ||
639 | # | ||
640 | # CONFIG_VGA_CONSOLE is not set | ||
641 | CONFIG_DUMMY_CONSOLE=y | ||
642 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
643 | CONFIG_FONTS=y | ||
644 | CONFIG_FONT_8x8=y | ||
645 | CONFIG_FONT_8x16=y | ||
646 | # CONFIG_FONT_6x11 is not set | ||
647 | # CONFIG_FONT_PEARL_8x8 is not set | ||
648 | # CONFIG_FONT_ACORN_8x8 is not set | ||
649 | # CONFIG_FONT_MINI_4x6 is not set | ||
650 | # CONFIG_FONT_SUN8x16 is not set | ||
651 | # CONFIG_FONT_SUN12x22 is not set | ||
652 | |||
653 | # | ||
654 | # Logo configuration | ||
655 | # | ||
656 | # CONFIG_LOGO is not set | ||
657 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | ||
658 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | ||
659 | CONFIG_BACKLIGHT_DEVICE=y | ||
660 | CONFIG_LCD_CLASS_DEVICE=y | ||
661 | CONFIG_LCD_DEVICE=y | ||
662 | |||
663 | # | ||
664 | # Sound | ||
665 | # | ||
666 | # CONFIG_SOUND is not set | ||
667 | |||
668 | # | ||
669 | # Misc devices | ||
670 | # | ||
671 | |||
672 | # | ||
673 | # USB support | ||
674 | # | ||
675 | CONFIG_USB_ARCH_HAS_HCD=y | ||
676 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
677 | # CONFIG_USB is not set | ||
678 | |||
679 | # | ||
680 | # USB Gadget Support | ||
681 | # | ||
682 | CONFIG_USB_GADGET=y | ||
683 | # CONFIG_USB_GADGET_DEBUG_FILES is not set | ||
684 | # CONFIG_USB_GADGET_NET2280 is not set | ||
685 | # CONFIG_USB_GADGET_PXA2XX is not set | ||
686 | # CONFIG_USB_GADGET_GOKU is not set | ||
687 | # CONFIG_USB_GADGET_LH7A40X is not set | ||
688 | CONFIG_USB_GADGET_OMAP=y | ||
689 | CONFIG_USB_OMAP=y | ||
690 | # CONFIG_USB_GADGET_DUMMY_HCD is not set | ||
691 | # CONFIG_USB_GADGET_DUALSPEED is not set | ||
692 | CONFIG_USB_ZERO=y | ||
693 | # CONFIG_USB_ETH is not set | ||
694 | # CONFIG_USB_GADGETFS is not set | ||
695 | # CONFIG_USB_FILE_STORAGE is not set | ||
696 | # CONFIG_USB_G_SERIAL is not set | ||
697 | |||
698 | # | ||
699 | # Synchronous Serial Interfaces (SSI) | ||
700 | # | ||
701 | # CONFIG_OMAP_UWIRE is not set | ||
702 | # CONFIG_OMAP_TSC2101 is not set | ||
703 | |||
704 | # | ||
705 | # MMC/SD Card support | ||
706 | # | ||
707 | CONFIG_MMC=y | ||
708 | # CONFIG_MMC_DEBUG is not set | ||
709 | CONFIG_MMC_BLOCK=y | ||
710 | CONFIG_MMC_BLOCK_BROKEN_RFD=y | ||
711 | # CONFIG_MMC_BULKTRANSFER is not set | ||
712 | CONFIG_MMC_OMAP=y | ||
713 | # CONFIG_MMC_OMAP16XX_BLOCK1 is not set | ||
714 | CONFIG_MMC_OMAP16XX_BLOCK2=y | ||
715 | |||
716 | # | ||
717 | # Kernel hacking | ||
718 | # | ||
719 | # CONFIG_PRINTK_TIME is not set | ||
720 | CONFIG_DEBUG_KERNEL=y | ||
721 | CONFIG_MAGIC_SYSRQ=y | ||
722 | CONFIG_LOG_BUF_SHIFT=14 | ||
723 | # CONFIG_SCHEDSTATS is not set | ||
724 | CONFIG_DEBUG_SLAB=y | ||
725 | CONFIG_DEBUG_SPINLOCK=y | ||
726 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
727 | # CONFIG_DEBUG_KOBJECT is not set | ||
728 | CONFIG_DEBUG_BUGVERBOSE=y | ||
729 | CONFIG_DEBUG_INFO=y | ||
730 | # CONFIG_DEBUG_FS is not set | ||
731 | CONFIG_FRAME_POINTER=y | ||
732 | CONFIG_DEBUG_USER=y | ||
733 | CONFIG_DEBUG_WAITQ=y | ||
734 | CONFIG_DEBUG_ERRORS=y | ||
735 | CONFIG_DEBUG_LL=y | ||
736 | # CONFIG_DEBUG_ICEDCC is not set | ||
737 | |||
738 | # | ||
739 | # Security options | ||
740 | # | ||
741 | # CONFIG_KEYS is not set | ||
742 | # CONFIG_SECURITY is not set | ||
743 | |||
744 | # | ||
745 | # Cryptographic options | ||
746 | # | ||
747 | # CONFIG_CRYPTO is not set | ||
748 | |||
749 | # | ||
750 | # Hardware crypto devices | ||
751 | # | ||
752 | |||
753 | # | ||
754 | # Library routines | ||
755 | # | ||
756 | # CONFIG_CRC_CCITT is not set | ||
757 | CONFIG_CRC32=y | ||
758 | # CONFIG_LIBCRC32C is not set | ||
759 | CONFIG_ZLIB_INFLATE=y | ||
760 | CONFIG_ZLIB_DEFLATE=y | ||
diff --git a/openembedded/packages/linux/linux-omap1-2.6.12-rc2/omap5912osk/defconfig b/openembedded/packages/linux/linux-omap1-2.6.12-rc2/omap5912osk/defconfig deleted file mode 100644 index 645dbf8ac7..0000000000 --- a/openembedded/packages/linux/linux-omap1-2.6.12-rc2/omap5912osk/defconfig +++ /dev/null | |||
@@ -1,1035 +0,0 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.12-rc2-omap1 | ||
4 | # Fri May 6 10:35:31 2005 | ||
5 | # | ||
6 | CONFIG_ARM=y | ||
7 | CONFIG_MMU=y | ||
8 | CONFIG_UID16=y | ||
9 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
10 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
11 | CONFIG_GENERIC_IOMAP=y | ||
12 | |||
13 | # | ||
14 | # Code maturity level options | ||
15 | # | ||
16 | CONFIG_EXPERIMENTAL=y | ||
17 | CONFIG_CLEAN_COMPILE=y | ||
18 | CONFIG_BROKEN_ON_SMP=y | ||
19 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
20 | |||
21 | # | ||
22 | # General setup | ||
23 | # | ||
24 | CONFIG_LOCALVERSION="" | ||
25 | CONFIG_SWAP=y | ||
26 | CONFIG_SYSVIPC=y | ||
27 | # CONFIG_POSIX_MQUEUE is not set | ||
28 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
29 | CONFIG_SYSCTL=y | ||
30 | # CONFIG_AUDIT is not set | ||
31 | CONFIG_HOTPLUG=y | ||
32 | CONFIG_KOBJECT_UEVENT=y | ||
33 | # CONFIG_IKCONFIG is not set | ||
34 | # CONFIG_EMBEDDED is not set | ||
35 | CONFIG_KALLSYMS=y | ||
36 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
37 | CONFIG_BASE_FULL=y | ||
38 | CONFIG_FUTEX=y | ||
39 | CONFIG_EPOLL=y | ||
40 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
41 | CONFIG_SHMEM=y | ||
42 | CONFIG_CC_ALIGN_FUNCTIONS=0 | ||
43 | CONFIG_CC_ALIGN_LABELS=0 | ||
44 | CONFIG_CC_ALIGN_LOOPS=0 | ||
45 | CONFIG_CC_ALIGN_JUMPS=0 | ||
46 | # CONFIG_TINY_SHMEM is not set | ||
47 | CONFIG_BASE_SMALL=0 | ||
48 | |||
49 | # | ||
50 | # Loadable module support | ||
51 | # | ||
52 | CONFIG_MODULES=y | ||
53 | CONFIG_MODULE_UNLOAD=y | ||
54 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
55 | CONFIG_OBSOLETE_MODPARM=y | ||
56 | # CONFIG_MODVERSIONS is not set | ||
57 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
58 | CONFIG_KMOD=y | ||
59 | |||
60 | # | ||
61 | # System Type | ||
62 | # | ||
63 | # CONFIG_ARCH_CLPS7500 is not set | ||
64 | # CONFIG_ARCH_CLPS711X is not set | ||
65 | # CONFIG_ARCH_CO285 is not set | ||
66 | # CONFIG_ARCH_EBSA110 is not set | ||
67 | # CONFIG_ARCH_CAMELOT is not set | ||
68 | # CONFIG_ARCH_FOOTBRIDGE is not set | ||
69 | # CONFIG_ARCH_INTEGRATOR is not set | ||
70 | # CONFIG_ARCH_IOP3XX is not set | ||
71 | # CONFIG_ARCH_IXP4XX is not set | ||
72 | # CONFIG_ARCH_IXP2000 is not set | ||
73 | # CONFIG_ARCH_L7200 is not set | ||
74 | # CONFIG_ARCH_PXA is not set | ||
75 | # CONFIG_ARCH_RPC is not set | ||
76 | # CONFIG_ARCH_SA1100 is not set | ||
77 | # CONFIG_ARCH_S3C2410 is not set | ||
78 | # CONFIG_ARCH_SHARK is not set | ||
79 | # CONFIG_ARCH_LH7A40X is not set | ||
80 | CONFIG_ARCH_OMAP=y | ||
81 | # CONFIG_ARCH_VERSATILE is not set | ||
82 | # CONFIG_ARCH_IMX is not set | ||
83 | # CONFIG_ARCH_H720X is not set | ||
84 | |||
85 | # | ||
86 | # TI OMAP Implementations | ||
87 | # | ||
88 | CONFIG_ARCH_OMAP_OTG=y | ||
89 | CONFIG_ARCH_OMAP1=y | ||
90 | # CONFIG_ARCH_OMAP2 is not set | ||
91 | |||
92 | # | ||
93 | # OMAP Core Type | ||
94 | # | ||
95 | # CONFIG_ARCH_OMAP730 is not set | ||
96 | # CONFIG_ARCH_OMAP1510 is not set | ||
97 | CONFIG_ARCH_OMAP16XX=y | ||
98 | |||
99 | # | ||
100 | # OMAP Board Type | ||
101 | # | ||
102 | # CONFIG_MACH_OMAP_INNOVATOR is not set | ||
103 | # CONFIG_MACH_OMAP_H2 is not set | ||
104 | # CONFIG_MACH_OMAP_H3 is not set | ||
105 | CONFIG_MACH_OMAP_OSK=y | ||
106 | # CONFIG_MACH_OMAP_GENERIC is not set | ||
107 | |||
108 | # | ||
109 | # OMAP CPU Speed | ||
110 | # | ||
111 | # CONFIG_OMAP_ARM_216MHZ is not set | ||
112 | CONFIG_OMAP_ARM_192MHZ=y | ||
113 | # CONFIG_OMAP_ARM_168MHZ is not set | ||
114 | # CONFIG_OMAP_ARM_120MHZ is not set | ||
115 | # CONFIG_OMAP_ARM_60MHZ is not set | ||
116 | # CONFIG_OMAP_ARM_30MHZ is not set | ||
117 | CONFIG_OMAP_DSP=m | ||
118 | CONFIG_OMAP_DSP_MBCMD_VERBOSE=y | ||
119 | CONFIG_OMAP_DSP_TASK_MULTIOPEN=y | ||
120 | # CONFIG_OMAP_DSP_FBEXPORT is not set | ||
121 | |||
122 | # | ||
123 | # OMAP Feature Selections | ||
124 | # | ||
125 | # CONFIG_OMAP_RESET_CLOCKS is not set | ||
126 | # CONFIG_OMAP_BOOT_TAG is not set | ||
127 | CONFIG_OMAP_MUX=y | ||
128 | # CONFIG_OMAP_MUX_DEBUG is not set | ||
129 | CONFIG_OMAP_MUX_WARNINGS=y | ||
130 | CONFIG_OMAP_MPU_TIMER=y | ||
131 | # CONFIG_OMAP_32K_TIMER is not set | ||
132 | # CONFIG_OMAP_DM_TIMER is not set | ||
133 | CONFIG_OMAP_LL_DEBUG_UART1=y | ||
134 | # CONFIG_OMAP_LL_DEBUG_UART2 is not set | ||
135 | # CONFIG_OMAP_LL_DEBUG_UART3 is not set | ||
136 | |||
137 | # | ||
138 | # Processor Type | ||
139 | # | ||
140 | CONFIG_CPU_32=y | ||
141 | CONFIG_CPU_ARM926T=y | ||
142 | CONFIG_CPU_32v5=y | ||
143 | CONFIG_CPU_ABRT_EV5TJ=y | ||
144 | CONFIG_CPU_CACHE_VIVT=y | ||
145 | CONFIG_CPU_COPY_V4WB=y | ||
146 | CONFIG_CPU_TLB_V4WBI=y | ||
147 | |||
148 | # | ||
149 | # Processor Features | ||
150 | # | ||
151 | # CONFIG_ARM_THUMB is not set | ||
152 | # CONFIG_CPU_ICACHE_DISABLE is not set | ||
153 | # CONFIG_CPU_DCACHE_DISABLE is not set | ||
154 | CONFIG_CPU_DCACHE_WRITETHROUGH=y | ||
155 | # CONFIG_CPU_CACHE_ROUND_ROBIN is not set | ||
156 | |||
157 | # | ||
158 | # General setup | ||
159 | # | ||
160 | CONFIG_ZBOOT_ROM_TEXT=0x0 | ||
161 | CONFIG_ZBOOT_ROM_BSS=0x0 | ||
162 | # CONFIG_XIP_KERNEL is not set | ||
163 | |||
164 | # | ||
165 | # PCCARD (PCMCIA/CardBus) support | ||
166 | # | ||
167 | CONFIG_PCCARD=m | ||
168 | # CONFIG_PCMCIA_DEBUG is not set | ||
169 | CONFIG_PCMCIA=m | ||
170 | |||
171 | # | ||
172 | # PC-card bridges | ||
173 | # | ||
174 | # CONFIG_TCIC is not set | ||
175 | CONFIG_OMAP_CF=m | ||
176 | |||
177 | # | ||
178 | # At least one math emulation must be selected | ||
179 | # | ||
180 | CONFIG_FPE_NWFPE=y | ||
181 | # CONFIG_FPE_NWFPE_XP is not set | ||
182 | # CONFIG_FPE_FASTFPE is not set | ||
183 | # CONFIG_VFP is not set | ||
184 | CONFIG_BINFMT_ELF=y | ||
185 | # CONFIG_BINFMT_AOUT is not set | ||
186 | # CONFIG_BINFMT_MISC is not set | ||
187 | |||
188 | # | ||
189 | # Generic Driver Options | ||
190 | # | ||
191 | CONFIG_STANDALONE=y | ||
192 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
193 | # CONFIG_FW_LOADER is not set | ||
194 | # CONFIG_PM is not set | ||
195 | # CONFIG_PREEMPT is not set | ||
196 | # CONFIG_ARTHUR is not set | ||
197 | CONFIG_CMDLINE="mem=32M console=ttyS0,115200 initrd=0x10400000,8M root=/dev/ram0 rw" | ||
198 | # CONFIG_LEDS is not set | ||
199 | CONFIG_ALIGNMENT_TRAP=y | ||
200 | |||
201 | # | ||
202 | # Parallel port support | ||
203 | # | ||
204 | # CONFIG_PARPORT is not set | ||
205 | |||
206 | # | ||
207 | # Memory Technology Devices (MTD) | ||
208 | # | ||
209 | CONFIG_MTD=y | ||
210 | # CONFIG_MTD_DEBUG is not set | ||
211 | # CONFIG_MTD_CONCAT is not set | ||
212 | CONFIG_MTD_PARTITIONS=y | ||
213 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
214 | CONFIG_MTD_CMDLINE_PARTS=y | ||
215 | # CONFIG_MTD_AFS_PARTS is not set | ||
216 | |||
217 | # | ||
218 | # User Modules And Translation Layers | ||
219 | # | ||
220 | CONFIG_MTD_CHAR=y | ||
221 | CONFIG_MTD_BLOCK=y | ||
222 | # CONFIG_FTL is not set | ||
223 | # CONFIG_NFTL is not set | ||
224 | # CONFIG_INFTL is not set | ||
225 | |||
226 | # | ||
227 | # RAM/ROM/Flash chip drivers | ||
228 | # | ||
229 | CONFIG_MTD_CFI=y | ||
230 | # CONFIG_MTD_JEDECPROBE is not set | ||
231 | CONFIG_MTD_GEN_PROBE=y | ||
232 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
233 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
234 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
235 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
236 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
237 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
238 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
239 | CONFIG_MTD_CFI_I1=y | ||
240 | CONFIG_MTD_CFI_I2=y | ||
241 | # CONFIG_MTD_CFI_I4 is not set | ||
242 | # CONFIG_MTD_CFI_I8 is not set | ||
243 | CONFIG_MTD_CFI_INTELEXT=y | ||
244 | # CONFIG_MTD_CFI_AMDSTD is not set | ||
245 | # CONFIG_MTD_CFI_STAA is not set | ||
246 | CONFIG_MTD_CFI_UTIL=y | ||
247 | # CONFIG_MTD_RAM is not set | ||
248 | # CONFIG_MTD_ROM is not set | ||
249 | # CONFIG_MTD_ABSENT is not set | ||
250 | # CONFIG_MTD_XIP is not set | ||
251 | |||
252 | # | ||
253 | # Mapping drivers for chip access | ||
254 | # | ||
255 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
256 | # CONFIG_MTD_PHYSMAP is not set | ||
257 | # CONFIG_MTD_ARM_INTEGRATOR is not set | ||
258 | # CONFIG_MTD_EDB7312 is not set | ||
259 | CONFIG_MTD_OMAP_NORv2=y | ||
260 | |||
261 | # | ||
262 | # Self-contained MTD device drivers | ||
263 | # | ||
264 | # CONFIG_MTD_SLRAM is not set | ||
265 | # CONFIG_MTD_PHRAM is not set | ||
266 | # CONFIG_MTD_OMAP_NOR is not set | ||
267 | # CONFIG_MTD_MTDRAM is not set | ||
268 | # CONFIG_MTD_BLKMTD is not set | ||
269 | # CONFIG_MTD_BLOCK2MTD is not set | ||
270 | |||
271 | # | ||
272 | # Disk-On-Chip Device Drivers | ||
273 | # | ||
274 | # CONFIG_MTD_DOC2000 is not set | ||
275 | # CONFIG_MTD_DOC2001 is not set | ||
276 | # CONFIG_MTD_DOC2001PLUS is not set | ||
277 | |||
278 | # | ||
279 | # NAND Flash Device Drivers | ||
280 | # | ||
281 | # CONFIG_MTD_NAND is not set | ||
282 | |||
283 | # | ||
284 | # Plug and Play support | ||
285 | # | ||
286 | |||
287 | # | ||
288 | # Block devices | ||
289 | # | ||
290 | # CONFIG_BLK_DEV_FD is not set | ||
291 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
292 | CONFIG_BLK_DEV_LOOP=y | ||
293 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
294 | # CONFIG_BLK_DEV_NBD is not set | ||
295 | # CONFIG_BLK_DEV_UB is not set | ||
296 | CONFIG_BLK_DEV_RAM=y | ||
297 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
298 | CONFIG_BLK_DEV_RAM_SIZE=8192 | ||
299 | CONFIG_BLK_DEV_INITRD=y | ||
300 | CONFIG_INITRAMFS_SOURCE="" | ||
301 | # CONFIG_CDROM_PKTCDVD is not set | ||
302 | |||
303 | # | ||
304 | # IO Schedulers | ||
305 | # | ||
306 | CONFIG_IOSCHED_NOOP=y | ||
307 | CONFIG_IOSCHED_AS=y | ||
308 | CONFIG_IOSCHED_DEADLINE=y | ||
309 | CONFIG_IOSCHED_CFQ=y | ||
310 | # CONFIG_ATA_OVER_ETH is not set | ||
311 | |||
312 | # | ||
313 | # Multi-device support (RAID and LVM) | ||
314 | # | ||
315 | # CONFIG_MD is not set | ||
316 | |||
317 | # | ||
318 | # Networking support | ||
319 | # | ||
320 | CONFIG_NET=y | ||
321 | |||
322 | # | ||
323 | # Networking options | ||
324 | # | ||
325 | CONFIG_PACKET=m | ||
326 | # CONFIG_PACKET_MMAP is not set | ||
327 | CONFIG_UNIX=y | ||
328 | # CONFIG_NET_KEY is not set | ||
329 | CONFIG_INET=y | ||
330 | CONFIG_IP_MULTICAST=y | ||
331 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
332 | CONFIG_IP_PNP=y | ||
333 | CONFIG_IP_PNP_DHCP=y | ||
334 | CONFIG_IP_PNP_BOOTP=y | ||
335 | # CONFIG_IP_PNP_RARP is not set | ||
336 | # CONFIG_NET_IPIP is not set | ||
337 | # CONFIG_NET_IPGRE is not set | ||
338 | # CONFIG_IP_MROUTE is not set | ||
339 | # CONFIG_ARPD is not set | ||
340 | # CONFIG_SYN_COOKIES is not set | ||
341 | # CONFIG_INET_AH is not set | ||
342 | # CONFIG_INET_ESP is not set | ||
343 | # CONFIG_INET_IPCOMP is not set | ||
344 | # CONFIG_INET_TUNNEL is not set | ||
345 | CONFIG_IP_TCPDIAG=y | ||
346 | # CONFIG_IP_TCPDIAG_IPV6 is not set | ||
347 | # CONFIG_IPV6 is not set | ||
348 | # CONFIG_NETFILTER is not set | ||
349 | |||
350 | # | ||
351 | # SCTP Configuration (EXPERIMENTAL) | ||
352 | # | ||
353 | # CONFIG_IP_SCTP is not set | ||
354 | # CONFIG_ATM is not set | ||
355 | # CONFIG_BRIDGE is not set | ||
356 | # CONFIG_VLAN_8021Q is not set | ||
357 | # CONFIG_DECNET is not set | ||
358 | # CONFIG_LLC2 is not set | ||
359 | # CONFIG_IPX is not set | ||
360 | # CONFIG_ATALK is not set | ||
361 | # CONFIG_X25 is not set | ||
362 | # CONFIG_LAPB is not set | ||
363 | # CONFIG_NET_DIVERT is not set | ||
364 | # CONFIG_ECONET is not set | ||
365 | # CONFIG_WAN_ROUTER is not set | ||
366 | |||
367 | # | ||
368 | # QoS and/or fair queueing | ||
369 | # | ||
370 | # CONFIG_NET_SCHED is not set | ||
371 | # CONFIG_NET_CLS_ROUTE is not set | ||
372 | |||
373 | # | ||
374 | # Network testing | ||
375 | # | ||
376 | # CONFIG_NET_PKTGEN is not set | ||
377 | # CONFIG_NETPOLL is not set | ||
378 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
379 | # CONFIG_HAMRADIO is not set | ||
380 | # CONFIG_IRDA is not set | ||
381 | # CONFIG_BT is not set | ||
382 | CONFIG_NETDEVICES=y | ||
383 | # CONFIG_DUMMY is not set | ||
384 | # CONFIG_BONDING is not set | ||
385 | # CONFIG_EQUALIZER is not set | ||
386 | # CONFIG_TUN is not set | ||
387 | |||
388 | # | ||
389 | # Ethernet (10 or 100Mbit) | ||
390 | # | ||
391 | CONFIG_NET_ETHERNET=y | ||
392 | CONFIG_MII=y | ||
393 | CONFIG_SMC91X=y | ||
394 | |||
395 | # | ||
396 | # Ethernet (1000 Mbit) | ||
397 | # | ||
398 | |||
399 | # | ||
400 | # Ethernet (10000 Mbit) | ||
401 | # | ||
402 | |||
403 | # | ||
404 | # Token Ring devices | ||
405 | # | ||
406 | |||
407 | # | ||
408 | # Wireless LAN (non-hamradio) | ||
409 | # | ||
410 | # CONFIG_NET_RADIO is not set | ||
411 | |||
412 | # | ||
413 | # PCMCIA network device support | ||
414 | # | ||
415 | # CONFIG_NET_PCMCIA is not set | ||
416 | |||
417 | # | ||
418 | # Wan interfaces | ||
419 | # | ||
420 | # CONFIG_WAN is not set | ||
421 | CONFIG_PPP=y | ||
422 | CONFIG_PPP_MULTILINK=y | ||
423 | # CONFIG_PPP_FILTER is not set | ||
424 | # CONFIG_PPP_ASYNC is not set | ||
425 | # CONFIG_PPP_SYNC_TTY is not set | ||
426 | # CONFIG_PPP_DEFLATE is not set | ||
427 | # CONFIG_PPP_BSDCOMP is not set | ||
428 | # CONFIG_PPPOE is not set | ||
429 | # CONFIG_SLIP is not set | ||
430 | # CONFIG_SHAPER is not set | ||
431 | # CONFIG_NETCONSOLE is not set | ||
432 | |||
433 | # | ||
434 | # ATA/ATAPI/MFM/RLL support | ||
435 | # | ||
436 | CONFIG_IDE=m | ||
437 | CONFIG_BLK_DEV_IDE=m | ||
438 | |||
439 | # | ||
440 | # Please see Documentation/ide.txt for help/info on IDE drives | ||
441 | # | ||
442 | # CONFIG_BLK_DEV_IDE_SATA is not set | ||
443 | CONFIG_BLK_DEV_IDEDISK=m | ||
444 | # CONFIG_IDEDISK_MULTI_MODE is not set | ||
445 | CONFIG_BLK_DEV_IDECS=m | ||
446 | # CONFIG_BLK_DEV_IDECD is not set | ||
447 | # CONFIG_BLK_DEV_IDETAPE is not set | ||
448 | # CONFIG_BLK_DEV_IDEFLOPPY is not set | ||
449 | # CONFIG_IDE_TASK_IOCTL is not set | ||
450 | |||
451 | # | ||
452 | # IDE chipset support/bugfixes | ||
453 | # | ||
454 | CONFIG_IDE_GENERIC=m | ||
455 | # CONFIG_IDE_ARM is not set | ||
456 | # CONFIG_BLK_DEV_IDEDMA is not set | ||
457 | # CONFIG_IDEDMA_AUTO is not set | ||
458 | # CONFIG_BLK_DEV_HD is not set | ||
459 | |||
460 | # | ||
461 | # SCSI device support | ||
462 | # | ||
463 | # CONFIG_SCSI is not set | ||
464 | |||
465 | # | ||
466 | # Fusion MPT device support | ||
467 | # | ||
468 | |||
469 | # | ||
470 | # IEEE 1394 (FireWire) support | ||
471 | # | ||
472 | |||
473 | # | ||
474 | # I2O device support | ||
475 | # | ||
476 | |||
477 | # | ||
478 | # ISDN subsystem | ||
479 | # | ||
480 | # CONFIG_ISDN is not set | ||
481 | |||
482 | # | ||
483 | # Input device support | ||
484 | # | ||
485 | CONFIG_INPUT=y | ||
486 | |||
487 | # | ||
488 | # Userland interfaces | ||
489 | # | ||
490 | CONFIG_INPUT_MOUSEDEV=y | ||
491 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | ||
492 | CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 | ||
493 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | ||
494 | # CONFIG_INPUT_JOYDEV is not set | ||
495 | # CONFIG_INPUT_TSDEV is not set | ||
496 | CONFIG_INPUT_EVDEV=y | ||
497 | # CONFIG_INPUT_EVBUG is not set | ||
498 | |||
499 | # | ||
500 | # Input Device Drivers | ||
501 | # | ||
502 | CONFIG_INPUT_KEYBOARD=y | ||
503 | # CONFIG_KEYBOARD_ATKBD is not set | ||
504 | # CONFIG_KEYBOARD_SUNKBD is not set | ||
505 | # CONFIG_KEYBOARD_LKKBD is not set | ||
506 | # CONFIG_KEYBOARD_XTKBD is not set | ||
507 | # CONFIG_KEYBOARD_NEWTON is not set | ||
508 | CONFIG_KEYBOARD_OMAP=y | ||
509 | # CONFIG_INPUT_MOUSE is not set | ||
510 | # CONFIG_INPUT_JOYSTICK is not set | ||
511 | CONFIG_INPUT_TOUCHSCREEN=y | ||
512 | # CONFIG_TOUCHSCREEN_GUNZE is not set | ||
513 | # CONFIG_TOUCHSCREEN_ELO is not set | ||
514 | # CONFIG_TOUCHSCREEN_MTOUCH is not set | ||
515 | # CONFIG_TOUCHSCREEN_MK712 is not set | ||
516 | CONFIG_TOUCHSCREEN_OMAP=y | ||
517 | # CONFIG_INPUT_MISC is not set | ||
518 | |||
519 | # | ||
520 | # Hardware I/O ports | ||
521 | # | ||
522 | CONFIG_SERIO=y | ||
523 | CONFIG_SERIO_SERPORT=y | ||
524 | # CONFIG_SERIO_RAW is not set | ||
525 | # CONFIG_GAMEPORT is not set | ||
526 | CONFIG_SOUND_GAMEPORT=y | ||
527 | |||
528 | # | ||
529 | # Character devices | ||
530 | # | ||
531 | CONFIG_VT=y | ||
532 | CONFIG_VT_CONSOLE=y | ||
533 | CONFIG_HW_CONSOLE=y | ||
534 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
535 | |||
536 | # | ||
537 | # Serial drivers | ||
538 | # | ||
539 | CONFIG_SERIAL_8250=y | ||
540 | CONFIG_SERIAL_8250_CONSOLE=y | ||
541 | # CONFIG_SERIAL_8250_CS is not set | ||
542 | CONFIG_SERIAL_8250_NR_UARTS=4 | ||
543 | # CONFIG_SERIAL_8250_EXTENDED is not set | ||
544 | |||
545 | # | ||
546 | # Non-8250 serial port support | ||
547 | # | ||
548 | CONFIG_SERIAL_CORE=y | ||
549 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
550 | CONFIG_UNIX98_PTYS=y | ||
551 | CONFIG_LEGACY_PTYS=y | ||
552 | CONFIG_LEGACY_PTY_COUNT=256 | ||
553 | |||
554 | # | ||
555 | # IPMI | ||
556 | # | ||
557 | # CONFIG_IPMI_HANDLER is not set | ||
558 | |||
559 | # | ||
560 | # Watchdog Cards | ||
561 | # | ||
562 | # CONFIG_WATCHDOG is not set | ||
563 | # CONFIG_NVRAM is not set | ||
564 | # CONFIG_RTC is not set | ||
565 | CONFIG_OMAP_RTC=y | ||
566 | # CONFIG_DTLK is not set | ||
567 | # CONFIG_R3964 is not set | ||
568 | |||
569 | # | ||
570 | # Ftape, the floppy tape device driver | ||
571 | # | ||
572 | # CONFIG_DRM is not set | ||
573 | |||
574 | # | ||
575 | # PCMCIA character devices | ||
576 | # | ||
577 | # CONFIG_SYNCLINK_CS is not set | ||
578 | # CONFIG_RAW_DRIVER is not set | ||
579 | |||
580 | # | ||
581 | # TPM devices | ||
582 | # | ||
583 | |||
584 | # | ||
585 | # I2C support | ||
586 | # | ||
587 | CONFIG_I2C=y | ||
588 | CONFIG_I2C_CHARDEV=y | ||
589 | |||
590 | # | ||
591 | # I2C Algorithms | ||
592 | # | ||
593 | # CONFIG_I2C_ALGOBIT is not set | ||
594 | # CONFIG_I2C_ALGOPCF is not set | ||
595 | # CONFIG_I2C_ALGOPCA is not set | ||
596 | |||
597 | # | ||
598 | # I2C Hardware Bus support | ||
599 | # | ||
600 | # CONFIG_I2C_ISA is not set | ||
601 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
602 | # CONFIG_I2C_STUB is not set | ||
603 | # CONFIG_I2C_PCA_ISA is not set | ||
604 | CONFIG_I2C_OMAP=y | ||
605 | |||
606 | # | ||
607 | # Hardware Sensors Chip support | ||
608 | # | ||
609 | # CONFIG_I2C_SENSOR is not set | ||
610 | # CONFIG_SENSORS_ADM1021 is not set | ||
611 | # CONFIG_SENSORS_ADM1025 is not set | ||
612 | # CONFIG_SENSORS_ADM1026 is not set | ||
613 | # CONFIG_SENSORS_ADM1031 is not set | ||
614 | # CONFIG_SENSORS_ASB100 is not set | ||
615 | # CONFIG_SENSORS_DS1621 is not set | ||
616 | # CONFIG_SENSORS_FSCHER is not set | ||
617 | # CONFIG_SENSORS_FSCPOS is not set | ||
618 | # CONFIG_SENSORS_GL518SM is not set | ||
619 | # CONFIG_SENSORS_GL520SM is not set | ||
620 | # CONFIG_SENSORS_IT87 is not set | ||
621 | # CONFIG_SENSORS_LM63 is not set | ||
622 | # CONFIG_SENSORS_LM75 is not set | ||
623 | # CONFIG_SENSORS_LM77 is not set | ||
624 | # CONFIG_SENSORS_LM78 is not set | ||
625 | # CONFIG_SENSORS_LM80 is not set | ||
626 | # CONFIG_SENSORS_LM83 is not set | ||
627 | # CONFIG_SENSORS_LM85 is not set | ||
628 | # CONFIG_SENSORS_LM87 is not set | ||
629 | # CONFIG_SENSORS_LM90 is not set | ||
630 | # CONFIG_SENSORS_LM92 is not set | ||
631 | # CONFIG_SENSORS_MAX1619 is not set | ||
632 | # CONFIG_SENSORS_PC87360 is not set | ||
633 | # CONFIG_SENSORS_SMSC47B397 is not set | ||
634 | # CONFIG_SENSORS_SMSC47M1 is not set | ||
635 | # CONFIG_SENSORS_W83781D is not set | ||
636 | # CONFIG_SENSORS_W83L785TS is not set | ||
637 | # CONFIG_SENSORS_W83627HF is not set | ||
638 | |||
639 | # | ||
640 | # Other I2C Chip support | ||
641 | # | ||
642 | # CONFIG_SENSORS_DS1337 is not set | ||
643 | # CONFIG_SENSORS_EEPROM is not set | ||
644 | # CONFIG_SENSORS_PCF8574 is not set | ||
645 | # CONFIG_SENSORS_PCF8591 is not set | ||
646 | # CONFIG_SENSORS_RTC8564 is not set | ||
647 | # CONFIG_ISP1301_OMAP is not set | ||
648 | CONFIG_TPS65010=y | ||
649 | # CONFIG_SENSORS_TLV320AIC23 is not set | ||
650 | # CONFIG_GPIOEXPANDER_OMAP is not set | ||
651 | # CONFIG_I2C_DEBUG_CORE is not set | ||
652 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
653 | # CONFIG_I2C_DEBUG_BUS is not set | ||
654 | # CONFIG_I2C_DEBUG_CHIP is not set | ||
655 | |||
656 | # | ||
657 | # Multimedia devices | ||
658 | # | ||
659 | # CONFIG_VIDEO_DEV is not set | ||
660 | |||
661 | # | ||
662 | # Digital Video Broadcasting Devices | ||
663 | # | ||
664 | # CONFIG_DVB is not set | ||
665 | |||
666 | # | ||
667 | # File systems | ||
668 | # | ||
669 | CONFIG_EXT2_FS=y | ||
670 | # CONFIG_EXT2_FS_XATTR is not set | ||
671 | # CONFIG_EXT3_FS is not set | ||
672 | # CONFIG_JBD is not set | ||
673 | # CONFIG_REISERFS_FS is not set | ||
674 | # CONFIG_JFS_FS is not set | ||
675 | |||
676 | # | ||
677 | # XFS support | ||
678 | # | ||
679 | # CONFIG_XFS_FS is not set | ||
680 | # CONFIG_MINIX_FS is not set | ||
681 | # CONFIG_ROMFS_FS is not set | ||
682 | # CONFIG_QUOTA is not set | ||
683 | CONFIG_DNOTIFY=y | ||
684 | # CONFIG_AUTOFS_FS is not set | ||
685 | # CONFIG_AUTOFS4_FS is not set | ||
686 | |||
687 | # | ||
688 | # CD-ROM/DVD Filesystems | ||
689 | # | ||
690 | # CONFIG_ISO9660_FS is not set | ||
691 | # CONFIG_UDF_FS is not set | ||
692 | |||
693 | # | ||
694 | # DOS/FAT/NT Filesystems | ||
695 | # | ||
696 | CONFIG_FAT_FS=m | ||
697 | CONFIG_MSDOS_FS=m | ||
698 | CONFIG_VFAT_FS=m | ||
699 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
700 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
701 | # CONFIG_NTFS_FS is not set | ||
702 | |||
703 | # | ||
704 | # Pseudo filesystems | ||
705 | # | ||
706 | CONFIG_PROC_FS=y | ||
707 | CONFIG_SYSFS=y | ||
708 | # CONFIG_DEVFS_FS is not set | ||
709 | # CONFIG_DEVPTS_FS_XATTR is not set | ||
710 | # CONFIG_TMPFS is not set | ||
711 | # CONFIG_HUGETLB_PAGE is not set | ||
712 | CONFIG_RAMFS=y | ||
713 | |||
714 | # | ||
715 | # Miscellaneous filesystems | ||
716 | # | ||
717 | # CONFIG_ADFS_FS is not set | ||
718 | # CONFIG_AFFS_FS is not set | ||
719 | # CONFIG_HFS_FS is not set | ||
720 | # CONFIG_HFSPLUS_FS is not set | ||
721 | # CONFIG_BEFS_FS is not set | ||
722 | # CONFIG_BFS_FS is not set | ||
723 | # CONFIG_EFS_FS is not set | ||
724 | # CONFIG_JFFS_FS is not set | ||
725 | CONFIG_JFFS2_FS=y | ||
726 | CONFIG_JFFS2_FS_DEBUG=0 | ||
727 | # CONFIG_JFFS2_FS_NAND is not set | ||
728 | # CONFIG_JFFS2_FS_NOR_ECC is not set | ||
729 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
730 | CONFIG_JFFS2_ZLIB=y | ||
731 | CONFIG_JFFS2_RTIME=y | ||
732 | # CONFIG_JFFS2_RUBIN is not set | ||
733 | # CONFIG_CRAMFS is not set | ||
734 | # CONFIG_VXFS_FS is not set | ||
735 | # CONFIG_HPFS_FS is not set | ||
736 | # CONFIG_QNX4FS_FS is not set | ||
737 | # CONFIG_SYSV_FS is not set | ||
738 | # CONFIG_UFS_FS is not set | ||
739 | |||
740 | # | ||
741 | # Network File Systems | ||
742 | # | ||
743 | CONFIG_NFS_FS=y | ||
744 | CONFIG_NFS_V3=y | ||
745 | # CONFIG_NFS_V4 is not set | ||
746 | # CONFIG_NFS_DIRECTIO is not set | ||
747 | # CONFIG_NFSD is not set | ||
748 | CONFIG_ROOT_NFS=y | ||
749 | CONFIG_LOCKD=y | ||
750 | CONFIG_LOCKD_V4=y | ||
751 | CONFIG_SUNRPC=y | ||
752 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
753 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
754 | # CONFIG_SMB_FS is not set | ||
755 | # CONFIG_CIFS is not set | ||
756 | # CONFIG_NCP_FS is not set | ||
757 | # CONFIG_CODA_FS is not set | ||
758 | # CONFIG_AFS_FS is not set | ||
759 | |||
760 | # | ||
761 | # Partition Types | ||
762 | # | ||
763 | # CONFIG_PARTITION_ADVANCED is not set | ||
764 | CONFIG_MSDOS_PARTITION=y | ||
765 | |||
766 | # | ||
767 | # Native Language Support | ||
768 | # | ||
769 | CONFIG_NLS=m | ||
770 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
771 | CONFIG_NLS_CODEPAGE_437=m | ||
772 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
773 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
774 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
775 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
776 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
777 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
778 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
779 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
780 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
781 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
782 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
783 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
784 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
785 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
786 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
787 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
788 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
789 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
790 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
791 | # CONFIG_NLS_ISO8859_8 is not set | ||
792 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
793 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
794 | # CONFIG_NLS_ASCII is not set | ||
795 | CONFIG_NLS_ISO8859_1=m | ||
796 | # CONFIG_NLS_ISO8859_2 is not set | ||
797 | # CONFIG_NLS_ISO8859_3 is not set | ||
798 | # CONFIG_NLS_ISO8859_4 is not set | ||
799 | # CONFIG_NLS_ISO8859_5 is not set | ||
800 | # CONFIG_NLS_ISO8859_6 is not set | ||
801 | # CONFIG_NLS_ISO8859_7 is not set | ||
802 | # CONFIG_NLS_ISO8859_9 is not set | ||
803 | # CONFIG_NLS_ISO8859_13 is not set | ||
804 | # CONFIG_NLS_ISO8859_14 is not set | ||
805 | # CONFIG_NLS_ISO8859_15 is not set | ||
806 | # CONFIG_NLS_KOI8_R is not set | ||
807 | # CONFIG_NLS_KOI8_U is not set | ||
808 | # CONFIG_NLS_UTF8 is not set | ||
809 | |||
810 | # | ||
811 | # Profiling support | ||
812 | # | ||
813 | # CONFIG_PROFILING is not set | ||
814 | |||
815 | # | ||
816 | # Graphics support | ||
817 | # | ||
818 | CONFIG_FB=m | ||
819 | # CONFIG_FB_CFB_FILLRECT is not set | ||
820 | # CONFIG_FB_CFB_COPYAREA is not set | ||
821 | # CONFIG_FB_CFB_IMAGEBLIT is not set | ||
822 | CONFIG_FB_SOFT_CURSOR=m | ||
823 | # CONFIG_FB_MACMODES is not set | ||
824 | CONFIG_FB_MODE_HELPERS=y | ||
825 | # CONFIG_FB_TILEBLITTING is not set | ||
826 | # CONFIG_FB_S1D13XXX is not set | ||
827 | CONFIG_FB_OMAP=m | ||
828 | CONFIG_FB_OMAP_INTERNAL_LCDC=y | ||
829 | # CONFIG_FB_OMAP_EXTERNAL_LCDC is not set | ||
830 | CONFIG_FB_OMAP_DMA_TUNE=y | ||
831 | # CONFIG_FB_VIRTUAL is not set | ||
832 | |||
833 | # | ||
834 | # Console display driver support | ||
835 | # | ||
836 | # CONFIG_VGA_CONSOLE is not set | ||
837 | CONFIG_DUMMY_CONSOLE=y | ||
838 | CONFIG_FRAMEBUFFER_CONSOLE=m | ||
839 | CONFIG_FONTS=y | ||
840 | CONFIG_FONT_8x8=y | ||
841 | # CONFIG_FONT_8x16 is not set | ||
842 | # CONFIG_FONT_6x11 is not set | ||
843 | # CONFIG_FONT_PEARL_8x8 is not set | ||
844 | # CONFIG_FONT_ACORN_8x8 is not set | ||
845 | # CONFIG_FONT_MINI_4x6 is not set | ||
846 | # CONFIG_FONT_SUN8x16 is not set | ||
847 | # CONFIG_FONT_SUN12x22 is not set | ||
848 | |||
849 | # | ||
850 | # Logo configuration | ||
851 | # | ||
852 | CONFIG_LOGO=y | ||
853 | # CONFIG_LOGO_LINUX_MONO is not set | ||
854 | # CONFIG_LOGO_LINUX_VGA16 is not set | ||
855 | CONFIG_LOGO_LINUX_CLUT224=y | ||
856 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
857 | |||
858 | # | ||
859 | # Sound | ||
860 | # | ||
861 | CONFIG_SOUND=m | ||
862 | |||
863 | # | ||
864 | # Advanced Linux Sound Architecture | ||
865 | # | ||
866 | # CONFIG_SND is not set | ||
867 | |||
868 | # | ||
869 | # Open Sound System | ||
870 | # | ||
871 | # CONFIG_SOUND_PRIME is not set | ||
872 | |||
873 | # | ||
874 | # Misc devices | ||
875 | # | ||
876 | |||
877 | # | ||
878 | # USB support | ||
879 | # | ||
880 | CONFIG_USB_ARCH_HAS_HCD=y | ||
881 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
882 | CONFIG_USB=m | ||
883 | # CONFIG_USB_DEBUG is not set | ||
884 | |||
885 | # | ||
886 | # Miscellaneous USB options | ||
887 | # | ||
888 | CONFIG_USB_DEVICEFS=y | ||
889 | # CONFIG_USB_BANDWIDTH is not set | ||
890 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
891 | # CONFIG_USB_OTG is not set | ||
892 | |||
893 | # | ||
894 | # USB Host Controller Drivers | ||
895 | # | ||
896 | CONFIG_USB_OHCI_HCD=m | ||
897 | # CONFIG_USB_OHCI_BIG_ENDIAN is not set | ||
898 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y | ||
899 | # CONFIG_USB_SL811_HCD is not set | ||
900 | |||
901 | # | ||
902 | # USB Device Class drivers | ||
903 | # | ||
904 | # CONFIG_USB_AUDIO is not set | ||
905 | # CONFIG_USB_BLUETOOTH_TTY is not set | ||
906 | # CONFIG_USB_MIDI is not set | ||
907 | # CONFIG_USB_ACM is not set | ||
908 | # CONFIG_USB_PRINTER is not set | ||
909 | |||
910 | # | ||
911 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information | ||
912 | # | ||
913 | # CONFIG_USB_STORAGE is not set | ||
914 | |||
915 | # | ||
916 | # USB Input Devices | ||
917 | # | ||
918 | # CONFIG_USB_HID is not set | ||
919 | |||
920 | # | ||
921 | # USB HID Boot Protocol drivers | ||
922 | # | ||
923 | # CONFIG_USB_KBD is not set | ||
924 | # CONFIG_USB_MOUSE is not set | ||
925 | # CONFIG_USB_AIPTEK is not set | ||
926 | # CONFIG_USB_WACOM is not set | ||
927 | # CONFIG_USB_KBTAB is not set | ||
928 | # CONFIG_USB_POWERMATE is not set | ||
929 | # CONFIG_USB_MTOUCH is not set | ||
930 | # CONFIG_USB_EGALAX is not set | ||
931 | # CONFIG_USB_XPAD is not set | ||
932 | # CONFIG_USB_ATI_REMOTE is not set | ||
933 | |||
934 | # | ||
935 | # USB Imaging devices | ||
936 | # | ||
937 | # CONFIG_USB_MDC800 is not set | ||
938 | |||
939 | # | ||
940 | # USB Multimedia devices | ||
941 | # | ||
942 | # CONFIG_USB_DABUSB is not set | ||
943 | |||
944 | # | ||
945 | # Video4Linux support is needed for USB Multimedia device support | ||
946 | # | ||
947 | |||
948 | # | ||
949 | # USB Network Adapters | ||
950 | # | ||
951 | # CONFIG_USB_CATC is not set | ||
952 | # CONFIG_USB_KAWETH is not set | ||
953 | # CONFIG_USB_PEGASUS is not set | ||
954 | # CONFIG_USB_RTL8150 is not set | ||
955 | # CONFIG_USB_USBNET is not set | ||
956 | CONFIG_USB_MON=m | ||
957 | |||
958 | # | ||
959 | # USB port drivers | ||
960 | # | ||
961 | |||
962 | # | ||
963 | # USB Serial Converter support | ||
964 | # | ||
965 | # CONFIG_USB_SERIAL is not set | ||
966 | |||
967 | # | ||
968 | # USB Miscellaneous drivers | ||
969 | # | ||
970 | # CONFIG_USB_EMI62 is not set | ||
971 | # CONFIG_USB_EMI26 is not set | ||
972 | # CONFIG_USB_AUERSWALD is not set | ||
973 | # CONFIG_USB_RIO500 is not set | ||
974 | # CONFIG_USB_LEGOTOWER is not set | ||
975 | # CONFIG_USB_LCD is not set | ||
976 | # CONFIG_USB_LED is not set | ||
977 | # CONFIG_USB_CYTHERM is not set | ||
978 | # CONFIG_USB_PHIDGETKIT is not set | ||
979 | # CONFIG_USB_PHIDGETSERVO is not set | ||
980 | # CONFIG_USB_IDMOUSE is not set | ||
981 | # CONFIG_USB_TEST is not set | ||
982 | |||
983 | # | ||
984 | # USB ATM/DSL drivers | ||
985 | # | ||
986 | |||
987 | # | ||
988 | # USB Gadget Support | ||
989 | # | ||
990 | # CONFIG_USB_GADGET is not set | ||
991 | |||
992 | # | ||
993 | # Synchronous Serial Interfaces (SSI) | ||
994 | # | ||
995 | CONFIG_OMAP_UWIRE=y | ||
996 | # CONFIG_OMAP_TSC2101 is not set | ||
997 | |||
998 | # | ||
999 | # MMC/SD Card support | ||
1000 | # | ||
1001 | # CONFIG_MMC is not set | ||
1002 | |||
1003 | # | ||
1004 | # Kernel hacking | ||
1005 | # | ||
1006 | # CONFIG_PRINTK_TIME is not set | ||
1007 | # CONFIG_DEBUG_KERNEL is not set | ||
1008 | CONFIG_LOG_BUF_SHIFT=14 | ||
1009 | CONFIG_DEBUG_BUGVERBOSE=y | ||
1010 | CONFIG_FRAME_POINTER=y | ||
1011 | # CONFIG_DEBUG_USER is not set | ||
1012 | |||
1013 | # | ||
1014 | # Security options | ||
1015 | # | ||
1016 | # CONFIG_KEYS is not set | ||
1017 | # CONFIG_SECURITY is not set | ||
1018 | |||
1019 | # | ||
1020 | # Cryptographic options | ||
1021 | # | ||
1022 | # CONFIG_CRYPTO is not set | ||
1023 | |||
1024 | # | ||
1025 | # Hardware crypto devices | ||
1026 | # | ||
1027 | |||
1028 | # | ||
1029 | # Library routines | ||
1030 | # | ||
1031 | # CONFIG_CRC_CCITT is not set | ||
1032 | CONFIG_CRC32=y | ||
1033 | # CONFIG_LIBCRC32C is not set | ||
1034 | CONFIG_ZLIB_INFLATE=y | ||
1035 | CONFIG_ZLIB_DEFLATE=y | ||
diff --git a/openembedded/packages/linux/linux-omap1_2.6.12-rc2.bb b/openembedded/packages/linux/linux-omap1_2.6.12-rc2.bb deleted file mode 100644 index adac637caf..0000000000 --- a/openembedded/packages/linux/linux-omap1_2.6.12-rc2.bb +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | PR = "r3" | ||
2 | SECTION = "kernel" | ||
3 | DESCRIPTION = "Linux kernel for OMAP processors" | ||
4 | LICENSE = "GPL" | ||
5 | |||
6 | SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.12-rc2.tar.bz2 \ | ||
7 | http://www.muru.com/linux/omap/patches/patch-2.6.12-rc2-omap1.bz2;patch=1 \ | ||
8 | file://defconfig" | ||
9 | |||
10 | |||
11 | S = "${WORKDIR}/linux-2.6.12-rc2" | ||
12 | |||
13 | KERNEL_IMAGETYPE = "vmlinux" | ||
14 | KERNEL_OUTPUT = "arch/${ARCH}/boot/compressed/${KERNEL_IMAGETYPE}" | ||
15 | #KERNEL_CCSUFFIX = "-3.3.4" | ||
16 | |||
17 | #DEPENDS = "uboot" | ||
18 | |||
19 | inherit kernel | ||
20 | |||
21 | python __anonymous () { | ||
22 | import re | ||
23 | host = bb.data.getVar('HOST_SYS', d, 1) | ||
24 | if not re.match('arm.*-linux', host): | ||
25 | raise bb.parse.SkipPackage("incompatible with host %s" % host) | ||
26 | } | ||
27 | |||
28 | |||
29 | do_configure_prepend() { | ||
30 | install -m 0644 ${WORKDIR}/defconfig ${S}/.config | ||
31 | oe_runmake oldconfig | ||
32 | } | ||
33 | |||
34 | do_deploy_omap5912osk() { | ||
35 | install -d ${DEPLOY_DIR}/images | ||
36 | arm-linux-objcopy -O binary -R .note -R .comment -S arch/arm/boot/compressed/vmlinux ${DEPLOY_DIR}/linux.bin | ||
37 | gzip -f -9 ${DEPLOY_DIR}/linux.bin | ||
38 | mkimage -A arm -O linux -T kernel -C gzip -a 0x10c08000 -e 0x10c08000 -n "OE" -d ${DEPLOY_DIR}/linux.bin.gz ${DEPLOY_DIR}/uImage_bb.cc | ||
39 | cp ${DEPLOY_DIR}/uImage_bb.cc /tftpboot | ||
40 | # install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}-${MACHINE}-${DATETIME}.bin | ||
41 | } | ||
42 | |||
43 | |||
44 | do_deploy[dirs] = "${S}" | ||
45 | |||
46 | addtask deploy before do_build after do_compile | ||
diff --git a/openembedded/packages/linux/linux-openzaurus-2.6.16/24-hostap_cs_id.diff b/openembedded/packages/linux/linux-openzaurus-2.6.16/24-hostap_cs_id.diff new file mode 100644 index 0000000000..b90ead9e4f --- /dev/null +++ b/openembedded/packages/linux/linux-openzaurus-2.6.16/24-hostap_cs_id.diff | |||
@@ -0,0 +1,107 @@ | |||
1 | Add more IDs for PCMCIA cards | ||
2 | |||
3 | From: Pavel Roskin <proski@gnu.org> | ||
4 | |||
5 | Add string IDs for cards that were covered by 0x0156,0x0002, which is no | ||
6 | longer used in hostap_cs due to conflict with Orinoco cards. | ||
7 | |||
8 | Also add more IDs for cards that are supported by linux-wlan-ng. Thanks | ||
9 | to Arnold Schulz <arnysch@gmx.net> for providing the list. | ||
10 | |||
11 | Signed-off-by: Pavel Roskin <proski@gnu.org> | ||
12 | --- | ||
13 | |||
14 | drivers/net/wireless/hostap/hostap_cs.c | 46 +++++++++++++++++++++++++++++++ | ||
15 | 1 files changed, 46 insertions(+), 0 deletions(-) | ||
16 | |||
17 | diff --git a/drivers/net/wireless/hostap/hostap_cs.c b/drivers/net/wireless/hostap/hostap_cs.c | ||
18 | index 55bed92..9ac1aec 100644 | ||
19 | --- a/drivers/net/wireless/hostap/hostap_cs.c | ||
20 | +++ b/drivers/net/wireless/hostap/hostap_cs.c | ||
21 | @@ -832,9 +832,11 @@ static int hostap_cs_resume(struct pcmci | ||
22 | static struct pcmcia_device_id hostap_cs_ids[] = { | ||
23 | PCMCIA_DEVICE_MANF_CARD(0x000b, 0x7100), | ||
24 | PCMCIA_DEVICE_MANF_CARD(0x000b, 0x7300), | ||
25 | + PCMCIA_DEVICE_MANF_CARD(0x0089, 0x0002), | ||
26 | PCMCIA_DEVICE_MANF_CARD(0x0101, 0x0777), | ||
27 | PCMCIA_DEVICE_MANF_CARD(0x0126, 0x8000), | ||
28 | PCMCIA_DEVICE_MANF_CARD(0x0138, 0x0002), | ||
29 | + PCMCIA_DEVICE_MANF_CARD(0x01ff, 0x0008), | ||
30 | PCMCIA_DEVICE_MANF_CARD(0x0250, 0x0002), | ||
31 | PCMCIA_DEVICE_MANF_CARD(0x026f, 0x030b), | ||
32 | PCMCIA_DEVICE_MANF_CARD(0x0274, 0x1612), | ||
33 | @@ -844,7 +846,10 @@ static struct pcmcia_device_id hostap_cs | ||
34 | PCMCIA_DEVICE_MANF_CARD(0x02d2, 0x0001), | ||
35 | PCMCIA_DEVICE_MANF_CARD(0x50c2, 0x0001), | ||
36 | PCMCIA_DEVICE_MANF_CARD(0x50c2, 0x7300), | ||
37 | + PCMCIA_DEVICE_MANF_CARD(0x9005, 0x0021), | ||
38 | + PCMCIA_DEVICE_MANF_CARD(0xc001, 0x0008), | ||
39 | PCMCIA_DEVICE_MANF_CARD(0xc00f, 0x0000), | ||
40 | + PCMCIA_DEVICE_MANF_CARD(0xc250, 0x0002), | ||
41 | PCMCIA_DEVICE_MANF_CARD(0xd601, 0x0002), | ||
42 | PCMCIA_DEVICE_MANF_CARD(0xd601, 0x0005), | ||
43 | PCMCIA_DEVICE_MANF_CARD(0xd601, 0x0010), | ||
44 | @@ -862,22 +867,63 @@ static struct pcmcia_device_id hostap_cs | ||
45 | "Addtron", "AWP-100 Wireless PCMCIA", "Version 01.02", | ||
46 | 0xe6ec52ce, 0x08649af2, 0x4b74baa0), | ||
47 | PCMCIA_DEVICE_PROD_ID123( | ||
48 | + "Belkin", "11Mbps Wireless Notebook Network Adapter", | ||
49 | + "Version 01.02", 0x3805a391, 0xad4c7744, 0x4b74baa0), | ||
50 | + PCMCIA_DEVICE_PROD_ID123( | ||
51 | "D", "Link DWL-650 11Mbps WLAN Card", "Version 01.02", | ||
52 | 0x71b18589, 0xb6f1b0ab, 0x4b74baa0), | ||
53 | PCMCIA_DEVICE_PROD_ID123( | ||
54 | "Instant Wireless ", " Network PC CARD", "Version 01.02", | ||
55 | 0x11d901af, 0x6e9bd926, 0x4b74baa0), | ||
56 | PCMCIA_DEVICE_PROD_ID123( | ||
57 | + "Intersil", "PRISM Freedom PCMCIA Adapter", "ISL37100P", | ||
58 | + 0x4b801a17, 0xf222ec2d, 0x630d52b2), | ||
59 | + PCMCIA_DEVICE_PROD_ID123( | ||
60 | + "OEM", "PRISM2 IEEE 802.11 PC-Card", "Version 01.02", | ||
61 | + 0xfea54c90, 0x48f2bdd6, 0x4b74baa0), | ||
62 | + PCMCIA_DEVICE_PROD_ID123( | ||
63 | + "Pretec", "CompactWLAN Card 802.11b", "2.5", | ||
64 | + 0x1cadd3e5, 0xe697636c, 0x7a5bfcf1), | ||
65 | + PCMCIA_DEVICE_PROD_ID123( | ||
66 | "SMC", "SMC2632W", "Version 01.02", | ||
67 | 0xc4f8b18b, 0x474a1f2a, 0x4b74baa0), | ||
68 | + PCMCIA_DEVICE_PROD_ID123( | ||
69 | + "The Linksys Group, Inc.", "Instant Wireless Network PC Card", | ||
70 | + "ISL37300P", 0xa5f472c2, 0x590eb502, 0xc9049a39), | ||
71 | + PCMCIA_DEVICE_PROD_ID123( | ||
72 | + "U.S. Robotics", "IEEE 802.11b PC-CARD", "Version 01.02", | ||
73 | + 0xc7b8df9d, 0x1700d087, 0x4b74baa0), | ||
74 | + PCMCIA_DEVICE_PROD_ID12("ASUS", "802_11b_PC_CARD_25", | ||
75 | + 0x78fc06ee, 0xdb9aa842), | ||
76 | + PCMCIA_DEVICE_PROD_ID12("ASUS", "802_11B_CF_CARD_25", | ||
77 | + 0x78fc06ee, 0x45a50c1e), | ||
78 | PCMCIA_DEVICE_PROD_ID12("BUFFALO", "WLI-CF-S11G", | ||
79 | 0x2decece3, 0x82067c18), | ||
80 | PCMCIA_DEVICE_PROD_ID12("Compaq", "WL200_11Mbps_Wireless_PCI_Card", | ||
81 | 0x54f7c49c, 0x15a75e5b), | ||
82 | + PCMCIA_DEVICE_PROD_ID12("corega K.K.", "Wireless LAN PCC-11", | ||
83 | + 0x5261440f, 0xa6405584), | ||
84 | + PCMCIA_DEVICE_PROD_ID12("corega K.K.", "Wireless LAN PCCA-11", | ||
85 | + 0x5261440f, 0xdf6115f9), | ||
86 | + PCMCIA_DEVICE_PROD_ID12("D", "Link DRC-650 11Mbps WLAN Card", | ||
87 | + 0x71b18589, 0xf144e3ac), | ||
88 | + PCMCIA_DEVICE_PROD_ID12("Digital Data Communications", "WPC-0100", | ||
89 | + 0xfdd73470, 0xe0b6f146), | ||
90 | PCMCIA_DEVICE_PROD_ID12("INTERSIL", "HFA384x/IEEE", | ||
91 | 0x74c5e40d, 0xdb472a18), | ||
92 | + PCMCIA_DEVICE_PROD_ID12("LeArtery", | ||
93 | + "SYNCBYAIR 11Mbps Wireless LAN PC Card", | ||
94 | + 0x7e3b326a, 0x49893e92), | ||
95 | PCMCIA_DEVICE_PROD_ID12("Linksys", "Wireless CompactFlash Card", | ||
96 | 0x0733cc81, 0x0c52f395), | ||
97 | + PCMCIA_DEVICE_PROD_ID12("NETGEAR MA401 Wireless PC", "Card", | ||
98 | + 0xa37434e9, 0x9762e8f1), | ||
99 | + PCMCIA_DEVICE_PROD_ID12("OTC", "Wireless AirEZY 2411-PCC WLAN Card", | ||
100 | + 0x4ac44287, 0x235a6bed), | ||
101 | + PCMCIA_DEVICE_PROD_ID12("PLANEX", "GeoWave/GW-CF110", | ||
102 | + 0x209f40ab, 0xd9715264), | ||
103 | + PCMCIA_DEVICE_PROD_ID12("PLANEX", "GeoWave/GW-NS110", | ||
104 | + 0x209f40ab, 0x46263178), | ||
105 | PCMCIA_DEVICE_PROD_ID12( | ||
106 | "ZoomAir 11Mbps High", "Rate wireless Networking", | ||
107 | 0x273fe3db, 0x32a1eaee), | ||
diff --git a/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-akita b/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-akita index 38281b7cd1..d91cde2bd8 100644 --- a/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-akita +++ b/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-akita | |||
@@ -32,7 +32,7 @@ CONFIG_SYSCTL=y | |||
32 | # CONFIG_IKCONFIG is not set | 32 | # CONFIG_IKCONFIG is not set |
33 | CONFIG_INITRAMFS_SOURCE="" | 33 | CONFIG_INITRAMFS_SOURCE="" |
34 | CONFIG_UID16=y | 34 | CONFIG_UID16=y |
35 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 35 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y |
36 | CONFIG_EMBEDDED=y | 36 | CONFIG_EMBEDDED=y |
37 | CONFIG_KALLSYMS=y | 37 | CONFIG_KALLSYMS=y |
38 | # CONFIG_KALLSYMS_ALL is not set | 38 | # CONFIG_KALLSYMS_ALL is not set |
@@ -294,7 +294,7 @@ CONFIG_IP_NF_QUEUE=m | |||
294 | # | 294 | # |
295 | # IPv6: Netfilter Configuration (EXPERIMENTAL) | 295 | # IPv6: Netfilter Configuration (EXPERIMENTAL) |
296 | # | 296 | # |
297 | CONFIG_IP6_NF_QUEUE=m | 297 | # CONFIG_IP6_NF_QUEUE is not set |
298 | 298 | ||
299 | # | 299 | # |
300 | # DCCP Configuration (EXPERIMENTAL) | 300 | # DCCP Configuration (EXPERIMENTAL) |
@@ -739,7 +739,7 @@ CONFIG_INPUT=y | |||
739 | # | 739 | # |
740 | # Userland interfaces | 740 | # Userland interfaces |
741 | # | 741 | # |
742 | # CONFIG_INPUT_MOUSEDEV is not set | 742 | CONFIG_INPUT_MOUSEDEV=m |
743 | # CONFIG_INPUT_JOYDEV is not set | 743 | # CONFIG_INPUT_JOYDEV is not set |
744 | # CONFIG_INPUT_TSDEV is not set | 744 | # CONFIG_INPUT_TSDEV is not set |
745 | CONFIG_INPUT_EVDEV=y | 745 | CONFIG_INPUT_EVDEV=y |
@@ -943,7 +943,7 @@ CONFIG_DUMMY_CONSOLE=y | |||
943 | CONFIG_FRAMEBUFFER_CONSOLE=y | 943 | CONFIG_FRAMEBUFFER_CONSOLE=y |
944 | CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y | 944 | CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y |
945 | CONFIG_FONTS=y | 945 | CONFIG_FONTS=y |
946 | CONFIG_FONT_8x8=y | 946 | # CONFIG_FONT_8x8 is not set |
947 | CONFIG_FONT_8x16=y | 947 | CONFIG_FONT_8x16=y |
948 | # CONFIG_FONT_6x11 is not set | 948 | # CONFIG_FONT_6x11 is not set |
949 | # CONFIG_FONT_7x14 is not set | 949 | # CONFIG_FONT_7x14 is not set |
@@ -964,6 +964,7 @@ CONFIG_BACKLIGHT_DEVICE=y | |||
964 | CONFIG_LCD_CLASS_DEVICE=y | 964 | CONFIG_LCD_CLASS_DEVICE=y |
965 | CONFIG_LCD_DEVICE=y | 965 | CONFIG_LCD_DEVICE=y |
966 | CONFIG_BACKLIGHT_CORGI=y | 966 | CONFIG_BACKLIGHT_CORGI=y |
967 | # CONFIG_BACKLIGHT_HP680 is not set | ||
967 | 968 | ||
968 | # | 969 | # |
969 | # Sound | 970 | # Sound |
@@ -1335,7 +1336,7 @@ CONFIG_DNOTIFY=y | |||
1335 | # DOS/FAT/NT Filesystems | 1336 | # DOS/FAT/NT Filesystems |
1336 | # | 1337 | # |
1337 | CONFIG_FAT_FS=y | 1338 | CONFIG_FAT_FS=y |
1338 | CONFIG_MSDOS_FS=y | 1339 | # CONFIG_MSDOS_FS is not set |
1339 | CONFIG_VFAT_FS=y | 1340 | CONFIG_VFAT_FS=y |
1340 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | 1341 | CONFIG_FAT_DEFAULT_CODEPAGE=437 |
1341 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | 1342 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" |
@@ -1436,42 +1437,42 @@ CONFIG_MSDOS_PARTITION=y | |||
1436 | CONFIG_NLS=y | 1437 | CONFIG_NLS=y |
1437 | CONFIG_NLS_DEFAULT="cp437" | 1438 | CONFIG_NLS_DEFAULT="cp437" |
1438 | CONFIG_NLS_CODEPAGE_437=y | 1439 | CONFIG_NLS_CODEPAGE_437=y |
1439 | # CONFIG_NLS_CODEPAGE_737 is not set | 1440 | CONFIG_NLS_CODEPAGE_737=m |
1440 | # CONFIG_NLS_CODEPAGE_775 is not set | 1441 | CONFIG_NLS_CODEPAGE_775=m |
1441 | # CONFIG_NLS_CODEPAGE_850 is not set | 1442 | CONFIG_NLS_CODEPAGE_850=m |
1442 | # CONFIG_NLS_CODEPAGE_852 is not set | 1443 | CONFIG_NLS_CODEPAGE_852=m |
1443 | # CONFIG_NLS_CODEPAGE_855 is not set | 1444 | CONFIG_NLS_CODEPAGE_855=m |
1444 | # CONFIG_NLS_CODEPAGE_857 is not set | 1445 | CONFIG_NLS_CODEPAGE_857=m |
1445 | # CONFIG_NLS_CODEPAGE_860 is not set | 1446 | CONFIG_NLS_CODEPAGE_860=m |
1446 | # CONFIG_NLS_CODEPAGE_861 is not set | 1447 | CONFIG_NLS_CODEPAGE_861=m |
1447 | # CONFIG_NLS_CODEPAGE_862 is not set | 1448 | CONFIG_NLS_CODEPAGE_862=m |
1448 | # CONFIG_NLS_CODEPAGE_863 is not set | 1449 | CONFIG_NLS_CODEPAGE_863=m |
1449 | # CONFIG_NLS_CODEPAGE_864 is not set | 1450 | CONFIG_NLS_CODEPAGE_864=m |
1450 | # CONFIG_NLS_CODEPAGE_865 is not set | 1451 | CONFIG_NLS_CODEPAGE_865=m |
1451 | # CONFIG_NLS_CODEPAGE_866 is not set | 1452 | CONFIG_NLS_CODEPAGE_866=m |
1452 | # CONFIG_NLS_CODEPAGE_869 is not set | 1453 | CONFIG_NLS_CODEPAGE_869=m |
1453 | # CONFIG_NLS_CODEPAGE_936 is not set | 1454 | CONFIG_NLS_CODEPAGE_936=m |
1454 | # CONFIG_NLS_CODEPAGE_950 is not set | 1455 | CONFIG_NLS_CODEPAGE_950=m |
1455 | # CONFIG_NLS_CODEPAGE_932 is not set | 1456 | CONFIG_NLS_CODEPAGE_932=m |
1456 | # CONFIG_NLS_CODEPAGE_949 is not set | 1457 | CONFIG_NLS_CODEPAGE_949=m |
1457 | # CONFIG_NLS_CODEPAGE_874 is not set | 1458 | CONFIG_NLS_CODEPAGE_874=m |
1458 | # CONFIG_NLS_ISO8859_8 is not set | 1459 | CONFIG_NLS_ISO8859_8=m |
1459 | # CONFIG_NLS_CODEPAGE_1250 is not set | 1460 | CONFIG_NLS_CODEPAGE_1250=m |
1460 | # CONFIG_NLS_CODEPAGE_1251 is not set | 1461 | CONFIG_NLS_CODEPAGE_1251=m |
1461 | # CONFIG_NLS_ASCII is not set | 1462 | CONFIG_NLS_ASCII=m |
1462 | CONFIG_NLS_ISO8859_1=y | 1463 | CONFIG_NLS_ISO8859_1=y |
1463 | # CONFIG_NLS_ISO8859_2 is not set | 1464 | CONFIG_NLS_ISO8859_2=m |
1464 | # CONFIG_NLS_ISO8859_3 is not set | 1465 | CONFIG_NLS_ISO8859_3=m |
1465 | # CONFIG_NLS_ISO8859_4 is not set | 1466 | CONFIG_NLS_ISO8859_4=m |
1466 | # CONFIG_NLS_ISO8859_5 is not set | 1467 | CONFIG_NLS_ISO8859_5=m |
1467 | # CONFIG_NLS_ISO8859_6 is not set | 1468 | CONFIG_NLS_ISO8859_6=m |
1468 | # CONFIG_NLS_ISO8859_7 is not set | 1469 | CONFIG_NLS_ISO8859_7=m |
1469 | # CONFIG_NLS_ISO8859_9 is not set | 1470 | CONFIG_NLS_ISO8859_9=m |
1470 | # CONFIG_NLS_ISO8859_13 is not set | 1471 | CONFIG_NLS_ISO8859_13=m |
1471 | # CONFIG_NLS_ISO8859_14 is not set | 1472 | CONFIG_NLS_ISO8859_14=m |
1472 | # CONFIG_NLS_ISO8859_15 is not set | 1473 | CONFIG_NLS_ISO8859_15=m |
1473 | # CONFIG_NLS_KOI8_R is not set | 1474 | CONFIG_NLS_KOI8_R=m |
1474 | # CONFIG_NLS_KOI8_U is not set | 1475 | CONFIG_NLS_KOI8_U=m |
1475 | CONFIG_NLS_UTF8=y | 1476 | CONFIG_NLS_UTF8=y |
1476 | 1477 | ||
1477 | # | 1478 | # |
@@ -1491,7 +1492,7 @@ CONFIG_LOG_BUF_SHIFT=14 | |||
1491 | # CONFIG_SCHEDSTATS is not set | 1492 | # CONFIG_SCHEDSTATS is not set |
1492 | # CONFIG_DEBUG_SLAB is not set | 1493 | # CONFIG_DEBUG_SLAB is not set |
1493 | # CONFIG_DEBUG_PREEMPT is not set | 1494 | # CONFIG_DEBUG_PREEMPT is not set |
1494 | CONFIG_DEBUG_MUTEXES=y | 1495 | # CONFIG_DEBUG_MUTEXES is not set |
1495 | # CONFIG_DEBUG_SPINLOCK is not set | 1496 | # CONFIG_DEBUG_SPINLOCK is not set |
1496 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1497 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
1497 | # CONFIG_DEBUG_KOBJECT is not set | 1498 | # CONFIG_DEBUG_KOBJECT is not set |
@@ -1500,7 +1501,7 @@ CONFIG_DEBUG_BUGVERBOSE=y | |||
1500 | # CONFIG_DEBUG_FS is not set | 1501 | # CONFIG_DEBUG_FS is not set |
1501 | # CONFIG_DEBUG_VM is not set | 1502 | # CONFIG_DEBUG_VM is not set |
1502 | CONFIG_FRAME_POINTER=y | 1503 | CONFIG_FRAME_POINTER=y |
1503 | CONFIG_FORCED_INLINING=y | 1504 | # CONFIG_FORCED_INLINING is not set |
1504 | # CONFIG_RCU_TORTURE_TEST is not set | 1505 | # CONFIG_RCU_TORTURE_TEST is not set |
1505 | # CONFIG_DEBUG_USER is not set | 1506 | # CONFIG_DEBUG_USER is not set |
1506 | # CONFIG_DEBUG_WAITQ is not set | 1507 | # CONFIG_DEBUG_WAITQ is not set |
diff --git a/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-c7x0 b/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-c7x0 index 669efab8b5..694a0d5793 100644 --- a/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-c7x0 +++ b/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-c7x0 | |||
@@ -32,7 +32,7 @@ CONFIG_SYSCTL=y | |||
32 | # CONFIG_IKCONFIG is not set | 32 | # CONFIG_IKCONFIG is not set |
33 | CONFIG_INITRAMFS_SOURCE="" | 33 | CONFIG_INITRAMFS_SOURCE="" |
34 | CONFIG_UID16=y | 34 | CONFIG_UID16=y |
35 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 35 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y |
36 | CONFIG_EMBEDDED=y | 36 | CONFIG_EMBEDDED=y |
37 | CONFIG_KALLSYMS=y | 37 | CONFIG_KALLSYMS=y |
38 | # CONFIG_KALLSYMS_ALL is not set | 38 | # CONFIG_KALLSYMS_ALL is not set |
@@ -263,8 +263,8 @@ CONFIG_SYN_COOKIES=y | |||
263 | # CONFIG_INET_ESP is not set | 263 | # CONFIG_INET_ESP is not set |
264 | # CONFIG_INET_IPCOMP is not set | 264 | # CONFIG_INET_IPCOMP is not set |
265 | # CONFIG_INET_TUNNEL is not set | 265 | # CONFIG_INET_TUNNEL is not set |
266 | CONFIG_INET_DIAG=y | 266 | CONFIG_INET_DIAG=m |
267 | CONFIG_INET_TCP_DIAG=y | 267 | CONFIG_INET_TCP_DIAG=m |
268 | # CONFIG_TCP_CONG_ADVANCED is not set | 268 | # CONFIG_TCP_CONG_ADVANCED is not set |
269 | CONFIG_TCP_CONG_BIC=y | 269 | CONFIG_TCP_CONG_BIC=y |
270 | 270 | ||
@@ -307,7 +307,7 @@ CONFIG_IP_NF_QUEUE=m | |||
307 | # | 307 | # |
308 | # IPv6: Netfilter Configuration (EXPERIMENTAL) | 308 | # IPv6: Netfilter Configuration (EXPERIMENTAL) |
309 | # | 309 | # |
310 | CONFIG_IP6_NF_QUEUE=m | 310 | # CONFIG_IP6_NF_QUEUE is not set |
311 | 311 | ||
312 | # | 312 | # |
313 | # DCCP Configuration (EXPERIMENTAL) | 313 | # DCCP Configuration (EXPERIMENTAL) |
@@ -752,7 +752,7 @@ CONFIG_INPUT=y | |||
752 | # | 752 | # |
753 | # Userland interfaces | 753 | # Userland interfaces |
754 | # | 754 | # |
755 | # CONFIG_INPUT_MOUSEDEV is not set | 755 | CONFIG_INPUT_MOUSEDEV=m |
756 | # CONFIG_INPUT_JOYDEV is not set | 756 | # CONFIG_INPUT_JOYDEV is not set |
757 | # CONFIG_INPUT_TSDEV is not set | 757 | # CONFIG_INPUT_TSDEV is not set |
758 | CONFIG_INPUT_EVDEV=y | 758 | CONFIG_INPUT_EVDEV=y |
@@ -977,7 +977,7 @@ CONFIG_DUMMY_CONSOLE=y | |||
977 | CONFIG_FRAMEBUFFER_CONSOLE=y | 977 | CONFIG_FRAMEBUFFER_CONSOLE=y |
978 | # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set | 978 | # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set |
979 | CONFIG_FONTS=y | 979 | CONFIG_FONTS=y |
980 | CONFIG_FONT_8x8=y | 980 | # CONFIG_FONT_8x8 is not set |
981 | CONFIG_FONT_8x16=y | 981 | CONFIG_FONT_8x16=y |
982 | # CONFIG_FONT_6x11 is not set | 982 | # CONFIG_FONT_6x11 is not set |
983 | # CONFIG_FONT_7x14 is not set | 983 | # CONFIG_FONT_7x14 is not set |
@@ -997,6 +997,7 @@ CONFIG_BACKLIGHT_CLASS_DEVICE=y | |||
997 | CONFIG_BACKLIGHT_DEVICE=y | 997 | CONFIG_BACKLIGHT_DEVICE=y |
998 | # CONFIG_LCD_CLASS_DEVICE is not set | 998 | # CONFIG_LCD_CLASS_DEVICE is not set |
999 | CONFIG_BACKLIGHT_CORGI=y | 999 | CONFIG_BACKLIGHT_CORGI=y |
1000 | # CONFIG_BACKLIGHT_HP680 is not set | ||
1000 | 1001 | ||
1001 | # | 1002 | # |
1002 | # Sound | 1003 | # Sound |
@@ -1368,7 +1369,7 @@ CONFIG_DNOTIFY=y | |||
1368 | # DOS/FAT/NT Filesystems | 1369 | # DOS/FAT/NT Filesystems |
1369 | # | 1370 | # |
1370 | CONFIG_FAT_FS=y | 1371 | CONFIG_FAT_FS=y |
1371 | CONFIG_MSDOS_FS=y | 1372 | # CONFIG_MSDOS_FS is not set |
1372 | CONFIG_VFAT_FS=y | 1373 | CONFIG_VFAT_FS=y |
1373 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | 1374 | CONFIG_FAT_DEFAULT_CODEPAGE=437 |
1374 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | 1375 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" |
@@ -1469,42 +1470,42 @@ CONFIG_MSDOS_PARTITION=y | |||
1469 | CONFIG_NLS=y | 1470 | CONFIG_NLS=y |
1470 | CONFIG_NLS_DEFAULT="cp437" | 1471 | CONFIG_NLS_DEFAULT="cp437" |
1471 | CONFIG_NLS_CODEPAGE_437=y | 1472 | CONFIG_NLS_CODEPAGE_437=y |
1472 | # CONFIG_NLS_CODEPAGE_737 is not set | 1473 | CONFIG_NLS_CODEPAGE_737=m |
1473 | # CONFIG_NLS_CODEPAGE_775 is not set | 1474 | CONFIG_NLS_CODEPAGE_775=m |
1474 | # CONFIG_NLS_CODEPAGE_850 is not set | 1475 | CONFIG_NLS_CODEPAGE_850=m |
1475 | # CONFIG_NLS_CODEPAGE_852 is not set | 1476 | CONFIG_NLS_CODEPAGE_852=m |
1476 | # CONFIG_NLS_CODEPAGE_855 is not set | 1477 | CONFIG_NLS_CODEPAGE_855=m |
1477 | # CONFIG_NLS_CODEPAGE_857 is not set | 1478 | CONFIG_NLS_CODEPAGE_857=m |
1478 | # CONFIG_NLS_CODEPAGE_860 is not set | 1479 | CONFIG_NLS_CODEPAGE_860=m |
1479 | # CONFIG_NLS_CODEPAGE_861 is not set | 1480 | CONFIG_NLS_CODEPAGE_861=m |
1480 | # CONFIG_NLS_CODEPAGE_862 is not set | 1481 | CONFIG_NLS_CODEPAGE_862=m |
1481 | # CONFIG_NLS_CODEPAGE_863 is not set | 1482 | CONFIG_NLS_CODEPAGE_863=m |
1482 | # CONFIG_NLS_CODEPAGE_864 is not set | 1483 | CONFIG_NLS_CODEPAGE_864=m |
1483 | # CONFIG_NLS_CODEPAGE_865 is not set | 1484 | CONFIG_NLS_CODEPAGE_865=m |
1484 | # CONFIG_NLS_CODEPAGE_866 is not set | 1485 | CONFIG_NLS_CODEPAGE_866=m |
1485 | # CONFIG_NLS_CODEPAGE_869 is not set | 1486 | CONFIG_NLS_CODEPAGE_869=m |
1486 | # CONFIG_NLS_CODEPAGE_936 is not set | 1487 | CONFIG_NLS_CODEPAGE_936=m |
1487 | # CONFIG_NLS_CODEPAGE_950 is not set | 1488 | CONFIG_NLS_CODEPAGE_950=m |
1488 | # CONFIG_NLS_CODEPAGE_932 is not set | 1489 | CONFIG_NLS_CODEPAGE_932=m |
1489 | # CONFIG_NLS_CODEPAGE_949 is not set | 1490 | CONFIG_NLS_CODEPAGE_949=m |
1490 | # CONFIG_NLS_CODEPAGE_874 is not set | 1491 | CONFIG_NLS_CODEPAGE_874=m |
1491 | # CONFIG_NLS_ISO8859_8 is not set | 1492 | CONFIG_NLS_ISO8859_8=m |
1492 | # CONFIG_NLS_CODEPAGE_1250 is not set | 1493 | CONFIG_NLS_CODEPAGE_1250=m |
1493 | # CONFIG_NLS_CODEPAGE_1251 is not set | 1494 | CONFIG_NLS_CODEPAGE_1251=m |
1494 | # CONFIG_NLS_ASCII is not set | 1495 | CONFIG_NLS_ASCII=m |
1495 | CONFIG_NLS_ISO8859_1=y | 1496 | CONFIG_NLS_ISO8859_1=y |
1496 | # CONFIG_NLS_ISO8859_2 is not set | 1497 | CONFIG_NLS_ISO8859_2=m |
1497 | # CONFIG_NLS_ISO8859_3 is not set | 1498 | CONFIG_NLS_ISO8859_3=m |
1498 | # CONFIG_NLS_ISO8859_4 is not set | 1499 | CONFIG_NLS_ISO8859_4=m |
1499 | # CONFIG_NLS_ISO8859_5 is not set | 1500 | CONFIG_NLS_ISO8859_5=m |
1500 | # CONFIG_NLS_ISO8859_6 is not set | 1501 | CONFIG_NLS_ISO8859_6=m |
1501 | # CONFIG_NLS_ISO8859_7 is not set | 1502 | CONFIG_NLS_ISO8859_7=m |
1502 | # CONFIG_NLS_ISO8859_9 is not set | 1503 | CONFIG_NLS_ISO8859_9=m |
1503 | # CONFIG_NLS_ISO8859_13 is not set | 1504 | CONFIG_NLS_ISO8859_13=m |
1504 | # CONFIG_NLS_ISO8859_14 is not set | 1505 | CONFIG_NLS_ISO8859_14=m |
1505 | # CONFIG_NLS_ISO8859_15 is not set | 1506 | CONFIG_NLS_ISO8859_15=m |
1506 | # CONFIG_NLS_KOI8_R is not set | 1507 | CONFIG_NLS_KOI8_R=m |
1507 | # CONFIG_NLS_KOI8_U is not set | 1508 | CONFIG_NLS_KOI8_U=m |
1508 | CONFIG_NLS_UTF8=y | 1509 | CONFIG_NLS_UTF8=y |
1509 | 1510 | ||
1510 | # | 1511 | # |
@@ -1524,7 +1525,7 @@ CONFIG_DETECT_SOFTLOCKUP=y | |||
1524 | # CONFIG_SCHEDSTATS is not set | 1525 | # CONFIG_SCHEDSTATS is not set |
1525 | # CONFIG_DEBUG_SLAB is not set | 1526 | # CONFIG_DEBUG_SLAB is not set |
1526 | # CONFIG_DEBUG_PREEMPT is not set | 1527 | # CONFIG_DEBUG_PREEMPT is not set |
1527 | CONFIG_DEBUG_MUTEXES=y | 1528 | # CONFIG_DEBUG_MUTEXES is not set |
1528 | # CONFIG_DEBUG_SPINLOCK is not set | 1529 | # CONFIG_DEBUG_SPINLOCK is not set |
1529 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1530 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
1530 | # CONFIG_DEBUG_KOBJECT is not set | 1531 | # CONFIG_DEBUG_KOBJECT is not set |
@@ -1533,13 +1534,12 @@ CONFIG_DEBUG_BUGVERBOSE=y | |||
1533 | # CONFIG_DEBUG_FS is not set | 1534 | # CONFIG_DEBUG_FS is not set |
1534 | # CONFIG_DEBUG_VM is not set | 1535 | # CONFIG_DEBUG_VM is not set |
1535 | CONFIG_FRAME_POINTER=y | 1536 | CONFIG_FRAME_POINTER=y |
1536 | CONFIG_FORCED_INLINING=y | 1537 | # CONFIG_FORCED_INLINING is not set |
1537 | # CONFIG_RCU_TORTURE_TEST is not set | 1538 | # CONFIG_RCU_TORTURE_TEST is not set |
1538 | # CONFIG_DEBUG_USER is not set | 1539 | # CONFIG_DEBUG_USER is not set |
1539 | # CONFIG_DEBUG_WAITQ is not set | 1540 | # CONFIG_DEBUG_WAITQ is not set |
1540 | CONFIG_DEBUG_ERRORS=y | 1541 | CONFIG_DEBUG_ERRORS=y |
1541 | CONFIG_DEBUG_LL=y | 1542 | # CONFIG_DEBUG_LL is not set |
1542 | # CONFIG_DEBUG_ICEDCC is not set | ||
1543 | 1543 | ||
1544 | # | 1544 | # |
1545 | # Security options | 1545 | # Security options |
diff --git a/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-collie b/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-collie index bfc5809f30..1400c2ea69 100644 --- a/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-collie +++ b/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-collie | |||
@@ -1,20 +1,20 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.14-git3 | 3 | # Linux kernel version: 2.6.17-rc1 |
4 | # Thu Nov 3 09:37:28 2005 | 4 | # Wed Apr 19 21:01:15 2006 |
5 | # | 5 | # |
6 | CONFIG_ARM=y | 6 | CONFIG_ARM=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
8 | CONFIG_UID16=y | ||
9 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | 8 | CONFIG_RWSEM_GENERIC_SPINLOCK=y |
9 | CONFIG_GENERIC_HWEIGHT=y | ||
10 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 10 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
11 | CONFIG_ARCH_MTD_XIP=y | ||
12 | CONFIG_VECTORS_BASE=0xffff0000 | ||
11 | 13 | ||
12 | # | 14 | # |
13 | # Code maturity level options | 15 | # Code maturity level options |
14 | # | 16 | # |
15 | CONFIG_EXPERIMENTAL=y | 17 | CONFIG_EXPERIMENTAL=y |
16 | # CONFIG_CLEAN_COMPILE is not set | ||
17 | CONFIG_BROKEN=y | ||
18 | CONFIG_BROKEN_ON_SMP=y | 18 | CONFIG_BROKEN_ON_SMP=y |
19 | CONFIG_LOCK_KERNEL=y | 19 | CONFIG_LOCK_KERNEL=y |
20 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 20 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
@@ -31,27 +31,28 @@ CONFIG_BSD_PROCESS_ACCT=y | |||
31 | # CONFIG_BSD_PROCESS_ACCT_V3 is not set | 31 | # CONFIG_BSD_PROCESS_ACCT_V3 is not set |
32 | CONFIG_SYSCTL=y | 32 | CONFIG_SYSCTL=y |
33 | # CONFIG_AUDIT is not set | 33 | # CONFIG_AUDIT is not set |
34 | CONFIG_HOTPLUG=y | ||
35 | CONFIG_KOBJECT_UEVENT=y | ||
36 | # CONFIG_IKCONFIG is not set | 34 | # CONFIG_IKCONFIG is not set |
35 | # CONFIG_RELAY is not set | ||
37 | CONFIG_INITRAMFS_SOURCE="" | 36 | CONFIG_INITRAMFS_SOURCE="" |
37 | CONFIG_UID16=y | ||
38 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
38 | CONFIG_EMBEDDED=y | 39 | CONFIG_EMBEDDED=y |
39 | CONFIG_KALLSYMS=y | 40 | CONFIG_KALLSYMS=y |
40 | # CONFIG_KALLSYMS_ALL is not set | 41 | # CONFIG_KALLSYMS_ALL is not set |
41 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 42 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
43 | CONFIG_HOTPLUG=y | ||
42 | CONFIG_PRINTK=y | 44 | CONFIG_PRINTK=y |
43 | CONFIG_BUG=y | 45 | CONFIG_BUG=y |
46 | CONFIG_ELF_CORE=y | ||
44 | CONFIG_BASE_FULL=y | 47 | CONFIG_BASE_FULL=y |
45 | CONFIG_FUTEX=y | 48 | CONFIG_FUTEX=y |
46 | CONFIG_EPOLL=y | 49 | CONFIG_EPOLL=y |
47 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
48 | CONFIG_SHMEM=y | 50 | CONFIG_SHMEM=y |
49 | CONFIG_CC_ALIGN_FUNCTIONS=0 | 51 | CONFIG_SLAB=y |
50 | CONFIG_CC_ALIGN_LABELS=0 | 52 | CONFIG_DOUBLEFAULT=y |
51 | CONFIG_CC_ALIGN_LOOPS=0 | ||
52 | CONFIG_CC_ALIGN_JUMPS=0 | ||
53 | # CONFIG_TINY_SHMEM is not set | 53 | # CONFIG_TINY_SHMEM is not set |
54 | CONFIG_BASE_SMALL=0 | 54 | CONFIG_BASE_SMALL=0 |
55 | # CONFIG_SLOB is not set | ||
55 | 56 | ||
56 | # | 57 | # |
57 | # Loadable module support | 58 | # Loadable module support |
@@ -59,24 +60,42 @@ CONFIG_BASE_SMALL=0 | |||
59 | CONFIG_MODULES=y | 60 | CONFIG_MODULES=y |
60 | CONFIG_MODULE_UNLOAD=y | 61 | CONFIG_MODULE_UNLOAD=y |
61 | CONFIG_MODULE_FORCE_UNLOAD=y | 62 | CONFIG_MODULE_FORCE_UNLOAD=y |
62 | CONFIG_OBSOLETE_MODPARM=y | ||
63 | CONFIG_MODVERSIONS=y | 63 | CONFIG_MODVERSIONS=y |
64 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 64 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
65 | CONFIG_KMOD=y | 65 | CONFIG_KMOD=y |
66 | 66 | ||
67 | # | 67 | # |
68 | # Block layer | ||
69 | # | ||
70 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
71 | |||
72 | # | ||
73 | # IO Schedulers | ||
74 | # | ||
75 | CONFIG_IOSCHED_NOOP=y | ||
76 | CONFIG_IOSCHED_AS=y | ||
77 | CONFIG_IOSCHED_DEADLINE=m | ||
78 | CONFIG_IOSCHED_CFQ=m | ||
79 | CONFIG_DEFAULT_AS=y | ||
80 | # CONFIG_DEFAULT_DEADLINE is not set | ||
81 | # CONFIG_DEFAULT_CFQ is not set | ||
82 | # CONFIG_DEFAULT_NOOP is not set | ||
83 | CONFIG_DEFAULT_IOSCHED="anticipatory" | ||
84 | |||
85 | # | ||
68 | # System Type | 86 | # System Type |
69 | # | 87 | # |
70 | # CONFIG_ARCH_CLPS7500 is not set | 88 | # CONFIG_ARCH_CLPS7500 is not set |
71 | # CONFIG_ARCH_CLPS711X is not set | 89 | # CONFIG_ARCH_CLPS711X is not set |
72 | # CONFIG_ARCH_CO285 is not set | 90 | # CONFIG_ARCH_CO285 is not set |
73 | # CONFIG_ARCH_EBSA110 is not set | 91 | # CONFIG_ARCH_EBSA110 is not set |
74 | # CONFIG_ARCH_CAMELOT is not set | 92 | # CONFIG_ARCH_EP93XX is not set |
75 | # CONFIG_ARCH_FOOTBRIDGE is not set | 93 | # CONFIG_ARCH_FOOTBRIDGE is not set |
76 | # CONFIG_ARCH_INTEGRATOR is not set | 94 | # CONFIG_ARCH_INTEGRATOR is not set |
77 | # CONFIG_ARCH_IOP3XX is not set | 95 | # CONFIG_ARCH_IOP3XX is not set |
78 | # CONFIG_ARCH_IXP4XX is not set | 96 | # CONFIG_ARCH_IXP4XX is not set |
79 | # CONFIG_ARCH_IXP2000 is not set | 97 | # CONFIG_ARCH_IXP2000 is not set |
98 | # CONFIG_ARCH_IXP23XX is not set | ||
80 | # CONFIG_ARCH_L7200 is not set | 99 | # CONFIG_ARCH_L7200 is not set |
81 | # CONFIG_ARCH_PXA is not set | 100 | # CONFIG_ARCH_PXA is not set |
82 | # CONFIG_ARCH_RPC is not set | 101 | # CONFIG_ARCH_RPC is not set |
@@ -86,9 +105,11 @@ CONFIG_ARCH_SA1100=y | |||
86 | # CONFIG_ARCH_LH7A40X is not set | 105 | # CONFIG_ARCH_LH7A40X is not set |
87 | # CONFIG_ARCH_OMAP is not set | 106 | # CONFIG_ARCH_OMAP is not set |
88 | # CONFIG_ARCH_VERSATILE is not set | 107 | # CONFIG_ARCH_VERSATILE is not set |
108 | # CONFIG_ARCH_REALVIEW is not set | ||
89 | # CONFIG_ARCH_IMX is not set | 109 | # CONFIG_ARCH_IMX is not set |
90 | # CONFIG_ARCH_H720X is not set | 110 | # CONFIG_ARCH_H720X is not set |
91 | # CONFIG_ARCH_AAEC2000 is not set | 111 | # CONFIG_ARCH_AAEC2000 is not set |
112 | # CONFIG_ARCH_AT91RM9200 is not set | ||
92 | 113 | ||
93 | # | 114 | # |
94 | # SA11x0 Implementations | 115 | # SA11x0 Implementations |
@@ -122,6 +143,7 @@ CONFIG_CPU_TLB_V4WB=y | |||
122 | # | 143 | # |
123 | # Processor Features | 144 | # Processor Features |
124 | # | 145 | # |
146 | CONFIG_KEXEC=y | ||
125 | CONFIG_SHARP_LOCOMO=y | 147 | CONFIG_SHARP_LOCOMO=y |
126 | CONFIG_SHARP_PARAM=y | 148 | CONFIG_SHARP_PARAM=y |
127 | CONFIG_SHARP_SCOOP=y | 149 | CONFIG_SHARP_SCOOP=y |
@@ -130,7 +152,6 @@ CONFIG_SHARP_SCOOP=y | |||
130 | # Bus support | 152 | # Bus support |
131 | # | 153 | # |
132 | CONFIG_ISA=y | 154 | CONFIG_ISA=y |
133 | CONFIG_ISA_DMA_API=y | ||
134 | 155 | ||
135 | # | 156 | # |
136 | # PCCARD (PCMCIA/CardBus) support | 157 | # PCCARD (PCMCIA/CardBus) support |
@@ -151,10 +172,12 @@ CONFIG_PCMCIA_SA1100=y | |||
151 | # | 172 | # |
152 | # Kernel Features | 173 | # Kernel Features |
153 | # | 174 | # |
154 | # CONFIG_SMP is not set | ||
155 | CONFIG_PREEMPT=y | 175 | CONFIG_PREEMPT=y |
156 | CONFIG_NO_IDLE_HZ=y | 176 | CONFIG_NO_IDLE_HZ=y |
177 | CONFIG_HZ=100 | ||
178 | # CONFIG_AEABI is not set | ||
157 | CONFIG_ARCH_DISCONTIGMEM_ENABLE=y | 179 | CONFIG_ARCH_DISCONTIGMEM_ENABLE=y |
180 | CONFIG_NODES_SHIFT=2 | ||
158 | CONFIG_SELECT_MEMORY_MODEL=y | 181 | CONFIG_SELECT_MEMORY_MODEL=y |
159 | # CONFIG_FLATMEM_MANUAL is not set | 182 | # CONFIG_FLATMEM_MANUAL is not set |
160 | CONFIG_DISCONTIGMEM_MANUAL=y | 183 | CONFIG_DISCONTIGMEM_MANUAL=y |
@@ -172,6 +195,7 @@ CONFIG_ALIGNMENT_TRAP=y | |||
172 | # | 195 | # |
173 | CONFIG_ZBOOT_ROM_TEXT=0x0 | 196 | CONFIG_ZBOOT_ROM_TEXT=0x0 |
174 | CONFIG_ZBOOT_ROM_BSS=0x0 | 197 | CONFIG_ZBOOT_ROM_BSS=0x0 |
198 | CONFIG_CMDLINE="console=ttyS0,115200n8 console=tty1 noinitrd root=/dev/mtdblock2 rootfstype=jffs2 mem=32M fbcon=rotate:1 dyntick=enable debug" | ||
175 | # CONFIG_XIP_KERNEL is not set | 199 | # CONFIG_XIP_KERNEL is not set |
176 | 200 | ||
177 | # | 201 | # |
@@ -196,12 +220,13 @@ CONFIG_FPE_NWFPE=y | |||
196 | CONFIG_BINFMT_ELF=y | 220 | CONFIG_BINFMT_ELF=y |
197 | CONFIG_BINFMT_AOUT=m | 221 | CONFIG_BINFMT_AOUT=m |
198 | CONFIG_BINFMT_MISC=m | 222 | CONFIG_BINFMT_MISC=m |
199 | # CONFIG_ARTHUR is not set | ||
200 | 223 | ||
201 | # | 224 | # |
202 | # Power management options | 225 | # Power management options |
203 | # | 226 | # |
204 | CONFIG_PM=y | 227 | CONFIG_PM=y |
228 | # CONFIG_PM_LEGACY is not set | ||
229 | # CONFIG_PM_DEBUG is not set | ||
205 | CONFIG_APM=y | 230 | CONFIG_APM=y |
206 | 231 | ||
207 | # | 232 | # |
@@ -212,6 +237,7 @@ CONFIG_NET=y | |||
212 | # | 237 | # |
213 | # Networking options | 238 | # Networking options |
214 | # | 239 | # |
240 | # CONFIG_NETDEBUG is not set | ||
215 | CONFIG_PACKET=y | 241 | CONFIG_PACKET=y |
216 | CONFIG_PACKET_MMAP=y | 242 | CONFIG_PACKET_MMAP=y |
217 | CONFIG_UNIX=y | 243 | CONFIG_UNIX=y |
@@ -228,12 +254,15 @@ CONFIG_SYN_COOKIES=y | |||
228 | # CONFIG_INET_AH is not set | 254 | # CONFIG_INET_AH is not set |
229 | # CONFIG_INET_ESP is not set | 255 | # CONFIG_INET_ESP is not set |
230 | # CONFIG_INET_IPCOMP is not set | 256 | # CONFIG_INET_IPCOMP is not set |
257 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
231 | # CONFIG_INET_TUNNEL is not set | 258 | # CONFIG_INET_TUNNEL is not set |
232 | CONFIG_INET_DIAG=y | 259 | CONFIG_INET_DIAG=y |
233 | CONFIG_INET_TCP_DIAG=y | 260 | CONFIG_INET_TCP_DIAG=y |
234 | # CONFIG_TCP_CONG_ADVANCED is not set | 261 | # CONFIG_TCP_CONG_ADVANCED is not set |
235 | CONFIG_TCP_CONG_BIC=y | 262 | CONFIG_TCP_CONG_BIC=y |
236 | # CONFIG_IPV6 is not set | 263 | # CONFIG_IPV6 is not set |
264 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
265 | # CONFIG_INET6_TUNNEL is not set | ||
237 | # CONFIG_NETFILTER is not set | 266 | # CONFIG_NETFILTER is not set |
238 | 267 | ||
239 | # | 268 | # |
@@ -245,6 +274,11 @@ CONFIG_TCP_CONG_BIC=y | |||
245 | # SCTP Configuration (EXPERIMENTAL) | 274 | # SCTP Configuration (EXPERIMENTAL) |
246 | # | 275 | # |
247 | # CONFIG_IP_SCTP is not set | 276 | # CONFIG_IP_SCTP is not set |
277 | |||
278 | # | ||
279 | # TIPC Configuration (EXPERIMENTAL) | ||
280 | # | ||
281 | # CONFIG_TIPC is not set | ||
248 | # CONFIG_ATM is not set | 282 | # CONFIG_ATM is not set |
249 | # CONFIG_BRIDGE is not set | 283 | # CONFIG_BRIDGE is not set |
250 | # CONFIG_VLAN_8021Q is not set | 284 | # CONFIG_VLAN_8021Q is not set |
@@ -257,8 +291,11 @@ CONFIG_TCP_CONG_BIC=y | |||
257 | # CONFIG_NET_DIVERT is not set | 291 | # CONFIG_NET_DIVERT is not set |
258 | # CONFIG_ECONET is not set | 292 | # CONFIG_ECONET is not set |
259 | # CONFIG_WAN_ROUTER is not set | 293 | # CONFIG_WAN_ROUTER is not set |
294 | |||
295 | # | ||
296 | # QoS and/or fair queueing | ||
297 | # | ||
260 | # CONFIG_NET_SCHED is not set | 298 | # CONFIG_NET_SCHED is not set |
261 | # CONFIG_NET_CLS_ROUTE is not set | ||
262 | 299 | ||
263 | # | 300 | # |
264 | # Network testing | 301 | # Network testing |
@@ -267,7 +304,13 @@ CONFIG_TCP_CONG_BIC=y | |||
267 | # CONFIG_HAMRADIO is not set | 304 | # CONFIG_HAMRADIO is not set |
268 | # CONFIG_IRDA is not set | 305 | # CONFIG_IRDA is not set |
269 | # CONFIG_BT is not set | 306 | # CONFIG_BT is not set |
270 | # CONFIG_IEEE80211 is not set | 307 | CONFIG_IEEE80211=m |
308 | # CONFIG_IEEE80211_DEBUG is not set | ||
309 | CONFIG_IEEE80211_CRYPT_WEP=m | ||
310 | CONFIG_IEEE80211_CRYPT_CCMP=m | ||
311 | CONFIG_IEEE80211_CRYPT_TKIP=m | ||
312 | # CONFIG_IEEE80211_SOFTMAC is not set | ||
313 | CONFIG_WIRELESS_EXT=y | ||
271 | 314 | ||
272 | # | 315 | # |
273 | # Device Drivers | 316 | # Device Drivers |
@@ -282,6 +325,11 @@ CONFIG_FW_LOADER=y | |||
282 | # CONFIG_DEBUG_DRIVER is not set | 325 | # CONFIG_DEBUG_DRIVER is not set |
283 | 326 | ||
284 | # | 327 | # |
328 | # Connector - unified userspace <-> kernelspace linker | ||
329 | # | ||
330 | # CONFIG_CONNECTOR is not set | ||
331 | |||
332 | # | ||
285 | # Memory Technology Devices (MTD) | 333 | # Memory Technology Devices (MTD) |
286 | # | 334 | # |
287 | CONFIG_MTD=y | 335 | CONFIG_MTD=y |
@@ -300,6 +348,7 @@ CONFIG_MTD_BLOCK=y | |||
300 | # CONFIG_FTL is not set | 348 | # CONFIG_FTL is not set |
301 | # CONFIG_NFTL is not set | 349 | # CONFIG_NFTL is not set |
302 | # CONFIG_INFTL is not set | 350 | # CONFIG_INFTL is not set |
351 | # CONFIG_RFD_FTL is not set | ||
303 | 352 | ||
304 | # | 353 | # |
305 | # RAM/ROM/Flash chip drivers | 354 | # RAM/ROM/Flash chip drivers |
@@ -320,9 +369,7 @@ CONFIG_MTD_CFI_I2=y | |||
320 | # CONFIG_MTD_ROM is not set | 369 | # CONFIG_MTD_ROM is not set |
321 | # CONFIG_MTD_ABSENT is not set | 370 | # CONFIG_MTD_ABSENT is not set |
322 | CONFIG_MTD_OBSOLETE_CHIPS=y | 371 | CONFIG_MTD_OBSOLETE_CHIPS=y |
323 | # CONFIG_MTD_AMDSTD is not set | ||
324 | CONFIG_MTD_SHARP=y | 372 | CONFIG_MTD_SHARP=y |
325 | # CONFIG_MTD_JEDEC is not set | ||
326 | 373 | ||
327 | # | 374 | # |
328 | # Mapping drivers for chip access | 375 | # Mapping drivers for chip access |
@@ -336,7 +383,6 @@ CONFIG_MTD_SHARP=y | |||
336 | # CONFIG_MTD_SLRAM is not set | 383 | # CONFIG_MTD_SLRAM is not set |
337 | # CONFIG_MTD_PHRAM is not set | 384 | # CONFIG_MTD_PHRAM is not set |
338 | # CONFIG_MTD_MTDRAM is not set | 385 | # CONFIG_MTD_MTDRAM is not set |
339 | # CONFIG_MTD_BLKMTD is not set | ||
340 | # CONFIG_MTD_BLOCK2MTD is not set | 386 | # CONFIG_MTD_BLOCK2MTD is not set |
341 | 387 | ||
342 | # | 388 | # |
@@ -352,6 +398,11 @@ CONFIG_MTD_SHARP=y | |||
352 | # CONFIG_MTD_NAND is not set | 398 | # CONFIG_MTD_NAND is not set |
353 | 399 | ||
354 | # | 400 | # |
401 | # OneNAND Flash Device Drivers | ||
402 | # | ||
403 | # CONFIG_MTD_ONENAND is not set | ||
404 | |||
405 | # | ||
355 | # Parallel port support | 406 | # Parallel port support |
356 | # | 407 | # |
357 | # CONFIG_PARPORT is not set | 408 | # CONFIG_PARPORT is not set |
@@ -364,7 +415,6 @@ CONFIG_MTD_SHARP=y | |||
364 | # | 415 | # |
365 | # Block devices | 416 | # Block devices |
366 | # | 417 | # |
367 | # CONFIG_BLK_DEV_XD is not set | ||
368 | # CONFIG_BLK_DEV_COW_COMMON is not set | 418 | # CONFIG_BLK_DEV_COW_COMMON is not set |
369 | CONFIG_BLK_DEV_LOOP=y | 419 | CONFIG_BLK_DEV_LOOP=y |
370 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | 420 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set |
@@ -374,19 +424,6 @@ CONFIG_BLK_DEV_RAM_COUNT=16 | |||
374 | CONFIG_BLK_DEV_RAM_SIZE=1024 | 424 | CONFIG_BLK_DEV_RAM_SIZE=1024 |
375 | CONFIG_BLK_DEV_INITRD=y | 425 | CONFIG_BLK_DEV_INITRD=y |
376 | # CONFIG_CDROM_PKTCDVD is not set | 426 | # CONFIG_CDROM_PKTCDVD is not set |
377 | |||
378 | # | ||
379 | # IO Schedulers | ||
380 | # | ||
381 | CONFIG_IOSCHED_NOOP=y | ||
382 | CONFIG_IOSCHED_AS=y | ||
383 | CONFIG_IOSCHED_DEADLINE=m | ||
384 | CONFIG_IOSCHED_CFQ=m | ||
385 | CONFIG_DEFAULT_AS=y | ||
386 | # CONFIG_DEFAULT_DEADLINE is not set | ||
387 | # CONFIG_DEFAULT_CFQ is not set | ||
388 | # CONFIG_DEFAULT_NOOP is not set | ||
389 | CONFIG_DEFAULT_IOSCHED="anticipatory" | ||
390 | CONFIG_ATA_OVER_ETH=m | 427 | CONFIG_ATA_OVER_ETH=m |
391 | 428 | ||
392 | # | 429 | # |
@@ -413,7 +450,6 @@ CONFIG_ATA_OVER_ETH=m | |||
413 | # | 450 | # |
414 | # IEEE 1394 (FireWire) support | 451 | # IEEE 1394 (FireWire) support |
415 | # | 452 | # |
416 | # CONFIG_IEEE1394 is not set | ||
417 | 453 | ||
418 | # | 454 | # |
419 | # I2O device support | 455 | # I2O device support |
@@ -429,6 +465,11 @@ CONFIG_NETDEVICES=y | |||
429 | CONFIG_TUN=m | 465 | CONFIG_TUN=m |
430 | 466 | ||
431 | # | 467 | # |
468 | # ARCnet devices | ||
469 | # | ||
470 | # CONFIG_ARCNET is not set | ||
471 | |||
472 | # | ||
432 | # PHY device support | 473 | # PHY device support |
433 | # | 474 | # |
434 | # CONFIG_PHYLIB is not set | 475 | # CONFIG_PHYLIB is not set |
@@ -438,8 +479,16 @@ CONFIG_TUN=m | |||
438 | # | 479 | # |
439 | CONFIG_NET_ETHERNET=y | 480 | CONFIG_NET_ETHERNET=y |
440 | CONFIG_MII=m | 481 | CONFIG_MII=m |
482 | # CONFIG_NET_VENDOR_3COM is not set | ||
483 | # CONFIG_NET_VENDOR_SMC is not set | ||
441 | # CONFIG_SMC91X is not set | 484 | # CONFIG_SMC91X is not set |
442 | # CONFIG_DM9000 is not set | 485 | # CONFIG_DM9000 is not set |
486 | # CONFIG_NET_VENDOR_RACAL is not set | ||
487 | # CONFIG_AT1700 is not set | ||
488 | # CONFIG_DEPCA is not set | ||
489 | # CONFIG_HP100 is not set | ||
490 | # CONFIG_NET_ISA is not set | ||
491 | # CONFIG_NET_PCI is not set | ||
443 | 492 | ||
444 | # | 493 | # |
445 | # Ethernet (1000 Mbit) | 494 | # Ethernet (1000 Mbit) |
@@ -452,16 +501,20 @@ CONFIG_MII=m | |||
452 | # | 501 | # |
453 | # Token Ring devices | 502 | # Token Ring devices |
454 | # | 503 | # |
504 | # CONFIG_TR is not set | ||
455 | 505 | ||
456 | # | 506 | # |
457 | # Wireless LAN (non-hamradio) | 507 | # Wireless LAN (non-hamradio) |
458 | # | 508 | # |
459 | CONFIG_NET_RADIO=y | 509 | CONFIG_NET_RADIO=y |
510 | # CONFIG_NET_WIRELESS_RTNETLINK is not set | ||
460 | 511 | ||
461 | # | 512 | # |
462 | # Obsolete Wireless cards support (pre-802.11) | 513 | # Obsolete Wireless cards support (pre-802.11) |
463 | # | 514 | # |
464 | # CONFIG_STRIP is not set | 515 | # CONFIG_STRIP is not set |
516 | # CONFIG_ARLAN is not set | ||
517 | # CONFIG_WAVELAN is not set | ||
465 | # CONFIG_PCMCIA_WAVELAN is not set | 518 | # CONFIG_PCMCIA_WAVELAN is not set |
466 | # CONFIG_PCMCIA_NETWAVE is not set | 519 | # CONFIG_PCMCIA_NETWAVE is not set |
467 | 520 | ||
@@ -485,6 +538,7 @@ CONFIG_PCMCIA_SPECTRUM=m | |||
485 | # CONFIG_PCMCIA_WL3501 is not set | 538 | # CONFIG_PCMCIA_WL3501 is not set |
486 | CONFIG_HOSTAP=m | 539 | CONFIG_HOSTAP=m |
487 | CONFIG_HOSTAP_FIRMWARE=y | 540 | CONFIG_HOSTAP_FIRMWARE=y |
541 | # CONFIG_HOSTAP_FIRMWARE_NVRAM is not set | ||
488 | CONFIG_HOSTAP_CS=m | 542 | CONFIG_HOSTAP_CS=m |
489 | CONFIG_NET_WIRELESS=y | 543 | CONFIG_NET_WIRELESS=y |
490 | 544 | ||
@@ -512,6 +566,7 @@ CONFIG_PPP_ASYNC=m | |||
512 | # CONFIG_PPP_SYNC_TTY is not set | 566 | # CONFIG_PPP_SYNC_TTY is not set |
513 | CONFIG_PPP_DEFLATE=m | 567 | CONFIG_PPP_DEFLATE=m |
514 | CONFIG_PPP_BSDCOMP=m | 568 | CONFIG_PPP_BSDCOMP=m |
569 | # CONFIG_PPP_MPPE is not set | ||
515 | # CONFIG_PPPOE is not set | 570 | # CONFIG_PPPOE is not set |
516 | # CONFIG_SLIP is not set | 571 | # CONFIG_SLIP is not set |
517 | # CONFIG_SHAPER is not set | 572 | # CONFIG_SHAPER is not set |
@@ -519,7 +574,6 @@ CONFIG_PPP_BSDCOMP=m | |||
519 | # CONFIG_NETPOLL is not set | 574 | # CONFIG_NETPOLL is not set |
520 | # CONFIG_NET_POLL_CONTROLLER is not set | 575 | # CONFIG_NET_POLL_CONTROLLER is not set |
521 | 576 | ||
522 | |||
523 | # | 577 | # |
524 | # ISDN subsystem | 578 | # ISDN subsystem |
525 | # | 579 | # |
@@ -533,7 +587,7 @@ CONFIG_INPUT=y | |||
533 | # | 587 | # |
534 | # Userland interfaces | 588 | # Userland interfaces |
535 | # | 589 | # |
536 | # CONFIG_INPUT_MOUSEDEV is not set | 590 | CONFIG_INPUT_MOUSEDEV=m |
537 | # CONFIG_INPUT_JOYDEV is not set | 591 | # CONFIG_INPUT_JOYDEV is not set |
538 | CONFIG_INPUT_TSDEV=y | 592 | CONFIG_INPUT_TSDEV=y |
539 | CONFIG_INPUT_TSDEV_SCREEN_X=240 | 593 | CONFIG_INPUT_TSDEV_SCREEN_X=240 |
@@ -599,7 +653,6 @@ CONFIG_UNIX98_PTYS=y | |||
599 | # | 653 | # |
600 | # CONFIG_WATCHDOG is not set | 654 | # CONFIG_WATCHDOG is not set |
601 | # CONFIG_NVRAM is not set | 655 | # CONFIG_NVRAM is not set |
602 | # CONFIG_SA1100_RTC is not set | ||
603 | # CONFIG_DTLK is not set | 656 | # CONFIG_DTLK is not set |
604 | # CONFIG_R3964 is not set | 657 | # CONFIG_R3964 is not set |
605 | 658 | ||
@@ -611,11 +664,14 @@ CONFIG_UNIX98_PTYS=y | |||
611 | # PCMCIA character devices | 664 | # PCMCIA character devices |
612 | # | 665 | # |
613 | # CONFIG_SYNCLINK_CS is not set | 666 | # CONFIG_SYNCLINK_CS is not set |
667 | # CONFIG_CARDMAN_4000 is not set | ||
668 | # CONFIG_CARDMAN_4040 is not set | ||
614 | # CONFIG_RAW_DRIVER is not set | 669 | # CONFIG_RAW_DRIVER is not set |
615 | 670 | ||
616 | # | 671 | # |
617 | # TPM devices | 672 | # TPM devices |
618 | # | 673 | # |
674 | # CONFIG_TCG_TPM is not set | ||
619 | # CONFIG_TELCLOCK is not set | 675 | # CONFIG_TELCLOCK is not set |
620 | 676 | ||
621 | # | 677 | # |
@@ -648,19 +704,28 @@ CONFIG_I2C_ALGOBIT=m | |||
648 | # CONFIG_SENSORS_PCF8574 is not set | 704 | # CONFIG_SENSORS_PCF8574 is not set |
649 | # CONFIG_SENSORS_PCA9539 is not set | 705 | # CONFIG_SENSORS_PCA9539 is not set |
650 | # CONFIG_SENSORS_PCF8591 is not set | 706 | # CONFIG_SENSORS_PCF8591 is not set |
651 | # CONFIG_SENSORS_RTC8564 is not set | ||
652 | # CONFIG_SENSORS_MAX6875 is not set | 707 | # CONFIG_SENSORS_MAX6875 is not set |
653 | # CONFIG_RTC_X1205_I2C is not set | ||
654 | # CONFIG_MAX7310 is not set | ||
655 | # CONFIG_I2C_DEBUG_CORE is not set | 708 | # CONFIG_I2C_DEBUG_CORE is not set |
656 | # CONFIG_I2C_DEBUG_ALGO is not set | 709 | # CONFIG_I2C_DEBUG_ALGO is not set |
657 | # CONFIG_I2C_DEBUG_BUS is not set | 710 | # CONFIG_I2C_DEBUG_BUS is not set |
658 | # CONFIG_I2C_DEBUG_CHIP is not set | 711 | # CONFIG_I2C_DEBUG_CHIP is not set |
659 | 712 | ||
660 | # | 713 | # |
714 | # SPI support | ||
715 | # | ||
716 | # CONFIG_SPI is not set | ||
717 | # CONFIG_SPI_MASTER is not set | ||
718 | |||
719 | # | ||
720 | # Dallas's 1-wire bus | ||
721 | # | ||
722 | # CONFIG_W1 is not set | ||
723 | |||
724 | # | ||
661 | # Hardware Monitoring support | 725 | # Hardware Monitoring support |
662 | # | 726 | # |
663 | # CONFIG_HWMON is not set | 727 | # CONFIG_HWMON is not set |
728 | # CONFIG_HWMON_VID is not set | ||
664 | 729 | ||
665 | # | 730 | # |
666 | # Misc devices | 731 | # Misc devices |
@@ -672,9 +737,25 @@ CONFIG_I2C_ALGOBIT=m | |||
672 | # CONFIG_MCP_SA11X0 is not set | 737 | # CONFIG_MCP_SA11X0 is not set |
673 | 738 | ||
674 | # | 739 | # |
675 | # SoC drivers | 740 | # Multi-Function Devices |
741 | # | ||
742 | |||
743 | # | ||
744 | # LED devices | ||
745 | # | ||
746 | CONFIG_NEW_LEDS=y | ||
747 | CONFIG_LEDS_CLASS=y | ||
748 | |||
749 | # | ||
750 | # LED drivers | ||
751 | # | ||
752 | CONFIG_LEDS_LOCOMO=y | ||
753 | |||
754 | # | ||
755 | # LED Triggers | ||
676 | # | 756 | # |
677 | # CONFIG_SOC is not set | 757 | CONFIG_LEDS_TRIGGERS=y |
758 | CONFIG_LEDS_TRIGGER_TIMER=y | ||
678 | 759 | ||
679 | # | 760 | # |
680 | # Multimedia devices | 761 | # Multimedia devices |
@@ -688,6 +769,7 @@ CONFIG_VIDEO_DEV=m | |||
688 | # | 769 | # |
689 | # Video Adapters | 770 | # Video Adapters |
690 | # | 771 | # |
772 | # CONFIG_VIDEO_ADV_DEBUG is not set | ||
691 | # CONFIG_VIDEO_PMS is not set | 773 | # CONFIG_VIDEO_PMS is not set |
692 | # CONFIG_VIDEO_CPIA is not set | 774 | # CONFIG_VIDEO_CPIA is not set |
693 | # CONFIG_VIDEO_SAA5246A is not set | 775 | # CONFIG_VIDEO_SAA5246A is not set |
@@ -696,6 +778,19 @@ CONFIG_VIDEO_DEV=m | |||
696 | # CONFIG_VIDEO_OVCAMCHIP is not set | 778 | # CONFIG_VIDEO_OVCAMCHIP is not set |
697 | 779 | ||
698 | # | 780 | # |
781 | # Encoders and Decoders | ||
782 | # | ||
783 | # CONFIG_VIDEO_MSP3400 is not set | ||
784 | # CONFIG_VIDEO_CS53L32A is not set | ||
785 | # CONFIG_VIDEO_WM8775 is not set | ||
786 | # CONFIG_VIDEO_WM8739 is not set | ||
787 | # CONFIG_VIDEO_CX25840 is not set | ||
788 | # CONFIG_VIDEO_SAA711X is not set | ||
789 | # CONFIG_VIDEO_SAA7127 is not set | ||
790 | # CONFIG_VIDEO_UPD64031A is not set | ||
791 | # CONFIG_VIDEO_UPD64083 is not set | ||
792 | |||
793 | # | ||
699 | # Radio Adapters | 794 | # Radio Adapters |
700 | # | 795 | # |
701 | # CONFIG_RADIO_CADET is not set | 796 | # CONFIG_RADIO_CADET is not set |
@@ -724,6 +819,7 @@ CONFIG_FB_CFB_FILLRECT=y | |||
724 | CONFIG_FB_CFB_COPYAREA=y | 819 | CONFIG_FB_CFB_COPYAREA=y |
725 | CONFIG_FB_CFB_IMAGEBLIT=y | 820 | CONFIG_FB_CFB_IMAGEBLIT=y |
726 | # CONFIG_FB_MACMODES is not set | 821 | # CONFIG_FB_MACMODES is not set |
822 | CONFIG_FB_FIRMWARE_EDID=y | ||
727 | CONFIG_FB_MODE_HELPERS=y | 823 | CONFIG_FB_MODE_HELPERS=y |
728 | # CONFIG_FB_TILEBLITTING is not set | 824 | # CONFIG_FB_TILEBLITTING is not set |
729 | CONFIG_FB_SA1100=y | 825 | CONFIG_FB_SA1100=y |
@@ -754,7 +850,11 @@ CONFIG_FONT_8x8=y | |||
754 | # Logo configuration | 850 | # Logo configuration |
755 | # | 851 | # |
756 | # CONFIG_LOGO is not set | 852 | # CONFIG_LOGO is not set |
757 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | 853 | CONFIG_BACKLIGHT_LCD_SUPPORT=y |
854 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | ||
855 | CONFIG_BACKLIGHT_DEVICE=y | ||
856 | # CONFIG_LCD_CLASS_DEVICE is not set | ||
857 | CONFIG_BACKLIGHT_LOCOMO=y | ||
758 | 858 | ||
759 | # | 859 | # |
760 | # Sound | 860 | # Sound |
@@ -766,6 +866,7 @@ CONFIG_FONT_8x8=y | |||
766 | # | 866 | # |
767 | CONFIG_USB_ARCH_HAS_HCD=y | 867 | CONFIG_USB_ARCH_HAS_HCD=y |
768 | # CONFIG_USB_ARCH_HAS_OHCI is not set | 868 | # CONFIG_USB_ARCH_HAS_OHCI is not set |
869 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
769 | # CONFIG_USB is not set | 870 | # CONFIG_USB is not set |
770 | 871 | ||
771 | # | 872 | # |
@@ -779,9 +880,11 @@ CONFIG_USB_GADGET=y | |||
779 | # CONFIG_USB_GADGET_DEBUG_FILES is not set | 880 | # CONFIG_USB_GADGET_DEBUG_FILES is not set |
780 | # CONFIG_USB_GADGET_NET2280 is not set | 881 | # CONFIG_USB_GADGET_NET2280 is not set |
781 | # CONFIG_USB_GADGET_PXA2XX is not set | 882 | # CONFIG_USB_GADGET_PXA2XX is not set |
883 | # CONFIG_USB_GADGET_PXA27X is not set | ||
782 | # CONFIG_USB_GADGET_GOKU is not set | 884 | # CONFIG_USB_GADGET_GOKU is not set |
783 | # CONFIG_USB_GADGET_LH7A40X is not set | 885 | # CONFIG_USB_GADGET_LH7A40X is not set |
784 | # CONFIG_USB_GADGET_OMAP is not set | 886 | # CONFIG_USB_GADGET_OMAP is not set |
887 | # CONFIG_USB_GADGET_AT91 is not set | ||
785 | # CONFIG_USB_GADGET_DUMMY_HCD is not set | 888 | # CONFIG_USB_GADGET_DUMMY_HCD is not set |
786 | # CONFIG_USB_GADGET_DUALSPEED is not set | 889 | # CONFIG_USB_GADGET_DUALSPEED is not set |
787 | 890 | ||
@@ -793,6 +896,7 @@ CONFIG_USB_GADGET=y | |||
793 | # | 896 | # |
794 | # Real Time Clock | 897 | # Real Time Clock |
795 | # | 898 | # |
899 | CONFIG_RTC_LIB=y | ||
796 | CONFIG_RTC_CLASS=y | 900 | CONFIG_RTC_CLASS=y |
797 | CONFIG_RTC_HCTOSYS=y | 901 | CONFIG_RTC_HCTOSYS=y |
798 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | 902 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" |
@@ -810,6 +914,8 @@ CONFIG_RTC_INTF_DEV=y | |||
810 | # CONFIG_RTC_DRV_X1205 is not set | 914 | # CONFIG_RTC_DRV_X1205 is not set |
811 | # CONFIG_RTC_DRV_DS1672 is not set | 915 | # CONFIG_RTC_DRV_DS1672 is not set |
812 | # CONFIG_RTC_DRV_PCF8563 is not set | 916 | # CONFIG_RTC_DRV_PCF8563 is not set |
917 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
918 | # CONFIG_RTC_DRV_M48T86 is not set | ||
813 | CONFIG_RTC_DRV_SA1100=y | 919 | CONFIG_RTC_DRV_SA1100=y |
814 | # CONFIG_RTC_DRV_TEST is not set | 920 | # CONFIG_RTC_DRV_TEST is not set |
815 | 921 | ||
@@ -822,12 +928,12 @@ CONFIG_EXT2_FS_POSIX_ACL=y | |||
822 | CONFIG_EXT2_FS_SECURITY=y | 928 | CONFIG_EXT2_FS_SECURITY=y |
823 | # CONFIG_EXT2_FS_XIP is not set | 929 | # CONFIG_EXT2_FS_XIP is not set |
824 | # CONFIG_EXT3_FS is not set | 930 | # CONFIG_EXT3_FS is not set |
825 | # CONFIG_JBD is not set | ||
826 | CONFIG_FS_MBCACHE=y | 931 | CONFIG_FS_MBCACHE=y |
827 | # CONFIG_REISERFS_FS is not set | 932 | # CONFIG_REISERFS_FS is not set |
828 | # CONFIG_JFS_FS is not set | 933 | # CONFIG_JFS_FS is not set |
829 | CONFIG_FS_POSIX_ACL=y | 934 | CONFIG_FS_POSIX_ACL=y |
830 | # CONFIG_XFS_FS is not set | 935 | # CONFIG_XFS_FS is not set |
936 | # CONFIG_OCFS2_FS is not set | ||
831 | # CONFIG_MINIX_FS is not set | 937 | # CONFIG_MINIX_FS is not set |
832 | CONFIG_ROMFS_FS=y | 938 | CONFIG_ROMFS_FS=y |
833 | CONFIG_INOTIFY=y | 939 | CONFIG_INOTIFY=y |
@@ -859,10 +965,9 @@ CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | |||
859 | CONFIG_PROC_FS=y | 965 | CONFIG_PROC_FS=y |
860 | CONFIG_SYSFS=y | 966 | CONFIG_SYSFS=y |
861 | CONFIG_TMPFS=y | 967 | CONFIG_TMPFS=y |
862 | # CONFIG_HUGETLBFS is not set | ||
863 | # CONFIG_HUGETLB_PAGE is not set | 968 | # CONFIG_HUGETLB_PAGE is not set |
864 | CONFIG_RAMFS=y | 969 | CONFIG_RAMFS=y |
865 | # CONFIG_RELAYFS_FS is not set | 970 | # CONFIG_CONFIGFS_FS is not set |
866 | 971 | ||
867 | # | 972 | # |
868 | # Miscellaneous filesystems | 973 | # Miscellaneous filesystems |
@@ -878,10 +983,10 @@ CONFIG_RAMFS=y | |||
878 | CONFIG_JFFS2_FS=y | 983 | CONFIG_JFFS2_FS=y |
879 | CONFIG_JFFS2_FS_DEBUG=0 | 984 | CONFIG_JFFS2_FS_DEBUG=0 |
880 | CONFIG_JFFS2_FS_WRITEBUFFER=y | 985 | CONFIG_JFFS2_FS_WRITEBUFFER=y |
986 | CONFIG_JFFS2_SUMMARY=y | ||
881 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | 987 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set |
882 | CONFIG_JFFS2_ZLIB=y | 988 | CONFIG_JFFS2_ZLIB=y |
883 | CONFIG_JFFS2_RTIME=y | 989 | CONFIG_JFFS2_RTIME=y |
884 | CONFIG_JFFS2_SUMMARY=y | ||
885 | # CONFIG_JFFS2_RUBIN is not set | 990 | # CONFIG_JFFS2_RUBIN is not set |
886 | CONFIG_CRAMFS=y | 991 | CONFIG_CRAMFS=y |
887 | # CONFIG_VXFS_FS is not set | 992 | # CONFIG_VXFS_FS is not set |
@@ -913,44 +1018,44 @@ CONFIG_MSDOS_PARTITION=y | |||
913 | # | 1018 | # |
914 | CONFIG_NLS=y | 1019 | CONFIG_NLS=y |
915 | CONFIG_NLS_DEFAULT="cp437" | 1020 | CONFIG_NLS_DEFAULT="cp437" |
916 | CONFIG_NLS_CODEPAGE_437=m | 1021 | CONFIG_NLS_CODEPAGE_437=y |
917 | # CONFIG_NLS_CODEPAGE_737 is not set | 1022 | CONFIG_NLS_CODEPAGE_737=m |
918 | # CONFIG_NLS_CODEPAGE_775 is not set | 1023 | CONFIG_NLS_CODEPAGE_775=m |
919 | # CONFIG_NLS_CODEPAGE_850 is not set | 1024 | CONFIG_NLS_CODEPAGE_850=m |
920 | # CONFIG_NLS_CODEPAGE_852 is not set | 1025 | CONFIG_NLS_CODEPAGE_852=m |
921 | # CONFIG_NLS_CODEPAGE_855 is not set | 1026 | CONFIG_NLS_CODEPAGE_855=m |
922 | # CONFIG_NLS_CODEPAGE_857 is not set | 1027 | CONFIG_NLS_CODEPAGE_857=m |
923 | # CONFIG_NLS_CODEPAGE_860 is not set | 1028 | CONFIG_NLS_CODEPAGE_860=m |
924 | # CONFIG_NLS_CODEPAGE_861 is not set | 1029 | CONFIG_NLS_CODEPAGE_861=m |
925 | # CONFIG_NLS_CODEPAGE_862 is not set | 1030 | CONFIG_NLS_CODEPAGE_862=m |
926 | # CONFIG_NLS_CODEPAGE_863 is not set | 1031 | CONFIG_NLS_CODEPAGE_863=m |
927 | # CONFIG_NLS_CODEPAGE_864 is not set | 1032 | CONFIG_NLS_CODEPAGE_864=m |
928 | # CONFIG_NLS_CODEPAGE_865 is not set | 1033 | CONFIG_NLS_CODEPAGE_865=m |
929 | # CONFIG_NLS_CODEPAGE_866 is not set | 1034 | CONFIG_NLS_CODEPAGE_866=m |
930 | # CONFIG_NLS_CODEPAGE_869 is not set | 1035 | CONFIG_NLS_CODEPAGE_869=m |
931 | # CONFIG_NLS_CODEPAGE_936 is not set | 1036 | CONFIG_NLS_CODEPAGE_936=m |
932 | # CONFIG_NLS_CODEPAGE_950 is not set | 1037 | CONFIG_NLS_CODEPAGE_950=m |
933 | # CONFIG_NLS_CODEPAGE_932 is not set | 1038 | CONFIG_NLS_CODEPAGE_932=m |
934 | # CONFIG_NLS_CODEPAGE_949 is not set | 1039 | CONFIG_NLS_CODEPAGE_949=m |
935 | # CONFIG_NLS_CODEPAGE_874 is not set | 1040 | CONFIG_NLS_CODEPAGE_874=m |
936 | # CONFIG_NLS_ISO8859_8 is not set | 1041 | CONFIG_NLS_ISO8859_8=m |
937 | # CONFIG_NLS_CODEPAGE_1250 is not set | 1042 | CONFIG_NLS_CODEPAGE_1250=m |
938 | # CONFIG_NLS_CODEPAGE_1251 is not set | 1043 | CONFIG_NLS_CODEPAGE_1251=m |
939 | # CONFIG_NLS_ASCII is not set | 1044 | CONFIG_NLS_ASCII=m |
940 | CONFIG_NLS_ISO8859_1=m | 1045 | CONFIG_NLS_ISO8859_1=y |
941 | # CONFIG_NLS_ISO8859_2 is not set | 1046 | CONFIG_NLS_ISO8859_2=m |
942 | # CONFIG_NLS_ISO8859_3 is not set | 1047 | CONFIG_NLS_ISO8859_3=m |
943 | # CONFIG_NLS_ISO8859_4 is not set | 1048 | CONFIG_NLS_ISO8859_4=m |
944 | # CONFIG_NLS_ISO8859_5 is not set | 1049 | CONFIG_NLS_ISO8859_5=m |
945 | # CONFIG_NLS_ISO8859_6 is not set | 1050 | CONFIG_NLS_ISO8859_6=m |
946 | # CONFIG_NLS_ISO8859_7 is not set | 1051 | CONFIG_NLS_ISO8859_7=m |
947 | # CONFIG_NLS_ISO8859_9 is not set | 1052 | CONFIG_NLS_ISO8859_9=m |
948 | # CONFIG_NLS_ISO8859_13 is not set | 1053 | CONFIG_NLS_ISO8859_13=m |
949 | # CONFIG_NLS_ISO8859_14 is not set | 1054 | CONFIG_NLS_ISO8859_14=m |
950 | # CONFIG_NLS_ISO8859_15 is not set | 1055 | CONFIG_NLS_ISO8859_15=m |
951 | # CONFIG_NLS_KOI8_R is not set | 1056 | CONFIG_NLS_KOI8_R=m |
952 | # CONFIG_NLS_KOI8_U is not set | 1057 | CONFIG_NLS_KOI8_U=m |
953 | CONFIG_NLS_UTF8=m | 1058 | CONFIG_NLS_UTF8=y |
954 | 1059 | ||
955 | # | 1060 | # |
956 | # Profiling support | 1061 | # Profiling support |
@@ -961,13 +1066,14 @@ CONFIG_NLS_UTF8=m | |||
961 | # Kernel hacking | 1066 | # Kernel hacking |
962 | # | 1067 | # |
963 | # CONFIG_PRINTK_TIME is not set | 1068 | # CONFIG_PRINTK_TIME is not set |
964 | CONFIG_DEBUG_KERNEL=y | ||
965 | CONFIG_MAGIC_SYSRQ=y | 1069 | CONFIG_MAGIC_SYSRQ=y |
1070 | CONFIG_DEBUG_KERNEL=y | ||
966 | CONFIG_LOG_BUF_SHIFT=14 | 1071 | CONFIG_LOG_BUF_SHIFT=14 |
967 | CONFIG_DETECT_SOFTLOCKUP=y | 1072 | CONFIG_DETECT_SOFTLOCKUP=y |
968 | # CONFIG_SCHEDSTATS is not set | 1073 | # CONFIG_SCHEDSTATS is not set |
969 | # CONFIG_DEBUG_SLAB is not set | 1074 | # CONFIG_DEBUG_SLAB is not set |
970 | CONFIG_DEBUG_PREEMPT=y | 1075 | # CONFIG_DEBUG_PREEMPT is not set |
1076 | # CONFIG_DEBUG_MUTEXES is not set | ||
971 | # CONFIG_DEBUG_SPINLOCK is not set | 1077 | # CONFIG_DEBUG_SPINLOCK is not set |
972 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1078 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
973 | # CONFIG_DEBUG_KOBJECT is not set | 1079 | # CONFIG_DEBUG_KOBJECT is not set |
@@ -976,6 +1082,8 @@ CONFIG_DEBUG_PREEMPT=y | |||
976 | # CONFIG_DEBUG_FS is not set | 1082 | # CONFIG_DEBUG_FS is not set |
977 | # CONFIG_DEBUG_VM is not set | 1083 | # CONFIG_DEBUG_VM is not set |
978 | CONFIG_FRAME_POINTER=y | 1084 | CONFIG_FRAME_POINTER=y |
1085 | # CONFIG_UNWIND_INFO is not set | ||
1086 | # CONFIG_FORCED_INLINING is not set | ||
979 | # CONFIG_RCU_TORTURE_TEST is not set | 1087 | # CONFIG_RCU_TORTURE_TEST is not set |
980 | # CONFIG_DEBUG_USER is not set | 1088 | # CONFIG_DEBUG_USER is not set |
981 | # CONFIG_DEBUG_WAITQ is not set | 1089 | # CONFIG_DEBUG_WAITQ is not set |
@@ -991,7 +1099,31 @@ CONFIG_DEBUG_ERRORS=y | |||
991 | # | 1099 | # |
992 | # Cryptographic options | 1100 | # Cryptographic options |
993 | # | 1101 | # |
994 | # CONFIG_CRYPTO is not set | 1102 | CONFIG_CRYPTO=y |
1103 | # CONFIG_CRYPTO_HMAC is not set | ||
1104 | # CONFIG_CRYPTO_NULL is not set | ||
1105 | # CONFIG_CRYPTO_MD4 is not set | ||
1106 | # CONFIG_CRYPTO_MD5 is not set | ||
1107 | # CONFIG_CRYPTO_SHA1 is not set | ||
1108 | # CONFIG_CRYPTO_SHA256 is not set | ||
1109 | # CONFIG_CRYPTO_SHA512 is not set | ||
1110 | # CONFIG_CRYPTO_WP512 is not set | ||
1111 | # CONFIG_CRYPTO_TGR192 is not set | ||
1112 | # CONFIG_CRYPTO_DES is not set | ||
1113 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
1114 | # CONFIG_CRYPTO_TWOFISH is not set | ||
1115 | # CONFIG_CRYPTO_SERPENT is not set | ||
1116 | # CONFIG_CRYPTO_AES is not set | ||
1117 | # CONFIG_CRYPTO_CAST5 is not set | ||
1118 | # CONFIG_CRYPTO_CAST6 is not set | ||
1119 | # CONFIG_CRYPTO_TEA is not set | ||
1120 | CONFIG_CRYPTO_ARC4=m | ||
1121 | # CONFIG_CRYPTO_KHAZAD is not set | ||
1122 | # CONFIG_CRYPTO_ANUBIS is not set | ||
1123 | # CONFIG_CRYPTO_DEFLATE is not set | ||
1124 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
1125 | # CONFIG_CRYPTO_CRC32C is not set | ||
1126 | # CONFIG_CRYPTO_TEST is not set | ||
995 | 1127 | ||
996 | # | 1128 | # |
997 | # Hardware crypto devices | 1129 | # Hardware crypto devices |
@@ -1000,7 +1132,7 @@ CONFIG_DEBUG_ERRORS=y | |||
1000 | # | 1132 | # |
1001 | # Library routines | 1133 | # Library routines |
1002 | # | 1134 | # |
1003 | # CONFIG_CRC_CCITT is not set | 1135 | CONFIG_CRC_CCITT=m |
1004 | # CONFIG_CRC16 is not set | 1136 | # CONFIG_CRC16 is not set |
1005 | CONFIG_CRC32=y | 1137 | CONFIG_CRC32=y |
1006 | # CONFIG_LIBCRC32C is not set | 1138 | # CONFIG_LIBCRC32C is not set |
diff --git a/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-ipaq-pxa270 b/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-ipaq-pxa270 index 9f029a7467..b78ee75a98 100644 --- a/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-ipaq-pxa270 +++ b/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-ipaq-pxa270 | |||
@@ -234,8 +234,8 @@ CONFIG_SYN_COOKIES=y | |||
234 | # CONFIG_INET_ESP is not set | 234 | # CONFIG_INET_ESP is not set |
235 | # CONFIG_INET_IPCOMP is not set | 235 | # CONFIG_INET_IPCOMP is not set |
236 | # CONFIG_INET_TUNNEL is not set | 236 | # CONFIG_INET_TUNNEL is not set |
237 | CONFIG_INET_DIAG=y | 237 | CONFIG_INET_DIAG=m |
238 | CONFIG_INET_TCP_DIAG=y | 238 | CONFIG_INET_TCP_DIAG=m |
239 | # CONFIG_TCP_CONG_ADVANCED is not set | 239 | # CONFIG_TCP_CONG_ADVANCED is not set |
240 | CONFIG_TCP_CONG_BIC=y | 240 | CONFIG_TCP_CONG_BIC=y |
241 | # CONFIG_IPV6 is not set | 241 | # CONFIG_IPV6 is not set |
@@ -816,7 +816,7 @@ CONFIG_DNOTIFY=y | |||
816 | # DOS/FAT/NT Filesystems | 816 | # DOS/FAT/NT Filesystems |
817 | # | 817 | # |
818 | CONFIG_FAT_FS=y | 818 | CONFIG_FAT_FS=y |
819 | CONFIG_MSDOS_FS=y | 819 | # CONFIG_MSDOS_FS is not set |
820 | CONFIG_VFAT_FS=y | 820 | CONFIG_VFAT_FS=y |
821 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | 821 | CONFIG_FAT_DEFAULT_CODEPAGE=437 |
822 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | 822 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" |
diff --git a/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-poodle b/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-poodle index c8c74522bd..5336e66e83 100644 --- a/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-poodle +++ b/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-poodle | |||
@@ -1,19 +1,20 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.15 | 3 | # Linux kernel version: 2.6.17-rc1 |
4 | # Sat Feb 4 16:06:13 2006 | 4 | # Wed Apr 19 21:04:42 2006 |
5 | # | 5 | # |
6 | CONFIG_ARM=y | 6 | CONFIG_ARM=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
8 | CONFIG_UID16=y | ||
9 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | 8 | CONFIG_RWSEM_GENERIC_SPINLOCK=y |
9 | CONFIG_GENERIC_HWEIGHT=y | ||
10 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 10 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
11 | CONFIG_ARCH_MTD_XIP=y | ||
12 | CONFIG_VECTORS_BASE=0xffff0000 | ||
11 | 13 | ||
12 | # | 14 | # |
13 | # Code maturity level options | 15 | # Code maturity level options |
14 | # | 16 | # |
15 | CONFIG_EXPERIMENTAL=y | 17 | CONFIG_EXPERIMENTAL=y |
16 | CONFIG_CLEAN_COMPILE=y | ||
17 | CONFIG_BROKEN_ON_SMP=y | 18 | CONFIG_BROKEN_ON_SMP=y |
18 | CONFIG_LOCK_KERNEL=y | 19 | CONFIG_LOCK_KERNEL=y |
19 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 20 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
@@ -30,27 +31,28 @@ CONFIG_BSD_PROCESS_ACCT=y | |||
30 | # CONFIG_BSD_PROCESS_ACCT_V3 is not set | 31 | # CONFIG_BSD_PROCESS_ACCT_V3 is not set |
31 | CONFIG_SYSCTL=y | 32 | CONFIG_SYSCTL=y |
32 | # CONFIG_AUDIT is not set | 33 | # CONFIG_AUDIT is not set |
33 | CONFIG_HOTPLUG=y | ||
34 | CONFIG_KOBJECT_UEVENT=y | ||
35 | # CONFIG_IKCONFIG is not set | 34 | # CONFIG_IKCONFIG is not set |
35 | # CONFIG_RELAY is not set | ||
36 | CONFIG_INITRAMFS_SOURCE="" | 36 | CONFIG_INITRAMFS_SOURCE="" |
37 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 37 | CONFIG_UID16=y |
38 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
38 | CONFIG_EMBEDDED=y | 39 | CONFIG_EMBEDDED=y |
39 | CONFIG_KALLSYMS=y | 40 | CONFIG_KALLSYMS=y |
40 | # CONFIG_KALLSYMS_ALL is not set | 41 | # CONFIG_KALLSYMS_ALL is not set |
41 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 42 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
43 | CONFIG_HOTPLUG=y | ||
42 | CONFIG_PRINTK=y | 44 | CONFIG_PRINTK=y |
43 | CONFIG_BUG=y | 45 | CONFIG_BUG=y |
46 | CONFIG_ELF_CORE=y | ||
44 | CONFIG_BASE_FULL=y | 47 | CONFIG_BASE_FULL=y |
45 | CONFIG_FUTEX=y | 48 | CONFIG_FUTEX=y |
46 | CONFIG_EPOLL=y | 49 | CONFIG_EPOLL=y |
47 | CONFIG_SHMEM=y | 50 | CONFIG_SHMEM=y |
48 | CONFIG_CC_ALIGN_FUNCTIONS=0 | 51 | CONFIG_SLAB=y |
49 | CONFIG_CC_ALIGN_LABELS=0 | 52 | CONFIG_DOUBLEFAULT=y |
50 | CONFIG_CC_ALIGN_LOOPS=0 | ||
51 | CONFIG_CC_ALIGN_JUMPS=0 | ||
52 | # CONFIG_TINY_SHMEM is not set | 53 | # CONFIG_TINY_SHMEM is not set |
53 | CONFIG_BASE_SMALL=0 | 54 | CONFIG_BASE_SMALL=0 |
55 | # CONFIG_SLOB is not set | ||
54 | 56 | ||
55 | # | 57 | # |
56 | # Loadable module support | 58 | # Loadable module support |
@@ -58,7 +60,6 @@ CONFIG_BASE_SMALL=0 | |||
58 | CONFIG_MODULES=y | 60 | CONFIG_MODULES=y |
59 | CONFIG_MODULE_UNLOAD=y | 61 | CONFIG_MODULE_UNLOAD=y |
60 | CONFIG_MODULE_FORCE_UNLOAD=y | 62 | CONFIG_MODULE_FORCE_UNLOAD=y |
61 | CONFIG_OBSOLETE_MODPARM=y | ||
62 | # CONFIG_MODVERSIONS is not set | 63 | # CONFIG_MODVERSIONS is not set |
63 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 64 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
64 | CONFIG_KMOD=y | 65 | CONFIG_KMOD=y |
@@ -66,6 +67,7 @@ CONFIG_KMOD=y | |||
66 | # | 67 | # |
67 | # Block layer | 68 | # Block layer |
68 | # | 69 | # |
70 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
69 | 71 | ||
70 | # | 72 | # |
71 | # IO Schedulers | 73 | # IO Schedulers |
@@ -87,12 +89,13 @@ CONFIG_DEFAULT_IOSCHED="anticipatory" | |||
87 | # CONFIG_ARCH_CLPS711X is not set | 89 | # CONFIG_ARCH_CLPS711X is not set |
88 | # CONFIG_ARCH_CO285 is not set | 90 | # CONFIG_ARCH_CO285 is not set |
89 | # CONFIG_ARCH_EBSA110 is not set | 91 | # CONFIG_ARCH_EBSA110 is not set |
90 | # CONFIG_ARCH_CAMELOT is not set | 92 | # CONFIG_ARCH_EP93XX is not set |
91 | # CONFIG_ARCH_FOOTBRIDGE is not set | 93 | # CONFIG_ARCH_FOOTBRIDGE is not set |
92 | # CONFIG_ARCH_INTEGRATOR is not set | 94 | # CONFIG_ARCH_INTEGRATOR is not set |
93 | # CONFIG_ARCH_IOP3XX is not set | 95 | # CONFIG_ARCH_IOP3XX is not set |
94 | # CONFIG_ARCH_IXP4XX is not set | 96 | # CONFIG_ARCH_IXP4XX is not set |
95 | # CONFIG_ARCH_IXP2000 is not set | 97 | # CONFIG_ARCH_IXP2000 is not set |
98 | # CONFIG_ARCH_IXP23XX is not set | ||
96 | # CONFIG_ARCH_L7200 is not set | 99 | # CONFIG_ARCH_L7200 is not set |
97 | CONFIG_ARCH_PXA=y | 100 | CONFIG_ARCH_PXA=y |
98 | # CONFIG_ARCH_RPC is not set | 101 | # CONFIG_ARCH_RPC is not set |
@@ -106,11 +109,13 @@ CONFIG_ARCH_PXA=y | |||
106 | # CONFIG_ARCH_IMX is not set | 109 | # CONFIG_ARCH_IMX is not set |
107 | # CONFIG_ARCH_H720X is not set | 110 | # CONFIG_ARCH_H720X is not set |
108 | # CONFIG_ARCH_AAEC2000 is not set | 111 | # CONFIG_ARCH_AAEC2000 is not set |
112 | # CONFIG_ARCH_AT91RM9200 is not set | ||
109 | 113 | ||
110 | # | 114 | # |
111 | # Intel PXA2xx Implementations | 115 | # Intel PXA2xx Implementations |
112 | # | 116 | # |
113 | # CONFIG_ARCH_LUBBOCK is not set | 117 | # CONFIG_ARCH_LUBBOCK is not set |
118 | # CONFIG_MACH_LOGICPD_PXA270 is not set | ||
114 | # CONFIG_MACH_MAINSTONE is not set | 119 | # CONFIG_MACH_MAINSTONE is not set |
115 | # CONFIG_ARCH_PXA_IDP is not set | 120 | # CONFIG_ARCH_PXA_IDP is not set |
116 | CONFIG_PXA_SHARPSL=y | 121 | CONFIG_PXA_SHARPSL=y |
@@ -124,6 +129,7 @@ CONFIG_MACH_POODLE=y | |||
124 | # CONFIG_MACH_TOSA is not set | 129 | # CONFIG_MACH_TOSA is not set |
125 | CONFIG_PXA25x=y | 130 | CONFIG_PXA25x=y |
126 | # CONFIG_PXA_KEYS is not set | 131 | # CONFIG_PXA_KEYS is not set |
132 | CONFIG_PXA_SSP=y | ||
127 | 133 | ||
128 | # | 134 | # |
129 | # Processor Type | 135 | # Processor Type |
@@ -140,6 +146,7 @@ CONFIG_CPU_TLB_V4WBI=y | |||
140 | # | 146 | # |
141 | CONFIG_ARM_THUMB=y | 147 | CONFIG_ARM_THUMB=y |
142 | CONFIG_XSCALE_PMU=y | 148 | CONFIG_XSCALE_PMU=y |
149 | CONFIG_KEXEC=y | ||
143 | CONFIG_SHARP_LOCOMO=y | 150 | CONFIG_SHARP_LOCOMO=y |
144 | CONFIG_SHARP_PARAM=y | 151 | CONFIG_SHARP_PARAM=y |
145 | CONFIG_SHARP_SCOOP=y | 152 | CONFIG_SHARP_SCOOP=y |
@@ -147,7 +154,6 @@ CONFIG_SHARP_SCOOP=y | |||
147 | # | 154 | # |
148 | # Bus support | 155 | # Bus support |
149 | # | 156 | # |
150 | CONFIG_ISA_DMA_API=y | ||
151 | 157 | ||
152 | # | 158 | # |
153 | # PCCARD (PCMCIA/CardBus) support | 159 | # PCCARD (PCMCIA/CardBus) support |
@@ -168,6 +174,8 @@ CONFIG_PCMCIA_PXA2XX=y | |||
168 | # | 174 | # |
169 | CONFIG_PREEMPT=y | 175 | CONFIG_PREEMPT=y |
170 | CONFIG_NO_IDLE_HZ=y | 176 | CONFIG_NO_IDLE_HZ=y |
177 | CONFIG_HZ=100 | ||
178 | # CONFIG_AEABI is not set | ||
171 | # CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set | 179 | # CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set |
172 | CONFIG_SELECT_MEMORY_MODEL=y | 180 | CONFIG_SELECT_MEMORY_MODEL=y |
173 | CONFIG_FLATMEM_MANUAL=y | 181 | CONFIG_FLATMEM_MANUAL=y |
@@ -184,6 +192,7 @@ CONFIG_ALIGNMENT_TRAP=y | |||
184 | # | 192 | # |
185 | CONFIG_ZBOOT_ROM_TEXT=0x0 | 193 | CONFIG_ZBOOT_ROM_TEXT=0x0 |
186 | CONFIG_ZBOOT_ROM_BSS=0x0 | 194 | CONFIG_ZBOOT_ROM_BSS=0x0 |
195 | CONFIG_CMDLINE="console=ttyS0,115200n8 console=tty1 noinitrd root=/dev/mtdblock2 rootfstype=jffs2 mem=32M fbcon=rotate:1 dyntick=enable debug" | ||
187 | # CONFIG_XIP_KERNEL is not set | 196 | # CONFIG_XIP_KERNEL is not set |
188 | 197 | ||
189 | # | 198 | # |
@@ -220,7 +229,6 @@ CONFIG_FPE_NWFPE=y | |||
220 | CONFIG_BINFMT_ELF=y | 229 | CONFIG_BINFMT_ELF=y |
221 | CONFIG_BINFMT_AOUT=m | 230 | CONFIG_BINFMT_AOUT=m |
222 | CONFIG_BINFMT_MISC=m | 231 | CONFIG_BINFMT_MISC=m |
223 | # CONFIG_ARTHUR is not set | ||
224 | 232 | ||
225 | # | 233 | # |
226 | # Power management options | 234 | # Power management options |
@@ -238,6 +246,7 @@ CONFIG_NET=y | |||
238 | # | 246 | # |
239 | # Networking options | 247 | # Networking options |
240 | # | 248 | # |
249 | # CONFIG_NETDEBUG is not set | ||
241 | CONFIG_PACKET=y | 250 | CONFIG_PACKET=y |
242 | CONFIG_PACKET_MMAP=y | 251 | CONFIG_PACKET_MMAP=y |
243 | CONFIG_UNIX=y | 252 | CONFIG_UNIX=y |
@@ -256,9 +265,10 @@ CONFIG_SYN_COOKIES=y | |||
256 | # CONFIG_INET_AH is not set | 265 | # CONFIG_INET_AH is not set |
257 | # CONFIG_INET_ESP is not set | 266 | # CONFIG_INET_ESP is not set |
258 | # CONFIG_INET_IPCOMP is not set | 267 | # CONFIG_INET_IPCOMP is not set |
268 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
259 | # CONFIG_INET_TUNNEL is not set | 269 | # CONFIG_INET_TUNNEL is not set |
260 | CONFIG_INET_DIAG=y | 270 | CONFIG_INET_DIAG=m |
261 | CONFIG_INET_TCP_DIAG=y | 271 | CONFIG_INET_TCP_DIAG=m |
262 | # CONFIG_TCP_CONG_ADVANCED is not set | 272 | # CONFIG_TCP_CONG_ADVANCED is not set |
263 | CONFIG_TCP_CONG_BIC=y | 273 | CONFIG_TCP_CONG_BIC=y |
264 | 274 | ||
@@ -268,9 +278,11 @@ CONFIG_TCP_CONG_BIC=y | |||
268 | # CONFIG_IP_VS is not set | 278 | # CONFIG_IP_VS is not set |
269 | CONFIG_IPV6=m | 279 | CONFIG_IPV6=m |
270 | # CONFIG_IPV6_PRIVACY is not set | 280 | # CONFIG_IPV6_PRIVACY is not set |
281 | # CONFIG_IPV6_ROUTER_PREF is not set | ||
271 | CONFIG_INET6_AH=m | 282 | CONFIG_INET6_AH=m |
272 | CONFIG_INET6_ESP=m | 283 | CONFIG_INET6_ESP=m |
273 | CONFIG_INET6_IPCOMP=m | 284 | CONFIG_INET6_IPCOMP=m |
285 | CONFIG_INET6_XFRM_TUNNEL=m | ||
274 | CONFIG_INET6_TUNNEL=m | 286 | CONFIG_INET6_TUNNEL=m |
275 | CONFIG_IPV6_TUNNEL=m | 287 | CONFIG_IPV6_TUNNEL=m |
276 | CONFIG_NETFILTER=y | 288 | CONFIG_NETFILTER=y |
@@ -280,6 +292,7 @@ CONFIG_NETFILTER=y | |||
280 | # Core Netfilter Configuration | 292 | # Core Netfilter Configuration |
281 | # | 293 | # |
282 | # CONFIG_NETFILTER_NETLINK is not set | 294 | # CONFIG_NETFILTER_NETLINK is not set |
295 | # CONFIG_NETFILTER_XTABLES is not set | ||
283 | 296 | ||
284 | # | 297 | # |
285 | # IP: Netfilter Configuration | 298 | # IP: Netfilter Configuration |
@@ -295,89 +308,13 @@ CONFIG_IP_NF_IRC=m | |||
295 | CONFIG_IP_NF_TFTP=m | 308 | CONFIG_IP_NF_TFTP=m |
296 | CONFIG_IP_NF_AMANDA=m | 309 | CONFIG_IP_NF_AMANDA=m |
297 | # CONFIG_IP_NF_PPTP is not set | 310 | # CONFIG_IP_NF_PPTP is not set |
311 | # CONFIG_IP_NF_H323 is not set | ||
298 | CONFIG_IP_NF_QUEUE=m | 312 | CONFIG_IP_NF_QUEUE=m |
299 | CONFIG_IP_NF_IPTABLES=m | ||
300 | CONFIG_IP_NF_MATCH_LIMIT=m | ||
301 | CONFIG_IP_NF_MATCH_IPRANGE=m | ||
302 | CONFIG_IP_NF_MATCH_MAC=m | ||
303 | CONFIG_IP_NF_MATCH_PKTTYPE=m | ||
304 | CONFIG_IP_NF_MATCH_MARK=m | ||
305 | CONFIG_IP_NF_MATCH_MULTIPORT=m | ||
306 | CONFIG_IP_NF_MATCH_TOS=m | ||
307 | CONFIG_IP_NF_MATCH_RECENT=m | ||
308 | CONFIG_IP_NF_MATCH_ECN=m | ||
309 | CONFIG_IP_NF_MATCH_DSCP=m | ||
310 | CONFIG_IP_NF_MATCH_AH_ESP=m | ||
311 | CONFIG_IP_NF_MATCH_LENGTH=m | ||
312 | CONFIG_IP_NF_MATCH_TTL=m | ||
313 | CONFIG_IP_NF_MATCH_TCPMSS=m | ||
314 | CONFIG_IP_NF_MATCH_HELPER=m | ||
315 | CONFIG_IP_NF_MATCH_STATE=m | ||
316 | CONFIG_IP_NF_MATCH_CONNTRACK=m | ||
317 | CONFIG_IP_NF_MATCH_OWNER=m | ||
318 | CONFIG_IP_NF_MATCH_ADDRTYPE=m | ||
319 | CONFIG_IP_NF_MATCH_REALM=m | ||
320 | CONFIG_IP_NF_MATCH_SCTP=m | ||
321 | # CONFIG_IP_NF_MATCH_DCCP is not set | ||
322 | CONFIG_IP_NF_MATCH_COMMENT=m | ||
323 | CONFIG_IP_NF_MATCH_HASHLIMIT=m | ||
324 | # CONFIG_IP_NF_MATCH_STRING is not set | ||
325 | CONFIG_IP_NF_FILTER=m | ||
326 | # CONFIG_IP_NF_TARGET_REJECT is not set | ||
327 | CONFIG_IP_NF_TARGET_LOG=m | ||
328 | CONFIG_IP_NF_TARGET_ULOG=m | ||
329 | CONFIG_IP_NF_TARGET_TCPMSS=m | ||
330 | # CONFIG_IP_NF_TARGET_NFQUEUE is not set | ||
331 | CONFIG_IP_NF_NAT=m | ||
332 | CONFIG_IP_NF_NAT_NEEDED=y | ||
333 | # CONFIG_IP_NF_TARGET_MASQUERADE is not set | ||
334 | # CONFIG_IP_NF_TARGET_REDIRECT is not set | ||
335 | # CONFIG_IP_NF_TARGET_NETMAP is not set | ||
336 | # CONFIG_IP_NF_TARGET_SAME is not set | ||
337 | # CONFIG_IP_NF_NAT_SNMP_BASIC is not set | ||
338 | CONFIG_IP_NF_NAT_IRC=m | ||
339 | CONFIG_IP_NF_NAT_FTP=m | ||
340 | CONFIG_IP_NF_NAT_TFTP=m | ||
341 | CONFIG_IP_NF_NAT_AMANDA=m | ||
342 | CONFIG_IP_NF_MANGLE=m | ||
343 | # CONFIG_IP_NF_TARGET_TOS is not set | ||
344 | # CONFIG_IP_NF_TARGET_ECN is not set | ||
345 | # CONFIG_IP_NF_TARGET_DSCP is not set | ||
346 | # CONFIG_IP_NF_TARGET_MARK is not set | ||
347 | # CONFIG_IP_NF_TARGET_CLASSIFY is not set | ||
348 | # CONFIG_IP_NF_TARGET_TTL is not set | ||
349 | CONFIG_IP_NF_RAW=m | ||
350 | # CONFIG_IP_NF_TARGET_NOTRACK is not set | ||
351 | CONFIG_IP_NF_ARPTABLES=m | ||
352 | CONFIG_IP_NF_ARPFILTER=m | ||
353 | CONFIG_IP_NF_ARP_MANGLE=m | ||
354 | 313 | ||
355 | # | 314 | # |
356 | # IPv6: Netfilter Configuration (EXPERIMENTAL) | 315 | # IPv6: Netfilter Configuration (EXPERIMENTAL) |
357 | # | 316 | # |
358 | CONFIG_IP6_NF_QUEUE=m | 317 | # CONFIG_IP6_NF_QUEUE is not set |
359 | CONFIG_IP6_NF_IPTABLES=m | ||
360 | CONFIG_IP6_NF_MATCH_LIMIT=m | ||
361 | CONFIG_IP6_NF_MATCH_MAC=m | ||
362 | CONFIG_IP6_NF_MATCH_RT=m | ||
363 | CONFIG_IP6_NF_MATCH_OPTS=m | ||
364 | CONFIG_IP6_NF_MATCH_FRAG=m | ||
365 | CONFIG_IP6_NF_MATCH_HL=m | ||
366 | CONFIG_IP6_NF_MATCH_MULTIPORT=m | ||
367 | CONFIG_IP6_NF_MATCH_OWNER=m | ||
368 | CONFIG_IP6_NF_MATCH_MARK=m | ||
369 | CONFIG_IP6_NF_MATCH_IPV6HEADER=m | ||
370 | CONFIG_IP6_NF_MATCH_AHESP=m | ||
371 | CONFIG_IP6_NF_MATCH_LENGTH=m | ||
372 | CONFIG_IP6_NF_MATCH_EUI64=m | ||
373 | CONFIG_IP6_NF_FILTER=m | ||
374 | # CONFIG_IP6_NF_TARGET_LOG is not set | ||
375 | # CONFIG_IP6_NF_TARGET_REJECT is not set | ||
376 | # CONFIG_IP6_NF_TARGET_NFQUEUE is not set | ||
377 | CONFIG_IP6_NF_MANGLE=m | ||
378 | # CONFIG_IP6_NF_TARGET_MARK is not set | ||
379 | # CONFIG_IP6_NF_TARGET_HL is not set | ||
380 | CONFIG_IP6_NF_RAW=m | ||
381 | 318 | ||
382 | # | 319 | # |
383 | # DCCP Configuration (EXPERIMENTAL) | 320 | # DCCP Configuration (EXPERIMENTAL) |
@@ -388,6 +325,11 @@ CONFIG_IP6_NF_RAW=m | |||
388 | # SCTP Configuration (EXPERIMENTAL) | 325 | # SCTP Configuration (EXPERIMENTAL) |
389 | # | 326 | # |
390 | # CONFIG_IP_SCTP is not set | 327 | # CONFIG_IP_SCTP is not set |
328 | |||
329 | # | ||
330 | # TIPC Configuration (EXPERIMENTAL) | ||
331 | # | ||
332 | # CONFIG_TIPC is not set | ||
391 | # CONFIG_ATM is not set | 333 | # CONFIG_ATM is not set |
392 | # CONFIG_BRIDGE is not set | 334 | # CONFIG_BRIDGE is not set |
393 | # CONFIG_VLAN_8021Q is not set | 335 | # CONFIG_VLAN_8021Q is not set |
@@ -405,7 +347,6 @@ CONFIG_IP6_NF_RAW=m | |||
405 | # QoS and/or fair queueing | 347 | # QoS and/or fair queueing |
406 | # | 348 | # |
407 | # CONFIG_NET_SCHED is not set | 349 | # CONFIG_NET_SCHED is not set |
408 | CONFIG_NET_CLS_ROUTE=y | ||
409 | 350 | ||
410 | # | 351 | # |
411 | # Network testing | 352 | # Network testing |
@@ -456,11 +397,6 @@ CONFIG_IRCOMM=m | |||
456 | # | 397 | # |
457 | # CONFIG_USB_IRDA is not set | 398 | # CONFIG_USB_IRDA is not set |
458 | # CONFIG_SIGMATEL_FIR is not set | 399 | # CONFIG_SIGMATEL_FIR is not set |
459 | # CONFIG_NSC_FIR is not set | ||
460 | # CONFIG_WINBOND_FIR is not set | ||
461 | # CONFIG_SMC_IRCC_FIR is not set | ||
462 | # CONFIG_ALI_FIR is not set | ||
463 | # CONFIG_VIA_FIR is not set | ||
464 | CONFIG_PXA_FICP=m | 400 | CONFIG_PXA_FICP=m |
465 | CONFIG_BT=m | 401 | CONFIG_BT=m |
466 | CONFIG_BT_L2CAP=m | 402 | CONFIG_BT_L2CAP=m |
@@ -493,6 +429,8 @@ CONFIG_IEEE80211=m | |||
493 | CONFIG_IEEE80211_CRYPT_WEP=m | 429 | CONFIG_IEEE80211_CRYPT_WEP=m |
494 | CONFIG_IEEE80211_CRYPT_CCMP=m | 430 | CONFIG_IEEE80211_CRYPT_CCMP=m |
495 | CONFIG_IEEE80211_CRYPT_TKIP=m | 431 | CONFIG_IEEE80211_CRYPT_TKIP=m |
432 | # CONFIG_IEEE80211_SOFTMAC is not set | ||
433 | CONFIG_WIRELESS_EXT=y | ||
496 | 434 | ||
497 | # | 435 | # |
498 | # Device Drivers | 436 | # Device Drivers |
@@ -550,6 +488,7 @@ CONFIG_MTD_CFI_I2=y | |||
550 | # CONFIG_MTD_RAM is not set | 488 | # CONFIG_MTD_RAM is not set |
551 | CONFIG_MTD_ROM=y | 489 | CONFIG_MTD_ROM=y |
552 | # CONFIG_MTD_ABSENT is not set | 490 | # CONFIG_MTD_ABSENT is not set |
491 | # CONFIG_MTD_OBSOLETE_CHIPS is not set | ||
553 | 492 | ||
554 | # | 493 | # |
555 | # Mapping drivers for chip access | 494 | # Mapping drivers for chip access |
@@ -564,7 +503,6 @@ CONFIG_MTD_SHARP_SL=y | |||
564 | # CONFIG_MTD_SLRAM is not set | 503 | # CONFIG_MTD_SLRAM is not set |
565 | # CONFIG_MTD_PHRAM is not set | 504 | # CONFIG_MTD_PHRAM is not set |
566 | # CONFIG_MTD_MTDRAM is not set | 505 | # CONFIG_MTD_MTDRAM is not set |
567 | # CONFIG_MTD_BLKMTD is not set | ||
568 | # CONFIG_MTD_BLOCK2MTD is not set | 506 | # CONFIG_MTD_BLOCK2MTD is not set |
569 | 507 | ||
570 | # | 508 | # |
@@ -608,7 +546,7 @@ CONFIG_BLK_DEV_LOOP=y | |||
608 | # CONFIG_BLK_DEV_NBD is not set | 546 | # CONFIG_BLK_DEV_NBD is not set |
609 | # CONFIG_BLK_DEV_UB is not set | 547 | # CONFIG_BLK_DEV_UB is not set |
610 | # CONFIG_BLK_DEV_RAM is not set | 548 | # CONFIG_BLK_DEV_RAM is not set |
611 | CONFIG_BLK_DEV_RAM_COUNT=16 | 549 | # CONFIG_BLK_DEV_INITRD is not set |
612 | # CONFIG_CDROM_PKTCDVD is not set | 550 | # CONFIG_CDROM_PKTCDVD is not set |
613 | # CONFIG_ATA_OVER_ETH is not set | 551 | # CONFIG_ATA_OVER_ETH is not set |
614 | 552 | ||
@@ -745,6 +683,7 @@ CONFIG_MII=m | |||
745 | # Wireless LAN (non-hamradio) | 683 | # Wireless LAN (non-hamradio) |
746 | # | 684 | # |
747 | CONFIG_NET_RADIO=y | 685 | CONFIG_NET_RADIO=y |
686 | # CONFIG_NET_WIRELESS_RTNETLINK is not set | ||
748 | 687 | ||
749 | # | 688 | # |
750 | # Obsolete Wireless cards support (pre-802.11) | 689 | # Obsolete Wireless cards support (pre-802.11) |
@@ -773,6 +712,7 @@ CONFIG_PCMCIA_SPECTRUM=m | |||
773 | # CONFIG_PCMCIA_WL3501 is not set | 712 | # CONFIG_PCMCIA_WL3501 is not set |
774 | CONFIG_HOSTAP=m | 713 | CONFIG_HOSTAP=m |
775 | CONFIG_HOSTAP_FIRMWARE=y | 714 | CONFIG_HOSTAP_FIRMWARE=y |
715 | # CONFIG_HOSTAP_FIRMWARE_NVRAM is not set | ||
776 | CONFIG_HOSTAP_CS=m | 716 | CONFIG_HOSTAP_CS=m |
777 | CONFIG_NET_WIRELESS=y | 717 | CONFIG_NET_WIRELESS=y |
778 | 718 | ||
@@ -821,7 +761,7 @@ CONFIG_INPUT=y | |||
821 | # | 761 | # |
822 | # Userland interfaces | 762 | # Userland interfaces |
823 | # | 763 | # |
824 | # CONFIG_INPUT_MOUSEDEV is not set | 764 | CONFIG_INPUT_MOUSEDEV=m |
825 | # CONFIG_INPUT_JOYDEV is not set | 765 | # CONFIG_INPUT_JOYDEV is not set |
826 | # CONFIG_INPUT_TSDEV is not set | 766 | # CONFIG_INPUT_TSDEV is not set |
827 | CONFIG_INPUT_EVDEV=y | 767 | CONFIG_INPUT_EVDEV=y |
@@ -840,7 +780,6 @@ CONFIG_KEYBOARD_LOCOMO=y | |||
840 | # CONFIG_KEYBOARD_NEWTON is not set | 780 | # CONFIG_KEYBOARD_NEWTON is not set |
841 | # CONFIG_KEYBOARD_CORGI is not set | 781 | # CONFIG_KEYBOARD_CORGI is not set |
842 | # CONFIG_KEYBOARD_SPITZ is not set | 782 | # CONFIG_KEYBOARD_SPITZ is not set |
843 | # CONFIG_KEYBOARD_TOSA is not set | ||
844 | # CONFIG_INPUT_MOUSE is not set | 783 | # CONFIG_INPUT_MOUSE is not set |
845 | # CONFIG_INPUT_JOYSTICK is not set | 784 | # CONFIG_INPUT_JOYSTICK is not set |
846 | CONFIG_INPUT_TOUCHSCREEN=y | 785 | CONFIG_INPUT_TOUCHSCREEN=y |
@@ -872,6 +811,7 @@ CONFIG_HW_CONSOLE=y | |||
872 | CONFIG_SERIAL_8250=m | 811 | CONFIG_SERIAL_8250=m |
873 | CONFIG_SERIAL_8250_CS=m | 812 | CONFIG_SERIAL_8250_CS=m |
874 | CONFIG_SERIAL_8250_NR_UARTS=4 | 813 | CONFIG_SERIAL_8250_NR_UARTS=4 |
814 | CONFIG_SERIAL_8250_RUNTIME_UARTS=4 | ||
875 | # CONFIG_SERIAL_8250_EXTENDED is not set | 815 | # CONFIG_SERIAL_8250_EXTENDED is not set |
876 | 816 | ||
877 | # | 817 | # |
@@ -894,7 +834,6 @@ CONFIG_UNIX98_PTYS=y | |||
894 | # | 834 | # |
895 | # CONFIG_WATCHDOG is not set | 835 | # CONFIG_WATCHDOG is not set |
896 | # CONFIG_NVRAM is not set | 836 | # CONFIG_NVRAM is not set |
897 | CONFIG_SA1100_RTC=y | ||
898 | # CONFIG_DTLK is not set | 837 | # CONFIG_DTLK is not set |
899 | # CONFIG_R3964 is not set | 838 | # CONFIG_R3964 is not set |
900 | 839 | ||
@@ -947,15 +886,24 @@ CONFIG_I2C_PXA=y | |||
947 | # CONFIG_SENSORS_PCF8574 is not set | 886 | # CONFIG_SENSORS_PCF8574 is not set |
948 | # CONFIG_SENSORS_PCA9539 is not set | 887 | # CONFIG_SENSORS_PCA9539 is not set |
949 | # CONFIG_SENSORS_PCF8591 is not set | 888 | # CONFIG_SENSORS_PCF8591 is not set |
950 | # CONFIG_SENSORS_RTC8564 is not set | ||
951 | # CONFIG_SENSORS_MAX6875 is not set | 889 | # CONFIG_SENSORS_MAX6875 is not set |
952 | # CONFIG_RTC_X1205_I2C is not set | ||
953 | # CONFIG_I2C_DEBUG_CORE is not set | 890 | # CONFIG_I2C_DEBUG_CORE is not set |
954 | # CONFIG_I2C_DEBUG_ALGO is not set | 891 | # CONFIG_I2C_DEBUG_ALGO is not set |
955 | # CONFIG_I2C_DEBUG_BUS is not set | 892 | # CONFIG_I2C_DEBUG_BUS is not set |
956 | # CONFIG_I2C_DEBUG_CHIP is not set | 893 | # CONFIG_I2C_DEBUG_CHIP is not set |
957 | 894 | ||
958 | # | 895 | # |
896 | # SPI support | ||
897 | # | ||
898 | # CONFIG_SPI is not set | ||
899 | # CONFIG_SPI_MASTER is not set | ||
900 | |||
901 | # | ||
902 | # Dallas's 1-wire bus | ||
903 | # | ||
904 | # CONFIG_W1 is not set | ||
905 | |||
906 | # | ||
959 | # Hardware Monitoring support | 907 | # Hardware Monitoring support |
960 | # | 908 | # |
961 | # CONFIG_HWMON is not set | 909 | # CONFIG_HWMON is not set |
@@ -966,10 +914,6 @@ CONFIG_I2C_PXA=y | |||
966 | # | 914 | # |
967 | 915 | ||
968 | # | 916 | # |
969 | # Multimedia Capabilities Port drivers | ||
970 | # | ||
971 | |||
972 | # | ||
973 | # Multi-Function Devices | 917 | # Multi-Function Devices |
974 | # | 918 | # |
975 | 919 | ||
@@ -978,10 +922,19 @@ CONFIG_I2C_PXA=y | |||
978 | # | 922 | # |
979 | CONFIG_NEW_LEDS=y | 923 | CONFIG_NEW_LEDS=y |
980 | CONFIG_LEDS_CLASS=y | 924 | CONFIG_LEDS_CLASS=y |
981 | CONFIG_LEDS_TRIGGERS=y | 925 | |
982 | # CONFIG_LEDS_CORGI is not set | 926 | # |
927 | # LED drivers | ||
928 | # | ||
929 | CONFIG_LEDS_LOCOMO=y | ||
983 | # CONFIG_LEDS_TOSA is not set | 930 | # CONFIG_LEDS_TOSA is not set |
931 | |||
932 | # | ||
933 | # LED Triggers | ||
934 | # | ||
935 | CONFIG_LEDS_TRIGGERS=y | ||
984 | CONFIG_LEDS_TRIGGER_TIMER=y | 936 | CONFIG_LEDS_TRIGGER_TIMER=y |
937 | CONFIG_LEDS_TRIGGER_IDE_DISK=y | ||
985 | 938 | ||
986 | # | 939 | # |
987 | # Multimedia devices | 940 | # Multimedia devices |
@@ -995,14 +948,44 @@ CONFIG_VIDEO_DEV=m | |||
995 | # | 948 | # |
996 | # Video Adapters | 949 | # Video Adapters |
997 | # | 950 | # |
951 | # CONFIG_VIDEO_ADV_DEBUG is not set | ||
998 | # CONFIG_VIDEO_CPIA is not set | 952 | # CONFIG_VIDEO_CPIA is not set |
953 | # CONFIG_VIDEO_CPIA2 is not set | ||
999 | # CONFIG_VIDEO_SAA5246A is not set | 954 | # CONFIG_VIDEO_SAA5246A is not set |
1000 | # CONFIG_VIDEO_SAA5249 is not set | 955 | # CONFIG_VIDEO_SAA5249 is not set |
1001 | # CONFIG_TUNER_3036 is not set | 956 | # CONFIG_TUNER_3036 is not set |
1002 | # CONFIG_VIDEO_EM28XX is not set | ||
1003 | # CONFIG_VIDEO_OVCAMCHIP is not set | 957 | # CONFIG_VIDEO_OVCAMCHIP is not set |
1004 | # CONFIG_VIDEO_AUDIO_DECODER is not set | 958 | |
1005 | # CONFIG_VIDEO_DECODER is not set | 959 | # |
960 | # Encoders and Decoders | ||
961 | # | ||
962 | # CONFIG_VIDEO_MSP3400 is not set | ||
963 | # CONFIG_VIDEO_CS53L32A is not set | ||
964 | # CONFIG_VIDEO_WM8775 is not set | ||
965 | # CONFIG_VIDEO_WM8739 is not set | ||
966 | # CONFIG_VIDEO_CX25840 is not set | ||
967 | # CONFIG_VIDEO_SAA711X is not set | ||
968 | # CONFIG_VIDEO_SAA7127 is not set | ||
969 | # CONFIG_VIDEO_UPD64031A is not set | ||
970 | # CONFIG_VIDEO_UPD64083 is not set | ||
971 | |||
972 | # | ||
973 | # V4L USB devices | ||
974 | # | ||
975 | # CONFIG_VIDEO_EM28XX is not set | ||
976 | CONFIG_USB_DSBR=m | ||
977 | CONFIG_VIDEO_USBVIDEO=m | ||
978 | CONFIG_USB_VICAM=m | ||
979 | CONFIG_USB_IBMCAM=m | ||
980 | CONFIG_USB_KONICAWC=m | ||
981 | # CONFIG_USB_ET61X251 is not set | ||
982 | CONFIG_USB_OV511=m | ||
983 | CONFIG_USB_SE401=m | ||
984 | CONFIG_USB_SN9C102=m | ||
985 | CONFIG_USB_STV680=m | ||
986 | # CONFIG_USB_W9968CF is not set | ||
987 | # CONFIG_USB_ZC0301 is not set | ||
988 | # CONFIG_USB_PWC is not set | ||
1006 | 989 | ||
1007 | # | 990 | # |
1008 | # Radio Adapters | 991 | # Radio Adapters |
@@ -1013,6 +996,7 @@ CONFIG_VIDEO_DEV=m | |||
1013 | # Digital Video Broadcasting Devices | 996 | # Digital Video Broadcasting Devices |
1014 | # | 997 | # |
1015 | # CONFIG_DVB is not set | 998 | # CONFIG_DVB is not set |
999 | CONFIG_USB_DABUSB=m | ||
1016 | 1000 | ||
1017 | # | 1001 | # |
1018 | # Graphics support | 1002 | # Graphics support |
@@ -1022,6 +1006,7 @@ CONFIG_FB_CFB_FILLRECT=y | |||
1022 | CONFIG_FB_CFB_COPYAREA=y | 1006 | CONFIG_FB_CFB_COPYAREA=y |
1023 | CONFIG_FB_CFB_IMAGEBLIT=y | 1007 | CONFIG_FB_CFB_IMAGEBLIT=y |
1024 | # CONFIG_FB_MACMODES is not set | 1008 | # CONFIG_FB_MACMODES is not set |
1009 | CONFIG_FB_FIRMWARE_EDID=y | ||
1025 | CONFIG_FB_MODE_HELPERS=y | 1010 | CONFIG_FB_MODE_HELPERS=y |
1026 | # CONFIG_FB_TILEBLITTING is not set | 1011 | # CONFIG_FB_TILEBLITTING is not set |
1027 | # CONFIG_FB_S1D13XXX is not set | 1012 | # CONFIG_FB_S1D13XXX is not set |
@@ -1059,6 +1044,7 @@ CONFIG_BACKLIGHT_DEVICE=y | |||
1059 | CONFIG_LCD_CLASS_DEVICE=m | 1044 | CONFIG_LCD_CLASS_DEVICE=m |
1060 | CONFIG_LCD_DEVICE=y | 1045 | CONFIG_LCD_DEVICE=y |
1061 | # CONFIG_BACKLIGHT_CORGI is not set | 1046 | # CONFIG_BACKLIGHT_CORGI is not set |
1047 | CONFIG_BACKLIGHT_LOCOMO=y | ||
1062 | 1048 | ||
1063 | # | 1049 | # |
1064 | # Sound | 1050 | # Sound |
@@ -1070,6 +1056,7 @@ CONFIG_LCD_DEVICE=y | |||
1070 | # | 1056 | # |
1071 | CONFIG_USB_ARCH_HAS_HCD=y | 1057 | CONFIG_USB_ARCH_HAS_HCD=y |
1072 | # CONFIG_USB_ARCH_HAS_OHCI is not set | 1058 | # CONFIG_USB_ARCH_HAS_OHCI is not set |
1059 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
1073 | CONFIG_USB=m | 1060 | CONFIG_USB=m |
1074 | # CONFIG_USB_DEBUG is not set | 1061 | # CONFIG_USB_DEBUG is not set |
1075 | 1062 | ||
@@ -1112,12 +1099,15 @@ CONFIG_USB_STORAGE=m | |||
1112 | # CONFIG_USB_STORAGE_SDDR09 is not set | 1099 | # CONFIG_USB_STORAGE_SDDR09 is not set |
1113 | # CONFIG_USB_STORAGE_SDDR55 is not set | 1100 | # CONFIG_USB_STORAGE_SDDR55 is not set |
1114 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | 1101 | # CONFIG_USB_STORAGE_JUMPSHOT is not set |
1102 | # CONFIG_USB_STORAGE_ALAUDA is not set | ||
1103 | # CONFIG_USB_LIBUSUAL is not set | ||
1115 | 1104 | ||
1116 | # | 1105 | # |
1117 | # USB Input Devices | 1106 | # USB Input Devices |
1118 | # | 1107 | # |
1119 | CONFIG_USB_HID=m | 1108 | CONFIG_USB_HID=m |
1120 | CONFIG_USB_HIDINPUT=y | 1109 | CONFIG_USB_HIDINPUT=y |
1110 | # CONFIG_USB_HIDINPUT_POWERBOOK is not set | ||
1121 | # CONFIG_HID_FF is not set | 1111 | # CONFIG_HID_FF is not set |
1122 | # CONFIG_USB_HIDDEV is not set | 1112 | # CONFIG_USB_HIDDEV is not set |
1123 | 1113 | ||
@@ -1137,6 +1127,7 @@ CONFIG_USB_EGALAX=m | |||
1137 | # CONFIG_USB_YEALINK is not set | 1127 | # CONFIG_USB_YEALINK is not set |
1138 | CONFIG_USB_XPAD=m | 1128 | CONFIG_USB_XPAD=m |
1139 | CONFIG_USB_ATI_REMOTE=m | 1129 | CONFIG_USB_ATI_REMOTE=m |
1130 | # CONFIG_USB_ATI_REMOTE2 is not set | ||
1140 | # CONFIG_USB_KEYSPAN_REMOTE is not set | 1131 | # CONFIG_USB_KEYSPAN_REMOTE is not set |
1141 | # CONFIG_USB_APPLETOUCH is not set | 1132 | # CONFIG_USB_APPLETOUCH is not set |
1142 | 1133 | ||
@@ -1147,20 +1138,6 @@ CONFIG_USB_MDC800=m | |||
1147 | CONFIG_USB_MICROTEK=m | 1138 | CONFIG_USB_MICROTEK=m |
1148 | 1139 | ||
1149 | # | 1140 | # |
1150 | # USB Multimedia devices | ||
1151 | # | ||
1152 | CONFIG_USB_DABUSB=m | ||
1153 | CONFIG_USB_VICAM=m | ||
1154 | CONFIG_USB_DSBR=m | ||
1155 | CONFIG_USB_IBMCAM=m | ||
1156 | CONFIG_USB_KONICAWC=m | ||
1157 | CONFIG_USB_OV511=m | ||
1158 | CONFIG_USB_SE401=m | ||
1159 | CONFIG_USB_SN9C102=m | ||
1160 | CONFIG_USB_STV680=m | ||
1161 | # CONFIG_USB_PWC is not set | ||
1162 | |||
1163 | # | ||
1164 | # USB Network Adapters | 1141 | # USB Network Adapters |
1165 | # | 1142 | # |
1166 | CONFIG_USB_CATC=m | 1143 | CONFIG_USB_CATC=m |
@@ -1221,6 +1198,7 @@ CONFIG_USB_SERIAL_KEYSPAN=m | |||
1221 | CONFIG_USB_SERIAL_KLSI=m | 1198 | CONFIG_USB_SERIAL_KLSI=m |
1222 | CONFIG_USB_SERIAL_KOBIL_SCT=m | 1199 | CONFIG_USB_SERIAL_KOBIL_SCT=m |
1223 | CONFIG_USB_SERIAL_MCT_U232=m | 1200 | CONFIG_USB_SERIAL_MCT_U232=m |
1201 | # CONFIG_USB_SERIAL_NAVMAN is not set | ||
1224 | CONFIG_USB_SERIAL_PL2303=m | 1202 | CONFIG_USB_SERIAL_PL2303=m |
1225 | # CONFIG_USB_SERIAL_HP4X is not set | 1203 | # CONFIG_USB_SERIAL_HP4X is not set |
1226 | CONFIG_USB_SERIAL_SAFE=m | 1204 | CONFIG_USB_SERIAL_SAFE=m |
@@ -1266,6 +1244,7 @@ CONFIG_USB_PXA2XX=y | |||
1266 | # CONFIG_USB_GADGET_GOKU is not set | 1244 | # CONFIG_USB_GADGET_GOKU is not set |
1267 | # CONFIG_USB_GADGET_LH7A40X is not set | 1245 | # CONFIG_USB_GADGET_LH7A40X is not set |
1268 | # CONFIG_USB_GADGET_OMAP is not set | 1246 | # CONFIG_USB_GADGET_OMAP is not set |
1247 | # CONFIG_USB_GADGET_AT91 is not set | ||
1269 | # CONFIG_USB_GADGET_DUMMY_HCD is not set | 1248 | # CONFIG_USB_GADGET_DUMMY_HCD is not set |
1270 | # CONFIG_USB_GADGET_DUALSPEED is not set | 1249 | # CONFIG_USB_GADGET_DUALSPEED is not set |
1271 | CONFIG_USB_ZERO=m | 1250 | CONFIG_USB_ZERO=m |
@@ -1283,11 +1262,11 @@ CONFIG_MMC=y | |||
1283 | # CONFIG_MMC_DEBUG is not set | 1262 | # CONFIG_MMC_DEBUG is not set |
1284 | CONFIG_MMC_BLOCK=y | 1263 | CONFIG_MMC_BLOCK=y |
1285 | CONFIG_MMC_PXA=y | 1264 | CONFIG_MMC_PXA=y |
1286 | # CONFIG_MMC_WBSD is not set | ||
1287 | 1265 | ||
1288 | # | 1266 | # |
1289 | # Real Time Clock | 1267 | # Real Time Clock |
1290 | # | 1268 | # |
1269 | CONFIG_RTC_LIB=y | ||
1291 | CONFIG_RTC_CLASS=y | 1270 | CONFIG_RTC_CLASS=y |
1292 | CONFIG_RTC_HCTOSYS=y | 1271 | CONFIG_RTC_HCTOSYS=y |
1293 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | 1272 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" |
@@ -1305,6 +1284,8 @@ CONFIG_RTC_INTF_DEV=y | |||
1305 | # CONFIG_RTC_DRV_X1205 is not set | 1284 | # CONFIG_RTC_DRV_X1205 is not set |
1306 | # CONFIG_RTC_DRV_DS1672 is not set | 1285 | # CONFIG_RTC_DRV_DS1672 is not set |
1307 | # CONFIG_RTC_DRV_PCF8563 is not set | 1286 | # CONFIG_RTC_DRV_PCF8563 is not set |
1287 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
1288 | # CONFIG_RTC_DRV_M48T86 is not set | ||
1308 | CONFIG_RTC_DRV_SA1100=y | 1289 | CONFIG_RTC_DRV_SA1100=y |
1309 | # CONFIG_RTC_DRV_TEST is not set | 1290 | # CONFIG_RTC_DRV_TEST is not set |
1310 | 1291 | ||
@@ -1315,11 +1296,11 @@ CONFIG_EXT2_FS=y | |||
1315 | # CONFIG_EXT2_FS_XATTR is not set | 1296 | # CONFIG_EXT2_FS_XATTR is not set |
1316 | # CONFIG_EXT2_FS_XIP is not set | 1297 | # CONFIG_EXT2_FS_XIP is not set |
1317 | # CONFIG_EXT3_FS is not set | 1298 | # CONFIG_EXT3_FS is not set |
1318 | # CONFIG_JBD is not set | ||
1319 | # CONFIG_REISERFS_FS is not set | 1299 | # CONFIG_REISERFS_FS is not set |
1320 | # CONFIG_JFS_FS is not set | 1300 | # CONFIG_JFS_FS is not set |
1321 | # CONFIG_FS_POSIX_ACL is not set | 1301 | # CONFIG_FS_POSIX_ACL is not set |
1322 | # CONFIG_XFS_FS is not set | 1302 | # CONFIG_XFS_FS is not set |
1303 | # CONFIG_OCFS2_FS is not set | ||
1323 | # CONFIG_MINIX_FS is not set | 1304 | # CONFIG_MINIX_FS is not set |
1324 | # CONFIG_ROMFS_FS is not set | 1305 | # CONFIG_ROMFS_FS is not set |
1325 | CONFIG_INOTIFY=y | 1306 | CONFIG_INOTIFY=y |
@@ -1339,7 +1320,7 @@ CONFIG_DNOTIFY=y | |||
1339 | # DOS/FAT/NT Filesystems | 1320 | # DOS/FAT/NT Filesystems |
1340 | # | 1321 | # |
1341 | CONFIG_FAT_FS=y | 1322 | CONFIG_FAT_FS=y |
1342 | CONFIG_MSDOS_FS=y | 1323 | # CONFIG_MSDOS_FS is not set |
1343 | CONFIG_VFAT_FS=y | 1324 | CONFIG_VFAT_FS=y |
1344 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | 1325 | CONFIG_FAT_DEFAULT_CODEPAGE=437 |
1345 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | 1326 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" |
@@ -1353,7 +1334,7 @@ CONFIG_SYSFS=y | |||
1353 | CONFIG_TMPFS=y | 1334 | CONFIG_TMPFS=y |
1354 | # CONFIG_HUGETLB_PAGE is not set | 1335 | # CONFIG_HUGETLB_PAGE is not set |
1355 | CONFIG_RAMFS=y | 1336 | CONFIG_RAMFS=y |
1356 | # CONFIG_RELAYFS_FS is not set | 1337 | # CONFIG_CONFIGFS_FS is not set |
1357 | 1338 | ||
1358 | # | 1339 | # |
1359 | # Miscellaneous filesystems | 1340 | # Miscellaneous filesystems |
@@ -1430,6 +1411,7 @@ CONFIG_MSDOS_PARTITION=y | |||
1430 | # CONFIG_SGI_PARTITION is not set | 1411 | # CONFIG_SGI_PARTITION is not set |
1431 | # CONFIG_ULTRIX_PARTITION is not set | 1412 | # CONFIG_ULTRIX_PARTITION is not set |
1432 | # CONFIG_SUN_PARTITION is not set | 1413 | # CONFIG_SUN_PARTITION is not set |
1414 | # CONFIG_KARMA_PARTITION is not set | ||
1433 | # CONFIG_EFI_PARTITION is not set | 1415 | # CONFIG_EFI_PARTITION is not set |
1434 | 1416 | ||
1435 | # | 1417 | # |
@@ -1438,42 +1420,42 @@ CONFIG_MSDOS_PARTITION=y | |||
1438 | CONFIG_NLS=y | 1420 | CONFIG_NLS=y |
1439 | CONFIG_NLS_DEFAULT="cp437" | 1421 | CONFIG_NLS_DEFAULT="cp437" |
1440 | CONFIG_NLS_CODEPAGE_437=y | 1422 | CONFIG_NLS_CODEPAGE_437=y |
1441 | # CONFIG_NLS_CODEPAGE_737 is not set | 1423 | CONFIG_NLS_CODEPAGE_737=m |
1442 | # CONFIG_NLS_CODEPAGE_775 is not set | 1424 | CONFIG_NLS_CODEPAGE_775=m |
1443 | # CONFIG_NLS_CODEPAGE_850 is not set | 1425 | CONFIG_NLS_CODEPAGE_850=m |
1444 | # CONFIG_NLS_CODEPAGE_852 is not set | 1426 | CONFIG_NLS_CODEPAGE_852=m |
1445 | # CONFIG_NLS_CODEPAGE_855 is not set | 1427 | CONFIG_NLS_CODEPAGE_855=m |
1446 | # CONFIG_NLS_CODEPAGE_857 is not set | 1428 | CONFIG_NLS_CODEPAGE_857=m |
1447 | # CONFIG_NLS_CODEPAGE_860 is not set | 1429 | CONFIG_NLS_CODEPAGE_860=m |
1448 | # CONFIG_NLS_CODEPAGE_861 is not set | 1430 | CONFIG_NLS_CODEPAGE_861=m |
1449 | # CONFIG_NLS_CODEPAGE_862 is not set | 1431 | CONFIG_NLS_CODEPAGE_862=m |
1450 | # CONFIG_NLS_CODEPAGE_863 is not set | 1432 | CONFIG_NLS_CODEPAGE_863=m |
1451 | # CONFIG_NLS_CODEPAGE_864 is not set | 1433 | CONFIG_NLS_CODEPAGE_864=m |
1452 | # CONFIG_NLS_CODEPAGE_865 is not set | 1434 | CONFIG_NLS_CODEPAGE_865=m |
1453 | # CONFIG_NLS_CODEPAGE_866 is not set | 1435 | CONFIG_NLS_CODEPAGE_866=m |
1454 | # CONFIG_NLS_CODEPAGE_869 is not set | 1436 | CONFIG_NLS_CODEPAGE_869=m |
1455 | # CONFIG_NLS_CODEPAGE_936 is not set | 1437 | CONFIG_NLS_CODEPAGE_936=m |
1456 | # CONFIG_NLS_CODEPAGE_950 is not set | 1438 | CONFIG_NLS_CODEPAGE_950=m |
1457 | # CONFIG_NLS_CODEPAGE_932 is not set | 1439 | CONFIG_NLS_CODEPAGE_932=m |
1458 | # CONFIG_NLS_CODEPAGE_949 is not set | 1440 | CONFIG_NLS_CODEPAGE_949=m |
1459 | # CONFIG_NLS_CODEPAGE_874 is not set | 1441 | CONFIG_NLS_CODEPAGE_874=m |
1460 | # CONFIG_NLS_ISO8859_8 is not set | 1442 | CONFIG_NLS_ISO8859_8=m |
1461 | # CONFIG_NLS_CODEPAGE_1250 is not set | 1443 | CONFIG_NLS_CODEPAGE_1250=m |
1462 | # CONFIG_NLS_CODEPAGE_1251 is not set | 1444 | CONFIG_NLS_CODEPAGE_1251=m |
1463 | # CONFIG_NLS_ASCII is not set | 1445 | CONFIG_NLS_ASCII=m |
1464 | CONFIG_NLS_ISO8859_1=y | 1446 | CONFIG_NLS_ISO8859_1=y |
1465 | # CONFIG_NLS_ISO8859_2 is not set | 1447 | CONFIG_NLS_ISO8859_2=m |
1466 | # CONFIG_NLS_ISO8859_3 is not set | 1448 | CONFIG_NLS_ISO8859_3=m |
1467 | # CONFIG_NLS_ISO8859_4 is not set | 1449 | CONFIG_NLS_ISO8859_4=m |
1468 | # CONFIG_NLS_ISO8859_5 is not set | 1450 | CONFIG_NLS_ISO8859_5=m |
1469 | # CONFIG_NLS_ISO8859_6 is not set | 1451 | CONFIG_NLS_ISO8859_6=m |
1470 | # CONFIG_NLS_ISO8859_7 is not set | 1452 | CONFIG_NLS_ISO8859_7=m |
1471 | # CONFIG_NLS_ISO8859_9 is not set | 1453 | CONFIG_NLS_ISO8859_9=m |
1472 | # CONFIG_NLS_ISO8859_13 is not set | 1454 | CONFIG_NLS_ISO8859_13=m |
1473 | # CONFIG_NLS_ISO8859_14 is not set | 1455 | CONFIG_NLS_ISO8859_14=m |
1474 | # CONFIG_NLS_ISO8859_15 is not set | 1456 | CONFIG_NLS_ISO8859_15=m |
1475 | # CONFIG_NLS_KOI8_R is not set | 1457 | CONFIG_NLS_KOI8_R=m |
1476 | # CONFIG_NLS_KOI8_U is not set | 1458 | CONFIG_NLS_KOI8_U=m |
1477 | CONFIG_NLS_UTF8=y | 1459 | CONFIG_NLS_UTF8=y |
1478 | 1460 | ||
1479 | # | 1461 | # |
@@ -1486,13 +1468,14 @@ CONFIG_OPROFILE=m | |||
1486 | # Kernel hacking | 1468 | # Kernel hacking |
1487 | # | 1469 | # |
1488 | # CONFIG_PRINTK_TIME is not set | 1470 | # CONFIG_PRINTK_TIME is not set |
1489 | CONFIG_DEBUG_KERNEL=y | ||
1490 | CONFIG_MAGIC_SYSRQ=y | 1471 | CONFIG_MAGIC_SYSRQ=y |
1472 | CONFIG_DEBUG_KERNEL=y | ||
1491 | CONFIG_LOG_BUF_SHIFT=14 | 1473 | CONFIG_LOG_BUF_SHIFT=14 |
1492 | CONFIG_DETECT_SOFTLOCKUP=y | 1474 | CONFIG_DETECT_SOFTLOCKUP=y |
1493 | # CONFIG_SCHEDSTATS is not set | 1475 | # CONFIG_SCHEDSTATS is not set |
1494 | # CONFIG_DEBUG_SLAB is not set | 1476 | # CONFIG_DEBUG_SLAB is not set |
1495 | # CONFIG_DEBUG_PREEMPT is not set | 1477 | # CONFIG_DEBUG_PREEMPT is not set |
1478 | # CONFIG_DEBUG_MUTEXES is not set | ||
1496 | # CONFIG_DEBUG_SPINLOCK is not set | 1479 | # CONFIG_DEBUG_SPINLOCK is not set |
1497 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1480 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
1498 | # CONFIG_DEBUG_KOBJECT is not set | 1481 | # CONFIG_DEBUG_KOBJECT is not set |
@@ -1501,12 +1484,13 @@ CONFIG_DEBUG_BUGVERBOSE=y | |||
1501 | # CONFIG_DEBUG_FS is not set | 1484 | # CONFIG_DEBUG_FS is not set |
1502 | # CONFIG_DEBUG_VM is not set | 1485 | # CONFIG_DEBUG_VM is not set |
1503 | CONFIG_FRAME_POINTER=y | 1486 | CONFIG_FRAME_POINTER=y |
1487 | # CONFIG_UNWIND_INFO is not set | ||
1488 | # CONFIG_FORCED_INLINING is not set | ||
1504 | # CONFIG_RCU_TORTURE_TEST is not set | 1489 | # CONFIG_RCU_TORTURE_TEST is not set |
1505 | # CONFIG_DEBUG_USER is not set | 1490 | # CONFIG_DEBUG_USER is not set |
1506 | # CONFIG_DEBUG_WAITQ is not set | 1491 | # CONFIG_DEBUG_WAITQ is not set |
1507 | CONFIG_DEBUG_ERRORS=y | 1492 | CONFIG_DEBUG_ERRORS=y |
1508 | CONFIG_DEBUG_LL=y | 1493 | # CONFIG_DEBUG_LL is not set |
1509 | # CONFIG_DEBUG_ICEDCC is not set | ||
1510 | 1494 | ||
1511 | # | 1495 | # |
1512 | # Security options | 1496 | # Security options |
@@ -1556,4 +1540,3 @@ CONFIG_CRC32=y | |||
1556 | CONFIG_LIBCRC32C=m | 1540 | CONFIG_LIBCRC32C=m |
1557 | CONFIG_ZLIB_INFLATE=y | 1541 | CONFIG_ZLIB_INFLATE=y |
1558 | CONFIG_ZLIB_DEFLATE=y | 1542 | CONFIG_ZLIB_DEFLATE=y |
1559 | |||
diff --git a/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-spitz b/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-spitz index 4256287c49..f542435c47 100644 --- a/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-spitz +++ b/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-spitz | |||
@@ -32,7 +32,7 @@ CONFIG_SYSCTL=y | |||
32 | # CONFIG_IKCONFIG is not set | 32 | # CONFIG_IKCONFIG is not set |
33 | CONFIG_INITRAMFS_SOURCE="" | 33 | CONFIG_INITRAMFS_SOURCE="" |
34 | CONFIG_UID16=y | 34 | CONFIG_UID16=y |
35 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 35 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y |
36 | CONFIG_EMBEDDED=y | 36 | CONFIG_EMBEDDED=y |
37 | CONFIG_KALLSYMS=y | 37 | CONFIG_KALLSYMS=y |
38 | # CONFIG_KALLSYMS_ALL is not set | 38 | # CONFIG_KALLSYMS_ALL is not set |
@@ -294,7 +294,7 @@ CONFIG_IP_NF_QUEUE=m | |||
294 | # | 294 | # |
295 | # IPv6: Netfilter Configuration (EXPERIMENTAL) | 295 | # IPv6: Netfilter Configuration (EXPERIMENTAL) |
296 | # | 296 | # |
297 | CONFIG_IP6_NF_QUEUE=m | 297 | # CONFIG_IP6_NF_QUEUE is not set |
298 | 298 | ||
299 | # | 299 | # |
300 | # DCCP Configuration (EXPERIMENTAL) | 300 | # DCCP Configuration (EXPERIMENTAL) |
@@ -739,7 +739,7 @@ CONFIG_INPUT=y | |||
739 | # | 739 | # |
740 | # Userland interfaces | 740 | # Userland interfaces |
741 | # | 741 | # |
742 | # CONFIG_INPUT_MOUSEDEV is not set | 742 | CONFIG_INPUT_MOUSEDEV=m |
743 | # CONFIG_INPUT_JOYDEV is not set | 743 | # CONFIG_INPUT_JOYDEV is not set |
744 | # CONFIG_INPUT_TSDEV is not set | 744 | # CONFIG_INPUT_TSDEV is not set |
745 | CONFIG_INPUT_EVDEV=y | 745 | CONFIG_INPUT_EVDEV=y |
@@ -943,7 +943,7 @@ CONFIG_DUMMY_CONSOLE=y | |||
943 | CONFIG_FRAMEBUFFER_CONSOLE=y | 943 | CONFIG_FRAMEBUFFER_CONSOLE=y |
944 | CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y | 944 | CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y |
945 | CONFIG_FONTS=y | 945 | CONFIG_FONTS=y |
946 | CONFIG_FONT_8x8=y | 946 | # CONFIG_FONT_8x8 is not set |
947 | CONFIG_FONT_8x16=y | 947 | CONFIG_FONT_8x16=y |
948 | # CONFIG_FONT_6x11 is not set | 948 | # CONFIG_FONT_6x11 is not set |
949 | # CONFIG_FONT_7x14 is not set | 949 | # CONFIG_FONT_7x14 is not set |
@@ -964,6 +964,7 @@ CONFIG_BACKLIGHT_DEVICE=y | |||
964 | CONFIG_LCD_CLASS_DEVICE=y | 964 | CONFIG_LCD_CLASS_DEVICE=y |
965 | CONFIG_LCD_DEVICE=y | 965 | CONFIG_LCD_DEVICE=y |
966 | CONFIG_BACKLIGHT_CORGI=y | 966 | CONFIG_BACKLIGHT_CORGI=y |
967 | # CONFIG_BACKLIGHT_HP680 is not set | ||
967 | 968 | ||
968 | # | 969 | # |
969 | # Sound | 970 | # Sound |
@@ -1335,7 +1336,7 @@ CONFIG_DNOTIFY=y | |||
1335 | # DOS/FAT/NT Filesystems | 1336 | # DOS/FAT/NT Filesystems |
1336 | # | 1337 | # |
1337 | CONFIG_FAT_FS=y | 1338 | CONFIG_FAT_FS=y |
1338 | CONFIG_MSDOS_FS=y | 1339 | # CONFIG_MSDOS_FS is not set |
1339 | CONFIG_VFAT_FS=y | 1340 | CONFIG_VFAT_FS=y |
1340 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | 1341 | CONFIG_FAT_DEFAULT_CODEPAGE=437 |
1341 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | 1342 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" |
@@ -1436,42 +1437,42 @@ CONFIG_MSDOS_PARTITION=y | |||
1436 | CONFIG_NLS=y | 1437 | CONFIG_NLS=y |
1437 | CONFIG_NLS_DEFAULT="cp437" | 1438 | CONFIG_NLS_DEFAULT="cp437" |
1438 | CONFIG_NLS_CODEPAGE_437=y | 1439 | CONFIG_NLS_CODEPAGE_437=y |
1439 | # CONFIG_NLS_CODEPAGE_737 is not set | 1440 | CONFIG_NLS_CODEPAGE_737=m |
1440 | # CONFIG_NLS_CODEPAGE_775 is not set | 1441 | CONFIG_NLS_CODEPAGE_775=m |
1441 | # CONFIG_NLS_CODEPAGE_850 is not set | 1442 | CONFIG_NLS_CODEPAGE_850=m |
1442 | # CONFIG_NLS_CODEPAGE_852 is not set | 1443 | CONFIG_NLS_CODEPAGE_852=m |
1443 | # CONFIG_NLS_CODEPAGE_855 is not set | 1444 | CONFIG_NLS_CODEPAGE_855=m |
1444 | # CONFIG_NLS_CODEPAGE_857 is not set | 1445 | CONFIG_NLS_CODEPAGE_857=m |
1445 | # CONFIG_NLS_CODEPAGE_860 is not set | 1446 | CONFIG_NLS_CODEPAGE_860=m |
1446 | # CONFIG_NLS_CODEPAGE_861 is not set | 1447 | CONFIG_NLS_CODEPAGE_861=m |
1447 | # CONFIG_NLS_CODEPAGE_862 is not set | 1448 | CONFIG_NLS_CODEPAGE_862=m |
1448 | # CONFIG_NLS_CODEPAGE_863 is not set | 1449 | CONFIG_NLS_CODEPAGE_863=m |
1449 | # CONFIG_NLS_CODEPAGE_864 is not set | 1450 | CONFIG_NLS_CODEPAGE_864=m |
1450 | # CONFIG_NLS_CODEPAGE_865 is not set | 1451 | CONFIG_NLS_CODEPAGE_865=m |
1451 | # CONFIG_NLS_CODEPAGE_866 is not set | 1452 | CONFIG_NLS_CODEPAGE_866=m |
1452 | # CONFIG_NLS_CODEPAGE_869 is not set | 1453 | CONFIG_NLS_CODEPAGE_869=m |
1453 | # CONFIG_NLS_CODEPAGE_936 is not set | 1454 | CONFIG_NLS_CODEPAGE_936=m |
1454 | # CONFIG_NLS_CODEPAGE_950 is not set | 1455 | CONFIG_NLS_CODEPAGE_950=m |
1455 | # CONFIG_NLS_CODEPAGE_932 is not set | 1456 | CONFIG_NLS_CODEPAGE_932=m |
1456 | # CONFIG_NLS_CODEPAGE_949 is not set | 1457 | CONFIG_NLS_CODEPAGE_949=m |
1457 | # CONFIG_NLS_CODEPAGE_874 is not set | 1458 | CONFIG_NLS_CODEPAGE_874=m |
1458 | # CONFIG_NLS_ISO8859_8 is not set | 1459 | CONFIG_NLS_ISO8859_8=m |
1459 | # CONFIG_NLS_CODEPAGE_1250 is not set | 1460 | CONFIG_NLS_CODEPAGE_1250=m |
1460 | # CONFIG_NLS_CODEPAGE_1251 is not set | 1461 | CONFIG_NLS_CODEPAGE_1251=m |
1461 | # CONFIG_NLS_ASCII is not set | 1462 | CONFIG_NLS_ASCII=m |
1462 | CONFIG_NLS_ISO8859_1=y | 1463 | CONFIG_NLS_ISO8859_1=y |
1463 | # CONFIG_NLS_ISO8859_2 is not set | 1464 | CONFIG_NLS_ISO8859_2=m |
1464 | # CONFIG_NLS_ISO8859_3 is not set | 1465 | CONFIG_NLS_ISO8859_3=m |
1465 | # CONFIG_NLS_ISO8859_4 is not set | 1466 | CONFIG_NLS_ISO8859_4=m |
1466 | # CONFIG_NLS_ISO8859_5 is not set | 1467 | CONFIG_NLS_ISO8859_5=m |
1467 | # CONFIG_NLS_ISO8859_6 is not set | 1468 | CONFIG_NLS_ISO8859_6=m |
1468 | # CONFIG_NLS_ISO8859_7 is not set | 1469 | CONFIG_NLS_ISO8859_7=m |
1469 | # CONFIG_NLS_ISO8859_9 is not set | 1470 | CONFIG_NLS_ISO8859_9=m |
1470 | # CONFIG_NLS_ISO8859_13 is not set | 1471 | CONFIG_NLS_ISO8859_13=m |
1471 | # CONFIG_NLS_ISO8859_14 is not set | 1472 | CONFIG_NLS_ISO8859_14=m |
1472 | # CONFIG_NLS_ISO8859_15 is not set | 1473 | CONFIG_NLS_ISO8859_15=m |
1473 | # CONFIG_NLS_KOI8_R is not set | 1474 | CONFIG_NLS_KOI8_R=m |
1474 | # CONFIG_NLS_KOI8_U is not set | 1475 | CONFIG_NLS_KOI8_U=m |
1475 | CONFIG_NLS_UTF8=y | 1476 | CONFIG_NLS_UTF8=y |
1476 | 1477 | ||
1477 | # | 1478 | # |
@@ -1491,7 +1492,7 @@ CONFIG_LOG_BUF_SHIFT=14 | |||
1491 | # CONFIG_SCHEDSTATS is not set | 1492 | # CONFIG_SCHEDSTATS is not set |
1492 | # CONFIG_DEBUG_SLAB is not set | 1493 | # CONFIG_DEBUG_SLAB is not set |
1493 | # CONFIG_DEBUG_PREEMPT is not set | 1494 | # CONFIG_DEBUG_PREEMPT is not set |
1494 | CONFIG_DEBUG_MUTEXES=y | 1495 | # CONFIG_DEBUG_MUTEXES is not set |
1495 | # CONFIG_DEBUG_SPINLOCK is not set | 1496 | # CONFIG_DEBUG_SPINLOCK is not set |
1496 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1497 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
1497 | # CONFIG_DEBUG_KOBJECT is not set | 1498 | # CONFIG_DEBUG_KOBJECT is not set |
@@ -1500,7 +1501,7 @@ CONFIG_DEBUG_BUGVERBOSE=y | |||
1500 | # CONFIG_DEBUG_FS is not set | 1501 | # CONFIG_DEBUG_FS is not set |
1501 | # CONFIG_DEBUG_VM is not set | 1502 | # CONFIG_DEBUG_VM is not set |
1502 | CONFIG_FRAME_POINTER=y | 1503 | CONFIG_FRAME_POINTER=y |
1503 | CONFIG_FORCED_INLINING=y | 1504 | # CONFIG_FORCED_INLINING is not set |
1504 | # CONFIG_RCU_TORTURE_TEST is not set | 1505 | # CONFIG_RCU_TORTURE_TEST is not set |
1505 | # CONFIG_DEBUG_USER is not set | 1506 | # CONFIG_DEBUG_USER is not set |
1506 | # CONFIG_DEBUG_WAITQ is not set | 1507 | # CONFIG_DEBUG_WAITQ is not set |
diff --git a/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-tosa b/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-tosa index f1a5c1e1c4..ed4cfd8cb3 100644 --- a/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-tosa +++ b/openembedded/packages/linux/linux-openzaurus-2.6.16/defconfig-tosa | |||
@@ -32,7 +32,7 @@ CONFIG_SYSCTL=y | |||
32 | # CONFIG_IKCONFIG is not set | 32 | # CONFIG_IKCONFIG is not set |
33 | CONFIG_INITRAMFS_SOURCE="" | 33 | CONFIG_INITRAMFS_SOURCE="" |
34 | CONFIG_UID16=y | 34 | CONFIG_UID16=y |
35 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 35 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y |
36 | CONFIG_EMBEDDED=y | 36 | CONFIG_EMBEDDED=y |
37 | CONFIG_KALLSYMS=y | 37 | CONFIG_KALLSYMS=y |
38 | # CONFIG_KALLSYMS_ALL is not set | 38 | # CONFIG_KALLSYMS_ALL is not set |
@@ -306,7 +306,7 @@ CONFIG_IP_NF_QUEUE=m | |||
306 | # | 306 | # |
307 | # IPv6: Netfilter Configuration (EXPERIMENTAL) | 307 | # IPv6: Netfilter Configuration (EXPERIMENTAL) |
308 | # | 308 | # |
309 | CONFIG_IP6_NF_QUEUE=m | 309 | # CONFIG_IP6_NF_QUEUE is not set |
310 | 310 | ||
311 | # | 311 | # |
312 | # DCCP Configuration (EXPERIMENTAL) | 312 | # DCCP Configuration (EXPERIMENTAL) |
@@ -752,7 +752,7 @@ CONFIG_INPUT=y | |||
752 | # | 752 | # |
753 | # Userland interfaces | 753 | # Userland interfaces |
754 | # | 754 | # |
755 | # CONFIG_INPUT_MOUSEDEV is not set | 755 | CONFIG_INPUT_MOUSEDEV=m |
756 | # CONFIG_INPUT_JOYDEV is not set | 756 | # CONFIG_INPUT_JOYDEV is not set |
757 | # CONFIG_INPUT_TSDEV is not set | 757 | # CONFIG_INPUT_TSDEV is not set |
758 | CONFIG_INPUT_EVDEV=y | 758 | CONFIG_INPUT_EVDEV=y |
@@ -997,6 +997,7 @@ CONFIG_BACKLIGHT_CLASS_DEVICE=y | |||
997 | CONFIG_BACKLIGHT_DEVICE=y | 997 | CONFIG_BACKLIGHT_DEVICE=y |
998 | # CONFIG_LCD_CLASS_DEVICE is not set | 998 | # CONFIG_LCD_CLASS_DEVICE is not set |
999 | CONFIG_BACKLIGHT_CORGI=y | 999 | CONFIG_BACKLIGHT_CORGI=y |
1000 | # CONFIG_BACKLIGHT_HP680 is not set | ||
1000 | 1001 | ||
1001 | # | 1002 | # |
1002 | # Sound | 1003 | # Sound |
@@ -1334,7 +1335,7 @@ CONFIG_RTC_INTF_DEV=y | |||
1334 | # CONFIG_RTC_DRV_DS1672 is not set | 1335 | # CONFIG_RTC_DRV_DS1672 is not set |
1335 | # CONFIG_RTC_DRV_PCF8563 is not set | 1336 | # CONFIG_RTC_DRV_PCF8563 is not set |
1336 | # CONFIG_RTC_DRV_RS5C372 is not set | 1337 | # CONFIG_RTC_DRV_RS5C372 is not set |
1337 | # CONFIG_RTC_DRV_SA1100 is not set | 1338 | CONFIG_RTC_DRV_SA1100=y |
1338 | # CONFIG_RTC_DRV_TEST is not set | 1339 | # CONFIG_RTC_DRV_TEST is not set |
1339 | 1340 | ||
1340 | # | 1341 | # |
@@ -1466,46 +1467,46 @@ CONFIG_MSDOS_PARTITION=y | |||
1466 | # | 1467 | # |
1467 | # Native Language Support | 1468 | # Native Language Support |
1468 | # | 1469 | # |
1469 | CONFIG_NLS=m | 1470 | CONFIG_NLS=y |
1470 | CONFIG_NLS_DEFAULT="cp437" | 1471 | CONFIG_NLS_DEFAULT="cp437" |
1471 | CONFIG_NLS_CODEPAGE_437=m | 1472 | CONFIG_NLS_CODEPAGE_437=y |
1472 | # CONFIG_NLS_CODEPAGE_737 is not set | 1473 | CONFIG_NLS_CODEPAGE_737=m |
1473 | # CONFIG_NLS_CODEPAGE_775 is not set | 1474 | CONFIG_NLS_CODEPAGE_775=m |
1474 | # CONFIG_NLS_CODEPAGE_850 is not set | 1475 | CONFIG_NLS_CODEPAGE_850=m |
1475 | # CONFIG_NLS_CODEPAGE_852 is not set | 1476 | CONFIG_NLS_CODEPAGE_852=m |
1476 | # CONFIG_NLS_CODEPAGE_855 is not set | 1477 | CONFIG_NLS_CODEPAGE_855=m |
1477 | # CONFIG_NLS_CODEPAGE_857 is not set | 1478 | CONFIG_NLS_CODEPAGE_857=m |
1478 | # CONFIG_NLS_CODEPAGE_860 is not set | 1479 | CONFIG_NLS_CODEPAGE_860=m |
1479 | # CONFIG_NLS_CODEPAGE_861 is not set | 1480 | CONFIG_NLS_CODEPAGE_861=m |
1480 | # CONFIG_NLS_CODEPAGE_862 is not set | 1481 | CONFIG_NLS_CODEPAGE_862=m |
1481 | # CONFIG_NLS_CODEPAGE_863 is not set | 1482 | CONFIG_NLS_CODEPAGE_863=m |
1482 | # CONFIG_NLS_CODEPAGE_864 is not set | 1483 | CONFIG_NLS_CODEPAGE_864=m |
1483 | # CONFIG_NLS_CODEPAGE_865 is not set | 1484 | CONFIG_NLS_CODEPAGE_865=m |
1484 | # CONFIG_NLS_CODEPAGE_866 is not set | 1485 | CONFIG_NLS_CODEPAGE_866=m |
1485 | # CONFIG_NLS_CODEPAGE_869 is not set | 1486 | CONFIG_NLS_CODEPAGE_869=m |
1486 | # CONFIG_NLS_CODEPAGE_936 is not set | 1487 | CONFIG_NLS_CODEPAGE_936=m |
1487 | # CONFIG_NLS_CODEPAGE_950 is not set | 1488 | CONFIG_NLS_CODEPAGE_950=m |
1488 | # CONFIG_NLS_CODEPAGE_932 is not set | 1489 | CONFIG_NLS_CODEPAGE_932=m |
1489 | # CONFIG_NLS_CODEPAGE_949 is not set | 1490 | CONFIG_NLS_CODEPAGE_949=m |
1490 | # CONFIG_NLS_CODEPAGE_874 is not set | 1491 | CONFIG_NLS_CODEPAGE_874=m |
1491 | # CONFIG_NLS_ISO8859_8 is not set | 1492 | CONFIG_NLS_ISO8859_8=m |
1492 | # CONFIG_NLS_CODEPAGE_1250 is not set | 1493 | CONFIG_NLS_CODEPAGE_1250=m |
1493 | # CONFIG_NLS_CODEPAGE_1251 is not set | 1494 | CONFIG_NLS_CODEPAGE_1251=m |
1494 | # CONFIG_NLS_ASCII is not set | 1495 | CONFIG_NLS_ASCII=m |
1495 | CONFIG_NLS_ISO8859_1=m | 1496 | CONFIG_NLS_ISO8859_1=y |
1496 | # CONFIG_NLS_ISO8859_2 is not set | 1497 | CONFIG_NLS_ISO8859_2=m |
1497 | # CONFIG_NLS_ISO8859_3 is not set | 1498 | CONFIG_NLS_ISO8859_3=m |
1498 | # CONFIG_NLS_ISO8859_4 is not set | 1499 | CONFIG_NLS_ISO8859_4=m |
1499 | # CONFIG_NLS_ISO8859_5 is not set | 1500 | CONFIG_NLS_ISO8859_5=m |
1500 | # CONFIG_NLS_ISO8859_6 is not set | 1501 | CONFIG_NLS_ISO8859_6=m |
1501 | # CONFIG_NLS_ISO8859_7 is not set | 1502 | CONFIG_NLS_ISO8859_7=m |
1502 | # CONFIG_NLS_ISO8859_9 is not set | 1503 | CONFIG_NLS_ISO8859_9=m |
1503 | # CONFIG_NLS_ISO8859_13 is not set | 1504 | CONFIG_NLS_ISO8859_13=m |
1504 | # CONFIG_NLS_ISO8859_14 is not set | 1505 | CONFIG_NLS_ISO8859_14=m |
1505 | # CONFIG_NLS_ISO8859_15 is not set | 1506 | CONFIG_NLS_ISO8859_15=m |
1506 | # CONFIG_NLS_KOI8_R is not set | 1507 | CONFIG_NLS_KOI8_R=m |
1507 | # CONFIG_NLS_KOI8_U is not set | 1508 | CONFIG_NLS_KOI8_U=m |
1508 | CONFIG_NLS_UTF8=m | 1509 | CONFIG_NLS_UTF8=y |
1509 | 1510 | ||
1510 | # | 1511 | # |
1511 | # Profiling support | 1512 | # Profiling support |
@@ -1523,7 +1524,7 @@ CONFIG_DETECT_SOFTLOCKUP=y | |||
1523 | # CONFIG_SCHEDSTATS is not set | 1524 | # CONFIG_SCHEDSTATS is not set |
1524 | # CONFIG_DEBUG_SLAB is not set | 1525 | # CONFIG_DEBUG_SLAB is not set |
1525 | # CONFIG_DEBUG_PREEMPT is not set | 1526 | # CONFIG_DEBUG_PREEMPT is not set |
1526 | CONFIG_DEBUG_MUTEXES=y | 1527 | # CONFIG_DEBUG_MUTEXES is not set |
1527 | # CONFIG_DEBUG_SPINLOCK is not set | 1528 | # CONFIG_DEBUG_SPINLOCK is not set |
1528 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1529 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
1529 | # CONFIG_DEBUG_KOBJECT is not set | 1530 | # CONFIG_DEBUG_KOBJECT is not set |
@@ -1532,7 +1533,7 @@ CONFIG_DEBUG_MUTEXES=y | |||
1532 | # CONFIG_DEBUG_FS is not set | 1533 | # CONFIG_DEBUG_FS is not set |
1533 | # CONFIG_DEBUG_VM is not set | 1534 | # CONFIG_DEBUG_VM is not set |
1534 | CONFIG_FRAME_POINTER=y | 1535 | CONFIG_FRAME_POINTER=y |
1535 | CONFIG_FORCED_INLINING=y | 1536 | # CONFIG_FORCED_INLINING is not set |
1536 | # CONFIG_RCU_TORTURE_TEST is not set | 1537 | # CONFIG_RCU_TORTURE_TEST is not set |
1537 | # CONFIG_DEBUG_USER is not set | 1538 | # CONFIG_DEBUG_USER is not set |
1538 | # CONFIG_DEBUG_WAITQ is not set | 1539 | # CONFIG_DEBUG_WAITQ is not set |
diff --git a/openembedded/packages/linux/linux-openzaurus-2.6.16/hrw-pcmcia-ids-r2.patch b/openembedded/packages/linux/linux-openzaurus-2.6.16/hrw-pcmcia-ids-r2.patch new file mode 100644 index 0000000000..3d5d197920 --- /dev/null +++ b/openembedded/packages/linux/linux-openzaurus-2.6.16/hrw-pcmcia-ids-r2.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | |||
2 | The ident for Seagate 8GB microdrive is | ||
3 | "SEAGATE", "ST1" | ||
4 | hash 0x76dc4190, 0xcfba9599 | ||
5 | manfid 0x0111, 0x0000 | ||
6 | |||
7 | Signed-off-by: Marcin Juszkiewicz <openembedded@hrw.one.pl> | ||
8 | |||
9 | drivers/ide/legacy/ide-cs.c | 1 + | ||
10 | 1 file changed, 1 insertion(+) | ||
11 | |||
12 | Index: linux-2.6.16/drivers/ide/legacy/ide-cs.c | ||
13 | =================================================================== | ||
14 | --- linux-2.6.16.orig/drivers/ide/legacy/ide-cs.c 2006-04-20 12:41:41.000000000 +0200 | ||
15 | +++ linux-2.6.16/drivers/ide/legacy/ide-cs.c 2006-04-20 12:45:19.640621552 +0200 | ||
16 | @@ -444,6 +444,7 @@ | ||
17 | PCMCIA_DEVICE_PROD_ID12("PCMCIA", "CD-ROM", 0x281f1c5d, 0x66536591), | ||
18 | PCMCIA_DEVICE_PROD_ID12("PCMCIA", "PnPIDE", 0x281f1c5d, 0x0c694728), | ||
19 | PCMCIA_DEVICE_PROD_ID12("SHUTTLE TECHNOLOGY LTD.", "PCCARD-IDE/ATAPI Adapter", 0x4a3f0ba0, 0x322560e1), | ||
20 | + PCMCIA_DEVICE_PROD_ID12("SEAGATE", "ST1", 0x87c1b330, 0xe1f30883), /* Seagate 8GB microdrive */ | ||
21 | PCMCIA_DEVICE_PROD_ID12("TOSHIBA", "MK2001MPL", 0xb4585a1a, 0x3489e003), | ||
22 | PCMCIA_DEVICE_PROD_ID1("TRANSCEND 512M ", 0xd0909443), | ||
23 | PCMCIA_DEVICE_PROD_ID12("WIT", "IDE16", 0x244e5994, 0x3e232852), | ||
24 | |||
25 | |||
26 | ------------------------------------------------------------------------- | ||
27 | With pcmcia-cs -> pcmciautils change some cards which was working with | ||
28 | hostap driver now are bound into orinoco driver. | ||
29 | |||
30 | This patch made them bound into hostap like it was before. | ||
31 | |||
32 | Signed-off-by: Marcin Juszkiewicz <openembedded@hrw.one.pl> | ||
33 | |||
34 | // will add some here | ||
35 | |||
diff --git a/openembedded/packages/linux/linux-openzaurus-2.6.16/rmk-mmc1.patch b/openembedded/packages/linux/linux-openzaurus-2.6.16/rmk-mmc1.patch new file mode 100644 index 0000000000..054b48d28d --- /dev/null +++ b/openembedded/packages/linux/linux-openzaurus-2.6.16/rmk-mmc1.patch | |||
@@ -0,0 +1,61 @@ | |||
1 | |||
2 | The CSD contains a "read2write factor" which determines the multiplier to | ||
3 | be applied to the read timeout to obtain the write timeout. We were | ||
4 | ignoring this parameter, resulting in the possibility for writes being | ||
5 | timed out too early. | ||
6 | |||
7 | Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | ||
8 | |||
9 | diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c | ||
10 | --- a/drivers/mmc/mmc.c | ||
11 | +++ b/drivers/mmc/mmc.c | ||
12 | @@ -549,6 +549,7 @@ static void mmc_decode_csd(struct mmc_ca | ||
13 | csd->read_partial = UNSTUFF_BITS(resp, 79, 1); | ||
14 | csd->write_misalign = UNSTUFF_BITS(resp, 78, 1); | ||
15 | csd->read_misalign = UNSTUFF_BITS(resp, 77, 1); | ||
16 | + csd->r2w_factor = UNSTUFF_BITS(resp, 26, 3); | ||
17 | csd->write_blkbits = UNSTUFF_BITS(resp, 22, 4); | ||
18 | csd->write_partial = UNSTUFF_BITS(resp, 21, 1); | ||
19 | } else { | ||
20 | @@ -583,6 +584,7 @@ static void mmc_decode_csd(struct mmc_ca | ||
21 | csd->read_partial = UNSTUFF_BITS(resp, 79, 1); | ||
22 | csd->write_misalign = UNSTUFF_BITS(resp, 78, 1); | ||
23 | csd->read_misalign = UNSTUFF_BITS(resp, 77, 1); | ||
24 | + csd->r2w_factor = UNSTUFF_BITS(resp, 26, 3); | ||
25 | csd->write_blkbits = UNSTUFF_BITS(resp, 22, 4); | ||
26 | csd->write_partial = UNSTUFF_BITS(resp, 21, 1); | ||
27 | } | ||
28 | diff --git a/drivers/mmc/mmc_block.c b/drivers/mmc/mmc_block.c | ||
29 | --- a/drivers/mmc/mmc_block.c | ||
30 | +++ b/drivers/mmc/mmc_block.c | ||
31 | @@ -187,6 +187,12 @@ static int mmc_blk_issue_rq(struct mmc_q | ||
32 | brq.cmd.opcode = MMC_WRITE_BLOCK; | ||
33 | brq.data.flags |= MMC_DATA_WRITE; | ||
34 | brq.data.blocks = 1; | ||
35 | + | ||
36 | + /* | ||
37 | + * Scale up the timeout by the r2w factor | ||
38 | + */ | ||
39 | + brq.data.timeout_ns <<= card->csd.r2w_factor; | ||
40 | + brq.data.timeout_clks <<= card->csd.r2w_factor; | ||
41 | } | ||
42 | |||
43 | if (brq.data.blocks > 1) { | ||
44 | diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h | ||
45 | --- a/include/linux/mmc/card.h | ||
46 | +++ b/include/linux/mmc/card.h | ||
47 | @@ -28,6 +28,7 @@ struct mmc_csd { | ||
48 | unsigned short cmdclass; | ||
49 | unsigned short tacc_clks; | ||
50 | unsigned int tacc_ns; | ||
51 | + unsigned int r2w_factor; | ||
52 | unsigned int max_dtr; | ||
53 | unsigned int read_blkbits; | ||
54 | unsigned int write_blkbits; | ||
55 | |||
56 | |||
57 | ------------------------------------------------------------------- | ||
58 | List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel | ||
59 | FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php | ||
60 | Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php | ||
61 | |||
diff --git a/openembedded/packages/linux/linux-openzaurus-2.6.16/rmk-mmc2.patch b/openembedded/packages/linux/linux-openzaurus-2.6.16/rmk-mmc2.patch new file mode 100644 index 0000000000..cef02436d6 --- /dev/null +++ b/openembedded/packages/linux/linux-openzaurus-2.6.16/rmk-mmc2.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | |||
2 | Always send a stop command at the end of a data transfer. If we avoid | ||
3 | sending the stop command, some cards remain in data transfer mode, and | ||
4 | refuse to accept further read/write commands. | ||
5 | |||
6 | Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | ||
7 | |||
8 | diff --git a/drivers/mmc/pxamci.c b/drivers/mmc/pxamci.c | ||
9 | --- a/drivers/mmc/pxamci.c | ||
10 | +++ b/drivers/mmc/pxamci.c | ||
11 | @@ -291,7 +291,7 @@ static int pxamci_data_done(struct pxamc | ||
12 | pxamci_disable_irq(host, DATA_TRAN_DONE); | ||
13 | |||
14 | host->data = NULL; | ||
15 | - if (host->mrq->stop && data->error == MMC_ERR_NONE) { | ||
16 | + if (host->mrq->stop) { | ||
17 | pxamci_stop_clock(host); | ||
18 | pxamci_start_cmd(host, host->mrq->stop, 0); | ||
19 | } else { | ||
20 | |||
21 | |||
22 | ------------------------------------------------------------------- | ||
23 | List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel | ||
24 | FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php | ||
25 | Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php | ||
26 | |||
diff --git a/openembedded/packages/linux/linux-openzaurus.inc b/openembedded/packages/linux/linux-openzaurus.inc index bd77b036a5..c806452e52 100644 --- a/openembedded/packages/linux/linux-openzaurus.inc +++ b/openembedded/packages/linux/linux-openzaurus.inc | |||
@@ -5,7 +5,7 @@ LICENSE = "GPL" | |||
5 | 5 | ||
6 | inherit kernel | 6 | inherit kernel |
7 | 7 | ||
8 | RPROVIDES_kernel-image = "hostap-modules" | 8 | RPROVIDES_kernel-image += "hostap-modules" |
9 | 9 | ||
10 | DOSRC = "http://www.do13.de/openzaurus/patches" | 10 | DOSRC = "http://www.do13.de/openzaurus/patches" |
11 | RPSRC = "http://www.rpsys.net/openzaurus/patches/archive" | 11 | RPSRC = "http://www.rpsys.net/openzaurus/patches/archive" |
@@ -21,6 +21,7 @@ ALLOW_EMPTY = 1 | |||
21 | 21 | ||
22 | EXTRA_OEMAKE = "OPENZAURUS_RELEASE=-${DISTRO_VERSION}" | 22 | EXTRA_OEMAKE = "OPENZAURUS_RELEASE=-${DISTRO_VERSION}" |
23 | COMPATIBLE_HOST = "arm.*-linux" | 23 | COMPATIBLE_HOST = "arm.*-linux" |
24 | COMPATIBLE_MACHINE = '(collie|poodle|c7x0|akita|spitz|tosa|ipaq-pxa270|qemuarm)' | ||
24 | 25 | ||
25 | CMDLINE_CON = "console=ttyS0,115200n8 console=tty1 noinitrd" | 26 | CMDLINE_CON = "console=ttyS0,115200n8 console=tty1 noinitrd" |
26 | CMDLINE_ROOT = "root=/dev/mtdblock2 rootfstype=jffs2" | 27 | CMDLINE_ROOT = "root=/dev/mtdblock2 rootfstype=jffs2" |
@@ -58,6 +59,13 @@ module_autoload_snd-soc-spitz_spitz = "snd-soc-spitz" | |||
58 | do_configure() { | 59 | do_configure() { |
59 | rm -f ${S}/.config | 60 | rm -f ${S}/.config |
60 | 61 | ||
62 | if [ "${MACHINE}" == "tosa" ]; then | ||
63 | gcc_version=`${KERNEL_CC} -dumpversion` | ||
64 | if [ "${gcc_version}" == "4.0.1" ] || [ "${gcc_version}" == "4.0.2" ]; then | ||
65 | die "tosa kernel wont work with gcc 4.0.x" | ||
66 | fi | ||
67 | fi | ||
68 | |||
61 | if [ ! -e ${WORKDIR}/defconfig-${MACHINE} ]; then | 69 | if [ ! -e ${WORKDIR}/defconfig-${MACHINE} ]; then |
62 | die "No default configuration for ${MACHINE} available." | 70 | die "No default configuration for ${MACHINE} available." |
63 | fi | 71 | fi |
diff --git a/openembedded/packages/linux/linux-openzaurus_2.6.16.bb b/openembedded/packages/linux/linux-openzaurus_2.6.16.bb index 1225eb5830..c2d6531a1f 100644 --- a/openembedded/packages/linux/linux-openzaurus_2.6.16.bb +++ b/openembedded/packages/linux/linux-openzaurus_2.6.16.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | include linux-openzaurus.inc | 1 | include linux-openzaurus.inc |
2 | 2 | ||
3 | PR = "r5" | 3 | PR = "r21" |
4 | 4 | ||
5 | # Handy URLs | 5 | # Handy URLs |
6 | # git://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git \ | 6 | # git://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git \ |
@@ -13,6 +13,8 @@ PR = "r5" | |||
13 | # Patches submitted upstream are towards top of this list | 13 | # Patches submitted upstream are towards top of this list |
14 | # Hacks should clearly named and at the bottom | 14 | # Hacks should clearly named and at the bottom |
15 | SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 \ | 15 | SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 \ |
16 | file://rmk-mmc1.patch;patch=1 \ | ||
17 | file://rmk-mmc2.patch;patch=1 \ | ||
16 | ${RPSRC}/led_core-r15.patch;patch=1 \ | 18 | ${RPSRC}/led_core-r15.patch;patch=1 \ |
17 | ${RPSRC}/led_triggers-r14.patch;patch=1 \ | 19 | ${RPSRC}/led_triggers-r14.patch;patch=1 \ |
18 | ${RPSRC}/led_trig_timer-r8.patch;patch=1 \ | 20 | ${RPSRC}/led_trig_timer-r8.patch;patch=1 \ |
@@ -42,7 +44,14 @@ SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 \ | |||
42 | ${RPSRC}/rmk_pxa_mmc_timeout-r0.patch;patch=1 \ | 44 | ${RPSRC}/rmk_pxa_mmc_timeout-r0.patch;patch=1 \ |
43 | ${RPSRC}/integrator_rtc-r0.patch;patch=1 \ | 45 | ${RPSRC}/integrator_rtc-r0.patch;patch=1 \ |
44 | ${RPSRC}/zaurus_keyboard_tweak-r3.patch;patch=1 \ | 46 | ${RPSRC}/zaurus_keyboard_tweak-r3.patch;patch=1 \ |
47 | ${RPSRC}/arm_eabi_enum_fix-r0.patch;patch=1 \ | ||
45 | ${RPSRC}/pxafb_tweaks-r0.patch;patch=1 \ | 48 | ${RPSRC}/pxafb_tweaks-r0.patch;patch=1 \ |
49 | ${RPSRC}/spitz_kbd_fix-r0.patch;patch=1 \ | ||
50 | ${RPSRC}/mmcsd_large_cards-r0.patch;patch=1 \ | ||
51 | ${RPSRC}/fbmem_fix-r1.patch;patch=1 \ | ||
52 | ${RPSRC}/mmc_oops_fix-r0.patch;patch=1 \ | ||
53 | ${RPSRC}/scoop_linkage-r0.patch;patch=1 \ | ||
54 | ${RPSRC}/ssp_cleanup-r0.patch;patch=1 \ | ||
46 | ${RPSRC}/alsa/asoc-v0.10rc4.patch;patch=1 \ | 55 | ${RPSRC}/alsa/asoc-v0.10rc4.patch;patch=1 \ |
47 | ${RPSRC}/hx2750_base-r24.patch;patch=1 \ | 56 | ${RPSRC}/hx2750_base-r24.patch;patch=1 \ |
48 | ${RPSRC}/hx2750_bl-r5.patch;patch=1 \ | 57 | ${RPSRC}/hx2750_bl-r5.patch;patch=1 \ |
@@ -52,7 +61,7 @@ SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 \ | |||
52 | ${RPSRC}/hx2750_test1-r3.patch;patch=1 \ | 61 | ${RPSRC}/hx2750_test1-r3.patch;patch=1 \ |
53 | ${RPSRC}/pxa_timerfix-r0.patch;patch=1 \ | 62 | ${RPSRC}/pxa_timerfix-r0.patch;patch=1 \ |
54 | ${RPSRC}/input_power-r4.patch;patch=1 \ | 63 | ${RPSRC}/input_power-r4.patch;patch=1 \ |
55 | ${RPSRC}/jffs2_longfilename-r0.patch;patch=1 \ | 64 | ${RPSRC}/jffs2_longfilename-r1.patch;patch=1 \ |
56 | ${RPSRC}/pxa25x_cpufreq-r0.patch;patch=1 \ | 65 | ${RPSRC}/pxa25x_cpufreq-r0.patch;patch=1 \ |
57 | ${RPSRC}/misc_fix1-r0.patch;patch=1 \ | 66 | ${RPSRC}/misc_fix1-r0.patch;patch=1 \ |
58 | ${RPSRC}/corgi_bl_cleanup-r3.patch;patch=1 \ | 67 | ${RPSRC}/corgi_bl_cleanup-r3.patch;patch=1 \ |
@@ -62,11 +71,18 @@ SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 \ | |||
62 | ${RPSRC}/poodle_memsize-r0.patch;patch=1 \ | 71 | ${RPSRC}/poodle_memsize-r0.patch;patch=1 \ |
63 | ${RPSRC}/collie_frontlight-r1.patch;patch=1 \ | 72 | ${RPSRC}/collie_frontlight-r1.patch;patch=1 \ |
64 | ${RPSRC}/zlib_inflate-r3.patch;patch=1 \ | 73 | ${RPSRC}/zlib_inflate-r3.patch;patch=1 \ |
74 | ${RPSRC}/zaurus_reboot-r0.patch;patch=1 \ | ||
75 | ${RPSRC}/sharpsl_pm_fixes1-r0.patch;patch=1 \ | ||
76 | ${RPSRC}/asoc_fixups-r0.patch;patch=1 \ | ||
65 | ${RPSRC}/pm_changes-r1.patch;patch=1 \ | 77 | ${RPSRC}/pm_changes-r1.patch;patch=1 \ |
78 | ${RPSRC}/led_class_kconfig-r0.patch;patch=1 \ | ||
79 | ${RPSRC}/led_maintainer-r0.patch;patch=1 \ | ||
80 | ${RPSRC}/led_sysfs_fix-r0.patch;patch=1 \ | ||
81 | ${RPSRC}/backlight_sysfs_fix-r0.patch;patch=1 \ | ||
66 | ${RPSRC}/sharpsl_pm-do-r2.patch;patch=1 \ | 82 | ${RPSRC}/sharpsl_pm-do-r2.patch;patch=1 \ |
67 | ${RPSRC}/usb_pxa27x_udc-r0.patch;patch=1 \ | 83 | ${RPSRC}/usb_pxa27x_udc-r0.patch;patch=1 \ |
68 | ${RPSRC}/usb_add_epalloc-r1.patch;patch=1 \ | 84 | ${RPSRC}/usb_add_epalloc-r1.patch;patch=1 \ |
69 | ${DOSRC}/kexec-arm-r2.patch;patch=1 \ | 85 | ${DOSRC}/kexec-arm-r2.patch;patch=1 \ |
70 | ${RPSRC}/pxa_cf_initorder_hack-r1.patch;patch=1 \ | 86 | ${RPSRC}/pxa_cf_initorder_hack-r1.patch;patch=1 \ |
71 | ${RPSRC}/mmcsd_no_scr_check-r0.patch;patch=1 \ | 87 | ${RPSRC}/mmcsd_no_scr_check-r0.patch;patch=1 \ |
72 | ${RPSRC}/poodle_ts_hack-r0.patch;patch=1 \ | 88 | ${RPSRC}/poodle_ts_hack-r0.patch;patch=1 \ |
@@ -75,6 +91,8 @@ SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 \ | |||
75 | ${RPSRC}/pxa-linking-bug.patch;patch=1 \ | 91 | ${RPSRC}/pxa-linking-bug.patch;patch=1 \ |
76 | file://serial-add-support-for-non-standard-xtals-to-16c950-driver.patch;patch=1 \ | 92 | file://serial-add-support-for-non-standard-xtals-to-16c950-driver.patch;patch=1 \ |
77 | file://connectplus-remove-ide-HACK.patch;patch=1 \ | 93 | file://connectplus-remove-ide-HACK.patch;patch=1 \ |
94 | file://24-hostap_cs_id.diff;patch=1 \ | ||
95 | file://hrw-pcmcia-ids-r2.patch;patch=1 \ | ||
78 | file://defconfig-c7x0 \ | 96 | file://defconfig-c7x0 \ |
79 | file://defconfig-ipaq-pxa270 \ | 97 | file://defconfig-ipaq-pxa270 \ |
80 | file://defconfig-collie \ | 98 | file://defconfig-collie \ |
@@ -104,14 +122,22 @@ SRC_URI_append_tosa = "\ | |||
104 | ${CHSRC}/tmio-nand-r5.patch;patch=1 \ | 122 | ${CHSRC}/tmio-nand-r5.patch;patch=1 \ |
105 | ${CHSRC}/tmio-ohci-r3.patch;patch=1 \ | 123 | ${CHSRC}/tmio-ohci-r3.patch;patch=1 \ |
106 | ${CHSRC}/tmio-fb-r6.patch;patch=1 \ | 124 | ${CHSRC}/tmio-fb-r6.patch;patch=1 \ |
107 | ${DOSRC}/tosa-keyboard-r13.patch;patch=1 \ | 125 | ${DOSRC}/tosa-keyboard-r14.patch;patch=1 \ |
108 | ${DOSRC}/tosa-pxaac97-r6.patch;patch=1 \ | 126 | ${DOSRC}/tosa-pxaac97-r6.patch;patch=1 \ |
109 | ${DOSRC}/tosa-tmio-r4.patch;patch=1 \ | 127 | ${DOSRC}/tosa-tmio-r6.patch;patch=1 \ |
110 | ${DOSRC}/tosa-power-r14.patch;patch=1 \ | 128 | ${DOSRC}/tosa-power-r15.patch;patch=1 \ |
111 | ${DOSRC}/tosa-tmio-lcd-r5.patch;patch=1 \ | 129 | ${DOSRC}/tosa-tmio-lcd-r7.patch;patch=1 \ |
112 | ${DOSRC}/tosa-bluetooth-r5.patch;patch=1 \ | 130 | ${DOSRC}/tosa-bluetooth-r6.patch;patch=1 \ |
113 | ${DOSRC}/wm97xx-lg7-r0.patch;patch=1 \ | 131 | ${DOSRC}/wm97xx-lg7-r0.patch;patch=1 \ |
114 | ${DOSRC}/tosa-asoc-r0.patch;patch=1 " | 132 | ${DOSRC}/wm9712-suspend-cold-res-r0.patch;patch=1 \ |
133 | ${DOSRC}/sharpsl-pm-postresume-r0.patch;patch=1 \ | ||
134 | ${DOSRC}/wm97xx-dig-restore-r0.patch;patch=1 \ | ||
135 | ${DOSRC}/wm97xx-miscdevs-resume-r0.patch;patch=1 \ | ||
136 | ${DOSRC}/wm9712-reset-loop-r0.patch;patch=1 \ | ||
137 | ${DOSRC}/tosa-asoc-r1.patch;patch=1 " | ||
138 | |||
139 | SRC_URI_append_poodle = "\ | ||
140 | ${RPSRC}/rp_poodle_hacks-r0.patch;patch=1" | ||
115 | 141 | ||
116 | S = "${WORKDIR}/linux-2.6.16" | 142 | S = "${WORKDIR}/linux-2.6.16" |
117 | 143 | ||
diff --git a/openembedded/packages/netbase/netbase_4.21.bb b/openembedded/packages/netbase/netbase_4.21.bb index 4046e64d79..d5526776eb 100644 --- a/openembedded/packages/netbase/netbase_4.21.bb +++ b/openembedded/packages/netbase/netbase_4.21.bb | |||
@@ -2,7 +2,7 @@ SECTION = "base" | |||
2 | DESCRIPTION = "This package provides the necessary \ | 2 | DESCRIPTION = "This package provides the necessary \ |
3 | infrastructure for basic TCP/IP based networking." | 3 | infrastructure for basic TCP/IP based networking." |
4 | LICENSE = "GPL" | 4 | LICENSE = "GPL" |
5 | PR = "r7" | 5 | PR = "r10" |
6 | 6 | ||
7 | inherit update-rc.d | 7 | inherit update-rc.d |
8 | 8 | ||
@@ -10,9 +10,9 @@ INITSCRIPT_NAME = "networking" | |||
10 | INITSCRIPT_PARAMS = "start 40 S . stop 40 0 6 1 ." | 10 | INITSCRIPT_PARAMS = "start 40 S . stop 40 0 6 1 ." |
11 | # On MNCI etc, start very late so that our own apps come up faster | 11 | # On MNCI etc, start very late so that our own apps come up faster |
12 | INITSCRIPT_PARAMS_openmn = "start 85 1 2 3 4 5 . stop 85 0 6 1 ." | 12 | INITSCRIPT_PARAMS_openmn = "start 85 1 2 3 4 5 . stop 85 0 6 1 ." |
13 | # On OpenSlug delay the stop until after network apps have exited | 13 | # On SlugOS (NSLU2) delay the stop until after network apps have exited |
14 | # Do not stop in single user - there's no way to sulogin! | 14 | # Do not stop in single user - there's no way to sulogin! |
15 | INITSCRIPT_PARAMS_openslug = "start 40 S 0 6 ." | 15 | INITSCRIPT_PARAMS_slugos = "start 42 S 0 6 ." |
16 | 16 | ||
17 | SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.gz \ | 17 | SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.gz \ |
18 | file://options \ | 18 | file://options \ |
diff --git a/openembedded/packages/orinoco/files/hermes.conf b/openembedded/packages/orinoco/files/hermes.conf index e45114dd08..4937d356f2 100644 --- a/openembedded/packages/orinoco/files/hermes.conf +++ b/openembedded/packages/orinoco/files/hermes.conf | |||
@@ -83,67 +83,3 @@ card "Intel PRO/Wireless 2011B" | |||
83 | manfid 0x0089, 0x0001 | 83 | manfid 0x0089, 0x0001 |
84 | bind "spectrum_cs" | 84 | bind "spectrum_cs" |
85 | 85 | ||
86 | |||
87 | # Cards with Intersil firmware (Prism chipset) | ||
88 | |||
89 | card "Farallon SkyLINE" | ||
90 | version "INTERSIL", "HFA384x/IEEE" | ||
91 | bind "orinoco_cs" | ||
92 | |||
93 | card "D-Link DWL-650" | ||
94 | version "D", "Link DWL-650 11Mbps WLAN Card" | ||
95 | bind "orinoco_cs" | ||
96 | |||
97 | card "SAMSUNG 11Mbps WLAN Card" | ||
98 | version "SAMSUNG", "11Mbps WLAN Card" | ||
99 | bind "orinoco_cs" | ||
100 | # Does this one cover Compaq as well ??? | ||
101 | |||
102 | card "HyperLink Wireless PC Card 11Mbps" | ||
103 | version "HyperLink","Wireless PC Card 11Mbps" | ||
104 | bind "orinoco_cs" | ||
105 | |||
106 | card "PROXIM LAN PC CARD HARMONY 80211B" | ||
107 | version "PROXIM","LAN PC CARD HARMONY 80211B" | ||
108 | bind "orinoco_cs" | ||
109 | |||
110 | card "Linksys WPC11 11Mbps 802.11b WLAN Card" | ||
111 | version "Instant Wireless ", " Network PC CARD", "Version 01.02" | ||
112 | bind "orinoco_cs" | ||
113 | |||
114 | card "Linksys WPC11 11Mbps 802.11b WLAN Card" | ||
115 | version "The Linksys Group, Inc.", "Instant Wireless Network PC Card", "ISL37300P", "RevA" | ||
116 | bind "orinoco_cs" | ||
117 | |||
118 | card "Linksys CompactFlash Wireless Card" | ||
119 | version "Linksys", "Wireless CompactFlash Card" | ||
120 | bind "orinoco_cs" | ||
121 | |||
122 | card "Tekram PCF-200" | ||
123 | version "PCMCIA", "11M WLAN Card v2.5", "ISL37300P", "RevA" | ||
124 | bind "orinoco_cs" | ||
125 | |||
126 | card "ACTIONTEC PRISM Wireless LAN PC Card" | ||
127 | version "ACTIONTEC", "PRISM Wireless LAN PC Card" | ||
128 | bind "orinoco_cs" | ||
129 | |||
130 | card "Zcomax XI-325HP" | ||
131 | version " ", "IEEE 802.11 Wireless LAN/PC Card" | ||
132 | bind "orinoco_cs" | ||
133 | |||
134 | card "Microsoft Wireless Notebook Adapter MN-520 1.0.3" | ||
135 | version "Microsoft", "Wireless Notebook Adapter MN-520", "", "1.0.3" | ||
136 | bind "orinoco_cs" | ||
137 | |||
138 | card "Linksys WPC11 Version 3" | ||
139 | manfid 0x0274,0x1613 | ||
140 | bind "orinoco_cs" | ||
141 | |||
142 | card "Netgear MA401RA" | ||
143 | version "NETGEAR MA401RA Wireless PC", "Card", "ISL37300P", "Eval-RevA" | ||
144 | bind "orinoco_cs" | ||
145 | |||
146 | card "BENQ AWL100" | ||
147 | version "BENQ", "AWL100 PCMCIA ADAPTER" | ||
148 | bind "orinoco_cs" | ||
149 | |||
diff --git a/openembedded/packages/orinoco/orinoco-conf_1.0.bb b/openembedded/packages/orinoco/orinoco-conf_1.0.bb index d44446895d..fbb748686e 100644 --- a/openembedded/packages/orinoco/orinoco-conf_1.0.bb +++ b/openembedded/packages/orinoco/orinoco-conf_1.0.bb | |||
@@ -1,9 +1,10 @@ | |||
1 | DESCRIPTION = "PCMCIA-cs configuration files for Hermes (Orinoco) wireless LAN cards" | 1 | DESCRIPTION = "PCMCIA-cs configuration files for Hermes (Orinoco) wireless LAN cards" |
2 | SECTION = "kernel/modules" | 2 | SECTION = "kernel/modules" |
3 | PRIORITY = "optional" | 3 | PRIORITY = "optional" |
4 | MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" | 4 | MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de> Marcin Juszkiewicz <openembedded@hrw.one.pl>" |
5 | LICENSE = "GPL" | 5 | LICENSE = "GPL" |
6 | PR = "r0" | 6 | PACKAGE_ARCH = "all" |
7 | PR = "r2" | ||
7 | 8 | ||
8 | SRC_URI = "file://spectrum.conf \ | 9 | SRC_URI = "file://spectrum.conf \ |
9 | file://hermes.conf \ | 10 | file://hermes.conf \ |
diff --git a/openembedded/packages/perl/perl-native_5.8.7.bb b/openembedded/packages/perl/perl-native_5.8.7.bb index cc2b7fc5b1..170a0ebf8d 100644 --- a/openembedded/packages/perl/perl-native_5.8.7.bb +++ b/openembedded/packages/perl/perl-native_5.8.7.bb | |||
@@ -2,13 +2,15 @@ DESCRIPTION = "Perl is a popular scripting language." | |||
2 | MAINTAINER="David Karlstrom <daka@thg.se>" | 2 | MAINTAINER="David Karlstrom <daka@thg.se>" |
3 | HOMEPAGE = "http://www.perl.org/" | 3 | HOMEPAGE = "http://www.perl.org/" |
4 | LICENSE = "Artistic|GPL" | 4 | LICENSE = "Artistic|GPL" |
5 | PR = "r1" | ||
5 | 6 | ||
6 | SECTION = "libs" | 7 | SECTION = "libs" |
7 | inherit native | 8 | inherit native |
8 | 9 | ||
9 | DEPENDS = "db3-native gdbm-native" | 10 | DEPENDS = "virtual/db-native gdbm-native" |
10 | 11 | ||
11 | SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz" | 12 | SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \ |
13 | file://Configure-multilib.patch;patch=1" | ||
12 | S = "${WORKDIR}/perl-${PV}" | 14 | S = "${WORKDIR}/perl-${PV}" |
13 | 15 | ||
14 | #perl is not parallel_make safe | 16 | #perl is not parallel_make safe |
diff --git a/openembedded/packages/perl/perl.inc b/openembedded/packages/perl/perl.inc index 12fffa1c33..52418903a2 100644 --- a/openembedded/packages/perl/perl.inc +++ b/openembedded/packages/perl/perl.inc | |||
@@ -5,7 +5,7 @@ SECTION = "devel" | |||
5 | PRIORITY = "optional" | 5 | PRIORITY = "optional" |
6 | DEPENDS = "virtual/db perl-native" | 6 | DEPENDS = "virtual/db perl-native" |
7 | 7 | ||
8 | SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \ | 8 | SRC_URI = "ftp://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \ |
9 | file://Makefile.patch;patch=1 \ | 9 | file://Makefile.patch;patch=1 \ |
10 | file://config.sh-arm-linux.patch;patch=1 \ | 10 | file://config.sh-arm-linux.patch;patch=1 \ |
11 | file://libperl-5.8.3-create-libperl-soname.patch;patch=1;pnum=0 \ | 11 | file://libperl-5.8.3-create-libperl-soname.patch;patch=1;pnum=0 \ |
@@ -39,6 +39,7 @@ do_configure() { | |||
39 | } | 39 | } |
40 | 40 | ||
41 | do_compile() { | 41 | do_compile() { |
42 | sed -i -e 's|/usr/include|${STAGING_INCDIR}|g' ext/Errno/Errno_pm.PL | ||
42 | cd Cross | 43 | cd Cross |
43 | oe_runmake perl | 44 | oe_runmake perl |
44 | } | 45 | } |
diff --git a/openembedded/packages/perl/perl_5.8.7.bb b/openembedded/packages/perl/perl_5.8.7.bb index a960439ad2..456cc95c84 100644 --- a/openembedded/packages/perl/perl_5.8.7.bb +++ b/openembedded/packages/perl/perl_5.8.7.bb | |||
@@ -6,7 +6,7 @@ SRC_URI += "file://config.sh-armeb-linux \ | |||
6 | file://config.sh-arm-linux \ | 6 | file://config.sh-arm-linux \ |
7 | file://config.sh-i386-linux" | 7 | file://config.sh-i386-linux" |
8 | 8 | ||
9 | PR = "r14" | 9 | PR = "r15" |
10 | 10 | ||
11 | do_configure() { | 11 | do_configure() { |
12 | ln -sf ${HOSTPERL} ${STAGING_BINDIR}/hostperl | 12 | ln -sf ${HOSTPERL} ${STAGING_BINDIR}/hostperl |
@@ -18,6 +18,8 @@ do_configure() { | |||
18 | cp ${WORKDIR}/config.sh-i686-linux . | 18 | cp ${WORKDIR}/config.sh-i686-linux . |
19 | cp ${WORKDIR}/config.sh-i386-linux . | 19 | cp ${WORKDIR}/config.sh-i386-linux . |
20 | cp ${WORKDIR}/config.sh-armeb-linux . | 20 | cp ${WORKDIR}/config.sh-armeb-linux . |
21 | #perl insists on an extra config.sh for arm EABI | ||
22 | cp config.sh-arm-linux config.sh-arm-linux-gnueabi | ||
21 | # nslu2 LE uclibc builds do not work with the default config.sh | 23 | # nslu2 LE uclibc builds do not work with the default config.sh |
22 | if test "${MACHINE}" = nslu2 | 24 | if test "${MACHINE}" = nslu2 |
23 | then | 25 | then |
diff --git a/openembedded/packages/pkgconfig/pkgconfig-0.15.0/pkg.m4 b/openembedded/packages/pkgconfig/pkgconfig-0.15.0/pkg.m4 new file mode 100644 index 0000000000..cbb46dbf83 --- /dev/null +++ b/openembedded/packages/pkgconfig/pkgconfig-0.15.0/pkg.m4 | |||
@@ -0,0 +1,156 @@ | |||
1 | # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- | ||
2 | # | ||
3 | # Copyright © 2004 Scott James Remnant <scott@netsplit.com>. | ||
4 | # | ||
5 | # This program is free software; you can redistribute it and/or modify | ||
6 | # it under the terms of the GNU General Public License as published by | ||
7 | # the Free Software Foundation; either version 2 of the License, or | ||
8 | # (at your option) any later version. | ||
9 | # | ||
10 | # This program is distributed in the hope that it will be useful, but | ||
11 | # WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | # General Public License for more details. | ||
14 | # | ||
15 | # You should have received a copy of the GNU General Public License | ||
16 | # along with this program; if not, write to the Free Software | ||
17 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
18 | # | ||
19 | # As a special exception to the GNU General Public License, if you | ||
20 | # distribute this file as part of a program that contains a | ||
21 | # configuration script generated by Autoconf, you may include it under | ||
22 | # the same distribution terms that you use for the rest of that program. | ||
23 | |||
24 | # PKG_PROG_PKG_CONFIG([MIN-VERSION]) | ||
25 | # ---------------------------------- | ||
26 | AC_DEFUN([PKG_PROG_PKG_CONFIG], | ||
27 | [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) | ||
28 | m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) | ||
29 | AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl | ||
30 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | ||
31 | AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) | ||
32 | fi | ||
33 | if test -n "$PKG_CONFIG"; then | ||
34 | _pkg_min_version=m4_default([$1], [0.9.0]) | ||
35 | AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) | ||
36 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | ||
37 | AC_MSG_RESULT([yes]) | ||
38 | else | ||
39 | AC_MSG_RESULT([no]) | ||
40 | PKG_CONFIG="" | ||
41 | fi | ||
42 | |||
43 | fi[]dnl | ||
44 | ])# PKG_PROG_PKG_CONFIG | ||
45 | |||
46 | # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) | ||
47 | # | ||
48 | # Check to see whether a particular set of modules exists. Similar | ||
49 | # to PKG_CHECK_MODULES(), but does not set variables or print errors. | ||
50 | # | ||
51 | # | ||
52 | # Similar to PKG_CHECK_MODULES, make sure that the first instance of | ||
53 | # this or PKG_CHECK_MODULES is called, or make sure to call | ||
54 | # PKG_CHECK_EXISTS manually | ||
55 | # -------------------------------------------------------------- | ||
56 | AC_DEFUN([PKG_CHECK_EXISTS], | ||
57 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | ||
58 | if test -n "$PKG_CONFIG" && \ | ||
59 | AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then | ||
60 | m4_ifval([$2], [$2], [:]) | ||
61 | m4_ifvaln([$3], [else | ||
62 | $3])dnl | ||
63 | fi]) | ||
64 | |||
65 | |||
66 | # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) | ||
67 | # --------------------------------------------- | ||
68 | m4_define([_PKG_CONFIG], | ||
69 | [if test -n "$PKG_CONFIG"; then | ||
70 | if test -n "$$1"; then | ||
71 | pkg_cv_[]$1="$$1" | ||
72 | else | ||
73 | PKG_CHECK_EXISTS([$3], | ||
74 | [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], | ||
75 | [pkg_failed=yes]) | ||
76 | fi | ||
77 | else | ||
78 | pkg_failed=untried | ||
79 | fi[]dnl | ||
80 | ])# _PKG_CONFIG | ||
81 | |||
82 | # _PKG_SHORT_ERRORS_SUPPORTED | ||
83 | # ----------------------------- | ||
84 | AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], | ||
85 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) | ||
86 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | ||
87 | _pkg_short_errors_supported=yes | ||
88 | else | ||
89 | _pkg_short_errors_supported=no | ||
90 | fi[]dnl | ||
91 | ])# _PKG_SHORT_ERRORS_SUPPORTED | ||
92 | |||
93 | |||
94 | # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], | ||
95 | # [ACTION-IF-NOT-FOUND]) | ||
96 | # | ||
97 | # | ||
98 | # Note that if there is a possibility the first call to | ||
99 | # PKG_CHECK_MODULES might not happen, you should be sure to include an | ||
100 | # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac | ||
101 | # | ||
102 | # | ||
103 | # -------------------------------------------------------------- | ||
104 | AC_DEFUN([PKG_CHECK_MODULES], | ||
105 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | ||
106 | AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl | ||
107 | AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl | ||
108 | |||
109 | pkg_failed=no | ||
110 | AC_MSG_CHECKING([for $1]) | ||
111 | |||
112 | _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) | ||
113 | _PKG_CONFIG([$1][_LIBS], [libs], [$2]) | ||
114 | |||
115 | m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS | ||
116 | and $1[]_LIBS to avoid the need to call pkg-config. | ||
117 | See the pkg-config man page for more details.]) | ||
118 | |||
119 | if test $pkg_failed = yes; then | ||
120 | _PKG_SHORT_ERRORS_SUPPORTED | ||
121 | if test $_pkg_short_errors_supported = yes; then | ||
122 | $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` | ||
123 | else | ||
124 | $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` | ||
125 | fi | ||
126 | # Put the nasty error message in config.log where it belongs | ||
127 | echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD | ||
128 | |||
129 | ifelse([$4], , [AC_MSG_ERROR(dnl | ||
130 | [Package requirements ($2) were not met: | ||
131 | |||
132 | $$1_PKG_ERRORS | ||
133 | |||
134 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | ||
135 | installed software in a non-standard prefix. | ||
136 | |||
137 | _PKG_TEXT | ||
138 | ])], | ||
139 | [$4]) | ||
140 | elif test $pkg_failed = untried; then | ||
141 | ifelse([$4], , [AC_MSG_FAILURE(dnl | ||
142 | [The pkg-config script could not be found or is too old. Make sure it | ||
143 | is in your PATH or set the PKG_CONFIG environment variable to the full | ||
144 | path to pkg-config. | ||
145 | |||
146 | _PKG_TEXT | ||
147 | |||
148 | To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])], | ||
149 | [$4]) | ||
150 | else | ||
151 | $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS | ||
152 | $1[]_LIBS=$pkg_cv_[]$1[]_LIBS | ||
153 | AC_MSG_RESULT([yes]) | ||
154 | ifelse([$3], , :, [$3]) | ||
155 | fi[]dnl | ||
156 | ])# PKG_CHECK_MODULES | ||
diff --git a/openembedded/packages/pkgconfig/pkgconfig_0.15.0.bb b/openembedded/packages/pkgconfig/pkgconfig_0.15.0.bb index e38e20438d..31fc7820fe 100644 --- a/openembedded/packages/pkgconfig/pkgconfig_0.15.0.bb +++ b/openembedded/packages/pkgconfig/pkgconfig_0.15.0.bb | |||
@@ -5,10 +5,11 @@ It replaces the ubiquitous *-config scripts you may have \ | |||
5 | seen with a single tool." | 5 | seen with a single tool." |
6 | HOMEPAGE = "http://www.freedesktop.org/software/pkgconfig/" | 6 | HOMEPAGE = "http://www.freedesktop.org/software/pkgconfig/" |
7 | LICENSE = "GPL" | 7 | LICENSE = "GPL" |
8 | PR = "r1" | 8 | PR = "r2" |
9 | 9 | ||
10 | SRC_URI = "http://www.freedesktop.org/software/pkgconfig/releases/pkgconfig-${PV}.tar.gz \ | 10 | SRC_URI = "http://www.freedesktop.org/software/pkgconfig/releases/pkgconfig-${PV}.tar.gz \ |
11 | file://configure.patch;patch=1 \ | 11 | file://configure.patch;patch=1 \ |
12 | file://pkg.m4 \ | ||
12 | file://glibconfig-sysdefs.h" | 13 | file://glibconfig-sysdefs.h" |
13 | 14 | ||
14 | inherit autotools | 15 | inherit autotools |
@@ -16,6 +17,7 @@ inherit autotools | |||
16 | acpaths = "-I ." | 17 | acpaths = "-I ." |
17 | do_configure_prepend () { | 18 | do_configure_prepend () { |
18 | install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h glib-1.2.8/ | 19 | install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h glib-1.2.8/ |
20 | install -m 0644 ${WORKDIR}/pkg.m4 ${S}/ | ||
19 | } | 21 | } |
20 | 22 | ||
21 | do_stage_append() { | 23 | do_stage_append() { |
diff --git a/openembedded/packages/prism3-support/files/hostap-fw-load b/openembedded/packages/prism3-support/files/hostap-fw-load index 0b2aec51a8..00df1ef848 100644 --- a/openembedded/packages/prism3-support/files/hostap-fw-load +++ b/openembedded/packages/prism3-support/files/hostap-fw-load | |||
@@ -1,11 +1,17 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | if test -e /sbin/cardctl; then | ||
4 | CARDCTL=/sbin/cardctl | ||
5 | elif test -e /sbin/pccardctl; then | ||
6 | CARDCTL=/sbin/pccardctl | ||
7 | else | ||
8 | exit 0 | ||
9 | fi | ||
10 | |||
3 | # Special case for prism3 cards needing firmware upload | 11 | # Special case for prism3 cards needing firmware upload |
4 | # Add more known manfids, if necessary | 12 | # Add more known manfids, if necessary |
5 | |||
6 | test -x /sbin/cardctl || exit 0 | ||
7 | 13 | ||
8 | if [ `cardctl info|grep "d601,0010\|d601,0101"` ]; then | 14 | if [ `$CARDCTL info|grep "d601,0010\|d601,0101"` ]; then |
9 | iwpriv "$IFACE" reset 1 | 15 | iwpriv "$IFACE" reset 1 |
10 | hostap_fw_load "$IFACE" | 16 | hostap_fw_load "$IFACE" |
11 | fi | 17 | fi |
diff --git a/openembedded/packages/prism3-support/prism3-support_1.0.0.bb b/openembedded/packages/prism3-support/prism3-support_1.0.0.bb index dfe3f5a9fb..85f1391ed4 100644 --- a/openembedded/packages/prism3-support/prism3-support_1.0.0.bb +++ b/openembedded/packages/prism3-support/prism3-support_1.0.0.bb | |||
@@ -4,8 +4,8 @@ LICENSE = "GPL" | |||
4 | DEPENDS = "prism3-firmware hostap-utils" | 4 | DEPENDS = "prism3-firmware hostap-utils" |
5 | RDEPENDS = "prism3-firmware hostap-utils" | 5 | RDEPENDS = "prism3-firmware hostap-utils" |
6 | MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" | 6 | MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" |
7 | PR = "r1" | ||
8 | PACKAGE_ARCH = "all" | 7 | PACKAGE_ARCH = "all" |
8 | PR = "r2" | ||
9 | 9 | ||
10 | SRC_URI = "file://hostap-fw-load" | 10 | SRC_URI = "file://hostap-fw-load" |
11 | 11 | ||
diff --git a/openembedded/packages/qemu/files/qemu_nodocs_cvs.patch b/openembedded/packages/qemu/files/nodocs_cvs.patch index b52d860fb0..b52d860fb0 100644 --- a/openembedded/packages/qemu/files/qemu_nodocs_cvs.patch +++ b/openembedded/packages/qemu/files/nodocs_cvs.patch | |||
diff --git a/openembedded/packages/qemu/qemu-native_cvs.bb b/openembedded/packages/qemu/qemu-native_cvs.bb index 090c1408aa..976d2d664f 100644 --- a/openembedded/packages/qemu/qemu-native_cvs.bb +++ b/openembedded/packages/qemu/qemu-native_cvs.bb | |||
@@ -12,4 +12,3 @@ python __anonymous() { | |||
12 | data.setVar('EXTRA_OECONF', " --cc=gcc-3.3", d) | 12 | data.setVar('EXTRA_OECONF', " --cc=gcc-3.3", d) |
13 | 13 | ||
14 | } | 14 | } |
15 | |||
diff --git a/openembedded/packages/qemu/qemu_cvs.bb b/openembedded/packages/qemu/qemu_cvs.bb index 4a2dc13169..5ebc18c6a4 100644 --- a/openembedded/packages/qemu/qemu_cvs.bb +++ b/openembedded/packages/qemu/qemu_cvs.bb | |||
@@ -2,8 +2,8 @@ LICENSE = "GPL" | |||
2 | PV = "0.8.0+cvs${SRCDATE}" | 2 | PV = "0.8.0+cvs${SRCDATE}" |
3 | 3 | ||
4 | SRC_URI = "cvs://anonymous@cvs.savannah.nongnu.org/sources/qemu;method=pserver;rsh=ssh;module=qemu \ | 4 | SRC_URI = "cvs://anonymous@cvs.savannah.nongnu.org/sources/qemu;method=pserver;rsh=ssh;module=qemu \ |
5 | file://configure.patch;patch=1 \ | 5 | file://nodocs_cvs.patch;patch=1 \ |
6 | file://qemu_nodocs_cvs.patch;patch=1" | 6 | file://configure.patch;patch=1" |
7 | 7 | ||
8 | S = "${WORKDIR}/qemu" | 8 | S = "${WORKDIR}/qemu" |
9 | 9 | ||
diff --git a/openembedded/packages/quilt/files/autoreconf.patch b/openembedded/packages/quilt/files/autoreconf.patch deleted file mode 100644 index b4267c8380..0000000000 --- a/openembedded/packages/quilt/files/autoreconf.patch +++ /dev/null | |||
@@ -1,10794 +0,0 @@ | |||
1 | diff -urNd -urNd quilt/autom4te.cache/output.0 quilt.autoreconf/autom4te.cache/output.0 | ||
2 | --- quilt/autom4te.cache/output.0 1969-12-31 18:00:00.000000000 -0600 | ||
3 | +++ quilt.autoreconf/autom4te.cache/output.0 2005-01-17 21:06:39.000000000 -0600 | ||
4 | @@ -0,0 +1,5239 @@ | ||
5 | +@%:@! /bin/sh | ||
6 | +@%:@ From configure.ac . | ||
7 | +@%:@ Guess values for system-dependent variables and create Makefiles. | ||
8 | +@%:@ Generated by GNU Autoconf 2.59 for quilt 0.37. | ||
9 | +@%:@ | ||
10 | +@%:@ Report bugs to <quilt-dev@nongnu.org>. | ||
11 | +@%:@ | ||
12 | +@%:@ Copyright (C) 2003 Free Software Foundation, Inc. | ||
13 | +@%:@ This configure script is free software; the Free Software Foundation | ||
14 | +@%:@ gives unlimited permission to copy, distribute and modify it. | ||
15 | +## --------------------- ## | ||
16 | +## M4sh Initialization. ## | ||
17 | +## --------------------- ## | ||
18 | + | ||
19 | +# Be Bourne compatible | ||
20 | +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
21 | + emulate sh | ||
22 | + NULLCMD=: | ||
23 | + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
24 | + # is contrary to our usage. Disable this feature. | ||
25 | + alias -g '${1+"$@"}'='"$@"' | ||
26 | +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | ||
27 | + set -o posix | ||
28 | +fi | ||
29 | +DUALCASE=1; export DUALCASE # for MKS sh | ||
30 | + | ||
31 | +# Support unset when possible. | ||
32 | +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
33 | + as_unset=unset | ||
34 | +else | ||
35 | + as_unset=false | ||
36 | +fi | ||
37 | + | ||
38 | + | ||
39 | +# Work around bugs in pre-3.0 UWIN ksh. | ||
40 | +$as_unset ENV MAIL MAILPATH | ||
41 | +PS1='$ ' | ||
42 | +PS2='> ' | ||
43 | +PS4='+ ' | ||
44 | + | ||
45 | +# NLS nuisances. | ||
46 | +for as_var in \ | ||
47 | + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | ||
48 | + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | ||
49 | + LC_TELEPHONE LC_TIME | ||
50 | +do | ||
51 | + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | ||
52 | + eval $as_var=C; export $as_var | ||
53 | + else | ||
54 | + $as_unset $as_var | ||
55 | + fi | ||
56 | +done | ||
57 | + | ||
58 | +# Required to use basename. | ||
59 | +if expr a : '\(a\)' >/dev/null 2>&1; then | ||
60 | + as_expr=expr | ||
61 | +else | ||
62 | + as_expr=false | ||
63 | +fi | ||
64 | + | ||
65 | +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | ||
66 | + as_basename=basename | ||
67 | +else | ||
68 | + as_basename=false | ||
69 | +fi | ||
70 | + | ||
71 | + | ||
72 | +# Name of the executable. | ||
73 | +as_me=`$as_basename "$0" || | ||
74 | +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
75 | + X"$0" : 'X\(//\)$' \| \ | ||
76 | + X"$0" : 'X\(/\)$' \| \ | ||
77 | + . : '\(.\)' 2>/dev/null || | ||
78 | +echo X/"$0" | | ||
79 | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | ||
80 | + /^X\/\(\/\/\)$/{ s//\1/; q; } | ||
81 | + /^X\/\(\/\).*/{ s//\1/; q; } | ||
82 | + s/.*/./; q'` | ||
83 | + | ||
84 | + | ||
85 | +# PATH needs CR, and LINENO needs CR and PATH. | ||
86 | +# Avoid depending upon Character Ranges. | ||
87 | +as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
88 | +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
89 | +as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
90 | +as_cr_digits='0123456789' | ||
91 | +as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
92 | + | ||
93 | +# The user is always right. | ||
94 | +if test "${PATH_SEPARATOR+set}" != set; then | ||
95 | + echo "#! /bin/sh" >conf$$.sh | ||
96 | + echo "exit 0" >>conf$$.sh | ||
97 | + chmod +x conf$$.sh | ||
98 | + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
99 | + PATH_SEPARATOR=';' | ||
100 | + else | ||
101 | + PATH_SEPARATOR=: | ||
102 | + fi | ||
103 | + rm -f conf$$.sh | ||
104 | +fi | ||
105 | + | ||
106 | + | ||
107 | + as_lineno_1=$LINENO | ||
108 | + as_lineno_2=$LINENO | ||
109 | + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
110 | + test "x$as_lineno_1" != "x$as_lineno_2" && | ||
111 | + test "x$as_lineno_3" = "x$as_lineno_2" || { | ||
112 | + # Find who we are. Look in the path if we contain no path at all | ||
113 | + # relative or not. | ||
114 | + case $0 in | ||
115 | + *[\\/]* ) as_myself=$0 ;; | ||
116 | + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
117 | +for as_dir in $PATH | ||
118 | +do | ||
119 | + IFS=$as_save_IFS | ||
120 | + test -z "$as_dir" && as_dir=. | ||
121 | + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
122 | +done | ||
123 | + | ||
124 | + ;; | ||
125 | + esac | ||
126 | + # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
127 | + # in which case we are not to be found in the path. | ||
128 | + if test "x$as_myself" = x; then | ||
129 | + as_myself=$0 | ||
130 | + fi | ||
131 | + if test ! -f "$as_myself"; then | ||
132 | + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | ||
133 | + { (exit 1); exit 1; }; } | ||
134 | + fi | ||
135 | + case $CONFIG_SHELL in | ||
136 | + '') | ||
137 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
138 | +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
139 | +do | ||
140 | + IFS=$as_save_IFS | ||
141 | + test -z "$as_dir" && as_dir=. | ||
142 | + for as_base in sh bash ksh sh5; do | ||
143 | + case $as_dir in | ||
144 | + /*) | ||
145 | + if ("$as_dir/$as_base" -c ' | ||
146 | + as_lineno_1=$LINENO | ||
147 | + as_lineno_2=$LINENO | ||
148 | + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
149 | + test "x$as_lineno_1" != "x$as_lineno_2" && | ||
150 | + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | ||
151 | + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | ||
152 | + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | ||
153 | + CONFIG_SHELL=$as_dir/$as_base | ||
154 | + export CONFIG_SHELL | ||
155 | + exec "$CONFIG_SHELL" "$0" ${1+"$@"} | ||
156 | + fi;; | ||
157 | + esac | ||
158 | + done | ||
159 | +done | ||
160 | +;; | ||
161 | + esac | ||
162 | + | ||
163 | + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
164 | + # uniformly replaced by the line number. The first 'sed' inserts a | ||
165 | + # line-number line before each line; the second 'sed' does the real | ||
166 | + # work. The second script uses 'N' to pair each line-number line | ||
167 | + # with the numbered line, and appends trailing '-' during | ||
168 | + # substitution so that $LINENO is not a special case at line end. | ||
169 | + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
170 | + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | ||
171 | + sed '=' <$as_myself | | ||
172 | + sed ' | ||
173 | + N | ||
174 | + s,$,-, | ||
175 | + : loop | ||
176 | + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | ||
177 | + t loop | ||
178 | + s,-$,, | ||
179 | + s,^['$as_cr_digits']*\n,, | ||
180 | + ' >$as_me.lineno && | ||
181 | + chmod +x $as_me.lineno || | ||
182 | + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | ||
183 | + { (exit 1); exit 1; }; } | ||
184 | + | ||
185 | + # Don't try to exec as it changes $[0], causing all sort of problems | ||
186 | + # (the dirname of $[0] is not the place where we might find the | ||
187 | + # original and so on. Autoconf is especially sensible to this). | ||
188 | + . ./$as_me.lineno | ||
189 | + # Exit status is that of the last command. | ||
190 | + exit | ||
191 | +} | ||
192 | + | ||
193 | + | ||
194 | +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | ||
195 | + *c*,-n*) ECHO_N= ECHO_C=' | ||
196 | +' ECHO_T=' ' ;; | ||
197 | + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | ||
198 | + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | ||
199 | +esac | ||
200 | + | ||
201 | +if expr a : '\(a\)' >/dev/null 2>&1; then | ||
202 | + as_expr=expr | ||
203 | +else | ||
204 | + as_expr=false | ||
205 | +fi | ||
206 | + | ||
207 | +rm -f conf$$ conf$$.exe conf$$.file | ||
208 | +echo >conf$$.file | ||
209 | +if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
210 | + # We could just check for DJGPP; but this test a) works b) is more generic | ||
211 | + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | ||
212 | + if test -f conf$$.exe; then | ||
213 | + # Don't use ln at all; we don't have any links | ||
214 | + as_ln_s='cp -p' | ||
215 | + else | ||
216 | + as_ln_s='ln -s' | ||
217 | + fi | ||
218 | +elif ln conf$$.file conf$$ 2>/dev/null; then | ||
219 | + as_ln_s=ln | ||
220 | +else | ||
221 | + as_ln_s='cp -p' | ||
222 | +fi | ||
223 | +rm -f conf$$ conf$$.exe conf$$.file | ||
224 | + | ||
225 | +if mkdir -p . 2>/dev/null; then | ||
226 | + as_mkdir_p=: | ||
227 | +else | ||
228 | + test -d ./-p && rmdir ./-p | ||
229 | + as_mkdir_p=false | ||
230 | +fi | ||
231 | + | ||
232 | +as_executable_p="test -f" | ||
233 | + | ||
234 | +# Sed expression to map a string onto a valid CPP name. | ||
235 | +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | ||
236 | + | ||
237 | +# Sed expression to map a string onto a valid variable name. | ||
238 | +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
239 | + | ||
240 | + | ||
241 | +# IFS | ||
242 | +# We need space, tab and new line, in precisely that order. | ||
243 | +as_nl=' | ||
244 | +' | ||
245 | +IFS=" $as_nl" | ||
246 | + | ||
247 | +# CDPATH. | ||
248 | +$as_unset CDPATH | ||
249 | + | ||
250 | + | ||
251 | +# Name of the host. | ||
252 | +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | ||
253 | +# so uname gets run too. | ||
254 | +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | ||
255 | + | ||
256 | +exec 6>&1 | ||
257 | + | ||
258 | +# | ||
259 | +# Initializations. | ||
260 | +# | ||
261 | +ac_default_prefix=/usr/local | ||
262 | +ac_config_libobj_dir=. | ||
263 | +cross_compiling=no | ||
264 | +subdirs= | ||
265 | +MFLAGS= | ||
266 | +MAKEFLAGS= | ||
267 | +SHELL=${CONFIG_SHELL-/bin/sh} | ||
268 | + | ||
269 | +# Maximum number of lines to put in a shell here document. | ||
270 | +# This variable seems obsolete. It should probably be removed, and | ||
271 | +# only ac_max_sed_lines should be used. | ||
272 | +: ${ac_max_here_lines=38} | ||
273 | + | ||
274 | +# Identity of this package. | ||
275 | +PACKAGE_NAME='quilt' | ||
276 | +PACKAGE_TARNAME='quilt' | ||
277 | +PACKAGE_VERSION='0.37' | ||
278 | +PACKAGE_STRING='quilt 0.37' | ||
279 | +PACKAGE_BUGREPORT='quilt-dev@nongnu.org' | ||
280 | + | ||
281 | +# Factoring default headers for most tests. | ||
282 | +ac_includes_default="\ | ||
283 | +#include <stdio.h> | ||
284 | +#if HAVE_SYS_TYPES_H | ||
285 | +# include <sys/types.h> | ||
286 | +#endif | ||
287 | +#if HAVE_SYS_STAT_H | ||
288 | +# include <sys/stat.h> | ||
289 | +#endif | ||
290 | +#if STDC_HEADERS | ||
291 | +# include <stdlib.h> | ||
292 | +# include <stddef.h> | ||
293 | +#else | ||
294 | +# if HAVE_STDLIB_H | ||
295 | +# include <stdlib.h> | ||
296 | +# endif | ||
297 | +#endif | ||
298 | +#if HAVE_STRING_H | ||
299 | +# if !STDC_HEADERS && HAVE_MEMORY_H | ||
300 | +# include <memory.h> | ||
301 | +# endif | ||
302 | +# include <string.h> | ||
303 | +#endif | ||
304 | +#if HAVE_STRINGS_H | ||
305 | +# include <strings.h> | ||
306 | +#endif | ||
307 | +#if HAVE_INTTYPES_H | ||
308 | +# include <inttypes.h> | ||
309 | +#else | ||
310 | +# if HAVE_STDINT_H | ||
311 | +# include <stdint.h> | ||
312 | +# endif | ||
313 | +#endif | ||
314 | +#if HAVE_UNISTD_H | ||
315 | +# include <unistd.h> | ||
316 | +#endif" | ||
317 | + | ||
318 | +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE_RELEASE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LIB@&t@OBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA BASH PERL SED AWK MKTEMP DIFF PATCH DIFFSTAT MSGFMT docdir RPMBUILD LTLIBOBJS' | ||
319 | +ac_subst_files='' | ||
320 | + | ||
321 | +# Initialize some variables set by options. | ||
322 | +ac_init_help= | ||
323 | +ac_init_version=false | ||
324 | +# The variables have the same names as the options, with | ||
325 | +# dashes changed to underlines. | ||
326 | +cache_file=/dev/null | ||
327 | +exec_prefix=NONE | ||
328 | +no_create= | ||
329 | +no_recursion= | ||
330 | +prefix=NONE | ||
331 | +program_prefix=NONE | ||
332 | +program_suffix=NONE | ||
333 | +program_transform_name=s,x,x, | ||
334 | +silent= | ||
335 | +site= | ||
336 | +srcdir= | ||
337 | +verbose= | ||
338 | +x_includes=NONE | ||
339 | +x_libraries=NONE | ||
340 | + | ||
341 | +# Installation directory options. | ||
342 | +# These are left unexpanded so users can "make install exec_prefix=/foo" | ||
343 | +# and all the variables that are supposed to be based on exec_prefix | ||
344 | +# by default will actually change. | ||
345 | +# Use braces instead of parens because sh, perl, etc. also accept them. | ||
346 | +bindir='${exec_prefix}/bin' | ||
347 | +sbindir='${exec_prefix}/sbin' | ||
348 | +libexecdir='${exec_prefix}/libexec' | ||
349 | +datadir='${prefix}/share' | ||
350 | +sysconfdir='${prefix}/etc' | ||
351 | +sharedstatedir='${prefix}/com' | ||
352 | +localstatedir='${prefix}/var' | ||
353 | +libdir='${exec_prefix}/lib' | ||
354 | +includedir='${prefix}/include' | ||
355 | +oldincludedir='/usr/include' | ||
356 | +infodir='${prefix}/info' | ||
357 | +mandir='${prefix}/man' | ||
358 | + | ||
359 | +ac_prev= | ||
360 | +for ac_option | ||
361 | +do | ||
362 | + # If the previous option needs an argument, assign it. | ||
363 | + if test -n "$ac_prev"; then | ||
364 | + eval "$ac_prev=\$ac_option" | ||
365 | + ac_prev= | ||
366 | + continue | ||
367 | + fi | ||
368 | + | ||
369 | + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | ||
370 | + | ||
371 | + # Accept the important Cygnus configure options, so we can diagnose typos. | ||
372 | + | ||
373 | + case $ac_option in | ||
374 | + | ||
375 | + -bindir | --bindir | --bindi | --bind | --bin | --bi) | ||
376 | + ac_prev=bindir ;; | ||
377 | + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | ||
378 | + bindir=$ac_optarg ;; | ||
379 | + | ||
380 | + -build | --build | --buil | --bui | --bu) | ||
381 | + ac_prev=build_alias ;; | ||
382 | + -build=* | --build=* | --buil=* | --bui=* | --bu=*) | ||
383 | + build_alias=$ac_optarg ;; | ||
384 | + | ||
385 | + -cache-file | --cache-file | --cache-fil | --cache-fi \ | ||
386 | + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | ||
387 | + ac_prev=cache_file ;; | ||
388 | + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | ||
389 | + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | ||
390 | + cache_file=$ac_optarg ;; | ||
391 | + | ||
392 | + --config-cache | -C) | ||
393 | + cache_file=config.cache ;; | ||
394 | + | ||
395 | + -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | ||
396 | + ac_prev=datadir ;; | ||
397 | + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | ||
398 | + | --da=*) | ||
399 | + datadir=$ac_optarg ;; | ||
400 | + | ||
401 | + -disable-* | --disable-*) | ||
402 | + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | ||
403 | + # Reject names that are not valid shell variable names. | ||
404 | + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
405 | + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | ||
406 | + { (exit 1); exit 1; }; } | ||
407 | + ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ||
408 | + eval "enable_$ac_feature=no" ;; | ||
409 | + | ||
410 | + -enable-* | --enable-*) | ||
411 | + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | ||
412 | + # Reject names that are not valid shell variable names. | ||
413 | + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
414 | + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | ||
415 | + { (exit 1); exit 1; }; } | ||
416 | + ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ||
417 | + case $ac_option in | ||
418 | + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
419 | + *) ac_optarg=yes ;; | ||
420 | + esac | ||
421 | + eval "enable_$ac_feature='$ac_optarg'" ;; | ||
422 | + | ||
423 | + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | ||
424 | + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | ||
425 | + | --exec | --exe | --ex) | ||
426 | + ac_prev=exec_prefix ;; | ||
427 | + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | ||
428 | + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | ||
429 | + | --exec=* | --exe=* | --ex=*) | ||
430 | + exec_prefix=$ac_optarg ;; | ||
431 | + | ||
432 | + -gas | --gas | --ga | --g) | ||
433 | + # Obsolete; use --with-gas. | ||
434 | + with_gas=yes ;; | ||
435 | + | ||
436 | + -help | --help | --hel | --he | -h) | ||
437 | + ac_init_help=long ;; | ||
438 | + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | ||
439 | + ac_init_help=recursive ;; | ||
440 | + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | ||
441 | + ac_init_help=short ;; | ||
442 | + | ||
443 | + -host | --host | --hos | --ho) | ||
444 | + ac_prev=host_alias ;; | ||
445 | + -host=* | --host=* | --hos=* | --ho=*) | ||
446 | + host_alias=$ac_optarg ;; | ||
447 | + | ||
448 | + -includedir | --includedir | --includedi | --included | --include \ | ||
449 | + | --includ | --inclu | --incl | --inc) | ||
450 | + ac_prev=includedir ;; | ||
451 | + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | ||
452 | + | --includ=* | --inclu=* | --incl=* | --inc=*) | ||
453 | + includedir=$ac_optarg ;; | ||
454 | + | ||
455 | + -infodir | --infodir | --infodi | --infod | --info | --inf) | ||
456 | + ac_prev=infodir ;; | ||
457 | + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | ||
458 | + infodir=$ac_optarg ;; | ||
459 | + | ||
460 | + -libdir | --libdir | --libdi | --libd) | ||
461 | + ac_prev=libdir ;; | ||
462 | + -libdir=* | --libdir=* | --libdi=* | --libd=*) | ||
463 | + libdir=$ac_optarg ;; | ||
464 | + | ||
465 | + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | ||
466 | + | --libexe | --libex | --libe) | ||
467 | + ac_prev=libexecdir ;; | ||
468 | + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | ||
469 | + | --libexe=* | --libex=* | --libe=*) | ||
470 | + libexecdir=$ac_optarg ;; | ||
471 | + | ||
472 | + -localstatedir | --localstatedir | --localstatedi | --localstated \ | ||
473 | + | --localstate | --localstat | --localsta | --localst \ | ||
474 | + | --locals | --local | --loca | --loc | --lo) | ||
475 | + ac_prev=localstatedir ;; | ||
476 | + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | ||
477 | + | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | ||
478 | + | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | ||
479 | + localstatedir=$ac_optarg ;; | ||
480 | + | ||
481 | + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | ||
482 | + ac_prev=mandir ;; | ||
483 | + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | ||
484 | + mandir=$ac_optarg ;; | ||
485 | + | ||
486 | + -nfp | --nfp | --nf) | ||
487 | + # Obsolete; use --without-fp. | ||
488 | + with_fp=no ;; | ||
489 | + | ||
490 | + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | ||
491 | + | --no-cr | --no-c | -n) | ||
492 | + no_create=yes ;; | ||
493 | + | ||
494 | + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | ||
495 | + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | ||
496 | + no_recursion=yes ;; | ||
497 | + | ||
498 | + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | ||
499 | + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | ||
500 | + | --oldin | --oldi | --old | --ol | --o) | ||
501 | + ac_prev=oldincludedir ;; | ||
502 | + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | ||
503 | + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | ||
504 | + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | ||
505 | + oldincludedir=$ac_optarg ;; | ||
506 | + | ||
507 | + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | ||
508 | + ac_prev=prefix ;; | ||
509 | + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | ||
510 | + prefix=$ac_optarg ;; | ||
511 | + | ||
512 | + -program-prefix | --program-prefix | --program-prefi | --program-pref \ | ||
513 | + | --program-pre | --program-pr | --program-p) | ||
514 | + ac_prev=program_prefix ;; | ||
515 | + -program-prefix=* | --program-prefix=* | --program-prefi=* \ | ||
516 | + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | ||
517 | + program_prefix=$ac_optarg ;; | ||
518 | + | ||
519 | + -program-suffix | --program-suffix | --program-suffi | --program-suff \ | ||
520 | + | --program-suf | --program-su | --program-s) | ||
521 | + ac_prev=program_suffix ;; | ||
522 | + -program-suffix=* | --program-suffix=* | --program-suffi=* \ | ||
523 | + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | ||
524 | + program_suffix=$ac_optarg ;; | ||
525 | + | ||
526 | + -program-transform-name | --program-transform-name \ | ||
527 | + | --program-transform-nam | --program-transform-na \ | ||
528 | + | --program-transform-n | --program-transform- \ | ||
529 | + | --program-transform | --program-transfor \ | ||
530 | + | --program-transfo | --program-transf \ | ||
531 | + | --program-trans | --program-tran \ | ||
532 | + | --progr-tra | --program-tr | --program-t) | ||
533 | + ac_prev=program_transform_name ;; | ||
534 | + -program-transform-name=* | --program-transform-name=* \ | ||
535 | + | --program-transform-nam=* | --program-transform-na=* \ | ||
536 | + | --program-transform-n=* | --program-transform-=* \ | ||
537 | + | --program-transform=* | --program-transfor=* \ | ||
538 | + | --program-transfo=* | --program-transf=* \ | ||
539 | + | --program-trans=* | --program-tran=* \ | ||
540 | + | --progr-tra=* | --program-tr=* | --program-t=*) | ||
541 | + program_transform_name=$ac_optarg ;; | ||
542 | + | ||
543 | + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
544 | + | -silent | --silent | --silen | --sile | --sil) | ||
545 | + silent=yes ;; | ||
546 | + | ||
547 | + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | ||
548 | + ac_prev=sbindir ;; | ||
549 | + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | ||
550 | + | --sbi=* | --sb=*) | ||
551 | + sbindir=$ac_optarg ;; | ||
552 | + | ||
553 | + -sharedstatedir | --sharedstatedir | --sharedstatedi \ | ||
554 | + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | ||
555 | + | --sharedst | --shareds | --shared | --share | --shar \ | ||
556 | + | --sha | --sh) | ||
557 | + ac_prev=sharedstatedir ;; | ||
558 | + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | ||
559 | + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | ||
560 | + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | ||
561 | + | --sha=* | --sh=*) | ||
562 | + sharedstatedir=$ac_optarg ;; | ||
563 | + | ||
564 | + -site | --site | --sit) | ||
565 | + ac_prev=site ;; | ||
566 | + -site=* | --site=* | --sit=*) | ||
567 | + site=$ac_optarg ;; | ||
568 | + | ||
569 | + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | ||
570 | + ac_prev=srcdir ;; | ||
571 | + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | ||
572 | + srcdir=$ac_optarg ;; | ||
573 | + | ||
574 | + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | ||
575 | + | --syscon | --sysco | --sysc | --sys | --sy) | ||
576 | + ac_prev=sysconfdir ;; | ||
577 | + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | ||
578 | + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | ||
579 | + sysconfdir=$ac_optarg ;; | ||
580 | + | ||
581 | + -target | --target | --targe | --targ | --tar | --ta | --t) | ||
582 | + ac_prev=target_alias ;; | ||
583 | + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | ||
584 | + target_alias=$ac_optarg ;; | ||
585 | + | ||
586 | + -v | -verbose | --verbose | --verbos | --verbo | --verb) | ||
587 | + verbose=yes ;; | ||
588 | + | ||
589 | + -version | --version | --versio | --versi | --vers | -V) | ||
590 | + ac_init_version=: ;; | ||
591 | + | ||
592 | + -with-* | --with-*) | ||
593 | + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | ||
594 | + # Reject names that are not valid shell variable names. | ||
595 | + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
596 | + { echo "$as_me: error: invalid package name: $ac_package" >&2 | ||
597 | + { (exit 1); exit 1; }; } | ||
598 | + ac_package=`echo $ac_package| sed 's/-/_/g'` | ||
599 | + case $ac_option in | ||
600 | + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
601 | + *) ac_optarg=yes ;; | ||
602 | + esac | ||
603 | + eval "with_$ac_package='$ac_optarg'" ;; | ||
604 | + | ||
605 | + -without-* | --without-*) | ||
606 | + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | ||
607 | + # Reject names that are not valid shell variable names. | ||
608 | + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
609 | + { echo "$as_me: error: invalid package name: $ac_package" >&2 | ||
610 | + { (exit 1); exit 1; }; } | ||
611 | + ac_package=`echo $ac_package | sed 's/-/_/g'` | ||
612 | + eval "with_$ac_package=no" ;; | ||
613 | + | ||
614 | + --x) | ||
615 | + # Obsolete; use --with-x. | ||
616 | + with_x=yes ;; | ||
617 | + | ||
618 | + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | ||
619 | + | --x-incl | --x-inc | --x-in | --x-i) | ||
620 | + ac_prev=x_includes ;; | ||
621 | + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | ||
622 | + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | ||
623 | + x_includes=$ac_optarg ;; | ||
624 | + | ||
625 | + -x-libraries | --x-libraries | --x-librarie | --x-librari \ | ||
626 | + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | ||
627 | + ac_prev=x_libraries ;; | ||
628 | + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | ||
629 | + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | ||
630 | + x_libraries=$ac_optarg ;; | ||
631 | + | ||
632 | + -*) { echo "$as_me: error: unrecognized option: $ac_option | ||
633 | +Try \`$0 --help' for more information." >&2 | ||
634 | + { (exit 1); exit 1; }; } | ||
635 | + ;; | ||
636 | + | ||
637 | + *=*) | ||
638 | + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | ||
639 | + # Reject names that are not valid shell variable names. | ||
640 | + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | ||
641 | + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | ||
642 | + { (exit 1); exit 1; }; } | ||
643 | + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | ||
644 | + eval "$ac_envvar='$ac_optarg'" | ||
645 | + export $ac_envvar ;; | ||
646 | + | ||
647 | + *) | ||
648 | + # FIXME: should be removed in autoconf 3.0. | ||
649 | + echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | ||
650 | + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | ||
651 | + echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | ||
652 | + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | ||
653 | + ;; | ||
654 | + | ||
655 | + esac | ||
656 | +done | ||
657 | + | ||
658 | +if test -n "$ac_prev"; then | ||
659 | + ac_option=--`echo $ac_prev | sed 's/_/-/g'` | ||
660 | + { echo "$as_me: error: missing argument to $ac_option" >&2 | ||
661 | + { (exit 1); exit 1; }; } | ||
662 | +fi | ||
663 | + | ||
664 | +# Be sure to have absolute paths. | ||
665 | +for ac_var in exec_prefix prefix | ||
666 | +do | ||
667 | + eval ac_val=$`echo $ac_var` | ||
668 | + case $ac_val in | ||
669 | + [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | ||
670 | + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
671 | + { (exit 1); exit 1; }; };; | ||
672 | + esac | ||
673 | +done | ||
674 | + | ||
675 | +# Be sure to have absolute paths. | ||
676 | +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | ||
677 | + localstatedir libdir includedir oldincludedir infodir mandir | ||
678 | +do | ||
679 | + eval ac_val=$`echo $ac_var` | ||
680 | + case $ac_val in | ||
681 | + [\\/$]* | ?:[\\/]* ) ;; | ||
682 | + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
683 | + { (exit 1); exit 1; }; };; | ||
684 | + esac | ||
685 | +done | ||
686 | + | ||
687 | +# There might be people who depend on the old broken behavior: `$host' | ||
688 | +# used to hold the argument of --host etc. | ||
689 | +# FIXME: To remove some day. | ||
690 | +build=$build_alias | ||
691 | +host=$host_alias | ||
692 | +target=$target_alias | ||
693 | + | ||
694 | +# FIXME: To remove some day. | ||
695 | +if test "x$host_alias" != x; then | ||
696 | + if test "x$build_alias" = x; then | ||
697 | + cross_compiling=maybe | ||
698 | + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | ||
699 | + If a cross compiler is detected then cross compile mode will be used." >&2 | ||
700 | + elif test "x$build_alias" != "x$host_alias"; then | ||
701 | + cross_compiling=yes | ||
702 | + fi | ||
703 | +fi | ||
704 | + | ||
705 | +ac_tool_prefix= | ||
706 | +test -n "$host_alias" && ac_tool_prefix=$host_alias- | ||
707 | + | ||
708 | +test "$silent" = yes && exec 6>/dev/null | ||
709 | + | ||
710 | + | ||
711 | +# Find the source files, if location was not specified. | ||
712 | +if test -z "$srcdir"; then | ||
713 | + ac_srcdir_defaulted=yes | ||
714 | + # Try the directory containing this script, then its parent. | ||
715 | + ac_confdir=`(dirname "$0") 2>/dev/null || | ||
716 | +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
717 | + X"$0" : 'X\(//\)[^/]' \| \ | ||
718 | + X"$0" : 'X\(//\)$' \| \ | ||
719 | + X"$0" : 'X\(/\)' \| \ | ||
720 | + . : '\(.\)' 2>/dev/null || | ||
721 | +echo X"$0" | | ||
722 | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
723 | + /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
724 | + /^X\(\/\/\)$/{ s//\1/; q; } | ||
725 | + /^X\(\/\).*/{ s//\1/; q; } | ||
726 | + s/.*/./; q'` | ||
727 | + srcdir=$ac_confdir | ||
728 | + if test ! -r $srcdir/$ac_unique_file; then | ||
729 | + srcdir=.. | ||
730 | + fi | ||
731 | +else | ||
732 | + ac_srcdir_defaulted=no | ||
733 | +fi | ||
734 | +if test ! -r $srcdir/$ac_unique_file; then | ||
735 | + if test "$ac_srcdir_defaulted" = yes; then | ||
736 | + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | ||
737 | + { (exit 1); exit 1; }; } | ||
738 | + else | ||
739 | + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | ||
740 | + { (exit 1); exit 1; }; } | ||
741 | + fi | ||
742 | +fi | ||
743 | +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || | ||
744 | + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | ||
745 | + { (exit 1); exit 1; }; } | ||
746 | +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | ||
747 | +ac_env_build_alias_set=${build_alias+set} | ||
748 | +ac_env_build_alias_value=$build_alias | ||
749 | +ac_cv_env_build_alias_set=${build_alias+set} | ||
750 | +ac_cv_env_build_alias_value=$build_alias | ||
751 | +ac_env_host_alias_set=${host_alias+set} | ||
752 | +ac_env_host_alias_value=$host_alias | ||
753 | +ac_cv_env_host_alias_set=${host_alias+set} | ||
754 | +ac_cv_env_host_alias_value=$host_alias | ||
755 | +ac_env_target_alias_set=${target_alias+set} | ||
756 | +ac_env_target_alias_value=$target_alias | ||
757 | +ac_cv_env_target_alias_set=${target_alias+set} | ||
758 | +ac_cv_env_target_alias_value=$target_alias | ||
759 | +ac_env_CC_set=${CC+set} | ||
760 | +ac_env_CC_value=$CC | ||
761 | +ac_cv_env_CC_set=${CC+set} | ||
762 | +ac_cv_env_CC_value=$CC | ||
763 | +ac_env_CFLAGS_set=${CFLAGS+set} | ||
764 | +ac_env_CFLAGS_value=$CFLAGS | ||
765 | +ac_cv_env_CFLAGS_set=${CFLAGS+set} | ||
766 | +ac_cv_env_CFLAGS_value=$CFLAGS | ||
767 | +ac_env_LDFLAGS_set=${LDFLAGS+set} | ||
768 | +ac_env_LDFLAGS_value=$LDFLAGS | ||
769 | +ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | ||
770 | +ac_cv_env_LDFLAGS_value=$LDFLAGS | ||
771 | +ac_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
772 | +ac_env_CPPFLAGS_value=$CPPFLAGS | ||
773 | +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
774 | +ac_cv_env_CPPFLAGS_value=$CPPFLAGS | ||
775 | +ac_env_CPP_set=${CPP+set} | ||
776 | +ac_env_CPP_value=$CPP | ||
777 | +ac_cv_env_CPP_set=${CPP+set} | ||
778 | +ac_cv_env_CPP_value=$CPP | ||
779 | + | ||
780 | +# | ||
781 | +# Report the --help message. | ||
782 | +# | ||
783 | +if test "$ac_init_help" = "long"; then | ||
784 | + # Omit some internal or obsolete options to make the list less imposing. | ||
785 | + # This message is too long to be a string in the A/UX 3.1 sh. | ||
786 | + cat <<_ACEOF | ||
787 | +\`configure' configures quilt 0.37 to adapt to many kinds of systems. | ||
788 | + | ||
789 | +Usage: $0 [OPTION]... [VAR=VALUE]... | ||
790 | + | ||
791 | +To assign environment variables (e.g., CC, CFLAGS...), specify them as | ||
792 | +VAR=VALUE. See below for descriptions of some of the useful variables. | ||
793 | + | ||
794 | +Defaults for the options are specified in brackets. | ||
795 | + | ||
796 | +Configuration: | ||
797 | + -h, --help display this help and exit | ||
798 | + --help=short display options specific to this package | ||
799 | + --help=recursive display the short help of all the included packages | ||
800 | + -V, --version display version information and exit | ||
801 | + -q, --quiet, --silent do not print \`checking...' messages | ||
802 | + --cache-file=FILE cache test results in FILE [disabled] | ||
803 | + -C, --config-cache alias for \`--cache-file=config.cache' | ||
804 | + -n, --no-create do not create output files | ||
805 | + --srcdir=DIR find the sources in DIR [configure dir or \`..'] | ||
806 | + | ||
807 | +_ACEOF | ||
808 | + | ||
809 | + cat <<_ACEOF | ||
810 | +Installation directories: | ||
811 | + --prefix=PREFIX install architecture-independent files in PREFIX | ||
812 | + [$ac_default_prefix] | ||
813 | + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | ||
814 | + [PREFIX] | ||
815 | + | ||
816 | +By default, \`make install' will install all the files in | ||
817 | +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | ||
818 | +an installation prefix other than \`$ac_default_prefix' using \`--prefix', | ||
819 | +for instance \`--prefix=\$HOME'. | ||
820 | + | ||
821 | +For better control, use the options below. | ||
822 | + | ||
823 | +Fine tuning of the installation directories: | ||
824 | + --bindir=DIR user executables [EPREFIX/bin] | ||
825 | + --sbindir=DIR system admin executables [EPREFIX/sbin] | ||
826 | + --libexecdir=DIR program executables [EPREFIX/libexec] | ||
827 | + --datadir=DIR read-only architecture-independent data [PREFIX/share] | ||
828 | + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | ||
829 | + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | ||
830 | + --localstatedir=DIR modifiable single-machine data [PREFIX/var] | ||
831 | + --libdir=DIR object code libraries [EPREFIX/lib] | ||
832 | + --includedir=DIR C header files [PREFIX/include] | ||
833 | + --oldincludedir=DIR C header files for non-gcc [/usr/include] | ||
834 | + --infodir=DIR info documentation [PREFIX/info] | ||
835 | + --mandir=DIR man documentation [PREFIX/man] | ||
836 | +_ACEOF | ||
837 | + | ||
838 | + cat <<\_ACEOF | ||
839 | +_ACEOF | ||
840 | +fi | ||
841 | + | ||
842 | +if test -n "$ac_init_help"; then | ||
843 | + case $ac_init_help in | ||
844 | + short | recursive ) echo "Configuration of quilt 0.37:";; | ||
845 | + esac | ||
846 | + cat <<\_ACEOF | ||
847 | + | ||
848 | +Optional Features: | ||
849 | + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | ||
850 | + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | ||
851 | + --enable-nls include natural language support | ||
852 | + | ||
853 | +Optional Packages: | ||
854 | + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | ||
855 | + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | ||
856 | + --with-bash name of the bash executable to use | ||
857 | + --with-perl name of the Perl executable to use | ||
858 | + --with-sed name of the sed executable to use | ||
859 | + --with-awk name of the awk executable to use | ||
860 | + --with-mktemp name of the mktemp executable to use (or 'none' to | ||
861 | + use a quilt internal mechanism) | ||
862 | + --with-diff name of the diff executable to use | ||
863 | + --with-patch name of the patch executable to use | ||
864 | + --with-diffstat name of the diffstat executable to use | ||
865 | + | ||
866 | +Some influential environment variables: | ||
867 | + CC C compiler command | ||
868 | + CFLAGS C compiler flags | ||
869 | + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | ||
870 | + nonstandard directory <lib dir> | ||
871 | + CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | ||
872 | + headers in a nonstandard directory <include dir> | ||
873 | + CPP C preprocessor | ||
874 | + | ||
875 | +Use these variables to override the choices made by `configure' or to help | ||
876 | +it to find libraries and programs with nonstandard names/locations. | ||
877 | + | ||
878 | +Report bugs to <quilt-dev@nongnu.org>. | ||
879 | +_ACEOF | ||
880 | +fi | ||
881 | + | ||
882 | +if test "$ac_init_help" = "recursive"; then | ||
883 | + # If there are subdirs, report their specific --help. | ||
884 | + ac_popdir=`pwd` | ||
885 | + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | ||
886 | + test -d $ac_dir || continue | ||
887 | + ac_builddir=. | ||
888 | + | ||
889 | +if test "$ac_dir" != .; then | ||
890 | + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | ||
891 | + # A "../" for each directory in $ac_dir_suffix. | ||
892 | + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | ||
893 | +else | ||
894 | + ac_dir_suffix= ac_top_builddir= | ||
895 | +fi | ||
896 | + | ||
897 | +case $srcdir in | ||
898 | + .) # No --srcdir option. We are building in place. | ||
899 | + ac_srcdir=. | ||
900 | + if test -z "$ac_top_builddir"; then | ||
901 | + ac_top_srcdir=. | ||
902 | + else | ||
903 | + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
904 | + fi ;; | ||
905 | + [\\/]* | ?:[\\/]* ) # Absolute path. | ||
906 | + ac_srcdir=$srcdir$ac_dir_suffix; | ||
907 | + ac_top_srcdir=$srcdir ;; | ||
908 | + *) # Relative path. | ||
909 | + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | ||
910 | + ac_top_srcdir=$ac_top_builddir$srcdir ;; | ||
911 | +esac | ||
912 | + | ||
913 | +# Do not use `cd foo && pwd` to compute absolute paths, because | ||
914 | +# the directories may not exist. | ||
915 | +case `pwd` in | ||
916 | +.) ac_abs_builddir="$ac_dir";; | ||
917 | +*) | ||
918 | + case "$ac_dir" in | ||
919 | + .) ac_abs_builddir=`pwd`;; | ||
920 | + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | ||
921 | + *) ac_abs_builddir=`pwd`/"$ac_dir";; | ||
922 | + esac;; | ||
923 | +esac | ||
924 | +case $ac_abs_builddir in | ||
925 | +.) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
926 | +*) | ||
927 | + case ${ac_top_builddir}. in | ||
928 | + .) ac_abs_top_builddir=$ac_abs_builddir;; | ||
929 | + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
930 | + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | ||
931 | + esac;; | ||
932 | +esac | ||
933 | +case $ac_abs_builddir in | ||
934 | +.) ac_abs_srcdir=$ac_srcdir;; | ||
935 | +*) | ||
936 | + case $ac_srcdir in | ||
937 | + .) ac_abs_srcdir=$ac_abs_builddir;; | ||
938 | + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | ||
939 | + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | ||
940 | + esac;; | ||
941 | +esac | ||
942 | +case $ac_abs_builddir in | ||
943 | +.) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
944 | +*) | ||
945 | + case $ac_top_srcdir in | ||
946 | + .) ac_abs_top_srcdir=$ac_abs_builddir;; | ||
947 | + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
948 | + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | ||
949 | + esac;; | ||
950 | +esac | ||
951 | + | ||
952 | + cd $ac_dir | ||
953 | + # Check for guested configure; otherwise get Cygnus style configure. | ||
954 | + if test -f $ac_srcdir/configure.gnu; then | ||
955 | + echo | ||
956 | + $SHELL $ac_srcdir/configure.gnu --help=recursive | ||
957 | + elif test -f $ac_srcdir/configure; then | ||
958 | + echo | ||
959 | + $SHELL $ac_srcdir/configure --help=recursive | ||
960 | + elif test -f $ac_srcdir/configure.ac || | ||
961 | + test -f $ac_srcdir/configure.in; then | ||
962 | + echo | ||
963 | + $ac_configure --help | ||
964 | + else | ||
965 | + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | ||
966 | + fi | ||
967 | + cd "$ac_popdir" | ||
968 | + done | ||
969 | +fi | ||
970 | + | ||
971 | +test -n "$ac_init_help" && exit 0 | ||
972 | +if $ac_init_version; then | ||
973 | + cat <<\_ACEOF | ||
974 | +quilt configure 0.37 | ||
975 | +generated by GNU Autoconf 2.59 | ||
976 | + | ||
977 | +Copyright (C) 2003 Free Software Foundation, Inc. | ||
978 | +This configure script is free software; the Free Software Foundation | ||
979 | +gives unlimited permission to copy, distribute and modify it. | ||
980 | +_ACEOF | ||
981 | + exit 0 | ||
982 | +fi | ||
983 | +exec 5>config.log | ||
984 | +cat >&5 <<_ACEOF | ||
985 | +This file contains any messages produced by compilers while | ||
986 | +running configure, to aid debugging if configure makes a mistake. | ||
987 | + | ||
988 | +It was created by quilt $as_me 0.37, which was | ||
989 | +generated by GNU Autoconf 2.59. Invocation command line was | ||
990 | + | ||
991 | + $ $0 $@ | ||
992 | + | ||
993 | +_ACEOF | ||
994 | +{ | ||
995 | +cat <<_ASUNAME | ||
996 | +@%:@@%:@ --------- @%:@@%:@ | ||
997 | +@%:@@%:@ Platform. @%:@@%:@ | ||
998 | +@%:@@%:@ --------- @%:@@%:@ | ||
999 | + | ||
1000 | +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
1001 | +uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
1002 | +uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
1003 | +uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
1004 | +uname -v = `(uname -v) 2>/dev/null || echo unknown` | ||
1005 | + | ||
1006 | +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | ||
1007 | +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | ||
1008 | + | ||
1009 | +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | ||
1010 | +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | ||
1011 | +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | ||
1012 | +hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | ||
1013 | +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | ||
1014 | +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | ||
1015 | +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | ||
1016 | + | ||
1017 | +_ASUNAME | ||
1018 | + | ||
1019 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1020 | +for as_dir in $PATH | ||
1021 | +do | ||
1022 | + IFS=$as_save_IFS | ||
1023 | + test -z "$as_dir" && as_dir=. | ||
1024 | + echo "PATH: $as_dir" | ||
1025 | +done | ||
1026 | + | ||
1027 | +} >&5 | ||
1028 | + | ||
1029 | +cat >&5 <<_ACEOF | ||
1030 | + | ||
1031 | + | ||
1032 | +@%:@@%:@ ----------- @%:@@%:@ | ||
1033 | +@%:@@%:@ Core tests. @%:@@%:@ | ||
1034 | +@%:@@%:@ ----------- @%:@@%:@ | ||
1035 | + | ||
1036 | +_ACEOF | ||
1037 | + | ||
1038 | + | ||
1039 | +# Keep a trace of the command line. | ||
1040 | +# Strip out --no-create and --no-recursion so they do not pile up. | ||
1041 | +# Strip out --silent because we don't want to record it for future runs. | ||
1042 | +# Also quote any args containing shell meta-characters. | ||
1043 | +# Make two passes to allow for proper duplicate-argument suppression. | ||
1044 | +ac_configure_args= | ||
1045 | +ac_configure_args0= | ||
1046 | +ac_configure_args1= | ||
1047 | +ac_sep= | ||
1048 | +ac_must_keep_next=false | ||
1049 | +for ac_pass in 1 2 | ||
1050 | +do | ||
1051 | + for ac_arg | ||
1052 | + do | ||
1053 | + case $ac_arg in | ||
1054 | + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | ||
1055 | + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
1056 | + | -silent | --silent | --silen | --sile | --sil) | ||
1057 | + continue ;; | ||
1058 | + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | ||
1059 | + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
1060 | + esac | ||
1061 | + case $ac_pass in | ||
1062 | + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | ||
1063 | + 2) | ||
1064 | + ac_configure_args1="$ac_configure_args1 '$ac_arg'" | ||
1065 | + if test $ac_must_keep_next = true; then | ||
1066 | + ac_must_keep_next=false # Got value, back to normal. | ||
1067 | + else | ||
1068 | + case $ac_arg in | ||
1069 | + *=* | --config-cache | -C | -disable-* | --disable-* \ | ||
1070 | + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | ||
1071 | + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | ||
1072 | + | -with-* | --with-* | -without-* | --without-* | --x) | ||
1073 | + case "$ac_configure_args0 " in | ||
1074 | + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | ||
1075 | + esac | ||
1076 | + ;; | ||
1077 | + -* ) ac_must_keep_next=true ;; | ||
1078 | + esac | ||
1079 | + fi | ||
1080 | + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | ||
1081 | + # Get rid of the leading space. | ||
1082 | + ac_sep=" " | ||
1083 | + ;; | ||
1084 | + esac | ||
1085 | + done | ||
1086 | +done | ||
1087 | +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | ||
1088 | +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | ||
1089 | + | ||
1090 | +# When interrupted or exit'd, cleanup temporary files, and complete | ||
1091 | +# config.log. We remove comments because anyway the quotes in there | ||
1092 | +# would cause problems or look ugly. | ||
1093 | +# WARNING: Be sure not to use single quotes in there, as some shells, | ||
1094 | +# such as our DU 5.0 friend, will then `close' the trap. | ||
1095 | +trap 'exit_status=$? | ||
1096 | + # Save into config.log some information that might help in debugging. | ||
1097 | + { | ||
1098 | + echo | ||
1099 | + | ||
1100 | + cat <<\_ASBOX | ||
1101 | +@%:@@%:@ ---------------- @%:@@%:@ | ||
1102 | +@%:@@%:@ Cache variables. @%:@@%:@ | ||
1103 | +@%:@@%:@ ---------------- @%:@@%:@ | ||
1104 | +_ASBOX | ||
1105 | + echo | ||
1106 | + # The following way of writing the cache mishandles newlines in values, | ||
1107 | +{ | ||
1108 | + (set) 2>&1 | | ||
1109 | + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | ||
1110 | + *ac_space=\ *) | ||
1111 | + sed -n \ | ||
1112 | + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | ||
1113 | + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | ||
1114 | + ;; | ||
1115 | + *) | ||
1116 | + sed -n \ | ||
1117 | + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | ||
1118 | + ;; | ||
1119 | + esac; | ||
1120 | +} | ||
1121 | + echo | ||
1122 | + | ||
1123 | + cat <<\_ASBOX | ||
1124 | +@%:@@%:@ ----------------- @%:@@%:@ | ||
1125 | +@%:@@%:@ Output variables. @%:@@%:@ | ||
1126 | +@%:@@%:@ ----------------- @%:@@%:@ | ||
1127 | +_ASBOX | ||
1128 | + echo | ||
1129 | + for ac_var in $ac_subst_vars | ||
1130 | + do | ||
1131 | + eval ac_val=$`echo $ac_var` | ||
1132 | + echo "$ac_var='"'"'$ac_val'"'"'" | ||
1133 | + done | sort | ||
1134 | + echo | ||
1135 | + | ||
1136 | + if test -n "$ac_subst_files"; then | ||
1137 | + cat <<\_ASBOX | ||
1138 | +@%:@@%:@ ------------- @%:@@%:@ | ||
1139 | +@%:@@%:@ Output files. @%:@@%:@ | ||
1140 | +@%:@@%:@ ------------- @%:@@%:@ | ||
1141 | +_ASBOX | ||
1142 | + echo | ||
1143 | + for ac_var in $ac_subst_files | ||
1144 | + do | ||
1145 | + eval ac_val=$`echo $ac_var` | ||
1146 | + echo "$ac_var='"'"'$ac_val'"'"'" | ||
1147 | + done | sort | ||
1148 | + echo | ||
1149 | + fi | ||
1150 | + | ||
1151 | + if test -s confdefs.h; then | ||
1152 | + cat <<\_ASBOX | ||
1153 | +@%:@@%:@ ----------- @%:@@%:@ | ||
1154 | +@%:@@%:@ confdefs.h. @%:@@%:@ | ||
1155 | +@%:@@%:@ ----------- @%:@@%:@ | ||
1156 | +_ASBOX | ||
1157 | + echo | ||
1158 | + sed "/^$/d" confdefs.h | sort | ||
1159 | + echo | ||
1160 | + fi | ||
1161 | + test "$ac_signal" != 0 && | ||
1162 | + echo "$as_me: caught signal $ac_signal" | ||
1163 | + echo "$as_me: exit $exit_status" | ||
1164 | + } >&5 | ||
1165 | + rm -f core *.core && | ||
1166 | + rm -rf conftest* confdefs* conf$$* $ac_clean_files && | ||
1167 | + exit $exit_status | ||
1168 | + ' 0 | ||
1169 | +for ac_signal in 1 2 13 15; do | ||
1170 | + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | ||
1171 | +done | ||
1172 | +ac_signal=0 | ||
1173 | + | ||
1174 | +# confdefs.h avoids OS command line length limits that DEFS can exceed. | ||
1175 | +rm -rf conftest* confdefs.h | ||
1176 | +# AIX cpp loses on an empty file, so make sure it contains at least a newline. | ||
1177 | +echo >confdefs.h | ||
1178 | + | ||
1179 | +# Predefined preprocessor variables. | ||
1180 | + | ||
1181 | +cat >>confdefs.h <<_ACEOF | ||
1182 | +@%:@define PACKAGE_NAME "$PACKAGE_NAME" | ||
1183 | +_ACEOF | ||
1184 | + | ||
1185 | + | ||
1186 | +cat >>confdefs.h <<_ACEOF | ||
1187 | +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" | ||
1188 | +_ACEOF | ||
1189 | + | ||
1190 | + | ||
1191 | +cat >>confdefs.h <<_ACEOF | ||
1192 | +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" | ||
1193 | +_ACEOF | ||
1194 | + | ||
1195 | + | ||
1196 | +cat >>confdefs.h <<_ACEOF | ||
1197 | +@%:@define PACKAGE_STRING "$PACKAGE_STRING" | ||
1198 | +_ACEOF | ||
1199 | + | ||
1200 | + | ||
1201 | +cat >>confdefs.h <<_ACEOF | ||
1202 | +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
1203 | +_ACEOF | ||
1204 | + | ||
1205 | + | ||
1206 | +# Let the site file select an alternate cache file if it wants to. | ||
1207 | +# Prefer explicitly selected file to automatically selected ones. | ||
1208 | +if test -z "$CONFIG_SITE"; then | ||
1209 | + if test "x$prefix" != xNONE; then | ||
1210 | + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | ||
1211 | + else | ||
1212 | + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | ||
1213 | + fi | ||
1214 | +fi | ||
1215 | +for ac_site_file in $CONFIG_SITE; do | ||
1216 | + if test -r "$ac_site_file"; then | ||
1217 | + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | ||
1218 | +echo "$as_me: loading site script $ac_site_file" >&6;} | ||
1219 | + sed 's/^/| /' "$ac_site_file" >&5 | ||
1220 | + . "$ac_site_file" | ||
1221 | + fi | ||
1222 | +done | ||
1223 | + | ||
1224 | +if test -r "$cache_file"; then | ||
1225 | + # Some versions of bash will fail to source /dev/null (special | ||
1226 | + # files actually), so we avoid doing that. | ||
1227 | + if test -f "$cache_file"; then | ||
1228 | + { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | ||
1229 | +echo "$as_me: loading cache $cache_file" >&6;} | ||
1230 | + case $cache_file in | ||
1231 | + [\\/]* | ?:[\\/]* ) . $cache_file;; | ||
1232 | + *) . ./$cache_file;; | ||
1233 | + esac | ||
1234 | + fi | ||
1235 | +else | ||
1236 | + { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | ||
1237 | +echo "$as_me: creating cache $cache_file" >&6;} | ||
1238 | + >$cache_file | ||
1239 | +fi | ||
1240 | + | ||
1241 | +# Check that the precious variables saved in the cache have kept the same | ||
1242 | +# value. | ||
1243 | +ac_cache_corrupted=false | ||
1244 | +for ac_var in `(set) 2>&1 | | ||
1245 | + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | ||
1246 | + eval ac_old_set=\$ac_cv_env_${ac_var}_set | ||
1247 | + eval ac_new_set=\$ac_env_${ac_var}_set | ||
1248 | + eval ac_old_val="\$ac_cv_env_${ac_var}_value" | ||
1249 | + eval ac_new_val="\$ac_env_${ac_var}_value" | ||
1250 | + case $ac_old_set,$ac_new_set in | ||
1251 | + set,) | ||
1252 | + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | ||
1253 | +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | ||
1254 | + ac_cache_corrupted=: ;; | ||
1255 | + ,set) | ||
1256 | + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | ||
1257 | +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | ||
1258 | + ac_cache_corrupted=: ;; | ||
1259 | + ,);; | ||
1260 | + *) | ||
1261 | + if test "x$ac_old_val" != "x$ac_new_val"; then | ||
1262 | + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | ||
1263 | +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | ||
1264 | + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | ||
1265 | +echo "$as_me: former value: $ac_old_val" >&2;} | ||
1266 | + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | ||
1267 | +echo "$as_me: current value: $ac_new_val" >&2;} | ||
1268 | + ac_cache_corrupted=: | ||
1269 | + fi;; | ||
1270 | + esac | ||
1271 | + # Pass precious variables to config.status. | ||
1272 | + if test "$ac_new_set" = set; then | ||
1273 | + case $ac_new_val in | ||
1274 | + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | ||
1275 | + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
1276 | + *) ac_arg=$ac_var=$ac_new_val ;; | ||
1277 | + esac | ||
1278 | + case " $ac_configure_args " in | ||
1279 | + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | ||
1280 | + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | ||
1281 | + esac | ||
1282 | + fi | ||
1283 | +done | ||
1284 | +if $ac_cache_corrupted; then | ||
1285 | + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | ||
1286 | +echo "$as_me: error: changes in the environment can compromise the build" >&2;} | ||
1287 | + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | ||
1288 | +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | ||
1289 | + { (exit 1); exit 1; }; } | ||
1290 | +fi | ||
1291 | + | ||
1292 | +ac_ext=c | ||
1293 | +ac_cpp='$CPP $CPPFLAGS' | ||
1294 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
1295 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
1296 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
1297 | + | ||
1298 | + | ||
1299 | + | ||
1300 | + | ||
1301 | + | ||
1302 | + | ||
1303 | + | ||
1304 | + | ||
1305 | + | ||
1306 | + | ||
1307 | + | ||
1308 | + | ||
1309 | + | ||
1310 | + | ||
1311 | + | ||
1312 | + | ||
1313 | + | ||
1314 | + | ||
1315 | + | ||
1316 | + | ||
1317 | + | ||
1318 | + | ||
1319 | + | ||
1320 | + | ||
1321 | + | ||
1322 | + | ||
1323 | + | ||
1324 | +ac_aux_dir= | ||
1325 | +for ac_dir in config $srcdir/config; do | ||
1326 | + if test -f $ac_dir/install-sh; then | ||
1327 | + ac_aux_dir=$ac_dir | ||
1328 | + ac_install_sh="$ac_aux_dir/install-sh -c" | ||
1329 | + break | ||
1330 | + elif test -f $ac_dir/install.sh; then | ||
1331 | + ac_aux_dir=$ac_dir | ||
1332 | + ac_install_sh="$ac_aux_dir/install.sh -c" | ||
1333 | + break | ||
1334 | + elif test -f $ac_dir/shtool; then | ||
1335 | + ac_aux_dir=$ac_dir | ||
1336 | + ac_install_sh="$ac_aux_dir/shtool install -c" | ||
1337 | + break | ||
1338 | + fi | ||
1339 | +done | ||
1340 | +if test -z "$ac_aux_dir"; then | ||
1341 | + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5 | ||
1342 | +echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;} | ||
1343 | + { (exit 1); exit 1; }; } | ||
1344 | +fi | ||
1345 | +ac_config_guess="$SHELL $ac_aux_dir/config.guess" | ||
1346 | +ac_config_sub="$SHELL $ac_aux_dir/config.sub" | ||
1347 | +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | ||
1348 | + | ||
1349 | + | ||
1350 | + ($Revision: 1.32 $) | ||
1351 | + | ||
1352 | +PACKAGE_RELEASE=1 | ||
1353 | + | ||
1354 | + | ||
1355 | +ac_ext=c | ||
1356 | +ac_cpp='$CPP $CPPFLAGS' | ||
1357 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
1358 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
1359 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
1360 | +if test -n "$ac_tool_prefix"; then | ||
1361 | + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | ||
1362 | +set dummy ${ac_tool_prefix}gcc; ac_word=$2 | ||
1363 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1364 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1365 | +if test "${ac_cv_prog_CC+set}" = set; then | ||
1366 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1367 | +else | ||
1368 | + if test -n "$CC"; then | ||
1369 | + ac_cv_prog_CC="$CC" # Let the user override the test. | ||
1370 | +else | ||
1371 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1372 | +for as_dir in $PATH | ||
1373 | +do | ||
1374 | + IFS=$as_save_IFS | ||
1375 | + test -z "$as_dir" && as_dir=. | ||
1376 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
1377 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1378 | + ac_cv_prog_CC="${ac_tool_prefix}gcc" | ||
1379 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1380 | + break 2 | ||
1381 | + fi | ||
1382 | +done | ||
1383 | +done | ||
1384 | + | ||
1385 | +fi | ||
1386 | +fi | ||
1387 | +CC=$ac_cv_prog_CC | ||
1388 | +if test -n "$CC"; then | ||
1389 | + echo "$as_me:$LINENO: result: $CC" >&5 | ||
1390 | +echo "${ECHO_T}$CC" >&6 | ||
1391 | +else | ||
1392 | + echo "$as_me:$LINENO: result: no" >&5 | ||
1393 | +echo "${ECHO_T}no" >&6 | ||
1394 | +fi | ||
1395 | + | ||
1396 | +fi | ||
1397 | +if test -z "$ac_cv_prog_CC"; then | ||
1398 | + ac_ct_CC=$CC | ||
1399 | + # Extract the first word of "gcc", so it can be a program name with args. | ||
1400 | +set dummy gcc; ac_word=$2 | ||
1401 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1402 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1403 | +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
1404 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1405 | +else | ||
1406 | + if test -n "$ac_ct_CC"; then | ||
1407 | + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
1408 | +else | ||
1409 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1410 | +for as_dir in $PATH | ||
1411 | +do | ||
1412 | + IFS=$as_save_IFS | ||
1413 | + test -z "$as_dir" && as_dir=. | ||
1414 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
1415 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1416 | + ac_cv_prog_ac_ct_CC="gcc" | ||
1417 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1418 | + break 2 | ||
1419 | + fi | ||
1420 | +done | ||
1421 | +done | ||
1422 | + | ||
1423 | +fi | ||
1424 | +fi | ||
1425 | +ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
1426 | +if test -n "$ac_ct_CC"; then | ||
1427 | + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
1428 | +echo "${ECHO_T}$ac_ct_CC" >&6 | ||
1429 | +else | ||
1430 | + echo "$as_me:$LINENO: result: no" >&5 | ||
1431 | +echo "${ECHO_T}no" >&6 | ||
1432 | +fi | ||
1433 | + | ||
1434 | + CC=$ac_ct_CC | ||
1435 | +else | ||
1436 | + CC="$ac_cv_prog_CC" | ||
1437 | +fi | ||
1438 | + | ||
1439 | +if test -z "$CC"; then | ||
1440 | + if test -n "$ac_tool_prefix"; then | ||
1441 | + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | ||
1442 | +set dummy ${ac_tool_prefix}cc; ac_word=$2 | ||
1443 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1444 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1445 | +if test "${ac_cv_prog_CC+set}" = set; then | ||
1446 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1447 | +else | ||
1448 | + if test -n "$CC"; then | ||
1449 | + ac_cv_prog_CC="$CC" # Let the user override the test. | ||
1450 | +else | ||
1451 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1452 | +for as_dir in $PATH | ||
1453 | +do | ||
1454 | + IFS=$as_save_IFS | ||
1455 | + test -z "$as_dir" && as_dir=. | ||
1456 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
1457 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1458 | + ac_cv_prog_CC="${ac_tool_prefix}cc" | ||
1459 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1460 | + break 2 | ||
1461 | + fi | ||
1462 | +done | ||
1463 | +done | ||
1464 | + | ||
1465 | +fi | ||
1466 | +fi | ||
1467 | +CC=$ac_cv_prog_CC | ||
1468 | +if test -n "$CC"; then | ||
1469 | + echo "$as_me:$LINENO: result: $CC" >&5 | ||
1470 | +echo "${ECHO_T}$CC" >&6 | ||
1471 | +else | ||
1472 | + echo "$as_me:$LINENO: result: no" >&5 | ||
1473 | +echo "${ECHO_T}no" >&6 | ||
1474 | +fi | ||
1475 | + | ||
1476 | +fi | ||
1477 | +if test -z "$ac_cv_prog_CC"; then | ||
1478 | + ac_ct_CC=$CC | ||
1479 | + # Extract the first word of "cc", so it can be a program name with args. | ||
1480 | +set dummy cc; ac_word=$2 | ||
1481 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1482 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1483 | +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
1484 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1485 | +else | ||
1486 | + if test -n "$ac_ct_CC"; then | ||
1487 | + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
1488 | +else | ||
1489 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1490 | +for as_dir in $PATH | ||
1491 | +do | ||
1492 | + IFS=$as_save_IFS | ||
1493 | + test -z "$as_dir" && as_dir=. | ||
1494 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
1495 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1496 | + ac_cv_prog_ac_ct_CC="cc" | ||
1497 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1498 | + break 2 | ||
1499 | + fi | ||
1500 | +done | ||
1501 | +done | ||
1502 | + | ||
1503 | +fi | ||
1504 | +fi | ||
1505 | +ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
1506 | +if test -n "$ac_ct_CC"; then | ||
1507 | + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
1508 | +echo "${ECHO_T}$ac_ct_CC" >&6 | ||
1509 | +else | ||
1510 | + echo "$as_me:$LINENO: result: no" >&5 | ||
1511 | +echo "${ECHO_T}no" >&6 | ||
1512 | +fi | ||
1513 | + | ||
1514 | + CC=$ac_ct_CC | ||
1515 | +else | ||
1516 | + CC="$ac_cv_prog_CC" | ||
1517 | +fi | ||
1518 | + | ||
1519 | +fi | ||
1520 | +if test -z "$CC"; then | ||
1521 | + # Extract the first word of "cc", so it can be a program name with args. | ||
1522 | +set dummy cc; ac_word=$2 | ||
1523 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1524 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1525 | +if test "${ac_cv_prog_CC+set}" = set; then | ||
1526 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1527 | +else | ||
1528 | + if test -n "$CC"; then | ||
1529 | + ac_cv_prog_CC="$CC" # Let the user override the test. | ||
1530 | +else | ||
1531 | + ac_prog_rejected=no | ||
1532 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1533 | +for as_dir in $PATH | ||
1534 | +do | ||
1535 | + IFS=$as_save_IFS | ||
1536 | + test -z "$as_dir" && as_dir=. | ||
1537 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
1538 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1539 | + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | ||
1540 | + ac_prog_rejected=yes | ||
1541 | + continue | ||
1542 | + fi | ||
1543 | + ac_cv_prog_CC="cc" | ||
1544 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1545 | + break 2 | ||
1546 | + fi | ||
1547 | +done | ||
1548 | +done | ||
1549 | + | ||
1550 | +if test $ac_prog_rejected = yes; then | ||
1551 | + # We found a bogon in the path, so make sure we never use it. | ||
1552 | + set dummy $ac_cv_prog_CC | ||
1553 | + shift | ||
1554 | + if test $@%:@ != 0; then | ||
1555 | + # We chose a different compiler from the bogus one. | ||
1556 | + # However, it has the same basename, so the bogon will be chosen | ||
1557 | + # first if we set CC to just the basename; use the full file name. | ||
1558 | + shift | ||
1559 | + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | ||
1560 | + fi | ||
1561 | +fi | ||
1562 | +fi | ||
1563 | +fi | ||
1564 | +CC=$ac_cv_prog_CC | ||
1565 | +if test -n "$CC"; then | ||
1566 | + echo "$as_me:$LINENO: result: $CC" >&5 | ||
1567 | +echo "${ECHO_T}$CC" >&6 | ||
1568 | +else | ||
1569 | + echo "$as_me:$LINENO: result: no" >&5 | ||
1570 | +echo "${ECHO_T}no" >&6 | ||
1571 | +fi | ||
1572 | + | ||
1573 | +fi | ||
1574 | +if test -z "$CC"; then | ||
1575 | + if test -n "$ac_tool_prefix"; then | ||
1576 | + for ac_prog in cl | ||
1577 | + do | ||
1578 | + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | ||
1579 | +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | ||
1580 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1581 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1582 | +if test "${ac_cv_prog_CC+set}" = set; then | ||
1583 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1584 | +else | ||
1585 | + if test -n "$CC"; then | ||
1586 | + ac_cv_prog_CC="$CC" # Let the user override the test. | ||
1587 | +else | ||
1588 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1589 | +for as_dir in $PATH | ||
1590 | +do | ||
1591 | + IFS=$as_save_IFS | ||
1592 | + test -z "$as_dir" && as_dir=. | ||
1593 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
1594 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1595 | + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | ||
1596 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1597 | + break 2 | ||
1598 | + fi | ||
1599 | +done | ||
1600 | +done | ||
1601 | + | ||
1602 | +fi | ||
1603 | +fi | ||
1604 | +CC=$ac_cv_prog_CC | ||
1605 | +if test -n "$CC"; then | ||
1606 | + echo "$as_me:$LINENO: result: $CC" >&5 | ||
1607 | +echo "${ECHO_T}$CC" >&6 | ||
1608 | +else | ||
1609 | + echo "$as_me:$LINENO: result: no" >&5 | ||
1610 | +echo "${ECHO_T}no" >&6 | ||
1611 | +fi | ||
1612 | + | ||
1613 | + test -n "$CC" && break | ||
1614 | + done | ||
1615 | +fi | ||
1616 | +if test -z "$CC"; then | ||
1617 | + ac_ct_CC=$CC | ||
1618 | + for ac_prog in cl | ||
1619 | +do | ||
1620 | + # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
1621 | +set dummy $ac_prog; ac_word=$2 | ||
1622 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1623 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1624 | +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
1625 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1626 | +else | ||
1627 | + if test -n "$ac_ct_CC"; then | ||
1628 | + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
1629 | +else | ||
1630 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1631 | +for as_dir in $PATH | ||
1632 | +do | ||
1633 | + IFS=$as_save_IFS | ||
1634 | + test -z "$as_dir" && as_dir=. | ||
1635 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
1636 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1637 | + ac_cv_prog_ac_ct_CC="$ac_prog" | ||
1638 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1639 | + break 2 | ||
1640 | + fi | ||
1641 | +done | ||
1642 | +done | ||
1643 | + | ||
1644 | +fi | ||
1645 | +fi | ||
1646 | +ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
1647 | +if test -n "$ac_ct_CC"; then | ||
1648 | + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
1649 | +echo "${ECHO_T}$ac_ct_CC" >&6 | ||
1650 | +else | ||
1651 | + echo "$as_me:$LINENO: result: no" >&5 | ||
1652 | +echo "${ECHO_T}no" >&6 | ||
1653 | +fi | ||
1654 | + | ||
1655 | + test -n "$ac_ct_CC" && break | ||
1656 | +done | ||
1657 | + | ||
1658 | + CC=$ac_ct_CC | ||
1659 | +fi | ||
1660 | + | ||
1661 | +fi | ||
1662 | + | ||
1663 | + | ||
1664 | +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | ||
1665 | +See \`config.log' for more details." >&5 | ||
1666 | +echo "$as_me: error: no acceptable C compiler found in \$PATH | ||
1667 | +See \`config.log' for more details." >&2;} | ||
1668 | + { (exit 1); exit 1; }; } | ||
1669 | + | ||
1670 | +# Provide some information about the compiler. | ||
1671 | +echo "$as_me:$LINENO:" \ | ||
1672 | + "checking for C compiler version" >&5 | ||
1673 | +ac_compiler=`set X $ac_compile; echo $2` | ||
1674 | +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | ||
1675 | + (eval $ac_compiler --version </dev/null >&5) 2>&5 | ||
1676 | + ac_status=$? | ||
1677 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1678 | + (exit $ac_status); } | ||
1679 | +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | ||
1680 | + (eval $ac_compiler -v </dev/null >&5) 2>&5 | ||
1681 | + ac_status=$? | ||
1682 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1683 | + (exit $ac_status); } | ||
1684 | +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | ||
1685 | + (eval $ac_compiler -V </dev/null >&5) 2>&5 | ||
1686 | + ac_status=$? | ||
1687 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1688 | + (exit $ac_status); } | ||
1689 | + | ||
1690 | +cat >conftest.$ac_ext <<_ACEOF | ||
1691 | +/* confdefs.h. */ | ||
1692 | +_ACEOF | ||
1693 | +cat confdefs.h >>conftest.$ac_ext | ||
1694 | +cat >>conftest.$ac_ext <<_ACEOF | ||
1695 | +/* end confdefs.h. */ | ||
1696 | + | ||
1697 | +int | ||
1698 | +main () | ||
1699 | +{ | ||
1700 | + | ||
1701 | + ; | ||
1702 | + return 0; | ||
1703 | +} | ||
1704 | +_ACEOF | ||
1705 | +ac_clean_files_save=$ac_clean_files | ||
1706 | +ac_clean_files="$ac_clean_files a.out a.exe b.out" | ||
1707 | +# Try to create an executable without -o first, disregard a.out. | ||
1708 | +# It will help us diagnose broken compilers, and finding out an intuition | ||
1709 | +# of exeext. | ||
1710 | +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | ||
1711 | +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 | ||
1712 | +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ||
1713 | +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | ||
1714 | + (eval $ac_link_default) 2>&5 | ||
1715 | + ac_status=$? | ||
1716 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1717 | + (exit $ac_status); }; then | ||
1718 | + # Find the output, starting from the most likely. This scheme is | ||
1719 | +# not robust to junk in `.', hence go to wildcards (a.*) only as a last | ||
1720 | +# resort. | ||
1721 | + | ||
1722 | +# Be careful to initialize this variable, since it used to be cached. | ||
1723 | +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | ||
1724 | +ac_cv_exeext= | ||
1725 | +# b.out is created by i960 compilers. | ||
1726 | +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | ||
1727 | +do | ||
1728 | + test -f "$ac_file" || continue | ||
1729 | + case $ac_file in | ||
1730 | + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | ||
1731 | + ;; | ||
1732 | + conftest.$ac_ext ) | ||
1733 | + # This is the source file. | ||
1734 | + ;; | ||
1735 | + [ab].out ) | ||
1736 | + # We found the default executable, but exeext='' is most | ||
1737 | + # certainly right. | ||
1738 | + break;; | ||
1739 | + *.* ) | ||
1740 | + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
1741 | + # FIXME: I believe we export ac_cv_exeext for Libtool, | ||
1742 | + # but it would be cool to find out if it's true. Does anybody | ||
1743 | + # maintain Libtool? --akim. | ||
1744 | + export ac_cv_exeext | ||
1745 | + break;; | ||
1746 | + * ) | ||
1747 | + break;; | ||
1748 | + esac | ||
1749 | +done | ||
1750 | +else | ||
1751 | + echo "$as_me: failed program was:" >&5 | ||
1752 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
1753 | + | ||
1754 | +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables | ||
1755 | +See \`config.log' for more details." >&5 | ||
1756 | +echo "$as_me: error: C compiler cannot create executables | ||
1757 | +See \`config.log' for more details." >&2;} | ||
1758 | + { (exit 77); exit 77; }; } | ||
1759 | +fi | ||
1760 | + | ||
1761 | +ac_exeext=$ac_cv_exeext | ||
1762 | +echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
1763 | +echo "${ECHO_T}$ac_file" >&6 | ||
1764 | + | ||
1765 | +# Check the compiler produces executables we can run. If not, either | ||
1766 | +# the compiler is broken, or we cross compile. | ||
1767 | +echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | ||
1768 | +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | ||
1769 | +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | ||
1770 | +# If not cross compiling, check that we can run a simple program. | ||
1771 | +if test "$cross_compiling" != yes; then | ||
1772 | + if { ac_try='./$ac_file' | ||
1773 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1774 | + (eval $ac_try) 2>&5 | ||
1775 | + ac_status=$? | ||
1776 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1777 | + (exit $ac_status); }; }; then | ||
1778 | + cross_compiling=no | ||
1779 | + else | ||
1780 | + if test "$cross_compiling" = maybe; then | ||
1781 | + cross_compiling=yes | ||
1782 | + else | ||
1783 | + { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | ||
1784 | +If you meant to cross compile, use \`--host'. | ||
1785 | +See \`config.log' for more details." >&5 | ||
1786 | +echo "$as_me: error: cannot run C compiled programs. | ||
1787 | +If you meant to cross compile, use \`--host'. | ||
1788 | +See \`config.log' for more details." >&2;} | ||
1789 | + { (exit 1); exit 1; }; } | ||
1790 | + fi | ||
1791 | + fi | ||
1792 | +fi | ||
1793 | +echo "$as_me:$LINENO: result: yes" >&5 | ||
1794 | +echo "${ECHO_T}yes" >&6 | ||
1795 | + | ||
1796 | +rm -f a.out a.exe conftest$ac_cv_exeext b.out | ||
1797 | +ac_clean_files=$ac_clean_files_save | ||
1798 | +# Check the compiler produces executables we can run. If not, either | ||
1799 | +# the compiler is broken, or we cross compile. | ||
1800 | +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | ||
1801 | +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | ||
1802 | +echo "$as_me:$LINENO: result: $cross_compiling" >&5 | ||
1803 | +echo "${ECHO_T}$cross_compiling" >&6 | ||
1804 | + | ||
1805 | +echo "$as_me:$LINENO: checking for suffix of executables" >&5 | ||
1806 | +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | ||
1807 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
1808 | + (eval $ac_link) 2>&5 | ||
1809 | + ac_status=$? | ||
1810 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1811 | + (exit $ac_status); }; then | ||
1812 | + # If both `conftest.exe' and `conftest' are `present' (well, observable) | ||
1813 | +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | ||
1814 | +# work properly (i.e., refer to `conftest.exe'), while it won't with | ||
1815 | +# `rm'. | ||
1816 | +for ac_file in conftest.exe conftest conftest.*; do | ||
1817 | + test -f "$ac_file" || continue | ||
1818 | + case $ac_file in | ||
1819 | + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | ||
1820 | + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
1821 | + export ac_cv_exeext | ||
1822 | + break;; | ||
1823 | + * ) break;; | ||
1824 | + esac | ||
1825 | +done | ||
1826 | +else | ||
1827 | + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | ||
1828 | +See \`config.log' for more details." >&5 | ||
1829 | +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | ||
1830 | +See \`config.log' for more details." >&2;} | ||
1831 | + { (exit 1); exit 1; }; } | ||
1832 | +fi | ||
1833 | + | ||
1834 | +rm -f conftest$ac_cv_exeext | ||
1835 | +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | ||
1836 | +echo "${ECHO_T}$ac_cv_exeext" >&6 | ||
1837 | + | ||
1838 | +rm -f conftest.$ac_ext | ||
1839 | +EXEEXT=$ac_cv_exeext | ||
1840 | +ac_exeext=$EXEEXT | ||
1841 | +echo "$as_me:$LINENO: checking for suffix of object files" >&5 | ||
1842 | +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | ||
1843 | +if test "${ac_cv_objext+set}" = set; then | ||
1844 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1845 | +else | ||
1846 | + cat >conftest.$ac_ext <<_ACEOF | ||
1847 | +/* confdefs.h. */ | ||
1848 | +_ACEOF | ||
1849 | +cat confdefs.h >>conftest.$ac_ext | ||
1850 | +cat >>conftest.$ac_ext <<_ACEOF | ||
1851 | +/* end confdefs.h. */ | ||
1852 | + | ||
1853 | +int | ||
1854 | +main () | ||
1855 | +{ | ||
1856 | + | ||
1857 | + ; | ||
1858 | + return 0; | ||
1859 | +} | ||
1860 | +_ACEOF | ||
1861 | +rm -f conftest.o conftest.obj | ||
1862 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
1863 | + (eval $ac_compile) 2>&5 | ||
1864 | + ac_status=$? | ||
1865 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1866 | + (exit $ac_status); }; then | ||
1867 | + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | ||
1868 | + case $ac_file in | ||
1869 | + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | ||
1870 | + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | ||
1871 | + break;; | ||
1872 | + esac | ||
1873 | +done | ||
1874 | +else | ||
1875 | + echo "$as_me: failed program was:" >&5 | ||
1876 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
1877 | + | ||
1878 | +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | ||
1879 | +See \`config.log' for more details." >&5 | ||
1880 | +echo "$as_me: error: cannot compute suffix of object files: cannot compile | ||
1881 | +See \`config.log' for more details." >&2;} | ||
1882 | + { (exit 1); exit 1; }; } | ||
1883 | +fi | ||
1884 | + | ||
1885 | +rm -f conftest.$ac_cv_objext conftest.$ac_ext | ||
1886 | +fi | ||
1887 | +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | ||
1888 | +echo "${ECHO_T}$ac_cv_objext" >&6 | ||
1889 | +OBJEXT=$ac_cv_objext | ||
1890 | +ac_objext=$OBJEXT | ||
1891 | +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | ||
1892 | +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | ||
1893 | +if test "${ac_cv_c_compiler_gnu+set}" = set; then | ||
1894 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1895 | +else | ||
1896 | + cat >conftest.$ac_ext <<_ACEOF | ||
1897 | +/* confdefs.h. */ | ||
1898 | +_ACEOF | ||
1899 | +cat confdefs.h >>conftest.$ac_ext | ||
1900 | +cat >>conftest.$ac_ext <<_ACEOF | ||
1901 | +/* end confdefs.h. */ | ||
1902 | + | ||
1903 | +int | ||
1904 | +main () | ||
1905 | +{ | ||
1906 | +#ifndef __GNUC__ | ||
1907 | + choke me | ||
1908 | +#endif | ||
1909 | + | ||
1910 | + ; | ||
1911 | + return 0; | ||
1912 | +} | ||
1913 | +_ACEOF | ||
1914 | +rm -f conftest.$ac_objext | ||
1915 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
1916 | + (eval $ac_compile) 2>conftest.er1 | ||
1917 | + ac_status=$? | ||
1918 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
1919 | + rm -f conftest.er1 | ||
1920 | + cat conftest.err >&5 | ||
1921 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1922 | + (exit $ac_status); } && | ||
1923 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
1924 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1925 | + (eval $ac_try) 2>&5 | ||
1926 | + ac_status=$? | ||
1927 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1928 | + (exit $ac_status); }; } && | ||
1929 | + { ac_try='test -s conftest.$ac_objext' | ||
1930 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1931 | + (eval $ac_try) 2>&5 | ||
1932 | + ac_status=$? | ||
1933 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1934 | + (exit $ac_status); }; }; then | ||
1935 | + ac_compiler_gnu=yes | ||
1936 | +else | ||
1937 | + echo "$as_me: failed program was:" >&5 | ||
1938 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
1939 | + | ||
1940 | +ac_compiler_gnu=no | ||
1941 | +fi | ||
1942 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1943 | +ac_cv_c_compiler_gnu=$ac_compiler_gnu | ||
1944 | + | ||
1945 | +fi | ||
1946 | +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | ||
1947 | +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | ||
1948 | +GCC=`test $ac_compiler_gnu = yes && echo yes` | ||
1949 | +ac_test_CFLAGS=${CFLAGS+set} | ||
1950 | +ac_save_CFLAGS=$CFLAGS | ||
1951 | +CFLAGS="-g" | ||
1952 | +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | ||
1953 | +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | ||
1954 | +if test "${ac_cv_prog_cc_g+set}" = set; then | ||
1955 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1956 | +else | ||
1957 | + cat >conftest.$ac_ext <<_ACEOF | ||
1958 | +/* confdefs.h. */ | ||
1959 | +_ACEOF | ||
1960 | +cat confdefs.h >>conftest.$ac_ext | ||
1961 | +cat >>conftest.$ac_ext <<_ACEOF | ||
1962 | +/* end confdefs.h. */ | ||
1963 | + | ||
1964 | +int | ||
1965 | +main () | ||
1966 | +{ | ||
1967 | + | ||
1968 | + ; | ||
1969 | + return 0; | ||
1970 | +} | ||
1971 | +_ACEOF | ||
1972 | +rm -f conftest.$ac_objext | ||
1973 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
1974 | + (eval $ac_compile) 2>conftest.er1 | ||
1975 | + ac_status=$? | ||
1976 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
1977 | + rm -f conftest.er1 | ||
1978 | + cat conftest.err >&5 | ||
1979 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1980 | + (exit $ac_status); } && | ||
1981 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
1982 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1983 | + (eval $ac_try) 2>&5 | ||
1984 | + ac_status=$? | ||
1985 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1986 | + (exit $ac_status); }; } && | ||
1987 | + { ac_try='test -s conftest.$ac_objext' | ||
1988 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1989 | + (eval $ac_try) 2>&5 | ||
1990 | + ac_status=$? | ||
1991 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1992 | + (exit $ac_status); }; }; then | ||
1993 | + ac_cv_prog_cc_g=yes | ||
1994 | +else | ||
1995 | + echo "$as_me: failed program was:" >&5 | ||
1996 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
1997 | + | ||
1998 | +ac_cv_prog_cc_g=no | ||
1999 | +fi | ||
2000 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2001 | +fi | ||
2002 | +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | ||
2003 | +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | ||
2004 | +if test "$ac_test_CFLAGS" = set; then | ||
2005 | + CFLAGS=$ac_save_CFLAGS | ||
2006 | +elif test $ac_cv_prog_cc_g = yes; then | ||
2007 | + if test "$GCC" = yes; then | ||
2008 | + CFLAGS="-g -O2" | ||
2009 | + else | ||
2010 | + CFLAGS="-g" | ||
2011 | + fi | ||
2012 | +else | ||
2013 | + if test "$GCC" = yes; then | ||
2014 | + CFLAGS="-O2" | ||
2015 | + else | ||
2016 | + CFLAGS= | ||
2017 | + fi | ||
2018 | +fi | ||
2019 | +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | ||
2020 | +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | ||
2021 | +if test "${ac_cv_prog_cc_stdc+set}" = set; then | ||
2022 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2023 | +else | ||
2024 | + ac_cv_prog_cc_stdc=no | ||
2025 | +ac_save_CC=$CC | ||
2026 | +cat >conftest.$ac_ext <<_ACEOF | ||
2027 | +/* confdefs.h. */ | ||
2028 | +_ACEOF | ||
2029 | +cat confdefs.h >>conftest.$ac_ext | ||
2030 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2031 | +/* end confdefs.h. */ | ||
2032 | +#include <stdarg.h> | ||
2033 | +#include <stdio.h> | ||
2034 | +#include <sys/types.h> | ||
2035 | +#include <sys/stat.h> | ||
2036 | +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | ||
2037 | +struct buf { int x; }; | ||
2038 | +FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||
2039 | +static char *e (p, i) | ||
2040 | + char **p; | ||
2041 | + int i; | ||
2042 | +{ | ||
2043 | + return p[i]; | ||
2044 | +} | ||
2045 | +static char *f (char * (*g) (char **, int), char **p, ...) | ||
2046 | +{ | ||
2047 | + char *s; | ||
2048 | + va_list v; | ||
2049 | + va_start (v,p); | ||
2050 | + s = g (p, va_arg (v,int)); | ||
2051 | + va_end (v); | ||
2052 | + return s; | ||
2053 | +} | ||
2054 | + | ||
2055 | +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | ||
2056 | + function prototypes and stuff, but not '\xHH' hex character constants. | ||
2057 | + These don't provoke an error unfortunately, instead are silently treated | ||
2058 | + as 'x'. The following induces an error, until -std1 is added to get | ||
2059 | + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | ||
2060 | + array size at least. It's necessary to write '\x00'==0 to get something | ||
2061 | + that's true only with -std1. */ | ||
2062 | +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | ||
2063 | + | ||
2064 | +int test (int i, double x); | ||
2065 | +struct s1 {int (*f) (int a);}; | ||
2066 | +struct s2 {int (*f) (double a);}; | ||
2067 | +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | ||
2068 | +int argc; | ||
2069 | +char **argv; | ||
2070 | +int | ||
2071 | +main () | ||
2072 | +{ | ||
2073 | +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||
2074 | + ; | ||
2075 | + return 0; | ||
2076 | +} | ||
2077 | +_ACEOF | ||
2078 | +# Don't try gcc -ansi; that turns off useful extensions and | ||
2079 | +# breaks some systems' header files. | ||
2080 | +# AIX -qlanglvl=ansi | ||
2081 | +# Ultrix and OSF/1 -std1 | ||
2082 | +# HP-UX 10.20 and later -Ae | ||
2083 | +# HP-UX older versions -Aa -D_HPUX_SOURCE | ||
2084 | +# SVR4 -Xc -D__EXTENSIONS__ | ||
2085 | +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
2086 | +do | ||
2087 | + CC="$ac_save_CC $ac_arg" | ||
2088 | + rm -f conftest.$ac_objext | ||
2089 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2090 | + (eval $ac_compile) 2>conftest.er1 | ||
2091 | + ac_status=$? | ||
2092 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2093 | + rm -f conftest.er1 | ||
2094 | + cat conftest.err >&5 | ||
2095 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2096 | + (exit $ac_status); } && | ||
2097 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
2098 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2099 | + (eval $ac_try) 2>&5 | ||
2100 | + ac_status=$? | ||
2101 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2102 | + (exit $ac_status); }; } && | ||
2103 | + { ac_try='test -s conftest.$ac_objext' | ||
2104 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2105 | + (eval $ac_try) 2>&5 | ||
2106 | + ac_status=$? | ||
2107 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2108 | + (exit $ac_status); }; }; then | ||
2109 | + ac_cv_prog_cc_stdc=$ac_arg | ||
2110 | +break | ||
2111 | +else | ||
2112 | + echo "$as_me: failed program was:" >&5 | ||
2113 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2114 | + | ||
2115 | +fi | ||
2116 | +rm -f conftest.err conftest.$ac_objext | ||
2117 | +done | ||
2118 | +rm -f conftest.$ac_ext conftest.$ac_objext | ||
2119 | +CC=$ac_save_CC | ||
2120 | + | ||
2121 | +fi | ||
2122 | + | ||
2123 | +case "x$ac_cv_prog_cc_stdc" in | ||
2124 | + x|xno) | ||
2125 | + echo "$as_me:$LINENO: result: none needed" >&5 | ||
2126 | +echo "${ECHO_T}none needed" >&6 ;; | ||
2127 | + *) | ||
2128 | + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | ||
2129 | +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | ||
2130 | + CC="$CC $ac_cv_prog_cc_stdc" ;; | ||
2131 | +esac | ||
2132 | + | ||
2133 | +# Some people use a C++ compiler to compile C. Since we use `exit', | ||
2134 | +# in C++ we need to declare it. In case someone uses the same compiler | ||
2135 | +# for both compiling C and C++ we need to have the C++ compiler decide | ||
2136 | +# the declaration of exit, since it's the most demanding environment. | ||
2137 | +cat >conftest.$ac_ext <<_ACEOF | ||
2138 | +@%:@ifndef __cplusplus | ||
2139 | + choke me | ||
2140 | +@%:@endif | ||
2141 | +_ACEOF | ||
2142 | +rm -f conftest.$ac_objext | ||
2143 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2144 | + (eval $ac_compile) 2>conftest.er1 | ||
2145 | + ac_status=$? | ||
2146 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2147 | + rm -f conftest.er1 | ||
2148 | + cat conftest.err >&5 | ||
2149 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2150 | + (exit $ac_status); } && | ||
2151 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
2152 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2153 | + (eval $ac_try) 2>&5 | ||
2154 | + ac_status=$? | ||
2155 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2156 | + (exit $ac_status); }; } && | ||
2157 | + { ac_try='test -s conftest.$ac_objext' | ||
2158 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2159 | + (eval $ac_try) 2>&5 | ||
2160 | + ac_status=$? | ||
2161 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2162 | + (exit $ac_status); }; }; then | ||
2163 | + for ac_declaration in \ | ||
2164 | + '' \ | ||
2165 | + 'extern "C" void std::exit (int) throw (); using std::exit;' \ | ||
2166 | + 'extern "C" void std::exit (int); using std::exit;' \ | ||
2167 | + 'extern "C" void exit (int) throw ();' \ | ||
2168 | + 'extern "C" void exit (int);' \ | ||
2169 | + 'void exit (int);' | ||
2170 | +do | ||
2171 | + cat >conftest.$ac_ext <<_ACEOF | ||
2172 | +/* confdefs.h. */ | ||
2173 | +_ACEOF | ||
2174 | +cat confdefs.h >>conftest.$ac_ext | ||
2175 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2176 | +/* end confdefs.h. */ | ||
2177 | +$ac_declaration | ||
2178 | +@%:@include <stdlib.h> | ||
2179 | +int | ||
2180 | +main () | ||
2181 | +{ | ||
2182 | +exit (42); | ||
2183 | + ; | ||
2184 | + return 0; | ||
2185 | +} | ||
2186 | +_ACEOF | ||
2187 | +rm -f conftest.$ac_objext | ||
2188 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2189 | + (eval $ac_compile) 2>conftest.er1 | ||
2190 | + ac_status=$? | ||
2191 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2192 | + rm -f conftest.er1 | ||
2193 | + cat conftest.err >&5 | ||
2194 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2195 | + (exit $ac_status); } && | ||
2196 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
2197 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2198 | + (eval $ac_try) 2>&5 | ||
2199 | + ac_status=$? | ||
2200 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2201 | + (exit $ac_status); }; } && | ||
2202 | + { ac_try='test -s conftest.$ac_objext' | ||
2203 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2204 | + (eval $ac_try) 2>&5 | ||
2205 | + ac_status=$? | ||
2206 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2207 | + (exit $ac_status); }; }; then | ||
2208 | + : | ||
2209 | +else | ||
2210 | + echo "$as_me: failed program was:" >&5 | ||
2211 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2212 | + | ||
2213 | +continue | ||
2214 | +fi | ||
2215 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2216 | + cat >conftest.$ac_ext <<_ACEOF | ||
2217 | +/* confdefs.h. */ | ||
2218 | +_ACEOF | ||
2219 | +cat confdefs.h >>conftest.$ac_ext | ||
2220 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2221 | +/* end confdefs.h. */ | ||
2222 | +$ac_declaration | ||
2223 | +int | ||
2224 | +main () | ||
2225 | +{ | ||
2226 | +exit (42); | ||
2227 | + ; | ||
2228 | + return 0; | ||
2229 | +} | ||
2230 | +_ACEOF | ||
2231 | +rm -f conftest.$ac_objext | ||
2232 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2233 | + (eval $ac_compile) 2>conftest.er1 | ||
2234 | + ac_status=$? | ||
2235 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2236 | + rm -f conftest.er1 | ||
2237 | + cat conftest.err >&5 | ||
2238 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2239 | + (exit $ac_status); } && | ||
2240 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
2241 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2242 | + (eval $ac_try) 2>&5 | ||
2243 | + ac_status=$? | ||
2244 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2245 | + (exit $ac_status); }; } && | ||
2246 | + { ac_try='test -s conftest.$ac_objext' | ||
2247 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2248 | + (eval $ac_try) 2>&5 | ||
2249 | + ac_status=$? | ||
2250 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2251 | + (exit $ac_status); }; }; then | ||
2252 | + break | ||
2253 | +else | ||
2254 | + echo "$as_me: failed program was:" >&5 | ||
2255 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2256 | + | ||
2257 | +fi | ||
2258 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2259 | +done | ||
2260 | +rm -f conftest* | ||
2261 | +if test -n "$ac_declaration"; then | ||
2262 | + echo '#ifdef __cplusplus' >>confdefs.h | ||
2263 | + echo $ac_declaration >>confdefs.h | ||
2264 | + echo '#endif' >>confdefs.h | ||
2265 | +fi | ||
2266 | + | ||
2267 | +else | ||
2268 | + echo "$as_me: failed program was:" >&5 | ||
2269 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2270 | + | ||
2271 | +fi | ||
2272 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2273 | +ac_ext=c | ||
2274 | +ac_cpp='$CPP $CPPFLAGS' | ||
2275 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2276 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2277 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2278 | + | ||
2279 | + | ||
2280 | +ac_ext=c | ||
2281 | +ac_cpp='$CPP $CPPFLAGS' | ||
2282 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2283 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2284 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2285 | +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | ||
2286 | +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | ||
2287 | +# On Suns, sometimes $CPP names a directory. | ||
2288 | +if test -n "$CPP" && test -d "$CPP"; then | ||
2289 | + CPP= | ||
2290 | +fi | ||
2291 | +if test -z "$CPP"; then | ||
2292 | + if test "${ac_cv_prog_CPP+set}" = set; then | ||
2293 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2294 | +else | ||
2295 | + # Double quotes because CPP needs to be expanded | ||
2296 | + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | ||
2297 | + do | ||
2298 | + ac_preproc_ok=false | ||
2299 | +for ac_c_preproc_warn_flag in '' yes | ||
2300 | +do | ||
2301 | + # Use a header file that comes with gcc, so configuring glibc | ||
2302 | + # with a fresh cross-compiler works. | ||
2303 | + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
2304 | + # <limits.h> exists even on freestanding compilers. | ||
2305 | + # On the NeXT, cc -E runs the code through the compiler's parser, | ||
2306 | + # not just through cpp. "Syntax error" is here to catch this case. | ||
2307 | + cat >conftest.$ac_ext <<_ACEOF | ||
2308 | +/* confdefs.h. */ | ||
2309 | +_ACEOF | ||
2310 | +cat confdefs.h >>conftest.$ac_ext | ||
2311 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2312 | +/* end confdefs.h. */ | ||
2313 | +@%:@ifdef __STDC__ | ||
2314 | +@%:@ include <limits.h> | ||
2315 | +@%:@else | ||
2316 | +@%:@ include <assert.h> | ||
2317 | +@%:@endif | ||
2318 | + Syntax error | ||
2319 | +_ACEOF | ||
2320 | +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
2321 | + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
2322 | + ac_status=$? | ||
2323 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2324 | + rm -f conftest.er1 | ||
2325 | + cat conftest.err >&5 | ||
2326 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2327 | + (exit $ac_status); } >/dev/null; then | ||
2328 | + if test -s conftest.err; then | ||
2329 | + ac_cpp_err=$ac_c_preproc_warn_flag | ||
2330 | + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | ||
2331 | + else | ||
2332 | + ac_cpp_err= | ||
2333 | + fi | ||
2334 | +else | ||
2335 | + ac_cpp_err=yes | ||
2336 | +fi | ||
2337 | +if test -z "$ac_cpp_err"; then | ||
2338 | + : | ||
2339 | +else | ||
2340 | + echo "$as_me: failed program was:" >&5 | ||
2341 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2342 | + | ||
2343 | + # Broken: fails on valid input. | ||
2344 | +continue | ||
2345 | +fi | ||
2346 | +rm -f conftest.err conftest.$ac_ext | ||
2347 | + | ||
2348 | + # OK, works on sane cases. Now check whether non-existent headers | ||
2349 | + # can be detected and how. | ||
2350 | + cat >conftest.$ac_ext <<_ACEOF | ||
2351 | +/* confdefs.h. */ | ||
2352 | +_ACEOF | ||
2353 | +cat confdefs.h >>conftest.$ac_ext | ||
2354 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2355 | +/* end confdefs.h. */ | ||
2356 | +@%:@include <ac_nonexistent.h> | ||
2357 | +_ACEOF | ||
2358 | +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
2359 | + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
2360 | + ac_status=$? | ||
2361 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2362 | + rm -f conftest.er1 | ||
2363 | + cat conftest.err >&5 | ||
2364 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2365 | + (exit $ac_status); } >/dev/null; then | ||
2366 | + if test -s conftest.err; then | ||
2367 | + ac_cpp_err=$ac_c_preproc_warn_flag | ||
2368 | + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | ||
2369 | + else | ||
2370 | + ac_cpp_err= | ||
2371 | + fi | ||
2372 | +else | ||
2373 | + ac_cpp_err=yes | ||
2374 | +fi | ||
2375 | +if test -z "$ac_cpp_err"; then | ||
2376 | + # Broken: success on invalid input. | ||
2377 | +continue | ||
2378 | +else | ||
2379 | + echo "$as_me: failed program was:" >&5 | ||
2380 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2381 | + | ||
2382 | + # Passes both tests. | ||
2383 | +ac_preproc_ok=: | ||
2384 | +break | ||
2385 | +fi | ||
2386 | +rm -f conftest.err conftest.$ac_ext | ||
2387 | + | ||
2388 | +done | ||
2389 | +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
2390 | +rm -f conftest.err conftest.$ac_ext | ||
2391 | +if $ac_preproc_ok; then | ||
2392 | + break | ||
2393 | +fi | ||
2394 | + | ||
2395 | + done | ||
2396 | + ac_cv_prog_CPP=$CPP | ||
2397 | + | ||
2398 | +fi | ||
2399 | + CPP=$ac_cv_prog_CPP | ||
2400 | +else | ||
2401 | + ac_cv_prog_CPP=$CPP | ||
2402 | +fi | ||
2403 | +echo "$as_me:$LINENO: result: $CPP" >&5 | ||
2404 | +echo "${ECHO_T}$CPP" >&6 | ||
2405 | +ac_preproc_ok=false | ||
2406 | +for ac_c_preproc_warn_flag in '' yes | ||
2407 | +do | ||
2408 | + # Use a header file that comes with gcc, so configuring glibc | ||
2409 | + # with a fresh cross-compiler works. | ||
2410 | + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
2411 | + # <limits.h> exists even on freestanding compilers. | ||
2412 | + # On the NeXT, cc -E runs the code through the compiler's parser, | ||
2413 | + # not just through cpp. "Syntax error" is here to catch this case. | ||
2414 | + cat >conftest.$ac_ext <<_ACEOF | ||
2415 | +/* confdefs.h. */ | ||
2416 | +_ACEOF | ||
2417 | +cat confdefs.h >>conftest.$ac_ext | ||
2418 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2419 | +/* end confdefs.h. */ | ||
2420 | +@%:@ifdef __STDC__ | ||
2421 | +@%:@ include <limits.h> | ||
2422 | +@%:@else | ||
2423 | +@%:@ include <assert.h> | ||
2424 | +@%:@endif | ||
2425 | + Syntax error | ||
2426 | +_ACEOF | ||
2427 | +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
2428 | + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
2429 | + ac_status=$? | ||
2430 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2431 | + rm -f conftest.er1 | ||
2432 | + cat conftest.err >&5 | ||
2433 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2434 | + (exit $ac_status); } >/dev/null; then | ||
2435 | + if test -s conftest.err; then | ||
2436 | + ac_cpp_err=$ac_c_preproc_warn_flag | ||
2437 | + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | ||
2438 | + else | ||
2439 | + ac_cpp_err= | ||
2440 | + fi | ||
2441 | +else | ||
2442 | + ac_cpp_err=yes | ||
2443 | +fi | ||
2444 | +if test -z "$ac_cpp_err"; then | ||
2445 | + : | ||
2446 | +else | ||
2447 | + echo "$as_me: failed program was:" >&5 | ||
2448 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2449 | + | ||
2450 | + # Broken: fails on valid input. | ||
2451 | +continue | ||
2452 | +fi | ||
2453 | +rm -f conftest.err conftest.$ac_ext | ||
2454 | + | ||
2455 | + # OK, works on sane cases. Now check whether non-existent headers | ||
2456 | + # can be detected and how. | ||
2457 | + cat >conftest.$ac_ext <<_ACEOF | ||
2458 | +/* confdefs.h. */ | ||
2459 | +_ACEOF | ||
2460 | +cat confdefs.h >>conftest.$ac_ext | ||
2461 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2462 | +/* end confdefs.h. */ | ||
2463 | +@%:@include <ac_nonexistent.h> | ||
2464 | +_ACEOF | ||
2465 | +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
2466 | + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
2467 | + ac_status=$? | ||
2468 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2469 | + rm -f conftest.er1 | ||
2470 | + cat conftest.err >&5 | ||
2471 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2472 | + (exit $ac_status); } >/dev/null; then | ||
2473 | + if test -s conftest.err; then | ||
2474 | + ac_cpp_err=$ac_c_preproc_warn_flag | ||
2475 | + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | ||
2476 | + else | ||
2477 | + ac_cpp_err= | ||
2478 | + fi | ||
2479 | +else | ||
2480 | + ac_cpp_err=yes | ||
2481 | +fi | ||
2482 | +if test -z "$ac_cpp_err"; then | ||
2483 | + # Broken: success on invalid input. | ||
2484 | +continue | ||
2485 | +else | ||
2486 | + echo "$as_me: failed program was:" >&5 | ||
2487 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2488 | + | ||
2489 | + # Passes both tests. | ||
2490 | +ac_preproc_ok=: | ||
2491 | +break | ||
2492 | +fi | ||
2493 | +rm -f conftest.err conftest.$ac_ext | ||
2494 | + | ||
2495 | +done | ||
2496 | +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
2497 | +rm -f conftest.err conftest.$ac_ext | ||
2498 | +if $ac_preproc_ok; then | ||
2499 | + : | ||
2500 | +else | ||
2501 | + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | ||
2502 | +See \`config.log' for more details." >&5 | ||
2503 | +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | ||
2504 | +See \`config.log' for more details." >&2;} | ||
2505 | + { (exit 1); exit 1; }; } | ||
2506 | +fi | ||
2507 | + | ||
2508 | +ac_ext=c | ||
2509 | +ac_cpp='$CPP $CPPFLAGS' | ||
2510 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2511 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2512 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2513 | + | ||
2514 | + | ||
2515 | +echo "$as_me:$LINENO: checking for egrep" >&5 | ||
2516 | +echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | ||
2517 | +if test "${ac_cv_prog_egrep+set}" = set; then | ||
2518 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2519 | +else | ||
2520 | + if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | ||
2521 | + then ac_cv_prog_egrep='grep -E' | ||
2522 | + else ac_cv_prog_egrep='egrep' | ||
2523 | + fi | ||
2524 | +fi | ||
2525 | +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | ||
2526 | +echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | ||
2527 | + EGREP=$ac_cv_prog_egrep | ||
2528 | + | ||
2529 | + | ||
2530 | +echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | ||
2531 | +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | ||
2532 | +if test "${ac_cv_header_stdc+set}" = set; then | ||
2533 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2534 | +else | ||
2535 | + cat >conftest.$ac_ext <<_ACEOF | ||
2536 | +/* confdefs.h. */ | ||
2537 | +_ACEOF | ||
2538 | +cat confdefs.h >>conftest.$ac_ext | ||
2539 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2540 | +/* end confdefs.h. */ | ||
2541 | +#include <stdlib.h> | ||
2542 | +#include <stdarg.h> | ||
2543 | +#include <string.h> | ||
2544 | +#include <float.h> | ||
2545 | + | ||
2546 | +int | ||
2547 | +main () | ||
2548 | +{ | ||
2549 | + | ||
2550 | + ; | ||
2551 | + return 0; | ||
2552 | +} | ||
2553 | +_ACEOF | ||
2554 | +rm -f conftest.$ac_objext | ||
2555 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2556 | + (eval $ac_compile) 2>conftest.er1 | ||
2557 | + ac_status=$? | ||
2558 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2559 | + rm -f conftest.er1 | ||
2560 | + cat conftest.err >&5 | ||
2561 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2562 | + (exit $ac_status); } && | ||
2563 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
2564 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2565 | + (eval $ac_try) 2>&5 | ||
2566 | + ac_status=$? | ||
2567 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2568 | + (exit $ac_status); }; } && | ||
2569 | + { ac_try='test -s conftest.$ac_objext' | ||
2570 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2571 | + (eval $ac_try) 2>&5 | ||
2572 | + ac_status=$? | ||
2573 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2574 | + (exit $ac_status); }; }; then | ||
2575 | + ac_cv_header_stdc=yes | ||
2576 | +else | ||
2577 | + echo "$as_me: failed program was:" >&5 | ||
2578 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2579 | + | ||
2580 | +ac_cv_header_stdc=no | ||
2581 | +fi | ||
2582 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2583 | + | ||
2584 | +if test $ac_cv_header_stdc = yes; then | ||
2585 | + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | ||
2586 | + cat >conftest.$ac_ext <<_ACEOF | ||
2587 | +/* confdefs.h. */ | ||
2588 | +_ACEOF | ||
2589 | +cat confdefs.h >>conftest.$ac_ext | ||
2590 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2591 | +/* end confdefs.h. */ | ||
2592 | +#include <string.h> | ||
2593 | + | ||
2594 | +_ACEOF | ||
2595 | +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
2596 | + $EGREP "memchr" >/dev/null 2>&1; then | ||
2597 | + : | ||
2598 | +else | ||
2599 | + ac_cv_header_stdc=no | ||
2600 | +fi | ||
2601 | +rm -f conftest* | ||
2602 | + | ||
2603 | +fi | ||
2604 | + | ||
2605 | +if test $ac_cv_header_stdc = yes; then | ||
2606 | + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | ||
2607 | + cat >conftest.$ac_ext <<_ACEOF | ||
2608 | +/* confdefs.h. */ | ||
2609 | +_ACEOF | ||
2610 | +cat confdefs.h >>conftest.$ac_ext | ||
2611 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2612 | +/* end confdefs.h. */ | ||
2613 | +#include <stdlib.h> | ||
2614 | + | ||
2615 | +_ACEOF | ||
2616 | +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
2617 | + $EGREP "free" >/dev/null 2>&1; then | ||
2618 | + : | ||
2619 | +else | ||
2620 | + ac_cv_header_stdc=no | ||
2621 | +fi | ||
2622 | +rm -f conftest* | ||
2623 | + | ||
2624 | +fi | ||
2625 | + | ||
2626 | +if test $ac_cv_header_stdc = yes; then | ||
2627 | + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | ||
2628 | + if test "$cross_compiling" = yes; then | ||
2629 | + : | ||
2630 | +else | ||
2631 | + cat >conftest.$ac_ext <<_ACEOF | ||
2632 | +/* confdefs.h. */ | ||
2633 | +_ACEOF | ||
2634 | +cat confdefs.h >>conftest.$ac_ext | ||
2635 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2636 | +/* end confdefs.h. */ | ||
2637 | +#include <ctype.h> | ||
2638 | +#if ((' ' & 0x0FF) == 0x020) | ||
2639 | +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | ||
2640 | +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | ||
2641 | +#else | ||
2642 | +# define ISLOWER(c) \ | ||
2643 | + (('a' <= (c) && (c) <= 'i') \ | ||
2644 | + || ('j' <= (c) && (c) <= 'r') \ | ||
2645 | + || ('s' <= (c) && (c) <= 'z')) | ||
2646 | +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | ||
2647 | +#endif | ||
2648 | + | ||
2649 | +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | ||
2650 | +int | ||
2651 | +main () | ||
2652 | +{ | ||
2653 | + int i; | ||
2654 | + for (i = 0; i < 256; i++) | ||
2655 | + if (XOR (islower (i), ISLOWER (i)) | ||
2656 | + || toupper (i) != TOUPPER (i)) | ||
2657 | + exit(2); | ||
2658 | + exit (0); | ||
2659 | +} | ||
2660 | +_ACEOF | ||
2661 | +rm -f conftest$ac_exeext | ||
2662 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
2663 | + (eval $ac_link) 2>&5 | ||
2664 | + ac_status=$? | ||
2665 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2666 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
2667 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2668 | + (eval $ac_try) 2>&5 | ||
2669 | + ac_status=$? | ||
2670 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2671 | + (exit $ac_status); }; }; then | ||
2672 | + : | ||
2673 | +else | ||
2674 | + echo "$as_me: program exited with status $ac_status" >&5 | ||
2675 | +echo "$as_me: failed program was:" >&5 | ||
2676 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2677 | + | ||
2678 | +( exit $ac_status ) | ||
2679 | +ac_cv_header_stdc=no | ||
2680 | +fi | ||
2681 | +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
2682 | +fi | ||
2683 | +fi | ||
2684 | +fi | ||
2685 | +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | ||
2686 | +echo "${ECHO_T}$ac_cv_header_stdc" >&6 | ||
2687 | +if test $ac_cv_header_stdc = yes; then | ||
2688 | + | ||
2689 | +cat >>confdefs.h <<\_ACEOF | ||
2690 | +@%:@define STDC_HEADERS 1 | ||
2691 | +_ACEOF | ||
2692 | + | ||
2693 | +fi | ||
2694 | + | ||
2695 | + | ||
2696 | +for ac_func in mkdir | ||
2697 | +do | ||
2698 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
2699 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
2700 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
2701 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
2702 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2703 | +else | ||
2704 | + cat >conftest.$ac_ext <<_ACEOF | ||
2705 | +/* confdefs.h. */ | ||
2706 | +_ACEOF | ||
2707 | +cat confdefs.h >>conftest.$ac_ext | ||
2708 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2709 | +/* end confdefs.h. */ | ||
2710 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
2711 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
2712 | +#define $ac_func innocuous_$ac_func | ||
2713 | + | ||
2714 | +/* System header to define __stub macros and hopefully few prototypes, | ||
2715 | + which can conflict with char $ac_func (); below. | ||
2716 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
2717 | + <limits.h> exists even on freestanding compilers. */ | ||
2718 | + | ||
2719 | +#ifdef __STDC__ | ||
2720 | +# include <limits.h> | ||
2721 | +#else | ||
2722 | +# include <assert.h> | ||
2723 | +#endif | ||
2724 | + | ||
2725 | +#undef $ac_func | ||
2726 | + | ||
2727 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
2728 | +#ifdef __cplusplus | ||
2729 | +extern "C" | ||
2730 | +{ | ||
2731 | +#endif | ||
2732 | +/* We use char because int might match the return type of a gcc2 | ||
2733 | + builtin and then its argument prototype would still apply. */ | ||
2734 | +char $ac_func (); | ||
2735 | +/* The GNU C library defines this for functions which it implements | ||
2736 | + to always fail with ENOSYS. Some functions are actually named | ||
2737 | + something starting with __ and the normal name is an alias. */ | ||
2738 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
2739 | +choke me | ||
2740 | +#else | ||
2741 | +char (*f) () = $ac_func; | ||
2742 | +#endif | ||
2743 | +#ifdef __cplusplus | ||
2744 | +} | ||
2745 | +#endif | ||
2746 | + | ||
2747 | +int | ||
2748 | +main () | ||
2749 | +{ | ||
2750 | +return f != $ac_func; | ||
2751 | + ; | ||
2752 | + return 0; | ||
2753 | +} | ||
2754 | +_ACEOF | ||
2755 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
2756 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
2757 | + (eval $ac_link) 2>conftest.er1 | ||
2758 | + ac_status=$? | ||
2759 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2760 | + rm -f conftest.er1 | ||
2761 | + cat conftest.err >&5 | ||
2762 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2763 | + (exit $ac_status); } && | ||
2764 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
2765 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2766 | + (eval $ac_try) 2>&5 | ||
2767 | + ac_status=$? | ||
2768 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2769 | + (exit $ac_status); }; } && | ||
2770 | + { ac_try='test -s conftest$ac_exeext' | ||
2771 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2772 | + (eval $ac_try) 2>&5 | ||
2773 | + ac_status=$? | ||
2774 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2775 | + (exit $ac_status); }; }; then | ||
2776 | + eval "$as_ac_var=yes" | ||
2777 | +else | ||
2778 | + echo "$as_me: failed program was:" >&5 | ||
2779 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2780 | + | ||
2781 | +eval "$as_ac_var=no" | ||
2782 | +fi | ||
2783 | +rm -f conftest.err conftest.$ac_objext \ | ||
2784 | + conftest$ac_exeext conftest.$ac_ext | ||
2785 | +fi | ||
2786 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
2787 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
2788 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
2789 | + cat >>confdefs.h <<_ACEOF | ||
2790 | +@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
2791 | +_ACEOF | ||
2792 | + | ||
2793 | +fi | ||
2794 | +done | ||
2795 | + | ||
2796 | + | ||
2797 | +for ac_func in rmdir | ||
2798 | +do | ||
2799 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
2800 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
2801 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
2802 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
2803 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2804 | +else | ||
2805 | + cat >conftest.$ac_ext <<_ACEOF | ||
2806 | +/* confdefs.h. */ | ||
2807 | +_ACEOF | ||
2808 | +cat confdefs.h >>conftest.$ac_ext | ||
2809 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2810 | +/* end confdefs.h. */ | ||
2811 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
2812 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
2813 | +#define $ac_func innocuous_$ac_func | ||
2814 | + | ||
2815 | +/* System header to define __stub macros and hopefully few prototypes, | ||
2816 | + which can conflict with char $ac_func (); below. | ||
2817 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
2818 | + <limits.h> exists even on freestanding compilers. */ | ||
2819 | + | ||
2820 | +#ifdef __STDC__ | ||
2821 | +# include <limits.h> | ||
2822 | +#else | ||
2823 | +# include <assert.h> | ||
2824 | +#endif | ||
2825 | + | ||
2826 | +#undef $ac_func | ||
2827 | + | ||
2828 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
2829 | +#ifdef __cplusplus | ||
2830 | +extern "C" | ||
2831 | +{ | ||
2832 | +#endif | ||
2833 | +/* We use char because int might match the return type of a gcc2 | ||
2834 | + builtin and then its argument prototype would still apply. */ | ||
2835 | +char $ac_func (); | ||
2836 | +/* The GNU C library defines this for functions which it implements | ||
2837 | + to always fail with ENOSYS. Some functions are actually named | ||
2838 | + something starting with __ and the normal name is an alias. */ | ||
2839 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
2840 | +choke me | ||
2841 | +#else | ||
2842 | +char (*f) () = $ac_func; | ||
2843 | +#endif | ||
2844 | +#ifdef __cplusplus | ||
2845 | +} | ||
2846 | +#endif | ||
2847 | + | ||
2848 | +int | ||
2849 | +main () | ||
2850 | +{ | ||
2851 | +return f != $ac_func; | ||
2852 | + ; | ||
2853 | + return 0; | ||
2854 | +} | ||
2855 | +_ACEOF | ||
2856 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
2857 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
2858 | + (eval $ac_link) 2>conftest.er1 | ||
2859 | + ac_status=$? | ||
2860 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2861 | + rm -f conftest.er1 | ||
2862 | + cat conftest.err >&5 | ||
2863 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2864 | + (exit $ac_status); } && | ||
2865 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
2866 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2867 | + (eval $ac_try) 2>&5 | ||
2868 | + ac_status=$? | ||
2869 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2870 | + (exit $ac_status); }; } && | ||
2871 | + { ac_try='test -s conftest$ac_exeext' | ||
2872 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2873 | + (eval $ac_try) 2>&5 | ||
2874 | + ac_status=$? | ||
2875 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2876 | + (exit $ac_status); }; }; then | ||
2877 | + eval "$as_ac_var=yes" | ||
2878 | +else | ||
2879 | + echo "$as_me: failed program was:" >&5 | ||
2880 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2881 | + | ||
2882 | +eval "$as_ac_var=no" | ||
2883 | +fi | ||
2884 | +rm -f conftest.err conftest.$ac_objext \ | ||
2885 | + conftest$ac_exeext conftest.$ac_ext | ||
2886 | +fi | ||
2887 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
2888 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
2889 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
2890 | + cat >>confdefs.h <<_ACEOF | ||
2891 | +@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
2892 | +_ACEOF | ||
2893 | + | ||
2894 | +fi | ||
2895 | +done | ||
2896 | + | ||
2897 | + | ||
2898 | +for ac_func in strchr | ||
2899 | +do | ||
2900 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
2901 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
2902 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
2903 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
2904 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2905 | +else | ||
2906 | + cat >conftest.$ac_ext <<_ACEOF | ||
2907 | +/* confdefs.h. */ | ||
2908 | +_ACEOF | ||
2909 | +cat confdefs.h >>conftest.$ac_ext | ||
2910 | +cat >>conftest.$ac_ext <<_ACEOF | ||
2911 | +/* end confdefs.h. */ | ||
2912 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
2913 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
2914 | +#define $ac_func innocuous_$ac_func | ||
2915 | + | ||
2916 | +/* System header to define __stub macros and hopefully few prototypes, | ||
2917 | + which can conflict with char $ac_func (); below. | ||
2918 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
2919 | + <limits.h> exists even on freestanding compilers. */ | ||
2920 | + | ||
2921 | +#ifdef __STDC__ | ||
2922 | +# include <limits.h> | ||
2923 | +#else | ||
2924 | +# include <assert.h> | ||
2925 | +#endif | ||
2926 | + | ||
2927 | +#undef $ac_func | ||
2928 | + | ||
2929 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
2930 | +#ifdef __cplusplus | ||
2931 | +extern "C" | ||
2932 | +{ | ||
2933 | +#endif | ||
2934 | +/* We use char because int might match the return type of a gcc2 | ||
2935 | + builtin and then its argument prototype would still apply. */ | ||
2936 | +char $ac_func (); | ||
2937 | +/* The GNU C library defines this for functions which it implements | ||
2938 | + to always fail with ENOSYS. Some functions are actually named | ||
2939 | + something starting with __ and the normal name is an alias. */ | ||
2940 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
2941 | +choke me | ||
2942 | +#else | ||
2943 | +char (*f) () = $ac_func; | ||
2944 | +#endif | ||
2945 | +#ifdef __cplusplus | ||
2946 | +} | ||
2947 | +#endif | ||
2948 | + | ||
2949 | +int | ||
2950 | +main () | ||
2951 | +{ | ||
2952 | +return f != $ac_func; | ||
2953 | + ; | ||
2954 | + return 0; | ||
2955 | +} | ||
2956 | +_ACEOF | ||
2957 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
2958 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
2959 | + (eval $ac_link) 2>conftest.er1 | ||
2960 | + ac_status=$? | ||
2961 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
2962 | + rm -f conftest.er1 | ||
2963 | + cat conftest.err >&5 | ||
2964 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2965 | + (exit $ac_status); } && | ||
2966 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
2967 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2968 | + (eval $ac_try) 2>&5 | ||
2969 | + ac_status=$? | ||
2970 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2971 | + (exit $ac_status); }; } && | ||
2972 | + { ac_try='test -s conftest$ac_exeext' | ||
2973 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2974 | + (eval $ac_try) 2>&5 | ||
2975 | + ac_status=$? | ||
2976 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2977 | + (exit $ac_status); }; }; then | ||
2978 | + eval "$as_ac_var=yes" | ||
2979 | +else | ||
2980 | + echo "$as_me: failed program was:" >&5 | ||
2981 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
2982 | + | ||
2983 | +eval "$as_ac_var=no" | ||
2984 | +fi | ||
2985 | +rm -f conftest.err conftest.$ac_objext \ | ||
2986 | + conftest$ac_exeext conftest.$ac_ext | ||
2987 | +fi | ||
2988 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
2989 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
2990 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
2991 | + cat >>confdefs.h <<_ACEOF | ||
2992 | +@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
2993 | +_ACEOF | ||
2994 | + | ||
2995 | +fi | ||
2996 | +done | ||
2997 | + | ||
2998 | + | ||
2999 | +for ac_func in strerror | ||
3000 | +do | ||
3001 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
3002 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
3003 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
3004 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
3005 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3006 | +else | ||
3007 | + cat >conftest.$ac_ext <<_ACEOF | ||
3008 | +/* confdefs.h. */ | ||
3009 | +_ACEOF | ||
3010 | +cat confdefs.h >>conftest.$ac_ext | ||
3011 | +cat >>conftest.$ac_ext <<_ACEOF | ||
3012 | +/* end confdefs.h. */ | ||
3013 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
3014 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
3015 | +#define $ac_func innocuous_$ac_func | ||
3016 | + | ||
3017 | +/* System header to define __stub macros and hopefully few prototypes, | ||
3018 | + which can conflict with char $ac_func (); below. | ||
3019 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
3020 | + <limits.h> exists even on freestanding compilers. */ | ||
3021 | + | ||
3022 | +#ifdef __STDC__ | ||
3023 | +# include <limits.h> | ||
3024 | +#else | ||
3025 | +# include <assert.h> | ||
3026 | +#endif | ||
3027 | + | ||
3028 | +#undef $ac_func | ||
3029 | + | ||
3030 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
3031 | +#ifdef __cplusplus | ||
3032 | +extern "C" | ||
3033 | +{ | ||
3034 | +#endif | ||
3035 | +/* We use char because int might match the return type of a gcc2 | ||
3036 | + builtin and then its argument prototype would still apply. */ | ||
3037 | +char $ac_func (); | ||
3038 | +/* The GNU C library defines this for functions which it implements | ||
3039 | + to always fail with ENOSYS. Some functions are actually named | ||
3040 | + something starting with __ and the normal name is an alias. */ | ||
3041 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
3042 | +choke me | ||
3043 | +#else | ||
3044 | +char (*f) () = $ac_func; | ||
3045 | +#endif | ||
3046 | +#ifdef __cplusplus | ||
3047 | +} | ||
3048 | +#endif | ||
3049 | + | ||
3050 | +int | ||
3051 | +main () | ||
3052 | +{ | ||
3053 | +return f != $ac_func; | ||
3054 | + ; | ||
3055 | + return 0; | ||
3056 | +} | ||
3057 | +_ACEOF | ||
3058 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
3059 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3060 | + (eval $ac_link) 2>conftest.er1 | ||
3061 | + ac_status=$? | ||
3062 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
3063 | + rm -f conftest.er1 | ||
3064 | + cat conftest.err >&5 | ||
3065 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3066 | + (exit $ac_status); } && | ||
3067 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
3068 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3069 | + (eval $ac_try) 2>&5 | ||
3070 | + ac_status=$? | ||
3071 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3072 | + (exit $ac_status); }; } && | ||
3073 | + { ac_try='test -s conftest$ac_exeext' | ||
3074 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3075 | + (eval $ac_try) 2>&5 | ||
3076 | + ac_status=$? | ||
3077 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3078 | + (exit $ac_status); }; }; then | ||
3079 | + eval "$as_ac_var=yes" | ||
3080 | +else | ||
3081 | + echo "$as_me: failed program was:" >&5 | ||
3082 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
3083 | + | ||
3084 | +eval "$as_ac_var=no" | ||
3085 | +fi | ||
3086 | +rm -f conftest.err conftest.$ac_objext \ | ||
3087 | + conftest$ac_exeext conftest.$ac_ext | ||
3088 | +fi | ||
3089 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
3090 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
3091 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
3092 | + cat >>confdefs.h <<_ACEOF | ||
3093 | +@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
3094 | +_ACEOF | ||
3095 | + | ||
3096 | +fi | ||
3097 | +done | ||
3098 | + | ||
3099 | + | ||
3100 | +for ac_func in strrchr | ||
3101 | +do | ||
3102 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
3103 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
3104 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
3105 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
3106 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3107 | +else | ||
3108 | + cat >conftest.$ac_ext <<_ACEOF | ||
3109 | +/* confdefs.h. */ | ||
3110 | +_ACEOF | ||
3111 | +cat confdefs.h >>conftest.$ac_ext | ||
3112 | +cat >>conftest.$ac_ext <<_ACEOF | ||
3113 | +/* end confdefs.h. */ | ||
3114 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
3115 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
3116 | +#define $ac_func innocuous_$ac_func | ||
3117 | + | ||
3118 | +/* System header to define __stub macros and hopefully few prototypes, | ||
3119 | + which can conflict with char $ac_func (); below. | ||
3120 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
3121 | + <limits.h> exists even on freestanding compilers. */ | ||
3122 | + | ||
3123 | +#ifdef __STDC__ | ||
3124 | +# include <limits.h> | ||
3125 | +#else | ||
3126 | +# include <assert.h> | ||
3127 | +#endif | ||
3128 | + | ||
3129 | +#undef $ac_func | ||
3130 | + | ||
3131 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
3132 | +#ifdef __cplusplus | ||
3133 | +extern "C" | ||
3134 | +{ | ||
3135 | +#endif | ||
3136 | +/* We use char because int might match the return type of a gcc2 | ||
3137 | + builtin and then its argument prototype would still apply. */ | ||
3138 | +char $ac_func (); | ||
3139 | +/* The GNU C library defines this for functions which it implements | ||
3140 | + to always fail with ENOSYS. Some functions are actually named | ||
3141 | + something starting with __ and the normal name is an alias. */ | ||
3142 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
3143 | +choke me | ||
3144 | +#else | ||
3145 | +char (*f) () = $ac_func; | ||
3146 | +#endif | ||
3147 | +#ifdef __cplusplus | ||
3148 | +} | ||
3149 | +#endif | ||
3150 | + | ||
3151 | +int | ||
3152 | +main () | ||
3153 | +{ | ||
3154 | +return f != $ac_func; | ||
3155 | + ; | ||
3156 | + return 0; | ||
3157 | +} | ||
3158 | +_ACEOF | ||
3159 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
3160 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3161 | + (eval $ac_link) 2>conftest.er1 | ||
3162 | + ac_status=$? | ||
3163 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
3164 | + rm -f conftest.er1 | ||
3165 | + cat conftest.err >&5 | ||
3166 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3167 | + (exit $ac_status); } && | ||
3168 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
3169 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3170 | + (eval $ac_try) 2>&5 | ||
3171 | + ac_status=$? | ||
3172 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3173 | + (exit $ac_status); }; } && | ||
3174 | + { ac_try='test -s conftest$ac_exeext' | ||
3175 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3176 | + (eval $ac_try) 2>&5 | ||
3177 | + ac_status=$? | ||
3178 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3179 | + (exit $ac_status); }; }; then | ||
3180 | + eval "$as_ac_var=yes" | ||
3181 | +else | ||
3182 | + echo "$as_me: failed program was:" >&5 | ||
3183 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
3184 | + | ||
3185 | +eval "$as_ac_var=no" | ||
3186 | +fi | ||
3187 | +rm -f conftest.err conftest.$ac_objext \ | ||
3188 | + conftest$ac_exeext conftest.$ac_ext | ||
3189 | +fi | ||
3190 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
3191 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
3192 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
3193 | + cat >>confdefs.h <<_ACEOF | ||
3194 | +@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
3195 | +_ACEOF | ||
3196 | + | ||
3197 | +fi | ||
3198 | +done | ||
3199 | + | ||
3200 | +echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | ||
3201 | +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | ||
3202 | +if test "${ac_cv_c_const+set}" = set; then | ||
3203 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3204 | +else | ||
3205 | + cat >conftest.$ac_ext <<_ACEOF | ||
3206 | +/* confdefs.h. */ | ||
3207 | +_ACEOF | ||
3208 | +cat confdefs.h >>conftest.$ac_ext | ||
3209 | +cat >>conftest.$ac_ext <<_ACEOF | ||
3210 | +/* end confdefs.h. */ | ||
3211 | + | ||
3212 | +int | ||
3213 | +main () | ||
3214 | +{ | ||
3215 | +/* FIXME: Include the comments suggested by Paul. */ | ||
3216 | +#ifndef __cplusplus | ||
3217 | + /* Ultrix mips cc rejects this. */ | ||
3218 | + typedef int charset[2]; | ||
3219 | + const charset x; | ||
3220 | + /* SunOS 4.1.1 cc rejects this. */ | ||
3221 | + char const *const *ccp; | ||
3222 | + char **p; | ||
3223 | + /* NEC SVR4.0.2 mips cc rejects this. */ | ||
3224 | + struct point {int x, y;}; | ||
3225 | + static struct point const zero = {0,0}; | ||
3226 | + /* AIX XL C 1.02.0.0 rejects this. | ||
3227 | + It does not let you subtract one const X* pointer from another in | ||
3228 | + an arm of an if-expression whose if-part is not a constant | ||
3229 | + expression */ | ||
3230 | + const char *g = "string"; | ||
3231 | + ccp = &g + (g ? g-g : 0); | ||
3232 | + /* HPUX 7.0 cc rejects these. */ | ||
3233 | + ++ccp; | ||
3234 | + p = (char**) ccp; | ||
3235 | + ccp = (char const *const *) p; | ||
3236 | + { /* SCO 3.2v4 cc rejects this. */ | ||
3237 | + char *t; | ||
3238 | + char const *s = 0 ? (char *) 0 : (char const *) 0; | ||
3239 | + | ||
3240 | + *t++ = 0; | ||
3241 | + } | ||
3242 | + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | ||
3243 | + int x[] = {25, 17}; | ||
3244 | + const int *foo = &x[0]; | ||
3245 | + ++foo; | ||
3246 | + } | ||
3247 | + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | ||
3248 | + typedef const int *iptr; | ||
3249 | + iptr p = 0; | ||
3250 | + ++p; | ||
3251 | + } | ||
3252 | + { /* AIX XL C 1.02.0.0 rejects this saying | ||
3253 | + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | ||
3254 | + struct s { int j; const int *ap[3]; }; | ||
3255 | + struct s *b; b->j = 5; | ||
3256 | + } | ||
3257 | + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | ||
3258 | + const int foo = 10; | ||
3259 | + } | ||
3260 | +#endif | ||
3261 | + | ||
3262 | + ; | ||
3263 | + return 0; | ||
3264 | +} | ||
3265 | +_ACEOF | ||
3266 | +rm -f conftest.$ac_objext | ||
3267 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3268 | + (eval $ac_compile) 2>conftest.er1 | ||
3269 | + ac_status=$? | ||
3270 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
3271 | + rm -f conftest.er1 | ||
3272 | + cat conftest.err >&5 | ||
3273 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3274 | + (exit $ac_status); } && | ||
3275 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
3276 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3277 | + (eval $ac_try) 2>&5 | ||
3278 | + ac_status=$? | ||
3279 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3280 | + (exit $ac_status); }; } && | ||
3281 | + { ac_try='test -s conftest.$ac_objext' | ||
3282 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3283 | + (eval $ac_try) 2>&5 | ||
3284 | + ac_status=$? | ||
3285 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3286 | + (exit $ac_status); }; }; then | ||
3287 | + ac_cv_c_const=yes | ||
3288 | +else | ||
3289 | + echo "$as_me: failed program was:" >&5 | ||
3290 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
3291 | + | ||
3292 | +ac_cv_c_const=no | ||
3293 | +fi | ||
3294 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3295 | +fi | ||
3296 | +echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | ||
3297 | +echo "${ECHO_T}$ac_cv_c_const" >&6 | ||
3298 | +if test $ac_cv_c_const = no; then | ||
3299 | + | ||
3300 | +cat >>confdefs.h <<\_ACEOF | ||
3301 | +@%:@define const | ||
3302 | +_ACEOF | ||
3303 | + | ||
3304 | +fi | ||
3305 | + | ||
3306 | +# On IRIX 5.3, sys/types and inttypes.h are conflicting. | ||
3307 | + | ||
3308 | + | ||
3309 | + | ||
3310 | + | ||
3311 | + | ||
3312 | + | ||
3313 | + | ||
3314 | + | ||
3315 | + | ||
3316 | +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
3317 | + inttypes.h stdint.h unistd.h | ||
3318 | +do | ||
3319 | +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
3320 | +echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
3321 | +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
3322 | +if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
3323 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3324 | +else | ||
3325 | + cat >conftest.$ac_ext <<_ACEOF | ||
3326 | +/* confdefs.h. */ | ||
3327 | +_ACEOF | ||
3328 | +cat confdefs.h >>conftest.$ac_ext | ||
3329 | +cat >>conftest.$ac_ext <<_ACEOF | ||
3330 | +/* end confdefs.h. */ | ||
3331 | +$ac_includes_default | ||
3332 | + | ||
3333 | +@%:@include <$ac_header> | ||
3334 | +_ACEOF | ||
3335 | +rm -f conftest.$ac_objext | ||
3336 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3337 | + (eval $ac_compile) 2>conftest.er1 | ||
3338 | + ac_status=$? | ||
3339 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
3340 | + rm -f conftest.er1 | ||
3341 | + cat conftest.err >&5 | ||
3342 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3343 | + (exit $ac_status); } && | ||
3344 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
3345 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3346 | + (eval $ac_try) 2>&5 | ||
3347 | + ac_status=$? | ||
3348 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3349 | + (exit $ac_status); }; } && | ||
3350 | + { ac_try='test -s conftest.$ac_objext' | ||
3351 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3352 | + (eval $ac_try) 2>&5 | ||
3353 | + ac_status=$? | ||
3354 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3355 | + (exit $ac_status); }; }; then | ||
3356 | + eval "$as_ac_Header=yes" | ||
3357 | +else | ||
3358 | + echo "$as_me: failed program was:" >&5 | ||
3359 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
3360 | + | ||
3361 | +eval "$as_ac_Header=no" | ||
3362 | +fi | ||
3363 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3364 | +fi | ||
3365 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
3366 | +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
3367 | +if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
3368 | + cat >>confdefs.h <<_ACEOF | ||
3369 | +@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
3370 | +_ACEOF | ||
3371 | + | ||
3372 | +fi | ||
3373 | + | ||
3374 | +done | ||
3375 | + | ||
3376 | + | ||
3377 | +echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5 | ||
3378 | +echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6 | ||
3379 | +if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then | ||
3380 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3381 | +else | ||
3382 | + rm -f conftest.sym conftest.file | ||
3383 | +echo >conftest.file | ||
3384 | +if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then | ||
3385 | + if test "$cross_compiling" = yes; then | ||
3386 | + ac_cv_func_lstat_dereferences_slashed_symlink=no | ||
3387 | +else | ||
3388 | + cat >conftest.$ac_ext <<_ACEOF | ||
3389 | +/* confdefs.h. */ | ||
3390 | +_ACEOF | ||
3391 | +cat confdefs.h >>conftest.$ac_ext | ||
3392 | +cat >>conftest.$ac_ext <<_ACEOF | ||
3393 | +/* end confdefs.h. */ | ||
3394 | +$ac_includes_default | ||
3395 | +int | ||
3396 | +main () | ||
3397 | +{ | ||
3398 | +struct stat sbuf; | ||
3399 | + /* Linux will dereference the symlink and fail. | ||
3400 | + That is better in the sense that it means we will not | ||
3401 | + have to compile and use the lstat wrapper. */ | ||
3402 | + exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1); | ||
3403 | + ; | ||
3404 | + return 0; | ||
3405 | +} | ||
3406 | +_ACEOF | ||
3407 | +rm -f conftest$ac_exeext | ||
3408 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3409 | + (eval $ac_link) 2>&5 | ||
3410 | + ac_status=$? | ||
3411 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3412 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
3413 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3414 | + (eval $ac_try) 2>&5 | ||
3415 | + ac_status=$? | ||
3416 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3417 | + (exit $ac_status); }; }; then | ||
3418 | + ac_cv_func_lstat_dereferences_slashed_symlink=yes | ||
3419 | +else | ||
3420 | + echo "$as_me: program exited with status $ac_status" >&5 | ||
3421 | +echo "$as_me: failed program was:" >&5 | ||
3422 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
3423 | + | ||
3424 | +( exit $ac_status ) | ||
3425 | +ac_cv_func_lstat_dereferences_slashed_symlink=no | ||
3426 | +fi | ||
3427 | +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
3428 | +fi | ||
3429 | +else | ||
3430 | + # If the `ln -s' command failed, then we probably don't even | ||
3431 | + # have an lstat function. | ||
3432 | + ac_cv_func_lstat_dereferences_slashed_symlink=no | ||
3433 | +fi | ||
3434 | +rm -f conftest.sym conftest.file | ||
3435 | + | ||
3436 | +fi | ||
3437 | +echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 | ||
3438 | +echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6 | ||
3439 | + | ||
3440 | +test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && | ||
3441 | + | ||
3442 | +cat >>confdefs.h <<_ACEOF | ||
3443 | +@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 | ||
3444 | +_ACEOF | ||
3445 | + | ||
3446 | + | ||
3447 | +if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then | ||
3448 | + case $LIB@&t@OBJS in | ||
3449 | + "lstat.$ac_objext" | \ | ||
3450 | + *" lstat.$ac_objext" | \ | ||
3451 | + "lstat.$ac_objext "* | \ | ||
3452 | + *" lstat.$ac_objext "* ) ;; | ||
3453 | + *) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext" ;; | ||
3454 | +esac | ||
3455 | + | ||
3456 | +fi | ||
3457 | + | ||
3458 | +echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5 | ||
3459 | +echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6 | ||
3460 | +if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then | ||
3461 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3462 | +else | ||
3463 | + if test "$cross_compiling" = yes; then | ||
3464 | + ac_cv_func_stat_empty_string_bug=yes | ||
3465 | +else | ||
3466 | + cat >conftest.$ac_ext <<_ACEOF | ||
3467 | +/* confdefs.h. */ | ||
3468 | +_ACEOF | ||
3469 | +cat confdefs.h >>conftest.$ac_ext | ||
3470 | +cat >>conftest.$ac_ext <<_ACEOF | ||
3471 | +/* end confdefs.h. */ | ||
3472 | +$ac_includes_default | ||
3473 | +int | ||
3474 | +main () | ||
3475 | +{ | ||
3476 | +struct stat sbuf; | ||
3477 | + exit (stat ("", &sbuf) ? 1 : 0); | ||
3478 | + ; | ||
3479 | + return 0; | ||
3480 | +} | ||
3481 | +_ACEOF | ||
3482 | +rm -f conftest$ac_exeext | ||
3483 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3484 | + (eval $ac_link) 2>&5 | ||
3485 | + ac_status=$? | ||
3486 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3487 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
3488 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3489 | + (eval $ac_try) 2>&5 | ||
3490 | + ac_status=$? | ||
3491 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3492 | + (exit $ac_status); }; }; then | ||
3493 | + ac_cv_func_stat_empty_string_bug=yes | ||
3494 | +else | ||
3495 | + echo "$as_me: program exited with status $ac_status" >&5 | ||
3496 | +echo "$as_me: failed program was:" >&5 | ||
3497 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
3498 | + | ||
3499 | +( exit $ac_status ) | ||
3500 | +ac_cv_func_stat_empty_string_bug=no | ||
3501 | +fi | ||
3502 | +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
3503 | +fi | ||
3504 | +fi | ||
3505 | +echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5 | ||
3506 | +echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6 | ||
3507 | +if test $ac_cv_func_stat_empty_string_bug = yes; then | ||
3508 | + case $LIB@&t@OBJS in | ||
3509 | + "stat.$ac_objext" | \ | ||
3510 | + *" stat.$ac_objext" | \ | ||
3511 | + "stat.$ac_objext "* | \ | ||
3512 | + *" stat.$ac_objext "* ) ;; | ||
3513 | + *) LIB@&t@OBJS="$LIB@&t@OBJS stat.$ac_objext" ;; | ||
3514 | +esac | ||
3515 | + | ||
3516 | + | ||
3517 | +cat >>confdefs.h <<_ACEOF | ||
3518 | +@%:@define HAVE_STAT_EMPTY_STRING_BUG 1 | ||
3519 | +_ACEOF | ||
3520 | + | ||
3521 | +fi | ||
3522 | + | ||
3523 | + | ||
3524 | +# Find a good install program. We prefer a C program (faster), | ||
3525 | +# so one script is as good as another. But avoid the broken or | ||
3526 | +# incompatible versions: | ||
3527 | +# SysV /etc/install, /usr/sbin/install | ||
3528 | +# SunOS /usr/etc/install | ||
3529 | +# IRIX /sbin/install | ||
3530 | +# AIX /bin/install | ||
3531 | +# AmigaOS /C/install, which installs bootblocks on floppy discs | ||
3532 | +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | ||
3533 | +# AFS /usr/afsws/bin/install, which mishandles nonexistent args | ||
3534 | +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||
3535 | +# OS/2's system install, which has a completely different semantic | ||
3536 | +# ./install, which can be erroneously created by make from ./install.sh. | ||
3537 | +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | ||
3538 | +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | ||
3539 | +if test -z "$INSTALL"; then | ||
3540 | +if test "${ac_cv_path_install+set}" = set; then | ||
3541 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3542 | +else | ||
3543 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3544 | +for as_dir in $PATH | ||
3545 | +do | ||
3546 | + IFS=$as_save_IFS | ||
3547 | + test -z "$as_dir" && as_dir=. | ||
3548 | + # Account for people who put trailing slashes in PATH elements. | ||
3549 | +case $as_dir/ in | ||
3550 | + ./ | .// | /cC/* | \ | ||
3551 | + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | ||
3552 | + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | ||
3553 | + /usr/ucb/* ) ;; | ||
3554 | + *) | ||
3555 | + # OSF1 and SCO ODT 3.0 have their own names for install. | ||
3556 | + # Don't use installbsd from OSF since it installs stuff as root | ||
3557 | + # by default. | ||
3558 | + for ac_prog in ginstall scoinst install; do | ||
3559 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
3560 | + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | ||
3561 | + if test $ac_prog = install && | ||
3562 | + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
3563 | + # AIX install. It has an incompatible calling convention. | ||
3564 | + : | ||
3565 | + elif test $ac_prog = install && | ||
3566 | + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
3567 | + # program-specific install script used by HP pwplus--don't use. | ||
3568 | + : | ||
3569 | + else | ||
3570 | + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ||
3571 | + break 3 | ||
3572 | + fi | ||
3573 | + fi | ||
3574 | + done | ||
3575 | + done | ||
3576 | + ;; | ||
3577 | +esac | ||
3578 | +done | ||
3579 | + | ||
3580 | + | ||
3581 | +fi | ||
3582 | + if test "${ac_cv_path_install+set}" = set; then | ||
3583 | + INSTALL=$ac_cv_path_install | ||
3584 | + else | ||
3585 | + # As a last resort, use the slow shell script. We don't cache a | ||
3586 | + # path for INSTALL within a source directory, because that will | ||
3587 | + # break other packages using the cache if that directory is | ||
3588 | + # removed, or if the path is relative. | ||
3589 | + INSTALL=$ac_install_sh | ||
3590 | + fi | ||
3591 | +fi | ||
3592 | +echo "$as_me:$LINENO: result: $INSTALL" >&5 | ||
3593 | +echo "${ECHO_T}$INSTALL" >&6 | ||
3594 | + | ||
3595 | +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. | ||
3596 | +# It thinks the first close brace ends the variable substitution. | ||
3597 | +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
3598 | + | ||
3599 | +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | ||
3600 | + | ||
3601 | +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||
3602 | + | ||
3603 | + | ||
3604 | +echo "$as_me:$LINENO: checking whether @%:@! works in shell scripts" >&5 | ||
3605 | +echo $ECHO_N "checking whether @%:@! works in shell scripts... $ECHO_C" >&6 | ||
3606 | +if test "${ac_cv_sys_interpreter+set}" = set; then | ||
3607 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3608 | +else | ||
3609 | + echo '#! /bin/cat | ||
3610 | +exit 69 | ||
3611 | +' >conftest | ||
3612 | +chmod u+x conftest | ||
3613 | +(SHELL=/bin/sh; export SHELL; ./conftest >/dev/null) | ||
3614 | +if test $? -ne 69; then | ||
3615 | + ac_cv_sys_interpreter=yes | ||
3616 | +else | ||
3617 | + ac_cv_sys_interpreter=no | ||
3618 | +fi | ||
3619 | +rm -f conftest | ||
3620 | +fi | ||
3621 | +echo "$as_me:$LINENO: result: $ac_cv_sys_interpreter" >&5 | ||
3622 | +echo "${ECHO_T}$ac_cv_sys_interpreter" >&6 | ||
3623 | +interpval=$ac_cv_sys_interpreter | ||
3624 | + | ||
3625 | +if test "$interpval" != yes ; then | ||
3626 | + { echo "$as_me:$LINENO: WARNING: no | ||
3627 | + | ||
3628 | +bash/perl scripts may not be invoked correctly due to problems with your | ||
3629 | +systems implementation of #! being either broken or non-existant. | ||
3630 | +" >&5 | ||
3631 | +echo "$as_me: WARNING: no | ||
3632 | + | ||
3633 | +bash/perl scripts may not be invoked correctly due to problems with your | ||
3634 | +systems implementation of #! being either broken or non-existant. | ||
3635 | +" >&2;} | ||
3636 | +fi | ||
3637 | + | ||
3638 | +unset BASH # bash sets this itself! | ||
3639 | + | ||
3640 | +# Check whether --with-bash or --without-bash was given. | ||
3641 | +if test "${with_bash+set}" = set; then | ||
3642 | + withval="$with_bash" | ||
3643 | + | ||
3644 | + BASH="$withval" | ||
3645 | + | ||
3646 | + { echo "$as_me:$LINENO: Using bash executable $BASH" >&5 | ||
3647 | +echo "$as_me: Using bash executable $BASH" >&6;} | ||
3648 | + | ||
3649 | +else | ||
3650 | + | ||
3651 | + # Extract the first word of "bash", so it can be a program name with args. | ||
3652 | +set dummy bash; ac_word=$2 | ||
3653 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3654 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
3655 | +if test "${ac_cv_path_BASH+set}" = set; then | ||
3656 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3657 | +else | ||
3658 | + case $BASH in | ||
3659 | + [\\/]* | ?:[\\/]*) | ||
3660 | + ac_cv_path_BASH="$BASH" # Let the user override the test with a path. | ||
3661 | + ;; | ||
3662 | + *) | ||
3663 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3664 | +for as_dir in $PATH | ||
3665 | +do | ||
3666 | + IFS=$as_save_IFS | ||
3667 | + test -z "$as_dir" && as_dir=. | ||
3668 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
3669 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
3670 | + ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext" | ||
3671 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3672 | + break 2 | ||
3673 | + fi | ||
3674 | +done | ||
3675 | +done | ||
3676 | + | ||
3677 | + ;; | ||
3678 | +esac | ||
3679 | +fi | ||
3680 | +BASH=$ac_cv_path_BASH | ||
3681 | + | ||
3682 | +if test -n "$BASH"; then | ||
3683 | + echo "$as_me:$LINENO: result: $BASH" >&5 | ||
3684 | +echo "${ECHO_T}$BASH" >&6 | ||
3685 | +else | ||
3686 | + echo "$as_me:$LINENO: result: no" >&5 | ||
3687 | +echo "${ECHO_T}no" >&6 | ||
3688 | +fi | ||
3689 | + | ||
3690 | + | ||
3691 | +fi; | ||
3692 | +if test -z "$BASH" ; then | ||
3693 | + { { echo "$as_me:$LINENO: error: Please specify the location of bash with the option '--with-bash'" >&5 | ||
3694 | +echo "$as_me: error: Please specify the location of bash with the option '--with-bash'" >&2;} | ||
3695 | + { (exit 1); exit 1; }; } | ||
3696 | +fi | ||
3697 | + | ||
3698 | +# It would be nice not to have to use backticks, but too many retarded sh | ||
3699 | +# implementations still don't support $( ) | ||
3700 | +# BEWARE: There is a distinct possibility that we are currently running under | ||
3701 | +# bash in this configure script (/bin/sh being a symlink to /bin/bash). Even | ||
3702 | +# though the result /could/ be available to us directly as $BASH_VERSION we | ||
3703 | +# don't want to use, or trust it, incase the user is specifying a different | ||
3704 | +# bash executable. | ||
3705 | +if `$BASH -c '[ "$BASH_VERSION" \< "2.04" ]'` ; then | ||
3706 | + { { echo "$as_me:$LINENO: error: | ||
3707 | +$PACKAGE_NAME requires at least version 2.04 of bash, you can download a current | ||
3708 | +version of bash from ftp.gnu.org | ||
3709 | +" >&5 | ||
3710 | +echo "$as_me: error: | ||
3711 | +$PACKAGE_NAME requires at least version 2.04 of bash, you can download a current | ||
3712 | +version of bash from ftp.gnu.org | ||
3713 | +" >&2;} | ||
3714 | + { (exit 1); exit 1; }; } | ||
3715 | +fi | ||
3716 | + | ||
3717 | + | ||
3718 | +# Check whether --with-perl or --without-perl was given. | ||
3719 | +if test "${with_perl+set}" = set; then | ||
3720 | + withval="$with_perl" | ||
3721 | + | ||
3722 | + PERL="$withval" | ||
3723 | + | ||
3724 | + { echo "$as_me:$LINENO: Using Perl executable $PERL" >&5 | ||
3725 | +echo "$as_me: Using Perl executable $PERL" >&6;} | ||
3726 | + | ||
3727 | +else | ||
3728 | + | ||
3729 | + for ac_prog in perl perl5 | ||
3730 | +do | ||
3731 | + # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
3732 | +set dummy $ac_prog; ac_word=$2 | ||
3733 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3734 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
3735 | +if test "${ac_cv_path_PERL+set}" = set; then | ||
3736 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3737 | +else | ||
3738 | + case $PERL in | ||
3739 | + [\\/]* | ?:[\\/]*) | ||
3740 | + ac_cv_path_PERL="$PERL" # Let the user override the test with a path. | ||
3741 | + ;; | ||
3742 | + *) | ||
3743 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3744 | +for as_dir in $PATH | ||
3745 | +do | ||
3746 | + IFS=$as_save_IFS | ||
3747 | + test -z "$as_dir" && as_dir=. | ||
3748 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
3749 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
3750 | + ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" | ||
3751 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3752 | + break 2 | ||
3753 | + fi | ||
3754 | +done | ||
3755 | +done | ||
3756 | + | ||
3757 | + ;; | ||
3758 | +esac | ||
3759 | +fi | ||
3760 | +PERL=$ac_cv_path_PERL | ||
3761 | + | ||
3762 | +if test -n "$PERL"; then | ||
3763 | + echo "$as_me:$LINENO: result: $PERL" >&5 | ||
3764 | +echo "${ECHO_T}$PERL" >&6 | ||
3765 | +else | ||
3766 | + echo "$as_me:$LINENO: result: no" >&5 | ||
3767 | +echo "${ECHO_T}no" >&6 | ||
3768 | +fi | ||
3769 | + | ||
3770 | + test -n "$PERL" && break | ||
3771 | +done | ||
3772 | + | ||
3773 | + | ||
3774 | +fi; | ||
3775 | +if test -z "$PERL" ; then | ||
3776 | + { { echo "$as_me:$LINENO: error: Please specify the location of Perl with the option '--with-perl'" >&5 | ||
3777 | +echo "$as_me: error: Please specify the location of Perl with the option '--with-perl'" >&2;} | ||
3778 | + { (exit 1); exit 1; }; } | ||
3779 | +fi | ||
3780 | + | ||
3781 | + | ||
3782 | +# Check whether --with-sed or --without-sed was given. | ||
3783 | +if test "${with_sed+set}" = set; then | ||
3784 | + withval="$with_sed" | ||
3785 | + | ||
3786 | + SED="$withval" | ||
3787 | + | ||
3788 | + { echo "$as_me:$LINENO: Using sed executable $SED" >&5 | ||
3789 | +echo "$as_me: Using sed executable $SED" >&6;} | ||
3790 | + | ||
3791 | +else | ||
3792 | + | ||
3793 | + SED="sed" | ||
3794 | + | ||
3795 | + | ||
3796 | +fi; | ||
3797 | + | ||
3798 | + | ||
3799 | +# Check whether --with-awk or --without-awk was given. | ||
3800 | +if test "${with_awk+set}" = set; then | ||
3801 | + withval="$with_awk" | ||
3802 | + | ||
3803 | + AWK="$withval" | ||
3804 | + | ||
3805 | + { echo "$as_me:$LINENO: Using awk executable $AWK" >&5 | ||
3806 | +echo "$as_me: Using awk executable $AWK" >&6;} | ||
3807 | + | ||
3808 | +else | ||
3809 | + | ||
3810 | + for ac_prog in gawk awk | ||
3811 | +do | ||
3812 | + # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
3813 | +set dummy $ac_prog; ac_word=$2 | ||
3814 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3815 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
3816 | +if test "${ac_cv_path_AWK+set}" = set; then | ||
3817 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3818 | +else | ||
3819 | + case $AWK in | ||
3820 | + [\\/]* | ?:[\\/]*) | ||
3821 | + ac_cv_path_AWK="$AWK" # Let the user override the test with a path. | ||
3822 | + ;; | ||
3823 | + *) | ||
3824 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3825 | +for as_dir in $PATH | ||
3826 | +do | ||
3827 | + IFS=$as_save_IFS | ||
3828 | + test -z "$as_dir" && as_dir=. | ||
3829 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
3830 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
3831 | + ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext" | ||
3832 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3833 | + break 2 | ||
3834 | + fi | ||
3835 | +done | ||
3836 | +done | ||
3837 | + | ||
3838 | + ;; | ||
3839 | +esac | ||
3840 | +fi | ||
3841 | +AWK=$ac_cv_path_AWK | ||
3842 | + | ||
3843 | +if test -n "$AWK"; then | ||
3844 | + echo "$as_me:$LINENO: result: $AWK" >&5 | ||
3845 | +echo "${ECHO_T}$AWK" >&6 | ||
3846 | +else | ||
3847 | + echo "$as_me:$LINENO: result: no" >&5 | ||
3848 | +echo "${ECHO_T}no" >&6 | ||
3849 | +fi | ||
3850 | + | ||
3851 | + test -n "$AWK" && break | ||
3852 | +done | ||
3853 | + | ||
3854 | + | ||
3855 | +fi; | ||
3856 | + | ||
3857 | + | ||
3858 | +if test -z "$PERL" ; then | ||
3859 | + { { echo "$as_me:$LINENO: error: Please specify the location of Perl with the option '--with-perl'" >&5 | ||
3860 | +echo "$as_me: error: Please specify the location of Perl with the option '--with-perl'" >&2;} | ||
3861 | + { (exit 1); exit 1; }; } | ||
3862 | +fi | ||
3863 | + | ||
3864 | + | ||
3865 | +# Check whether --with-mktemp or --without-mktemp was given. | ||
3866 | +if test "${with_mktemp+set}" = set; then | ||
3867 | + withval="$with_mktemp" | ||
3868 | + | ||
3869 | + MKTEMP="$withval" | ||
3870 | + | ||
3871 | + { echo "$as_me:$LINENO: Using mktemp executable $MKTEMP" >&5 | ||
3872 | +echo "$as_me: Using mktemp executable $MKTEMP" >&6;} | ||
3873 | + | ||
3874 | +else | ||
3875 | + | ||
3876 | + # Extract the first word of "mktemp", so it can be a program name with args. | ||
3877 | +set dummy mktemp; ac_word=$2 | ||
3878 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3879 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
3880 | +if test "${ac_cv_path_MKTEMP+set}" = set; then | ||
3881 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3882 | +else | ||
3883 | + case $MKTEMP in | ||
3884 | + [\\/]* | ?:[\\/]*) | ||
3885 | + ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path. | ||
3886 | + ;; | ||
3887 | + *) | ||
3888 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3889 | +for as_dir in $PATH | ||
3890 | +do | ||
3891 | + IFS=$as_save_IFS | ||
3892 | + test -z "$as_dir" && as_dir=. | ||
3893 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
3894 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
3895 | + ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext" | ||
3896 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3897 | + break 2 | ||
3898 | + fi | ||
3899 | +done | ||
3900 | +done | ||
3901 | + | ||
3902 | + ;; | ||
3903 | +esac | ||
3904 | +fi | ||
3905 | +MKTEMP=$ac_cv_path_MKTEMP | ||
3906 | + | ||
3907 | +if test -n "$MKTEMP"; then | ||
3908 | + echo "$as_me:$LINENO: result: $MKTEMP" >&5 | ||
3909 | +echo "${ECHO_T}$MKTEMP" >&6 | ||
3910 | +else | ||
3911 | + echo "$as_me:$LINENO: result: no" >&5 | ||
3912 | +echo "${ECHO_T}no" >&6 | ||
3913 | +fi | ||
3914 | + | ||
3915 | + | ||
3916 | +fi; | ||
3917 | +if test -z "$MKTEMP" -o "$MKTEMP" = "none" ; then | ||
3918 | + MKTEMP=internal_mktemp | ||
3919 | +else | ||
3920 | + echo "$as_me:$LINENO: checking whether $MKTEMP -d works" >&5 | ||
3921 | +echo $ECHO_N "checking whether $MKTEMP -d works... $ECHO_C" >&6 | ||
3922 | + if tempdir=`$MKTEMP -d /tmp/$PACKAGE_NAME.XXXXXX 2>/dev/null` && \ | ||
3923 | + rmdir "$tempdir" ; then | ||
3924 | + echo "$as_me:$LINENO: result: yes" >&5 | ||
3925 | +echo "${ECHO_T}yes" >&6 | ||
3926 | + else | ||
3927 | + echo "$as_me:$LINENO: result: no" >&5 | ||
3928 | +echo "${ECHO_T}no" >&6 | ||
3929 | + { { echo "$as_me:$LINENO: error: | ||
3930 | +'$MKTEMP -d' does not create temporary directories. | ||
3931 | +If you don't have a version of mktemp that can create directories, you | ||
3932 | +can specify '--with-mktemp=none' and $PACKAGE_NAME will use its own | ||
3933 | +internal tempfile generation mechanism. | ||
3934 | +" >&5 | ||
3935 | +echo "$as_me: error: | ||
3936 | +'$MKTEMP -d' does not create temporary directories. | ||
3937 | +If you don't have a version of mktemp that can create directories, you | ||
3938 | +can specify '--with-mktemp=none' and $PACKAGE_NAME will use its own | ||
3939 | +internal tempfile generation mechanism. | ||
3940 | +" >&2;} | ||
3941 | + { (exit 1); exit 1; }; } | ||
3942 | + fi | ||
3943 | +fi | ||
3944 | + | ||
3945 | + | ||
3946 | +# Check whether --with-diff or --without-diff was given. | ||
3947 | +if test "${with_diff+set}" = set; then | ||
3948 | + withval="$with_diff" | ||
3949 | + | ||
3950 | + DIFF="$withval" | ||
3951 | + | ||
3952 | + { echo "$as_me:$LINENO: Using diff executable $DIFF" >&5 | ||
3953 | +echo "$as_me: Using diff executable $DIFF" >&6;} | ||
3954 | + | ||
3955 | +else | ||
3956 | + | ||
3957 | + # Extract the first word of "diff", so it can be a program name with args. | ||
3958 | +set dummy diff; ac_word=$2 | ||
3959 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3960 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
3961 | +if test "${ac_cv_path_DIFF+set}" = set; then | ||
3962 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3963 | +else | ||
3964 | + case $DIFF in | ||
3965 | + [\\/]* | ?:[\\/]*) | ||
3966 | + ac_cv_path_DIFF="$DIFF" # Let the user override the test with a path. | ||
3967 | + ;; | ||
3968 | + *) | ||
3969 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3970 | +for as_dir in $PATH | ||
3971 | +do | ||
3972 | + IFS=$as_save_IFS | ||
3973 | + test -z "$as_dir" && as_dir=. | ||
3974 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
3975 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
3976 | + ac_cv_path_DIFF="$as_dir/$ac_word$ac_exec_ext" | ||
3977 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3978 | + break 2 | ||
3979 | + fi | ||
3980 | +done | ||
3981 | +done | ||
3982 | + | ||
3983 | + ;; | ||
3984 | +esac | ||
3985 | +fi | ||
3986 | +DIFF=$ac_cv_path_DIFF | ||
3987 | + | ||
3988 | +if test -n "$DIFF"; then | ||
3989 | + echo "$as_me:$LINENO: result: $DIFF" >&5 | ||
3990 | +echo "${ECHO_T}$DIFF" >&6 | ||
3991 | +else | ||
3992 | + echo "$as_me:$LINENO: result: no" >&5 | ||
3993 | +echo "${ECHO_T}no" >&6 | ||
3994 | +fi | ||
3995 | + | ||
3996 | + | ||
3997 | +fi; | ||
3998 | +if test -z "$DIFF"; then | ||
3999 | + { { echo "$as_me:$LINENO: error: Please specify the location of diff with the option '--with-diff'" >&5 | ||
4000 | +echo "$as_me: error: Please specify the location of diff with the option '--with-diff'" >&2;} | ||
4001 | + { (exit 1); exit 1; }; } | ||
4002 | +fi | ||
4003 | + | ||
4004 | + | ||
4005 | +# Check whether --with-patch or --without-patch was given. | ||
4006 | +if test "${with_patch+set}" = set; then | ||
4007 | + withval="$with_patch" | ||
4008 | + | ||
4009 | + PATCH="$withval" | ||
4010 | + | ||
4011 | + { echo "$as_me:$LINENO: Using patch executable $PATCH" >&5 | ||
4012 | +echo "$as_me: Using patch executable $PATCH" >&6;} | ||
4013 | + | ||
4014 | +else | ||
4015 | + | ||
4016 | + # Extract the first word of "patch", so it can be a program name with args. | ||
4017 | +set dummy patch; ac_word=$2 | ||
4018 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
4019 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
4020 | +if test "${ac_cv_path_PATCH+set}" = set; then | ||
4021 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4022 | +else | ||
4023 | + case $PATCH in | ||
4024 | + [\\/]* | ?:[\\/]*) | ||
4025 | + ac_cv_path_PATCH="$PATCH" # Let the user override the test with a path. | ||
4026 | + ;; | ||
4027 | + *) | ||
4028 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4029 | +for as_dir in $PATH | ||
4030 | +do | ||
4031 | + IFS=$as_save_IFS | ||
4032 | + test -z "$as_dir" && as_dir=. | ||
4033 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
4034 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
4035 | + ac_cv_path_PATCH="$as_dir/$ac_word$ac_exec_ext" | ||
4036 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
4037 | + break 2 | ||
4038 | + fi | ||
4039 | +done | ||
4040 | +done | ||
4041 | + | ||
4042 | + ;; | ||
4043 | +esac | ||
4044 | +fi | ||
4045 | +PATCH=$ac_cv_path_PATCH | ||
4046 | + | ||
4047 | +if test -n "$PATCH"; then | ||
4048 | + echo "$as_me:$LINENO: result: $PATCH" >&5 | ||
4049 | +echo "${ECHO_T}$PATCH" >&6 | ||
4050 | +else | ||
4051 | + echo "$as_me:$LINENO: result: no" >&5 | ||
4052 | +echo "${ECHO_T}no" >&6 | ||
4053 | +fi | ||
4054 | + | ||
4055 | + | ||
4056 | +fi; | ||
4057 | +if test -z "$PATCH"; then | ||
4058 | + { { echo "$as_me:$LINENO: error: Please specify the location of patch with the option '--with-patch'" >&5 | ||
4059 | +echo "$as_me: error: Please specify the location of patch with the option '--with-patch'" >&2;} | ||
4060 | + { (exit 1); exit 1; }; } | ||
4061 | +fi | ||
4062 | + | ||
4063 | +# Sun's patch is a mess, issue a warning. But we are going to continue with | ||
4064 | +# the build because you might just be lucky. | ||
4065 | +echo "$as_me:$LINENO: checking whether $PATCH will work" >&5 | ||
4066 | +echo $ECHO_N "checking whether $PATCH will work... $ECHO_C" >&6 | ||
4067 | +if $PATCH -v 2>&1 | grep -q "Sun" >/dev/null 2>&1; then | ||
4068 | + echo "$as_me:$LINENO: result: no" >&5 | ||
4069 | +echo "${ECHO_T}no" >&6 | ||
4070 | + { echo "$as_me:$LINENO: WARNING: | ||
4071 | +Sorry, you have a Sun version of patch which is notoriously buggy. $PACKAGE_NAME | ||
4072 | +may function correctly, or minor errors may occur due to Sun's patch tool. | ||
4073 | +Please consider upgrading to GNU patch, if you already have GNU patch then you | ||
4074 | +can supply its path with the '--with-patch=' option. | ||
4075 | +" >&5 | ||
4076 | +echo "$as_me: WARNING: | ||
4077 | +Sorry, you have a Sun version of patch which is notoriously buggy. $PACKAGE_NAME | ||
4078 | +may function correctly, or minor errors may occur due to Sun's patch tool. | ||
4079 | +Please consider upgrading to GNU patch, if you already have GNU patch then you | ||
4080 | +can supply its path with the '--with-patch=' option. | ||
4081 | +" >&2;} | ||
4082 | +elif $PATCH --version 2>&1 | grep -q "patch 2.0" >/dev/null 2>&1; then | ||
4083 | + echo "$as_me:$LINENO: result: no" >&5 | ||
4084 | +echo "${ECHO_T}no" >&6 | ||
4085 | + { echo "$as_me:$LINENO: WARNING: | ||
4086 | +Sorry, the version of patch you are using can cause severe problems when a patch | ||
4087 | +creates a directory. $PACKAGE_NAME may well function correctly with this version | ||
4088 | +of patch or small problems could creep in. | ||
4089 | +Please consider upgrading your patch to a more recent version, if you already | ||
4090 | +have a more recent version of patch then you can supply its path with the | ||
4091 | +'--with-patch=' option. | ||
4092 | +" >&5 | ||
4093 | +echo "$as_me: WARNING: | ||
4094 | +Sorry, the version of patch you are using can cause severe problems when a patch | ||
4095 | +creates a directory. $PACKAGE_NAME may well function correctly with this version | ||
4096 | +of patch or small problems could creep in. | ||
4097 | +Please consider upgrading your patch to a more recent version, if you already | ||
4098 | +have a more recent version of patch then you can supply its path with the | ||
4099 | +'--with-patch=' option. | ||
4100 | +" >&2;} | ||
4101 | +else | ||
4102 | + echo "$as_me:$LINENO: result: yes" >&5 | ||
4103 | +echo "${ECHO_T}yes" >&6 | ||
4104 | +fi | ||
4105 | + | ||
4106 | + | ||
4107 | +# Check whether --with-diffstat or --without-diffstat was given. | ||
4108 | +if test "${with_diffstat+set}" = set; then | ||
4109 | + withval="$with_diffstat" | ||
4110 | + | ||
4111 | + DIFFSTAT="$withval" | ||
4112 | + | ||
4113 | + { echo "$as_me:$LINENO: Using diffstat executable $DIFFSTAT" >&5 | ||
4114 | +echo "$as_me: Using diffstat executable $DIFFSTAT" >&6;} | ||
4115 | + | ||
4116 | +else | ||
4117 | + | ||
4118 | + # Extract the first word of "diffstat", so it can be a program name with args. | ||
4119 | +set dummy diffstat; ac_word=$2 | ||
4120 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
4121 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
4122 | +if test "${ac_cv_path_DIFFSTAT+set}" = set; then | ||
4123 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4124 | +else | ||
4125 | + case $DIFFSTAT in | ||
4126 | + [\\/]* | ?:[\\/]*) | ||
4127 | + ac_cv_path_DIFFSTAT="$DIFFSTAT" # Let the user override the test with a path. | ||
4128 | + ;; | ||
4129 | + *) | ||
4130 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4131 | +for as_dir in $PATH | ||
4132 | +do | ||
4133 | + IFS=$as_save_IFS | ||
4134 | + test -z "$as_dir" && as_dir=. | ||
4135 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
4136 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
4137 | + ac_cv_path_DIFFSTAT="$as_dir/$ac_word$ac_exec_ext" | ||
4138 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
4139 | + break 2 | ||
4140 | + fi | ||
4141 | +done | ||
4142 | +done | ||
4143 | + | ||
4144 | + ;; | ||
4145 | +esac | ||
4146 | +fi | ||
4147 | +DIFFSTAT=$ac_cv_path_DIFFSTAT | ||
4148 | + | ||
4149 | +if test -n "$DIFFSTAT"; then | ||
4150 | + echo "$as_me:$LINENO: result: $DIFFSTAT" >&5 | ||
4151 | +echo "${ECHO_T}$DIFFSTAT" >&6 | ||
4152 | +else | ||
4153 | + echo "$as_me:$LINENO: result: no" >&5 | ||
4154 | +echo "${ECHO_T}no" >&6 | ||
4155 | +fi | ||
4156 | + | ||
4157 | + | ||
4158 | +fi; | ||
4159 | +if test -z "$DIFFSTAT"; then | ||
4160 | + { echo "$as_me:$LINENO: WARNING: | ||
4161 | +diffstat utility not found; the --diffstat option of the refresh command | ||
4162 | +will not work correctly until diffstat is installed. If you have diffstat | ||
4163 | +in a directory that is not in the search path you can specify its location | ||
4164 | +using the '--with-diffstat' option. | ||
4165 | +" >&5 | ||
4166 | +echo "$as_me: WARNING: | ||
4167 | +diffstat utility not found; the --diffstat option of the refresh command | ||
4168 | +will not work correctly until diffstat is installed. If you have diffstat | ||
4169 | +in a directory that is not in the search path you can specify its location | ||
4170 | +using the '--with-diffstat' option. | ||
4171 | +" >&2;} | ||
4172 | + DIFFSTAT="diffstat" | ||
4173 | +fi | ||
4174 | + | ||
4175 | +# Check whether --enable-nls or --disable-nls was given. | ||
4176 | +if test "${enable_nls+set}" = set; then | ||
4177 | + enableval="$enable_nls" | ||
4178 | + | ||
4179 | +fi; | ||
4180 | +if test "$enableval" != "no"; then | ||
4181 | + # Extract the first word of "msgfmt", so it can be a program name with args. | ||
4182 | +set dummy msgfmt; ac_word=$2 | ||
4183 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
4184 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
4185 | +if test "${ac_cv_path_MSGFMT+set}" = set; then | ||
4186 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4187 | +else | ||
4188 | + case $MSGFMT in | ||
4189 | + [\\/]* | ?:[\\/]*) | ||
4190 | + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. | ||
4191 | + ;; | ||
4192 | + *) | ||
4193 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4194 | +for as_dir in $PATH | ||
4195 | +do | ||
4196 | + IFS=$as_save_IFS | ||
4197 | + test -z "$as_dir" && as_dir=. | ||
4198 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
4199 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
4200 | + ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" | ||
4201 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
4202 | + break 2 | ||
4203 | + fi | ||
4204 | +done | ||
4205 | +done | ||
4206 | + | ||
4207 | + ;; | ||
4208 | +esac | ||
4209 | +fi | ||
4210 | +MSGFMT=$ac_cv_path_MSGFMT | ||
4211 | + | ||
4212 | +if test -n "$MSGFMT"; then | ||
4213 | + echo "$as_me:$LINENO: result: $MSGFMT" >&5 | ||
4214 | +echo "${ECHO_T}$MSGFMT" >&6 | ||
4215 | +else | ||
4216 | + echo "$as_me:$LINENO: result: no" >&5 | ||
4217 | +echo "${ECHO_T}no" >&6 | ||
4218 | +fi | ||
4219 | + | ||
4220 | +fi | ||
4221 | +if test "$enableval" = "yes" -a -z "$MSGFMT" ; then | ||
4222 | + { { echo "$as_me:$LINENO: error: | ||
4223 | +You do not appear to have msgfmt, which is part of the GNU Gettext package. It | ||
4224 | +is a required package as you chose the '--enable-nls' option to configure. | ||
4225 | +You can download GNU Gettext from ftp.gnu.org | ||
4226 | +" >&5 | ||
4227 | +echo "$as_me: error: | ||
4228 | +You do not appear to have msgfmt, which is part of the GNU Gettext package. It | ||
4229 | +is a required package as you chose the '--enable-nls' option to configure. | ||
4230 | +You can download GNU Gettext from ftp.gnu.org | ||
4231 | +" >&2;} | ||
4232 | + { (exit 1); exit 1; }; } | ||
4233 | +fi | ||
4234 | +if test -z "$MSGFMT" ; then | ||
4235 | + { echo "$as_me:$LINENO: Building without natural language support" >&5 | ||
4236 | +echo "$as_me: Building without natural language support" >&6;} | ||
4237 | +fi | ||
4238 | + | ||
4239 | +if test -n "$RPM_DOC_DIR" ; then | ||
4240 | + docdir="$RPM_DOC_DIR" | ||
4241 | +else | ||
4242 | + docdir='$(datadir)/doc' | ||
4243 | +fi | ||
4244 | + | ||
4245 | + | ||
4246 | +for ac_prog in rpmbuild rpm | ||
4247 | +do | ||
4248 | + # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
4249 | +set dummy $ac_prog; ac_word=$2 | ||
4250 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
4251 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
4252 | +if test "${ac_cv_path_RPMBUILD+set}" = set; then | ||
4253 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4254 | +else | ||
4255 | + case $RPMBUILD in | ||
4256 | + [\\/]* | ?:[\\/]*) | ||
4257 | + ac_cv_path_RPMBUILD="$RPMBUILD" # Let the user override the test with a path. | ||
4258 | + ;; | ||
4259 | + *) | ||
4260 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4261 | +for as_dir in $PATH | ||
4262 | +do | ||
4263 | + IFS=$as_save_IFS | ||
4264 | + test -z "$as_dir" && as_dir=. | ||
4265 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
4266 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
4267 | + ac_cv_path_RPMBUILD="$as_dir/$ac_word$ac_exec_ext" | ||
4268 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
4269 | + break 2 | ||
4270 | + fi | ||
4271 | +done | ||
4272 | +done | ||
4273 | + | ||
4274 | + ;; | ||
4275 | +esac | ||
4276 | +fi | ||
4277 | +RPMBUILD=$ac_cv_path_RPMBUILD | ||
4278 | + | ||
4279 | +if test -n "$RPMBUILD"; then | ||
4280 | + echo "$as_me:$LINENO: result: $RPMBUILD" >&5 | ||
4281 | +echo "${ECHO_T}$RPMBUILD" >&6 | ||
4282 | +else | ||
4283 | + echo "$as_me:$LINENO: result: no" >&5 | ||
4284 | +echo "${ECHO_T}no" >&6 | ||
4285 | +fi | ||
4286 | + | ||
4287 | + test -n "$RPMBUILD" && break | ||
4288 | +done | ||
4289 | + | ||
4290 | + | ||
4291 | + | ||
4292 | + ac_config_files="$ac_config_files Makefile" | ||
4293 | + | ||
4294 | +cat >confcache <<\_ACEOF | ||
4295 | +# This file is a shell script that caches the results of configure | ||
4296 | +# tests run on this system so they can be shared between configure | ||
4297 | +# scripts and configure runs, see configure's option --config-cache. | ||
4298 | +# It is not useful on other systems. If it contains results you don't | ||
4299 | +# want to keep, you may remove or edit it. | ||
4300 | +# | ||
4301 | +# config.status only pays attention to the cache file if you give it | ||
4302 | +# the --recheck option to rerun configure. | ||
4303 | +# | ||
4304 | +# `ac_cv_env_foo' variables (set or unset) will be overridden when | ||
4305 | +# loading this file, other *unset* `ac_cv_foo' will be assigned the | ||
4306 | +# following values. | ||
4307 | + | ||
4308 | +_ACEOF | ||
4309 | + | ||
4310 | +# The following way of writing the cache mishandles newlines in values, | ||
4311 | +# but we know of no workaround that is simple, portable, and efficient. | ||
4312 | +# So, don't put newlines in cache variables' values. | ||
4313 | +# Ultrix sh set writes to stderr and can't be redirected directly, | ||
4314 | +# and sets the high bit in the cache file unless we assign to the vars. | ||
4315 | +{ | ||
4316 | + (set) 2>&1 | | ||
4317 | + case `(ac_space=' '; set | grep ac_space) 2>&1` in | ||
4318 | + *ac_space=\ *) | ||
4319 | + # `set' does not quote correctly, so add quotes (double-quote | ||
4320 | + # substitution turns \\\\ into \\, and sed turns \\ into \). | ||
4321 | + sed -n \ | ||
4322 | + "s/'/'\\\\''/g; | ||
4323 | + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | ||
4324 | + ;; | ||
4325 | + *) | ||
4326 | + # `set' quotes correctly as required by POSIX, so do not add quotes. | ||
4327 | + sed -n \ | ||
4328 | + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | ||
4329 | + ;; | ||
4330 | + esac; | ||
4331 | +} | | ||
4332 | + sed ' | ||
4333 | + t clear | ||
4334 | + : clear | ||
4335 | + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | ||
4336 | + t end | ||
4337 | + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | ||
4338 | + : end' >>confcache | ||
4339 | +if diff $cache_file confcache >/dev/null 2>&1; then :; else | ||
4340 | + if test -w $cache_file; then | ||
4341 | + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | ||
4342 | + cat confcache >$cache_file | ||
4343 | + else | ||
4344 | + echo "not updating unwritable cache $cache_file" | ||
4345 | + fi | ||
4346 | +fi | ||
4347 | +rm -f confcache | ||
4348 | + | ||
4349 | +test "x$prefix" = xNONE && prefix=$ac_default_prefix | ||
4350 | +# Let make expand exec_prefix. | ||
4351 | +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | ||
4352 | + | ||
4353 | +# VPATH may cause trouble with some makes, so we remove $(srcdir), | ||
4354 | +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | ||
4355 | +# trailing colons and then remove the whole line if VPATH becomes empty | ||
4356 | +# (actually we leave an empty line to preserve line numbers). | ||
4357 | +if test "x$srcdir" = x.; then | ||
4358 | + ac_vpsub='/^[ ]*VPATH[ ]*=/{ | ||
4359 | +s/:*\$(srcdir):*/:/; | ||
4360 | +s/:*\${srcdir}:*/:/; | ||
4361 | +s/:*@srcdir@:*/:/; | ||
4362 | +s/^\([^=]*=[ ]*\):*/\1/; | ||
4363 | +s/:*$//; | ||
4364 | +s/^[^=]*=[ ]*$//; | ||
4365 | +}' | ||
4366 | +fi | ||
4367 | + | ||
4368 | +# Transform confdefs.h into DEFS. | ||
4369 | +# Protect against shell expansion while executing Makefile rules. | ||
4370 | +# Protect against Makefile macro expansion. | ||
4371 | +# | ||
4372 | +# If the first sed substitution is executed (which looks for macros that | ||
4373 | +# take arguments), then we branch to the quote section. Otherwise, | ||
4374 | +# look for a macro that doesn't take arguments. | ||
4375 | +cat >confdef2opt.sed <<\_ACEOF | ||
4376 | +t clear | ||
4377 | +: clear | ||
4378 | +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g | ||
4379 | +t quote | ||
4380 | +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g | ||
4381 | +t quote | ||
4382 | +d | ||
4383 | +: quote | ||
4384 | +s,[ `~#$^&*(){}\\|;'"<>?],\\&,g | ||
4385 | +s,\[,\\&,g | ||
4386 | +s,\],\\&,g | ||
4387 | +s,\$,$$,g | ||
4388 | +p | ||
4389 | +_ACEOF | ||
4390 | +# We use echo to avoid assuming a particular line-breaking character. | ||
4391 | +# The extra dot is to prevent the shell from consuming trailing | ||
4392 | +# line-breaks from the sub-command output. A line-break within | ||
4393 | +# single-quotes doesn't work because, if this script is created in a | ||
4394 | +# platform that uses two characters for line-breaks (e.g., DOS), tr | ||
4395 | +# would break. | ||
4396 | +ac_LF_and_DOT=`echo; echo .` | ||
4397 | +DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` | ||
4398 | +rm -f confdef2opt.sed | ||
4399 | + | ||
4400 | + | ||
4401 | +ac_libobjs= | ||
4402 | +ac_ltlibobjs= | ||
4403 | +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue | ||
4404 | + # 1. Remove the extension, and $U if already installed. | ||
4405 | + ac_i=`echo "$ac_i" | | ||
4406 | + sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | ||
4407 | + # 2. Add them. | ||
4408 | + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | ||
4409 | + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | ||
4410 | +done | ||
4411 | +LIB@&t@OBJS=$ac_libobjs | ||
4412 | + | ||
4413 | +LTLIBOBJS=$ac_ltlibobjs | ||
4414 | + | ||
4415 | + | ||
4416 | + | ||
4417 | +: ${CONFIG_STATUS=./config.status} | ||
4418 | +ac_clean_files_save=$ac_clean_files | ||
4419 | +ac_clean_files="$ac_clean_files $CONFIG_STATUS" | ||
4420 | +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | ||
4421 | +echo "$as_me: creating $CONFIG_STATUS" >&6;} | ||
4422 | +cat >$CONFIG_STATUS <<_ACEOF | ||
4423 | +#! $SHELL | ||
4424 | +# Generated by $as_me. | ||
4425 | +# Run this file to recreate the current configuration. | ||
4426 | +# Compiler output produced by configure, useful for debugging | ||
4427 | +# configure, is in config.log if it exists. | ||
4428 | + | ||
4429 | +debug=false | ||
4430 | +ac_cs_recheck=false | ||
4431 | +ac_cs_silent=false | ||
4432 | +SHELL=\${CONFIG_SHELL-$SHELL} | ||
4433 | +_ACEOF | ||
4434 | + | ||
4435 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
4436 | +## --------------------- ## | ||
4437 | +## M4sh Initialization. ## | ||
4438 | +## --------------------- ## | ||
4439 | + | ||
4440 | +# Be Bourne compatible | ||
4441 | +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
4442 | + emulate sh | ||
4443 | + NULLCMD=: | ||
4444 | + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
4445 | + # is contrary to our usage. Disable this feature. | ||
4446 | + alias -g '${1+"$@"}'='"$@"' | ||
4447 | +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | ||
4448 | + set -o posix | ||
4449 | +fi | ||
4450 | +DUALCASE=1; export DUALCASE # for MKS sh | ||
4451 | + | ||
4452 | +# Support unset when possible. | ||
4453 | +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
4454 | + as_unset=unset | ||
4455 | +else | ||
4456 | + as_unset=false | ||
4457 | +fi | ||
4458 | + | ||
4459 | + | ||
4460 | +# Work around bugs in pre-3.0 UWIN ksh. | ||
4461 | +$as_unset ENV MAIL MAILPATH | ||
4462 | +PS1='$ ' | ||
4463 | +PS2='> ' | ||
4464 | +PS4='+ ' | ||
4465 | + | ||
4466 | +# NLS nuisances. | ||
4467 | +for as_var in \ | ||
4468 | + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | ||
4469 | + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | ||
4470 | + LC_TELEPHONE LC_TIME | ||
4471 | +do | ||
4472 | + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | ||
4473 | + eval $as_var=C; export $as_var | ||
4474 | + else | ||
4475 | + $as_unset $as_var | ||
4476 | + fi | ||
4477 | +done | ||
4478 | + | ||
4479 | +# Required to use basename. | ||
4480 | +if expr a : '\(a\)' >/dev/null 2>&1; then | ||
4481 | + as_expr=expr | ||
4482 | +else | ||
4483 | + as_expr=false | ||
4484 | +fi | ||
4485 | + | ||
4486 | +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | ||
4487 | + as_basename=basename | ||
4488 | +else | ||
4489 | + as_basename=false | ||
4490 | +fi | ||
4491 | + | ||
4492 | + | ||
4493 | +# Name of the executable. | ||
4494 | +as_me=`$as_basename "$0" || | ||
4495 | +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
4496 | + X"$0" : 'X\(//\)$' \| \ | ||
4497 | + X"$0" : 'X\(/\)$' \| \ | ||
4498 | + . : '\(.\)' 2>/dev/null || | ||
4499 | +echo X/"$0" | | ||
4500 | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | ||
4501 | + /^X\/\(\/\/\)$/{ s//\1/; q; } | ||
4502 | + /^X\/\(\/\).*/{ s//\1/; q; } | ||
4503 | + s/.*/./; q'` | ||
4504 | + | ||
4505 | + | ||
4506 | +# PATH needs CR, and LINENO needs CR and PATH. | ||
4507 | +# Avoid depending upon Character Ranges. | ||
4508 | +as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
4509 | +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
4510 | +as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
4511 | +as_cr_digits='0123456789' | ||
4512 | +as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
4513 | + | ||
4514 | +# The user is always right. | ||
4515 | +if test "${PATH_SEPARATOR+set}" != set; then | ||
4516 | + echo "#! /bin/sh" >conf$$.sh | ||
4517 | + echo "exit 0" >>conf$$.sh | ||
4518 | + chmod +x conf$$.sh | ||
4519 | + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
4520 | + PATH_SEPARATOR=';' | ||
4521 | + else | ||
4522 | + PATH_SEPARATOR=: | ||
4523 | + fi | ||
4524 | + rm -f conf$$.sh | ||
4525 | +fi | ||
4526 | + | ||
4527 | + | ||
4528 | + as_lineno_1=$LINENO | ||
4529 | + as_lineno_2=$LINENO | ||
4530 | + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
4531 | + test "x$as_lineno_1" != "x$as_lineno_2" && | ||
4532 | + test "x$as_lineno_3" = "x$as_lineno_2" || { | ||
4533 | + # Find who we are. Look in the path if we contain no path at all | ||
4534 | + # relative or not. | ||
4535 | + case $0 in | ||
4536 | + *[\\/]* ) as_myself=$0 ;; | ||
4537 | + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4538 | +for as_dir in $PATH | ||
4539 | +do | ||
4540 | + IFS=$as_save_IFS | ||
4541 | + test -z "$as_dir" && as_dir=. | ||
4542 | + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
4543 | +done | ||
4544 | + | ||
4545 | + ;; | ||
4546 | + esac | ||
4547 | + # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
4548 | + # in which case we are not to be found in the path. | ||
4549 | + if test "x$as_myself" = x; then | ||
4550 | + as_myself=$0 | ||
4551 | + fi | ||
4552 | + if test ! -f "$as_myself"; then | ||
4553 | + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | ||
4554 | +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | ||
4555 | + { (exit 1); exit 1; }; } | ||
4556 | + fi | ||
4557 | + case $CONFIG_SHELL in | ||
4558 | + '') | ||
4559 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
4560 | +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
4561 | +do | ||
4562 | + IFS=$as_save_IFS | ||
4563 | + test -z "$as_dir" && as_dir=. | ||
4564 | + for as_base in sh bash ksh sh5; do | ||
4565 | + case $as_dir in | ||
4566 | + /*) | ||
4567 | + if ("$as_dir/$as_base" -c ' | ||
4568 | + as_lineno_1=$LINENO | ||
4569 | + as_lineno_2=$LINENO | ||
4570 | + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
4571 | + test "x$as_lineno_1" != "x$as_lineno_2" && | ||
4572 | + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | ||
4573 | + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | ||
4574 | + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | ||
4575 | + CONFIG_SHELL=$as_dir/$as_base | ||
4576 | + export CONFIG_SHELL | ||
4577 | + exec "$CONFIG_SHELL" "$0" ${1+"$@"} | ||
4578 | + fi;; | ||
4579 | + esac | ||
4580 | + done | ||
4581 | +done | ||
4582 | +;; | ||
4583 | + esac | ||
4584 | + | ||
4585 | + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
4586 | + # uniformly replaced by the line number. The first 'sed' inserts a | ||
4587 | + # line-number line before each line; the second 'sed' does the real | ||
4588 | + # work. The second script uses 'N' to pair each line-number line | ||
4589 | + # with the numbered line, and appends trailing '-' during | ||
4590 | + # substitution so that $LINENO is not a special case at line end. | ||
4591 | + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
4592 | + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | ||
4593 | + sed '=' <$as_myself | | ||
4594 | + sed ' | ||
4595 | + N | ||
4596 | + s,$,-, | ||
4597 | + : loop | ||
4598 | + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | ||
4599 | + t loop | ||
4600 | + s,-$,, | ||
4601 | + s,^['$as_cr_digits']*\n,, | ||
4602 | + ' >$as_me.lineno && | ||
4603 | + chmod +x $as_me.lineno || | ||
4604 | + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | ||
4605 | +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | ||
4606 | + { (exit 1); exit 1; }; } | ||
4607 | + | ||
4608 | + # Don't try to exec as it changes $[0], causing all sort of problems | ||
4609 | + # (the dirname of $[0] is not the place where we might find the | ||
4610 | + # original and so on. Autoconf is especially sensible to this). | ||
4611 | + . ./$as_me.lineno | ||
4612 | + # Exit status is that of the last command. | ||
4613 | + exit | ||
4614 | +} | ||
4615 | + | ||
4616 | + | ||
4617 | +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | ||
4618 | + *c*,-n*) ECHO_N= ECHO_C=' | ||
4619 | +' ECHO_T=' ' ;; | ||
4620 | + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | ||
4621 | + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | ||
4622 | +esac | ||
4623 | + | ||
4624 | +if expr a : '\(a\)' >/dev/null 2>&1; then | ||
4625 | + as_expr=expr | ||
4626 | +else | ||
4627 | + as_expr=false | ||
4628 | +fi | ||
4629 | + | ||
4630 | +rm -f conf$$ conf$$.exe conf$$.file | ||
4631 | +echo >conf$$.file | ||
4632 | +if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
4633 | + # We could just check for DJGPP; but this test a) works b) is more generic | ||
4634 | + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | ||
4635 | + if test -f conf$$.exe; then | ||
4636 | + # Don't use ln at all; we don't have any links | ||
4637 | + as_ln_s='cp -p' | ||
4638 | + else | ||
4639 | + as_ln_s='ln -s' | ||
4640 | + fi | ||
4641 | +elif ln conf$$.file conf$$ 2>/dev/null; then | ||
4642 | + as_ln_s=ln | ||
4643 | +else | ||
4644 | + as_ln_s='cp -p' | ||
4645 | +fi | ||
4646 | +rm -f conf$$ conf$$.exe conf$$.file | ||
4647 | + | ||
4648 | +if mkdir -p . 2>/dev/null; then | ||
4649 | + as_mkdir_p=: | ||
4650 | +else | ||
4651 | + test -d ./-p && rmdir ./-p | ||
4652 | + as_mkdir_p=false | ||
4653 | +fi | ||
4654 | + | ||
4655 | +as_executable_p="test -f" | ||
4656 | + | ||
4657 | +# Sed expression to map a string onto a valid CPP name. | ||
4658 | +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | ||
4659 | + | ||
4660 | +# Sed expression to map a string onto a valid variable name. | ||
4661 | +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
4662 | + | ||
4663 | + | ||
4664 | +# IFS | ||
4665 | +# We need space, tab and new line, in precisely that order. | ||
4666 | +as_nl=' | ||
4667 | +' | ||
4668 | +IFS=" $as_nl" | ||
4669 | + | ||
4670 | +# CDPATH. | ||
4671 | +$as_unset CDPATH | ||
4672 | + | ||
4673 | +exec 6>&1 | ||
4674 | + | ||
4675 | +# Open the log real soon, to keep \$[0] and so on meaningful, and to | ||
4676 | +# report actual input values of CONFIG_FILES etc. instead of their | ||
4677 | +# values after options handling. Logging --version etc. is OK. | ||
4678 | +exec 5>>config.log | ||
4679 | +{ | ||
4680 | + echo | ||
4681 | + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX | ||
4682 | +@%:@@%:@ Running $as_me. @%:@@%:@ | ||
4683 | +_ASBOX | ||
4684 | +} >&5 | ||
4685 | +cat >&5 <<_CSEOF | ||
4686 | + | ||
4687 | +This file was extended by quilt $as_me 0.37, which was | ||
4688 | +generated by GNU Autoconf 2.59. Invocation command line was | ||
4689 | + | ||
4690 | + CONFIG_FILES = $CONFIG_FILES | ||
4691 | + CONFIG_HEADERS = $CONFIG_HEADERS | ||
4692 | + CONFIG_LINKS = $CONFIG_LINKS | ||
4693 | + CONFIG_COMMANDS = $CONFIG_COMMANDS | ||
4694 | + $ $0 $@ | ||
4695 | + | ||
4696 | +_CSEOF | ||
4697 | +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | ||
4698 | +echo >&5 | ||
4699 | +_ACEOF | ||
4700 | + | ||
4701 | +# Files that config.status was made for. | ||
4702 | +if test -n "$ac_config_files"; then | ||
4703 | + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | ||
4704 | +fi | ||
4705 | + | ||
4706 | +if test -n "$ac_config_headers"; then | ||
4707 | + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | ||
4708 | +fi | ||
4709 | + | ||
4710 | +if test -n "$ac_config_links"; then | ||
4711 | + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | ||
4712 | +fi | ||
4713 | + | ||
4714 | +if test -n "$ac_config_commands"; then | ||
4715 | + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | ||
4716 | +fi | ||
4717 | + | ||
4718 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
4719 | + | ||
4720 | +ac_cs_usage="\ | ||
4721 | +\`$as_me' instantiates files from templates according to the | ||
4722 | +current configuration. | ||
4723 | + | ||
4724 | +Usage: $0 [OPTIONS] [FILE]... | ||
4725 | + | ||
4726 | + -h, --help print this help, then exit | ||
4727 | + -V, --version print version number, then exit | ||
4728 | + -q, --quiet do not print progress messages | ||
4729 | + -d, --debug don't remove temporary files | ||
4730 | + --recheck update $as_me by reconfiguring in the same conditions | ||
4731 | + --file=FILE[:TEMPLATE] | ||
4732 | + instantiate the configuration file FILE | ||
4733 | + | ||
4734 | +Configuration files: | ||
4735 | +$config_files | ||
4736 | + | ||
4737 | +Report bugs to <bug-autoconf@gnu.org>." | ||
4738 | +_ACEOF | ||
4739 | + | ||
4740 | +cat >>$CONFIG_STATUS <<_ACEOF | ||
4741 | +ac_cs_version="\\ | ||
4742 | +quilt config.status 0.37 | ||
4743 | +configured by $0, generated by GNU Autoconf 2.59, | ||
4744 | + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | ||
4745 | + | ||
4746 | +Copyright (C) 2003 Free Software Foundation, Inc. | ||
4747 | +This config.status script is free software; the Free Software Foundation | ||
4748 | +gives unlimited permission to copy, distribute and modify it." | ||
4749 | +srcdir=$srcdir | ||
4750 | +INSTALL="$INSTALL" | ||
4751 | +_ACEOF | ||
4752 | + | ||
4753 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
4754 | +# If no file are specified by the user, then we need to provide default | ||
4755 | +# value. By we need to know if files were specified by the user. | ||
4756 | +ac_need_defaults=: | ||
4757 | +while test $# != 0 | ||
4758 | +do | ||
4759 | + case $1 in | ||
4760 | + --*=*) | ||
4761 | + ac_option=`expr "x$1" : 'x\([^=]*\)='` | ||
4762 | + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | ||
4763 | + ac_shift=: | ||
4764 | + ;; | ||
4765 | + -*) | ||
4766 | + ac_option=$1 | ||
4767 | + ac_optarg=$2 | ||
4768 | + ac_shift=shift | ||
4769 | + ;; | ||
4770 | + *) # This is not an option, so the user has probably given explicit | ||
4771 | + # arguments. | ||
4772 | + ac_option=$1 | ||
4773 | + ac_need_defaults=false;; | ||
4774 | + esac | ||
4775 | + | ||
4776 | + case $ac_option in | ||
4777 | + # Handling of the options. | ||
4778 | +_ACEOF | ||
4779 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
4780 | + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | ||
4781 | + ac_cs_recheck=: ;; | ||
4782 | + --version | --vers* | -V ) | ||
4783 | + echo "$ac_cs_version"; exit 0 ;; | ||
4784 | + --he | --h) | ||
4785 | + # Conflict between --help and --header | ||
4786 | + { { echo "$as_me:$LINENO: error: ambiguous option: $1 | ||
4787 | +Try \`$0 --help' for more information." >&5 | ||
4788 | +echo "$as_me: error: ambiguous option: $1 | ||
4789 | +Try \`$0 --help' for more information." >&2;} | ||
4790 | + { (exit 1); exit 1; }; };; | ||
4791 | + --help | --hel | -h ) | ||
4792 | + echo "$ac_cs_usage"; exit 0 ;; | ||
4793 | + --debug | --d* | -d ) | ||
4794 | + debug=: ;; | ||
4795 | + --file | --fil | --fi | --f ) | ||
4796 | + $ac_shift | ||
4797 | + CONFIG_FILES="$CONFIG_FILES $ac_optarg" | ||
4798 | + ac_need_defaults=false;; | ||
4799 | + --header | --heade | --head | --hea ) | ||
4800 | + $ac_shift | ||
4801 | + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | ||
4802 | + ac_need_defaults=false;; | ||
4803 | + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
4804 | + | -silent | --silent | --silen | --sile | --sil | --si | --s) | ||
4805 | + ac_cs_silent=: ;; | ||
4806 | + | ||
4807 | + # This is an error. | ||
4808 | + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | ||
4809 | +Try \`$0 --help' for more information." >&5 | ||
4810 | +echo "$as_me: error: unrecognized option: $1 | ||
4811 | +Try \`$0 --help' for more information." >&2;} | ||
4812 | + { (exit 1); exit 1; }; } ;; | ||
4813 | + | ||
4814 | + *) ac_config_targets="$ac_config_targets $1" ;; | ||
4815 | + | ||
4816 | + esac | ||
4817 | + shift | ||
4818 | +done | ||
4819 | + | ||
4820 | +ac_configure_extra_args= | ||
4821 | + | ||
4822 | +if $ac_cs_silent; then | ||
4823 | + exec 6>/dev/null | ||
4824 | + ac_configure_extra_args="$ac_configure_extra_args --silent" | ||
4825 | +fi | ||
4826 | + | ||
4827 | +_ACEOF | ||
4828 | +cat >>$CONFIG_STATUS <<_ACEOF | ||
4829 | +if \$ac_cs_recheck; then | ||
4830 | + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | ||
4831 | + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | ||
4832 | +fi | ||
4833 | + | ||
4834 | +_ACEOF | ||
4835 | + | ||
4836 | + | ||
4837 | + | ||
4838 | + | ||
4839 | + | ||
4840 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
4841 | +for ac_config_target in $ac_config_targets | ||
4842 | +do | ||
4843 | + case "$ac_config_target" in | ||
4844 | + # Handling of arguments. | ||
4845 | + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | ||
4846 | + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | ||
4847 | +echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | ||
4848 | + { (exit 1); exit 1; }; };; | ||
4849 | + esac | ||
4850 | +done | ||
4851 | + | ||
4852 | +# If the user did not use the arguments to specify the items to instantiate, | ||
4853 | +# then the envvar interface is used. Set only those that are not. | ||
4854 | +# We use the long form for the default assignment because of an extremely | ||
4855 | +# bizarre bug on SunOS 4.1.3. | ||
4856 | +if $ac_need_defaults; then | ||
4857 | + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | ||
4858 | +fi | ||
4859 | + | ||
4860 | +# Have a temporary directory for convenience. Make it in the build tree | ||
4861 | +# simply because there is no reason to put it here, and in addition, | ||
4862 | +# creating and moving files from /tmp can sometimes cause problems. | ||
4863 | +# Create a temporary directory, and hook for its removal unless debugging. | ||
4864 | +$debug || | ||
4865 | +{ | ||
4866 | + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | ||
4867 | + trap '{ (exit 1); exit 1; }' 1 2 13 15 | ||
4868 | +} | ||
4869 | + | ||
4870 | +# Create a (secure) tmp directory for tmp files. | ||
4871 | + | ||
4872 | +{ | ||
4873 | + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | ||
4874 | + test -n "$tmp" && test -d "$tmp" | ||
4875 | +} || | ||
4876 | +{ | ||
4877 | + tmp=./confstat$$-$RANDOM | ||
4878 | + (umask 077 && mkdir $tmp) | ||
4879 | +} || | ||
4880 | +{ | ||
4881 | + echo "$me: cannot create a temporary directory in ." >&2 | ||
4882 | + { (exit 1); exit 1; } | ||
4883 | +} | ||
4884 | + | ||
4885 | +_ACEOF | ||
4886 | + | ||
4887 | +cat >>$CONFIG_STATUS <<_ACEOF | ||
4888 | + | ||
4889 | +# | ||
4890 | +# CONFIG_FILES section. | ||
4891 | +# | ||
4892 | + | ||
4893 | +# No need to generate the scripts if there are no CONFIG_FILES. | ||
4894 | +# This happens for instance when ./config.status config.h | ||
4895 | +if test -n "\$CONFIG_FILES"; then | ||
4896 | + # Protect against being on the right side of a sed subst in config.status. | ||
4897 | + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | ||
4898 | + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | ||
4899 | +s,@SHELL@,$SHELL,;t t | ||
4900 | +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | ||
4901 | +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | ||
4902 | +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | ||
4903 | +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | ||
4904 | +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | ||
4905 | +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | ||
4906 | +s,@exec_prefix@,$exec_prefix,;t t | ||
4907 | +s,@prefix@,$prefix,;t t | ||
4908 | +s,@program_transform_name@,$program_transform_name,;t t | ||
4909 | +s,@bindir@,$bindir,;t t | ||
4910 | +s,@sbindir@,$sbindir,;t t | ||
4911 | +s,@libexecdir@,$libexecdir,;t t | ||
4912 | +s,@datadir@,$datadir,;t t | ||
4913 | +s,@sysconfdir@,$sysconfdir,;t t | ||
4914 | +s,@sharedstatedir@,$sharedstatedir,;t t | ||
4915 | +s,@localstatedir@,$localstatedir,;t t | ||
4916 | +s,@libdir@,$libdir,;t t | ||
4917 | +s,@includedir@,$includedir,;t t | ||
4918 | +s,@oldincludedir@,$oldincludedir,;t t | ||
4919 | +s,@infodir@,$infodir,;t t | ||
4920 | +s,@mandir@,$mandir,;t t | ||
4921 | +s,@build_alias@,$build_alias,;t t | ||
4922 | +s,@host_alias@,$host_alias,;t t | ||
4923 | +s,@target_alias@,$target_alias,;t t | ||
4924 | +s,@DEFS@,$DEFS,;t t | ||
4925 | +s,@ECHO_C@,$ECHO_C,;t t | ||
4926 | +s,@ECHO_N@,$ECHO_N,;t t | ||
4927 | +s,@ECHO_T@,$ECHO_T,;t t | ||
4928 | +s,@LIBS@,$LIBS,;t t | ||
4929 | +s,@PACKAGE_RELEASE@,$PACKAGE_RELEASE,;t t | ||
4930 | +s,@CC@,$CC,;t t | ||
4931 | +s,@CFLAGS@,$CFLAGS,;t t | ||
4932 | +s,@LDFLAGS@,$LDFLAGS,;t t | ||
4933 | +s,@CPPFLAGS@,$CPPFLAGS,;t t | ||
4934 | +s,@ac_ct_CC@,$ac_ct_CC,;t t | ||
4935 | +s,@EXEEXT@,$EXEEXT,;t t | ||
4936 | +s,@OBJEXT@,$OBJEXT,;t t | ||
4937 | +s,@CPP@,$CPP,;t t | ||
4938 | +s,@EGREP@,$EGREP,;t t | ||
4939 | +s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t | ||
4940 | +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | ||
4941 | +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | ||
4942 | +s,@INSTALL_DATA@,$INSTALL_DATA,;t t | ||
4943 | +s,@BASH@,$BASH,;t t | ||
4944 | +s,@PERL@,$PERL,;t t | ||
4945 | +s,@SED@,$SED,;t t | ||
4946 | +s,@AWK@,$AWK,;t t | ||
4947 | +s,@MKTEMP@,$MKTEMP,;t t | ||
4948 | +s,@DIFF@,$DIFF,;t t | ||
4949 | +s,@PATCH@,$PATCH,;t t | ||
4950 | +s,@DIFFSTAT@,$DIFFSTAT,;t t | ||
4951 | +s,@MSGFMT@,$MSGFMT,;t t | ||
4952 | +s,@docdir@,$docdir,;t t | ||
4953 | +s,@RPMBUILD@,$RPMBUILD,;t t | ||
4954 | +s,@LTLIBOBJS@,$LTLIBOBJS,;t t | ||
4955 | +CEOF | ||
4956 | + | ||
4957 | +_ACEOF | ||
4958 | + | ||
4959 | + cat >>$CONFIG_STATUS <<\_ACEOF | ||
4960 | + # Split the substitutions into bite-sized pieces for seds with | ||
4961 | + # small command number limits, like on Digital OSF/1 and HP-UX. | ||
4962 | + ac_max_sed_lines=48 | ||
4963 | + ac_sed_frag=1 # Number of current file. | ||
4964 | + ac_beg=1 # First line for current file. | ||
4965 | + ac_end=$ac_max_sed_lines # Line after last line for current file. | ||
4966 | + ac_more_lines=: | ||
4967 | + ac_sed_cmds= | ||
4968 | + while $ac_more_lines; do | ||
4969 | + if test $ac_beg -gt 1; then | ||
4970 | + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | ||
4971 | + else | ||
4972 | + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | ||
4973 | + fi | ||
4974 | + if test ! -s $tmp/subs.frag; then | ||
4975 | + ac_more_lines=false | ||
4976 | + else | ||
4977 | + # The purpose of the label and of the branching condition is to | ||
4978 | + # speed up the sed processing (if there are no `@' at all, there | ||
4979 | + # is no need to browse any of the substitutions). | ||
4980 | + # These are the two extra sed commands mentioned above. | ||
4981 | + (echo ':t | ||
4982 | + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | ||
4983 | + if test -z "$ac_sed_cmds"; then | ||
4984 | + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | ||
4985 | + else | ||
4986 | + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | ||
4987 | + fi | ||
4988 | + ac_sed_frag=`expr $ac_sed_frag + 1` | ||
4989 | + ac_beg=$ac_end | ||
4990 | + ac_end=`expr $ac_end + $ac_max_sed_lines` | ||
4991 | + fi | ||
4992 | + done | ||
4993 | + if test -z "$ac_sed_cmds"; then | ||
4994 | + ac_sed_cmds=cat | ||
4995 | + fi | ||
4996 | +fi # test -n "$CONFIG_FILES" | ||
4997 | + | ||
4998 | +_ACEOF | ||
4999 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
5000 | +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | ||
5001 | + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | ||
5002 | + case $ac_file in | ||
5003 | + - | *:- | *:-:* ) # input from stdin | ||
5004 | + cat >$tmp/stdin | ||
5005 | + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
5006 | + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
5007 | + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
5008 | + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
5009 | + * ) ac_file_in=$ac_file.in ;; | ||
5010 | + esac | ||
5011 | + | ||
5012 | + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | ||
5013 | + ac_dir=`(dirname "$ac_file") 2>/dev/null || | ||
5014 | +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
5015 | + X"$ac_file" : 'X\(//\)[^/]' \| \ | ||
5016 | + X"$ac_file" : 'X\(//\)$' \| \ | ||
5017 | + X"$ac_file" : 'X\(/\)' \| \ | ||
5018 | + . : '\(.\)' 2>/dev/null || | ||
5019 | +echo X"$ac_file" | | ||
5020 | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
5021 | + /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
5022 | + /^X\(\/\/\)$/{ s//\1/; q; } | ||
5023 | + /^X\(\/\).*/{ s//\1/; q; } | ||
5024 | + s/.*/./; q'` | ||
5025 | + { if $as_mkdir_p; then | ||
5026 | + mkdir -p "$ac_dir" | ||
5027 | + else | ||
5028 | + as_dir="$ac_dir" | ||
5029 | + as_dirs= | ||
5030 | + while test ! -d "$as_dir"; do | ||
5031 | + as_dirs="$as_dir $as_dirs" | ||
5032 | + as_dir=`(dirname "$as_dir") 2>/dev/null || | ||
5033 | +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
5034 | + X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
5035 | + X"$as_dir" : 'X\(//\)$' \| \ | ||
5036 | + X"$as_dir" : 'X\(/\)' \| \ | ||
5037 | + . : '\(.\)' 2>/dev/null || | ||
5038 | +echo X"$as_dir" | | ||
5039 | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
5040 | + /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
5041 | + /^X\(\/\/\)$/{ s//\1/; q; } | ||
5042 | + /^X\(\/\).*/{ s//\1/; q; } | ||
5043 | + s/.*/./; q'` | ||
5044 | + done | ||
5045 | + test ! -n "$as_dirs" || mkdir $as_dirs | ||
5046 | + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | ||
5047 | +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | ||
5048 | + { (exit 1); exit 1; }; }; } | ||
5049 | + | ||
5050 | + ac_builddir=. | ||
5051 | + | ||
5052 | +if test "$ac_dir" != .; then | ||
5053 | + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | ||
5054 | + # A "../" for each directory in $ac_dir_suffix. | ||
5055 | + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | ||
5056 | +else | ||
5057 | + ac_dir_suffix= ac_top_builddir= | ||
5058 | +fi | ||
5059 | + | ||
5060 | +case $srcdir in | ||
5061 | + .) # No --srcdir option. We are building in place. | ||
5062 | + ac_srcdir=. | ||
5063 | + if test -z "$ac_top_builddir"; then | ||
5064 | + ac_top_srcdir=. | ||
5065 | + else | ||
5066 | + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
5067 | + fi ;; | ||
5068 | + [\\/]* | ?:[\\/]* ) # Absolute path. | ||
5069 | + ac_srcdir=$srcdir$ac_dir_suffix; | ||
5070 | + ac_top_srcdir=$srcdir ;; | ||
5071 | + *) # Relative path. | ||
5072 | + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | ||
5073 | + ac_top_srcdir=$ac_top_builddir$srcdir ;; | ||
5074 | +esac | ||
5075 | + | ||
5076 | +# Do not use `cd foo && pwd` to compute absolute paths, because | ||
5077 | +# the directories may not exist. | ||
5078 | +case `pwd` in | ||
5079 | +.) ac_abs_builddir="$ac_dir";; | ||
5080 | +*) | ||
5081 | + case "$ac_dir" in | ||
5082 | + .) ac_abs_builddir=`pwd`;; | ||
5083 | + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | ||
5084 | + *) ac_abs_builddir=`pwd`/"$ac_dir";; | ||
5085 | + esac;; | ||
5086 | +esac | ||
5087 | +case $ac_abs_builddir in | ||
5088 | +.) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
5089 | +*) | ||
5090 | + case ${ac_top_builddir}. in | ||
5091 | + .) ac_abs_top_builddir=$ac_abs_builddir;; | ||
5092 | + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
5093 | + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | ||
5094 | + esac;; | ||
5095 | +esac | ||
5096 | +case $ac_abs_builddir in | ||
5097 | +.) ac_abs_srcdir=$ac_srcdir;; | ||
5098 | +*) | ||
5099 | + case $ac_srcdir in | ||
5100 | + .) ac_abs_srcdir=$ac_abs_builddir;; | ||
5101 | + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | ||
5102 | + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | ||
5103 | + esac;; | ||
5104 | +esac | ||
5105 | +case $ac_abs_builddir in | ||
5106 | +.) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
5107 | +*) | ||
5108 | + case $ac_top_srcdir in | ||
5109 | + .) ac_abs_top_srcdir=$ac_abs_builddir;; | ||
5110 | + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
5111 | + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | ||
5112 | + esac;; | ||
5113 | +esac | ||
5114 | + | ||
5115 | + | ||
5116 | + case $INSTALL in | ||
5117 | + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | ||
5118 | + *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | ||
5119 | + esac | ||
5120 | + | ||
5121 | + # Let's still pretend it is `configure' which instantiates (i.e., don't | ||
5122 | + # use $as_me), people would be surprised to read: | ||
5123 | + # /* config.h. Generated by config.status. */ | ||
5124 | + if test x"$ac_file" = x-; then | ||
5125 | + configure_input= | ||
5126 | + else | ||
5127 | + configure_input="$ac_file. " | ||
5128 | + fi | ||
5129 | + configure_input=$configure_input"Generated from `echo $ac_file_in | | ||
5130 | + sed 's,.*/,,'` by configure." | ||
5131 | + | ||
5132 | + # First look for the input files in the build tree, otherwise in the | ||
5133 | + # src tree. | ||
5134 | + ac_file_inputs=`IFS=: | ||
5135 | + for f in $ac_file_in; do | ||
5136 | + case $f in | ||
5137 | + -) echo $tmp/stdin ;; | ||
5138 | + [\\/$]*) | ||
5139 | + # Absolute (can't be DOS-style, as IFS=:) | ||
5140 | + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
5141 | +echo "$as_me: error: cannot find input file: $f" >&2;} | ||
5142 | + { (exit 1); exit 1; }; } | ||
5143 | + echo "$f";; | ||
5144 | + *) # Relative | ||
5145 | + if test -f "$f"; then | ||
5146 | + # Build tree | ||
5147 | + echo "$f" | ||
5148 | + elif test -f "$srcdir/$f"; then | ||
5149 | + # Source tree | ||
5150 | + echo "$srcdir/$f" | ||
5151 | + else | ||
5152 | + # /dev/null tree | ||
5153 | + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
5154 | +echo "$as_me: error: cannot find input file: $f" >&2;} | ||
5155 | + { (exit 1); exit 1; }; } | ||
5156 | + fi;; | ||
5157 | + esac | ||
5158 | + done` || { (exit 1); exit 1; } | ||
5159 | + | ||
5160 | + if test x"$ac_file" != x-; then | ||
5161 | + { echo "$as_me:$LINENO: creating $ac_file" >&5 | ||
5162 | +echo "$as_me: creating $ac_file" >&6;} | ||
5163 | + rm -f "$ac_file" | ||
5164 | + fi | ||
5165 | +_ACEOF | ||
5166 | +cat >>$CONFIG_STATUS <<_ACEOF | ||
5167 | + sed "$ac_vpsub | ||
5168 | +$extrasub | ||
5169 | +_ACEOF | ||
5170 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
5171 | +:t | ||
5172 | +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b | ||
5173 | +s,@configure_input@,$configure_input,;t t | ||
5174 | +s,@srcdir@,$ac_srcdir,;t t | ||
5175 | +s,@abs_srcdir@,$ac_abs_srcdir,;t t | ||
5176 | +s,@top_srcdir@,$ac_top_srcdir,;t t | ||
5177 | +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | ||
5178 | +s,@builddir@,$ac_builddir,;t t | ||
5179 | +s,@abs_builddir@,$ac_abs_builddir,;t t | ||
5180 | +s,@top_builddir@,$ac_top_builddir,;t t | ||
5181 | +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | ||
5182 | +s,@INSTALL@,$ac_INSTALL,;t t | ||
5183 | +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | ||
5184 | + rm -f $tmp/stdin | ||
5185 | + if test x"$ac_file" != x-; then | ||
5186 | + mv $tmp/out $ac_file | ||
5187 | + else | ||
5188 | + cat $tmp/out | ||
5189 | + rm -f $tmp/out | ||
5190 | + fi | ||
5191 | + | ||
5192 | +done | ||
5193 | +_ACEOF | ||
5194 | + | ||
5195 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
5196 | + | ||
5197 | +{ (exit 0); exit 0; } | ||
5198 | +_ACEOF | ||
5199 | +chmod +x $CONFIG_STATUS | ||
5200 | +ac_clean_files=$ac_clean_files_save | ||
5201 | + | ||
5202 | + | ||
5203 | +# configure is writing to config.log, and then calls config.status. | ||
5204 | +# config.status does its own redirection, appending to config.log. | ||
5205 | +# Unfortunately, on DOS this fails, as config.log is still kept open | ||
5206 | +# by configure, so config.status won't be able to write to it; its | ||
5207 | +# output is simply discarded. So we exec the FD to /dev/null, | ||
5208 | +# effectively closing config.log, so it can be properly (re)opened and | ||
5209 | +# appended to by config.status. When coming back to configure, we | ||
5210 | +# need to make the FD available again. | ||
5211 | +if test "$no_create" != yes; then | ||
5212 | + ac_cs_success=: | ||
5213 | + ac_config_status_args= | ||
5214 | + test "$silent" = yes && | ||
5215 | + ac_config_status_args="$ac_config_status_args --quiet" | ||
5216 | + exec 5>/dev/null | ||
5217 | + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | ||
5218 | + exec 5>>config.log | ||
5219 | + # Use ||, not &&, to avoid exiting from the if with $? = 1, which | ||
5220 | + # would make configure fail if this is the last instruction. | ||
5221 | + $ac_cs_success || { (exit 1); exit 1; } | ||
5222 | +fi | ||
5223 | + | ||
5224 | + | ||
5225 | +echo "$as_me:$LINENO: result: " >&5 | ||
5226 | +echo "${ECHO_T}" >&6 | ||
5227 | +echo "$as_me:$LINENO: result: $PACKAGE_NAME version $PACKAGE_VERSION configured." >&5 | ||
5228 | +echo "${ECHO_T}$PACKAGE_NAME version $PACKAGE_VERSION configured." >&6 | ||
5229 | +echo "$as_me:$LINENO: result: " >&5 | ||
5230 | +echo "${ECHO_T}" >&6 | ||
5231 | +echo "$as_me:$LINENO: result: Using '$prefix' for installation prefix." >&5 | ||
5232 | +echo "${ECHO_T}Using '$prefix' for installation prefix." >&6 | ||
5233 | + | ||
5234 | +# we don't need to see this just for the backup-files command | ||
5235 | +# but we may as well spec it for the future | ||
5236 | +#AC_MSG_RESULT([Using '$CC' for C compiler.]) | ||
5237 | +#AC_MSG_RESULT([Building with '$CFLAGS' for C compiler flags.]) | ||
5238 | +#AC_MSG_RESULT([Building with '$LIBS' for linker flags.]) | ||
5239 | + | ||
5240 | +echo "$as_me:$LINENO: result: " >&5 | ||
5241 | +echo "${ECHO_T}" >&6 | ||
5242 | +echo "$as_me:$LINENO: result: Report bugs to $PACKAGE_BUGREPORT" >&5 | ||
5243 | +echo "${ECHO_T}Report bugs to $PACKAGE_BUGREPORT" >&6 | ||
5244 | diff -urNd -urNd quilt/autom4te.cache/requests quilt.autoreconf/autom4te.cache/requests | ||
5245 | --- quilt/autom4te.cache/requests 1969-12-31 18:00:00.000000000 -0600 | ||
5246 | +++ quilt.autoreconf/autom4te.cache/requests 2005-01-17 21:06:39.000000000 -0600 | ||
5247 | @@ -0,0 +1,115 @@ | ||
5248 | +# This file was generated by Autom4te Sat Jan 8 16:59:54 PST 2005. | ||
5249 | +# It contains the lists of macros which have been traced. | ||
5250 | +# It can be safely removed. | ||
5251 | + | ||
5252 | +@request = ( | ||
5253 | + bless( [ | ||
5254 | + '0', | ||
5255 | + 1, | ||
5256 | + [ | ||
5257 | + '/usr/share/autoconf' | ||
5258 | + ], | ||
5259 | + [ | ||
5260 | + '/usr/share/autoconf/autoconf/autoconf.m4f', | ||
5261 | + 'configure.ac' | ||
5262 | + ], | ||
5263 | + { | ||
5264 | + 'm4_pattern_forbid' => 1, | ||
5265 | + 'AC_CONFIG_LIBOBJ_DIR' => 1, | ||
5266 | + 'AC_TYPE_OFF_T' => 1, | ||
5267 | + 'AC_C_VOLATILE' => 1, | ||
5268 | + 'AC_FUNC_CLOSEDIR_VOID' => 1, | ||
5269 | + 'AC_REPLACE_FNMATCH' => 1, | ||
5270 | + 'AC_PROG_LIBTOOL' => 1, | ||
5271 | + 'AC_FUNC_STAT' => 1, | ||
5272 | + 'AC_HEADER_TIME' => 1, | ||
5273 | + 'AC_FUNC_WAIT3' => 1, | ||
5274 | + 'AM_AUTOMAKE_VERSION' => 1, | ||
5275 | + 'AC_STRUCT_TM' => 1, | ||
5276 | + 'AC_FUNC_LSTAT' => 1, | ||
5277 | + 'AC_TYPE_MODE_T' => 1, | ||
5278 | + 'AC_FUNC_GETMNTENT' => 1, | ||
5279 | + 'AC_FUNC_STRTOD' => 1, | ||
5280 | + 'AC_CHECK_HEADERS' => 1, | ||
5281 | + 'AC_FUNC_STRNLEN' => 1, | ||
5282 | + 'm4_sinclude' => 1, | ||
5283 | + 'AC_PROG_CXX' => 1, | ||
5284 | + 'AC_PATH_X' => 1, | ||
5285 | + 'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1, | ||
5286 | + 'AC_PROG_AWK' => 1, | ||
5287 | + '_m4_warn' => 1, | ||
5288 | + 'AC_HEADER_STDC' => 1, | ||
5289 | + 'AC_HEADER_MAJOR' => 1, | ||
5290 | + 'AC_FUNC_ERROR_AT_LINE' => 1, | ||
5291 | + 'AC_PROG_GCC_TRADITIONAL' => 1, | ||
5292 | + 'AC_LIBSOURCE' => 1, | ||
5293 | + 'AC_FUNC_MBRTOWC' => 1, | ||
5294 | + 'AC_STRUCT_ST_BLOCKS' => 1, | ||
5295 | + 'AC_TYPE_SIGNAL' => 1, | ||
5296 | + 'AC_TYPE_UID_T' => 1, | ||
5297 | + 'AC_CONFIG_AUX_DIR' => 1, | ||
5298 | + 'AC_PROG_MAKE_SET' => 1, | ||
5299 | + 'sinclude' => 1, | ||
5300 | + 'm4_pattern_allow' => 1, | ||
5301 | + 'AC_DEFINE_TRACE_LITERAL' => 1, | ||
5302 | + 'AC_FUNC_STRERROR_R' => 1, | ||
5303 | + 'AC_PROG_CC' => 1, | ||
5304 | + 'AC_FUNC_FORK' => 1, | ||
5305 | + 'AC_DECL_SYS_SIGLIST' => 1, | ||
5306 | + 'AC_FUNC_VPRINTF' => 1, | ||
5307 | + 'AC_FUNC_STRCOLL' => 1, | ||
5308 | + 'AC_PROG_YACC' => 1, | ||
5309 | + 'AC_INIT' => 1, | ||
5310 | + 'AC_STRUCT_TIMEZONE' => 1, | ||
5311 | + 'AC_FUNC_CHOWN' => 1, | ||
5312 | + 'AC_SUBST' => 1, | ||
5313 | + 'AC_FUNC_ALLOCA' => 1, | ||
5314 | + 'AC_CANONICAL_HOST' => 1, | ||
5315 | + 'AC_FUNC_GETPGRP' => 1, | ||
5316 | + 'AC_PROG_RANLIB' => 1, | ||
5317 | + 'AM_INIT_AUTOMAKE' => 1, | ||
5318 | + 'AC_FUNC_SETPGRP' => 1, | ||
5319 | + 'AC_CONFIG_SUBDIRS' => 1, | ||
5320 | + 'AC_FUNC_MMAP' => 1, | ||
5321 | + 'AC_FUNC_REALLOC' => 1, | ||
5322 | + 'AC_TYPE_SIZE_T' => 1, | ||
5323 | + 'AC_CONFIG_LINKS' => 1, | ||
5324 | + 'AC_CHECK_TYPES' => 1, | ||
5325 | + 'AC_CHECK_MEMBERS' => 1, | ||
5326 | + 'AM_MAINTAINER_MODE' => 1, | ||
5327 | + 'AC_FUNC_UTIME_NULL' => 1, | ||
5328 | + 'AC_FUNC_SELECT_ARGTYPES' => 1, | ||
5329 | + 'AC_FUNC_STRFTIME' => 1, | ||
5330 | + 'AC_HEADER_STAT' => 1, | ||
5331 | + 'AC_C_INLINE' => 1, | ||
5332 | + 'AC_PROG_CPP' => 1, | ||
5333 | + 'AC_TYPE_PID_T' => 1, | ||
5334 | + 'AC_C_CONST' => 1, | ||
5335 | + 'AC_PROG_LEX' => 1, | ||
5336 | + 'AC_CONFIG_FILES' => 1, | ||
5337 | + 'include' => 1, | ||
5338 | + 'AC_FUNC_SETVBUF_REVERSED' => 1, | ||
5339 | + 'AC_PROG_INSTALL' => 1, | ||
5340 | + 'AM_GNU_GETTEXT' => 1, | ||
5341 | + 'AC_FUNC_OBSTACK' => 1, | ||
5342 | + 'AC_CHECK_LIB' => 1, | ||
5343 | + 'AC_FUNC_MALLOC' => 1, | ||
5344 | + 'AC_FUNC_GETGROUPS' => 1, | ||
5345 | + 'AC_FUNC_GETLOADAVG' => 1, | ||
5346 | + 'AH_OUTPUT' => 1, | ||
5347 | + 'AC_FUNC_FSEEKO' => 1, | ||
5348 | + 'AM_PROG_CC_C_O' => 1, | ||
5349 | + 'AM_CONDITIONAL' => 1, | ||
5350 | + 'AC_CANONICAL_SYSTEM' => 1, | ||
5351 | + 'AC_FUNC_MKTIME' => 1, | ||
5352 | + 'AC_CONFIG_HEADERS' => 1, | ||
5353 | + 'AC_HEADER_SYS_WAIT' => 1, | ||
5354 | + 'AC_FUNC_MEMCMP' => 1, | ||
5355 | + 'AC_PROG_LN_S' => 1, | ||
5356 | + 'm4_include' => 1, | ||
5357 | + 'AC_HEADER_DIRENT' => 1, | ||
5358 | + 'AC_CHECK_FUNCS' => 1 | ||
5359 | + } | ||
5360 | + ], 'Autom4te::Request' ) | ||
5361 | + ); | ||
5362 | + | ||
5363 | diff -urNd -urNd quilt/autom4te.cache/traces.0 quilt.autoreconf/autom4te.cache/traces.0 | ||
5364 | --- quilt/autom4te.cache/traces.0 1969-12-31 18:00:00.000000000 -0600 | ||
5365 | +++ quilt.autoreconf/autom4te.cache/traces.0 2005-01-17 21:06:39.000000000 -0600 | ||
5366 | @@ -0,0 +1,185 @@ | ||
5367 | +m4trace:configure.ac:2: -1- AC_INIT([quilt], [0.37], [quilt-dev@nongnu.org]) | ||
5368 | +m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?A[CHUM]_]) | ||
5369 | +m4trace:configure.ac:2: -1- m4_pattern_forbid([_AC_]) | ||
5370 | +m4trace:configure.ac:2: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) | ||
5371 | +m4trace:configure.ac:2: -1- m4_pattern_allow([^AS_FLAGS$]) | ||
5372 | +m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?m4_]) | ||
5373 | +m4trace:configure.ac:2: -1- m4_pattern_forbid([^dnl$]) | ||
5374 | +m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?AS_]) | ||
5375 | +m4trace:configure.ac:2: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}]) | ||
5376 | +m4trace:configure.ac:2: -1- AC_SUBST([PATH_SEPARATOR]) | ||
5377 | +m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])]) | ||
5378 | +m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])]) | ||
5379 | +m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])]) | ||
5380 | +m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])]) | ||
5381 | +m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])]) | ||
5382 | +m4trace:configure.ac:2: -1- AC_SUBST([exec_prefix], [NONE]) | ||
5383 | +m4trace:configure.ac:2: -1- AC_SUBST([prefix], [NONE]) | ||
5384 | +m4trace:configure.ac:2: -1- AC_SUBST([program_transform_name], [s,x,x,]) | ||
5385 | +m4trace:configure.ac:2: -1- AC_SUBST([bindir], ['${exec_prefix}/bin']) | ||
5386 | +m4trace:configure.ac:2: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin']) | ||
5387 | +m4trace:configure.ac:2: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec']) | ||
5388 | +m4trace:configure.ac:2: -1- AC_SUBST([datadir], ['${prefix}/share']) | ||
5389 | +m4trace:configure.ac:2: -1- AC_SUBST([sysconfdir], ['${prefix}/etc']) | ||
5390 | +m4trace:configure.ac:2: -1- AC_SUBST([sharedstatedir], ['${prefix}/com']) | ||
5391 | +m4trace:configure.ac:2: -1- AC_SUBST([localstatedir], ['${prefix}/var']) | ||
5392 | +m4trace:configure.ac:2: -1- AC_SUBST([libdir], ['${exec_prefix}/lib']) | ||
5393 | +m4trace:configure.ac:2: -1- AC_SUBST([includedir], ['${prefix}/include']) | ||
5394 | +m4trace:configure.ac:2: -1- AC_SUBST([oldincludedir], ['/usr/include']) | ||
5395 | +m4trace:configure.ac:2: -1- AC_SUBST([infodir], ['${prefix}/info']) | ||
5396 | +m4trace:configure.ac:2: -1- AC_SUBST([mandir], ['${prefix}/man']) | ||
5397 | +m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME]) | ||
5398 | +m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */ | ||
5399 | +#undef PACKAGE_NAME]) | ||
5400 | +m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME]) | ||
5401 | +m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */ | ||
5402 | +#undef PACKAGE_TARNAME]) | ||
5403 | +m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) | ||
5404 | +m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */ | ||
5405 | +#undef PACKAGE_VERSION]) | ||
5406 | +m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING]) | ||
5407 | +m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */ | ||
5408 | +#undef PACKAGE_STRING]) | ||
5409 | +m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT]) | ||
5410 | +m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */ | ||
5411 | +#undef PACKAGE_BUGREPORT]) | ||
5412 | +m4trace:configure.ac:2: -1- AC_SUBST([build_alias]) | ||
5413 | +m4trace:configure.ac:2: -1- AC_SUBST([host_alias]) | ||
5414 | +m4trace:configure.ac:2: -1- AC_SUBST([target_alias]) | ||
5415 | +m4trace:configure.ac:2: -1- AC_SUBST([DEFS]) | ||
5416 | +m4trace:configure.ac:2: -1- AC_SUBST([ECHO_C]) | ||
5417 | +m4trace:configure.ac:2: -1- AC_SUBST([ECHO_N]) | ||
5418 | +m4trace:configure.ac:2: -1- AC_SUBST([ECHO_T]) | ||
5419 | +m4trace:configure.ac:2: -1- AC_SUBST([LIBS]) | ||
5420 | +m4trace:configure.ac:3: -1- AC_CONFIG_AUX_DIR([config]) | ||
5421 | +m4trace:configure.ac:8: -1- AC_SUBST([PACKAGE_RELEASE]) | ||
5422 | +m4trace:configure.ac:11: -1- AC_HEADER_STDC | ||
5423 | +m4trace:configure.ac:11: -1- AC_PROG_CC | ||
5424 | +m4trace:configure.ac:11: -1- AC_SUBST([CC]) | ||
5425 | +m4trace:configure.ac:11: -1- AC_SUBST([CFLAGS]) | ||
5426 | +m4trace:configure.ac:11: -1- AC_SUBST([LDFLAGS]) | ||
5427 | +m4trace:configure.ac:11: -1- AC_SUBST([CPPFLAGS]) | ||
5428 | +m4trace:configure.ac:11: -1- AC_SUBST([CC]) | ||
5429 | +m4trace:configure.ac:11: -1- AC_SUBST([ac_ct_CC]) | ||
5430 | +m4trace:configure.ac:11: -1- AC_SUBST([CC]) | ||
5431 | +m4trace:configure.ac:11: -1- AC_SUBST([ac_ct_CC]) | ||
5432 | +m4trace:configure.ac:11: -1- AC_SUBST([CC]) | ||
5433 | +m4trace:configure.ac:11: -1- AC_SUBST([CC]) | ||
5434 | +m4trace:configure.ac:11: -1- AC_SUBST([ac_ct_CC]) | ||
5435 | +m4trace:configure.ac:11: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) | ||
5436 | +m4trace:configure.ac:11: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) | ||
5437 | +m4trace:configure.ac:11: -1- AC_PROG_CPP | ||
5438 | +m4trace:configure.ac:11: -1- AC_SUBST([CPP]) | ||
5439 | +m4trace:configure.ac:11: -1- AC_SUBST([CPPFLAGS]) | ||
5440 | +m4trace:configure.ac:11: -1- AC_SUBST([CPP]) | ||
5441 | +m4trace:configure.ac:11: -1- AC_SUBST([EGREP]) | ||
5442 | +m4trace:configure.ac:11: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS]) | ||
5443 | +m4trace:configure.ac:11: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */ | ||
5444 | +#undef STDC_HEADERS]) | ||
5445 | +m4trace:configure.ac:12: -1- AC_CHECK_FUNCS([mkdir]) | ||
5446 | +m4trace:configure.ac:12: -1- AH_OUTPUT([HAVE_MKDIR], [/* Define to 1 if you have the `mkdir\' function. */ | ||
5447 | +#undef HAVE_MKDIR]) | ||
5448 | +m4trace:configure.ac:13: -1- AC_CHECK_FUNCS([rmdir]) | ||
5449 | +m4trace:configure.ac:13: -1- AH_OUTPUT([HAVE_RMDIR], [/* Define to 1 if you have the `rmdir\' function. */ | ||
5450 | +#undef HAVE_RMDIR]) | ||
5451 | +m4trace:configure.ac:14: -1- AC_CHECK_FUNCS([strchr]) | ||
5452 | +m4trace:configure.ac:14: -1- AH_OUTPUT([HAVE_STRCHR], [/* Define to 1 if you have the `strchr\' function. */ | ||
5453 | +#undef HAVE_STRCHR]) | ||
5454 | +m4trace:configure.ac:15: -1- AC_CHECK_FUNCS([strerror]) | ||
5455 | +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the `strerror\' function. */ | ||
5456 | +#undef HAVE_STRERROR]) | ||
5457 | +m4trace:configure.ac:16: -1- AC_CHECK_FUNCS([strrchr]) | ||
5458 | +m4trace:configure.ac:16: -1- AH_OUTPUT([HAVE_STRRCHR], [/* Define to 1 if you have the `strrchr\' function. */ | ||
5459 | +#undef HAVE_STRRCHR]) | ||
5460 | +m4trace:configure.ac:17: -1- AC_C_CONST | ||
5461 | +m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([const]) | ||
5462 | +m4trace:configure.ac:17: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */ | ||
5463 | +#undef const]) | ||
5464 | +m4trace:configure.ac:18: -1- AC_FUNC_STAT | ||
5465 | +m4trace:configure.ac:18: -1- AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK | ||
5466 | +m4trace:configure.ac:18: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
5467 | + inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default]) | ||
5468 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */ | ||
5469 | +#undef HAVE_SYS_TYPES_H]) | ||
5470 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */ | ||
5471 | +#undef HAVE_SYS_STAT_H]) | ||
5472 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */ | ||
5473 | +#undef HAVE_STDLIB_H]) | ||
5474 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */ | ||
5475 | +#undef HAVE_STRING_H]) | ||
5476 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */ | ||
5477 | +#undef HAVE_MEMORY_H]) | ||
5478 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */ | ||
5479 | +#undef HAVE_STRINGS_H]) | ||
5480 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */ | ||
5481 | +#undef HAVE_INTTYPES_H]) | ||
5482 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */ | ||
5483 | +#undef HAVE_STDINT_H]) | ||
5484 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */ | ||
5485 | +#undef HAVE_UNISTD_H]) | ||
5486 | +m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([LSTAT_FOLLOWS_SLASHED_SYMLINK]) | ||
5487 | +m4trace:configure.ac:18: -1- AH_OUTPUT([LSTAT_FOLLOWS_SLASHED_SYMLINK], [/* Define to 1 if `lstat\' dereferences a symlink specified with a trailing | ||
5488 | + slash. */ | ||
5489 | +#undef LSTAT_FOLLOWS_SLASHED_SYMLINK]) | ||
5490 | +m4trace:configure.ac:18: -1- AC_LIBSOURCE([lstat.c]) | ||
5491 | +m4trace:configure.ac:18: -1- AC_SUBST([LIB@&t@OBJS]) | ||
5492 | +m4trace:configure.ac:18: -1- AC_LIBSOURCE([stat.c]) | ||
5493 | +m4trace:configure.ac:18: -1- AC_SUBST([LIB@&t@OBJS]) | ||
5494 | +m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STAT_EMPTY_STRING_BUG]) | ||
5495 | +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_STAT_EMPTY_STRING_BUG], [/* Define to 1 if `stat\' has the bug that it succeeds when given the | ||
5496 | + zero-length file name argument. */ | ||
5497 | +#undef HAVE_STAT_EMPTY_STRING_BUG]) | ||
5498 | +m4trace:configure.ac:20: -1- AC_PROG_INSTALL | ||
5499 | +m4trace:configure.ac:20: -1- AC_SUBST([INSTALL_PROGRAM]) | ||
5500 | +m4trace:configure.ac:20: -1- AC_SUBST([INSTALL_SCRIPT]) | ||
5501 | +m4trace:configure.ac:20: -1- AC_SUBST([INSTALL_DATA]) | ||
5502 | +m4trace:configure.ac:34: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. | ||
5503 | +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from... | ||
5504 | +configure.ac:34: the top level]) | ||
5505 | +m4trace:configure.ac:41: -1- AC_SUBST([BASH]) | ||
5506 | +m4trace:configure.ac:41: -1- AC_SUBST([BASH], [$ac_cv_path_BASH]) | ||
5507 | +m4trace:configure.ac:62: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. | ||
5508 | +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from... | ||
5509 | +configure.ac:62: the top level]) | ||
5510 | +m4trace:configure.ac:69: -1- AC_SUBST([PERL]) | ||
5511 | +m4trace:configure.ac:69: -1- AC_SUBST([PERL], [$ac_cv_path_PERL]) | ||
5512 | +m4trace:configure.ac:76: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. | ||
5513 | +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from... | ||
5514 | +configure.ac:76: the top level]) | ||
5515 | +m4trace:configure.ac:84: -1- AC_SUBST([SED]) | ||
5516 | +m4trace:configure.ac:84: -1- AC_SUBST([SED]) | ||
5517 | +m4trace:configure.ac:88: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. | ||
5518 | +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from... | ||
5519 | +configure.ac:88: the top level]) | ||
5520 | +m4trace:configure.ac:95: -1- AC_SUBST([AWK]) | ||
5521 | +m4trace:configure.ac:95: -1- AC_SUBST([AWK], [$ac_cv_path_AWK]) | ||
5522 | +m4trace:configure.ac:106: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. | ||
5523 | +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from... | ||
5524 | +configure.ac:106: the top level]) | ||
5525 | +m4trace:configure.ac:113: -1- AC_SUBST([MKTEMP]) | ||
5526 | +m4trace:configure.ac:113: -1- AC_SUBST([MKTEMP], [$ac_cv_path_MKTEMP]) | ||
5527 | +m4trace:configure.ac:134: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. | ||
5528 | +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from... | ||
5529 | +configure.ac:134: the top level]) | ||
5530 | +m4trace:configure.ac:141: -1- AC_SUBST([DIFF]) | ||
5531 | +m4trace:configure.ac:141: -1- AC_SUBST([DIFF], [$ac_cv_path_DIFF]) | ||
5532 | +m4trace:configure.ac:148: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. | ||
5533 | +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from... | ||
5534 | +configure.ac:148: the top level]) | ||
5535 | +m4trace:configure.ac:155: -1- AC_SUBST([PATCH]) | ||
5536 | +m4trace:configure.ac:155: -1- AC_SUBST([PATCH], [$ac_cv_path_PATCH]) | ||
5537 | +m4trace:configure.ac:187: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. | ||
5538 | +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from... | ||
5539 | +configure.ac:187: the top level]) | ||
5540 | +m4trace:configure.ac:194: -1- AC_SUBST([DIFFSTAT]) | ||
5541 | +m4trace:configure.ac:194: -1- AC_SUBST([DIFFSTAT], [$ac_cv_path_DIFFSTAT]) | ||
5542 | +m4trace:configure.ac:207: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. | ||
5543 | +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from... | ||
5544 | +configure.ac:207: the top level]) | ||
5545 | +m4trace:configure.ac:209: -1- AC_SUBST([MSGFMT], [$ac_cv_path_MSGFMT]) | ||
5546 | +m4trace:configure.ac:228: -1- AC_SUBST([docdir]) | ||
5547 | +m4trace:configure.ac:231: -1- AC_SUBST([RPMBUILD], [$ac_cv_path_RPMBUILD]) | ||
5548 | +m4trace:configure.ac:232: -1- AC_SUBST([RPMBUILD]) | ||
5549 | +m4trace:configure.ac:234: -1- AC_CONFIG_FILES([Makefile]) | ||
5550 | +m4trace:configure.ac:235: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) | ||
5551 | +m4trace:configure.ac:235: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) | ||
5552 | diff -urNd -urNd quilt/configure quilt.autoreconf/configure | ||
5553 | --- quilt/configure 1969-12-31 18:00:00.000000000 -0600 | ||
5554 | +++ quilt.autoreconf/configure 2005-01-17 21:06:39.000000000 -0600 | ||
5555 | @@ -0,0 +1,5239 @@ | ||
5556 | +#! /bin/sh | ||
5557 | +# From configure.ac . | ||
5558 | +# Guess values for system-dependent variables and create Makefiles. | ||
5559 | +# Generated by GNU Autoconf 2.59 for quilt 0.37. | ||
5560 | +# | ||
5561 | +# Report bugs to <quilt-dev@nongnu.org>. | ||
5562 | +# | ||
5563 | +# Copyright (C) 2003 Free Software Foundation, Inc. | ||
5564 | +# This configure script is free software; the Free Software Foundation | ||
5565 | +# gives unlimited permission to copy, distribute and modify it. | ||
5566 | +## --------------------- ## | ||
5567 | +## M4sh Initialization. ## | ||
5568 | +## --------------------- ## | ||
5569 | + | ||
5570 | +# Be Bourne compatible | ||
5571 | +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
5572 | + emulate sh | ||
5573 | + NULLCMD=: | ||
5574 | + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
5575 | + # is contrary to our usage. Disable this feature. | ||
5576 | + alias -g '${1+"$@"}'='"$@"' | ||
5577 | +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | ||
5578 | + set -o posix | ||
5579 | +fi | ||
5580 | +DUALCASE=1; export DUALCASE # for MKS sh | ||
5581 | + | ||
5582 | +# Support unset when possible. | ||
5583 | +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
5584 | + as_unset=unset | ||
5585 | +else | ||
5586 | + as_unset=false | ||
5587 | +fi | ||
5588 | + | ||
5589 | + | ||
5590 | +# Work around bugs in pre-3.0 UWIN ksh. | ||
5591 | +$as_unset ENV MAIL MAILPATH | ||
5592 | +PS1='$ ' | ||
5593 | +PS2='> ' | ||
5594 | +PS4='+ ' | ||
5595 | + | ||
5596 | +# NLS nuisances. | ||
5597 | +for as_var in \ | ||
5598 | + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | ||
5599 | + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | ||
5600 | + LC_TELEPHONE LC_TIME | ||
5601 | +do | ||
5602 | + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | ||
5603 | + eval $as_var=C; export $as_var | ||
5604 | + else | ||
5605 | + $as_unset $as_var | ||
5606 | + fi | ||
5607 | +done | ||
5608 | + | ||
5609 | +# Required to use basename. | ||
5610 | +if expr a : '\(a\)' >/dev/null 2>&1; then | ||
5611 | + as_expr=expr | ||
5612 | +else | ||
5613 | + as_expr=false | ||
5614 | +fi | ||
5615 | + | ||
5616 | +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | ||
5617 | + as_basename=basename | ||
5618 | +else | ||
5619 | + as_basename=false | ||
5620 | +fi | ||
5621 | + | ||
5622 | + | ||
5623 | +# Name of the executable. | ||
5624 | +as_me=`$as_basename "$0" || | ||
5625 | +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
5626 | + X"$0" : 'X\(//\)$' \| \ | ||
5627 | + X"$0" : 'X\(/\)$' \| \ | ||
5628 | + . : '\(.\)' 2>/dev/null || | ||
5629 | +echo X/"$0" | | ||
5630 | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | ||
5631 | + /^X\/\(\/\/\)$/{ s//\1/; q; } | ||
5632 | + /^X\/\(\/\).*/{ s//\1/; q; } | ||
5633 | + s/.*/./; q'` | ||
5634 | + | ||
5635 | + | ||
5636 | +# PATH needs CR, and LINENO needs CR and PATH. | ||
5637 | +# Avoid depending upon Character Ranges. | ||
5638 | +as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
5639 | +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
5640 | +as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
5641 | +as_cr_digits='0123456789' | ||
5642 | +as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
5643 | + | ||
5644 | +# The user is always right. | ||
5645 | +if test "${PATH_SEPARATOR+set}" != set; then | ||
5646 | + echo "#! /bin/sh" >conf$$.sh | ||
5647 | + echo "exit 0" >>conf$$.sh | ||
5648 | + chmod +x conf$$.sh | ||
5649 | + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
5650 | + PATH_SEPARATOR=';' | ||
5651 | + else | ||
5652 | + PATH_SEPARATOR=: | ||
5653 | + fi | ||
5654 | + rm -f conf$$.sh | ||
5655 | +fi | ||
5656 | + | ||
5657 | + | ||
5658 | + as_lineno_1=$LINENO | ||
5659 | + as_lineno_2=$LINENO | ||
5660 | + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
5661 | + test "x$as_lineno_1" != "x$as_lineno_2" && | ||
5662 | + test "x$as_lineno_3" = "x$as_lineno_2" || { | ||
5663 | + # Find who we are. Look in the path if we contain no path at all | ||
5664 | + # relative or not. | ||
5665 | + case $0 in | ||
5666 | + *[\\/]* ) as_myself=$0 ;; | ||
5667 | + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
5668 | +for as_dir in $PATH | ||
5669 | +do | ||
5670 | + IFS=$as_save_IFS | ||
5671 | + test -z "$as_dir" && as_dir=. | ||
5672 | + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
5673 | +done | ||
5674 | + | ||
5675 | + ;; | ||
5676 | + esac | ||
5677 | + # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
5678 | + # in which case we are not to be found in the path. | ||
5679 | + if test "x$as_myself" = x; then | ||
5680 | + as_myself=$0 | ||
5681 | + fi | ||
5682 | + if test ! -f "$as_myself"; then | ||
5683 | + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | ||
5684 | + { (exit 1); exit 1; }; } | ||
5685 | + fi | ||
5686 | + case $CONFIG_SHELL in | ||
5687 | + '') | ||
5688 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
5689 | +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
5690 | +do | ||
5691 | + IFS=$as_save_IFS | ||
5692 | + test -z "$as_dir" && as_dir=. | ||
5693 | + for as_base in sh bash ksh sh5; do | ||
5694 | + case $as_dir in | ||
5695 | + /*) | ||
5696 | + if ("$as_dir/$as_base" -c ' | ||
5697 | + as_lineno_1=$LINENO | ||
5698 | + as_lineno_2=$LINENO | ||
5699 | + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
5700 | + test "x$as_lineno_1" != "x$as_lineno_2" && | ||
5701 | + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | ||
5702 | + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | ||
5703 | + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | ||
5704 | + CONFIG_SHELL=$as_dir/$as_base | ||
5705 | + export CONFIG_SHELL | ||
5706 | + exec "$CONFIG_SHELL" "$0" ${1+"$@"} | ||
5707 | + fi;; | ||
5708 | + esac | ||
5709 | + done | ||
5710 | +done | ||
5711 | +;; | ||
5712 | + esac | ||
5713 | + | ||
5714 | + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
5715 | + # uniformly replaced by the line number. The first 'sed' inserts a | ||
5716 | + # line-number line before each line; the second 'sed' does the real | ||
5717 | + # work. The second script uses 'N' to pair each line-number line | ||
5718 | + # with the numbered line, and appends trailing '-' during | ||
5719 | + # substitution so that $LINENO is not a special case at line end. | ||
5720 | + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
5721 | + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | ||
5722 | + sed '=' <$as_myself | | ||
5723 | + sed ' | ||
5724 | + N | ||
5725 | + s,$,-, | ||
5726 | + : loop | ||
5727 | + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | ||
5728 | + t loop | ||
5729 | + s,-$,, | ||
5730 | + s,^['$as_cr_digits']*\n,, | ||
5731 | + ' >$as_me.lineno && | ||
5732 | + chmod +x $as_me.lineno || | ||
5733 | + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | ||
5734 | + { (exit 1); exit 1; }; } | ||
5735 | + | ||
5736 | + # Don't try to exec as it changes $[0], causing all sort of problems | ||
5737 | + # (the dirname of $[0] is not the place where we might find the | ||
5738 | + # original and so on. Autoconf is especially sensible to this). | ||
5739 | + . ./$as_me.lineno | ||
5740 | + # Exit status is that of the last command. | ||
5741 | + exit | ||
5742 | +} | ||
5743 | + | ||
5744 | + | ||
5745 | +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | ||
5746 | + *c*,-n*) ECHO_N= ECHO_C=' | ||
5747 | +' ECHO_T=' ' ;; | ||
5748 | + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | ||
5749 | + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | ||
5750 | +esac | ||
5751 | + | ||
5752 | +if expr a : '\(a\)' >/dev/null 2>&1; then | ||
5753 | + as_expr=expr | ||
5754 | +else | ||
5755 | + as_expr=false | ||
5756 | +fi | ||
5757 | + | ||
5758 | +rm -f conf$$ conf$$.exe conf$$.file | ||
5759 | +echo >conf$$.file | ||
5760 | +if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
5761 | + # We could just check for DJGPP; but this test a) works b) is more generic | ||
5762 | + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | ||
5763 | + if test -f conf$$.exe; then | ||
5764 | + # Don't use ln at all; we don't have any links | ||
5765 | + as_ln_s='cp -p' | ||
5766 | + else | ||
5767 | + as_ln_s='ln -s' | ||
5768 | + fi | ||
5769 | +elif ln conf$$.file conf$$ 2>/dev/null; then | ||
5770 | + as_ln_s=ln | ||
5771 | +else | ||
5772 | + as_ln_s='cp -p' | ||
5773 | +fi | ||
5774 | +rm -f conf$$ conf$$.exe conf$$.file | ||
5775 | + | ||
5776 | +if mkdir -p . 2>/dev/null; then | ||
5777 | + as_mkdir_p=: | ||
5778 | +else | ||
5779 | + test -d ./-p && rmdir ./-p | ||
5780 | + as_mkdir_p=false | ||
5781 | +fi | ||
5782 | + | ||
5783 | +as_executable_p="test -f" | ||
5784 | + | ||
5785 | +# Sed expression to map a string onto a valid CPP name. | ||
5786 | +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | ||
5787 | + | ||
5788 | +# Sed expression to map a string onto a valid variable name. | ||
5789 | +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
5790 | + | ||
5791 | + | ||
5792 | +# IFS | ||
5793 | +# We need space, tab and new line, in precisely that order. | ||
5794 | +as_nl=' | ||
5795 | +' | ||
5796 | +IFS=" $as_nl" | ||
5797 | + | ||
5798 | +# CDPATH. | ||
5799 | +$as_unset CDPATH | ||
5800 | + | ||
5801 | + | ||
5802 | +# Name of the host. | ||
5803 | +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | ||
5804 | +# so uname gets run too. | ||
5805 | +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | ||
5806 | + | ||
5807 | +exec 6>&1 | ||
5808 | + | ||
5809 | +# | ||
5810 | +# Initializations. | ||
5811 | +# | ||
5812 | +ac_default_prefix=/usr/local | ||
5813 | +ac_config_libobj_dir=. | ||
5814 | +cross_compiling=no | ||
5815 | +subdirs= | ||
5816 | +MFLAGS= | ||
5817 | +MAKEFLAGS= | ||
5818 | +SHELL=${CONFIG_SHELL-/bin/sh} | ||
5819 | + | ||
5820 | +# Maximum number of lines to put in a shell here document. | ||
5821 | +# This variable seems obsolete. It should probably be removed, and | ||
5822 | +# only ac_max_sed_lines should be used. | ||
5823 | +: ${ac_max_here_lines=38} | ||
5824 | + | ||
5825 | +# Identity of this package. | ||
5826 | +PACKAGE_NAME='quilt' | ||
5827 | +PACKAGE_TARNAME='quilt' | ||
5828 | +PACKAGE_VERSION='0.37' | ||
5829 | +PACKAGE_STRING='quilt 0.37' | ||
5830 | +PACKAGE_BUGREPORT='quilt-dev@nongnu.org' | ||
5831 | + | ||
5832 | +# Factoring default headers for most tests. | ||
5833 | +ac_includes_default="\ | ||
5834 | +#include <stdio.h> | ||
5835 | +#if HAVE_SYS_TYPES_H | ||
5836 | +# include <sys/types.h> | ||
5837 | +#endif | ||
5838 | +#if HAVE_SYS_STAT_H | ||
5839 | +# include <sys/stat.h> | ||
5840 | +#endif | ||
5841 | +#if STDC_HEADERS | ||
5842 | +# include <stdlib.h> | ||
5843 | +# include <stddef.h> | ||
5844 | +#else | ||
5845 | +# if HAVE_STDLIB_H | ||
5846 | +# include <stdlib.h> | ||
5847 | +# endif | ||
5848 | +#endif | ||
5849 | +#if HAVE_STRING_H | ||
5850 | +# if !STDC_HEADERS && HAVE_MEMORY_H | ||
5851 | +# include <memory.h> | ||
5852 | +# endif | ||
5853 | +# include <string.h> | ||
5854 | +#endif | ||
5855 | +#if HAVE_STRINGS_H | ||
5856 | +# include <strings.h> | ||
5857 | +#endif | ||
5858 | +#if HAVE_INTTYPES_H | ||
5859 | +# include <inttypes.h> | ||
5860 | +#else | ||
5861 | +# if HAVE_STDINT_H | ||
5862 | +# include <stdint.h> | ||
5863 | +# endif | ||
5864 | +#endif | ||
5865 | +#if HAVE_UNISTD_H | ||
5866 | +# include <unistd.h> | ||
5867 | +#endif" | ||
5868 | + | ||
5869 | +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE_RELEASE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA BASH PERL SED AWK MKTEMP DIFF PATCH DIFFSTAT MSGFMT docdir RPMBUILD LTLIBOBJS' | ||
5870 | +ac_subst_files='' | ||
5871 | + | ||
5872 | +# Initialize some variables set by options. | ||
5873 | +ac_init_help= | ||
5874 | +ac_init_version=false | ||
5875 | +# The variables have the same names as the options, with | ||
5876 | +# dashes changed to underlines. | ||
5877 | +cache_file=/dev/null | ||
5878 | +exec_prefix=NONE | ||
5879 | +no_create= | ||
5880 | +no_recursion= | ||
5881 | +prefix=NONE | ||
5882 | +program_prefix=NONE | ||
5883 | +program_suffix=NONE | ||
5884 | +program_transform_name=s,x,x, | ||
5885 | +silent= | ||
5886 | +site= | ||
5887 | +srcdir= | ||
5888 | +verbose= | ||
5889 | +x_includes=NONE | ||
5890 | +x_libraries=NONE | ||
5891 | + | ||
5892 | +# Installation directory options. | ||
5893 | +# These are left unexpanded so users can "make install exec_prefix=/foo" | ||
5894 | +# and all the variables that are supposed to be based on exec_prefix | ||
5895 | +# by default will actually change. | ||
5896 | +# Use braces instead of parens because sh, perl, etc. also accept them. | ||
5897 | +bindir='${exec_prefix}/bin' | ||
5898 | +sbindir='${exec_prefix}/sbin' | ||
5899 | +libexecdir='${exec_prefix}/libexec' | ||
5900 | +datadir='${prefix}/share' | ||
5901 | +sysconfdir='${prefix}/etc' | ||
5902 | +sharedstatedir='${prefix}/com' | ||
5903 | +localstatedir='${prefix}/var' | ||
5904 | +libdir='${exec_prefix}/lib' | ||
5905 | +includedir='${prefix}/include' | ||
5906 | +oldincludedir='/usr/include' | ||
5907 | +infodir='${prefix}/info' | ||
5908 | +mandir='${prefix}/man' | ||
5909 | + | ||
5910 | +ac_prev= | ||
5911 | +for ac_option | ||
5912 | +do | ||
5913 | + # If the previous option needs an argument, assign it. | ||
5914 | + if test -n "$ac_prev"; then | ||
5915 | + eval "$ac_prev=\$ac_option" | ||
5916 | + ac_prev= | ||
5917 | + continue | ||
5918 | + fi | ||
5919 | + | ||
5920 | + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | ||
5921 | + | ||
5922 | + # Accept the important Cygnus configure options, so we can diagnose typos. | ||
5923 | + | ||
5924 | + case $ac_option in | ||
5925 | + | ||
5926 | + -bindir | --bindir | --bindi | --bind | --bin | --bi) | ||
5927 | + ac_prev=bindir ;; | ||
5928 | + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | ||
5929 | + bindir=$ac_optarg ;; | ||
5930 | + | ||
5931 | + -build | --build | --buil | --bui | --bu) | ||
5932 | + ac_prev=build_alias ;; | ||
5933 | + -build=* | --build=* | --buil=* | --bui=* | --bu=*) | ||
5934 | + build_alias=$ac_optarg ;; | ||
5935 | + | ||
5936 | + -cache-file | --cache-file | --cache-fil | --cache-fi \ | ||
5937 | + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | ||
5938 | + ac_prev=cache_file ;; | ||
5939 | + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | ||
5940 | + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | ||
5941 | + cache_file=$ac_optarg ;; | ||
5942 | + | ||
5943 | + --config-cache | -C) | ||
5944 | + cache_file=config.cache ;; | ||
5945 | + | ||
5946 | + -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | ||
5947 | + ac_prev=datadir ;; | ||
5948 | + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | ||
5949 | + | --da=*) | ||
5950 | + datadir=$ac_optarg ;; | ||
5951 | + | ||
5952 | + -disable-* | --disable-*) | ||
5953 | + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | ||
5954 | + # Reject names that are not valid shell variable names. | ||
5955 | + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
5956 | + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | ||
5957 | + { (exit 1); exit 1; }; } | ||
5958 | + ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ||
5959 | + eval "enable_$ac_feature=no" ;; | ||
5960 | + | ||
5961 | + -enable-* | --enable-*) | ||
5962 | + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | ||
5963 | + # Reject names that are not valid shell variable names. | ||
5964 | + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
5965 | + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | ||
5966 | + { (exit 1); exit 1; }; } | ||
5967 | + ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ||
5968 | + case $ac_option in | ||
5969 | + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
5970 | + *) ac_optarg=yes ;; | ||
5971 | + esac | ||
5972 | + eval "enable_$ac_feature='$ac_optarg'" ;; | ||
5973 | + | ||
5974 | + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | ||
5975 | + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | ||
5976 | + | --exec | --exe | --ex) | ||
5977 | + ac_prev=exec_prefix ;; | ||
5978 | + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | ||
5979 | + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | ||
5980 | + | --exec=* | --exe=* | --ex=*) | ||
5981 | + exec_prefix=$ac_optarg ;; | ||
5982 | + | ||
5983 | + -gas | --gas | --ga | --g) | ||
5984 | + # Obsolete; use --with-gas. | ||
5985 | + with_gas=yes ;; | ||
5986 | + | ||
5987 | + -help | --help | --hel | --he | -h) | ||
5988 | + ac_init_help=long ;; | ||
5989 | + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | ||
5990 | + ac_init_help=recursive ;; | ||
5991 | + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | ||
5992 | + ac_init_help=short ;; | ||
5993 | + | ||
5994 | + -host | --host | --hos | --ho) | ||
5995 | + ac_prev=host_alias ;; | ||
5996 | + -host=* | --host=* | --hos=* | --ho=*) | ||
5997 | + host_alias=$ac_optarg ;; | ||
5998 | + | ||
5999 | + -includedir | --includedir | --includedi | --included | --include \ | ||
6000 | + | --includ | --inclu | --incl | --inc) | ||
6001 | + ac_prev=includedir ;; | ||
6002 | + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | ||
6003 | + | --includ=* | --inclu=* | --incl=* | --inc=*) | ||
6004 | + includedir=$ac_optarg ;; | ||
6005 | + | ||
6006 | + -infodir | --infodir | --infodi | --infod | --info | --inf) | ||
6007 | + ac_prev=infodir ;; | ||
6008 | + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | ||
6009 | + infodir=$ac_optarg ;; | ||
6010 | + | ||
6011 | + -libdir | --libdir | --libdi | --libd) | ||
6012 | + ac_prev=libdir ;; | ||
6013 | + -libdir=* | --libdir=* | --libdi=* | --libd=*) | ||
6014 | + libdir=$ac_optarg ;; | ||
6015 | + | ||
6016 | + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | ||
6017 | + | --libexe | --libex | --libe) | ||
6018 | + ac_prev=libexecdir ;; | ||
6019 | + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | ||
6020 | + | --libexe=* | --libex=* | --libe=*) | ||
6021 | + libexecdir=$ac_optarg ;; | ||
6022 | + | ||
6023 | + -localstatedir | --localstatedir | --localstatedi | --localstated \ | ||
6024 | + | --localstate | --localstat | --localsta | --localst \ | ||
6025 | + | --locals | --local | --loca | --loc | --lo) | ||
6026 | + ac_prev=localstatedir ;; | ||
6027 | + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | ||
6028 | + | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | ||
6029 | + | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | ||
6030 | + localstatedir=$ac_optarg ;; | ||
6031 | + | ||
6032 | + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | ||
6033 | + ac_prev=mandir ;; | ||
6034 | + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | ||
6035 | + mandir=$ac_optarg ;; | ||
6036 | + | ||
6037 | + -nfp | --nfp | --nf) | ||
6038 | + # Obsolete; use --without-fp. | ||
6039 | + with_fp=no ;; | ||
6040 | + | ||
6041 | + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | ||
6042 | + | --no-cr | --no-c | -n) | ||
6043 | + no_create=yes ;; | ||
6044 | + | ||
6045 | + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | ||
6046 | + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | ||
6047 | + no_recursion=yes ;; | ||
6048 | + | ||
6049 | + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | ||
6050 | + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | ||
6051 | + | --oldin | --oldi | --old | --ol | --o) | ||
6052 | + ac_prev=oldincludedir ;; | ||
6053 | + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | ||
6054 | + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | ||
6055 | + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | ||
6056 | + oldincludedir=$ac_optarg ;; | ||
6057 | + | ||
6058 | + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | ||
6059 | + ac_prev=prefix ;; | ||
6060 | + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | ||
6061 | + prefix=$ac_optarg ;; | ||
6062 | + | ||
6063 | + -program-prefix | --program-prefix | --program-prefi | --program-pref \ | ||
6064 | + | --program-pre | --program-pr | --program-p) | ||
6065 | + ac_prev=program_prefix ;; | ||
6066 | + -program-prefix=* | --program-prefix=* | --program-prefi=* \ | ||
6067 | + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | ||
6068 | + program_prefix=$ac_optarg ;; | ||
6069 | + | ||
6070 | + -program-suffix | --program-suffix | --program-suffi | --program-suff \ | ||
6071 | + | --program-suf | --program-su | --program-s) | ||
6072 | + ac_prev=program_suffix ;; | ||
6073 | + -program-suffix=* | --program-suffix=* | --program-suffi=* \ | ||
6074 | + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | ||
6075 | + program_suffix=$ac_optarg ;; | ||
6076 | + | ||
6077 | + -program-transform-name | --program-transform-name \ | ||
6078 | + | --program-transform-nam | --program-transform-na \ | ||
6079 | + | --program-transform-n | --program-transform- \ | ||
6080 | + | --program-transform | --program-transfor \ | ||
6081 | + | --program-transfo | --program-transf \ | ||
6082 | + | --program-trans | --program-tran \ | ||
6083 | + | --progr-tra | --program-tr | --program-t) | ||
6084 | + ac_prev=program_transform_name ;; | ||
6085 | + -program-transform-name=* | --program-transform-name=* \ | ||
6086 | + | --program-transform-nam=* | --program-transform-na=* \ | ||
6087 | + | --program-transform-n=* | --program-transform-=* \ | ||
6088 | + | --program-transform=* | --program-transfor=* \ | ||
6089 | + | --program-transfo=* | --program-transf=* \ | ||
6090 | + | --program-trans=* | --program-tran=* \ | ||
6091 | + | --progr-tra=* | --program-tr=* | --program-t=*) | ||
6092 | + program_transform_name=$ac_optarg ;; | ||
6093 | + | ||
6094 | + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
6095 | + | -silent | --silent | --silen | --sile | --sil) | ||
6096 | + silent=yes ;; | ||
6097 | + | ||
6098 | + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | ||
6099 | + ac_prev=sbindir ;; | ||
6100 | + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | ||
6101 | + | --sbi=* | --sb=*) | ||
6102 | + sbindir=$ac_optarg ;; | ||
6103 | + | ||
6104 | + -sharedstatedir | --sharedstatedir | --sharedstatedi \ | ||
6105 | + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | ||
6106 | + | --sharedst | --shareds | --shared | --share | --shar \ | ||
6107 | + | --sha | --sh) | ||
6108 | + ac_prev=sharedstatedir ;; | ||
6109 | + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | ||
6110 | + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | ||
6111 | + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | ||
6112 | + | --sha=* | --sh=*) | ||
6113 | + sharedstatedir=$ac_optarg ;; | ||
6114 | + | ||
6115 | + -site | --site | --sit) | ||
6116 | + ac_prev=site ;; | ||
6117 | + -site=* | --site=* | --sit=*) | ||
6118 | + site=$ac_optarg ;; | ||
6119 | + | ||
6120 | + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | ||
6121 | + ac_prev=srcdir ;; | ||
6122 | + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | ||
6123 | + srcdir=$ac_optarg ;; | ||
6124 | + | ||
6125 | + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | ||
6126 | + | --syscon | --sysco | --sysc | --sys | --sy) | ||
6127 | + ac_prev=sysconfdir ;; | ||
6128 | + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | ||
6129 | + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | ||
6130 | + sysconfdir=$ac_optarg ;; | ||
6131 | + | ||
6132 | + -target | --target | --targe | --targ | --tar | --ta | --t) | ||
6133 | + ac_prev=target_alias ;; | ||
6134 | + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | ||
6135 | + target_alias=$ac_optarg ;; | ||
6136 | + | ||
6137 | + -v | -verbose | --verbose | --verbos | --verbo | --verb) | ||
6138 | + verbose=yes ;; | ||
6139 | + | ||
6140 | + -version | --version | --versio | --versi | --vers | -V) | ||
6141 | + ac_init_version=: ;; | ||
6142 | + | ||
6143 | + -with-* | --with-*) | ||
6144 | + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | ||
6145 | + # Reject names that are not valid shell variable names. | ||
6146 | + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
6147 | + { echo "$as_me: error: invalid package name: $ac_package" >&2 | ||
6148 | + { (exit 1); exit 1; }; } | ||
6149 | + ac_package=`echo $ac_package| sed 's/-/_/g'` | ||
6150 | + case $ac_option in | ||
6151 | + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
6152 | + *) ac_optarg=yes ;; | ||
6153 | + esac | ||
6154 | + eval "with_$ac_package='$ac_optarg'" ;; | ||
6155 | + | ||
6156 | + -without-* | --without-*) | ||
6157 | + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | ||
6158 | + # Reject names that are not valid shell variable names. | ||
6159 | + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
6160 | + { echo "$as_me: error: invalid package name: $ac_package" >&2 | ||
6161 | + { (exit 1); exit 1; }; } | ||
6162 | + ac_package=`echo $ac_package | sed 's/-/_/g'` | ||
6163 | + eval "with_$ac_package=no" ;; | ||
6164 | + | ||
6165 | + --x) | ||
6166 | + # Obsolete; use --with-x. | ||
6167 | + with_x=yes ;; | ||
6168 | + | ||
6169 | + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | ||
6170 | + | --x-incl | --x-inc | --x-in | --x-i) | ||
6171 | + ac_prev=x_includes ;; | ||
6172 | + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | ||
6173 | + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | ||
6174 | + x_includes=$ac_optarg ;; | ||
6175 | + | ||
6176 | + -x-libraries | --x-libraries | --x-librarie | --x-librari \ | ||
6177 | + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | ||
6178 | + ac_prev=x_libraries ;; | ||
6179 | + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | ||
6180 | + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | ||
6181 | + x_libraries=$ac_optarg ;; | ||
6182 | + | ||
6183 | + -*) { echo "$as_me: error: unrecognized option: $ac_option | ||
6184 | +Try \`$0 --help' for more information." >&2 | ||
6185 | + { (exit 1); exit 1; }; } | ||
6186 | + ;; | ||
6187 | + | ||
6188 | + *=*) | ||
6189 | + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | ||
6190 | + # Reject names that are not valid shell variable names. | ||
6191 | + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | ||
6192 | + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | ||
6193 | + { (exit 1); exit 1; }; } | ||
6194 | + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | ||
6195 | + eval "$ac_envvar='$ac_optarg'" | ||
6196 | + export $ac_envvar ;; | ||
6197 | + | ||
6198 | + *) | ||
6199 | + # FIXME: should be removed in autoconf 3.0. | ||
6200 | + echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | ||
6201 | + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | ||
6202 | + echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | ||
6203 | + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | ||
6204 | + ;; | ||
6205 | + | ||
6206 | + esac | ||
6207 | +done | ||
6208 | + | ||
6209 | +if test -n "$ac_prev"; then | ||
6210 | + ac_option=--`echo $ac_prev | sed 's/_/-/g'` | ||
6211 | + { echo "$as_me: error: missing argument to $ac_option" >&2 | ||
6212 | + { (exit 1); exit 1; }; } | ||
6213 | +fi | ||
6214 | + | ||
6215 | +# Be sure to have absolute paths. | ||
6216 | +for ac_var in exec_prefix prefix | ||
6217 | +do | ||
6218 | + eval ac_val=$`echo $ac_var` | ||
6219 | + case $ac_val in | ||
6220 | + [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | ||
6221 | + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
6222 | + { (exit 1); exit 1; }; };; | ||
6223 | + esac | ||
6224 | +done | ||
6225 | + | ||
6226 | +# Be sure to have absolute paths. | ||
6227 | +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | ||
6228 | + localstatedir libdir includedir oldincludedir infodir mandir | ||
6229 | +do | ||
6230 | + eval ac_val=$`echo $ac_var` | ||
6231 | + case $ac_val in | ||
6232 | + [\\/$]* | ?:[\\/]* ) ;; | ||
6233 | + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
6234 | + { (exit 1); exit 1; }; };; | ||
6235 | + esac | ||
6236 | +done | ||
6237 | + | ||
6238 | +# There might be people who depend on the old broken behavior: `$host' | ||
6239 | +# used to hold the argument of --host etc. | ||
6240 | +# FIXME: To remove some day. | ||
6241 | +build=$build_alias | ||
6242 | +host=$host_alias | ||
6243 | +target=$target_alias | ||
6244 | + | ||
6245 | +# FIXME: To remove some day. | ||
6246 | +if test "x$host_alias" != x; then | ||
6247 | + if test "x$build_alias" = x; then | ||
6248 | + cross_compiling=maybe | ||
6249 | + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | ||
6250 | + If a cross compiler is detected then cross compile mode will be used." >&2 | ||
6251 | + elif test "x$build_alias" != "x$host_alias"; then | ||
6252 | + cross_compiling=yes | ||
6253 | + fi | ||
6254 | +fi | ||
6255 | + | ||
6256 | +ac_tool_prefix= | ||
6257 | +test -n "$host_alias" && ac_tool_prefix=$host_alias- | ||
6258 | + | ||
6259 | +test "$silent" = yes && exec 6>/dev/null | ||
6260 | + | ||
6261 | + | ||
6262 | +# Find the source files, if location was not specified. | ||
6263 | +if test -z "$srcdir"; then | ||
6264 | + ac_srcdir_defaulted=yes | ||
6265 | + # Try the directory containing this script, then its parent. | ||
6266 | + ac_confdir=`(dirname "$0") 2>/dev/null || | ||
6267 | +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
6268 | + X"$0" : 'X\(//\)[^/]' \| \ | ||
6269 | + X"$0" : 'X\(//\)$' \| \ | ||
6270 | + X"$0" : 'X\(/\)' \| \ | ||
6271 | + . : '\(.\)' 2>/dev/null || | ||
6272 | +echo X"$0" | | ||
6273 | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
6274 | + /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
6275 | + /^X\(\/\/\)$/{ s//\1/; q; } | ||
6276 | + /^X\(\/\).*/{ s//\1/; q; } | ||
6277 | + s/.*/./; q'` | ||
6278 | + srcdir=$ac_confdir | ||
6279 | + if test ! -r $srcdir/$ac_unique_file; then | ||
6280 | + srcdir=.. | ||
6281 | + fi | ||
6282 | +else | ||
6283 | + ac_srcdir_defaulted=no | ||
6284 | +fi | ||
6285 | +if test ! -r $srcdir/$ac_unique_file; then | ||
6286 | + if test "$ac_srcdir_defaulted" = yes; then | ||
6287 | + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | ||
6288 | + { (exit 1); exit 1; }; } | ||
6289 | + else | ||
6290 | + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | ||
6291 | + { (exit 1); exit 1; }; } | ||
6292 | + fi | ||
6293 | +fi | ||
6294 | +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || | ||
6295 | + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | ||
6296 | + { (exit 1); exit 1; }; } | ||
6297 | +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | ||
6298 | +ac_env_build_alias_set=${build_alias+set} | ||
6299 | +ac_env_build_alias_value=$build_alias | ||
6300 | +ac_cv_env_build_alias_set=${build_alias+set} | ||
6301 | +ac_cv_env_build_alias_value=$build_alias | ||
6302 | +ac_env_host_alias_set=${host_alias+set} | ||
6303 | +ac_env_host_alias_value=$host_alias | ||
6304 | +ac_cv_env_host_alias_set=${host_alias+set} | ||
6305 | +ac_cv_env_host_alias_value=$host_alias | ||
6306 | +ac_env_target_alias_set=${target_alias+set} | ||
6307 | +ac_env_target_alias_value=$target_alias | ||
6308 | +ac_cv_env_target_alias_set=${target_alias+set} | ||
6309 | +ac_cv_env_target_alias_value=$target_alias | ||
6310 | +ac_env_CC_set=${CC+set} | ||
6311 | +ac_env_CC_value=$CC | ||
6312 | +ac_cv_env_CC_set=${CC+set} | ||
6313 | +ac_cv_env_CC_value=$CC | ||
6314 | +ac_env_CFLAGS_set=${CFLAGS+set} | ||
6315 | +ac_env_CFLAGS_value=$CFLAGS | ||
6316 | +ac_cv_env_CFLAGS_set=${CFLAGS+set} | ||
6317 | +ac_cv_env_CFLAGS_value=$CFLAGS | ||
6318 | +ac_env_LDFLAGS_set=${LDFLAGS+set} | ||
6319 | +ac_env_LDFLAGS_value=$LDFLAGS | ||
6320 | +ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | ||
6321 | +ac_cv_env_LDFLAGS_value=$LDFLAGS | ||
6322 | +ac_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
6323 | +ac_env_CPPFLAGS_value=$CPPFLAGS | ||
6324 | +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
6325 | +ac_cv_env_CPPFLAGS_value=$CPPFLAGS | ||
6326 | +ac_env_CPP_set=${CPP+set} | ||
6327 | +ac_env_CPP_value=$CPP | ||
6328 | +ac_cv_env_CPP_set=${CPP+set} | ||
6329 | +ac_cv_env_CPP_value=$CPP | ||
6330 | + | ||
6331 | +# | ||
6332 | +# Report the --help message. | ||
6333 | +# | ||
6334 | +if test "$ac_init_help" = "long"; then | ||
6335 | + # Omit some internal or obsolete options to make the list less imposing. | ||
6336 | + # This message is too long to be a string in the A/UX 3.1 sh. | ||
6337 | + cat <<_ACEOF | ||
6338 | +\`configure' configures quilt 0.37 to adapt to many kinds of systems. | ||
6339 | + | ||
6340 | +Usage: $0 [OPTION]... [VAR=VALUE]... | ||
6341 | + | ||
6342 | +To assign environment variables (e.g., CC, CFLAGS...), specify them as | ||
6343 | +VAR=VALUE. See below for descriptions of some of the useful variables. | ||
6344 | + | ||
6345 | +Defaults for the options are specified in brackets. | ||
6346 | + | ||
6347 | +Configuration: | ||
6348 | + -h, --help display this help and exit | ||
6349 | + --help=short display options specific to this package | ||
6350 | + --help=recursive display the short help of all the included packages | ||
6351 | + -V, --version display version information and exit | ||
6352 | + -q, --quiet, --silent do not print \`checking...' messages | ||
6353 | + --cache-file=FILE cache test results in FILE [disabled] | ||
6354 | + -C, --config-cache alias for \`--cache-file=config.cache' | ||
6355 | + -n, --no-create do not create output files | ||
6356 | + --srcdir=DIR find the sources in DIR [configure dir or \`..'] | ||
6357 | + | ||
6358 | +_ACEOF | ||
6359 | + | ||
6360 | + cat <<_ACEOF | ||
6361 | +Installation directories: | ||
6362 | + --prefix=PREFIX install architecture-independent files in PREFIX | ||
6363 | + [$ac_default_prefix] | ||
6364 | + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | ||
6365 | + [PREFIX] | ||
6366 | + | ||
6367 | +By default, \`make install' will install all the files in | ||
6368 | +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | ||
6369 | +an installation prefix other than \`$ac_default_prefix' using \`--prefix', | ||
6370 | +for instance \`--prefix=\$HOME'. | ||
6371 | + | ||
6372 | +For better control, use the options below. | ||
6373 | + | ||
6374 | +Fine tuning of the installation directories: | ||
6375 | + --bindir=DIR user executables [EPREFIX/bin] | ||
6376 | + --sbindir=DIR system admin executables [EPREFIX/sbin] | ||
6377 | + --libexecdir=DIR program executables [EPREFIX/libexec] | ||
6378 | + --datadir=DIR read-only architecture-independent data [PREFIX/share] | ||
6379 | + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | ||
6380 | + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | ||
6381 | + --localstatedir=DIR modifiable single-machine data [PREFIX/var] | ||
6382 | + --libdir=DIR object code libraries [EPREFIX/lib] | ||
6383 | + --includedir=DIR C header files [PREFIX/include] | ||
6384 | + --oldincludedir=DIR C header files for non-gcc [/usr/include] | ||
6385 | + --infodir=DIR info documentation [PREFIX/info] | ||
6386 | + --mandir=DIR man documentation [PREFIX/man] | ||
6387 | +_ACEOF | ||
6388 | + | ||
6389 | + cat <<\_ACEOF | ||
6390 | +_ACEOF | ||
6391 | +fi | ||
6392 | + | ||
6393 | +if test -n "$ac_init_help"; then | ||
6394 | + case $ac_init_help in | ||
6395 | + short | recursive ) echo "Configuration of quilt 0.37:";; | ||
6396 | + esac | ||
6397 | + cat <<\_ACEOF | ||
6398 | + | ||
6399 | +Optional Features: | ||
6400 | + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | ||
6401 | + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | ||
6402 | + --enable-nls include natural language support | ||
6403 | + | ||
6404 | +Optional Packages: | ||
6405 | + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | ||
6406 | + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | ||
6407 | + --with-bash name of the bash executable to use | ||
6408 | + --with-perl name of the Perl executable to use | ||
6409 | + --with-sed name of the sed executable to use | ||
6410 | + --with-awk name of the awk executable to use | ||
6411 | + --with-mktemp name of the mktemp executable to use (or 'none' to | ||
6412 | + use a quilt internal mechanism) | ||
6413 | + --with-diff name of the diff executable to use | ||
6414 | + --with-patch name of the patch executable to use | ||
6415 | + --with-diffstat name of the diffstat executable to use | ||
6416 | + | ||
6417 | +Some influential environment variables: | ||
6418 | + CC C compiler command | ||
6419 | + CFLAGS C compiler flags | ||
6420 | + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | ||
6421 | + nonstandard directory <lib dir> | ||
6422 | + CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | ||
6423 | + headers in a nonstandard directory <include dir> | ||
6424 | + CPP C preprocessor | ||
6425 | + | ||
6426 | +Use these variables to override the choices made by `configure' or to help | ||
6427 | +it to find libraries and programs with nonstandard names/locations. | ||
6428 | + | ||
6429 | +Report bugs to <quilt-dev@nongnu.org>. | ||
6430 | +_ACEOF | ||
6431 | +fi | ||
6432 | + | ||
6433 | +if test "$ac_init_help" = "recursive"; then | ||
6434 | + # If there are subdirs, report their specific --help. | ||
6435 | + ac_popdir=`pwd` | ||
6436 | + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | ||
6437 | + test -d $ac_dir || continue | ||
6438 | + ac_builddir=. | ||
6439 | + | ||
6440 | +if test "$ac_dir" != .; then | ||
6441 | + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | ||
6442 | + # A "../" for each directory in $ac_dir_suffix. | ||
6443 | + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | ||
6444 | +else | ||
6445 | + ac_dir_suffix= ac_top_builddir= | ||
6446 | +fi | ||
6447 | + | ||
6448 | +case $srcdir in | ||
6449 | + .) # No --srcdir option. We are building in place. | ||
6450 | + ac_srcdir=. | ||
6451 | + if test -z "$ac_top_builddir"; then | ||
6452 | + ac_top_srcdir=. | ||
6453 | + else | ||
6454 | + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
6455 | + fi ;; | ||
6456 | + [\\/]* | ?:[\\/]* ) # Absolute path. | ||
6457 | + ac_srcdir=$srcdir$ac_dir_suffix; | ||
6458 | + ac_top_srcdir=$srcdir ;; | ||
6459 | + *) # Relative path. | ||
6460 | + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | ||
6461 | + ac_top_srcdir=$ac_top_builddir$srcdir ;; | ||
6462 | +esac | ||
6463 | + | ||
6464 | +# Do not use `cd foo && pwd` to compute absolute paths, because | ||
6465 | +# the directories may not exist. | ||
6466 | +case `pwd` in | ||
6467 | +.) ac_abs_builddir="$ac_dir";; | ||
6468 | +*) | ||
6469 | + case "$ac_dir" in | ||
6470 | + .) ac_abs_builddir=`pwd`;; | ||
6471 | + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | ||
6472 | + *) ac_abs_builddir=`pwd`/"$ac_dir";; | ||
6473 | + esac;; | ||
6474 | +esac | ||
6475 | +case $ac_abs_builddir in | ||
6476 | +.) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
6477 | +*) | ||
6478 | + case ${ac_top_builddir}. in | ||
6479 | + .) ac_abs_top_builddir=$ac_abs_builddir;; | ||
6480 | + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
6481 | + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | ||
6482 | + esac;; | ||
6483 | +esac | ||
6484 | +case $ac_abs_builddir in | ||
6485 | +.) ac_abs_srcdir=$ac_srcdir;; | ||
6486 | +*) | ||
6487 | + case $ac_srcdir in | ||
6488 | + .) ac_abs_srcdir=$ac_abs_builddir;; | ||
6489 | + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | ||
6490 | + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | ||
6491 | + esac;; | ||
6492 | +esac | ||
6493 | +case $ac_abs_builddir in | ||
6494 | +.) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
6495 | +*) | ||
6496 | + case $ac_top_srcdir in | ||
6497 | + .) ac_abs_top_srcdir=$ac_abs_builddir;; | ||
6498 | + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
6499 | + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | ||
6500 | + esac;; | ||
6501 | +esac | ||
6502 | + | ||
6503 | + cd $ac_dir | ||
6504 | + # Check for guested configure; otherwise get Cygnus style configure. | ||
6505 | + if test -f $ac_srcdir/configure.gnu; then | ||
6506 | + echo | ||
6507 | + $SHELL $ac_srcdir/configure.gnu --help=recursive | ||
6508 | + elif test -f $ac_srcdir/configure; then | ||
6509 | + echo | ||
6510 | + $SHELL $ac_srcdir/configure --help=recursive | ||
6511 | + elif test -f $ac_srcdir/configure.ac || | ||
6512 | + test -f $ac_srcdir/configure.in; then | ||
6513 | + echo | ||
6514 | + $ac_configure --help | ||
6515 | + else | ||
6516 | + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | ||
6517 | + fi | ||
6518 | + cd "$ac_popdir" | ||
6519 | + done | ||
6520 | +fi | ||
6521 | + | ||
6522 | +test -n "$ac_init_help" && exit 0 | ||
6523 | +if $ac_init_version; then | ||
6524 | + cat <<\_ACEOF | ||
6525 | +quilt configure 0.37 | ||
6526 | +generated by GNU Autoconf 2.59 | ||
6527 | + | ||
6528 | +Copyright (C) 2003 Free Software Foundation, Inc. | ||
6529 | +This configure script is free software; the Free Software Foundation | ||
6530 | +gives unlimited permission to copy, distribute and modify it. | ||
6531 | +_ACEOF | ||
6532 | + exit 0 | ||
6533 | +fi | ||
6534 | +exec 5>config.log | ||
6535 | +cat >&5 <<_ACEOF | ||
6536 | +This file contains any messages produced by compilers while | ||
6537 | +running configure, to aid debugging if configure makes a mistake. | ||
6538 | + | ||
6539 | +It was created by quilt $as_me 0.37, which was | ||
6540 | +generated by GNU Autoconf 2.59. Invocation command line was | ||
6541 | + | ||
6542 | + $ $0 $@ | ||
6543 | + | ||
6544 | +_ACEOF | ||
6545 | +{ | ||
6546 | +cat <<_ASUNAME | ||
6547 | +## --------- ## | ||
6548 | +## Platform. ## | ||
6549 | +## --------- ## | ||
6550 | + | ||
6551 | +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
6552 | +uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
6553 | +uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
6554 | +uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
6555 | +uname -v = `(uname -v) 2>/dev/null || echo unknown` | ||
6556 | + | ||
6557 | +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | ||
6558 | +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | ||
6559 | + | ||
6560 | +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | ||
6561 | +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | ||
6562 | +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | ||
6563 | +hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | ||
6564 | +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | ||
6565 | +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | ||
6566 | +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | ||
6567 | + | ||
6568 | +_ASUNAME | ||
6569 | + | ||
6570 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
6571 | +for as_dir in $PATH | ||
6572 | +do | ||
6573 | + IFS=$as_save_IFS | ||
6574 | + test -z "$as_dir" && as_dir=. | ||
6575 | + echo "PATH: $as_dir" | ||
6576 | +done | ||
6577 | + | ||
6578 | +} >&5 | ||
6579 | + | ||
6580 | +cat >&5 <<_ACEOF | ||
6581 | + | ||
6582 | + | ||
6583 | +## ----------- ## | ||
6584 | +## Core tests. ## | ||
6585 | +## ----------- ## | ||
6586 | + | ||
6587 | +_ACEOF | ||
6588 | + | ||
6589 | + | ||
6590 | +# Keep a trace of the command line. | ||
6591 | +# Strip out --no-create and --no-recursion so they do not pile up. | ||
6592 | +# Strip out --silent because we don't want to record it for future runs. | ||
6593 | +# Also quote any args containing shell meta-characters. | ||
6594 | +# Make two passes to allow for proper duplicate-argument suppression. | ||
6595 | +ac_configure_args= | ||
6596 | +ac_configure_args0= | ||
6597 | +ac_configure_args1= | ||
6598 | +ac_sep= | ||
6599 | +ac_must_keep_next=false | ||
6600 | +for ac_pass in 1 2 | ||
6601 | +do | ||
6602 | + for ac_arg | ||
6603 | + do | ||
6604 | + case $ac_arg in | ||
6605 | + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | ||
6606 | + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
6607 | + | -silent | --silent | --silen | --sile | --sil) | ||
6608 | + continue ;; | ||
6609 | + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | ||
6610 | + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
6611 | + esac | ||
6612 | + case $ac_pass in | ||
6613 | + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | ||
6614 | + 2) | ||
6615 | + ac_configure_args1="$ac_configure_args1 '$ac_arg'" | ||
6616 | + if test $ac_must_keep_next = true; then | ||
6617 | + ac_must_keep_next=false # Got value, back to normal. | ||
6618 | + else | ||
6619 | + case $ac_arg in | ||
6620 | + *=* | --config-cache | -C | -disable-* | --disable-* \ | ||
6621 | + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | ||
6622 | + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | ||
6623 | + | -with-* | --with-* | -without-* | --without-* | --x) | ||
6624 | + case "$ac_configure_args0 " in | ||
6625 | + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | ||
6626 | + esac | ||
6627 | + ;; | ||
6628 | + -* ) ac_must_keep_next=true ;; | ||
6629 | + esac | ||
6630 | + fi | ||
6631 | + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | ||
6632 | + # Get rid of the leading space. | ||
6633 | + ac_sep=" " | ||
6634 | + ;; | ||
6635 | + esac | ||
6636 | + done | ||
6637 | +done | ||
6638 | +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | ||
6639 | +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | ||
6640 | + | ||
6641 | +# When interrupted or exit'd, cleanup temporary files, and complete | ||
6642 | +# config.log. We remove comments because anyway the quotes in there | ||
6643 | +# would cause problems or look ugly. | ||
6644 | +# WARNING: Be sure not to use single quotes in there, as some shells, | ||
6645 | +# such as our DU 5.0 friend, will then `close' the trap. | ||
6646 | +trap 'exit_status=$? | ||
6647 | + # Save into config.log some information that might help in debugging. | ||
6648 | + { | ||
6649 | + echo | ||
6650 | + | ||
6651 | + cat <<\_ASBOX | ||
6652 | +## ---------------- ## | ||
6653 | +## Cache variables. ## | ||
6654 | +## ---------------- ## | ||
6655 | +_ASBOX | ||
6656 | + echo | ||
6657 | + # The following way of writing the cache mishandles newlines in values, | ||
6658 | +{ | ||
6659 | + (set) 2>&1 | | ||
6660 | + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | ||
6661 | + *ac_space=\ *) | ||
6662 | + sed -n \ | ||
6663 | + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | ||
6664 | + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | ||
6665 | + ;; | ||
6666 | + *) | ||
6667 | + sed -n \ | ||
6668 | + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | ||
6669 | + ;; | ||
6670 | + esac; | ||
6671 | +} | ||
6672 | + echo | ||
6673 | + | ||
6674 | + cat <<\_ASBOX | ||
6675 | +## ----------------- ## | ||
6676 | +## Output variables. ## | ||
6677 | +## ----------------- ## | ||
6678 | +_ASBOX | ||
6679 | + echo | ||
6680 | + for ac_var in $ac_subst_vars | ||
6681 | + do | ||
6682 | + eval ac_val=$`echo $ac_var` | ||
6683 | + echo "$ac_var='"'"'$ac_val'"'"'" | ||
6684 | + done | sort | ||
6685 | + echo | ||
6686 | + | ||
6687 | + if test -n "$ac_subst_files"; then | ||
6688 | + cat <<\_ASBOX | ||
6689 | +## ------------- ## | ||
6690 | +## Output files. ## | ||
6691 | +## ------------- ## | ||
6692 | +_ASBOX | ||
6693 | + echo | ||
6694 | + for ac_var in $ac_subst_files | ||
6695 | + do | ||
6696 | + eval ac_val=$`echo $ac_var` | ||
6697 | + echo "$ac_var='"'"'$ac_val'"'"'" | ||
6698 | + done | sort | ||
6699 | + echo | ||
6700 | + fi | ||
6701 | + | ||
6702 | + if test -s confdefs.h; then | ||
6703 | + cat <<\_ASBOX | ||
6704 | +## ----------- ## | ||
6705 | +## confdefs.h. ## | ||
6706 | +## ----------- ## | ||
6707 | +_ASBOX | ||
6708 | + echo | ||
6709 | + sed "/^$/d" confdefs.h | sort | ||
6710 | + echo | ||
6711 | + fi | ||
6712 | + test "$ac_signal" != 0 && | ||
6713 | + echo "$as_me: caught signal $ac_signal" | ||
6714 | + echo "$as_me: exit $exit_status" | ||
6715 | + } >&5 | ||
6716 | + rm -f core *.core && | ||
6717 | + rm -rf conftest* confdefs* conf$$* $ac_clean_files && | ||
6718 | + exit $exit_status | ||
6719 | + ' 0 | ||
6720 | +for ac_signal in 1 2 13 15; do | ||
6721 | + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | ||
6722 | +done | ||
6723 | +ac_signal=0 | ||
6724 | + | ||
6725 | +# confdefs.h avoids OS command line length limits that DEFS can exceed. | ||
6726 | +rm -rf conftest* confdefs.h | ||
6727 | +# AIX cpp loses on an empty file, so make sure it contains at least a newline. | ||
6728 | +echo >confdefs.h | ||
6729 | + | ||
6730 | +# Predefined preprocessor variables. | ||
6731 | + | ||
6732 | +cat >>confdefs.h <<_ACEOF | ||
6733 | +#define PACKAGE_NAME "$PACKAGE_NAME" | ||
6734 | +_ACEOF | ||
6735 | + | ||
6736 | + | ||
6737 | +cat >>confdefs.h <<_ACEOF | ||
6738 | +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" | ||
6739 | +_ACEOF | ||
6740 | + | ||
6741 | + | ||
6742 | +cat >>confdefs.h <<_ACEOF | ||
6743 | +#define PACKAGE_VERSION "$PACKAGE_VERSION" | ||
6744 | +_ACEOF | ||
6745 | + | ||
6746 | + | ||
6747 | +cat >>confdefs.h <<_ACEOF | ||
6748 | +#define PACKAGE_STRING "$PACKAGE_STRING" | ||
6749 | +_ACEOF | ||
6750 | + | ||
6751 | + | ||
6752 | +cat >>confdefs.h <<_ACEOF | ||
6753 | +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
6754 | +_ACEOF | ||
6755 | + | ||
6756 | + | ||
6757 | +# Let the site file select an alternate cache file if it wants to. | ||
6758 | +# Prefer explicitly selected file to automatically selected ones. | ||
6759 | +if test -z "$CONFIG_SITE"; then | ||
6760 | + if test "x$prefix" != xNONE; then | ||
6761 | + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | ||
6762 | + else | ||
6763 | + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | ||
6764 | + fi | ||
6765 | +fi | ||
6766 | +for ac_site_file in $CONFIG_SITE; do | ||
6767 | + if test -r "$ac_site_file"; then | ||
6768 | + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | ||
6769 | +echo "$as_me: loading site script $ac_site_file" >&6;} | ||
6770 | + sed 's/^/| /' "$ac_site_file" >&5 | ||
6771 | + . "$ac_site_file" | ||
6772 | + fi | ||
6773 | +done | ||
6774 | + | ||
6775 | +if test -r "$cache_file"; then | ||
6776 | + # Some versions of bash will fail to source /dev/null (special | ||
6777 | + # files actually), so we avoid doing that. | ||
6778 | + if test -f "$cache_file"; then | ||
6779 | + { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | ||
6780 | +echo "$as_me: loading cache $cache_file" >&6;} | ||
6781 | + case $cache_file in | ||
6782 | + [\\/]* | ?:[\\/]* ) . $cache_file;; | ||
6783 | + *) . ./$cache_file;; | ||
6784 | + esac | ||
6785 | + fi | ||
6786 | +else | ||
6787 | + { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | ||
6788 | +echo "$as_me: creating cache $cache_file" >&6;} | ||
6789 | + >$cache_file | ||
6790 | +fi | ||
6791 | + | ||
6792 | +# Check that the precious variables saved in the cache have kept the same | ||
6793 | +# value. | ||
6794 | +ac_cache_corrupted=false | ||
6795 | +for ac_var in `(set) 2>&1 | | ||
6796 | + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | ||
6797 | + eval ac_old_set=\$ac_cv_env_${ac_var}_set | ||
6798 | + eval ac_new_set=\$ac_env_${ac_var}_set | ||
6799 | + eval ac_old_val="\$ac_cv_env_${ac_var}_value" | ||
6800 | + eval ac_new_val="\$ac_env_${ac_var}_value" | ||
6801 | + case $ac_old_set,$ac_new_set in | ||
6802 | + set,) | ||
6803 | + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | ||
6804 | +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | ||
6805 | + ac_cache_corrupted=: ;; | ||
6806 | + ,set) | ||
6807 | + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | ||
6808 | +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | ||
6809 | + ac_cache_corrupted=: ;; | ||
6810 | + ,);; | ||
6811 | + *) | ||
6812 | + if test "x$ac_old_val" != "x$ac_new_val"; then | ||
6813 | + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | ||
6814 | +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | ||
6815 | + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | ||
6816 | +echo "$as_me: former value: $ac_old_val" >&2;} | ||
6817 | + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | ||
6818 | +echo "$as_me: current value: $ac_new_val" >&2;} | ||
6819 | + ac_cache_corrupted=: | ||
6820 | + fi;; | ||
6821 | + esac | ||
6822 | + # Pass precious variables to config.status. | ||
6823 | + if test "$ac_new_set" = set; then | ||
6824 | + case $ac_new_val in | ||
6825 | + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | ||
6826 | + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
6827 | + *) ac_arg=$ac_var=$ac_new_val ;; | ||
6828 | + esac | ||
6829 | + case " $ac_configure_args " in | ||
6830 | + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | ||
6831 | + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | ||
6832 | + esac | ||
6833 | + fi | ||
6834 | +done | ||
6835 | +if $ac_cache_corrupted; then | ||
6836 | + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | ||
6837 | +echo "$as_me: error: changes in the environment can compromise the build" >&2;} | ||
6838 | + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | ||
6839 | +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | ||
6840 | + { (exit 1); exit 1; }; } | ||
6841 | +fi | ||
6842 | + | ||
6843 | +ac_ext=c | ||
6844 | +ac_cpp='$CPP $CPPFLAGS' | ||
6845 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
6846 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
6847 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
6848 | + | ||
6849 | + | ||
6850 | + | ||
6851 | + | ||
6852 | + | ||
6853 | + | ||
6854 | + | ||
6855 | + | ||
6856 | + | ||
6857 | + | ||
6858 | + | ||
6859 | + | ||
6860 | + | ||
6861 | + | ||
6862 | + | ||
6863 | + | ||
6864 | + | ||
6865 | + | ||
6866 | + | ||
6867 | + | ||
6868 | + | ||
6869 | + | ||
6870 | + | ||
6871 | + | ||
6872 | + | ||
6873 | + | ||
6874 | + | ||
6875 | +ac_aux_dir= | ||
6876 | +for ac_dir in config $srcdir/config; do | ||
6877 | + if test -f $ac_dir/install-sh; then | ||
6878 | + ac_aux_dir=$ac_dir | ||
6879 | + ac_install_sh="$ac_aux_dir/install-sh -c" | ||
6880 | + break | ||
6881 | + elif test -f $ac_dir/install.sh; then | ||
6882 | + ac_aux_dir=$ac_dir | ||
6883 | + ac_install_sh="$ac_aux_dir/install.sh -c" | ||
6884 | + break | ||
6885 | + elif test -f $ac_dir/shtool; then | ||
6886 | + ac_aux_dir=$ac_dir | ||
6887 | + ac_install_sh="$ac_aux_dir/shtool install -c" | ||
6888 | + break | ||
6889 | + fi | ||
6890 | +done | ||
6891 | +if test -z "$ac_aux_dir"; then | ||
6892 | + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5 | ||
6893 | +echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;} | ||
6894 | + { (exit 1); exit 1; }; } | ||
6895 | +fi | ||
6896 | +ac_config_guess="$SHELL $ac_aux_dir/config.guess" | ||
6897 | +ac_config_sub="$SHELL $ac_aux_dir/config.sub" | ||
6898 | +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | ||
6899 | + | ||
6900 | + | ||
6901 | + ($Revision: 1.32 $) | ||
6902 | + | ||
6903 | +PACKAGE_RELEASE=1 | ||
6904 | + | ||
6905 | + | ||
6906 | +ac_ext=c | ||
6907 | +ac_cpp='$CPP $CPPFLAGS' | ||
6908 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
6909 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
6910 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
6911 | +if test -n "$ac_tool_prefix"; then | ||
6912 | + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | ||
6913 | +set dummy ${ac_tool_prefix}gcc; ac_word=$2 | ||
6914 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
6915 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
6916 | +if test "${ac_cv_prog_CC+set}" = set; then | ||
6917 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6918 | +else | ||
6919 | + if test -n "$CC"; then | ||
6920 | + ac_cv_prog_CC="$CC" # Let the user override the test. | ||
6921 | +else | ||
6922 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
6923 | +for as_dir in $PATH | ||
6924 | +do | ||
6925 | + IFS=$as_save_IFS | ||
6926 | + test -z "$as_dir" && as_dir=. | ||
6927 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
6928 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
6929 | + ac_cv_prog_CC="${ac_tool_prefix}gcc" | ||
6930 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
6931 | + break 2 | ||
6932 | + fi | ||
6933 | +done | ||
6934 | +done | ||
6935 | + | ||
6936 | +fi | ||
6937 | +fi | ||
6938 | +CC=$ac_cv_prog_CC | ||
6939 | +if test -n "$CC"; then | ||
6940 | + echo "$as_me:$LINENO: result: $CC" >&5 | ||
6941 | +echo "${ECHO_T}$CC" >&6 | ||
6942 | +else | ||
6943 | + echo "$as_me:$LINENO: result: no" >&5 | ||
6944 | +echo "${ECHO_T}no" >&6 | ||
6945 | +fi | ||
6946 | + | ||
6947 | +fi | ||
6948 | +if test -z "$ac_cv_prog_CC"; then | ||
6949 | + ac_ct_CC=$CC | ||
6950 | + # Extract the first word of "gcc", so it can be a program name with args. | ||
6951 | +set dummy gcc; ac_word=$2 | ||
6952 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
6953 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
6954 | +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
6955 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6956 | +else | ||
6957 | + if test -n "$ac_ct_CC"; then | ||
6958 | + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
6959 | +else | ||
6960 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
6961 | +for as_dir in $PATH | ||
6962 | +do | ||
6963 | + IFS=$as_save_IFS | ||
6964 | + test -z "$as_dir" && as_dir=. | ||
6965 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
6966 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
6967 | + ac_cv_prog_ac_ct_CC="gcc" | ||
6968 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
6969 | + break 2 | ||
6970 | + fi | ||
6971 | +done | ||
6972 | +done | ||
6973 | + | ||
6974 | +fi | ||
6975 | +fi | ||
6976 | +ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
6977 | +if test -n "$ac_ct_CC"; then | ||
6978 | + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
6979 | +echo "${ECHO_T}$ac_ct_CC" >&6 | ||
6980 | +else | ||
6981 | + echo "$as_me:$LINENO: result: no" >&5 | ||
6982 | +echo "${ECHO_T}no" >&6 | ||
6983 | +fi | ||
6984 | + | ||
6985 | + CC=$ac_ct_CC | ||
6986 | +else | ||
6987 | + CC="$ac_cv_prog_CC" | ||
6988 | +fi | ||
6989 | + | ||
6990 | +if test -z "$CC"; then | ||
6991 | + if test -n "$ac_tool_prefix"; then | ||
6992 | + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | ||
6993 | +set dummy ${ac_tool_prefix}cc; ac_word=$2 | ||
6994 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
6995 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
6996 | +if test "${ac_cv_prog_CC+set}" = set; then | ||
6997 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6998 | +else | ||
6999 | + if test -n "$CC"; then | ||
7000 | + ac_cv_prog_CC="$CC" # Let the user override the test. | ||
7001 | +else | ||
7002 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
7003 | +for as_dir in $PATH | ||
7004 | +do | ||
7005 | + IFS=$as_save_IFS | ||
7006 | + test -z "$as_dir" && as_dir=. | ||
7007 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
7008 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
7009 | + ac_cv_prog_CC="${ac_tool_prefix}cc" | ||
7010 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
7011 | + break 2 | ||
7012 | + fi | ||
7013 | +done | ||
7014 | +done | ||
7015 | + | ||
7016 | +fi | ||
7017 | +fi | ||
7018 | +CC=$ac_cv_prog_CC | ||
7019 | +if test -n "$CC"; then | ||
7020 | + echo "$as_me:$LINENO: result: $CC" >&5 | ||
7021 | +echo "${ECHO_T}$CC" >&6 | ||
7022 | +else | ||
7023 | + echo "$as_me:$LINENO: result: no" >&5 | ||
7024 | +echo "${ECHO_T}no" >&6 | ||
7025 | +fi | ||
7026 | + | ||
7027 | +fi | ||
7028 | +if test -z "$ac_cv_prog_CC"; then | ||
7029 | + ac_ct_CC=$CC | ||
7030 | + # Extract the first word of "cc", so it can be a program name with args. | ||
7031 | +set dummy cc; ac_word=$2 | ||
7032 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
7033 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
7034 | +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
7035 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7036 | +else | ||
7037 | + if test -n "$ac_ct_CC"; then | ||
7038 | + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
7039 | +else | ||
7040 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
7041 | +for as_dir in $PATH | ||
7042 | +do | ||
7043 | + IFS=$as_save_IFS | ||
7044 | + test -z "$as_dir" && as_dir=. | ||
7045 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
7046 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
7047 | + ac_cv_prog_ac_ct_CC="cc" | ||
7048 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
7049 | + break 2 | ||
7050 | + fi | ||
7051 | +done | ||
7052 | +done | ||
7053 | + | ||
7054 | +fi | ||
7055 | +fi | ||
7056 | +ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
7057 | +if test -n "$ac_ct_CC"; then | ||
7058 | + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
7059 | +echo "${ECHO_T}$ac_ct_CC" >&6 | ||
7060 | +else | ||
7061 | + echo "$as_me:$LINENO: result: no" >&5 | ||
7062 | +echo "${ECHO_T}no" >&6 | ||
7063 | +fi | ||
7064 | + | ||
7065 | + CC=$ac_ct_CC | ||
7066 | +else | ||
7067 | + CC="$ac_cv_prog_CC" | ||
7068 | +fi | ||
7069 | + | ||
7070 | +fi | ||
7071 | +if test -z "$CC"; then | ||
7072 | + # Extract the first word of "cc", so it can be a program name with args. | ||
7073 | +set dummy cc; ac_word=$2 | ||
7074 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
7075 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
7076 | +if test "${ac_cv_prog_CC+set}" = set; then | ||
7077 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7078 | +else | ||
7079 | + if test -n "$CC"; then | ||
7080 | + ac_cv_prog_CC="$CC" # Let the user override the test. | ||
7081 | +else | ||
7082 | + ac_prog_rejected=no | ||
7083 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
7084 | +for as_dir in $PATH | ||
7085 | +do | ||
7086 | + IFS=$as_save_IFS | ||
7087 | + test -z "$as_dir" && as_dir=. | ||
7088 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
7089 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
7090 | + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | ||
7091 | + ac_prog_rejected=yes | ||
7092 | + continue | ||
7093 | + fi | ||
7094 | + ac_cv_prog_CC="cc" | ||
7095 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
7096 | + break 2 | ||
7097 | + fi | ||
7098 | +done | ||
7099 | +done | ||
7100 | + | ||
7101 | +if test $ac_prog_rejected = yes; then | ||
7102 | + # We found a bogon in the path, so make sure we never use it. | ||
7103 | + set dummy $ac_cv_prog_CC | ||
7104 | + shift | ||
7105 | + if test $# != 0; then | ||
7106 | + # We chose a different compiler from the bogus one. | ||
7107 | + # However, it has the same basename, so the bogon will be chosen | ||
7108 | + # first if we set CC to just the basename; use the full file name. | ||
7109 | + shift | ||
7110 | + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | ||
7111 | + fi | ||
7112 | +fi | ||
7113 | +fi | ||
7114 | +fi | ||
7115 | +CC=$ac_cv_prog_CC | ||
7116 | +if test -n "$CC"; then | ||
7117 | + echo "$as_me:$LINENO: result: $CC" >&5 | ||
7118 | +echo "${ECHO_T}$CC" >&6 | ||
7119 | +else | ||
7120 | + echo "$as_me:$LINENO: result: no" >&5 | ||
7121 | +echo "${ECHO_T}no" >&6 | ||
7122 | +fi | ||
7123 | + | ||
7124 | +fi | ||
7125 | +if test -z "$CC"; then | ||
7126 | + if test -n "$ac_tool_prefix"; then | ||
7127 | + for ac_prog in cl | ||
7128 | + do | ||
7129 | + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | ||
7130 | +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | ||
7131 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
7132 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
7133 | +if test "${ac_cv_prog_CC+set}" = set; then | ||
7134 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7135 | +else | ||
7136 | + if test -n "$CC"; then | ||
7137 | + ac_cv_prog_CC="$CC" # Let the user override the test. | ||
7138 | +else | ||
7139 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
7140 | +for as_dir in $PATH | ||
7141 | +do | ||
7142 | + IFS=$as_save_IFS | ||
7143 | + test -z "$as_dir" && as_dir=. | ||
7144 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
7145 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
7146 | + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | ||
7147 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
7148 | + break 2 | ||
7149 | + fi | ||
7150 | +done | ||
7151 | +done | ||
7152 | + | ||
7153 | +fi | ||
7154 | +fi | ||
7155 | +CC=$ac_cv_prog_CC | ||
7156 | +if test -n "$CC"; then | ||
7157 | + echo "$as_me:$LINENO: result: $CC" >&5 | ||
7158 | +echo "${ECHO_T}$CC" >&6 | ||
7159 | +else | ||
7160 | + echo "$as_me:$LINENO: result: no" >&5 | ||
7161 | +echo "${ECHO_T}no" >&6 | ||
7162 | +fi | ||
7163 | + | ||
7164 | + test -n "$CC" && break | ||
7165 | + done | ||
7166 | +fi | ||
7167 | +if test -z "$CC"; then | ||
7168 | + ac_ct_CC=$CC | ||
7169 | + for ac_prog in cl | ||
7170 | +do | ||
7171 | + # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
7172 | +set dummy $ac_prog; ac_word=$2 | ||
7173 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
7174 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
7175 | +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
7176 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7177 | +else | ||
7178 | + if test -n "$ac_ct_CC"; then | ||
7179 | + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
7180 | +else | ||
7181 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
7182 | +for as_dir in $PATH | ||
7183 | +do | ||
7184 | + IFS=$as_save_IFS | ||
7185 | + test -z "$as_dir" && as_dir=. | ||
7186 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
7187 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
7188 | + ac_cv_prog_ac_ct_CC="$ac_prog" | ||
7189 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
7190 | + break 2 | ||
7191 | + fi | ||
7192 | +done | ||
7193 | +done | ||
7194 | + | ||
7195 | +fi | ||
7196 | +fi | ||
7197 | +ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
7198 | +if test -n "$ac_ct_CC"; then | ||
7199 | + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
7200 | +echo "${ECHO_T}$ac_ct_CC" >&6 | ||
7201 | +else | ||
7202 | + echo "$as_me:$LINENO: result: no" >&5 | ||
7203 | +echo "${ECHO_T}no" >&6 | ||
7204 | +fi | ||
7205 | + | ||
7206 | + test -n "$ac_ct_CC" && break | ||
7207 | +done | ||
7208 | + | ||
7209 | + CC=$ac_ct_CC | ||
7210 | +fi | ||
7211 | + | ||
7212 | +fi | ||
7213 | + | ||
7214 | + | ||
7215 | +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | ||
7216 | +See \`config.log' for more details." >&5 | ||
7217 | +echo "$as_me: error: no acceptable C compiler found in \$PATH | ||
7218 | +See \`config.log' for more details." >&2;} | ||
7219 | + { (exit 1); exit 1; }; } | ||
7220 | + | ||
7221 | +# Provide some information about the compiler. | ||
7222 | +echo "$as_me:$LINENO:" \ | ||
7223 | + "checking for C compiler version" >&5 | ||
7224 | +ac_compiler=`set X $ac_compile; echo $2` | ||
7225 | +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | ||
7226 | + (eval $ac_compiler --version </dev/null >&5) 2>&5 | ||
7227 | + ac_status=$? | ||
7228 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7229 | + (exit $ac_status); } | ||
7230 | +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | ||
7231 | + (eval $ac_compiler -v </dev/null >&5) 2>&5 | ||
7232 | + ac_status=$? | ||
7233 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7234 | + (exit $ac_status); } | ||
7235 | +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | ||
7236 | + (eval $ac_compiler -V </dev/null >&5) 2>&5 | ||
7237 | + ac_status=$? | ||
7238 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7239 | + (exit $ac_status); } | ||
7240 | + | ||
7241 | +cat >conftest.$ac_ext <<_ACEOF | ||
7242 | +/* confdefs.h. */ | ||
7243 | +_ACEOF | ||
7244 | +cat confdefs.h >>conftest.$ac_ext | ||
7245 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7246 | +/* end confdefs.h. */ | ||
7247 | + | ||
7248 | +int | ||
7249 | +main () | ||
7250 | +{ | ||
7251 | + | ||
7252 | + ; | ||
7253 | + return 0; | ||
7254 | +} | ||
7255 | +_ACEOF | ||
7256 | +ac_clean_files_save=$ac_clean_files | ||
7257 | +ac_clean_files="$ac_clean_files a.out a.exe b.out" | ||
7258 | +# Try to create an executable without -o first, disregard a.out. | ||
7259 | +# It will help us diagnose broken compilers, and finding out an intuition | ||
7260 | +# of exeext. | ||
7261 | +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | ||
7262 | +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 | ||
7263 | +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ||
7264 | +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | ||
7265 | + (eval $ac_link_default) 2>&5 | ||
7266 | + ac_status=$? | ||
7267 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7268 | + (exit $ac_status); }; then | ||
7269 | + # Find the output, starting from the most likely. This scheme is | ||
7270 | +# not robust to junk in `.', hence go to wildcards (a.*) only as a last | ||
7271 | +# resort. | ||
7272 | + | ||
7273 | +# Be careful to initialize this variable, since it used to be cached. | ||
7274 | +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | ||
7275 | +ac_cv_exeext= | ||
7276 | +# b.out is created by i960 compilers. | ||
7277 | +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | ||
7278 | +do | ||
7279 | + test -f "$ac_file" || continue | ||
7280 | + case $ac_file in | ||
7281 | + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | ||
7282 | + ;; | ||
7283 | + conftest.$ac_ext ) | ||
7284 | + # This is the source file. | ||
7285 | + ;; | ||
7286 | + [ab].out ) | ||
7287 | + # We found the default executable, but exeext='' is most | ||
7288 | + # certainly right. | ||
7289 | + break;; | ||
7290 | + *.* ) | ||
7291 | + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
7292 | + # FIXME: I believe we export ac_cv_exeext for Libtool, | ||
7293 | + # but it would be cool to find out if it's true. Does anybody | ||
7294 | + # maintain Libtool? --akim. | ||
7295 | + export ac_cv_exeext | ||
7296 | + break;; | ||
7297 | + * ) | ||
7298 | + break;; | ||
7299 | + esac | ||
7300 | +done | ||
7301 | +else | ||
7302 | + echo "$as_me: failed program was:" >&5 | ||
7303 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7304 | + | ||
7305 | +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables | ||
7306 | +See \`config.log' for more details." >&5 | ||
7307 | +echo "$as_me: error: C compiler cannot create executables | ||
7308 | +See \`config.log' for more details." >&2;} | ||
7309 | + { (exit 77); exit 77; }; } | ||
7310 | +fi | ||
7311 | + | ||
7312 | +ac_exeext=$ac_cv_exeext | ||
7313 | +echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
7314 | +echo "${ECHO_T}$ac_file" >&6 | ||
7315 | + | ||
7316 | +# Check the compiler produces executables we can run. If not, either | ||
7317 | +# the compiler is broken, or we cross compile. | ||
7318 | +echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | ||
7319 | +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | ||
7320 | +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | ||
7321 | +# If not cross compiling, check that we can run a simple program. | ||
7322 | +if test "$cross_compiling" != yes; then | ||
7323 | + if { ac_try='./$ac_file' | ||
7324 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7325 | + (eval $ac_try) 2>&5 | ||
7326 | + ac_status=$? | ||
7327 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7328 | + (exit $ac_status); }; }; then | ||
7329 | + cross_compiling=no | ||
7330 | + else | ||
7331 | + if test "$cross_compiling" = maybe; then | ||
7332 | + cross_compiling=yes | ||
7333 | + else | ||
7334 | + { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | ||
7335 | +If you meant to cross compile, use \`--host'. | ||
7336 | +See \`config.log' for more details." >&5 | ||
7337 | +echo "$as_me: error: cannot run C compiled programs. | ||
7338 | +If you meant to cross compile, use \`--host'. | ||
7339 | +See \`config.log' for more details." >&2;} | ||
7340 | + { (exit 1); exit 1; }; } | ||
7341 | + fi | ||
7342 | + fi | ||
7343 | +fi | ||
7344 | +echo "$as_me:$LINENO: result: yes" >&5 | ||
7345 | +echo "${ECHO_T}yes" >&6 | ||
7346 | + | ||
7347 | +rm -f a.out a.exe conftest$ac_cv_exeext b.out | ||
7348 | +ac_clean_files=$ac_clean_files_save | ||
7349 | +# Check the compiler produces executables we can run. If not, either | ||
7350 | +# the compiler is broken, or we cross compile. | ||
7351 | +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | ||
7352 | +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | ||
7353 | +echo "$as_me:$LINENO: result: $cross_compiling" >&5 | ||
7354 | +echo "${ECHO_T}$cross_compiling" >&6 | ||
7355 | + | ||
7356 | +echo "$as_me:$LINENO: checking for suffix of executables" >&5 | ||
7357 | +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | ||
7358 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7359 | + (eval $ac_link) 2>&5 | ||
7360 | + ac_status=$? | ||
7361 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7362 | + (exit $ac_status); }; then | ||
7363 | + # If both `conftest.exe' and `conftest' are `present' (well, observable) | ||
7364 | +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | ||
7365 | +# work properly (i.e., refer to `conftest.exe'), while it won't with | ||
7366 | +# `rm'. | ||
7367 | +for ac_file in conftest.exe conftest conftest.*; do | ||
7368 | + test -f "$ac_file" || continue | ||
7369 | + case $ac_file in | ||
7370 | + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | ||
7371 | + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
7372 | + export ac_cv_exeext | ||
7373 | + break;; | ||
7374 | + * ) break;; | ||
7375 | + esac | ||
7376 | +done | ||
7377 | +else | ||
7378 | + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | ||
7379 | +See \`config.log' for more details." >&5 | ||
7380 | +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | ||
7381 | +See \`config.log' for more details." >&2;} | ||
7382 | + { (exit 1); exit 1; }; } | ||
7383 | +fi | ||
7384 | + | ||
7385 | +rm -f conftest$ac_cv_exeext | ||
7386 | +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | ||
7387 | +echo "${ECHO_T}$ac_cv_exeext" >&6 | ||
7388 | + | ||
7389 | +rm -f conftest.$ac_ext | ||
7390 | +EXEEXT=$ac_cv_exeext | ||
7391 | +ac_exeext=$EXEEXT | ||
7392 | +echo "$as_me:$LINENO: checking for suffix of object files" >&5 | ||
7393 | +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | ||
7394 | +if test "${ac_cv_objext+set}" = set; then | ||
7395 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7396 | +else | ||
7397 | + cat >conftest.$ac_ext <<_ACEOF | ||
7398 | +/* confdefs.h. */ | ||
7399 | +_ACEOF | ||
7400 | +cat confdefs.h >>conftest.$ac_ext | ||
7401 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7402 | +/* end confdefs.h. */ | ||
7403 | + | ||
7404 | +int | ||
7405 | +main () | ||
7406 | +{ | ||
7407 | + | ||
7408 | + ; | ||
7409 | + return 0; | ||
7410 | +} | ||
7411 | +_ACEOF | ||
7412 | +rm -f conftest.o conftest.obj | ||
7413 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7414 | + (eval $ac_compile) 2>&5 | ||
7415 | + ac_status=$? | ||
7416 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7417 | + (exit $ac_status); }; then | ||
7418 | + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | ||
7419 | + case $ac_file in | ||
7420 | + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | ||
7421 | + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | ||
7422 | + break;; | ||
7423 | + esac | ||
7424 | +done | ||
7425 | +else | ||
7426 | + echo "$as_me: failed program was:" >&5 | ||
7427 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7428 | + | ||
7429 | +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | ||
7430 | +See \`config.log' for more details." >&5 | ||
7431 | +echo "$as_me: error: cannot compute suffix of object files: cannot compile | ||
7432 | +See \`config.log' for more details." >&2;} | ||
7433 | + { (exit 1); exit 1; }; } | ||
7434 | +fi | ||
7435 | + | ||
7436 | +rm -f conftest.$ac_cv_objext conftest.$ac_ext | ||
7437 | +fi | ||
7438 | +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | ||
7439 | +echo "${ECHO_T}$ac_cv_objext" >&6 | ||
7440 | +OBJEXT=$ac_cv_objext | ||
7441 | +ac_objext=$OBJEXT | ||
7442 | +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | ||
7443 | +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | ||
7444 | +if test "${ac_cv_c_compiler_gnu+set}" = set; then | ||
7445 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7446 | +else | ||
7447 | + cat >conftest.$ac_ext <<_ACEOF | ||
7448 | +/* confdefs.h. */ | ||
7449 | +_ACEOF | ||
7450 | +cat confdefs.h >>conftest.$ac_ext | ||
7451 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7452 | +/* end confdefs.h. */ | ||
7453 | + | ||
7454 | +int | ||
7455 | +main () | ||
7456 | +{ | ||
7457 | +#ifndef __GNUC__ | ||
7458 | + choke me | ||
7459 | +#endif | ||
7460 | + | ||
7461 | + ; | ||
7462 | + return 0; | ||
7463 | +} | ||
7464 | +_ACEOF | ||
7465 | +rm -f conftest.$ac_objext | ||
7466 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7467 | + (eval $ac_compile) 2>conftest.er1 | ||
7468 | + ac_status=$? | ||
7469 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
7470 | + rm -f conftest.er1 | ||
7471 | + cat conftest.err >&5 | ||
7472 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7473 | + (exit $ac_status); } && | ||
7474 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
7475 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7476 | + (eval $ac_try) 2>&5 | ||
7477 | + ac_status=$? | ||
7478 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7479 | + (exit $ac_status); }; } && | ||
7480 | + { ac_try='test -s conftest.$ac_objext' | ||
7481 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7482 | + (eval $ac_try) 2>&5 | ||
7483 | + ac_status=$? | ||
7484 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7485 | + (exit $ac_status); }; }; then | ||
7486 | + ac_compiler_gnu=yes | ||
7487 | +else | ||
7488 | + echo "$as_me: failed program was:" >&5 | ||
7489 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7490 | + | ||
7491 | +ac_compiler_gnu=no | ||
7492 | +fi | ||
7493 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7494 | +ac_cv_c_compiler_gnu=$ac_compiler_gnu | ||
7495 | + | ||
7496 | +fi | ||
7497 | +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | ||
7498 | +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | ||
7499 | +GCC=`test $ac_compiler_gnu = yes && echo yes` | ||
7500 | +ac_test_CFLAGS=${CFLAGS+set} | ||
7501 | +ac_save_CFLAGS=$CFLAGS | ||
7502 | +CFLAGS="-g" | ||
7503 | +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | ||
7504 | +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | ||
7505 | +if test "${ac_cv_prog_cc_g+set}" = set; then | ||
7506 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7507 | +else | ||
7508 | + cat >conftest.$ac_ext <<_ACEOF | ||
7509 | +/* confdefs.h. */ | ||
7510 | +_ACEOF | ||
7511 | +cat confdefs.h >>conftest.$ac_ext | ||
7512 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7513 | +/* end confdefs.h. */ | ||
7514 | + | ||
7515 | +int | ||
7516 | +main () | ||
7517 | +{ | ||
7518 | + | ||
7519 | + ; | ||
7520 | + return 0; | ||
7521 | +} | ||
7522 | +_ACEOF | ||
7523 | +rm -f conftest.$ac_objext | ||
7524 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7525 | + (eval $ac_compile) 2>conftest.er1 | ||
7526 | + ac_status=$? | ||
7527 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
7528 | + rm -f conftest.er1 | ||
7529 | + cat conftest.err >&5 | ||
7530 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7531 | + (exit $ac_status); } && | ||
7532 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
7533 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7534 | + (eval $ac_try) 2>&5 | ||
7535 | + ac_status=$? | ||
7536 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7537 | + (exit $ac_status); }; } && | ||
7538 | + { ac_try='test -s conftest.$ac_objext' | ||
7539 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7540 | + (eval $ac_try) 2>&5 | ||
7541 | + ac_status=$? | ||
7542 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7543 | + (exit $ac_status); }; }; then | ||
7544 | + ac_cv_prog_cc_g=yes | ||
7545 | +else | ||
7546 | + echo "$as_me: failed program was:" >&5 | ||
7547 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7548 | + | ||
7549 | +ac_cv_prog_cc_g=no | ||
7550 | +fi | ||
7551 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7552 | +fi | ||
7553 | +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | ||
7554 | +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | ||
7555 | +if test "$ac_test_CFLAGS" = set; then | ||
7556 | + CFLAGS=$ac_save_CFLAGS | ||
7557 | +elif test $ac_cv_prog_cc_g = yes; then | ||
7558 | + if test "$GCC" = yes; then | ||
7559 | + CFLAGS="-g -O2" | ||
7560 | + else | ||
7561 | + CFLAGS="-g" | ||
7562 | + fi | ||
7563 | +else | ||
7564 | + if test "$GCC" = yes; then | ||
7565 | + CFLAGS="-O2" | ||
7566 | + else | ||
7567 | + CFLAGS= | ||
7568 | + fi | ||
7569 | +fi | ||
7570 | +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | ||
7571 | +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | ||
7572 | +if test "${ac_cv_prog_cc_stdc+set}" = set; then | ||
7573 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7574 | +else | ||
7575 | + ac_cv_prog_cc_stdc=no | ||
7576 | +ac_save_CC=$CC | ||
7577 | +cat >conftest.$ac_ext <<_ACEOF | ||
7578 | +/* confdefs.h. */ | ||
7579 | +_ACEOF | ||
7580 | +cat confdefs.h >>conftest.$ac_ext | ||
7581 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7582 | +/* end confdefs.h. */ | ||
7583 | +#include <stdarg.h> | ||
7584 | +#include <stdio.h> | ||
7585 | +#include <sys/types.h> | ||
7586 | +#include <sys/stat.h> | ||
7587 | +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | ||
7588 | +struct buf { int x; }; | ||
7589 | +FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||
7590 | +static char *e (p, i) | ||
7591 | + char **p; | ||
7592 | + int i; | ||
7593 | +{ | ||
7594 | + return p[i]; | ||
7595 | +} | ||
7596 | +static char *f (char * (*g) (char **, int), char **p, ...) | ||
7597 | +{ | ||
7598 | + char *s; | ||
7599 | + va_list v; | ||
7600 | + va_start (v,p); | ||
7601 | + s = g (p, va_arg (v,int)); | ||
7602 | + va_end (v); | ||
7603 | + return s; | ||
7604 | +} | ||
7605 | + | ||
7606 | +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | ||
7607 | + function prototypes and stuff, but not '\xHH' hex character constants. | ||
7608 | + These don't provoke an error unfortunately, instead are silently treated | ||
7609 | + as 'x'. The following induces an error, until -std1 is added to get | ||
7610 | + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | ||
7611 | + array size at least. It's necessary to write '\x00'==0 to get something | ||
7612 | + that's true only with -std1. */ | ||
7613 | +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | ||
7614 | + | ||
7615 | +int test (int i, double x); | ||
7616 | +struct s1 {int (*f) (int a);}; | ||
7617 | +struct s2 {int (*f) (double a);}; | ||
7618 | +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | ||
7619 | +int argc; | ||
7620 | +char **argv; | ||
7621 | +int | ||
7622 | +main () | ||
7623 | +{ | ||
7624 | +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||
7625 | + ; | ||
7626 | + return 0; | ||
7627 | +} | ||
7628 | +_ACEOF | ||
7629 | +# Don't try gcc -ansi; that turns off useful extensions and | ||
7630 | +# breaks some systems' header files. | ||
7631 | +# AIX -qlanglvl=ansi | ||
7632 | +# Ultrix and OSF/1 -std1 | ||
7633 | +# HP-UX 10.20 and later -Ae | ||
7634 | +# HP-UX older versions -Aa -D_HPUX_SOURCE | ||
7635 | +# SVR4 -Xc -D__EXTENSIONS__ | ||
7636 | +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
7637 | +do | ||
7638 | + CC="$ac_save_CC $ac_arg" | ||
7639 | + rm -f conftest.$ac_objext | ||
7640 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7641 | + (eval $ac_compile) 2>conftest.er1 | ||
7642 | + ac_status=$? | ||
7643 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
7644 | + rm -f conftest.er1 | ||
7645 | + cat conftest.err >&5 | ||
7646 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7647 | + (exit $ac_status); } && | ||
7648 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
7649 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7650 | + (eval $ac_try) 2>&5 | ||
7651 | + ac_status=$? | ||
7652 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7653 | + (exit $ac_status); }; } && | ||
7654 | + { ac_try='test -s conftest.$ac_objext' | ||
7655 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7656 | + (eval $ac_try) 2>&5 | ||
7657 | + ac_status=$? | ||
7658 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7659 | + (exit $ac_status); }; }; then | ||
7660 | + ac_cv_prog_cc_stdc=$ac_arg | ||
7661 | +break | ||
7662 | +else | ||
7663 | + echo "$as_me: failed program was:" >&5 | ||
7664 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7665 | + | ||
7666 | +fi | ||
7667 | +rm -f conftest.err conftest.$ac_objext | ||
7668 | +done | ||
7669 | +rm -f conftest.$ac_ext conftest.$ac_objext | ||
7670 | +CC=$ac_save_CC | ||
7671 | + | ||
7672 | +fi | ||
7673 | + | ||
7674 | +case "x$ac_cv_prog_cc_stdc" in | ||
7675 | + x|xno) | ||
7676 | + echo "$as_me:$LINENO: result: none needed" >&5 | ||
7677 | +echo "${ECHO_T}none needed" >&6 ;; | ||
7678 | + *) | ||
7679 | + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | ||
7680 | +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | ||
7681 | + CC="$CC $ac_cv_prog_cc_stdc" ;; | ||
7682 | +esac | ||
7683 | + | ||
7684 | +# Some people use a C++ compiler to compile C. Since we use `exit', | ||
7685 | +# in C++ we need to declare it. In case someone uses the same compiler | ||
7686 | +# for both compiling C and C++ we need to have the C++ compiler decide | ||
7687 | +# the declaration of exit, since it's the most demanding environment. | ||
7688 | +cat >conftest.$ac_ext <<_ACEOF | ||
7689 | +#ifndef __cplusplus | ||
7690 | + choke me | ||
7691 | +#endif | ||
7692 | +_ACEOF | ||
7693 | +rm -f conftest.$ac_objext | ||
7694 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7695 | + (eval $ac_compile) 2>conftest.er1 | ||
7696 | + ac_status=$? | ||
7697 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
7698 | + rm -f conftest.er1 | ||
7699 | + cat conftest.err >&5 | ||
7700 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7701 | + (exit $ac_status); } && | ||
7702 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
7703 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7704 | + (eval $ac_try) 2>&5 | ||
7705 | + ac_status=$? | ||
7706 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7707 | + (exit $ac_status); }; } && | ||
7708 | + { ac_try='test -s conftest.$ac_objext' | ||
7709 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7710 | + (eval $ac_try) 2>&5 | ||
7711 | + ac_status=$? | ||
7712 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7713 | + (exit $ac_status); }; }; then | ||
7714 | + for ac_declaration in \ | ||
7715 | + '' \ | ||
7716 | + 'extern "C" void std::exit (int) throw (); using std::exit;' \ | ||
7717 | + 'extern "C" void std::exit (int); using std::exit;' \ | ||
7718 | + 'extern "C" void exit (int) throw ();' \ | ||
7719 | + 'extern "C" void exit (int);' \ | ||
7720 | + 'void exit (int);' | ||
7721 | +do | ||
7722 | + cat >conftest.$ac_ext <<_ACEOF | ||
7723 | +/* confdefs.h. */ | ||
7724 | +_ACEOF | ||
7725 | +cat confdefs.h >>conftest.$ac_ext | ||
7726 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7727 | +/* end confdefs.h. */ | ||
7728 | +$ac_declaration | ||
7729 | +#include <stdlib.h> | ||
7730 | +int | ||
7731 | +main () | ||
7732 | +{ | ||
7733 | +exit (42); | ||
7734 | + ; | ||
7735 | + return 0; | ||
7736 | +} | ||
7737 | +_ACEOF | ||
7738 | +rm -f conftest.$ac_objext | ||
7739 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7740 | + (eval $ac_compile) 2>conftest.er1 | ||
7741 | + ac_status=$? | ||
7742 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
7743 | + rm -f conftest.er1 | ||
7744 | + cat conftest.err >&5 | ||
7745 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7746 | + (exit $ac_status); } && | ||
7747 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
7748 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7749 | + (eval $ac_try) 2>&5 | ||
7750 | + ac_status=$? | ||
7751 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7752 | + (exit $ac_status); }; } && | ||
7753 | + { ac_try='test -s conftest.$ac_objext' | ||
7754 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7755 | + (eval $ac_try) 2>&5 | ||
7756 | + ac_status=$? | ||
7757 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7758 | + (exit $ac_status); }; }; then | ||
7759 | + : | ||
7760 | +else | ||
7761 | + echo "$as_me: failed program was:" >&5 | ||
7762 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7763 | + | ||
7764 | +continue | ||
7765 | +fi | ||
7766 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7767 | + cat >conftest.$ac_ext <<_ACEOF | ||
7768 | +/* confdefs.h. */ | ||
7769 | +_ACEOF | ||
7770 | +cat confdefs.h >>conftest.$ac_ext | ||
7771 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7772 | +/* end confdefs.h. */ | ||
7773 | +$ac_declaration | ||
7774 | +int | ||
7775 | +main () | ||
7776 | +{ | ||
7777 | +exit (42); | ||
7778 | + ; | ||
7779 | + return 0; | ||
7780 | +} | ||
7781 | +_ACEOF | ||
7782 | +rm -f conftest.$ac_objext | ||
7783 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7784 | + (eval $ac_compile) 2>conftest.er1 | ||
7785 | + ac_status=$? | ||
7786 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
7787 | + rm -f conftest.er1 | ||
7788 | + cat conftest.err >&5 | ||
7789 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7790 | + (exit $ac_status); } && | ||
7791 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
7792 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7793 | + (eval $ac_try) 2>&5 | ||
7794 | + ac_status=$? | ||
7795 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7796 | + (exit $ac_status); }; } && | ||
7797 | + { ac_try='test -s conftest.$ac_objext' | ||
7798 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7799 | + (eval $ac_try) 2>&5 | ||
7800 | + ac_status=$? | ||
7801 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7802 | + (exit $ac_status); }; }; then | ||
7803 | + break | ||
7804 | +else | ||
7805 | + echo "$as_me: failed program was:" >&5 | ||
7806 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7807 | + | ||
7808 | +fi | ||
7809 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7810 | +done | ||
7811 | +rm -f conftest* | ||
7812 | +if test -n "$ac_declaration"; then | ||
7813 | + echo '#ifdef __cplusplus' >>confdefs.h | ||
7814 | + echo $ac_declaration >>confdefs.h | ||
7815 | + echo '#endif' >>confdefs.h | ||
7816 | +fi | ||
7817 | + | ||
7818 | +else | ||
7819 | + echo "$as_me: failed program was:" >&5 | ||
7820 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7821 | + | ||
7822 | +fi | ||
7823 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7824 | +ac_ext=c | ||
7825 | +ac_cpp='$CPP $CPPFLAGS' | ||
7826 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
7827 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
7828 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
7829 | + | ||
7830 | + | ||
7831 | +ac_ext=c | ||
7832 | +ac_cpp='$CPP $CPPFLAGS' | ||
7833 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
7834 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
7835 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
7836 | +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | ||
7837 | +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | ||
7838 | +# On Suns, sometimes $CPP names a directory. | ||
7839 | +if test -n "$CPP" && test -d "$CPP"; then | ||
7840 | + CPP= | ||
7841 | +fi | ||
7842 | +if test -z "$CPP"; then | ||
7843 | + if test "${ac_cv_prog_CPP+set}" = set; then | ||
7844 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7845 | +else | ||
7846 | + # Double quotes because CPP needs to be expanded | ||
7847 | + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | ||
7848 | + do | ||
7849 | + ac_preproc_ok=false | ||
7850 | +for ac_c_preproc_warn_flag in '' yes | ||
7851 | +do | ||
7852 | + # Use a header file that comes with gcc, so configuring glibc | ||
7853 | + # with a fresh cross-compiler works. | ||
7854 | + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
7855 | + # <limits.h> exists even on freestanding compilers. | ||
7856 | + # On the NeXT, cc -E runs the code through the compiler's parser, | ||
7857 | + # not just through cpp. "Syntax error" is here to catch this case. | ||
7858 | + cat >conftest.$ac_ext <<_ACEOF | ||
7859 | +/* confdefs.h. */ | ||
7860 | +_ACEOF | ||
7861 | +cat confdefs.h >>conftest.$ac_ext | ||
7862 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7863 | +/* end confdefs.h. */ | ||
7864 | +#ifdef __STDC__ | ||
7865 | +# include <limits.h> | ||
7866 | +#else | ||
7867 | +# include <assert.h> | ||
7868 | +#endif | ||
7869 | + Syntax error | ||
7870 | +_ACEOF | ||
7871 | +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
7872 | + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
7873 | + ac_status=$? | ||
7874 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
7875 | + rm -f conftest.er1 | ||
7876 | + cat conftest.err >&5 | ||
7877 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7878 | + (exit $ac_status); } >/dev/null; then | ||
7879 | + if test -s conftest.err; then | ||
7880 | + ac_cpp_err=$ac_c_preproc_warn_flag | ||
7881 | + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | ||
7882 | + else | ||
7883 | + ac_cpp_err= | ||
7884 | + fi | ||
7885 | +else | ||
7886 | + ac_cpp_err=yes | ||
7887 | +fi | ||
7888 | +if test -z "$ac_cpp_err"; then | ||
7889 | + : | ||
7890 | +else | ||
7891 | + echo "$as_me: failed program was:" >&5 | ||
7892 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7893 | + | ||
7894 | + # Broken: fails on valid input. | ||
7895 | +continue | ||
7896 | +fi | ||
7897 | +rm -f conftest.err conftest.$ac_ext | ||
7898 | + | ||
7899 | + # OK, works on sane cases. Now check whether non-existent headers | ||
7900 | + # can be detected and how. | ||
7901 | + cat >conftest.$ac_ext <<_ACEOF | ||
7902 | +/* confdefs.h. */ | ||
7903 | +_ACEOF | ||
7904 | +cat confdefs.h >>conftest.$ac_ext | ||
7905 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7906 | +/* end confdefs.h. */ | ||
7907 | +#include <ac_nonexistent.h> | ||
7908 | +_ACEOF | ||
7909 | +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
7910 | + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
7911 | + ac_status=$? | ||
7912 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
7913 | + rm -f conftest.er1 | ||
7914 | + cat conftest.err >&5 | ||
7915 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7916 | + (exit $ac_status); } >/dev/null; then | ||
7917 | + if test -s conftest.err; then | ||
7918 | + ac_cpp_err=$ac_c_preproc_warn_flag | ||
7919 | + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | ||
7920 | + else | ||
7921 | + ac_cpp_err= | ||
7922 | + fi | ||
7923 | +else | ||
7924 | + ac_cpp_err=yes | ||
7925 | +fi | ||
7926 | +if test -z "$ac_cpp_err"; then | ||
7927 | + # Broken: success on invalid input. | ||
7928 | +continue | ||
7929 | +else | ||
7930 | + echo "$as_me: failed program was:" >&5 | ||
7931 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
7932 | + | ||
7933 | + # Passes both tests. | ||
7934 | +ac_preproc_ok=: | ||
7935 | +break | ||
7936 | +fi | ||
7937 | +rm -f conftest.err conftest.$ac_ext | ||
7938 | + | ||
7939 | +done | ||
7940 | +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
7941 | +rm -f conftest.err conftest.$ac_ext | ||
7942 | +if $ac_preproc_ok; then | ||
7943 | + break | ||
7944 | +fi | ||
7945 | + | ||
7946 | + done | ||
7947 | + ac_cv_prog_CPP=$CPP | ||
7948 | + | ||
7949 | +fi | ||
7950 | + CPP=$ac_cv_prog_CPP | ||
7951 | +else | ||
7952 | + ac_cv_prog_CPP=$CPP | ||
7953 | +fi | ||
7954 | +echo "$as_me:$LINENO: result: $CPP" >&5 | ||
7955 | +echo "${ECHO_T}$CPP" >&6 | ||
7956 | +ac_preproc_ok=false | ||
7957 | +for ac_c_preproc_warn_flag in '' yes | ||
7958 | +do | ||
7959 | + # Use a header file that comes with gcc, so configuring glibc | ||
7960 | + # with a fresh cross-compiler works. | ||
7961 | + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
7962 | + # <limits.h> exists even on freestanding compilers. | ||
7963 | + # On the NeXT, cc -E runs the code through the compiler's parser, | ||
7964 | + # not just through cpp. "Syntax error" is here to catch this case. | ||
7965 | + cat >conftest.$ac_ext <<_ACEOF | ||
7966 | +/* confdefs.h. */ | ||
7967 | +_ACEOF | ||
7968 | +cat confdefs.h >>conftest.$ac_ext | ||
7969 | +cat >>conftest.$ac_ext <<_ACEOF | ||
7970 | +/* end confdefs.h. */ | ||
7971 | +#ifdef __STDC__ | ||
7972 | +# include <limits.h> | ||
7973 | +#else | ||
7974 | +# include <assert.h> | ||
7975 | +#endif | ||
7976 | + Syntax error | ||
7977 | +_ACEOF | ||
7978 | +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
7979 | + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
7980 | + ac_status=$? | ||
7981 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
7982 | + rm -f conftest.er1 | ||
7983 | + cat conftest.err >&5 | ||
7984 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7985 | + (exit $ac_status); } >/dev/null; then | ||
7986 | + if test -s conftest.err; then | ||
7987 | + ac_cpp_err=$ac_c_preproc_warn_flag | ||
7988 | + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | ||
7989 | + else | ||
7990 | + ac_cpp_err= | ||
7991 | + fi | ||
7992 | +else | ||
7993 | + ac_cpp_err=yes | ||
7994 | +fi | ||
7995 | +if test -z "$ac_cpp_err"; then | ||
7996 | + : | ||
7997 | +else | ||
7998 | + echo "$as_me: failed program was:" >&5 | ||
7999 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8000 | + | ||
8001 | + # Broken: fails on valid input. | ||
8002 | +continue | ||
8003 | +fi | ||
8004 | +rm -f conftest.err conftest.$ac_ext | ||
8005 | + | ||
8006 | + # OK, works on sane cases. Now check whether non-existent headers | ||
8007 | + # can be detected and how. | ||
8008 | + cat >conftest.$ac_ext <<_ACEOF | ||
8009 | +/* confdefs.h. */ | ||
8010 | +_ACEOF | ||
8011 | +cat confdefs.h >>conftest.$ac_ext | ||
8012 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8013 | +/* end confdefs.h. */ | ||
8014 | +#include <ac_nonexistent.h> | ||
8015 | +_ACEOF | ||
8016 | +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
8017 | + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
8018 | + ac_status=$? | ||
8019 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
8020 | + rm -f conftest.er1 | ||
8021 | + cat conftest.err >&5 | ||
8022 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8023 | + (exit $ac_status); } >/dev/null; then | ||
8024 | + if test -s conftest.err; then | ||
8025 | + ac_cpp_err=$ac_c_preproc_warn_flag | ||
8026 | + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | ||
8027 | + else | ||
8028 | + ac_cpp_err= | ||
8029 | + fi | ||
8030 | +else | ||
8031 | + ac_cpp_err=yes | ||
8032 | +fi | ||
8033 | +if test -z "$ac_cpp_err"; then | ||
8034 | + # Broken: success on invalid input. | ||
8035 | +continue | ||
8036 | +else | ||
8037 | + echo "$as_me: failed program was:" >&5 | ||
8038 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8039 | + | ||
8040 | + # Passes both tests. | ||
8041 | +ac_preproc_ok=: | ||
8042 | +break | ||
8043 | +fi | ||
8044 | +rm -f conftest.err conftest.$ac_ext | ||
8045 | + | ||
8046 | +done | ||
8047 | +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
8048 | +rm -f conftest.err conftest.$ac_ext | ||
8049 | +if $ac_preproc_ok; then | ||
8050 | + : | ||
8051 | +else | ||
8052 | + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | ||
8053 | +See \`config.log' for more details." >&5 | ||
8054 | +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | ||
8055 | +See \`config.log' for more details." >&2;} | ||
8056 | + { (exit 1); exit 1; }; } | ||
8057 | +fi | ||
8058 | + | ||
8059 | +ac_ext=c | ||
8060 | +ac_cpp='$CPP $CPPFLAGS' | ||
8061 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
8062 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
8063 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
8064 | + | ||
8065 | + | ||
8066 | +echo "$as_me:$LINENO: checking for egrep" >&5 | ||
8067 | +echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | ||
8068 | +if test "${ac_cv_prog_egrep+set}" = set; then | ||
8069 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8070 | +else | ||
8071 | + if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | ||
8072 | + then ac_cv_prog_egrep='grep -E' | ||
8073 | + else ac_cv_prog_egrep='egrep' | ||
8074 | + fi | ||
8075 | +fi | ||
8076 | +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | ||
8077 | +echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | ||
8078 | + EGREP=$ac_cv_prog_egrep | ||
8079 | + | ||
8080 | + | ||
8081 | +echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | ||
8082 | +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | ||
8083 | +if test "${ac_cv_header_stdc+set}" = set; then | ||
8084 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8085 | +else | ||
8086 | + cat >conftest.$ac_ext <<_ACEOF | ||
8087 | +/* confdefs.h. */ | ||
8088 | +_ACEOF | ||
8089 | +cat confdefs.h >>conftest.$ac_ext | ||
8090 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8091 | +/* end confdefs.h. */ | ||
8092 | +#include <stdlib.h> | ||
8093 | +#include <stdarg.h> | ||
8094 | +#include <string.h> | ||
8095 | +#include <float.h> | ||
8096 | + | ||
8097 | +int | ||
8098 | +main () | ||
8099 | +{ | ||
8100 | + | ||
8101 | + ; | ||
8102 | + return 0; | ||
8103 | +} | ||
8104 | +_ACEOF | ||
8105 | +rm -f conftest.$ac_objext | ||
8106 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8107 | + (eval $ac_compile) 2>conftest.er1 | ||
8108 | + ac_status=$? | ||
8109 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
8110 | + rm -f conftest.er1 | ||
8111 | + cat conftest.err >&5 | ||
8112 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8113 | + (exit $ac_status); } && | ||
8114 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
8115 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8116 | + (eval $ac_try) 2>&5 | ||
8117 | + ac_status=$? | ||
8118 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8119 | + (exit $ac_status); }; } && | ||
8120 | + { ac_try='test -s conftest.$ac_objext' | ||
8121 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8122 | + (eval $ac_try) 2>&5 | ||
8123 | + ac_status=$? | ||
8124 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8125 | + (exit $ac_status); }; }; then | ||
8126 | + ac_cv_header_stdc=yes | ||
8127 | +else | ||
8128 | + echo "$as_me: failed program was:" >&5 | ||
8129 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8130 | + | ||
8131 | +ac_cv_header_stdc=no | ||
8132 | +fi | ||
8133 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
8134 | + | ||
8135 | +if test $ac_cv_header_stdc = yes; then | ||
8136 | + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | ||
8137 | + cat >conftest.$ac_ext <<_ACEOF | ||
8138 | +/* confdefs.h. */ | ||
8139 | +_ACEOF | ||
8140 | +cat confdefs.h >>conftest.$ac_ext | ||
8141 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8142 | +/* end confdefs.h. */ | ||
8143 | +#include <string.h> | ||
8144 | + | ||
8145 | +_ACEOF | ||
8146 | +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
8147 | + $EGREP "memchr" >/dev/null 2>&1; then | ||
8148 | + : | ||
8149 | +else | ||
8150 | + ac_cv_header_stdc=no | ||
8151 | +fi | ||
8152 | +rm -f conftest* | ||
8153 | + | ||
8154 | +fi | ||
8155 | + | ||
8156 | +if test $ac_cv_header_stdc = yes; then | ||
8157 | + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | ||
8158 | + cat >conftest.$ac_ext <<_ACEOF | ||
8159 | +/* confdefs.h. */ | ||
8160 | +_ACEOF | ||
8161 | +cat confdefs.h >>conftest.$ac_ext | ||
8162 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8163 | +/* end confdefs.h. */ | ||
8164 | +#include <stdlib.h> | ||
8165 | + | ||
8166 | +_ACEOF | ||
8167 | +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
8168 | + $EGREP "free" >/dev/null 2>&1; then | ||
8169 | + : | ||
8170 | +else | ||
8171 | + ac_cv_header_stdc=no | ||
8172 | +fi | ||
8173 | +rm -f conftest* | ||
8174 | + | ||
8175 | +fi | ||
8176 | + | ||
8177 | +if test $ac_cv_header_stdc = yes; then | ||
8178 | + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | ||
8179 | + if test "$cross_compiling" = yes; then | ||
8180 | + : | ||
8181 | +else | ||
8182 | + cat >conftest.$ac_ext <<_ACEOF | ||
8183 | +/* confdefs.h. */ | ||
8184 | +_ACEOF | ||
8185 | +cat confdefs.h >>conftest.$ac_ext | ||
8186 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8187 | +/* end confdefs.h. */ | ||
8188 | +#include <ctype.h> | ||
8189 | +#if ((' ' & 0x0FF) == 0x020) | ||
8190 | +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | ||
8191 | +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | ||
8192 | +#else | ||
8193 | +# define ISLOWER(c) \ | ||
8194 | + (('a' <= (c) && (c) <= 'i') \ | ||
8195 | + || ('j' <= (c) && (c) <= 'r') \ | ||
8196 | + || ('s' <= (c) && (c) <= 'z')) | ||
8197 | +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | ||
8198 | +#endif | ||
8199 | + | ||
8200 | +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | ||
8201 | +int | ||
8202 | +main () | ||
8203 | +{ | ||
8204 | + int i; | ||
8205 | + for (i = 0; i < 256; i++) | ||
8206 | + if (XOR (islower (i), ISLOWER (i)) | ||
8207 | + || toupper (i) != TOUPPER (i)) | ||
8208 | + exit(2); | ||
8209 | + exit (0); | ||
8210 | +} | ||
8211 | +_ACEOF | ||
8212 | +rm -f conftest$ac_exeext | ||
8213 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8214 | + (eval $ac_link) 2>&5 | ||
8215 | + ac_status=$? | ||
8216 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8217 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
8218 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8219 | + (eval $ac_try) 2>&5 | ||
8220 | + ac_status=$? | ||
8221 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8222 | + (exit $ac_status); }; }; then | ||
8223 | + : | ||
8224 | +else | ||
8225 | + echo "$as_me: program exited with status $ac_status" >&5 | ||
8226 | +echo "$as_me: failed program was:" >&5 | ||
8227 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8228 | + | ||
8229 | +( exit $ac_status ) | ||
8230 | +ac_cv_header_stdc=no | ||
8231 | +fi | ||
8232 | +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
8233 | +fi | ||
8234 | +fi | ||
8235 | +fi | ||
8236 | +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | ||
8237 | +echo "${ECHO_T}$ac_cv_header_stdc" >&6 | ||
8238 | +if test $ac_cv_header_stdc = yes; then | ||
8239 | + | ||
8240 | +cat >>confdefs.h <<\_ACEOF | ||
8241 | +#define STDC_HEADERS 1 | ||
8242 | +_ACEOF | ||
8243 | + | ||
8244 | +fi | ||
8245 | + | ||
8246 | + | ||
8247 | +for ac_func in mkdir | ||
8248 | +do | ||
8249 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8250 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
8251 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
8252 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
8253 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8254 | +else | ||
8255 | + cat >conftest.$ac_ext <<_ACEOF | ||
8256 | +/* confdefs.h. */ | ||
8257 | +_ACEOF | ||
8258 | +cat confdefs.h >>conftest.$ac_ext | ||
8259 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8260 | +/* end confdefs.h. */ | ||
8261 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
8262 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
8263 | +#define $ac_func innocuous_$ac_func | ||
8264 | + | ||
8265 | +/* System header to define __stub macros and hopefully few prototypes, | ||
8266 | + which can conflict with char $ac_func (); below. | ||
8267 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8268 | + <limits.h> exists even on freestanding compilers. */ | ||
8269 | + | ||
8270 | +#ifdef __STDC__ | ||
8271 | +# include <limits.h> | ||
8272 | +#else | ||
8273 | +# include <assert.h> | ||
8274 | +#endif | ||
8275 | + | ||
8276 | +#undef $ac_func | ||
8277 | + | ||
8278 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
8279 | +#ifdef __cplusplus | ||
8280 | +extern "C" | ||
8281 | +{ | ||
8282 | +#endif | ||
8283 | +/* We use char because int might match the return type of a gcc2 | ||
8284 | + builtin and then its argument prototype would still apply. */ | ||
8285 | +char $ac_func (); | ||
8286 | +/* The GNU C library defines this for functions which it implements | ||
8287 | + to always fail with ENOSYS. Some functions are actually named | ||
8288 | + something starting with __ and the normal name is an alias. */ | ||
8289 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
8290 | +choke me | ||
8291 | +#else | ||
8292 | +char (*f) () = $ac_func; | ||
8293 | +#endif | ||
8294 | +#ifdef __cplusplus | ||
8295 | +} | ||
8296 | +#endif | ||
8297 | + | ||
8298 | +int | ||
8299 | +main () | ||
8300 | +{ | ||
8301 | +return f != $ac_func; | ||
8302 | + ; | ||
8303 | + return 0; | ||
8304 | +} | ||
8305 | +_ACEOF | ||
8306 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
8307 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8308 | + (eval $ac_link) 2>conftest.er1 | ||
8309 | + ac_status=$? | ||
8310 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
8311 | + rm -f conftest.er1 | ||
8312 | + cat conftest.err >&5 | ||
8313 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8314 | + (exit $ac_status); } && | ||
8315 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
8316 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8317 | + (eval $ac_try) 2>&5 | ||
8318 | + ac_status=$? | ||
8319 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8320 | + (exit $ac_status); }; } && | ||
8321 | + { ac_try='test -s conftest$ac_exeext' | ||
8322 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8323 | + (eval $ac_try) 2>&5 | ||
8324 | + ac_status=$? | ||
8325 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8326 | + (exit $ac_status); }; }; then | ||
8327 | + eval "$as_ac_var=yes" | ||
8328 | +else | ||
8329 | + echo "$as_me: failed program was:" >&5 | ||
8330 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8331 | + | ||
8332 | +eval "$as_ac_var=no" | ||
8333 | +fi | ||
8334 | +rm -f conftest.err conftest.$ac_objext \ | ||
8335 | + conftest$ac_exeext conftest.$ac_ext | ||
8336 | +fi | ||
8337 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
8338 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
8339 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8340 | + cat >>confdefs.h <<_ACEOF | ||
8341 | +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
8342 | +_ACEOF | ||
8343 | + | ||
8344 | +fi | ||
8345 | +done | ||
8346 | + | ||
8347 | + | ||
8348 | +for ac_func in rmdir | ||
8349 | +do | ||
8350 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8351 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
8352 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
8353 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
8354 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8355 | +else | ||
8356 | + cat >conftest.$ac_ext <<_ACEOF | ||
8357 | +/* confdefs.h. */ | ||
8358 | +_ACEOF | ||
8359 | +cat confdefs.h >>conftest.$ac_ext | ||
8360 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8361 | +/* end confdefs.h. */ | ||
8362 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
8363 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
8364 | +#define $ac_func innocuous_$ac_func | ||
8365 | + | ||
8366 | +/* System header to define __stub macros and hopefully few prototypes, | ||
8367 | + which can conflict with char $ac_func (); below. | ||
8368 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8369 | + <limits.h> exists even on freestanding compilers. */ | ||
8370 | + | ||
8371 | +#ifdef __STDC__ | ||
8372 | +# include <limits.h> | ||
8373 | +#else | ||
8374 | +# include <assert.h> | ||
8375 | +#endif | ||
8376 | + | ||
8377 | +#undef $ac_func | ||
8378 | + | ||
8379 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
8380 | +#ifdef __cplusplus | ||
8381 | +extern "C" | ||
8382 | +{ | ||
8383 | +#endif | ||
8384 | +/* We use char because int might match the return type of a gcc2 | ||
8385 | + builtin and then its argument prototype would still apply. */ | ||
8386 | +char $ac_func (); | ||
8387 | +/* The GNU C library defines this for functions which it implements | ||
8388 | + to always fail with ENOSYS. Some functions are actually named | ||
8389 | + something starting with __ and the normal name is an alias. */ | ||
8390 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
8391 | +choke me | ||
8392 | +#else | ||
8393 | +char (*f) () = $ac_func; | ||
8394 | +#endif | ||
8395 | +#ifdef __cplusplus | ||
8396 | +} | ||
8397 | +#endif | ||
8398 | + | ||
8399 | +int | ||
8400 | +main () | ||
8401 | +{ | ||
8402 | +return f != $ac_func; | ||
8403 | + ; | ||
8404 | + return 0; | ||
8405 | +} | ||
8406 | +_ACEOF | ||
8407 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
8408 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8409 | + (eval $ac_link) 2>conftest.er1 | ||
8410 | + ac_status=$? | ||
8411 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
8412 | + rm -f conftest.er1 | ||
8413 | + cat conftest.err >&5 | ||
8414 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8415 | + (exit $ac_status); } && | ||
8416 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
8417 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8418 | + (eval $ac_try) 2>&5 | ||
8419 | + ac_status=$? | ||
8420 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8421 | + (exit $ac_status); }; } && | ||
8422 | + { ac_try='test -s conftest$ac_exeext' | ||
8423 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8424 | + (eval $ac_try) 2>&5 | ||
8425 | + ac_status=$? | ||
8426 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8427 | + (exit $ac_status); }; }; then | ||
8428 | + eval "$as_ac_var=yes" | ||
8429 | +else | ||
8430 | + echo "$as_me: failed program was:" >&5 | ||
8431 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8432 | + | ||
8433 | +eval "$as_ac_var=no" | ||
8434 | +fi | ||
8435 | +rm -f conftest.err conftest.$ac_objext \ | ||
8436 | + conftest$ac_exeext conftest.$ac_ext | ||
8437 | +fi | ||
8438 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
8439 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
8440 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8441 | + cat >>confdefs.h <<_ACEOF | ||
8442 | +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
8443 | +_ACEOF | ||
8444 | + | ||
8445 | +fi | ||
8446 | +done | ||
8447 | + | ||
8448 | + | ||
8449 | +for ac_func in strchr | ||
8450 | +do | ||
8451 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8452 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
8453 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
8454 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
8455 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8456 | +else | ||
8457 | + cat >conftest.$ac_ext <<_ACEOF | ||
8458 | +/* confdefs.h. */ | ||
8459 | +_ACEOF | ||
8460 | +cat confdefs.h >>conftest.$ac_ext | ||
8461 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8462 | +/* end confdefs.h. */ | ||
8463 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
8464 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
8465 | +#define $ac_func innocuous_$ac_func | ||
8466 | + | ||
8467 | +/* System header to define __stub macros and hopefully few prototypes, | ||
8468 | + which can conflict with char $ac_func (); below. | ||
8469 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8470 | + <limits.h> exists even on freestanding compilers. */ | ||
8471 | + | ||
8472 | +#ifdef __STDC__ | ||
8473 | +# include <limits.h> | ||
8474 | +#else | ||
8475 | +# include <assert.h> | ||
8476 | +#endif | ||
8477 | + | ||
8478 | +#undef $ac_func | ||
8479 | + | ||
8480 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
8481 | +#ifdef __cplusplus | ||
8482 | +extern "C" | ||
8483 | +{ | ||
8484 | +#endif | ||
8485 | +/* We use char because int might match the return type of a gcc2 | ||
8486 | + builtin and then its argument prototype would still apply. */ | ||
8487 | +char $ac_func (); | ||
8488 | +/* The GNU C library defines this for functions which it implements | ||
8489 | + to always fail with ENOSYS. Some functions are actually named | ||
8490 | + something starting with __ and the normal name is an alias. */ | ||
8491 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
8492 | +choke me | ||
8493 | +#else | ||
8494 | +char (*f) () = $ac_func; | ||
8495 | +#endif | ||
8496 | +#ifdef __cplusplus | ||
8497 | +} | ||
8498 | +#endif | ||
8499 | + | ||
8500 | +int | ||
8501 | +main () | ||
8502 | +{ | ||
8503 | +return f != $ac_func; | ||
8504 | + ; | ||
8505 | + return 0; | ||
8506 | +} | ||
8507 | +_ACEOF | ||
8508 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
8509 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8510 | + (eval $ac_link) 2>conftest.er1 | ||
8511 | + ac_status=$? | ||
8512 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
8513 | + rm -f conftest.er1 | ||
8514 | + cat conftest.err >&5 | ||
8515 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8516 | + (exit $ac_status); } && | ||
8517 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
8518 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8519 | + (eval $ac_try) 2>&5 | ||
8520 | + ac_status=$? | ||
8521 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8522 | + (exit $ac_status); }; } && | ||
8523 | + { ac_try='test -s conftest$ac_exeext' | ||
8524 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8525 | + (eval $ac_try) 2>&5 | ||
8526 | + ac_status=$? | ||
8527 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8528 | + (exit $ac_status); }; }; then | ||
8529 | + eval "$as_ac_var=yes" | ||
8530 | +else | ||
8531 | + echo "$as_me: failed program was:" >&5 | ||
8532 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8533 | + | ||
8534 | +eval "$as_ac_var=no" | ||
8535 | +fi | ||
8536 | +rm -f conftest.err conftest.$ac_objext \ | ||
8537 | + conftest$ac_exeext conftest.$ac_ext | ||
8538 | +fi | ||
8539 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
8540 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
8541 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8542 | + cat >>confdefs.h <<_ACEOF | ||
8543 | +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
8544 | +_ACEOF | ||
8545 | + | ||
8546 | +fi | ||
8547 | +done | ||
8548 | + | ||
8549 | + | ||
8550 | +for ac_func in strerror | ||
8551 | +do | ||
8552 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8553 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
8554 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
8555 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
8556 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8557 | +else | ||
8558 | + cat >conftest.$ac_ext <<_ACEOF | ||
8559 | +/* confdefs.h. */ | ||
8560 | +_ACEOF | ||
8561 | +cat confdefs.h >>conftest.$ac_ext | ||
8562 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8563 | +/* end confdefs.h. */ | ||
8564 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
8565 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
8566 | +#define $ac_func innocuous_$ac_func | ||
8567 | + | ||
8568 | +/* System header to define __stub macros and hopefully few prototypes, | ||
8569 | + which can conflict with char $ac_func (); below. | ||
8570 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8571 | + <limits.h> exists even on freestanding compilers. */ | ||
8572 | + | ||
8573 | +#ifdef __STDC__ | ||
8574 | +# include <limits.h> | ||
8575 | +#else | ||
8576 | +# include <assert.h> | ||
8577 | +#endif | ||
8578 | + | ||
8579 | +#undef $ac_func | ||
8580 | + | ||
8581 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
8582 | +#ifdef __cplusplus | ||
8583 | +extern "C" | ||
8584 | +{ | ||
8585 | +#endif | ||
8586 | +/* We use char because int might match the return type of a gcc2 | ||
8587 | + builtin and then its argument prototype would still apply. */ | ||
8588 | +char $ac_func (); | ||
8589 | +/* The GNU C library defines this for functions which it implements | ||
8590 | + to always fail with ENOSYS. Some functions are actually named | ||
8591 | + something starting with __ and the normal name is an alias. */ | ||
8592 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
8593 | +choke me | ||
8594 | +#else | ||
8595 | +char (*f) () = $ac_func; | ||
8596 | +#endif | ||
8597 | +#ifdef __cplusplus | ||
8598 | +} | ||
8599 | +#endif | ||
8600 | + | ||
8601 | +int | ||
8602 | +main () | ||
8603 | +{ | ||
8604 | +return f != $ac_func; | ||
8605 | + ; | ||
8606 | + return 0; | ||
8607 | +} | ||
8608 | +_ACEOF | ||
8609 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
8610 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8611 | + (eval $ac_link) 2>conftest.er1 | ||
8612 | + ac_status=$? | ||
8613 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
8614 | + rm -f conftest.er1 | ||
8615 | + cat conftest.err >&5 | ||
8616 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8617 | + (exit $ac_status); } && | ||
8618 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
8619 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8620 | + (eval $ac_try) 2>&5 | ||
8621 | + ac_status=$? | ||
8622 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8623 | + (exit $ac_status); }; } && | ||
8624 | + { ac_try='test -s conftest$ac_exeext' | ||
8625 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8626 | + (eval $ac_try) 2>&5 | ||
8627 | + ac_status=$? | ||
8628 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8629 | + (exit $ac_status); }; }; then | ||
8630 | + eval "$as_ac_var=yes" | ||
8631 | +else | ||
8632 | + echo "$as_me: failed program was:" >&5 | ||
8633 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8634 | + | ||
8635 | +eval "$as_ac_var=no" | ||
8636 | +fi | ||
8637 | +rm -f conftest.err conftest.$ac_objext \ | ||
8638 | + conftest$ac_exeext conftest.$ac_ext | ||
8639 | +fi | ||
8640 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
8641 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
8642 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8643 | + cat >>confdefs.h <<_ACEOF | ||
8644 | +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
8645 | +_ACEOF | ||
8646 | + | ||
8647 | +fi | ||
8648 | +done | ||
8649 | + | ||
8650 | + | ||
8651 | +for ac_func in strrchr | ||
8652 | +do | ||
8653 | +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8654 | +echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
8655 | +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
8656 | +if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
8657 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8658 | +else | ||
8659 | + cat >conftest.$ac_ext <<_ACEOF | ||
8660 | +/* confdefs.h. */ | ||
8661 | +_ACEOF | ||
8662 | +cat confdefs.h >>conftest.$ac_ext | ||
8663 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8664 | +/* end confdefs.h. */ | ||
8665 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
8666 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
8667 | +#define $ac_func innocuous_$ac_func | ||
8668 | + | ||
8669 | +/* System header to define __stub macros and hopefully few prototypes, | ||
8670 | + which can conflict with char $ac_func (); below. | ||
8671 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8672 | + <limits.h> exists even on freestanding compilers. */ | ||
8673 | + | ||
8674 | +#ifdef __STDC__ | ||
8675 | +# include <limits.h> | ||
8676 | +#else | ||
8677 | +# include <assert.h> | ||
8678 | +#endif | ||
8679 | + | ||
8680 | +#undef $ac_func | ||
8681 | + | ||
8682 | +/* Override any gcc2 internal prototype to avoid an error. */ | ||
8683 | +#ifdef __cplusplus | ||
8684 | +extern "C" | ||
8685 | +{ | ||
8686 | +#endif | ||
8687 | +/* We use char because int might match the return type of a gcc2 | ||
8688 | + builtin and then its argument prototype would still apply. */ | ||
8689 | +char $ac_func (); | ||
8690 | +/* The GNU C library defines this for functions which it implements | ||
8691 | + to always fail with ENOSYS. Some functions are actually named | ||
8692 | + something starting with __ and the normal name is an alias. */ | ||
8693 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
8694 | +choke me | ||
8695 | +#else | ||
8696 | +char (*f) () = $ac_func; | ||
8697 | +#endif | ||
8698 | +#ifdef __cplusplus | ||
8699 | +} | ||
8700 | +#endif | ||
8701 | + | ||
8702 | +int | ||
8703 | +main () | ||
8704 | +{ | ||
8705 | +return f != $ac_func; | ||
8706 | + ; | ||
8707 | + return 0; | ||
8708 | +} | ||
8709 | +_ACEOF | ||
8710 | +rm -f conftest.$ac_objext conftest$ac_exeext | ||
8711 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8712 | + (eval $ac_link) 2>conftest.er1 | ||
8713 | + ac_status=$? | ||
8714 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
8715 | + rm -f conftest.er1 | ||
8716 | + cat conftest.err >&5 | ||
8717 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8718 | + (exit $ac_status); } && | ||
8719 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
8720 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8721 | + (eval $ac_try) 2>&5 | ||
8722 | + ac_status=$? | ||
8723 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8724 | + (exit $ac_status); }; } && | ||
8725 | + { ac_try='test -s conftest$ac_exeext' | ||
8726 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8727 | + (eval $ac_try) 2>&5 | ||
8728 | + ac_status=$? | ||
8729 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8730 | + (exit $ac_status); }; }; then | ||
8731 | + eval "$as_ac_var=yes" | ||
8732 | +else | ||
8733 | + echo "$as_me: failed program was:" >&5 | ||
8734 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8735 | + | ||
8736 | +eval "$as_ac_var=no" | ||
8737 | +fi | ||
8738 | +rm -f conftest.err conftest.$ac_objext \ | ||
8739 | + conftest$ac_exeext conftest.$ac_ext | ||
8740 | +fi | ||
8741 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
8742 | +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
8743 | +if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8744 | + cat >>confdefs.h <<_ACEOF | ||
8745 | +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
8746 | +_ACEOF | ||
8747 | + | ||
8748 | +fi | ||
8749 | +done | ||
8750 | + | ||
8751 | +echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | ||
8752 | +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | ||
8753 | +if test "${ac_cv_c_const+set}" = set; then | ||
8754 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8755 | +else | ||
8756 | + cat >conftest.$ac_ext <<_ACEOF | ||
8757 | +/* confdefs.h. */ | ||
8758 | +_ACEOF | ||
8759 | +cat confdefs.h >>conftest.$ac_ext | ||
8760 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8761 | +/* end confdefs.h. */ | ||
8762 | + | ||
8763 | +int | ||
8764 | +main () | ||
8765 | +{ | ||
8766 | +/* FIXME: Include the comments suggested by Paul. */ | ||
8767 | +#ifndef __cplusplus | ||
8768 | + /* Ultrix mips cc rejects this. */ | ||
8769 | + typedef int charset[2]; | ||
8770 | + const charset x; | ||
8771 | + /* SunOS 4.1.1 cc rejects this. */ | ||
8772 | + char const *const *ccp; | ||
8773 | + char **p; | ||
8774 | + /* NEC SVR4.0.2 mips cc rejects this. */ | ||
8775 | + struct point {int x, y;}; | ||
8776 | + static struct point const zero = {0,0}; | ||
8777 | + /* AIX XL C 1.02.0.0 rejects this. | ||
8778 | + It does not let you subtract one const X* pointer from another in | ||
8779 | + an arm of an if-expression whose if-part is not a constant | ||
8780 | + expression */ | ||
8781 | + const char *g = "string"; | ||
8782 | + ccp = &g + (g ? g-g : 0); | ||
8783 | + /* HPUX 7.0 cc rejects these. */ | ||
8784 | + ++ccp; | ||
8785 | + p = (char**) ccp; | ||
8786 | + ccp = (char const *const *) p; | ||
8787 | + { /* SCO 3.2v4 cc rejects this. */ | ||
8788 | + char *t; | ||
8789 | + char const *s = 0 ? (char *) 0 : (char const *) 0; | ||
8790 | + | ||
8791 | + *t++ = 0; | ||
8792 | + } | ||
8793 | + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | ||
8794 | + int x[] = {25, 17}; | ||
8795 | + const int *foo = &x[0]; | ||
8796 | + ++foo; | ||
8797 | + } | ||
8798 | + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | ||
8799 | + typedef const int *iptr; | ||
8800 | + iptr p = 0; | ||
8801 | + ++p; | ||
8802 | + } | ||
8803 | + { /* AIX XL C 1.02.0.0 rejects this saying | ||
8804 | + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | ||
8805 | + struct s { int j; const int *ap[3]; }; | ||
8806 | + struct s *b; b->j = 5; | ||
8807 | + } | ||
8808 | + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | ||
8809 | + const int foo = 10; | ||
8810 | + } | ||
8811 | +#endif | ||
8812 | + | ||
8813 | + ; | ||
8814 | + return 0; | ||
8815 | +} | ||
8816 | +_ACEOF | ||
8817 | +rm -f conftest.$ac_objext | ||
8818 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8819 | + (eval $ac_compile) 2>conftest.er1 | ||
8820 | + ac_status=$? | ||
8821 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
8822 | + rm -f conftest.er1 | ||
8823 | + cat conftest.err >&5 | ||
8824 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8825 | + (exit $ac_status); } && | ||
8826 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
8827 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8828 | + (eval $ac_try) 2>&5 | ||
8829 | + ac_status=$? | ||
8830 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8831 | + (exit $ac_status); }; } && | ||
8832 | + { ac_try='test -s conftest.$ac_objext' | ||
8833 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8834 | + (eval $ac_try) 2>&5 | ||
8835 | + ac_status=$? | ||
8836 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8837 | + (exit $ac_status); }; }; then | ||
8838 | + ac_cv_c_const=yes | ||
8839 | +else | ||
8840 | + echo "$as_me: failed program was:" >&5 | ||
8841 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8842 | + | ||
8843 | +ac_cv_c_const=no | ||
8844 | +fi | ||
8845 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
8846 | +fi | ||
8847 | +echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | ||
8848 | +echo "${ECHO_T}$ac_cv_c_const" >&6 | ||
8849 | +if test $ac_cv_c_const = no; then | ||
8850 | + | ||
8851 | +cat >>confdefs.h <<\_ACEOF | ||
8852 | +#define const | ||
8853 | +_ACEOF | ||
8854 | + | ||
8855 | +fi | ||
8856 | + | ||
8857 | +# On IRIX 5.3, sys/types and inttypes.h are conflicting. | ||
8858 | + | ||
8859 | + | ||
8860 | + | ||
8861 | + | ||
8862 | + | ||
8863 | + | ||
8864 | + | ||
8865 | + | ||
8866 | + | ||
8867 | +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
8868 | + inttypes.h stdint.h unistd.h | ||
8869 | +do | ||
8870 | +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
8871 | +echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
8872 | +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
8873 | +if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
8874 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8875 | +else | ||
8876 | + cat >conftest.$ac_ext <<_ACEOF | ||
8877 | +/* confdefs.h. */ | ||
8878 | +_ACEOF | ||
8879 | +cat confdefs.h >>conftest.$ac_ext | ||
8880 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8881 | +/* end confdefs.h. */ | ||
8882 | +$ac_includes_default | ||
8883 | + | ||
8884 | +#include <$ac_header> | ||
8885 | +_ACEOF | ||
8886 | +rm -f conftest.$ac_objext | ||
8887 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8888 | + (eval $ac_compile) 2>conftest.er1 | ||
8889 | + ac_status=$? | ||
8890 | + grep -v '^ *+' conftest.er1 >conftest.err | ||
8891 | + rm -f conftest.er1 | ||
8892 | + cat conftest.err >&5 | ||
8893 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8894 | + (exit $ac_status); } && | ||
8895 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
8896 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8897 | + (eval $ac_try) 2>&5 | ||
8898 | + ac_status=$? | ||
8899 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8900 | + (exit $ac_status); }; } && | ||
8901 | + { ac_try='test -s conftest.$ac_objext' | ||
8902 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8903 | + (eval $ac_try) 2>&5 | ||
8904 | + ac_status=$? | ||
8905 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8906 | + (exit $ac_status); }; }; then | ||
8907 | + eval "$as_ac_Header=yes" | ||
8908 | +else | ||
8909 | + echo "$as_me: failed program was:" >&5 | ||
8910 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8911 | + | ||
8912 | +eval "$as_ac_Header=no" | ||
8913 | +fi | ||
8914 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
8915 | +fi | ||
8916 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
8917 | +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
8918 | +if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
8919 | + cat >>confdefs.h <<_ACEOF | ||
8920 | +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
8921 | +_ACEOF | ||
8922 | + | ||
8923 | +fi | ||
8924 | + | ||
8925 | +done | ||
8926 | + | ||
8927 | + | ||
8928 | +echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5 | ||
8929 | +echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6 | ||
8930 | +if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then | ||
8931 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8932 | +else | ||
8933 | + rm -f conftest.sym conftest.file | ||
8934 | +echo >conftest.file | ||
8935 | +if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then | ||
8936 | + if test "$cross_compiling" = yes; then | ||
8937 | + ac_cv_func_lstat_dereferences_slashed_symlink=no | ||
8938 | +else | ||
8939 | + cat >conftest.$ac_ext <<_ACEOF | ||
8940 | +/* confdefs.h. */ | ||
8941 | +_ACEOF | ||
8942 | +cat confdefs.h >>conftest.$ac_ext | ||
8943 | +cat >>conftest.$ac_ext <<_ACEOF | ||
8944 | +/* end confdefs.h. */ | ||
8945 | +$ac_includes_default | ||
8946 | +int | ||
8947 | +main () | ||
8948 | +{ | ||
8949 | +struct stat sbuf; | ||
8950 | + /* Linux will dereference the symlink and fail. | ||
8951 | + That is better in the sense that it means we will not | ||
8952 | + have to compile and use the lstat wrapper. */ | ||
8953 | + exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1); | ||
8954 | + ; | ||
8955 | + return 0; | ||
8956 | +} | ||
8957 | +_ACEOF | ||
8958 | +rm -f conftest$ac_exeext | ||
8959 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8960 | + (eval $ac_link) 2>&5 | ||
8961 | + ac_status=$? | ||
8962 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8963 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
8964 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8965 | + (eval $ac_try) 2>&5 | ||
8966 | + ac_status=$? | ||
8967 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8968 | + (exit $ac_status); }; }; then | ||
8969 | + ac_cv_func_lstat_dereferences_slashed_symlink=yes | ||
8970 | +else | ||
8971 | + echo "$as_me: program exited with status $ac_status" >&5 | ||
8972 | +echo "$as_me: failed program was:" >&5 | ||
8973 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
8974 | + | ||
8975 | +( exit $ac_status ) | ||
8976 | +ac_cv_func_lstat_dereferences_slashed_symlink=no | ||
8977 | +fi | ||
8978 | +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
8979 | +fi | ||
8980 | +else | ||
8981 | + # If the `ln -s' command failed, then we probably don't even | ||
8982 | + # have an lstat function. | ||
8983 | + ac_cv_func_lstat_dereferences_slashed_symlink=no | ||
8984 | +fi | ||
8985 | +rm -f conftest.sym conftest.file | ||
8986 | + | ||
8987 | +fi | ||
8988 | +echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 | ||
8989 | +echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6 | ||
8990 | + | ||
8991 | +test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && | ||
8992 | + | ||
8993 | +cat >>confdefs.h <<_ACEOF | ||
8994 | +#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 | ||
8995 | +_ACEOF | ||
8996 | + | ||
8997 | + | ||
8998 | +if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then | ||
8999 | + case $LIBOBJS in | ||
9000 | + "lstat.$ac_objext" | \ | ||
9001 | + *" lstat.$ac_objext" | \ | ||
9002 | + "lstat.$ac_objext "* | \ | ||
9003 | + *" lstat.$ac_objext "* ) ;; | ||
9004 | + *) LIBOBJS="$LIBOBJS lstat.$ac_objext" ;; | ||
9005 | +esac | ||
9006 | + | ||
9007 | +fi | ||
9008 | + | ||
9009 | +echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5 | ||
9010 | +echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6 | ||
9011 | +if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then | ||
9012 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9013 | +else | ||
9014 | + if test "$cross_compiling" = yes; then | ||
9015 | + ac_cv_func_stat_empty_string_bug=yes | ||
9016 | +else | ||
9017 | + cat >conftest.$ac_ext <<_ACEOF | ||
9018 | +/* confdefs.h. */ | ||
9019 | +_ACEOF | ||
9020 | +cat confdefs.h >>conftest.$ac_ext | ||
9021 | +cat >>conftest.$ac_ext <<_ACEOF | ||
9022 | +/* end confdefs.h. */ | ||
9023 | +$ac_includes_default | ||
9024 | +int | ||
9025 | +main () | ||
9026 | +{ | ||
9027 | +struct stat sbuf; | ||
9028 | + exit (stat ("", &sbuf) ? 1 : 0); | ||
9029 | + ; | ||
9030 | + return 0; | ||
9031 | +} | ||
9032 | +_ACEOF | ||
9033 | +rm -f conftest$ac_exeext | ||
9034 | +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
9035 | + (eval $ac_link) 2>&5 | ||
9036 | + ac_status=$? | ||
9037 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9038 | + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
9039 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9040 | + (eval $ac_try) 2>&5 | ||
9041 | + ac_status=$? | ||
9042 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9043 | + (exit $ac_status); }; }; then | ||
9044 | + ac_cv_func_stat_empty_string_bug=yes | ||
9045 | +else | ||
9046 | + echo "$as_me: program exited with status $ac_status" >&5 | ||
9047 | +echo "$as_me: failed program was:" >&5 | ||
9048 | +sed 's/^/| /' conftest.$ac_ext >&5 | ||
9049 | + | ||
9050 | +( exit $ac_status ) | ||
9051 | +ac_cv_func_stat_empty_string_bug=no | ||
9052 | +fi | ||
9053 | +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
9054 | +fi | ||
9055 | +fi | ||
9056 | +echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5 | ||
9057 | +echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6 | ||
9058 | +if test $ac_cv_func_stat_empty_string_bug = yes; then | ||
9059 | + case $LIBOBJS in | ||
9060 | + "stat.$ac_objext" | \ | ||
9061 | + *" stat.$ac_objext" | \ | ||
9062 | + "stat.$ac_objext "* | \ | ||
9063 | + *" stat.$ac_objext "* ) ;; | ||
9064 | + *) LIBOBJS="$LIBOBJS stat.$ac_objext" ;; | ||
9065 | +esac | ||
9066 | + | ||
9067 | + | ||
9068 | +cat >>confdefs.h <<_ACEOF | ||
9069 | +#define HAVE_STAT_EMPTY_STRING_BUG 1 | ||
9070 | +_ACEOF | ||
9071 | + | ||
9072 | +fi | ||
9073 | + | ||
9074 | + | ||
9075 | +# Find a good install program. We prefer a C program (faster), | ||
9076 | +# so one script is as good as another. But avoid the broken or | ||
9077 | +# incompatible versions: | ||
9078 | +# SysV /etc/install, /usr/sbin/install | ||
9079 | +# SunOS /usr/etc/install | ||
9080 | +# IRIX /sbin/install | ||
9081 | +# AIX /bin/install | ||
9082 | +# AmigaOS /C/install, which installs bootblocks on floppy discs | ||
9083 | +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | ||
9084 | +# AFS /usr/afsws/bin/install, which mishandles nonexistent args | ||
9085 | +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||
9086 | +# OS/2's system install, which has a completely different semantic | ||
9087 | +# ./install, which can be erroneously created by make from ./install.sh. | ||
9088 | +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | ||
9089 | +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | ||
9090 | +if test -z "$INSTALL"; then | ||
9091 | +if test "${ac_cv_path_install+set}" = set; then | ||
9092 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9093 | +else | ||
9094 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9095 | +for as_dir in $PATH | ||
9096 | +do | ||
9097 | + IFS=$as_save_IFS | ||
9098 | + test -z "$as_dir" && as_dir=. | ||
9099 | + # Account for people who put trailing slashes in PATH elements. | ||
9100 | +case $as_dir/ in | ||
9101 | + ./ | .// | /cC/* | \ | ||
9102 | + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | ||
9103 | + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | ||
9104 | + /usr/ucb/* ) ;; | ||
9105 | + *) | ||
9106 | + # OSF1 and SCO ODT 3.0 have their own names for install. | ||
9107 | + # Don't use installbsd from OSF since it installs stuff as root | ||
9108 | + # by default. | ||
9109 | + for ac_prog in ginstall scoinst install; do | ||
9110 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9111 | + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | ||
9112 | + if test $ac_prog = install && | ||
9113 | + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
9114 | + # AIX install. It has an incompatible calling convention. | ||
9115 | + : | ||
9116 | + elif test $ac_prog = install && | ||
9117 | + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
9118 | + # program-specific install script used by HP pwplus--don't use. | ||
9119 | + : | ||
9120 | + else | ||
9121 | + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ||
9122 | + break 3 | ||
9123 | + fi | ||
9124 | + fi | ||
9125 | + done | ||
9126 | + done | ||
9127 | + ;; | ||
9128 | +esac | ||
9129 | +done | ||
9130 | + | ||
9131 | + | ||
9132 | +fi | ||
9133 | + if test "${ac_cv_path_install+set}" = set; then | ||
9134 | + INSTALL=$ac_cv_path_install | ||
9135 | + else | ||
9136 | + # As a last resort, use the slow shell script. We don't cache a | ||
9137 | + # path for INSTALL within a source directory, because that will | ||
9138 | + # break other packages using the cache if that directory is | ||
9139 | + # removed, or if the path is relative. | ||
9140 | + INSTALL=$ac_install_sh | ||
9141 | + fi | ||
9142 | +fi | ||
9143 | +echo "$as_me:$LINENO: result: $INSTALL" >&5 | ||
9144 | +echo "${ECHO_T}$INSTALL" >&6 | ||
9145 | + | ||
9146 | +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. | ||
9147 | +# It thinks the first close brace ends the variable substitution. | ||
9148 | +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
9149 | + | ||
9150 | +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | ||
9151 | + | ||
9152 | +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||
9153 | + | ||
9154 | + | ||
9155 | +echo "$as_me:$LINENO: checking whether #! works in shell scripts" >&5 | ||
9156 | +echo $ECHO_N "checking whether #! works in shell scripts... $ECHO_C" >&6 | ||
9157 | +if test "${ac_cv_sys_interpreter+set}" = set; then | ||
9158 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9159 | +else | ||
9160 | + echo '#! /bin/cat | ||
9161 | +exit 69 | ||
9162 | +' >conftest | ||
9163 | +chmod u+x conftest | ||
9164 | +(SHELL=/bin/sh; export SHELL; ./conftest >/dev/null) | ||
9165 | +if test $? -ne 69; then | ||
9166 | + ac_cv_sys_interpreter=yes | ||
9167 | +else | ||
9168 | + ac_cv_sys_interpreter=no | ||
9169 | +fi | ||
9170 | +rm -f conftest | ||
9171 | +fi | ||
9172 | +echo "$as_me:$LINENO: result: $ac_cv_sys_interpreter" >&5 | ||
9173 | +echo "${ECHO_T}$ac_cv_sys_interpreter" >&6 | ||
9174 | +interpval=$ac_cv_sys_interpreter | ||
9175 | + | ||
9176 | +if test "$interpval" != yes ; then | ||
9177 | + { echo "$as_me:$LINENO: WARNING: no | ||
9178 | + | ||
9179 | +bash/perl scripts may not be invoked correctly due to problems with your | ||
9180 | +systems implementation of #! being either broken or non-existant. | ||
9181 | +" >&5 | ||
9182 | +echo "$as_me: WARNING: no | ||
9183 | + | ||
9184 | +bash/perl scripts may not be invoked correctly due to problems with your | ||
9185 | +systems implementation of #! being either broken or non-existant. | ||
9186 | +" >&2;} | ||
9187 | +fi | ||
9188 | + | ||
9189 | +unset BASH # bash sets this itself! | ||
9190 | + | ||
9191 | +# Check whether --with-bash or --without-bash was given. | ||
9192 | +if test "${with_bash+set}" = set; then | ||
9193 | + withval="$with_bash" | ||
9194 | + | ||
9195 | + BASH="$withval" | ||
9196 | + | ||
9197 | + { echo "$as_me:$LINENO: Using bash executable $BASH" >&5 | ||
9198 | +echo "$as_me: Using bash executable $BASH" >&6;} | ||
9199 | + | ||
9200 | +else | ||
9201 | + | ||
9202 | + # Extract the first word of "bash", so it can be a program name with args. | ||
9203 | +set dummy bash; ac_word=$2 | ||
9204 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9205 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9206 | +if test "${ac_cv_path_BASH+set}" = set; then | ||
9207 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9208 | +else | ||
9209 | + case $BASH in | ||
9210 | + [\\/]* | ?:[\\/]*) | ||
9211 | + ac_cv_path_BASH="$BASH" # Let the user override the test with a path. | ||
9212 | + ;; | ||
9213 | + *) | ||
9214 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9215 | +for as_dir in $PATH | ||
9216 | +do | ||
9217 | + IFS=$as_save_IFS | ||
9218 | + test -z "$as_dir" && as_dir=. | ||
9219 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9220 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9221 | + ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext" | ||
9222 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9223 | + break 2 | ||
9224 | + fi | ||
9225 | +done | ||
9226 | +done | ||
9227 | + | ||
9228 | + ;; | ||
9229 | +esac | ||
9230 | +fi | ||
9231 | +BASH=$ac_cv_path_BASH | ||
9232 | + | ||
9233 | +if test -n "$BASH"; then | ||
9234 | + echo "$as_me:$LINENO: result: $BASH" >&5 | ||
9235 | +echo "${ECHO_T}$BASH" >&6 | ||
9236 | +else | ||
9237 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9238 | +echo "${ECHO_T}no" >&6 | ||
9239 | +fi | ||
9240 | + | ||
9241 | + | ||
9242 | +fi; | ||
9243 | +if test -z "$BASH" ; then | ||
9244 | + { { echo "$as_me:$LINENO: error: Please specify the location of bash with the option '--with-bash'" >&5 | ||
9245 | +echo "$as_me: error: Please specify the location of bash with the option '--with-bash'" >&2;} | ||
9246 | + { (exit 1); exit 1; }; } | ||
9247 | +fi | ||
9248 | + | ||
9249 | +# It would be nice not to have to use backticks, but too many retarded sh | ||
9250 | +# implementations still don't support $( ) | ||
9251 | +# BEWARE: There is a distinct possibility that we are currently running under | ||
9252 | +# bash in this configure script (/bin/sh being a symlink to /bin/bash). Even | ||
9253 | +# though the result /could/ be available to us directly as $BASH_VERSION we | ||
9254 | +# don't want to use, or trust it, incase the user is specifying a different | ||
9255 | +# bash executable. | ||
9256 | +if `$BASH -c '[ "$BASH_VERSION" \< "2.04" ]'` ; then | ||
9257 | + { { echo "$as_me:$LINENO: error: | ||
9258 | +$PACKAGE_NAME requires at least version 2.04 of bash, you can download a current | ||
9259 | +version of bash from ftp.gnu.org | ||
9260 | +" >&5 | ||
9261 | +echo "$as_me: error: | ||
9262 | +$PACKAGE_NAME requires at least version 2.04 of bash, you can download a current | ||
9263 | +version of bash from ftp.gnu.org | ||
9264 | +" >&2;} | ||
9265 | + { (exit 1); exit 1; }; } | ||
9266 | +fi | ||
9267 | + | ||
9268 | + | ||
9269 | +# Check whether --with-perl or --without-perl was given. | ||
9270 | +if test "${with_perl+set}" = set; then | ||
9271 | + withval="$with_perl" | ||
9272 | + | ||
9273 | + PERL="$withval" | ||
9274 | + | ||
9275 | + { echo "$as_me:$LINENO: Using Perl executable $PERL" >&5 | ||
9276 | +echo "$as_me: Using Perl executable $PERL" >&6;} | ||
9277 | + | ||
9278 | +else | ||
9279 | + | ||
9280 | + for ac_prog in perl perl5 | ||
9281 | +do | ||
9282 | + # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
9283 | +set dummy $ac_prog; ac_word=$2 | ||
9284 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9285 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9286 | +if test "${ac_cv_path_PERL+set}" = set; then | ||
9287 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9288 | +else | ||
9289 | + case $PERL in | ||
9290 | + [\\/]* | ?:[\\/]*) | ||
9291 | + ac_cv_path_PERL="$PERL" # Let the user override the test with a path. | ||
9292 | + ;; | ||
9293 | + *) | ||
9294 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9295 | +for as_dir in $PATH | ||
9296 | +do | ||
9297 | + IFS=$as_save_IFS | ||
9298 | + test -z "$as_dir" && as_dir=. | ||
9299 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9300 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9301 | + ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" | ||
9302 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9303 | + break 2 | ||
9304 | + fi | ||
9305 | +done | ||
9306 | +done | ||
9307 | + | ||
9308 | + ;; | ||
9309 | +esac | ||
9310 | +fi | ||
9311 | +PERL=$ac_cv_path_PERL | ||
9312 | + | ||
9313 | +if test -n "$PERL"; then | ||
9314 | + echo "$as_me:$LINENO: result: $PERL" >&5 | ||
9315 | +echo "${ECHO_T}$PERL" >&6 | ||
9316 | +else | ||
9317 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9318 | +echo "${ECHO_T}no" >&6 | ||
9319 | +fi | ||
9320 | + | ||
9321 | + test -n "$PERL" && break | ||
9322 | +done | ||
9323 | + | ||
9324 | + | ||
9325 | +fi; | ||
9326 | +if test -z "$PERL" ; then | ||
9327 | + { { echo "$as_me:$LINENO: error: Please specify the location of Perl with the option '--with-perl'" >&5 | ||
9328 | +echo "$as_me: error: Please specify the location of Perl with the option '--with-perl'" >&2;} | ||
9329 | + { (exit 1); exit 1; }; } | ||
9330 | +fi | ||
9331 | + | ||
9332 | + | ||
9333 | +# Check whether --with-sed or --without-sed was given. | ||
9334 | +if test "${with_sed+set}" = set; then | ||
9335 | + withval="$with_sed" | ||
9336 | + | ||
9337 | + SED="$withval" | ||
9338 | + | ||
9339 | + { echo "$as_me:$LINENO: Using sed executable $SED" >&5 | ||
9340 | +echo "$as_me: Using sed executable $SED" >&6;} | ||
9341 | + | ||
9342 | +else | ||
9343 | + | ||
9344 | + SED="sed" | ||
9345 | + | ||
9346 | + | ||
9347 | +fi; | ||
9348 | + | ||
9349 | + | ||
9350 | +# Check whether --with-awk or --without-awk was given. | ||
9351 | +if test "${with_awk+set}" = set; then | ||
9352 | + withval="$with_awk" | ||
9353 | + | ||
9354 | + AWK="$withval" | ||
9355 | + | ||
9356 | + { echo "$as_me:$LINENO: Using awk executable $AWK" >&5 | ||
9357 | +echo "$as_me: Using awk executable $AWK" >&6;} | ||
9358 | + | ||
9359 | +else | ||
9360 | + | ||
9361 | + for ac_prog in gawk awk | ||
9362 | +do | ||
9363 | + # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
9364 | +set dummy $ac_prog; ac_word=$2 | ||
9365 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9366 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9367 | +if test "${ac_cv_path_AWK+set}" = set; then | ||
9368 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9369 | +else | ||
9370 | + case $AWK in | ||
9371 | + [\\/]* | ?:[\\/]*) | ||
9372 | + ac_cv_path_AWK="$AWK" # Let the user override the test with a path. | ||
9373 | + ;; | ||
9374 | + *) | ||
9375 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9376 | +for as_dir in $PATH | ||
9377 | +do | ||
9378 | + IFS=$as_save_IFS | ||
9379 | + test -z "$as_dir" && as_dir=. | ||
9380 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9381 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9382 | + ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext" | ||
9383 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9384 | + break 2 | ||
9385 | + fi | ||
9386 | +done | ||
9387 | +done | ||
9388 | + | ||
9389 | + ;; | ||
9390 | +esac | ||
9391 | +fi | ||
9392 | +AWK=$ac_cv_path_AWK | ||
9393 | + | ||
9394 | +if test -n "$AWK"; then | ||
9395 | + echo "$as_me:$LINENO: result: $AWK" >&5 | ||
9396 | +echo "${ECHO_T}$AWK" >&6 | ||
9397 | +else | ||
9398 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9399 | +echo "${ECHO_T}no" >&6 | ||
9400 | +fi | ||
9401 | + | ||
9402 | + test -n "$AWK" && break | ||
9403 | +done | ||
9404 | + | ||
9405 | + | ||
9406 | +fi; | ||
9407 | + | ||
9408 | + | ||
9409 | +if test -z "$PERL" ; then | ||
9410 | + { { echo "$as_me:$LINENO: error: Please specify the location of Perl with the option '--with-perl'" >&5 | ||
9411 | +echo "$as_me: error: Please specify the location of Perl with the option '--with-perl'" >&2;} | ||
9412 | + { (exit 1); exit 1; }; } | ||
9413 | +fi | ||
9414 | + | ||
9415 | + | ||
9416 | +# Check whether --with-mktemp or --without-mktemp was given. | ||
9417 | +if test "${with_mktemp+set}" = set; then | ||
9418 | + withval="$with_mktemp" | ||
9419 | + | ||
9420 | + MKTEMP="$withval" | ||
9421 | + | ||
9422 | + { echo "$as_me:$LINENO: Using mktemp executable $MKTEMP" >&5 | ||
9423 | +echo "$as_me: Using mktemp executable $MKTEMP" >&6;} | ||
9424 | + | ||
9425 | +else | ||
9426 | + | ||
9427 | + # Extract the first word of "mktemp", so it can be a program name with args. | ||
9428 | +set dummy mktemp; ac_word=$2 | ||
9429 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9430 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9431 | +if test "${ac_cv_path_MKTEMP+set}" = set; then | ||
9432 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9433 | +else | ||
9434 | + case $MKTEMP in | ||
9435 | + [\\/]* | ?:[\\/]*) | ||
9436 | + ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path. | ||
9437 | + ;; | ||
9438 | + *) | ||
9439 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9440 | +for as_dir in $PATH | ||
9441 | +do | ||
9442 | + IFS=$as_save_IFS | ||
9443 | + test -z "$as_dir" && as_dir=. | ||
9444 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9445 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9446 | + ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext" | ||
9447 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9448 | + break 2 | ||
9449 | + fi | ||
9450 | +done | ||
9451 | +done | ||
9452 | + | ||
9453 | + ;; | ||
9454 | +esac | ||
9455 | +fi | ||
9456 | +MKTEMP=$ac_cv_path_MKTEMP | ||
9457 | + | ||
9458 | +if test -n "$MKTEMP"; then | ||
9459 | + echo "$as_me:$LINENO: result: $MKTEMP" >&5 | ||
9460 | +echo "${ECHO_T}$MKTEMP" >&6 | ||
9461 | +else | ||
9462 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9463 | +echo "${ECHO_T}no" >&6 | ||
9464 | +fi | ||
9465 | + | ||
9466 | + | ||
9467 | +fi; | ||
9468 | +if test -z "$MKTEMP" -o "$MKTEMP" = "none" ; then | ||
9469 | + MKTEMP=internal_mktemp | ||
9470 | +else | ||
9471 | + echo "$as_me:$LINENO: checking whether $MKTEMP -d works" >&5 | ||
9472 | +echo $ECHO_N "checking whether $MKTEMP -d works... $ECHO_C" >&6 | ||
9473 | + if tempdir=`$MKTEMP -d /tmp/$PACKAGE_NAME.XXXXXX 2>/dev/null` && \ | ||
9474 | + rmdir "$tempdir" ; then | ||
9475 | + echo "$as_me:$LINENO: result: yes" >&5 | ||
9476 | +echo "${ECHO_T}yes" >&6 | ||
9477 | + else | ||
9478 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9479 | +echo "${ECHO_T}no" >&6 | ||
9480 | + { { echo "$as_me:$LINENO: error: | ||
9481 | +'$MKTEMP -d' does not create temporary directories. | ||
9482 | +If you don't have a version of mktemp that can create directories, you | ||
9483 | +can specify '--with-mktemp=none' and $PACKAGE_NAME will use its own | ||
9484 | +internal tempfile generation mechanism. | ||
9485 | +" >&5 | ||
9486 | +echo "$as_me: error: | ||
9487 | +'$MKTEMP -d' does not create temporary directories. | ||
9488 | +If you don't have a version of mktemp that can create directories, you | ||
9489 | +can specify '--with-mktemp=none' and $PACKAGE_NAME will use its own | ||
9490 | +internal tempfile generation mechanism. | ||
9491 | +" >&2;} | ||
9492 | + { (exit 1); exit 1; }; } | ||
9493 | + fi | ||
9494 | +fi | ||
9495 | + | ||
9496 | + | ||
9497 | +# Check whether --with-diff or --without-diff was given. | ||
9498 | +if test "${with_diff+set}" = set; then | ||
9499 | + withval="$with_diff" | ||
9500 | + | ||
9501 | + DIFF="$withval" | ||
9502 | + | ||
9503 | + { echo "$as_me:$LINENO: Using diff executable $DIFF" >&5 | ||
9504 | +echo "$as_me: Using diff executable $DIFF" >&6;} | ||
9505 | + | ||
9506 | +else | ||
9507 | + | ||
9508 | + # Extract the first word of "diff", so it can be a program name with args. | ||
9509 | +set dummy diff; ac_word=$2 | ||
9510 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9511 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9512 | +if test "${ac_cv_path_DIFF+set}" = set; then | ||
9513 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9514 | +else | ||
9515 | + case $DIFF in | ||
9516 | + [\\/]* | ?:[\\/]*) | ||
9517 | + ac_cv_path_DIFF="$DIFF" # Let the user override the test with a path. | ||
9518 | + ;; | ||
9519 | + *) | ||
9520 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9521 | +for as_dir in $PATH | ||
9522 | +do | ||
9523 | + IFS=$as_save_IFS | ||
9524 | + test -z "$as_dir" && as_dir=. | ||
9525 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9526 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9527 | + ac_cv_path_DIFF="$as_dir/$ac_word$ac_exec_ext" | ||
9528 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9529 | + break 2 | ||
9530 | + fi | ||
9531 | +done | ||
9532 | +done | ||
9533 | + | ||
9534 | + ;; | ||
9535 | +esac | ||
9536 | +fi | ||
9537 | +DIFF=$ac_cv_path_DIFF | ||
9538 | + | ||
9539 | +if test -n "$DIFF"; then | ||
9540 | + echo "$as_me:$LINENO: result: $DIFF" >&5 | ||
9541 | +echo "${ECHO_T}$DIFF" >&6 | ||
9542 | +else | ||
9543 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9544 | +echo "${ECHO_T}no" >&6 | ||
9545 | +fi | ||
9546 | + | ||
9547 | + | ||
9548 | +fi; | ||
9549 | +if test -z "$DIFF"; then | ||
9550 | + { { echo "$as_me:$LINENO: error: Please specify the location of diff with the option '--with-diff'" >&5 | ||
9551 | +echo "$as_me: error: Please specify the location of diff with the option '--with-diff'" >&2;} | ||
9552 | + { (exit 1); exit 1; }; } | ||
9553 | +fi | ||
9554 | + | ||
9555 | + | ||
9556 | +# Check whether --with-patch or --without-patch was given. | ||
9557 | +if test "${with_patch+set}" = set; then | ||
9558 | + withval="$with_patch" | ||
9559 | + | ||
9560 | + PATCH="$withval" | ||
9561 | + | ||
9562 | + { echo "$as_me:$LINENO: Using patch executable $PATCH" >&5 | ||
9563 | +echo "$as_me: Using patch executable $PATCH" >&6;} | ||
9564 | + | ||
9565 | +else | ||
9566 | + | ||
9567 | + # Extract the first word of "patch", so it can be a program name with args. | ||
9568 | +set dummy patch; ac_word=$2 | ||
9569 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9570 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9571 | +if test "${ac_cv_path_PATCH+set}" = set; then | ||
9572 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9573 | +else | ||
9574 | + case $PATCH in | ||
9575 | + [\\/]* | ?:[\\/]*) | ||
9576 | + ac_cv_path_PATCH="$PATCH" # Let the user override the test with a path. | ||
9577 | + ;; | ||
9578 | + *) | ||
9579 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9580 | +for as_dir in $PATH | ||
9581 | +do | ||
9582 | + IFS=$as_save_IFS | ||
9583 | + test -z "$as_dir" && as_dir=. | ||
9584 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9585 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9586 | + ac_cv_path_PATCH="$as_dir/$ac_word$ac_exec_ext" | ||
9587 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9588 | + break 2 | ||
9589 | + fi | ||
9590 | +done | ||
9591 | +done | ||
9592 | + | ||
9593 | + ;; | ||
9594 | +esac | ||
9595 | +fi | ||
9596 | +PATCH=$ac_cv_path_PATCH | ||
9597 | + | ||
9598 | +if test -n "$PATCH"; then | ||
9599 | + echo "$as_me:$LINENO: result: $PATCH" >&5 | ||
9600 | +echo "${ECHO_T}$PATCH" >&6 | ||
9601 | +else | ||
9602 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9603 | +echo "${ECHO_T}no" >&6 | ||
9604 | +fi | ||
9605 | + | ||
9606 | + | ||
9607 | +fi; | ||
9608 | +if test -z "$PATCH"; then | ||
9609 | + { { echo "$as_me:$LINENO: error: Please specify the location of patch with the option '--with-patch'" >&5 | ||
9610 | +echo "$as_me: error: Please specify the location of patch with the option '--with-patch'" >&2;} | ||
9611 | + { (exit 1); exit 1; }; } | ||
9612 | +fi | ||
9613 | + | ||
9614 | +# Sun's patch is a mess, issue a warning. But we are going to continue with | ||
9615 | +# the build because you might just be lucky. | ||
9616 | +echo "$as_me:$LINENO: checking whether $PATCH will work" >&5 | ||
9617 | +echo $ECHO_N "checking whether $PATCH will work... $ECHO_C" >&6 | ||
9618 | +if $PATCH -v 2>&1 | grep -q "Sun" >/dev/null 2>&1; then | ||
9619 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9620 | +echo "${ECHO_T}no" >&6 | ||
9621 | + { echo "$as_me:$LINENO: WARNING: | ||
9622 | +Sorry, you have a Sun version of patch which is notoriously buggy. $PACKAGE_NAME | ||
9623 | +may function correctly, or minor errors may occur due to Sun's patch tool. | ||
9624 | +Please consider upgrading to GNU patch, if you already have GNU patch then you | ||
9625 | +can supply its path with the '--with-patch=' option. | ||
9626 | +" >&5 | ||
9627 | +echo "$as_me: WARNING: | ||
9628 | +Sorry, you have a Sun version of patch which is notoriously buggy. $PACKAGE_NAME | ||
9629 | +may function correctly, or minor errors may occur due to Sun's patch tool. | ||
9630 | +Please consider upgrading to GNU patch, if you already have GNU patch then you | ||
9631 | +can supply its path with the '--with-patch=' option. | ||
9632 | +" >&2;} | ||
9633 | +elif $PATCH --version 2>&1 | grep -q "patch 2.0" >/dev/null 2>&1; then | ||
9634 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9635 | +echo "${ECHO_T}no" >&6 | ||
9636 | + { echo "$as_me:$LINENO: WARNING: | ||
9637 | +Sorry, the version of patch you are using can cause severe problems when a patch | ||
9638 | +creates a directory. $PACKAGE_NAME may well function correctly with this version | ||
9639 | +of patch or small problems could creep in. | ||
9640 | +Please consider upgrading your patch to a more recent version, if you already | ||
9641 | +have a more recent version of patch then you can supply its path with the | ||
9642 | +'--with-patch=' option. | ||
9643 | +" >&5 | ||
9644 | +echo "$as_me: WARNING: | ||
9645 | +Sorry, the version of patch you are using can cause severe problems when a patch | ||
9646 | +creates a directory. $PACKAGE_NAME may well function correctly with this version | ||
9647 | +of patch or small problems could creep in. | ||
9648 | +Please consider upgrading your patch to a more recent version, if you already | ||
9649 | +have a more recent version of patch then you can supply its path with the | ||
9650 | +'--with-patch=' option. | ||
9651 | +" >&2;} | ||
9652 | +else | ||
9653 | + echo "$as_me:$LINENO: result: yes" >&5 | ||
9654 | +echo "${ECHO_T}yes" >&6 | ||
9655 | +fi | ||
9656 | + | ||
9657 | + | ||
9658 | +# Check whether --with-diffstat or --without-diffstat was given. | ||
9659 | +if test "${with_diffstat+set}" = set; then | ||
9660 | + withval="$with_diffstat" | ||
9661 | + | ||
9662 | + DIFFSTAT="$withval" | ||
9663 | + | ||
9664 | + { echo "$as_me:$LINENO: Using diffstat executable $DIFFSTAT" >&5 | ||
9665 | +echo "$as_me: Using diffstat executable $DIFFSTAT" >&6;} | ||
9666 | + | ||
9667 | +else | ||
9668 | + | ||
9669 | + # Extract the first word of "diffstat", so it can be a program name with args. | ||
9670 | +set dummy diffstat; ac_word=$2 | ||
9671 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9672 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9673 | +if test "${ac_cv_path_DIFFSTAT+set}" = set; then | ||
9674 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9675 | +else | ||
9676 | + case $DIFFSTAT in | ||
9677 | + [\\/]* | ?:[\\/]*) | ||
9678 | + ac_cv_path_DIFFSTAT="$DIFFSTAT" # Let the user override the test with a path. | ||
9679 | + ;; | ||
9680 | + *) | ||
9681 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9682 | +for as_dir in $PATH | ||
9683 | +do | ||
9684 | + IFS=$as_save_IFS | ||
9685 | + test -z "$as_dir" && as_dir=. | ||
9686 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9687 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9688 | + ac_cv_path_DIFFSTAT="$as_dir/$ac_word$ac_exec_ext" | ||
9689 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9690 | + break 2 | ||
9691 | + fi | ||
9692 | +done | ||
9693 | +done | ||
9694 | + | ||
9695 | + ;; | ||
9696 | +esac | ||
9697 | +fi | ||
9698 | +DIFFSTAT=$ac_cv_path_DIFFSTAT | ||
9699 | + | ||
9700 | +if test -n "$DIFFSTAT"; then | ||
9701 | + echo "$as_me:$LINENO: result: $DIFFSTAT" >&5 | ||
9702 | +echo "${ECHO_T}$DIFFSTAT" >&6 | ||
9703 | +else | ||
9704 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9705 | +echo "${ECHO_T}no" >&6 | ||
9706 | +fi | ||
9707 | + | ||
9708 | + | ||
9709 | +fi; | ||
9710 | +if test -z "$DIFFSTAT"; then | ||
9711 | + { echo "$as_me:$LINENO: WARNING: | ||
9712 | +diffstat utility not found; the --diffstat option of the refresh command | ||
9713 | +will not work correctly until diffstat is installed. If you have diffstat | ||
9714 | +in a directory that is not in the search path you can specify its location | ||
9715 | +using the '--with-diffstat' option. | ||
9716 | +" >&5 | ||
9717 | +echo "$as_me: WARNING: | ||
9718 | +diffstat utility not found; the --diffstat option of the refresh command | ||
9719 | +will not work correctly until diffstat is installed. If you have diffstat | ||
9720 | +in a directory that is not in the search path you can specify its location | ||
9721 | +using the '--with-diffstat' option. | ||
9722 | +" >&2;} | ||
9723 | + DIFFSTAT="diffstat" | ||
9724 | +fi | ||
9725 | + | ||
9726 | +# Check whether --enable-nls or --disable-nls was given. | ||
9727 | +if test "${enable_nls+set}" = set; then | ||
9728 | + enableval="$enable_nls" | ||
9729 | + | ||
9730 | +fi; | ||
9731 | +if test "$enableval" != "no"; then | ||
9732 | + # Extract the first word of "msgfmt", so it can be a program name with args. | ||
9733 | +set dummy msgfmt; ac_word=$2 | ||
9734 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9735 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9736 | +if test "${ac_cv_path_MSGFMT+set}" = set; then | ||
9737 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9738 | +else | ||
9739 | + case $MSGFMT in | ||
9740 | + [\\/]* | ?:[\\/]*) | ||
9741 | + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. | ||
9742 | + ;; | ||
9743 | + *) | ||
9744 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9745 | +for as_dir in $PATH | ||
9746 | +do | ||
9747 | + IFS=$as_save_IFS | ||
9748 | + test -z "$as_dir" && as_dir=. | ||
9749 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9750 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9751 | + ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" | ||
9752 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9753 | + break 2 | ||
9754 | + fi | ||
9755 | +done | ||
9756 | +done | ||
9757 | + | ||
9758 | + ;; | ||
9759 | +esac | ||
9760 | +fi | ||
9761 | +MSGFMT=$ac_cv_path_MSGFMT | ||
9762 | + | ||
9763 | +if test -n "$MSGFMT"; then | ||
9764 | + echo "$as_me:$LINENO: result: $MSGFMT" >&5 | ||
9765 | +echo "${ECHO_T}$MSGFMT" >&6 | ||
9766 | +else | ||
9767 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9768 | +echo "${ECHO_T}no" >&6 | ||
9769 | +fi | ||
9770 | + | ||
9771 | +fi | ||
9772 | +if test "$enableval" = "yes" -a -z "$MSGFMT" ; then | ||
9773 | + { { echo "$as_me:$LINENO: error: | ||
9774 | +You do not appear to have msgfmt, which is part of the GNU Gettext package. It | ||
9775 | +is a required package as you chose the '--enable-nls' option to configure. | ||
9776 | +You can download GNU Gettext from ftp.gnu.org | ||
9777 | +" >&5 | ||
9778 | +echo "$as_me: error: | ||
9779 | +You do not appear to have msgfmt, which is part of the GNU Gettext package. It | ||
9780 | +is a required package as you chose the '--enable-nls' option to configure. | ||
9781 | +You can download GNU Gettext from ftp.gnu.org | ||
9782 | +" >&2;} | ||
9783 | + { (exit 1); exit 1; }; } | ||
9784 | +fi | ||
9785 | +if test -z "$MSGFMT" ; then | ||
9786 | + { echo "$as_me:$LINENO: Building without natural language support" >&5 | ||
9787 | +echo "$as_me: Building without natural language support" >&6;} | ||
9788 | +fi | ||
9789 | + | ||
9790 | +if test -n "$RPM_DOC_DIR" ; then | ||
9791 | + docdir="$RPM_DOC_DIR" | ||
9792 | +else | ||
9793 | + docdir='$(datadir)/doc' | ||
9794 | +fi | ||
9795 | + | ||
9796 | + | ||
9797 | +for ac_prog in rpmbuild rpm | ||
9798 | +do | ||
9799 | + # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
9800 | +set dummy $ac_prog; ac_word=$2 | ||
9801 | +echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9802 | +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9803 | +if test "${ac_cv_path_RPMBUILD+set}" = set; then | ||
9804 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9805 | +else | ||
9806 | + case $RPMBUILD in | ||
9807 | + [\\/]* | ?:[\\/]*) | ||
9808 | + ac_cv_path_RPMBUILD="$RPMBUILD" # Let the user override the test with a path. | ||
9809 | + ;; | ||
9810 | + *) | ||
9811 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9812 | +for as_dir in $PATH | ||
9813 | +do | ||
9814 | + IFS=$as_save_IFS | ||
9815 | + test -z "$as_dir" && as_dir=. | ||
9816 | + for ac_exec_ext in '' $ac_executable_extensions; do | ||
9817 | + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9818 | + ac_cv_path_RPMBUILD="$as_dir/$ac_word$ac_exec_ext" | ||
9819 | + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9820 | + break 2 | ||
9821 | + fi | ||
9822 | +done | ||
9823 | +done | ||
9824 | + | ||
9825 | + ;; | ||
9826 | +esac | ||
9827 | +fi | ||
9828 | +RPMBUILD=$ac_cv_path_RPMBUILD | ||
9829 | + | ||
9830 | +if test -n "$RPMBUILD"; then | ||
9831 | + echo "$as_me:$LINENO: result: $RPMBUILD" >&5 | ||
9832 | +echo "${ECHO_T}$RPMBUILD" >&6 | ||
9833 | +else | ||
9834 | + echo "$as_me:$LINENO: result: no" >&5 | ||
9835 | +echo "${ECHO_T}no" >&6 | ||
9836 | +fi | ||
9837 | + | ||
9838 | + test -n "$RPMBUILD" && break | ||
9839 | +done | ||
9840 | + | ||
9841 | + | ||
9842 | + | ||
9843 | + ac_config_files="$ac_config_files Makefile" | ||
9844 | + | ||
9845 | +cat >confcache <<\_ACEOF | ||
9846 | +# This file is a shell script that caches the results of configure | ||
9847 | +# tests run on this system so they can be shared between configure | ||
9848 | +# scripts and configure runs, see configure's option --config-cache. | ||
9849 | +# It is not useful on other systems. If it contains results you don't | ||
9850 | +# want to keep, you may remove or edit it. | ||
9851 | +# | ||
9852 | +# config.status only pays attention to the cache file if you give it | ||
9853 | +# the --recheck option to rerun configure. | ||
9854 | +# | ||
9855 | +# `ac_cv_env_foo' variables (set or unset) will be overridden when | ||
9856 | +# loading this file, other *unset* `ac_cv_foo' will be assigned the | ||
9857 | +# following values. | ||
9858 | + | ||
9859 | +_ACEOF | ||
9860 | + | ||
9861 | +# The following way of writing the cache mishandles newlines in values, | ||
9862 | +# but we know of no workaround that is simple, portable, and efficient. | ||
9863 | +# So, don't put newlines in cache variables' values. | ||
9864 | +# Ultrix sh set writes to stderr and can't be redirected directly, | ||
9865 | +# and sets the high bit in the cache file unless we assign to the vars. | ||
9866 | +{ | ||
9867 | + (set) 2>&1 | | ||
9868 | + case `(ac_space=' '; set | grep ac_space) 2>&1` in | ||
9869 | + *ac_space=\ *) | ||
9870 | + # `set' does not quote correctly, so add quotes (double-quote | ||
9871 | + # substitution turns \\\\ into \\, and sed turns \\ into \). | ||
9872 | + sed -n \ | ||
9873 | + "s/'/'\\\\''/g; | ||
9874 | + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | ||
9875 | + ;; | ||
9876 | + *) | ||
9877 | + # `set' quotes correctly as required by POSIX, so do not add quotes. | ||
9878 | + sed -n \ | ||
9879 | + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | ||
9880 | + ;; | ||
9881 | + esac; | ||
9882 | +} | | ||
9883 | + sed ' | ||
9884 | + t clear | ||
9885 | + : clear | ||
9886 | + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | ||
9887 | + t end | ||
9888 | + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | ||
9889 | + : end' >>confcache | ||
9890 | +if diff $cache_file confcache >/dev/null 2>&1; then :; else | ||
9891 | + if test -w $cache_file; then | ||
9892 | + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | ||
9893 | + cat confcache >$cache_file | ||
9894 | + else | ||
9895 | + echo "not updating unwritable cache $cache_file" | ||
9896 | + fi | ||
9897 | +fi | ||
9898 | +rm -f confcache | ||
9899 | + | ||
9900 | +test "x$prefix" = xNONE && prefix=$ac_default_prefix | ||
9901 | +# Let make expand exec_prefix. | ||
9902 | +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | ||
9903 | + | ||
9904 | +# VPATH may cause trouble with some makes, so we remove $(srcdir), | ||
9905 | +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | ||
9906 | +# trailing colons and then remove the whole line if VPATH becomes empty | ||
9907 | +# (actually we leave an empty line to preserve line numbers). | ||
9908 | +if test "x$srcdir" = x.; then | ||
9909 | + ac_vpsub='/^[ ]*VPATH[ ]*=/{ | ||
9910 | +s/:*\$(srcdir):*/:/; | ||
9911 | +s/:*\${srcdir}:*/:/; | ||
9912 | +s/:*@srcdir@:*/:/; | ||
9913 | +s/^\([^=]*=[ ]*\):*/\1/; | ||
9914 | +s/:*$//; | ||
9915 | +s/^[^=]*=[ ]*$//; | ||
9916 | +}' | ||
9917 | +fi | ||
9918 | + | ||
9919 | +# Transform confdefs.h into DEFS. | ||
9920 | +# Protect against shell expansion while executing Makefile rules. | ||
9921 | +# Protect against Makefile macro expansion. | ||
9922 | +# | ||
9923 | +# If the first sed substitution is executed (which looks for macros that | ||
9924 | +# take arguments), then we branch to the quote section. Otherwise, | ||
9925 | +# look for a macro that doesn't take arguments. | ||
9926 | +cat >confdef2opt.sed <<\_ACEOF | ||
9927 | +t clear | ||
9928 | +: clear | ||
9929 | +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g | ||
9930 | +t quote | ||
9931 | +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g | ||
9932 | +t quote | ||
9933 | +d | ||
9934 | +: quote | ||
9935 | +s,[ `~#$^&*(){}\\|;'"<>?],\\&,g | ||
9936 | +s,\[,\\&,g | ||
9937 | +s,\],\\&,g | ||
9938 | +s,\$,$$,g | ||
9939 | +p | ||
9940 | +_ACEOF | ||
9941 | +# We use echo to avoid assuming a particular line-breaking character. | ||
9942 | +# The extra dot is to prevent the shell from consuming trailing | ||
9943 | +# line-breaks from the sub-command output. A line-break within | ||
9944 | +# single-quotes doesn't work because, if this script is created in a | ||
9945 | +# platform that uses two characters for line-breaks (e.g., DOS), tr | ||
9946 | +# would break. | ||
9947 | +ac_LF_and_DOT=`echo; echo .` | ||
9948 | +DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` | ||
9949 | +rm -f confdef2opt.sed | ||
9950 | + | ||
9951 | + | ||
9952 | +ac_libobjs= | ||
9953 | +ac_ltlibobjs= | ||
9954 | +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | ||
9955 | + # 1. Remove the extension, and $U if already installed. | ||
9956 | + ac_i=`echo "$ac_i" | | ||
9957 | + sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | ||
9958 | + # 2. Add them. | ||
9959 | + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | ||
9960 | + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | ||
9961 | +done | ||
9962 | +LIBOBJS=$ac_libobjs | ||
9963 | + | ||
9964 | +LTLIBOBJS=$ac_ltlibobjs | ||
9965 | + | ||
9966 | + | ||
9967 | + | ||
9968 | +: ${CONFIG_STATUS=./config.status} | ||
9969 | +ac_clean_files_save=$ac_clean_files | ||
9970 | +ac_clean_files="$ac_clean_files $CONFIG_STATUS" | ||
9971 | +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | ||
9972 | +echo "$as_me: creating $CONFIG_STATUS" >&6;} | ||
9973 | +cat >$CONFIG_STATUS <<_ACEOF | ||
9974 | +#! $SHELL | ||
9975 | +# Generated by $as_me. | ||
9976 | +# Run this file to recreate the current configuration. | ||
9977 | +# Compiler output produced by configure, useful for debugging | ||
9978 | +# configure, is in config.log if it exists. | ||
9979 | + | ||
9980 | +debug=false | ||
9981 | +ac_cs_recheck=false | ||
9982 | +ac_cs_silent=false | ||
9983 | +SHELL=\${CONFIG_SHELL-$SHELL} | ||
9984 | +_ACEOF | ||
9985 | + | ||
9986 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
9987 | +## --------------------- ## | ||
9988 | +## M4sh Initialization. ## | ||
9989 | +## --------------------- ## | ||
9990 | + | ||
9991 | +# Be Bourne compatible | ||
9992 | +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
9993 | + emulate sh | ||
9994 | + NULLCMD=: | ||
9995 | + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
9996 | + # is contrary to our usage. Disable this feature. | ||
9997 | + alias -g '${1+"$@"}'='"$@"' | ||
9998 | +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | ||
9999 | + set -o posix | ||
10000 | +fi | ||
10001 | +DUALCASE=1; export DUALCASE # for MKS sh | ||
10002 | + | ||
10003 | +# Support unset when possible. | ||
10004 | +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
10005 | + as_unset=unset | ||
10006 | +else | ||
10007 | + as_unset=false | ||
10008 | +fi | ||
10009 | + | ||
10010 | + | ||
10011 | +# Work around bugs in pre-3.0 UWIN ksh. | ||
10012 | +$as_unset ENV MAIL MAILPATH | ||
10013 | +PS1='$ ' | ||
10014 | +PS2='> ' | ||
10015 | +PS4='+ ' | ||
10016 | + | ||
10017 | +# NLS nuisances. | ||
10018 | +for as_var in \ | ||
10019 | + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | ||
10020 | + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | ||
10021 | + LC_TELEPHONE LC_TIME | ||
10022 | +do | ||
10023 | + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | ||
10024 | + eval $as_var=C; export $as_var | ||
10025 | + else | ||
10026 | + $as_unset $as_var | ||
10027 | + fi | ||
10028 | +done | ||
10029 | + | ||
10030 | +# Required to use basename. | ||
10031 | +if expr a : '\(a\)' >/dev/null 2>&1; then | ||
10032 | + as_expr=expr | ||
10033 | +else | ||
10034 | + as_expr=false | ||
10035 | +fi | ||
10036 | + | ||
10037 | +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | ||
10038 | + as_basename=basename | ||
10039 | +else | ||
10040 | + as_basename=false | ||
10041 | +fi | ||
10042 | + | ||
10043 | + | ||
10044 | +# Name of the executable. | ||
10045 | +as_me=`$as_basename "$0" || | ||
10046 | +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
10047 | + X"$0" : 'X\(//\)$' \| \ | ||
10048 | + X"$0" : 'X\(/\)$' \| \ | ||
10049 | + . : '\(.\)' 2>/dev/null || | ||
10050 | +echo X/"$0" | | ||
10051 | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | ||
10052 | + /^X\/\(\/\/\)$/{ s//\1/; q; } | ||
10053 | + /^X\/\(\/\).*/{ s//\1/; q; } | ||
10054 | + s/.*/./; q'` | ||
10055 | + | ||
10056 | + | ||
10057 | +# PATH needs CR, and LINENO needs CR and PATH. | ||
10058 | +# Avoid depending upon Character Ranges. | ||
10059 | +as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
10060 | +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
10061 | +as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
10062 | +as_cr_digits='0123456789' | ||
10063 | +as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
10064 | + | ||
10065 | +# The user is always right. | ||
10066 | +if test "${PATH_SEPARATOR+set}" != set; then | ||
10067 | + echo "#! /bin/sh" >conf$$.sh | ||
10068 | + echo "exit 0" >>conf$$.sh | ||
10069 | + chmod +x conf$$.sh | ||
10070 | + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
10071 | + PATH_SEPARATOR=';' | ||
10072 | + else | ||
10073 | + PATH_SEPARATOR=: | ||
10074 | + fi | ||
10075 | + rm -f conf$$.sh | ||
10076 | +fi | ||
10077 | + | ||
10078 | + | ||
10079 | + as_lineno_1=$LINENO | ||
10080 | + as_lineno_2=$LINENO | ||
10081 | + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
10082 | + test "x$as_lineno_1" != "x$as_lineno_2" && | ||
10083 | + test "x$as_lineno_3" = "x$as_lineno_2" || { | ||
10084 | + # Find who we are. Look in the path if we contain no path at all | ||
10085 | + # relative or not. | ||
10086 | + case $0 in | ||
10087 | + *[\\/]* ) as_myself=$0 ;; | ||
10088 | + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10089 | +for as_dir in $PATH | ||
10090 | +do | ||
10091 | + IFS=$as_save_IFS | ||
10092 | + test -z "$as_dir" && as_dir=. | ||
10093 | + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
10094 | +done | ||
10095 | + | ||
10096 | + ;; | ||
10097 | + esac | ||
10098 | + # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
10099 | + # in which case we are not to be found in the path. | ||
10100 | + if test "x$as_myself" = x; then | ||
10101 | + as_myself=$0 | ||
10102 | + fi | ||
10103 | + if test ! -f "$as_myself"; then | ||
10104 | + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | ||
10105 | +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | ||
10106 | + { (exit 1); exit 1; }; } | ||
10107 | + fi | ||
10108 | + case $CONFIG_SHELL in | ||
10109 | + '') | ||
10110 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10111 | +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
10112 | +do | ||
10113 | + IFS=$as_save_IFS | ||
10114 | + test -z "$as_dir" && as_dir=. | ||
10115 | + for as_base in sh bash ksh sh5; do | ||
10116 | + case $as_dir in | ||
10117 | + /*) | ||
10118 | + if ("$as_dir/$as_base" -c ' | ||
10119 | + as_lineno_1=$LINENO | ||
10120 | + as_lineno_2=$LINENO | ||
10121 | + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
10122 | + test "x$as_lineno_1" != "x$as_lineno_2" && | ||
10123 | + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | ||
10124 | + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | ||
10125 | + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | ||
10126 | + CONFIG_SHELL=$as_dir/$as_base | ||
10127 | + export CONFIG_SHELL | ||
10128 | + exec "$CONFIG_SHELL" "$0" ${1+"$@"} | ||
10129 | + fi;; | ||
10130 | + esac | ||
10131 | + done | ||
10132 | +done | ||
10133 | +;; | ||
10134 | + esac | ||
10135 | + | ||
10136 | + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
10137 | + # uniformly replaced by the line number. The first 'sed' inserts a | ||
10138 | + # line-number line before each line; the second 'sed' does the real | ||
10139 | + # work. The second script uses 'N' to pair each line-number line | ||
10140 | + # with the numbered line, and appends trailing '-' during | ||
10141 | + # substitution so that $LINENO is not a special case at line end. | ||
10142 | + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
10143 | + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | ||
10144 | + sed '=' <$as_myself | | ||
10145 | + sed ' | ||
10146 | + N | ||
10147 | + s,$,-, | ||
10148 | + : loop | ||
10149 | + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | ||
10150 | + t loop | ||
10151 | + s,-$,, | ||
10152 | + s,^['$as_cr_digits']*\n,, | ||
10153 | + ' >$as_me.lineno && | ||
10154 | + chmod +x $as_me.lineno || | ||
10155 | + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | ||
10156 | +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | ||
10157 | + { (exit 1); exit 1; }; } | ||
10158 | + | ||
10159 | + # Don't try to exec as it changes $[0], causing all sort of problems | ||
10160 | + # (the dirname of $[0] is not the place where we might find the | ||
10161 | + # original and so on. Autoconf is especially sensible to this). | ||
10162 | + . ./$as_me.lineno | ||
10163 | + # Exit status is that of the last command. | ||
10164 | + exit | ||
10165 | +} | ||
10166 | + | ||
10167 | + | ||
10168 | +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | ||
10169 | + *c*,-n*) ECHO_N= ECHO_C=' | ||
10170 | +' ECHO_T=' ' ;; | ||
10171 | + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | ||
10172 | + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | ||
10173 | +esac | ||
10174 | + | ||
10175 | +if expr a : '\(a\)' >/dev/null 2>&1; then | ||
10176 | + as_expr=expr | ||
10177 | +else | ||
10178 | + as_expr=false | ||
10179 | +fi | ||
10180 | + | ||
10181 | +rm -f conf$$ conf$$.exe conf$$.file | ||
10182 | +echo >conf$$.file | ||
10183 | +if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
10184 | + # We could just check for DJGPP; but this test a) works b) is more generic | ||
10185 | + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | ||
10186 | + if test -f conf$$.exe; then | ||
10187 | + # Don't use ln at all; we don't have any links | ||
10188 | + as_ln_s='cp -p' | ||
10189 | + else | ||
10190 | + as_ln_s='ln -s' | ||
10191 | + fi | ||
10192 | +elif ln conf$$.file conf$$ 2>/dev/null; then | ||
10193 | + as_ln_s=ln | ||
10194 | +else | ||
10195 | + as_ln_s='cp -p' | ||
10196 | +fi | ||
10197 | +rm -f conf$$ conf$$.exe conf$$.file | ||
10198 | + | ||
10199 | +if mkdir -p . 2>/dev/null; then | ||
10200 | + as_mkdir_p=: | ||
10201 | +else | ||
10202 | + test -d ./-p && rmdir ./-p | ||
10203 | + as_mkdir_p=false | ||
10204 | +fi | ||
10205 | + | ||
10206 | +as_executable_p="test -f" | ||
10207 | + | ||
10208 | +# Sed expression to map a string onto a valid CPP name. | ||
10209 | +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | ||
10210 | + | ||
10211 | +# Sed expression to map a string onto a valid variable name. | ||
10212 | +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
10213 | + | ||
10214 | + | ||
10215 | +# IFS | ||
10216 | +# We need space, tab and new line, in precisely that order. | ||
10217 | +as_nl=' | ||
10218 | +' | ||
10219 | +IFS=" $as_nl" | ||
10220 | + | ||
10221 | +# CDPATH. | ||
10222 | +$as_unset CDPATH | ||
10223 | + | ||
10224 | +exec 6>&1 | ||
10225 | + | ||
10226 | +# Open the log real soon, to keep \$[0] and so on meaningful, and to | ||
10227 | +# report actual input values of CONFIG_FILES etc. instead of their | ||
10228 | +# values after options handling. Logging --version etc. is OK. | ||
10229 | +exec 5>>config.log | ||
10230 | +{ | ||
10231 | + echo | ||
10232 | + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | ||
10233 | +## Running $as_me. ## | ||
10234 | +_ASBOX | ||
10235 | +} >&5 | ||
10236 | +cat >&5 <<_CSEOF | ||
10237 | + | ||
10238 | +This file was extended by quilt $as_me 0.37, which was | ||
10239 | +generated by GNU Autoconf 2.59. Invocation command line was | ||
10240 | + | ||
10241 | + CONFIG_FILES = $CONFIG_FILES | ||
10242 | + CONFIG_HEADERS = $CONFIG_HEADERS | ||
10243 | + CONFIG_LINKS = $CONFIG_LINKS | ||
10244 | + CONFIG_COMMANDS = $CONFIG_COMMANDS | ||
10245 | + $ $0 $@ | ||
10246 | + | ||
10247 | +_CSEOF | ||
10248 | +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | ||
10249 | +echo >&5 | ||
10250 | +_ACEOF | ||
10251 | + | ||
10252 | +# Files that config.status was made for. | ||
10253 | +if test -n "$ac_config_files"; then | ||
10254 | + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | ||
10255 | +fi | ||
10256 | + | ||
10257 | +if test -n "$ac_config_headers"; then | ||
10258 | + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | ||
10259 | +fi | ||
10260 | + | ||
10261 | +if test -n "$ac_config_links"; then | ||
10262 | + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | ||
10263 | +fi | ||
10264 | + | ||
10265 | +if test -n "$ac_config_commands"; then | ||
10266 | + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | ||
10267 | +fi | ||
10268 | + | ||
10269 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
10270 | + | ||
10271 | +ac_cs_usage="\ | ||
10272 | +\`$as_me' instantiates files from templates according to the | ||
10273 | +current configuration. | ||
10274 | + | ||
10275 | +Usage: $0 [OPTIONS] [FILE]... | ||
10276 | + | ||
10277 | + -h, --help print this help, then exit | ||
10278 | + -V, --version print version number, then exit | ||
10279 | + -q, --quiet do not print progress messages | ||
10280 | + -d, --debug don't remove temporary files | ||
10281 | + --recheck update $as_me by reconfiguring in the same conditions | ||
10282 | + --file=FILE[:TEMPLATE] | ||
10283 | + instantiate the configuration file FILE | ||
10284 | + | ||
10285 | +Configuration files: | ||
10286 | +$config_files | ||
10287 | + | ||
10288 | +Report bugs to <bug-autoconf@gnu.org>." | ||
10289 | +_ACEOF | ||
10290 | + | ||
10291 | +cat >>$CONFIG_STATUS <<_ACEOF | ||
10292 | +ac_cs_version="\\ | ||
10293 | +quilt config.status 0.37 | ||
10294 | +configured by $0, generated by GNU Autoconf 2.59, | ||
10295 | + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | ||
10296 | + | ||
10297 | +Copyright (C) 2003 Free Software Foundation, Inc. | ||
10298 | +This config.status script is free software; the Free Software Foundation | ||
10299 | +gives unlimited permission to copy, distribute and modify it." | ||
10300 | +srcdir=$srcdir | ||
10301 | +INSTALL="$INSTALL" | ||
10302 | +_ACEOF | ||
10303 | + | ||
10304 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
10305 | +# If no file are specified by the user, then we need to provide default | ||
10306 | +# value. By we need to know if files were specified by the user. | ||
10307 | +ac_need_defaults=: | ||
10308 | +while test $# != 0 | ||
10309 | +do | ||
10310 | + case $1 in | ||
10311 | + --*=*) | ||
10312 | + ac_option=`expr "x$1" : 'x\([^=]*\)='` | ||
10313 | + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | ||
10314 | + ac_shift=: | ||
10315 | + ;; | ||
10316 | + -*) | ||
10317 | + ac_option=$1 | ||
10318 | + ac_optarg=$2 | ||
10319 | + ac_shift=shift | ||
10320 | + ;; | ||
10321 | + *) # This is not an option, so the user has probably given explicit | ||
10322 | + # arguments. | ||
10323 | + ac_option=$1 | ||
10324 | + ac_need_defaults=false;; | ||
10325 | + esac | ||
10326 | + | ||
10327 | + case $ac_option in | ||
10328 | + # Handling of the options. | ||
10329 | +_ACEOF | ||
10330 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
10331 | + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | ||
10332 | + ac_cs_recheck=: ;; | ||
10333 | + --version | --vers* | -V ) | ||
10334 | + echo "$ac_cs_version"; exit 0 ;; | ||
10335 | + --he | --h) | ||
10336 | + # Conflict between --help and --header | ||
10337 | + { { echo "$as_me:$LINENO: error: ambiguous option: $1 | ||
10338 | +Try \`$0 --help' for more information." >&5 | ||
10339 | +echo "$as_me: error: ambiguous option: $1 | ||
10340 | +Try \`$0 --help' for more information." >&2;} | ||
10341 | + { (exit 1); exit 1; }; };; | ||
10342 | + --help | --hel | -h ) | ||
10343 | + echo "$ac_cs_usage"; exit 0 ;; | ||
10344 | + --debug | --d* | -d ) | ||
10345 | + debug=: ;; | ||
10346 | + --file | --fil | --fi | --f ) | ||
10347 | + $ac_shift | ||
10348 | + CONFIG_FILES="$CONFIG_FILES $ac_optarg" | ||
10349 | + ac_need_defaults=false;; | ||
10350 | + --header | --heade | --head | --hea ) | ||
10351 | + $ac_shift | ||
10352 | + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | ||
10353 | + ac_need_defaults=false;; | ||
10354 | + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
10355 | + | -silent | --silent | --silen | --sile | --sil | --si | --s) | ||
10356 | + ac_cs_silent=: ;; | ||
10357 | + | ||
10358 | + # This is an error. | ||
10359 | + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | ||
10360 | +Try \`$0 --help' for more information." >&5 | ||
10361 | +echo "$as_me: error: unrecognized option: $1 | ||
10362 | +Try \`$0 --help' for more information." >&2;} | ||
10363 | + { (exit 1); exit 1; }; } ;; | ||
10364 | + | ||
10365 | + *) ac_config_targets="$ac_config_targets $1" ;; | ||
10366 | + | ||
10367 | + esac | ||
10368 | + shift | ||
10369 | +done | ||
10370 | + | ||
10371 | +ac_configure_extra_args= | ||
10372 | + | ||
10373 | +if $ac_cs_silent; then | ||
10374 | + exec 6>/dev/null | ||
10375 | + ac_configure_extra_args="$ac_configure_extra_args --silent" | ||
10376 | +fi | ||
10377 | + | ||
10378 | +_ACEOF | ||
10379 | +cat >>$CONFIG_STATUS <<_ACEOF | ||
10380 | +if \$ac_cs_recheck; then | ||
10381 | + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | ||
10382 | + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | ||
10383 | +fi | ||
10384 | + | ||
10385 | +_ACEOF | ||
10386 | + | ||
10387 | + | ||
10388 | + | ||
10389 | + | ||
10390 | + | ||
10391 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
10392 | +for ac_config_target in $ac_config_targets | ||
10393 | +do | ||
10394 | + case "$ac_config_target" in | ||
10395 | + # Handling of arguments. | ||
10396 | + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | ||
10397 | + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | ||
10398 | +echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | ||
10399 | + { (exit 1); exit 1; }; };; | ||
10400 | + esac | ||
10401 | +done | ||
10402 | + | ||
10403 | +# If the user did not use the arguments to specify the items to instantiate, | ||
10404 | +# then the envvar interface is used. Set only those that are not. | ||
10405 | +# We use the long form for the default assignment because of an extremely | ||
10406 | +# bizarre bug on SunOS 4.1.3. | ||
10407 | +if $ac_need_defaults; then | ||
10408 | + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | ||
10409 | +fi | ||
10410 | + | ||
10411 | +# Have a temporary directory for convenience. Make it in the build tree | ||
10412 | +# simply because there is no reason to put it here, and in addition, | ||
10413 | +# creating and moving files from /tmp can sometimes cause problems. | ||
10414 | +# Create a temporary directory, and hook for its removal unless debugging. | ||
10415 | +$debug || | ||
10416 | +{ | ||
10417 | + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | ||
10418 | + trap '{ (exit 1); exit 1; }' 1 2 13 15 | ||
10419 | +} | ||
10420 | + | ||
10421 | +# Create a (secure) tmp directory for tmp files. | ||
10422 | + | ||
10423 | +{ | ||
10424 | + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | ||
10425 | + test -n "$tmp" && test -d "$tmp" | ||
10426 | +} || | ||
10427 | +{ | ||
10428 | + tmp=./confstat$$-$RANDOM | ||
10429 | + (umask 077 && mkdir $tmp) | ||
10430 | +} || | ||
10431 | +{ | ||
10432 | + echo "$me: cannot create a temporary directory in ." >&2 | ||
10433 | + { (exit 1); exit 1; } | ||
10434 | +} | ||
10435 | + | ||
10436 | +_ACEOF | ||
10437 | + | ||
10438 | +cat >>$CONFIG_STATUS <<_ACEOF | ||
10439 | + | ||
10440 | +# | ||
10441 | +# CONFIG_FILES section. | ||
10442 | +# | ||
10443 | + | ||
10444 | +# No need to generate the scripts if there are no CONFIG_FILES. | ||
10445 | +# This happens for instance when ./config.status config.h | ||
10446 | +if test -n "\$CONFIG_FILES"; then | ||
10447 | + # Protect against being on the right side of a sed subst in config.status. | ||
10448 | + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | ||
10449 | + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | ||
10450 | +s,@SHELL@,$SHELL,;t t | ||
10451 | +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | ||
10452 | +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | ||
10453 | +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | ||
10454 | +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | ||
10455 | +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | ||
10456 | +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | ||
10457 | +s,@exec_prefix@,$exec_prefix,;t t | ||
10458 | +s,@prefix@,$prefix,;t t | ||
10459 | +s,@program_transform_name@,$program_transform_name,;t t | ||
10460 | +s,@bindir@,$bindir,;t t | ||
10461 | +s,@sbindir@,$sbindir,;t t | ||
10462 | +s,@libexecdir@,$libexecdir,;t t | ||
10463 | +s,@datadir@,$datadir,;t t | ||
10464 | +s,@sysconfdir@,$sysconfdir,;t t | ||
10465 | +s,@sharedstatedir@,$sharedstatedir,;t t | ||
10466 | +s,@localstatedir@,$localstatedir,;t t | ||
10467 | +s,@libdir@,$libdir,;t t | ||
10468 | +s,@includedir@,$includedir,;t t | ||
10469 | +s,@oldincludedir@,$oldincludedir,;t t | ||
10470 | +s,@infodir@,$infodir,;t t | ||
10471 | +s,@mandir@,$mandir,;t t | ||
10472 | +s,@build_alias@,$build_alias,;t t | ||
10473 | +s,@host_alias@,$host_alias,;t t | ||
10474 | +s,@target_alias@,$target_alias,;t t | ||
10475 | +s,@DEFS@,$DEFS,;t t | ||
10476 | +s,@ECHO_C@,$ECHO_C,;t t | ||
10477 | +s,@ECHO_N@,$ECHO_N,;t t | ||
10478 | +s,@ECHO_T@,$ECHO_T,;t t | ||
10479 | +s,@LIBS@,$LIBS,;t t | ||
10480 | +s,@PACKAGE_RELEASE@,$PACKAGE_RELEASE,;t t | ||
10481 | +s,@CC@,$CC,;t t | ||
10482 | +s,@CFLAGS@,$CFLAGS,;t t | ||
10483 | +s,@LDFLAGS@,$LDFLAGS,;t t | ||
10484 | +s,@CPPFLAGS@,$CPPFLAGS,;t t | ||
10485 | +s,@ac_ct_CC@,$ac_ct_CC,;t t | ||
10486 | +s,@EXEEXT@,$EXEEXT,;t t | ||
10487 | +s,@OBJEXT@,$OBJEXT,;t t | ||
10488 | +s,@CPP@,$CPP,;t t | ||
10489 | +s,@EGREP@,$EGREP,;t t | ||
10490 | +s,@LIBOBJS@,$LIBOBJS,;t t | ||
10491 | +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | ||
10492 | +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | ||
10493 | +s,@INSTALL_DATA@,$INSTALL_DATA,;t t | ||
10494 | +s,@BASH@,$BASH,;t t | ||
10495 | +s,@PERL@,$PERL,;t t | ||
10496 | +s,@SED@,$SED,;t t | ||
10497 | +s,@AWK@,$AWK,;t t | ||
10498 | +s,@MKTEMP@,$MKTEMP,;t t | ||
10499 | +s,@DIFF@,$DIFF,;t t | ||
10500 | +s,@PATCH@,$PATCH,;t t | ||
10501 | +s,@DIFFSTAT@,$DIFFSTAT,;t t | ||
10502 | +s,@MSGFMT@,$MSGFMT,;t t | ||
10503 | +s,@docdir@,$docdir,;t t | ||
10504 | +s,@RPMBUILD@,$RPMBUILD,;t t | ||
10505 | +s,@LTLIBOBJS@,$LTLIBOBJS,;t t | ||
10506 | +CEOF | ||
10507 | + | ||
10508 | +_ACEOF | ||
10509 | + | ||
10510 | + cat >>$CONFIG_STATUS <<\_ACEOF | ||
10511 | + # Split the substitutions into bite-sized pieces for seds with | ||
10512 | + # small command number limits, like on Digital OSF/1 and HP-UX. | ||
10513 | + ac_max_sed_lines=48 | ||
10514 | + ac_sed_frag=1 # Number of current file. | ||
10515 | + ac_beg=1 # First line for current file. | ||
10516 | + ac_end=$ac_max_sed_lines # Line after last line for current file. | ||
10517 | + ac_more_lines=: | ||
10518 | + ac_sed_cmds= | ||
10519 | + while $ac_more_lines; do | ||
10520 | + if test $ac_beg -gt 1; then | ||
10521 | + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | ||
10522 | + else | ||
10523 | + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | ||
10524 | + fi | ||
10525 | + if test ! -s $tmp/subs.frag; then | ||
10526 | + ac_more_lines=false | ||
10527 | + else | ||
10528 | + # The purpose of the label and of the branching condition is to | ||
10529 | + # speed up the sed processing (if there are no `@' at all, there | ||
10530 | + # is no need to browse any of the substitutions). | ||
10531 | + # These are the two extra sed commands mentioned above. | ||
10532 | + (echo ':t | ||
10533 | + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | ||
10534 | + if test -z "$ac_sed_cmds"; then | ||
10535 | + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | ||
10536 | + else | ||
10537 | + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | ||
10538 | + fi | ||
10539 | + ac_sed_frag=`expr $ac_sed_frag + 1` | ||
10540 | + ac_beg=$ac_end | ||
10541 | + ac_end=`expr $ac_end + $ac_max_sed_lines` | ||
10542 | + fi | ||
10543 | + done | ||
10544 | + if test -z "$ac_sed_cmds"; then | ||
10545 | + ac_sed_cmds=cat | ||
10546 | + fi | ||
10547 | +fi # test -n "$CONFIG_FILES" | ||
10548 | + | ||
10549 | +_ACEOF | ||
10550 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
10551 | +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | ||
10552 | + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | ||
10553 | + case $ac_file in | ||
10554 | + - | *:- | *:-:* ) # input from stdin | ||
10555 | + cat >$tmp/stdin | ||
10556 | + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
10557 | + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
10558 | + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
10559 | + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
10560 | + * ) ac_file_in=$ac_file.in ;; | ||
10561 | + esac | ||
10562 | + | ||
10563 | + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | ||
10564 | + ac_dir=`(dirname "$ac_file") 2>/dev/null || | ||
10565 | +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
10566 | + X"$ac_file" : 'X\(//\)[^/]' \| \ | ||
10567 | + X"$ac_file" : 'X\(//\)$' \| \ | ||
10568 | + X"$ac_file" : 'X\(/\)' \| \ | ||
10569 | + . : '\(.\)' 2>/dev/null || | ||
10570 | +echo X"$ac_file" | | ||
10571 | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
10572 | + /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
10573 | + /^X\(\/\/\)$/{ s//\1/; q; } | ||
10574 | + /^X\(\/\).*/{ s//\1/; q; } | ||
10575 | + s/.*/./; q'` | ||
10576 | + { if $as_mkdir_p; then | ||
10577 | + mkdir -p "$ac_dir" | ||
10578 | + else | ||
10579 | + as_dir="$ac_dir" | ||
10580 | + as_dirs= | ||
10581 | + while test ! -d "$as_dir"; do | ||
10582 | + as_dirs="$as_dir $as_dirs" | ||
10583 | + as_dir=`(dirname "$as_dir") 2>/dev/null || | ||
10584 | +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
10585 | + X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
10586 | + X"$as_dir" : 'X\(//\)$' \| \ | ||
10587 | + X"$as_dir" : 'X\(/\)' \| \ | ||
10588 | + . : '\(.\)' 2>/dev/null || | ||
10589 | +echo X"$as_dir" | | ||
10590 | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
10591 | + /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
10592 | + /^X\(\/\/\)$/{ s//\1/; q; } | ||
10593 | + /^X\(\/\).*/{ s//\1/; q; } | ||
10594 | + s/.*/./; q'` | ||
10595 | + done | ||
10596 | + test ! -n "$as_dirs" || mkdir $as_dirs | ||
10597 | + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | ||
10598 | +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | ||
10599 | + { (exit 1); exit 1; }; }; } | ||
10600 | + | ||
10601 | + ac_builddir=. | ||
10602 | + | ||
10603 | +if test "$ac_dir" != .; then | ||
10604 | + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | ||
10605 | + # A "../" for each directory in $ac_dir_suffix. | ||
10606 | + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | ||
10607 | +else | ||
10608 | + ac_dir_suffix= ac_top_builddir= | ||
10609 | +fi | ||
10610 | + | ||
10611 | +case $srcdir in | ||
10612 | + .) # No --srcdir option. We are building in place. | ||
10613 | + ac_srcdir=. | ||
10614 | + if test -z "$ac_top_builddir"; then | ||
10615 | + ac_top_srcdir=. | ||
10616 | + else | ||
10617 | + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
10618 | + fi ;; | ||
10619 | + [\\/]* | ?:[\\/]* ) # Absolute path. | ||
10620 | + ac_srcdir=$srcdir$ac_dir_suffix; | ||
10621 | + ac_top_srcdir=$srcdir ;; | ||
10622 | + *) # Relative path. | ||
10623 | + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | ||
10624 | + ac_top_srcdir=$ac_top_builddir$srcdir ;; | ||
10625 | +esac | ||
10626 | + | ||
10627 | +# Do not use `cd foo && pwd` to compute absolute paths, because | ||
10628 | +# the directories may not exist. | ||
10629 | +case `pwd` in | ||
10630 | +.) ac_abs_builddir="$ac_dir";; | ||
10631 | +*) | ||
10632 | + case "$ac_dir" in | ||
10633 | + .) ac_abs_builddir=`pwd`;; | ||
10634 | + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | ||
10635 | + *) ac_abs_builddir=`pwd`/"$ac_dir";; | ||
10636 | + esac;; | ||
10637 | +esac | ||
10638 | +case $ac_abs_builddir in | ||
10639 | +.) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
10640 | +*) | ||
10641 | + case ${ac_top_builddir}. in | ||
10642 | + .) ac_abs_top_builddir=$ac_abs_builddir;; | ||
10643 | + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
10644 | + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | ||
10645 | + esac;; | ||
10646 | +esac | ||
10647 | +case $ac_abs_builddir in | ||
10648 | +.) ac_abs_srcdir=$ac_srcdir;; | ||
10649 | +*) | ||
10650 | + case $ac_srcdir in | ||
10651 | + .) ac_abs_srcdir=$ac_abs_builddir;; | ||
10652 | + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | ||
10653 | + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | ||
10654 | + esac;; | ||
10655 | +esac | ||
10656 | +case $ac_abs_builddir in | ||
10657 | +.) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
10658 | +*) | ||
10659 | + case $ac_top_srcdir in | ||
10660 | + .) ac_abs_top_srcdir=$ac_abs_builddir;; | ||
10661 | + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
10662 | + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | ||
10663 | + esac;; | ||
10664 | +esac | ||
10665 | + | ||
10666 | + | ||
10667 | + case $INSTALL in | ||
10668 | + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | ||
10669 | + *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | ||
10670 | + esac | ||
10671 | + | ||
10672 | + # Let's still pretend it is `configure' which instantiates (i.e., don't | ||
10673 | + # use $as_me), people would be surprised to read: | ||
10674 | + # /* config.h. Generated by config.status. */ | ||
10675 | + if test x"$ac_file" = x-; then | ||
10676 | + configure_input= | ||
10677 | + else | ||
10678 | + configure_input="$ac_file. " | ||
10679 | + fi | ||
10680 | + configure_input=$configure_input"Generated from `echo $ac_file_in | | ||
10681 | + sed 's,.*/,,'` by configure." | ||
10682 | + | ||
10683 | + # First look for the input files in the build tree, otherwise in the | ||
10684 | + # src tree. | ||
10685 | + ac_file_inputs=`IFS=: | ||
10686 | + for f in $ac_file_in; do | ||
10687 | + case $f in | ||
10688 | + -) echo $tmp/stdin ;; | ||
10689 | + [\\/$]*) | ||
10690 | + # Absolute (can't be DOS-style, as IFS=:) | ||
10691 | + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
10692 | +echo "$as_me: error: cannot find input file: $f" >&2;} | ||
10693 | + { (exit 1); exit 1; }; } | ||
10694 | + echo "$f";; | ||
10695 | + *) # Relative | ||
10696 | + if test -f "$f"; then | ||
10697 | + # Build tree | ||
10698 | + echo "$f" | ||
10699 | + elif test -f "$srcdir/$f"; then | ||
10700 | + # Source tree | ||
10701 | + echo "$srcdir/$f" | ||
10702 | + else | ||
10703 | + # /dev/null tree | ||
10704 | + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
10705 | +echo "$as_me: error: cannot find input file: $f" >&2;} | ||
10706 | + { (exit 1); exit 1; }; } | ||
10707 | + fi;; | ||
10708 | + esac | ||
10709 | + done` || { (exit 1); exit 1; } | ||
10710 | + | ||
10711 | + if test x"$ac_file" != x-; then | ||
10712 | + { echo "$as_me:$LINENO: creating $ac_file" >&5 | ||
10713 | +echo "$as_me: creating $ac_file" >&6;} | ||
10714 | + rm -f "$ac_file" | ||
10715 | + fi | ||
10716 | +_ACEOF | ||
10717 | +cat >>$CONFIG_STATUS <<_ACEOF | ||
10718 | + sed "$ac_vpsub | ||
10719 | +$extrasub | ||
10720 | +_ACEOF | ||
10721 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
10722 | +:t | ||
10723 | +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b | ||
10724 | +s,@configure_input@,$configure_input,;t t | ||
10725 | +s,@srcdir@,$ac_srcdir,;t t | ||
10726 | +s,@abs_srcdir@,$ac_abs_srcdir,;t t | ||
10727 | +s,@top_srcdir@,$ac_top_srcdir,;t t | ||
10728 | +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | ||
10729 | +s,@builddir@,$ac_builddir,;t t | ||
10730 | +s,@abs_builddir@,$ac_abs_builddir,;t t | ||
10731 | +s,@top_builddir@,$ac_top_builddir,;t t | ||
10732 | +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | ||
10733 | +s,@INSTALL@,$ac_INSTALL,;t t | ||
10734 | +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | ||
10735 | + rm -f $tmp/stdin | ||
10736 | + if test x"$ac_file" != x-; then | ||
10737 | + mv $tmp/out $ac_file | ||
10738 | + else | ||
10739 | + cat $tmp/out | ||
10740 | + rm -f $tmp/out | ||
10741 | + fi | ||
10742 | + | ||
10743 | +done | ||
10744 | +_ACEOF | ||
10745 | + | ||
10746 | +cat >>$CONFIG_STATUS <<\_ACEOF | ||
10747 | + | ||
10748 | +{ (exit 0); exit 0; } | ||
10749 | +_ACEOF | ||
10750 | +chmod +x $CONFIG_STATUS | ||
10751 | +ac_clean_files=$ac_clean_files_save | ||
10752 | + | ||
10753 | + | ||
10754 | +# configure is writing to config.log, and then calls config.status. | ||
10755 | +# config.status does its own redirection, appending to config.log. | ||
10756 | +# Unfortunately, on DOS this fails, as config.log is still kept open | ||
10757 | +# by configure, so config.status won't be able to write to it; its | ||
10758 | +# output is simply discarded. So we exec the FD to /dev/null, | ||
10759 | +# effectively closing config.log, so it can be properly (re)opened and | ||
10760 | +# appended to by config.status. When coming back to configure, we | ||
10761 | +# need to make the FD available again. | ||
10762 | +if test "$no_create" != yes; then | ||
10763 | + ac_cs_success=: | ||
10764 | + ac_config_status_args= | ||
10765 | + test "$silent" = yes && | ||
10766 | + ac_config_status_args="$ac_config_status_args --quiet" | ||
10767 | + exec 5>/dev/null | ||
10768 | + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | ||
10769 | + exec 5>>config.log | ||
10770 | + # Use ||, not &&, to avoid exiting from the if with $? = 1, which | ||
10771 | + # would make configure fail if this is the last instruction. | ||
10772 | + $ac_cs_success || { (exit 1); exit 1; } | ||
10773 | +fi | ||
10774 | + | ||
10775 | + | ||
10776 | +echo "$as_me:$LINENO: result: " >&5 | ||
10777 | +echo "${ECHO_T}" >&6 | ||
10778 | +echo "$as_me:$LINENO: result: $PACKAGE_NAME version $PACKAGE_VERSION configured." >&5 | ||
10779 | +echo "${ECHO_T}$PACKAGE_NAME version $PACKAGE_VERSION configured." >&6 | ||
10780 | +echo "$as_me:$LINENO: result: " >&5 | ||
10781 | +echo "${ECHO_T}" >&6 | ||
10782 | +echo "$as_me:$LINENO: result: Using '$prefix' for installation prefix." >&5 | ||
10783 | +echo "${ECHO_T}Using '$prefix' for installation prefix." >&6 | ||
10784 | + | ||
10785 | +# we don't need to see this just for the backup-files command | ||
10786 | +# but we may as well spec it for the future | ||
10787 | +#AC_MSG_RESULT([Using '$CC' for C compiler.]) | ||
10788 | +#AC_MSG_RESULT([Building with '$CFLAGS' for C compiler flags.]) | ||
10789 | +#AC_MSG_RESULT([Building with '$LIBS' for linker flags.]) | ||
10790 | + | ||
10791 | +echo "$as_me:$LINENO: result: " >&5 | ||
10792 | +echo "${ECHO_T}" >&6 | ||
10793 | +echo "$as_me:$LINENO: result: Report bugs to $PACKAGE_BUGREPORT" >&5 | ||
10794 | +echo "${ECHO_T}Report bugs to $PACKAGE_BUGREPORT" >&6 | ||
diff --git a/openembedded/packages/quilt/files/non-gnu.patch b/openembedded/packages/quilt/files/non-gnu.patch new file mode 100644 index 0000000000..8b07bc2923 --- /dev/null +++ b/openembedded/packages/quilt/files/non-gnu.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | Index: quilt/Makefile.in | ||
2 | =================================================================== | ||
3 | --- quilt.orig/Makefile.in | ||
4 | +++ quilt/Makefile.in | ||
5 | @@ -216,7 +216,7 @@ | ||
6 | -e 's:@LOCALEDIR''@:$(localedir):g' \ | ||
7 | -e 's:@DOCSUBDIR''@:$(docdir)/$(PACKAGE)-$(VERSION):g' \ | ||
8 | $< > $@ | ||
9 | - @chmod --reference=$< $@ | ||
10 | + @chmod `stat -f "%p" $<` $@ | ||
11 | |||
12 | Makefile : Makefile.in | ||
13 | @echo "Please run ./configure by hand" | ||
diff --git a/openembedded/packages/quilt/files/wiggle.patch b/openembedded/packages/quilt/files/wiggle.patch deleted file mode 100644 index dce21b4493..0000000000 --- a/openembedded/packages/quilt/files/wiggle.patch +++ /dev/null | |||
@@ -1,110 +0,0 @@ | |||
1 | |||
2 | # | ||
3 | # Patch managed by http://www.holgerschurig.de/patcher.html | ||
4 | # | ||
5 | |||
6 | --- quilt/quilt/push.in~wiggle | ||
7 | +++ quilt/quilt/push.in | ||
8 | @@ -19,7 +19,7 @@ | ||
9 | |||
10 | usage() | ||
11 | { | ||
12 | - printf $"Usage: quilt push [-afqv] [--leave-rejects] [num|patch]\n" | ||
13 | + printf $"Usage: quilt push [-afwqv] [--leave-rejects] [num|patch]\n" | ||
14 | if [ x$1 = x-h ] | ||
15 | then | ||
16 | printf $" | ||
17 | @@ -34,6 +34,8 @@ | ||
18 | |||
19 | -f Force apply, even if the patch has rejects. | ||
20 | |||
21 | +-w Use 'wiggle'. | ||
22 | + | ||
23 | -q Quiet operation. | ||
24 | |||
25 | -v Verbose operation. | ||
26 | @@ -91,7 +93,7 @@ | ||
27 | fi | ||
28 | } | ||
29 | |||
30 | -options=`getopt -o fqvah --long leave-rejects,interactive -- "$@"` | ||
31 | +options=`getopt -o fwqvah --long leave-rejects,interactive -- "$@"` | ||
32 | |||
33 | if [ $? -ne 0 ] | ||
34 | then | ||
35 | @@ -106,6 +108,9 @@ | ||
36 | -f) | ||
37 | opt_force=1 | ||
38 | shift ;; | ||
39 | + -w) | ||
40 | + opt_wiggle=1 | ||
41 | + shift ;; | ||
42 | -q) | ||
43 | opt_quiet=1 | ||
44 | shift ;; | ||
45 | @@ -152,6 +157,8 @@ | ||
46 | |||
47 | [ -n "$opt_force" ] && | ||
48 | apatch_options="$apatch_options -f" | ||
49 | +[ -n "$opt_wiggle" ] && | ||
50 | + apatch_options="$apatch_options -w" | ||
51 | [ -n "$opt_quiet" ] && | ||
52 | apatch_options="$apatch_options -q" | ||
53 | [ -n "$opt_verbose" ] && | ||
54 | --- quilt/scripts/apatch.in~wiggle | ||
55 | +++ quilt/scripts/apatch.in | ||
56 | @@ -19,7 +19,7 @@ | ||
57 | |||
58 | usage() | ||
59 | { | ||
60 | - printf $"Usage: $0 [-fqv] patchname\n" | ||
61 | + printf $"Usage: $0 [-fwqv] patchname\n" | ||
62 | exit 1 | ||
63 | } | ||
64 | |||
65 | @@ -91,7 +91,7 @@ | ||
66 | |||
67 | trap "" SIGINT | ||
68 | |||
69 | - if [ $status -ne 0 -a -z "$opt_leave_rejects" ] | ||
70 | + if [ $status -ne 0 -a -z "$opt_leave_rejects" -o -n "$opt_wiggle" ] | ||
71 | then | ||
72 | # The reject files are removed in rollback_patch. | ||
73 | echo "$output" \ | ||
74 | @@ -109,6 +109,17 @@ | ||
75 | echo "$output" | ||
76 | fi | ||
77 | |||
78 | + if [ -n "$opt_wiggle" ]; then | ||
79 | + rejects=`echo "$output" \ | ||
80 | + | sed -n -e \ | ||
81 | + '/-- saving rejects to file \(.\+\)\.rej/ { s/^.*-- saving rejects to file \(.\+\)\.rej/\1/; p }'` | ||
82 | + for rej in $rejects; do | ||
83 | + # Kill old backup.. otherwise wiggle is very unhappy with you | ||
84 | + rm -f $rej.porig | ||
85 | + wiggle --replace $rej $rej.rej | ||
86 | + done | ||
87 | + fi | ||
88 | + | ||
89 | if [ $status -eq 0 -o -n "$opt_force" ] | ||
90 | then | ||
91 | add_to_db $patch | ||
92 | @@ -143,7 +154,7 @@ | ||
93 | return $status | ||
94 | } | ||
95 | |||
96 | -options=`getopt -o fqvh --long leave-rejects,interactive -- "$@"` | ||
97 | +options=`getopt -o fwqvh --long leave-rejects,interactive -- "$@"` | ||
98 | |||
99 | if [ $? -ne 0 ] | ||
100 | then | ||
101 | @@ -158,6 +169,9 @@ | ||
102 | -f) | ||
103 | opt_force=1 | ||
104 | shift ;; | ||
105 | + -w) | ||
106 | + opt_wiggle=1 | ||
107 | + shift ;; | ||
108 | -q) | ||
109 | opt_quiet=1 | ||
110 | shift ;; | ||
diff --git a/openembedded/packages/quilt/quilt-native_0.42.bb b/openembedded/packages/quilt/quilt-native_0.42.bb index 19b4a3b865..d9bdc0e00c 100644 --- a/openembedded/packages/quilt/quilt-native_0.42.bb +++ b/openembedded/packages/quilt/quilt-native_0.42.bb | |||
@@ -1,14 +1,7 @@ | |||
1 | include quilt.inc | 1 | include quilt.inc |
2 | |||
3 | INHIBIT_AUTOTOOLS_DEPS = "1" | ||
4 | |||
5 | RDEPENDS_${PN} = "diffstat-native patch-native bzip2-native" | 2 | RDEPENDS_${PN} = "diffstat-native patch-native bzip2-native" |
6 | 3 | ||
7 | SRC_URI = "cvs://anonymous@cvs.savannah.nongnu.org/cvsroot/quilt;method=pserver;module=quilt;tag=VER_${@(bb.data.getVar('PV', d, 1) or '').replace('.', '_')} \ | 4 | INHIBIT_AUTOTOOLS_DEPS = "1" |
8 | file://install.patch;patch=1 \ | ||
9 | file://nostrip.patch;patch=1 \ | ||
10 | file://autoreconf.patch;patch=1" | ||
11 | S = "${WORKDIR}/quilt" | ||
12 | 5 | ||
13 | inherit autotools native | 6 | inherit autotools native |
14 | 7 | ||
@@ -17,6 +10,5 @@ PATCHCMD = "num='%s'; name='%s'; file='%s'; patch -p "$num" -i "$file"" | |||
17 | EXTRA_OECONF = "--disable-nls" | 10 | EXTRA_OECONF = "--disable-nls" |
18 | 11 | ||
19 | do_configure () { | 12 | do_configure () { |
20 | chmod 755 configure | ||
21 | oe_runconf | 13 | oe_runconf |
22 | } | 14 | } |
diff --git a/openembedded/packages/quilt/quilt.inc b/openembedded/packages/quilt/quilt.inc index 8ba2a8d06f..cd5e85c3d8 100644 --- a/openembedded/packages/quilt/quilt.inc +++ b/openembedded/packages/quilt/quilt.inc | |||
@@ -3,5 +3,11 @@ HOMEPAGE = "http://savannah.nongnu.org/projects/quilt/" | |||
3 | SECTION = "devel" | 3 | SECTION = "devel" |
4 | MAINTAINER = "Chris Larson <kergoth@handhelds.org>" | 4 | MAINTAINER = "Chris Larson <kergoth@handhelds.org>" |
5 | LICENSE = "GPL" | 5 | LICENSE = "GPL" |
6 | # RDEPENDS_${PN} += "patch diffstat bzip2 gawk gettext" | 6 | |
7 | RDEPENDS_${PN} += "patch diffstat bzip2" | 7 | SRC_URI = "http://download.savannah.gnu.org/releases/quilt/quilt-${PV}.tar.gz \ |
8 | file://install.patch;patch=1 \ | ||
9 | file://nostrip.patch;patch=1" | ||
10 | |||
11 | SRC_URI_append_build-darwin = " file://non-gnu.patch;patch=1 " | ||
12 | |||
13 | S = "${WORKDIR}/quilt-${PV}" | ||
diff --git a/openembedded/packages/quilt/quilt_0.42.bb b/openembedded/packages/quilt/quilt_0.42.bb index 44a0d9529b..51bfa7a469 100644 --- a/openembedded/packages/quilt/quilt_0.42.bb +++ b/openembedded/packages/quilt/quilt_0.42.bb | |||
@@ -1,9 +1,6 @@ | |||
1 | include quilt.inc | 1 | RDEPENDS_${PN} += "patch diffstat bzip2" |
2 | 2 | ||
3 | SRC_URI = "cvs://anonymous@cvs.savannah.nongnu.org/cvsroot/quilt;method=pserver;module=quilt;tag=VER_${@(bb.data.getVar('PV', d, 1) or '').replace('.', '_')} \ | 3 | include quilt.inc |
4 | file://install.patch;patch=1 \ | ||
5 | file://nostrip.patch;patch=1" | ||
6 | S = "${WORKDIR}/quilt" | ||
7 | 4 | ||
8 | inherit autotools gettext | 5 | inherit autotools gettext |
9 | 6 | ||
diff --git a/openembedded/packages/sysfsutils/sysfsutils-1.2.0/libsysfs-write-attribute.patch b/openembedded/packages/sysfsutils/sysfsutils-1.2.0/libsysfs-write-attribute.patch deleted file mode 100644 index 447d90f588..0000000000 --- a/openembedded/packages/sysfsutils/sysfsutils-1.2.0/libsysfs-write-attribute.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | Hi, | ||
2 | |||
3 | int sysfs_write_attribute(struct sysfs_attribute *sysattr, | ||
4 | const char *new_value, size_t len) | ||
5 | |||
6 | has a problematic "feature": if the file is empty but readable, nothing gets | ||
7 | written into it. The attached patch (untested) should fix it. | ||
8 | |||
9 | Dominik | ||
10 | |||
11 | |||
12 | The check which tests whether the value to be written into a sysfs attribute | ||
13 | is already there should only trigger if the length of both strings is the | ||
14 | same. | ||
15 | |||
16 | Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net> | ||
17 | |||
18 | --- sysfsutils-1.2.0/lib/sysfs_dir.c.original 2005-02-21 08:10:33.000000000 +0100 | ||
19 | +++ sysfsutils-1.2.0/lib/sysfs_dir.c 2005-02-21 08:14:01.000000000 +0100 | ||
20 | @@ -194,7 +194,8 @@ | ||
21 | dprintf("Error reading attribute\n"); | ||
22 | return -1; | ||
23 | } | ||
24 | - if ((strncmp(sysattr->value, new_value, sysattr->len)) == 0) { | ||
25 | + if (((strncmp(sysattr->value, new_value, sysattr->len)) == 0)&& | ||
26 | + (len == sysattr->len)) { | ||
27 | dprintf("Attr %s already has the requested value %s\n", | ||
28 | sysattr->name, new_value); | ||
29 | return 0; | ||
diff --git a/openembedded/packages/sysfsutils/sysfsutils_1.1.0.bb b/openembedded/packages/sysfsutils/sysfsutils_1.1.0.bb deleted file mode 100644 index 9168347112..0000000000 --- a/openembedded/packages/sysfsutils/sysfsutils_1.1.0.bb +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | SECTION = "base" | ||
2 | SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz" | ||
3 | S = "${WORKDIR}/sysfsutils-${PV}" | ||
4 | LICENSE = "GPL" | ||
5 | inherit autotools | ||
6 | |||
7 | includedir += "/sysfs" | ||
8 | |||
9 | do_stage () { | ||
10 | oe_libinstall -a -so -C lib libsysfs ${STAGING_LIBDIR} | ||
11 | install -d ${STAGING_INCDIR}/sysfs | ||
12 | install -m 0644 ${S}/include/dlist.h ${STAGING_INCDIR}/sysfs | ||
13 | install -m 0644 ${S}/include/libsysfs.h ${STAGING_INCDIR}/sysfs | ||
14 | } | ||
diff --git a/openembedded/packages/sysfsutils/sysfsutils_1.2.0.bb b/openembedded/packages/sysfsutils/sysfsutils_1.2.0.bb deleted file mode 100644 index 8c70551404..0000000000 --- a/openembedded/packages/sysfsutils/sysfsutils_1.2.0.bb +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | SECTION = "base" | ||
2 | DESCRIPTION = "System Utilities Based on Sysfs" | ||
3 | HOMEPAGE = "http://linux-diag.sourceforge.net/Sysfsutils.html" | ||
4 | LICENSE = "GPLv2" | ||
5 | SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz \ | ||
6 | file://libsysfs-write-attribute.patch;patch=1" | ||
7 | S = "${WORKDIR}/sysfsutils-${PV}" | ||
8 | PR = "r1" | ||
9 | |||
10 | inherit autotools | ||
11 | |||
12 | includedir += "/sysfs" | ||
13 | |||
14 | PACKAGES_prepend = "libsysfs " | ||
15 | FILES_libsysfs = "${libdir}/*.so.1.0.2" | ||
16 | |||
17 | do_stage () { | ||
18 | oe_libinstall -a -so -C lib libsysfs ${STAGING_LIBDIR} | ||
19 | install -d ${STAGING_INCDIR}/sysfs | ||
20 | install -m 0644 ${S}/include/dlist.h ${STAGING_INCDIR}/sysfs | ||
21 | install -m 0644 ${S}/include/libsysfs.h ${STAGING_INCDIR}/sysfs | ||
22 | } | ||
diff --git a/openembedded/packages/sysfsutils/sysfsutils_1.3.0.bb b/openembedded/packages/sysfsutils/sysfsutils_2.0.0.bb index 82af8d353d..176c8870e4 100644 --- a/openembedded/packages/sysfsutils/sysfsutils_1.3.0.bb +++ b/openembedded/packages/sysfsutils/sysfsutils_2.0.0.bb | |||
@@ -1,3 +1,5 @@ | |||
1 | DEFAULT_PREFERENCE = "-1" | ||
2 | |||
1 | SECTION = "base" | 3 | SECTION = "base" |
2 | DESCRIPTION = "System Utilities Based on Sysfs" | 4 | DESCRIPTION = "System Utilities Based on Sysfs" |
3 | HOMEPAGE = "http://linux-diag.sourceforge.net/Sysfsutils.html" | 5 | HOMEPAGE = "http://linux-diag.sourceforge.net/Sysfsutils.html" |
@@ -11,7 +13,7 @@ inherit autotools | |||
11 | includedir += "/sysfs" | 13 | includedir += "/sysfs" |
12 | 14 | ||
13 | PACKAGES_prepend = "libsysfs " | 15 | PACKAGES_prepend = "libsysfs " |
14 | FILES_libsysfs = "${libdir}/*.so.1.0.3" | 16 | FILES_libsysfs = "${libdir}/*.so.2.0.0" |
15 | 17 | ||
16 | do_stage () { | 18 | do_stage () { |
17 | oe_libinstall -a -so -C lib libsysfs ${STAGING_LIBDIR} | 19 | oe_libinstall -a -so -C lib libsysfs ${STAGING_LIBDIR} |
diff --git a/openembedded/packages/sysvinit/sysvinit_2.86.bb b/openembedded/packages/sysvinit/sysvinit_2.86.bb index 0a8f78efcc..e2124c7fe9 100644 --- a/openembedded/packages/sysvinit/sysvinit_2.86.bb +++ b/openembedded/packages/sysvinit/sysvinit_2.86.bb | |||
@@ -3,11 +3,10 @@ SECTION = "base" | |||
3 | LICENSE = "GPL" | 3 | LICENSE = "GPL" |
4 | MAINTAINER = "Chris Larson <kergoth@handhelds.org>" | 4 | MAINTAINER = "Chris Larson <kergoth@handhelds.org>" |
5 | HOMEPAGE = "http://freshmeat.net/projects/sysvinit/" | 5 | HOMEPAGE = "http://freshmeat.net/projects/sysvinit/" |
6 | PR = "r19" | 6 | PR = "r24" |
7 | 7 | ||
8 | # USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf. | 8 | # USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf. |
9 | # Set PACKAGE_ARCH appropriately. | 9 | # Set PACKAGE_ARCH appropriately. |
10 | PACKAGE_ARCH = "all" | ||
11 | PACKAGE_ARCH_${PN}-inittab = "${MACHINE_ARCH}" | 10 | PACKAGE_ARCH_${PN}-inittab = "${MACHINE_ARCH}" |
12 | 11 | ||
13 | RDEPENDS_${PN} = "${PN}-inittab" | 12 | RDEPENDS_${PN} = "${PN}-inittab" |
@@ -18,9 +17,9 @@ FILES_${PN}-inittab = "${sysconfdir}/inittab" | |||
18 | CONFFILES_${PN}-inittab = "${sysconfdir}/inittab" | 17 | CONFFILES_${PN}-inittab = "${sysconfdir}/inittab" |
19 | 18 | ||
20 | USE_VT ?= "1" | 19 | USE_VT ?= "1" |
20 | SYSVINIT_ENABLED_GETTYS ?= "1" | ||
21 | 21 | ||
22 | SRC_URI = "ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/sysvinit-2.85.tar.gz \ | 22 | SRC_URI = "ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/sysvinit-${PV}.tar.gz \ |
23 | file://sysvinit-2.86.patch;patch=1 \ | ||
24 | file://install.patch;patch=1 \ | 23 | file://install.patch;patch=1 \ |
25 | file://need \ | 24 | file://need \ |
26 | file://provide \ | 25 | file://provide \ |
@@ -29,7 +28,8 @@ SRC_URI = "ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/sysvinit-2.85.tar.gz | |||
29 | file://rc \ | 28 | file://rc \ |
30 | file://rcS \ | 29 | file://rcS \ |
31 | file://bootlogd.init" | 30 | file://bootlogd.init" |
32 | S = "${WORKDIR}/sysvinit-2.85" | 31 | |
32 | S = "${WORKDIR}/sysvinit-${PV}" | ||
33 | B = "${S}/src" | 33 | B = "${S}/src" |
34 | 34 | ||
35 | inherit update-alternatives | 35 | inherit update-alternatives |
@@ -73,11 +73,14 @@ do_install () { | |||
73 | # Format: | 73 | # Format: |
74 | # <id>:<runlevels>:<action>:<process> | 74 | # <id>:<runlevels>:<action>:<process> |
75 | # | 75 | # |
76 | 1:2345:respawn:${base_sbindir}/getty 38400 tty1 | 76 | |
77 | # 2:23:respawn:${base_sbindir}/getty 38400 tty2 | ||
78 | # 3:23:respawn:${base_sbindir}/getty 38400 tty3 | ||
79 | # 4:23:respawn:${base_sbindir}/getty 38400 tty4 | ||
80 | EOF | 77 | EOF |
78 | |||
79 | for n in ${SYSVINIT_ENABLED_GETTYS} | ||
80 | do | ||
81 | echo "$n:2345:respawn:${base_sbindir}/getty 38400 tty$n" >> ${D}${sysconfdir}/inittab | ||
82 | done | ||
83 | echo "" >> ${D}${sysconfdir}/inittab | ||
81 | fi | 84 | fi |
82 | install -m 0644 ${WORKDIR}/rcS-default ${D}${sysconfdir}/default/rcS | 85 | install -m 0644 ${WORKDIR}/rcS-default ${D}${sysconfdir}/default/rcS |
83 | install -m 0755 ${WORKDIR}/rc ${D}${sysconfdir}/init.d | 86 | install -m 0755 ${WORKDIR}/rc ${D}${sysconfdir}/init.d |
diff --git a/openembedded/packages/tslib/tslib/akita/tslib.sh b/openembedded/packages/tslib/tslib/akita/tslib.sh index dc7484cada..218da0751b 100644 --- a/openembedded/packages/tslib/tslib/akita/tslib.sh +++ b/openembedded/packages/tslib/tslib/akita/tslib.sh | |||
@@ -9,7 +9,7 @@ case `uname -r` in | |||
9 | *) | 9 | *) |
10 | TSLIB_TSDEVICE=/dev/input/event1 | 10 | TSLIB_TSDEVICE=/dev/input/event1 |
11 | TSLIB_TSEVENTTYPE=INPUT | 11 | TSLIB_TSEVENTTYPE=INPUT |
12 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-corgi | 12 | TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf |
13 | ;; | 13 | ;; |
14 | esac | 14 | esac |
15 | 15 | ||
diff --git a/openembedded/packages/tslib/tslib/c7x0/tslib.sh b/openembedded/packages/tslib/tslib/c7x0/tslib.sh index dc7484cada..218da0751b 100644 --- a/openembedded/packages/tslib/tslib/c7x0/tslib.sh +++ b/openembedded/packages/tslib/tslib/c7x0/tslib.sh | |||
@@ -9,7 +9,7 @@ case `uname -r` in | |||
9 | *) | 9 | *) |
10 | TSLIB_TSDEVICE=/dev/input/event1 | 10 | TSLIB_TSDEVICE=/dev/input/event1 |
11 | TSLIB_TSEVENTTYPE=INPUT | 11 | TSLIB_TSEVENTTYPE=INPUT |
12 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-corgi | 12 | TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf |
13 | ;; | 13 | ;; |
14 | esac | 14 | esac |
15 | 15 | ||
diff --git a/openembedded/packages/tslib/tslib/collie/tslib.sh b/openembedded/packages/tslib/tslib/collie/tslib.sh index 187b7ce6d2..d9cc02cb1c 100644 --- a/openembedded/packages/tslib/tslib/collie/tslib.sh +++ b/openembedded/packages/tslib/tslib/collie/tslib.sh | |||
@@ -1,10 +1,16 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | if (uname -r|grep -q 'embedix'); then | 3 | case `uname -r` in |
4 | 2.4*) | ||
4 | TSLIB_TSDEVICE=/dev/ts | 5 | TSLIB_TSDEVICE=/dev/ts |
5 | TSLIB_TSEVENTTYPE=COLLIE | 6 | TSLIB_TSEVENTTYPE=COLLIE |
6 | else | 7 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-collie-2.4 |
7 | TSLIB_TSDEVICE=/dev/input/event0 | 8 | ;; |
8 | fi | 9 | *) |
10 | TSLIB_TSDEVICE=/dev/input/event1 | ||
11 | TSLIB_TSEVENTTYPE=INPUT | ||
12 | TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf | ||
13 | ;; | ||
14 | esac | ||
9 | 15 | ||
10 | export TSLIB_TSDEVICE TSLIB_TSEVENTTYPE | 16 | export TSLIB_TSDEVICE TSLIB_TSEVENTTYPE TSLIB_CONFFILE |
diff --git a/openembedded/packages/tslib/tslib/h1940/tslib.sh b/openembedded/packages/tslib/tslib/h1940/tslib.sh index 5e5e283962..d83673e259 100644 --- a/openembedded/packages/tslib/tslib/h1940/tslib.sh +++ b/openembedded/packages/tslib/tslib/h1940/tslib.sh | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | TSLIB_TSDEVICE=`detect-stylus --device` | 3 | TSLIB_TSDEVICE=`detect-stylus --device` |
4 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-h3600 | 4 | TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf |
5 | QWS_MOUSE_PROTO=TPanel | 5 | QWS_MOUSE_PROTO=TPanel |
6 | 6 | ||
7 | export TSLIB_TSDEVICE TSLIB_CONFFILE QWS_MOUSE_PROTO | 7 | export TSLIB_TSDEVICE TSLIB_CONFFILE QWS_MOUSE_PROTO |
diff --git a/openembedded/packages/tslib/tslib/h3600/tslib.sh b/openembedded/packages/tslib/tslib/h3600/tslib.sh index 5c446c2610..3c27b075f7 100644 --- a/openembedded/packages/tslib/tslib/h3600/tslib.sh +++ b/openembedded/packages/tslib/tslib/h3600/tslib.sh | |||
@@ -7,7 +7,7 @@ case `uname -r` in | |||
7 | ;; | 7 | ;; |
8 | *) | 8 | *) |
9 | TSLIB_TSDEVICE=`detect-stylus --device` | 9 | TSLIB_TSDEVICE=`detect-stylus --device` |
10 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-h3600 | 10 | TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf |
11 | ;; | 11 | ;; |
12 | esac | 12 | esac |
13 | 13 | ||
diff --git a/openembedded/packages/tslib/tslib/h6300/tslib.sh b/openembedded/packages/tslib/tslib/h6300/tslib.sh index 21aaad9ca4..548bc918ff 100644 --- a/openembedded/packages/tslib/tslib/h6300/tslib.sh +++ b/openembedded/packages/tslib/tslib/h6300/tslib.sh | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | TSLIB_TSDEVICE=`detect-stylus --device` | 3 | TSLIB_TSDEVICE=`detect-stylus --device` |
4 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-h6300 | 4 | TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf |
5 | 5 | ||
6 | export TSLIB_TSDEVICE TSLIB_CONFFILE | 6 | export TSLIB_TSDEVICE TSLIB_CONFFILE |
7 | 7 | ||
diff --git a/openembedded/packages/tslib/tslib/ipaq-pxa270/tslib.sh b/openembedded/packages/tslib/tslib/ipaq-pxa270/tslib.sh index 72ebcba7c2..3adaba0de8 100644 --- a/openembedded/packages/tslib/tslib/ipaq-pxa270/tslib.sh +++ b/openembedded/packages/tslib/tslib/ipaq-pxa270/tslib.sh | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | TSLIB_TSDEVICE=`detect-stylus --device` | 3 | TSLIB_TSDEVICE=`detect-stylus --device` |
4 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-h3600 | 4 | TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf |
5 | 5 | ||
6 | export TSLIB_TSDEVICE TSLIB_CONFFILE | 6 | export TSLIB_TSDEVICE TSLIB_CONFFILE |
diff --git a/openembedded/packages/tslib/tslib/poodle/tslib.sh b/openembedded/packages/tslib/tslib/poodle/tslib.sh index 187b7ce6d2..d9cc02cb1c 100644 --- a/openembedded/packages/tslib/tslib/poodle/tslib.sh +++ b/openembedded/packages/tslib/tslib/poodle/tslib.sh | |||
@@ -1,10 +1,16 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | if (uname -r|grep -q 'embedix'); then | 3 | case `uname -r` in |
4 | 2.4*) | ||
4 | TSLIB_TSDEVICE=/dev/ts | 5 | TSLIB_TSDEVICE=/dev/ts |
5 | TSLIB_TSEVENTTYPE=COLLIE | 6 | TSLIB_TSEVENTTYPE=COLLIE |
6 | else | 7 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-collie-2.4 |
7 | TSLIB_TSDEVICE=/dev/input/event0 | 8 | ;; |
8 | fi | 9 | *) |
10 | TSLIB_TSDEVICE=/dev/input/event1 | ||
11 | TSLIB_TSEVENTTYPE=INPUT | ||
12 | TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf | ||
13 | ;; | ||
14 | esac | ||
9 | 15 | ||
10 | export TSLIB_TSDEVICE TSLIB_TSEVENTTYPE | 16 | export TSLIB_TSDEVICE TSLIB_TSEVENTTYPE TSLIB_CONFFILE |
diff --git a/openembedded/packages/tslib/tslib/spitz/tslib.sh b/openembedded/packages/tslib/tslib/spitz/tslib.sh index dc7484cada..218da0751b 100644 --- a/openembedded/packages/tslib/tslib/spitz/tslib.sh +++ b/openembedded/packages/tslib/tslib/spitz/tslib.sh | |||
@@ -9,7 +9,7 @@ case `uname -r` in | |||
9 | *) | 9 | *) |
10 | TSLIB_TSDEVICE=/dev/input/event1 | 10 | TSLIB_TSDEVICE=/dev/input/event1 |
11 | TSLIB_TSEVENTTYPE=INPUT | 11 | TSLIB_TSEVENTTYPE=INPUT |
12 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-corgi | 12 | TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf |
13 | ;; | 13 | ;; |
14 | esac | 14 | esac |
15 | 15 | ||
diff --git a/openembedded/packages/tslib/tslib/tosa/ts.conf b/openembedded/packages/tslib/tslib/tosa/ts.conf deleted file mode 100644 index 07fbbea2a8..0000000000 --- a/openembedded/packages/tslib/tslib/tosa/ts.conf +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | module_raw corgi | ||
2 | module pthres pmin=1 | ||
3 | module variance delta=30 | ||
4 | module dejitter delta=100 | ||
5 | module linear | ||
diff --git a/openembedded/packages/tslib/tslib/tosa/tslib.sh b/openembedded/packages/tslib/tslib/tosa/tslib.sh index dc7484cada..218da0751b 100644 --- a/openembedded/packages/tslib/tslib/tosa/tslib.sh +++ b/openembedded/packages/tslib/tslib/tosa/tslib.sh | |||
@@ -9,7 +9,7 @@ case `uname -r` in | |||
9 | *) | 9 | *) |
10 | TSLIB_TSDEVICE=/dev/input/event1 | 10 | TSLIB_TSDEVICE=/dev/input/event1 |
11 | TSLIB_TSEVENTTYPE=INPUT | 11 | TSLIB_TSEVENTTYPE=INPUT |
12 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-corgi | 12 | TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf |
13 | ;; | 13 | ;; |
14 | esac | 14 | esac |
15 | 15 | ||
diff --git a/openembedded/packages/tslib/tslib/ts.conf-corgi b/openembedded/packages/tslib/tslib/ts-2.6.conf index 09309719f2..09309719f2 100644 --- a/openembedded/packages/tslib/tslib/ts.conf-corgi +++ b/openembedded/packages/tslib/tslib/ts-2.6.conf | |||
diff --git a/openembedded/packages/tslib/tslib/poodle/ts.conf b/openembedded/packages/tslib/tslib/ts.conf-collie-2.4 index 2099b9b414..2099b9b414 100644 --- a/openembedded/packages/tslib/tslib/poodle/ts.conf +++ b/openembedded/packages/tslib/tslib/ts.conf-collie-2.4 | |||
diff --git a/openembedded/packages/tslib/tslib/ts.conf-h2200 b/openembedded/packages/tslib/tslib/ts.conf-h2200 deleted file mode 100644 index 09309719f2..0000000000 --- a/openembedded/packages/tslib/tslib/ts.conf-h2200 +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | module_raw input | ||
2 | module pthres pmin=1 | ||
3 | module variance delta=30 | ||
4 | module dejitter delta=100 | ||
5 | module linear | ||
diff --git a/openembedded/packages/tslib/tslib/ts.conf-h3600 b/openembedded/packages/tslib/tslib/ts.conf-h3600 deleted file mode 100644 index 09309719f2..0000000000 --- a/openembedded/packages/tslib/tslib/ts.conf-h3600 +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | module_raw input | ||
2 | module pthres pmin=1 | ||
3 | module variance delta=30 | ||
4 | module dejitter delta=100 | ||
5 | module linear | ||
diff --git a/openembedded/packages/tslib/tslib/ts.conf-h6300 b/openembedded/packages/tslib/tslib/ts.conf-h6300 deleted file mode 100644 index 09309719f2..0000000000 --- a/openembedded/packages/tslib/tslib/ts.conf-h6300 +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | module_raw input | ||
2 | module pthres pmin=1 | ||
3 | module variance delta=30 | ||
4 | module dejitter delta=100 | ||
5 | module linear | ||
diff --git a/openembedded/packages/tslib/tslib/ts.conf-simpad b/openembedded/packages/tslib/tslib/ts.conf-simpad deleted file mode 100644 index 09309719f2..0000000000 --- a/openembedded/packages/tslib/tslib/ts.conf-simpad +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | module_raw input | ||
2 | module pthres pmin=1 | ||
3 | module variance delta=30 | ||
4 | module dejitter delta=100 | ||
5 | module linear | ||
diff --git a/openembedded/packages/tslib/tslib/usec_fix.patch b/openembedded/packages/tslib/tslib/usec_fix.patch new file mode 100644 index 0000000000..a791b39a3c --- /dev/null +++ b/openembedded/packages/tslib/tslib/usec_fix.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | Index: work/tslib-0.0cvs20051201-r32/tslib/plugins/collie-raw.c | ||
2 | =================================================================== | ||
3 | --- tslib.orig/plugins/collie-raw.c 2005-12-04 10:09:33.000000000 +0100 | ||
4 | +++ tslib/plugins/collie-raw.c 2005-12-04 10:16:05.000000000 +0100 | ||
5 | @@ -29,7 +29,7 @@ | ||
6 | #ifdef DEBUG | ||
7 | fprintf(stderr,"RAW---------------------------> %d %d %d\n",samp->x,samp->y,samp->pressure); | ||
8 | #endif /*DEBUG*/ | ||
9 | - samp->tv.tv_usec = collie_evt->millisecs % 1000; | ||
10 | + samp->tv.tv_usec = (collie_evt->millisecs % 1000) * 1000; | ||
11 | samp->tv.tv_sec = collie_evt->millisecs / 1000; | ||
12 | samp++; | ||
13 | collie_evt++; | ||
14 | Index: work/tslib-0.0cvs20051201-r32/tslib/plugins/corgi-raw.c | ||
15 | =================================================================== | ||
16 | --- tslib.orig/plugins/corgi-raw.c 2005-12-04 10:10:19.000000000 +0100 | ||
17 | +++ tslib/plugins/corgi-raw.c 2005-12-04 10:16:15.000000000 +0100 | ||
18 | @@ -29,7 +29,7 @@ | ||
19 | #ifdef DEBUG | ||
20 | fprintf(stderr,"RAW---------------------------> %d %d %d\n",samp->x,samp->y,samp->pressure); | ||
21 | #endif /*DEBUG*/ | ||
22 | - samp->tv.tv_usec = corgi_evt->millisecs % 1000; | ||
23 | + samp->tv.tv_usec = (corgi_evt->millisecs % 1000) * 1000; | ||
24 | samp->tv.tv_sec = corgi_evt->millisecs / 1000; | ||
25 | samp++; | ||
26 | corgi_evt++; | ||
diff --git a/openembedded/packages/tslib/tslib_cvs.bb b/openembedded/packages/tslib/tslib_cvs.bb index cf79999b25..bac18153fa 100644 --- a/openembedded/packages/tslib/tslib_cvs.bb +++ b/openembedded/packages/tslib/tslib_cvs.bb | |||
@@ -1,17 +1,17 @@ | |||
1 | SECTION = "base" | 1 | SECTION = "base" |
2 | DESCRIPTION = "tslib is a touchscreen access library." | 2 | DESCRIPTION = "tslib is a touchscreen access library." |
3 | PV = "0.0+cvs${SRCDATE}" | 3 | PV = "0.0+cvs${SRCDATE}" |
4 | PR = "r33" | 4 | PR = "r34" |
5 | 5 | ||
6 | SRC_URI_OVERRIDES_PACKAGE_ARCH = "0" | 6 | SRC_URI_OVERRIDES_PACKAGE_ARCH = "0" |
7 | PACKAGE_ARCH_tslib-conf = "${MACHINE_ARCH}" | 7 | PACKAGE_ARCH_tslib-conf = "${MACHINE_ARCH}" |
8 | PACKAGE_ARCH_mnci = "${MACHINE_ARCH}" | 8 | PACKAGE_ARCH_mnci = "${MACHINE_ARCH}" |
9 | 9 | ||
10 | SRC_URI = "cvs://cvs:@pubcvs.arm.linux.org.uk/mnt/src/cvsroot;module=tslib \ | 10 | SRC_URI = "cvs://cvs:@pubcvs.arm.linux.org.uk/mnt/src/cvsroot;module=tslib \ |
11 | file://ts.conf \ | 11 | file://usec_fix.patch;patch=1 \ |
12 | file://ts.conf-h3600 file://ts.conf-h3600-2.4 file://ts.conf-h6300 \ | 12 | file://ts.conf file://ts-2.6.conf \ |
13 | file://ts.conf-corgi file://ts.conf-corgi-2.4 \ | 13 | file://ts.conf-h3600-2.4 file://ts.conf-simpad-2.4 \ |
14 | file://ts.conf-simpad file://ts.conf-simpad-2.4 \ | 14 | file://ts.conf-corgi-2.4 file://ts.conf-collie-2.4 \ |
15 | file://tslib.sh" | 15 | file://tslib.sh" |
16 | SRC_URI_append_mnci += " file://devfs.patch;patch=1" | 16 | SRC_URI_append_mnci += " file://devfs.patch;patch=1" |
17 | SRC_URI_append_mnci += " file://event1.patch;patch=1" | 17 | SRC_URI_append_mnci += " file://event1.patch;patch=1" |
@@ -40,21 +40,29 @@ do_install_append() { | |||
40 | case ${MACHINE} in | 40 | case ${MACHINE} in |
41 | h3600 | h3900 | h1940 | h6300 | h2200 | ipaq-pxa270 | blueangel) | 41 | h3600 | h3900 | h1940 | h6300 | h2200 | ipaq-pxa270 | blueangel) |
42 | install -d ${D}${datadir}/tslib | 42 | install -d ${D}${datadir}/tslib |
43 | for f in ts.conf-h3600 ts.conf-h3600-2.4 ts.conf-h6300; do | 43 | for f in ts-2.6.conf ts.conf-h3600-2.4; do |
44 | install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/ | 44 | install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/ |
45 | done | 45 | done |
46 | rm -f ${D}${sysconfdir}/ts.conf | 46 | rm -f ${D}${sysconfdir}/ts.conf |
47 | ;; | 47 | ;; |
48 | c7x0 | spitz | akita | tosa ) | 48 | c7x0 | spitz | akita | tosa ) |
49 | install -d ${D}${datadir}/tslib | 49 | install -d ${D}${datadir}/tslib |
50 | for f in ts.conf-corgi ts.conf-corgi-2.4; do | 50 | for f in ts-2.6.conf ts.conf-corgi-2.4; do |
51 | install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/ | 51 | install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/ |
52 | done | 52 | done |
53 | rm -f ${D}${sysconfdir}/ts.conf | 53 | rm -f ${D}${sysconfdir}/ts.conf |
54 | ;; | 54 | ;; |
55 | collie | poodle ) | ||
56 | install -d ${D}${datadir}/tslib | ||
57 | for f in ts-2.6.conf ts.conf-collie-2.4; do | ||
58 | install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/ | ||
59 | done | ||
60 | rm -f ${D}${sysconfdir}/ts.conf | ||
61 | ;; | ||
62 | |||
55 | simpad ) | 63 | simpad ) |
56 | install -d ${D}${datadir}/tslib | 64 | install -d ${D}${datadir}/tslib |
57 | for f in ts.conf-simpad ts.conf-simpad-2.4; do | 65 | for f in ts-2.6.conf ts.conf-simpad-2.4; do |
58 | install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/ | 66 | install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/ |
59 | done | 67 | done |
60 | rm -f ${D}${sysconfdir}/ts.conf | 68 | rm -f ${D}${sysconfdir}/ts.conf |
diff --git a/openembedded/packages/udev/files/akita/mount.blacklist b/openembedded/packages/udev/files/akita/mount.blacklist new file mode 100644 index 0000000000..f2c10ee50d --- /dev/null +++ b/openembedded/packages/udev/files/akita/mount.blacklist | |||
@@ -0,0 +1,5 @@ | |||
1 | # This is a grep pattern matched against the device name | ||
2 | # Any matched pattern will _not_ be mounted / removed by udevd | ||
3 | |||
4 | /dev/mtdblock | ||
5 | /dev/loop | ||
diff --git a/openembedded/packages/udev/files/c7x0/mount.blacklist b/openembedded/packages/udev/files/c7x0/mount.blacklist new file mode 100644 index 0000000000..f2c10ee50d --- /dev/null +++ b/openembedded/packages/udev/files/c7x0/mount.blacklist | |||
@@ -0,0 +1,5 @@ | |||
1 | # This is a grep pattern matched against the device name | ||
2 | # Any matched pattern will _not_ be mounted / removed by udevd | ||
3 | |||
4 | /dev/mtdblock | ||
5 | /dev/loop | ||
diff --git a/openembedded/packages/udev/files/fix-alignment.patch b/openembedded/packages/udev/files/fix-alignment.patch new file mode 100644 index 0000000000..8c7b8b5ac5 --- /dev/null +++ b/openembedded/packages/udev/files/fix-alignment.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | diff --git a/udev_rules_parse.c b/udev_rules_parse.c | ||
2 | --- a/udev_rules_parse.c | ||
3 | +++ b/udev_rules_parse.c | ||
4 | @@ -241,6 +241,7 @@ static int add_to_rules(struct udev_rule | ||
5 | int valid; | ||
6 | char *linepos; | ||
7 | char *attr; | ||
8 | + size_t padding; | ||
9 | int retval; | ||
10 | |||
11 | /* get all the keys */ | ||
12 | @@ -506,6 +507,11 @@ static int add_to_rules(struct udev_rule | ||
13 | |||
14 | /* grow buffer and add rule */ | ||
15 | rule_size = sizeof(struct udev_rule) + rule->bufsize; | ||
16 | + padding = (sizeof(size_t) - rule_size % sizeof(size_t)) % sizeof(size_t); | ||
17 | + dbg("add %zi padding bytes", padding); | ||
18 | + rule_size += padding; | ||
19 | + rule->bufsize += padding; | ||
20 | + | ||
21 | rules->buf = realloc(rules->buf, rules->bufsize + rule_size); | ||
22 | if (!rules->buf) { | ||
23 | err("realloc failed"); | ||
24 | |||
diff --git a/openembedded/packages/udev/files/local.rules b/openembedded/packages/udev/files/local.rules index 4bcaaa8aba..5f2efbeb0c 100644 --- a/openembedded/packages/udev/files/local.rules +++ b/openembedded/packages/udev/files/local.rules | |||
@@ -1,5 +1,22 @@ | |||
1 | # There are a number of modifiers that are allowed to be used in some | ||
2 | # of the different fields. They provide the following subsitutions: | ||
3 | # | ||
4 | # %n the "kernel number" of the device. | ||
5 | # For example, 'sda3' has a "kernel number" of '3' | ||
6 | # %e the smallest number for that name which does not matches an existing node | ||
7 | # %k the kernel name for the device | ||
8 | # %M the kernel major number for the device | ||
9 | # %m the kernel minor number for the device | ||
10 | # %b the bus id for the device | ||
11 | # %c the string returned by the PROGRAM | ||
12 | # %s{filename} the content of a sysfs attribute | ||
13 | # %% the '%' char itself | ||
14 | # | ||
15 | |||
16 | # Media automounting | ||
1 | SUBSYSTEM=="block", ACTION=="add" RUN+="/etc/udev/scripts/mount.sh" | 17 | SUBSYSTEM=="block", ACTION=="add" RUN+="/etc/udev/scripts/mount.sh" |
2 | SUBSYSTEM=="block", ACTION=="remove" RUN+="/etc/udev/scripts/mount.sh" | 18 | SUBSYSTEM=="block", ACTION=="remove" RUN+="/etc/udev/scripts/mount.sh" |
3 | 19 | ||
20 | # Handle network interface setup | ||
4 | SUBSYSTEM=="net", ACTION=="add" RUN+="/etc/udev/scripts/network.sh" | 21 | SUBSYSTEM=="net", ACTION=="add" RUN+="/etc/udev/scripts/network.sh" |
5 | SUBSYSTEM=="net", ACTION=="remove" RUN+="/etc/udev/scripts/network.sh" | 22 | SUBSYSTEM=="net", ACTION=="remove" RUN+="/etc/udev/scripts/network.sh" |
diff --git a/openembedded/packages/udev/files/mount.blacklist b/openembedded/packages/udev/files/mount.blacklist new file mode 100644 index 0000000000..7e13ea91de --- /dev/null +++ b/openembedded/packages/udev/files/mount.blacklist | |||
@@ -0,0 +1 @@ | |||
/dev/loop | |||
diff --git a/openembedded/packages/udev/udev-071/noasmlinkage.patch b/openembedded/packages/udev/files/noasmlinkage.patch index 0d8e854c0e..0d8e854c0e 100644 --- a/openembedded/packages/udev/udev-071/noasmlinkage.patch +++ b/openembedded/packages/udev/files/noasmlinkage.patch | |||
diff --git a/openembedded/packages/udev/files/slugos/mount.blacklist b/openembedded/packages/udev/files/slugos/mount.blacklist new file mode 100644 index 0000000000..210702f837 --- /dev/null +++ b/openembedded/packages/udev/files/slugos/mount.blacklist | |||
@@ -0,0 +1,4 @@ | |||
1 | ram[0-9]$ | ||
2 | mtdblock[0-9]$ | ||
3 | hd[a-z]$ | ||
4 | sd[a-z]$ | ||
diff --git a/openembedded/packages/udev/files/spitz/mount.blacklist b/openembedded/packages/udev/files/spitz/mount.blacklist new file mode 100644 index 0000000000..84ff5fc97b --- /dev/null +++ b/openembedded/packages/udev/files/spitz/mount.blacklist | |||
@@ -0,0 +1,6 @@ | |||
1 | # This is a grep pattern matched against the device name | ||
2 | # Any matched pattern will _not_ be mounted / removed by udevd | ||
3 | |||
4 | /dev/mtdblock | ||
5 | /dev/hda | ||
6 | /dev/loop | ||
diff --git a/openembedded/packages/udev/files/tosa/mount.blacklist b/openembedded/packages/udev/files/tosa/mount.blacklist new file mode 100644 index 0000000000..c341136eed --- /dev/null +++ b/openembedded/packages/udev/files/tosa/mount.blacklist | |||
@@ -0,0 +1,5 @@ | |||
1 | # This is a grep pattern matched against the device name | ||
2 | # Any matched pattern will _not_ be mounted / removed by udevd | ||
3 | |||
4 | /dev/mtdblock | ||
5 | /dev/loop \ No newline at end of file | ||
diff --git a/openembedded/packages/udev/files/udev.rules b/openembedded/packages/udev/files/udev.rules index 044ababa7f..5c566f6cef 100644 --- a/openembedded/packages/udev/files/udev.rules +++ b/openembedded/packages/udev/files/udev.rules | |||
@@ -28,7 +28,7 @@ BUS=="usb", KERNEL=="ttyUSB*", SYSFS{product}=="Palm Handheld*", \ | |||
28 | 28 | ||
29 | # usbfs-like devices | 29 | # usbfs-like devices |
30 | SUBSYSTEM=="usb_device", \ | 30 | SUBSYSTEM=="usb_device", \ |
31 | PROGRAM="/bin/sh -c 'X=%k X=$${X#usbdev} B=$${X%%%%.*} D=$${X#*.}; echo bus/usb/$$B/$$D'", SYMLINK+="%c" | 31 | PROGRAM="/bin/sh -c 'export X=%k; export X=$${X#usbdev}; export B=$${X%%%%.*}; export D=$${X#*.}; echo bus/usb/$$B/$$D'", SYMLINK+="%c" |
32 | 32 | ||
33 | # serial devices | 33 | # serial devices |
34 | KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20" | 34 | KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20" |
diff --git a/openembedded/packages/udev/files/udev_network_queue.sh b/openembedded/packages/udev/files/udev_network_queue.sh new file mode 100644 index 0000000000..05e08e9d1b --- /dev/null +++ b/openembedded/packages/udev/files/udev_network_queue.sh | |||
@@ -0,0 +1,35 @@ | |||
1 | #! /bin/sh | ||
2 | # | ||
3 | # Copyright Matthias Hentges <devel@hentges.net> (c) 2006 | ||
4 | # License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the license) | ||
5 | # | ||
6 | # Filename: udev_network_queue.sh | ||
7 | # Date: 03-May-06 | ||
8 | |||
9 | do_start() { | ||
10 | if test -e /dev/udev_network_queue | ||
11 | then | ||
12 | echo "Activating queued NICs..." | ||
13 | for NIC in `cat /dev/udev_network_queue` | ||
14 | do | ||
15 | export INTERFACE="$NIC" ; export ACTION=add | ||
16 | /etc/udev/scripts/network.sh | ||
17 | done | ||
18 | echo "" | ||
19 | else | ||
20 | echo "No NICs queued" | ||
21 | fi | ||
22 | } | ||
23 | |||
24 | do_stop() { | ||
25 | /bin/true | ||
26 | } | ||
27 | |||
28 | case "$1" in | ||
29 | start) do_start;; | ||
30 | stop) do_stop;; | ||
31 | restart) do_stop | ||
32 | do_start;; | ||
33 | *) echo "Usage: `basename $0` [ start | stop | restart ]" | ||
34 | exit 0;; | ||
35 | esac | ||
diff --git a/openembedded/packages/udev/udev-084/udevsynthesize.patch b/openembedded/packages/udev/files/udevsynthesize.patch index 7811188485..7811188485 100644 --- a/openembedded/packages/udev/udev-084/udevsynthesize.patch +++ b/openembedded/packages/udev/files/udevsynthesize.patch | |||
diff --git a/openembedded/packages/udev/udev-084/udevsynthesize.sh b/openembedded/packages/udev/files/udevsynthesize.sh index d58217c144..d58217c144 100644 --- a/openembedded/packages/udev/udev-084/udevsynthesize.sh +++ b/openembedded/packages/udev/files/udevsynthesize.sh | |||
diff --git a/openembedded/packages/udev/udev-071/flags.patch b/openembedded/packages/udev/udev-071/flags.patch deleted file mode 100644 index cb17336212..0000000000 --- a/openembedded/packages/udev/udev-071/flags.patch +++ /dev/null | |||
@@ -1,72 +0,0 @@ | |||
1 | Index: udev-071/Makefile | ||
2 | =================================================================== | ||
3 | --- udev-071.orig/Makefile 2005-10-19 23:28:34.000000000 +0100 | ||
4 | +++ udev-071/Makefile 2005-11-01 22:04:31.000000000 +0000 | ||
5 | @@ -160,36 +160,36 @@ | ||
6 | # check if compiler option is supported | ||
7 | cc-supports = ${shell if $(CC) ${1} -S -o /dev/null -xc /dev/null > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi;} | ||
8 | |||
9 | -CFLAGS += -Wall -fno-builtin -Wchar-subscripts -Wpointer-arith \ | ||
10 | +override CFLAGS += -Wall -fno-builtin -Wchar-subscripts -Wpointer-arith \ | ||
11 | -Wstrict-prototypes -Wsign-compare | ||
12 | -CFLAGS += $(call cc-supports, -Wdeclaration-after-statement, ) | ||
13 | -CFLAGS += -pipe | ||
14 | -CFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 | ||
15 | +override CFLAGS += $(call cc-supports, -Wdeclaration-after-statement, ) | ||
16 | +override CFLAGS += -pipe | ||
17 | +override CFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 | ||
18 | |||
19 | # use '-Os' optimization if available, else use -O2 | ||
20 | OPTFLAGS := $(call cc-supports, -Os, -O2) | ||
21 | |||
22 | # include our local copy of libsysfs | ||
23 | -CFLAGS += -I$(PWD)/libsysfs/sysfs \ | ||
24 | +override CFLAGS += -I$(PWD)/libsysfs/sysfs \ | ||
25 | -I$(PWD)/libsysfs | ||
26 | |||
27 | ifeq ($(strip $(USE_LOG)),true) | ||
28 | - CFLAGS += -DUSE_LOG | ||
29 | + override CFLAGS += -DUSE_LOG | ||
30 | endif | ||
31 | |||
32 | # if DEBUG is enabled, then we do not strip or optimize | ||
33 | ifeq ($(strip $(DEBUG)),true) | ||
34 | - CFLAGS += -O1 -g -DDEBUG | ||
35 | + override CFLAGS += -O1 -g -DDEBUG | ||
36 | LDFLAGS += -Wl | ||
37 | STRIPCMD = /bin/true -Since_we_are_debugging | ||
38 | else | ||
39 | - CFLAGS += $(OPTFLAGS) -fomit-frame-pointer | ||
40 | + override CFLAGS += $(OPTFLAGS) -fomit-frame-pointer | ||
41 | LDFLAGS += -s -Wl | ||
42 | STRIPCMD = $(STRIP) -s --remove-section=.note --remove-section=.comment | ||
43 | endif | ||
44 | |||
45 | ifeq ($(strip $(USE_GCOV)),true) | ||
46 | - CFLAGS += -fprofile-arcs -ftest-coverage | ||
47 | + override CFLAGS += -fprofile-arcs -ftest-coverage | ||
48 | LDFLAGS = -fprofile-arcs | ||
49 | endif | ||
50 | |||
51 | @@ -200,18 +200,18 @@ | ||
52 | CC = $(KLCC) | ||
53 | LD = $(KLCC) | ||
54 | else | ||
55 | - CFLAGS += -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations | ||
56 | + override CFLAGS += -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations | ||
57 | LDFLAGS += -Wl,-warn-common | ||
58 | endif | ||
59 | |||
60 | ifeq ($(strip $(USE_SELINUX)),true) | ||
61 | UDEV_OBJS += udev_selinux.o | ||
62 | LIB_OBJS += -lselinux -lsepol | ||
63 | - CFLAGS += -DUSE_SELINUX | ||
64 | + override CFLAGS += -DUSE_SELINUX | ||
65 | endif | ||
66 | |||
67 | ifeq ($(strip $(USE_STATIC)),true) | ||
68 | - CFLAGS += -DUSE_STATIC | ||
69 | + override CFLAGS += -DUSE_STATIC | ||
70 | LDFLAGS += -static | ||
71 | endif | ||
72 | |||
diff --git a/openembedded/packages/udev/udev-071/tty-symlinks.patch b/openembedded/packages/udev/udev-071/tty-symlinks.patch deleted file mode 100644 index 28bdf92af8..0000000000 --- a/openembedded/packages/udev/udev-071/tty-symlinks.patch +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | --- udev-068/etc/udev/udev-devfs.rules.orig 2005-08-22 20:22:18.000000000 +0200 | ||
2 | +++ udev-068/etc/udev/udev-devfs.rules 2005-08-22 20:22:44.000000000 +0200 | ||
3 | @@ -14,8 +14,8 @@ | ||
4 | KERNEL="fd[0-9]*", NAME="floppy/%n" | ||
5 | |||
6 | # tty devices | ||
7 | -KERNEL="tty[0-9]*", NAME="vc/%n" | ||
8 | -KERNEL="ttyS[0-9]*", NAME="tts/%n" | ||
9 | +KERNEL="tty[0-9]*", NAME="vc/%n", SYMLINK="%k" | ||
10 | +KERNEL="ttyS[0-9]*", NAME="tts/%n", SYMLINK="%k" | ||
11 | KERNEL="ttyUSB[0-9]*", NAME="tts/USB%n" | ||
12 | |||
13 | # vc devices | ||
diff --git a/openembedded/packages/udev/udev-084/init b/openembedded/packages/udev/udev-084/init index 3138e5554c..5a60d52a9a 100644 --- a/openembedded/packages/udev/udev-084/init +++ b/openembedded/packages/udev/udev-084/init | |||
@@ -204,12 +204,12 @@ case "$1" in | |||
204 | 204 | ||
205 | stop) | 205 | stop) |
206 | echo "Stopping the hotplug events dispatcher" "udevd" | 206 | echo "Stopping the hotplug events dispatcher" "udevd" |
207 | start-stop-daemon --stop --name udevd --quiet --oknodo --retry 5 | 207 | start-stop-daemon --stop --name udevd --quiet |
208 | ;; | 208 | ;; |
209 | 209 | ||
210 | restart|force-reload) | 210 | restart|force-reload) |
211 | echo "Stopping the hotplug events dispatcher" "udevd" | 211 | echo "Stopping the hotplug events dispatcher" "udevd" |
212 | if start-stop-daemon --stop --name udevd --quiet --oknodo --retry 5; then | 212 | if start-stop-daemon --stop --name udevd --quiet ; then |
213 | exit 1 | 213 | exit 1 |
214 | fi | 214 | fi |
215 | 215 | ||
diff --git a/openembedded/packages/udev/udev-084/local.rules b/openembedded/packages/udev/udev-084/local.rules new file mode 100644 index 0000000000..bb8459ba23 --- /dev/null +++ b/openembedded/packages/udev/udev-084/local.rules | |||
@@ -0,0 +1,28 @@ | |||
1 | # There are a number of modifiers that are allowed to be used in some | ||
2 | # of the different fields. They provide the following subsitutions: | ||
3 | # | ||
4 | # %n the "kernel number" of the device. | ||
5 | # For example, 'sda3' has a "kernel number" of '3' | ||
6 | # %e the smallest number for that name which does not matches an existing node | ||
7 | # %k the kernel name for the device | ||
8 | # %M the kernel major number for the device | ||
9 | # %m the kernel minor number for the device | ||
10 | # %b the bus id for the device | ||
11 | # %c the string returned by the PROGRAM | ||
12 | # %s{filename} the content of a sysfs attribute | ||
13 | # %% the '%' char itself | ||
14 | # | ||
15 | |||
16 | # Media automounting | ||
17 | SUBSYSTEM=="block", ACTION=="add" RUN+="/etc/udev/scripts/mount.sh" | ||
18 | SUBSYSTEM=="block", ACTION=="remove" RUN+="/etc/udev/scripts/mount.sh" | ||
19 | |||
20 | # Handle network interface setup | ||
21 | SUBSYSTEM=="net", ACTION=="add" RUN+="/etc/udev/scripts/network.sh" | ||
22 | SUBSYSTEM=="net", ACTION=="remove" RUN+="/etc/udev/scripts/network.sh" | ||
23 | |||
24 | # The first rtc device is symlinked to /dev/rtc | ||
25 | KERNEL="rtc0", SYMLINK="rtc" | ||
26 | |||
27 | # Try and modprobe for drivers for new hardware | ||
28 | ACTION="add", DEVPATH="/devices/*", MODALIAS=="?*", RUN+="/sbin/modprobe $modalias" | ||
diff --git a/openembedded/packages/udev/udev-084/noasmlinkage.patch b/openembedded/packages/udev/udev-084/noasmlinkage.patch deleted file mode 100644 index 0d8e854c0e..0000000000 --- a/openembedded/packages/udev/udev-084/noasmlinkage.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | |||
2 | # | ||
3 | # Patch managed by http://www.holgerschurig.de/patcher.html | ||
4 | # | ||
5 | |||
6 | --- udev-062/udev.c~noasmlinkage.patch | ||
7 | +++ udev-062/udev.c | ||
8 | @@ -54,7 +54,7 @@ | ||
9 | } | ||
10 | #endif | ||
11 | |||
12 | -static void asmlinkage sig_handler(int signum) | ||
13 | +static void sig_handler(int signum) | ||
14 | { | ||
15 | switch (signum) { | ||
16 | case SIGALRM: | ||
17 | --- udev-062/udevd.c~noasmlinkage.patch | ||
18 | +++ udev-062/udevd.c | ||
19 | @@ -639,7 +639,7 @@ | ||
20 | return msg; | ||
21 | } | ||
22 | |||
23 | -static void asmlinkage sig_handler(int signum) | ||
24 | +static void sig_handler(int signum) | ||
25 | { | ||
26 | int rc; | ||
27 | |||
28 | --- udev-062/udevstart.c~noasmlinkage.patch | ||
29 | +++ udev-062/udevstart.c | ||
30 | @@ -323,7 +323,7 @@ | ||
31 | exec_list(&device_list); | ||
32 | } | ||
33 | |||
34 | -static void asmlinkage sig_handler(int signum) | ||
35 | +static void sig_handler(int signum) | ||
36 | { | ||
37 | switch (signum) { | ||
38 | case SIGALRM: | ||
diff --git a/openembedded/packages/udev/udev-084/udev.rules b/openembedded/packages/udev/udev-084/udev.rules index 6308cb0918..3ac51b301a 100644 --- a/openembedded/packages/udev/udev-084/udev.rules +++ b/openembedded/packages/udev/udev-084/udev.rules | |||
@@ -15,6 +15,7 @@ | |||
15 | 15 | ||
16 | # SCSI devices | 16 | # SCSI devices |
17 | BUS=="scsi", KERNEL=="sr[0-9]*", NAME="scd%n", SYMLINK+="sr%n" | 17 | BUS=="scsi", KERNEL=="sr[0-9]*", NAME="scd%n", SYMLINK+="sr%n" |
18 | SUBSYSTEM=="scsi_device", SYSFS{type}=="0|7|14", RUN+="/sbin/modprobe sd_mod" | ||
18 | 19 | ||
19 | # USB devices | 20 | # USB devices |
20 | BUS=="usb", KERNEL=="auer[0-9]*", NAME="usb/%k" | 21 | BUS=="usb", KERNEL=="auer[0-9]*", NAME="usb/%k" |
@@ -28,7 +29,7 @@ BUS=="usb", KERNEL=="ttyUSB*", SYSFS{product}=="Palm Handheld*", \ | |||
28 | 29 | ||
29 | # usbfs-like devices | 30 | # usbfs-like devices |
30 | SUBSYSTEM=="usb_device", \ | 31 | SUBSYSTEM=="usb_device", \ |
31 | PROGRAM="/bin/sh -c 'X=%k X=$${X#usbdev} B=$${X%%%%.*} D=$${X#*.}; echo bus/usb/$$B/$$D'", SYMLINK+="%c" | 32 | PROGRAM="/bin/sh -c 'export X=%k; export X=$${X#usbdev}; export B=$${X%%%%.*}; export D=$${X#*.}; echo bus/usb/$$B/$$D'", SYMLINK+="%c" |
32 | 33 | ||
33 | # serial devices | 34 | # serial devices |
34 | KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20" | 35 | KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20" |
diff --git a/openembedded/packages/udev/udev.inc b/openembedded/packages/udev/udev.inc index a2883aef50..a3896a6978 100644 --- a/openembedded/packages/udev/udev.inc +++ b/openembedded/packages/udev/udev.inc | |||
@@ -20,7 +20,7 @@ FILES_udev-utils = "${usrbindir}/udevinfo ${usrbindir}/udevtest" | |||
20 | inherit update-rc.d | 20 | inherit update-rc.d |
21 | 21 | ||
22 | INITSCRIPT_NAME = "udev" | 22 | INITSCRIPT_NAME = "udev" |
23 | INITSCRIPT_PARAMS = "start 04 S . start 55 0 6 ." | 23 | INITSCRIPT_PARAMS = "start 04 S ." |
24 | 24 | ||
25 | export CROSS = "${TARGET_PREFIX}" | 25 | export CROSS = "${TARGET_PREFIX}" |
26 | export HOSTCC = "${BUILD_CC}" | 26 | export HOSTCC = "${BUILD_CC}" |
diff --git a/openembedded/packages/udev/udev_071.bb b/openembedded/packages/udev/udev_071.bb deleted file mode 100644 index 937462de85..0000000000 --- a/openembedded/packages/udev/udev_071.bb +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ | ||
2 | file://tmpfs.patch;patch=1 \ | ||
3 | file://noasmlinkage.patch;patch=1 \ | ||
4 | file://flags.patch;patch=1 \ | ||
5 | file://tty-symlinks.patch;patch=1" | ||
6 | |||
7 | include udev.inc | ||
8 | |||
9 | PR = "r8" | ||
10 | |||
11 | UDEV_EXTRAS = "extras/firmware/ extras/scsi_id/ extras/volume_id/ extras/run_directory/" | ||
12 | |||
13 | #FIXME UDEV MIGRATION PLAN: | ||
14 | #FIXME a) udevd is now a netlink daemon and needs to be started by the init script (ours is way too old) | ||
15 | #FIXME b) sbin/hotplug should no longer be called by the kernel, i.e. echo "" >/proc/sys/kernel/hotplug | ||
16 | #FIXME done c) until d) happens, udev will emulate hotplugd behaviour (see do_install_append() | ||
17 | #FIXME d) eventually hotplug should no longer be used at all, all agents shall be converted to udev rules | ||
diff --git a/openembedded/packages/udev/udev_084.bb b/openembedded/packages/udev/udev_084.bb index 85393315c5..0bb96c7f36 100644 --- a/openembedded/packages/udev/udev_084.bb +++ b/openembedded/packages/udev/udev_084.bb | |||
@@ -7,13 +7,15 @@ SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ | |||
7 | file://noasmlinkage.patch;patch=1 \ | 7 | file://noasmlinkage.patch;patch=1 \ |
8 | file://flags.patch;patch=1 \ | 8 | file://flags.patch;patch=1 \ |
9 | file://udevsynthesize.patch;patch=1 \ | 9 | file://udevsynthesize.patch;patch=1 \ |
10 | file://udevsynthesize.sh" | 10 | file://udevsynthesize.sh \ |
11 | 11 | file://mount.blacklist \ | |
12 | file://udev_network_queue.sh" | ||
13 | |||
12 | include udev.inc | 14 | include udev.inc |
13 | 15 | ||
14 | INITSCRIPT_PARAMS = "start 03 S . start 55 0 6 ." | 16 | INITSCRIPT_PARAMS = "start 03 S ." |
15 | 17 | ||
16 | PR = "r1" | 18 | PR = "r12" |
17 | 19 | ||
18 | FILES_${PN} += "${base_libdir}" | 20 | FILES_${PN} += "${base_libdir}" |
19 | UDEV_EXTRAS = "extras/firmware/ extras/scsi_id/ extras/volume_id/ extras/run_directory/" | 21 | UDEV_EXTRAS = "extras/firmware/ extras/scsi_id/ extras/volume_id/ extras/run_directory/" |
@@ -25,9 +27,11 @@ do_install () { | |||
25 | oe_runmake 'DESTDIR=${D}' INSTALL=install install | 27 | oe_runmake 'DESTDIR=${D}' INSTALL=install install |
26 | install -d ${D}${sysconfdir}/init.d | 28 | install -d ${D}${sysconfdir}/init.d |
27 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev | 29 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev |
28 | 30 | install -m 0755 ${WORKDIR}/udev_network_queue.sh ${D}${sysconfdir}/init.d/ | |
31 | |||
29 | install -d ${D}${sysconfdir}/udev/rules.d/ | 32 | install -d ${D}${sysconfdir}/udev/rules.d/ |
30 | 33 | ||
34 | install -m 0644 ${WORKDIR}/mount.blacklist ${D}${sysconfdir}/udev/ | ||
31 | install -m 0644 ${WORKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/local.rules | 35 | install -m 0644 ${WORKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/local.rules |
32 | install -m 0644 ${WORKDIR}/permissions.rules ${D}${sysconfdir}/udev/rules.d/permissions.rules | 36 | install -m 0644 ${WORKDIR}/permissions.rules ${D}${sysconfdir}/udev/rules.d/permissions.rules |
33 | install -m 0644 ${WORKDIR}/udev.rules ${D}${sysconfdir}/udev/rules.d/udev.rules | 37 | install -m 0644 ${WORKDIR}/udev.rules ${D}${sysconfdir}/udev/rules.d/udev.rules |
@@ -44,3 +48,13 @@ do_install () { | |||
44 | install -m 0755 ${S}/udevsynthesize ${D}${base_libdir}/udev/udevsynthesize | 48 | install -m 0755 ${S}/udevsynthesize ${D}${base_libdir}/udev/udevsynthesize |
45 | install -m 0755 ${WORKDIR}/udevsynthesize.sh ${D}${sbindir}/udevsynthesize | 49 | install -m 0755 ${WORKDIR}/udevsynthesize.sh ${D}${sbindir}/udevsynthesize |
46 | } | 50 | } |
51 | |||
52 | |||
53 | pkg_postinst_append() { | ||
54 | update-rc.d -s udev_network_queue.sh start 41 S . start 55 0 6 . | ||
55 | } | ||
56 | |||
57 | |||
58 | pkg_postrm_append() { | ||
59 | update-rc.d -f udev_network_queue.sh remove | ||
60 | } | ||
diff --git a/openembedded/packages/update-modules/update-modules-1.0/update-modules b/openembedded/packages/update-modules/update-modules-1.0/update-modules index 2f817c5ee1..636fe1c0d4 100755 --- a/openembedded/packages/update-modules/update-modules-1.0/update-modules +++ b/openembedded/packages/update-modules/update-modules-1.0/update-modules | |||
@@ -173,15 +173,24 @@ for cfg in /etc/modutils/* $CONF ; do | |||
173 | fi | 173 | fi |
174 | done | 174 | done |
175 | 175 | ||
176 | first_time=0 | ||
177 | if [ ! -f $MODULESFILE ]; then | ||
178 | first_time=1 | ||
179 | fi | ||
180 | |||
176 | mv "$MODCONFTMPFILE" "$MODCONFFILE" | 181 | mv "$MODCONFTMPFILE" "$MODCONFFILE" |
177 | mv "$MODULESTMPFILE" "$MODULESFILE" | 182 | mv "$MODULESTMPFILE" "$MODULESFILE" |
178 | 183 | ||
184 | if [ $first_time -eq 1 ]; then | ||
185 | /etc/init.d/modutils.sh || true | ||
186 | fi | ||
187 | |||
179 | # We also call depmod here to stop insmod from complaining that modules.conf | 188 | # We also call depmod here to stop insmod from complaining that modules.conf |
180 | # is more recent then modules.dep | 189 | # is more recent then modules.dep |
181 | # | 190 | # |
182 | if [ -d "`depdir`" -a -f /proc/modules ] | 191 | if [ -d "`depdir`" -a -f /proc/modules ] |
183 | then | 192 | then |
184 | depmod -a || true | 193 | depmod -A || true |
185 | fi | 194 | fi |
186 | 195 | ||
187 | exit 0 | 196 | exit 0 |
diff --git a/openembedded/packages/update-modules/update-modules_1.0.bb b/openembedded/packages/update-modules/update-modules_1.0.bb index 297b1bf7b0..dc4c3c0d92 100644 --- a/openembedded/packages/update-modules/update-modules_1.0.bb +++ b/openembedded/packages/update-modules/update-modules_1.0.bb | |||
@@ -2,7 +2,7 @@ SECTION = "base" | |||
2 | DESCRIPTION = "Script to manage module configuration files" | 2 | DESCRIPTION = "Script to manage module configuration files" |
3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
4 | PACKAGE_ARCH = "all" | 4 | PACKAGE_ARCH = "all" |
5 | PR = "r3" | 5 | PR = "r4" |
6 | 6 | ||
7 | SRC_URI = "file://update-modules" | 7 | SRC_URI = "file://update-modules" |
8 | 8 | ||
@@ -11,7 +11,6 @@ if [ "x$D" != "x" ]; then | |||
11 | exit 1 | 11 | exit 1 |
12 | fi | 12 | fi |
13 | update-modules | 13 | update-modules |
14 | /etc/init.d/modutils.sh | ||
15 | } | 14 | } |
16 | 15 | ||
17 | do_install() { | 16 | do_install() { |
diff --git a/openembedded/packages/wpa-supplicant/wpa-supplicant_0.3.6.bb b/openembedded/packages/wpa-supplicant/wpa-supplicant_0.3.6.bb index f0572dfdbf..0a8fc1bc66 100644 --- a/openembedded/packages/wpa-supplicant/wpa-supplicant_0.3.6.bb +++ b/openembedded/packages/wpa-supplicant/wpa-supplicant_0.3.6.bb | |||
@@ -4,10 +4,11 @@ LICENSE = "GPL" | |||
4 | MAINTAINER = "Holger Schurig" | 4 | MAINTAINER = "Holger Schurig" |
5 | HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/" | 5 | HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/" |
6 | DEPENDS = "openssl" | 6 | DEPENDS = "openssl" |
7 | PR = "r2" | 7 | PR = "r3" |
8 | 8 | ||
9 | SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-0.3.6.tar.gz \ | 9 | SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-0.3.6.tar.gz \ |
10 | file://defconfig \ | 10 | file://defconfig \ |
11 | file://driver-hermes.patch;patch=1 \ | ||
11 | file://wpa_supplicant.conf" | 12 | file://wpa_supplicant.conf" |
12 | S = "${WORKDIR}/wpa_supplicant-${PV}" | 13 | S = "${WORKDIR}/wpa_supplicant-${PV}" |
13 | 14 | ||
diff --git a/openembedded/packages/zaurus-updater/encdec-updater.bb b/openembedded/packages/zaurus-updater/encdec-updater.bb index 49371a6a49..797a762ebf 100644 --- a/openembedded/packages/zaurus-updater/encdec-updater.bb +++ b/openembedded/packages/zaurus-updater/encdec-updater.bb | |||
@@ -4,6 +4,8 @@ DESCRIPTION = "A tool to encode and decode the Sharp Zaurus updater.sh skript" | |||
4 | 4 | ||
5 | SRC_URI = "file://encdec-updater.c" | 5 | SRC_URI = "file://encdec-updater.c" |
6 | 6 | ||
7 | COMPATIBLE_MACHINE = '(poodle|c7x0|spitz|akita|tosa)' | ||
8 | |||
7 | do_compile() { | 9 | do_compile() { |
8 | ${CC} -o encdec-updater ${WORKDIR}/encdec-updater.c | 10 | ${CC} -o encdec-updater ${WORKDIR}/encdec-updater.c |
9 | } | 11 | } |
diff --git a/openembedded/packages/zaurus-updater/tosa/updater.sh b/openembedded/packages/zaurus-updater/tosa/updater.sh index 5adfa97a1e..6d30aba231 100644 --- a/openembedded/packages/zaurus-updater/tosa/updater.sh +++ b/openembedded/packages/zaurus-updater/tosa/updater.sh | |||
@@ -67,7 +67,7 @@ then | |||
67 | ./consolescroll | 67 | ./consolescroll |
68 | fi | 68 | fi |
69 | 69 | ||
70 | for TARGETFILE in zImage zimage.bin ZIMAGE initrd.bin INITRD.BIN mversion.bin MVERSION.BIN | 70 | for TARGETFILE in zImage zImage.bin zimage.bin ZIMAGE ZIMAGE.BIN initrd.bin INITRD.BIN mversion.bin MVERSION.BIN |
71 | do | 71 | do |
72 | if [ -e $TARGETFILE ] | 72 | if [ -e $TARGETFILE ] |
73 | then | 73 | then |
diff --git a/openembedded/packages/zaurus-updater/zaurus-updater.bb b/openembedded/packages/zaurus-updater/zaurus-updater.bb index b8a87ce7dc..26cf1e5453 100644 --- a/openembedded/packages/zaurus-updater/zaurus-updater.bb +++ b/openembedded/packages/zaurus-updater/zaurus-updater.bb | |||
@@ -1,10 +1,11 @@ | |||
1 | DESCRIPTION = "Encrypted shellscript for the Zaurus ROM update" | 1 | DESCRIPTION = "Encrypted shellscript for the Zaurus ROM update" |
2 | DEPENDS = "encdec-updater-native" | 2 | DEPENDS = "encdec-updater-native" |
3 | LICENSE = "zaurus-updater" | 3 | LICENSE = "zaurus-updater" |
4 | PR = "r3" | 4 | PR = "r5" |
5 | 5 | ||
6 | PACKAGES = "" | 6 | PACKAGES = "" |
7 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 7 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
8 | COMPATIBLE_MACHINE = '(poodle|c7x0|spitz|akita|tosa)' | ||
8 | 9 | ||
9 | SRC_URI = "file://updater.sh \ | 10 | SRC_URI = "file://updater.sh \ |
10 | file://gnu-tar.gz" | 11 | file://gnu-tar.gz" |
@@ -15,7 +16,7 @@ do_compile() { | |||
15 | } | 16 | } |
16 | 17 | ||
17 | do_deploy() { | 18 | do_deploy() { |
18 | install -d ${DEPLOY_DIR}/images/ | 19 | install -d ${DEPLOY_DIR_IMAGE} |
19 | install -m 0755 updater.sh ${DEPLOY_DIR_IMAGE}/updater.sh.${MACHINE} | 20 | install -m 0755 updater.sh ${DEPLOY_DIR_IMAGE}/updater.sh.${MACHINE} |
20 | 21 | ||
21 | case ${MACHINE} in | 22 | case ${MACHINE} in |
diff --git a/openembedded/packages/zaurusd/zaurusd_svn.bb b/openembedded/packages/zaurusd/zaurusd_svn.bb index d36fc1c118..d297c0eba0 100644 --- a/openembedded/packages/zaurusd/zaurusd_svn.bb +++ b/openembedded/packages/zaurusd/zaurusd_svn.bb | |||
@@ -1,19 +1,18 @@ | |||
1 | LICENSE = "GPL" | 1 | DESCRIPTION = "Daemon to handle device specifc features." |
2 | SECTION = "base" | 2 | SECTION = "base" |
3 | MAINTAINER = "Richard Purdie <rpurdie@openedhand.com>" | 3 | MAINTAINER = "Richard Purdie <rpurdie@openedhand.com>" |
4 | DESCRIPTION = "Daemon to handle device specifc features." | 4 | LICENSE = "GPL" |
5 | PV = "0.0+svn${SRCDATE}" | ||
6 | PR = "r0" | ||
7 | DEPENDS = "tslib" | 5 | DEPENDS = "tslib" |
6 | PV = "0.0+svn${SRCDATE}" | ||
7 | PR = "r4" | ||
8 | 8 | ||
9 | SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=zaurusd;proto=http" | 9 | SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=zaurusd;proto=http" |
10 | |||
10 | S = "${WORKDIR}/${PN}" | 11 | S = "${WORKDIR}/${PN}" |
11 | 12 | ||
12 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 13 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
13 | 14 | ||
14 | inherit autotools pkgconfig | 15 | inherit autotools pkgconfig update-rc.d |
15 | |||
16 | inherit update-rc.d | ||
17 | 16 | ||
18 | INITSCRIPT_NAME = "zaurusd" | 17 | INITSCRIPT_NAME = "zaurusd" |
19 | INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ." | 18 | INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ." |