From 40960abe52484aea56f00417c57a7da38db8614a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 14 Mar 2010 12:48:35 +0100 Subject: update to latest stable upstream --- toolchain/uClibc/Makefile.inc | 4 +- toolchain/uClibc/patches/devel-prefix-lib.patch | 14 ++--- toolchain/uClibc/patches/fastat-64bithost.patch | 79 ------------------------- toolchain/uClibc/patches/mips.patch | 66 --------------------- toolchain/uClibc/patches/mips64.patch | 22 ------- toolchain/uClibc/patches/sparc.patch | 26 -------- 6 files changed, 9 insertions(+), 202 deletions(-) delete mode 100644 toolchain/uClibc/patches/fastat-64bithost.patch delete mode 100644 toolchain/uClibc/patches/mips.patch delete mode 100644 toolchain/uClibc/patches/mips64.patch delete mode 100644 toolchain/uClibc/patches/sparc.patch diff --git a/toolchain/uClibc/Makefile.inc b/toolchain/uClibc/Makefile.inc index 1ffcde868..f02b99e1a 100644 --- a/toolchain/uClibc/Makefile.inc +++ b/toolchain/uClibc/Makefile.inc @@ -2,8 +2,8 @@ # material, please see the LICENCE file in the top-level directory. PKG_NAME:= uClibc -PKG_VERSION:= 0.9.30.2 +PKG_VERSION:= 0.9.30.3 PKG_RELEASE:= 1 -PKG_MD5SUM:= e759ec855500082ac3e671dd6cacfdb0 +PKG_MD5SUM:= 73a4bf4a0fa508b01a7a3143574e3d21 PKG_SITES:= http://uclibc.org/downloads/ DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2 diff --git a/toolchain/uClibc/patches/devel-prefix-lib.patch b/toolchain/uClibc/patches/devel-prefix-lib.patch index b0f8a8011..336fad1c7 100644 --- a/toolchain/uClibc/patches/devel-prefix-lib.patch +++ b/toolchain/uClibc/patches/devel-prefix-lib.patch @@ -1,6 +1,6 @@ -diff -Nur uClibc-0.9.30.1.orig/Makefile.in uClibc-0.9.30.1/Makefile.in ---- uClibc-0.9.30.1.orig/Makefile.in 2008-11-17 23:38:34.000000000 +0100 -+++ uClibc-0.9.30.1/Makefile.in 2009-12-07 20:34:07.000000000 +0100 +diff -Nur uClibc-0.9.30.3.orig/Makefile.in uClibc-0.9.30.3/Makefile.in +--- uClibc-0.9.30.3.orig/Makefile.in 2010-03-12 20:32:42.000000000 +0100 ++++ uClibc-0.9.30.3/Makefile.in 2010-03-12 22:05:15.486918488 +0100 @@ -190,7 +190,7 @@ install: install_runtime install_dev @@ -8,12 +8,12 @@ diff -Nur uClibc-0.9.30.1.orig/Makefile.in uClibc-0.9.30.1/Makefile.in -RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB=$(shell $(top_srcdir)extra/scripts/relative_path.sh $(DEVEL_PREFIX)lib $(RUNTIME_PREFIX)lib) +RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB=$(shell $(top_srcdir)extra/scripts/relative_path.sh $(DEVEL_PREFIX_LIB)lib $(RUNTIME_PREFIX)lib) - $(top_builddir)extra/scripts/unifdef: $(top_srcdir)extra/scripts/unifdef.c + $(top_builddir)extra/scripts/unifdef: $(top_srcdir)extra/scripts/unifdef.c|$(@D) $(hcompile.u) -@@ -370,41 +370,41 @@ +@@ -371,41 +371,41 @@ # Installs development library links. - install_dev: install_headers all + install_dev: install_headers install_runtime - $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)lib - -$(INSTALL) -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)lib/ + $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX_LIB)lib @@ -64,7 +64,7 @@ diff -Nur uClibc-0.9.30.1.orig/Makefile.in uClibc-0.9.30.1/Makefile.in | $(SED) -e 's/\.a$$/_pic.a/'`; \ done ; \ fi -@@ -413,9 +413,9 @@ +@@ -414,9 +414,9 @@ ifeq ($(UCLIBC_FORMAT_SHARED_FLAT),y) for file in lib/lib*.gdb; do \ if test -f $$file; then \ diff --git a/toolchain/uClibc/patches/fastat-64bithost.patch b/toolchain/uClibc/patches/fastat-64bithost.patch deleted file mode 100644 index dee068d00..000000000 --- a/toolchain/uClibc/patches/fastat-64bithost.patch +++ /dev/null @@ -1,79 +0,0 @@ -diff -Nur uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/fstatat64.c uClibc-0.9.30.2/libc/sysdeps/linux/common/fstatat64.c ---- uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/fstatat64.c 2010-01-13 22:22:31.000000000 +0100 -+++ uClibc-0.9.30.2/libc/sysdeps/linux/common/fstatat64.c 2010-01-23 11:55:14.000000000 +0100 -@@ -12,6 +12,11 @@ - - #ifdef __UCLIBC_HAS_LFS__ - -+/* 64bit ports tend to favor newfstatat() */ -+#ifdef __NR_newfstatat -+# define __NR_fstatat64 __NR_newfstatat -+#endif -+ - #ifdef __NR_fstatat64 - int fstatat64(int fd, const char *file, struct stat64 *buf, int flag) - { -diff -Nur uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/fstatat.c uClibc-0.9.30.2/libc/sysdeps/linux/common/fstatat.c ---- uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/fstatat.c 2010-01-13 22:22:31.000000000 +0100 -+++ uClibc-0.9.30.2/libc/sysdeps/linux/common/fstatat.c 2010-01-23 11:54:50.000000000 +0100 -@@ -10,15 +10,20 @@ - #include - #include "xstatconv.h" - -+/* 64bit ports tend to favor newfstatat() */ -+#ifdef __NR_newfstatat -+# define __NR_fstatat64 __NR_newfstatat -+#endif -+ - #ifdef __NR_fstatat64 - int fstatat(int fd, const char *file, struct stat *buf, int flag) - { - int ret; -- struct kernel_stat kbuf; -+ struct kernel_stat64 kbuf; - - ret = INLINE_SYSCALL(fstatat64, 4, fd, file, &kbuf, flag); - if (ret == 0) -- __xstat_conv(&kbuf, buf); -+ __xstat32_conv(&kbuf, buf); - - return ret; - } -diff -Nur uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/xstatconv.c uClibc-0.9.30.2/libc/sysdeps/linux/common/xstatconv.c ---- uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/xstatconv.c 2010-01-13 22:22:31.000000000 +0100 -+++ uClibc-0.9.30.2/libc/sysdeps/linux/common/xstatconv.c 2010-01-23 11:56:07.000000000 +0100 -@@ -70,4 +70,23 @@ - buf->st_ctim = kbuf->st_ctim; - } - -+void __xstat32_conv(struct kernel_stat64 *kbuf, struct stat *buf) -+{ -+ /* Convert to current kernel version of `struct stat64'. */ -+ memset(buf, 0x00, sizeof(*buf)); -+ buf->st_dev = kbuf->st_dev; -+ buf->st_ino = kbuf->st_ino; -+ buf->st_mode = kbuf->st_mode; -+ buf->st_nlink = kbuf->st_nlink; -+ buf->st_uid = kbuf->st_uid; -+ buf->st_gid = kbuf->st_gid; -+ buf->st_rdev = kbuf->st_rdev; -+ buf->st_size = kbuf->st_size; -+ buf->st_blksize = kbuf->st_blksize; -+ buf->st_blocks = kbuf->st_blocks; -+ buf->st_atim = kbuf->st_atim; -+ buf->st_mtim = kbuf->st_mtim; -+ buf->st_ctim = kbuf->st_ctim; -+} -+ - #endif /* __UCLIBC_HAS_LFS__ */ -diff -Nur uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/xstatconv.h uClibc-0.9.30.2/libc/sysdeps/linux/common/xstatconv.h ---- uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/xstatconv.h 2010-01-13 22:22:31.000000000 +0100 -+++ uClibc-0.9.30.2/libc/sysdeps/linux/common/xstatconv.h 2010-01-23 11:56:38.000000000 +0100 -@@ -26,6 +26,7 @@ - #include - - extern void __xstat_conv(struct kernel_stat *kbuf, struct stat *buf) attribute_hidden; -+extern void __xstat32_conv(struct kernel_stat64 *kbuf, struct stat *buf) attribute_hidden; - #if defined __UCLIBC_HAS_LFS__ - extern void __xstat64_conv(struct kernel_stat64 *kbuf, struct stat64 *buf) attribute_hidden; - #endif diff --git a/toolchain/uClibc/patches/mips.patch b/toolchain/uClibc/patches/mips.patch deleted file mode 100644 index 59bf5963c..000000000 --- a/toolchain/uClibc/patches/mips.patch +++ /dev/null @@ -1,66 +0,0 @@ -diff -Nur uClibc-0.9.30.2.orig/libc/sysdeps/linux/mips/crt1.S uClibc-0.9.30.2/libc/sysdeps/linux/mips/crt1.S ---- uClibc-0.9.30.2.orig/libc/sysdeps/linux/mips/crt1.S 2010-01-13 22:22:31.000000000 +0100 -+++ uClibc-0.9.30.2/libc/sysdeps/linux/mips/crt1.S 2010-01-24 20:33:06.297867491 +0100 -@@ -85,29 +85,10 @@ - - __start: - #ifdef __PIC__ --#if _MIPS_SIM == _MIPS_SIM_ABI32 -- .frame sp, 24, sp -- .set noreorder -- move $0, $31 /* Save old ra. */ -- bal 10f /* Find addr of cpload. */ -- nop --10: -- .cpload $31 -- move $31, $0 -- .set reorder -- .cprestore 16 --#else -- move $0, $31; /* Save old ra. */ -- .set noreorder -- bal 10f /* Find addr of .cpsetup. */ -- nop --10: -- .set reorder -- .cpsetup $31, $25, 10b -- move $31, $0 --#endif -+ SETUP_GPX($0) -+ SETUP_GPX64($25,$0) - #else -- la $28, _gp /* Setup GP correctly if we're non-PIC. */ -+ PTR_LA $28, _gp /* Setup GP correctly if we're non-PIC. */ - move $31, $0 - #endif - -@@ -118,18 +99,18 @@ - /* Allocate space on the stack for seven arguments and - * make sure the stack is aligned to double words (8 bytes) */ - -+ and $29, -2 * SZREG -+ - #if _MIPS_SIM == _MIPS_SIM_ABI32 -- and $29, -2 * 4 -- subu $29, 32 -- la $7, _init /* init */ -- la $8, _fini -- sw $8, 16($29) /* fini */ -- sw $2, 20($29) /* rtld_fini */ -- sw $29, 24($29) /* stack_end */ --#else -- and $29, -2 * PTRSIZE -+ PTR_SUBIU $29, 32 -+#endif - PTR_LA $7, _init /* init */ -- PTR_LA $8, _fini /* fini */ -+ PTR_LA $8, _fini -+#if _MIPS_SIM == _MIPS_SIM_ABI32 -+ PTR_S $8, 16($29) /* fini */ -+ PTR_S $2, 20($29) /* rtld_fini */ -+ PTR_S $29, 24($29) /* stack_end */ -+#else - move $9, $2 /* rtld_fini */ - move $10, $29 /* stack_end */ - #endif -- diff --git a/toolchain/uClibc/patches/mips64.patch b/toolchain/uClibc/patches/mips64.patch deleted file mode 100644 index fd2135a48..000000000 --- a/toolchain/uClibc/patches/mips64.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -Nur uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/getdents.c uClibc-0.9.30.2/libc/sysdeps/linux/common/getdents.c ---- uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/getdents.c 2010-01-13 22:22:31.000000000 +0100 -+++ uClibc-0.9.30.2/libc/sysdeps/linux/common/getdents.c 2010-02-03 20:21:34.000000000 +0100 -@@ -136,9 +136,6 @@ - return (char *) dp - buf; - } - --#if defined __UCLIBC_HAS_LFS__ && ! defined __NR_getdents64 --attribute_hidden strong_alias(__getdents,__getdents64) --#endif - - #elif __WORDSIZE == 32 - -@@ -171,4 +168,8 @@ - } - #endif - -+#if defined __UCLIBC_HAS_LFS__ && ! defined __NR_getdents64 -+attribute_hidden strong_alias(__getdents,__getdents64) -+#endif -+ - #endif diff --git a/toolchain/uClibc/patches/sparc.patch b/toolchain/uClibc/patches/sparc.patch deleted file mode 100644 index bcf5b5fd8..000000000 --- a/toolchain/uClibc/patches/sparc.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -Nur uClibc-0.9.30.2.orig/libc/sysdeps/linux/sparc/sigaction.c uClibc-0.9.30.2/libc/sysdeps/linux/sparc/sigaction.c ---- uClibc-0.9.30.2.orig/libc/sysdeps/linux/sparc/sigaction.c 2010-01-13 22:22:31.000000000 +0100 -+++ uClibc-0.9.30.2/libc/sysdeps/linux/sparc/sigaction.c 2010-02-14 12:10:52.000000000 +0100 -@@ -34,7 +34,8 @@ - static void __rt_sigreturn_stub(void); - static void __sigreturn_stub(void); - --int __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oact) -+libc_hidden_proto(sigaction) -+int sigaction(int sig, const struct sigaction *act, struct sigaction *oact) - { - int ret; - struct sigaction kact, koact; -@@ -65,10 +66,8 @@ - return ret; - } - --#ifndef LIBC_SIGACTION --weak_alias(__libc_sigaction,sigaction) --libc_hidden_weak(sigaction) --#endif -+libc_hidden_def(sigaction) -+weak_alias(sigaction,__libc_sigaction) - - static void - __rt_sigreturn_stub(void) -- cgit v1.2.3 From 4c2f0fd02b3e30fc7c96cc1b3343c0256ef5033f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 16 Mar 2010 18:45:03 +0100 Subject: do not build gcc for ag241, makes no sense --- package/gcc/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/package/gcc/Makefile b/package/gcc/Makefile index 4de63c4f7..b77895f5b 100644 --- a/package/gcc/Makefile +++ b/package/gcc/Makefile @@ -24,6 +24,7 @@ PKG_BUILDDEP+= glibc endif PKG_HOST_DEPENDS:= !freebsd +PKG_TARGET_DEPENDS:= !ag241 include ${TOPDIR}/mk/package.mk -- cgit v1.2.3 From 4d7af73c437e17c5c2646663e64c8b1170e5350d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 16 Mar 2010 18:46:16 +0100 Subject: enable config options for WLAN --- target/alix1c/kernel.config | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/target/alix1c/kernel.config b/target/alix1c/kernel.config index f51eec9a9..b88ea2b85 100644 --- a/target/alix1c/kernel.config +++ b/target/alix1c/kernel.config @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # Linux kernel version: 2.6.33 -# Sat Feb 27 10:02:09 2010 +# Sun Mar 14 12:49:26 2010 # # CONFIG_64BIT is not set CONFIG_X86_32=y @@ -683,7 +683,11 @@ CONFIG_VIA_RHINE_MMIO=y # CONFIG_NETDEV_1000 is not set # CONFIG_NETDEV_10000 is not set # CONFIG_TR is not set -# CONFIG_WLAN is not set +CONFIG_WLAN=y +# CONFIG_AIRO is not set +# CONFIG_ATMEL is not set +# CONFIG_PRISM54 is not set +# CONFIG_HOSTAP is not set # # Enable WiMAX (Networking options) to see the WiMAX drivers -- cgit v1.2.3 From bfcbb94881705358def320e0aeba653474dd91b0 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 16 Mar 2010 18:47:03 +0100 Subject: fix cross-compile for mips --- package/grep/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/grep/Makefile b/package/grep/Makefile index 6f2eba00e..f54894811 100644 --- a/package/grep/Makefile +++ b/package/grep/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:= grep PKG_VERSION:= 2.5.4 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= 92258031d98d4f12dfc6a6d24057e672 PKG_DESCR:= global search for a regular expression and print out matched lines PKG_SECTION:= text @@ -16,9 +16,10 @@ include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,GREP,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +CONFIGURE_ARGS+= --without-included-regex + post-install: $(INSTALL_DIR) $(IDIR_GREP)/usr/bin - $(INSTALL_BIN) $(WRKINST)/usr/bin/grep \ - $(IDIR_GREP)/usr/bin + $(INSTALL_BIN) $(WRKINST)/usr/bin/grep $(IDIR_GREP)/usr/bin include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3 From 8b3668c56527d0d8e2efb9eb56136d9d0e1ce043 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 16 Mar 2010 18:47:30 +0100 Subject: disable hayes support, breaks build --- package/setserial/patches/patch-setserial_c | 132 +++++++++++++++++++++++++++- 1 file changed, 131 insertions(+), 1 deletion(-) diff --git a/package/setserial/patches/patch-setserial_c b/package/setserial/patches/patch-setserial_c index ec2cb3c84..2c61e8933 100644 --- a/package/setserial/patches/patch-setserial_c +++ b/package/setserial/patches/patch-setserial_c @@ -1,5 +1,5 @@ --- setserial-2.17.orig/setserial.c 2000-01-27 16:40:52.000000000 +0100 -+++ setserial-2.17/setserial.c 2010-03-05 17:42:26.316553683 +0100 ++++ setserial-2.17/setserial.c 2010-03-12 17:34:40.961901844 +0100 @@ -11,6 +11,7 @@ */ @@ -8,3 +8,133 @@ #include #include #include +@@ -19,9 +20,6 @@ + #ifdef HAVE_ASM_IOCTLS_H + #include + #endif +-#ifdef HAVE_LINUX_HAYESESP_H +-#include +-#endif + #include + + #include "version.h" +@@ -118,14 +116,6 @@ struct flag_type_table { + CMD_CONFIG, "autoconfigure",0, 0, 0, 0, + CMD_GETMULTI, "get_multiport",0, 0, 0, 0, + CMD_SETMULTI, "set_multiport",0, 0, 0, 0, +-#ifdef TIOCGHAYESESP +- CMD_RX_TRIG, "rx_trigger", 0, 0, 0, FLAG_NEED_ARG, +- CMD_TX_TRIG, "tx_trigger", 0, 0, 0, FLAG_NEED_ARG, +- CMD_FLOW_OFF, "flow_off", 0, 0, 0, FLAG_NEED_ARG, +- CMD_FLOW_ON, "flow_on", 0, 0, 0, FLAG_NEED_ARG, +- CMD_RX_TMOUT, "rx_timeout", 0, 0, 0, FLAG_NEED_ARG, +- CMD_DMA_CHAN, "dma_channel", 0, 0, 0, FLAG_NEED_ARG, +-#endif + 0, 0, 0, 0, 0, 0, + }; + +@@ -356,62 +346,6 @@ void set_multiport(char *device, int fd, + } + #endif + +-#ifdef TIOCGHAYESESP +-void print_hayesesp(int fd) +-{ +- struct hayes_esp_config esp; +- +- if (ioctl(fd, TIOCGHAYESESP, &esp) < 0) +- return; +- +- printf("\tHayes ESP enhanced mode configuration:\n"); +- printf("\t\tRX trigger level: %d, TX trigger level: %d\n", +- (int)esp.rx_trigger, (int)esp.tx_trigger); +- printf("\t\tFlow off level: %d, Flow on level: %d\n", +- (int)esp.flow_off, (int)esp.flow_on); +- printf("\t\tRX timeout: %u, DMA channel: %d\n\n", +- (unsigned int)esp.rx_timeout, (int)esp.dma_channel); +-} +- +-void set_hayesesp(int fd, int cmd, int arg) +-{ +- struct hayes_esp_config esp; +- +- if (ioctl(fd, TIOCGHAYESESP, &esp) < 0) { +- printf("\nError: rx_trigger, tx_trigger, flow_off, " +- "flow_on, rx_timeout, and dma_channel\n" +- "are only valid for Hayes ESP ports.\n\n"); +- exit(1); +- } +- +- switch (cmd) { +- case CMD_RX_TRIG: +- esp.rx_trigger = arg; +- break; +- case CMD_TX_TRIG: +- esp.tx_trigger = arg; +- break; +- case CMD_FLOW_OFF: +- esp.flow_off = arg; +- break; +- case CMD_FLOW_ON: +- esp.flow_on = arg; +- break; +- case CMD_RX_TMOUT: +- esp.rx_timeout = arg; +- break; +- case CMD_DMA_CHAN: +- esp.dma_channel = arg; +- break; +- } +- +- if (ioctl(fd, TIOCSHAYESESP, &esp) < 0) { +- printf("Cannot set Hayes ESP info\n"); +- exit(1); +- } +-} +-#endif +- + void get_serial(char *device) + { + struct serial_struct serinfo; +@@ -453,9 +387,6 @@ void get_serial(char *device) + print_flags(&serinfo, "\tFlags: ", ""); + printf("\n\n"); + +-#ifdef TIOCGHAYESESP +- print_hayesesp(fd); +-#endif + } else if (verbosity==0) { + if (serinfo.type) { + printf("%s at 0x%.4x (irq = %d) is a %s", +@@ -593,16 +524,6 @@ void set_serial(char *device, char ** ar + } + set_multiport(device, fd, &arg); + break; +-#ifdef TIOCGHAYESESP +- case CMD_RX_TRIG: +- case CMD_TX_TRIG: +- case CMD_FLOW_OFF: +- case CMD_FLOW_ON: +- case CMD_RX_TMOUT: +- case CMD_DMA_CHAN: +- set_hayesesp(fd, p->cmd, atonum(*arg++)); +- break; +-#endif + default: + fprintf(stderr, "Internal error: unhandled cmd #%d\n", p->cmd); + exit(1); +@@ -692,14 +613,6 @@ fprintf(stderr, "\t* port\t\tset the I/O + fprintf(stderr, "\t get_multiport\tDisplay the multiport configuration\n"); + fprintf(stderr, "\t set_multiport\tSet the multiport configuration\n"); + fprintf(stderr, "\n"); +-#ifdef TIOCGHAYESESP +- fprintf(stderr, "\t* rx_trigger\tSet RX trigger level (ESP-only)\n"); +- fprintf(stderr, "\t* tx_trigger\tSet TX trigger level (ESP-only)\n"); +- fprintf(stderr, "\t* flow_off\tSet hardware flow off level (ESP-only)\n"); +- fprintf(stderr, "\t* flow_on\tSet hardware flow on level (ESP-only)\n"); +- fprintf(stderr, "\t* rx_timeout\tSet receive timeout (ESP-only)\n"); +- fprintf(stderr, "\t* dma_channel\tSet DMA channel (ESP-only)\n"); +-#endif + fprintf(stderr, "\n"); + fprintf(stderr, "\t spd_hi\tuse 56kb instead of 38.4kb\n"); + fprintf(stderr, "\t spd_vhi\tuse 115kb instead of 38.4kb\n"); -- cgit v1.2.3 From 9e50075dcd43334ed7590c7fc808d3cdf723b720 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 16 Mar 2010 18:48:04 +0100 Subject: enable libvirt only for architectures which can be used for kvm --- package/libvirt/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libvirt/Makefile b/package/libvirt/Makefile index 93ffba48e..662337ebe 100644 --- a/package/libvirt/Makefile +++ b/package/libvirt/Makefile @@ -15,7 +15,7 @@ PKG_URL:= http://www.libvirt.org/ PKG_SITES:= ftp://libvirt.org/libvirt/ PKG_HOST_DEPENDS:= !freebsd !netbsd !openbsd -PKG_TARGET_DEPENDS:= !foxboard +PKG_TARGET_DEPENDS:= x86 x86_64 include ${TOPDIR}/mk/package.mk -- cgit v1.2.3 From ee71e96e58ce74d44a338e6c391a85054662be30 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 16 Mar 2010 18:48:58 +0100 Subject: avoid automatic installation of linker scripts --- mk/package.mk | 2 +- mk/pkg-bottom.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mk/package.mk b/mk/package.mk index f397974d8..6c58d4d4e 100644 --- a/mk/package.mk +++ b/mk/package.mk @@ -216,7 +216,7 @@ endif -exec echo 'WARNING: $${IPKG_$(1)} installs files in /lib -' \ ' fix this!' >&2 \; -quit 2>/dev/null; fi; \ find usr ! -type d 2>/dev/null | \ - grep -v -e '^usr/share' -e '^usr/man' -e '^usr/info' | \ + grep -v -e '^usr/share' -e '^usr/man' -e '^usr/info' -e '^usr/lib/libc.so' | \ tee '$${STAGING_PARENT}/pkg/$(1)' | \ cpio -padlmu '$${STAGING_DIR}' @cd '$${STAGING_DIR}'; grep 'usr/lib/.*\.la$$$$' \ diff --git a/mk/pkg-bottom.mk b/mk/pkg-bottom.mk index d78cc5876..466a4c398 100644 --- a/mk/pkg-bottom.mk +++ b/mk/pkg-bottom.mk @@ -164,7 +164,7 @@ endif -exec echo 'WARNING: ${PKG_NAME} installs files in /lib -' \ ' fix this!' >&2 \; -quit 2>/dev/null; fi;\ find usr ! -type d 2>/dev/null | \ - grep -v -e '^usr/share' -e '^usr/man' -e '^usr/info' | \ + grep -v -e '^usr/share' -e '^usr/man' -e '^usr/info' -e '^usr/lib/libc.so' | \ tee '${STAGING_PARENT}/pkg/${PKG_NAME}' | \ cpio -padlmu '${STAGING_DIR}' @cd '${STAGING_DIR}'; grep 'usr/lib/.*\.la$$' \ -- cgit v1.2.3 From dc0a0e7175cf1e7a25d1250f28d4d8ddb02b7e63 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 23 Mar 2010 18:14:13 +0100 Subject: fix arm cross compile when toolchain only used --- target/Config.in | 34 +++++++++++++++++----------------- target/toolchain-arm/target.mk | 2 +- target/toolchain-armel/target.mk | 2 +- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/target/Config.in b/target/Config.in index fc0f36809..1aa5826c2 100644 --- a/target/Config.in +++ b/target/Config.in @@ -478,24 +478,24 @@ config ADK_LINUX_X86_64_TOOLCHAIN endchoice -choice -prompt "Target Optimization" -depends on ADK_LINUX_ARMEL_TOOLCHAIN || ADK_LINUX_ARM_TOOLCHAIN - -config ADK_LINUX_ARM_V5TE - bool "armv5te" - help - -config ADK_LINUX_ARM_V4T - bool "armv4t" - help - -endchoice +#choice +#prompt "Target Optimization" +#depends on ADK_LINUX_ARMEL_TOOLCHAIN || ADK_LINUX_ARM_TOOLCHAIN +# +#config ADK_LINUX_ARM_V5TE +# bool "armv5te" +# help +# +#config ADK_LINUX_ARM_V4T +# bool "armv4t" +# help +# +#endchoice -config ADK_TARGET_ARCH_OPTIMIZATION - string - default "armv5te" if ADK_LINUX_ARM_V5TE - default "armv4t" if ADK_LINUX_ARM_V4T +#config ADK_TARGET_ARCH_OPTIMIZATION +# string +# default "armv5te" if ADK_LINUX_ARM_V5TE +# default "armv4t" if ADK_LINUX_ARM_V4T choice prompt "Architecture" diff --git a/target/toolchain-arm/target.mk b/target/toolchain-arm/target.mk index 9037d7ac4..64327fb30 100644 --- a/target/toolchain-arm/target.mk +++ b/target/toolchain-arm/target.mk @@ -1,5 +1,5 @@ ARCH:= arm -CPU_ARCH:= armeb +CPU_ARCH:= arm KERNEL_VERSION:= 2.6.33 KERNEL_RELEASE:= 1 KERNEL_MD5SUM:= c3883760b18d50e8d78819c54d579b00 diff --git a/target/toolchain-armel/target.mk b/target/toolchain-armel/target.mk index 64327fb30..c1d2d8136 100644 --- a/target/toolchain-armel/target.mk +++ b/target/toolchain-armel/target.mk @@ -1,5 +1,5 @@ ARCH:= arm -CPU_ARCH:= arm +CPU_ARCH:= armel KERNEL_VERSION:= 2.6.33 KERNEL_RELEASE:= 1 KERNEL_MD5SUM:= c3883760b18d50e8d78819c54d579b00 -- cgit v1.2.3 From b69850c9d6fd24109618ea070b8f471a263d9e39 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 24 Mar 2010 19:11:51 +0100 Subject: fix glibc build on CygWin --- toolchain/glibc/Makefile | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile index a0e4ce11e..228f64438 100644 --- a/toolchain/glibc/Makefile +++ b/toolchain/glibc/Makefile @@ -10,20 +10,19 @@ include ${TOPDIR}/mk/buildhlp.mk # glibc does not compile with Os TARGET_CFLAGS:=$(subst Os,O2,$(TARGET_CFLAGS)) -GLIBC_CONFOPTS:= \ +GLIBC_CONFOPTS:= \ --build=$(GNU_HOST_NAME) \ --host=$(REAL_GNU_TARGET_NAME) \ --with-headers=$(TOOLCHAIN_SYSROOT)/usr/include \ --disable-nls \ --disable-sanity-checks \ - --disable-nls \ --without-cvs \ --disable-profile \ --disable-debug \ + --enable-kernel="2.6.0" \ --without-gd \ --with-__thread \ --with-tls \ - --enable-kernel="2.6.0" \ --enable-add-ons GLIBC_ENV:= PATH='${TARGET_PATH}' \ @@ -33,7 +32,6 @@ GLIBC_ENV:= PATH='${TARGET_PATH}' \ CXX=${REAL_GNU_TARGET_NAME}-g++ \ AR=${REAL_GNU_TARGET_NAME}-ar \ RANLIB=${REAL_GNU_TARGET_NAME}-ranlib \ - LD=${REAL_GNU_TARGET_NAME}-ld \ libc_cv_forced_unwind=yes \ libc_cv_c_cleanup=yes \ libc_cv_gnu99_inline=yes \ @@ -51,19 +49,20 @@ GLIBC_BUILD_DIR_INITIAL:= ${WRKDIR}/$(PKG_NAME)-$(PKG_VERSION)-headers GLIBC_BUILD_DIR_FINAL:= ${WRKDIR}/$(PKG_NAME)-$(PKG_VERSION)-final $(WRKBUILD)/.headers_configure: - (cd ${WRKDIR}/$(PKG_NAME)-$(PKG_VERSION); ln -sf ../glibc-ports-2.11/ ports); mkdir -p $(GLIBC_BUILD_DIR_INITIAL) + (cd ${WRKDIR}/$(PKG_NAME)-$(PKG_VERSION); ln -sf ../glibc-ports-2.11/ ports); (cd $(GLIBC_BUILD_DIR_INITIAL); \ + ${GLIBC_ENV} \ $(WRKBUILD)/configure \ - --prefix=/usr \ - --with-sysroot=$(TOOLCHAIN_SYSROOT) \ - ${GLIBC_CONFOPTS} \ + --prefix=/usr \ + --with-sysroot=$(TOOLCHAIN_SYSROOT) \ + ${GLIBC_CONFOPTS} \ ); touch $@ $(WRKBUILD)/.headers: $(WRKBUILD)/.headers_configure mkdir -p $(TOOLCHAIN_SYSROOT)/usr/lib - -$(MAKE) ${GLIBC_MAKEOPTS} -C $(GLIBC_BUILD_DIR_INITIAL) \ + -${GLIBC_ENV} $(MAKE) ${GLIBC_MAKEOPTS} -C $(GLIBC_BUILD_DIR_INITIAL) \ cross-compiling=yes \ install_root=$(TOOLCHAIN_SYSROOT) \ install-headers -- cgit v1.2.3 From 97a34b0a9a6239b14758009472d500d56955821f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 25 Mar 2010 19:16:07 +0100 Subject: enable glibc build for rb532 --- target/Config.in | 1 + toolchain/glibc/Makefile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/target/Config.in b/target/Config.in index 1aa5826c2..6ad3feb74 100644 --- a/target/Config.in +++ b/target/Config.in @@ -785,6 +785,7 @@ config ADK_TARGET_LIB_GLIBC ADK_LINUX_X86_ALIX2D || \ ADK_LINUX_X86_ALIX2D13 || \ ADK_LINUX_X86_WRAP || \ + ADK_LINUX_MIPS_RB532 || \ ADK_LINUX_RESCUE || \ ADK_LINUX_X86_64_SHUTTLE || \ ADK_LINUX_TOOLCHAIN diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile index 228f64438..bfd56f9fe 100644 --- a/toolchain/glibc/Makefile +++ b/toolchain/glibc/Makefile @@ -50,7 +50,8 @@ GLIBC_BUILD_DIR_FINAL:= ${WRKDIR}/$(PKG_NAME)-$(PKG_VERSION)-final $(WRKBUILD)/.headers_configure: mkdir -p $(GLIBC_BUILD_DIR_INITIAL) - (cd ${WRKDIR}/$(PKG_NAME)-$(PKG_VERSION); ln -sf ../glibc-ports-2.11/ ports); + (cd ${WRKDIR}/$(PKG_NAME)-$(PKG_VERSION); \ + ln -sf ../../w-glibc-ports-2.11-1/glibc-ports-2.11/ ports); (cd $(GLIBC_BUILD_DIR_INITIAL); \ ${GLIBC_ENV} \ $(WRKBUILD)/configure \ -- cgit v1.2.3 From 2f47ae6eace00f70af7eab702a343b8c99b4740f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 25 Mar 2010 20:11:14 +0100 Subject: glibc build for mips works, no interest in drbd at the moment --- TODO | 3 --- 1 file changed, 3 deletions(-) diff --git a/TODO b/TODO index bc92713e7..d03ca9dcc 100644 --- a/TODO +++ b/TODO @@ -1,12 +1,9 @@ -- check ncurses headers in latest cygwin - macos x build - test on OpenSuSE - test on CentOS - test on Fedora Core - help text for config/ needs adoption -- fix glibc build for MIPS targets - implement update for MTD devices (ag241) - fix watchdog for alix1c (mfgpt timers problem) -- package drbd - implement rpm package backend - implement dpkg package backend -- cgit v1.2.3 From 98c4842cbff9e4802092c5011feb0ecbb8e4881d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 28 Mar 2010 16:06:40 +0200 Subject: update ag241 to 2.6.33 --- package/sangam-atm/patches/patch-tn7dsl_c | 139 ++++++++++++++++++++++++------ target/Config.in | 1 + target/ag241/Makefile | 2 +- target/ag241/kernel.config | 83 ++++++++++++++---- target/ag241/patches/ar7.patch | 98 +++++++++------------ target/ag241/target.mk | 4 +- 6 files changed, 225 insertions(+), 102 deletions(-) diff --git a/package/sangam-atm/patches/patch-tn7dsl_c b/package/sangam-atm/patches/patch-tn7dsl_c index dfbc994ff..ed3c6de98 100644 --- a/package/sangam-atm/patches/patch-tn7dsl_c +++ b/package/sangam-atm/patches/patch-tn7dsl_c @@ -1,5 +1,5 @@ --- sangam-atm-1.0.orig/tn7dsl.c 2007-01-04 09:04:14.000000000 +0100 -+++ sangam-atm-1.0/tn7dsl.c 2009-12-17 23:40:56.457448616 +0100 ++++ sangam-atm-1.0/tn7dsl.c 2010-03-06 12:40:16.000000000 +0100 @@ -94,7 +94,6 @@ * 1/02/07 JZ CQ11054: Data Precision and Range Changes for TR-069 Conformance * UR8_MERGE_END CQ11054* @@ -64,16 +64,15 @@ int testflag1 = 0; extern int __guDbgLevel; extern sar_stat_t sarStat; -@@ -173,7 +203,7 @@ led_reg_t ledreg[2]; +@@ -173,7 +203,6 @@ led_reg_t ledreg[2]; static struct led_funcs ledreg[2]; #endif -#define DEV_DSLMOD 1 -+#define DEV_DSLMOD CTL_UNNUMBERED #define MAX_STR_SIZE 256 #define DSL_MOD_SIZE 256 -@@ -299,7 +329,7 @@ static PITIDSLHW_T pIhw; +@@ -299,7 +328,7 @@ static PITIDSLHW_T pIhw; static volatile int bshutdown; static char info[MAX_STR_SIZE]; /* Used for DSL Polling enable */ @@ -82,7 +81,7 @@ //kthread_t overlay_thread; /* end of module wide declars */ -@@ -309,8 +339,7 @@ static void tn7dsl_chng_modulation(void* +@@ -309,8 +338,7 @@ static void tn7dsl_chng_modulation(void* static unsigned int tn7dsl_set_modulation(void* data, int flag); static void tn7dsl_ctrl_fineGain(int value); static void tn7dsl_set_fineGainValue(int value); @@ -92,7 +91,7 @@ static void tn7dsl_register_dslss_led(void); void tn7dsl_dslmod_sysctl_register(void); void tn7dsl_dslmod_sysctl_unregister(void); -@@ -323,6 +352,14 @@ static int tn7dsl_proc_snr_print (char * +@@ -323,6 +351,14 @@ static int tn7dsl_proc_snr_print (char * #define gDot1(a) ((a>0)?(a%10):((-a)%10)) // UR8_MERGE_END CQ11054* @@ -107,7 +106,7 @@ int os_atoi(const char *pStr) { int MulNeg = (*pStr == '-' ? -1 : 1); -@@ -359,39 +396,6 @@ void dprintf (int uDbgLevel, char *szFmt +@@ -359,39 +395,6 @@ void dprintf (int uDbgLevel, char *szFmt #endif } @@ -147,7 +146,7 @@ // * UR8_MERGE_START CQ10640 Jack Zhang int tn7dsl_dump_dsp_memory(char *input_str) //cph99 { -@@ -441,101 +445,79 @@ unsigned int shim_osGetCpuFrequency(void +@@ -441,101 +444,79 @@ unsigned int shim_osGetCpuFrequency(void return CpuFrequency; } @@ -312,7 +311,7 @@ } int shim_osLoadDebugFWImage(unsigned char *ptr) -@@ -2834,7 +2816,6 @@ static int tn7dsl_set_dsl(void) +@@ -2834,7 +2815,6 @@ static int tn7dsl_set_dsl(void) int value; int i, offset[2]={4,11},oamFeature=0; char tmp[4]; @@ -320,7 +319,7 @@ // OAM Feature Configuration dslhal_api_dspInterfaceRead (pIhw, (unsigned int) pIhw->pmainAddr, 2, -@@ -2845,98 +2826,82 @@ static int tn7dsl_set_dsl(void) +@@ -2845,98 +2825,82 @@ static int tn7dsl_set_dsl(void) (unsigned int *) &offset, (unsigned char *) &oamFeature, 4); @@ -454,7 +453,7 @@ tn7dsl_generic_read(2, offset); dslReg &= dslhal_support_byteSwap32(0xFFFFFF00); -@@ -2954,46 +2919,47 @@ static int tn7dsl_set_dsl(void) +@@ -2954,46 +2918,47 @@ static int tn7dsl_set_dsl(void) // maximum bits per carrier ptr = NULL; ptr = prom_getenv("maximum_bits_per_carrier"); @@ -513,7 +512,7 @@ for(i=0;i<8;i++) { tmp[0]=ptr[i*2]; -@@ -3018,26 +2984,26 @@ static int tn7dsl_set_dsl(void) +@@ -3018,26 +2983,26 @@ static int tn7dsl_set_dsl(void) } ptr = NULL; ptr = prom_getenv("eoc_vendor_revision"); @@ -546,7 +545,7 @@ } return 0; -@@ -3064,6 +3030,7 @@ int tn7dsl_init(void *priv) +@@ -3064,6 +3029,7 @@ int tn7dsl_init(void *priv) int high_precision_selected = 0; // UR8_MERGE_END CQ11054* @@ -554,7 +553,7 @@ /* * start dsl */ -@@ -3081,7 +3048,7 @@ int tn7dsl_init(void *priv) +@@ -3081,7 +3047,7 @@ int tn7dsl_init(void *priv) * backward compatibility. */ cp = prom_getenv("DSL_BIT_TMODE"); @@ -563,7 +562,7 @@ { printk("%s : env var DSL_BIT_TMODE is set\n", __FUNCTION__); /* -@@ -3110,9 +3077,9 @@ int tn7dsl_init(void *priv) +@@ -3110,9 +3076,9 @@ int tn7dsl_init(void *priv) // UR8_MERGE_START CQ11054 Jack Zhang cp = prom_getenv("high_precision"); @@ -575,7 +574,7 @@ } if ( high_precision_selected) { -@@ -3419,8 +3386,7 @@ unsigned int tn7dsl_get_memory(unsigned +@@ -3419,8 +3385,7 @@ unsigned int tn7dsl_get_memory(unsigned @@ -585,7 +584,7 @@ { char *ptr; int ret, len = 0; -@@ -3432,7 +3398,7 @@ static int dslmod_sysctl(ctl_table *ctl, +@@ -3432,7 +3397,7 @@ static int dslmod_sysctl(ctl_table *ctl, char mod_req[16] = { '\t' }; char fst_byt; @@ -594,16 +593,76 @@ { *lenp = 0; return 0; -@@ -3442,7 +3408,7 @@ static int dslmod_sysctl(ctl_table *ctl, +@@ -3442,11 +3407,10 @@ static int dslmod_sysctl(ctl_table *ctl, */ if(write) { - ret = proc_dostring(ctl, write, filp, buffer, lenp); + ret = proc_dostring(ctl, write, buffer, lenp, ppos); - switch (ctl->ctl_name) +- switch (ctl->ctl_name) ++ if (strcmp(ctl->procname, "dslmod") == 0) { -@@ -3528,14 +3494,14 @@ static int dslmod_sysctl(ctl_table *ctl, +- case DEV_DSLMOD: + ptr = strpbrk(info, " \t"); + strcpy(mod_req, info); + +@@ -3456,7 +3420,7 @@ static int dslmod_sysctl(ctl_table *ctl, + if (!strcmp (info, "dspfreq")) + { + printk("dsp_freq = %d\n", SAR_FREQUNCY * 4); +- break; ++ return 0; + } + else if (!strncmp(info,"nohost", 6)) + { +@@ -3481,14 +3445,14 @@ static int dslmod_sysctl(ctl_table *ctl, + i, curr_setting.phyEnableDisableWord, + i, curr_setting.phyControlWord); + } +- break; ++ return 0; + } + // * UR8_MERGE_START CQ10880 Jack Zhang + else if (!strcmp(info,"dsp_l3msg")) + { + //printk("dsp_l3msg sent to DSP\n"); + dslhal_api_sendL3Command(pIhw); +- break; ++ return 0; + } + // * UR8_MERGE_END CQ10880* + +@@ -3503,51 +3467,57 @@ static int dslmod_sysctl(ctl_table *ctl, + if( fst_byt == 'S') type = type | (1 << 1); + ret = tn7sar_oam_generation (pIhw->pOsContext, chan, type, vpi, vci, timeout); + break; +- +- case 'F': ++ case 'F': + chan = tn7dsl_process_txflush_string (&queue, mod_req); + if (chan < 16) + tn7sar_tx_flush (pIhw->pOsContext, chan, queue, 0); + break; + case 'D': +-// * UR8_MERGE_START CQ10640 Jack Zhang +- if (mod_req[0]=='d') //cph99 ++ if (mod_req[0]=='d') + tn7dsl_dump_dsp_memory (&mod_req[1]); + else + tn7dsl_dump_memory (&mod_req[1]); +-// * UR8_MERGE_END CQ10640* +- break; ++ break; + case 'W': + tn7dsl_write_memory(&mod_req[1]); + break; + default: + tn7dsl_chng_modulation (info); + } +- } ++ } + } else { len += sprintf(info+len, mod_req); @@ -616,11 +675,39 @@ ctl_table dslmod_table[] = { - {DEV_DSLMOD, "dslmod", info, DSL_MOD_SIZE, 0644, NULL, &dslmod_sysctl} -+ {DEV_DSLMOD, "dslmod", info, DSL_MOD_SIZE, 0644, NULL, NULL, &dslmod_sysctl, &sysctl_string} - , - {0} - }; -@@ -3558,8 +3524,7 @@ void tn7dsl_dslmod_sysctl_register(void) +- , +- {0} +- }; ++ { ++ .procname = "dslmod", ++ .data = info, ++ .maxlen = DSL_MOD_SIZE, ++ .mode = 0644, ++ .proc_handler = &dslmod_sysctl ++ }, ++ { } ++}; + + /* Make sure that /proc/sys/dev is there */ + ctl_table dslmod_root_table[] = { + #ifdef CONFIG_PROC_FS +- {CTL_DEV, "dev", NULL, 0, 0555, dslmod_table} +- , ++ { ++ .procname = "dev", ++ .maxlen = 0, ++ .mode = 0555, ++ .child = dslmod_table, ++ }, + #endif /* CONFIG_PROC_FS */ +- {0} +- }; ++ { } ++}; + + static struct ctl_table_header *dslmod_sysctl_header; + +@@ -3558,8 +3528,7 @@ void tn7dsl_dslmod_sysctl_register(void) if (initialized == 1) return; @@ -630,7 +717,7 @@ /* * set the defaults -@@ -4821,4 +4786,4 @@ int tn7dsl_proc_PMDus(char* buf, char ** +@@ -4821,4 +4790,4 @@ int tn7dsl_proc_PMDus(char* buf, char ** } #endif //NO_ADV_STATS #endif //TR69_PMD_IN diff --git a/target/Config.in b/target/Config.in index c16235f3e..57ec05793 100644 --- a/target/Config.in +++ b/target/Config.in @@ -308,6 +308,7 @@ config ADK_LINUX_MIPS_AG241 select ADK_KPACKAGE_KMOD_ATM_BR2684 select ADK_PACKAGE_BR2684CTL select ADK_TARGET_WITH_DSL + select ADK_TARGET_WITH_WATCHDOG select ADK_ag241 help Linksys AG241 DSL router. diff --git a/target/ag241/Makefile b/target/ag241/Makefile index 44b8b1dff..05ce25271 100644 --- a/target/ag241/Makefile +++ b/target/ag241/Makefile @@ -16,7 +16,7 @@ tools-compile: $(TOOLS_BUILD_DIR) $(MAKE) -C ../tools/squashfs prepare compile install kernel-install: tools-compile - ${TARGET_CROSS}objcopy -S -O srec $(LINUX_DIR)/vmlinux \ + ${TARGET_CROSS}objcopy -S -O srec $(LINUX_DIR)/vmlinuz \ $(LINUX_DIR)/vmlinux.srec PATH='${TARGET_PATH}' \ srec2bin $(LINUX_DIR)/vmlinux.srec $(LINUX_DIR)/vmlinux.bin diff --git a/target/ag241/kernel.config b/target/ag241/kernel.config index 8ab0f9046..404ec29db 100644 --- a/target/ag241/kernel.config +++ b/target/ag241/kernel.config @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Linux kernel version: 2.6.32 -# Sun Jan 31 19:36:46 2010 +# Linux kernel version: 2.6.33 +# Sat Mar 6 12:49:00 2010 # CONFIG_MIPS=y @@ -10,7 +10,6 @@ CONFIG_MIPS=y # # CONFIG_MACH_ALCHEMY is not set CONFIG_AR7=y -# CONFIG_BASLER_EXCITE is not set # CONFIG_BCM47XX is not set # CONFIG_BCM63XX is not set # CONFIG_MIPS_COBALT is not set @@ -28,6 +27,7 @@ CONFIG_AR7=y # CONFIG_PNX8550_STB810 is not set # CONFIG_PMC_MSP is not set # CONFIG_PMC_YOSEMITE is not set +# CONFIG_POWERTV is not set # CONFIG_SGI_IP22 is not set # CONFIG_SGI_IP27 is not set # CONFIG_SGI_IP28 is not set @@ -48,6 +48,7 @@ CONFIG_AR7=y # CONFIG_CAVIUM_OCTEON_SIMULATOR is not set # CONFIG_CAVIUM_OCTEON_REFERENCE_BOARD is not set # CONFIG_ALCHEMY_GPIO_INDIRECT is not set +CONFIG_LOONGSON_UART_BASE=y CONFIG_RWSEM_GENERIC_SPINLOCK=y # CONFIG_ARCH_HAS_ILOG2_U32 is not set # CONFIG_ARCH_HAS_ILOG2_U64 is not set @@ -66,7 +67,6 @@ CONFIG_CSRC_R4K_LIB=y CONFIG_CSRC_R4K=y CONFIG_DMA_NONCOHERENT=y CONFIG_DMA_NEED_PCI_MAP_STATE=y -CONFIG_EARLY_PRINTK=y CONFIG_SYS_HAS_EARLY_PRINTK=y # CONFIG_NO_IOPORT is not set CONFIG_GENERIC_GPIO=y @@ -82,6 +82,7 @@ CONFIG_MIPS_L1_CACHE_SHIFT=5 # CPU selection # # CONFIG_CPU_LOONGSON2E is not set +# CONFIG_CPU_LOONGSON2F is not set CONFIG_CPU_MIPS32_R1=y # CONFIG_CPU_MIPS32_R2 is not set # CONFIG_CPU_MIPS64_R1 is not set @@ -103,6 +104,8 @@ CONFIG_CPU_MIPS32_R1=y # CONFIG_CPU_RM9000 is not set # CONFIG_CPU_SB1 is not set # CONFIG_CPU_CAVIUM_OCTEON is not set +CONFIG_SYS_SUPPORTS_ZBOOT=y +CONFIG_SYS_SUPPORTS_ZBOOT_UART16550=y CONFIG_SYS_HAS_CPU_MIPS32_R1=y CONFIG_CPU_MIPS32=y CONFIG_CPU_MIPSR1=y @@ -141,8 +144,6 @@ CONFIG_SPLIT_PTLOCK_CPUS=4 # CONFIG_PHYS_ADDR_T_64BIT is not set CONFIG_ZONE_DMA_FLAG=0 CONFIG_VIRT_TO_BUS=y -CONFIG_HAVE_MLOCK=y -CONFIG_HAVE_MLOCKED_PAGE_BIT=y # CONFIG_KSM is not set CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 CONFIG_TICK_ONESHOT=y @@ -176,6 +177,14 @@ CONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" # CONFIG_LOCALVERSION_AUTO is not set +CONFIG_HAVE_KERNEL_GZIP=y +CONFIG_HAVE_KERNEL_BZIP2=y +CONFIG_HAVE_KERNEL_LZMA=y +CONFIG_HAVE_KERNEL_LZO=y +# CONFIG_KERNEL_GZIP is not set +# CONFIG_KERNEL_BZIP2 is not set +CONFIG_KERNEL_LZMA=y +# CONFIG_KERNEL_LZO is not set # CONFIG_SWAP is not set CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y @@ -190,6 +199,7 @@ CONFIG_POSIX_MQUEUE_SYSCTL=y # CONFIG_TREE_RCU=y # CONFIG_TREE_PREEMPT_RCU is not set +# CONFIG_TINY_RCU is not set # CONFIG_RCU_TRACE is not set CONFIG_RCU_FANOUT=32 # CONFIG_RCU_FANOUT_EXACT is not set @@ -207,11 +217,10 @@ CONFIG_SYSCTL=y CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y CONFIG_SYSCTL_SYSCALL=y -CONFIG_KALLSYMS=y -# CONFIG_KALLSYMS_EXTRA_PASS is not set +# CONFIG_KALLSYMS is not set CONFIG_HOTPLUG=y CONFIG_PRINTK=y -CONFIG_BUG=y +# CONFIG_BUG is not set # CONFIG_ELF_CORE is not set # CONFIG_PCSPKR_PLATFORM is not set CONFIG_BASE_FULL=y @@ -256,14 +265,41 @@ CONFIG_BLOCK=y # IO Schedulers # CONFIG_IOSCHED_NOOP=y -# CONFIG_IOSCHED_AS is not set CONFIG_IOSCHED_DEADLINE=y # CONFIG_IOSCHED_CFQ is not set -# CONFIG_DEFAULT_AS is not set CONFIG_DEFAULT_DEADLINE=y # CONFIG_DEFAULT_CFQ is not set # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="deadline" +# CONFIG_INLINE_SPIN_TRYLOCK is not set +# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set +# CONFIG_INLINE_SPIN_LOCK is not set +# CONFIG_INLINE_SPIN_LOCK_BH is not set +# CONFIG_INLINE_SPIN_LOCK_IRQ is not set +# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set +CONFIG_INLINE_SPIN_UNLOCK=y +# CONFIG_INLINE_SPIN_UNLOCK_BH is not set +CONFIG_INLINE_SPIN_UNLOCK_IRQ=y +# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set +# CONFIG_INLINE_READ_TRYLOCK is not set +# CONFIG_INLINE_READ_LOCK is not set +# CONFIG_INLINE_READ_LOCK_BH is not set +# CONFIG_INLINE_READ_LOCK_IRQ is not set +# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set +CONFIG_INLINE_READ_UNLOCK=y +# CONFIG_INLINE_READ_UNLOCK_BH is not set +CONFIG_INLINE_READ_UNLOCK_IRQ=y +# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set +# CONFIG_INLINE_WRITE_TRYLOCK is not set +# CONFIG_INLINE_WRITE_LOCK is not set +# CONFIG_INLINE_WRITE_LOCK_BH is not set +# CONFIG_INLINE_WRITE_LOCK_IRQ is not set +# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set +CONFIG_INLINE_WRITE_UNLOCK=y +# CONFIG_INLINE_WRITE_UNLOCK_BH is not set +CONFIG_INLINE_WRITE_UNLOCK_IRQ=y +# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set +# CONFIG_MUTEX_SPIN_ON_OWNER is not set # CONFIG_FREEZER is not set # @@ -378,9 +414,6 @@ CONFIG_DEFAULT_TCP_CONG="cubic" # CONFIG_AF_RXRPC is not set CONFIG_WIRELESS=y # CONFIG_CFG80211 is not set -CONFIG_CFG80211_DEFAULT_PS_VALUE=0 -# CONFIG_WIRELESS_OLD_REGULATORY is not set -# CONFIG_WIRELESS_EXT is not set # CONFIG_LIB80211 is not set # @@ -492,6 +525,10 @@ CONFIG_MTD_PHYSMAP=y CONFIG_BLK_DEV=y # CONFIG_BLK_DEV_COW_COMMON is not set # CONFIG_BLK_DEV_LOOP is not set + +# +# DRBD disabled because PROC_FS, INET or CONNECTOR not selected +# # CONFIG_BLK_DEV_NBD is not set # CONFIG_BLK_DEV_RAM is not set # CONFIG_CDROM_PKTCDVD is not set @@ -544,6 +581,7 @@ CONFIG_MII=y # CONFIG_SMC91X is not set # CONFIG_DM9000 is not set # CONFIG_ETHOC is not set +# CONFIG_SMSC911X is not set # CONFIG_DNET is not set # CONFIG_IBM_NEW_EMAC_ZMII is not set # CONFIG_IBM_NEW_EMAC_RGMII is not set @@ -559,8 +597,7 @@ CONFIG_CPMAC=y # CONFIG_NETDEV_1000 is not set # CONFIG_NETDEV_10000 is not set CONFIG_WLAN=y -# CONFIG_WLAN_PRE80211 is not set -# CONFIG_WLAN_80211 is not set +# CONFIG_HOSTAP is not set # # Enable WiMAX (Networking options) to see the WiMAX drivers @@ -788,11 +825,17 @@ CONFIG_MAGIC_SYSRQ=y # CONFIG_DEBUG_MEMORY_INIT is not set # CONFIG_RCU_CPU_STALL_DETECTOR is not set # CONFIG_SYSCTL_SYSCALL_CHECK is not set +CONFIG_HAVE_FUNCTION_TRACER=y +CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y +CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=y +CONFIG_HAVE_DYNAMIC_FTRACE=y +CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y CONFIG_TRACING_SUPPORT=y # CONFIG_FTRACE is not set # CONFIG_SAMPLES is not set CONFIG_HAVE_ARCH_KGDB=y -CONFIG_CMDLINE="console=ttyS0,38400 cpmac.dumb_switch=1" +CONFIG_EARLY_PRINTK=y +# CONFIG_CMDLINE_BOOL is not set # # Security options @@ -800,7 +843,11 @@ CONFIG_CMDLINE="console=ttyS0,38400 cpmac.dumb_switch=1" # CONFIG_KEYS is not set # CONFIG_SECURITY is not set # CONFIG_SECURITYFS is not set -# CONFIG_SECURITY_FILE_CAPABILITIES is not set +# CONFIG_DEFAULT_SECURITY_SELINUX is not set +# CONFIG_DEFAULT_SECURITY_SMACK is not set +# CONFIG_DEFAULT_SECURITY_TOMOYO is not set +CONFIG_DEFAULT_SECURITY_DAC=y +CONFIG_DEFAULT_SECURITY="" CONFIG_CRYPTO=y # diff --git a/target/ag241/patches/ar7.patch b/target/ag241/patches/ar7.patch index ef48019d4..34d57570c 100644 --- a/target/ag241/patches/ar7.patch +++ b/target/ag241/patches/ar7.patch @@ -1,6 +1,6 @@ -diff -Nur linux-2.6.32.orig/arch/mips/ar7/platform.c linux-2.6.32/arch/mips/ar7/platform.c ---- linux-2.6.32.orig/arch/mips/ar7/platform.c 2009-12-03 04:51:21.000000000 +0100 -+++ linux-2.6.32/arch/mips/ar7/platform.c 2009-12-16 20:10:47.564817191 +0100 +diff -Nur linux-2.6.33.orig/arch/mips/ar7/platform.c linux-2.6.33/arch/mips/ar7/platform.c +--- linux-2.6.33.orig/arch/mips/ar7/platform.c 2010-02-24 19:52:17.000000000 +0100 ++++ linux-2.6.33/arch/mips/ar7/platform.c 2010-03-06 11:00:39.000000000 +0100 @@ -509,7 +509,7 @@ memset(uart_port, 0, sizeof(struct uart_port) * 2); @@ -19,9 +19,27 @@ diff -Nur linux-2.6.32.orig/arch/mips/ar7/platform.c linux-2.6.32/arch/mips/ar7/ uart_port[1].line = 1; uart_port[1].irq = AR7_IRQ_UART1; uart_port[1].uartclk = ar7_bus_freq() / 2; -diff -Nur linux-2.6.32.orig/arch/mips/include/asm/page.h linux-2.6.32/arch/mips/include/asm/page.h ---- linux-2.6.32.orig/arch/mips/include/asm/page.h 2009-12-03 04:51:21.000000000 +0100 -+++ linux-2.6.32/arch/mips/include/asm/page.h 2009-12-16 20:10:47.576432079 +0100 +diff -Nur linux-2.6.33.orig/arch/mips/ar7/prom.c linux-2.6.33/arch/mips/ar7/prom.c +--- linux-2.6.33.orig/arch/mips/ar7/prom.c 2010-02-24 19:52:17.000000000 +0100 ++++ linux-2.6.33/arch/mips/ar7/prom.c 2010-03-06 11:00:45.000000000 +0100 +@@ -219,6 +219,14 @@ + if (strstr(prom_getcmdline(), "console=")) + return; + ++#ifdef CONFIG_KGDB ++ if (!strstr(prom_getcmdline(), "nokgdb")) { ++ strcat(prom_getcmdline(), " console=kgdb"); ++ kgdb_enabled = 1; ++ return; ++ } ++#endif ++ + s = prom_getenv("modetty0"); + if (s) { + baud = simple_strtoul(s, &p, 10); +diff -Nur linux-2.6.33.orig/arch/mips/include/asm/page.h linux-2.6.33/arch/mips/include/asm/page.h +--- linux-2.6.33.orig/arch/mips/include/asm/page.h 2010-02-24 19:52:17.000000000 +0100 ++++ linux-2.6.33/arch/mips/include/asm/page.h 2010-03-06 11:00:39.000000000 +0100 @@ -200,8 +200,11 @@ #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) @@ -36,10 +54,10 @@ diff -Nur linux-2.6.32.orig/arch/mips/include/asm/page.h linux-2.6.32/arch/mips/ #include #include -diff -Nur linux-2.6.32.orig/arch/mips/Kconfig linux-2.6.32/arch/mips/Kconfig ---- linux-2.6.32.orig/arch/mips/Kconfig 2009-12-14 21:11:40.737752912 +0100 -+++ linux-2.6.32/arch/mips/Kconfig 2009-12-16 20:10:47.592420151 +0100 -@@ -30,7 +30,6 @@ +diff -Nur linux-2.6.33.orig/arch/mips/Kconfig linux-2.6.33/arch/mips/Kconfig +--- linux-2.6.33.orig/arch/mips/Kconfig 2010-02-24 19:52:17.000000000 +0100 ++++ linux-2.6.33/arch/mips/Kconfig 2010-03-06 11:00:39.000000000 +0100 +@@ -34,7 +34,6 @@ select CEVT_R4K select CSRC_R4K select IRQ_CPU @@ -47,10 +65,10 @@ diff -Nur linux-2.6.32.orig/arch/mips/Kconfig linux-2.6.32/arch/mips/Kconfig select SWAP_IO_SPACE select SYS_HAS_CPU_MIPS32_R1 select SYS_HAS_EARLY_PRINTK -diff -Nur linux-2.6.32.orig/arch/mips/kernel/traps.c linux-2.6.32/arch/mips/kernel/traps.c ---- linux-2.6.32.orig/arch/mips/kernel/traps.c 2009-12-03 04:51:21.000000000 +0100 -+++ linux-2.6.32/arch/mips/kernel/traps.c 2009-12-16 20:10:47.596422057 +0100 -@@ -1255,9 +1255,22 @@ +diff -Nur linux-2.6.33.orig/arch/mips/kernel/traps.c linux-2.6.33/arch/mips/kernel/traps.c +--- linux-2.6.33.orig/arch/mips/kernel/traps.c 2010-02-24 19:52:17.000000000 +0100 ++++ linux-2.6.33/arch/mips/kernel/traps.c 2010-03-06 11:00:39.000000000 +0100 +@@ -1283,9 +1283,22 @@ exception_handlers[n] = handler; if (n == 0 && cpu_has_divec) { @@ -76,9 +94,9 @@ diff -Nur linux-2.6.32.orig/arch/mips/kernel/traps.c linux-2.6.32/arch/mips/kern } return (void *)old_handler; } -diff -Nur linux-2.6.32.orig/drivers/mtd/ar7part.c linux-2.6.32/drivers/mtd/ar7part.c ---- linux-2.6.32.orig/drivers/mtd/ar7part.c 2009-12-03 04:51:21.000000000 +0100 -+++ linux-2.6.32/drivers/mtd/ar7part.c 2009-12-17 10:51:32.044434005 +0100 +diff -Nur linux-2.6.33.orig/drivers/mtd/ar7part.c linux-2.6.33/drivers/mtd/ar7part.c +--- linux-2.6.33.orig/drivers/mtd/ar7part.c 2010-02-24 19:52:17.000000000 +0100 ++++ linux-2.6.33/drivers/mtd/ar7part.c 2010-03-06 11:00:39.000000000 +0100 @@ -28,7 +28,7 @@ #include #include @@ -110,10 +128,10 @@ diff -Nur linux-2.6.32.orig/drivers/mtd/ar7part.c linux-2.6.32/drivers/mtd/ar7pa *pparts = ar7_parts; return AR7_PARTS; } -diff -Nur linux-2.6.32.orig/drivers/mtd/maps/physmap.c linux-2.6.32/drivers/mtd/maps/physmap.c ---- linux-2.6.32.orig/drivers/mtd/maps/physmap.c 2009-12-03 04:51:21.000000000 +0100 -+++ linux-2.6.32/drivers/mtd/maps/physmap.c 2009-12-16 20:12:01.388510102 +0100 -@@ -80,7 +80,7 @@ +diff -Nur linux-2.6.33.orig/drivers/mtd/maps/physmap.c linux-2.6.33/drivers/mtd/maps/physmap.c +--- linux-2.6.33.orig/drivers/mtd/maps/physmap.c 2010-02-24 19:52:17.000000000 +0100 ++++ linux-2.6.33/drivers/mtd/maps/physmap.c 2010-03-06 11:00:39.000000000 +0100 +@@ -79,7 +79,7 @@ "map_rom", NULL }; #ifdef CONFIG_MTD_PARTITIONS @@ -122,22 +140,10 @@ diff -Nur linux-2.6.32.orig/drivers/mtd/maps/physmap.c linux-2.6.32/drivers/mtd/ #endif static int physmap_flash_probe(struct platform_device *dev) -diff -Nur linux-2.6.32.orig/drivers/net/cpmac.c linux-2.6.32/drivers/net/cpmac.c ---- linux-2.6.32.orig/drivers/net/cpmac.c 2009-12-03 04:51:21.000000000 +0100 -+++ linux-2.6.32/drivers/net/cpmac.c 2009-12-16 21:24:20.356422767 +0100 -@@ -1165,7 +1165,7 @@ - priv->dev = dev; - priv->ring_size = 64; - priv->msg_enable = netif_msg_init(debug_level, 0xff); -- memcpy(dev->dev_addr, pdata->dev_addr, sizeof(dev->dev_addr)); -+ memcpy(dev->dev_addr, pdata->dev_addr, ETH_ALEN); - - snprintf(priv->phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, mdio_bus_id, phy_id); - -diff -Nur linux-2.6.32.orig/drivers/serial/8250.c linux-2.6.32/drivers/serial/8250.c ---- linux-2.6.32.orig/drivers/serial/8250.c 2009-12-03 04:51:21.000000000 +0100 -+++ linux-2.6.32/drivers/serial/8250.c 2009-12-16 20:10:58.820421544 +0100 -@@ -2714,7 +2714,11 @@ +diff -Nur linux-2.6.33.orig/drivers/serial/8250.c linux-2.6.33/drivers/serial/8250.c +--- linux-2.6.33.orig/drivers/serial/8250.c 2010-02-24 19:52:17.000000000 +0100 ++++ linux-2.6.33/drivers/serial/8250.c 2010-03-06 11:00:39.000000000 +0100 +@@ -2715,7 +2715,11 @@ { struct uart_8250_port *up = (struct uart_8250_port *)port; @@ -149,21 +155,3 @@ diff -Nur linux-2.6.32.orig/drivers/serial/8250.c linux-2.6.32/drivers/serial/82 serial_out(up, UART_TX, ch); } -diff -Nur linux-2.6.32.orig/arch/mips/ar7/prom.c linux-2.6.32/arch/mips/ar7/prom.c ---- linux-2.6.32.orig/arch/mips/ar7/prom.c 2009-12-03 04:51:21.000000000 +0100 -+++ linux-2.6.32/arch/mips/ar7/prom.c 2010-01-05 20:39:11.000000000 +0100 -@@ -219,14 +219,6 @@ - if (strstr(prom_getcmdline(), "console=")) - return; - --#ifdef CONFIG_KGDB -- if (!strstr(prom_getcmdline(), "nokgdb")) { -- strcat(prom_getcmdline(), " console=kgdb"); -- kgdb_enabled = 1; -- return; -- } --#endif -- - s = prom_getenv("modetty0"); - if (s) { - baud = simple_strtoul(s, &p, 10); diff --git a/target/ag241/target.mk b/target/ag241/target.mk index 95f01766b..68d194940 100644 --- a/target/ag241/target.mk +++ b/target/ag241/target.mk @@ -1,7 +1,7 @@ ARCH:= mips CPU_ARCH:= mipsel -KERNEL_VERSION:= 2.6.32 +KERNEL_VERSION:= 2.6.33 KERNEL_RELEASE:= 1 -KERNEL_MD5SUM:= 260551284ac224c3a43c4adac7df4879 +KERNEL_MD5SUM:= c3883760b18d50e8d78819c54d579b00 TARGET_OPTIMIZATION:= -Os -pipe TARGET_CFLAGS_ARCH:= -march=mips32 -- cgit v1.2.3 From f26e19823f2cd522e40dc0ede75d89f572bdc416 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 28 Mar 2010 19:55:48 +0200 Subject: fix compile error for foxboard --- package/openswan/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/package/openswan/Makefile b/package/openswan/Makefile index 41906e4d7..c5588f549 100644 --- a/package/openswan/Makefile +++ b/package/openswan/Makefile @@ -34,6 +34,7 @@ XAKE_FLAGS+= KERNELSRC="${LINUX_DIR}" \ INC_USRLOCAL="/usr" \ MODPROBE="insmod" \ OSDEP="linux" \ + WERROR="" \ BUILDENV="linux" ALL_TARGET:= programs -- cgit v1.2.3 From d36eba46fb779792e6aa2280e6bc3deae5c15e00 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 28 Mar 2010 19:56:16 +0200 Subject: fix arm little endian toolchain compile --- target/toolchain-armel/target.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/toolchain-armel/target.mk b/target/toolchain-armel/target.mk index c1d2d8136..a15355b74 100644 --- a/target/toolchain-armel/target.mk +++ b/target/toolchain-armel/target.mk @@ -1,5 +1,5 @@ ARCH:= arm -CPU_ARCH:= armel +CPU_ARCH:= armle KERNEL_VERSION:= 2.6.33 KERNEL_RELEASE:= 1 KERNEL_MD5SUM:= c3883760b18d50e8d78819c54d579b00 -- cgit v1.2.3 From 40d67e08b8b6b4c8ac22c0e8cdb7cbd4f7f77cbc Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 28 Mar 2010 19:56:46 +0200 Subject: disable python bindings --- package/collectd/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/collectd/Makefile b/package/collectd/Makefile index 1f8f003eb..0e81c8345 100644 --- a/package/collectd/Makefile +++ b/package/collectd/Makefile @@ -66,6 +66,7 @@ CONFIGURE_ARGS+= --disable-apache \ --disable-multimeter \ --disable-mysql \ --disable-openvpn \ + --disable-python \ --disable-postgresql \ --disable-powerdns \ --disable-network \ @@ -95,6 +96,7 @@ CONFIGURE_ARGS+= --disable-apache \ --disable-write_http \ --with-fp-layout=nothing \ --without-java \ + --without-python \ --without-libiptc \ --with-nan-emulation -- cgit v1.2.3 From 6e91c5f34c289a3b3285cf0cf181ce14c5ed1627 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 28 Mar 2010 19:57:11 +0200 Subject: only useful on shuttle pc target --- package/libvirt/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libvirt/Makefile b/package/libvirt/Makefile index 662337ebe..52244a2ed 100644 --- a/package/libvirt/Makefile +++ b/package/libvirt/Makefile @@ -15,7 +15,7 @@ PKG_URL:= http://www.libvirt.org/ PKG_SITES:= ftp://libvirt.org/libvirt/ PKG_HOST_DEPENDS:= !freebsd !netbsd !openbsd -PKG_TARGET_DEPENDS:= x86 x86_64 +PKG_TARGET_DEPENDS:= shuttle include ${TOPDIR}/mk/package.mk -- cgit v1.2.3 From e56489b2cca4b2b5e50fd00b04e5441574f2bfb3 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 28 Mar 2010 19:57:46 +0200 Subject: xorg fbdev only useful on alix1c and lemote at the moment --- package/xf86-video-fbdev/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/xf86-video-fbdev/Makefile b/package/xf86-video-fbdev/Makefile index 43e20a7ee..c4ab8444f 100644 --- a/package/xf86-video-fbdev/Makefile +++ b/package/xf86-video-fbdev/Makefile @@ -13,6 +13,8 @@ PKG_DEPENDS:= xorg-server PKG_BUILDDEP+= xorg-server PKG_SITES:= http://xorg.freedesktop.org/releases/individual/driver/ +PKG_TARGET_DEPENDS:= alix1c lemote + include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,XF86_VIDEO_FBDEV,${PKG_NAME},$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -- cgit v1.2.3 From eb443d5b254293f18479b3e84043ebe3958ad545 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 28 Mar 2010 19:58:09 +0200 Subject: update to latest upstream to fix some compile problems --- package/gpsd/Makefile | 14 +- package/gpsd/patches/autotool.patch | 56056 ----------------------- package/gpsd/patches/patch-contrib_binlog_c | 11 - package/gpsd/patches/patch-contrib_motosend_c | 29 - package/gpsd/patches/patch-driver_garmin_txt_c | 20 - package/gpsd/patches/patch-driver_sirf_c | 11 - package/gpsd/patches/patch-gpspipe_c | 11 - package/gpsd/patches/patch-hex_c | 11 - package/gpsd/patches/patch-sirfflash_c | 11 - 9 files changed, 9 insertions(+), 56165 deletions(-) delete mode 100644 package/gpsd/patches/autotool.patch delete mode 100644 package/gpsd/patches/patch-contrib_binlog_c delete mode 100644 package/gpsd/patches/patch-contrib_motosend_c delete mode 100644 package/gpsd/patches/patch-driver_garmin_txt_c delete mode 100644 package/gpsd/patches/patch-driver_sirf_c delete mode 100644 package/gpsd/patches/patch-gpspipe_c delete mode 100644 package/gpsd/patches/patch-hex_c delete mode 100644 package/gpsd/patches/patch-sirfflash_c diff --git a/package/gpsd/Makefile b/package/gpsd/Makefile index f82cc9f2c..915c165b2 100644 --- a/package/gpsd/Makefile +++ b/package/gpsd/Makefile @@ -4,15 +4,16 @@ include ${TOPDIR}/rules.mk PKG_NAME:= gpsd -PKG_VERSION:= 2.39 -PKG_RELEASE:= 3 -PKG_MD5SUM:= 3db437196a6840c252fca99b6c19d4d0 +PKG_VERSION:= 2.92 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 50b60d9f6dd51e001f4dfbaeb825c988 PKG_DESCR:= An interface daemon for GPS receivers PKG_SECTION:= net PKG_DEPENDS:= libpthread PKG_BUILDDEP+= ncurses PKG_CXX:= GPSD PKG_SITES:= http://download.berlios.de/gpsd/ +PKG_URL:= http://gpsd.berlios.de/ PKG_DESCR_1:= GPS client utilities @@ -23,18 +24,21 @@ $(eval $(call PKG_template,GPSD_CLIENTS,gpsd-clients,${PKG_VERSION}-${PKG_RELEAS CONFIGURE_ENV+= EGREP="grep -E" \ CPP="$(TARGET_CC) -E" \ + PYTHON="none" \ ac_cv_func_strlcpy=no \ ac_cv_func_strlcat=no \ ac_cv_lib_nsl_gethostbyname=no CONFIGURE_ARGS+= --without-x \ --disable-dbus +TCFLAGS+= -fPIC + ifeq ($(ADK_COMPILE_GPSD_WITH_UCLIBCXX),y) TCXXFLAGS+= -fno-builtin -fno-rtti -nostdinc++ \ -I${STAGING_DIR}/usr/include/uClibc++ -TLDFLAGS+= -luClibc++ -lc -lm -nodefaultlibs +TLDFLAGS+= -luClibc++ -lc -lm -pthread -nodefaultlibs else -TLDFLAGS+= -shared +TLDFLAGS+= -shared -pthread endif post-extract: diff --git a/package/gpsd/patches/autotool.patch b/package/gpsd/patches/autotool.patch deleted file mode 100644 index 1e64bc483..000000000 --- a/package/gpsd/patches/autotool.patch +++ /dev/null @@ -1,56056 +0,0 @@ -diff -Nur gpsd-2.39.orig/aclocal.m4 gpsd-2.39/aclocal.m4 ---- gpsd-2.39.orig/aclocal.m4 2009-03-18 22:10:27.000000000 +0100 -+++ gpsd-2.39/aclocal.m4 2010-02-18 21:41:59.068861441 +0100 -@@ -1,7 +1,7 @@ --# generated automatically by aclocal 1.10.1 -*- Autoconf -*- -+# generated automatically by aclocal 1.11.1 -*- Autoconf -*- - - # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, --# 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -+# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. - # This file is free software; the Free Software Foundation - # gives unlimited permission to copy and/or distribute it, - # with or without modifications, as long as this notice is preserved. -@@ -13,8 +13,8 @@ - - m4_ifndef([AC_AUTOCONF_VERSION], - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl --m4_if(AC_AUTOCONF_VERSION, [2.61],, --[m4_warning([this file was generated for autoconf 2.61. -+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, -+[m4_warning([this file was generated for autoconf 2.65. - You have another version of autoconf. It may work, but is not guaranteed to. - If you have problems, you may need to regenerate the build system entirely. - To do so, use the procedure documented by the package, typically `autoreconf'.])]) -@@ -395,12 +395,12 @@ - # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) - # --------------------------------------------------- - m4_define([lt_decl_varnames_tagged], --[_$0(m4_quote(m4_default([$1], [[, ]])), -- m4_quote(m4_if([$2], [], -- m4_quote(lt_decl_tag_varnames), -- m4_quote(m4_shift($@)))), -- m4_split(m4_normalize(m4_quote(_LT_TAGS))))]) --m4_define([_lt_decl_varnames_tagged], [lt_combine([$1], [$2], [_], $3)]) -+[m4_assert([$# <= 2])dnl -+_$0(m4_quote(m4_default([$1], [[, ]])), -+ m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), -+ m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) -+m4_define([_lt_decl_varnames_tagged], -+[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) - - - # lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) -@@ -960,10 +960,10 @@ - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; - darwin1.*) - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; -- darwin*) # darwin 5.x on -+ darwin*) # darwin 5.x on - # if running on 10.5 or later, the deployment target defaults - # to the OS version, if on x86, and 10.4, the deployment -- # target defaults to 10.4. Don't you love it? -+ # target defaults to 10.4. Don't you love it? - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in - 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; -@@ -1005,7 +1005,11 @@ - _LT_TAGVAR(whole_archive_flag_spec, $1)='' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" -- if test "$GCC" = "yes"; then -+ case $cc_basename in -+ ifort*) _lt_dar_can_shared=yes ;; -+ *) _lt_dar_can_shared=$GCC ;; -+ esac -+ if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=echo - _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" - _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" -@@ -1527,7 +1531,7 @@ - lt_cv_sys_max_cmd_len=-1; - ;; - -- cygwin* | mingw*) -+ cygwin* | mingw* | cegcc*) - # On Win9x/ME, this test blows up -- it succeeds, but takes - # about 5 minutes as the teststring grows exponentially. - # Worse, since 9x/ME are not pre-emptively multitasking, -@@ -1695,10 +1699,6 @@ - # endif - #endif - --#ifdef __cplusplus --extern "C" void exit (int); --#endif -- - void fnord() { int i=42;} - int main () - { -@@ -1714,7 +1714,7 @@ - else - puts (dlerror ()); - -- exit (status); -+ return status; - }] - _LT_EOF - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then -@@ -1753,7 +1753,7 @@ - lt_cv_dlopen_self=yes - ;; - -- mingw* | pw32*) -+ mingw* | pw32* | cegcc*) - lt_cv_dlopen="LoadLibrary" - lt_cv_dlopen_libs= - ;; -@@ -2050,6 +2050,7 @@ - [AC_REQUIRE([AC_CANONICAL_HOST])dnl - m4_require([_LT_DECL_EGREP])dnl - m4_require([_LT_FILEUTILS_DEFAULTS])dnl -+m4_require([_LT_DECL_OBJDUMP])dnl - m4_require([_LT_DECL_SED])dnl - AC_MSG_CHECKING([dynamic linker characteristics]) - m4_if([$1], -@@ -2214,14 +2215,14 @@ - # libtool to hard-code these into programs - ;; - --cygwin* | mingw* | pw32*) -+cygwin* | mingw* | pw32* | cegcc*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in -- yes,cygwin* | yes,mingw* | yes,pw32*) -+ yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ -@@ -2244,7 +2245,7 @@ - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; -- mingw*) -+ mingw* | cegcc*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` -@@ -2459,7 +2460,7 @@ - ;; - - # This must be Linux ELF. --linux* | k*bsd*-gnu) -+linux* | k*bsd*-gnu | kopensolaris*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no -@@ -2682,7 +2683,7 @@ - version_type=linux - need_lib_prefix=no - need_version=no -- library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes -@@ -2706,7 +2707,7 @@ - if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" - fi -- -+ - if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then - sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" - fi -@@ -2983,6 +2984,7 @@ - # -- PORTME fill in with the dynamic library characteristics - m4_defun([_LT_CHECK_MAGIC_METHOD], - [m4_require([_LT_DECL_EGREP]) -+m4_require([_LT_DECL_OBJDUMP]) - AC_CACHE_CHECK([how to recognize dependent libraries], - lt_cv_deplibs_check_method, - [lt_cv_file_magic_cmd='$MAGIC_CMD' -@@ -3033,6 +3035,12 @@ - fi - ;; - -+cegcc) -+ # use the weaker test based on 'objdump'. See mingw*. -+ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' -+ lt_cv_file_magic_cmd='$OBJDUMP -f' -+ ;; -+ - darwin* | rhapsody*) - lt_cv_deplibs_check_method=pass_all - ;; -@@ -3091,7 +3099,7 @@ - ;; - - # This must be Linux ELF. --linux* | k*bsd*-gnu) -+linux* | k*bsd*-gnu | kopensolaris*-gnu) - lt_cv_deplibs_check_method=pass_all - ;; - -@@ -3344,7 +3352,7 @@ - aix*) - symcode='[[BCDT]]' - ;; --cygwin* | mingw* | pw32*) -+cygwin* | mingw* | pw32* | cegcc*) - symcode='[[ABCDGISTW]]' - ;; - hpux*) -@@ -3590,7 +3598,7 @@ - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; -- mingw* | cygwin* | os2* | pw32*) -+ mingw* | cygwin* | os2* | pw32* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style -@@ -3617,10 +3625,11 @@ - fi - ;; - hpux*) -- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but -- # not for PA HP-UX. -+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit -+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag -+ # sets the default TLS model and affects inlining. - case $host_cpu in -- hppa*64*|ia64*) -+ hppa*64*) - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' -@@ -3711,19 +3720,26 @@ - ;; - esac - ;; -- linux* | k*bsd*-gnu) -+ linux* | k*bsd*-gnu | kopensolaris*-gnu) - case $cc_basename in - KCC*) - # KAI C++ Compiler - _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; -- icpc* | ecpc* ) -- # Intel C++ -+ ecpc* ) -+ # old Intel C++ for x86_64 which still supported -KPIC. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; -+ icpc* ) -+ # Intel C++, used to be incompatible with GCC. -+ # ICC 10 doesn't accept -KPIC any more. -+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' -+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' -+ ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -@@ -3889,7 +3905,7 @@ - # PIC is the default for these OSes. - ;; - -- mingw* | cygwin* | pw32* | os2*) -+ mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style -@@ -3905,10 +3921,11 @@ - ;; - - hpux*) -- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but -- # not for PA HP-UX. -+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit -+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag -+ # sets the default TLS model and affects inlining. - case $host_cpu in -- hppa*64*|ia64*) -+ hppa*64*) - # +Z the default - ;; - *) -@@ -3958,7 +3975,7 @@ - fi - ;; - -- mingw* | cygwin* | pw32* | os2*) -+ mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - m4_if([$1], [GCJ], [], -@@ -3987,13 +4004,27 @@ - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - -- linux* | k*bsd*-gnu) -+ linux* | k*bsd*-gnu | kopensolaris*-gnu) - case $cc_basename in -- icc* | ecc* | ifort*) -+ # old Intel for x86_64 which still supported -KPIC. -+ ecc*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; -+ # icc used to be incompatible with GCC. -+ # ICC 10 doesn't accept -KPIC any more. -+ icc* | ifort*) -+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' -+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' -+ ;; -+ # Lahey Fortran 8.1. -+ lf95*) -+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' -+ _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' -+ ;; - pgcc* | pgf77* | pgf90* | pgf95*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) -@@ -4175,7 +4206,7 @@ - pw32*) - _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" - ;; -- cygwin* | mingw*) -+ cygwin* | mingw* | cegcc*) - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' - ;; - linux* | k*bsd*-gnu) -@@ -4230,7 +4261,7 @@ - extract_expsyms_cmds= - - case $host_os in -- cygwin* | mingw* | pw32*) -+ cygwin* | mingw* | pw32* | cegcc*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. -@@ -4245,6 +4276,9 @@ - openbsd*) - with_gnu_ld=no - ;; -+ linux* | k*bsd*-gnu) -+ _LT_TAGVAR(link_all_deplibs, $1)=no -+ ;; - esac - - _LT_TAGVAR(ld_shlibs, $1)=yes -@@ -4266,6 +4300,7 @@ - fi - supports_anon_versioning=no - case `$LD -v 2>&1` in -+ *GNU\ gold*) supports_anon_versioning=yes ;; - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... -@@ -4317,7 +4352,7 @@ - fi - ;; - -- cygwin* | mingw* | pw32*) -+ cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' -@@ -4357,7 +4392,7 @@ - _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - -- gnu* | linux* | tpf* | k*bsd*-gnu) -+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) - tmp_diet=no - if test "$host_os" = linux-dietlibc; then - case $cc_basename in -@@ -4383,6 +4418,9 @@ - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; -+ lf95*) # Lahey Fortran 8.1 -+ _LT_TAGVAR(whole_archive_flag_spec, $1)= -+ tmp_sharedflag='--shared' ;; - xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) - tmp_sharedflag='-qmkshrobj' - tmp_addflag= ;; -@@ -4615,6 +4653,7 @@ - fi - fi - -+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - _LT_TAGVAR(always_export_symbols, $1)=yes -@@ -4669,7 +4708,7 @@ - _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic - ;; - -- cygwin* | mingw* | pw32*) -+ cygwin* | mingw* | pw32* | cegcc*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is -@@ -4773,7 +4812,7 @@ - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) -- _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' -+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' -@@ -5554,6 +5593,7 @@ - fi - fi - -+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to - # export. -@@ -5612,7 +5652,7 @@ - esac - ;; - -- cygwin* | mingw* | pw32*) -+ cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' -@@ -5832,7 +5872,7 @@ - _LT_TAGVAR(inherit_rpath, $1)=yes - ;; - -- linux* | k*bsd*-gnu) -+ linux* | k*bsd*-gnu | kopensolaris*-gnu) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler -@@ -6993,6 +7033,18 @@ - ]) - - -+# _LT_DECL_OBJDUMP -+# -------------- -+# If we don't have a new enough Autoconf to choose the best objdump -+# available, choose the one first in the user's PATH. -+m4_defun([_LT_DECL_OBJDUMP], -+[AC_CHECK_TOOL(OBJDUMP, objdump, false) -+test -z "$OBJDUMP" && OBJDUMP=objdump -+_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) -+AC_SUBST([OBJDUMP]) -+]) -+ -+ - # _LT_DECL_SED - # ------------ - # Check for a fully-functional sed program, that truncates -@@ -7453,7 +7505,7 @@ - [enable_win32_dll=yes - - case $host in --*-*-cygwin* | *-*-mingw* | *-*-pw32*) -+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) - AC_CHECK_TOOL(AS, as, false) - AC_CHECK_TOOL(DLLTOOL, dlltool, false) - AC_CHECK_TOOL(OBJDUMP, objdump, false) -@@ -7694,14 +7746,14 @@ - - # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- - # --# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. --# Written by Gary V. Vaughan, 2004 -+# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. -+# Written by Gary V. Vaughan, 2004 - # - # This file is free software; the Free Software Foundation gives - # unlimited permission to copy and/or distribute it, with or without - # modifications, as long as this notice is preserved. - --# serial 5 ltsugar.m4 -+# serial 6 ltsugar.m4 - - # This is to help aclocal find these macros, as it can't see m4_define. - AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) -@@ -7757,14 +7809,14 @@ - # Produce a SEP delimited list of all paired combinations of elements of - # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list - # has the form PREFIXmINFIXSUFFIXn. -+# Needed until we can rely on m4_combine added in Autoconf 2.62. - m4_define([lt_combine], --[m4_if([$2], [], [], -- [m4_if([$4], [], [], -- [lt_join(m4_quote(m4_default([$1], [[, ]])), -- lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_prefix, [$2], -- [m4_foreach(_Lt_suffix, lt_car([m4_shiftn(3, $@)]), -- [_Lt_prefix[]$3[]_Lt_suffix ])])))))])])dnl --]) -+[m4_if(m4_eval([$# > 3]), [1], -+ [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl -+[[m4_foreach([_Lt_prefix], [$2], -+ [m4_foreach([_Lt_suffix], -+ ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, -+ [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) - - - # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) -@@ -7827,15 +7879,15 @@ - - # Generated from ltversion.in. - --# serial 2976 ltversion.m4 -+# serial 3017 ltversion.m4 - # This file is part of GNU Libtool - --m4_define([LT_PACKAGE_VERSION], [2.2.4]) --m4_define([LT_PACKAGE_REVISION], [1.2976]) -+m4_define([LT_PACKAGE_VERSION], [2.2.6b]) -+m4_define([LT_PACKAGE_REVISION], [1.3017]) - - AC_DEFUN([LTVERSION_VERSION], --[macro_version='2.2.4' --macro_revision='1.2976' -+[macro_version='2.2.6b' -+macro_revision='1.3017' - _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) - _LT_DECL(, macro_revision, 0) - ]) -@@ -7933,7 +7985,7 @@ - m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) - m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) - --# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. -+# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. - # - # This file is free software; the Free Software Foundation - # gives unlimited permission to copy and/or distribute it, -@@ -7945,10 +7997,10 @@ - # generated from the m4 files accompanying Automake X.Y. - # (This private macro should not be called outside this file.) - AC_DEFUN([AM_AUTOMAKE_VERSION], --[am__api_version='1.10' -+[am__api_version='1.11' - dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to - dnl require some minimum version. Point them to the right macro. --m4_if([$1], [1.10.1], [], -+m4_if([$1], [1.11.1], [], - [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl - ]) - -@@ -7962,12 +8014,12 @@ - # AM_SET_CURRENT_AUTOMAKE_VERSION - # ------------------------------- - # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. --# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. -+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. - AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], --[AM_AUTOMAKE_VERSION([1.10.1])dnl -+[AM_AUTOMAKE_VERSION([1.11.1])dnl - m4_ifndef([AC_AUTOCONF_VERSION], - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl --_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) -+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) - - # AM_AUX_DIR_EXPAND -*- Autoconf -*- - -@@ -8024,14 +8076,14 @@ - - # AM_CONDITIONAL -*- Autoconf -*- - --# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 -+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 - # Free Software Foundation, Inc. - # - # This file is free software; the Free Software Foundation - # gives unlimited permission to copy and/or distribute it, - # with or without modifications, as long as this notice is preserved. - --# serial 8 -+# serial 9 - - # AM_CONDITIONAL(NAME, SHELL-CONDITION) - # ------------------------------------- -@@ -8044,6 +8096,7 @@ - AC_SUBST([$1_FALSE])dnl - _AM_SUBST_NOTMAKE([$1_TRUE])dnl - _AM_SUBST_NOTMAKE([$1_FALSE])dnl -+m4_define([_AM_COND_VALUE_$1], [$2])dnl - if $2; then - $1_TRUE= - $1_FALSE='#' -@@ -8057,14 +8110,14 @@ - Usually this means the macro was only invoked conditionally.]]) - fi])]) - --# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 -+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 - # Free Software Foundation, Inc. - # - # This file is free software; the Free Software Foundation - # gives unlimited permission to copy and/or distribute it, - # with or without modifications, as long as this notice is preserved. - --# serial 9 -+# serial 10 - - # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be - # written in clear, in which case automake, when reading aclocal.m4, -@@ -8121,6 +8174,16 @@ - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` - fi -+ am__universal=false -+ m4_case([$1], [CC], -+ [case " $depcc " in #( -+ *\ -arch\ *\ -arch\ *) am__universal=true ;; -+ esac], -+ [CXX], -+ [case " $depcc " in #( -+ *\ -arch\ *\ -arch\ *) am__universal=true ;; -+ esac]) -+ - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and -@@ -8138,7 +8201,17 @@ - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - -+ # We check with `-c' and `-o' for the sake of the "dashmstdout" -+ # mode. It turns out that the SunPro C++ compiler does not properly -+ # handle `-M -o', and we need to detect this. Also, some Intel -+ # versions had trouble with output in subdirs -+ am__obj=sub/conftest.${OBJEXT-o} -+ am__minus_obj="-o $am__obj" - case $depmode in -+ gcc) -+ # This depmode causes a compiler race in universal mode. -+ test "$am__universal" = false || continue -+ ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested -@@ -8148,19 +8221,23 @@ - break - fi - ;; -+ msvisualcpp | msvcmsys) -+ # This compiler won't grok `-c -o', but also, the minuso test has -+ # not run yet. These depmodes are late enough in the game, and -+ # so weak that their functioning should not be impacted. -+ am__obj=conftest.${OBJEXT-o} -+ am__minus_obj= -+ ;; - none) break ;; - esac -- # We check with `-c' and `-o' for the sake of the "dashmstdout" -- # mode. It turns out that the SunPro C++ compiler does not properly -- # handle `-M -o', and we need to detect this. - if depmode=$depmode \ -- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ -+ source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ -- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ -+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && -- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && -+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message -@@ -8217,57 +8294,68 @@ - - # Generate code to set up dependency tracking. -*- Autoconf -*- - --# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 -+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 - # Free Software Foundation, Inc. - # - # This file is free software; the Free Software Foundation - # gives unlimited permission to copy and/or distribute it, - # with or without modifications, as long as this notice is preserved. - --#serial 3 -+#serial 5 - - # _AM_OUTPUT_DEPENDENCY_COMMANDS - # ------------------------------ - AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], --[for mf in $CONFIG_FILES; do -- # Strip MF so we end up with the name of the file. -- mf=`echo "$mf" | sed -e 's/:.*$//'` -- # Check whether this is an Automake generated Makefile or not. -- # We used to match only the files named `Makefile.in', but -- # some people rename them; so instead we look at the file content. -- # Grep'ing the first line is not enough: some people post-process -- # each Makefile.in and add a new line on top of each file to say so. -- # Grep'ing the whole file is not good either: AIX grep has a line -- # limit of 2048, but all sed's we know have understand at least 4000. -- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then -- dirpart=`AS_DIRNAME("$mf")` -- else -- continue -- fi -- # Extract the definition of DEPDIR, am__include, and am__quote -- # from the Makefile without running `make'. -- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` -- test -z "$DEPDIR" && continue -- am__include=`sed -n 's/^am__include = //p' < "$mf"` -- test -z "am__include" && continue -- am__quote=`sed -n 's/^am__quote = //p' < "$mf"` -- # When using ansi2knr, U may be empty or an underscore; expand it -- U=`sed -n 's/^U = //p' < "$mf"` -- # Find all dependency output files, they are included files with -- # $(DEPDIR) in their names. We invoke sed twice because it is the -- # simplest approach to changing $(DEPDIR) to its actual value in the -- # expansion. -- for file in `sed -n " -- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ -- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do -- # Make sure the directory exists. -- test -f "$dirpart/$file" && continue -- fdir=`AS_DIRNAME(["$file"])` -- AS_MKDIR_P([$dirpart/$fdir]) -- # echo "creating $dirpart/$file" -- echo '# dummy' > "$dirpart/$file" -+[{ -+ # Autoconf 2.62 quotes --file arguments for eval, but not when files -+ # are listed without --file. Let's play safe and only enable the eval -+ # if we detect the quoting. -+ case $CONFIG_FILES in -+ *\'*) eval set x "$CONFIG_FILES" ;; -+ *) set x $CONFIG_FILES ;; -+ esac -+ shift -+ for mf -+ do -+ # Strip MF so we end up with the name of the file. -+ mf=`echo "$mf" | sed -e 's/:.*$//'` -+ # Check whether this is an Automake generated Makefile or not. -+ # We used to match only the files named `Makefile.in', but -+ # some people rename them; so instead we look at the file content. -+ # Grep'ing the first line is not enough: some people post-process -+ # each Makefile.in and add a new line on top of each file to say so. -+ # Grep'ing the whole file is not good either: AIX grep has a line -+ # limit of 2048, but all sed's we know have understand at least 4000. -+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then -+ dirpart=`AS_DIRNAME("$mf")` -+ else -+ continue -+ fi -+ # Extract the definition of DEPDIR, am__include, and am__quote -+ # from the Makefile without running `make'. -+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` -+ test -z "$DEPDIR" && continue -+ am__include=`sed -n 's/^am__include = //p' < "$mf"` -+ test -z "am__include" && continue -+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` -+ # When using ansi2knr, U may be empty or an underscore; expand it -+ U=`sed -n 's/^U = //p' < "$mf"` -+ # Find all dependency output files, they are included files with -+ # $(DEPDIR) in their names. We invoke sed twice because it is the -+ # simplest approach to changing $(DEPDIR) to its actual value in the -+ # expansion. -+ for file in `sed -n " -+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ -+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do -+ # Make sure the directory exists. -+ test -f "$dirpart/$file" && continue -+ fdir=`AS_DIRNAME(["$file"])` -+ AS_MKDIR_P([$dirpart/$fdir]) -+ # echo "creating $dirpart/$file" -+ echo '# dummy' > "$dirpart/$file" -+ done - done --done -+} - ])# _AM_OUTPUT_DEPENDENCY_COMMANDS - - -@@ -8299,13 +8387,13 @@ - # Do all the work for Automake. -*- Autoconf -*- - - # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, --# 2005, 2006, 2008 Free Software Foundation, Inc. -+# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. - # - # This file is free software; the Free Software Foundation - # gives unlimited permission to copy and/or distribute it, - # with or without modifications, as long as this notice is preserved. - --# serial 13 -+# serial 16 - - # This macro actually does too much. Some checks are only needed if - # your package does certain things. But this isn't really a big deal. -@@ -8322,7 +8410,7 @@ - # arguments mandatory, and then we can depend on a new Autoconf - # release and drop the old call support. - AC_DEFUN([AM_INIT_AUTOMAKE], --[AC_PREREQ([2.60])dnl -+[AC_PREREQ([2.62])dnl - dnl Autoconf wants to disallow AM_ names. We explicitly allow - dnl the ones we care about. - m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl -@@ -8373,8 +8461,8 @@ - AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) - AM_MISSING_PROG(AUTOHEADER, autoheader) - AM_MISSING_PROG(MAKEINFO, makeinfo) --AM_PROG_INSTALL_SH --AM_PROG_INSTALL_STRIP -+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl - AC_REQUIRE([AM_PROG_MKDIR_P])dnl - # We need awk for the "check" target. The system "awk" is bad on - # some platforms. -@@ -8382,23 +8470,36 @@ - AC_REQUIRE([AC_PROG_MAKE_SET])dnl - AC_REQUIRE([AM_SET_LEADING_DOT])dnl - _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], -- [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], -- [_AM_PROG_TAR([v7])])]) -+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], -+ [_AM_PROG_TAR([v7])])]) - _AM_IF_OPTION([no-dependencies],, - [AC_PROVIDE_IFELSE([AC_PROG_CC], -- [_AM_DEPENDENCIES(CC)], -- [define([AC_PROG_CC], -- defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl -+ [_AM_DEPENDENCIES(CC)], -+ [define([AC_PROG_CC], -+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl - AC_PROVIDE_IFELSE([AC_PROG_CXX], -- [_AM_DEPENDENCIES(CXX)], -- [define([AC_PROG_CXX], -- defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl -+ [_AM_DEPENDENCIES(CXX)], -+ [define([AC_PROG_CXX], -+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl - AC_PROVIDE_IFELSE([AC_PROG_OBJC], -- [_AM_DEPENDENCIES(OBJC)], -- [define([AC_PROG_OBJC], -- defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl --]) --]) -+ [_AM_DEPENDENCIES(OBJC)], -+ [define([AC_PROG_OBJC], -+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl -+]) -+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl -+dnl The `parallel-tests' driver may need to know about EXEEXT, so add the -+dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro -+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. -+AC_CONFIG_COMMANDS_PRE(dnl -+[m4_provide_if([_AM_COMPILER_EXEEXT], -+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl -+]) -+ -+dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not -+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further -+dnl mangled by Autoconf and run in a shell conditional statement. -+m4_define([_AC_COMPILER_EXEEXT], -+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) - - - # When config.status generates a header, we must update the stamp-h file. -@@ -8422,7 +8523,7 @@ - done - echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) - --# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -+# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. - # - # This file is free software; the Free Software Foundation - # gives unlimited permission to copy and/or distribute it, -@@ -8433,7 +8534,14 @@ - # Define $install_sh. - AC_DEFUN([AM_PROG_INSTALL_SH], - [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl --install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} -+if test x"${install_sh}" != xset; then -+ case $am_aux_dir in -+ *\ * | *\ *) -+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; -+ *) -+ install_sh="\${SHELL} $am_aux_dir/install-sh" -+ esac -+fi - AC_SUBST(install_sh)]) - - # Copyright (C) 2003, 2005 Free Software Foundation, Inc. -@@ -8459,13 +8567,13 @@ - - # Check to see how 'make' treats includes. -*- Autoconf -*- - --# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. -+# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. - # - # This file is free software; the Free Software Foundation - # gives unlimited permission to copy and/or distribute it, - # with or without modifications, as long as this notice is preserved. - --# serial 3 -+# serial 4 - - # AM_MAKE_INCLUDE() - # ----------------- -@@ -8474,7 +8582,7 @@ - [am_make=${MAKE-make} - cat > confinc << 'END' - am__doit: -- @echo done -+ @echo this is the am__doit target - .PHONY: am__doit - END - # If we don't find an include directive, just comment out the code. -@@ -8484,24 +8592,24 @@ - _am_result=none - # First try GNU make style include. - echo "include confinc" > confmf --# We grep out `Entering directory' and `Leaving directory' --# messages which can occur if `w' ends up in MAKEFLAGS. --# In particular we don't look at `^make:' because GNU make might --# be invoked under some other name (usually "gmake"), in which --# case it prints its new name instead of `make'. --if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then -- am__include=include -- am__quote= -- _am_result=GNU --fi -+# Ignore all kinds of additional output from `make'. -+case `$am_make -s -f confmf 2> /dev/null` in #( -+*the\ am__doit\ target*) -+ am__include=include -+ am__quote= -+ _am_result=GNU -+ ;; -+esac - # Now try BSD make style include. - if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf -- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then -- am__include=.include -- am__quote="\"" -- _am_result=BSD -- fi -+ case `$am_make -s -f confmf 2> /dev/null` in #( -+ *the\ am__doit\ target*) -+ am__include=.include -+ am__quote="\"" -+ _am_result=BSD -+ ;; -+ esac - fi - AC_SUBST([am__include]) - AC_SUBST([am__quote]) -@@ -8511,14 +8619,14 @@ - - # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- - --# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 -+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 - # Free Software Foundation, Inc. - # - # This file is free software; the Free Software Foundation - # gives unlimited permission to copy and/or distribute it, - # with or without modifications, as long as this notice is preserved. - --# serial 5 -+# serial 6 - - # AM_MISSING_PROG(NAME, PROGRAM) - # ------------------------------ -@@ -8535,7 +8643,14 @@ - AC_DEFUN([AM_MISSING_HAS_RUN], - [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl - AC_REQUIRE_AUX_FILE([missing])dnl --test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" -+if test x"${MISSING+set}" != xset; then -+ case $am_aux_dir in -+ *\ * | *\ *) -+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; -+ *) -+ MISSING="\${SHELL} $am_aux_dir/missing" ;; -+ esac -+fi - # Use eval to expand $SHELL - if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " -@@ -8573,13 +8688,13 @@ - - # Helper functions for option handling. -*- Autoconf -*- - --# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. -+# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. - # - # This file is free software; the Free Software Foundation - # gives unlimited permission to copy and/or distribute it, - # with or without modifications, as long as this notice is preserved. - --# serial 3 -+# serial 4 - - # _AM_MANGLE_OPTION(NAME) - # ----------------------- -@@ -8596,7 +8711,7 @@ - # ---------------------------------- - # OPTIONS is a space-separated list of Automake options. - AC_DEFUN([_AM_SET_OPTIONS], --[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) -+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) - - # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) - # ------------------------------------------- -@@ -8604,180 +8719,16 @@ - AC_DEFUN([_AM_IF_OPTION], - [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) - --# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 --# Free Software Foundation, Inc. --# --# This file is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --# AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) --# --------------------------------------------------------------------------- --# Adds support for distributing Python modules and packages. To --# install modules, copy them to $(pythondir), using the python_PYTHON --# automake variable. To install a package with the same name as the --# automake package, install to $(pkgpythondir), or use the --# pkgpython_PYTHON automake variable. --# --# The variables $(pyexecdir) and $(pkgpyexecdir) are provided as --# locations to install python extension modules (shared libraries). --# Another macro is required to find the appropriate flags to compile --# extension modules. --# --# If your package is configured with a different prefix to python, --# users will have to add the install directory to the PYTHONPATH --# environment variable, or create a .pth file (see the python --# documentation for details). --# --# If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will --# cause an error if the version of python installed on the system --# doesn't meet the requirement. MINIMUM-VERSION should consist of --# numbers and dots only. --AC_DEFUN([AM_PATH_PYTHON], -- [ -- dnl Find a Python interpreter. Python versions prior to 1.5 are not -- dnl supported because the default installation locations changed from -- dnl $prefix/lib/site-python in 1.4 to $prefix/lib/python1.5/site-packages -- dnl in 1.5. -- m4_define_default([_AM_PYTHON_INTERPRETER_LIST], -- [python python2 python2.5 python2.4 python2.3 python2.2 dnl --python2.1 python2.0 python1.6 python1.5]) -- -- m4_if([$1],[],[ -- dnl No version check is needed. -- # Find any Python interpreter. -- if test -z "$PYTHON"; then -- AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :) -- fi -- am_display_PYTHON=python -- ], [ -- dnl A version check is needed. -- if test -n "$PYTHON"; then -- # If the user set $PYTHON, use it and don't search something else. -- AC_MSG_CHECKING([whether $PYTHON version >= $1]) -- AM_PYTHON_CHECK_VERSION([$PYTHON], [$1], -- [AC_MSG_RESULT(yes)], -- [AC_MSG_ERROR(too old)]) -- am_display_PYTHON=$PYTHON -- else -- # Otherwise, try each interpreter until we find one that satisfies -- # VERSION. -- AC_CACHE_CHECK([for a Python interpreter with version >= $1], -- [am_cv_pathless_PYTHON],[ -- for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do -- test "$am_cv_pathless_PYTHON" = none && break -- AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break]) -- done]) -- # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. -- if test "$am_cv_pathless_PYTHON" = none; then -- PYTHON=: -- else -- AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON]) -- fi -- am_display_PYTHON=$am_cv_pathless_PYTHON -- fi -- ]) -- -- if test "$PYTHON" = :; then -- dnl Run any user-specified action, or abort. -- m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])]) -- else -- -- dnl Query Python for its version number. Getting [:3] seems to be -- dnl the best way to do this; it's what "site.py" does in the standard -- dnl library. -- -- AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], -- [am_cv_python_version=`$PYTHON -c "import sys; print sys.version[[:3]]"`]) -- AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) -- -- dnl Use the values of $prefix and $exec_prefix for the corresponding -- dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made -- dnl distinct variables so they can be overridden if need be. However, -- dnl general consensus is that you shouldn't need this ability. -- -- AC_SUBST([PYTHON_PREFIX], ['${prefix}']) -- AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) -- -- dnl At times (like when building shared libraries) you may want -- dnl to know which OS platform Python thinks this is. -- -- AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], -- [am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`]) -- AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) -- -- -- dnl Set up 4 directories: -- -- dnl pythondir -- where to install python scripts. This is the -- dnl site-packages directory, not the python standard library -- dnl directory like in previous automake betas. This behavior -- dnl is more consistent with lispdir.m4 for example. -- dnl Query distutils for this directory. distutils does not exist in -- dnl Python 1.5, so we fall back to the hardcoded directory if it -- dnl doesn't work. -- AC_CACHE_CHECK([for $am_display_PYTHON script directory], -- [am_cv_python_pythondir], -- [am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || -- echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`]) -- AC_SUBST([pythondir], [$am_cv_python_pythondir]) -- -- dnl pkgpythondir -- $PACKAGE directory under pythondir. Was -- dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is -- dnl more consistent with the rest of automake. -- -- AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) -- -- dnl pyexecdir -- directory for installing python extension modules -- dnl (shared libraries) -- dnl Query distutils for this directory. distutils does not exist in -- dnl Python 1.5, so we fall back to the hardcoded directory if it -- dnl doesn't work. -- AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], -- [am_cv_python_pyexecdir], -- [am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || -- echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`]) -- AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) -- -- dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) -- -- AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) -- -- dnl Run any user-specified action. -- $2 -- fi -- --]) -- -- --# AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) --# --------------------------------------------------------------------------- --# Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION. --# Run ACTION-IF-FALSE otherwise. --# This test uses sys.hexversion instead of the string equivalent (first --# word of sys.version), in order to cope with versions such as 2.2c1. --# hexversion has been introduced in Python 1.5.2; it's probably not --# worth to support older versions (1.5.1 was released on October 31, 1998). --AC_DEFUN([AM_PYTHON_CHECK_VERSION], -- [prog="import sys, string --# split strings by '.' and convert to numeric. Append some zeros --# because we need at least 4 digits for the hex conversion. --minver = map(int, string.split('$2', '.')) + [[0, 0, 0]] --minverhex = 0 --for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[[i]] --sys.exit(sys.hexversion < minverhex)" -- AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) -- - # Check to make sure that the build environment is sane. -*- Autoconf -*- - --# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 -+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 - # Free Software Foundation, Inc. - # - # This file is free software; the Free Software Foundation - # gives unlimited permission to copy and/or distribute it, - # with or without modifications, as long as this notice is preserved. - --# serial 4 -+# serial 5 - - # AM_SANITY_CHECK - # --------------- -@@ -8786,16 +8737,29 @@ - # Just in case - sleep 1 - echo timestamp > conftest.file -+# Reject unsafe characters in $srcdir or the absolute working directory -+# name. Accept space and tab only in the latter. -+am_lf=' -+' -+case `pwd` in -+ *[[\\\"\#\$\&\'\`$am_lf]]*) -+ AC_MSG_ERROR([unsafe absolute working directory name]);; -+esac -+case $srcdir in -+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) -+ AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; -+esac -+ - # Do `set' in a subshell so we don't clobber the current shell's - # arguments. Must try -L first in case configure is actually a - # symlink; some systems play weird games with the mod time of symlinks - # (eg FreeBSD returns the mod time of the symlink's containing - # directory). - if ( -- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` -+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$[*]" = "X"; then - # -L didn't work. -- set X `ls -t $srcdir/configure conftest.file` -+ set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$[*]" != "X $srcdir/configure conftest.file" \ -@@ -8848,18 +8812,25 @@ - INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" - AC_SUBST([INSTALL_STRIP_PROGRAM])]) - --# Copyright (C) 2006 Free Software Foundation, Inc. -+# Copyright (C) 2006, 2008 Free Software Foundation, Inc. - # - # This file is free software; the Free Software Foundation - # gives unlimited permission to copy and/or distribute it, - # with or without modifications, as long as this notice is preserved. - -+# serial 2 -+ - # _AM_SUBST_NOTMAKE(VARIABLE) - # --------------------------- - # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. - # This macro is traced by Automake. - AC_DEFUN([_AM_SUBST_NOTMAKE]) - -+# AM_SUBST_NOTMAKE(VARIABLE) -+# --------------------------- -+# Public sister of _AM_SUBST_NOTMAKE. -+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) -+ - # Check how to create a tarball. -*- Autoconf -*- - - # Copyright (C) 2004, 2005 Free Software Foundation, Inc. -diff -Nur gpsd-2.39.orig/cgps.1 gpsd-2.39/cgps.1 ---- gpsd-2.39.orig/cgps.1 2009-03-18 17:50:54.000000000 +0100 -+++ gpsd-2.39/cgps.1 1970-01-01 01:00:00.000000000 +0100 -@@ -1 +0,0 @@ --.so man1/gps.1 -diff -Nur gpsd-2.39.orig/cgpxlogger.1 gpsd-2.39/cgpxlogger.1 ---- gpsd-2.39.orig/cgpxlogger.1 2009-03-18 17:50:54.000000000 +0100 -+++ gpsd-2.39/cgpxlogger.1 1970-01-01 01:00:00.000000000 +0100 -@@ -1 +0,0 @@ --.so man1/gps.1 -diff -Nur gpsd-2.39.orig/config.log gpsd-2.39/config.log ---- gpsd-2.39.orig/config.log 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/config.log 2010-02-18 21:44:19.552855777 +0100 -@@ -0,0 +1,2768 @@ -+This file contains any messages produced by compilers while -+running configure, to aid debugging if configure makes a mistake. -+ -+It was created by configure, which was -+generated by GNU Autoconf 2.65. Invocation command line was -+ -+ $ ./configure -+ -+## --------- ## -+## Platform. ## -+## --------- ## -+ -+hostname = hydrogenium -+uname -m = i686 -+uname -r = 2.6.32-13-generic -+uname -s = Linux -+uname -v = #18-Ubuntu SMP Wed Feb 10 21:24:20 UTC 2010 -+ -+/usr/bin/uname -p = unknown -+/bin/uname -X = unknown -+ -+/bin/arch = unknown -+/usr/bin/arch -k = unknown -+/usr/convex/getsysinfo = unknown -+/usr/bin/hostinfo = unknown -+/bin/machine = unknown -+/usr/bin/oslevel = unknown -+/bin/universe = unknown -+ -+PATH: /home/wbx/bin -+PATH: /usr/local/sbin -+PATH: /usr/local/bin -+PATH: /usr/sbin -+PATH: /usr/bin -+PATH: /sbin -+PATH: /bin -+PATH: /usr/games -+PATH: /home/wbx/bin -+ -+ -+## ----------- ## -+## Core tests. ## -+## ----------- ## -+ -+configure:2863: checking for a BSD-compatible install -+configure:2931: result: /usr/bin/install -c -+configure:2942: checking whether build environment is sane -+configure:2992: result: yes -+configure:3133: checking for a thread-safe mkdir -p -+configure:3172: result: /bin/mkdir -p -+configure:3185: checking for gawk -+configure:3201: found /usr/bin/gawk -+configure:3212: result: gawk -+configure:3223: checking whether make sets $(MAKE) -+configure:3245: result: yes -+configure:3334: checking whether ln -s works -+configure:3338: result: yes -+configure:3345: checking whether make sets $(MAKE) -+configure:3367: result: yes -+configure:3406: checking build system type -+configure:3420: result: i686-pc-linux-gnu -+configure:3440: checking host system type -+configure:3453: result: i686-pc-linux-gnu -+configure:3485: checking for style of include used by make -+configure:3513: result: GNU -+configure:3583: checking for gcc -+configure:3599: found /usr/bin/gcc -+configure:3610: result: gcc -+configure:3839: checking for C compiler version -+configure:3848: gcc --version >&5 -+gcc (Ubuntu 4.4.3-2ubuntu1) 4.4.3 -+Copyright (C) 2010 Free Software Foundation, Inc. -+This is free software; see the source for copying conditions. There is NO -+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -+ -+configure:3859: $? = 0 -+configure:3848: gcc -v >&5 -+Using built-in specs. -+Target: i486-linux-gnu -+Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu -+Thread model: posix -+gcc version 4.4.3 (Ubuntu 4.4.3-2ubuntu1) -+configure:3859: $? = 0 -+configure:3848: gcc -V >&5 -+gcc: '-V' option must have argument -+configure:3859: $? = 1 -+configure:3848: gcc -qversion >&5 -+gcc: unrecognized option '-qversion' -+gcc: no input files -+configure:3859: $? = 1 -+configure:3879: checking whether the C compiler works -+configure:3901: gcc conftest.c >&5 -+configure:3905: $? = 0 -+configure:3954: result: yes -+configure:3957: checking for C compiler default output file name -+configure:3959: result: a.out -+configure:3965: checking for suffix of executables -+configure:3972: gcc -o conftest conftest.c >&5 -+configure:3976: $? = 0 -+configure:3998: result: -+configure:4020: checking whether we are cross compiling -+configure:4028: gcc -o conftest conftest.c >&5 -+configure:4032: $? = 0 -+configure:4039: ./conftest -+configure:4043: $? = 0 -+configure:4058: result: no -+configure:4063: checking for suffix of object files -+configure:4085: gcc -c conftest.c >&5 -+configure:4089: $? = 0 -+configure:4110: result: o -+configure:4114: checking whether we are using the GNU C compiler -+configure:4133: gcc -c conftest.c >&5 -+configure:4133: $? = 0 -+configure:4142: result: yes -+configure:4151: checking whether gcc accepts -g -+configure:4171: gcc -c -g conftest.c >&5 -+configure:4171: $? = 0 -+configure:4212: result: yes -+configure:4229: checking for gcc option to accept ISO C89 -+configure:4293: gcc -c -g -O2 conftest.c >&5 -+configure:4293: $? = 0 -+configure:4306: result: none needed -+configure:4328: checking dependency style of gcc -+configure:4438: result: gcc3 -+configure:4453: checking for a sed that does not truncate output -+configure:4517: result: /bin/sed -+configure:4535: checking for grep that handles long lines and -e -+configure:4593: result: /bin/grep -+configure:4598: checking for egrep -+configure:4660: result: /bin/grep -E -+configure:4665: checking for fgrep -+configure:4727: result: /bin/grep -F -+configure:4762: checking for ld used by gcc -+configure:4829: result: /usr/bin/ld -+configure:4836: checking if the linker (/usr/bin/ld) is GNU ld -+configure:4851: result: yes -+configure:4863: checking for BSD- or MS-compatible name lister (nm) -+configure:4912: result: /usr/bin/nm -B -+configure:5030: checking the name lister (/usr/bin/nm -B) interface -+configure:5037: gcc -c -g -O2 conftest.c >&5 -+configure:5040: /usr/bin/nm -B "conftest.o" -+configure:5043: output -+00000000 B some_variable -+configure:5050: result: BSD nm -+configure:5054: checking the maximum length of command line arguments -+configure:5174: result: 1572864 -+configure:5191: checking whether the shell understands some XSI constructs -+configure:5201: result: yes -+configure:5205: checking whether the shell understands "+=" -+configure:5211: result: yes -+configure:5246: checking for /usr/bin/ld option to reload object files -+configure:5253: result: -r -+configure:5322: checking for objdump -+configure:5338: found /usr/bin/objdump -+configure:5349: result: objdump -+configure:5381: checking how to recognize dependent libraries -+configure:5577: result: pass_all -+configure:5637: checking for ar -+configure:5653: found /usr/bin/ar -+configure:5664: result: ar -+configure:5742: checking for strip -+configure:5758: found /usr/bin/strip -+configure:5769: result: strip -+configure:5841: checking for ranlib -+configure:5857: found /usr/bin/ranlib -+configure:5868: result: ranlib -+configure:5958: checking command to parse /usr/bin/nm -B output from gcc object -+configure:6076: gcc -c -g -O2 conftest.c >&5 -+configure:6079: $? = 0 -+configure:6083: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm -+configure:6086: $? = 0 -+configure:6140: gcc -o conftest -g -O2 conftest.c conftstm.o >&5 -+configure:6143: $? = 0 -+configure:6181: result: ok -+configure:6990: checking how to run the C preprocessor -+configure:7021: gcc -E conftest.c -+configure:7021: $? = 0 -+configure:7035: gcc -E conftest.c -+conftest.c:11:28: error: ac_nonexistent.h: No such file or directory -+configure:7035: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| /* end confdefs.h. */ -+| #include -+configure:7060: result: gcc -E -+configure:7080: gcc -E conftest.c -+configure:7080: $? = 0 -+configure:7094: gcc -E conftest.c -+conftest.c:11:28: error: ac_nonexistent.h: No such file or directory -+configure:7094: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| /* end confdefs.h. */ -+| #include -+configure:7123: checking for ANSI C header files -+configure:7143: gcc -c -g -O2 conftest.c >&5 -+configure:7143: $? = 0 -+configure:7216: gcc -o conftest -g -O2 conftest.c >&5 -+configure:7216: $? = 0 -+configure:7216: ./conftest -+configure:7216: $? = 0 -+configure:7227: result: yes -+configure:7240: checking for sys/types.h -+configure:7240: gcc -c -g -O2 conftest.c >&5 -+configure:7240: $? = 0 -+configure:7240: result: yes -+configure:7240: checking for sys/stat.h -+configure:7240: gcc -c -g -O2 conftest.c >&5 -+configure:7240: $? = 0 -+configure:7240: result: yes -+configure:7240: checking for stdlib.h -+configure:7240: gcc -c -g -O2 conftest.c >&5 -+configure:7240: $? = 0 -+configure:7240: result: yes -+configure:7240: checking for string.h -+configure:7240: gcc -c -g -O2 conftest.c >&5 -+configure:7240: $? = 0 -+configure:7240: result: yes -+configure:7240: checking for memory.h -+configure:7240: gcc -c -g -O2 conftest.c >&5 -+configure:7240: $? = 0 -+configure:7240: result: yes -+configure:7240: checking for strings.h -+configure:7240: gcc -c -g -O2 conftest.c >&5 -+configure:7240: $? = 0 -+configure:7240: result: yes -+configure:7240: checking for inttypes.h -+configure:7240: gcc -c -g -O2 conftest.c >&5 -+configure:7240: $? = 0 -+configure:7240: result: yes -+configure:7240: checking for stdint.h -+configure:7240: gcc -c -g -O2 conftest.c >&5 -+configure:7240: $? = 0 -+configure:7240: result: yes -+configure:7240: checking for unistd.h -+configure:7240: gcc -c -g -O2 conftest.c >&5 -+configure:7240: $? = 0 -+configure:7240: result: yes -+configure:7255: checking for dlfcn.h -+configure:7255: gcc -c -g -O2 conftest.c >&5 -+configure:7255: $? = 0 -+configure:7255: result: yes -+configure:7439: checking for objdir -+configure:7454: result: .libs -+configure:7746: checking if gcc supports -fno-rtti -fno-exceptions -+configure:7764: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 -+cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C -+configure:7768: $? = 0 -+configure:7781: result: no -+configure:7801: checking for gcc option to produce PIC -+configure:8073: result: -fPIC -DPIC -+configure:8085: checking if gcc PIC flag -fPIC -DPIC works -+configure:8103: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 -+configure:8107: $? = 0 -+configure:8120: result: yes -+configure:8144: checking if gcc static flag -static works -+configure:8172: result: yes -+configure:8187: checking if gcc supports -c -o file.o -+configure:8208: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 -+configure:8212: $? = 0 -+configure:8234: result: yes -+configure:8242: checking if gcc supports -c -o file.o -+configure:8289: result: yes -+configure:8322: checking whether the gcc linker (/usr/bin/ld) supports shared libraries -+configure:9313: result: yes -+configure:9350: checking whether -lc should be explicitly linked in -+configure:9355: gcc -c -g -O2 conftest.c >&5 -+configure:9358: $? = 0 -+configure:9373: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 -+configure:9376: $? = 0 -+configure:9388: result: no -+configure:9552: checking dynamic linker characteristics -+configure:9985: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 -+configure:9985: $? = 0 -+configure:10215: result: GNU/Linux ld.so -+configure:10317: checking how to hardcode library paths into programs -+configure:10342: result: immediate -+configure:10862: checking whether stripping libraries is possible -+configure:10867: result: yes -+configure:10902: checking if libtool supports shared libraries -+configure:10904: result: yes -+configure:10907: checking whether to build shared libraries -+configure:10928: result: yes -+configure:10931: checking whether to build static libraries -+configure:10935: result: yes -+configure:11028: checking for g++ -+configure:11044: found /usr/bin/g++ -+configure:11055: result: g++ -+configure:11082: checking for C++ compiler version -+configure:11091: g++ --version >&5 -+g++ (Ubuntu 4.4.3-2ubuntu1) 4.4.3 -+Copyright (C) 2010 Free Software Foundation, Inc. -+This is free software; see the source for copying conditions. There is NO -+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -+ -+configure:11102: $? = 0 -+configure:11091: g++ -v >&5 -+Using built-in specs. -+Target: i486-linux-gnu -+Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu -+Thread model: posix -+gcc version 4.4.3 (Ubuntu 4.4.3-2ubuntu1) -+configure:11102: $? = 0 -+configure:11091: g++ -V >&5 -+g++: '-V' option must have argument -+configure:11102: $? = 1 -+configure:11091: g++ -qversion >&5 -+g++: unrecognized option '-qversion' -+g++: no input files -+configure:11102: $? = 1 -+configure:11106: checking whether we are using the GNU C++ compiler -+configure:11125: g++ -c conftest.cpp >&5 -+configure:11125: $? = 0 -+configure:11134: result: yes -+configure:11143: checking whether g++ accepts -g -+configure:11163: g++ -c -g conftest.cpp >&5 -+configure:11163: $? = 0 -+configure:11204: result: yes -+configure:11229: checking dependency style of g++ -+configure:11339: result: gcc3 -+configure:11467: checking for C++ compiler version -+configure:11476: g++ --version >&5 -+g++ (Ubuntu 4.4.3-2ubuntu1) 4.4.3 -+Copyright (C) 2010 Free Software Foundation, Inc. -+This is free software; see the source for copying conditions. There is NO -+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -+ -+configure:11487: $? = 0 -+configure:11476: g++ -v >&5 -+Using built-in specs. -+Target: i486-linux-gnu -+Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu -+Thread model: posix -+gcc version 4.4.3 (Ubuntu 4.4.3-2ubuntu1) -+configure:11487: $? = 0 -+configure:11476: g++ -V >&5 -+g++: '-V' option must have argument -+configure:11487: $? = 1 -+configure:11476: g++ -qversion >&5 -+g++: unrecognized option '-qversion' -+g++: no input files -+configure:11487: $? = 1 -+configure:11491: checking whether we are using the GNU C++ compiler -+configure:11519: result: yes -+configure:11528: checking whether g++ accepts -g -+configure:11589: result: yes -+configure:11614: checking dependency style of g++ -+configure:11724: result: gcc3 -+configure:11747: checking how to run the C++ preprocessor -+configure:11774: g++ -E conftest.cpp -+configure:11774: $? = 0 -+configure:11788: g++ -E conftest.cpp -+conftest.cpp:23:28: error: ac_nonexistent.h: No such file or directory -+configure:11788: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| /* end confdefs.h. */ -+| #include -+configure:11813: result: g++ -E -+configure:11833: g++ -E conftest.cpp -+configure:11833: $? = 0 -+configure:11847: g++ -E conftest.cpp -+conftest.cpp:23:28: error: ac_nonexistent.h: No such file or directory -+configure:11847: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| /* end confdefs.h. */ -+| #include -+configure:12015: checking for ld used by g++ -+configure:12082: result: /usr/bin/ld -+configure:12089: checking if the linker (/usr/bin/ld) is GNU ld -+configure:12104: result: yes -+configure:12159: checking whether the g++ linker (/usr/bin/ld) supports shared libraries -+configure:13072: result: yes -+configure:13100: g++ -c -g -O2 conftest.cpp >&5 -+configure:13103: $? = 0 -+configure:13285: checking for g++ option to produce PIC -+configure:13602: result: -fPIC -DPIC -+configure:13611: checking if g++ PIC flag -fPIC -DPIC works -+configure:13629: g++ -c -g -O2 -fPIC -DPIC -DPIC conftest.cpp >&5 -+configure:13633: $? = 0 -+configure:13646: result: yes -+configure:13667: checking if g++ static flag -static works -+configure:13695: result: yes -+configure:13707: checking if g++ supports -c -o file.o -+configure:13728: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5 -+configure:13732: $? = 0 -+configure:13754: result: yes -+configure:13759: checking if g++ supports -c -o file.o -+configure:13806: result: yes -+configure:13836: checking whether the g++ linker (/usr/bin/ld) supports shared libraries -+configure:13865: result: yes -+configure:14002: checking dynamic linker characteristics -+configure:14383: g++ -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.cpp >&5 -+configure:14383: $? = 0 -+configure:14613: result: GNU/Linux ld.so -+configure:14664: checking how to hardcode library paths into programs -+configure:14689: result: immediate -+configure:14728: checking whether byte ordering is bigendian -+configure:14743: gcc -c -g -O2 conftest.c >&5 -+conftest.c:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a' -+configure:14743: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| /* end confdefs.h. */ -+| #ifndef __APPLE_CC__ -+| not a universal capable compiler -+| #endif -+| typedef int dummy; -+| -+configure:14788: gcc -c -g -O2 conftest.c >&5 -+configure:14788: $? = 0 -+configure:14806: gcc -c -g -O2 conftest.c >&5 -+conftest.c: In function 'main': -+conftest.c:30: error: 'not' undeclared (first use in this function) -+conftest.c:30: error: (Each undeclared identifier is reported only once -+conftest.c:30: error: for each function it appears in.) -+conftest.c:30: error: expected ';' before 'big' -+configure:14806: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| /* end confdefs.h. */ -+| #include -+| #include -+| -+| int -+| main () -+| { -+| #if BYTE_ORDER != BIG_ENDIAN -+| not big endian -+| #endif -+| -+| ; -+| return 0; -+| } -+configure:14934: result: no -+configure:14957: checking size of char -+configure:14962: gcc -o conftest -g -O2 conftest.c >&5 -+configure:14962: $? = 0 -+configure:14962: ./conftest -+configure:14962: $? = 0 -+configure:14977: result: 1 -+configure:14991: checking size of short -+configure:14996: gcc -o conftest -g -O2 conftest.c >&5 -+configure:14996: $? = 0 -+configure:14996: ./conftest -+configure:14996: $? = 0 -+configure:15011: result: 2 -+configure:15025: checking size of int -+configure:15030: gcc -o conftest -g -O2 conftest.c >&5 -+configure:15030: $? = 0 -+configure:15030: ./conftest -+configure:15030: $? = 0 -+configure:15045: result: 4 -+configure:15059: checking size of long -+configure:15064: gcc -o conftest -g -O2 conftest.c >&5 -+configure:15064: $? = 0 -+configure:15064: ./conftest -+configure:15064: $? = 0 -+configure:15079: result: 4 -+configure:15093: checking size of long long -+configure:15098: gcc -o conftest -g -O2 conftest.c >&5 -+configure:15098: $? = 0 -+configure:15098: ./conftest -+configure:15098: $? = 0 -+configure:15113: result: 8 -+configure:15127: checking size of float -+configure:15132: gcc -o conftest -g -O2 conftest.c >&5 -+configure:15132: $? = 0 -+configure:15132: ./conftest -+configure:15132: $? = 0 -+configure:15147: result: 4 -+configure:15161: checking size of double -+configure:15166: gcc -o conftest -g -O2 conftest.c >&5 -+configure:15166: $? = 0 -+configure:15166: ./conftest -+configure:15166: $? = 0 -+configure:15181: result: 8 -+configure:15227: checking for working alloca.h -+configure:15244: gcc -o conftest -g -O2 conftest.c >&5 -+configure:15244: $? = 0 -+configure:15252: result: yes -+configure:15260: checking for alloca -+configure:15297: gcc -o conftest -g -O2 conftest.c >&5 -+configure:15297: $? = 0 -+configure:15305: result: yes -+configure:15415: checking for ANSI C header files -+configure:15519: result: yes -+configure:15527: checking for an ANSI C-conforming const -+configure:15592: gcc -c -g -O2 conftest.c >&5 -+configure:15592: $? = 0 -+configure:15599: result: yes -+configure:15608: checking for properly working floating point implementation -+configure:15613: result: yes -+configure:15642: checking sys/termios.h usability -+configure:15642: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+configure:15642: $? = 0 -+configure:15642: result: yes -+configure:15642: checking sys/termios.h presence -+configure:15642: gcc -E conftest.c -+configure:15642: $? = 0 -+configure:15642: result: yes -+configure:15642: checking for sys/termios.h -+configure:15642: result: yes -+configure:15642: checking sys/select.h usability -+configure:15642: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+configure:15642: $? = 0 -+configure:15642: result: yes -+configure:15642: checking sys/select.h presence -+configure:15642: gcc -E conftest.c -+configure:15642: $? = 0 -+configure:15642: result: yes -+configure:15642: checking for sys/select.h -+configure:15642: result: yes -+configure:15642: checking sys/time.h usability -+configure:15642: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+configure:15642: $? = 0 -+configure:15642: result: yes -+configure:15642: checking sys/time.h presence -+configure:15642: gcc -E conftest.c -+configure:15642: $? = 0 -+configure:15642: result: yes -+configure:15642: checking for sys/time.h -+configure:15642: result: yes -+configure:15642: checking sys/modem.h usability -+configure:15642: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:69:23: error: sys/modem.h: No such file or directory -+configure:15642: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| #define SIZEOF_CHAR 1 -+| #define SIZEOF_SHORT 2 -+| #define SIZEOF_INT 4 -+| #define SIZEOF_LONG 4 -+| #define SIZEOF_LONG_LONG 8 -+| #define SIZEOF_FLOAT 4 -+| #define SIZEOF_DOUBLE 8 -+| #define HAVE_ALLOCA_H 1 -+| #define HAVE_ALLOCA 1 -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TERMIOS_H 1 -+| #define HAVE_SYS_SELECT_H 1 -+| #define HAVE_SYS_TIME_H 1 -+| /* end confdefs.h. */ -+| #include -+| #ifdef HAVE_SYS_TYPES_H -+| # include -+| #endif -+| #ifdef HAVE_SYS_STAT_H -+| # include -+| #endif -+| #ifdef STDC_HEADERS -+| # include -+| # include -+| #else -+| # ifdef HAVE_STDLIB_H -+| # include -+| # endif -+| #endif -+| #ifdef HAVE_STRING_H -+| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H -+| # include -+| # endif -+| # include -+| #endif -+| #ifdef HAVE_STRINGS_H -+| # include -+| #endif -+| #ifdef HAVE_INTTYPES_H -+| # include -+| #endif -+| #ifdef HAVE_STDINT_H -+| # include -+| #endif -+| #ifdef HAVE_UNISTD_H -+| # include -+| #endif -+| #include -+configure:15642: result: no -+configure:15642: checking sys/modem.h presence -+configure:15642: gcc -E conftest.c -+conftest.c:36:23: error: sys/modem.h: No such file or directory -+configure:15642: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| #define SIZEOF_CHAR 1 -+| #define SIZEOF_SHORT 2 -+| #define SIZEOF_INT 4 -+| #define SIZEOF_LONG 4 -+| #define SIZEOF_LONG_LONG 8 -+| #define SIZEOF_FLOAT 4 -+| #define SIZEOF_DOUBLE 8 -+| #define HAVE_ALLOCA_H 1 -+| #define HAVE_ALLOCA 1 -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TERMIOS_H 1 -+| #define HAVE_SYS_SELECT_H 1 -+| #define HAVE_SYS_TIME_H 1 -+| /* end confdefs.h. */ -+| #include -+configure:15642: result: no -+configure:15642: checking for sys/modem.h -+configure:15642: result: no -+configure:15642: checking sys/ipc.h usability -+configure:15642: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+configure:15642: $? = 0 -+configure:15642: result: yes -+configure:15642: checking sys/ipc.h presence -+configure:15642: gcc -E conftest.c -+configure:15642: $? = 0 -+configure:15642: result: yes -+configure:15642: checking for sys/ipc.h -+configure:15642: result: yes -+configure:15642: checking sys/shm.h usability -+configure:15642: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+configure:15642: $? = 0 -+configure:15642: result: yes -+configure:15642: checking sys/shm.h presence -+configure:15642: gcc -E conftest.c -+configure:15642: $? = 0 -+configure:15642: result: yes -+configure:15642: checking for sys/shm.h -+configure:15642: result: yes -+configure:15642: checking sys/socket.h usability -+configure:15642: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+configure:15642: $? = 0 -+configure:15642: result: yes -+configure:15642: checking sys/socket.h presence -+configure:15642: gcc -E conftest.c -+configure:15642: $? = 0 -+configure:15642: result: yes -+configure:15642: checking for sys/socket.h -+configure:15642: result: yes -+configure:15656: checking arpa/inet.h usability -+configure:15656: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+configure:15656: $? = 0 -+configure:15656: result: yes -+configure:15656: checking arpa/inet.h presence -+configure:15656: gcc -E conftest.c -+configure:15656: $? = 0 -+configure:15656: result: yes -+configure:15656: checking for arpa/inet.h -+configure:15656: result: yes -+configure:15656: checking netinet/in_systm.h usability -+configure:15656: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+configure:15656: $? = 0 -+configure:15656: result: yes -+configure:15656: checking netinet/in_systm.h presence -+configure:15656: gcc -E conftest.c -+configure:15656: $? = 0 -+configure:15656: result: yes -+configure:15656: checking for netinet/in_systm.h -+configure:15656: result: yes -+configure:15656: checking netinet/in.h usability -+configure:15656: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+configure:15656: $? = 0 -+configure:15656: result: yes -+configure:15656: checking netinet/in.h presence -+configure:15656: gcc -E conftest.c -+configure:15656: $? = 0 -+configure:15656: result: yes -+configure:15656: checking for netinet/in.h -+configure:15656: result: yes -+configure:15656: checking netinet/tcp.h usability -+configure:15656: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+configure:15656: $? = 0 -+configure:15656: result: yes -+configure:15656: checking netinet/tcp.h presence -+configure:15656: gcc -E conftest.c -+configure:15656: $? = 0 -+configure:15656: result: yes -+configure:15656: checking for netinet/tcp.h -+configure:15656: result: yes -+configure:15669: checking for netinet/ip.h -+configure:15669: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:44:10: error: #include expects "FILENAME" or -+configure:15669: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| #define SIZEOF_CHAR 1 -+| #define SIZEOF_SHORT 2 -+| #define SIZEOF_INT 4 -+| #define SIZEOF_LONG 4 -+| #define SIZEOF_LONG_LONG 8 -+| #define SIZEOF_FLOAT 4 -+| #define SIZEOF_DOUBLE 8 -+| #define HAVE_ALLOCA_H 1 -+| #define HAVE_ALLOCA 1 -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TERMIOS_H 1 -+| #define HAVE_SYS_SELECT_H 1 -+| #define HAVE_SYS_TIME_H 1 -+| #define HAVE_SYS_IPC_H 1 -+| #define HAVE_SYS_SHM_H 1 -+| #define HAVE_SYS_SOCKET_H 1 -+| #define HAVE_ARPA_INET_H 1 -+| #define HAVE_NETINET_IN_SYSTM_H 1 -+| #define HAVE_NETINET_IN_H 1 -+| #define HAVE_NETINET_TCP_H 1 -+| /* end confdefs.h. */ -+| #if HAVE_NETINET_IN_SYSTM_H && HAVE_NETINET_IN_H -+| #include netinet/ip.h -+| #endif -+| -+| -+| #include -+configure:15669: result: no -+configure:15686: checking termios.h usability -+configure:15686: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+configure:15686: $? = 0 -+configure:15686: result: yes -+configure:15686: checking termios.h presence -+configure:15686: gcc -E conftest.c -+configure:15686: $? = 0 -+configure:15686: result: yes -+configure:15686: checking for termios.h -+configure:15686: result: yes -+configure:15686: checking for strings.h -+configure:15686: result: yes -+configure:15686: checking getopt.h usability -+configure:15686: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+configure:15686: $? = 0 -+configure:15686: result: yes -+configure:15686: checking getopt.h presence -+configure:15686: gcc -E conftest.c -+configure:15686: $? = 0 -+configure:15686: result: yes -+configure:15686: checking for getopt.h -+configure:15686: result: yes -+configure:15686: checking netdb.h usability -+configure:15686: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+configure:15686: $? = 0 -+configure:15686: result: yes -+configure:15686: checking netdb.h presence -+configure:15686: gcc -E conftest.c -+configure:15686: $? = 0 -+configure:15686: result: yes -+configure:15686: checking for netdb.h -+configure:15686: result: yes -+configure:15700: checking for round -+configure:15700: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:70: warning: function declaration isn't a prototype -+conftest.c:70: warning: conflicting types for built-in function 'round' -+conftest.c:80: warning: function declaration isn't a prototype -+/tmp/cc78TMSB.o: In function `main': -+/home/wbx/openadk/gpsd-2.39/conftest.c:81: undefined reference to `round' -+collect2: ld returned 1 exit status -+configure:15700: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| #define SIZEOF_CHAR 1 -+| #define SIZEOF_SHORT 2 -+| #define SIZEOF_INT 4 -+| #define SIZEOF_LONG 4 -+| #define SIZEOF_LONG_LONG 8 -+| #define SIZEOF_FLOAT 4 -+| #define SIZEOF_DOUBLE 8 -+| #define HAVE_ALLOCA_H 1 -+| #define HAVE_ALLOCA 1 -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TERMIOS_H 1 -+| #define HAVE_SYS_SELECT_H 1 -+| #define HAVE_SYS_TIME_H 1 -+| #define HAVE_SYS_IPC_H 1 -+| #define HAVE_SYS_SHM_H 1 -+| #define HAVE_SYS_SOCKET_H 1 -+| #define HAVE_ARPA_INET_H 1 -+| #define HAVE_NETINET_IN_SYSTM_H 1 -+| #define HAVE_NETINET_IN_H 1 -+| #define HAVE_NETINET_TCP_H 1 -+| #define HAVE_TERMIOS_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_GETOPT_H 1 -+| #define HAVE_NETDB_H 1 -+| /* end confdefs.h. */ -+| /* Define round to an innocuous variant, in case declares round. -+| For example, HP-UX 11i declares gettimeofday. */ -+| #define round innocuous_round -+| -+| /* System header to define __stub macros and hopefully few prototypes, -+| which can conflict with char round (); below. -+| Prefer to if __STDC__ is defined, since -+| exists even on freestanding compilers. */ -+| -+| #ifdef __STDC__ -+| # include -+| #else -+| # include -+| #endif -+| -+| #undef round -+| -+| /* Override any GCC internal prototype to avoid an error. -+| Use char because int might match the return type of a GCC -+| builtin and then its argument prototype would still apply. */ -+| #ifdef __cplusplus -+| extern "C" -+| #endif -+| char round (); -+| /* The GNU C library defines this for functions which it implements -+| to always fail with ENOSYS. Some functions are actually named -+| something starting with __ and the normal name is an alias. */ -+| #if defined __stub_round || defined __stub___round -+| choke me -+| #endif -+| -+| int -+| main () -+| { -+| return round (); -+| ; -+| return 0; -+| } -+configure:15700: result: no -+configure:15711: checking for strlcpy -+configure:15711: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:70: warning: function declaration isn't a prototype -+conftest.c:80: warning: function declaration isn't a prototype -+/tmp/ccZ48PlN.o: In function `main': -+/home/wbx/openadk/gpsd-2.39/conftest.c:81: undefined reference to `strlcpy' -+collect2: ld returned 1 exit status -+configure:15711: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| #define SIZEOF_CHAR 1 -+| #define SIZEOF_SHORT 2 -+| #define SIZEOF_INT 4 -+| #define SIZEOF_LONG 4 -+| #define SIZEOF_LONG_LONG 8 -+| #define SIZEOF_FLOAT 4 -+| #define SIZEOF_DOUBLE 8 -+| #define HAVE_ALLOCA_H 1 -+| #define HAVE_ALLOCA 1 -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TERMIOS_H 1 -+| #define HAVE_SYS_SELECT_H 1 -+| #define HAVE_SYS_TIME_H 1 -+| #define HAVE_SYS_IPC_H 1 -+| #define HAVE_SYS_SHM_H 1 -+| #define HAVE_SYS_SOCKET_H 1 -+| #define HAVE_ARPA_INET_H 1 -+| #define HAVE_NETINET_IN_SYSTM_H 1 -+| #define HAVE_NETINET_IN_H 1 -+| #define HAVE_NETINET_TCP_H 1 -+| #define HAVE_TERMIOS_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_GETOPT_H 1 -+| #define HAVE_NETDB_H 1 -+| /* end confdefs.h. */ -+| /* Define strlcpy to an innocuous variant, in case declares strlcpy. -+| For example, HP-UX 11i declares gettimeofday. */ -+| #define strlcpy innocuous_strlcpy -+| -+| /* System header to define __stub macros and hopefully few prototypes, -+| which can conflict with char strlcpy (); below. -+| Prefer to if __STDC__ is defined, since -+| exists even on freestanding compilers. */ -+| -+| #ifdef __STDC__ -+| # include -+| #else -+| # include -+| #endif -+| -+| #undef strlcpy -+| -+| /* Override any GCC internal prototype to avoid an error. -+| Use char because int might match the return type of a GCC -+| builtin and then its argument prototype would still apply. */ -+| #ifdef __cplusplus -+| extern "C" -+| #endif -+| char strlcpy (); -+| /* The GNU C library defines this for functions which it implements -+| to always fail with ENOSYS. Some functions are actually named -+| something starting with __ and the normal name is an alias. */ -+| #if defined __stub_strlcpy || defined __stub___strlcpy -+| choke me -+| #endif -+| -+| int -+| main () -+| { -+| return strlcpy (); -+| ; -+| return 0; -+| } -+configure:15711: result: no -+configure:15722: checking for strlcat -+configure:15722: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:70: warning: function declaration isn't a prototype -+conftest.c:80: warning: function declaration isn't a prototype -+/tmp/cc4rVTOW.o: In function `main': -+/home/wbx/openadk/gpsd-2.39/conftest.c:81: undefined reference to `strlcat' -+collect2: ld returned 1 exit status -+configure:15722: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| #define SIZEOF_CHAR 1 -+| #define SIZEOF_SHORT 2 -+| #define SIZEOF_INT 4 -+| #define SIZEOF_LONG 4 -+| #define SIZEOF_LONG_LONG 8 -+| #define SIZEOF_FLOAT 4 -+| #define SIZEOF_DOUBLE 8 -+| #define HAVE_ALLOCA_H 1 -+| #define HAVE_ALLOCA 1 -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TERMIOS_H 1 -+| #define HAVE_SYS_SELECT_H 1 -+| #define HAVE_SYS_TIME_H 1 -+| #define HAVE_SYS_IPC_H 1 -+| #define HAVE_SYS_SHM_H 1 -+| #define HAVE_SYS_SOCKET_H 1 -+| #define HAVE_ARPA_INET_H 1 -+| #define HAVE_NETINET_IN_SYSTM_H 1 -+| #define HAVE_NETINET_IN_H 1 -+| #define HAVE_NETINET_TCP_H 1 -+| #define HAVE_TERMIOS_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_GETOPT_H 1 -+| #define HAVE_NETDB_H 1 -+| /* end confdefs.h. */ -+| /* Define strlcat to an innocuous variant, in case declares strlcat. -+| For example, HP-UX 11i declares gettimeofday. */ -+| #define strlcat innocuous_strlcat -+| -+| /* System header to define __stub macros and hopefully few prototypes, -+| which can conflict with char strlcat (); below. -+| Prefer to if __STDC__ is defined, since -+| exists even on freestanding compilers. */ -+| -+| #ifdef __STDC__ -+| # include -+| #else -+| # include -+| #endif -+| -+| #undef strlcat -+| -+| /* Override any GCC internal prototype to avoid an error. -+| Use char because int might match the return type of a GCC -+| builtin and then its argument prototype would still apply. */ -+| #ifdef __cplusplus -+| extern "C" -+| #endif -+| char strlcat (); -+| /* The GNU C library defines this for functions which it implements -+| to always fail with ENOSYS. Some functions are actually named -+| something starting with __ and the normal name is an alias. */ -+| #if defined __stub_strlcat || defined __stub___strlcat -+| choke me -+| #endif -+| -+| int -+| main () -+| { -+| return strlcat (); -+| ; -+| return 0; -+| } -+configure:15722: result: no -+configure:15733: checking for strtonum -+configure:15733: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:70: warning: function declaration isn't a prototype -+conftest.c:80: warning: function declaration isn't a prototype -+/tmp/ccusql25.o: In function `main': -+/home/wbx/openadk/gpsd-2.39/conftest.c:81: undefined reference to `strtonum' -+collect2: ld returned 1 exit status -+configure:15733: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| #define SIZEOF_CHAR 1 -+| #define SIZEOF_SHORT 2 -+| #define SIZEOF_INT 4 -+| #define SIZEOF_LONG 4 -+| #define SIZEOF_LONG_LONG 8 -+| #define SIZEOF_FLOAT 4 -+| #define SIZEOF_DOUBLE 8 -+| #define HAVE_ALLOCA_H 1 -+| #define HAVE_ALLOCA 1 -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TERMIOS_H 1 -+| #define HAVE_SYS_SELECT_H 1 -+| #define HAVE_SYS_TIME_H 1 -+| #define HAVE_SYS_IPC_H 1 -+| #define HAVE_SYS_SHM_H 1 -+| #define HAVE_SYS_SOCKET_H 1 -+| #define HAVE_ARPA_INET_H 1 -+| #define HAVE_NETINET_IN_SYSTM_H 1 -+| #define HAVE_NETINET_IN_H 1 -+| #define HAVE_NETINET_TCP_H 1 -+| #define HAVE_TERMIOS_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_GETOPT_H 1 -+| #define HAVE_NETDB_H 1 -+| /* end confdefs.h. */ -+| /* Define strtonum to an innocuous variant, in case declares strtonum. -+| For example, HP-UX 11i declares gettimeofday. */ -+| #define strtonum innocuous_strtonum -+| -+| /* System header to define __stub macros and hopefully few prototypes, -+| which can conflict with char strtonum (); below. -+| Prefer to if __STDC__ is defined, since -+| exists even on freestanding compilers. */ -+| -+| #ifdef __STDC__ -+| # include -+| #else -+| # include -+| #endif -+| -+| #undef strtonum -+| -+| /* Override any GCC internal prototype to avoid an error. -+| Use char because int might match the return type of a GCC -+| builtin and then its argument prototype would still apply. */ -+| #ifdef __cplusplus -+| extern "C" -+| #endif -+| char strtonum (); -+| /* The GNU C library defines this for functions which it implements -+| to always fail with ENOSYS. Some functions are actually named -+| something starting with __ and the normal name is an alias. */ -+| #if defined __stub_strtonum || defined __stub___strtonum -+| choke me -+| #endif -+| -+| int -+| main () -+| { -+| return strtonum (); -+| ; -+| return 0; -+| } -+configure:15733: result: no -+configure:15744: checking for setlocale -+configure:15744: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:70: warning: function declaration isn't a prototype -+conftest.c:80: warning: function declaration isn't a prototype -+configure:15744: $? = 0 -+configure:15744: result: yes -+configure:15755: checking for vsnprintf -+configure:15755: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:71: warning: function declaration isn't a prototype -+conftest.c:71: warning: conflicting types for built-in function 'vsnprintf' -+conftest.c:81: warning: function declaration isn't a prototype -+configure:15755: $? = 0 -+configure:15755: result: yes -+configure:15765: checking whether time.h and sys/time.h may both be included -+configure:15785: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:55: warning: function declaration isn't a prototype -+configure:15785: $? = 0 -+configure:15792: result: yes -+configure:15800: checking whether struct tm is in sys/time.h or time.h -+configure:15820: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:55: warning: function declaration isn't a prototype -+configure:15820: $? = 0 -+configure:15827: result: time.h -+configure:15835: checking for struct tm.tm_zone -+configure:15835: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:56: warning: function declaration isn't a prototype -+configure:15835: $? = 0 -+configure:15835: result: yes -+configure:15903: checking for timezone variable -+configure:15923: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:57: warning: function declaration isn't a prototype -+configure:15923: $? = 0 -+configure:15930: result: yes -+configure:15976: checking for daylight external -+configure:15992: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:56: warning: function declaration isn't a prototype -+configure:15992: $? = 0 -+configure:16001: result: yes -+configure:16009: checking for gethostbyname in -lnsl -+configure:16034: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lnsl >&5 -+conftest.c:61: warning: function declaration isn't a prototype -+conftest.c:64: warning: function declaration isn't a prototype -+configure:16034: $? = 0 -+configure:16043: result: yes -+configure:16050: checking for socket in -lsocket -+configure:16075: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lsocket >&5 -+conftest.c:61: warning: function declaration isn't a prototype -+conftest.c:64: warning: function declaration isn't a prototype -+/usr/bin/ld: cannot find -lsocket -+collect2: ld returned 1 exit status -+configure:16075: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| #define SIZEOF_CHAR 1 -+| #define SIZEOF_SHORT 2 -+| #define SIZEOF_INT 4 -+| #define SIZEOF_LONG 4 -+| #define SIZEOF_LONG_LONG 8 -+| #define SIZEOF_FLOAT 4 -+| #define SIZEOF_DOUBLE 8 -+| #define HAVE_ALLOCA_H 1 -+| #define HAVE_ALLOCA 1 -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TERMIOS_H 1 -+| #define HAVE_SYS_SELECT_H 1 -+| #define HAVE_SYS_TIME_H 1 -+| #define HAVE_SYS_IPC_H 1 -+| #define HAVE_SYS_SHM_H 1 -+| #define HAVE_SYS_SOCKET_H 1 -+| #define HAVE_ARPA_INET_H 1 -+| #define HAVE_NETINET_IN_SYSTM_H 1 -+| #define HAVE_NETINET_IN_H 1 -+| #define HAVE_NETINET_TCP_H 1 -+| #define HAVE_TERMIOS_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_GETOPT_H 1 -+| #define HAVE_NETDB_H 1 -+| #define HAVE_SETLOCALE 1 -+| #define HAVE_VSNPRINTF 1 -+| #define TIME_WITH_SYS_TIME 1 -+| #define HAVE_STRUCT_TM_TM_ZONE 1 -+| #define HAVE_TM_ZONE 1 -+| #define HAVE_TIMEZONE /**/ -+| #define HAVE_DAYLIGHT 1 -+| /* end confdefs.h. */ -+| -+| /* Override any GCC internal prototype to avoid an error. -+| Use char because int might match the return type of a GCC -+| builtin and then its argument prototype would still apply. */ -+| #ifdef __cplusplus -+| extern "C" -+| #endif -+| char socket (); -+| int -+| main () -+| { -+| return socket (); -+| ; -+| return 0; -+| } -+configure:16084: result: no -+configure:16091: checking for rint in -lm -+configure:16116: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lm >&5 -+conftest.c:61: warning: function declaration isn't a prototype -+conftest.c:61: warning: conflicting types for built-in function 'rint' -+conftest.c:64: warning: function declaration isn't a prototype -+configure:16116: $? = 0 -+configure:16125: result: yes -+configure:16132: checking for open in -lc -+configure:16157: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lc >&5 -+conftest.c:61: warning: function declaration isn't a prototype -+conftest.c:64: warning: function declaration isn't a prototype -+configure:16157: $? = 0 -+configure:16166: result: yes -+configure:16173: checking for pthread_setcancelstate in -lpthread -+configure:16198: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lpthread >&5 -+conftest.c:61: warning: function declaration isn't a prototype -+conftest.c:64: warning: function declaration isn't a prototype -+configure:16198: $? = 0 -+configure:16207: result: yes -+configure:16226: checking X11/xpm.h usability -+configure:16226: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:88:21: error: X11/xpm.h: No such file or directory -+configure:16226: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| #define SIZEOF_CHAR 1 -+| #define SIZEOF_SHORT 2 -+| #define SIZEOF_INT 4 -+| #define SIZEOF_LONG 4 -+| #define SIZEOF_LONG_LONG 8 -+| #define SIZEOF_FLOAT 4 -+| #define SIZEOF_DOUBLE 8 -+| #define HAVE_ALLOCA_H 1 -+| #define HAVE_ALLOCA 1 -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TERMIOS_H 1 -+| #define HAVE_SYS_SELECT_H 1 -+| #define HAVE_SYS_TIME_H 1 -+| #define HAVE_SYS_IPC_H 1 -+| #define HAVE_SYS_SHM_H 1 -+| #define HAVE_SYS_SOCKET_H 1 -+| #define HAVE_ARPA_INET_H 1 -+| #define HAVE_NETINET_IN_SYSTM_H 1 -+| #define HAVE_NETINET_IN_H 1 -+| #define HAVE_NETINET_TCP_H 1 -+| #define HAVE_TERMIOS_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_GETOPT_H 1 -+| #define HAVE_NETDB_H 1 -+| #define HAVE_SETLOCALE 1 -+| #define HAVE_VSNPRINTF 1 -+| #define TIME_WITH_SYS_TIME 1 -+| #define HAVE_STRUCT_TM_TM_ZONE 1 -+| #define HAVE_TM_ZONE 1 -+| #define HAVE_TIMEZONE /**/ -+| #define HAVE_DAYLIGHT 1 -+| #define HAVE_LIBPTHREAD /**/ -+| /* end confdefs.h. */ -+| #include -+| #ifdef HAVE_SYS_TYPES_H -+| # include -+| #endif -+| #ifdef HAVE_SYS_STAT_H -+| # include -+| #endif -+| #ifdef STDC_HEADERS -+| # include -+| # include -+| #else -+| # ifdef HAVE_STDLIB_H -+| # include -+| # endif -+| #endif -+| #ifdef HAVE_STRING_H -+| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H -+| # include -+| # endif -+| # include -+| #endif -+| #ifdef HAVE_STRINGS_H -+| # include -+| #endif -+| #ifdef HAVE_INTTYPES_H -+| # include -+| #endif -+| #ifdef HAVE_STDINT_H -+| # include -+| #endif -+| #ifdef HAVE_UNISTD_H -+| # include -+| #endif -+| #include -+configure:16226: result: no -+configure:16226: checking X11/xpm.h presence -+configure:16226: gcc -E conftest.c -+conftest.c:55:21: error: X11/xpm.h: No such file or directory -+configure:16226: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| #define SIZEOF_CHAR 1 -+| #define SIZEOF_SHORT 2 -+| #define SIZEOF_INT 4 -+| #define SIZEOF_LONG 4 -+| #define SIZEOF_LONG_LONG 8 -+| #define SIZEOF_FLOAT 4 -+| #define SIZEOF_DOUBLE 8 -+| #define HAVE_ALLOCA_H 1 -+| #define HAVE_ALLOCA 1 -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TERMIOS_H 1 -+| #define HAVE_SYS_SELECT_H 1 -+| #define HAVE_SYS_TIME_H 1 -+| #define HAVE_SYS_IPC_H 1 -+| #define HAVE_SYS_SHM_H 1 -+| #define HAVE_SYS_SOCKET_H 1 -+| #define HAVE_ARPA_INET_H 1 -+| #define HAVE_NETINET_IN_SYSTM_H 1 -+| #define HAVE_NETINET_IN_H 1 -+| #define HAVE_NETINET_TCP_H 1 -+| #define HAVE_TERMIOS_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_GETOPT_H 1 -+| #define HAVE_NETDB_H 1 -+| #define HAVE_SETLOCALE 1 -+| #define HAVE_VSNPRINTF 1 -+| #define TIME_WITH_SYS_TIME 1 -+| #define HAVE_STRUCT_TM_TM_ZONE 1 -+| #define HAVE_TM_ZONE 1 -+| #define HAVE_TIMEZONE /**/ -+| #define HAVE_DAYLIGHT 1 -+| #define HAVE_LIBPTHREAD /**/ -+| /* end confdefs.h. */ -+| #include -+configure:16226: result: no -+configure:16226: checking for X11/xpm.h -+configure:16226: result: no -+configure:16226: checking xpm.h usability -+configure:16226: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:88:17: error: xpm.h: No such file or directory -+configure:16226: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| #define SIZEOF_CHAR 1 -+| #define SIZEOF_SHORT 2 -+| #define SIZEOF_INT 4 -+| #define SIZEOF_LONG 4 -+| #define SIZEOF_LONG_LONG 8 -+| #define SIZEOF_FLOAT 4 -+| #define SIZEOF_DOUBLE 8 -+| #define HAVE_ALLOCA_H 1 -+| #define HAVE_ALLOCA 1 -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TERMIOS_H 1 -+| #define HAVE_SYS_SELECT_H 1 -+| #define HAVE_SYS_TIME_H 1 -+| #define HAVE_SYS_IPC_H 1 -+| #define HAVE_SYS_SHM_H 1 -+| #define HAVE_SYS_SOCKET_H 1 -+| #define HAVE_ARPA_INET_H 1 -+| #define HAVE_NETINET_IN_SYSTM_H 1 -+| #define HAVE_NETINET_IN_H 1 -+| #define HAVE_NETINET_TCP_H 1 -+| #define HAVE_TERMIOS_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_GETOPT_H 1 -+| #define HAVE_NETDB_H 1 -+| #define HAVE_SETLOCALE 1 -+| #define HAVE_VSNPRINTF 1 -+| #define TIME_WITH_SYS_TIME 1 -+| #define HAVE_STRUCT_TM_TM_ZONE 1 -+| #define HAVE_TM_ZONE 1 -+| #define HAVE_TIMEZONE /**/ -+| #define HAVE_DAYLIGHT 1 -+| #define HAVE_LIBPTHREAD /**/ -+| /* end confdefs.h. */ -+| #include -+| #ifdef HAVE_SYS_TYPES_H -+| # include -+| #endif -+| #ifdef HAVE_SYS_STAT_H -+| # include -+| #endif -+| #ifdef STDC_HEADERS -+| # include -+| # include -+| #else -+| # ifdef HAVE_STDLIB_H -+| # include -+| # endif -+| #endif -+| #ifdef HAVE_STRING_H -+| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H -+| # include -+| # endif -+| # include -+| #endif -+| #ifdef HAVE_STRINGS_H -+| # include -+| #endif -+| #ifdef HAVE_INTTYPES_H -+| # include -+| #endif -+| #ifdef HAVE_STDINT_H -+| # include -+| #endif -+| #ifdef HAVE_UNISTD_H -+| # include -+| #endif -+| #include -+configure:16226: result: no -+configure:16226: checking xpm.h presence -+configure:16226: gcc -E conftest.c -+conftest.c:55:17: error: xpm.h: No such file or directory -+configure:16226: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| #define SIZEOF_CHAR 1 -+| #define SIZEOF_SHORT 2 -+| #define SIZEOF_INT 4 -+| #define SIZEOF_LONG 4 -+| #define SIZEOF_LONG_LONG 8 -+| #define SIZEOF_FLOAT 4 -+| #define SIZEOF_DOUBLE 8 -+| #define HAVE_ALLOCA_H 1 -+| #define HAVE_ALLOCA 1 -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TERMIOS_H 1 -+| #define HAVE_SYS_SELECT_H 1 -+| #define HAVE_SYS_TIME_H 1 -+| #define HAVE_SYS_IPC_H 1 -+| #define HAVE_SYS_SHM_H 1 -+| #define HAVE_SYS_SOCKET_H 1 -+| #define HAVE_ARPA_INET_H 1 -+| #define HAVE_NETINET_IN_SYSTM_H 1 -+| #define HAVE_NETINET_IN_H 1 -+| #define HAVE_NETINET_TCP_H 1 -+| #define HAVE_TERMIOS_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_GETOPT_H 1 -+| #define HAVE_NETDB_H 1 -+| #define HAVE_SETLOCALE 1 -+| #define HAVE_VSNPRINTF 1 -+| #define TIME_WITH_SYS_TIME 1 -+| #define HAVE_STRUCT_TM_TM_ZONE 1 -+| #define HAVE_TM_ZONE 1 -+| #define HAVE_TIMEZONE /**/ -+| #define HAVE_DAYLIGHT 1 -+| #define HAVE_LIBPTHREAD /**/ -+| /* end confdefs.h. */ -+| #include -+configure:16226: result: no -+configure:16226: checking for xpm.h -+configure:16226: result: no -+configure:16239: WARNING: xpm.h problem - xgps won't be built. -+configure:16242: checking for X -+configure:16350: gcc -E conftest.c -+configure:16350: $? = 0 -+configure:16381: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lX11 >&5 -+conftest.c:58: warning: function declaration isn't a prototype -+configure:16381: $? = 0 -+configure:16431: result: libraries , headers -+configure:16530: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lX11 >&5 -+conftest.c:62: warning: function declaration isn't a prototype -+conftest.c:65: warning: function declaration isn't a prototype -+configure:16530: $? = 0 -+configure:16628: checking for gethostbyname -+configure:16628: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:78: warning: function declaration isn't a prototype -+conftest.c:88: warning: function declaration isn't a prototype -+configure:16628: $? = 0 -+configure:16628: result: yes -+configure:16725: checking for connect -+configure:16725: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:78: warning: function declaration isn't a prototype -+conftest.c:88: warning: function declaration isn't a prototype -+configure:16725: $? = 0 -+configure:16725: result: yes -+configure:16774: checking for remove -+configure:16774: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:78: warning: function declaration isn't a prototype -+conftest.c:88: warning: function declaration isn't a prototype -+configure:16774: $? = 0 -+configure:16774: result: yes -+configure:16823: checking for shmat -+configure:16823: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:78: warning: function declaration isn't a prototype -+conftest.c:88: warning: function declaration isn't a prototype -+configure:16823: $? = 0 -+configure:16823: result: yes -+configure:16881: checking for IceConnectionNumber in -lICE -+configure:16906: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lICE >&5 -+conftest.c:62: warning: function declaration isn't a prototype -+conftest.c:65: warning: function declaration isn't a prototype -+configure:16906: $? = 0 -+configure:16915: result: yes -+configure:16937: checking for XtToolkitInitialize in -lXt -+configure:16962: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lXt -lSM -lICE >&5 -+conftest.c:62: warning: function declaration isn't a prototype -+conftest.c:65: warning: function declaration isn't a prototype -+configure:16962: $? = 0 -+configure:16971: result: yes -+configure:16982: checking X11/Xaw/Label.h usability -+configure:16982: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+conftest.c:88:27: error: X11/Xaw/Label.h: No such file or directory -+configure:16982: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| #define SIZEOF_CHAR 1 -+| #define SIZEOF_SHORT 2 -+| #define SIZEOF_INT 4 -+| #define SIZEOF_LONG 4 -+| #define SIZEOF_LONG_LONG 8 -+| #define SIZEOF_FLOAT 4 -+| #define SIZEOF_DOUBLE 8 -+| #define HAVE_ALLOCA_H 1 -+| #define HAVE_ALLOCA 1 -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TERMIOS_H 1 -+| #define HAVE_SYS_SELECT_H 1 -+| #define HAVE_SYS_TIME_H 1 -+| #define HAVE_SYS_IPC_H 1 -+| #define HAVE_SYS_SHM_H 1 -+| #define HAVE_SYS_SOCKET_H 1 -+| #define HAVE_ARPA_INET_H 1 -+| #define HAVE_NETINET_IN_SYSTM_H 1 -+| #define HAVE_NETINET_IN_H 1 -+| #define HAVE_NETINET_TCP_H 1 -+| #define HAVE_TERMIOS_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_GETOPT_H 1 -+| #define HAVE_NETDB_H 1 -+| #define HAVE_SETLOCALE 1 -+| #define HAVE_VSNPRINTF 1 -+| #define TIME_WITH_SYS_TIME 1 -+| #define HAVE_STRUCT_TM_TM_ZONE 1 -+| #define HAVE_TM_ZONE 1 -+| #define HAVE_TIMEZONE /**/ -+| #define HAVE_DAYLIGHT 1 -+| #define HAVE_LIBPTHREAD /**/ -+| /* end confdefs.h. */ -+| #include -+| #ifdef HAVE_SYS_TYPES_H -+| # include -+| #endif -+| #ifdef HAVE_SYS_STAT_H -+| # include -+| #endif -+| #ifdef STDC_HEADERS -+| # include -+| # include -+| #else -+| # ifdef HAVE_STDLIB_H -+| # include -+| # endif -+| #endif -+| #ifdef HAVE_STRING_H -+| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H -+| # include -+| # endif -+| # include -+| #endif -+| #ifdef HAVE_STRINGS_H -+| # include -+| #endif -+| #ifdef HAVE_INTTYPES_H -+| # include -+| #endif -+| #ifdef HAVE_STDINT_H -+| # include -+| #endif -+| #ifdef HAVE_UNISTD_H -+| # include -+| #endif -+| #include -+configure:16982: result: no -+configure:16982: checking X11/Xaw/Label.h presence -+configure:16982: gcc -E conftest.c -+conftest.c:55:27: error: X11/Xaw/Label.h: No such file or directory -+configure:16982: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| #define SIZEOF_CHAR 1 -+| #define SIZEOF_SHORT 2 -+| #define SIZEOF_INT 4 -+| #define SIZEOF_LONG 4 -+| #define SIZEOF_LONG_LONG 8 -+| #define SIZEOF_FLOAT 4 -+| #define SIZEOF_DOUBLE 8 -+| #define HAVE_ALLOCA_H 1 -+| #define HAVE_ALLOCA 1 -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TERMIOS_H 1 -+| #define HAVE_SYS_SELECT_H 1 -+| #define HAVE_SYS_TIME_H 1 -+| #define HAVE_SYS_IPC_H 1 -+| #define HAVE_SYS_SHM_H 1 -+| #define HAVE_SYS_SOCKET_H 1 -+| #define HAVE_ARPA_INET_H 1 -+| #define HAVE_NETINET_IN_SYSTM_H 1 -+| #define HAVE_NETINET_IN_H 1 -+| #define HAVE_NETINET_TCP_H 1 -+| #define HAVE_TERMIOS_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_GETOPT_H 1 -+| #define HAVE_NETDB_H 1 -+| #define HAVE_SETLOCALE 1 -+| #define HAVE_VSNPRINTF 1 -+| #define TIME_WITH_SYS_TIME 1 -+| #define HAVE_STRUCT_TM_TM_ZONE 1 -+| #define HAVE_TM_ZONE 1 -+| #define HAVE_TIMEZONE /**/ -+| #define HAVE_DAYLIGHT 1 -+| #define HAVE_LIBPTHREAD /**/ -+| /* end confdefs.h. */ -+| #include -+configure:16982: result: no -+configure:16982: checking for X11/Xaw/Label.h -+configure:16982: result: no -+configure:16990: checking for XawInitializeWidgetSet in -lXaw8 -+configure:17015: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lXaw8 -lSM -lICE >&5 -+conftest.c:62: warning: function declaration isn't a prototype -+conftest.c:65: warning: function declaration isn't a prototype -+/usr/bin/ld: cannot find -lXaw8 -+collect2: ld returned 1 exit status -+configure:17015: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| #define SIZEOF_CHAR 1 -+| #define SIZEOF_SHORT 2 -+| #define SIZEOF_INT 4 -+| #define SIZEOF_LONG 4 -+| #define SIZEOF_LONG_LONG 8 -+| #define SIZEOF_FLOAT 4 -+| #define SIZEOF_DOUBLE 8 -+| #define HAVE_ALLOCA_H 1 -+| #define HAVE_ALLOCA 1 -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TERMIOS_H 1 -+| #define HAVE_SYS_SELECT_H 1 -+| #define HAVE_SYS_TIME_H 1 -+| #define HAVE_SYS_IPC_H 1 -+| #define HAVE_SYS_SHM_H 1 -+| #define HAVE_SYS_SOCKET_H 1 -+| #define HAVE_ARPA_INET_H 1 -+| #define HAVE_NETINET_IN_SYSTM_H 1 -+| #define HAVE_NETINET_IN_H 1 -+| #define HAVE_NETINET_TCP_H 1 -+| #define HAVE_TERMIOS_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_GETOPT_H 1 -+| #define HAVE_NETDB_H 1 -+| #define HAVE_SETLOCALE 1 -+| #define HAVE_VSNPRINTF 1 -+| #define TIME_WITH_SYS_TIME 1 -+| #define HAVE_STRUCT_TM_TM_ZONE 1 -+| #define HAVE_TM_ZONE 1 -+| #define HAVE_TIMEZONE /**/ -+| #define HAVE_DAYLIGHT 1 -+| #define HAVE_LIBPTHREAD /**/ -+| /* end confdefs.h. */ -+| -+| /* Override any GCC internal prototype to avoid an error. -+| Use char because int might match the return type of a GCC -+| builtin and then its argument prototype would still apply. */ -+| #ifdef __cplusplus -+| extern "C" -+| #endif -+| char XawInitializeWidgetSet (); -+| int -+| main () -+| { -+| return XawInitializeWidgetSet (); -+| ; -+| return 0; -+| } -+configure:17024: result: no -+configure:17029: checking for XawInitializeWidgetSet in -lXaw7 -+configure:17054: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lXaw7 -lSM -lICE >&5 -+conftest.c:62: warning: function declaration isn't a prototype -+conftest.c:65: warning: function declaration isn't a prototype -+/usr/bin/ld: cannot find -lXaw7 -+collect2: ld returned 1 exit status -+configure:17054: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| #define SIZEOF_CHAR 1 -+| #define SIZEOF_SHORT 2 -+| #define SIZEOF_INT 4 -+| #define SIZEOF_LONG 4 -+| #define SIZEOF_LONG_LONG 8 -+| #define SIZEOF_FLOAT 4 -+| #define SIZEOF_DOUBLE 8 -+| #define HAVE_ALLOCA_H 1 -+| #define HAVE_ALLOCA 1 -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TERMIOS_H 1 -+| #define HAVE_SYS_SELECT_H 1 -+| #define HAVE_SYS_TIME_H 1 -+| #define HAVE_SYS_IPC_H 1 -+| #define HAVE_SYS_SHM_H 1 -+| #define HAVE_SYS_SOCKET_H 1 -+| #define HAVE_ARPA_INET_H 1 -+| #define HAVE_NETINET_IN_SYSTM_H 1 -+| #define HAVE_NETINET_IN_H 1 -+| #define HAVE_NETINET_TCP_H 1 -+| #define HAVE_TERMIOS_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_GETOPT_H 1 -+| #define HAVE_NETDB_H 1 -+| #define HAVE_SETLOCALE 1 -+| #define HAVE_VSNPRINTF 1 -+| #define TIME_WITH_SYS_TIME 1 -+| #define HAVE_STRUCT_TM_TM_ZONE 1 -+| #define HAVE_TM_ZONE 1 -+| #define HAVE_TIMEZONE /**/ -+| #define HAVE_DAYLIGHT 1 -+| #define HAVE_LIBPTHREAD /**/ -+| /* end confdefs.h. */ -+| -+| /* Override any GCC internal prototype to avoid an error. -+| Use char because int might match the return type of a GCC -+| builtin and then its argument prototype would still apply. */ -+| #ifdef __cplusplus -+| extern "C" -+| #endif -+| char XawInitializeWidgetSet (); -+| int -+| main () -+| { -+| return XawInitializeWidgetSet (); -+| ; -+| return 0; -+| } -+configure:17063: result: no -+configure:17068: checking for XawInitializeWidgetSet in -lXaw -+configure:17093: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lXaw -lSM -lICE >&5 -+conftest.c:62: warning: function declaration isn't a prototype -+conftest.c:65: warning: function declaration isn't a prototype -+/usr/bin/ld: cannot find -lXaw -+collect2: ld returned 1 exit status -+configure:17093: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| #define SIZEOF_CHAR 1 -+| #define SIZEOF_SHORT 2 -+| #define SIZEOF_INT 4 -+| #define SIZEOF_LONG 4 -+| #define SIZEOF_LONG_LONG 8 -+| #define SIZEOF_FLOAT 4 -+| #define SIZEOF_DOUBLE 8 -+| #define HAVE_ALLOCA_H 1 -+| #define HAVE_ALLOCA 1 -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TERMIOS_H 1 -+| #define HAVE_SYS_SELECT_H 1 -+| #define HAVE_SYS_TIME_H 1 -+| #define HAVE_SYS_IPC_H 1 -+| #define HAVE_SYS_SHM_H 1 -+| #define HAVE_SYS_SOCKET_H 1 -+| #define HAVE_ARPA_INET_H 1 -+| #define HAVE_NETINET_IN_SYSTM_H 1 -+| #define HAVE_NETINET_IN_H 1 -+| #define HAVE_NETINET_TCP_H 1 -+| #define HAVE_TERMIOS_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_GETOPT_H 1 -+| #define HAVE_NETDB_H 1 -+| #define HAVE_SETLOCALE 1 -+| #define HAVE_VSNPRINTF 1 -+| #define TIME_WITH_SYS_TIME 1 -+| #define HAVE_STRUCT_TM_TM_ZONE 1 -+| #define HAVE_TM_ZONE 1 -+| #define HAVE_TIMEZONE /**/ -+| #define HAVE_DAYLIGHT 1 -+| #define HAVE_LIBPTHREAD /**/ -+| /* end confdefs.h. */ -+| -+| /* Override any GCC internal prototype to avoid an error. -+| Use char because int might match the return type of a GCC -+| builtin and then its argument prototype would still apply. */ -+| #ifdef __cplusplus -+| extern "C" -+| #endif -+| char XawInitializeWidgetSet (); -+| int -+| main () -+| { -+| return XawInitializeWidgetSet (); -+| ; -+| return 0; -+| } -+configure:17102: result: no -+configure:17114: WARNING: libXaw problem - xgpsspeed won't be built. -+configure:17134: checking for XShapeQueryVersion in -lXext -+configure:17159: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lXext -lSM -lICE >&5 -+conftest.c:62: warning: function declaration isn't a prototype -+conftest.c:65: warning: function declaration isn't a prototype -+configure:17159: $? = 0 -+configure:17168: result: yes -+configure:17179: checking for XpmCreatePixmapFromXpmImage in -lXpm -+configure:17204: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lXpm -lSM -lICE >&5 -+conftest.c:62: warning: function declaration isn't a prototype -+conftest.c:65: warning: function declaration isn't a prototype -+/usr/bin/ld: cannot find -lXpm -+collect2: ld returned 1 exit status -+configure:17204: $? = 1 -+configure: failed program was: -+| /* confdefs.h */ -+| #define PACKAGE_NAME "" -+| #define PACKAGE_TARNAME "" -+| #define PACKAGE_VERSION "" -+| #define PACKAGE_STRING "" -+| #define PACKAGE_BUGREPORT "" -+| #define PACKAGE_URL "" -+| #define PACKAGE "gpsd" -+| #define VERSION "2.39" -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TYPES_H 1 -+| #define HAVE_SYS_STAT_H 1 -+| #define HAVE_STDLIB_H 1 -+| #define HAVE_STRING_H 1 -+| #define HAVE_MEMORY_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_INTTYPES_H 1 -+| #define HAVE_STDINT_H 1 -+| #define HAVE_UNISTD_H 1 -+| #define HAVE_DLFCN_H 1 -+| #define LT_OBJDIR ".libs/" -+| #define SIZEOF_CHAR 1 -+| #define SIZEOF_SHORT 2 -+| #define SIZEOF_INT 4 -+| #define SIZEOF_LONG 4 -+| #define SIZEOF_LONG_LONG 8 -+| #define SIZEOF_FLOAT 4 -+| #define SIZEOF_DOUBLE 8 -+| #define HAVE_ALLOCA_H 1 -+| #define HAVE_ALLOCA 1 -+| #define STDC_HEADERS 1 -+| #define HAVE_SYS_TERMIOS_H 1 -+| #define HAVE_SYS_SELECT_H 1 -+| #define HAVE_SYS_TIME_H 1 -+| #define HAVE_SYS_IPC_H 1 -+| #define HAVE_SYS_SHM_H 1 -+| #define HAVE_SYS_SOCKET_H 1 -+| #define HAVE_ARPA_INET_H 1 -+| #define HAVE_NETINET_IN_SYSTM_H 1 -+| #define HAVE_NETINET_IN_H 1 -+| #define HAVE_NETINET_TCP_H 1 -+| #define HAVE_TERMIOS_H 1 -+| #define HAVE_STRINGS_H 1 -+| #define HAVE_GETOPT_H 1 -+| #define HAVE_NETDB_H 1 -+| #define HAVE_SETLOCALE 1 -+| #define HAVE_VSNPRINTF 1 -+| #define TIME_WITH_SYS_TIME 1 -+| #define HAVE_STRUCT_TM_TM_ZONE 1 -+| #define HAVE_TM_ZONE 1 -+| #define HAVE_TIMEZONE /**/ -+| #define HAVE_DAYLIGHT 1 -+| #define HAVE_LIBPTHREAD /**/ -+| /* end confdefs.h. */ -+| -+| /* Override any GCC internal prototype to avoid an error. -+| Use char because int might match the return type of a GCC -+| builtin and then its argument prototype would still apply. */ -+| #ifdef __cplusplus -+| extern "C" -+| #endif -+| char XpmCreatePixmapFromXpmImage (); -+| int -+| main () -+| { -+| return XpmCreatePixmapFromXpmImage (); -+| ; -+| return 0; -+| } -+configure:17213: result: no -+configure:17224: WARNING: libXpm problem - xgps won't be built. -+configure:17353: checking ncurses.h usability -+configure:17353: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5 -+configure:17353: $? = 0 -+configure:17353: result: yes -+configure:17353: checking ncurses.h presence -+configure:17353: gcc -E conftest.c -+configure:17353: $? = 0 -+configure:17353: result: yes -+configure:17353: checking for ncurses.h -+configure:17353: result: yes -+configure:17363: checking for initscr in -lncurses -+configure:17388: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lncurses >&5 -+conftest.c:63: warning: function declaration isn't a prototype -+conftest.c:66: warning: function declaration isn't a prototype -+configure:17388: $? = 0 -+configure:17397: result: yes -+configure:17435: checking for NMEA support -+configure:17438: result: yes -+configure:17455: checking for SiRF support -+configure:17458: result: yes -+configure:17475: checking for SuperStarII support -+configure:17478: result: yes -+configure:17495: checking for Trimble TSIP support -+configure:17498: result: yes -+configure:17515: checking for FV-18 support -+configure:17519: result: yes -+configure:17539: checking for Tripmate support -+configure:17542: result: yes -+configure:17559: checking for EarthMate support -+configure:17562: result: yes -+configure:17579: checking for iTrax support -+configure:17582: result: yes -+configure:17599: checking for Ashtech support -+configure:17602: result: yes -+configure:17619: checking for Navcom support -+configure:17622: result: yes -+configure:17639: checking for Garmin support -+configure:17642: result: yes -+configure:17659: checking for Garmin Simple Text support -+configure:17668: result: no -+configure:17679: checking for True North support -+configure:17692: result: no -+configure:17703: checking for OceanServer support -+configure:17716: result: no -+configure:17727: checking for UBX support -+configure:17730: result: yes -+configure:17747: checking for EverMore support -+configure:17750: result: yes -+configure:17767: checking for MKT-3301 support -+configure:17771: result: yes -+configure:17791: checking for GPSClock support -+configure:17794: result: yes -+configure:17811: checking for rtcm104v2 support -+configure:17817: result: yes -+configure:17843: checking for rtcm104v3 support -+configure:17849: result: yes -+configure:17875: checking for NTRIP support -+configure:17878: result: yes -+configure:17904: checking for AIVDM support -+configure:17907: result: yes -+configure:17924: checking for profiling support -+configure:17933: result: no -+configure:17944: checking for NTP time hinting support -+configure:17947: result: yes -+configure:17964: checking for PPS time syncing support -+configure:17967: result: yes -+configure:17984: checking for PPS pulse on CTS rather than DCD -+configure:17993: result: no -+configure:18004: checking privilege revokation user -+configure:18015: result: nobody -+configure:18026: checking for fixed port speed -+configure:18038: result: no -+configure:18049: checking for DBUS support -+configure:18068: result: no -+configure:18079: checking for limited max clients -+configure:18091: result: no -+configure:18102: checking for max devices -+configure:18114: result: no -+configure:18125: checking if device reconfiguration is allowed -+configure:18128: result: yes -+configure:18145: checking if control sending is allowed -+configure:18148: result: yes -+configure:18174: checking for disabled logging -+configure:18183: result: no -+configure:18189: checking for xsltproc -+configure:18205: found /usr/bin/xsltproc -+configure:18217: result: yes -+configure:18229: checking whether xsltproc knows about docbook xsl -+configure:18249: result: yes -+configure:18565: creating ./config.status -+ -+## ---------------------- ## -+## Running config.status. ## -+## ---------------------- ## -+ -+This file was extended by config.status, which was -+generated by GNU Autoconf 2.65. Invocation command line was -+ -+ CONFIG_FILES = -+ CONFIG_HEADERS = -+ CONFIG_LINKS = -+ CONFIG_COMMANDS = -+ $ ./config.status -+ -+on hydrogenium -+ -+config.status:1229: creating Makefile -+config.status:1229: creating packaging/gpsd.spec -+config.status:1229: creating libgps.pc -+config.status:1229: creating libgpsd.pc -+config.status:1229: creating gpsd_config.h -+config.status:1449: executing depfiles commands -+config.status:1449: executing libtool commands -+ -+## ---------------- ## -+## Cache variables. ## -+## ---------------- ## -+ -+ac_cv_build=i686-pc-linux-gnu -+ac_cv_c_bigendian=no -+ac_cv_c_compiler_gnu=yes -+ac_cv_c_const=yes -+ac_cv_cxx_compiler_gnu=yes -+ac_cv_env_CCC_set= -+ac_cv_env_CCC_value= -+ac_cv_env_CC_set= -+ac_cv_env_CC_value= -+ac_cv_env_CFLAGS_set= -+ac_cv_env_CFLAGS_value= -+ac_cv_env_CPPFLAGS_set= -+ac_cv_env_CPPFLAGS_value= -+ac_cv_env_CPP_set= -+ac_cv_env_CPP_value= -+ac_cv_env_CXXCPP_set= -+ac_cv_env_CXXCPP_value= -+ac_cv_env_CXXFLAGS_set= -+ac_cv_env_CXXFLAGS_value= -+ac_cv_env_CXX_set= -+ac_cv_env_CXX_value= -+ac_cv_env_LDFLAGS_set= -+ac_cv_env_LDFLAGS_value= -+ac_cv_env_LIBS_set= -+ac_cv_env_LIBS_value= -+ac_cv_env_XMKMF_set= -+ac_cv_env_XMKMF_value= -+ac_cv_env_build_alias_set= -+ac_cv_env_build_alias_value= -+ac_cv_env_host_alias_set= -+ac_cv_env_host_alias_value= -+ac_cv_env_target_alias_set= -+ac_cv_env_target_alias_value= -+ac_cv_func_alloca_works=yes -+ac_cv_func_connect=yes -+ac_cv_func_gethostbyname=yes -+ac_cv_func_remove=yes -+ac_cv_func_round=no -+ac_cv_func_setlocale=yes -+ac_cv_func_shmat=yes -+ac_cv_func_strlcat=no -+ac_cv_func_strlcpy=no -+ac_cv_func_strtonum=no -+ac_cv_func_vsnprintf=yes -+ac_cv_have_x='have_x=yes ac_x_includes='\'''\'' ac_x_libraries='\'''\''' -+ac_cv_header_X11_Xaw_Label_h=no -+ac_cv_header_X11_xpm_h=no -+ac_cv_header_arpa_inet_h=yes -+ac_cv_header_dlfcn_h=yes -+ac_cv_header_getopt_h=yes -+ac_cv_header_inttypes_h=yes -+ac_cv_header_memory_h=yes -+ac_cv_header_ncurses_h=yes -+ac_cv_header_netdb_h=yes -+ac_cv_header_netinet_in_h=yes -+ac_cv_header_netinet_in_systm_h=yes -+ac_cv_header_netinet_ip_h=no -+ac_cv_header_netinet_tcp_h=yes -+ac_cv_header_stdc=yes -+ac_cv_header_stdint_h=yes -+ac_cv_header_stdlib_h=yes -+ac_cv_header_string_h=yes -+ac_cv_header_strings_h=yes -+ac_cv_header_sys_ipc_h=yes -+ac_cv_header_sys_modem_h=no -+ac_cv_header_sys_select_h=yes -+ac_cv_header_sys_shm_h=yes -+ac_cv_header_sys_socket_h=yes -+ac_cv_header_sys_stat_h=yes -+ac_cv_header_sys_termios_h=yes -+ac_cv_header_sys_time_h=yes -+ac_cv_header_sys_types_h=yes -+ac_cv_header_termios_h=yes -+ac_cv_header_time=yes -+ac_cv_header_unistd_h=yes -+ac_cv_header_xpm_h=no -+ac_cv_host=i686-pc-linux-gnu -+ac_cv_lib_ICE_IceConnectionNumber=yes -+ac_cv_lib_Xaw7_XawInitializeWidgetSet=no -+ac_cv_lib_Xaw8_XawInitializeWidgetSet=no -+ac_cv_lib_Xaw_XawInitializeWidgetSet=no -+ac_cv_lib_Xext_XShapeQueryVersion=yes -+ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage=no -+ac_cv_lib_Xt_XtToolkitInitialize=yes -+ac_cv_lib_c_open=yes -+ac_cv_lib_m_rint=yes -+ac_cv_lib_ncurses_initscr=yes -+ac_cv_lib_nsl_gethostbyname=yes -+ac_cv_lib_pthread_pthread_setcancelstate=yes -+ac_cv_lib_socket_socket=no -+ac_cv_member_struct_tm_tm_zone=yes -+ac_cv_objext=o -+ac_cv_path_EGREP='/bin/grep -E' -+ac_cv_path_FGREP='/bin/grep -F' -+ac_cv_path_GREP=/bin/grep -+ac_cv_path_SED=/bin/sed -+ac_cv_path_install='/usr/bin/install -c' -+ac_cv_path_mkdir=/bin/mkdir -+ac_cv_prog_AWK=gawk -+ac_cv_prog_CPP='gcc -E' -+ac_cv_prog_CXXCPP='g++ -E' -+ac_cv_prog_WITH_XSLTPROC=yes -+ac_cv_prog_ac_ct_AR=ar -+ac_cv_prog_ac_ct_CC=gcc -+ac_cv_prog_ac_ct_CXX=g++ -+ac_cv_prog_ac_ct_OBJDUMP=objdump -+ac_cv_prog_ac_ct_RANLIB=ranlib -+ac_cv_prog_ac_ct_STRIP=strip -+ac_cv_prog_cc_c89= -+ac_cv_prog_cc_g=yes -+ac_cv_prog_cxx_g=yes -+ac_cv_prog_make_make_set=yes -+ac_cv_sizeof_char=1 -+ac_cv_sizeof_double=8 -+ac_cv_sizeof_float=4 -+ac_cv_sizeof_int=4 -+ac_cv_sizeof_long=4 -+ac_cv_sizeof_long_long=8 -+ac_cv_sizeof_short=2 -+ac_cv_struct_tm=time.h -+ac_cv_var_timezone=yes -+ac_cv_working_alloca_h=yes -+am_cv_CC_dependencies_compiler_type=gcc3 -+am_cv_CXX_dependencies_compiler_type=gcc3 -+lt_cv_deplibs_check_method=pass_all -+lt_cv_file_magic_cmd='$MAGIC_CMD' -+lt_cv_file_magic_test_file= -+lt_cv_ld_reload_flag=-r -+lt_cv_nm_interface='BSD nm' -+lt_cv_objdir=.libs -+lt_cv_path_LD=/usr/bin/ld -+lt_cv_path_LDCXX=/usr/bin/ld -+lt_cv_path_NM='/usr/bin/nm -B' -+lt_cv_prog_compiler_c_o=yes -+lt_cv_prog_compiler_c_o_CXX=yes -+lt_cv_prog_compiler_pic_works=yes -+lt_cv_prog_compiler_pic_works_CXX=yes -+lt_cv_prog_compiler_rtti_exceptions=no -+lt_cv_prog_compiler_static_works=yes -+lt_cv_prog_compiler_static_works_CXX=yes -+lt_cv_prog_gnu_ld=yes -+lt_cv_prog_gnu_ldcxx=yes -+lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\''' -+lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' -+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' -+lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' -+lt_cv_sys_max_cmd_len=1572864 -+mb_cv_var_daylight=yes -+ -+## ----------------- ## -+## Output variables. ## -+## ----------------- ## -+ -+ACLOCAL='${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run aclocal-1.11' -+ALLOCA='' -+AMDEPBACKSLASH='\' -+AMDEP_FALSE='#' -+AMDEP_TRUE='' -+AMTAR='${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run tar' -+AR='ar' -+AUTOCONF='${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run autoconf' -+AUTOHEADER='${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run autoheader' -+AUTOMAKE='${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run automake-1.11' -+AWK='gawk' -+CC='gcc' -+CCDEPMODE='depmode=gcc3' -+CFLAGS='-g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE ' -+CPP='gcc -E' -+CPPFLAGS=' ' -+CXX='g++' -+CXXCPP='g++ -E' -+CXXDEPMODE='depmode=gcc3' -+CXXFLAGS='-g -O2' -+CYGPATH_W='echo' -+DBUS_CFLAGS='' -+DBUS_GLIB_CFLAGS='' -+DBUS_GLIB_LIBS='' -+DBUS_LIBS='' -+DEFS='-DHAVE_CONFIG_H' -+DEPDIR='.deps' -+DSYMUTIL='' -+DUMPBIN='' -+ECHO_C='' -+ECHO_N='-n' -+ECHO_T='' -+EGREP='/bin/grep -E' -+EXEEXT='' -+FGREP='/bin/grep -F' -+GREP='/bin/grep' -+HAVE_DBUS_FALSE='' -+HAVE_DBUS_TRUE='#' -+HAVE_MOTIF_FALSE='' -+HAVE_MOTIF_TRUE='#' -+HAVE_NCURSES_FALSE='#' -+HAVE_NCURSES_TRUE='' -+HAVE_NTRIP_FALSE='#' -+HAVE_NTRIP_TRUE='' -+HAVE_RTCM104V2_FALSE='#' -+HAVE_RTCM104V2_TRUE='' -+HAVE_RTCM104V3_FALSE='#' -+HAVE_RTCM104V3_TRUE='' -+HAVE_XAW_FALSE='' -+HAVE_XAW_TRUE='#' -+HAVE_XSLT_PROCESSOR_FALSE='#' -+HAVE_XSLT_PROCESSOR_TRUE='' -+INSTALL_DATA='${INSTALL} -m 644' -+INSTALL_PROGRAM='${INSTALL}' -+INSTALL_SCRIPT='${INSTALL}' -+INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' -+LD='/usr/bin/ld' -+LDFLAGS=' ' -+LIBC='-lc' -+LIBM='-lm' -+LIBNSL='-lnsl' -+LIBOBJS='' -+LIBPTHREAD='-lpthread' -+LIBS=' ' -+LIBSOCKET='' -+LIBTOOL='$(SHELL) $(top_builddir)/libtool' -+LIPO='' -+LN_S='ln -s' -+LTLIBOBJS='' -+MAKEINFO='${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run makeinfo' -+MANFLAGS='--nonet' -+MANGENERATOR='xsltproc' -+MANTARGET='http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl' -+MKDIR_P='/bin/mkdir -p' -+NCURSES_LIBS='-lncurses' -+NM='/usr/bin/nm -B' -+NMEDIT='' -+OBJDUMP='objdump' -+OBJEXT='o' -+OTOOL64='' -+OTOOL='' -+PACKAGE='gpsd' -+PACKAGE_BUGREPORT='' -+PACKAGE_NAME='' -+PACKAGE_STRING='' -+PACKAGE_TARNAME='' -+PACKAGE_URL='' -+PACKAGE_VERSION='' -+PATH_SEPARATOR=':' -+RANLIB='ranlib' -+SED='/bin/sed' -+SET_MAKE='' -+SHELL='/bin/bash' -+STRIP='strip' -+VERSION='2.39' -+WITH_XMLTO='' -+WITH_XSLTPROC='yes' -+X11_LIBS='' -+XAW_LIBS='' -+XEXT_LIBS='-lXext' -+XMKMF='' -+XM_LIBS='' -+XPM_LIBS='' -+XP_LIBS='' -+XT_LIBS='-lXt' -+X_CFLAGS='' -+X_EXTRA_LIBS='' -+X_LIBS='' -+X_PRE_LIBS=' -lSM -lICE' -+ac_ct_CC='gcc' -+ac_ct_CXX='g++' -+ac_ct_DUMPBIN='' -+am__EXEEXT_FALSE='' -+am__EXEEXT_TRUE='#' -+am__fastdepCC_FALSE='#' -+am__fastdepCC_TRUE='' -+am__fastdepCXX_FALSE='#' -+am__fastdepCXX_TRUE='' -+am__include='include' -+am__isrc='' -+am__leading_dot='.' -+am__quote='' -+am__tar='${AMTAR} chof - "$$tardir"' -+am__untar='${AMTAR} xf -' -+bindir='${exec_prefix}/bin' -+build='i686-pc-linux-gnu' -+build_alias='' -+build_cpu='i686' -+build_os='linux-gnu' -+build_vendor='pc' -+datadir='${datarootdir}' -+datarootdir='${prefix}/share' -+docdir='${datarootdir}/doc/${PACKAGE}' -+dvidir='${docdir}' -+exec_prefix='${prefix}' -+host='i686-pc-linux-gnu' -+host_alias='' -+host_cpu='i686' -+host_os='linux-gnu' -+host_vendor='pc' -+htmldir='${docdir}' -+includedir='${prefix}/include' -+infodir='${datarootdir}/info' -+install_sh='${SHELL} /home/wbx/openadk/gpsd-2.39/install-sh' -+libdir='${exec_prefix}/lib' -+libexecdir='${exec_prefix}/libexec' -+localedir='${datarootdir}/locale' -+localstatedir='${prefix}/var' -+lt_ECHO='echo' -+mandir='${datarootdir}/man' -+mkdir_p='/bin/mkdir -p' -+oldincludedir='/usr/include' -+pdfdir='${docdir}' -+prefix='/usr/local' -+program_transform_name='s,x,x,' -+psdir='${docdir}' -+sbindir='${exec_prefix}/sbin' -+sharedstatedir='${prefix}/com' -+sysconfdir='${prefix}/etc' -+target_alias='' -+ -+## ----------- ## -+## confdefs.h. ## -+## ----------- ## -+ -+/* confdefs.h */ -+#define PACKAGE_NAME "" -+#define PACKAGE_TARNAME "" -+#define PACKAGE_VERSION "" -+#define PACKAGE_STRING "" -+#define PACKAGE_BUGREPORT "" -+#define PACKAGE_URL "" -+#define PACKAGE "gpsd" -+#define VERSION "2.39" -+#define STDC_HEADERS 1 -+#define HAVE_SYS_TYPES_H 1 -+#define HAVE_SYS_STAT_H 1 -+#define HAVE_STDLIB_H 1 -+#define HAVE_STRING_H 1 -+#define HAVE_MEMORY_H 1 -+#define HAVE_STRINGS_H 1 -+#define HAVE_INTTYPES_H 1 -+#define HAVE_STDINT_H 1 -+#define HAVE_UNISTD_H 1 -+#define HAVE_DLFCN_H 1 -+#define LT_OBJDIR ".libs/" -+#define SIZEOF_CHAR 1 -+#define SIZEOF_SHORT 2 -+#define SIZEOF_INT 4 -+#define SIZEOF_LONG 4 -+#define SIZEOF_LONG_LONG 8 -+#define SIZEOF_FLOAT 4 -+#define SIZEOF_DOUBLE 8 -+#define HAVE_ALLOCA_H 1 -+#define HAVE_ALLOCA 1 -+#define STDC_HEADERS 1 -+#define HAVE_SYS_TERMIOS_H 1 -+#define HAVE_SYS_SELECT_H 1 -+#define HAVE_SYS_TIME_H 1 -+#define HAVE_SYS_IPC_H 1 -+#define HAVE_SYS_SHM_H 1 -+#define HAVE_SYS_SOCKET_H 1 -+#define HAVE_ARPA_INET_H 1 -+#define HAVE_NETINET_IN_SYSTM_H 1 -+#define HAVE_NETINET_IN_H 1 -+#define HAVE_NETINET_TCP_H 1 -+#define HAVE_TERMIOS_H 1 -+#define HAVE_STRINGS_H 1 -+#define HAVE_GETOPT_H 1 -+#define HAVE_NETDB_H 1 -+#define HAVE_SETLOCALE 1 -+#define HAVE_VSNPRINTF 1 -+#define TIME_WITH_SYS_TIME 1 -+#define HAVE_STRUCT_TM_TM_ZONE 1 -+#define HAVE_TM_ZONE 1 -+#define HAVE_TIMEZONE /**/ -+#define HAVE_DAYLIGHT 1 -+#define HAVE_LIBPTHREAD /**/ -+#define HAVE_NCURSES_H 1 -+#define NMEA_ENABLE 1 -+#define SIRF_ENABLE 1 -+#define SUPERSTAR2_ENABLE 1 -+#define TSIP_ENABLE 1 -+#define FV18_ENABLE 1 -+#define NMEA_ENABLE 1 -+#define TRIPMATE_ENABLE 1 -+#define EARTHMATE_ENABLE 1 -+#define ITRAX_ENABLE 1 -+#define ASHTECH_ENABLE 1 -+#define NAVCOM_ENABLE 1 -+#define GARMIN_ENABLE 1 -+#define UBX_ENABLE 1 -+#define EVERMORE_ENABLE 1 -+#define MKT3301_ENABLE 1 -+#define NMEA_ENABLE 1 -+#define GPSCLOCK_ENABLE 1 -+#define RTCM104V2_ENABLE 1 -+#define RTCM104V3_ENABLE 1 -+#define NTRIP_ENABLE 1 -+#define AIVDM_ENABLE 1 -+#define NTPSHM_ENABLE 1 -+#define PPS_ENABLE 1 -+#define ALLOW_RECONFIGURE 1 -+#define ALLOW_CONTROLSEND 1 -+ -+configure: exit 0 -diff -Nur gpsd-2.39.orig/config.status gpsd-2.39/config.status ---- gpsd-2.39.orig/config.status 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/config.status 2010-02-18 21:44:18.568855580 +0100 -@@ -0,0 +1,2358 @@ -+#! /bin/bash -+# Generated by configure. -+# Run this file to recreate the current configuration. -+# Compiler output produced by configure, useful for debugging -+# configure, is in config.log if it exists. -+ -+debug=false -+ac_cs_recheck=false -+ac_cs_silent=false -+ -+SHELL=${CONFIG_SHELL-/bin/bash} -+export SHELL -+## -------------------- ## -+## M4sh Initialization. ## -+## -------------------- ## -+ -+# Be more Bourne compatible -+DUALCASE=1; export DUALCASE # for MKS sh -+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : -+ emulate sh -+ NULLCMD=: -+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which -+ # is contrary to our usage. Disable this feature. -+ alias -g '${1+"$@"}'='"$@"' -+ setopt NO_GLOB_SUBST -+else -+ case `(set -o) 2>/dev/null` in #( -+ *posix*) : -+ set -o posix ;; #( -+ *) : -+ ;; -+esac -+fi -+ -+ -+as_nl=' -+' -+export as_nl -+# Printing a long string crashes Solaris 7 /usr/bin/printf. -+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -+# Prefer a ksh shell builtin over an external printf program on Solaris, -+# but without wasting forks for bash or zsh. -+if test -z "$BASH_VERSION$ZSH_VERSION" \ -+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then -+ as_echo='print -r --' -+ as_echo_n='print -rn --' -+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then -+ as_echo='printf %s\n' -+ as_echo_n='printf %s' -+else -+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then -+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' -+ as_echo_n='/usr/ucb/echo -n' -+ else -+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' -+ as_echo_n_body='eval -+ arg=$1; -+ case $arg in #( -+ *"$as_nl"*) -+ expr "X$arg" : "X\\(.*\\)$as_nl"; -+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; -+ esac; -+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" -+ ' -+ export as_echo_n_body -+ as_echo_n='sh -c $as_echo_n_body as_echo' -+ fi -+ export as_echo_body -+ as_echo='sh -c $as_echo_body as_echo' -+fi -+ -+# The user is always right. -+if test "${PATH_SEPARATOR+set}" != set; then -+ PATH_SEPARATOR=: -+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { -+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || -+ PATH_SEPARATOR=';' -+ } -+fi -+ -+ -+# IFS -+# We need space, tab and new line, in precisely that order. Quoting is -+# there to prevent editors from complaining about space-tab. -+# (If _AS_PATH_WALK were called with IFS unset, it would disable word -+# splitting by setting IFS to empty value.) -+IFS=" "" $as_nl" -+ -+# Find who we are. Look in the path if we contain no directory separator. -+case $0 in #(( -+ *[\\/]* ) as_myself=$0 ;; -+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -+ done -+IFS=$as_save_IFS -+ -+ ;; -+esac -+# We did not find ourselves, most probably we were run as `sh COMMAND' -+# in which case we are not to be found in the path. -+if test "x$as_myself" = x; then -+ as_myself=$0 -+fi -+if test ! -f "$as_myself"; then -+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 -+ exit 1 -+fi -+ -+# Unset variables that we do not need and which cause bugs (e.g. in -+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -+# suppresses any "Segmentation fault" message there. '((' could -+# trigger a bug in pdksh 5.2.14. -+for as_var in BASH_ENV ENV MAIL MAILPATH -+do eval test x\${$as_var+set} = xset \ -+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -+done -+PS1='$ ' -+PS2='> ' -+PS4='+ ' -+ -+# NLS nuisances. -+LC_ALL=C -+export LC_ALL -+LANGUAGE=C -+export LANGUAGE -+ -+# CDPATH. -+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH -+ -+ -+# as_fn_error ERROR [LINENO LOG_FD] -+# --------------------------------- -+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -+# script with status $?, using 1 if that was 0. -+as_fn_error () -+{ -+ as_status=$?; test $as_status -eq 0 && as_status=1 -+ if test "$3"; then -+ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 -+ fi -+ $as_echo "$as_me: error: $1" >&2 -+ as_fn_exit $as_status -+} # as_fn_error -+ -+ -+# as_fn_set_status STATUS -+# ----------------------- -+# Set $? to STATUS, without forking. -+as_fn_set_status () -+{ -+ return $1 -+} # as_fn_set_status -+ -+# as_fn_exit STATUS -+# ----------------- -+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -+as_fn_exit () -+{ -+ set +e -+ as_fn_set_status $1 -+ exit $1 -+} # as_fn_exit -+ -+# as_fn_unset VAR -+# --------------- -+# Portably unset VAR. -+as_fn_unset () -+{ -+ { eval $1=; unset $1;} -+} -+as_unset=as_fn_unset -+# as_fn_append VAR VALUE -+# ---------------------- -+# Append the text in VALUE to the end of the definition contained in VAR. Take -+# advantage of any shell optimizations that allow amortized linear growth over -+# repeated appends, instead of the typical quadratic growth present in naive -+# implementations. -+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : -+ eval 'as_fn_append () -+ { -+ eval $1+=\$2 -+ }' -+else -+ as_fn_append () -+ { -+ eval $1=\$$1\$2 -+ } -+fi # as_fn_append -+ -+# as_fn_arith ARG... -+# ------------------ -+# Perform arithmetic evaluation on the ARGs, and store the result in the -+# global $as_val. Take advantage of shells that can avoid forks. The arguments -+# must be portable across $(()) and expr. -+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : -+ eval 'as_fn_arith () -+ { -+ as_val=$(( $* )) -+ }' -+else -+ as_fn_arith () -+ { -+ as_val=`expr "$@" || test $? -eq 1` -+ } -+fi # as_fn_arith -+ -+ -+if expr a : '\(a\)' >/dev/null 2>&1 && -+ test "X`expr 00001 : '.*\(...\)'`" = X001; then -+ as_expr=expr -+else -+ as_expr=false -+fi -+ -+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then -+ as_basename=basename -+else -+ as_basename=false -+fi -+ -+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then -+ as_dirname=dirname -+else -+ as_dirname=false -+fi -+ -+as_me=`$as_basename -- "$0" || -+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ -+ X"$0" : 'X\(//\)$' \| \ -+ X"$0" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X/"$0" | -+ sed '/^.*\/\([^/][^/]*\)\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\/\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\/\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ -+# Avoid depending upon Character Ranges. -+as_cr_letters='abcdefghijklmnopqrstuvwxyz' -+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -+as_cr_Letters=$as_cr_letters$as_cr_LETTERS -+as_cr_digits='0123456789' -+as_cr_alnum=$as_cr_Letters$as_cr_digits -+ -+ECHO_C= ECHO_N= ECHO_T= -+case `echo -n x` in #((((( -+-n*) -+ case `echo 'xy\c'` in -+ *c*) ECHO_T=' ';; # ECHO_T is single tab character. -+ xy) ECHO_C='\c';; -+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null -+ ECHO_T=' ';; -+ esac;; -+*) -+ ECHO_N='-n';; -+esac -+ -+rm -f conf$$ conf$$.exe conf$$.file -+if test -d conf$$.dir; then -+ rm -f conf$$.dir/conf$$.file -+else -+ rm -f conf$$.dir -+ mkdir conf$$.dir 2>/dev/null -+fi -+if (echo >conf$$.file) 2>/dev/null; then -+ if ln -s conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s='ln -s' -+ # ... but there are two gotchas: -+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. -+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. -+ # In both cases, we have to default to `cp -p'. -+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || -+ as_ln_s='cp -p' -+ elif ln conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s=ln -+ else -+ as_ln_s='cp -p' -+ fi -+else -+ as_ln_s='cp -p' -+fi -+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -+rmdir conf$$.dir 2>/dev/null -+ -+ -+# as_fn_mkdir_p -+# ------------- -+# Create "$as_dir" as a directory, including parents if necessary. -+as_fn_mkdir_p () -+{ -+ -+ case $as_dir in #( -+ -*) as_dir=./$as_dir;; -+ esac -+ test -d "$as_dir" || eval $as_mkdir_p || { -+ as_dirs= -+ while :; do -+ case $as_dir in #( -+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( -+ *) as_qdir=$as_dir;; -+ esac -+ as_dirs="'$as_qdir' $as_dirs" -+ as_dir=`$as_dirname -- "$as_dir" || -+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$as_dir" : 'X\(//\)[^/]' \| \ -+ X"$as_dir" : 'X\(//\)$' \| \ -+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$as_dir" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ test -d "$as_dir" && break -+ done -+ test -z "$as_dirs" || eval "mkdir $as_dirs" -+ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" -+ -+ -+} # as_fn_mkdir_p -+if mkdir -p . 2>/dev/null; then -+ as_mkdir_p='mkdir -p "$as_dir"' -+else -+ test -d ./-p && rmdir ./-p -+ as_mkdir_p=false -+fi -+ -+if test -x / >/dev/null 2>&1; then -+ as_test_x='test -x' -+else -+ if ls -dL / >/dev/null 2>&1; then -+ as_ls_L_option=L -+ else -+ as_ls_L_option= -+ fi -+ as_test_x=' -+ eval sh -c '\'' -+ if test -d "$1"; then -+ test -d "$1/."; -+ else -+ case $1 in #( -+ -*)set "./$1";; -+ esac; -+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( -+ ???[sx]*):;;*)false;;esac;fi -+ '\'' sh -+ ' -+fi -+as_executable_p=$as_test_x -+ -+# Sed expression to map a string onto a valid CPP name. -+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" -+ -+# Sed expression to map a string onto a valid variable name. -+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" -+ -+ -+exec 6>&1 -+## ----------------------------------- ## -+## Main body of $CONFIG_STATUS script. ## -+## ----------------------------------- ## -+# Save the log message, to keep $0 and so on meaningful, and to -+# report actual input values of CONFIG_FILES etc. instead of their -+# values after options handling. -+ac_log=" -+This file was extended by $as_me, which was -+generated by GNU Autoconf 2.65. Invocation command line was -+ -+ CONFIG_FILES = $CONFIG_FILES -+ CONFIG_HEADERS = $CONFIG_HEADERS -+ CONFIG_LINKS = $CONFIG_LINKS -+ CONFIG_COMMANDS = $CONFIG_COMMANDS -+ $ $0 $@ -+ -+on `(hostname || uname -n) 2>/dev/null | sed 1q` -+" -+ -+# Files that config.status was made for. -+config_files=" Makefile packaging/gpsd.spec libgps.pc libgpsd.pc" -+config_headers=" gpsd_config.h" -+config_commands=" depfiles libtool" -+ -+ac_cs_usage="\ -+\`$as_me' instantiates files and other configuration actions -+from templates according to the current configuration. Unless the files -+and actions are specified as TAGs, all are instantiated by default. -+ -+Usage: $0 [OPTION]... [TAG]... -+ -+ -h, --help print this help, then exit -+ -V, --version print version number and configuration settings, then exit -+ --config print configuration, then exit -+ -q, --quiet, --silent -+ do not print progress messages -+ -d, --debug don't remove temporary files -+ --recheck update $as_me by reconfiguring in the same conditions -+ --file=FILE[:TEMPLATE] -+ instantiate the configuration file FILE -+ --header=FILE[:TEMPLATE] -+ instantiate the configuration header FILE -+ -+Configuration files: -+$config_files -+ -+Configuration headers: -+$config_headers -+ -+Configuration commands: -+$config_commands -+ -+Report bugs to the package provider." -+ -+ac_cs_config="" -+ac_cs_version="\ -+config.status -+configured by ./configure, generated by GNU Autoconf 2.65, -+ with options \"$ac_cs_config\" -+ -+Copyright (C) 2009 Free Software Foundation, Inc. -+This config.status script is free software; the Free Software Foundation -+gives unlimited permission to copy, distribute and modify it." -+ -+ac_pwd='/home/wbx/openadk/gpsd-2.39' -+srcdir='.' -+INSTALL='/usr/bin/install -c' -+MKDIR_P='/bin/mkdir -p' -+AWK='gawk' -+test -n "$AWK" || AWK=awk -+# The default lists apply if the user does not specify any file. -+ac_need_defaults=: -+while test $# != 0 -+do -+ case $1 in -+ --*=*) -+ ac_option=`expr "X$1" : 'X\([^=]*\)='` -+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` -+ ac_shift=: -+ ;; -+ *) -+ ac_option=$1 -+ ac_optarg=$2 -+ ac_shift=shift -+ ;; -+ esac -+ -+ case $ac_option in -+ # Handling of the options. -+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) -+ ac_cs_recheck=: ;; -+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) -+ $as_echo "$ac_cs_version"; exit ;; -+ --config | --confi | --conf | --con | --co | --c ) -+ $as_echo "$ac_cs_config"; exit ;; -+ --debug | --debu | --deb | --de | --d | -d ) -+ debug=: ;; -+ --file | --fil | --fi | --f ) -+ $ac_shift -+ case $ac_optarg in -+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; -+ esac -+ as_fn_append CONFIG_FILES " '$ac_optarg'" -+ ac_need_defaults=false;; -+ --header | --heade | --head | --hea ) -+ $ac_shift -+ case $ac_optarg in -+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; -+ esac -+ as_fn_append CONFIG_HEADERS " '$ac_optarg'" -+ ac_need_defaults=false;; -+ --he | --h) -+ # Conflict between --help and --header -+ as_fn_error "ambiguous option: \`$1' -+Try \`$0 --help' for more information.";; -+ --help | --hel | -h ) -+ $as_echo "$ac_cs_usage"; exit ;; -+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ -+ | -silent | --silent | --silen | --sile | --sil | --si | --s) -+ ac_cs_silent=: ;; -+ -+ # This is an error. -+ -*) as_fn_error "unrecognized option: \`$1' -+Try \`$0 --help' for more information." ;; -+ -+ *) as_fn_append ac_config_targets " $1" -+ ac_need_defaults=false ;; -+ -+ esac -+ shift -+done -+ -+ac_configure_extra_args= -+ -+if $ac_cs_silent; then -+ exec 6>/dev/null -+ ac_configure_extra_args="$ac_configure_extra_args --silent" -+fi -+ -+if $ac_cs_recheck; then -+ set X '/bin/bash' './configure' $ac_configure_extra_args --no-create --no-recursion -+ shift -+ $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6 -+ CONFIG_SHELL='/bin/bash' -+ export CONFIG_SHELL -+ exec "$@" -+fi -+ -+exec 5>>config.log -+{ -+ echo -+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -+## Running $as_me. ## -+_ASBOX -+ $as_echo "$ac_log" -+} >&5 -+ -+# -+# INIT-COMMANDS -+# -+AMDEP_TRUE="" ac_aux_dir="." -+ -+ -+# The HP-UX ksh and POSIX shell print the target directory to stdout -+# if CDPATH is set. -+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH -+ -+sed_quote_subst='s/\(["`$\\]\)/\\\1/g' -+double_quote_subst='s/\(["`\\]\)/\\\1/g' -+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' -+macro_version='2.2.6b' -+macro_revision='1.3017' -+enable_shared='yes' -+enable_static='yes' -+pic_mode='default' -+enable_fast_install='yes' -+host_alias='' -+host='i686-pc-linux-gnu' -+host_os='linux-gnu' -+build_alias='' -+build='i686-pc-linux-gnu' -+build_os='linux-gnu' -+SED='/bin/sed' -+Xsed='/bin/sed -e 1s/^X//' -+GREP='/bin/grep' -+EGREP='/bin/grep -E' -+FGREP='/bin/grep -F' -+LD='/usr/bin/ld' -+NM='/usr/bin/nm -B' -+LN_S='ln -s' -+max_cmd_len='1572864' -+ac_objext='o' -+exeext='' -+lt_unset='unset' -+lt_SP2NL='tr \040 \012' -+lt_NL2SP='tr \015\012 \040\040' -+reload_flag=' -r' -+reload_cmds='$LD$reload_flag -o $output$reload_objs' -+OBJDUMP='objdump' -+deplibs_check_method='pass_all' -+file_magic_cmd='$MAGIC_CMD' -+AR='ar' -+AR_FLAGS='cru' -+STRIP='strip' -+RANLIB='ranlib' -+old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib' -+old_postuninstall_cmds='' -+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib' -+CC='gcc' -+CFLAGS='-g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE ' -+compiler='g++' -+GCC='yes' -+lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\''' -+lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' -+lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' -+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' -+objdir='.libs' -+SHELL='/bin/bash' -+ECHO='echo' -+MAGIC_CMD='file' -+lt_prog_compiler_no_builtin_flag=' -fno-builtin' -+lt_prog_compiler_wl='-Wl,' -+lt_prog_compiler_pic=' -fPIC -DPIC' -+lt_prog_compiler_static='-static' -+lt_cv_prog_compiler_c_o='yes' -+need_locks='no' -+DSYMUTIL='' -+NMEDIT='' -+LIPO='' -+OTOOL='' -+OTOOL64='' -+libext='a' -+shrext_cmds='.so' -+extract_expsyms_cmds='' -+archive_cmds_need_lc='no' -+enable_shared_with_static_runtimes='no' -+export_dynamic_flag_spec='${wl}--export-dynamic' -+whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' -+compiler_needs_object='no' -+old_archive_from_new_cmds='' -+old_archive_from_expsyms_cmds='' -+archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ -+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ -+ echo "local: *; };" >> $output_objdir/$libname.ver~ -+ $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' -+module_cmds='' -+module_expsym_cmds='' -+with_gnu_ld='yes' -+allow_undefined_flag='' -+no_undefined_flag='' -+hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+hardcode_libdir_flag_spec_ld='' -+hardcode_libdir_separator='' -+hardcode_direct='no' -+hardcode_direct_absolute='no' -+hardcode_minus_L='no' -+hardcode_shlibpath_var='unsupported' -+hardcode_automatic='no' -+inherit_rpath='no' -+link_all_deplibs='no' -+fix_srcfile_path='' -+always_export_symbols='no' -+export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' -+exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' -+include_expsyms='' -+prelink_cmds='' -+file_list_spec='' -+variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH' -+need_lib_prefix='no' -+need_version='no' -+version_type='linux' -+runpath_var='LD_RUN_PATH' -+shlibpath_var='LD_LIBRARY_PATH' -+shlibpath_overrides_runpath='no' -+libname_spec='lib$name' -+library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+soname_spec='${libname}${release}${shared_ext}$major' -+postinstall_cmds='' -+postuninstall_cmds='' -+finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' -+finish_eval='' -+hardcode_into_libs='yes' -+sys_lib_search_path_spec='/usr/lib/gcc/i486-linux-gnu/4.4.3 /usr/lib /lib /usr/lib/i486-linux-gnu' -+sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/lib/mesa /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/lib/alsa-lib /usr/local/lib ' -+hardcode_action='immediate' -+enable_dlopen='unknown' -+enable_dlopen_self='unknown' -+enable_dlopen_self_static='unknown' -+old_striplib='strip --strip-debug' -+striplib='strip --strip-unneeded' -+compiler_lib_search_dirs='' -+predep_objects='' -+postdep_objects='' -+predeps='' -+postdeps='' -+compiler_lib_search_path='' -+LD_CXX='/usr/bin/ld' -+old_archive_cmds_CXX='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib' -+compiler_CXX='g++' -+GCC_CXX='yes' -+lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' -+lt_prog_compiler_wl_CXX='-Wl,' -+lt_prog_compiler_pic_CXX=' -fPIC -DPIC' -+lt_prog_compiler_static_CXX='-static' -+lt_cv_prog_compiler_c_o_CXX='yes' -+archive_cmds_need_lc_CXX='no' -+enable_shared_with_static_runtimes_CXX='no' -+export_dynamic_flag_spec_CXX='${wl}--export-dynamic' -+whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' -+compiler_needs_object_CXX='no' -+old_archive_from_new_cmds_CXX='' -+old_archive_from_expsyms_cmds_CXX='' -+archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' -+archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -+module_cmds_CXX='' -+module_expsym_cmds_CXX='' -+with_gnu_ld_CXX='yes' -+allow_undefined_flag_CXX='' -+no_undefined_flag_CXX='' -+hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' -+hardcode_libdir_flag_spec_ld_CXX='' -+hardcode_libdir_separator_CXX='' -+hardcode_direct_CXX='no' -+hardcode_direct_absolute_CXX='no' -+hardcode_minus_L_CXX='no' -+hardcode_shlibpath_var_CXX='unsupported' -+hardcode_automatic_CXX='no' -+inherit_rpath_CXX='no' -+link_all_deplibs_CXX='no' -+fix_srcfile_path_CXX='' -+always_export_symbols_CXX='no' -+export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' -+exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' -+include_expsyms_CXX='' -+prelink_cmds_CXX='' -+file_list_spec_CXX='' -+hardcode_action_CXX='immediate' -+compiler_lib_search_dirs_CXX='/usr/lib/gcc/i486-linux-gnu/4.4.3 /usr/lib/gcc/i486-linux-gnu/4.4.3 /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib /lib/../lib /usr/lib/../lib /usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. /usr/lib/i486-linux-gnu' -+predep_objects_CXX='/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.4.3/crtbeginS.o' -+postdep_objects_CXX='/usr/lib/gcc/i486-linux-gnu/4.4.3/crtendS.o /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crtn.o' -+predeps_CXX='' -+postdeps_CXX='-lstdc++ -lm -lgcc_s -lc -lgcc_s' -+compiler_lib_search_path_CXX='-L/usr/lib/gcc/i486-linux-gnu/4.4.3 -L/usr/lib/gcc/i486-linux-gnu/4.4.3 -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. -L/usr/lib/i486-linux-gnu' -+ -+LTCC='gcc' -+LTCFLAGS='-g -O2' -+compiler='gcc' -+ -+# Quote evaled strings. -+for var in SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag OBJDUMP deplibs_check_method file_magic_cmd AR AR_FLAGS STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix SHELL ECHO lt_prog_compiler_no_builtin_flag lt_prog_compiler_wl lt_prog_compiler_pic lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_flag_spec_ld hardcode_libdir_separator fix_srcfile_path exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec finish_eval old_striplib striplib compiler_lib_search_dirs predep_objects postdep_objects predeps postdeps compiler_lib_search_path LD_CXX compiler_CXX lt_prog_compiler_no_builtin_flag_CXX lt_prog_compiler_wl_CXX lt_prog_compiler_pic_CXX lt_prog_compiler_static_CXX lt_cv_prog_compiler_c_o_CXX export_dynamic_flag_spec_CXX whole_archive_flag_spec_CXX compiler_needs_object_CXX with_gnu_ld_CXX allow_undefined_flag_CXX no_undefined_flag_CXX hardcode_libdir_flag_spec_CXX hardcode_libdir_flag_spec_ld_CXX hardcode_libdir_separator_CXX fix_srcfile_path_CXX exclude_expsyms_CXX include_expsyms_CXX file_list_spec_CXX compiler_lib_search_dirs_CXX predep_objects_CXX postdep_objects_CXX predeps_CXX postdeps_CXX compiler_lib_search_path_CXX; do -+ case `eval \\$ECHO "X\\$$var"` in -+ *[\\\`\"\$]*) -+ eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" -+ ;; -+ *) -+ eval "lt_$var=\\\"\$$var\\\"" -+ ;; -+ esac -+done -+ -+# Double-quote double-evaled strings. -+for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec old_archive_cmds_CXX old_archive_from_new_cmds_CXX old_archive_from_expsyms_cmds_CXX archive_cmds_CXX archive_expsym_cmds_CXX module_cmds_CXX module_expsym_cmds_CXX export_symbols_cmds_CXX prelink_cmds_CXX; do -+ case `eval \\$ECHO "X\\$$var"` in -+ *[\\\`\"\$]*) -+ eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" -+ ;; -+ *) -+ eval "lt_$var=\\\"\$$var\\\"" -+ ;; -+ esac -+done -+ -+# Fix-up fallback echo if it was mangled by the above quoting rules. -+case $lt_ECHO in -+*'\$0 --fallback-echo"') lt_ECHO=`$ECHO "X$lt_ECHO" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` -+ ;; -+esac -+ -+ac_aux_dir='.' -+xsi_shell='yes' -+lt_shell_append='yes' -+ -+# See if we are running on zsh, and set the options which allow our -+# commands through without removal of \ escapes INIT. -+if test -n "${ZSH_VERSION+set}" ; then -+ setopt NO_GLOB_SUBST -+fi -+ -+ -+ PACKAGE='gpsd' -+ VERSION='2.39' -+ TIMESTAMP='' -+ RM='rm -f' -+ ofile='libtool' -+ -+ -+ -+ -+ -+ -+ -+# Handling of arguments. -+for ac_config_target in $ac_config_targets -+do -+ case $ac_config_target in -+ "gpsd_config.h") CONFIG_HEADERS="$CONFIG_HEADERS gpsd_config.h" ;; -+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; -+ "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; -+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; -+ "packaging/gpsd.spec") CONFIG_FILES="$CONFIG_FILES packaging/gpsd.spec" ;; -+ "libgps.pc") CONFIG_FILES="$CONFIG_FILES libgps.pc" ;; -+ "libgpsd.pc") CONFIG_FILES="$CONFIG_FILES libgpsd.pc" ;; -+ -+ *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; -+ esac -+done -+ -+ -+# If the user did not use the arguments to specify the items to instantiate, -+# then the envvar interface is used. Set only those that are not. -+# We use the long form for the default assignment because of an extremely -+# bizarre bug on SunOS 4.1.3. -+if $ac_need_defaults; then -+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files -+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers -+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -+fi -+ -+# Have a temporary directory for convenience. Make it in the build tree -+# simply because there is no reason against having it here, and in addition, -+# creating and moving files from /tmp can sometimes cause problems. -+# Hook for its removal unless debugging. -+# Note that there is a small window in which the directory will not be cleaned: -+# after its creation but before its name has been assigned to `$tmp'. -+$debug || -+{ -+ tmp= -+ trap 'exit_status=$? -+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status -+' 0 -+ trap 'as_fn_exit 1' 1 2 13 15 -+} -+# Create a (secure) tmp directory for tmp files. -+ -+{ -+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && -+ test -n "$tmp" && test -d "$tmp" -+} || -+{ -+ tmp=./conf$$-$RANDOM -+ (umask 077 && mkdir "$tmp") -+} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 -+ -+# Set up the scripts for CONFIG_FILES section. -+# No need to generate them if there are no CONFIG_FILES. -+# This happens for instance with `./config.status config.h'. -+if test -n "$CONFIG_FILES"; then -+ -+ -+ac_cr=`echo X | tr X '\015'` -+# On cygwin, bash can eat \r inside `` if the user requested igncr. -+# But we know of no other shell where ac_cr would be empty at this -+# point, so we can use a bashism as a fallback. -+if test "x$ac_cr" = x; then -+ eval ac_cr=\$\'\\r\' -+fi -+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` -+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then -+ ac_cs_awk_cr='\r' -+else -+ ac_cs_awk_cr=$ac_cr -+fi -+ -+echo 'BEGIN {' >"$tmp/subs1.awk" && -+cat >>"$tmp/subs1.awk" <<\_ACAWK && -+S["am__EXEEXT_FALSE"]="" -+S["am__EXEEXT_TRUE"]="#" -+S["LTLIBOBJS"]="" -+S["LIBOBJS"]="" -+S["MANFLAGS"]="--nonet" -+S["MANTARGET"]="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" -+S["MANGENERATOR"]="xsltproc" -+S["HAVE_XSLT_PROCESSOR_FALSE"]="#" -+S["HAVE_XSLT_PROCESSOR_TRUE"]="" -+S["WITH_XMLTO"]="" -+S["WITH_XSLTPROC"]="yes" -+S["HAVE_DBUS_FALSE"]="" -+S["HAVE_DBUS_TRUE"]="#" -+S["DBUS_GLIB_LIBS"]="" -+S["DBUS_GLIB_CFLAGS"]="" -+S["DBUS_LIBS"]="" -+S["DBUS_CFLAGS"]="" -+S["HAVE_NTRIP_FALSE"]="#" -+S["HAVE_NTRIP_TRUE"]="" -+S["HAVE_RTCM104V3_FALSE"]="#" -+S["HAVE_RTCM104V3_TRUE"]="" -+S["HAVE_RTCM104V2_FALSE"]="#" -+S["HAVE_RTCM104V2_TRUE"]="" -+S["HAVE_NCURSES_FALSE"]="#" -+S["HAVE_NCURSES_TRUE"]="" -+S["NCURSES_LIBS"]="-lncurses" -+S["HAVE_MOTIF_FALSE"]="" -+S["HAVE_MOTIF_TRUE"]="#" -+S["XM_LIBS"]="" -+S["XP_LIBS"]="" -+S["XPM_LIBS"]="" -+S["XEXT_LIBS"]="-lXext" -+S["HAVE_XAW_FALSE"]="" -+S["HAVE_XAW_TRUE"]="#" -+S["XAW_LIBS"]="" -+S["XT_LIBS"]="-lXt" -+S["X11_LIBS"]="" -+S["X_EXTRA_LIBS"]="" -+S["X_LIBS"]="" -+S["X_PRE_LIBS"]=" -lSM -lICE" -+S["X_CFLAGS"]="" -+S["XMKMF"]="" -+S["LIBPTHREAD"]="-lpthread" -+S["LIBC"]="-lc" -+S["LIBM"]="-lm" -+S["LIBSOCKET"]="" -+S["LIBNSL"]="-lnsl" -+S["ALLOCA"]="" -+S["CXXCPP"]="g++ -E" -+S["am__fastdepCXX_FALSE"]="#" -+S["am__fastdepCXX_TRUE"]="" -+S["CXXDEPMODE"]="depmode=gcc3" -+S["ac_ct_CXX"]="g++" -+S["CXXFLAGS"]="-g -O2" -+S["CXX"]="g++" -+S["CPP"]="gcc -E" -+S["OTOOL64"]="" -+S["OTOOL"]="" -+S["LIPO"]="" -+S["NMEDIT"]="" -+S["DSYMUTIL"]="" -+S["lt_ECHO"]="echo" -+S["RANLIB"]="ranlib" -+S["AR"]="ar" -+S["OBJDUMP"]="objdump" -+S["NM"]="/usr/bin/nm -B" -+S["ac_ct_DUMPBIN"]="" -+S["DUMPBIN"]="" -+S["LD"]="/usr/bin/ld" -+S["FGREP"]="/bin/grep -F" -+S["EGREP"]="/bin/grep -E" -+S["GREP"]="/bin/grep" -+S["SED"]="/bin/sed" -+S["am__fastdepCC_FALSE"]="#" -+S["am__fastdepCC_TRUE"]="" -+S["CCDEPMODE"]="depmode=gcc3" -+S["AMDEPBACKSLASH"]="\\" -+S["AMDEP_FALSE"]="#" -+S["AMDEP_TRUE"]="" -+S["am__quote"]="" -+S["am__include"]="include" -+S["DEPDIR"]=".deps" -+S["OBJEXT"]="o" -+S["EXEEXT"]="" -+S["ac_ct_CC"]="gcc" -+S["CPPFLAGS"]=" " -+S["LDFLAGS"]=" " -+S["CFLAGS"]="-g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE " -+S["CC"]="gcc" -+S["host_os"]="linux-gnu" -+S["host_vendor"]="pc" -+S["host_cpu"]="i686" -+S["host"]="i686-pc-linux-gnu" -+S["build_os"]="linux-gnu" -+S["build_vendor"]="pc" -+S["build_cpu"]="i686" -+S["build"]="i686-pc-linux-gnu" -+S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool" -+S["LN_S"]="ln -s" -+S["am__untar"]="${AMTAR} xf -" -+S["am__tar"]="${AMTAR} chof - \"$$tardir\"" -+S["AMTAR"]="${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run tar" -+S["am__leading_dot"]="." -+S["SET_MAKE"]="" -+S["AWK"]="gawk" -+S["mkdir_p"]="/bin/mkdir -p" -+S["MKDIR_P"]="/bin/mkdir -p" -+S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" -+S["STRIP"]="strip" -+S["install_sh"]="${SHELL} /home/wbx/openadk/gpsd-2.39/install-sh" -+S["MAKEINFO"]="${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run makeinfo" -+S["AUTOHEADER"]="${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run autoheader" -+S["AUTOMAKE"]="${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run automake-1.11" -+S["AUTOCONF"]="${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run autoconf" -+S["ACLOCAL"]="${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run aclocal-1.11" -+S["VERSION"]="2.39" -+S["PACKAGE"]="gpsd" -+S["CYGPATH_W"]="echo" -+S["am__isrc"]="" -+S["INSTALL_DATA"]="${INSTALL} -m 644" -+S["INSTALL_SCRIPT"]="${INSTALL}" -+S["INSTALL_PROGRAM"]="${INSTALL}" -+S["target_alias"]="" -+S["host_alias"]="" -+S["build_alias"]="" -+S["LIBS"]=" " -+S["ECHO_T"]="" -+S["ECHO_N"]="-n" -+S["ECHO_C"]="" -+S["DEFS"]="-DHAVE_CONFIG_H" -+S["mandir"]="${datarootdir}/man" -+S["localedir"]="${datarootdir}/locale" -+S["libdir"]="${exec_prefix}/lib" -+S["psdir"]="${docdir}" -+S["pdfdir"]="${docdir}" -+S["dvidir"]="${docdir}" -+S["htmldir"]="${docdir}" -+S["infodir"]="${datarootdir}/info" -+S["docdir"]="${datarootdir}/doc/${PACKAGE}" -+S["oldincludedir"]="/usr/include" -+S["includedir"]="${prefix}/include" -+S["localstatedir"]="${prefix}/var" -+S["sharedstatedir"]="${prefix}/com" -+S["sysconfdir"]="${prefix}/etc" -+S["datadir"]="${datarootdir}" -+S["datarootdir"]="${prefix}/share" -+S["libexecdir"]="${exec_prefix}/libexec" -+S["sbindir"]="${exec_prefix}/sbin" -+S["bindir"]="${exec_prefix}/bin" -+S["program_transform_name"]="s,x,x," -+S["prefix"]="/usr/local" -+S["exec_prefix"]="${prefix}" -+S["PACKAGE_URL"]="" -+S["PACKAGE_BUGREPORT"]="" -+S["PACKAGE_STRING"]="" -+S["PACKAGE_VERSION"]="" -+S["PACKAGE_TARNAME"]="" -+S["PACKAGE_NAME"]="" -+S["PATH_SEPARATOR"]=":" -+S["SHELL"]="/bin/bash" -+_ACAWK -+cat >>"$tmp/subs1.awk" <<_ACAWK && -+ for (key in S) S_is_set[key] = 1 -+ FS = "" -+ -+} -+{ -+ line = $ 0 -+ nfields = split(line, field, "@") -+ substed = 0 -+ len = length(field[1]) -+ for (i = 2; i < nfields; i++) { -+ key = field[i] -+ keylen = length(key) -+ if (S_is_set[key]) { -+ value = S[key] -+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) -+ len += length(value) + length(field[++i]) -+ substed = 1 -+ } else -+ len += 1 + keylen -+ } -+ -+ print line -+} -+ -+_ACAWK -+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then -+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -+else -+ cat -+fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ -+ || as_fn_error "could not setup config files machinery" "$LINENO" 5 -+fi # test -n "$CONFIG_FILES" -+ -+# Set up the scripts for CONFIG_HEADERS section. -+# No need to generate them if there are no CONFIG_HEADERS. -+# This happens for instance with `./config.status Makefile'. -+if test -n "$CONFIG_HEADERS"; then -+cat >"$tmp/defines.awk" <<\_ACAWK || -+BEGIN { -+D["PACKAGE_NAME"]=" \"\"" -+D["PACKAGE_TARNAME"]=" \"\"" -+D["PACKAGE_VERSION"]=" \"\"" -+D["PACKAGE_STRING"]=" \"\"" -+D["PACKAGE_BUGREPORT"]=" \"\"" -+D["PACKAGE_URL"]=" \"\"" -+D["PACKAGE"]=" \"gpsd\"" -+D["VERSION"]=" \"2.39\"" -+D["STDC_HEADERS"]=" 1" -+D["HAVE_SYS_TYPES_H"]=" 1" -+D["HAVE_SYS_STAT_H"]=" 1" -+D["HAVE_STDLIB_H"]=" 1" -+D["HAVE_STRING_H"]=" 1" -+D["HAVE_MEMORY_H"]=" 1" -+D["HAVE_STRINGS_H"]=" 1" -+D["HAVE_INTTYPES_H"]=" 1" -+D["HAVE_STDINT_H"]=" 1" -+D["HAVE_UNISTD_H"]=" 1" -+D["HAVE_DLFCN_H"]=" 1" -+D["LT_OBJDIR"]=" \".libs/\"" -+D["SIZEOF_CHAR"]=" 1" -+D["SIZEOF_SHORT"]=" 2" -+D["SIZEOF_INT"]=" 4" -+D["SIZEOF_LONG"]=" 4" -+D["SIZEOF_LONG_LONG"]=" 8" -+D["SIZEOF_FLOAT"]=" 4" -+D["SIZEOF_DOUBLE"]=" 8" -+D["HAVE_ALLOCA_H"]=" 1" -+D["HAVE_ALLOCA"]=" 1" -+D["STDC_HEADERS"]=" 1" -+D["HAVE_SYS_TERMIOS_H"]=" 1" -+D["HAVE_SYS_SELECT_H"]=" 1" -+D["HAVE_SYS_TIME_H"]=" 1" -+D["HAVE_SYS_IPC_H"]=" 1" -+D["HAVE_SYS_SHM_H"]=" 1" -+D["HAVE_SYS_SOCKET_H"]=" 1" -+D["HAVE_ARPA_INET_H"]=" 1" -+D["HAVE_NETINET_IN_SYSTM_H"]=" 1" -+D["HAVE_NETINET_IN_H"]=" 1" -+D["HAVE_NETINET_TCP_H"]=" 1" -+D["HAVE_TERMIOS_H"]=" 1" -+D["HAVE_STRINGS_H"]=" 1" -+D["HAVE_GETOPT_H"]=" 1" -+D["HAVE_NETDB_H"]=" 1" -+D["HAVE_SETLOCALE"]=" 1" -+D["HAVE_VSNPRINTF"]=" 1" -+D["TIME_WITH_SYS_TIME"]=" 1" -+D["HAVE_STRUCT_TM_TM_ZONE"]=" 1" -+D["HAVE_TM_ZONE"]=" 1" -+D["HAVE_TIMEZONE"]=" /**/" -+D["HAVE_DAYLIGHT"]=" 1" -+D["HAVE_LIBPTHREAD"]=" /**/" -+D["HAVE_NCURSES_H"]=" 1" -+D["NMEA_ENABLE"]=" 1" -+D["SIRF_ENABLE"]=" 1" -+D["SUPERSTAR2_ENABLE"]=" 1" -+D["TSIP_ENABLE"]=" 1" -+D["FV18_ENABLE"]=" 1" -+D["NMEA_ENABLE"]=" 1" -+D["TRIPMATE_ENABLE"]=" 1" -+D["EARTHMATE_ENABLE"]=" 1" -+D["ITRAX_ENABLE"]=" 1" -+D["ASHTECH_ENABLE"]=" 1" -+D["NAVCOM_ENABLE"]=" 1" -+D["GARMIN_ENABLE"]=" 1" -+D["UBX_ENABLE"]=" 1" -+D["EVERMORE_ENABLE"]=" 1" -+D["MKT3301_ENABLE"]=" 1" -+D["NMEA_ENABLE"]=" 1" -+D["GPSCLOCK_ENABLE"]=" 1" -+D["RTCM104V2_ENABLE"]=" 1" -+D["RTCM104V3_ENABLE"]=" 1" -+D["NTRIP_ENABLE"]=" 1" -+D["AIVDM_ENABLE"]=" 1" -+D["NTPSHM_ENABLE"]=" 1" -+D["PPS_ENABLE"]=" 1" -+D["ALLOW_RECONFIGURE"]=" 1" -+D["ALLOW_CONTROLSEND"]=" 1" -+ for (key in D) D_is_set[key] = 1 -+ FS = "" -+} -+/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { -+ line = $ 0 -+ split(line, arg, " ") -+ if (arg[1] == "#") { -+ defundef = arg[2] -+ mac1 = arg[3] -+ } else { -+ defundef = substr(arg[1], 2) -+ mac1 = arg[2] -+ } -+ split(mac1, mac2, "(") #) -+ macro = mac2[1] -+ prefix = substr(line, 1, index(line, defundef) - 1) -+ if (D_is_set[macro]) { -+ # Preserve the white space surrounding the "#". -+ print prefix "define", macro P[macro] D[macro] -+ next -+ } else { -+ # Replace #undef with comments. This is necessary, for example, -+ # in the case of _POSIX_SOURCE, which is predefined and required -+ # on some systems where configure will not decide to define it. -+ if (defundef == "undef") { -+ print "/*", prefix defundef, macro, "*/" -+ next -+ } -+ } -+} -+{ print } -+_ACAWK -+ as_fn_error "could not setup config headers machinery" "$LINENO" 5 -+fi # test -n "$CONFIG_HEADERS" -+ -+ -+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" -+shift -+for ac_tag -+do -+ case $ac_tag in -+ :[FHLC]) ac_mode=$ac_tag; continue;; -+ esac -+ case $ac_mode$ac_tag in -+ :[FHL]*:*);; -+ :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; -+ :[FH]-) ac_tag=-:-;; -+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; -+ esac -+ ac_save_IFS=$IFS -+ IFS=: -+ set x $ac_tag -+ IFS=$ac_save_IFS -+ shift -+ ac_file=$1 -+ shift -+ -+ case $ac_mode in -+ :L) ac_source=$1;; -+ :[FH]) -+ ac_file_inputs= -+ for ac_f -+ do -+ case $ac_f in -+ -) ac_f="$tmp/stdin";; -+ *) # Look for the file first in the build tree, then in the source tree -+ # (if the path is not absolute). The absolute path cannot be DOS-style, -+ # because $ac_f cannot contain `:'. -+ test -f "$ac_f" || -+ case $ac_f in -+ [\\/$]*) false;; -+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; -+ esac || -+ as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; -+ esac -+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac -+ as_fn_append ac_file_inputs " '$ac_f'" -+ done -+ -+ # Let's still pretend it is `configure' which instantiates (i.e., don't -+ # use $as_me), people would be surprised to read: -+ # /* config.h. Generated by config.status. */ -+ configure_input='Generated from '` -+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' -+ `' by configure.' -+ if test x"$ac_file" != x-; then -+ configure_input="$ac_file. $configure_input" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -+$as_echo "$as_me: creating $ac_file" >&6;} -+ fi -+ # Neutralize special characters interpreted by sed in replacement strings. -+ case $configure_input in #( -+ *\&* | *\|* | *\\* ) -+ ac_sed_conf_input=`$as_echo "$configure_input" | -+ sed 's/[\\\\&|]/\\\\&/g'`;; #( -+ *) ac_sed_conf_input=$configure_input;; -+ esac -+ -+ case $ac_tag in -+ *:-:* | *:-) cat >"$tmp/stdin" \ -+ || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; -+ esac -+ ;; -+ esac -+ -+ ac_dir=`$as_dirname -- "$ac_file" || -+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$ac_file" : 'X\(//\)[^/]' \| \ -+ X"$ac_file" : 'X\(//\)$' \| \ -+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$ac_file" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ as_dir="$ac_dir"; as_fn_mkdir_p -+ ac_builddir=. -+ -+case "$ac_dir" in -+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -+*) -+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` -+ # A ".." for each directory in $ac_dir_suffix. -+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` -+ case $ac_top_builddir_sub in -+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; -+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; -+ esac ;; -+esac -+ac_abs_top_builddir=$ac_pwd -+ac_abs_builddir=$ac_pwd$ac_dir_suffix -+# for backward compatibility: -+ac_top_builddir=$ac_top_build_prefix -+ -+case $srcdir in -+ .) # We are building in place. -+ ac_srcdir=. -+ ac_top_srcdir=$ac_top_builddir_sub -+ ac_abs_top_srcdir=$ac_pwd ;; -+ [\\/]* | ?:[\\/]* ) # Absolute name. -+ ac_srcdir=$srcdir$ac_dir_suffix; -+ ac_top_srcdir=$srcdir -+ ac_abs_top_srcdir=$srcdir ;; -+ *) # Relative name. -+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix -+ ac_top_srcdir=$ac_top_build_prefix$srcdir -+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -+esac -+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix -+ -+ -+ case $ac_mode in -+ :F) -+ # -+ # CONFIG_FILE -+ # -+ -+ case $INSTALL in -+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; -+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; -+ esac -+ ac_MKDIR_P=$MKDIR_P -+ case $MKDIR_P in -+ [\\/$]* | ?:[\\/]* ) ;; -+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; -+ esac -+# If the template does not know about datarootdir, expand it. -+# FIXME: This hack should be removed a few years after 2.60. -+ac_datarootdir_hack=; ac_datarootdir_seen= -+ac_sed_dataroot=' -+/datarootdir/ { -+ p -+ q -+} -+/@datadir@/p -+/@docdir@/p -+/@infodir@/p -+/@localedir@/p -+/@mandir@/p' -+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -+*datarootdir*) ac_datarootdir_seen=yes;; -+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -+ ac_datarootdir_hack=' -+ s&@datadir@&${datarootdir}&g -+ s&@docdir@&${datarootdir}/doc/${PACKAGE}&g -+ s&@infodir@&${datarootdir}/info&g -+ s&@localedir@&${datarootdir}/locale&g -+ s&@mandir@&${datarootdir}/man&g -+ s&\${datarootdir}&${prefix}/share&g' ;; -+esac -+ac_sed_extra="/^[ ]*VPATH[ ]*=/{ -+s/:*\$(srcdir):*/:/ -+s/:*\${srcdir}:*/:/ -+s/:*@srcdir@:*/:/ -+s/^\([^=]*=[ ]*\):*/\1/ -+s/:*$// -+s/^[^=]*=[ ]*$// -+} -+ -+:t -+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -+s|@configure_input@|$ac_sed_conf_input|;t t -+s&@top_builddir@&$ac_top_builddir_sub&;t t -+s&@top_build_prefix@&$ac_top_build_prefix&;t t -+s&@srcdir@&$ac_srcdir&;t t -+s&@abs_srcdir@&$ac_abs_srcdir&;t t -+s&@top_srcdir@&$ac_top_srcdir&;t t -+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -+s&@builddir@&$ac_builddir&;t t -+s&@abs_builddir@&$ac_abs_builddir&;t t -+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -+s&@INSTALL@&$ac_INSTALL&;t t -+s&@MKDIR_P@&$ac_MKDIR_P&;t t -+$ac_datarootdir_hack -+" -+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ -+ || as_fn_error "could not create $ac_file" "$LINENO" 5 -+ -+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && -+ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && -+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' -+which seems to be undefined. Please make sure it is defined." >&5 -+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -+which seems to be undefined. Please make sure it is defined." >&2;} -+ -+ rm -f "$tmp/stdin" -+ case $ac_file in -+ -) cat "$tmp/out" && rm -f "$tmp/out";; -+ *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; -+ esac \ -+ || as_fn_error "could not create $ac_file" "$LINENO" 5 -+ ;; -+ :H) -+ # -+ # CONFIG_HEADER -+ # -+ if test x"$ac_file" != x-; then -+ { -+ $as_echo "/* $configure_input */" \ -+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" -+ } >"$tmp/config.h" \ -+ || as_fn_error "could not create $ac_file" "$LINENO" 5 -+ if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -+$as_echo "$as_me: $ac_file is unchanged" >&6;} -+ else -+ rm -f "$ac_file" -+ mv "$tmp/config.h" "$ac_file" \ -+ || as_fn_error "could not create $ac_file" "$LINENO" 5 -+ fi -+ else -+ $as_echo "/* $configure_input */" \ -+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ -+ || as_fn_error "could not create -" "$LINENO" 5 -+ fi -+# Compute "$ac_file"'s index in $config_headers. -+_am_arg="$ac_file" -+_am_stamp_count=1 -+for _am_header in $config_headers :; do -+ case $_am_header in -+ $_am_arg | $_am_arg:* ) -+ break ;; -+ * ) -+ _am_stamp_count=`expr $_am_stamp_count + 1` ;; -+ esac -+done -+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || -+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$_am_arg" : 'X\(//\)[^/]' \| \ -+ X"$_am_arg" : 'X\(//\)$' \| \ -+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$_am_arg" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'`/stamp-h$_am_stamp_count -+ ;; -+ -+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -+$as_echo "$as_me: executing $ac_file commands" >&6;} -+ ;; -+ esac -+ -+ -+ case $ac_file$ac_mode in -+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || { -+ # Autoconf 2.62 quotes --file arguments for eval, but not when files -+ # are listed without --file. Let's play safe and only enable the eval -+ # if we detect the quoting. -+ case $CONFIG_FILES in -+ *\'*) eval set x "$CONFIG_FILES" ;; -+ *) set x $CONFIG_FILES ;; -+ esac -+ shift -+ for mf -+ do -+ # Strip MF so we end up with the name of the file. -+ mf=`echo "$mf" | sed -e 's/:.*$//'` -+ # Check whether this is an Automake generated Makefile or not. -+ # We used to match only the files named `Makefile.in', but -+ # some people rename them; so instead we look at the file content. -+ # Grep'ing the first line is not enough: some people post-process -+ # each Makefile.in and add a new line on top of each file to say so. -+ # Grep'ing the whole file is not good either: AIX grep has a line -+ # limit of 2048, but all sed's we know have understand at least 4000. -+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then -+ dirpart=`$as_dirname -- "$mf" || -+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$mf" : 'X\(//\)[^/]' \| \ -+ X"$mf" : 'X\(//\)$' \| \ -+ X"$mf" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$mf" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ else -+ continue -+ fi -+ # Extract the definition of DEPDIR, am__include, and am__quote -+ # from the Makefile without running `make'. -+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` -+ test -z "$DEPDIR" && continue -+ am__include=`sed -n 's/^am__include = //p' < "$mf"` -+ test -z "am__include" && continue -+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` -+ # When using ansi2knr, U may be empty or an underscore; expand it -+ U=`sed -n 's/^U = //p' < "$mf"` -+ # Find all dependency output files, they are included files with -+ # $(DEPDIR) in their names. We invoke sed twice because it is the -+ # simplest approach to changing $(DEPDIR) to its actual value in the -+ # expansion. -+ for file in `sed -n " -+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ -+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do -+ # Make sure the directory exists. -+ test -f "$dirpart/$file" && continue -+ fdir=`$as_dirname -- "$file" || -+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$file" : 'X\(//\)[^/]' \| \ -+ X"$file" : 'X\(//\)$' \| \ -+ X"$file" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$file" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ as_dir=$dirpart/$fdir; as_fn_mkdir_p -+ # echo "creating $dirpart/$file" -+ echo '# dummy' > "$dirpart/$file" -+ done -+ done -+} -+ ;; -+ "libtool":C) -+ -+ # See if we are running on zsh, and set the options which allow our -+ # commands through without removal of \ escapes. -+ if test -n "${ZSH_VERSION+set}" ; then -+ setopt NO_GLOB_SUBST -+ fi -+ -+ cfgfile="${ofile}T" -+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15 -+ $RM "$cfgfile" -+ -+ cat <<_LT_EOF >> "$cfgfile" -+#! $SHELL -+ -+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION -+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: -+# NOTE: Changes made to this file will be lost: look at ltmain.sh. -+# -+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -+# 2006, 2007, 2008 Free Software Foundation, Inc. -+# Written by Gordon Matzigkeit, 1996 -+# -+# This file is part of GNU Libtool. -+# -+# GNU Libtool is free software; you can redistribute it and/or -+# modify it under the terms of the GNU General Public License as -+# published by the Free Software Foundation; either version 2 of -+# the License, or (at your option) any later version. -+# -+# As a special exception to the GNU General Public License, -+# if you distribute this file as part of a program or library that -+# is built using GNU Libtool, you may include this file under the -+# same distribution terms that you use for the rest of that program. -+# -+# GNU Libtool is distributed in the hope that it will be useful, -+# but WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+# GNU General Public License for more details. -+# -+# You should have received a copy of the GNU General Public License -+# along with GNU Libtool; see the file COPYING. If not, a copy -+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or -+# obtained by writing to the Free Software Foundation, Inc., -+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -+ -+ -+# The names of the tagged configurations supported by this script. -+available_tags="CXX " -+ -+# ### BEGIN LIBTOOL CONFIG -+ -+# Which release of libtool.m4 was used? -+macro_version=$macro_version -+macro_revision=$macro_revision -+ -+# Whether or not to build shared libraries. -+build_libtool_libs=$enable_shared -+ -+# Whether or not to build static libraries. -+build_old_libs=$enable_static -+ -+# What type of objects to build. -+pic_mode=$pic_mode -+ -+# Whether or not to optimize for fast installation. -+fast_install=$enable_fast_install -+ -+# The host system. -+host_alias=$host_alias -+host=$host -+host_os=$host_os -+ -+# The build system. -+build_alias=$build_alias -+build=$build -+build_os=$build_os -+ -+# A sed program that does not truncate output. -+SED=$lt_SED -+ -+# Sed that helps us avoid accidentally triggering echo(1) options like -n. -+Xsed="\$SED -e 1s/^X//" -+ -+# A grep program that handles long lines. -+GREP=$lt_GREP -+ -+# An ERE matcher. -+EGREP=$lt_EGREP -+ -+# A literal string matcher. -+FGREP=$lt_FGREP -+ -+# A BSD- or MS-compatible name lister. -+NM=$lt_NM -+ -+# Whether we need soft or hard links. -+LN_S=$lt_LN_S -+ -+# What is the maximum length of a command? -+max_cmd_len=$max_cmd_len -+ -+# Object file suffix (normally "o"). -+objext=$ac_objext -+ -+# Executable file suffix (normally ""). -+exeext=$exeext -+ -+# whether the shell understands "unset". -+lt_unset=$lt_unset -+ -+# turn spaces into newlines. -+SP2NL=$lt_lt_SP2NL -+ -+# turn newlines into spaces. -+NL2SP=$lt_lt_NL2SP -+ -+# How to create reloadable object files. -+reload_flag=$lt_reload_flag -+reload_cmds=$lt_reload_cmds -+ -+# An object symbol dumper. -+OBJDUMP=$lt_OBJDUMP -+ -+# Method to check whether dependent libraries are shared objects. -+deplibs_check_method=$lt_deplibs_check_method -+ -+# Command to use when deplibs_check_method == "file_magic". -+file_magic_cmd=$lt_file_magic_cmd -+ -+# The archiver. -+AR=$lt_AR -+AR_FLAGS=$lt_AR_FLAGS -+ -+# A symbol stripping program. -+STRIP=$lt_STRIP -+ -+# Commands used to install an old-style archive. -+RANLIB=$lt_RANLIB -+old_postinstall_cmds=$lt_old_postinstall_cmds -+old_postuninstall_cmds=$lt_old_postuninstall_cmds -+ -+# A C compiler. -+LTCC=$lt_CC -+ -+# LTCC compiler flags. -+LTCFLAGS=$lt_CFLAGS -+ -+# Take the output of nm and produce a listing of raw symbols and C names. -+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe -+ -+# Transform the output of nm in a proper C declaration. -+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl -+ -+# Transform the output of nm in a C name address pair. -+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address -+ -+# Transform the output of nm in a C name address pair when lib prefix is needed. -+global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix -+ -+# The name of the directory that contains temporary libtool files. -+objdir=$objdir -+ -+# Shell to use when invoking shell scripts. -+SHELL=$lt_SHELL -+ -+# An echo program that does not interpret backslashes. -+ECHO=$lt_ECHO -+ -+# Used to examine libraries when file_magic_cmd begins with "file". -+MAGIC_CMD=$MAGIC_CMD -+ -+# Must we lock files when doing compilation? -+need_locks=$lt_need_locks -+ -+# Tool to manipulate archived DWARF debug symbol files on Mac OS X. -+DSYMUTIL=$lt_DSYMUTIL -+ -+# Tool to change global to local symbols on Mac OS X. -+NMEDIT=$lt_NMEDIT -+ -+# Tool to manipulate fat objects and archives on Mac OS X. -+LIPO=$lt_LIPO -+ -+# ldd/readelf like tool for Mach-O binaries on Mac OS X. -+OTOOL=$lt_OTOOL -+ -+# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. -+OTOOL64=$lt_OTOOL64 -+ -+# Old archive suffix (normally "a"). -+libext=$libext -+ -+# Shared library suffix (normally ".so"). -+shrext_cmds=$lt_shrext_cmds -+ -+# The commands to extract the exported symbol list from a shared archive. -+extract_expsyms_cmds=$lt_extract_expsyms_cmds -+ -+# Variables whose values should be saved in libtool wrapper scripts and -+# restored at link time. -+variables_saved_for_relink=$lt_variables_saved_for_relink -+ -+# Do we need the "lib" prefix for modules? -+need_lib_prefix=$need_lib_prefix -+ -+# Do we need a version for libraries? -+need_version=$need_version -+ -+# Library versioning type. -+version_type=$version_type -+ -+# Shared library runtime path variable. -+runpath_var=$runpath_var -+ -+# Shared library path variable. -+shlibpath_var=$shlibpath_var -+ -+# Is shlibpath searched before the hard-coded library search path? -+shlibpath_overrides_runpath=$shlibpath_overrides_runpath -+ -+# Format of library name prefix. -+libname_spec=$lt_libname_spec -+ -+# List of archive names. First name is the real one, the rest are links. -+# The last name is the one that the linker finds with -lNAME -+library_names_spec=$lt_library_names_spec -+ -+# The coded name of the library, if different from the real name. -+soname_spec=$lt_soname_spec -+ -+# Command to use after installation of a shared archive. -+postinstall_cmds=$lt_postinstall_cmds -+ -+# Command to use after uninstallation of a shared archive. -+postuninstall_cmds=$lt_postuninstall_cmds -+ -+# Commands used to finish a libtool library installation in a directory. -+finish_cmds=$lt_finish_cmds -+ -+# As "finish_cmds", except a single script fragment to be evaled but -+# not shown. -+finish_eval=$lt_finish_eval -+ -+# Whether we should hardcode library paths into libraries. -+hardcode_into_libs=$hardcode_into_libs -+ -+# Compile-time system search path for libraries. -+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec -+ -+# Run-time system search path for libraries. -+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec -+ -+# Whether dlopen is supported. -+dlopen_support=$enable_dlopen -+ -+# Whether dlopen of programs is supported. -+dlopen_self=$enable_dlopen_self -+ -+# Whether dlopen of statically linked programs is supported. -+dlopen_self_static=$enable_dlopen_self_static -+ -+# Commands to strip libraries. -+old_striplib=$lt_old_striplib -+striplib=$lt_striplib -+ -+ -+# The linker used to build libraries. -+LD=$lt_LD -+ -+# Commands used to build an old-style archive. -+old_archive_cmds=$lt_old_archive_cmds -+ -+# A language specific compiler. -+CC=$lt_compiler -+ -+# Is the compiler the GNU compiler? -+with_gcc=$GCC -+ -+# Compiler flag to turn off builtin functions. -+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag -+ -+# How to pass a linker flag through the compiler. -+wl=$lt_lt_prog_compiler_wl -+ -+# Additional compiler flags for building library objects. -+pic_flag=$lt_lt_prog_compiler_pic -+ -+# Compiler flag to prevent dynamic linking. -+link_static_flag=$lt_lt_prog_compiler_static -+ -+# Does compiler simultaneously support -c and -o options? -+compiler_c_o=$lt_lt_cv_prog_compiler_c_o -+ -+# Whether or not to add -lc for building shared libraries. -+build_libtool_need_lc=$archive_cmds_need_lc -+ -+# Whether or not to disallow shared libs when runtime libs are static. -+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes -+ -+# Compiler flag to allow reflexive dlopens. -+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec -+ -+# Compiler flag to generate shared objects directly from archives. -+whole_archive_flag_spec=$lt_whole_archive_flag_spec -+ -+# Whether the compiler copes with passing no objects directly. -+compiler_needs_object=$lt_compiler_needs_object -+ -+# Create an old-style archive from a shared archive. -+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds -+ -+# Create a temporary old-style archive to link instead of a shared archive. -+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds -+ -+# Commands used to build a shared archive. -+archive_cmds=$lt_archive_cmds -+archive_expsym_cmds=$lt_archive_expsym_cmds -+ -+# Commands used to build a loadable module if different from building -+# a shared archive. -+module_cmds=$lt_module_cmds -+module_expsym_cmds=$lt_module_expsym_cmds -+ -+# Whether we are building with GNU ld or not. -+with_gnu_ld=$lt_with_gnu_ld -+ -+# Flag that allows shared libraries with undefined symbols to be built. -+allow_undefined_flag=$lt_allow_undefined_flag -+ -+# Flag that enforces no undefined symbols. -+no_undefined_flag=$lt_no_undefined_flag -+ -+# Flag to hardcode \$libdir into a binary during linking. -+# This must work even if \$libdir does not exist -+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec -+ -+# If ld is used when linking, flag to hardcode \$libdir into a binary -+# during linking. This must work even if \$libdir does not exist. -+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld -+ -+# Whether we need a single "-rpath" flag with a separated argument. -+hardcode_libdir_separator=$lt_hardcode_libdir_separator -+ -+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -+# DIR into the resulting binary. -+hardcode_direct=$hardcode_direct -+ -+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -+# DIR into the resulting binary and the resulting library dependency is -+# "absolute",i.e impossible to change by setting \${shlibpath_var} if the -+# library is relocated. -+hardcode_direct_absolute=$hardcode_direct_absolute -+ -+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR -+# into the resulting binary. -+hardcode_minus_L=$hardcode_minus_L -+ -+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR -+# into the resulting binary. -+hardcode_shlibpath_var=$hardcode_shlibpath_var -+ -+# Set to "yes" if building a shared library automatically hardcodes DIR -+# into the library and all subsequent libraries and executables linked -+# against it. -+hardcode_automatic=$hardcode_automatic -+ -+# Set to yes if linker adds runtime paths of dependent libraries -+# to runtime path list. -+inherit_rpath=$inherit_rpath -+ -+# Whether libtool must link a program against all its dependency libraries. -+link_all_deplibs=$link_all_deplibs -+ -+# Fix the shell variable \$srcfile for the compiler. -+fix_srcfile_path=$lt_fix_srcfile_path -+ -+# Set to "yes" if exported symbols are required. -+always_export_symbols=$always_export_symbols -+ -+# The commands to list exported symbols. -+export_symbols_cmds=$lt_export_symbols_cmds -+ -+# Symbols that should not be listed in the preloaded symbols. -+exclude_expsyms=$lt_exclude_expsyms -+ -+# Symbols that must always be exported. -+include_expsyms=$lt_include_expsyms -+ -+# Commands necessary for linking programs (against libraries) with templates. -+prelink_cmds=$lt_prelink_cmds -+ -+# Specify filename containing input files. -+file_list_spec=$lt_file_list_spec -+ -+# How to hardcode a shared library path into an executable. -+hardcode_action=$hardcode_action -+ -+# The directories searched by this compiler when creating a shared library. -+compiler_lib_search_dirs=$lt_compiler_lib_search_dirs -+ -+# Dependencies to place before and after the objects being linked to -+# create a shared library. -+predep_objects=$lt_predep_objects -+postdep_objects=$lt_postdep_objects -+predeps=$lt_predeps -+postdeps=$lt_postdeps -+ -+# The library search path used internally by the compiler when linking -+# a shared library. -+compiler_lib_search_path=$lt_compiler_lib_search_path -+ -+# ### END LIBTOOL CONFIG -+ -+_LT_EOF -+ -+ case $host_os in -+ aix3*) -+ cat <<\_LT_EOF >> "$cfgfile" -+# AIX sometimes has problems with the GCC collect2 program. For some -+# reason, if we set the COLLECT_NAMES environment variable, the problems -+# vanish in a puff of smoke. -+if test "X${COLLECT_NAMES+set}" != Xset; then -+ COLLECT_NAMES= -+ export COLLECT_NAMES -+fi -+_LT_EOF -+ ;; -+ esac -+ -+ -+ltmain="$ac_aux_dir/ltmain.sh" -+ -+ -+ # We use sed instead of cat because bash on DJGPP gets confused if -+ # if finds mixed CR/LF and LF-only lines. Since sed operates in -+ # text mode, it properly converts lines to CR/LF. This bash problem -+ # is reportedly fixed, but why not run on old versions too? -+ sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ -+ || (rm -f "$cfgfile"; exit 1) -+ -+ case $xsi_shell in -+ yes) -+ cat << \_LT_EOF >> "$cfgfile" -+ -+# func_dirname file append nondir_replacement -+# Compute the dirname of FILE. If nonempty, add APPEND to the result, -+# otherwise set result to NONDIR_REPLACEMENT. -+func_dirname () -+{ -+ case ${1} in -+ */*) func_dirname_result="${1%/*}${2}" ;; -+ * ) func_dirname_result="${3}" ;; -+ esac -+} -+ -+# func_basename file -+func_basename () -+{ -+ func_basename_result="${1##*/}" -+} -+ -+# func_dirname_and_basename file append nondir_replacement -+# perform func_basename and func_dirname in a single function -+# call: -+# dirname: Compute the dirname of FILE. If nonempty, -+# add APPEND to the result, otherwise set result -+# to NONDIR_REPLACEMENT. -+# value returned in "$func_dirname_result" -+# basename: Compute filename of FILE. -+# value retuned in "$func_basename_result" -+# Implementation must be kept synchronized with func_dirname -+# and func_basename. For efficiency, we do not delegate to -+# those functions but instead duplicate the functionality here. -+func_dirname_and_basename () -+{ -+ case ${1} in -+ */*) func_dirname_result="${1%/*}${2}" ;; -+ * ) func_dirname_result="${3}" ;; -+ esac -+ func_basename_result="${1##*/}" -+} -+ -+# func_stripname prefix suffix name -+# strip PREFIX and SUFFIX off of NAME. -+# PREFIX and SUFFIX must not contain globbing or regex special -+# characters, hashes, percent signs, but SUFFIX may contain a leading -+# dot (in which case that matches only a dot). -+func_stripname () -+{ -+ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are -+ # positional parameters, so assign one to ordinary parameter first. -+ func_stripname_result=${3} -+ func_stripname_result=${func_stripname_result#"${1}"} -+ func_stripname_result=${func_stripname_result%"${2}"} -+} -+ -+# func_opt_split -+func_opt_split () -+{ -+ func_opt_split_opt=${1%%=*} -+ func_opt_split_arg=${1#*=} -+} -+ -+# func_lo2o object -+func_lo2o () -+{ -+ case ${1} in -+ *.lo) func_lo2o_result=${1%.lo}.${objext} ;; -+ *) func_lo2o_result=${1} ;; -+ esac -+} -+ -+# func_xform libobj-or-source -+func_xform () -+{ -+ func_xform_result=${1%.*}.lo -+} -+ -+# func_arith arithmetic-term... -+func_arith () -+{ -+ func_arith_result=$(( $* )) -+} -+ -+# func_len string -+# STRING may not start with a hyphen. -+func_len () -+{ -+ func_len_result=${#1} -+} -+ -+_LT_EOF -+ ;; -+ *) # Bourne compatible functions. -+ cat << \_LT_EOF >> "$cfgfile" -+ -+# func_dirname file append nondir_replacement -+# Compute the dirname of FILE. If nonempty, add APPEND to the result, -+# otherwise set result to NONDIR_REPLACEMENT. -+func_dirname () -+{ -+ # Extract subdirectory from the argument. -+ func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` -+ if test "X$func_dirname_result" = "X${1}"; then -+ func_dirname_result="${3}" -+ else -+ func_dirname_result="$func_dirname_result${2}" -+ fi -+} -+ -+# func_basename file -+func_basename () -+{ -+ func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` -+} -+ -+ -+# func_stripname prefix suffix name -+# strip PREFIX and SUFFIX off of NAME. -+# PREFIX and SUFFIX must not contain globbing or regex special -+# characters, hashes, percent signs, but SUFFIX may contain a leading -+# dot (in which case that matches only a dot). -+# func_strip_suffix prefix name -+func_stripname () -+{ -+ case ${2} in -+ .*) func_stripname_result=`$ECHO "X${3}" \ -+ | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; -+ *) func_stripname_result=`$ECHO "X${3}" \ -+ | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; -+ esac -+} -+ -+# sed scripts: -+my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' -+my_sed_long_arg='1s/^-[^=]*=//' -+ -+# func_opt_split -+func_opt_split () -+{ -+ func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` -+ func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` -+} -+ -+# func_lo2o object -+func_lo2o () -+{ -+ func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` -+} -+ -+# func_xform libobj-or-source -+func_xform () -+{ -+ func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` -+} -+ -+# func_arith arithmetic-term... -+func_arith () -+{ -+ func_arith_result=`expr "$@"` -+} -+ -+# func_len string -+# STRING may not start with a hyphen. -+func_len () -+{ -+ func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` -+} -+ -+_LT_EOF -+esac -+ -+case $lt_shell_append in -+ yes) -+ cat << \_LT_EOF >> "$cfgfile" -+ -+# func_append var value -+# Append VALUE to the end of shell variable VAR. -+func_append () -+{ -+ eval "$1+=\$2" -+} -+_LT_EOF -+ ;; -+ *) -+ cat << \_LT_EOF >> "$cfgfile" -+ -+# func_append var value -+# Append VALUE to the end of shell variable VAR. -+func_append () -+{ -+ eval "$1=\$$1\$2" -+} -+ -+_LT_EOF -+ ;; -+ esac -+ -+ -+ sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ -+ || (rm -f "$cfgfile"; exit 1) -+ -+ mv -f "$cfgfile" "$ofile" || -+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") -+ chmod +x "$ofile" -+ -+ -+ cat <<_LT_EOF >> "$ofile" -+ -+# ### BEGIN LIBTOOL TAG CONFIG: CXX -+ -+# The linker used to build libraries. -+LD=$lt_LD_CXX -+ -+# Commands used to build an old-style archive. -+old_archive_cmds=$lt_old_archive_cmds_CXX -+ -+# A language specific compiler. -+CC=$lt_compiler_CXX -+ -+# Is the compiler the GNU compiler? -+with_gcc=$GCC_CXX -+ -+# Compiler flag to turn off builtin functions. -+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX -+ -+# How to pass a linker flag through the compiler. -+wl=$lt_lt_prog_compiler_wl_CXX -+ -+# Additional compiler flags for building library objects. -+pic_flag=$lt_lt_prog_compiler_pic_CXX -+ -+# Compiler flag to prevent dynamic linking. -+link_static_flag=$lt_lt_prog_compiler_static_CXX -+ -+# Does compiler simultaneously support -c and -o options? -+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX -+ -+# Whether or not to add -lc for building shared libraries. -+build_libtool_need_lc=$archive_cmds_need_lc_CXX -+ -+# Whether or not to disallow shared libs when runtime libs are static. -+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX -+ -+# Compiler flag to allow reflexive dlopens. -+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX -+ -+# Compiler flag to generate shared objects directly from archives. -+whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX -+ -+# Whether the compiler copes with passing no objects directly. -+compiler_needs_object=$lt_compiler_needs_object_CXX -+ -+# Create an old-style archive from a shared archive. -+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX -+ -+# Create a temporary old-style archive to link instead of a shared archive. -+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX -+ -+# Commands used to build a shared archive. -+archive_cmds=$lt_archive_cmds_CXX -+archive_expsym_cmds=$lt_archive_expsym_cmds_CXX -+ -+# Commands used to build a loadable module if different from building -+# a shared archive. -+module_cmds=$lt_module_cmds_CXX -+module_expsym_cmds=$lt_module_expsym_cmds_CXX -+ -+# Whether we are building with GNU ld or not. -+with_gnu_ld=$lt_with_gnu_ld_CXX -+ -+# Flag that allows shared libraries with undefined symbols to be built. -+allow_undefined_flag=$lt_allow_undefined_flag_CXX -+ -+# Flag that enforces no undefined symbols. -+no_undefined_flag=$lt_no_undefined_flag_CXX -+ -+# Flag to hardcode \$libdir into a binary during linking. -+# This must work even if \$libdir does not exist -+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX -+ -+# If ld is used when linking, flag to hardcode \$libdir into a binary -+# during linking. This must work even if \$libdir does not exist. -+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX -+ -+# Whether we need a single "-rpath" flag with a separated argument. -+hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX -+ -+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -+# DIR into the resulting binary. -+hardcode_direct=$hardcode_direct_CXX -+ -+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -+# DIR into the resulting binary and the resulting library dependency is -+# "absolute",i.e impossible to change by setting \${shlibpath_var} if the -+# library is relocated. -+hardcode_direct_absolute=$hardcode_direct_absolute_CXX -+ -+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR -+# into the resulting binary. -+hardcode_minus_L=$hardcode_minus_L_CXX -+ -+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR -+# into the resulting binary. -+hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX -+ -+# Set to "yes" if building a shared library automatically hardcodes DIR -+# into the library and all subsequent libraries and executables linked -+# against it. -+hardcode_automatic=$hardcode_automatic_CXX -+ -+# Set to yes if linker adds runtime paths of dependent libraries -+# to runtime path list. -+inherit_rpath=$inherit_rpath_CXX -+ -+# Whether libtool must link a program against all its dependency libraries. -+link_all_deplibs=$link_all_deplibs_CXX -+ -+# Fix the shell variable \$srcfile for the compiler. -+fix_srcfile_path=$lt_fix_srcfile_path_CXX -+ -+# Set to "yes" if exported symbols are required. -+always_export_symbols=$always_export_symbols_CXX -+ -+# The commands to list exported symbols. -+export_symbols_cmds=$lt_export_symbols_cmds_CXX -+ -+# Symbols that should not be listed in the preloaded symbols. -+exclude_expsyms=$lt_exclude_expsyms_CXX -+ -+# Symbols that must always be exported. -+include_expsyms=$lt_include_expsyms_CXX -+ -+# Commands necessary for linking programs (against libraries) with templates. -+prelink_cmds=$lt_prelink_cmds_CXX -+ -+# Specify filename containing input files. -+file_list_spec=$lt_file_list_spec_CXX -+ -+# How to hardcode a shared library path into an executable. -+hardcode_action=$hardcode_action_CXX -+ -+# The directories searched by this compiler when creating a shared library. -+compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX -+ -+# Dependencies to place before and after the objects being linked to -+# create a shared library. -+predep_objects=$lt_predep_objects_CXX -+postdep_objects=$lt_postdep_objects_CXX -+predeps=$lt_predeps_CXX -+postdeps=$lt_postdeps_CXX -+ -+# The library search path used internally by the compiler when linking -+# a shared library. -+compiler_lib_search_path=$lt_compiler_lib_search_path_CXX -+ -+# ### END LIBTOOL TAG CONFIG: CXX -+_LT_EOF -+ -+ ;; -+ -+ esac -+done # for ac_tag -+ -+ -+as_fn_exit 0 -diff -Nur gpsd-2.39.orig/configure gpsd-2.39/configure ---- gpsd-2.39.orig/configure 2009-03-18 22:10:31.000000000 +0100 -+++ gpsd-2.39/configure 2010-02-18 21:42:02.312851450 +0100 -@@ -1,60 +1,83 @@ - #! /bin/sh - # Guess values for system-dependent variables and create Makefiles. --# Generated by GNU Autoconf 2.61. -+# Generated by GNU Autoconf 2.65. -+# - # - # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, --# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. -+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -+# Inc. -+# -+# - # This configure script is free software; the Free Software Foundation - # gives unlimited permission to copy, distribute and modify it. --## --------------------- ## --## M4sh Initialization. ## --## --------------------- ## -+## -------------------- ## -+## M4sh Initialization. ## -+## -------------------- ## - - # Be more Bourne compatible - DUALCASE=1; export DUALCASE # for MKS sh --if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then -+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: -- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which -+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST - else -- case `(set -o) 2>/dev/null` in -- *posix*) set -o posix ;; -+ case `(set -o) 2>/dev/null` in #( -+ *posix*) : -+ set -o posix ;; #( -+ *) : -+ ;; - esac -- - fi - - -- -- --# PATH needs CR --# Avoid depending upon Character Ranges. --as_cr_letters='abcdefghijklmnopqrstuvwxyz' --as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' --as_cr_Letters=$as_cr_letters$as_cr_LETTERS --as_cr_digits='0123456789' --as_cr_alnum=$as_cr_Letters$as_cr_digits -- --# The user is always right. --if test "${PATH_SEPARATOR+set}" != set; then -- echo "#! /bin/sh" >conf$$.sh -- echo "exit 0" >>conf$$.sh -- chmod +x conf$$.sh -- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then -- PATH_SEPARATOR=';' -- else -- PATH_SEPARATOR=: -+as_nl=' -+' -+export as_nl -+# Printing a long string crashes Solaris 7 /usr/bin/printf. -+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -+# Prefer a ksh shell builtin over an external printf program on Solaris, -+# but without wasting forks for bash or zsh. -+if test -z "$BASH_VERSION$ZSH_VERSION" \ -+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then -+ as_echo='print -r --' -+ as_echo_n='print -rn --' -+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then -+ as_echo='printf %s\n' -+ as_echo_n='printf %s' -+else -+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then -+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' -+ as_echo_n='/usr/ucb/echo -n' -+ else -+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' -+ as_echo_n_body='eval -+ arg=$1; -+ case $arg in #( -+ *"$as_nl"*) -+ expr "X$arg" : "X\\(.*\\)$as_nl"; -+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; -+ esac; -+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" -+ ' -+ export as_echo_n_body -+ as_echo_n='sh -c $as_echo_n_body as_echo' - fi -- rm -f conf$$.sh -+ export as_echo_body -+ as_echo='sh -c $as_echo_body as_echo' - fi - --# Support unset when possible. --if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then -- as_unset=unset --else -- as_unset=false -+# The user is always right. -+if test "${PATH_SEPARATOR+set}" != set; then -+ PATH_SEPARATOR=: -+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { -+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || -+ PATH_SEPARATOR=';' -+ } - fi - - -@@ -63,20 +86,18 @@ - # there to prevent editors from complaining about space-tab. - # (If _AS_PATH_WALK were called with IFS unset, it would disable word - # splitting by setting IFS to empty value.) --as_nl=' --' - IFS=" "" $as_nl" - - # Find who we are. Look in the path if we contain no directory separator. --case $0 in -+case $0 in #(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR - for as_dir in $PATH - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break --done -+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -+ done - IFS=$as_save_IFS - - ;; -@@ -87,32 +108,270 @@ - as_myself=$0 - fi - if test ! -f "$as_myself"; then -- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 -- { (exit 1); exit 1; } -+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 -+ exit 1 - fi - --# Work around bugs in pre-3.0 UWIN ksh. --for as_var in ENV MAIL MAILPATH --do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -+# Unset variables that we do not need and which cause bugs (e.g. in -+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -+# suppresses any "Segmentation fault" message there. '((' could -+# trigger a bug in pdksh 5.2.14. -+for as_var in BASH_ENV ENV MAIL MAILPATH -+do eval test x\${$as_var+set} = xset \ -+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : - done - PS1='$ ' - PS2='> ' - PS4='+ ' - - # NLS nuisances. --for as_var in \ -- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ -- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ -- LC_TELEPHONE LC_TIME -+LC_ALL=C -+export LC_ALL -+LANGUAGE=C -+export LANGUAGE -+ -+# CDPATH. -+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH -+ -+if test "x$CONFIG_SHELL" = x; then -+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : -+ emulate sh -+ NULLCMD=: -+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which -+ # is contrary to our usage. Disable this feature. -+ alias -g '\${1+\"\$@\"}'='\"\$@\"' -+ setopt NO_GLOB_SUBST -+else -+ case \`(set -o) 2>/dev/null\` in #( -+ *posix*) : -+ set -o posix ;; #( -+ *) : -+ ;; -+esac -+fi -+" -+ as_required="as_fn_return () { (exit \$1); } -+as_fn_success () { as_fn_return 0; } -+as_fn_failure () { as_fn_return 1; } -+as_fn_ret_success () { return 0; } -+as_fn_ret_failure () { return 1; } -+ -+exitcode=0 -+as_fn_success || { exitcode=1; echo as_fn_success failed.; } -+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } -+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } -+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } -+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : -+ -+else -+ exitcode=1; echo positional parameters were not saved. -+fi -+test x\$exitcode = x0 || exit 1" -+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO -+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO -+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && -+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 -+test \$(( 1 + 1 )) = 2 || exit 1" -+ if (eval "$as_required") 2>/dev/null; then : -+ as_have_required=yes -+else -+ as_have_required=no -+fi -+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : -+ -+else -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+as_found=false -+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH - do -- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then -- eval $as_var=C; export $as_var -- else -- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -- fi -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ as_found=: -+ case $as_dir in #( -+ /*) -+ for as_base in sh bash ksh sh5; do -+ # Try only shells that exist, to save several forks. -+ as_shell=$as_dir/$as_base -+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && -+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : -+ CONFIG_SHELL=$as_shell as_have_required=yes -+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : -+ break 2 -+fi -+fi -+ done;; -+ esac -+ as_found=false - done -+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && -+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : -+ CONFIG_SHELL=$SHELL as_have_required=yes -+fi; } -+IFS=$as_save_IFS -+ -+ -+ if test "x$CONFIG_SHELL" != x; then : -+ # We cannot yet assume a decent shell, so we have to provide a -+ # neutralization value for shells without unset; and this also -+ # works around shells that cannot unset nonexistent variables. -+ BASH_ENV=/dev/null -+ ENV=/dev/null -+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV -+ export CONFIG_SHELL -+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} -+fi -+ -+ if test x$as_have_required = xno; then : -+ $as_echo "$0: This script requires a shell more modern than all" -+ $as_echo "$0: the shells that I found on your system." -+ if test x${ZSH_VERSION+set} = xset ; then -+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" -+ $as_echo "$0: be upgraded to zsh 4.3.4 or later." -+ else -+ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, -+$0: including any error possibly output before this -+$0: message. Then install a modern shell, or manually run -+$0: the script under such a shell if you do have one." -+ fi -+ exit 1 -+fi -+fi -+fi -+SHELL=${CONFIG_SHELL-/bin/sh} -+export SHELL -+# Unset more variables known to interfere with behavior of common tools. -+CLICOLOR_FORCE= GREP_OPTIONS= -+unset CLICOLOR_FORCE GREP_OPTIONS -+ -+## --------------------- ## -+## M4sh Shell Functions. ## -+## --------------------- ## -+# as_fn_unset VAR -+# --------------- -+# Portably unset VAR. -+as_fn_unset () -+{ -+ { eval $1=; unset $1;} -+} -+as_unset=as_fn_unset -+ -+# as_fn_set_status STATUS -+# ----------------------- -+# Set $? to STATUS, without forking. -+as_fn_set_status () -+{ -+ return $1 -+} # as_fn_set_status -+ -+# as_fn_exit STATUS -+# ----------------- -+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -+as_fn_exit () -+{ -+ set +e -+ as_fn_set_status $1 -+ exit $1 -+} # as_fn_exit -+ -+# as_fn_mkdir_p -+# ------------- -+# Create "$as_dir" as a directory, including parents if necessary. -+as_fn_mkdir_p () -+{ -+ -+ case $as_dir in #( -+ -*) as_dir=./$as_dir;; -+ esac -+ test -d "$as_dir" || eval $as_mkdir_p || { -+ as_dirs= -+ while :; do -+ case $as_dir in #( -+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( -+ *) as_qdir=$as_dir;; -+ esac -+ as_dirs="'$as_qdir' $as_dirs" -+ as_dir=`$as_dirname -- "$as_dir" || -+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$as_dir" : 'X\(//\)[^/]' \| \ -+ X"$as_dir" : 'X\(//\)$' \| \ -+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$as_dir" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ test -d "$as_dir" && break -+ done -+ test -z "$as_dirs" || eval "mkdir $as_dirs" -+ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" -+ -+ -+} # as_fn_mkdir_p -+# as_fn_append VAR VALUE -+# ---------------------- -+# Append the text in VALUE to the end of the definition contained in VAR. Take -+# advantage of any shell optimizations that allow amortized linear growth over -+# repeated appends, instead of the typical quadratic growth present in naive -+# implementations. -+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : -+ eval 'as_fn_append () -+ { -+ eval $1+=\$2 -+ }' -+else -+ as_fn_append () -+ { -+ eval $1=\$$1\$2 -+ } -+fi # as_fn_append -+ -+# as_fn_arith ARG... -+# ------------------ -+# Perform arithmetic evaluation on the ARGs, and store the result in the -+# global $as_val. Take advantage of shells that can avoid forks. The arguments -+# must be portable across $(()) and expr. -+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : -+ eval 'as_fn_arith () -+ { -+ as_val=$(( $* )) -+ }' -+else -+ as_fn_arith () -+ { -+ as_val=`expr "$@" || test $? -eq 1` -+ } -+fi # as_fn_arith -+ -+ -+# as_fn_error ERROR [LINENO LOG_FD] -+# --------------------------------- -+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -+# script with status $?, using 1 if that was 0. -+as_fn_error () -+{ -+ as_status=$?; test $as_status -eq 0 && as_status=1 -+ if test "$3"; then -+ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 -+ fi -+ $as_echo "$as_me: error: $1" >&2 -+ as_fn_exit $as_status -+} # as_fn_error - --# Required to use basename. - if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -@@ -126,13 +385,17 @@ - as_basename=false - fi - -+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then -+ as_dirname=dirname -+else -+ as_dirname=false -+fi - --# Name of the executable. - as_me=`$as_basename -- "$0" || - $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || --echo X/"$0" | -+$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q -@@ -147,417 +410,131 @@ - } - s/.*/./; q'` - --# CDPATH. --$as_unset CDPATH -+# Avoid depending upon Character Ranges. -+as_cr_letters='abcdefghijklmnopqrstuvwxyz' -+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -+as_cr_Letters=$as_cr_letters$as_cr_LETTERS -+as_cr_digits='0123456789' -+as_cr_alnum=$as_cr_Letters$as_cr_digits - - --if test "x$CONFIG_SHELL" = x; then -- if (eval ":") 2>/dev/null; then -- as_have_required=yes --else -- as_have_required=no --fi -+ as_lineno_1=$LINENO as_lineno_1a=$LINENO -+ as_lineno_2=$LINENO as_lineno_2a=$LINENO -+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && -+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { -+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) -+ sed -n ' -+ p -+ /[$]LINENO/= -+ ' <$as_myself | -+ sed ' -+ s/[$]LINENO.*/&-/ -+ t lineno -+ b -+ :lineno -+ N -+ :loop -+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ -+ t loop -+ s/-\n.*// -+ ' >$as_me.lineno && -+ chmod +x "$as_me.lineno" || -+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } - -- if test $as_have_required = yes && (eval ": --(as_func_return () { -- (exit \$1) --} --as_func_success () { -- as_func_return 0 --} --as_func_failure () { -- as_func_return 1 --} --as_func_ret_success () { -- return 0 --} --as_func_ret_failure () { -- return 1 -+ # Don't try to exec as it changes $[0], causing all sort of problems -+ # (the dirname of $[0] is not the place where we might find the -+ # original and so on. Autoconf is especially sensitive to this). -+ . "./$as_me.lineno" -+ # Exit status is that of the last command. -+ exit - } - --exitcode=0 --if as_func_success; then -- : --else -- exitcode=1 -- echo as_func_success failed. --fi -+ECHO_C= ECHO_N= ECHO_T= -+case `echo -n x` in #((((( -+-n*) -+ case `echo 'xy\c'` in -+ *c*) ECHO_T=' ';; # ECHO_T is single tab character. -+ xy) ECHO_C='\c';; -+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null -+ ECHO_T=' ';; -+ esac;; -+*) -+ ECHO_N='-n';; -+esac - --if as_func_failure; then -- exitcode=1 -- echo as_func_failure succeeded. -+rm -f conf$$ conf$$.exe conf$$.file -+if test -d conf$$.dir; then -+ rm -f conf$$.dir/conf$$.file -+else -+ rm -f conf$$.dir -+ mkdir conf$$.dir 2>/dev/null - fi -- --if as_func_ret_success; then -- : -+if (echo >conf$$.file) 2>/dev/null; then -+ if ln -s conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s='ln -s' -+ # ... but there are two gotchas: -+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. -+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. -+ # In both cases, we have to default to `cp -p'. -+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || -+ as_ln_s='cp -p' -+ elif ln conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s=ln -+ else -+ as_ln_s='cp -p' -+ fi - else -- exitcode=1 -- echo as_func_ret_success failed. -+ as_ln_s='cp -p' - fi -+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -+rmdir conf$$.dir 2>/dev/null - --if as_func_ret_failure; then -- exitcode=1 -- echo as_func_ret_failure succeeded. -+if mkdir -p . 2>/dev/null; then -+ as_mkdir_p='mkdir -p "$as_dir"' -+else -+ test -d ./-p && rmdir ./-p -+ as_mkdir_p=false - fi - --if ( set x; as_func_ret_success y && test x = \"\$1\" ); then -- : -+if test -x / >/dev/null 2>&1; then -+ as_test_x='test -x' - else -- exitcode=1 -- echo positional parameters were not saved. -+ if ls -dL / >/dev/null 2>&1; then -+ as_ls_L_option=L -+ else -+ as_ls_L_option= -+ fi -+ as_test_x=' -+ eval sh -c '\'' -+ if test -d "$1"; then -+ test -d "$1/."; -+ else -+ case $1 in #( -+ -*)set "./$1";; -+ esac; -+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( -+ ???[sx]*):;;*)false;;esac;fi -+ '\'' sh -+ ' - fi -+as_executable_p=$as_test_x - --test \$exitcode = 0) || { (exit 1); exit 1; } -- --( -- as_lineno_1=\$LINENO -- as_lineno_2=\$LINENO -- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && -- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } --") 2> /dev/null; then -- : --else -- as_candidate_shells= -- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR --for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH --do -- IFS=$as_save_IFS -- test -z "$as_dir" && as_dir=. -- case $as_dir in -- /*) -- for as_base in sh bash ksh sh5; do -- as_candidate_shells="$as_candidate_shells $as_dir/$as_base" -- done;; -- esac --done --IFS=$as_save_IFS -+# Sed expression to map a string onto a valid CPP name. -+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -+# Sed expression to map a string onto a valid variable name. -+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - -- for as_shell in $as_candidate_shells $SHELL; do -- # Try only shells that exist, to save several forks. -- if { test -f "$as_shell" || test -f "$as_shell.exe"; } && -- { ("$as_shell") 2> /dev/null <<\_ASEOF --if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then -- emulate sh -- NULLCMD=: -- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which -- # is contrary to our usage. Disable this feature. -- alias -g '${1+"$@"}'='"$@"' -- setopt NO_GLOB_SUBST --else -- case `(set -o) 2>/dev/null` in -- *posix*) set -o posix ;; --esac - --fi - -+# Check that we are running under the correct shell. -+SHELL=${CONFIG_SHELL-/bin/sh} - --: --_ASEOF --}; then -- CONFIG_SHELL=$as_shell -- as_have_required=yes -- if { "$as_shell" 2> /dev/null <<\_ASEOF --if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then -- emulate sh -- NULLCMD=: -- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which -- # is contrary to our usage. Disable this feature. -- alias -g '${1+"$@"}'='"$@"' -- setopt NO_GLOB_SUBST --else -- case `(set -o) 2>/dev/null` in -- *posix*) set -o posix ;; --esac -- --fi -- -- --: --(as_func_return () { -- (exit $1) --} --as_func_success () { -- as_func_return 0 --} --as_func_failure () { -- as_func_return 1 --} --as_func_ret_success () { -- return 0 --} --as_func_ret_failure () { -- return 1 --} -- --exitcode=0 --if as_func_success; then -- : --else -- exitcode=1 -- echo as_func_success failed. --fi -- --if as_func_failure; then -- exitcode=1 -- echo as_func_failure succeeded. --fi -- --if as_func_ret_success; then -- : --else -- exitcode=1 -- echo as_func_ret_success failed. --fi -- --if as_func_ret_failure; then -- exitcode=1 -- echo as_func_ret_failure succeeded. --fi -- --if ( set x; as_func_ret_success y && test x = "$1" ); then -- : --else -- exitcode=1 -- echo positional parameters were not saved. --fi -- --test $exitcode = 0) || { (exit 1); exit 1; } -- --( -- as_lineno_1=$LINENO -- as_lineno_2=$LINENO -- test "x$as_lineno_1" != "x$as_lineno_2" && -- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } -- --_ASEOF --}; then -- break --fi -- --fi -- -- done -- -- if test "x$CONFIG_SHELL" != x; then -- for as_var in BASH_ENV ENV -- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -- done -- export CONFIG_SHELL -- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} --fi -- -- -- if test $as_have_required = no; then -- echo This script requires a shell more modern than all the -- echo shells that I found on your system. Please install a -- echo modern shell, or manually run the script under such a -- echo shell if you do have one. -- { (exit 1); exit 1; } --fi -- -- --fi -- --fi -- -- -- --(eval "as_func_return () { -- (exit \$1) --} --as_func_success () { -- as_func_return 0 --} --as_func_failure () { -- as_func_return 1 --} --as_func_ret_success () { -- return 0 --} --as_func_ret_failure () { -- return 1 --} -- --exitcode=0 --if as_func_success; then -- : --else -- exitcode=1 -- echo as_func_success failed. --fi -- --if as_func_failure; then -- exitcode=1 -- echo as_func_failure succeeded. --fi -- --if as_func_ret_success; then -- : --else -- exitcode=1 -- echo as_func_ret_success failed. --fi -- --if as_func_ret_failure; then -- exitcode=1 -- echo as_func_ret_failure succeeded. --fi -- --if ( set x; as_func_ret_success y && test x = \"\$1\" ); then -- : --else -- exitcode=1 -- echo positional parameters were not saved. --fi -- --test \$exitcode = 0") || { -- echo No shell found that supports shell functions. -- echo Please tell autoconf@gnu.org about your system, -- echo including any error possibly output before this -- echo message --} -- -- -- -- as_lineno_1=$LINENO -- as_lineno_2=$LINENO -- test "x$as_lineno_1" != "x$as_lineno_2" && -- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { -- -- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO -- # uniformly replaced by the line number. The first 'sed' inserts a -- # line-number line after each line using $LINENO; the second 'sed' -- # does the real work. The second script uses 'N' to pair each -- # line-number line with the line containing $LINENO, and appends -- # trailing '-' during substitution so that $LINENO is not a special -- # case at line end. -- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the -- # scripts with optimization help from Paolo Bonzini. Blame Lee -- # E. McMahon (1931-1989) for sed's syntax. :-) -- sed -n ' -- p -- /[$]LINENO/= -- ' <$as_myself | -- sed ' -- s/[$]LINENO.*/&-/ -- t lineno -- b -- :lineno -- N -- :loop -- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ -- t loop -- s/-\n.*// -- ' >$as_me.lineno && -- chmod +x "$as_me.lineno" || -- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 -- { (exit 1); exit 1; }; } -- -- # Don't try to exec as it changes $[0], causing all sort of problems -- # (the dirname of $[0] is not the place where we might find the -- # original and so on. Autoconf is especially sensitive to this). -- . "./$as_me.lineno" -- # Exit status is that of the last command. -- exit --} -- -- --if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then -- as_dirname=dirname --else -- as_dirname=false --fi -- --ECHO_C= ECHO_N= ECHO_T= --case `echo -n x` in ---n*) -- case `echo 'x\c'` in -- *c*) ECHO_T=' ';; # ECHO_T is single tab character. -- *) ECHO_C='\c';; -- esac;; --*) -- ECHO_N='-n';; --esac -- --if expr a : '\(a\)' >/dev/null 2>&1 && -- test "X`expr 00001 : '.*\(...\)'`" = X001; then -- as_expr=expr --else -- as_expr=false --fi -- --rm -f conf$$ conf$$.exe conf$$.file --if test -d conf$$.dir; then -- rm -f conf$$.dir/conf$$.file --else -- rm -f conf$$.dir -- mkdir conf$$.dir --fi --echo >conf$$.file --if ln -s conf$$.file conf$$ 2>/dev/null; then -- as_ln_s='ln -s' -- # ... but there are two gotchas: -- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. -- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. -- # In both cases, we have to default to `cp -p'. -- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || -- as_ln_s='cp -p' --elif ln conf$$.file conf$$ 2>/dev/null; then -- as_ln_s=ln --else -- as_ln_s='cp -p' --fi --rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file --rmdir conf$$.dir 2>/dev/null -- --if mkdir -p . 2>/dev/null; then -- as_mkdir_p=: --else -- test -d ./-p && rmdir ./-p -- as_mkdir_p=false --fi -- --if test -x / >/dev/null 2>&1; then -- as_test_x='test -x' --else -- if ls -dL / >/dev/null 2>&1; then -- as_ls_L_option=L -- else -- as_ls_L_option= -- fi -- as_test_x=' -- eval sh -c '\'' -- if test -d "$1"; then -- test -d "$1/."; -- else -- case $1 in -- -*)set "./$1";; -- esac; -- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in -- ???[sx]*):;;*)false;;esac;fi -- '\'' sh -- ' --fi --as_executable_p=$as_test_x -- --# Sed expression to map a string onto a valid CPP name. --as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" -- --# Sed expression to map a string onto a valid variable name. --as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" -- -- -- -- --# Check that we are running under the correct shell. --SHELL=${CONFIG_SHELL-/bin/sh} -- --case X$lt_ECHO in --X*--fallback-echo) -- # Remove one level of quotation (which was required for Make). -- ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` -- ;; -+case X$lt_ECHO in -+X*--fallback-echo) -+ # Remove one level of quotation (which was required for Make). -+ ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` -+ ;; - esac - - ECHO=${lt_ECHO-echo} -@@ -698,7 +675,8 @@ - - - --exec 7<&0 &1 -+test -n "$DJDIR" || exec 7<&0 &1 - - # Name of the host. - # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -@@ -716,7 +694,6 @@ - subdirs= - MFLAGS= - MAKEFLAGS= --SHELL=${CONFIG_SHELL-/bin/sh} - - # Identity of this package. - PACKAGE_NAME= -@@ -724,6 +701,7 @@ - PACKAGE_VERSION= - PACKAGE_STRING= - PACKAGE_BUGREPORT= -+PACKAGE_URL= - - # Factoring default headers for most tests. - ac_includes_default="\ -@@ -761,175 +739,212 @@ - # include - #endif" - --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 --datarootdir --datadir --sysconfdir --sharedstatedir --localstatedir --includedir --oldincludedir --docdir --infodir --htmldir --dvidir --pdfdir --psdir --libdir --localedir --mandir --DEFS --ECHO_C --ECHO_N --ECHO_T --LIBS --build_alias --host_alias --target_alias --INSTALL_PROGRAM --INSTALL_SCRIPT --INSTALL_DATA --am__isrc --CYGPATH_W --PACKAGE --VERSION --ACLOCAL --AUTOCONF --AUTOMAKE --AUTOHEADER --MAKEINFO --install_sh --STRIP --INSTALL_STRIP_PROGRAM --mkdir_p --AWK --SET_MAKE --am__leading_dot --AMTAR --am__tar --am__untar --PYTHON --PYTHON_VERSION --PYTHON_PREFIX --PYTHON_EXEC_PREFIX --PYTHON_PLATFORM --pythondir --pkgpythondir --pyexecdir --pkgpyexecdir --CC --CFLAGS --LDFLAGS --CPPFLAGS --ac_ct_CC --EXEEXT --OBJEXT --DEPDIR --am__include --am__quote --AMDEP_TRUE --AMDEP_FALSE --AMDEPBACKSLASH --CCDEPMODE --am__fastdepCC_TRUE --am__fastdepCC_FALSE --CPP --GREP -+ac_subst_vars='am__EXEEXT_FALSE -+am__EXEEXT_TRUE -+LTLIBOBJS -+LIBOBJS -+MANFLAGS -+MANTARGET -+MANGENERATOR -+HAVE_XSLT_PROCESSOR_FALSE -+HAVE_XSLT_PROCESSOR_TRUE -+WITH_XMLTO -+WITH_XSLTPROC -+HAVE_DBUS_FALSE -+HAVE_DBUS_TRUE -+DBUS_GLIB_LIBS -+DBUS_GLIB_CFLAGS -+DBUS_LIBS -+DBUS_CFLAGS -+HAVE_NTRIP_FALSE -+HAVE_NTRIP_TRUE -+HAVE_RTCM104V3_FALSE -+HAVE_RTCM104V3_TRUE -+HAVE_RTCM104V2_FALSE -+HAVE_RTCM104V2_TRUE -+HAVE_NCURSES_FALSE -+HAVE_NCURSES_TRUE -+NCURSES_LIBS -+HAVE_MOTIF_FALSE -+HAVE_MOTIF_TRUE -+XM_LIBS -+XP_LIBS -+XPM_LIBS -+XEXT_LIBS -+HAVE_XAW_FALSE -+HAVE_XAW_TRUE -+XAW_LIBS -+XT_LIBS -+X11_LIBS -+X_EXTRA_LIBS -+X_LIBS -+X_PRE_LIBS -+X_CFLAGS -+XMKMF -+LIBPTHREAD -+LIBC -+LIBM -+LIBSOCKET -+LIBNSL -+ALLOCA -+CXXCPP -+am__fastdepCXX_FALSE -+am__fastdepCXX_TRUE -+CXXDEPMODE -+ac_ct_CXX -+CXXFLAGS -+CXX -+CPP -+OTOOL64 -+OTOOL -+LIPO -+NMEDIT -+DSYMUTIL -+lt_ECHO -+RANLIB -+AR -+OBJDUMP -+NM -+ac_ct_DUMPBIN -+DUMPBIN -+LD -+FGREP - EGREP --PYTHON_CFLAGS --PYTHON_LIBS --HAVE_PYTHON_TRUE --HAVE_PYTHON_FALSE --LN_S --LIBTOOL --build --build_cpu --build_vendor --build_os --host --host_cpu --host_vendor --host_os -+GREP - SED --FGREP --LD --DUMPBIN --ac_ct_DUMPBIN --NM --AR --RANLIB --lt_ECHO --DSYMUTIL --NMEDIT --LIPO --OTOOL --OTOOL64 --CXX --CXXFLAGS --ac_ct_CXX --CXXDEPMODE --am__fastdepCXX_TRUE --am__fastdepCXX_FALSE --CXXCPP --ALLOCA --LIBNSL --LIBSOCKET --LIBM --LIBC --LIBPTHREAD --XMKMF --X_CFLAGS --X_PRE_LIBS --X_LIBS --X_EXTRA_LIBS --X11_LIBS --XT_LIBS --XAW_LIBS --HAVE_XAW_TRUE --HAVE_XAW_FALSE --XEXT_LIBS --XPM_LIBS --XP_LIBS --XM_LIBS --HAVE_MOTIF_TRUE --HAVE_MOTIF_FALSE --NCURSES_LIBS --HAVE_NCURSES_TRUE --HAVE_NCURSES_FALSE --HAVE_RTCM104V2_TRUE --HAVE_RTCM104V2_FALSE --HAVE_RTCM104V3_TRUE --HAVE_RTCM104V3_FALSE --HAVE_NTRIP_TRUE --HAVE_NTRIP_FALSE --DBUS_CFLAGS --DBUS_LIBS --DBUS_GLIB_CFLAGS --DBUS_GLIB_LIBS --HAVE_DBUS_TRUE --HAVE_DBUS_FALSE --WITH_XSLTPROC --WITH_XMLTO --HAVE_XSLT_PROCESSOR_TRUE --HAVE_XSLT_PROCESSOR_FALSE --MANGENERATOR --MANTARGET --MANFLAGS --LIBOBJS --LTLIBOBJS' -+am__fastdepCC_FALSE -+am__fastdepCC_TRUE -+CCDEPMODE -+AMDEPBACKSLASH -+AMDEP_FALSE -+AMDEP_TRUE -+am__quote -+am__include -+DEPDIR -+OBJEXT -+EXEEXT -+ac_ct_CC -+CPPFLAGS -+LDFLAGS -+CFLAGS -+CC -+host_os -+host_vendor -+host_cpu -+host -+build_os -+build_vendor -+build_cpu -+build -+LIBTOOL -+LN_S -+am__untar -+am__tar -+AMTAR -+am__leading_dot -+SET_MAKE -+AWK -+mkdir_p -+MKDIR_P -+INSTALL_STRIP_PROGRAM -+STRIP -+install_sh -+MAKEINFO -+AUTOHEADER -+AUTOMAKE -+AUTOCONF -+ACLOCAL -+VERSION -+PACKAGE -+CYGPATH_W -+am__isrc -+INSTALL_DATA -+INSTALL_SCRIPT -+INSTALL_PROGRAM -+target_alias -+host_alias -+build_alias -+LIBS -+ECHO_T -+ECHO_N -+ECHO_C -+DEFS -+mandir -+localedir -+libdir -+psdir -+pdfdir -+dvidir -+htmldir -+infodir -+docdir -+oldincludedir -+includedir -+localstatedir -+sharedstatedir -+sysconfdir -+datadir -+datarootdir -+libexecdir -+sbindir -+bindir -+program_transform_name -+prefix -+exec_prefix -+PACKAGE_URL -+PACKAGE_BUGREPORT -+PACKAGE_STRING -+PACKAGE_VERSION -+PACKAGE_TARNAME -+PACKAGE_NAME -+PATH_SEPARATOR -+SHELL' - ac_subst_files='' -+ac_user_opts=' -+enable_option_checking -+enable_shared -+enable_static -+with_pic -+enable_fast_install -+enable_dependency_tracking -+with_gnu_ld -+enable_libtool_lock -+with_x -+enable_nmea -+enable_sirf -+enable_superstar2 -+enable_tsip -+enable_fv18 -+enable_tripmate -+enable_earthmate -+enable_itrax -+enable_ashtech -+enable_navcom -+enable_garmin -+enable_garmintxt -+enable_tnt -+enable_oceanserver -+enable_ubx -+enable_evermore -+enable_mkt3301 -+enable_gpsclock -+enable_rtcm104v2 -+enable_rtcm104v3 -+enable_ntrip -+enable_aivdm -+enable_profiling -+enable_ntpshm -+enable_pps -+enable_pps_on_cts -+enable_gpsd_user -+enable_fixed_port_speed -+enable_dbus -+enable_max_clients -+enable_max_devices -+enable_reconfigure -+enable_controlsend -+enable_squelch -+' - ac_precious_vars='build_alias - host_alias - target_alias -@@ -949,6 +964,8 @@ - # Initialize some variables set by options. - ac_init_help= - ac_init_version=false -+ac_unrecognized_opts= -+ac_unrecognized_sep= - # The variables have the same names as the options, with - # dashes changed to underlines. - cache_file=/dev/null -@@ -1047,13 +1064,20 @@ - datarootdir=$ac_optarg ;; - - -disable-* | --disable-*) -- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` -+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. -- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && -- { echo "$as_me: error: invalid feature name: $ac_feature" >&2 -- { (exit 1); exit 1; }; } -- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` -- eval enable_$ac_feature=no ;; -+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && -+ as_fn_error "invalid feature name: $ac_useropt" -+ ac_useropt_orig=$ac_useropt -+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` -+ case $ac_user_opts in -+ *" -+"enable_$ac_useropt" -+"*) ;; -+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" -+ ac_unrecognized_sep=', ';; -+ esac -+ eval enable_$ac_useropt=no ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=docdir ;; -@@ -1066,13 +1090,20 @@ - dvidir=$ac_optarg ;; - - -enable-* | --enable-*) -- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` -+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` - # Reject names that are not valid shell variable names. -- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && -- { echo "$as_me: error: invalid feature name: $ac_feature" >&2 -- { (exit 1); exit 1; }; } -- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` -- eval enable_$ac_feature=\$ac_optarg ;; -+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && -+ as_fn_error "invalid feature name: $ac_useropt" -+ ac_useropt_orig=$ac_useropt -+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` -+ case $ac_user_opts in -+ *" -+"enable_$ac_useropt" -+"*) ;; -+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" -+ ac_unrecognized_sep=', ';; -+ esac -+ eval enable_$ac_useropt=\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ -@@ -1263,22 +1294,36 @@ - ac_init_version=: ;; - - -with-* | --with-*) -- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` -+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` - # Reject names that are not valid shell variable names. -- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && -- { echo "$as_me: error: invalid package name: $ac_package" >&2 -- { (exit 1); exit 1; }; } -- ac_package=`echo $ac_package | sed 's/[-.]/_/g'` -- eval with_$ac_package=\$ac_optarg ;; -+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && -+ as_fn_error "invalid package name: $ac_useropt" -+ ac_useropt_orig=$ac_useropt -+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` -+ case $ac_user_opts in -+ *" -+"with_$ac_useropt" -+"*) ;; -+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" -+ ac_unrecognized_sep=', ';; -+ esac -+ eval with_$ac_useropt=\$ac_optarg ;; - - -without-* | --without-*) -- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` -+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. -- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && -- { echo "$as_me: error: invalid package name: $ac_package" >&2 -- { (exit 1); exit 1; }; } -- ac_package=`echo $ac_package | sed 's/[-.]/_/g'` -- eval with_$ac_package=no ;; -+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && -+ as_fn_error "invalid package name: $ac_useropt" -+ ac_useropt_orig=$ac_useropt -+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` -+ case $ac_user_opts in -+ *" -+"with_$ac_useropt" -+"*) ;; -+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" -+ ac_unrecognized_sep=', ';; -+ esac -+ eval with_$ac_useropt=no ;; - - --x) - # Obsolete; use --with-x. -@@ -1298,25 +1343,25 @@ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; - -- -*) { echo "$as_me: error: unrecognized option: $ac_option --Try \`$0 --help' for more information." >&2 -- { (exit 1); exit 1; }; } -+ -*) as_fn_error "unrecognized option: \`$ac_option' -+Try \`$0 --help' for more information." - ;; - - *=*) - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` - # Reject names that are not valid shell variable names. -- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && -- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 -- { (exit 1); exit 1; }; } -+ case $ac_envvar in #( -+ '' | [0-9]* | *[!_$as_cr_alnum]* ) -+ as_fn_error "invalid variable name: \`$ac_envvar'" ;; -+ esac - eval $ac_envvar=\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. -- echo "$as_me: WARNING: you should use --build, --host, --target" >&2 -+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && -- echo "$as_me: WARNING: invalid host type: $ac_option" >&2 -+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} - ;; - -@@ -1325,23 +1370,36 @@ - - if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` -- { echo "$as_me: error: missing argument to $ac_option" >&2 -- { (exit 1); exit 1; }; } -+ as_fn_error "missing argument to $ac_option" - fi - --# Be sure to have absolute directory names. -+if test -n "$ac_unrecognized_opts"; then -+ case $enable_option_checking in -+ no) ;; -+ fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; -+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; -+ esac -+fi -+ -+# Check all directory arguments for consistency. - for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir - do - eval ac_val=\$$ac_var -+ # Remove trailing slashes. -+ case $ac_val in -+ */ ) -+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` -+ eval $ac_var=\$ac_val;; -+ esac -+ # Be sure to have absolute directory names. - case $ac_val in - [\\/$]* | ?:[\\/]* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac -- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 -- { (exit 1); exit 1; }; } -+ as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" - done - - # There might be people who depend on the old broken behavior: `$host' -@@ -1355,7 +1413,7 @@ - if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe -- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. -+ $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes -@@ -1371,23 +1429,21 @@ - ac_pwd=`pwd` && test -n "$ac_pwd" && - ac_ls_di=`ls -di .` && - ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || -- { echo "$as_me: error: Working directory cannot be determined" >&2 -- { (exit 1); exit 1; }; } -+ as_fn_error "working directory cannot be determined" - test "X$ac_ls_di" = "X$ac_pwd_ls_di" || -- { echo "$as_me: error: pwd does not report name of working directory" >&2 -- { (exit 1); exit 1; }; } -+ as_fn_error "pwd does not report name of working directory" - - - # Find the source files, if location was not specified. - if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then the parent directory. -- ac_confdir=`$as_dirname -- "$0" || --$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -- X"$0" : 'X\(//\)[^/]' \| \ -- X"$0" : 'X\(//\)$' \| \ -- X"$0" : 'X\(/\)' \| . 2>/dev/null || --echo X"$0" | -+ ac_confdir=`$as_dirname -- "$as_myself" || -+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$as_myself" : 'X\(//\)[^/]' \| \ -+ X"$as_myself" : 'X\(//\)$' \| \ -+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$as_myself" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q -@@ -1414,13 +1470,11 @@ - fi - if test ! -r "$srcdir/$ac_unique_file"; then - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." -- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 -- { (exit 1); exit 1; }; } -+ as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" - fi - ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" - ac_abs_confdir=`( -- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 -- { (exit 1); exit 1; }; } -+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" - pwd)` - # When building in place, set srcdir=. - if test "$ac_abs_confdir" = "$ac_pwd"; then -@@ -1468,9 +1522,9 @@ - - Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX -- [$ac_default_prefix] -+ [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX -- [PREFIX] -+ [PREFIX] - - By default, \`make install' will install all the files in - \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -@@ -1480,25 +1534,25 @@ - For better control, use the options below. - - Fine tuning of the installation directories: -- --bindir=DIR user executables [EPREFIX/bin] -- --sbindir=DIR system admin executables [EPREFIX/sbin] -- --libexecdir=DIR program executables [EPREFIX/libexec] -- --sysconfdir=DIR read-only single-machine data [PREFIX/etc] -- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] -- --localstatedir=DIR modifiable single-machine data [PREFIX/var] -- --libdir=DIR object code libraries [EPREFIX/lib] -- --includedir=DIR C header files [PREFIX/include] -- --oldincludedir=DIR C header files for non-gcc [/usr/include] -- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] -- --datadir=DIR read-only architecture-independent data [DATAROOTDIR] -- --infodir=DIR info documentation [DATAROOTDIR/info] -- --localedir=DIR locale-dependent data [DATAROOTDIR/locale] -- --mandir=DIR man documentation [DATAROOTDIR/man] -- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] -- --htmldir=DIR html documentation [DOCDIR] -- --dvidir=DIR dvi documentation [DOCDIR] -- --pdfdir=DIR pdf documentation [DOCDIR] -- --psdir=DIR ps documentation [DOCDIR] -+ --bindir=DIR user executables [EPREFIX/bin] -+ --sbindir=DIR system admin executables [EPREFIX/sbin] -+ --libexecdir=DIR program executables [EPREFIX/libexec] -+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] -+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] -+ --localstatedir=DIR modifiable single-machine data [PREFIX/var] -+ --libdir=DIR object code libraries [EPREFIX/lib] -+ --includedir=DIR C header files [PREFIX/include] -+ --oldincludedir=DIR C header files for non-gcc [/usr/include] -+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] -+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR] -+ --infodir=DIR info documentation [DATAROOTDIR/info] -+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale] -+ --mandir=DIR man documentation [DATAROOTDIR/man] -+ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] -+ --htmldir=DIR html documentation [DOCDIR] -+ --dvidir=DIR dvi documentation [DOCDIR] -+ --pdfdir=DIR pdf documentation [DOCDIR] -+ --psdir=DIR ps documentation [DOCDIR] - _ACEOF - - cat <<\_ACEOF -@@ -1523,15 +1577,15 @@ - cat <<\_ACEOF - - Optional Features: -+ --disable-option-checking ignore unrecognized --enable/--with options - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] -- --disable-python disable python scripts and library bindings -- --disable-dependency-tracking speeds up one-time build -- --enable-dependency-tracking do not reject slow dependency extractors - --enable-shared[=PKGS] build shared libraries [default=yes] - --enable-static[=PKGS] build static libraries [default=yes] - --enable-fast-install[=PKGS] - optimize for fast installation [default=yes] -+ --disable-dependency-tracking speeds up one-time build -+ --enable-dependency-tracking do not reject slow dependency extractors - --disable-libtool-lock avoid locking (might break parallel builds) - --disable-nmea disable NMEA support - --disable-sirf disable SiRF chipset support -@@ -1586,7 +1640,7 @@ - LDFLAGS linker flags, e.g. -L if you have libraries in a - nonstandard directory - LIBS libraries to pass to the linker, e.g. -l -- CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if -+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if - you have headers in a nonstandard directory - CPP C preprocessor - CXX C++ compiler command -@@ -1597,6 +1651,7 @@ - Use these variables to override the choices made by `configure' or to help - it to find libraries and programs with nonstandard names/locations. - -+Report bugs to the package provider. - _ACEOF - ac_status=$? - fi -@@ -1604,15 +1659,17 @@ - if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue -- test -d "$ac_dir" || continue -+ test -d "$ac_dir" || -+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || -+ continue - ac_builddir=. - - case "$ac_dir" in - .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) -- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` -+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. -- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` -+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; -@@ -1648,7 +1705,7 @@ - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else -- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 -+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -@@ -1658,848 +1715,1104 @@ - if $ac_init_version; then - cat <<\_ACEOF - configure --generated by GNU Autoconf 2.61 -+generated by GNU Autoconf 2.65 - --Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, --2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. -+Copyright (C) 2009 Free Software Foundation, Inc. - This configure script is free software; the Free Software Foundation - gives unlimited permission to copy, distribute and modify it. - _ACEOF - exit - fi --cat >config.log <<_ACEOF --This file contains any messages produced by compilers while --running configure, to aid debugging if configure makes a mistake. -- --It was created by $as_me, which was --generated by GNU Autoconf 2.61. Invocation command line was - -- $ $0 $@ -- --_ACEOF --exec 5>>config.log -+## ------------------------ ## -+## Autoconf initialization. ## -+## ------------------------ ## -+ -+# ac_fn_c_try_compile LINENO -+# -------------------------- -+# Try to compile conftest.$ac_ext, and return whether this succeeded. -+ac_fn_c_try_compile () - { --cat <<_ASUNAME --## --------- ## --## Platform. ## --## --------- ## -- --hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` --uname -m = `(uname -m) 2>/dev/null || echo unknown` --uname -r = `(uname -r) 2>/dev/null || echo unknown` --uname -s = `(uname -s) 2>/dev/null || echo unknown` --uname -v = `(uname -v) 2>/dev/null || echo unknown` -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ rm -f conftest.$ac_objext -+ if { { ac_try="$ac_compile" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_compile") 2>conftest.err -+ ac_status=$? -+ if test -s conftest.err; then -+ grep -v '^ *+' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ mv -f conftest.er1 conftest.err -+ fi -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && { -+ test -z "$ac_c_werror_flag" || -+ test ! -s conftest.err -+ } && test -s conftest.$ac_objext; then : -+ ac_retval=0 -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 - --/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` --/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` -+ ac_retval=1 -+fi -+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} -+ as_fn_set_status $ac_retval - --/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` --/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` --/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` --/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` --/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` --/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` --/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` -+} # ac_fn_c_try_compile - --_ASUNAME -+# ac_fn_c_try_link LINENO -+# ----------------------- -+# Try to link conftest.$ac_ext, and return whether this succeeded. -+ac_fn_c_try_link () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ rm -f conftest.$ac_objext conftest$ac_exeext -+ if { { ac_try="$ac_link" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link") 2>conftest.err -+ ac_status=$? -+ if test -s conftest.err; then -+ grep -v '^ *+' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ mv -f conftest.er1 conftest.err -+ fi -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && { -+ test -z "$ac_c_werror_flag" || -+ test ! -s conftest.err -+ } && test -s conftest$ac_exeext && { -+ test "$cross_compiling" = yes || -+ $as_test_x conftest$ac_exeext -+ }; then : -+ ac_retval=0 -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 - --as_save_IFS=$IFS; IFS=$PATH_SEPARATOR --for as_dir in $PATH --do -- IFS=$as_save_IFS -- test -z "$as_dir" && as_dir=. -- echo "PATH: $as_dir" --done --IFS=$as_save_IFS -+ ac_retval=1 -+fi -+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information -+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would -+ # interfere with the next link command; also delete a directory that is -+ # left behind by Apple's compiler. We do this before executing the actions. -+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo -+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} -+ as_fn_set_status $ac_retval - --} >&5 -+} # ac_fn_c_try_link - --cat >&5 <<_ACEOF -+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -+# ------------------------------------------------------- -+# Tests whether HEADER exists and can be compiled using the include files in -+# INCLUDES, setting the cache variable VAR accordingly. -+ac_fn_c_check_header_compile () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -+$as_echo_n "checking for $2... " >&6; } -+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+#include <$2> -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$3=yes" -+else -+ eval "$3=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -+} # ac_fn_c_check_header_compile - --## ----------- ## --## Core tests. ## --## ----------- ## -+# ac_fn_c_try_cpp LINENO -+# ---------------------- -+# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -+ac_fn_c_try_cpp () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ if { { ac_try="$ac_cpp conftest.$ac_ext" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err -+ ac_status=$? -+ if test -s conftest.err; then -+ grep -v '^ *+' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ mv -f conftest.er1 conftest.err -+ fi -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } >/dev/null && { -+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || -+ test ! -s conftest.err -+ }; then : -+ ac_retval=0 -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 - --_ACEOF -+ ac_retval=1 -+fi -+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} -+ as_fn_set_status $ac_retval - -+} # ac_fn_c_try_cpp - --# Keep a trace of the command line. --# Strip out --no-create and --no-recursion so they do not pile up. --# Strip out --silent because we don't want to record it for future runs. --# Also quote any args containing shell meta-characters. --# Make two passes to allow for proper duplicate-argument suppression. --ac_configure_args= --ac_configure_args0= --ac_configure_args1= --ac_must_keep_next=false --for ac_pass in 1 2 --do -- for ac_arg -- do -- case $ac_arg in -- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -- -q | -quiet | --quiet | --quie | --qui | --qu | --q \ -- | -silent | --silent | --silen | --sile | --sil) -- continue ;; -- *\'*) -- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; -- esac -- case $ac_pass in -- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; -- 2) -- ac_configure_args1="$ac_configure_args1 '$ac_arg'" -- if test $ac_must_keep_next = true; then -- ac_must_keep_next=false # Got value, back to normal. -- else -- case $ac_arg in -- *=* | --config-cache | -C | -disable-* | --disable-* \ -- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ -- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ -- | -with-* | --with-* | -without-* | --without-* | --x) -- case "$ac_configure_args0 " in -- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; -- esac -- ;; -- -* ) ac_must_keep_next=true ;; -- esac -- fi -- ac_configure_args="$ac_configure_args '$ac_arg'" -- ;; -- esac -- done --done --$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } --$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } -+# ac_fn_c_try_run LINENO -+# ---------------------- -+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -+# that executables *can* be run. -+ac_fn_c_try_run () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ if { { ac_try="$ac_link" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' -+ { { case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_try") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; }; then : -+ ac_retval=0 -+else -+ $as_echo "$as_me: program exited with status $ac_status" >&5 -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 - --# When interrupted or exit'd, cleanup temporary files, and complete --# config.log. We remove comments because anyway the quotes in there --# would cause problems or look ugly. --# WARNING: Use '\'' to represent an apostrophe within the trap. --# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. --trap 'exit_status=$? -- # Save into config.log some information that might help in debugging. -- { -- echo -+ ac_retval=$ac_status -+fi -+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo -+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} -+ as_fn_set_status $ac_retval - -- cat <<\_ASBOX --## ---------------- ## --## Cache variables. ## --## ---------------- ## --_ASBOX -- echo -- # The following way of writing the cache mishandles newlines in values, --( -- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do -- eval ac_val=\$$ac_var -- case $ac_val in #( -- *${as_nl}*) -- case $ac_var in #( -- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 --echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; -- esac -- case $ac_var in #( -- _ | IFS | as_nl) ;; #( -- *) $as_unset $ac_var ;; -- esac ;; -- esac -- done -- (set) 2>&1 | -- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( -- *${as_nl}ac_space=\ *) -- sed -n \ -- "s/'\''/'\''\\\\'\'''\''/g; -- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" -- ;; #( -- *) -- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" -- ;; -- esac | -- sort --) -- echo -+} # ac_fn_c_try_run - -- cat <<\_ASBOX --## ----------------- ## --## Output variables. ## --## ----------------- ## --_ASBOX -- echo -- for ac_var in $ac_subst_vars -- do -- eval ac_val=\$$ac_var -- case $ac_val in -- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; -- esac -- echo "$ac_var='\''$ac_val'\''" -- done | sort -- echo -+# ac_fn_c_check_func LINENO FUNC VAR -+# ---------------------------------- -+# Tests whether FUNC exists, setting the cache variable VAR accordingly -+ac_fn_c_check_func () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -+$as_echo_n "checking for $2... " >&6; } -+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+/* Define $2 to an innocuous variant, in case declares $2. -+ For example, HP-UX 11i declares gettimeofday. */ -+#define $2 innocuous_$2 - -- if test -n "$ac_subst_files"; then -- cat <<\_ASBOX --## ------------------- ## --## File substitutions. ## --## ------------------- ## --_ASBOX -- echo -- for ac_var in $ac_subst_files -- do -- eval ac_val=\$$ac_var -- case $ac_val in -- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; -- esac -- echo "$ac_var='\''$ac_val'\''" -- done | sort -- echo -- fi -+/* System header to define __stub macros and hopefully few prototypes, -+ which can conflict with char $2 (); below. -+ Prefer to if __STDC__ is defined, since -+ exists even on freestanding compilers. */ - -- if test -s confdefs.h; then -- cat <<\_ASBOX --## ----------- ## --## confdefs.h. ## --## ----------- ## --_ASBOX -- echo -- cat confdefs.h -- echo -- fi -- test "$ac_signal" != 0 && -- echo "$as_me: caught signal $ac_signal" -- echo "$as_me: exit $exit_status" -- } >&5 -- rm -f core *.core core.conftest.* && -- rm -f -r conftest* confdefs* conf$$* $ac_clean_files && -- exit $exit_status --' 0 --for ac_signal in 1 2 13 15; do -- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal --done --ac_signal=0 -+#ifdef __STDC__ -+# include -+#else -+# include -+#endif - --# confdefs.h avoids OS command line length limits that DEFS can exceed. --rm -f -r conftest* confdefs.h -+#undef $2 - --# Predefined preprocessor variables. -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char $2 (); -+/* The GNU C library defines this for functions which it implements -+ to always fail with ENOSYS. Some functions are actually named -+ something starting with __ and the normal name is an alias. */ -+#if defined __stub_$2 || defined __stub___$2 -+choke me -+#endif - --cat >>confdefs.h <<_ACEOF --#define PACKAGE_NAME "$PACKAGE_NAME" -+int -+main () -+{ -+return $2 (); -+ ; -+ return 0; -+} - _ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ eval "$3=yes" -+else -+ eval "$3=no" -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -+} # ac_fn_c_check_func - --cat >>confdefs.h <<_ACEOF --#define PACKAGE_TARNAME "$PACKAGE_TARNAME" --_ACEOF -+# ac_fn_cxx_try_compile LINENO -+# ---------------------------- -+# Try to compile conftest.$ac_ext, and return whether this succeeded. -+ac_fn_cxx_try_compile () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ rm -f conftest.$ac_objext -+ if { { ac_try="$ac_compile" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_compile") 2>conftest.err -+ ac_status=$? -+ if test -s conftest.err; then -+ grep -v '^ *+' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ mv -f conftest.er1 conftest.err -+ fi -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && { -+ test -z "$ac_cxx_werror_flag" || -+ test ! -s conftest.err -+ } && test -s conftest.$ac_objext; then : -+ ac_retval=0 -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 - -+ ac_retval=1 -+fi -+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} -+ as_fn_set_status $ac_retval - --cat >>confdefs.h <<_ACEOF --#define PACKAGE_VERSION "$PACKAGE_VERSION" --_ACEOF -+} # ac_fn_cxx_try_compile - -+# ac_fn_cxx_try_cpp LINENO -+# ------------------------ -+# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -+ac_fn_cxx_try_cpp () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ if { { ac_try="$ac_cpp conftest.$ac_ext" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err -+ ac_status=$? -+ if test -s conftest.err; then -+ grep -v '^ *+' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ mv -f conftest.er1 conftest.err -+ fi -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } >/dev/null && { -+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || -+ test ! -s conftest.err -+ }; then : -+ ac_retval=0 -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 - --cat >>confdefs.h <<_ACEOF --#define PACKAGE_STRING "$PACKAGE_STRING" --_ACEOF -+ ac_retval=1 -+fi -+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} -+ as_fn_set_status $ac_retval - -+} # ac_fn_cxx_try_cpp - --cat >>confdefs.h <<_ACEOF --#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" --_ACEOF -+# ac_fn_cxx_try_link LINENO -+# ------------------------- -+# Try to link conftest.$ac_ext, and return whether this succeeded. -+ac_fn_cxx_try_link () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ rm -f conftest.$ac_objext conftest$ac_exeext -+ if { { ac_try="$ac_link" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link") 2>conftest.err -+ ac_status=$? -+ if test -s conftest.err; then -+ grep -v '^ *+' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ mv -f conftest.er1 conftest.err -+ fi -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && { -+ test -z "$ac_cxx_werror_flag" || -+ test ! -s conftest.err -+ } && test -s conftest$ac_exeext && { -+ test "$cross_compiling" = yes || -+ $as_test_x conftest$ac_exeext -+ }; then : -+ ac_retval=0 -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ ac_retval=1 -+fi -+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information -+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would -+ # interfere with the next link command; also delete a directory that is -+ # left behind by Apple's compiler. We do this before executing the actions. -+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo -+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} -+ as_fn_set_status $ac_retval -+ -+} # ac_fn_cxx_try_link -+ -+# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES -+# -------------------------------------------- -+# Tries to find the compile-time value of EXPR in a program that includes -+# INCLUDES, setting VAR accordingly. Returns whether the value could be -+# computed -+ac_fn_c_compute_int () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ if test "$cross_compiling" = yes; then -+ # Depending upon the size, compute the lo and hi bounds. -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+static int test_array [1 - 2 * !(($2) >= 0)]; -+test_array [0] = 0 - -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_lo=0 ac_mid=0 -+ while :; do -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+static int test_array [1 - 2 * !(($2) <= $ac_mid)]; -+test_array [0] = 0 - --# Let the site file select an alternate cache file if it wants to. --# Prefer explicitly selected file to automatically selected ones. --if test -n "$CONFIG_SITE"; then -- set x "$CONFIG_SITE" --elif test "x$prefix" != xNONE; then -- set x "$prefix/share/config.site" "$prefix/etc/config.site" -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_hi=$ac_mid; break - else -- set x "$ac_default_prefix/share/config.site" \ -- "$ac_default_prefix/etc/config.site" -+ as_fn_arith $ac_mid + 1 && ac_lo=$as_val -+ if test $ac_lo -le $ac_mid; then -+ ac_lo= ac_hi= -+ break -+ fi -+ as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val - fi --shift --for ac_site_file --do -- if test -r "$ac_site_file"; then -- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 --echo "$as_me: loading site script $ac_site_file" >&6;} -- sed 's/^/| /' "$ac_site_file" >&5 -- . "$ac_site_file" -- fi --done -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ done -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+static int test_array [1 - 2 * !(($2) < 0)]; -+test_array [0] = 0 - --if test -r "$cache_file"; then -- # Some versions of bash will fail to source /dev/null (special -- # files actually), so we avoid doing that. -- if test -f "$cache_file"; then -- { echo "$as_me:$LINENO: loading cache $cache_file" >&5 --echo "$as_me: loading cache $cache_file" >&6;} -- case $cache_file in -- [\\/]* | ?:[\\/]* ) . "$cache_file";; -- *) . "./$cache_file";; -- esac -- fi -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_hi=-1 ac_mid=-1 -+ while :; do -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+static int test_array [1 - 2 * !(($2) >= $ac_mid)]; -+test_array [0] = 0 -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_lo=$ac_mid; break - else -- { echo "$as_me:$LINENO: creating cache $cache_file" >&5 --echo "$as_me: creating cache $cache_file" >&6;} -- >$cache_file -+ as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val -+ if test $ac_mid -le $ac_hi; then -+ ac_lo= ac_hi= -+ break -+ fi -+ as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ done -+else -+ ac_lo= ac_hi= -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+# Binary search between lo and hi bounds. -+while test "x$ac_lo" != "x$ac_hi"; do -+ as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+static int test_array [1 - 2 * !(($2) <= $ac_mid)]; -+test_array [0] = 0 - --# Check that the precious variables saved in the cache have kept the same --# value. --ac_cache_corrupted=false --for ac_var in $ac_precious_vars; do -- eval ac_old_set=\$ac_cv_env_${ac_var}_set -- eval ac_new_set=\$ac_env_${ac_var}_set -- eval ac_old_val=\$ac_cv_env_${ac_var}_value -- eval ac_new_val=\$ac_env_${ac_var}_value -- case $ac_old_set,$ac_new_set in -- set,) -- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 --echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} -- ac_cache_corrupted=: ;; -- ,set) -- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 --echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} -- ac_cache_corrupted=: ;; -- ,);; -- *) -- if test "x$ac_old_val" != "x$ac_new_val"; then -- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 --echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} -- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 --echo "$as_me: former value: $ac_old_val" >&2;} -- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 --echo "$as_me: current value: $ac_new_val" >&2;} -- ac_cache_corrupted=: -- fi;; -- esac -- # Pass precious variables to config.status. -- if test "$ac_new_set" = set; then -- case $ac_new_val in -- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; -- *) ac_arg=$ac_var=$ac_new_val ;; -- esac -- case " $ac_configure_args " in -- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. -- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; -- esac -- fi --done --if $ac_cache_corrupted; then -- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 --echo "$as_me: error: changes in the environment can compromise the build" >&2;} -- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 --echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} -- { (exit 1); exit 1; }; } -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_hi=$ac_mid -+else -+ as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val - fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+done -+case $ac_lo in #(( -+?*) eval "$3=\$ac_lo"; ac_retval=0 ;; -+'') ac_retval=1 ;; -+esac -+ else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+static long int longval () { return $2; } -+static unsigned long int ulongval () { return $2; } -+#include -+#include -+int -+main () -+{ - -+ FILE *f = fopen ("conftest.val", "w"); -+ if (! f) -+ return 1; -+ if (($2) < 0) -+ { -+ long int i = longval (); -+ if (i != ($2)) -+ return 1; -+ fprintf (f, "%ld", i); -+ } -+ else -+ { -+ unsigned long int i = ulongval (); -+ if (i != ($2)) -+ return 1; -+ fprintf (f, "%lu", i); -+ } -+ /* Do not output a trailing newline, as this causes \r\n confusion -+ on some platforms. */ -+ return ferror (f) || fclose (f) != 0; - -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ echo >>conftest.val; read $3 &5 -+$as_echo_n "checking for $2... " >&6; } -+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : -+ $as_echo_n "(cached) " >&6 -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+else -+ # Is the header compilable? -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 -+$as_echo_n "checking $2 usability... " >&6; } -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+#include <$2> -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_header_compiler=yes -+else -+ ac_header_compiler=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -+$as_echo "$ac_header_compiler" >&6; } - -+# Is the header present? -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -+$as_echo_n "checking $2 presence... " >&6; } -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include <$2> -+_ACEOF -+if ac_fn_c_try_cpp "$LINENO"; then : -+ ac_header_preproc=yes -+else -+ ac_header_preproc=no -+fi -+rm -f conftest.err conftest.$ac_ext -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -+$as_echo "$ac_header_preproc" >&6; } - -+# So? What about this header? -+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( -+ yes:no: ) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} -+ ;; -+ no:yes:* ) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} -+ ;; -+esac -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -+$as_echo_n "checking for $2... " >&6; } -+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : -+ $as_echo_n "(cached) " >&6 -+else -+ eval "$3=\$ac_header_compiler" -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+fi -+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -+} # ac_fn_c_check_header_mongrel - -+# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES -+# ---------------------------------------------------- -+# Tries to find if the field MEMBER exists in type AGGR, after including -+# INCLUDES, setting cache variable VAR accordingly. -+ac_fn_c_check_member () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 -+$as_echo_n "checking for $2.$3... " >&6; } -+if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$5 -+int -+main () -+{ -+static $2 ac_aggr; -+if (ac_aggr.$3) -+return 0; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$4=yes" -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$5 -+int -+main () -+{ -+static $2 ac_aggr; -+if (sizeof ac_aggr.$3) -+return 0; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$4=yes" -+else -+ eval "$4=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$4 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -+} # ac_fn_c_check_member - -+# ac_fn_c_check_decl LINENO SYMBOL VAR -+# ------------------------------------ -+# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. -+ac_fn_c_check_decl () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 -+$as_echo_n "checking whether $2 is declared... " >&6; } -+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+#ifndef $2 -+ (void) $2; -+#endif - -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$3=yes" -+else -+ eval "$3=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -+} # ac_fn_c_check_decl -+cat >config.log <<_ACEOF -+This file contains any messages produced by compilers while -+running configure, to aid debugging if configure makes a mistake. - -+It was created by $as_me, which was -+generated by GNU Autoconf 2.65. Invocation command line was - -+ $ $0 $@ - -+_ACEOF -+exec 5>>config.log -+{ -+cat <<_ASUNAME -+## --------- ## -+## Platform. ## -+## --------- ## - --ac_ext=c --ac_cpp='$CPP $CPPFLAGS' --ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' --ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' --ac_compiler_gnu=$ac_cv_c_compiler_gnu -- -- --am__api_version='1.10' -+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -+uname -m = `(uname -m) 2>/dev/null || echo unknown` -+uname -r = `(uname -r) 2>/dev/null || echo unknown` -+uname -s = `(uname -s) 2>/dev/null || echo unknown` -+uname -v = `(uname -v) 2>/dev/null || echo unknown` - --ac_aux_dir= --for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do -- if test -f "$ac_dir/install-sh"; then -- ac_aux_dir=$ac_dir -- ac_install_sh="$ac_aux_dir/install-sh -c" -- break -- elif test -f "$ac_dir/install.sh"; then -- ac_aux_dir=$ac_dir -- ac_install_sh="$ac_aux_dir/install.sh -c" -- break -- elif test -f "$ac_dir/shtool"; then -- ac_aux_dir=$ac_dir -- ac_install_sh="$ac_aux_dir/shtool install -c" -- break -- fi --done --if test -z "$ac_aux_dir"; then -- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 --echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} -- { (exit 1); exit 1; }; } --fi -+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - --# These three variables are undocumented and unsupported, --# and are intended to be withdrawn in a future Autoconf release. --# They can cause serious problems if a builder's source tree is in a directory --# whose full name contains unusual characters. --ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. --ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. --ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. -+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -+_ASUNAME - --# Find a good install program. We prefer a C program (faster), --# so one script is as good as another. But avoid the broken or --# incompatible versions: --# SysV /etc/install, /usr/sbin/install --# SunOS /usr/etc/install --# IRIX /sbin/install --# AIX /bin/install --# AmigaOS /C/install, which installs bootblocks on floppy discs --# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag --# AFS /usr/afsws/bin/install, which mishandles nonexistent args --# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" --# OS/2's system install, which has a completely different semantic --# ./install, which can be erroneously created by make from ./install.sh. --{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 --echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } --if test -z "$INSTALL"; then --if test "${ac_cv_path_install+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR - for as_dir in $PATH - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- # Account for people who put trailing slashes in PATH elements. --case $as_dir/ in -- ./ | .// | /cC/* | \ -- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ -- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ -- /usr/ucb/* ) ;; -- *) -- # OSF1 and SCO ODT 3.0 have their own names for install. -- # Don't use installbsd from OSF since it installs stuff as root -- # by default. -- for ac_prog in ginstall scoinst install; do -- for ac_exec_ext in '' $ac_executable_extensions; do -- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then -- if test $ac_prog = install && -- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then -- # AIX install. It has an incompatible calling convention. -- : -- elif test $ac_prog = install && -- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then -- # program-specific install script used by HP pwplus--don't use. -- : -- else -- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" -- break 3 -- fi -- fi -- done -- done -- ;; --esac --done -+ $as_echo "PATH: $as_dir" -+ done - IFS=$as_save_IFS - -+} >&5 - --fi -- if test "${ac_cv_path_install+set}" = set; then -- INSTALL=$ac_cv_path_install -- else -- # As a last resort, use the slow shell script. Don't cache a -- # value for INSTALL within a source directory, because that will -- # break other packages using the cache if that directory is -- # removed, or if the value is a relative name. -- INSTALL=$ac_install_sh -- fi --fi --{ echo "$as_me:$LINENO: result: $INSTALL" >&5 --echo "${ECHO_T}$INSTALL" >&6; } -- --# Use test -z because SunOS4 sh mishandles braces in ${var-val}. --# It thinks the first close brace ends the variable substitution. --test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' -- --test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' -- --test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -+cat >&5 <<_ACEOF - --{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 --echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } --# Just in case --sleep 1 --echo timestamp > conftest.file --# Do `set' in a subshell so we don't clobber the current shell's --# arguments. Must try -L first in case configure is actually a --# symlink; some systems play weird games with the mod time of symlinks --# (eg FreeBSD returns the mod time of the symlink's containing --# directory). --if ( -- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` -- if test "$*" = "X"; then -- # -L didn't work. -- set X `ls -t $srcdir/configure conftest.file` -- fi -- rm -f conftest.file -- if test "$*" != "X $srcdir/configure conftest.file" \ -- && test "$*" != "X conftest.file $srcdir/configure"; then - -- # If neither matched, then we have a broken ls. This can happen -- # if, for instance, CONFIG_SHELL is bash and it inherits a -- # broken ls alias from the environment. This has actually -- # happened. Such a system could not be considered "sane". -- { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken --alias in your environment" >&5 --echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken --alias in your environment" >&2;} -- { (exit 1); exit 1; }; } -- fi -+## ----------- ## -+## Core tests. ## -+## ----------- ## - -- test "$2" = conftest.file -- ) --then -- # Ok. -- : --else -- { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! --Check your system clock" >&5 --echo "$as_me: error: newly created file is older than distributed files! --Check your system clock" >&2;} -- { (exit 1); exit 1; }; } --fi --{ echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } --test "$program_prefix" != NONE && -- program_transform_name="s&^&$program_prefix&;$program_transform_name" --# Use a double $ so make ignores it. --test "$program_suffix" != NONE && -- program_transform_name="s&\$&$program_suffix&;$program_transform_name" --# Double any \ or $. echo might interpret backslashes. --# By default was `s,x,x', remove it if useless. --cat <<\_ACEOF >conftest.sed --s/[\\$]/&&/g;s/;s,x,x,$// - _ACEOF --program_transform_name=`echo $program_transform_name | sed -f conftest.sed` --rm -f conftest.sed -- --# expand $ac_aux_dir to an absolute path --am_aux_dir=`cd $ac_aux_dir && pwd` - --test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" --# Use eval to expand $SHELL --if eval "$MISSING --run true"; then -- am_missing_run="$MISSING --run " --else -- am_missing_run= -- { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 --echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} --fi - --{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 --echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } --if test -z "$MKDIR_P"; then -- if test "${ac_cv_path_mkdir+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR --for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin -+# Keep a trace of the command line. -+# Strip out --no-create and --no-recursion so they do not pile up. -+# Strip out --silent because we don't want to record it for future runs. -+# Also quote any args containing shell meta-characters. -+# Make two passes to allow for proper duplicate-argument suppression. -+ac_configure_args= -+ac_configure_args0= -+ac_configure_args1= -+ac_must_keep_next=false -+for ac_pass in 1 2 - do -- IFS=$as_save_IFS -- test -z "$as_dir" && as_dir=. -- for ac_prog in mkdir gmkdir; do -- for ac_exec_ext in '' $ac_executable_extensions; do -- { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue -- case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( -- 'mkdir (GNU coreutils) '* | \ -- 'mkdir (coreutils) '* | \ -- 'mkdir (fileutils) '4.1*) -- ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext -- break 3;; -- esac -- done -- done -+ for ac_arg -+ do -+ case $ac_arg in -+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ -+ | -silent | --silent | --silen | --sile | --sil) -+ continue ;; -+ *\'*) -+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; -+ esac -+ case $ac_pass in -+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; -+ 2) -+ as_fn_append ac_configure_args1 " '$ac_arg'" -+ if test $ac_must_keep_next = true; then -+ ac_must_keep_next=false # Got value, back to normal. -+ else -+ case $ac_arg in -+ *=* | --config-cache | -C | -disable-* | --disable-* \ -+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ -+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ -+ | -with-* | --with-* | -without-* | --without-* | --x) -+ case "$ac_configure_args0 " in -+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; -+ esac -+ ;; -+ -* ) ac_must_keep_next=true ;; -+ esac -+ fi -+ as_fn_append ac_configure_args " '$ac_arg'" -+ ;; -+ esac -+ done - done --IFS=$as_save_IFS -- --fi -- -- if test "${ac_cv_path_mkdir+set}" = set; then -- MKDIR_P="$ac_cv_path_mkdir -p" -- else -- # As a last resort, use the slow shell script. Don't cache a -- # value for MKDIR_P within a source directory, because that will -- # break other packages using the cache if that directory is -- # removed, or if the value is a relative name. -- test -d ./--version && rmdir ./--version -- MKDIR_P="$ac_install_sh -d" -- fi --fi --{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5 --echo "${ECHO_T}$MKDIR_P" >&6; } -+{ ac_configure_args0=; unset ac_configure_args0;} -+{ ac_configure_args1=; unset ac_configure_args1;} - --mkdir_p="$MKDIR_P" --case $mkdir_p in -- [\\/$]* | ?:[\\/]*) ;; -- */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; --esac -+# When interrupted or exit'd, cleanup temporary files, and complete -+# config.log. We remove comments because anyway the quotes in there -+# would cause problems or look ugly. -+# WARNING: Use '\'' to represent an apostrophe within the trap. -+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -+trap 'exit_status=$? -+ # Save into config.log some information that might help in debugging. -+ { -+ echo - --for ac_prog in gawk mawk nawk awk --do -- # Extract the first word of "$ac_prog", so it can be a program name with args. --set dummy $ac_prog; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_AWK+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- if test -n "$AWK"; then -- ac_cv_prog_AWK="$AWK" # Let the user override the test. --else --as_save_IFS=$IFS; IFS=$PATH_SEPARATOR --for as_dir in $PATH --do -- IFS=$as_save_IFS -- test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -- ac_cv_prog_AWK="$ac_prog" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -- break 2 -- fi --done --done --IFS=$as_save_IFS -+ cat <<\_ASBOX -+## ---------------- ## -+## Cache variables. ## -+## ---------------- ## -+_ASBOX -+ echo -+ # The following way of writing the cache mishandles newlines in values, -+( -+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do -+ eval ac_val=\$$ac_var -+ case $ac_val in #( -+ *${as_nl}*) -+ case $ac_var in #( -+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; -+ esac -+ case $ac_var in #( -+ _ | IFS | as_nl) ;; #( -+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( -+ *) { eval $ac_var=; unset $ac_var;} ;; -+ esac ;; -+ esac -+ done -+ (set) 2>&1 | -+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( -+ *${as_nl}ac_space=\ *) -+ sed -n \ -+ "s/'\''/'\''\\\\'\'''\''/g; -+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" -+ ;; #( -+ *) -+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" -+ ;; -+ esac | -+ sort -+) -+ echo - --fi --fi --AWK=$ac_cv_prog_AWK --if test -n "$AWK"; then -- { echo "$as_me:$LINENO: result: $AWK" >&5 --echo "${ECHO_T}$AWK" >&6; } --else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } --fi -+ cat <<\_ASBOX -+## ----------------- ## -+## Output variables. ## -+## ----------------- ## -+_ASBOX -+ echo -+ for ac_var in $ac_subst_vars -+ do -+ eval ac_val=\$$ac_var -+ case $ac_val in -+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; -+ esac -+ $as_echo "$ac_var='\''$ac_val'\''" -+ done | sort -+ echo - -+ if test -n "$ac_subst_files"; then -+ cat <<\_ASBOX -+## ------------------- ## -+## File substitutions. ## -+## ------------------- ## -+_ASBOX -+ echo -+ for ac_var in $ac_subst_files -+ do -+ eval ac_val=\$$ac_var -+ case $ac_val in -+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; -+ esac -+ $as_echo "$ac_var='\''$ac_val'\''" -+ done | sort -+ echo -+ fi - -- test -n "$AWK" && break -+ if test -s confdefs.h; then -+ cat <<\_ASBOX -+## ----------- ## -+## confdefs.h. ## -+## ----------- ## -+_ASBOX -+ echo -+ cat confdefs.h -+ echo -+ fi -+ test "$ac_signal" != 0 && -+ $as_echo "$as_me: caught signal $ac_signal" -+ $as_echo "$as_me: exit $exit_status" -+ } >&5 -+ rm -f core *.core core.conftest.* && -+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files && -+ exit $exit_status -+' 0 -+for ac_signal in 1 2 13 15; do -+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal - done -+ac_signal=0 - --{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 --echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } --set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` --if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.make <<\_ACEOF --SHELL = /bin/sh --all: -- @echo '@@@%%%=$(MAKE)=@@@%%%' --_ACEOF --# GNU make sometimes prints "make[1]: Entering...", which would confuse us. --case `${MAKE-make} -f conftest.make 2>/dev/null` in -- *@@@%%%=?*=@@@%%%*) -- eval ac_cv_prog_make_${ac_make}_set=yes;; -- *) -- eval ac_cv_prog_make_${ac_make}_set=no;; --esac --rm -f conftest.make --fi --if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -- SET_MAKE= --else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -- SET_MAKE="MAKE=${MAKE-make}" --fi -- --rm -rf .tst 2>/dev/null --mkdir .tst 2>/dev/null --if test -d .tst; then -- am__leading_dot=. --else -- am__leading_dot=_ --fi --rmdir .tst 2>/dev/null -- --if test "`cd $srcdir && pwd`" != "`pwd`"; then -- # Use -I$(srcdir) only when $(srcdir) != ., so that make's output -- # is not polluted with repeated "-I." -- am__isrc=' -I$(srcdir)' -- # test to see if srcdir already configured -- if test -f $srcdir/config.status; then -- { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 --echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} -- { (exit 1); exit 1; }; } -- fi --fi -- --# test whether we have cygpath --if test -z "$CYGPATH_W"; then -- if (cygpath --version) >/dev/null 2>/dev/null; then -- CYGPATH_W='cygpath -w' -- else -- CYGPATH_W=echo -- fi --fi -- -+# confdefs.h avoids OS command line length limits that DEFS can exceed. -+rm -f -r conftest* confdefs.h - --# Define the identity of the package. -- PACKAGE=gpsd -- VERSION=2.39 -+$as_echo "/* confdefs.h */" > confdefs.h - -+# Predefined preprocessor variables. - - cat >>confdefs.h <<_ACEOF --#define PACKAGE "$PACKAGE" -+#define PACKAGE_NAME "$PACKAGE_NAME" - _ACEOF - -- - cat >>confdefs.h <<_ACEOF --#define VERSION "$VERSION" -+#define PACKAGE_TARNAME "$PACKAGE_TARNAME" - _ACEOF - --# Some tools Automake needs. -- --ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} -- -- --AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} -- -- --AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} -- -- --AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_VERSION "$PACKAGE_VERSION" -+_ACEOF - -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_STRING "$PACKAGE_STRING" -+_ACEOF - --MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -+_ACEOF - --install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_URL "$PACKAGE_URL" -+_ACEOF - --# Installed binaries are usually stripped using `strip' when the user --# run `make install-strip'. However `strip' might not be the right --# tool to use in cross-compilation environments, therefore Automake --# will honor the `STRIP' environment variable to overrule this program. --if test "$cross_compiling" != no; then -- if test -n "$ac_tool_prefix"; then -- # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. --set dummy ${ac_tool_prefix}strip; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_STRIP+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- if test -n "$STRIP"; then -- ac_cv_prog_STRIP="$STRIP" # Let the user override the test. --else --as_save_IFS=$IFS; IFS=$PATH_SEPARATOR --for as_dir in $PATH --do -- IFS=$as_save_IFS -- test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -- ac_cv_prog_STRIP="${ac_tool_prefix}strip" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -- break 2 -- fi --done --done --IFS=$as_save_IFS - --fi --fi --STRIP=$ac_cv_prog_STRIP --if test -n "$STRIP"; then -- { echo "$as_me:$LINENO: result: $STRIP" >&5 --echo "${ECHO_T}$STRIP" >&6; } -+# Let the site file select an alternate cache file if it wants to. -+# Prefer an explicitly selected file to automatically selected ones. -+ac_site_file1=NONE -+ac_site_file2=NONE -+if test -n "$CONFIG_SITE"; then -+ ac_site_file1=$CONFIG_SITE -+elif test "x$prefix" != xNONE; then -+ ac_site_file1=$prefix/share/config.site -+ ac_site_file2=$prefix/etc/config.site - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ ac_site_file1=$ac_default_prefix/share/config.site -+ ac_site_file2=$ac_default_prefix/etc/config.site - fi -- -- --fi --if test -z "$ac_cv_prog_STRIP"; then -- ac_ct_STRIP=$STRIP -- # Extract the first word of "strip", so it can be a program name with args. --set dummy strip; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- if test -n "$ac_ct_STRIP"; then -- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. --else --as_save_IFS=$IFS; IFS=$PATH_SEPARATOR --for as_dir in $PATH -+for ac_site_file in "$ac_site_file1" "$ac_site_file2" - do -- IFS=$as_save_IFS -- test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -- ac_cv_prog_ac_ct_STRIP="strip" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -- break 2 -+ test "x$ac_site_file" = xNONE && continue -+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 -+$as_echo "$as_me: loading site script $ac_site_file" >&6;} -+ sed 's/^/| /' "$ac_site_file" >&5 -+ . "$ac_site_file" - fi - done --done --IFS=$as_save_IFS - --fi --fi --ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP --if test -n "$ac_ct_STRIP"; then -- { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 --echo "${ECHO_T}$ac_ct_STRIP" >&6; } -+if test -r "$cache_file"; then -+ # Some versions of bash will fail to source /dev/null (special files -+ # actually), so we avoid doing that. DJGPP emulates it as a regular file. -+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -+$as_echo "$as_me: loading cache $cache_file" >&6;} -+ case $cache_file in -+ [\\/]* | ?:[\\/]* ) . "$cache_file";; -+ *) . "./$cache_file";; -+ esac -+ fi - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -+$as_echo "$as_me: creating cache $cache_file" >&6;} -+ >$cache_file - fi - -- if test "x$ac_ct_STRIP" = x; then -- STRIP=":" -- else -- case $cross_compiling:$ac_tool_warned in --yes:) --{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&5 --echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&2;} --ac_tool_warned=yes ;; --esac -- STRIP=$ac_ct_STRIP -+# Check that the precious variables saved in the cache have kept the same -+# value. -+ac_cache_corrupted=false -+for ac_var in $ac_precious_vars; do -+ eval ac_old_set=\$ac_cv_env_${ac_var}_set -+ eval ac_new_set=\$ac_env_${ac_var}_set -+ eval ac_old_val=\$ac_cv_env_${ac_var}_value -+ eval ac_new_val=\$ac_env_${ac_var}_value -+ case $ac_old_set,$ac_new_set in -+ set,) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} -+ ac_cache_corrupted=: ;; -+ ,set) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 -+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} -+ ac_cache_corrupted=: ;; -+ ,);; -+ *) -+ if test "x$ac_old_val" != "x$ac_new_val"; then -+ # differences in whitespace do not lead to failure. -+ ac_old_val_w=`echo x $ac_old_val` -+ ac_new_val_w=`echo x $ac_new_val` -+ if test "$ac_old_val_w" != "$ac_new_val_w"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 -+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} -+ ac_cache_corrupted=: -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} -+ eval $ac_var=\$ac_old_val -+ fi -+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 -+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 -+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} -+ fi;; -+ esac -+ # Pass precious variables to config.status. -+ if test "$ac_new_set" = set; then -+ case $ac_new_val in -+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; -+ *) ac_arg=$ac_var=$ac_new_val ;; -+ esac -+ case " $ac_configure_args " in -+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. -+ *) as_fn_append ac_configure_args " '$ac_arg'" ;; -+ esac - fi --else -- STRIP="$ac_cv_prog_STRIP" --fi -- --fi --INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" -- --# We need awk for the "check" target. The system "awk" is bad on --# some platforms. --# Always define AMTAR for backward compatibility. -- --AMTAR=${AMTAR-"${am_missing_run}tar"} -- --am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' -- -- -- -- -- --ac_config_headers="$ac_config_headers gpsd_config.h" -+done -+if $ac_cache_corrupted; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 -+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} -+ as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 -+fi -+## -------------------- ## -+## Main body of script. ## -+## -------------------- ## - - ac_ext=c - ac_cpp='$CPP $CPPFLAGS' -@@ -2508,1727 +2821,1047 @@ - ac_compiler_gnu=$ac_cv_c_compiler_gnu - - --# Check whether --enable-python was given. --if test "${enable_python+set}" = set; then -- enableval=$enable_python; try_python="$enableval" --else -- try_python="yes" --fi -- --if test "x$try_python" = "xyes"; then -+am__api_version='1.11' - -+ac_aux_dir= -+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do -+ for ac_t in install-sh install.sh shtool; do -+ if test -f "$ac_dir/$ac_t"; then -+ ac_aux_dir=$ac_dir -+ ac_install_sh="$ac_aux_dir/$ac_t -c" -+ break 2 -+ fi -+ done -+done -+if test -z "$ac_aux_dir"; then -+ as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 -+fi - -+# These three variables are undocumented and unsupported, -+# and are intended to be withdrawn in a future Autoconf release. -+# They can cause serious problems if a builder's source tree is in a directory -+# whose full name contains unusual characters. -+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - -- # Find any Python interpreter. -- if test -z "$PYTHON"; then -- for ac_prog in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 --do -- # Extract the first word of "$ac_prog", so it can be a program name with args. --set dummy $ac_prog; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_path_PYTHON+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- case $PYTHON in -- [\\/]* | ?:[\\/]*) -- ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. -- ;; -- *) -+# Find a good install program. We prefer a C program (faster), -+# so one script is as good as another. But avoid the broken or -+# incompatible versions: -+# SysV /etc/install, /usr/sbin/install -+# SunOS /usr/etc/install -+# IRIX /sbin/install -+# AIX /bin/install -+# AmigaOS /C/install, which installs bootblocks on floppy discs -+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -+# AFS /usr/afsws/bin/install, which mishandles nonexistent args -+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -+# OS/2's system install, which has a completely different semantic -+# ./install, which can be erroneously created by make from ./install.sh. -+# Reject install programs that cannot install multiple files. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 -+$as_echo_n "checking for a BSD-compatible install... " >&6; } -+if test -z "$INSTALL"; then -+if test "${ac_cv_path_install+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR - for as_dir in $PATH - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -- ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -- break 2 -- fi --done --done --IFS=$as_save_IFS -- -- ;; -+ # Account for people who put trailing slashes in PATH elements. -+case $as_dir/ in #(( -+ ./ | .// | /[cC]/* | \ -+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ -+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ -+ /usr/ucb/* ) ;; -+ *) -+ # OSF1 and SCO ODT 3.0 have their own names for install. -+ # Don't use installbsd from OSF since it installs stuff as root -+ # by default. -+ for ac_prog in ginstall scoinst install; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then -+ if test $ac_prog = install && -+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then -+ # AIX install. It has an incompatible calling convention. -+ : -+ elif test $ac_prog = install && -+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then -+ # program-specific install script used by HP pwplus--don't use. -+ : -+ else -+ rm -rf conftest.one conftest.two conftest.dir -+ echo one > conftest.one -+ echo two > conftest.two -+ mkdir conftest.dir -+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && -+ test -s conftest.one && test -s conftest.two && -+ test -s conftest.dir/conftest.one && -+ test -s conftest.dir/conftest.two -+ then -+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" -+ break 3 -+ fi -+ fi -+ fi -+ done -+ done -+ ;; - esac --fi --PYTHON=$ac_cv_path_PYTHON --if test -n "$PYTHON"; then -- { echo "$as_me:$LINENO: result: $PYTHON" >&5 --echo "${ECHO_T}$PYTHON" >&6; } --else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } --fi -- -- -- test -n "$PYTHON" && break --done --test -n "$PYTHON" || PYTHON=":" - -- fi -- am_display_PYTHON=python -+ done -+IFS=$as_save_IFS - -+rm -rf conftest.one conftest.two conftest.dir - -- if test "$PYTHON" = :; then -- { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5 --echo "$as_me: error: no suitable Python interpreter found" >&2;} -- { (exit 1); exit 1; }; } -+fi -+ if test "${ac_cv_path_install+set}" = set; then -+ INSTALL=$ac_cv_path_install - else -- -- -- { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5 --echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; } --if test "${am_cv_python_version+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` -+ # As a last resort, use the slow shell script. Don't cache a -+ # value for INSTALL within a source directory, because that will -+ # break other packages using the cache if that directory is -+ # removed, or if the value is a relative name. -+ INSTALL=$ac_install_sh -+ fi - fi --{ echo "$as_me:$LINENO: result: $am_cv_python_version" >&5 --echo "${ECHO_T}$am_cv_python_version" >&6; } -- PYTHON_VERSION=$am_cv_python_version -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -+$as_echo "$INSTALL" >&6; } - -+# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -+# It thinks the first close brace ends the variable substitution. -+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -- PYTHON_PREFIX='${prefix}' -+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - -- PYTHON_EXEC_PREFIX='${exec_prefix}' -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 -+$as_echo_n "checking whether build environment is sane... " >&6; } -+# Just in case -+sleep 1 -+echo timestamp > conftest.file -+# Reject unsafe characters in $srcdir or the absolute working directory -+# name. Accept space and tab only in the latter. -+am_lf=' -+' -+case `pwd` in -+ *[\\\"\#\$\&\'\`$am_lf]*) -+ as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; -+esac -+case $srcdir in -+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*) -+ as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; -+esac - -+# Do `set' in a subshell so we don't clobber the current shell's -+# arguments. Must try -L first in case configure is actually a -+# symlink; some systems play weird games with the mod time of symlinks -+# (eg FreeBSD returns the mod time of the symlink's containing -+# directory). -+if ( -+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` -+ if test "$*" = "X"; then -+ # -L didn't work. -+ set X `ls -t "$srcdir/configure" conftest.file` -+ fi -+ rm -f conftest.file -+ if test "$*" != "X $srcdir/configure conftest.file" \ -+ && test "$*" != "X conftest.file $srcdir/configure"; then - -+ # If neither matched, then we have a broken ls. This can happen -+ # if, for instance, CONFIG_SHELL is bash and it inherits a -+ # broken ls alias from the environment. This has actually -+ # happened. Such a system could not be considered "sane". -+ as_fn_error "ls -t appears to fail. Make sure there is not a broken -+alias in your environment" "$LINENO" 5 -+ fi - -- { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5 --echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; } --if test "${am_cv_python_platform+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ test "$2" = conftest.file -+ ) -+then -+ # Ok. -+ : - else -- am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` -+ as_fn_error "newly created file is older than distributed files! -+Check your system clock" "$LINENO" 5 - fi --{ echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5 --echo "${ECHO_T}$am_cv_python_platform" >&6; } -- PYTHON_PLATFORM=$am_cv_python_platform -- -- -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+test "$program_prefix" != NONE && -+ program_transform_name="s&^&$program_prefix&;$program_transform_name" -+# Use a double $ so make ignores it. -+test "$program_suffix" != NONE && -+ program_transform_name="s&\$&$program_suffix&;$program_transform_name" -+# Double any \ or $. -+# By default was `s,x,x', remove it if useless. -+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' -+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` - -+# expand $ac_aux_dir to an absolute path -+am_aux_dir=`cd $ac_aux_dir && pwd` - -- { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5 --echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; } --if test "${am_cv_python_pythondir+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || -- echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` -+if test x"${MISSING+set}" != xset; then -+ case $am_aux_dir in -+ *\ * | *\ *) -+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; -+ *) -+ MISSING="\${SHELL} $am_aux_dir/missing" ;; -+ esac - fi --{ echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5 --echo "${ECHO_T}$am_cv_python_pythondir" >&6; } -- pythondir=$am_cv_python_pythondir -- -- -- -- pkgpythondir=\${pythondir}/$PACKAGE -- -- -- { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5 --echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; } --if test "${am_cv_python_pyexecdir+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+# Use eval to expand $SHELL -+if eval "$MISSING --run true"; then -+ am_missing_run="$MISSING --run " - else -- am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || -- echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` -+ am_missing_run= -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 -+$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} - fi --{ echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5 --echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; } -- pyexecdir=$am_cv_python_pyexecdir -- -- -- -- pkgpyexecdir=\${pyexecdir}/$PACKAGE -- -- -- -- fi - -+if test x"${install_sh}" != xset; then -+ case $am_aux_dir in -+ *\ * | *\ *) -+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; -+ *) -+ install_sh="\${SHELL} $am_aux_dir/install-sh" -+ esac -+fi - -- ac_python=yes -- if test "x$PYTHON" = "x"; then -- # Extract the first word of "python", so it can be a program name with args. --set dummy python; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_path_PYTHON+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+# Installed binaries are usually stripped using `strip' when the user -+# run `make install-strip'. However `strip' might not be the right -+# tool to use in cross-compilation environments, therefore Automake -+# will honor the `STRIP' environment variable to overrule this program. -+if test "$cross_compiling" != no; then -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -+set dummy ${ac_tool_prefix}strip; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_STRIP+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- case $PYTHON in -- [\\/]* | ?:[\\/]*) -- ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. -- ;; -- *) -- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+ if test -n "$STRIP"; then -+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR - for as_dir in $PATH - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -- ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ ac_cv_prog_STRIP="${ac_tool_prefix}strip" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - -- test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="none" -- ;; --esac - fi --PYTHON=$ac_cv_path_PYTHON --if test -n "$PYTHON"; then -- { echo "$as_me:$LINENO: result: $PYTHON" >&5 --echo "${ECHO_T}$PYTHON" >&6; } -+fi -+STRIP=$ac_cv_prog_STRIP -+if test -n "$STRIP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -+$as_echo "$STRIP" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -- fi -- -- if test "x$PYTHON" = "xnone"; then -- { echo "$as_me:$LINENO: WARNING: *** Python interpreter not found, Python support disabled." >&5 --echo "$as_me: WARNING: *** Python interpreter not found, Python support disabled." >&2;} -- ac_python=no -- fi -- -- if test "x$ac_python" = "xyes"; then -- { echo "$as_me:$LINENO: checking Python version and location" >&5 --echo $ECHO_N "checking Python version and location... $ECHO_C" >&6; } -- PYTHON_PREFIX=`$PYTHON -c "import sys; print sys.prefix"` -- PYTHON_VERSION_MAJOR=`$PYTHON -c "import sys; print '%d' % (sys.version_info[0]);"` -- PYTHON_VERSION_MINOR=`$PYTHON -c "import sys; print '%d' % (sys.version_info[1]);"` -- PYTHON_VERSION="${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}" -- { echo "$as_me:$LINENO: result: $PYTHON, $PYTHON_VERSION, $PYTHON_PREFIX" >&5 --echo "${ECHO_T}$PYTHON, $PYTHON_VERSION, $PYTHON_PREFIX" >&6; } -- -- { echo "$as_me:$LINENO: checking whether Python is at least 2.4" >&5 --echo $ECHO_N "checking whether Python is at least 2.4... $ECHO_C" >&6; } -- if test $PYTHON_VERSION_MAJOR -lt 2 -o $PYTHON_VERSION_MAJOR -eq 2 -a $PYTHON_VERSION_MINOR -lt 3; then -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -- { echo "$as_me:$LINENO: WARNING: *** GPSD requires at least Python 2.3, Python support disabled." >&5 --echo "$as_me: WARNING: *** GPSD requires at least Python 2.3, Python support disabled." >&2;} -- ac_python=no -- fi -- if test "x$ac_python" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -- -- PYTHON_CFLAGS="-DHAVE_PYTHON -I$PYTHON_PREFIX/include/python$PYTHON_VERSION" -- -- OLD_CPPFLAGS="$CPPFLAGS" -- OLD_CXXFLAGS="$CXXFLAGS" -- CPPFLAGS="$CPPFLAGS $PYTHON_CFLAGS" -- CXXFLAGS="$CXXFLAGS $PYTHON_CFLAGS" -- -- DEPDIR="${am__leading_dot}deps" -- --ac_config_commands="$ac_config_commands depfiles" -- -- --am_make=${MAKE-make} --cat > confinc << 'END' --am__doit: -- @echo done --.PHONY: am__doit --END --# If we don't find an include directive, just comment out the code. --{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 --echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } --am__include="#" --am__quote= --_am_result=none --# First try GNU make style include. --echo "include confinc" > confmf --# We grep out `Entering directory' and `Leaving directory' --# messages which can occur if `w' ends up in MAKEFLAGS. --# In particular we don't look at `^make:' because GNU make might --# be invoked under some other name (usually "gmake"), in which --# case it prints its new name instead of `make'. --if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then -- am__include=include -- am__quote= -- _am_result=GNU - fi --# Now try BSD make style include. --if test "$am__include" = "#"; then -- echo '.include "confinc"' > confmf -- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then -- am__include=.include -- am__quote="\"" -- _am_result=BSD -- fi --fi -- -- --{ echo "$as_me:$LINENO: result: $_am_result" >&5 --echo "${ECHO_T}$_am_result" >&6; } --rm -f confinc confmf -- --# Check whether --enable-dependency-tracking was given. --if test "${enable_dependency_tracking+set}" = set; then -- enableval=$enable_dependency_tracking; --fi -- --if test "x$enable_dependency_tracking" != xno; then -- am_depcomp="$ac_aux_dir/depcomp" -- AMDEPBACKSLASH='\' --fi -- if test "x$enable_dependency_tracking" != xno; then -- AMDEP_TRUE= -- AMDEP_FALSE='#' --else -- AMDEP_TRUE='#' -- AMDEP_FALSE= --fi -- -- --ac_ext=c --ac_cpp='$CPP $CPPFLAGS' --ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' --ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' --ac_compiler_gnu=$ac_cv_c_compiler_gnu --if test -n "$ac_tool_prefix"; then -- # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. --set dummy ${ac_tool_prefix}gcc; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_CC+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- if test -n "$CC"; then -- ac_cv_prog_CC="$CC" # Let the user override the test. --else --as_save_IFS=$IFS; IFS=$PATH_SEPARATOR --for as_dir in $PATH --do -- IFS=$as_save_IFS -- test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -- ac_cv_prog_CC="${ac_tool_prefix}gcc" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -- break 2 -- fi --done --done --IFS=$as_save_IFS -- --fi --fi --CC=$ac_cv_prog_CC --if test -n "$CC"; then -- { echo "$as_me:$LINENO: result: $CC" >&5 --echo "${ECHO_T}$CC" >&6; } --else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } --fi -- -- --fi --if test -z "$ac_cv_prog_CC"; then -- ac_ct_CC=$CC -- # Extract the first word of "gcc", so it can be a program name with args. --set dummy gcc; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_ac_ct_CC+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+if test -z "$ac_cv_prog_STRIP"; then -+ ac_ct_STRIP=$STRIP -+ # Extract the first word of "strip", so it can be a program name with args. -+set dummy strip; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- if test -n "$ac_ct_CC"; then -- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -+ if test -n "$ac_ct_STRIP"; then -+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. - else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR - for as_dir in $PATH - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -- ac_cv_prog_ac_ct_CC="gcc" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ ac_cv_prog_ac_ct_STRIP="strip" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi --ac_ct_CC=$ac_cv_prog_ac_ct_CC --if test -n "$ac_ct_CC"; then -- { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 --echo "${ECHO_T}$ac_ct_CC" >&6; } -+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -+if test -n "$ac_ct_STRIP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -+$as_echo "$ac_ct_STRIP" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - -- if test "x$ac_ct_CC" = x; then -- CC="" -+ if test "x$ac_ct_STRIP" = x; then -+ STRIP=":" - else - case $cross_compiling:$ac_tool_warned in - yes:) --{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&5 --echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&2;} -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} - ac_tool_warned=yes ;; - esac -- CC=$ac_ct_CC -+ STRIP=$ac_ct_STRIP - fi - else -- CC="$ac_cv_prog_CC" -+ STRIP="$ac_cv_prog_STRIP" - fi - --if test -z "$CC"; then -- if test -n "$ac_tool_prefix"; then -- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. --set dummy ${ac_tool_prefix}cc; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_CC+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- if test -n "$CC"; then -- ac_cv_prog_CC="$CC" # Let the user override the test. --else --as_save_IFS=$IFS; IFS=$PATH_SEPARATOR --for as_dir in $PATH --do -- IFS=$as_save_IFS -- test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -- ac_cv_prog_CC="${ac_tool_prefix}cc" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -- break 2 -- fi --done --done --IFS=$as_save_IFS -- --fi --fi --CC=$ac_cv_prog_CC --if test -n "$CC"; then -- { echo "$as_me:$LINENO: result: $CC" >&5 --echo "${ECHO_T}$CC" >&6; } --else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } - fi -+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" - -- -- fi --fi --if test -z "$CC"; then -- # Extract the first word of "cc", so it can be a program name with args. --set dummy cc; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_CC+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- if test -n "$CC"; then -- ac_cv_prog_CC="$CC" # Let the user override the test. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 -+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } -+if test -z "$MKDIR_P"; then -+ if test "${ac_cv_path_mkdir+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- ac_prog_rejected=no --as_save_IFS=$IFS; IFS=$PATH_SEPARATOR --for as_dir in $PATH -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then -- ac_prog_rejected=yes -- continue -- fi -- ac_cv_prog_CC="cc" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -- break 2 -- fi --done --done -+ for ac_prog in mkdir gmkdir; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue -+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( -+ 'mkdir (GNU coreutils) '* | \ -+ 'mkdir (coreutils) '* | \ -+ 'mkdir (fileutils) '4.1*) -+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext -+ break 3;; -+ esac -+ done -+ done -+ done - IFS=$as_save_IFS - --if test $ac_prog_rejected = yes; then -- # We found a bogon in the path, so make sure we never use it. -- set dummy $ac_cv_prog_CC -- shift -- if test $# != 0; then -- # We chose a different compiler from the bogus one. -- # However, it has the same basename, so the bogon will be chosen -- # first if we set CC to just the basename; use the full file name. -- shift -- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" -- fi --fi --fi --fi --CC=$ac_cv_prog_CC --if test -n "$CC"; then -- { echo "$as_me:$LINENO: result: $CC" >&5 --echo "${ECHO_T}$CC" >&6; } --else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } - fi - -- --fi --if test -z "$CC"; then -- if test -n "$ac_tool_prefix"; then -- for ac_prog in cl.exe -- do -- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. --set dummy $ac_tool_prefix$ac_prog; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_CC+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- if test -n "$CC"; then -- ac_cv_prog_CC="$CC" # Let the user override the test. --else --as_save_IFS=$IFS; IFS=$PATH_SEPARATOR --for as_dir in $PATH --do -- IFS=$as_save_IFS -- test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -- ac_cv_prog_CC="$ac_tool_prefix$ac_prog" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -- break 2 -+ test -d ./--version && rmdir ./--version -+ if test "${ac_cv_path_mkdir+set}" = set; then -+ MKDIR_P="$ac_cv_path_mkdir -p" -+ else -+ # As a last resort, use the slow shell script. Don't cache a -+ # value for MKDIR_P within a source directory, because that will -+ # break other packages using the cache if that directory is -+ # removed, or if the value is a relative name. -+ MKDIR_P="$ac_install_sh -d" - fi --done --done --IFS=$as_save_IFS -- --fi --fi --CC=$ac_cv_prog_CC --if test -n "$CC"; then -- { echo "$as_me:$LINENO: result: $CC" >&5 --echo "${ECHO_T}$CC" >&6; } --else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } - fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 -+$as_echo "$MKDIR_P" >&6; } - -+mkdir_p="$MKDIR_P" -+case $mkdir_p in -+ [\\/$]* | ?:[\\/]*) ;; -+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -+esac - -- test -n "$CC" && break -- done --fi --if test -z "$CC"; then -- ac_ct_CC=$CC -- for ac_prog in cl.exe -+for ac_prog in gawk mawk nawk awk - do - # Extract the first word of "$ac_prog", so it can be a program name with args. - set dummy $ac_prog; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_ac_ct_CC+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_AWK+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- if test -n "$ac_ct_CC"; then -- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -+ if test -n "$AWK"; then -+ ac_cv_prog_AWK="$AWK" # Let the user override the test. - else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR - for as_dir in $PATH - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -- ac_cv_prog_ac_ct_CC="$ac_prog" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ ac_cv_prog_AWK="$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi --ac_ct_CC=$ac_cv_prog_ac_ct_CC --if test -n "$ac_ct_CC"; then -- { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 --echo "${ECHO_T}$ac_ct_CC" >&6; } -+AWK=$ac_cv_prog_AWK -+if test -n "$AWK"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -+$as_echo "$AWK" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -- test -n "$ac_ct_CC" && break -+ test -n "$AWK" && break - done - -- if test "x$ac_ct_CC" = x; then -- CC="" -- else -- case $cross_compiling:$ac_tool_warned in --yes:) --{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&5 --echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&2;} --ac_tool_warned=yes ;; -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -+set x ${MAKE-make} -+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -+if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat >conftest.make <<\_ACEOF -+SHELL = /bin/sh -+all: -+ @echo '@@@%%%=$(MAKE)=@@@%%%' -+_ACEOF -+# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -+case `${MAKE-make} -f conftest.make 2>/dev/null` in -+ *@@@%%%=?*=@@@%%%*) -+ eval ac_cv_prog_make_${ac_make}_set=yes;; -+ *) -+ eval ac_cv_prog_make_${ac_make}_set=no;; - esac -- CC=$ac_ct_CC -- fi --fi -- -+rm -f conftest.make - fi -- -- --test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH --See \`config.log' for more details." >&5 --echo "$as_me: error: no acceptable C compiler found in \$PATH --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -- --# Provide some information about the compiler. --echo "$as_me:$LINENO: checking for C compiler version" >&5 --ac_compiler=`set X $ac_compile; echo $2` --{ (ac_try="$ac_compiler --version >&5" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compiler --version >&5") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } --{ (ac_try="$ac_compiler -v >&5" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compiler -v >&5") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } --{ (ac_try="$ac_compiler -V >&5" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compiler -V >&5") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } -- --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ -- --int --main () --{ -- -- ; -- return 0; --} --_ACEOF --ac_clean_files_save=$ac_clean_files --ac_clean_files="$ac_clean_files a.out a.exe b.out" --# Try to create an executable without -o first, disregard a.out. --# It will help us diagnose broken compilers, and finding out an intuition --# of exeext. --{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 --echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } --ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` --# --# List of possible output files, starting from the most likely. --# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) --# only as a last resort. b.out is created by i960 compilers. --ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' --# --# The IRIX 6 linker writes into existing files which may not be --# executable, retaining their permissions. Remove them first so a --# subsequent execution test works. --ac_rmfiles= --for ac_file in $ac_files --do -- case $ac_file in -- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; -- * ) ac_rmfiles="$ac_rmfiles $ac_file";; -- esac --done --rm -f $ac_rmfiles -- --if { (ac_try="$ac_link_default" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link_default") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; then -- # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. --# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' --# in a Makefile. We should not override ac_cv_exeext if it was cached, --# so that the user can short-circuit this test for compilers unknown to --# Autoconf. --for ac_file in $ac_files '' --do -- test -f "$ac_file" || continue -- case $ac_file in -- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) -- ;; -- [ab].out ) -- # We found the default executable, but exeext='' is most -- # certainly right. -- break;; -- *.* ) -- if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; -- then :; else -- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` -- fi -- # We set ac_cv_exeext here because the later test for it is not -- # safe: cross compilers may not add the suffix if given an `-o' -- # argument, so we may need to know it at that point already. -- # Even if this section looks crufty: it has the advantage of -- # actually working. -- break;; -- * ) -- break;; -- esac --done --test "$ac_cv_exeext" = no && ac_cv_exeext= -- -+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+ SET_MAKE= - else -- ac_file='' -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+ SET_MAKE="MAKE=${MAKE-make}" - fi - --{ echo "$as_me:$LINENO: result: $ac_file" >&5 --echo "${ECHO_T}$ac_file" >&6; } --if test -z "$ac_file"; then -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --{ { echo "$as_me:$LINENO: error: C compiler cannot create executables --See \`config.log' for more details." >&5 --echo "$as_me: error: C compiler cannot create executables --See \`config.log' for more details." >&2;} -- { (exit 77); exit 77; }; } -+rm -rf .tst 2>/dev/null -+mkdir .tst 2>/dev/null -+if test -d .tst; then -+ am__leading_dot=. -+else -+ am__leading_dot=_ - fi -+rmdir .tst 2>/dev/null - --ac_exeext=$ac_cv_exeext -+if test "`cd $srcdir && pwd`" != "`pwd`"; then -+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output -+ # is not polluted with repeated "-I." -+ am__isrc=' -I$(srcdir)' -+ # test to see if srcdir already configured -+ if test -f $srcdir/config.status; then -+ as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 -+ fi -+fi - --# Check that the compiler produces executables we can run. If not, either --# the compiler is broken, or we cross compile. --{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 --echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } --# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 --# If not cross compiling, check that we can run a simple program. --if test "$cross_compiling" != yes; then -- if { ac_try='./$ac_file' -- { (case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_try") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- cross_compiling=no -+# test whether we have cygpath -+if test -z "$CYGPATH_W"; then -+ if (cygpath --version) >/dev/null 2>/dev/null; then -+ CYGPATH_W='cygpath -w' - else -- if test "$cross_compiling" = maybe; then -- cross_compiling=yes -- else -- { { echo "$as_me:$LINENO: error: cannot run C compiled programs. --If you meant to cross compile, use \`--host'. --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run C compiled programs. --If you meant to cross compile, use \`--host'. --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -- fi -+ CYGPATH_W=echo - fi - fi --{ echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } - --rm -f a.out a.exe conftest$ac_cv_exeext b.out --ac_clean_files=$ac_clean_files_save --# Check that the compiler produces executables we can run. If not, either --# the compiler is broken, or we cross compile. --{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 --echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } --{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 --echo "${ECHO_T}$cross_compiling" >&6; } -- --{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 --echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; then -- # If both `conftest.exe' and `conftest' are `present' (well, observable) --# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will --# work properly (i.e., refer to `conftest.exe'), while it won't with --# `rm'. --for ac_file in conftest.exe conftest conftest.*; do -- test -f "$ac_file" || continue -- case $ac_file in -- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; -- *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` -- break;; -- * ) break;; -- esac --done --else -- { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot compute suffix of executables: cannot compile and link --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } --fi - --rm -f conftest$ac_cv_exeext --{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 --echo "${ECHO_T}$ac_cv_exeext" >&6; } -+# Define the identity of the package. -+ PACKAGE=gpsd -+ VERSION=2.39 - --rm -f conftest.$ac_ext --EXEEXT=$ac_cv_exeext --ac_exeext=$EXEEXT --{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 --echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } --if test "${ac_cv_objext+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE "$PACKAGE" - _ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ - --int --main () --{ - -- ; -- return 0; --} -+cat >>confdefs.h <<_ACEOF -+#define VERSION "$VERSION" - _ACEOF --rm -f conftest.o conftest.obj --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; then -- for ac_file in conftest.o conftest.obj conftest.*; do -- test -f "$ac_file" || continue; -- case $ac_file in -- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; -- *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` -- break;; -- esac --done --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 - --{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot compute suffix of object files: cannot compile --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } --fi -+# Some tools Automake needs. - --rm -f conftest.$ac_cv_objext conftest.$ac_ext --fi --{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 --echo "${ECHO_T}$ac_cv_objext" >&6; } --OBJEXT=$ac_cv_objext --ac_objext=$OBJEXT --{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 --echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } --if test "${ac_cv_c_compiler_gnu+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ -+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} - --int --main () --{ --#ifndef __GNUC__ -- choke me --#endif - -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_compiler_gnu=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} - -- ac_compiler_gnu=no --fi - --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --ac_cv_c_compiler_gnu=$ac_compiler_gnu -+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} - --fi --{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 --echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } --GCC=`test $ac_compiler_gnu = yes && echo yes` --ac_test_CFLAGS=${CFLAGS+set} --ac_save_CFLAGS=$CFLAGS --{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 --echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } --if test "${ac_cv_prog_cc_g+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- ac_save_c_werror_flag=$ac_c_werror_flag -- ac_c_werror_flag=yes -- ac_cv_prog_cc_g=no -- CFLAGS="-g" -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ - --int --main () --{ -+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} - -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_cv_prog_cc_g=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 - -- CFLAGS="" -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ -+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} - --int --main () --{ -+# We need awk for the "check" target. The system "awk" is bad on -+# some platforms. -+# Always define AMTAR for backward compatibility. - -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- : --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+AMTAR=${AMTAR-"${am_missing_run}tar"} - -- ac_c_werror_flag=$ac_save_c_werror_flag -- CFLAGS="-g" -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ -+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' - --int --main () --{ - -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_cv_prog_cc_g=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 - - --fi - --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --fi -+ac_config_headers="$ac_config_headers gpsd_config.h" - --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --fi -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu - --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- ac_c_werror_flag=$ac_save_c_werror_flag --fi --{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 --echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } --if test "$ac_test_CFLAGS" = set; then -- CFLAGS=$ac_save_CFLAGS --elif test $ac_cv_prog_cc_g = yes; then -- if test "$GCC" = yes; then -- CFLAGS="-g -O2" -- else -- CFLAGS="-g" -- fi -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 -+$as_echo_n "checking whether ln -s works... " >&6; } -+LN_S=$as_ln_s -+if test "$LN_S" = "ln -s"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - else -- if test "$GCC" = yes; then -- CFLAGS="-O2" -- else -- CFLAGS= -- fi -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 -+$as_echo "no, using $LN_S" >&6; } - fi --{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 --echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } --if test "${ac_cv_prog_cc_c89+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -+set x ${MAKE-make} -+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -+if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : -+ $as_echo_n "(cached) " >&6 - else -- ac_cv_prog_cc_c89=no --ac_save_CC=$CC --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ -+ cat >conftest.make <<\_ACEOF -+SHELL = /bin/sh -+all: -+ @echo '@@@%%%=$(MAKE)=@@@%%%' - _ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include --#include --#include --#include --/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ --struct buf { int x; }; --FILE * (*rcsopen) (struct buf *, struct stat *, int); --static char *e (p, i) -- char **p; -- int i; --{ -- return p[i]; --} --static char *f (char * (*g) (char **, int), char **p, ...) --{ -- char *s; -- va_list v; -- va_start (v,p); -- s = g (p, va_arg (v,int)); -- va_end (v); -- return s; --} -- --/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has -- function prototypes and stuff, but not '\xHH' hex character constants. -- These don't provoke an error unfortunately, instead are silently treated -- as 'x'. The following induces an error, until -std is added to get -- proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an -- array size at least. It's necessary to write '\x00'==0 to get something -- that's true only with -std. */ --int osf4_cc_array ['\x00' == 0 ? 1 : -1]; -+# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -+case `${MAKE-make} -f conftest.make 2>/dev/null` in -+ *@@@%%%=?*=@@@%%%*) -+ eval ac_cv_prog_make_${ac_make}_set=yes;; -+ *) -+ eval ac_cv_prog_make_${ac_make}_set=no;; -+esac -+rm -f conftest.make -+fi -+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+ SET_MAKE= -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+ SET_MAKE="MAKE=${MAKE-make}" -+fi - --/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters -- inside strings and character constants. */ --#define FOO(x) 'x' --int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - --int test (int i, double x); --struct s1 {int (*f) (int a);}; --struct s2 {int (*f) (double a);}; --int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); --int argc; --char **argv; --int --main () --{ --return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; -- ; -- return 0; --} --_ACEOF --for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -- -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" --do -- CC="$ac_save_CC $ac_arg" -- rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; -+case `pwd` in -+ *\ * | *\ *) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 -+$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; - esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_cv_prog_cc_c89=$ac_arg --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 - - --fi - --rm -f core conftest.err conftest.$ac_objext -- test "x$ac_cv_prog_cc_c89" != "xno" && break --done --rm -f conftest.$ac_ext --CC=$ac_save_CC -+macro_version='2.2.6b' -+macro_revision='1.3017' - --fi --# AC_CACHE_VAL --case "x$ac_cv_prog_cc_c89" in -- x) -- { echo "$as_me:$LINENO: result: none needed" >&5 --echo "${ECHO_T}none needed" >&6; } ;; -- xno) -- { echo "$as_me:$LINENO: result: unsupported" >&5 --echo "${ECHO_T}unsupported" >&6; } ;; -- *) -- CC="$CC $ac_cv_prog_cc_c89" -- { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 --echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; --esac - - --ac_ext=c --ac_cpp='$CPP $CPPFLAGS' --ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' --ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' --ac_compiler_gnu=$ac_cv_c_compiler_gnu - --depcc="$CC" am_compiler_list= - --{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 --echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } --if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then -- # We make a subdir and do the tests there. Otherwise we can end up -- # making bogus files that we don't know about and never remove. For -- # instance it was reported that on HP-UX the gcc test will end up -- # making a dummy file named `D' -- because `-MD' means `put the output -- # in D'. -- mkdir conftest.dir -- # Copy depcomp to subdir because otherwise we won't find it if we're -- # using a relative directory. -- cp "$am_depcomp" conftest.dir -- cd conftest.dir -- # We will build objects and dependencies in a subdirectory because -- # it helps to detect inapplicable dependency modes. For instance -- # both Tru64's cc and ICC support -MD to output dependencies as a -- # side effect of compilation, but ICC will put the dependencies in -- # the current directory while Tru64 will put them in the object -- # directory. -- mkdir sub - -- am_cv_CC_dependencies_compiler_type=none -- if test "$am_compiler_list" = ""; then -- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` -- fi -- for depmode in $am_compiler_list; do -- # Setup a source with many dependencies, because some compilers -- # like to wrap large dependency lists on column 80 (with \), and -- # we should not choose a depcomp mode which is confused by this. -- # -- # We need to recreate these files for each test, as the compiler may -- # overwrite some of them when testing with obscure command lines. -- # This happens at least with the AIX C compiler. -- : > sub/conftest.c -- for i in 1 2 3 4 5 6; do -- echo '#include "conftst'$i'.h"' >> sub/conftest.c -- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with -- # Solaris 8's {/usr,}/bin/sh. -- touch sub/conftst$i.h -- done -- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - -- case $depmode in -- nosideeffect) -- # after this tag, mechanisms are not by side-effect, so they'll -- # only be used when explicitly requested -- if test "x$enable_dependency_tracking" = xyes; then -- continue -- else -- break -- fi -- ;; -- none) break ;; -- esac -- # We check with `-c' and `-o' for the sake of the "dashmstdout" -- # mode. It turns out that the SunPro C++ compiler does not properly -- # handle `-M -o', and we need to detect this. -- if depmode=$depmode \ -- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ -- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ -- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ -- >/dev/null 2>conftest.err && -- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && -- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && -- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && -- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then -- # icc doesn't choke on unknown options, it will just issue warnings -- # or remarks (even with -Werror). So we grep stderr for any message -- # that says an option was ignored or not supported. -- # When given -MP, icc 7.0 and 7.1 complain thusly: -- # icc: Command line warning: ignoring option '-M'; no argument required -- # The diagnosis changed in icc 8.0: -- # icc: Command line remark: option '-MP' not supported -- if (grep 'ignoring option' conftest.err || -- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else -- am_cv_CC_dependencies_compiler_type=$depmode -- break -- fi -- fi -- done - -- cd .. -- rm -rf conftest.dir --else -- am_cv_CC_dependencies_compiler_type=none --fi - --fi --{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 --echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } --CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - -- if -- test "x$enable_dependency_tracking" != xno \ -- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then -- am__fastdepCC_TRUE= -- am__fastdepCC_FALSE='#' --else -- am__fastdepCC_TRUE='#' -- am__fastdepCC_FALSE= --fi - - - --ac_ext=c --ac_cpp='$CPP $CPPFLAGS' --ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' --ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' --ac_compiler_gnu=$ac_cv_c_compiler_gnu --{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 --echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } --# On Suns, sometimes $CPP names a directory. --if test -n "$CPP" && test -d "$CPP"; then -- CPP= --fi --if test -z "$CPP"; then -- if test "${ac_cv_prog_CPP+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- # Double quotes because CPP needs to be expanded -- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" -- do -- ac_preproc_ok=false --for ac_c_preproc_warn_flag in '' yes --do -- # Use a header file that comes with gcc, so configuring glibc -- # with a fresh cross-compiler works. -- # Prefer to if __STDC__ is defined, since -- # exists even on freestanding compilers. -- # On the NeXT, cc -E runs the code through the compiler's parser, -- # not just through cpp. "Syntax error" is here to catch this case. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#ifdef __STDC__ --# include --#else --# include --#endif -- Syntax error --_ACEOF --if { (ac_try="$ac_cpp conftest.$ac_ext" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null && { -- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || -- test ! -s conftest.err -- }; then -- : -+ltmain="$ac_aux_dir/ltmain.sh" -+ -+# Make sure we can run config.sub. -+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || -+ as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -+$as_echo_n "checking build system type... " >&6; } -+if test "${ac_cv_build+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+ ac_build_alias=$build_alias -+test "x$ac_build_alias" = x && -+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` -+test "x$ac_build_alias" = x && -+ as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 -+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || -+ as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 - -- # Broken: fails on valid input. --continue - fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -+$as_echo "$ac_cv_build" >&6; } -+case $ac_cv_build in -+*-*-*) ;; -+*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; -+esac -+build=$ac_cv_build -+ac_save_IFS=$IFS; IFS='-' -+set x $ac_cv_build -+shift -+build_cpu=$1 -+build_vendor=$2 -+shift; shift -+# Remember, the first character of IFS is used to create $*, -+# except with old shells: -+build_os=$* -+IFS=$ac_save_IFS -+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac - --rm -f conftest.err conftest.$ac_ext - -- # OK, works on sane cases. Now check whether nonexistent headers -- # can be detected and how. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include --_ACEOF --if { (ac_try="$ac_cpp conftest.$ac_ext" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null && { -- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || -- test ! -s conftest.err -- }; then -- # Broken: success on invalid input. --continue -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -+$as_echo_n "checking host system type... " >&6; } -+if test "${ac_cv_host+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+ if test "x$host_alias" = x; then -+ ac_cv_host=$ac_cv_build -+else -+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || -+ as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 -+fi - -- # Passes both tests. --ac_preproc_ok=: --break - fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -+$as_echo "$ac_cv_host" >&6; } -+case $ac_cv_host in -+*-*-*) ;; -+*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; -+esac -+host=$ac_cv_host -+ac_save_IFS=$IFS; IFS='-' -+set x $ac_cv_host -+shift -+host_cpu=$1 -+host_vendor=$2 -+shift; shift -+# Remember, the first character of IFS is used to create $*, -+# except with old shells: -+host_os=$* -+IFS=$ac_save_IFS -+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac - --rm -f conftest.err conftest.$ac_ext - --done --# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. --rm -f conftest.err conftest.$ac_ext --if $ac_preproc_ok; then -- break --fi -+DEPDIR="${am__leading_dot}deps" - -- done -- ac_cv_prog_CPP=$CPP -+ac_config_commands="$ac_config_commands depfiles" - --fi -- CPP=$ac_cv_prog_CPP --else -- ac_cv_prog_CPP=$CPP --fi --{ echo "$as_me:$LINENO: result: $CPP" >&5 --echo "${ECHO_T}$CPP" >&6; } --ac_preproc_ok=false --for ac_c_preproc_warn_flag in '' yes --do -- # Use a header file that comes with gcc, so configuring glibc -- # with a fresh cross-compiler works. -- # Prefer to if __STDC__ is defined, since -- # exists even on freestanding compilers. -- # On the NeXT, cc -E runs the code through the compiler's parser, -- # not just through cpp. "Syntax error" is here to catch this case. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#ifdef __STDC__ --# include --#else --# include --#endif -- Syntax error --_ACEOF --if { (ac_try="$ac_cpp conftest.$ac_ext" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null && { -- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || -- test ! -s conftest.err -- }; then -- : --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 - -- # Broken: fails on valid input. --continue -+am_make=${MAKE-make} -+cat > confinc << 'END' -+am__doit: -+ @echo this is the am__doit target -+.PHONY: am__doit -+END -+# If we don't find an include directive, just comment out the code. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 -+$as_echo_n "checking for style of include used by $am_make... " >&6; } -+am__include="#" -+am__quote= -+_am_result=none -+# First try GNU make style include. -+echo "include confinc" > confmf -+# Ignore all kinds of additional output from `make'. -+case `$am_make -s -f confmf 2> /dev/null` in #( -+*the\ am__doit\ target*) -+ am__include=include -+ am__quote= -+ _am_result=GNU -+ ;; -+esac -+# Now try BSD make style include. -+if test "$am__include" = "#"; then -+ echo '.include "confinc"' > confmf -+ case `$am_make -s -f confmf 2> /dev/null` in #( -+ *the\ am__doit\ target*) -+ am__include=.include -+ am__quote="\"" -+ _am_result=BSD -+ ;; -+ esac - fi - --rm -f conftest.err conftest.$ac_ext - -- # OK, works on sane cases. Now check whether nonexistent headers -- # can be detected and how. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include --_ACEOF --if { (ac_try="$ac_cpp conftest.$ac_ext" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null && { -- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || -- test ! -s conftest.err -- }; then -- # Broken: success on invalid input. --continue --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 -+$as_echo "$_am_result" >&6; } -+rm -f confinc confmf - -- # Passes both tests. --ac_preproc_ok=: --break -+# Check whether --enable-dependency-tracking was given. -+if test "${enable_dependency_tracking+set}" = set; then : -+ enableval=$enable_dependency_tracking; - fi - --rm -f conftest.err conftest.$ac_ext -- --done --# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. --rm -f conftest.err conftest.$ac_ext --if $ac_preproc_ok; then -- : -+if test "x$enable_dependency_tracking" != xno; then -+ am_depcomp="$ac_aux_dir/depcomp" -+ AMDEPBACKSLASH='\' -+fi -+ if test "x$enable_dependency_tracking" != xno; then -+ AMDEP_TRUE= -+ AMDEP_FALSE='#' - else -- { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check --See \`config.log' for more details." >&5 --echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -+ AMDEP_TRUE='#' -+ AMDEP_FALSE= - fi - -+ - ac_ext=c - ac_cpp='$CPP $CPPFLAGS' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu -- -- --{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 --echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } --if test "${ac_cv_path_GREP+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- # Extract the first word of "grep ggrep" to use in msg output --if test -z "$GREP"; then --set dummy grep ggrep; ac_prog_name=$2 --if test "${ac_cv_path_GREP+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -+set dummy ${ac_tool_prefix}gcc; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_CC+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. - else -- ac_path_GREP_found=false --# Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR --for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -+for as_dir in $PATH - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_prog in grep ggrep; do -- for ac_exec_ext in '' $ac_executable_extensions; do -- ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" -- { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue -- # Check for GNU ac_path_GREP and select it if it is found. -- # Check for GNU $ac_path_GREP --case `"$ac_path_GREP" --version 2>&1` in --*GNU*) -- ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; --*) -- ac_count=0 -- echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" -- while : -- do -- cat "conftest.in" "conftest.in" >"conftest.tmp" -- mv "conftest.tmp" "conftest.in" -- cp "conftest.in" "conftest.nl" -- echo 'GREP' >> "conftest.nl" -- "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break -- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break -- ac_count=`expr $ac_count + 1` -- if test $ac_count -gt ${ac_path_GREP_max-0}; then -- # Best one so far, save it but keep looking for a better one -- ac_cv_path_GREP="$ac_path_GREP" -- ac_path_GREP_max=$ac_count -- fi -- # 10*(2^10) chars as input seems more than enough -- test $ac_count -gt 10 && break -- done -- rm -f conftest.in conftest.tmp conftest.nl conftest.out;; --esac -- -- -- $ac_path_GREP_found && break 3 -- done --done -- -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -+ ac_cv_prog_CC="${ac_tool_prefix}gcc" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi - done -+ done - IFS=$as_save_IFS - -+fi -+fi -+CC=$ac_cv_prog_CC -+if test -n "$CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -+$as_echo "$CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ - - fi -+if test -z "$ac_cv_prog_CC"; then -+ ac_ct_CC=$CC -+ # Extract the first word of "gcc", so it can be a program name with args. -+set dummy gcc; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_CC"; then -+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -+ ac_cv_prog_ac_ct_CC="gcc" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS - --GREP="$ac_cv_path_GREP" --if test -z "$GREP"; then -- { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 --echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} -- { (exit 1); exit 1; }; } -+fi -+fi -+ac_ct_CC=$ac_cv_prog_ac_ct_CC -+if test -n "$ac_ct_CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -+$as_echo "$ac_ct_CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - -+ if test "x$ac_ct_CC" = x; then -+ CC="" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ CC=$ac_ct_CC -+ fi - else -- ac_cv_path_GREP=$GREP -+ CC="$ac_cv_prog_CC" - fi - -+if test -z "$CC"; then -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -+set dummy ${ac_tool_prefix}cc; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_CC+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -+ ac_cv_prog_CC="${ac_tool_prefix}cc" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS - - fi --{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 --echo "${ECHO_T}$ac_cv_path_GREP" >&6; } -- GREP="$ac_cv_path_GREP" -+fi -+CC=$ac_cv_prog_CC -+if test -n "$CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -+$as_echo "$CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi - - --{ echo "$as_me:$LINENO: checking for egrep" >&5 --echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } --if test "${ac_cv_path_EGREP+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ fi -+fi -+if test -z "$CC"; then -+ # Extract the first word of "cc", so it can be a program name with args. -+set dummy cc; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_CC+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 -- then ac_cv_path_EGREP="$GREP -E" -- else -- # Extract the first word of "egrep" to use in msg output --if test -z "$EGREP"; then --set dummy egrep; ac_prog_name=$2 --if test "${ac_cv_path_EGREP+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. - else -- ac_path_EGREP_found=false --# Loop through the user's path and test for each of PROGNAME-LIST -+ ac_prog_rejected=no - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR --for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -+for as_dir in $PATH - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_prog in egrep; do -- for ac_exec_ext in '' $ac_executable_extensions; do -- ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" -- { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue -- # Check for GNU ac_path_EGREP and select it if it is found. -- # Check for GNU $ac_path_EGREP --case `"$ac_path_EGREP" --version 2>&1` in --*GNU*) -- ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; --*) -- ac_count=0 -- echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" -- while : -- do -- cat "conftest.in" "conftest.in" >"conftest.tmp" -- mv "conftest.tmp" "conftest.in" -- cp "conftest.in" "conftest.nl" -- echo 'EGREP' >> "conftest.nl" -- "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break -- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break -- ac_count=`expr $ac_count + 1` -- if test $ac_count -gt ${ac_path_EGREP_max-0}; then -- # Best one so far, save it but keep looking for a better one -- ac_cv_path_EGREP="$ac_path_EGREP" -- ac_path_EGREP_max=$ac_count -- fi -- # 10*(2^10) chars as input seems more than enough -- test $ac_count -gt 10 && break -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then -+ ac_prog_rejected=yes -+ continue -+ fi -+ ac_cv_prog_CC="cc" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done - done -- rm -f conftest.in conftest.tmp conftest.nl conftest.out;; --esac -+IFS=$as_save_IFS - -+if test $ac_prog_rejected = yes; then -+ # We found a bogon in the path, so make sure we never use it. -+ set dummy $ac_cv_prog_CC -+ shift -+ if test $# != 0; then -+ # We chose a different compiler from the bogus one. -+ # However, it has the same basename, so the bogon will be chosen -+ # first if we set CC to just the basename; use the full file name. -+ shift -+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" -+ fi -+fi -+fi -+fi -+CC=$ac_cv_prog_CC -+if test -n "$CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -+$as_echo "$CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi - -- $ac_path_EGREP_found && break 3 -- done --done - -+fi -+if test -z "$CC"; then -+ if test -n "$ac_tool_prefix"; then -+ for ac_prog in cl.exe -+ do -+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_CC+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi - done -+ done - IFS=$as_save_IFS - -- - fi -+fi -+CC=$ac_cv_prog_CC -+if test -n "$CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -+$as_echo "$CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ - --EGREP="$ac_cv_path_EGREP" --if test -z "$EGREP"; then -- { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 --echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} -- { (exit 1); exit 1; }; } -+ test -n "$CC" && break -+ done - fi -+if test -z "$CC"; then -+ ac_ct_CC=$CC -+ for ac_prog in cl.exe -+do -+ # Extract the first word of "$ac_prog", so it can be a program name with args. -+set dummy $ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_CC"; then -+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -+ ac_cv_prog_ac_ct_CC="$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS - -+fi -+fi -+ac_ct_CC=$ac_cv_prog_ac_ct_CC -+if test -n "$ac_ct_CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -+$as_echo "$ac_ct_CC" >&6; } - else -- ac_cv_path_EGREP=$EGREP -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -- fi -+ test -n "$ac_ct_CC" && break -+done -+ -+ if test "x$ac_ct_CC" = x; then -+ CC="" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ CC=$ac_ct_CC -+ fi -+fi -+ - fi --{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 --echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } -- EGREP="$ac_cv_path_EGREP" - - --{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 --echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } --if test "${ac_cv_header_stdc+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error "no acceptable C compiler found in \$PATH -+See \`config.log' for more details." "$LINENO" 5; } -+ -+# Provide some information about the compiler. -+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 -+set X $ac_compile -+ac_compiler=$2 -+for ac_option in --version -v -V -qversion; do -+ { { ac_try="$ac_compiler $ac_option >&5" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err -+ ac_status=$? -+ if test -s conftest.err; then -+ sed '10a\ -+... rest of stderr output deleted ... -+ 10q' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ fi -+ rm -f conftest.er1 conftest.err -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } -+done -+ -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ --#include --#include --#include --#include - - int - main () -@@ -4238,751 +3871,625 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" -+ac_clean_files_save=$ac_clean_files -+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -+# Try to create an executable without -o first, disregard a.out. -+# It will help us diagnose broken compilers, and finding out an intuition -+# of exeext. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -+$as_echo_n "checking whether the C compiler works... " >&6; } -+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` -+ -+# The possible output files: -+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" -+ -+ac_rmfiles= -+for ac_file in $ac_files -+do -+ case $ac_file in -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; -+ * ) ac_rmfiles="$ac_rmfiles $ac_file";; -+ esac -+done -+rm -f $ac_rmfiles -+ -+if { { ac_try="$ac_link_default" - case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; - esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link_default") 2>&5 - ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_cv_header_stdc=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_header_stdc=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- --if test $ac_cv_header_stdc = yes; then -- # SunOS 4.x string.h does not declare mem*, contrary to ANSI. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then : -+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -+# in a Makefile. We should not override ac_cv_exeext if it was cached, -+# so that the user can short-circuit this test for compilers unknown to -+# Autoconf. -+for ac_file in $ac_files '' -+do -+ test -f "$ac_file" || continue -+ case $ac_file in -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) -+ ;; -+ [ab].out ) -+ # We found the default executable, but exeext='' is most -+ # certainly right. -+ break;; -+ *.* ) -+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; -+ then :; else -+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` -+ fi -+ # We set ac_cv_exeext here because the later test for it is not -+ # safe: cross compilers may not add the suffix if given an `-o' -+ # argument, so we may need to know it at that point already. -+ # Even if this section looks crufty: it has the advantage of -+ # actually working. -+ break;; -+ * ) -+ break;; -+ esac -+done -+test "$ac_cv_exeext" = no && ac_cv_exeext= - --_ACEOF --if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -- $EGREP "memchr" >/dev/null 2>&1; then -- : - else -- ac_cv_header_stdc=no --fi --rm -f conftest* -- -+ ac_file='' - fi -+if test -z "$ac_file"; then : -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+$as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+{ as_fn_set_status 77 -+as_fn_error "C compiler cannot create executables -+See \`config.log' for more details." "$LINENO" 5; }; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -+$as_echo_n "checking for C compiler default output file name... " >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -+$as_echo "$ac_file" >&6; } -+ac_exeext=$ac_cv_exeext - --if test $ac_cv_header_stdc = yes; then -- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include -- --_ACEOF --if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -- $EGREP "free" >/dev/null 2>&1; then -- : -+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -+ac_clean_files=$ac_clean_files_save -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -+$as_echo_n "checking for suffix of executables... " >&6; } -+if { { ac_try="$ac_link" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then : -+ # If both `conftest.exe' and `conftest' are `present' (well, observable) -+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -+# work properly (i.e., refer to `conftest.exe'), while it won't with -+# `rm'. -+for ac_file in conftest.exe conftest conftest.*; do -+ test -f "$ac_file" || continue -+ case $ac_file in -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; -+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` -+ break;; -+ * ) break;; -+ esac -+done - else -- ac_cv_header_stdc=no --fi --rm -f conftest* -- --fi -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error "cannot compute suffix of executables: cannot compile and link -+See \`config.log' for more details." "$LINENO" 5; } -+fi -+rm -f conftest conftest$ac_cv_exeext -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -+$as_echo "$ac_cv_exeext" >&6; } - --if test $ac_cv_header_stdc = yes; then -- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. -- if test "$cross_compiling" = yes; then -- : --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+rm -f conftest.$ac_ext -+EXEEXT=$ac_cv_exeext -+ac_exeext=$EXEEXT -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ --#include --#include --#if ((' ' & 0x0FF) == 0x020) --# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') --# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) --#else --# define ISLOWER(c) \ -- (('a' <= (c) && (c) <= 'i') \ -- || ('j' <= (c) && (c) <= 'r') \ -- || ('s' <= (c) && (c) <= 'z')) --# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) --#endif -- --#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -+#include - int - main () - { -- int i; -- for (i = 0; i < 256; i++) -- if (XOR (islower (i), ISLOWER (i)) -- || toupper (i) != TOUPPER (i)) -- return 2; -+FILE *f = fopen ("conftest.out", "w"); -+ return ferror (f) || fclose (f) != 0; -+ -+ ; - return 0; - } - _ACEOF --rm -f conftest$ac_exeext --if { (ac_try="$ac_link" -+ac_clean_files="$ac_clean_files conftest.out" -+# Check that the compiler produces executables we can run. If not, either -+# the compiler is broken, or we cross compile. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 -+$as_echo_n "checking whether we are cross compiling... " >&6; } -+if test "$cross_compiling" != yes; then -+ { { ac_try="$ac_link" - case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; - esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (case "(($ac_try" in -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } -+ if { ac_try='./conftest$ac_cv_exeext' -+ { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; - esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- : --else -- echo "$as_me: program exited with status $ac_status" >&5 --echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --( exit $ac_status ) --ac_cv_header_stdc=no --fi --rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext --fi -- -- --fi --fi --{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 --echo "${ECHO_T}$ac_cv_header_stdc" >&6; } --if test $ac_cv_header_stdc = yes; then -- --cat >>confdefs.h <<\_ACEOF --#define STDC_HEADERS 1 --_ACEOF -- -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; }; then -+ cross_compiling=no -+ else -+ if test "$cross_compiling" = maybe; then -+ cross_compiling=yes -+ else -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error "cannot run C compiled programs. -+If you meant to cross compile, use \`--host'. -+See \`config.log' for more details." "$LINENO" 5; } -+ fi -+ fi - fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -+$as_echo "$cross_compiling" >&6; } - --# On IRIX 5.3, sys/types and inttypes.h are conflicting. -- -- -- -- -- -- -- -- -- --for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ -- inttypes.h stdint.h unistd.h --do --as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` --{ echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out -+ac_clean_files=$ac_clean_files_save -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 -+$as_echo_n "checking for suffix of object files... " >&6; } -+if test "${ac_cv_objext+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ --$ac_includes_default - --#include <$ac_header> -+int -+main () -+{ -+ -+ ; -+ return 0; -+} - _ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" -+rm -f conftest.o conftest.obj -+if { { ac_try="$ac_compile" - case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; - esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_compile") 2>&5 - ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- eval "$as_ac_Header=yes" -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then : -+ for ac_file in conftest.o conftest.obj conftest.*; do -+ test -f "$ac_file" || continue; -+ case $ac_file in -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; -+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` -+ break;; -+ esac -+done - else -- echo "$as_me: failed program was:" >&5 -+ $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - -- eval "$as_ac_Header=no" --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error "cannot compute suffix of object files: cannot compile -+See \`config.log' for more details." "$LINENO" 5; } - fi --ac_res=`eval echo '${'$as_ac_Header'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } --if test `eval echo '${'$as_ac_Header'}'` = yes; then -- cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 --_ACEOF -- -+rm -f conftest.$ac_cv_objext conftest.$ac_ext - fi -- --done -- -- -- --for ac_header in Python.h --do --as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- { echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --fi --ac_res=`eval echo '${'$as_ac_Header'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -+$as_echo "$ac_cv_objext" >&6; } -+OBJEXT=$ac_cv_objext -+ac_objext=$OBJEXT -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -+if test "${ac_cv_c_compiler_gnu+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- # Is the header compilable? --{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 --echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ --$ac_includes_default --#include <$ac_header> --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_header_compiler=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_header_compiler=no --fi - --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 --echo "${ECHO_T}$ac_header_compiler" >&6; } -+int -+main () -+{ -+#ifndef __GNUC__ -+ choke me -+#endif - --# Is the header present? --{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 --echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include <$ac_header> -+ ; -+ return 0; -+} - _ACEOF --if { (ac_try="$ac_cpp conftest.$ac_ext" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null && { -- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || -- test ! -s conftest.err -- }; then -- ac_header_preproc=yes -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_compiler_gnu=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_header_preproc=no -+ ac_compiler_gnu=no - fi -- --rm -f conftest.err conftest.$ac_ext --{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 --echo "${ECHO_T}$ac_header_preproc" >&6; } -- --# So? What about this header? --case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in -- yes:no: ) -- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 --echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 --echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} -- ac_header_preproc=yes -- ;; -- no:yes:* ) -- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 --echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 --echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 --echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 --echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 --echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 --echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} -- -- ;; --esac --{ echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- eval "$as_ac_Header=\$ac_header_preproc" --fi --ac_res=`eval echo '${'$as_ac_Header'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ac_cv_c_compiler_gnu=$ac_compiler_gnu - - fi --if test `eval echo '${'$as_ac_Header'}'` = yes; then -- cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 --_ACEOF -- -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -+$as_echo "$ac_cv_c_compiler_gnu" >&6; } -+if test $ac_compiler_gnu = yes; then -+ GCC=yes - else -- { echo "$as_me:$LINENO: WARNING: *** Python include files not found! You should install the Python development package. Python support disabled" >&5 --echo "$as_me: WARNING: *** Python include files not found! You should install the Python development package. Python support disabled" >&2;}; ac_python=no -+ GCC= - fi -+ac_test_CFLAGS=${CFLAGS+set} -+ac_save_CFLAGS=$CFLAGS -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -+$as_echo_n "checking whether $CC accepts -g... " >&6; } -+if test "${ac_cv_prog_cc_g+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_save_c_werror_flag=$ac_c_werror_flag -+ ac_c_werror_flag=yes -+ ac_cv_prog_cc_g=no -+ CFLAGS="-g" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ - --done -+int -+main () -+{ - -- CPPFLAGS="$OLD_CPPFLAGS" -- CXXFLAGS="$OLD_CXXFLAGS" -- -- if test "x$ac_python" = "xyes"; then -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_prog_cc_g=yes -+else -+ CFLAGS="" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ - -+int -+main () -+{ - -- ac_python=no -- for pylibpath in '/usr/lib' $PYTHON_PREFIX/lib $PYTHON_PREFIX/lib/python$PYTHON_VERSION/config; do -- eval `echo unset ac_cv_lib_python$PYTHON_VERSION'___'Py_Finalize | tr '.' '_'` -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : - -- save_LIBS=$LIBS -- LIBS="$LIBS -L$pylibpath $PYTHON_LIBS" -- as_ac_Lib=`echo "ac_cv_lib_python$PYTHON_VERSION''_Py_Finalize" | $as_tr_sh` --{ echo "$as_me:$LINENO: checking for Py_Finalize in -lpython$PYTHON_VERSION" >&5 --echo $ECHO_N "checking for Py_Finalize in -lpython$PYTHON_VERSION... $ECHO_C" >&6; } --if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 - else -- ac_check_lib_save_LIBS=$LIBS --LIBS="-lpython$PYTHON_VERSION $PYTHON_DEPS $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ ac_c_werror_flag=$ac_save_c_werror_flag -+ CFLAGS="-g" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - --/* Override any GCC internal prototype to avoid an error. -- Use char because int might match the return type of a GCC -- builtin and then its argument prototype would still apply. */ --#ifdef __cplusplus --extern "C" --#endif --char Py_Finalize (); - int - main () - { --return Py_Finalize (); -+ - ; - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- eval "$as_ac_Lib=yes" --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- eval "$as_ac_Lib=no" -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_prog_cc_g=yes - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext --LIBS=$ac_check_lib_save_LIBS -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi --ac_res=`eval echo '${'$as_ac_Lib'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } --if test `eval echo '${'$as_ac_Lib'}'` = yes; then -- PYTHON_LIBS="-L$pylibpath -lpython$PYTHON_VERSION $PYTHON_DEPS"; ac_python=yes -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi -- -- LIBS=$save_LIBS -- if test "x$ac_python" = "xyes"; then -- break -- fi -- done -- -- if test "x$ac_python" != "xyes"; then -- { echo "$as_me:$LINENO: WARNING: *** Python development libraries required" >&5 --echo "$as_me: WARNING: *** Python development libraries required" >&2;} -- fi -- -- -- -- if test "x$python_install" = "xyes"; then -- pkgpythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION"/site-packages/gpsd" -- fi -- -- fi -- fi -- fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ ac_c_werror_flag=$ac_save_c_werror_flag - fi -- if test x"$ac_python" = xyes; then -- HAVE_PYTHON_TRUE= -- HAVE_PYTHON_FALSE='#' -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -+$as_echo "$ac_cv_prog_cc_g" >&6; } -+if test "$ac_test_CFLAGS" = set; then -+ CFLAGS=$ac_save_CFLAGS -+elif test $ac_cv_prog_cc_g = yes; then -+ if test "$GCC" = yes; then -+ CFLAGS="-g -O2" -+ else -+ CFLAGS="-g" -+ fi - else -- HAVE_PYTHON_TRUE='#' -- HAVE_PYTHON_FALSE= -+ if test "$GCC" = yes; then -+ CFLAGS="-O2" -+ else -+ CFLAGS= -+ fi - fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -+if test "${ac_cv_prog_cc_c89+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_cv_prog_cc_c89=no -+ac_save_CC=$CC -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+#include -+#include -+#include -+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -+struct buf { int x; }; -+FILE * (*rcsopen) (struct buf *, struct stat *, int); -+static char *e (p, i) -+ char **p; -+ int i; -+{ -+ return p[i]; -+} -+static char *f (char * (*g) (char **, int), char **p, ...) -+{ -+ char *s; -+ va_list v; -+ va_start (v,p); -+ s = g (p, va_arg (v,int)); -+ va_end (v); -+ return s; -+} - -+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has -+ function prototypes and stuff, but not '\xHH' hex character constants. -+ These don't provoke an error unfortunately, instead are silently treated -+ as 'x'. The following induces an error, until -std is added to get -+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an -+ array size at least. It's necessary to write '\x00'==0 to get something -+ that's true only with -std. */ -+int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - --{ echo "$as_me:$LINENO: checking whether ln -s works" >&5 --echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } --LN_S=$as_ln_s --if test "$LN_S" = "ln -s"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } --else -- { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 --echo "${ECHO_T}no, using $LN_S" >&6; } --fi -+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters -+ inside strings and character constants. */ -+#define FOO(x) 'x' -+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - --{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 --echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } --set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` --if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.make <<\_ACEOF --SHELL = /bin/sh --all: -- @echo '@@@%%%=$(MAKE)=@@@%%%' -+int test (int i, double x); -+struct s1 {int (*f) (int a);}; -+struct s2 {int (*f) (double a);}; -+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -+int argc; -+char **argv; -+int -+main () -+{ -+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; -+ ; -+ return 0; -+} - _ACEOF --# GNU make sometimes prints "make[1]: Entering...", which would confuse us. --case `${MAKE-make} -f conftest.make 2>/dev/null` in -- *@@@%%%=?*=@@@%%%*) -- eval ac_cv_prog_make_${ac_make}_set=yes;; -- *) -- eval ac_cv_prog_make_${ac_make}_set=no;; --esac --rm -f conftest.make --fi --if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -- SET_MAKE= --else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -- SET_MAKE="MAKE=${MAKE-make}" --fi -- --# Find a good install program. We prefer a C program (faster), --# so one script is as good as another. But avoid the broken or --# incompatible versions: --# SysV /etc/install, /usr/sbin/install --# SunOS /usr/etc/install --# IRIX /sbin/install --# AIX /bin/install --# AmigaOS /C/install, which installs bootblocks on floppy discs --# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag --# AFS /usr/afsws/bin/install, which mishandles nonexistent args --# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" --# OS/2's system install, which has a completely different semantic --# ./install, which can be erroneously created by make from ./install.sh. --{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 --echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } --if test -z "$INSTALL"; then --if test "${ac_cv_path_install+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR --for as_dir in $PATH -+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" - do -- IFS=$as_save_IFS -- test -z "$as_dir" && as_dir=. -- # Account for people who put trailing slashes in PATH elements. --case $as_dir/ in -- ./ | .// | /cC/* | \ -- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ -- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ -- /usr/ucb/* ) ;; -- *) -- # OSF1 and SCO ODT 3.0 have their own names for install. -- # Don't use installbsd from OSF since it installs stuff as root -- # by default. -- for ac_prog in ginstall scoinst install; do -- for ac_exec_ext in '' $ac_executable_extensions; do -- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then -- if test $ac_prog = install && -- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then -- # AIX install. It has an incompatible calling convention. -- : -- elif test $ac_prog = install && -- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then -- # program-specific install script used by HP pwplus--don't use. -- : -- else -- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" -- break 3 -- fi -- fi -- done -- done -- ;; --esac -+ CC="$ac_save_CC $ac_arg" -+ if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_prog_cc_c89=$ac_arg -+fi -+rm -f core conftest.err conftest.$ac_objext -+ test "x$ac_cv_prog_cc_c89" != "xno" && break - done --IFS=$as_save_IFS -- -+rm -f conftest.$ac_ext -+CC=$ac_save_CC - - fi -- if test "${ac_cv_path_install+set}" = set; then -- INSTALL=$ac_cv_path_install -- else -- # As a last resort, use the slow shell script. Don't cache a -- # value for INSTALL within a source directory, because that will -- # break other packages using the cache if that directory is -- # removed, or if the value is a relative name. -- INSTALL=$ac_install_sh -- fi --fi --{ echo "$as_me:$LINENO: result: $INSTALL" >&5 --echo "${ECHO_T}$INSTALL" >&6; } -- --# Use test -z because SunOS4 sh mishandles braces in ${var-val}. --# It thinks the first close brace ends the variable substitution. --test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' -- --test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' -- --test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -- --case `pwd` in -- *\ * | *\ *) -- { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 --echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; -+# AC_CACHE_VAL -+case "x$ac_cv_prog_cc_c89" in -+ x) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -+$as_echo "none needed" >&6; } ;; -+ xno) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -+$as_echo "unsupported" >&6; } ;; -+ *) -+ CC="$CC $ac_cv_prog_cc_c89" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; - esac -+if test "x$ac_cv_prog_cc_c89" != xno; then : - -+fi - -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu - --macro_version='2.2.4' --macro_revision='1.2976' -- -- -- -- -- -- -- -- -- -+depcc="$CC" am_compiler_list= - -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -+$as_echo_n "checking dependency style of $depcc... " >&6; } -+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then -+ # We make a subdir and do the tests there. Otherwise we can end up -+ # making bogus files that we don't know about and never remove. For -+ # instance it was reported that on HP-UX the gcc test will end up -+ # making a dummy file named `D' -- because `-MD' means `put the output -+ # in D'. -+ mkdir conftest.dir -+ # Copy depcomp to subdir because otherwise we won't find it if we're -+ # using a relative directory. -+ cp "$am_depcomp" conftest.dir -+ cd conftest.dir -+ # We will build objects and dependencies in a subdirectory because -+ # it helps to detect inapplicable dependency modes. For instance -+ # both Tru64's cc and ICC support -MD to output dependencies as a -+ # side effect of compilation, but ICC will put the dependencies in -+ # the current directory while Tru64 will put them in the object -+ # directory. -+ mkdir sub - -+ am_cv_CC_dependencies_compiler_type=none -+ if test "$am_compiler_list" = ""; then -+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` -+ fi -+ am__universal=false -+ case " $depcc " in #( -+ *\ -arch\ *\ -arch\ *) am__universal=true ;; -+ esac - -+ for depmode in $am_compiler_list; do -+ # Setup a source with many dependencies, because some compilers -+ # like to wrap large dependency lists on column 80 (with \), and -+ # we should not choose a depcomp mode which is confused by this. -+ # -+ # We need to recreate these files for each test, as the compiler may -+ # overwrite some of them when testing with obscure command lines. -+ # This happens at least with the AIX C compiler. -+ : > sub/conftest.c -+ for i in 1 2 3 4 5 6; do -+ echo '#include "conftst'$i'.h"' >> sub/conftest.c -+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with -+ # Solaris 8's {/usr,}/bin/sh. -+ touch sub/conftst$i.h -+ done -+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - --ltmain="$ac_aux_dir/ltmain.sh" -+ # We check with `-c' and `-o' for the sake of the "dashmstdout" -+ # mode. It turns out that the SunPro C++ compiler does not properly -+ # handle `-M -o', and we need to detect this. Also, some Intel -+ # versions had trouble with output in subdirs -+ am__obj=sub/conftest.${OBJEXT-o} -+ am__minus_obj="-o $am__obj" -+ case $depmode in -+ gcc) -+ # This depmode causes a compiler race in universal mode. -+ test "$am__universal" = false || continue -+ ;; -+ nosideeffect) -+ # after this tag, mechanisms are not by side-effect, so they'll -+ # only be used when explicitly requested -+ if test "x$enable_dependency_tracking" = xyes; then -+ continue -+ else -+ break -+ fi -+ ;; -+ msvisualcpp | msvcmsys) -+ # This compiler won't grok `-c -o', but also, the minuso test has -+ # not run yet. These depmodes are late enough in the game, and -+ # so weak that their functioning should not be impacted. -+ am__obj=conftest.${OBJEXT-o} -+ am__minus_obj= -+ ;; -+ none) break ;; -+ esac -+ if depmode=$depmode \ -+ source=sub/conftest.c object=$am__obj \ -+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ -+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ -+ >/dev/null 2>conftest.err && -+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && -+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && -+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && -+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then -+ # icc doesn't choke on unknown options, it will just issue warnings -+ # or remarks (even with -Werror). So we grep stderr for any message -+ # that says an option was ignored or not supported. -+ # When given -MP, icc 7.0 and 7.1 complain thusly: -+ # icc: Command line warning: ignoring option '-M'; no argument required -+ # The diagnosis changed in icc 8.0: -+ # icc: Command line remark: option '-MP' not supported -+ if (grep 'ignoring option' conftest.err || -+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else -+ am_cv_CC_dependencies_compiler_type=$depmode -+ break -+ fi -+ fi -+ done - --# Make sure we can run config.sub. --$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || -- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 --echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} -- { (exit 1); exit 1; }; } -- --{ echo "$as_me:$LINENO: checking build system type" >&5 --echo $ECHO_N "checking build system type... $ECHO_C" >&6; } --if test "${ac_cv_build+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ cd .. -+ rm -rf conftest.dir - else -- ac_build_alias=$build_alias --test "x$ac_build_alias" = x && -- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` --test "x$ac_build_alias" = x && -- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 --echo "$as_me: error: cannot guess build type; you must specify one" >&2;} -- { (exit 1); exit 1; }; } --ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || -- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 --echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} -- { (exit 1); exit 1; }; } -- -+ am_cv_CC_dependencies_compiler_type=none - fi --{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 --echo "${ECHO_T}$ac_cv_build" >&6; } --case $ac_cv_build in --*-*-*) ;; --*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 --echo "$as_me: error: invalid value of canonical build" >&2;} -- { (exit 1); exit 1; }; };; --esac --build=$ac_cv_build --ac_save_IFS=$IFS; IFS='-' --set x $ac_cv_build --shift --build_cpu=$1 --build_vendor=$2 --shift; shift --# Remember, the first character of IFS is used to create $*, --# except with old shells: --build_os=$* --IFS=$ac_save_IFS --case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac - -- --{ echo "$as_me:$LINENO: checking host system type" >&5 --echo $ECHO_N "checking host system type... $ECHO_C" >&6; } --if test "${ac_cv_host+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- if test "x$host_alias" = x; then -- ac_cv_host=$ac_cv_build --else -- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || -- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 --echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} -- { (exit 1); exit 1; }; } - fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 -+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } -+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - -+ if -+ test "x$enable_dependency_tracking" != xno \ -+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then -+ am__fastdepCC_TRUE= -+ am__fastdepCC_FALSE='#' -+else -+ am__fastdepCC_TRUE='#' -+ am__fastdepCC_FALSE= - fi --{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 --echo "${ECHO_T}$ac_cv_host" >&6; } --case $ac_cv_host in --*-*-*) ;; --*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 --echo "$as_me: error: invalid value of canonical host" >&2;} -- { (exit 1); exit 1; }; };; --esac --host=$ac_cv_host --ac_save_IFS=$IFS; IFS='-' --set x $ac_cv_host --shift --host_cpu=$1 --host_vendor=$2 --shift; shift --# Remember, the first character of IFS is used to create $*, --# except with old shells: --host_os=$* --IFS=$ac_save_IFS --case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac - - --{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 --echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } --if test "${ac_cv_path_SED+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 -+$as_echo_n "checking for a sed that does not truncate output... " >&6; } -+if test "${ac_cv_path_SED+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ - for ac_i in 1 2 3 4 5 6 7; do - ac_script="$ac_script$as_nl$ac_script" - done -- echo "$ac_script" | sed 99q >conftest.sed -- $as_unset ac_script || ac_script= -- # Extract the first word of "sed gsed" to use in msg output --if test -z "$SED"; then --set dummy sed gsed; ac_prog_name=$2 --if test "${ac_cv_path_SED+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -+ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed -+ { ac_script=; unset ac_script;} -+ if test -z "$SED"; then - ac_path_SED_found=false --# Loop through the user's path and test for each of PROGNAME-LIST --as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+ # Loop through the user's path and test for each of PROGNAME-LIST -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR - for as_dir in $PATH - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_prog in sed gsed; do -- for ac_exec_ext in '' $ac_executable_extensions; do -- ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" -- { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue -- # Check for GNU ac_path_SED and select it if it is found. -+ for ac_prog in sed gsed; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" -+ { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue -+# Check for GNU ac_path_SED and select it if it is found. - # Check for GNU $ac_path_SED - case `"$ac_path_SED" --version 2>&1` in - *GNU*) - ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; - *) - ac_count=0 -- echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" -+ $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" -- echo '' >> "conftest.nl" -+ $as_echo '' >> "conftest.nl" - "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break -- ac_count=`expr $ac_count + 1` -+ as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_SED_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_SED="$ac_path_SED" -@@ -4994,31 +4501,21 @@ - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; - esac - -- -- $ac_path_SED_found && break 3 -+ $ac_path_SED_found && break 3 -+ done -+ done - done --done -- --done - IFS=$as_save_IFS -- -- --fi -- --SED="$ac_cv_path_SED" --if test -z "$SED"; then -- { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5 --echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;} -- { (exit 1); exit 1; }; } --fi -- -+ if test -z "$ac_cv_path_SED"; then -+ as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 -+ fi - else - ac_cv_path_SED=$SED - fi - - fi --{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 --echo "${ECHO_T}$ac_cv_path_SED" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 -+$as_echo "$ac_cv_path_SED" >&6; } - SED="$ac_cv_path_SED" - rm -f conftest.sed - -@@ -5035,48 +4532,173 @@ - - - --{ echo "$as_me:$LINENO: checking for fgrep" >&5 --echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; } --if test "${ac_cv_path_FGREP+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 -+$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -+if test "${ac_cv_path_GREP+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -z "$GREP"; then -+ ac_path_GREP_found=false -+ # Loop through the user's path and test for each of PROGNAME-LIST -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_prog in grep ggrep; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" -+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue -+# Check for GNU ac_path_GREP and select it if it is found. -+ # Check for GNU $ac_path_GREP -+case `"$ac_path_GREP" --version 2>&1` in -+*GNU*) -+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -+*) -+ ac_count=0 -+ $as_echo_n 0123456789 >"conftest.in" -+ while : -+ do -+ cat "conftest.in" "conftest.in" >"conftest.tmp" -+ mv "conftest.tmp" "conftest.in" -+ cp "conftest.in" "conftest.nl" -+ $as_echo 'GREP' >> "conftest.nl" -+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break -+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break -+ as_fn_arith $ac_count + 1 && ac_count=$as_val -+ if test $ac_count -gt ${ac_path_GREP_max-0}; then -+ # Best one so far, save it but keep looking for a better one -+ ac_cv_path_GREP="$ac_path_GREP" -+ ac_path_GREP_max=$ac_count -+ fi -+ # 10*(2^10) chars as input seems more than enough -+ test $ac_count -gt 10 && break -+ done -+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -+esac -+ -+ $ac_path_GREP_found && break 3 -+ done -+ done -+ done -+IFS=$as_save_IFS -+ if test -z "$ac_cv_path_GREP"; then -+ as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 -+ fi -+else -+ ac_cv_path_GREP=$GREP -+fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -+$as_echo "$ac_cv_path_GREP" >&6; } -+ GREP="$ac_cv_path_GREP" -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -+$as_echo_n "checking for egrep... " >&6; } -+if test "${ac_cv_path_EGREP+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 -+ then ac_cv_path_EGREP="$GREP -E" -+ else -+ if test -z "$EGREP"; then -+ ac_path_EGREP_found=false -+ # Loop through the user's path and test for each of PROGNAME-LIST -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_prog in egrep; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" -+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue -+# Check for GNU ac_path_EGREP and select it if it is found. -+ # Check for GNU $ac_path_EGREP -+case `"$ac_path_EGREP" --version 2>&1` in -+*GNU*) -+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -+*) -+ ac_count=0 -+ $as_echo_n 0123456789 >"conftest.in" -+ while : -+ do -+ cat "conftest.in" "conftest.in" >"conftest.tmp" -+ mv "conftest.tmp" "conftest.in" -+ cp "conftest.in" "conftest.nl" -+ $as_echo 'EGREP' >> "conftest.nl" -+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break -+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break -+ as_fn_arith $ac_count + 1 && ac_count=$as_val -+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then -+ # Best one so far, save it but keep looking for a better one -+ ac_cv_path_EGREP="$ac_path_EGREP" -+ ac_path_EGREP_max=$ac_count -+ fi -+ # 10*(2^10) chars as input seems more than enough -+ test $ac_count -gt 10 && break -+ done -+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -+esac -+ -+ $ac_path_EGREP_found && break 3 -+ done -+ done -+ done -+IFS=$as_save_IFS -+ if test -z "$ac_cv_path_EGREP"; then -+ as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 -+ fi -+else -+ ac_cv_path_EGREP=$EGREP -+fi -+ -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -+$as_echo "$ac_cv_path_EGREP" >&6; } -+ EGREP="$ac_cv_path_EGREP" -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 -+$as_echo_n "checking for fgrep... " >&6; } -+if test "${ac_cv_path_FGREP+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 - then ac_cv_path_FGREP="$GREP -F" - else -- # Extract the first word of "fgrep" to use in msg output --if test -z "$FGREP"; then --set dummy fgrep; ac_prog_name=$2 --if test "${ac_cv_path_FGREP+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -+ if test -z "$FGREP"; then - ac_path_FGREP_found=false --# Loop through the user's path and test for each of PROGNAME-LIST --as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+ # Loop through the user's path and test for each of PROGNAME-LIST -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR - for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_prog in fgrep; do -- for ac_exec_ext in '' $ac_executable_extensions; do -- ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" -- { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue -- # Check for GNU ac_path_FGREP and select it if it is found. -+ for ac_prog in fgrep; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" -+ { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue -+# Check for GNU ac_path_FGREP and select it if it is found. - # Check for GNU $ac_path_FGREP - case `"$ac_path_FGREP" --version 2>&1` in - *GNU*) - ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; - *) - ac_count=0 -- echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" -+ $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" -- echo 'FGREP' >> "conftest.nl" -+ $as_echo 'FGREP' >> "conftest.nl" - "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break -- ac_count=`expr $ac_count + 1` -+ as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_FGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_FGREP="$ac_path_FGREP" -@@ -5088,33 +4710,22 @@ - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; - esac - -- -- $ac_path_FGREP_found && break 3 -+ $ac_path_FGREP_found && break 3 -+ done -+ done - done --done -- --done - IFS=$as_save_IFS -- -- --fi -- --FGREP="$ac_cv_path_FGREP" --if test -z "$FGREP"; then -- { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 --echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} -- { (exit 1); exit 1; }; } --fi -- -+ if test -z "$ac_cv_path_FGREP"; then -+ as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 -+ fi - else - ac_cv_path_FGREP=$FGREP - fi - -- - fi - fi --{ echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 --echo "${ECHO_T}$ac_cv_path_FGREP" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 -+$as_echo "$ac_cv_path_FGREP" >&6; } - FGREP="$ac_cv_path_FGREP" - - -@@ -5139,7 +4750,7 @@ - - - # Check whether --with-gnu-ld was given. --if test "${with_gnu_ld+set}" = set; then -+if test "${with_gnu_ld+set}" = set; then : - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes - else - with_gnu_ld=no -@@ -5148,8 +4759,8 @@ - ac_prog=ld - if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. -- { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 --echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 -+$as_echo_n "checking for ld used by $CC... " >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw -@@ -5178,14 +4789,14 @@ - ;; - esac - elif test "$with_gnu_ld" = yes; then -- { echo "$as_me:$LINENO: checking for GNU ld" >&5 --echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -+$as_echo_n "checking for GNU ld... " >&6; } - else -- { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 --echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -+$as_echo_n "checking for non-GNU ld... " >&6; } - fi --if test "${lt_cv_path_LD+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+if test "${lt_cv_path_LD+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -@@ -5215,19 +4826,17 @@ - - LD="$lt_cv_path_LD" - if test -n "$LD"; then -- { echo "$as_me:$LINENO: result: $LD" >&5 --echo "${ECHO_T}$LD" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 -+$as_echo "$LD" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi --test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 --echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} -- { (exit 1); exit 1; }; } --{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 --echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } --if test "${lt_cv_prog_gnu_ld+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -+if test "${lt_cv_prog_gnu_ld+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - # I'd rather use --version here, but apparently some GNU lds only accept -v. - case `$LD -v 2>&1 &5 --echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 -+$as_echo "$lt_cv_prog_gnu_ld" >&6; } - with_gnu_ld=$lt_cv_prog_gnu_ld - - -@@ -5251,10 +4860,10 @@ - - - --{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 --echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; } --if test "${lt_cv_path_NM+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 -+$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } -+if test "${lt_cv_path_NM+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$NM"; then - # Let the user override the test. -@@ -5300,8 +4909,8 @@ - : ${lt_cv_path_NM=no} - fi - fi --{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 --echo "${ECHO_T}$lt_cv_path_NM" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 -+$as_echo "$lt_cv_path_NM" >&6; } - if test "$lt_cv_path_NM" != "no"; then - NM="$lt_cv_path_NM" - else -@@ -5311,10 +4920,10 @@ - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. - set dummy $ac_tool_prefix$ac_prog; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_DUMPBIN+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_DUMPBIN+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$DUMPBIN"; then - ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. -@@ -5324,25 +4933,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - DUMPBIN=$ac_cv_prog_DUMPBIN - if test -n "$DUMPBIN"; then -- { echo "$as_me:$LINENO: result: $DUMPBIN" >&5 --echo "${ECHO_T}$DUMPBIN" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 -+$as_echo "$DUMPBIN" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -@@ -5355,10 +4964,10 @@ - do - # Extract the first word of "$ac_prog", so it can be a program name with args. - set dummy $ac_prog; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$ac_ct_DUMPBIN"; then - ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. -@@ -5368,25 +4977,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN - if test -n "$ac_ct_DUMPBIN"; then -- { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 --echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 -+$as_echo "$ac_ct_DUMPBIN" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -@@ -5398,12 +5007,8 @@ - else - case $cross_compiling:$ac_tool_warned in - yes:) --{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&5 --echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&2;} -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} - ac_tool_warned=yes ;; - esac - DUMPBIN=$ac_ct_DUMPBIN -@@ -5422,34 +5027,34 @@ - - - --{ echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 --echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; } --if test "${lt_cv_nm_interface+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 -+$as_echo_n "checking the name lister ($NM) interface... " >&6; } -+if test "${lt_cv_nm_interface+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - lt_cv_nm_interface="BSD nm" - echo "int some_variable = 0;" > conftest.$ac_ext -- (eval echo "\"\$as_me:5432: $ac_compile\"" >&5) -+ (eval echo "\"\$as_me:5037: $ac_compile\"" >&5) - (eval "$ac_compile" 2>conftest.err) - cat conftest.err >&5 -- (eval echo "\"\$as_me:5435: $NM \\\"conftest.$ac_objext\\\"\"" >&5) -+ (eval echo "\"\$as_me:5040: $NM \\\"conftest.$ac_objext\\\"\"" >&5) - (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) - cat conftest.err >&5 -- (eval echo "\"\$as_me:5438: output\"" >&5) -+ (eval echo "\"\$as_me:5043: output\"" >&5) - cat conftest.out >&5 - if $GREP 'External.*some_variable' conftest.out > /dev/null; then - lt_cv_nm_interface="MS dumpbin" - fi - rm -f conftest* - fi --{ echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 --echo "${ECHO_T}$lt_cv_nm_interface" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 -+$as_echo "$lt_cv_nm_interface" >&6; } - - # find the maximum length of command line arguments --{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 --echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } --if test "${lt_cv_sys_max_cmd_len+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 -+$as_echo_n "checking the maximum length of command line arguments... " >&6; } -+if test "${lt_cv_sys_max_cmd_len+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - i=0 - teststring="ABCD" -@@ -5470,7 +5075,7 @@ - lt_cv_sys_max_cmd_len=-1; - ;; - -- cygwin* | mingw*) -+ cygwin* | mingw* | cegcc*) - # On Win9x/ME, this test blows up -- it succeeds, but takes - # about 5 minutes as the teststring grows exponentially. - # Worse, since 9x/ME are not pre-emptively multitasking, -@@ -5566,11 +5171,11 @@ - fi - - if test -n $lt_cv_sys_max_cmd_len ; then -- { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 --echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 -+$as_echo "$lt_cv_sys_max_cmd_len" >&6; } - else -- { echo "$as_me:$LINENO: result: none" >&5 --echo "${ECHO_T}none" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 -+$as_echo "none" >&6; } - fi - max_cmd_len=$lt_cv_sys_max_cmd_len - -@@ -5583,8 +5188,8 @@ - : ${MV="mv -f"} - : ${RM="rm -f"} - --{ echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 --echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 -+$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } - # Try some XSI features - xsi_shell=no - ( _lt_dummy="a/b/c" -@@ -5593,18 +5198,18 @@ - && eval 'test $(( 1 + 1 )) -eq 2 \ - && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ - && xsi_shell=yes --{ echo "$as_me:$LINENO: result: $xsi_shell" >&5 --echo "${ECHO_T}$xsi_shell" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 -+$as_echo "$xsi_shell" >&6; } - - --{ echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 --echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 -+$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } - lt_shell_append=no - ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ - >/dev/null 2>&1 \ - && lt_shell_append=yes --{ echo "$as_me:$LINENO: result: $lt_shell_append" >&5 --echo "${ECHO_T}$lt_shell_append" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 -+$as_echo "$lt_shell_append" >&6; } - - - if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then -@@ -5638,15 +5243,15 @@ - - - --{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 --echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } --if test "${lt_cv_ld_reload_flag+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 -+$as_echo_n "checking for $LD option to reload object files... " >&6; } -+if test "${lt_cv_ld_reload_flag+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - lt_cv_ld_reload_flag='-r' - fi --{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 --echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 -+$as_echo "$lt_cv_ld_reload_flag" >&6; } - reload_flag=$lt_cv_ld_reload_flag - case $reload_flag in - "" | " "*) ;; -@@ -5671,23 +5276,124 @@ - - - -- --{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 --echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; } --if test "${lt_cv_deplibs_check_method+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. -+set dummy ${ac_tool_prefix}objdump; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_OBJDUMP+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- lt_cv_file_magic_cmd='$MAGIC_CMD' --lt_cv_file_magic_test_file= --lt_cv_deplibs_check_method='unknown' --# Need to set the preceding variable on all platforms that support --# interlibrary dependencies. --# 'none' -- dependencies not supported. --# `unknown' -- same as none, but documents that we really don't know. --# 'pass_all' -- all dependencies passed with no checks. --# 'test_compile' -- check by making test program. --# 'file_magic [[regex]]' -- check by looking for files in library path --# which responds to the $file_magic_cmd with a given extended regex. -+ if test -n "$OBJDUMP"; then -+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+OBJDUMP=$ac_cv_prog_OBJDUMP -+if test -n "$OBJDUMP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 -+$as_echo "$OBJDUMP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_OBJDUMP"; then -+ ac_ct_OBJDUMP=$OBJDUMP -+ # Extract the first word of "objdump", so it can be a program name with args. -+set dummy objdump; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_OBJDUMP"; then -+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then -+ ac_cv_prog_ac_ct_OBJDUMP="objdump" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP -+if test -n "$ac_ct_OBJDUMP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 -+$as_echo "$ac_ct_OBJDUMP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_OBJDUMP" = x; then -+ OBJDUMP="false" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ OBJDUMP=$ac_ct_OBJDUMP -+ fi -+else -+ OBJDUMP="$ac_cv_prog_OBJDUMP" -+fi -+ -+test -z "$OBJDUMP" && OBJDUMP=objdump -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 -+$as_echo_n "checking how to recognize dependent libraries... " >&6; } -+if test "${lt_cv_deplibs_check_method+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_file_magic_cmd='$MAGIC_CMD' -+lt_cv_file_magic_test_file= -+lt_cv_deplibs_check_method='unknown' -+# Need to set the preceding variable on all platforms that support -+# interlibrary dependencies. -+# 'none' -- dependencies not supported. -+# `unknown' -- same as none, but documents that we really don't know. -+# 'pass_all' -- all dependencies passed with no checks. -+# 'test_compile' -- check by making test program. -+# 'file_magic [[regex]]' -- check by looking for files in library path -+# which responds to the $file_magic_cmd with a given extended regex. - # If you have `file' or equivalent on your system and you're not sure - # whether `pass_all' will *always* work, you probably want this one. - -@@ -5725,6 +5431,12 @@ - fi - ;; - -+cegcc) -+ # use the weaker test based on 'objdump'. See mingw*. -+ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' -+ lt_cv_file_magic_cmd='$OBJDUMP -f' -+ ;; -+ - darwin* | rhapsody*) - lt_cv_deplibs_check_method=pass_all - ;; -@@ -5783,7 +5495,7 @@ - ;; - - # This must be Linux ELF. --linux* | k*bsd*-gnu) -+linux* | k*bsd*-gnu | kopensolaris*-gnu) - lt_cv_deplibs_check_method=pass_all - ;; - -@@ -5862,8 +5574,8 @@ - esac - - fi --{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 --echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 -+$as_echo "$lt_cv_deplibs_check_method" >&6; } - file_magic_cmd=$lt_cv_file_magic_cmd - deplibs_check_method=$lt_cv_deplibs_check_method - test -z "$deplibs_check_method" && deplibs_check_method=unknown -@@ -5882,10 +5594,10 @@ - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. - set dummy ${ac_tool_prefix}ar; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_AR+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_AR+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$AR"; then - ac_cv_prog_AR="$AR" # Let the user override the test. -@@ -5895,25 +5607,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AR="${ac_tool_prefix}ar" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - AR=$ac_cv_prog_AR - if test -n "$AR"; then -- { echo "$as_me:$LINENO: result: $AR" >&5 --echo "${ECHO_T}$AR" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -+$as_echo "$AR" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -@@ -5922,10 +5634,10 @@ - ac_ct_AR=$AR - # Extract the first word of "ar", so it can be a program name with args. - set dummy ar; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_ac_ct_AR+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$ac_ct_AR"; then - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. -@@ -5935,25 +5647,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_AR="ar" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - ac_ct_AR=$ac_cv_prog_ac_ct_AR - if test -n "$ac_ct_AR"; then -- { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 --echo "${ECHO_T}$ac_ct_AR" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -+$as_echo "$ac_ct_AR" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - if test "x$ac_ct_AR" = x; then -@@ -5961,12 +5673,8 @@ - else - case $cross_compiling:$ac_tool_warned in - yes:) --{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&5 --echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&2;} -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} - ac_tool_warned=yes ;; - esac - AR=$ac_ct_AR -@@ -5991,10 +5699,10 @@ - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. - set dummy ${ac_tool_prefix}strip; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_STRIP+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_STRIP+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -@@ -6004,25 +5712,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_STRIP="${ac_tool_prefix}strip" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - STRIP=$ac_cv_prog_STRIP - if test -n "$STRIP"; then -- { echo "$as_me:$LINENO: result: $STRIP" >&5 --echo "${ECHO_T}$STRIP" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -+$as_echo "$STRIP" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -@@ -6031,10 +5739,10 @@ - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. - set dummy strip; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -@@ -6044,25 +5752,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_STRIP="strip" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP - if test -n "$ac_ct_STRIP"; then -- { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 --echo "${ECHO_T}$ac_ct_STRIP" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -+$as_echo "$ac_ct_STRIP" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - if test "x$ac_ct_STRIP" = x; then -@@ -6070,12 +5778,8 @@ - else - case $cross_compiling:$ac_tool_warned in - yes:) --{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&5 --echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&2;} -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} - ac_tool_warned=yes ;; - esac - STRIP=$ac_ct_STRIP -@@ -6094,10 +5798,10 @@ - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. - set dummy ${ac_tool_prefix}ranlib; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_RANLIB+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_RANLIB+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -@@ -6107,25 +5811,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - RANLIB=$ac_cv_prog_RANLIB - if test -n "$RANLIB"; then -- { echo "$as_me:$LINENO: result: $RANLIB" >&5 --echo "${ECHO_T}$RANLIB" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -+$as_echo "$RANLIB" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -@@ -6134,10 +5838,10 @@ - ac_ct_RANLIB=$RANLIB - # Extract the first word of "ranlib", so it can be a program name with args. - set dummy ranlib; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$ac_ct_RANLIB"; then - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -@@ -6147,25 +5851,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_RANLIB="ranlib" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB - if test -n "$ac_ct_RANLIB"; then -- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 --echo "${ECHO_T}$ac_ct_RANLIB" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -+$as_echo "$ac_ct_RANLIB" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - if test "x$ac_ct_RANLIB" = x; then -@@ -6173,12 +5877,8 @@ - else - case $cross_compiling:$ac_tool_warned in - yes:) --{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&5 --echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&2;} -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} - ac_tool_warned=yes ;; - esac - RANLIB=$ac_ct_RANLIB -@@ -6255,10 +5955,10 @@ - - - # Check for command to grab the raw symbol name followed by C symbol from nm. --{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 --echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } --if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 -+$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } -+if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - - # These are sane defaults that work on at least a few old systems. -@@ -6275,7 +5975,7 @@ - aix*) - symcode='[BCDT]' - ;; --cygwin* | mingw* | pw32*) -+cygwin* | mingw* | pw32* | cegcc*) - symcode='[ABCDGISTW]' - ;; - hpux*) -@@ -6373,18 +6073,18 @@ - int main(){nm_test_var='a';nm_test_func();return(0);} - _LT_EOF - -- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; then -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then - # Now try to grab the symbols. - nlist=conftest.nm -- if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 - ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && test -s "$nlist"; then -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" -@@ -6437,11 +6137,11 @@ - lt_save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" -- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 - (eval $ac_link) 2>&5 - ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && test -s conftest${ac_exeext}; then -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && test -s conftest${ac_exeext}; then - pipe_works=yes - fi - LIBS="$lt_save_LIBS" -@@ -6475,11 +6175,11 @@ - lt_cv_sys_global_symbol_to_cdecl= - fi - if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then -- { echo "$as_me:$LINENO: result: failed" >&5 --echo "${ECHO_T}failed" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 -+$as_echo "failed" >&6; } - else -- { echo "$as_me:$LINENO: result: ok" >&5 --echo "${ECHO_T}ok" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -+$as_echo "ok" >&6; } - fi - - -@@ -6503,8 +6203,9 @@ - - - -+ - # Check whether --enable-libtool-lock was given. --if test "${enable_libtool_lock+set}" = set; then -+if test "${enable_libtool_lock+set}" = set; then : - enableval=$enable_libtool_lock; - fi - -@@ -6516,11 +6217,11 @@ - ia64-*-hpux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext -- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; then -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then - case `/usr/bin/file conftest.$ac_objext` in - *ELF-32*) - HPUX_IA64_MODE="32" -@@ -6534,12 +6235,12 @@ - ;; - *-*-irix6*) - # Find out which ABI we are using. -- echo '#line 6537 "configure"' > conftest.$ac_ext -- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -+ echo '#line 6238 "configure"' > conftest.$ac_ext -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; then -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then - if test "$lt_cv_prog_gnu_ld" = yes; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) -@@ -6573,11 +6274,11 @@ - s390*-*linux*|s390*-*tpf*|sparc*-*linux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext -- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; then -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then - case `/usr/bin/file conftest.o` in - *32-bit*) - case $host in -@@ -6626,10 +6327,10 @@ - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" -- { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 --echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } --if test "${lt_cv_cc_needs_belf+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 -+$as_echo_n "checking whether the C compiler needs -belf... " >&6; } -+if test "${lt_cv_cc_needs_belf+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_ext=c - ac_cpp='$CPP $CPPFLAGS' -@@ -6637,11 +6338,7 @@ - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu - -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - int -@@ -6652,34 +6349,13 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - lt_cv_cc_needs_belf=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- lt_cv_cc_needs_belf=no -+ lt_cv_cc_needs_belf=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - ac_ext=c - ac_cpp='$CPP $CPPFLAGS' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -@@ -6687,8 +6363,8 @@ - ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi --{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 --echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 -+$as_echo "$lt_cv_cc_needs_belf" >&6; } - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" -@@ -6697,11 +6373,11 @@ - sparc*-*solaris*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext -- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; then -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then - case `/usr/bin/file conftest.o` in - *64-bit*) - case $lt_cv_prog_gnu_ld in -@@ -6727,10 +6403,10 @@ - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. - set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_DSYMUTIL+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$DSYMUTIL"; then - ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. -@@ -6740,25 +6416,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - DSYMUTIL=$ac_cv_prog_DSYMUTIL - if test -n "$DSYMUTIL"; then -- { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 --echo "${ECHO_T}$DSYMUTIL" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 -+$as_echo "$DSYMUTIL" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -@@ -6767,10 +6443,10 @@ - ac_ct_DSYMUTIL=$DSYMUTIL - # Extract the first word of "dsymutil", so it can be a program name with args. - set dummy dsymutil; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$ac_ct_DSYMUTIL"; then - ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. -@@ -6780,25 +6456,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL - if test -n "$ac_ct_DSYMUTIL"; then -- { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 --echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 -+$as_echo "$ac_ct_DSYMUTIL" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - if test "x$ac_ct_DSYMUTIL" = x; then -@@ -6806,12 +6482,8 @@ - else - case $cross_compiling:$ac_tool_warned in - yes:) --{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&5 --echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&2;} -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} - ac_tool_warned=yes ;; - esac - DSYMUTIL=$ac_ct_DSYMUTIL -@@ -6823,10 +6495,10 @@ - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. - set dummy ${ac_tool_prefix}nmedit; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_NMEDIT+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_NMEDIT+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$NMEDIT"; then - ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. -@@ -6836,25 +6508,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - NMEDIT=$ac_cv_prog_NMEDIT - if test -n "$NMEDIT"; then -- { echo "$as_me:$LINENO: result: $NMEDIT" >&5 --echo "${ECHO_T}$NMEDIT" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 -+$as_echo "$NMEDIT" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -@@ -6863,10 +6535,10 @@ - ac_ct_NMEDIT=$NMEDIT - # Extract the first word of "nmedit", so it can be a program name with args. - set dummy nmedit; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$ac_ct_NMEDIT"; then - ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. -@@ -6876,25 +6548,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_NMEDIT="nmedit" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT - if test -n "$ac_ct_NMEDIT"; then -- { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 --echo "${ECHO_T}$ac_ct_NMEDIT" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 -+$as_echo "$ac_ct_NMEDIT" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - if test "x$ac_ct_NMEDIT" = x; then -@@ -6902,12 +6574,8 @@ - else - case $cross_compiling:$ac_tool_warned in - yes:) --{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&5 --echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&2;} -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} - ac_tool_warned=yes ;; - esac - NMEDIT=$ac_ct_NMEDIT -@@ -6919,10 +6587,10 @@ - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. - set dummy ${ac_tool_prefix}lipo; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_LIPO+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_LIPO+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$LIPO"; then - ac_cv_prog_LIPO="$LIPO" # Let the user override the test. -@@ -6932,25 +6600,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_LIPO="${ac_tool_prefix}lipo" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - LIPO=$ac_cv_prog_LIPO - if test -n "$LIPO"; then -- { echo "$as_me:$LINENO: result: $LIPO" >&5 --echo "${ECHO_T}$LIPO" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 -+$as_echo "$LIPO" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -@@ -6959,10 +6627,10 @@ - ac_ct_LIPO=$LIPO - # Extract the first word of "lipo", so it can be a program name with args. - set dummy lipo; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$ac_ct_LIPO"; then - ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. -@@ -6972,25 +6640,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_LIPO="lipo" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO - if test -n "$ac_ct_LIPO"; then -- { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 --echo "${ECHO_T}$ac_ct_LIPO" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 -+$as_echo "$ac_ct_LIPO" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - if test "x$ac_ct_LIPO" = x; then -@@ -6998,12 +6666,8 @@ - else - case $cross_compiling:$ac_tool_warned in - yes:) --{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&5 --echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&2;} -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} - ac_tool_warned=yes ;; - esac - LIPO=$ac_ct_LIPO -@@ -7015,10 +6679,10 @@ - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. - set dummy ${ac_tool_prefix}otool; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_OTOOL+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_OTOOL+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$OTOOL"; then - ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. -@@ -7028,25 +6692,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_OTOOL="${ac_tool_prefix}otool" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - OTOOL=$ac_cv_prog_OTOOL - if test -n "$OTOOL"; then -- { echo "$as_me:$LINENO: result: $OTOOL" >&5 --echo "${ECHO_T}$OTOOL" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 -+$as_echo "$OTOOL" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -@@ -7055,10 +6719,10 @@ - ac_ct_OTOOL=$OTOOL - # Extract the first word of "otool", so it can be a program name with args. - set dummy otool; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$ac_ct_OTOOL"; then - ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. -@@ -7068,25 +6732,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_OTOOL="otool" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL - if test -n "$ac_ct_OTOOL"; then -- { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 --echo "${ECHO_T}$ac_ct_OTOOL" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 -+$as_echo "$ac_ct_OTOOL" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - if test "x$ac_ct_OTOOL" = x; then -@@ -7094,12 +6758,8 @@ - else - case $cross_compiling:$ac_tool_warned in - yes:) --{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&5 --echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&2;} -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} - ac_tool_warned=yes ;; - esac - OTOOL=$ac_ct_OTOOL -@@ -7111,10 +6771,10 @@ - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. - set dummy ${ac_tool_prefix}otool64; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_OTOOL64+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_OTOOL64+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$OTOOL64"; then - ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. -@@ -7124,25 +6784,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - OTOOL64=$ac_cv_prog_OTOOL64 - if test -n "$OTOOL64"; then -- { echo "$as_me:$LINENO: result: $OTOOL64" >&5 --echo "${ECHO_T}$OTOOL64" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 -+$as_echo "$OTOOL64" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -@@ -7151,10 +6811,10 @@ - ac_ct_OTOOL64=$OTOOL64 - # Extract the first word of "otool64", so it can be a program name with args. - set dummy otool64; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$ac_ct_OTOOL64"; then - ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. -@@ -7164,25 +6824,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_OTOOL64="otool64" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 - if test -n "$ac_ct_OTOOL64"; then -- { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 --echo "${ECHO_T}$ac_ct_OTOOL64" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 -+$as_echo "$ac_ct_OTOOL64" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - if test "x$ac_ct_OTOOL64" = x; then -@@ -7190,12 +6850,8 @@ - else - case $cross_compiling:$ac_tool_warned in - yes:) --{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&5 --echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&2;} -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} - ac_tool_warned=yes ;; - esac - OTOOL64=$ac_ct_OTOOL64 -@@ -7230,10 +6886,10 @@ - - - -- { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 --echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; } --if test "${lt_cv_apple_cc_single_mod+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 -+$as_echo_n "checking for -single_module linker flag... " >&6; } -+if test "${lt_cv_apple_cc_single_mod+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - lt_cv_apple_cc_single_mod=no - if test -z "${LT_MULTI_MODULE}"; then -@@ -7257,22 +6913,18 @@ - rm -f conftest.* - fi - fi --{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 --echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; } -- { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 --echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; } --if test "${lt_cv_ld_exported_symbols_list+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 -+$as_echo "$lt_cv_apple_cc_single_mod" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 -+$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } -+if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - lt_cv_ld_exported_symbols_list=no - save_LDFLAGS=$LDFLAGS - echo "_main" > conftest.sym - LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - int -@@ -7283,39 +6935,18 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - lt_cv_ld_exported_symbols_list=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- lt_cv_ld_exported_symbols_list=no -+ lt_cv_ld_exported_symbols_list=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" - - fi --{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 --echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 -+$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } - case $host_os in - rhapsody* | darwin1.[012]) - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; -@@ -7351,78 +6982,301 @@ - ;; - esac - -- --for ac_header in dlfcn.h --do --as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` --{ echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -+$as_echo_n "checking how to run the C preprocessor... " >&6; } -+# On Suns, sometimes $CPP names a directory. -+if test -n "$CPP" && test -d "$CPP"; then -+ CPP= -+fi -+if test -z "$CPP"; then -+ if test "${ac_cv_prog_CPP+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ # Double quotes because CPP needs to be expanded -+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" -+ do -+ ac_preproc_ok=false -+for ac_c_preproc_warn_flag in '' yes -+do -+ # Use a header file that comes with gcc, so configuring glibc -+ # with a fresh cross-compiler works. -+ # Prefer to if __STDC__ is defined, since -+ # exists even on freestanding compilers. -+ # On the NeXT, cc -E runs the code through the compiler's parser, -+ # not just through cpp. "Syntax error" is here to catch this case. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ --$ac_includes_default -+#ifdef __STDC__ -+# include -+#else -+# include -+#endif -+ Syntax error -+_ACEOF -+if ac_fn_c_try_cpp "$LINENO"; then : -+ -+else -+ # Broken: fails on valid input. -+continue -+fi -+rm -f conftest.err conftest.$ac_ext - --#include <$ac_header> -+ # OK, works on sane cases. Now check whether nonexistent headers -+ # can be detected and how. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include - _ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- eval "$as_ac_Header=yes" -+if ac_fn_c_try_cpp "$LINENO"; then : -+ # Broken: success on invalid input. -+continue - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+ # Passes both tests. -+ac_preproc_ok=: -+break -+fi -+rm -f conftest.err conftest.$ac_ext - -- eval "$as_ac_Header=no" -+done -+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -+rm -f conftest.err conftest.$ac_ext -+if $ac_preproc_ok; then : -+ break - fi - --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ done -+ ac_cv_prog_CPP=$CPP -+ - fi --ac_res=`eval echo '${'$as_ac_Header'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } --if test `eval echo '${'$as_ac_Header'}'` = yes; then -- cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 -+ CPP=$ac_cv_prog_CPP -+else -+ ac_cv_prog_CPP=$CPP -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -+$as_echo "$CPP" >&6; } -+ac_preproc_ok=false -+for ac_c_preproc_warn_flag in '' yes -+do -+ # Use a header file that comes with gcc, so configuring glibc -+ # with a fresh cross-compiler works. -+ # Prefer to if __STDC__ is defined, since -+ # exists even on freestanding compilers. -+ # On the NeXT, cc -E runs the code through the compiler's parser, -+ # not just through cpp. "Syntax error" is here to catch this case. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#ifdef __STDC__ -+# include -+#else -+# include -+#endif -+ Syntax error - _ACEOF -+if ac_fn_c_try_cpp "$LINENO"; then : -+ -+else -+ # Broken: fails on valid input. -+continue -+fi -+rm -f conftest.err conftest.$ac_ext - -+ # OK, works on sane cases. Now check whether nonexistent headers -+ # can be detected and how. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+_ACEOF -+if ac_fn_c_try_cpp "$LINENO"; then : -+ # Broken: success on invalid input. -+continue -+else -+ # Passes both tests. -+ac_preproc_ok=: -+break - fi -+rm -f conftest.err conftest.$ac_ext - - done -+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -+rm -f conftest.err conftest.$ac_ext -+if $ac_preproc_ok; then : - -+else -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error "C preprocessor \"$CPP\" fails sanity check -+See \`config.log' for more details." "$LINENO" 5; } -+fi - -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu - --# Set options - -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -+$as_echo_n "checking for ANSI C header files... " >&6; } -+if test "${ac_cv_header_stdc+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+#include -+#include -+#include - -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_header_stdc=yes -+else -+ ac_cv_header_stdc=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ -+if test $ac_cv_header_stdc = yes; then -+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "memchr" >/dev/null 2>&1; then : -+ -+else -+ ac_cv_header_stdc=no -+fi -+rm -f conftest* -+ -+fi -+ -+if test $ac_cv_header_stdc = yes; then -+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "free" >/dev/null 2>&1; then : -+ -+else -+ ac_cv_header_stdc=no -+fi -+rm -f conftest* -+ -+fi -+ -+if test $ac_cv_header_stdc = yes; then -+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. -+ if test "$cross_compiling" = yes; then : -+ : -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+#include -+#if ((' ' & 0x0FF) == 0x020) -+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -+#else -+# define ISLOWER(c) \ -+ (('a' <= (c) && (c) <= 'i') \ -+ || ('j' <= (c) && (c) <= 'r') \ -+ || ('s' <= (c) && (c) <= 'z')) -+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -+#endif -+ -+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -+int -+main () -+{ -+ int i; -+ for (i = 0; i < 256; i++) -+ if (XOR (islower (i), ISLOWER (i)) -+ || toupper (i) != TOUPPER (i)) -+ return 2; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ -+else -+ ac_cv_header_stdc=no -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -+$as_echo "$ac_cv_header_stdc" >&6; } -+if test $ac_cv_header_stdc = yes; then -+ -+$as_echo "#define STDC_HEADERS 1" >>confdefs.h -+ -+fi -+ -+# On IRIX 5.3, sys/types and inttypes.h are conflicting. -+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ -+ inttypes.h stdint.h unistd.h -+do : -+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -+" -+eval as_val=\$$as_ac_Header -+ if test "x$as_val" = x""yes; then : -+ cat >>confdefs.h <<_ACEOF -+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -+_ACEOF -+ -+fi -+ -+done -+ -+ -+for ac_header in dlfcn.h -+do : -+ ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default -+" -+if test "x$ac_cv_header_dlfcn_h" = x""yes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_DLFCN_H 1 -+_ACEOF -+ -+fi -+ -+done - -- enable_dlopen=no -+ -+ -+# Set options -+ -+ -+ -+ enable_dlopen=no - - - enable_win32_dll=no - - - # Check whether --enable-shared was given. --if test "${enable_shared+set}" = set; then -+if test "${enable_shared+set}" = set; then : - enableval=$enable_shared; p=${PACKAGE-default} - case $enableval in - yes) enable_shared=yes ;; -@@ -7453,7 +7307,7 @@ - - - # Check whether --enable-static was given. --if test "${enable_static+set}" = set; then -+if test "${enable_static+set}" = set; then : - enableval=$enable_static; p=${PACKAGE-default} - case $enableval in - yes) enable_static=yes ;; -@@ -7485,7 +7339,7 @@ - - - # Check whether --with-pic was given. --if test "${with_pic+set}" = set; then -+if test "${with_pic+set}" = set; then : - withval=$with_pic; pic_mode="$withval" - else - pic_mode=default -@@ -7501,7 +7355,7 @@ - - - # Check whether --enable-fast-install was given. --if test "${enable_fast_install+set}" = set; then -+if test "${enable_fast_install+set}" = set; then : - enableval=$enable_fast_install; p=${PACKAGE-default} - case $enableval in - yes) enable_fast_install=yes ;; -@@ -7582,10 +7436,10 @@ - setopt NO_GLOB_SUBST - fi - --{ echo "$as_me:$LINENO: checking for objdir" >&5 --echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } --if test "${lt_cv_objdir+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 -+$as_echo_n "checking for objdir... " >&6; } -+if test "${lt_cv_objdir+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - rm -f .libs 2>/dev/null - mkdir .libs 2>/dev/null -@@ -7597,8 +7451,8 @@ - fi - rmdir .libs 2>/dev/null - fi --{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 --echo "${ECHO_T}$lt_cv_objdir" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 -+$as_echo "$lt_cv_objdir" >&6; } - objdir=$lt_cv_objdir - - -@@ -7690,10 +7544,10 @@ - case $deplibs_check_method in - file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then -- { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 --echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; } --if test "${lt_cv_path_MAGIC_CMD+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 -+$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } -+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - case $MAGIC_CMD in - [\\/*] | ?:[\\/]*) -@@ -7743,11 +7597,11 @@ - - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if test -n "$MAGIC_CMD"; then -- { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 --echo "${ECHO_T}$MAGIC_CMD" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -+$as_echo "$MAGIC_CMD" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -@@ -7756,10 +7610,10 @@ - - if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then -- { echo "$as_me:$LINENO: checking for file" >&5 --echo $ECHO_N "checking for file... $ECHO_C" >&6; } --if test "${lt_cv_path_MAGIC_CMD+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 -+$as_echo_n "checking for file... " >&6; } -+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - case $MAGIC_CMD in - [\\/*] | ?:[\\/]*) -@@ -7809,11 +7663,11 @@ - - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if test -n "$MAGIC_CMD"; then -- { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 --echo "${ECHO_T}$MAGIC_CMD" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -+$as_echo "$MAGIC_CMD" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -@@ -7889,10 +7743,10 @@ - if test "$GCC" = yes; then - lt_prog_compiler_no_builtin_flag=' -fno-builtin' - -- { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 --echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } --if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -+$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } -+if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - lt_cv_prog_compiler_rtti_exceptions=no - ac_outfile=conftest.$ac_objext -@@ -7907,11 +7761,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:7910: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:7764: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:7914: \$? = $ac_status" >&5 -+ echo "$as_me:7768: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -7924,8 +7778,8 @@ - $RM conftest* - - fi --{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 --echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 -+$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } - - if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then - lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" -@@ -7944,8 +7798,8 @@ - lt_prog_compiler_pic= - lt_prog_compiler_static= - --{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 --echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 -+$as_echo_n "checking for $compiler option to produce PIC... " >&6; } - - if test "$GCC" = yes; then - lt_prog_compiler_wl='-Wl,' -@@ -7979,7 +7833,7 @@ - # PIC is the default for these OSes. - ;; - -- mingw* | cygwin* | pw32* | os2*) -+ mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style -@@ -7994,10 +7848,11 @@ - ;; - - hpux*) -- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but -- # not for PA HP-UX. -+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit -+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag -+ # sets the default TLS model and affects inlining. - case $host_cpu in -- hppa*64*|ia64*) -+ hppa*64*) - # +Z the default - ;; - *) -@@ -8047,7 +7902,7 @@ - fi - ;; - -- mingw* | cygwin* | pw32* | os2*) -+ mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_prog_compiler_pic='-DDLL_EXPORT' -@@ -8075,13 +7930,27 @@ - lt_prog_compiler_static='-non_shared' - ;; - -- linux* | k*bsd*-gnu) -+ linux* | k*bsd*-gnu | kopensolaris*-gnu) - case $cc_basename in -- icc* | ecc* | ifort*) -+ # old Intel for x86_64 which still supported -KPIC. -+ ecc*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-static' - ;; -+ # icc used to be incompatible with GCC. -+ # ICC 10 doesn't accept -KPIC any more. -+ icc* | ifort*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-fPIC' -+ lt_prog_compiler_static='-static' -+ ;; -+ # Lahey Fortran 8.1. -+ lf95*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='--shared' -+ lt_prog_compiler_static='--static' -+ ;; - pgcc* | pgf77* | pgf90* | pgf95*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) -@@ -8201,8 +8070,8 @@ - lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" - ;; - esac --{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 --echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 -+$as_echo "$lt_prog_compiler_pic" >&6; } - - - -@@ -8213,10 +8082,10 @@ - # Check to make sure the PIC flag actually works. - # - if test -n "$lt_prog_compiler_pic"; then -- { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 --echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } --if test "${lt_cv_prog_compiler_pic_works+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 -+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } -+if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - lt_cv_prog_compiler_pic_works=no - ac_outfile=conftest.$ac_objext -@@ -8231,11 +8100,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:8234: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:8103: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:8238: \$? = $ac_status" >&5 -+ echo "$as_me:8107: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -8248,8 +8117,8 @@ - $RM conftest* - - fi --{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 --echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 -+$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } - - if test x"$lt_cv_prog_compiler_pic_works" = xyes; then - case $lt_prog_compiler_pic in -@@ -8272,10 +8141,10 @@ - # Check to make sure the static flag actually works. - # - wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" --{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 --echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } --if test "${lt_cv_prog_compiler_static_works+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -+if test "${lt_cv_prog_compiler_static_works+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - lt_cv_prog_compiler_static_works=no - save_LDFLAGS="$LDFLAGS" -@@ -8300,8 +8169,8 @@ - LDFLAGS="$save_LDFLAGS" - - fi --{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 --echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 -+$as_echo "$lt_cv_prog_compiler_static_works" >&6; } - - if test x"$lt_cv_prog_compiler_static_works" = xyes; then - : -@@ -8315,10 +8184,10 @@ - - - -- { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 --echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } --if test "${lt_cv_prog_compiler_c_o+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -+if test "${lt_cv_prog_compiler_c_o+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - lt_cv_prog_compiler_c_o=no - $RM -r conftest 2>/dev/null -@@ -8336,11 +8205,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:8339: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:8208: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:8343: \$? = $ac_status" >&5 -+ echo "$as_me:8212: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized -@@ -8362,18 +8231,18 @@ - $RM conftest* - - fi --{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 --echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 -+$as_echo "$lt_cv_prog_compiler_c_o" >&6; } - - - - - - -- { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 --echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } --if test "${lt_cv_prog_compiler_c_o+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -+if test "${lt_cv_prog_compiler_c_o+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - lt_cv_prog_compiler_c_o=no - $RM -r conftest 2>/dev/null -@@ -8391,11 +8260,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:8394: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:8263: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:8398: \$? = $ac_status" >&5 -+ echo "$as_me:8267: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized -@@ -8417,8 +8286,8 @@ - $RM conftest* - - fi --{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 --echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 -+$as_echo "$lt_cv_prog_compiler_c_o" >&6; } - - - -@@ -8426,19 +8295,19 @@ - hard_links="nottested" - if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user -- { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 --echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 -+$as_echo_n "checking if we can lock with hard links... " >&6; } - hard_links=yes - $RM conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no -- { echo "$as_me:$LINENO: result: $hard_links" >&5 --echo "${ECHO_T}$hard_links" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 -+$as_echo "$hard_links" >&6; } - if test "$hard_links" = no; then -- { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 --echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -+$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} - need_locks=warn - fi - else -@@ -8450,8 +8319,8 @@ - - - -- { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 --echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } - - runpath_var= - allow_undefined_flag= -@@ -8495,7 +8364,7 @@ - extract_expsyms_cmds= - - case $host_os in -- cygwin* | mingw* | pw32*) -+ cygwin* | mingw* | pw32* | cegcc*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. -@@ -8510,6 +8379,9 @@ - openbsd*) - with_gnu_ld=no - ;; -+ linux* | k*bsd*-gnu) -+ link_all_deplibs=no -+ ;; - esac - - ld_shlibs=yes -@@ -8531,6 +8403,7 @@ - fi - supports_anon_versioning=no - case `$LD -v 2>&1` in -+ *GNU\ gold*) supports_anon_versioning=yes ;; - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... -@@ -8582,7 +8455,7 @@ - fi - ;; - -- cygwin* | mingw* | pw32*) -+ cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' -@@ -8622,7 +8495,7 @@ - archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - -- gnu* | linux* | tpf* | k*bsd*-gnu) -+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) - tmp_diet=no - if test "$host_os" = linux-dietlibc; then - case $cc_basename in -@@ -8648,6 +8521,9 @@ - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; -+ lf95*) # Lahey Fortran 8.1 -+ whole_archive_flag_spec= -+ tmp_sharedflag='--shared' ;; - xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) - tmp_sharedflag='-qmkshrobj' - tmp_addflag= ;; -@@ -8880,6 +8756,7 @@ - fi - fi - -+ export_dynamic_flag_spec='${wl}-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - always_export_symbols=yes -@@ -8889,11 +8766,7 @@ - allow_undefined_flag='-berok' - # Determine the default libpath from the value encoded in an - # empty executable. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - int -@@ -8904,24 +8777,7 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - - lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { -@@ -8935,15 +8791,9 @@ - if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - fi --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" -@@ -8956,11 +8806,7 @@ - else - # Determine the default libpath from the value encoded in an - # empty executable. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - int -@@ -8971,24 +8817,7 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - - lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { -@@ -9002,15 +8831,9 @@ - if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - fi --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" -@@ -9046,7 +8869,7 @@ - export_dynamic_flag_spec=-rdynamic - ;; - -- cygwin* | mingw* | pw32*) -+ cygwin* | mingw* | pw32* | cegcc*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is -@@ -9077,7 +8900,11 @@ - whole_archive_flag_spec='' - link_all_deplibs=yes - allow_undefined_flag="$_lt_dar_allow_undefined" -- if test "$GCC" = "yes"; then -+ case $cc_basename in -+ ifort*) _lt_dar_can_shared=yes ;; -+ *) _lt_dar_can_shared=$GCC ;; -+ esac -+ if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=echo - archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" - module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" -@@ -9169,7 +8996,7 @@ - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) -- archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' -+ archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' -@@ -9218,38 +9045,16 @@ - # implicitly export all symbols. - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" -- cat >conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ - int foo(void) {} - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' - --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" - else - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' -@@ -9505,8 +9310,8 @@ - fi - fi - --{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5 --echo "${ECHO_T}$ld_shlibs" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 -+$as_echo "$ld_shlibs" >&6; } - test "$ld_shlibs" = no && can_build_shared=no - - with_gnu_ld=$with_gnu_ld -@@ -9542,16 +9347,16 @@ - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. -- { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 --echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 -+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - -- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } 2>conftest.err; then -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext -@@ -9565,11 +9370,11 @@ - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= -- if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 - (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } - then - archive_cmds_need_lc=no - else -@@ -9580,8 +9385,8 @@ - cat conftest.err 1>&5 - fi - $RM conftest* -- { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 --echo "${ECHO_T}$archive_cmds_need_lc" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 -+$as_echo "$archive_cmds_need_lc" >&6; } - ;; - esac - fi -@@ -9744,8 +9549,8 @@ - - - -- { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 --echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 -+$as_echo_n "checking dynamic linker characteristics... " >&6; } - - if test "$GCC" = yes; then - case $host_os in -@@ -9907,14 +9712,14 @@ - # libtool to hard-code these into programs - ;; - --cygwin* | mingw* | pw32*) -+cygwin* | mingw* | pw32* | cegcc*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in -- yes,cygwin* | yes,mingw* | yes,pw32*) -+ yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ -@@ -9937,7 +9742,7 @@ - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; -- mingw*) -+ mingw* | cegcc*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` -@@ -10152,7 +9957,7 @@ - ;; - - # This must be Linux ELF. --linux* | k*bsd*-gnu) -+linux* | k*bsd*-gnu | kopensolaris*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no -@@ -10166,11 +9971,7 @@ - save_libdir=$libdir - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - int -@@ -10181,37 +9982,13 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then -+if ac_fn_c_try_link "$LINENO"; then : -+ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : - shlibpath_overrides_runpath=yes - fi -- --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir - -@@ -10418,7 +10195,7 @@ - version_type=linux - need_lib_prefix=no - need_version=no -- library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes -@@ -10435,8 +10212,8 @@ - dynamic_linker=no - ;; - esac --{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 --echo "${ECHO_T}$dynamic_linker" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 -+$as_echo "$dynamic_linker" >&6; } - test "$dynamic_linker" = no && can_build_shared=no - - variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -@@ -10537,8 +10314,8 @@ - - - -- { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 --echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 -+$as_echo_n "checking how to hardcode library paths into programs... " >&6; } - hardcode_action= - if test -n "$hardcode_libdir_flag_spec" || - test -n "$runpath_var" || -@@ -10562,8 +10339,8 @@ - # directories. - hardcode_action=unsupported - fi --{ echo "$as_me:$LINENO: result: $hardcode_action" >&5 --echo "${ECHO_T}$hardcode_action" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 -+$as_echo "$hardcode_action" >&6; } - - if test "$hardcode_action" = relink || - test "$inherit_rpath" = yes; then -@@ -10595,7 +10372,7 @@ - lt_cv_dlopen_self=yes - ;; - -- mingw* | pw32*) -+ mingw* | pw32* | cegcc*) - lt_cv_dlopen="LoadLibrary" - lt_cv_dlopen_libs= - ;; -@@ -10607,18 +10384,14 @@ - - darwin*) - # if libdl is installed we need to link against it -- { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 --echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } --if test "${ac_cv_lib_dl_dlopen+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -+$as_echo_n "checking for dlopen in -ldl... " >&6; } -+if test "${ac_cv_lib_dl_dlopen+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-ldl $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -10636,39 +10409,18 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_dl_dlopen=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_dl_dlopen=no -+ ac_cv_lib_dl_dlopen=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 --echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } --if test $ac_cv_lib_dl_dlopen = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -+$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -+if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" - else - -@@ -10681,33 +10433,19 @@ - ;; - - *) -- { echo "$as_me:$LINENO: checking for shl_load" >&5 --echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } --if test "${ac_cv_func_shl_load+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" -+if test "x$ac_cv_func_shl_load" = x""yes; then : -+ lt_cv_dlopen="shl_load" - else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 -+$as_echo_n "checking for shl_load in -ldld... " >&6; } -+if test "${ac_cv_lib_dld_shl_load+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-ldld $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ --/* Define shl_load to an innocuous variant, in case declares shl_load. -- For example, HP-UX 11i declares gettimeofday. */ --#define shl_load innocuous_shl_load -- --/* System header to define __stub macros and hopefully few prototypes, -- which can conflict with char shl_load (); below. -- Prefer to if __STDC__ is defined, since -- exists even on freestanding compilers. */ -- --#ifdef __STDC__ --# include --#else --# include --#endif -- --#undef shl_load - - /* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC -@@ -10716,13 +10454,6 @@ - extern "C" - #endif - char shl_load (); --/* The GNU C library defines this for functions which it implements -- to always fail with ENOSYS. Some functions are actually named -- something starting with __ and the normal name is an alias. */ --#if defined __stub_shl_load || defined __stub___shl_load --choke me --#endif -- - int - main () - { -@@ -10731,52 +10462,32 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- ac_cv_func_shl_load=yes -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_dld_shl_load=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_func_shl_load=no -+ ac_cv_lib_dld_shl_load=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 --echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } --if test $ac_cv_func_shl_load = yes; then -- lt_cv_dlopen="shl_load" -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 -+$as_echo "$ac_cv_lib_dld_shl_load" >&6; } -+if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : -+ lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" - else -- { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 --echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } --if test "${ac_cv_lib_dld_shl_load+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" -+if test "x$ac_cv_func_dlopen" = x""yes; then : -+ lt_cv_dlopen="dlopen" -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -+$as_echo_n "checking for dlopen in -ldl... " >&6; } -+if test "${ac_cv_lib_dl_dlopen+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS --LIBS="-ldld $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+LIBS="-ldl $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -10785,210 +10496,37 @@ - #ifdef __cplusplus - extern "C" - #endif --char shl_load (); -+char dlopen (); - int - main () - { --return shl_load (); -+return dlopen (); - ; - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- ac_cv_lib_dld_shl_load=yes -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_dl_dlopen=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_dld_shl_load=no -+ ac_cv_lib_dl_dlopen=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 --echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } --if test $ac_cv_lib_dld_shl_load = yes; then -- lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -+$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -+if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : -+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" - else -- { echo "$as_me:$LINENO: checking for dlopen" >&5 --echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } --if test "${ac_cv_func_dlopen+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --/* Define dlopen to an innocuous variant, in case declares dlopen. -- For example, HP-UX 11i declares gettimeofday. */ --#define dlopen innocuous_dlopen -- --/* System header to define __stub macros and hopefully few prototypes, -- which can conflict with char dlopen (); below. -- Prefer to if __STDC__ is defined, since -- exists even on freestanding compilers. */ -- --#ifdef __STDC__ --# include --#else --# include --#endif -- --#undef dlopen -- --/* Override any GCC internal prototype to avoid an error. -- Use char because int might match the return type of a GCC -- builtin and then its argument prototype would still apply. */ --#ifdef __cplusplus --extern "C" --#endif --char dlopen (); --/* The GNU C library defines this for functions which it implements -- to always fail with ENOSYS. Some functions are actually named -- something starting with __ and the normal name is an alias. */ --#if defined __stub_dlopen || defined __stub___dlopen --choke me --#endif -- --int --main () --{ --return dlopen (); -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- ac_cv_func_dlopen=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_func_dlopen=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext --fi --{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 --echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } --if test $ac_cv_func_dlopen = yes; then -- lt_cv_dlopen="dlopen" --else -- { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 --echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } --if test "${ac_cv_lib_dl_dlopen+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- ac_check_lib_save_LIBS=$LIBS --LIBS="-ldl $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ -- --/* Override any GCC internal prototype to avoid an error. -- Use char because int might match the return type of a GCC -- builtin and then its argument prototype would still apply. */ --#ifdef __cplusplus --extern "C" --#endif --char dlopen (); --int --main () --{ --return dlopen (); -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- ac_cv_lib_dl_dlopen=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_dl_dlopen=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext --LIBS=$ac_check_lib_save_LIBS --fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 --echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } --if test $ac_cv_lib_dl_dlopen = yes; then -- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" --else -- { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 --echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } --if test "${ac_cv_lib_svld_dlopen+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 -+$as_echo_n "checking for dlopen in -lsvld... " >&6; } -+if test "${ac_cv_lib_svld_dlopen+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-lsvld $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -11006,53 +10544,28 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_svld_dlopen=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_svld_dlopen=no -+ ac_cv_lib_svld_dlopen=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 --echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } --if test $ac_cv_lib_svld_dlopen = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 -+$as_echo "$ac_cv_lib_svld_dlopen" >&6; } -+if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" - else -- { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 --echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } --if test "${ac_cv_lib_dld_dld_link+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 -+$as_echo_n "checking for dld_link in -ldld... " >&6; } -+if test "${ac_cv_lib_dld_dld_link+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-ldld $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -11070,39 +10583,18 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_dld_dld_link=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_dld_dld_link=no -+ ac_cv_lib_dld_dld_link=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 --echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } --if test $ac_cv_lib_dld_dld_link = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 -+$as_echo "$ac_cv_lib_dld_dld_link" >&6; } -+if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" - fi - -@@ -11141,10 +10633,10 @@ - save_LIBS="$LIBS" - LIBS="$lt_cv_dlopen_libs $LIBS" - -- { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 --echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } --if test "${lt_cv_dlopen_self+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 -+$as_echo_n "checking whether a program can dlopen itself... " >&6; } -+if test "${lt_cv_dlopen_self+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test "$cross_compiling" = yes; then : - lt_cv_dlopen_self=cross -@@ -11152,7 +10644,7 @@ - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 11155 "configure" -+#line 10647 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -@@ -11193,10 +10685,6 @@ - # endif - #endif - --#ifdef __cplusplus --extern "C" void exit (int); --#endif -- - void fnord() { int i=42;} - int main () - { -@@ -11212,14 +10700,14 @@ - else - puts (dlerror ()); - -- exit (status); -+ return status; - } - _LT_EOF -- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 - (eval $ac_link) 2>&5 - ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&5 2>/dev/null - lt_status=$? - case x$lt_status in -@@ -11236,15 +10724,15 @@ - - - fi --{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 --echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 -+$as_echo "$lt_cv_dlopen_self" >&6; } - - if test "x$lt_cv_dlopen_self" = xyes; then - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" -- { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 --echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } --if test "${lt_cv_dlopen_self_static+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 -+$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } -+if test "${lt_cv_dlopen_self_static+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test "$cross_compiling" = yes; then : - lt_cv_dlopen_self_static=cross -@@ -11252,7 +10740,7 @@ - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 11255 "configure" -+#line 10743 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -@@ -11293,10 +10781,6 @@ - # endif - #endif - --#ifdef __cplusplus --extern "C" void exit (int); --#endif -- - void fnord() { int i=42;} - int main () - { -@@ -11312,14 +10796,14 @@ - else - puts (dlerror ()); - -- exit (status); -+ return status; - } - _LT_EOF -- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 - (eval $ac_link) 2>&5 - ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&5 2>/dev/null - lt_status=$? - case x$lt_status in -@@ -11336,8 +10820,8 @@ - - - fi --{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 --echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 -+$as_echo "$lt_cv_dlopen_self_static" >&6; } - fi - - CPPFLAGS="$save_CPPFLAGS" -@@ -11375,13 +10859,13 @@ - - striplib= - old_striplib= --{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 --echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 -+$as_echo_n "checking whether stripping libraries is possible... " >&6; } - if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - else - # FIXME - insert some real tests, host_os isn't really good enough - case $host_os in -@@ -11389,16 +10873,16 @@ - if test -n "$STRIP" ; then - striplib="$STRIP -x" - old_striplib="$STRIP -S" -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - ;; - *) -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - ;; - esac - fi -@@ -11415,13 +10899,13 @@ - - - # Report which library types will actually be built -- { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 --echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } -- { echo "$as_me:$LINENO: result: $can_build_shared" >&5 --echo "${ECHO_T}$can_build_shared" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 -+$as_echo_n "checking if libtool supports shared libraries... " >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 -+$as_echo "$can_build_shared" >&6; } - -- { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 --echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 -+$as_echo_n "checking whether to build shared libraries... " >&6; } - test "$can_build_shared" = "no" && enable_shared=no - - # On AIX, shared libraries and static libraries use the same namespace, and -@@ -11441,15 +10925,15 @@ - fi - ;; - esac -- { echo "$as_me:$LINENO: result: $enable_shared" >&5 --echo "${ECHO_T}$enable_shared" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 -+$as_echo "$enable_shared" >&6; } - -- { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 --echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 -+$as_echo_n "checking whether to build static libraries... " >&6; } - # Make sure either enable_shared or enable_static is yes. - test "$enable_shared" = yes || enable_static=yes -- { echo "$as_me:$LINENO: result: $enable_static" >&5 --echo "${ECHO_T}$enable_static" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 -+$as_echo "$enable_static" >&6; } - - - -@@ -11497,10 +10981,10 @@ - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. - set dummy $ac_tool_prefix$ac_prog; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_CXX+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_CXX+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # Let the user override the test. -@@ -11510,25 +10994,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - CXX=$ac_cv_prog_CXX - if test -n "$CXX"; then -- { echo "$as_me:$LINENO: result: $CXX" >&5 --echo "${ECHO_T}$CXX" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -+$as_echo "$CXX" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -@@ -11541,10 +11025,10 @@ - do - # Extract the first word of "$ac_prog", so it can be a program name with args. - set dummy $ac_prog; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. -@@ -11554,25 +11038,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CXX="$ac_prog" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - ac_ct_CXX=$ac_cv_prog_ac_ct_CXX - if test -n "$ac_ct_CXX"; then -- { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 --echo "${ECHO_T}$ac_ct_CXX" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -+$as_echo "$ac_ct_CXX" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -@@ -11584,12 +11068,8 @@ - else - case $cross_compiling:$ac_tool_warned in - yes:) --{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&5 --echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&2;} -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} - ac_tool_warned=yes ;; - esac - CXX=$ac_ct_CXX -@@ -11599,49 +11079,36 @@ - fi - fi - # Provide some information about the compiler. --echo "$as_me:$LINENO: checking for C++ compiler version" >&5 --ac_compiler=`set X $ac_compile; echo $2` --{ (ac_try="$ac_compiler --version >&5" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compiler --version >&5") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } --{ (ac_try="$ac_compiler -v >&5" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compiler -v >&5") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } --{ (ac_try="$ac_compiler -V >&5" -+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 -+set X $ac_compile -+ac_compiler=$2 -+for ac_option in --version -v -V -qversion; do -+ { { ac_try="$ac_compiler $ac_option >&5" - case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; - esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compiler -V >&5") 2>&5 -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } -+ if test -s conftest.err; then -+ sed '10a\ -+... rest of stderr output deleted ... -+ 10q' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ fi -+ rm -f conftest.er1 conftest.err -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } -+done - --{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 --echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } --if test "${ac_cv_cxx_compiler_gnu+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 -+$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -+if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - int -@@ -11655,54 +11122,34 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_cxx_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -+if ac_fn_cxx_try_compile "$LINENO"; then : - ac_compiler_gnu=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_compiler_gnu=no -+ ac_compiler_gnu=no - fi -- - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cv_cxx_compiler_gnu=$ac_compiler_gnu - - fi --{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 --echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } --GXX=`test $ac_compiler_gnu = yes && echo yes` -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 -+$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } -+if test $ac_compiler_gnu = yes; then -+ GXX=yes -+else -+ GXX= -+fi - ac_test_CXXFLAGS=${CXXFLAGS+set} - ac_save_CXXFLAGS=$CXXFLAGS --{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 --echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } --if test "${ac_cv_prog_cxx_g+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 -+$as_echo_n "checking whether $CXX accepts -g... " >&6; } -+if test "${ac_cv_prog_cxx_g+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_save_cxx_werror_flag=$ac_cxx_werror_flag - ac_cxx_werror_flag=yes - ac_cv_prog_cxx_g=no - CXXFLAGS="-g" -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - int -@@ -11713,34 +11160,11 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_cxx_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -+if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- CXXFLAGS="" -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ CXXFLAGS="" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - int -@@ -11751,35 +11175,12 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_cxx_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- : --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+if ac_fn_cxx_try_compile "$LINENO"; then : - -- ac_cxx_werror_flag=$ac_save_cxx_werror_flag -+else -+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag - CXXFLAGS="-g" -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - int -@@ -11790,42 +11191,18 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_cxx_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -+if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- - fi -- - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi -- - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi -- - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cxx_werror_flag=$ac_save_cxx_werror_flag - fi --{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 --echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 -+$as_echo "$ac_cv_prog_cxx_g" >&6; } - if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS=$ac_save_CXXFLAGS - elif test $ac_cv_prog_cxx_g = yes; then -@@ -11849,10 +11226,10 @@ - - depcc="$CXX" am_compiler_list= - --{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 --echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } --if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -+$as_echo_n "checking dependency style of $depcc... " >&6; } -+if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up -@@ -11877,6 +11254,11 @@ - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi -+ am__universal=false -+ case " $depcc " in #( -+ *\ -arch\ *\ -arch\ *) am__universal=true ;; -+ esac -+ - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and -@@ -11894,7 +11276,17 @@ - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - -+ # We check with `-c' and `-o' for the sake of the "dashmstdout" -+ # mode. It turns out that the SunPro C++ compiler does not properly -+ # handle `-M -o', and we need to detect this. Also, some Intel -+ # versions had trouble with output in subdirs -+ am__obj=sub/conftest.${OBJEXT-o} -+ am__minus_obj="-o $am__obj" - case $depmode in -+ gcc) -+ # This depmode causes a compiler race in universal mode. -+ test "$am__universal" = false || continue -+ ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested -@@ -11904,19 +11296,23 @@ - break - fi - ;; -+ msvisualcpp | msvcmsys) -+ # This compiler won't grok `-c -o', but also, the minuso test has -+ # not run yet. These depmodes are late enough in the game, and -+ # so weak that their functioning should not be impacted. -+ am__obj=conftest.${OBJEXT-o} -+ am__minus_obj= -+ ;; - none) break ;; - esac -- # We check with `-c' and `-o' for the sake of the "dashmstdout" -- # mode. It turns out that the SunPro C++ compiler does not properly -- # handle `-M -o', and we need to detect this. - if depmode=$depmode \ -- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ -+ source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ -- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ -+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && -- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && -+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message -@@ -11940,8 +11336,8 @@ - fi - - fi --{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 --echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 -+$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } - CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type - - if -@@ -11970,10 +11366,10 @@ - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. - set dummy $ac_tool_prefix$ac_prog; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_CXX+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_CXX+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # Let the user override the test. -@@ -11983,25 +11379,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - CXX=$ac_cv_prog_CXX - if test -n "$CXX"; then -- { echo "$as_me:$LINENO: result: $CXX" >&5 --echo "${ECHO_T}$CXX" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -+$as_echo "$CXX" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -@@ -12014,10 +11410,10 @@ - do - # Extract the first word of "$ac_prog", so it can be a program name with args. - set dummy $ac_prog; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. -@@ -12027,25 +11423,25 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CXX="$ac_prog" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - fi - fi - ac_ct_CXX=$ac_cv_prog_ac_ct_CXX - if test -n "$ac_ct_CXX"; then -- { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 --echo "${ECHO_T}$ac_ct_CXX" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -+$as_echo "$ac_ct_CXX" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -@@ -12057,12 +11453,8 @@ - else - case $cross_compiling:$ac_tool_warned in - yes:) --{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&5 --echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools --whose name does not start with the host triplet. If you think this --configuration is useful to you, please write to autoconf@gnu.org." >&2;} -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} - ac_tool_warned=yes ;; - esac - CXX=$ac_ct_CXX -@@ -12072,49 +11464,36 @@ - fi - fi - # Provide some information about the compiler. --echo "$as_me:$LINENO: checking for C++ compiler version" >&5 --ac_compiler=`set X $ac_compile; echo $2` --{ (ac_try="$ac_compiler --version >&5" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compiler --version >&5") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } --{ (ac_try="$ac_compiler -v >&5" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compiler -v >&5") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } --{ (ac_try="$ac_compiler -V >&5" -+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 -+set X $ac_compile -+ac_compiler=$2 -+for ac_option in --version -v -V -qversion; do -+ { { ac_try="$ac_compiler $ac_option >&5" - case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; - esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compiler -V >&5") 2>&5 -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } -+ if test -s conftest.err; then -+ sed '10a\ -+... rest of stderr output deleted ... -+ 10q' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ fi -+ rm -f conftest.er1 conftest.err -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } -+done - --{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 --echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } --if test "${ac_cv_cxx_compiler_gnu+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 -+$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -+if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - int -@@ -12128,54 +11507,34 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_cxx_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -+if ac_fn_cxx_try_compile "$LINENO"; then : - ac_compiler_gnu=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_compiler_gnu=no -+ ac_compiler_gnu=no - fi -- - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cv_cxx_compiler_gnu=$ac_compiler_gnu - - fi --{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 --echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } --GXX=`test $ac_compiler_gnu = yes && echo yes` -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 -+$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } -+if test $ac_compiler_gnu = yes; then -+ GXX=yes -+else -+ GXX= -+fi - ac_test_CXXFLAGS=${CXXFLAGS+set} - ac_save_CXXFLAGS=$CXXFLAGS --{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 --echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } --if test "${ac_cv_prog_cxx_g+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 -+$as_echo_n "checking whether $CXX accepts -g... " >&6; } -+if test "${ac_cv_prog_cxx_g+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_save_cxx_werror_flag=$ac_cxx_werror_flag - ac_cxx_werror_flag=yes - ac_cv_prog_cxx_g=no - CXXFLAGS="-g" -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - int -@@ -12186,34 +11545,11 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_cxx_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -+if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- CXXFLAGS="" -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ CXXFLAGS="" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - int -@@ -12224,35 +11560,12 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_cxx_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- : --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+if ac_fn_cxx_try_compile "$LINENO"; then : - -- ac_cxx_werror_flag=$ac_save_cxx_werror_flag -+else -+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag - CXXFLAGS="-g" -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - int -@@ -12263,42 +11576,18 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_cxx_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -+if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- - fi -- - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi -- - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi -- - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cxx_werror_flag=$ac_save_cxx_werror_flag - fi --{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 --echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 -+$as_echo "$ac_cv_prog_cxx_g" >&6; } - if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS=$ac_save_CXXFLAGS - elif test $ac_cv_prog_cxx_g = yes; then -@@ -12322,10 +11611,10 @@ - - depcc="$CXX" am_compiler_list= - --{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 --echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } --if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -+$as_echo_n "checking dependency style of $depcc... " >&6; } -+if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up -@@ -12350,6 +11639,11 @@ - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi -+ am__universal=false -+ case " $depcc " in #( -+ *\ -arch\ *\ -arch\ *) am__universal=true ;; -+ esac -+ - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and -@@ -12367,7 +11661,17 @@ - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - -+ # We check with `-c' and `-o' for the sake of the "dashmstdout" -+ # mode. It turns out that the SunPro C++ compiler does not properly -+ # handle `-M -o', and we need to detect this. Also, some Intel -+ # versions had trouble with output in subdirs -+ am__obj=sub/conftest.${OBJEXT-o} -+ am__minus_obj="-o $am__obj" - case $depmode in -+ gcc) -+ # This depmode causes a compiler race in universal mode. -+ test "$am__universal" = false || continue -+ ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested -@@ -12377,19 +11681,23 @@ - break - fi - ;; -+ msvisualcpp | msvcmsys) -+ # This compiler won't grok `-c -o', but also, the minuso test has -+ # not run yet. These depmodes are late enough in the game, and -+ # so weak that their functioning should not be impacted. -+ am__obj=conftest.${OBJEXT-o} -+ am__minus_obj= -+ ;; - none) break ;; - esac -- # We check with `-c' and `-o' for the sake of the "dashmstdout" -- # mode. It turns out that the SunPro C++ compiler does not properly -- # handle `-M -o', and we need to detect this. - if depmode=$depmode \ -- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ -+ source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ -- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ -+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && -- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && -+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message -@@ -12413,8 +11721,8 @@ - fi - - fi --{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 --echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 -+$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } - CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type - - if -@@ -12436,11 +11744,11 @@ - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu --{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 --echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 -+$as_echo_n "checking how to run the C++ preprocessor... " >&6; } - if test -z "$CXXCPP"; then -- if test "${ac_cv_prog_CXXCPP+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ if test "${ac_cv_prog_CXXCPP+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - # Double quotes because CXXCPP needs to be expanded - for CXXCPP in "$CXX -E" "/lib/cpp" -@@ -12454,11 +11762,7 @@ - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #ifdef __STDC__ - # include -@@ -12467,76 +11771,34 @@ - #endif - Syntax error - _ACEOF --if { (ac_try="$ac_cpp conftest.$ac_ext" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null && { -- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || -- test ! -s conftest.err -- }; then -- : --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+if ac_fn_cxx_try_cpp "$LINENO"; then : - -+else - # Broken: fails on valid input. - continue - fi -- - rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #include - _ACEOF --if { (ac_try="$ac_cpp conftest.$ac_ext" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null && { -- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || -- test ! -s conftest.err -- }; then -+if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. - continue - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- - # Passes both tests. - ac_preproc_ok=: - break - fi -- - rm -f conftest.err conftest.$ac_ext - - done - # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. - rm -f conftest.err conftest.$ac_ext --if $ac_preproc_ok; then -+if $ac_preproc_ok; then : - break - fi - -@@ -12548,8 +11810,8 @@ - else - ac_cv_prog_CXXCPP=$CXXCPP - fi --{ echo "$as_me:$LINENO: result: $CXXCPP" >&5 --echo "${ECHO_T}$CXXCPP" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 -+$as_echo "$CXXCPP" >&6; } - ac_preproc_ok=false - for ac_cxx_preproc_warn_flag in '' yes - do -@@ -12559,11 +11821,7 @@ - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #ifdef __STDC__ - # include -@@ -12572,79 +11830,39 @@ - #endif - Syntax error - _ACEOF --if { (ac_try="$ac_cpp conftest.$ac_ext" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null && { -- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || -- test ! -s conftest.err -- }; then -- : --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+if ac_fn_cxx_try_cpp "$LINENO"; then : - -+else - # Broken: fails on valid input. - continue - fi -- - rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #include - _ACEOF --if { (ac_try="$ac_cpp conftest.$ac_ext" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null && { -- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || -- test ! -s conftest.err -- }; then -+if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. - continue - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- - # Passes both tests. - ac_preproc_ok=: - break - fi -- - rm -f conftest.err conftest.$ac_ext - - done - # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. - rm -f conftest.err conftest.$ac_ext --if $ac_preproc_ok; then -- : -+if $ac_preproc_ok; then : -+ - else -- _lt_caught_CXX_error=yes -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+_lt_caught_CXX_error=yes; } - fi - - ac_ext=c -@@ -12785,7 +12003,7 @@ - - - # Check whether --with-gnu-ld was given. --if test "${with_gnu_ld+set}" = set; then -+if test "${with_gnu_ld+set}" = set; then : - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes - else - with_gnu_ld=no -@@ -12794,8 +12012,8 @@ - ac_prog=ld - if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. -- { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 --echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 -+$as_echo_n "checking for ld used by $CC... " >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw -@@ -12824,14 +12042,14 @@ - ;; - esac - elif test "$with_gnu_ld" = yes; then -- { echo "$as_me:$LINENO: checking for GNU ld" >&5 --echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -+$as_echo_n "checking for GNU ld... " >&6; } - else -- { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 --echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -+$as_echo_n "checking for non-GNU ld... " >&6; } - fi --if test "${lt_cv_path_LD+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+if test "${lt_cv_path_LD+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -@@ -12861,19 +12079,17 @@ - - LD="$lt_cv_path_LD" - if test -n "$LD"; then -- { echo "$as_me:$LINENO: result: $LD" >&5 --echo "${ECHO_T}$LD" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 -+$as_echo "$LD" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi --test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 --echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} -- { (exit 1); exit 1; }; } --{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 --echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } --if test "${lt_cv_prog_gnu_ld+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -+if test "${lt_cv_prog_gnu_ld+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - # I'd rather use --version here, but apparently some GNU lds only accept -v. - case `$LD -v 2>&1 &5 --echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 -+$as_echo "$lt_cv_prog_gnu_ld" >&6; } - with_gnu_ld=$lt_cv_prog_gnu_ld - - -@@ -12940,8 +12156,8 @@ - fi - - # PORTME: fill in a description of your system's C++ link characteristics -- { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 --echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } - ld_shlibs_CXX=yes - case $host_os in - aix3*) -@@ -13030,6 +12246,7 @@ - fi - fi - -+ export_dynamic_flag_spec_CXX='${wl}-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to - # export. -@@ -13040,11 +12257,7 @@ - allow_undefined_flag_CXX='-berok' - # Determine the default libpath from the value encoded in an empty - # executable. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - int -@@ -13055,24 +12268,7 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_cxx_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_cxx_try_link "$LINENO"; then : - - lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { -@@ -13086,15 +12282,9 @@ - if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - fi --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" -@@ -13108,11 +12298,7 @@ - else - # Determine the default libpath from the value encoded in an - # empty executable. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - int -@@ -13123,24 +12309,7 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_cxx_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_cxx_try_link "$LINENO"; then : - - lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { -@@ -13154,15 +12323,9 @@ - if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - fi --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" -@@ -13200,7 +12363,7 @@ - esac - ;; - -- cygwin* | mingw* | pw32*) -+ cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec_CXX='-L$libdir' -@@ -13233,7 +12396,11 @@ - whole_archive_flag_spec_CXX='' - link_all_deplibs_CXX=yes - allow_undefined_flag_CXX="$_lt_dar_allow_undefined" -- if test "$GCC" = "yes"; then -+ case $cc_basename in -+ ifort*) _lt_dar_can_shared=yes ;; -+ *) _lt_dar_can_shared=$GCC ;; -+ esac -+ if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=echo - archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" - module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" -@@ -13443,7 +12610,7 @@ - inherit_rpath_CXX=yes - ;; - -- linux* | k*bsd*-gnu) -+ linux* | k*bsd*-gnu | kopensolaris*-gnu) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler -@@ -13902,8 +13069,8 @@ - ;; - esac - -- { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 --echo "${ECHO_T}$ld_shlibs_CXX" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 -+$as_echo "$ld_shlibs_CXX" >&6; } - test "$ld_shlibs_CXX" = no && can_build_shared=no - - GCC_CXX="$GXX" -@@ -13930,11 +13097,11 @@ - }; - _LT_EOF - --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -+if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; then -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then - # Parse the compiler output and extract the necessary - # objects, libraries and library flags. - -@@ -14115,8 +13282,8 @@ - lt_prog_compiler_pic_CXX= - lt_prog_compiler_static_CXX= - --{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 --echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 -+$as_echo_n "checking for $compiler option to produce PIC... " >&6; } - - # C++ specific cases for pic, static, wl, etc. - if test "$GXX" = yes; then -@@ -14150,7 +13317,7 @@ - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; -- mingw* | cygwin* | os2* | pw32*) -+ mingw* | cygwin* | os2* | pw32* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style -@@ -14176,10 +13343,11 @@ - fi - ;; - hpux*) -- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but -- # not for PA HP-UX. -+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit -+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag -+ # sets the default TLS model and affects inlining. - case $host_cpu in -- hppa*64*|ia64*) -+ hppa*64*) - ;; - *) - lt_prog_compiler_pic_CXX='-fPIC' -@@ -14270,19 +13438,26 @@ - ;; - esac - ;; -- linux* | k*bsd*-gnu) -+ linux* | k*bsd*-gnu | kopensolaris*-gnu) - case $cc_basename in - KCC*) - # KAI C++ Compiler - lt_prog_compiler_wl_CXX='--backend -Wl,' - lt_prog_compiler_pic_CXX='-fPIC' - ;; -- icpc* | ecpc* ) -- # Intel C++ -+ ecpc* ) -+ # old Intel C++ for x86_64 which still supported -KPIC. - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-static' - ;; -+ icpc* ) -+ # Intel C++, used to be incompatible with GCC. -+ # ICC 10 doesn't accept -KPIC any more. -+ lt_prog_compiler_wl_CXX='-Wl,' -+ lt_prog_compiler_pic_CXX='-fPIC' -+ lt_prog_compiler_static_CXX='-static' -+ ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - lt_prog_compiler_wl_CXX='-Wl,' -@@ -14424,8 +13599,8 @@ - lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" - ;; - esac --{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 --echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5 -+$as_echo "$lt_prog_compiler_pic_CXX" >&6; } - - - -@@ -14433,10 +13608,10 @@ - # Check to make sure the PIC flag actually works. - # - if test -n "$lt_prog_compiler_pic_CXX"; then -- { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 --echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } --if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 -+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } -+if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - lt_cv_prog_compiler_pic_works_CXX=no - ac_outfile=conftest.$ac_objext -@@ -14451,11 +13626,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:14454: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:13629: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:14458: \$? = $ac_status" >&5 -+ echo "$as_me:13633: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -14468,8 +13643,8 @@ - $RM conftest* - - fi --{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 --echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 -+$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } - - if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then - case $lt_prog_compiler_pic_CXX in -@@ -14489,10 +13664,10 @@ - # Check to make sure the static flag actually works. - # - wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" --{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 --echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } --if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -+if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - lt_cv_prog_compiler_static_works_CXX=no - save_LDFLAGS="$LDFLAGS" -@@ -14517,8 +13692,8 @@ - LDFLAGS="$save_LDFLAGS" - - fi --{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5 --echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 -+$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } - - if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then - : -@@ -14529,10 +13704,10 @@ - - - -- { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 --echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } --if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -+if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - lt_cv_prog_compiler_c_o_CXX=no - $RM -r conftest 2>/dev/null -@@ -14550,11 +13725,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:14553: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:13728: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:14557: \$? = $ac_status" >&5 -+ echo "$as_me:13732: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized -@@ -14576,15 +13751,15 @@ - $RM conftest* - - fi --{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 --echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 -+$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } - - - -- { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 --echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } --if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -+if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - lt_cv_prog_compiler_c_o_CXX=no - $RM -r conftest 2>/dev/null -@@ -14602,11 +13777,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:14605: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:13780: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:14609: \$? = $ac_status" >&5 -+ echo "$as_me:13784: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized -@@ -14628,8 +13803,8 @@ - $RM conftest* - - fi --{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 --echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 -+$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } - - - -@@ -14637,19 +13812,19 @@ - hard_links="nottested" - if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user -- { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 --echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 -+$as_echo_n "checking if we can lock with hard links... " >&6; } - hard_links=yes - $RM conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no -- { echo "$as_me:$LINENO: result: $hard_links" >&5 --echo "${ECHO_T}$hard_links" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 -+$as_echo "$hard_links" >&6; } - if test "$hard_links" = no; then -- { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 --echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -+$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} - need_locks=warn - fi - else -@@ -14658,8 +13833,8 @@ - - - -- { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 --echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } - - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - case $host_os in -@@ -14675,7 +13850,7 @@ - pw32*) - export_symbols_cmds_CXX="$ltdll_cmds" - ;; -- cygwin* | mingw*) -+ cygwin* | mingw* | cegcc*) - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' - ;; - linux* | k*bsd*-gnu) -@@ -14687,8 +13862,8 @@ - esac - exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' - --{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 --echo "${ECHO_T}$ld_shlibs_CXX" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 -+$as_echo "$ld_shlibs_CXX" >&6; } - test "$ld_shlibs_CXX" = no && can_build_shared=no - - with_gnu_ld_CXX=$with_gnu_ld -@@ -14715,16 +13890,16 @@ - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. -- { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 --echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 -+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - -- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } 2>conftest.err; then -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext -@@ -14738,11 +13913,11 @@ - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag_CXX - allow_undefined_flag_CXX= -- if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 - (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } - then - archive_cmds_need_lc_CXX=no - else -@@ -14753,8 +13928,8 @@ - cat conftest.err 1>&5 - fi - $RM conftest* -- { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 --echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5 -+$as_echo "$archive_cmds_need_lc_CXX" >&6; } - ;; - esac - fi -@@ -14824,8 +13999,8 @@ - - - -- { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 --echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 -+$as_echo_n "checking dynamic linker characteristics... " >&6; } - - library_names_spec= - libname_spec='lib$name' -@@ -14936,14 +14111,14 @@ - # libtool to hard-code these into programs - ;; - --cygwin* | mingw* | pw32*) -+cygwin* | mingw* | pw32* | cegcc*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in -- yes,cygwin* | yes,mingw* | yes,pw32*) -+ yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ -@@ -14966,7 +14141,7 @@ - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; -- mingw*) -+ mingw* | cegcc*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` -@@ -15180,7 +14355,7 @@ - ;; - - # This must be Linux ELF. --linux* | k*bsd*-gnu) -+linux* | k*bsd*-gnu | kopensolaris*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no -@@ -15194,11 +14369,7 @@ - save_libdir=$libdir - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - int -@@ -15209,37 +14380,13 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_cxx_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then -+if ac_fn_cxx_try_link "$LINENO"; then : -+ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : - shlibpath_overrides_runpath=yes - fi -- --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir - -@@ -15441,5297 +14588,1286 @@ - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - --tpf*) -- # TPF is a cross-target only. Preferred cross-host = GNU/Linux. -- version_type=linux -- need_lib_prefix=no -- need_version=no -- library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -- shlibpath_var=LD_LIBRARY_PATH -- shlibpath_overrides_runpath=no -- hardcode_into_libs=yes -- ;; -- --uts4*) -- version_type=linux -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -- soname_spec='${libname}${release}${shared_ext}$major' -- shlibpath_var=LD_LIBRARY_PATH -- ;; -- --*) -- dynamic_linker=no -- ;; --esac --{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 --echo "${ECHO_T}$dynamic_linker" >&6; } --test "$dynamic_linker" = no && can_build_shared=no -- --variables_saved_for_relink="PATH $shlibpath_var $runpath_var" --if test "$GCC" = yes; then -- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" --fi -- --if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then -- sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" --fi --if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then -- sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" --fi -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 --echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } --hardcode_action_CXX= --if test -n "$hardcode_libdir_flag_spec_CXX" || -- test -n "$runpath_var_CXX" || -- test "X$hardcode_automatic_CXX" = "Xyes" ; then -- -- # We can hardcode non-existent directories. -- if test "$hardcode_direct_CXX" != no && -- # If the only mechanism to avoid hardcoding is shlibpath_var, we -- # have to relink, otherwise we might link with an installed library -- # when we should be linking with a yet-to-be-installed one -- ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && -- test "$hardcode_minus_L_CXX" != no; then -- # Linking always hardcodes the temporary library directory. -- hardcode_action_CXX=relink -- else -- # We can link without hardcoding, and we can hardcode nonexisting dirs. -- hardcode_action_CXX=immediate -- fi --else -- # We cannot hardcode anything, or else we can only hardcode existing -- # directories. -- hardcode_action_CXX=unsupported --fi --{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 --echo "${ECHO_T}$hardcode_action_CXX" >&6; } -- --if test "$hardcode_action_CXX" = relink || -- test "$inherit_rpath_CXX" = yes; then -- # Fast installation is not supported -- enable_fast_install=no --elif test "$shlibpath_overrides_runpath" = yes || -- test "$enable_shared" = no; then -- # Fast installation is not necessary -- enable_fast_install=needless --fi -- -- -- -- -- -- -- -- fi # test -n "$compiler" -- -- CC=$lt_save_CC -- LDCXX=$LD -- LD=$lt_save_LD -- GCC=$lt_save_GCC -- with_gnu_ld=$lt_save_with_gnu_ld -- lt_cv_path_LDCXX=$lt_cv_path_LD -- lt_cv_path_LD=$lt_save_path_LD -- lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld -- lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld --fi # test "$_lt_caught_CXX_error" != yes -- --ac_ext=c --ac_cpp='$CPP $CPPFLAGS' --ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' --ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' --ac_compiler_gnu=$ac_cv_c_compiler_gnu -- -- --{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 --echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } --if test "${ac_cv_c_bigendian+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- # See if sys/param.h defines the BYTE_ORDER macro. --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include --#include -- --int --main () --{ --#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ -- && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) -- bogus endian macros --#endif -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- # It does; now see whether it defined to BIG_ENDIAN or not. --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include --#include -- --int --main () --{ --#if BYTE_ORDER != BIG_ENDIAN -- not big endian --#endif -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_cv_c_bigendian=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_c_bigendian=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- # It does not; compile a test program. --if test "$cross_compiling" = yes; then -- # try to guess the endianness by grepping values into an object file -- ac_cv_c_bigendian=unknown -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; --short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; --void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } --short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; --short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; --void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } --int --main () --{ -- _ascii (); _ebcdic (); -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then -- ac_cv_c_bigendian=yes --fi --if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then -- if test "$ac_cv_c_bigendian" = unknown; then -- ac_cv_c_bigendian=no -- else -- # finding both strings is unlikely to happen, but who knows? -- ac_cv_c_bigendian=unknown -- fi --fi --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default --int --main () --{ -- -- /* Are we little or big endian? From Harbison&Steele. */ -- union -- { -- long int l; -- char c[sizeof (long int)]; -- } u; -- u.l = 1; -- return u.c[sizeof (long int) - 1] == 1; -- -- ; -- return 0; --} --_ACEOF --rm -f conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_try") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- ac_cv_c_bigendian=no --else -- echo "$as_me: program exited with status $ac_status" >&5 --echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --( exit $ac_status ) --ac_cv_c_bigendian=yes --fi --rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext --fi -- -- --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --fi --{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 --echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } --case $ac_cv_c_bigendian in -- yes) -- --cat >>confdefs.h <<\_ACEOF --#define WORDS_BIGENDIAN 1 --_ACEOF -- ;; -- no) -- ;; -- *) -- { { echo "$as_me:$LINENO: error: unknown endianness --presetting ac_cv_c_bigendian=no (or yes) will help" >&5 --echo "$as_me: error: unknown endianness --presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} -- { (exit 1); exit 1; }; } ;; --esac -- --type_error="no" --{ echo "$as_me:$LINENO: checking for char" >&5 --echo $ECHO_N "checking for char... $ECHO_C" >&6; } --if test "${ac_cv_type_char+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default --typedef char ac__type_new_; --int --main () --{ --if ((ac__type_new_ *) 0) -- return 0; --if (sizeof (ac__type_new_)) -- return 0; -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_cv_type_char=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_type_char=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --fi --{ echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 --echo "${ECHO_T}$ac_cv_type_char" >&6; } -- --# The cast to long int works around a bug in the HP C Compiler --# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects --# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. --# This bug is HP SR number 8606223364. --{ echo "$as_me:$LINENO: checking size of char" >&5 --echo $ECHO_N "checking size of char... $ECHO_C" >&6; } --if test "${ac_cv_sizeof_char+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- if test "$cross_compiling" = yes; then -- # Depending upon the size, compute the lo and hi bounds. --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef char ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_lo=0 ac_mid=0 -- while :; do -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef char ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=$ac_mid; break --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo=`expr $ac_mid + 1` -- if test $ac_lo -le $ac_mid; then -- ac_lo= ac_hi= -- break -- fi -- ac_mid=`expr 2 '*' $ac_mid + 1` --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- done --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef char ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=-1 ac_mid=-1 -- while :; do -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef char ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_lo=$ac_mid; break --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_hi=`expr '(' $ac_mid ')' - 1` -- if test $ac_mid -le $ac_hi; then -- ac_lo= ac_hi= -- break -- fi -- ac_mid=`expr 2 '*' $ac_mid` --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- done --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo= ac_hi= --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --# Binary search between lo and hi bounds. --while test "x$ac_lo" != "x$ac_hi"; do -- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef char ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=$ac_mid --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo=`expr '(' $ac_mid ')' + 1` --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --done --case $ac_lo in --?*) ac_cv_sizeof_char=$ac_lo;; --'') if test "$ac_cv_type_char" = yes; then -- { { echo "$as_me:$LINENO: error: cannot compute sizeof (char) --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot compute sizeof (char) --See \`config.log' for more details." >&2;} -- { (exit 77); exit 77; }; } -- else -- ac_cv_sizeof_char=0 -- fi ;; --esac --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef char ac__type_sizeof_; --static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } --static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } --#include --#include --int --main () --{ -- -- FILE *f = fopen ("conftest.val", "w"); -- if (! f) -- return 1; -- if (((long int) (sizeof (ac__type_sizeof_))) < 0) -- { -- long int i = longval (); -- if (i != ((long int) (sizeof (ac__type_sizeof_)))) -- return 1; -- fprintf (f, "%ld\n", i); -- } -- else -- { -- unsigned long int i = ulongval (); -- if (i != ((long int) (sizeof (ac__type_sizeof_)))) -- return 1; -- fprintf (f, "%lu\n", i); -- } -- return ferror (f) || fclose (f) != 0; -- -- ; -- return 0; --} --_ACEOF --rm -f conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_try") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- ac_cv_sizeof_char=`cat conftest.val` --else -- echo "$as_me: program exited with status $ac_status" >&5 --echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --( exit $ac_status ) --if test "$ac_cv_type_char" = yes; then -- { { echo "$as_me:$LINENO: error: cannot compute sizeof (char) --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot compute sizeof (char) --See \`config.log' for more details." >&2;} -- { (exit 77); exit 77; }; } -- else -- ac_cv_sizeof_char=0 -- fi --fi --rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext --fi --rm -f conftest.val --fi --{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 --echo "${ECHO_T}$ac_cv_sizeof_char" >&6; } -- -- -- --cat >>confdefs.h <<_ACEOF --#define SIZEOF_CHAR $ac_cv_sizeof_char --_ACEOF -- -- --{ echo "$as_me:$LINENO: checking for short" >&5 --echo $ECHO_N "checking for short... $ECHO_C" >&6; } --if test "${ac_cv_type_short+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default --typedef short ac__type_new_; --int --main () --{ --if ((ac__type_new_ *) 0) -- return 0; --if (sizeof (ac__type_new_)) -- return 0; -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_cv_type_short=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_type_short=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --fi --{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 --echo "${ECHO_T}$ac_cv_type_short" >&6; } -- --# The cast to long int works around a bug in the HP C Compiler --# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects --# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. --# This bug is HP SR number 8606223364. --{ echo "$as_me:$LINENO: checking size of short" >&5 --echo $ECHO_N "checking size of short... $ECHO_C" >&6; } --if test "${ac_cv_sizeof_short+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- if test "$cross_compiling" = yes; then -- # Depending upon the size, compute the lo and hi bounds. --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef short ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_lo=0 ac_mid=0 -- while :; do -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef short ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=$ac_mid; break --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo=`expr $ac_mid + 1` -- if test $ac_lo -le $ac_mid; then -- ac_lo= ac_hi= -- break -- fi -- ac_mid=`expr 2 '*' $ac_mid + 1` --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- done --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef short ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=-1 ac_mid=-1 -- while :; do -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef short ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_lo=$ac_mid; break --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_hi=`expr '(' $ac_mid ')' - 1` -- if test $ac_mid -le $ac_hi; then -- ac_lo= ac_hi= -- break -- fi -- ac_mid=`expr 2 '*' $ac_mid` --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- done --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo= ac_hi= --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --# Binary search between lo and hi bounds. --while test "x$ac_lo" != "x$ac_hi"; do -- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef short ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=$ac_mid --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo=`expr '(' $ac_mid ')' + 1` --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --done --case $ac_lo in --?*) ac_cv_sizeof_short=$ac_lo;; --'') if test "$ac_cv_type_short" = yes; then -- { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot compute sizeof (short) --See \`config.log' for more details." >&2;} -- { (exit 77); exit 77; }; } -- else -- ac_cv_sizeof_short=0 -- fi ;; --esac --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef short ac__type_sizeof_; --static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } --static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } --#include --#include --int --main () --{ -- -- FILE *f = fopen ("conftest.val", "w"); -- if (! f) -- return 1; -- if (((long int) (sizeof (ac__type_sizeof_))) < 0) -- { -- long int i = longval (); -- if (i != ((long int) (sizeof (ac__type_sizeof_)))) -- return 1; -- fprintf (f, "%ld\n", i); -- } -- else -- { -- unsigned long int i = ulongval (); -- if (i != ((long int) (sizeof (ac__type_sizeof_)))) -- return 1; -- fprintf (f, "%lu\n", i); -- } -- return ferror (f) || fclose (f) != 0; -- -- ; -- return 0; --} --_ACEOF --rm -f conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_try") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- ac_cv_sizeof_short=`cat conftest.val` --else -- echo "$as_me: program exited with status $ac_status" >&5 --echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --( exit $ac_status ) --if test "$ac_cv_type_short" = yes; then -- { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot compute sizeof (short) --See \`config.log' for more details." >&2;} -- { (exit 77); exit 77; }; } -- else -- ac_cv_sizeof_short=0 -- fi --fi --rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext --fi --rm -f conftest.val --fi --{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 --echo "${ECHO_T}$ac_cv_sizeof_short" >&6; } -- -- -- --cat >>confdefs.h <<_ACEOF --#define SIZEOF_SHORT $ac_cv_sizeof_short --_ACEOF -- -- --{ echo "$as_me:$LINENO: checking for int" >&5 --echo $ECHO_N "checking for int... $ECHO_C" >&6; } --if test "${ac_cv_type_int+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default --typedef int ac__type_new_; --int --main () --{ --if ((ac__type_new_ *) 0) -- return 0; --if (sizeof (ac__type_new_)) -- return 0; -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_cv_type_int=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_type_int=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --fi --{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 --echo "${ECHO_T}$ac_cv_type_int" >&6; } -- --# The cast to long int works around a bug in the HP C Compiler --# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects --# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. --# This bug is HP SR number 8606223364. --{ echo "$as_me:$LINENO: checking size of int" >&5 --echo $ECHO_N "checking size of int... $ECHO_C" >&6; } --if test "${ac_cv_sizeof_int+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- if test "$cross_compiling" = yes; then -- # Depending upon the size, compute the lo and hi bounds. --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef int ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_lo=0 ac_mid=0 -- while :; do -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef int ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=$ac_mid; break --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo=`expr $ac_mid + 1` -- if test $ac_lo -le $ac_mid; then -- ac_lo= ac_hi= -- break -- fi -- ac_mid=`expr 2 '*' $ac_mid + 1` --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- done --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef int ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=-1 ac_mid=-1 -- while :; do -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef int ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_lo=$ac_mid; break --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_hi=`expr '(' $ac_mid ')' - 1` -- if test $ac_mid -le $ac_hi; then -- ac_lo= ac_hi= -- break -- fi -- ac_mid=`expr 2 '*' $ac_mid` --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- done --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo= ac_hi= --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --# Binary search between lo and hi bounds. --while test "x$ac_lo" != "x$ac_hi"; do -- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef int ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=$ac_mid --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo=`expr '(' $ac_mid ')' + 1` --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --done --case $ac_lo in --?*) ac_cv_sizeof_int=$ac_lo;; --'') if test "$ac_cv_type_int" = yes; then -- { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot compute sizeof (int) --See \`config.log' for more details." >&2;} -- { (exit 77); exit 77; }; } -- else -- ac_cv_sizeof_int=0 -- fi ;; --esac --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef int ac__type_sizeof_; --static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } --static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } --#include --#include --int --main () --{ -- -- FILE *f = fopen ("conftest.val", "w"); -- if (! f) -- return 1; -- if (((long int) (sizeof (ac__type_sizeof_))) < 0) -- { -- long int i = longval (); -- if (i != ((long int) (sizeof (ac__type_sizeof_)))) -- return 1; -- fprintf (f, "%ld\n", i); -- } -- else -- { -- unsigned long int i = ulongval (); -- if (i != ((long int) (sizeof (ac__type_sizeof_)))) -- return 1; -- fprintf (f, "%lu\n", i); -- } -- return ferror (f) || fclose (f) != 0; -- -- ; -- return 0; --} --_ACEOF --rm -f conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_try") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- ac_cv_sizeof_int=`cat conftest.val` --else -- echo "$as_me: program exited with status $ac_status" >&5 --echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --( exit $ac_status ) --if test "$ac_cv_type_int" = yes; then -- { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot compute sizeof (int) --See \`config.log' for more details." >&2;} -- { (exit 77); exit 77; }; } -- else -- ac_cv_sizeof_int=0 -- fi --fi --rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext --fi --rm -f conftest.val --fi --{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 --echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } -- -- -- --cat >>confdefs.h <<_ACEOF --#define SIZEOF_INT $ac_cv_sizeof_int --_ACEOF -- -- --{ echo "$as_me:$LINENO: checking for long" >&5 --echo $ECHO_N "checking for long... $ECHO_C" >&6; } --if test "${ac_cv_type_long+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default --typedef long ac__type_new_; --int --main () --{ --if ((ac__type_new_ *) 0) -- return 0; --if (sizeof (ac__type_new_)) -- return 0; -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_cv_type_long=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_type_long=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --fi --{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 --echo "${ECHO_T}$ac_cv_type_long" >&6; } -- --# The cast to long int works around a bug in the HP C Compiler --# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects --# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. --# This bug is HP SR number 8606223364. --{ echo "$as_me:$LINENO: checking size of long" >&5 --echo $ECHO_N "checking size of long... $ECHO_C" >&6; } --if test "${ac_cv_sizeof_long+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- if test "$cross_compiling" = yes; then -- # Depending upon the size, compute the lo and hi bounds. --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef long ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_lo=0 ac_mid=0 -- while :; do -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef long ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=$ac_mid; break --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo=`expr $ac_mid + 1` -- if test $ac_lo -le $ac_mid; then -- ac_lo= ac_hi= -- break -- fi -- ac_mid=`expr 2 '*' $ac_mid + 1` --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- done --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef long ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=-1 ac_mid=-1 -- while :; do -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef long ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_lo=$ac_mid; break --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_hi=`expr '(' $ac_mid ')' - 1` -- if test $ac_mid -le $ac_hi; then -- ac_lo= ac_hi= -- break -- fi -- ac_mid=`expr 2 '*' $ac_mid` --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- done --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo= ac_hi= --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --# Binary search between lo and hi bounds. --while test "x$ac_lo" != "x$ac_hi"; do -- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef long ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=$ac_mid --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo=`expr '(' $ac_mid ')' + 1` --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --done --case $ac_lo in --?*) ac_cv_sizeof_long=$ac_lo;; --'') if test "$ac_cv_type_long" = yes; then -- { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot compute sizeof (long) --See \`config.log' for more details." >&2;} -- { (exit 77); exit 77; }; } -- else -- ac_cv_sizeof_long=0 -- fi ;; --esac --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef long ac__type_sizeof_; --static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } --static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } --#include --#include --int --main () --{ -- -- FILE *f = fopen ("conftest.val", "w"); -- if (! f) -- return 1; -- if (((long int) (sizeof (ac__type_sizeof_))) < 0) -- { -- long int i = longval (); -- if (i != ((long int) (sizeof (ac__type_sizeof_)))) -- return 1; -- fprintf (f, "%ld\n", i); -- } -- else -- { -- unsigned long int i = ulongval (); -- if (i != ((long int) (sizeof (ac__type_sizeof_)))) -- return 1; -- fprintf (f, "%lu\n", i); -- } -- return ferror (f) || fclose (f) != 0; -- -- ; -- return 0; --} --_ACEOF --rm -f conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_try") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- ac_cv_sizeof_long=`cat conftest.val` --else -- echo "$as_me: program exited with status $ac_status" >&5 --echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --( exit $ac_status ) --if test "$ac_cv_type_long" = yes; then -- { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot compute sizeof (long) --See \`config.log' for more details." >&2;} -- { (exit 77); exit 77; }; } -- else -- ac_cv_sizeof_long=0 -- fi --fi --rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext --fi --rm -f conftest.val --fi --{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 --echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } -- -- -- --cat >>confdefs.h <<_ACEOF --#define SIZEOF_LONG $ac_cv_sizeof_long --_ACEOF -- -- --{ echo "$as_me:$LINENO: checking for long long" >&5 --echo $ECHO_N "checking for long long... $ECHO_C" >&6; } --if test "${ac_cv_type_long_long+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default --typedef long long ac__type_new_; --int --main () --{ --if ((ac__type_new_ *) 0) -- return 0; --if (sizeof (ac__type_new_)) -- return 0; -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_cv_type_long_long=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_type_long_long=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --fi --{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 --echo "${ECHO_T}$ac_cv_type_long_long" >&6; } -- --# The cast to long int works around a bug in the HP C Compiler --# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects --# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. --# This bug is HP SR number 8606223364. --{ echo "$as_me:$LINENO: checking size of long long" >&5 --echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } --if test "${ac_cv_sizeof_long_long+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- if test "$cross_compiling" = yes; then -- # Depending upon the size, compute the lo and hi bounds. --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef long long ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_lo=0 ac_mid=0 -- while :; do -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef long long ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=$ac_mid; break --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo=`expr $ac_mid + 1` -- if test $ac_lo -le $ac_mid; then -- ac_lo= ac_hi= -- break -- fi -- ac_mid=`expr 2 '*' $ac_mid + 1` --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- done --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef long long ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=-1 ac_mid=-1 -- while :; do -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef long long ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_lo=$ac_mid; break --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_hi=`expr '(' $ac_mid ')' - 1` -- if test $ac_mid -le $ac_hi; then -- ac_lo= ac_hi= -- break -- fi -- ac_mid=`expr 2 '*' $ac_mid` --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- done --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo= ac_hi= --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --# Binary search between lo and hi bounds. --while test "x$ac_lo" != "x$ac_hi"; do -- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef long long ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=$ac_mid --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo=`expr '(' $ac_mid ')' + 1` --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --done --case $ac_lo in --?*) ac_cv_sizeof_long_long=$ac_lo;; --'') if test "$ac_cv_type_long_long" = yes; then -- { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot compute sizeof (long long) --See \`config.log' for more details." >&2;} -- { (exit 77); exit 77; }; } -- else -- ac_cv_sizeof_long_long=0 -- fi ;; --esac --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef long long ac__type_sizeof_; --static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } --static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } --#include --#include --int --main () --{ -- -- FILE *f = fopen ("conftest.val", "w"); -- if (! f) -- return 1; -- if (((long int) (sizeof (ac__type_sizeof_))) < 0) -- { -- long int i = longval (); -- if (i != ((long int) (sizeof (ac__type_sizeof_)))) -- return 1; -- fprintf (f, "%ld\n", i); -- } -- else -- { -- unsigned long int i = ulongval (); -- if (i != ((long int) (sizeof (ac__type_sizeof_)))) -- return 1; -- fprintf (f, "%lu\n", i); -- } -- return ferror (f) || fclose (f) != 0; -- -- ; -- return 0; --} --_ACEOF --rm -f conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_try") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- ac_cv_sizeof_long_long=`cat conftest.val` --else -- echo "$as_me: program exited with status $ac_status" >&5 --echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --( exit $ac_status ) --if test "$ac_cv_type_long_long" = yes; then -- { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot compute sizeof (long long) --See \`config.log' for more details." >&2;} -- { (exit 77); exit 77; }; } -- else -- ac_cv_sizeof_long_long=0 -- fi --fi --rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext --fi --rm -f conftest.val --fi --{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 --echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } -- -- -- --cat >>confdefs.h <<_ACEOF --#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long --_ACEOF -- -- --{ echo "$as_me:$LINENO: checking for float" >&5 --echo $ECHO_N "checking for float... $ECHO_C" >&6; } --if test "${ac_cv_type_float+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default --typedef float ac__type_new_; --int --main () --{ --if ((ac__type_new_ *) 0) -- return 0; --if (sizeof (ac__type_new_)) -- return 0; -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_cv_type_float=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_type_float=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --fi --{ echo "$as_me:$LINENO: result: $ac_cv_type_float" >&5 --echo "${ECHO_T}$ac_cv_type_float" >&6; } -- --# The cast to long int works around a bug in the HP C Compiler --# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects --# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. --# This bug is HP SR number 8606223364. --{ echo "$as_me:$LINENO: checking size of float" >&5 --echo $ECHO_N "checking size of float... $ECHO_C" >&6; } --if test "${ac_cv_sizeof_float+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- if test "$cross_compiling" = yes; then -- # Depending upon the size, compute the lo and hi bounds. --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef float ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_lo=0 ac_mid=0 -- while :; do -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef float ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=$ac_mid; break --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo=`expr $ac_mid + 1` -- if test $ac_lo -le $ac_mid; then -- ac_lo= ac_hi= -- break -- fi -- ac_mid=`expr 2 '*' $ac_mid + 1` --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- done --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef float ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=-1 ac_mid=-1 -- while :; do -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef float ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_lo=$ac_mid; break --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_hi=`expr '(' $ac_mid ')' - 1` -- if test $ac_mid -le $ac_hi; then -- ac_lo= ac_hi= -- break -- fi -- ac_mid=`expr 2 '*' $ac_mid` --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- done --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo= ac_hi= --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --# Binary search between lo and hi bounds. --while test "x$ac_lo" != "x$ac_hi"; do -- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef float ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=$ac_mid --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo=`expr '(' $ac_mid ')' + 1` --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --done --case $ac_lo in --?*) ac_cv_sizeof_float=$ac_lo;; --'') if test "$ac_cv_type_float" = yes; then -- { { echo "$as_me:$LINENO: error: cannot compute sizeof (float) --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot compute sizeof (float) --See \`config.log' for more details." >&2;} -- { (exit 77); exit 77; }; } -- else -- ac_cv_sizeof_float=0 -- fi ;; --esac --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef float ac__type_sizeof_; --static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } --static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } --#include --#include --int --main () --{ -- -- FILE *f = fopen ("conftest.val", "w"); -- if (! f) -- return 1; -- if (((long int) (sizeof (ac__type_sizeof_))) < 0) -- { -- long int i = longval (); -- if (i != ((long int) (sizeof (ac__type_sizeof_)))) -- return 1; -- fprintf (f, "%ld\n", i); -- } -- else -- { -- unsigned long int i = ulongval (); -- if (i != ((long int) (sizeof (ac__type_sizeof_)))) -- return 1; -- fprintf (f, "%lu\n", i); -- } -- return ferror (f) || fclose (f) != 0; -- -- ; -- return 0; --} --_ACEOF --rm -f conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_try") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- ac_cv_sizeof_float=`cat conftest.val` --else -- echo "$as_me: program exited with status $ac_status" >&5 --echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --( exit $ac_status ) --if test "$ac_cv_type_float" = yes; then -- { { echo "$as_me:$LINENO: error: cannot compute sizeof (float) --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot compute sizeof (float) --See \`config.log' for more details." >&2;} -- { (exit 77); exit 77; }; } -- else -- ac_cv_sizeof_float=0 -- fi --fi --rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext --fi --rm -f conftest.val --fi --{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5 --echo "${ECHO_T}$ac_cv_sizeof_float" >&6; } -- -- -- --cat >>confdefs.h <<_ACEOF --#define SIZEOF_FLOAT $ac_cv_sizeof_float --_ACEOF -- -- --{ echo "$as_me:$LINENO: checking for double" >&5 --echo $ECHO_N "checking for double... $ECHO_C" >&6; } --if test "${ac_cv_type_double+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default --typedef double ac__type_new_; --int --main () --{ --if ((ac__type_new_ *) 0) -- return 0; --if (sizeof (ac__type_new_)) -- return 0; -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_cv_type_double=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_type_double=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --fi --{ echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5 --echo "${ECHO_T}$ac_cv_type_double" >&6; } -- --# The cast to long int works around a bug in the HP C Compiler --# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects --# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. --# This bug is HP SR number 8606223364. --{ echo "$as_me:$LINENO: checking size of double" >&5 --echo $ECHO_N "checking size of double... $ECHO_C" >&6; } --if test "${ac_cv_sizeof_double+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- if test "$cross_compiling" = yes; then -- # Depending upon the size, compute the lo and hi bounds. --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef double ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_lo=0 ac_mid=0 -- while :; do -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef double ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; --test_array [0] = 0 -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=$ac_mid; break --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo=`expr $ac_mid + 1` -- if test $ac_lo -le $ac_mid; then -- ac_lo= ac_hi= -- break -- fi -- ac_mid=`expr 2 '*' $ac_mid + 1` --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- done --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef double ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; --test_array [0] = 0 -+tpf*) -+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux. -+ version_type=linux -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=no -+ hardcode_into_libs=yes -+ ;; - -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=-1 ac_mid=-1 -- while :; do -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef double ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; --test_array [0] = 0 -+uts4*) -+ version_type=linux -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; - -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; -+*) -+ dynamic_linker=no -+ ;; - esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_lo=$ac_mid; break --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 -+$as_echo "$dynamic_linker" >&6; } -+test "$dynamic_linker" = no && can_build_shared=no - -- ac_hi=`expr '(' $ac_mid ')' - 1` -- if test $ac_mid -le $ac_hi; then -- ac_lo= ac_hi= -- break -- fi -- ac_mid=`expr 2 '*' $ac_mid` -+variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -+if test "$GCC" = yes; then -+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" - fi - --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- done --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_lo= ac_hi= -+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then -+ sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" - fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then -+ sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" - fi - --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --# Binary search between lo and hi bounds. --while test "x$ac_lo" != "x$ac_hi"; do -- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef double ac__type_sizeof_; --int --main () --{ --static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; --test_array [0] = 0 - -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_hi=$ac_mid --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 - -- ac_lo=`expr '(' $ac_mid ')' + 1` --fi - --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --done --case $ac_lo in --?*) ac_cv_sizeof_double=$ac_lo;; --'') if test "$ac_cv_type_double" = yes; then -- { { echo "$as_me:$LINENO: error: cannot compute sizeof (double) --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot compute sizeof (double) --See \`config.log' for more details." >&2;} -- { (exit 77); exit 77; }; } -- else -- ac_cv_sizeof_double=0 -- fi ;; --esac --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default -- typedef double ac__type_sizeof_; --static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } --static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } --#include --#include --int --main () --{ - -- FILE *f = fopen ("conftest.val", "w"); -- if (! f) -- return 1; -- if (((long int) (sizeof (ac__type_sizeof_))) < 0) -- { -- long int i = longval (); -- if (i != ((long int) (sizeof (ac__type_sizeof_)))) -- return 1; -- fprintf (f, "%ld\n", i); -- } -- else -- { -- unsigned long int i = ulongval (); -- if (i != ((long int) (sizeof (ac__type_sizeof_)))) -- return 1; -- fprintf (f, "%lu\n", i); -- } -- return ferror (f) || fclose (f) != 0; - -- ; -- return 0; --} --_ACEOF --rm -f conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_try") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- ac_cv_sizeof_double=`cat conftest.val` --else -- echo "$as_me: program exited with status $ac_status" >&5 --echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 - --( exit $ac_status ) --if test "$ac_cv_type_double" = yes; then -- { { echo "$as_me:$LINENO: error: cannot compute sizeof (double) --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot compute sizeof (double) --See \`config.log' for more details." >&2;} -- { (exit 77); exit 77; }; } -- else -- ac_cv_sizeof_double=0 -- fi --fi --rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext --fi --rm -f conftest.val --fi --{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5 --echo "${ECHO_T}$ac_cv_sizeof_double" >&6; } - - - --cat >>confdefs.h <<_ACEOF --#define SIZEOF_DOUBLE $ac_cv_sizeof_double --_ACEOF - - --if test x"$ac_cv_sizeof_char" != "x1" ; then -- { echo "$as_me:$LINENO: WARNING: gpsd requires sizeof(char)==1" >&5 --echo "$as_me: WARNING: gpsd requires sizeof(char)==1" >&2;}; -- type_error="yes" --fi --if test x"$ac_cv_sizeof_short" != "x2" ; then -- { echo "$as_me:$LINENO: WARNING: gpsd requires sizeof(short)==2" >&5 --echo "$as_me: WARNING: gpsd requires sizeof(short)==2" >&2;}; -- type_error="yes" --fi --if test x"$ac_cv_sizeof_int" != "x4" ; then -- { echo "$as_me:$LINENO: WARNING: gpsd requires sizeof(int)==4" >&5 --echo "$as_me: WARNING: gpsd requires sizeof(int)==4" >&2;}; -- type_error="yes" --fi --if test x"$ac_cv_sizeof_long_long" != "x8" ; then -- { echo "$as_me:$LINENO: WARNING: gpsd requires sizeof(long long)==8" >&5 --echo "$as_me: WARNING: gpsd requires sizeof(long long)==8" >&2;}; -- type_error="yes" --fi --if test x"$ac_cv_sizeof_float" != "x4" ; then -- { echo "$as_me:$LINENO: WARNING: gpsd requires sizeof(float)==4" >&5 --echo "$as_me: WARNING: gpsd requires sizeof(float)==4" >&2;}; -- type_error="yes" --fi --if test x"$ac_cv_sizeof_double" != "x8" ; then -- { echo "$as_me:$LINENO: WARNING: gpsd requires sizeof(double)==8" >&5 --echo "$as_me: WARNING: gpsd requires sizeof(double)==8" >&2;}; -- type_error="yes" --fi --if test x"$type_error" = "xyes" ; then -- { { echo "$as_me:$LINENO: error: Your system does not provide all required data types" >&5 --echo "$as_me: error: Your system does not provide all required data types" >&2;} -- { (exit 1); exit 1; }; }; --fi - --# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works --# for constant arguments. Useless! --{ echo "$as_me:$LINENO: checking for working alloca.h" >&5 --echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; } --if test "${ac_cv_working_alloca_h+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include --int --main () --{ --char *p = (char *) alloca (2 * sizeof (int)); -- if (p) return 0; -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- ac_cv_working_alloca_h=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 - -- ac_cv_working_alloca_h=no --fi - --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext --fi --{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 --echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; } --if test $ac_cv_working_alloca_h = yes; then - --cat >>confdefs.h <<\_ACEOF --#define HAVE_ALLOCA_H 1 --_ACEOF - --fi - --{ echo "$as_me:$LINENO: checking for alloca" >&5 --echo $ECHO_N "checking for alloca... $ECHO_C" >&6; } --if test "${ac_cv_func_alloca_works+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#ifdef __GNUC__ --# define alloca __builtin_alloca --#else --# ifdef _MSC_VER --# include --# define alloca _alloca --# else --# ifdef HAVE_ALLOCA_H --# include --# else --# ifdef _AIX -- #pragma alloca --# else --# ifndef alloca /* predefined by HP cc +Olibcalls */ --char *alloca (); --# endif --# endif --# endif --# endif --#endif - --int --main () --{ --char *p = (char *) alloca (1); -- if (p) return 0; -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- ac_cv_func_alloca_works=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 - -- ac_cv_func_alloca_works=no --fi - --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext --fi --{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 --echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; } - --if test $ac_cv_func_alloca_works = yes; then - --cat >>confdefs.h <<\_ACEOF --#define HAVE_ALLOCA 1 --_ACEOF - --else -- # The SVR3 libPW and SVR4 libucb both contain incompatible functions --# that cause trouble. Some versions do not even contain alloca or --# contain a buggy version. If you still want to use their alloca, --# use ar to extract alloca.o from them instead of compiling alloca.c. - --ALLOCA=\${LIBOBJDIR}alloca.$ac_objext - --cat >>confdefs.h <<\_ACEOF --#define C_ALLOCA 1 --_ACEOF - - --{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 --echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; } --if test "${ac_cv_os_cray+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#if defined CRAY && ! defined CRAY2 --webecray --#else --wenotbecray --#endif - --_ACEOF --if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -- $EGREP "webecray" >/dev/null 2>&1; then -- ac_cv_os_cray=yes --else -- ac_cv_os_cray=no --fi --rm -f conftest* - --fi --{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 --echo "${ECHO_T}$ac_cv_os_cray" >&6; } --if test $ac_cv_os_cray = yes; then -- for ac_func in _getb67 GETB67 getb67; do -- as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` --{ echo "$as_me:$LINENO: checking for $ac_func" >&5 --echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } --if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --/* Define $ac_func to an innocuous variant, in case declares $ac_func. -- For example, HP-UX 11i declares gettimeofday. */ --#define $ac_func innocuous_$ac_func - --/* System header to define __stub macros and hopefully few prototypes, -- which can conflict with char $ac_func (); below. -- Prefer to if __STDC__ is defined, since -- exists even on freestanding compilers. */ - --#ifdef __STDC__ --# include --#else --# include --#endif - --#undef $ac_func - --/* Override any GCC internal prototype to avoid an error. -- Use char because int might match the return type of a GCC -- builtin and then its argument prototype would still apply. */ --#ifdef __cplusplus --extern "C" --#endif --char $ac_func (); --/* The GNU C library defines this for functions which it implements -- to always fail with ENOSYS. Some functions are actually named -- something starting with __ and the normal name is an alias. */ --#if defined __stub_$ac_func || defined __stub___$ac_func --choke me --#endif - --int --main () --{ --return $ac_func (); -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- eval "$as_ac_var=yes" -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 -+$as_echo_n "checking how to hardcode library paths into programs... " >&6; } -+hardcode_action_CXX= -+if test -n "$hardcode_libdir_flag_spec_CXX" || -+ test -n "$runpath_var_CXX" || -+ test "X$hardcode_automatic_CXX" = "Xyes" ; then -+ -+ # We can hardcode non-existent directories. -+ if test "$hardcode_direct_CXX" != no && -+ # If the only mechanism to avoid hardcoding is shlibpath_var, we -+ # have to relink, otherwise we might link with an installed library -+ # when we should be linking with a yet-to-be-installed one -+ ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && -+ test "$hardcode_minus_L_CXX" != no; then -+ # Linking always hardcodes the temporary library directory. -+ hardcode_action_CXX=relink -+ else -+ # We can link without hardcoding, and we can hardcode nonexisting dirs. -+ hardcode_action_CXX=immediate -+ fi - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- eval "$as_ac_var=no" -+ # We cannot hardcode anything, or else we can only hardcode existing -+ # directories. -+ hardcode_action_CXX=unsupported - fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 -+$as_echo "$hardcode_action_CXX" >&6; } - --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+if test "$hardcode_action_CXX" = relink || -+ test "$inherit_rpath_CXX" = yes; then -+ # Fast installation is not supported -+ enable_fast_install=no -+elif test "$shlibpath_overrides_runpath" = yes || -+ test "$enable_shared" = no; then -+ # Fast installation is not necessary -+ enable_fast_install=needless - fi --ac_res=`eval echo '${'$as_ac_var'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } --if test `eval echo '${'$as_ac_var'}'` = yes; then -- --cat >>confdefs.h <<_ACEOF --#define CRAY_STACKSEG_END $ac_func --_ACEOF - -- break --fi - -- done --fi - --{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 --echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; } --if test "${ac_cv_c_stack_direction+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- if test "$cross_compiling" = yes; then -- ac_cv_c_stack_direction=0 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default --int --find_stack_direction () --{ -- static char *addr = 0; -- auto char dummy; -- if (addr == 0) -- { -- addr = &dummy; -- return find_stack_direction (); -- } -- else -- return (&dummy > addr) ? 1 : -1; --} - --int --main () --{ -- return find_stack_direction () < 0; --} --_ACEOF --rm -f conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_try") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- ac_cv_c_stack_direction=1 --else -- echo "$as_me: program exited with status $ac_status" >&5 --echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 - --( exit $ac_status ) --ac_cv_c_stack_direction=-1 --fi --rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext --fi - - --fi --{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 --echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; } -+ fi # test -n "$compiler" - --cat >>confdefs.h <<_ACEOF --#define STACK_DIRECTION $ac_cv_c_stack_direction --_ACEOF -+ CC=$lt_save_CC -+ LDCXX=$LD -+ LD=$lt_save_LD -+ GCC=$lt_save_GCC -+ with_gnu_ld=$lt_save_with_gnu_ld -+ lt_cv_path_LDCXX=$lt_cv_path_LD -+ lt_cv_path_LD=$lt_save_path_LD -+ lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld -+ lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld -+fi # test "$_lt_caught_CXX_error" != yes - -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu - --fi - --{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 --echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } --if test "${ac_cv_header_stdc+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 -+$as_echo_n "checking whether byte ordering is bigendian... " >&6; } -+if test "${ac_cv_c_bigendian+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ ac_cv_c_bigendian=unknown -+ # See if we're dealing with a universal compiler. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ --#include --#include --#include --#include -+#ifndef __APPLE_CC__ -+ not a universal capable compiler -+ #endif -+ typedef int dummy; -+ -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ -+ # Check for potential -arch flags. It is not universal unless -+ # there are at least two -arch flags with different values. -+ ac_arch= -+ ac_prev= -+ for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do -+ if test -n "$ac_prev"; then -+ case $ac_word in -+ i?86 | x86_64 | ppc | ppc64) -+ if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then -+ ac_arch=$ac_word -+ else -+ ac_cv_c_bigendian=universal -+ break -+ fi -+ ;; -+ esac -+ ac_prev= -+ elif test "x$ac_word" = "x-arch"; then -+ ac_prev=arch -+ fi -+ done -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ if test $ac_cv_c_bigendian = unknown; then -+ # See if sys/param.h defines the BYTE_ORDER macro. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ #include - - int - main () - { -+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ -+ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ -+ && LITTLE_ENDIAN) -+ bogus endian macros -+ #endif - - ; - return 0; - } - _ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_cv_header_stdc=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_header_stdc=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- --if test $ac_cv_header_stdc = yes; then -- # SunOS 4.x string.h does not declare mem*, contrary to ANSI. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include -- --_ACEOF --if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -- $EGREP "memchr" >/dev/null 2>&1; then -- : --else -- ac_cv_header_stdc=no --fi --rm -f conftest* -- --fi -- --if test $ac_cv_header_stdc = yes; then -- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include -- --_ACEOF --if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -- $EGREP "free" >/dev/null 2>&1; then -- : --else -- ac_cv_header_stdc=no --fi --rm -f conftest* -- --fi -- --if test $ac_cv_header_stdc = yes; then -- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. -- if test "$cross_compiling" = yes; then -- : --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ # It does; now see whether it defined to BIG_ENDIAN or not. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ --#include --#include --#if ((' ' & 0x0FF) == 0x020) --# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') --# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) --#else --# define ISLOWER(c) \ -- (('a' <= (c) && (c) <= 'i') \ -- || ('j' <= (c) && (c) <= 'r') \ -- || ('s' <= (c) && (c) <= 'z')) --# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) --#endif -+#include -+ #include - --#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) - int - main () --{ -- int i; -- for (i = 0; i < 256; i++) -- if (XOR (islower (i), ISLOWER (i)) -- || toupper (i) != TOUPPER (i)) -- return 2; -+{ -+#if BYTE_ORDER != BIG_ENDIAN -+ not big endian -+ #endif -+ -+ ; - return 0; - } - _ACEOF --rm -f conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_try") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- : -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_c_bigendian=yes - else -- echo "$as_me: program exited with status $ac_status" >&5 --echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --( exit $ac_status ) --ac_cv_header_stdc=no --fi --rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext --fi -- -- -+ ac_cv_c_bigendian=no - fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi --{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 --echo "${ECHO_T}$ac_cv_header_stdc" >&6; } --if test $ac_cv_header_stdc = yes; then -- --cat >>confdefs.h <<\_ACEOF --#define STDC_HEADERS 1 --_ACEOF -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ fi -+ if test $ac_cv_c_bigendian = unknown; then -+ # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include - --fi -+int -+main () -+{ -+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) -+ bogus endian macros -+ #endif - --{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 --echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } --if test "${ac_cv_c_const+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ -+ ; -+ return 0; -+} - _ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ # It does; now see whether it defined to _BIG_ENDIAN or not. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ -+#include - - int - main () - { --/* FIXME: Include the comments suggested by Paul. */ --#ifndef __cplusplus -- /* Ultrix mips cc rejects this. */ -- typedef int charset[2]; -- const charset cs; -- /* SunOS 4.1.1 cc rejects this. */ -- char const *const *pcpcc; -- char **ppc; -- /* NEC SVR4.0.2 mips cc rejects this. */ -- struct point {int x, y;}; -- static struct point const zero = {0,0}; -- /* AIX XL C 1.02.0.0 rejects this. -- It does not let you subtract one const X* pointer from another in -- an arm of an if-expression whose if-part is not a constant -- expression */ -- const char *g = "string"; -- pcpcc = &g + (g ? g-g : 0); -- /* HPUX 7.0 cc rejects these. */ -- ++pcpcc; -- ppc = (char**) pcpcc; -- pcpcc = (char const *const *) ppc; -- { /* SCO 3.2v4 cc rejects this. */ -- char *t; -- char const *s = 0 ? (char *) 0 : (char const *) 0; -- -- *t++ = 0; -- if (s) return 0; -- } -- { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ -- int x[] = {25, 17}; -- const int *foo = &x[0]; -- ++foo; -- } -- { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ -- typedef const int *iptr; -- iptr p = 0; -- ++p; -- } -- { /* AIX XL C 1.02.0.0 rejects this saying -- "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ -- struct s { int j; const int *ap[3]; }; -- struct s *b; b->j = 5; -- } -- { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ -- const int foo = 10; -- if (!foo) return 0; -- } -- return !cs[0] && !zero.x; --#endif -+#ifndef _BIG_ENDIAN -+ not big endian -+ #endif - - ; - return 0; - } - _ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_cv_c_const=yes -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_c_bigendian=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_c_const=no -+ ac_cv_c_bigendian=no - fi -- - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi --{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 --echo "${ECHO_T}$ac_cv_c_const" >&6; } --if test $ac_cv_c_const = no; then -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ fi -+ if test $ac_cv_c_bigendian = unknown; then -+ # Compile a test program. -+ if test "$cross_compiling" = yes; then : -+ # Try to guess by grepping values from an object file. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+short int ascii_mm[] = -+ { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; -+ short int ascii_ii[] = -+ { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; -+ int use_ascii (int i) { -+ return ascii_mm[i] + ascii_ii[i]; -+ } -+ short int ebcdic_ii[] = -+ { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; -+ short int ebcdic_mm[] = -+ { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; -+ int use_ebcdic (int i) { -+ return ebcdic_mm[i] + ebcdic_ii[i]; -+ } -+ extern int foo; - --cat >>confdefs.h <<\_ACEOF --#define const -+int -+main () -+{ -+return use_ascii (foo) == use_ebcdic (foo); -+ ; -+ return 0; -+} - _ACEOF -- --fi -- -- --{ echo "$as_me:$LINENO: checking for properly working floating point implementation" >&5 --echo $ECHO_N "checking for properly working floating point implementation... $ECHO_C" >&6; } --if test "x$build" = "x$host"; then -- if eval "$CC $CFLAGS -o test_float ${srcdir}/test_float.c"; then -- if ./test_float > /dev/null; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -- else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -- { echo "$as_me:$LINENO: WARNING: We strongly recommend you manually examine the test_float results" >&5 --echo "$as_me: WARNING: We strongly recommend you manually examine the test_float results" >&2;} -- fi -- else -- { echo "$as_me:$LINENO: result: failure compiling test_float" >&5 --echo "${ECHO_T}failure compiling test_float" >&6; } -- fi --else -- { echo "$as_me:$LINENO: result: skipped test (cross-compiling)" >&5 --echo "${ECHO_T}skipped test (cross-compiling)" >&6; } -- { echo "$as_me:$LINENO: WARNING: We are cross-compiling, and thus cannot run the floating point test now. --We strongly recommend running test_float on the target platform." >&5 --echo "$as_me: WARNING: We are cross-compiling, and thus cannot run the floating point test now. --We strongly recommend running test_float on the target platform." >&2;} -+if ac_fn_c_try_compile "$LINENO"; then : -+ if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then -+ ac_cv_c_bigendian=yes -+ fi -+ if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then -+ if test "$ac_cv_c_bigendian" = unknown; then -+ ac_cv_c_bigendian=no -+ else -+ # finding both strings is unlikely to happen, but who knows? -+ ac_cv_c_bigendian=unknown -+ fi -+ fi - fi -- -- --if eval "test x$GCC = xyes"; then -- CFLAGS="$CFLAGS -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE" -- fi -- -- -- -- -- -- -- -- --for ac_header in sys/termios.h sys/select.h sys/time.h sys/modem.h sys/ipc.h sys/shm.h sys/socket.h --do --as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- { echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --fi --ac_res=`eval echo '${'$as_ac_Header'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - else -- # Is the header compilable? --{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 --echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - $ac_includes_default --#include <$ac_header> --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_header_compiler=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_header_compiler=no --fi -+int -+main () -+{ - --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 --echo "${ECHO_T}$ac_header_compiler" >&6; } -+ /* Are we little or big endian? From Harbison&Steele. */ -+ union -+ { -+ long int l; -+ char c[sizeof (long int)]; -+ } u; -+ u.l = 1; -+ return u.c[sizeof (long int) - 1] == 1; - --# Is the header present? --{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 --echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include <$ac_header> -+ ; -+ return 0; -+} - _ACEOF --if { (ac_try="$ac_cpp conftest.$ac_ext" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null && { -- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || -- test ! -s conftest.err -- }; then -- ac_header_preproc=yes -+if ac_fn_c_try_run "$LINENO"; then : -+ ac_cv_c_bigendian=no - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+ ac_cv_c_bigendian=yes -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi - -- ac_header_preproc=no -+ fi - fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 -+$as_echo "$ac_cv_c_bigendian" >&6; } -+ case $ac_cv_c_bigendian in #( -+ yes) -+ $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h -+;; #( -+ no) -+ ;; #( -+ universal) - --rm -f conftest.err conftest.$ac_ext --{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 --echo "${ECHO_T}$ac_header_preproc" >&6; } -+$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h - --# So? What about this header? --case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in -- yes:no: ) -- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 --echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 --echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} -- ac_header_preproc=yes -- ;; -- no:yes:* ) -- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 --echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 --echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 --echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 --echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 --echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 --echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} -+ ;; #( -+ *) -+ as_fn_error "unknown endianness -+ presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; -+ esac - -- ;; --esac --{ echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- eval "$as_ac_Header=\$ac_header_preproc" --fi --ac_res=`eval echo '${'$as_ac_Header'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } -+type_error="no" -+# The cast to long int works around a bug in the HP C Compiler -+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -+# This bug is HP SR number 8606223364. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5 -+$as_echo_n "checking size of char... " >&6; } -+if test "${ac_cv_sizeof_char+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then : - -+else -+ if test "$ac_cv_type_char" = yes; then -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+{ as_fn_set_status 77 -+as_fn_error "cannot compute sizeof (char) -+See \`config.log' for more details." "$LINENO" 5; }; } -+ else -+ ac_cv_sizeof_char=0 -+ fi - fi --if test `eval echo '${'$as_ac_Header'}'` = yes; then -- cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 --_ACEOF - - fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5 -+$as_echo "$ac_cv_sizeof_char" >&6; } - --done - - -+cat >>confdefs.h <<_ACEOF -+#define SIZEOF_CHAR $ac_cv_sizeof_char -+_ACEOF - - -+# The cast to long int works around a bug in the HP C Compiler -+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -+# This bug is HP SR number 8606223364. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 -+$as_echo_n "checking size of short... " >&6; } -+if test "${ac_cv_sizeof_short+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : - --for ac_header in arpa/inet.h netinet/in_systm.h netinet/in.h netinet/tcp.h --do --as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- { echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --fi --ac_res=`eval echo '${'$as_ac_Header'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } --else -- # Is the header compilable? --{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 --echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default --#include <$ac_header> --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_header_compiler=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+ if test "$ac_cv_type_short" = yes; then -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+{ as_fn_set_status 77 -+as_fn_error "cannot compute sizeof (short) -+See \`config.log' for more details." "$LINENO" 5; }; } -+ else -+ ac_cv_sizeof_short=0 -+ fi -+fi - -- ac_header_compiler=no - fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 -+$as_echo "$ac_cv_sizeof_short" >&6; } - --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 --echo "${ECHO_T}$ac_header_compiler" >&6; } - --# Is the header present? --{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 --echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include <$ac_header> -+ -+cat >>confdefs.h <<_ACEOF -+#define SIZEOF_SHORT $ac_cv_sizeof_short - _ACEOF --if { (ac_try="$ac_cpp conftest.$ac_ext" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null && { -- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || -- test ! -s conftest.err -- }; then -- ac_header_preproc=yes -+ -+ -+# The cast to long int works around a bug in the HP C Compiler -+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -+# This bug is HP SR number 8606223364. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 -+$as_echo_n "checking size of int... " >&6; } -+if test "${ac_cv_sizeof_int+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : -+ - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+ if test "$ac_cv_type_int" = yes; then -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+{ as_fn_set_status 77 -+as_fn_error "cannot compute sizeof (int) -+See \`config.log' for more details." "$LINENO" 5; }; } -+ else -+ ac_cv_sizeof_int=0 -+ fi -+fi - -- ac_header_preproc=no - fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 -+$as_echo "$ac_cv_sizeof_int" >&6; } - --rm -f conftest.err conftest.$ac_ext --{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 --echo "${ECHO_T}$ac_header_preproc" >&6; } - --# So? What about this header? --case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in -- yes:no: ) -- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 --echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 --echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} -- ac_header_preproc=yes -- ;; -- no:yes:* ) -- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 --echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 --echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 --echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 --echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 --echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 --echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} - -- ;; --esac --{ echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- eval "$as_ac_Header=\$ac_header_preproc" --fi --ac_res=`eval echo '${'$as_ac_Header'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } -+cat >>confdefs.h <<_ACEOF -+#define SIZEOF_INT $ac_cv_sizeof_int -+_ACEOF -+ -+ -+# The cast to long int works around a bug in the HP C Compiler -+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -+# This bug is HP SR number 8606223364. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 -+$as_echo_n "checking size of long... " >&6; } -+if test "${ac_cv_sizeof_long+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : - -+else -+ if test "$ac_cv_type_long" = yes; then -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+{ as_fn_set_status 77 -+as_fn_error "cannot compute sizeof (long) -+See \`config.log' for more details." "$LINENO" 5; }; } -+ else -+ ac_cv_sizeof_long=0 -+ fi - fi --if test `eval echo '${'$as_ac_Header'}'` = yes; then -- cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 --_ACEOF - - fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 -+$as_echo "$ac_cv_sizeof_long" >&6; } - --done - - --for ac_header in netinet/ip.h --do --as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` --{ echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ -+cat >>confdefs.h <<_ACEOF -+#define SIZEOF_LONG $ac_cv_sizeof_long - _ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#if HAVE_NETINET_IN_SYSTM_H && HAVE_NETINET_IN_H --#include netinet/ip.h --#endif - - --#include <$ac_header> --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- eval "$as_ac_Header=yes" --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- eval "$as_ac_Header=no" --fi -+# The cast to long int works around a bug in the HP C Compiler -+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -+# This bug is HP SR number 8606223364. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 -+$as_echo_n "checking size of long long... " >&6; } -+if test "${ac_cv_sizeof_long_long+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : - --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+else -+ if test "$ac_cv_type_long_long" = yes; then -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+{ as_fn_set_status 77 -+as_fn_error "cannot compute sizeof (long long) -+See \`config.log' for more details." "$LINENO" 5; }; } -+ else -+ ac_cv_sizeof_long_long=0 -+ fi - fi --ac_res=`eval echo '${'$as_ac_Header'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } --if test `eval echo '${'$as_ac_Header'}'` = yes; then -- cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 --_ACEOF - - fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 -+$as_echo "$ac_cv_sizeof_long_long" >&6; } - --done - - -+cat >>confdefs.h <<_ACEOF -+#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long -+_ACEOF - - -+# The cast to long int works around a bug in the HP C Compiler -+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -+# This bug is HP SR number 8606223364. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5 -+$as_echo_n "checking size of float... " >&6; } -+if test "${ac_cv_sizeof_float+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then : - --for ac_header in termios.h strings.h getopt.h netdb.h --do --as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- { echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --fi --ac_res=`eval echo '${'$as_ac_Header'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } --else -- # Is the header compilable? --{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 --echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default --#include <$ac_header> --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_header_compiler=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+ if test "$ac_cv_type_float" = yes; then -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+{ as_fn_set_status 77 -+as_fn_error "cannot compute sizeof (float) -+See \`config.log' for more details." "$LINENO" 5; }; } -+ else -+ ac_cv_sizeof_float=0 -+ fi -+fi - -- ac_header_compiler=no - fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5 -+$as_echo "$ac_cv_sizeof_float" >&6; } - --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 --echo "${ECHO_T}$ac_header_compiler" >&6; } - --# Is the header present? --{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 --echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include <$ac_header> -+ -+cat >>confdefs.h <<_ACEOF -+#define SIZEOF_FLOAT $ac_cv_sizeof_float - _ACEOF --if { (ac_try="$ac_cpp conftest.$ac_ext" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null && { -- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || -- test ! -s conftest.err -- }; then -- ac_header_preproc=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 - -- ac_header_preproc=no -+ -+# The cast to long int works around a bug in the HP C Compiler -+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -+# This bug is HP SR number 8606223364. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5 -+$as_echo_n "checking size of double... " >&6; } -+if test "${ac_cv_sizeof_double+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then : -+ -+else -+ if test "$ac_cv_type_double" = yes; then -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+{ as_fn_set_status 77 -+as_fn_error "cannot compute sizeof (double) -+See \`config.log' for more details." "$LINENO" 5; }; } -+ else -+ ac_cv_sizeof_double=0 -+ fi - fi - --rm -f conftest.err conftest.$ac_ext --{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 --echo "${ECHO_T}$ac_header_preproc" >&6; } -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5 -+$as_echo "$ac_cv_sizeof_double" >&6; } - --# So? What about this header? --case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in -- yes:no: ) -- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 --echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 --echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} -- ac_header_preproc=yes -- ;; -- no:yes:* ) -- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 --echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 --echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 --echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 --echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 --echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 --echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} - -- ;; --esac --{ echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- eval "$as_ac_Header=\$ac_header_preproc" --fi --ac_res=`eval echo '${'$as_ac_Header'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } - --fi --if test `eval echo '${'$as_ac_Header'}'` = yes; then -- cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 -+cat >>confdefs.h <<_ACEOF -+#define SIZEOF_DOUBLE $ac_cv_sizeof_double - _ACEOF - -+ -+if test x"$ac_cv_sizeof_char" != "x1" ; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gpsd requires sizeof(char)==1" >&5 -+$as_echo "$as_me: WARNING: gpsd requires sizeof(char)==1" >&2;}; -+ type_error="yes" -+fi -+if test x"$ac_cv_sizeof_short" != "x2" ; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gpsd requires sizeof(short)==2" >&5 -+$as_echo "$as_me: WARNING: gpsd requires sizeof(short)==2" >&2;}; -+ type_error="yes" -+fi -+if test x"$ac_cv_sizeof_int" != "x4" ; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gpsd requires sizeof(int)==4" >&5 -+$as_echo "$as_me: WARNING: gpsd requires sizeof(int)==4" >&2;}; -+ type_error="yes" -+fi -+if test x"$ac_cv_sizeof_long_long" != "x8" ; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gpsd requires sizeof(long long)==8" >&5 -+$as_echo "$as_me: WARNING: gpsd requires sizeof(long long)==8" >&2;}; -+ type_error="yes" -+fi -+if test x"$ac_cv_sizeof_float" != "x4" ; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gpsd requires sizeof(float)==4" >&5 -+$as_echo "$as_me: WARNING: gpsd requires sizeof(float)==4" >&2;}; -+ type_error="yes" -+fi -+if test x"$ac_cv_sizeof_double" != "x8" ; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gpsd requires sizeof(double)==8" >&5 -+$as_echo "$as_me: WARNING: gpsd requires sizeof(double)==8" >&2;}; -+ type_error="yes" -+fi -+if test x"$type_error" = "xyes" ; then -+ as_fn_error "Your system does not provide all required data types" "$LINENO" 5; - fi - --done -+# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works -+# for constant arguments. Useless! -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 -+$as_echo_n "checking for working alloca.h... " >&6; } -+if test "${ac_cv_working_alloca_h+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+int -+main () -+{ -+char *p = (char *) alloca (2 * sizeof (int)); -+ if (p) return 0; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_working_alloca_h=yes -+else -+ ac_cv_working_alloca_h=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 -+$as_echo "$ac_cv_working_alloca_h" >&6; } -+if test $ac_cv_working_alloca_h = yes; then - -+$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h - -+fi - --for ac_func in round --do --as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` --{ echo "$as_me:$LINENO: checking for $ac_func" >&5 --echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } --if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 -+$as_echo_n "checking for alloca... " >&6; } -+if test "${ac_cv_func_alloca_works+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ --/* Define $ac_func to an innocuous variant, in case declares $ac_func. -- For example, HP-UX 11i declares gettimeofday. */ --#define $ac_func innocuous_$ac_func -- --/* System header to define __stub macros and hopefully few prototypes, -- which can conflict with char $ac_func (); below. -- Prefer to if __STDC__ is defined, since -- exists even on freestanding compilers. */ -- --#ifdef __STDC__ --# include -+#ifdef __GNUC__ -+# define alloca __builtin_alloca - #else --# include --#endif -- --#undef $ac_func -- --/* Override any GCC internal prototype to avoid an error. -- Use char because int might match the return type of a GCC -- builtin and then its argument prototype would still apply. */ --#ifdef __cplusplus --extern "C" --#endif --char $ac_func (); --/* The GNU C library defines this for functions which it implements -- to always fail with ENOSYS. Some functions are actually named -- something starting with __ and the normal name is an alias. */ --#if defined __stub_$ac_func || defined __stub___$ac_func --choke me -+# ifdef _MSC_VER -+# include -+# define alloca _alloca -+# else -+# ifdef HAVE_ALLOCA_H -+# include -+# else -+# ifdef _AIX -+ #pragma alloca -+# else -+# ifndef alloca /* predefined by HP cc +Olibcalls */ -+char *alloca (); -+# endif -+# endif -+# endif -+# endif - #endif - - int - main () - { --return $ac_func (); -+char *p = (char *) alloca (1); -+ if (p) return 0; - ; - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- eval "$as_ac_var=yes" -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_func_alloca_works=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+ ac_cv_func_alloca_works=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 -+$as_echo "$ac_cv_func_alloca_works" >&6; } -+ -+if test $ac_cv_func_alloca_works = yes; then -+ -+$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h -+ -+else -+ # The SVR3 libPW and SVR4 libucb both contain incompatible functions -+# that cause trouble. Some versions do not even contain alloca or -+# contain a buggy version. If you still want to use their alloca, -+# use ar to extract alloca.o from them instead of compiling alloca.c. -+ -+ALLOCA=\${LIBOBJDIR}alloca.$ac_objext -+ -+$as_echo "#define C_ALLOCA 1" >>confdefs.h -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 -+$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } -+if test "${ac_cv_os_cray+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#if defined CRAY && ! defined CRAY2 -+webecray -+#else -+wenotbecray -+#endif - -- eval "$as_ac_var=no" -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "webecray" >/dev/null 2>&1; then : -+ ac_cv_os_cray=yes -+else -+ ac_cv_os_cray=no - fi -+rm -f conftest* - --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext - fi --ac_res=`eval echo '${'$as_ac_var'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } --if test `eval echo '${'$as_ac_var'}'` = yes; then -- cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 -+$as_echo "$ac_cv_os_cray" >&6; } -+if test $ac_cv_os_cray = yes; then -+ for ac_func in _getb67 GETB67 getb67; do -+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -+eval as_val=\$$as_ac_var -+ if test "x$as_val" = x""yes; then : -+ -+cat >>confdefs.h <<_ACEOF -+#define CRAY_STACKSEG_END $ac_func - _ACEOF -- roundf -+ -+ break - fi --done - -+ done -+fi - --for ac_func in strlcpy --do --as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` --{ echo "$as_me:$LINENO: checking for $ac_func" >&5 --echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } --if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 -+$as_echo_n "checking stack direction for C alloca... " >&6; } -+if test "${ac_cv_c_stack_direction+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ if test "$cross_compiling" = yes; then : -+ ac_cv_c_stack_direction=0 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ --/* Define $ac_func to an innocuous variant, in case declares $ac_func. -- For example, HP-UX 11i declares gettimeofday. */ --#define $ac_func innocuous_$ac_func -- --/* System header to define __stub macros and hopefully few prototypes, -- which can conflict with char $ac_func (); below. -- Prefer to if __STDC__ is defined, since -- exists even on freestanding compilers. */ -- --#ifdef __STDC__ --# include --#else --# include --#endif -- --#undef $ac_func -- --/* Override any GCC internal prototype to avoid an error. -- Use char because int might match the return type of a GCC -- builtin and then its argument prototype would still apply. */ --#ifdef __cplusplus --extern "C" --#endif --char $ac_func (); --/* The GNU C library defines this for functions which it implements -- to always fail with ENOSYS. Some functions are actually named -- something starting with __ and the normal name is an alias. */ --#if defined __stub_$ac_func || defined __stub___$ac_func --choke me --#endif -+$ac_includes_default -+int -+find_stack_direction () -+{ -+ static char *addr = 0; -+ auto char dummy; -+ if (addr == 0) -+ { -+ addr = &dummy; -+ return find_stack_direction (); -+ } -+ else -+ return (&dummy > addr) ? 1 : -1; -+} - - int - main () - { --return $ac_func (); -- ; -- return 0; -+ return find_stack_direction () < 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- eval "$as_ac_var=yes" -+if ac_fn_c_try_run "$LINENO"; then : -+ ac_cv_c_stack_direction=1 - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- eval "$as_ac_var=no" -+ ac_cv_c_stack_direction=-1 -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext - fi - --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext - fi --ac_res=`eval echo '${'$as_ac_var'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } --if test `eval echo '${'$as_ac_var'}'` = yes; then -- cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 -+$as_echo "$ac_cv_c_stack_direction" >&6; } -+cat >>confdefs.h <<_ACEOF -+#define STACK_DIRECTION $ac_cv_c_stack_direction - _ACEOF - --fi --done - -+fi - --for ac_func in strlcat --do --as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` --{ echo "$as_me:$LINENO: checking for $ac_func" >&5 --echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } --if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -+$as_echo_n "checking for ANSI C header files... " >&6; } -+if test "${ac_cv_header_stdc+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ --/* Define $ac_func to an innocuous variant, in case declares $ac_func. -- For example, HP-UX 11i declares gettimeofday. */ --#define $ac_func innocuous_$ac_func -- --/* System header to define __stub macros and hopefully few prototypes, -- which can conflict with char $ac_func (); below. -- Prefer to if __STDC__ is defined, since -- exists even on freestanding compilers. */ -- --#ifdef __STDC__ --# include --#else --# include --#endif -- --#undef $ac_func -- --/* Override any GCC internal prototype to avoid an error. -- Use char because int might match the return type of a GCC -- builtin and then its argument prototype would still apply. */ --#ifdef __cplusplus --extern "C" --#endif --char $ac_func (); --/* The GNU C library defines this for functions which it implements -- to always fail with ENOSYS. Some functions are actually named -- something starting with __ and the normal name is an alias. */ --#if defined __stub_$ac_func || defined __stub___$ac_func --choke me --#endif -+#include -+#include -+#include -+#include - - int - main () - { --return $ac_func (); -+ - ; - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- eval "$as_ac_var=yes" -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_header_stdc=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- eval "$as_ac_var=no" -+ ac_cv_header_stdc=no - fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ -+if test $ac_cv_header_stdc = yes; then -+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include - --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext --fi --ac_res=`eval echo '${'$as_ac_var'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } --if test `eval echo '${'$as_ac_var'}'` = yes; then -- cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 - _ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "memchr" >/dev/null 2>&1; then : - -+else -+ ac_cv_header_stdc=no - fi --done -+rm -f conftest* - -+fi - --for ac_func in strtonum --do --as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` --{ echo "$as_me:$LINENO: checking for $ac_func" >&5 --echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } --if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+if test $ac_cv_header_stdc = yes; then -+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ --/* Define $ac_func to an innocuous variant, in case declares $ac_func. -- For example, HP-UX 11i declares gettimeofday. */ --#define $ac_func innocuous_$ac_func -+#include - --/* System header to define __stub macros and hopefully few prototypes, -- which can conflict with char $ac_func (); below. -- Prefer to if __STDC__ is defined, since -- exists even on freestanding compilers. */ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "free" >/dev/null 2>&1; then : - --#ifdef __STDC__ --# include --#else --# include --#endif -+else -+ ac_cv_header_stdc=no -+fi -+rm -f conftest* - --#undef $ac_func -+fi - --/* Override any GCC internal prototype to avoid an error. -- Use char because int might match the return type of a GCC -- builtin and then its argument prototype would still apply. */ --#ifdef __cplusplus --extern "C" --#endif --char $ac_func (); --/* The GNU C library defines this for functions which it implements -- to always fail with ENOSYS. Some functions are actually named -- something starting with __ and the normal name is an alias. */ --#if defined __stub_$ac_func || defined __stub___$ac_func --choke me -+if test $ac_cv_header_stdc = yes; then -+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. -+ if test "$cross_compiling" = yes; then : -+ : -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+#include -+#if ((' ' & 0x0FF) == 0x020) -+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -+#else -+# define ISLOWER(c) \ -+ (('a' <= (c) && (c) <= 'i') \ -+ || ('j' <= (c) && (c) <= 'r') \ -+ || ('s' <= (c) && (c) <= 'z')) -+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) - #endif - -+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) - int - main () - { --return $ac_func (); -- ; -+ int i; -+ for (i = 0; i < 256; i++) -+ if (XOR (islower (i), ISLOWER (i)) -+ || toupper (i) != TOUPPER (i)) -+ return 2; - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- eval "$as_ac_var=yes" --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+if ac_fn_c_try_run "$LINENO"; then : - -- eval "$as_ac_var=no" -+else -+ ac_cv_header_stdc=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext - fi --ac_res=`eval echo '${'$as_ac_var'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } --if test `eval echo '${'$as_ac_var'}'` = yes; then -- cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 --_ACEOF - - fi --done -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -+$as_echo "$ac_cv_header_stdc" >&6; } -+if test $ac_cv_header_stdc = yes; then - -+$as_echo "#define STDC_HEADERS 1" >>confdefs.h - --for ac_func in setlocale --do --as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` --{ echo "$as_me:$LINENO: checking for $ac_func" >&5 --echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } --if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+fi -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 -+$as_echo_n "checking for an ANSI C-conforming const... " >&6; } -+if test "${ac_cv_c_const+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ --/* Define $ac_func to an innocuous variant, in case declares $ac_func. -- For example, HP-UX 11i declares gettimeofday. */ --#define $ac_func innocuous_$ac_func -- --/* System header to define __stub macros and hopefully few prototypes, -- which can conflict with char $ac_func (); below. -- Prefer to if __STDC__ is defined, since -- exists even on freestanding compilers. */ - --#ifdef __STDC__ --# include --#else --# include --#endif -- --#undef $ac_func -+int -+main () -+{ -+/* FIXME: Include the comments suggested by Paul. */ -+#ifndef __cplusplus -+ /* Ultrix mips cc rejects this. */ -+ typedef int charset[2]; -+ const charset cs; -+ /* SunOS 4.1.1 cc rejects this. */ -+ char const *const *pcpcc; -+ char **ppc; -+ /* NEC SVR4.0.2 mips cc rejects this. */ -+ struct point {int x, y;}; -+ static struct point const zero = {0,0}; -+ /* AIX XL C 1.02.0.0 rejects this. -+ It does not let you subtract one const X* pointer from another in -+ an arm of an if-expression whose if-part is not a constant -+ expression */ -+ const char *g = "string"; -+ pcpcc = &g + (g ? g-g : 0); -+ /* HPUX 7.0 cc rejects these. */ -+ ++pcpcc; -+ ppc = (char**) pcpcc; -+ pcpcc = (char const *const *) ppc; -+ { /* SCO 3.2v4 cc rejects this. */ -+ char *t; -+ char const *s = 0 ? (char *) 0 : (char const *) 0; - --/* Override any GCC internal prototype to avoid an error. -- Use char because int might match the return type of a GCC -- builtin and then its argument prototype would still apply. */ --#ifdef __cplusplus --extern "C" --#endif --char $ac_func (); --/* The GNU C library defines this for functions which it implements -- to always fail with ENOSYS. Some functions are actually named -- something starting with __ and the normal name is an alias. */ --#if defined __stub_$ac_func || defined __stub___$ac_func --choke me -+ *t++ = 0; -+ if (s) return 0; -+ } -+ { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ -+ int x[] = {25, 17}; -+ const int *foo = &x[0]; -+ ++foo; -+ } -+ { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ -+ typedef const int *iptr; -+ iptr p = 0; -+ ++p; -+ } -+ { /* AIX XL C 1.02.0.0 rejects this saying -+ "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ -+ struct s { int j; const int *ap[3]; }; -+ struct s *b; b->j = 5; -+ } -+ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ -+ const int foo = 10; -+ if (!foo) return 0; -+ } -+ return !cs[0] && !zero.x; - #endif - --int --main () --{ --return $ac_func (); - ; - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- eval "$as_ac_var=yes" -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_c_const=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+ ac_cv_c_const=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 -+$as_echo "$ac_cv_c_const" >&6; } -+if test $ac_cv_c_const = no; then -+ -+$as_echo "#define const /**/" >>confdefs.h - -- eval "$as_ac_var=no" - fi - --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for properly working floating point implementation" >&5 -+$as_echo_n "checking for properly working floating point implementation... " >&6; } -+if test "x$build" = "x$host"; then -+ if eval "$CC $CFLAGS -o test_float ${srcdir}/test_float.c"; then -+ if ./test_float > /dev/null; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We strongly recommend you manually examine the test_float results" >&5 -+$as_echo "$as_me: WARNING: We strongly recommend you manually examine the test_float results" >&2;} -+ fi -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: failure compiling test_float" >&5 -+$as_echo "failure compiling test_float" >&6; } -+ fi -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: skipped test (cross-compiling)" >&5 -+$as_echo "skipped test (cross-compiling)" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We are cross-compiling, and thus cannot run the floating point test now. -+We strongly recommend running test_float on the target platform." >&5 -+$as_echo "$as_me: WARNING: We are cross-compiling, and thus cannot run the floating point test now. -+We strongly recommend running test_float on the target platform." >&2;} - fi --ac_res=`eval echo '${'$as_ac_var'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } --if test `eval echo '${'$as_ac_var'}'` = yes; then -+ -+ -+if eval "test x$GCC = xyes"; then -+ CFLAGS="$CFLAGS -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE" -+ fi -+ -+for ac_header in sys/termios.h sys/select.h sys/time.h sys/modem.h sys/ipc.h sys/shm.h sys/socket.h -+do : -+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -+eval as_val=\$$as_ac_Header -+ if test "x$as_val" = x""yes; then : - cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 - _ACEOF - - fi --done - -+done - --for ac_func in vsnprintf --do --as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` --{ echo "$as_me:$LINENO: checking for $ac_func" >&5 --echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } --if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ -+for ac_header in arpa/inet.h netinet/in_systm.h netinet/in.h netinet/tcp.h -+do : -+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -+eval as_val=\$$as_ac_Header -+ if test "x$as_val" = x""yes; then : -+ cat >>confdefs.h <<_ACEOF -+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 - _ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --/* Define $ac_func to an innocuous variant, in case declares $ac_func. -- For example, HP-UX 11i declares gettimeofday. */ --#define $ac_func innocuous_$ac_func -- --/* System header to define __stub macros and hopefully few prototypes, -- which can conflict with char $ac_func (); below. -- Prefer to if __STDC__ is defined, since -- exists even on freestanding compilers. */ - --#ifdef __STDC__ --# include --#else --# include --#endif -+fi - --#undef $ac_func -+done - --/* Override any GCC internal prototype to avoid an error. -- Use char because int might match the return type of a GCC -- builtin and then its argument prototype would still apply. */ --#ifdef __cplusplus --extern "C" --#endif --char $ac_func (); --/* The GNU C library defines this for functions which it implements -- to always fail with ENOSYS. Some functions are actually named -- something starting with __ and the normal name is an alias. */ --#if defined __stub_$ac_func || defined __stub___$ac_func --choke me -+for ac_header in netinet/ip.h -+do : -+ ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if HAVE_NETINET_IN_SYSTM_H && HAVE_NETINET_IN_H -+#include netinet/ip.h - #endif - --int --main () --{ --return $ac_func (); -- ; -- return 0; --} -+" -+if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_NETINET_IP_H 1 - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- eval "$as_ac_var=yes" --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 - -- eval "$as_ac_var=no" - fi - --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext --fi --ac_res=`eval echo '${'$as_ac_var'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } --if test `eval echo '${'$as_ac_var'}'` = yes; then -+done -+ -+for ac_header in termios.h strings.h getopt.h netdb.h -+do : -+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -+eval as_val=\$$as_ac_Header -+ if test "x$as_val" = x""yes; then : - cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 - _ACEOF - - fi -+ - done - - --{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 --echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } --if test "${ac_cv_header_time+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ -+for ac_func in round -+do : -+ ac_fn_c_check_func "$LINENO" "round" "ac_cv_func_round" -+if test "x$ac_cv_func_round" = x""yes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_ROUND 1 - _ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include --#include --#include -+ roundf -+fi -+done - --int --main () --{ --if ((struct tm *) 0) --return 0; -- ; -- return 0; --} -+for ac_func in strlcpy -+do : -+ ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy" -+if test "x$ac_cv_func_strlcpy" = x""yes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_STRLCPY 1 - _ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_cv_header_time=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 - -- ac_cv_header_time=no - fi -+done - --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --fi --{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 --echo "${ECHO_T}$ac_cv_header_time" >&6; } --if test $ac_cv_header_time = yes; then -- --cat >>confdefs.h <<\_ACEOF --#define TIME_WITH_SYS_TIME 1 -+for ac_func in strlcat -+do : -+ ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat" -+if test "x$ac_cv_func_strlcat" = x""yes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_STRLCAT 1 - _ACEOF - - fi -+done - --{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 --echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } --if test "${ac_cv_struct_tm+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include --#include -- --int --main () --{ --struct tm tm; -- int *p = &tm.tm_sec; -- return !p; -- ; -- return 0; --} -+for ac_func in strtonum -+do : -+ ac_fn_c_check_func "$LINENO" "strtonum" "ac_cv_func_strtonum" -+if test "x$ac_cv_func_strtonum" = x""yes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_STRTONUM 1 - _ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_cv_struct_tm=time.h --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_struct_tm=sys/time.h --fi - --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi --{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 --echo "${ECHO_T}$ac_cv_struct_tm" >&6; } --if test $ac_cv_struct_tm = sys/time.h; then -+done - --cat >>confdefs.h <<\_ACEOF --#define TM_IN_SYS_TIME 1 -+for ac_func in setlocale -+do : -+ ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" -+if test "x$ac_cv_func_setlocale" = x""yes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_SETLOCALE 1 - _ACEOF - - fi -+done - --{ echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 --echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; } --if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ -+for ac_func in vsnprintf -+do : -+ ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf" -+if test "x$ac_cv_func_vsnprintf" = x""yes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_VSNPRINTF 1 - _ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include --#include <$ac_cv_struct_tm> - -+fi -+done - --int --main () --{ --static struct tm ac_aggr; --if (ac_aggr.tm_zone) --return 0; -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_cv_member_struct_tm_tm_zone=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 - -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 -+$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } -+if test "${ac_cv_header_time+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #include --#include <$ac_cv_struct_tm> -- -+#include -+#include - - int - main () - { --static struct tm ac_aggr; --if (sizeof ac_aggr.tm_zone) -+if ((struct tm *) 0) - return 0; - ; - return 0; - } - _ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_cv_member_struct_tm_tm_zone=yes -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_header_time=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_member_struct_tm_tm_zone=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ ac_cv_header_time=no - fi -- - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi --{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 --echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; } --if test $ac_cv_member_struct_tm_tm_zone = yes; then -- --cat >>confdefs.h <<_ACEOF --#define HAVE_STRUCT_TM_TM_ZONE 1 --_ACEOF -- -- --fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 -+$as_echo "$ac_cv_header_time" >&6; } -+if test $ac_cv_header_time = yes; then - --if test "$ac_cv_member_struct_tm_tm_zone" = yes; then -+$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h - --cat >>confdefs.h <<\_ACEOF --#define HAVE_TM_ZONE 1 --_ACEOF -+fi - -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 -+$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } -+if test "${ac_cv_struct_tm+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- { echo "$as_me:$LINENO: checking whether tzname is declared" >&5 --echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; } --if test "${ac_cv_have_decl_tzname+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ -+#include - #include - - int - main () - { --#ifndef tzname -- (void) tzname; --#endif -- -+struct tm tm; -+ int *p = &tm.tm_sec; -+ return !p; - ; - return 0; - } - _ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_cv_have_decl_tzname=yes -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_struct_tm=time.h - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_have_decl_tzname=no -+ ac_cv_struct_tm=sys/time.h - fi -- - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi --{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5 --echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; } --if test $ac_cv_have_decl_tzname = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 -+$as_echo "$ac_cv_struct_tm" >&6; } -+if test $ac_cv_struct_tm = sys/time.h; then - --cat >>confdefs.h <<_ACEOF --#define HAVE_DECL_TZNAME 1 --_ACEOF -+$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h - -+fi - --else -- cat >>confdefs.h <<_ACEOF --#define HAVE_DECL_TZNAME 0 -+ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include -+#include <$ac_cv_struct_tm> -+ -+" -+if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_STRUCT_TM_TM_ZONE 1 - _ACEOF - - - fi - -+if test "$ac_cv_member_struct_tm_tm_zone" = yes; then -+ -+$as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h - -- { echo "$as_me:$LINENO: checking for tzname" >&5 --echo $ECHO_N "checking for tzname... $ECHO_C" >&6; } --if test "${ac_cv_var_tzname+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 - else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ -+ ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include -+" -+if test "x$ac_cv_have_decl_tzname" = x""yes; then : -+ ac_have_decl=1 -+else -+ ac_have_decl=0 -+fi -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_TZNAME $ac_have_decl - _ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 -+$as_echo_n "checking for tzname... " >&6; } -+if test "${ac_cv_var_tzname+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #include - #if !HAVE_DECL_TZNAME -@@ -20746,57 +15882,30 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_var_tzname=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_var_tzname=no -+ ac_cv_var_tzname=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - fi --{ echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 --echo "${ECHO_T}$ac_cv_var_tzname" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5 -+$as_echo "$ac_cv_var_tzname" >&6; } - if test $ac_cv_var_tzname = yes; then - --cat >>confdefs.h <<\_ACEOF --#define HAVE_TZNAME 1 --_ACEOF -+$as_echo "#define HAVE_TZNAME 1" >>confdefs.h - - fi - fi - - --{ echo "$as_me:$LINENO: checking for timezone variable" >&5 --echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; } --if test "${ac_cv_var_timezone+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5 -+$as_echo_n "checking for timezone variable... " >&6; } -+if test "${ac_cv_var_timezone+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - #include -@@ -20811,52 +15920,26 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -+if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_var_timezone=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_var_timezone=no -+ ac_cv_var_timezone=no - fi -- - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi --{ echo "$as_me:$LINENO: result: $ac_cv_var_timezone" >&5 --echo "${ECHO_T}$ac_cv_var_timezone" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_timezone" >&5 -+$as_echo "$ac_cv_var_timezone" >&6; } - if test $ac_cv_var_timezone = yes; then - --cat >>confdefs.h <<\_ACEOF --#define HAVE_TIMEZONE --_ACEOF -+$as_echo "#define HAVE_TIMEZONE /**/" >>confdefs.h - - else -- { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5 --echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; } --if test "${ac_cv_struct_tm_gmtoff+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5 -+$as_echo_n "checking for tm_gmtoff in struct tm... " >&6; } -+if test "${ac_cv_struct_tm_gmtoff+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - #include -@@ -20872,58 +15955,30 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -+if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_struct_tm_gmtoff=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_struct_tm_gmtoff=no -+ ac_cv_struct_tm_gmtoff=no - - fi -- - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi --{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm_gmtoff" >&5 --echo "${ECHO_T}$ac_cv_struct_tm_gmtoff" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_gmtoff" >&5 -+$as_echo "$ac_cv_struct_tm_gmtoff" >&6; } - if test $ac_cv_struct_tm_gmtoff = yes; then - --cat >>confdefs.h <<\_ACEOF --#define HAVE_TM_GMTOFF --_ACEOF -+$as_echo "#define HAVE_TM_GMTOFF /**/" >>confdefs.h - - else -- { { echo "$as_me:$LINENO: error: unable to find a way to determine timezone" >&5 --echo "$as_me: error: unable to find a way to determine timezone" >&2;} -- { (exit 1); exit 1; }; } -+ as_fn_error "unable to find a way to determine timezone" "$LINENO" 5 - fi - fi --{ echo "$as_me:$LINENO: checking for daylight external" >&5 --echo $ECHO_N "checking for daylight external... $ECHO_C" >&6; } --if test "${mb_cv_var_daylight+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight external" >&5 -+$as_echo_n "checking for daylight external... " >&6; } -+if test "${mb_cv_var_daylight+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #include - int -@@ -20934,58 +15989,31 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - mb_cv_var_daylight=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- mb_cv_var_daylight=no -+ mb_cv_var_daylight=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - - fi --{ echo "$as_me:$LINENO: result: $mb_cv_var_daylight" >&5 --echo "${ECHO_T}$mb_cv_var_daylight" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mb_cv_var_daylight" >&5 -+$as_echo "$mb_cv_var_daylight" >&6; } - if test $mb_cv_var_daylight = yes; then - --cat >>confdefs.h <<\_ACEOF --#define HAVE_DAYLIGHT 1 --_ACEOF -+$as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h - - fi - --{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 --echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; } --if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 -+$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } -+if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-lnsl $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -21003,55 +16031,30 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_nsl_gethostbyname=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_nsl_gethostbyname=no -+ ac_cv_lib_nsl_gethostbyname=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 --echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; } --if test $ac_cv_lib_nsl_gethostbyname = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 -+$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } -+if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : - LIBNSL="-lnsl" - fi - - --{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 --echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; } --if test "${ac_cv_lib_socket_socket+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 -+$as_echo_n "checking for socket in -lsocket... " >&6; } -+if test "${ac_cv_lib_socket_socket+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-lsocket $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -21069,55 +16072,30 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_socket_socket=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_socket_socket=no -+ ac_cv_lib_socket_socket=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 --echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; } --if test $ac_cv_lib_socket_socket = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 -+$as_echo "$ac_cv_lib_socket_socket" >&6; } -+if test "x$ac_cv_lib_socket_socket" = x""yes; then : - LIBSOCKET="-lsocket" - fi - - --{ echo "$as_me:$LINENO: checking for rint in -lm" >&5 --echo $ECHO_N "checking for rint in -lm... $ECHO_C" >&6; } --if test "${ac_cv_lib_m_rint+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rint in -lm" >&5 -+$as_echo_n "checking for rint in -lm... " >&6; } -+if test "${ac_cv_lib_m_rint+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-lm $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -21135,55 +16113,30 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_m_rint=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_m_rint=no -+ ac_cv_lib_m_rint=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_rint" >&5 --echo "${ECHO_T}$ac_cv_lib_m_rint" >&6; } --if test $ac_cv_lib_m_rint = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_rint" >&5 -+$as_echo "$ac_cv_lib_m_rint" >&6; } -+if test "x$ac_cv_lib_m_rint" = x""yes; then : - LIBM="-lm" - fi - - --{ echo "$as_me:$LINENO: checking for open in -lc" >&5 --echo $ECHO_N "checking for open in -lc... $ECHO_C" >&6; } --if test "${ac_cv_lib_c_open+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for open in -lc" >&5 -+$as_echo_n "checking for open in -lc... " >&6; } -+if test "${ac_cv_lib_c_open+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-lc $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -21201,55 +16154,30 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_c_open=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_c_open=no -+ ac_cv_lib_c_open=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_open" >&5 --echo "${ECHO_T}$ac_cv_lib_c_open" >&6; } --if test $ac_cv_lib_c_open = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_open" >&5 -+$as_echo "$ac_cv_lib_c_open" >&6; } -+if test "x$ac_cv_lib_c_open" = x""yes; then : - LIBC="-lc" - fi - - --{ echo "$as_me:$LINENO: checking for pthread_setcancelstate in -lpthread" >&5 --echo $ECHO_N "checking for pthread_setcancelstate in -lpthread... $ECHO_C" >&6; } --if test "${ac_cv_lib_pthread_pthread_setcancelstate+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setcancelstate in -lpthread" >&5 -+$as_echo_n "checking for pthread_setcancelstate in -lpthread... " >&6; } -+if test "${ac_cv_lib_pthread_pthread_setcancelstate+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-lpthread $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -21267,44 +16195,21 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_pthread_pthread_setcancelstate=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_pthread_pthread_setcancelstate=no -+ ac_cv_lib_pthread_pthread_setcancelstate=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_setcancelstate" >&5 --echo "${ECHO_T}$ac_cv_lib_pthread_pthread_setcancelstate" >&6; } --if test $ac_cv_lib_pthread_pthread_setcancelstate = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setcancelstate" >&5 -+$as_echo "$ac_cv_lib_pthread_pthread_setcancelstate" >&6; } -+if test "x$ac_cv_lib_pthread_pthread_setcancelstate" = x""yes; then : - LIBPTHREAD="-lpthread" - --cat >>confdefs.h <<\_ACEOF --#define HAVE_LIBPTHREAD --_ACEOF -+$as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h - - fi - -@@ -21312,145 +16217,17 @@ - - - -- - ac_x="no" - if test x"$with_x" != "xno" -a x"$have_x" != "xdisabled" - then -- -- --for ac_header in X11/xpm.h xpm.h --do --as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- { echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --fi --ac_res=`eval echo '${'$as_ac_Header'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } --else -- # Is the header compilable? --{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 --echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default --#include <$ac_header> --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_header_compiler=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_header_compiler=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 --echo "${ECHO_T}$ac_header_compiler" >&6; } -- --# Is the header present? --{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 --echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include <$ac_header> --_ACEOF --if { (ac_try="$ac_cpp conftest.$ac_ext" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null && { -- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || -- test ! -s conftest.err -- }; then -- ac_header_preproc=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_header_preproc=no --fi -- --rm -f conftest.err conftest.$ac_ext --{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 --echo "${ECHO_T}$ac_header_preproc" >&6; } -- --# So? What about this header? --case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in -- yes:no: ) -- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 --echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 --echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} -- ac_header_preproc=yes -- ;; -- no:yes:* ) -- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 --echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 --echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 --echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 --echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 --echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 --echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} -- -- ;; --esac --{ echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- eval "$as_ac_Header=\$ac_header_preproc" --fi --ac_res=`eval echo '${'$as_ac_Header'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } -- --fi --if test `eval echo '${'$as_ac_Header'}'` = yes; then -+ for ac_header in X11/xpm.h xpm.h -+do : -+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -+eval as_val=\$$as_ac_Header -+ if test "x$as_val" = x""yes; then : - cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 -+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 - _ACEOF - - fi -@@ -21459,15 +16236,15 @@ - - if test x"$ac_cv_header_X11_xpm_h" = "xno" && - test x"$ac_cv_header_xpm_h" = "xno"; then -- { echo "$as_me:$LINENO: WARNING: xpm.h problem - xgps won't be built." >&5 --echo "$as_me: WARNING: xpm.h problem - xgps won't be built." >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xpm.h problem - xgps won't be built." >&5 -+$as_echo "$as_me: WARNING: xpm.h problem - xgps won't be built." >&2;} - fi -- { echo "$as_me:$LINENO: checking for X" >&5 --echo $ECHO_N "checking for X... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 -+$as_echo_n "checking for X... " >&6; } - - - # Check whether --with-x was given. --if test "${with_x+set}" = set; then -+if test "${with_x+set}" = set; then : - withval=$with_x; - fi - -@@ -21477,11 +16254,9 @@ - have_x=disabled - else - case $x_includes,$x_libraries in #( -- *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 --echo "$as_me: error: Cannot use X directory names containing '" >&2;} -- { (exit 1); exit 1; }; };; #( -- *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( -+ *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - # One or both of the vars are not set, and there is no cached value. - ac_x_includes=no ac_x_libraries=no -@@ -21502,7 +16277,7 @@ - eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" - done - # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. -- for ac_extension in a so sl; do -+ for ac_extension in a so sl dylib la dll; do - if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && - test -f "$ac_im_libdir/libX11.$ac_extension"; then - ac_im_usrlibdir=$ac_im_libdir; break -@@ -21516,7 +16291,7 @@ - *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; - esac - case $ac_im_usrlibdir in -- /usr/lib | /lib) ;; -+ /usr/lib | /usr/lib64 | /lib | /lib64) ;; - *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; - esac - fi -@@ -21528,21 +16303,25 @@ - # Check X11 before X11Rn because it is often a symlink to the current release. - ac_x_header_dirs=' - /usr/X11/include -+/usr/X11R7/include - /usr/X11R6/include - /usr/X11R5/include - /usr/X11R4/include - - /usr/include/X11 -+/usr/include/X11R7 - /usr/include/X11R6 - /usr/include/X11R5 - /usr/include/X11R4 - - /usr/local/X11/include -+/usr/local/X11R7/include - /usr/local/X11R6/include - /usr/local/X11R5/include - /usr/local/X11R4/include - - /usr/local/include/X11 -+/usr/local/include/X11R7 - /usr/local/include/X11R6 - /usr/local/include/X11R5 - /usr/local/include/X11R4 -@@ -21564,36 +16343,14 @@ - if test "$ac_x_includes" = no; then - # Guess where to find include files, by looking for Xlib.h. - # First, try using that file with no special directory specified. -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #include - _ACEOF --if { (ac_try="$ac_cpp conftest.$ac_ext" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null && { -- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || -- test ! -s conftest.err -- }; then -+if ac_fn_c_try_cpp "$LINENO"; then : - # We can compile using X headers with no special include directory. - ac_x_includes= - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- - for ac_dir in $ac_x_header_dirs; do - if test -r "$ac_dir/X11/Xlib.h"; then - ac_x_includes=$ac_dir -@@ -21601,7 +16358,6 @@ - fi - done - fi -- - rm -f conftest.err conftest.$ac_ext - fi # $ac_x_includes = no - -@@ -21611,11 +16367,7 @@ - # Don't add to $LIBS permanently. - ac_save_LIBS=$LIBS - LIBS="-lX11 $LIBS" -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #include - int -@@ -21626,36 +16378,16 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - LIBS=$ac_save_LIBS - # We can link X programs with no special library path. - ac_x_libraries= - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- LIBS=$ac_save_LIBS --for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` -+ LIBS=$ac_save_LIBS -+for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` - do - # Don't even attempt the hair of trying to link an X program! -- for ac_extension in a so sl; do -+ for ac_extension in a so sl dylib la dll; do - if test -r "$ac_dir/libX11.$ac_extension"; then - ac_x_libraries=$ac_dir - break 2 -@@ -21663,9 +16395,8 @@ - done - done - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - fi # $ac_x_libraries = no - - case $ac_x_includes,$ac_x_libraries in #( -@@ -21686,8 +16417,8 @@ - fi # $with_x != no - - if test "$have_x" != yes; then -- { echo "$as_me:$LINENO: result: $have_x" >&5 --echo "${ECHO_T}$have_x" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 -+$as_echo "$have_x" >&6; } - no_x=yes - else - # If each of the values was on the command line, it overrides each guess. -@@ -21697,16 +16428,14 @@ - ac_cv_have_x="have_x=yes\ - ac_x_includes='$x_includes'\ - ac_x_libraries='$x_libraries'" -- { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 --echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 -+$as_echo "libraries $x_libraries, headers $x_includes" >&6; } - fi - - if test "$no_x" = yes; then - # Not all programs may use this symbol, but it does not hurt to define it. - --cat >>confdefs.h <<\_ACEOF --#define X_DISPLAY_MISSING 1 --_ACEOF -+$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h - - X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= - else -@@ -21719,57 +16448,29 @@ - X_LIBS="$X_LIBS -L$x_libraries" - # For Solaris; some versions of Sun CC require a space after -R and - # others require no space. Words are not sufficient . . . . -- { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5 --echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 -+$as_echo_n "checking whether -R must be followed by a space... " >&6; } - ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" - ac_xsave_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - --int --main () --{ -- -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -- X_LIBS="$X_LIBS -R$x_libraries" --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+int -+main () -+{ - -- LIBS="$ac_xsave_LIBS -R $x_libraries" -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ -+ ; -+ return 0; -+} - _ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+ X_LIBS="$X_LIBS -R$x_libraries" -+else -+ LIBS="$ac_xsave_LIBS -R $x_libraries" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - int -@@ -21780,41 +16481,19 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+if ac_fn_c_try_link "$LINENO"; then : -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - X_LIBS="$X_LIBS -R $x_libraries" - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- { echo "$as_me:$LINENO: result: neither works" >&5 --echo "${ECHO_T}neither works" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 -+$as_echo "neither works" >&6; } - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - ac_c_werror_flag=$ac_xsave_c_werror_flag - LIBS=$ac_xsave_LIBS - fi -@@ -21830,11 +16509,7 @@ - # libraries were built with DECnet support. And Karl Berry says - # the Alpha needs dnet_stub (dnet does not exist). - ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -21852,41 +16527,17 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- : --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -+if ac_fn_c_try_link "$LINENO"; then : - -- { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 --echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; } --if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 -+$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } -+if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-ldnet $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -21904,55 +16555,30 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_dnet_dnet_ntoa=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_dnet_dnet_ntoa=no -+ ac_cv_lib_dnet_dnet_ntoa=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 --echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; } --if test $ac_cv_lib_dnet_dnet_ntoa = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 -+$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } -+if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : - X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" - fi - - if test $ac_cv_lib_dnet_dnet_ntoa = no; then -- { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5 --echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; } --if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 -+$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } -+if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-ldnet_stub $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -21970,376 +16596,49 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_dnet_stub_dnet_ntoa=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_dnet_stub_dnet_ntoa=no -+ ac_cv_lib_dnet_stub_dnet_ntoa=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 --echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } --if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 -+$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } -+if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then : - X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" - fi - - fi - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS="$ac_xsave_LIBS" - - # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, - # to get the SysV transport functions. - # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) -- # needs -lnsl. -- # The nsl library prevents programs from opening the X display -- # on Irix 5.2, according to T.E. Dickey. -- # The functions gethostbyname, getservbyname, and inet_addr are -- # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. -- { echo "$as_me:$LINENO: checking for gethostbyname" >&5 --echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; } --if test "${ac_cv_func_gethostbyname+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --/* Define gethostbyname to an innocuous variant, in case declares gethostbyname. -- For example, HP-UX 11i declares gettimeofday. */ --#define gethostbyname innocuous_gethostbyname -- --/* System header to define __stub macros and hopefully few prototypes, -- which can conflict with char gethostbyname (); below. -- Prefer to if __STDC__ is defined, since -- exists even on freestanding compilers. */ -- --#ifdef __STDC__ --# include --#else --# include --#endif -- --#undef gethostbyname -- --/* Override any GCC internal prototype to avoid an error. -- Use char because int might match the return type of a GCC -- builtin and then its argument prototype would still apply. */ --#ifdef __cplusplus --extern "C" --#endif --char gethostbyname (); --/* The GNU C library defines this for functions which it implements -- to always fail with ENOSYS. Some functions are actually named -- something starting with __ and the normal name is an alias. */ --#if defined __stub_gethostbyname || defined __stub___gethostbyname --choke me --#endif -- --int --main () --{ --return gethostbyname (); -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- ac_cv_func_gethostbyname=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_func_gethostbyname=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext --fi --{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 --echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; } -- -- if test $ac_cv_func_gethostbyname = no; then -- { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 --echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; } --if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- ac_check_lib_save_LIBS=$LIBS --LIBS="-lnsl $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ -- --/* Override any GCC internal prototype to avoid an error. -- Use char because int might match the return type of a GCC -- builtin and then its argument prototype would still apply. */ --#ifdef __cplusplus --extern "C" --#endif --char gethostbyname (); --int --main () --{ --return gethostbyname (); -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- ac_cv_lib_nsl_gethostbyname=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_nsl_gethostbyname=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext --LIBS=$ac_check_lib_save_LIBS --fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 --echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; } --if test $ac_cv_lib_nsl_gethostbyname = yes; then -- X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" --fi -- -- if test $ac_cv_lib_nsl_gethostbyname = no; then -- { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5 --echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; } --if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- ac_check_lib_save_LIBS=$LIBS --LIBS="-lbsd $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ -- --/* Override any GCC internal prototype to avoid an error. -- Use char because int might match the return type of a GCC -- builtin and then its argument prototype would still apply. */ --#ifdef __cplusplus --extern "C" --#endif --char gethostbyname (); --int --main () --{ --return gethostbyname (); -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- ac_cv_lib_bsd_gethostbyname=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_bsd_gethostbyname=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext --LIBS=$ac_check_lib_save_LIBS --fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5 --echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; } --if test $ac_cv_lib_bsd_gethostbyname = yes; then -- X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" --fi -- -- fi -- fi -- -- # lieder@skyler.mavd.honeywell.com says without -lsocket, -- # socket/setsockopt and other routines are undefined under SCO ODT -- # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary -- # on later versions), says Simon Leinen: it contains gethostby* -- # variants that don't use the name server (or something). -lsocket -- # must be given before -lnsl if both are needed. We assume that -- # if connect needs -lnsl, so does gethostbyname. -- { echo "$as_me:$LINENO: checking for connect" >&5 --echo $ECHO_N "checking for connect... $ECHO_C" >&6; } --if test "${ac_cv_func_connect+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --/* Define connect to an innocuous variant, in case declares connect. -- For example, HP-UX 11i declares gettimeofday. */ --#define connect innocuous_connect -- --/* System header to define __stub macros and hopefully few prototypes, -- which can conflict with char connect (); below. -- Prefer to if __STDC__ is defined, since -- exists even on freestanding compilers. */ -- --#ifdef __STDC__ --# include --#else --# include --#endif -- --#undef connect -- --/* Override any GCC internal prototype to avoid an error. -- Use char because int might match the return type of a GCC -- builtin and then its argument prototype would still apply. */ --#ifdef __cplusplus --extern "C" --#endif --char connect (); --/* The GNU C library defines this for functions which it implements -- to always fail with ENOSYS. Some functions are actually named -- something starting with __ and the normal name is an alias. */ --#if defined __stub_connect || defined __stub___connect --choke me --#endif -- --int --main () --{ --return connect (); -- ; -- return 0; --} --_ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- ac_cv_func_connect=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_func_connect=no --fi -+ # needs -lnsl. -+ # The nsl library prevents programs from opening the X display -+ # on Irix 5.2, according to T.E. Dickey. -+ # The functions gethostbyname, getservbyname, and inet_addr are -+ # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. -+ ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" -+if test "x$ac_cv_func_gethostbyname" = x""yes; then : - --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext - fi --{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 --echo "${ECHO_T}$ac_cv_func_connect" >&6; } - -- if test $ac_cv_func_connect = no; then -- { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 --echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; } --if test "${ac_cv_lib_socket_connect+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ if test $ac_cv_func_gethostbyname = no; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 -+$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } -+if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS --LIBS="-lsocket $X_EXTRA_LIBS $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+LIBS="-lnsl $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -22348,81 +16647,40 @@ - #ifdef __cplusplus - extern "C" - #endif --char connect (); -+char gethostbyname (); - int - main () - { --return connect (); -+return gethostbyname (); - ; - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- ac_cv_lib_socket_connect=yes -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_nsl_gethostbyname=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_socket_connect=no -+ ac_cv_lib_nsl_gethostbyname=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 --echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; } --if test $ac_cv_lib_socket_connect = yes; then -- X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 -+$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } -+if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : -+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" - fi - -- fi -- -- # Guillermo Gomez says -lposix is necessary on A/UX. -- { echo "$as_me:$LINENO: checking for remove" >&5 --echo $ECHO_N "checking for remove... $ECHO_C" >&6; } --if test "${ac_cv_func_remove+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ if test $ac_cv_lib_nsl_gethostbyname = no; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 -+$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } -+if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-lbsd $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ --/* Define remove to an innocuous variant, in case declares remove. -- For example, HP-UX 11i declares gettimeofday. */ --#define remove innocuous_remove -- --/* System header to define __stub macros and hopefully few prototypes, -- which can conflict with char remove (); below. -- Prefer to if __STDC__ is defined, since -- exists even on freestanding compilers. */ -- --#ifdef __STDC__ --# include --#else --# include --#endif -- --#undef remove - - /* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC -@@ -22430,67 +16688,54 @@ - #ifdef __cplusplus - extern "C" - #endif --char remove (); --/* The GNU C library defines this for functions which it implements -- to always fail with ENOSYS. Some functions are actually named -- something starting with __ and the normal name is an alias. */ --#if defined __stub_remove || defined __stub___remove --choke me --#endif -- -+char gethostbyname (); - int - main () - { --return remove (); -+return gethostbyname (); - ; - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- ac_cv_func_remove=yes -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_bsd_gethostbyname=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_func_remove=no -+ ac_cv_lib_bsd_gethostbyname=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 -+$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } -+if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then : -+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" - fi - --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+ fi -+ fi -+ -+ # lieder@skyler.mavd.honeywell.com says without -lsocket, -+ # socket/setsockopt and other routines are undefined under SCO ODT -+ # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary -+ # on later versions), says Simon Leinen: it contains gethostby* -+ # variants that don't use the name server (or something). -lsocket -+ # must be given before -lnsl if both are needed. We assume that -+ # if connect needs -lnsl, so does gethostbyname. -+ ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" -+if test "x$ac_cv_func_connect" = x""yes; then : -+ - fi --{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5 --echo "${ECHO_T}$ac_cv_func_remove" >&6; } - -- if test $ac_cv_func_remove = no; then -- { echo "$as_me:$LINENO: checking for remove in -lposix" >&5 --echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; } --if test "${ac_cv_lib_posix_remove+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ if test $ac_cv_func_connect = no; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 -+$as_echo_n "checking for connect in -lsocket... " >&6; } -+if test "${ac_cv_lib_socket_connect+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS --LIBS="-lposix $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+LIBS="-lsocket $X_EXTRA_LIBS $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -22499,81 +16744,48 @@ - #ifdef __cplusplus - extern "C" - #endif --char remove (); -+char connect (); - int - main () - { --return remove (); -+return connect (); - ; - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- ac_cv_lib_posix_remove=yes -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_socket_connect=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_posix_remove=no -+ ac_cv_lib_socket_connect=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5 --echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; } --if test $ac_cv_lib_posix_remove = yes; then -- X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 -+$as_echo "$ac_cv_lib_socket_connect" >&6; } -+if test "x$ac_cv_lib_socket_connect" = x""yes; then : -+ X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" - fi - - fi - -- # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. -- { echo "$as_me:$LINENO: checking for shmat" >&5 --echo $ECHO_N "checking for shmat... $ECHO_C" >&6; } --if test "${ac_cv_func_shmat+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --/* Define shmat to an innocuous variant, in case declares shmat. -- For example, HP-UX 11i declares gettimeofday. */ --#define shmat innocuous_shmat -- --/* System header to define __stub macros and hopefully few prototypes, -- which can conflict with char shmat (); below. -- Prefer to if __STDC__ is defined, since -- exists even on freestanding compilers. */ -+ # Guillermo Gomez says -lposix is necessary on A/UX. -+ ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove" -+if test "x$ac_cv_func_remove" = x""yes; then : - --#ifdef __STDC__ --# include --#else --# include --#endif -+fi - --#undef shmat -+ if test $ac_cv_func_remove = no; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 -+$as_echo_n "checking for remove in -lposix... " >&6; } -+if test "${ac_cv_lib_posix_remove+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-lposix $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC -@@ -22581,67 +16793,47 @@ - #ifdef __cplusplus - extern "C" - #endif --char shmat (); --/* The GNU C library defines this for functions which it implements -- to always fail with ENOSYS. Some functions are actually named -- something starting with __ and the normal name is an alias. */ --#if defined __stub_shmat || defined __stub___shmat --choke me --#endif -- -+char remove (); - int - main () - { --return shmat (); -+return remove (); - ; - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- ac_cv_func_shmat=yes -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_posix_remove=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_func_shmat=no -+ ac_cv_lib_posix_remove=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS - fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 -+$as_echo "$ac_cv_lib_posix_remove" >&6; } -+if test "x$ac_cv_lib_posix_remove" = x""yes; then : -+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" -+fi -+ -+ fi -+ -+ # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. -+ ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" -+if test "x$ac_cv_func_shmat" = x""yes; then : - --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext - fi --{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5 --echo "${ECHO_T}$ac_cv_func_shmat" >&6; } - - if test $ac_cv_func_shmat = no; then -- { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5 --echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; } --if test "${ac_cv_lib_ipc_shmat+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 -+$as_echo_n "checking for shmat in -lipc... " >&6; } -+if test "${ac_cv_lib_ipc_shmat+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-lipc $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -22659,39 +16851,18 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_ipc_shmat=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_ipc_shmat=no -+ ac_cv_lib_ipc_shmat=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5 --echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; } --if test $ac_cv_lib_ipc_shmat = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 -+$as_echo "$ac_cv_lib_ipc_shmat" >&6; } -+if test "x$ac_cv_lib_ipc_shmat" = x""yes; then : - X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" - fi - -@@ -22707,18 +16878,14 @@ - # These have to be linked with before -lX11, unlike the other - # libraries we check for below, so use a different variable. - # John Interrante, Karl Berry -- { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5 --echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; } --if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 -+$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } -+if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-lICE $X_EXTRA_LIBS $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -22736,39 +16903,18 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_ICE_IceConnectionNumber=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_ICE_IceConnectionNumber=no -+ ac_cv_lib_ICE_IceConnectionNumber=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 --echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; } --if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 -+$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } -+if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then : - X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" - fi - -@@ -22777,8 +16923,8 @@ - fi - - if test x"$ac_cv_have_x" = "xno"; then -- { echo "$as_me:$LINENO: WARNING: X problem - xgps won't be built." >&5 --echo "$as_me: WARNING: X problem - xgps won't be built." >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: X problem - xgps won't be built." >&5 -+$as_echo "$as_me: WARNING: X problem - xgps won't be built." >&2;} - fi - LIBS="$LIBS $X_EXTRA_LIBS" - CFLAGS="$CFLAGS $X_CFLAGS" -@@ -22788,18 +16934,14 @@ - - - -- { echo "$as_me:$LINENO: checking for XtToolkitInitialize in -lXt" >&5 --echo $ECHO_N "checking for XtToolkitInitialize in -lXt... $ECHO_C" >&6; } --if test "${ac_cv_lib_Xt_XtToolkitInitialize+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XtToolkitInitialize in -lXt" >&5 -+$as_echo_n "checking for XtToolkitInitialize in -lXt... " >&6; } -+if test "${ac_cv_lib_Xt_XtToolkitInitialize+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-lXt ${X_PRE_LIBS} ${X11_LIBS} $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -22817,191 +16959,42 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -- ac_cv_lib_Xt_XtToolkitInitialize=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_Xt_XtToolkitInitialize=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext --LIBS=$ac_check_lib_save_LIBS --fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_XtToolkitInitialize" >&5 --echo "${ECHO_T}$ac_cv_lib_Xt_XtToolkitInitialize" >&6; } --if test $ac_cv_lib_Xt_XtToolkitInitialize = yes; then -- XT_LIBS="-lXt" --fi -- -- -- if test x"$ac_cv_lib_Xt_XtToolkitInitialize" = "xno"; then -- { echo "$as_me:$LINENO: WARNING: libXt problem - xgps won't be built." >&5 --echo "$as_me: WARNING: libXt problem - xgps won't be built." >&2;} -- fi -- if test "${ac_cv_header_X11_Xaw_Label_h+set}" = set; then -- { echo "$as_me:$LINENO: checking for X11/Xaw/Label.h" >&5 --echo $ECHO_N "checking for X11/Xaw/Label.h... $ECHO_C" >&6; } --if test "${ac_cv_header_X11_Xaw_Label_h+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --fi --{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw_Label_h" >&5 --echo "${ECHO_T}$ac_cv_header_X11_Xaw_Label_h" >&6; } --else -- # Is the header compilable? --{ echo "$as_me:$LINENO: checking X11/Xaw/Label.h usability" >&5 --echo $ECHO_N "checking X11/Xaw/Label.h usability... $ECHO_C" >&6; } --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default --#include --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_header_compiler=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_header_compiler=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 --echo "${ECHO_T}$ac_header_compiler" >&6; } -- --# Is the header present? --{ echo "$as_me:$LINENO: checking X11/Xaw/Label.h presence" >&5 --echo $ECHO_N "checking X11/Xaw/Label.h presence... $ECHO_C" >&6; } --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include --_ACEOF --if { (ac_try="$ac_cpp conftest.$ac_ext" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null && { -- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || -- test ! -s conftest.err -- }; then -- ac_header_preproc=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_header_preproc=no --fi -- --rm -f conftest.err conftest.$ac_ext --{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 --echo "${ECHO_T}$ac_header_preproc" >&6; } -- --# So? What about this header? --case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in -- yes:no: ) -- { echo "$as_me:$LINENO: WARNING: X11/Xaw/Label.h: accepted by the compiler, rejected by the preprocessor!" >&5 --echo "$as_me: WARNING: X11/Xaw/Label.h: accepted by the compiler, rejected by the preprocessor!" >&2;} -- { echo "$as_me:$LINENO: WARNING: X11/Xaw/Label.h: proceeding with the compiler's result" >&5 --echo "$as_me: WARNING: X11/Xaw/Label.h: proceeding with the compiler's result" >&2;} -- ac_header_preproc=yes -- ;; -- no:yes:* ) -- { echo "$as_me:$LINENO: WARNING: X11/Xaw/Label.h: present but cannot be compiled" >&5 --echo "$as_me: WARNING: X11/Xaw/Label.h: present but cannot be compiled" >&2;} -- { echo "$as_me:$LINENO: WARNING: X11/Xaw/Label.h: check for missing prerequisite headers?" >&5 --echo "$as_me: WARNING: X11/Xaw/Label.h: check for missing prerequisite headers?" >&2;} -- { echo "$as_me:$LINENO: WARNING: X11/Xaw/Label.h: see the Autoconf documentation" >&5 --echo "$as_me: WARNING: X11/Xaw/Label.h: see the Autoconf documentation" >&2;} -- { echo "$as_me:$LINENO: WARNING: X11/Xaw/Label.h: section \"Present But Cannot Be Compiled\"" >&5 --echo "$as_me: WARNING: X11/Xaw/Label.h: section \"Present But Cannot Be Compiled\"" >&2;} -- { echo "$as_me:$LINENO: WARNING: X11/Xaw/Label.h: proceeding with the preprocessor's result" >&5 --echo "$as_me: WARNING: X11/Xaw/Label.h: proceeding with the preprocessor's result" >&2;} -- { echo "$as_me:$LINENO: WARNING: X11/Xaw/Label.h: in the future, the compiler will take precedence" >&5 --echo "$as_me: WARNING: X11/Xaw/Label.h: in the future, the compiler will take precedence" >&2;} -- -- ;; --esac --{ echo "$as_me:$LINENO: checking for X11/Xaw/Label.h" >&5 --echo $ECHO_N "checking for X11/Xaw/Label.h... $ECHO_C" >&6; } --if test "${ac_cv_header_X11_Xaw_Label_h+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_Xt_XtToolkitInitialize=yes - else -- ac_cv_header_X11_Xaw_Label_h=$ac_header_preproc -+ ac_cv_lib_Xt_XtToolkitInitialize=no - fi --{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw_Label_h" >&5 --echo "${ECHO_T}$ac_cv_header_X11_Xaw_Label_h" >&6; } -- -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS - fi --if test $ac_cv_header_X11_Xaw_Label_h = yes; then -- : -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xt_XtToolkitInitialize" >&5 -+$as_echo "$ac_cv_lib_Xt_XtToolkitInitialize" >&6; } -+if test "x$ac_cv_lib_Xt_XtToolkitInitialize" = x""yes; then : -+ XT_LIBS="-lXt" -+fi -+ -+ -+ if test x"$ac_cv_lib_Xt_XtToolkitInitialize" = "xno"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libXt problem - xgps won't be built." >&5 -+$as_echo "$as_me: WARNING: libXt problem - xgps won't be built." >&2;} -+ fi -+ ac_fn_c_check_header_mongrel "$LINENO" "X11/Xaw/Label.h" "ac_cv_header_X11_Xaw_Label_h" "$ac_includes_default" -+if test "x$ac_cv_header_X11_Xaw_Label_h" = x""yes; then : -+ - else - motif_includes="no" - fi - - -- { echo "$as_me:$LINENO: checking for XawInitializeWidgetSet in -lXaw8" >&5 --echo $ECHO_N "checking for XawInitializeWidgetSet in -lXaw8... $ECHO_C" >&6; } --if test "${ac_cv_lib_Xaw8_XawInitializeWidgetSet+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawInitializeWidgetSet in -lXaw8" >&5 -+$as_echo_n "checking for XawInitializeWidgetSet in -lXaw8... " >&6; } -+if test "${ac_cv_lib_Xaw8_XawInitializeWidgetSet+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-lXaw8 ${X_PRE_LIBS} ${X11_LIBS} $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -23019,53 +17012,28 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_Xaw8_XawInitializeWidgetSet=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_Xaw8_XawInitializeWidgetSet=no -+ ac_cv_lib_Xaw8_XawInitializeWidgetSet=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw8_XawInitializeWidgetSet" >&5 --echo "${ECHO_T}$ac_cv_lib_Xaw8_XawInitializeWidgetSet" >&6; } --if test $ac_cv_lib_Xaw8_XawInitializeWidgetSet = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xaw8_XawInitializeWidgetSet" >&5 -+$as_echo "$ac_cv_lib_Xaw8_XawInitializeWidgetSet" >&6; } -+if test "x$ac_cv_lib_Xaw8_XawInitializeWidgetSet" = x""yes; then : - XAW_LIBS="-lXaw8" - else -- { echo "$as_me:$LINENO: checking for XawInitializeWidgetSet in -lXaw7" >&5 --echo $ECHO_N "checking for XawInitializeWidgetSet in -lXaw7... $ECHO_C" >&6; } --if test "${ac_cv_lib_Xaw7_XawInitializeWidgetSet+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawInitializeWidgetSet in -lXaw7" >&5 -+$as_echo_n "checking for XawInitializeWidgetSet in -lXaw7... " >&6; } -+if test "${ac_cv_lib_Xaw7_XawInitializeWidgetSet+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-lXaw7 ${X_PRE_LIBS} ${X11_LIBS} $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -23083,53 +17051,28 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_Xaw7_XawInitializeWidgetSet=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_Xaw7_XawInitializeWidgetSet=no -+ ac_cv_lib_Xaw7_XawInitializeWidgetSet=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw7_XawInitializeWidgetSet" >&5 --echo "${ECHO_T}$ac_cv_lib_Xaw7_XawInitializeWidgetSet" >&6; } --if test $ac_cv_lib_Xaw7_XawInitializeWidgetSet = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xaw7_XawInitializeWidgetSet" >&5 -+$as_echo "$ac_cv_lib_Xaw7_XawInitializeWidgetSet" >&6; } -+if test "x$ac_cv_lib_Xaw7_XawInitializeWidgetSet" = x""yes; then : - XAW_LIBS="-lXaw7" - else -- { echo "$as_me:$LINENO: checking for XawInitializeWidgetSet in -lXaw" >&5 --echo $ECHO_N "checking for XawInitializeWidgetSet in -lXaw... $ECHO_C" >&6; } --if test "${ac_cv_lib_Xaw_XawInitializeWidgetSet+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawInitializeWidgetSet in -lXaw" >&5 -+$as_echo_n "checking for XawInitializeWidgetSet in -lXaw... " >&6; } -+if test "${ac_cv_lib_Xaw_XawInitializeWidgetSet+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-lXaw ${X_PRE_LIBS} ${X11_LIBS} $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -23147,39 +17090,18 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_Xaw_XawInitializeWidgetSet=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_Xaw_XawInitializeWidgetSet=no -+ ac_cv_lib_Xaw_XawInitializeWidgetSet=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw_XawInitializeWidgetSet" >&5 --echo "${ECHO_T}$ac_cv_lib_Xaw_XawInitializeWidgetSet" >&6; } --if test $ac_cv_lib_Xaw_XawInitializeWidgetSet = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xaw_XawInitializeWidgetSet" >&5 -+$as_echo "$ac_cv_lib_Xaw_XawInitializeWidgetSet" >&6; } -+if test "x$ac_cv_lib_Xaw_XawInitializeWidgetSet" = x""yes; then : - XAW_LIBS="-lXaw" - fi - -@@ -23189,8 +17111,8 @@ - - - if test x"$XAW_LIBS" = "x"; then -- { echo "$as_me:$LINENO: WARNING: libXaw problem - xgpsspeed won't be built." >&5 --echo "$as_me: WARNING: libXaw problem - xgpsspeed won't be built." >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libXaw problem - xgpsspeed won't be built." >&5 -+$as_echo "$as_me: WARNING: libXaw problem - xgpsspeed won't be built." >&2;} - if false; then - HAVE_XAW_TRUE= - HAVE_XAW_FALSE='#' -@@ -23209,18 +17131,14 @@ - fi - - fi -- { echo "$as_me:$LINENO: checking for XShapeQueryVersion in -lXext" >&5 --echo $ECHO_N "checking for XShapeQueryVersion in -lXext... $ECHO_C" >&6; } --if test "${ac_cv_lib_Xext_XShapeQueryVersion+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryVersion in -lXext" >&5 -+$as_echo_n "checking for XShapeQueryVersion in -lXext... " >&6; } -+if test "${ac_cv_lib_Xext_XShapeQueryVersion+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-lXext ${X_PRE_LIBS} ${X11_LIBS} $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -23238,59 +17156,34 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_Xext_XShapeQueryVersion=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_Xext_XShapeQueryVersion=no -+ ac_cv_lib_Xext_XShapeQueryVersion=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryVersion" >&5 --echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryVersion" >&6; } --if test $ac_cv_lib_Xext_XShapeQueryVersion = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryVersion" >&5 -+$as_echo "$ac_cv_lib_Xext_XShapeQueryVersion" >&6; } -+if test "x$ac_cv_lib_Xext_XShapeQueryVersion" = x""yes; then : - XEXT_LIBS="-lXext" - fi - - - if test x"$ac_cv_lib_Xext_XShapeQueryVersion" = "xno"; then -- { echo "$as_me:$LINENO: WARNING: libXext problem - xgps won't be built." >&5 --echo "$as_me: WARNING: libXext problem - xgps won't be built." >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libXext problem - xgps won't be built." >&5 -+$as_echo "$as_me: WARNING: libXext problem - xgps won't be built." >&2;} - fi -- { echo "$as_me:$LINENO: checking for XpmCreatePixmapFromXpmImage in -lXpm" >&5 --echo $ECHO_N "checking for XpmCreatePixmapFromXpmImage in -lXpm... $ECHO_C" >&6; } --if test "${ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmCreatePixmapFromXpmImage in -lXpm" >&5 -+$as_echo_n "checking for XpmCreatePixmapFromXpmImage in -lXpm... " >&6; } -+if test "${ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-lXpm ${X_PRE_LIBS} ${X11_LIBS} $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -23308,69 +17201,42 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage=no -+ ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage" >&5 --echo "${ECHO_T}$ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage" >&6; } --if test $ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage" >&5 -+$as_echo "$ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage" >&6; } -+if test "x$ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage" = x""yes; then : - XPM_LIBS="-lXpm" - --cat >>confdefs.h <<\_ACEOF --#define HAVE_XPM 1 --_ACEOF -+$as_echo "#define HAVE_XPM 1" >>confdefs.h - - fi - - - if test x"$ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage" = "xno"; then -- { echo "$as_me:$LINENO: WARNING: libXpm problem - xgps won't be built." >&5 --echo "$as_me: WARNING: libXpm problem - xgps won't be built." >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libXpm problem - xgps won't be built." >&5 -+$as_echo "$as_me: WARNING: libXpm problem - xgps won't be built." >&2;} - fi - - XM_LIBS="" - XP_LIBS="" - if test "$motif_includes" != "no" -a "$motif_libraries" != "no" - then -- { echo "$as_me:$LINENO: checking for XpSelectInput in -lXp" >&5 --echo $ECHO_N "checking for XpSelectInput in -lXp... $ECHO_C" >&6; } --if test "${ac_cv_lib_Xp_XpSelectInput+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpSelectInput in -lXp" >&5 -+$as_echo_n "checking for XpSelectInput in -lXp... " >&6; } -+if test "${ac_cv_lib_Xp_XpSelectInput+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-lXp ${X_PRE_LIBS} ${XPM_LIBS} ${XEXT_LIBS} ${XT_LIBS} ${XEXT_LIBS} ${X11_LIBS} ${LIBGEN} $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -23388,59 +17254,32 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_Xp_XpSelectInput=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_Xp_XpSelectInput=no -+ ac_cv_lib_Xp_XpSelectInput=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpSelectInput" >&5 --echo "${ECHO_T}$ac_cv_lib_Xp_XpSelectInput" >&6; } --if test $ac_cv_lib_Xp_XpSelectInput = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpSelectInput" >&5 -+$as_echo "$ac_cv_lib_Xp_XpSelectInput" >&6; } -+if test "x$ac_cv_lib_Xp_XpSelectInput" = x""yes; then : - XP_LIBS="-lXp" - --cat >>confdefs.h <<\_ACEOF --#define HAVE_XP 1 --_ACEOF -+$as_echo "#define HAVE_XP 1" >>confdefs.h - - fi - -- { echo "$as_me:$LINENO: checking for XmInternAtom in -lXm" >&5 --echo $ECHO_N "checking for XmInternAtom in -lXm... $ECHO_C" >&6; } --if test "${ac_cv_lib_Xm_XmInternAtom+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmInternAtom in -lXm" >&5 -+$as_echo_n "checking for XmInternAtom in -lXm... " >&6; } -+if test "${ac_cv_lib_Xm_XmInternAtom+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-lXm ${X_PRE_LIBS} ${XP_LIBS} ${XPM_LIBS} ${XEXT_LIBS} ${XT_LIBS} ${XEXT_LIBS} ${X11_LIBS} ${LIBGEN} $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -23458,44 +17297,21 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_Xm_XmInternAtom=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_Xm_XmInternAtom=no -+ ac_cv_lib_Xm_XmInternAtom=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xm_XmInternAtom" >&5 --echo "${ECHO_T}$ac_cv_lib_Xm_XmInternAtom" >&6; } --if test $ac_cv_lib_Xm_XmInternAtom = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_XmInternAtom" >&5 -+$as_echo "$ac_cv_lib_Xm_XmInternAtom" >&6; } -+if test "x$ac_cv_lib_Xm_XmInternAtom" = x""yes; then : - XM_LIBS="-lXm" - --cat >>confdefs.h <<\_ACEOF --#define HAVE_MOTIF 1 --_ACEOF -+$as_echo "#define HAVE_MOTIF 1" >>confdefs.h - - fi - -@@ -23528,162 +17344,30 @@ - HAVE_XAW_FALSE= - fi - -- { echo "$as_me:$LINENO: WARNING: Not including X11 support" >&5 --echo "$as_me: WARNING: Not including X11 support" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not including X11 support" >&5 -+$as_echo "$as_me: WARNING: Not including X11 support" >&2;} - fi - -- - for ac_header in ncurses.h --do --as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- { echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --fi --ac_res=`eval echo '${'$as_ac_Header'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } --else -- # Is the header compilable? --{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 --echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --$ac_includes_default --#include <$ac_header> --_ACEOF --rm -f conftest.$ac_objext --if { (ac_try="$ac_compile" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_compile") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest.$ac_objext; then -- ac_header_compiler=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_header_compiler=no --fi -- --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 --echo "${ECHO_T}$ac_header_compiler" >&6; } -- --# Is the header present? --{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 --echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include <$ac_header> --_ACEOF --if { (ac_try="$ac_cpp conftest.$ac_ext" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } >/dev/null && { -- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || -- test ! -s conftest.err -- }; then -- ac_header_preproc=yes --else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_header_preproc=no --fi -- --rm -f conftest.err conftest.$ac_ext --{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 --echo "${ECHO_T}$ac_header_preproc" >&6; } -- --# So? What about this header? --case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in -- yes:no: ) -- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 --echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 --echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} -- ac_header_preproc=yes -- ;; -- no:yes:* ) -- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 --echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 --echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 --echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 --echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 --echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} -- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 --echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} -- -- ;; --esac --{ echo "$as_me:$LINENO: checking for $ac_header" >&5 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } --if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 --else -- eval "$as_ac_Header=\$ac_header_preproc" --fi --ac_res=`eval echo '${'$as_ac_Header'}'` -- { echo "$as_me:$LINENO: result: $ac_res" >&5 --echo "${ECHO_T}$ac_res" >&6; } -- --fi --if test `eval echo '${'$as_ac_Header'}'` = yes; then -+do : -+ ac_fn_c_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default" -+if test "x$ac_cv_header_ncurses_h" = x""yes; then : - cat >>confdefs.h <<_ACEOF --#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 -+#define HAVE_NCURSES_H 1 - _ACEOF - - fi - - done - --{ echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5 --echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6; } --if test "${ac_cv_lib_ncurses_initscr+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5 -+$as_echo_n "checking for initscr in -lncurses... " >&6; } -+if test "${ac_cv_lib_ncurses_initscr+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS - LIBS="-lncurses $LIBS" --cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - - /* Override any GCC internal prototype to avoid an error. -@@ -23701,46 +17385,25 @@ - return 0; - } - _ACEOF --rm -f conftest.$ac_objext conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>conftest.er1 -- ac_status=$? -- grep -v '^ *+' conftest.er1 >conftest.err -- rm -f conftest.er1 -- cat conftest.err >&5 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { -- test -z "$ac_c_werror_flag" || -- test ! -s conftest.err -- } && test -s conftest$ac_exeext && -- $as_test_x conftest$ac_exeext; then -+if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_ncurses_initscr=yes - else -- echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- -- ac_cv_lib_ncurses_initscr=no -+ ac_cv_lib_ncurses_initscr=no - fi -- --rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- conftest$ac_exeext conftest.$ac_ext -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5 --echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; } --if test $ac_cv_lib_ncurses_initscr = yes; then -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5 -+$as_echo "$ac_cv_lib_ncurses_initscr" >&6; } -+if test "x$ac_cv_lib_ncurses_initscr" = x""yes; then : - NCURSES_LIBS="-lncurses" - fi - - - if test x"$NCURSES_LIBS" = x"" ; then -- { echo "$as_me:$LINENO: WARNING: Not including curses support" >&5 --echo "$as_me: WARNING: Not including curses support" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not including curses support" >&5 -+$as_echo "$as_me: WARNING: Not including curses support" >&2;} - if false; then - HAVE_NCURSES_TRUE= - HAVE_NCURSES_FALSE='#' -@@ -23763,448 +17426,402 @@ - fi - - # Check whether --enable-nmea was given. --if test "${enable_nmea+set}" = set; then -+if test "${enable_nmea+set}" = set; then : - enableval=$enable_nmea; ac_nmea=$enableval - else - ac_nmea=yes - fi - --{ echo "$as_me:$LINENO: checking for NMEA support" >&5 --echo $ECHO_N "checking for NMEA support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NMEA support" >&5 -+$as_echo_n "checking for NMEA support... " >&6; } - if test x"$ac_nmea" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define NMEA_ENABLE 1 --_ACEOF -+$as_echo "#define NMEA_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-sirf was given. --if test "${enable_sirf+set}" = set; then -+if test "${enable_sirf+set}" = set; then : - enableval=$enable_sirf; ac_sirf=$enableval - else - ac_sirf=yes - fi - --{ echo "$as_me:$LINENO: checking for SiRF support" >&5 --echo $ECHO_N "checking for SiRF support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SiRF support" >&5 -+$as_echo_n "checking for SiRF support... " >&6; } - if test x"$ac_sirf" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define SIRF_ENABLE 1 --_ACEOF -+$as_echo "#define SIRF_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-superstar2 was given. --if test "${enable_superstar2+set}" = set; then -+if test "${enable_superstar2+set}" = set; then : - enableval=$enable_superstar2; ac_superstar2=$enableval - else - ac_superstar2=yes - fi - --{ echo "$as_me:$LINENO: checking for SuperStarII support" >&5 --echo $ECHO_N "checking for SuperStarII support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SuperStarII support" >&5 -+$as_echo_n "checking for SuperStarII support... " >&6; } - if test x"$ac_superstar2" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define SUPERSTAR2_ENABLE 1 --_ACEOF -+$as_echo "#define SUPERSTAR2_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-tsip was given. --if test "${enable_tsip+set}" = set; then -+if test "${enable_tsip+set}" = set; then : - enableval=$enable_tsip; ac_tsip=$enableval - else - ac_tsip=yes - fi - --{ echo "$as_me:$LINENO: checking for Trimble TSIP support" >&5 --echo $ECHO_N "checking for Trimble TSIP support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Trimble TSIP support" >&5 -+$as_echo_n "checking for Trimble TSIP support... " >&6; } - if test x"$ac_tsip" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define TSIP_ENABLE 1 --_ACEOF -+$as_echo "#define TSIP_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-fv18 was given. --if test "${enable_fv18+set}" = set; then -+if test "${enable_fv18+set}" = set; then : - enableval=$enable_fv18; ac_fv18=$enableval - else - ac_fv18=yes - fi - --{ echo "$as_me:$LINENO: checking for FV-18 support" >&5 --echo $ECHO_N "checking for FV-18 support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FV-18 support" >&5 -+$as_echo_n "checking for FV-18 support... " >&6; } - if test x"$ac_fv18" = "xyes"; then - ac_nmea=yes -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define FV18_ENABLE 1 --_ACEOF -+$as_echo "#define FV18_ENABLE 1" >>confdefs.h - - --cat >>confdefs.h <<\_ACEOF --#define NMEA_ENABLE 1 --_ACEOF -+$as_echo "#define NMEA_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-tripmate was given. --if test "${enable_tripmate+set}" = set; then -+if test "${enable_tripmate+set}" = set; then : - enableval=$enable_tripmate; ac_tripmate=$enableval - else - ac_tripmate=yes - fi - --{ echo "$as_me:$LINENO: checking for Tripmate support" >&5 --echo $ECHO_N "checking for Tripmate support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tripmate support" >&5 -+$as_echo_n "checking for Tripmate support... " >&6; } - if test x"$ac_tripmate" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define TRIPMATE_ENABLE 1 --_ACEOF -+$as_echo "#define TRIPMATE_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-earthmate was given. --if test "${enable_earthmate+set}" = set; then -+if test "${enable_earthmate+set}" = set; then : - enableval=$enable_earthmate; ac_earthmate=$enableval - else - ac_earthmate=yes - fi - --{ echo "$as_me:$LINENO: checking for EarthMate support" >&5 --echo $ECHO_N "checking for EarthMate support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EarthMate support" >&5 -+$as_echo_n "checking for EarthMate support... " >&6; } - if test x"$ac_earthmate" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define EARTHMATE_ENABLE 1 --_ACEOF -+$as_echo "#define EARTHMATE_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-itrax was given. --if test "${enable_itrax+set}" = set; then -+if test "${enable_itrax+set}" = set; then : - enableval=$enable_itrax; ac_itrax=$enableval - else - ac_itrax=yes - fi - --{ echo "$as_me:$LINENO: checking for iTrax support" >&5 --echo $ECHO_N "checking for iTrax support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iTrax support" >&5 -+$as_echo_n "checking for iTrax support... " >&6; } - if test x"$ac_itrax" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define ITRAX_ENABLE 1 --_ACEOF -+$as_echo "#define ITRAX_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-ashtech was given. --if test "${enable_ashtech+set}" = set; then -+if test "${enable_ashtech+set}" = set; then : - enableval=$enable_ashtech; ac_ashtech=$enableval - else - ac_ashtech=yes - fi - --{ echo "$as_me:$LINENO: checking for Ashtech support" >&5 --echo $ECHO_N "checking for Ashtech support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ashtech support" >&5 -+$as_echo_n "checking for Ashtech support... " >&6; } - if test x"$ac_ashtech" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define ASHTECH_ENABLE 1 --_ACEOF -+$as_echo "#define ASHTECH_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-navcom was given. --if test "${enable_navcom+set}" = set; then -+if test "${enable_navcom+set}" = set; then : - enableval=$enable_navcom; ac_navcom=$enableval - else - ac_navcom=yes - fi - --{ echo "$as_me:$LINENO: checking for Navcom support" >&5 --echo $ECHO_N "checking for Navcom support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Navcom support" >&5 -+$as_echo_n "checking for Navcom support... " >&6; } - if test x"$ac_navcom" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define NAVCOM_ENABLE 1 --_ACEOF -+$as_echo "#define NAVCOM_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-garmin was given. --if test "${enable_garmin+set}" = set; then -+if test "${enable_garmin+set}" = set; then : - enableval=$enable_garmin; ac_garmin=$enableval - else - ac_garmin=yes - fi - --{ echo "$as_me:$LINENO: checking for Garmin support" >&5 --echo $ECHO_N "checking for Garmin support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Garmin support" >&5 -+$as_echo_n "checking for Garmin support... " >&6; } - if test x"$ac_garmin" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define GARMIN_ENABLE 1 --_ACEOF -+$as_echo "#define GARMIN_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-garmintxt was given. --if test "${enable_garmintxt+set}" = set; then -+if test "${enable_garmintxt+set}" = set; then : - enableval=$enable_garmintxt; ac_garmintxt=$enableval - else - ac_garmintxt=no - fi - --{ echo "$as_me:$LINENO: checking for Garmin Simple Text support" >&5 --echo $ECHO_N "checking for Garmin Simple Text support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Garmin Simple Text support" >&5 -+$as_echo_n "checking for Garmin Simple Text support... " >&6; } - if test x"$ac_garmintxt" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define GARMINTXT_ENABLE 1 --_ACEOF -+$as_echo "#define GARMINTXT_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-tnt was given. --if test "${enable_tnt+set}" = set; then -+if test "${enable_tnt+set}" = set; then : - enableval=$enable_tnt; ac_tnt=$enableval - else - ac_tnt=no - fi - --{ echo "$as_me:$LINENO: checking for True North support" >&5 --echo $ECHO_N "checking for True North support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for True North support" >&5 -+$as_echo_n "checking for True North support... " >&6; } - if test x"$ac_tnt" = "xyes"; then - ac_nmea=yes -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define TNT_ENABLE 1 --_ACEOF -+$as_echo "#define TNT_ENABLE 1" >>confdefs.h - - --cat >>confdefs.h <<\_ACEOF --#define NMEA_ENABLE 1 --_ACEOF -+$as_echo "#define NMEA_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-oceanserver was given. --if test "${enable_oceanserver+set}" = set; then -+if test "${enable_oceanserver+set}" = set; then : - enableval=$enable_oceanserver; ac_oceanserver=$enableval - else - ac_oceanserver=no - fi - --{ echo "$as_me:$LINENO: checking for OceanServer support" >&5 --echo $ECHO_N "checking for OceanServer support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OceanServer support" >&5 -+$as_echo_n "checking for OceanServer support... " >&6; } - if test x"$ac_oceanserver" = "xyes"; then - ac_nmea=yes -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define OCEANSERVER_ENABLE 1 --_ACEOF -+$as_echo "#define OCEANSERVER_ENABLE 1" >>confdefs.h - - --cat >>confdefs.h <<\_ACEOF --#define NMEA_ENABLE 1 --_ACEOF -+$as_echo "#define NMEA_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-ubx was given. --if test "${enable_ubx+set}" = set; then -+if test "${enable_ubx+set}" = set; then : - enableval=$enable_ubx; ac_ubx=$enableval - else - ac_ubx=yes - fi - --{ echo "$as_me:$LINENO: checking for UBX support" >&5 --echo $ECHO_N "checking for UBX support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UBX support" >&5 -+$as_echo_n "checking for UBX support... " >&6; } - if test x"$ac_ubx" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define UBX_ENABLE 1 --_ACEOF -+$as_echo "#define UBX_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-evermore was given. --if test "${enable_evermore+set}" = set; then -+if test "${enable_evermore+set}" = set; then : - enableval=$enable_evermore; ac_evermore=$enableval - else - ac_evermore=yes - fi - --{ echo "$as_me:$LINENO: checking for EverMore support" >&5 --echo $ECHO_N "checking for EverMore support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EverMore support" >&5 -+$as_echo_n "checking for EverMore support... " >&6; } - if test x"$ac_evermore" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define EVERMORE_ENABLE 1 --_ACEOF -+$as_echo "#define EVERMORE_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-mkt3301 was given. --if test "${enable_mkt3301+set}" = set; then -+if test "${enable_mkt3301+set}" = set; then : - enableval=$enable_mkt3301; ac_mkt3301=$enableval - else - ac_mkt3301=yes - fi - --{ echo "$as_me:$LINENO: checking for MKT-3301 support" >&5 --echo $ECHO_N "checking for MKT-3301 support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MKT-3301 support" >&5 -+$as_echo_n "checking for MKT-3301 support... " >&6; } - if test x"$ac_mkt3301" = "xyes"; then - ac_nmea=yes -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define MKT3301_ENABLE 1 --_ACEOF -+$as_echo "#define MKT3301_ENABLE 1" >>confdefs.h - - --cat >>confdefs.h <<\_ACEOF --#define NMEA_ENABLE 1 --_ACEOF -+$as_echo "#define NMEA_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-gpsclock was given. --if test "${enable_gpsclock+set}" = set; then -+if test "${enable_gpsclock+set}" = set; then : - enableval=$enable_gpsclock; ac_gpsclock=$enableval - else - ac_gpsclock=yes - fi - --{ echo "$as_me:$LINENO: checking for GPSClock support" >&5 --echo $ECHO_N "checking for GPSClock support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GPSClock support" >&5 -+$as_echo_n "checking for GPSClock support... " >&6; } - if test x"$ac_gpsclock" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define GPSCLOCK_ENABLE 1 --_ACEOF -+$as_echo "#define GPSCLOCK_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-rtcm104v2 was given. --if test "${enable_rtcm104v2+set}" = set; then -+if test "${enable_rtcm104v2+set}" = set; then : - enableval=$enable_rtcm104v2; ac_rtcm104v2=$enableval - else - ac_rtcm104v2=yes - fi - --{ echo "$as_me:$LINENO: checking for rtcm104v2 support" >&5 --echo $ECHO_N "checking for rtcm104v2 support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rtcm104v2 support" >&5 -+$as_echo_n "checking for rtcm104v2 support... " >&6; } - if test x"$ac_earthmate" = "xno" -a x"$ac_evermore" = "xno" -a x"$ac_garmin" = "xno" -a x"$ac_itrax" = "xno" -a x"$ac_sirf" = "xno" -a x"$ac_superstar2" = "xno" -a x"$ac_tsip" = "xno" -a x"$ac_navcom" = "xno"; then - ac_rtcm104v2=no - fi - if test x"$ac_rtcm104v2" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define RTCM104V2_ENABLE 1 --_ACEOF -+$as_echo "#define RTCM104V2_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - if test "$ac_rtcm104v2" = "yes"; then -@@ -24217,28 +17834,26 @@ - - - # Check whether --enable-rtcm104v3 was given. --if test "${enable_rtcm104v3+set}" = set; then -+if test "${enable_rtcm104v3+set}" = set; then : - enableval=$enable_rtcm104v3; ac_rtcm104v3=$enableval - else - ac_rtcm104v3=yes - fi - --{ echo "$as_me:$LINENO: checking for rtcm104v3 support" >&5 --echo $ECHO_N "checking for rtcm104v3 support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rtcm104v3 support" >&5 -+$as_echo_n "checking for rtcm104v3 support... " >&6; } - if test x"$ac_earthmate" = "xno" -a x"$ac_evermore" = "xno" -a x"$ac_garmin" = "xno" -a x"$ac_itrax" = "xno" -a x"$ac_sirf" = "xno" -a x"$ac_tsip" = "xno" -a x"$ac_navcom" = "xno"; then - ac_rtcm104v3=no - fi - if test x"$ac_rtcm104v3" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define RTCM104V3_ENABLE 1 --_ACEOF -+$as_echo "#define RTCM104V3_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - if test "$ac_rtcm104v3" = "yes"; then -@@ -24251,25 +17866,23 @@ - - - # Check whether --enable-ntrip was given. --if test "${enable_ntrip+set}" = set; then -+if test "${enable_ntrip+set}" = set; then : - enableval=$enable_ntrip; ac_ntrip=$enableval - else - ac_ntrip=yes - fi - --{ echo "$as_me:$LINENO: checking for NTRIP support" >&5 --echo $ECHO_N "checking for NTRIP support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NTRIP support" >&5 -+$as_echo_n "checking for NTRIP support... " >&6; } - if test x"$ac_ntrip" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define NTRIP_ENABLE 1 --_ACEOF -+$as_echo "#define NTRIP_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - if test "$ac_ntrip" = "yes"; then -@@ -24282,149 +17895,139 @@ - - - # Check whether --enable-aivdm was given. --if test "${enable_aivdm+set}" = set; then -+if test "${enable_aivdm+set}" = set; then : - enableval=$enable_aivdm; ac_aivdm=$enableval - else - ac_aivdm=yes - fi - --{ echo "$as_me:$LINENO: checking for AIVDM support" >&5 --echo $ECHO_N "checking for AIVDM support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AIVDM support" >&5 -+$as_echo_n "checking for AIVDM support... " >&6; } - if test x"$ac_aivdm" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define AIVDM_ENABLE 1 --_ACEOF -+$as_echo "#define AIVDM_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-profiling was given. --if test "${enable_profiling+set}" = set; then -+if test "${enable_profiling+set}" = set; then : - enableval=$enable_profiling; ac_profiling=$enableval - else - ac_profiling=no - fi - --{ echo "$as_me:$LINENO: checking for profiling support" >&5 --echo $ECHO_N "checking for profiling support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for profiling support" >&5 -+$as_echo_n "checking for profiling support... " >&6; } - if test x"$ac_profiling" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define PROFILING 1 --_ACEOF -+$as_echo "#define PROFILING 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-ntpshm was given. --if test "${enable_ntpshm+set}" = set; then -+if test "${enable_ntpshm+set}" = set; then : - enableval=$enable_ntpshm; ac_ntpshm=$enableval - else - ac_ntpshm=yes - fi - --{ echo "$as_me:$LINENO: checking for NTP time hinting support" >&5 --echo $ECHO_N "checking for NTP time hinting support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NTP time hinting support" >&5 -+$as_echo_n "checking for NTP time hinting support... " >&6; } - if test x"$ac_ntpshm" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define NTPSHM_ENABLE 1 --_ACEOF -+$as_echo "#define NTPSHM_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-pps was given. --if test "${enable_pps+set}" = set; then -+if test "${enable_pps+set}" = set; then : - enableval=$enable_pps; ac_pps=$enableval - else - ac_pps=yes - fi - --{ echo "$as_me:$LINENO: checking for PPS time syncing support" >&5 --echo $ECHO_N "checking for PPS time syncing support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PPS time syncing support" >&5 -+$as_echo_n "checking for PPS time syncing support... " >&6; } - if test x"$ac_pps" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define PPS_ENABLE 1 --_ACEOF -+$as_echo "#define PPS_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-pps-on-cts was given. --if test "${enable_pps_on_cts+set}" = set; then -+if test "${enable_pps_on_cts+set}" = set; then : - enableval=$enable_pps_on_cts; ac_ppsoncts=$enableval - else - ac_ppsoncts=no - fi - --{ echo "$as_me:$LINENO: checking for PPS pulse on CTS rather than DCD" >&5 --echo $ECHO_N "checking for PPS pulse on CTS rather than DCD... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PPS pulse on CTS rather than DCD" >&5 -+$as_echo_n "checking for PPS pulse on CTS rather than DCD... " >&6; } - if test x"$ac_ppsoncts" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define PPS_ON_CTS 1 --_ACEOF -+$as_echo "#define PPS_ON_CTS 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-gpsd-user was given. --if test "${enable_gpsd_user+set}" = set; then -+if test "${enable_gpsd_user+set}" = set; then : - enableval=$enable_gpsd_user; ac_user=$enableval - else - ac_user=nobody - fi - --{ echo "$as_me:$LINENO: checking privilege revokation user" >&5 --echo $ECHO_N "checking privilege revokation user... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking privilege revokation user" >&5 -+$as_echo_n "checking privilege revokation user... " >&6; } - if test x"$ac_user" != "xnobody"; then -- { echo "$as_me:$LINENO: result: $ac_user" >&5 --echo "${ECHO_T}$ac_user" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_user" >&5 -+$as_echo "$ac_user" >&6; } - - cat >>confdefs.h <<_ACEOF - #define GPSD_USER "$ac_user" - _ACEOF - - else -- { echo "$as_me:$LINENO: result: nobody" >&5 --echo "${ECHO_T}nobody" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: nobody" >&5 -+$as_echo "nobody" >&6; } - fi - - # Check whether --enable-fixed-port-speed was given. --if test "${enable_fixed_port_speed+set}" = set; then -+if test "${enable_fixed_port_speed+set}" = set; then : - enableval=$enable_fixed_port_speed; ac_baud=$enableval - else - ac_baud=no - fi - --{ echo "$as_me:$LINENO: checking for fixed port speed" >&5 --echo $ECHO_N "checking for fixed port speed... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fixed port speed" >&5 -+$as_echo_n "checking for fixed port speed... " >&6; } - if test x"$ac_baud" != "xno"; then -- { echo "$as_me:$LINENO: result: $ac_baud" >&5 --echo "${ECHO_T}$ac_baud" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_baud" >&5 -+$as_echo "$ac_baud" >&6; } - - cat >>confdefs.h <<_ACEOF - #define FIXED_PORT_SPEED $ac_baud -@@ -24432,26 +18035,24 @@ - - FIXED_PORT_SPEED="-DSPEEDFLAGS=$ac_baud" - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-dbus was given. --if test "${enable_dbus+set}" = set; then -+if test "${enable_dbus+set}" = set; then : - enableval=$enable_dbus; ac_dbus=$enableval - else - ac_dbus=no - fi - --{ echo "$as_me:$LINENO: checking for DBUS support" >&5 --echo $ECHO_N "checking for DBUS support... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS support" >&5 -+$as_echo_n "checking for DBUS support... " >&6; } - if test x"$ac_dbus" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define DBUS_ENABLE 1 --_ACEOF -+$as_echo "#define DBUS_ENABLE 1" >>confdefs.h - - # Older versions of autotools barf and die on this. - #PKG_CHECK_MODULES(DBUS, dbus-1 >= 0.23.4 ) -@@ -24464,22 +18065,22 @@ - - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-max-clients was given. --if test "${enable_max_clients+set}" = set; then -+if test "${enable_max_clients+set}" = set; then : - enableval=$enable_max_clients; ac_maxclients=$enableval - else - ac_maxclients=no - fi - --{ echo "$as_me:$LINENO: checking for limited max clients" >&5 --echo $ECHO_N "checking for limited max clients... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for limited max clients" >&5 -+$as_echo_n "checking for limited max clients... " >&6; } - if test x"$ac_maxclients" != "xno"; then -- { echo "$as_me:$LINENO: result: $ac_maxclients" >&5 --echo "${ECHO_T}$ac_maxclients" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_maxclients" >&5 -+$as_echo "$ac_maxclients" >&6; } - - cat >>confdefs.h <<_ACEOF - #define LIMITED_MAX_CLIENTS $ac_maxclients -@@ -24487,22 +18088,22 @@ - - LIMITED_MAX_CLIENTS="-DLIMITED_MAX_CLIENTS=$ac_maxclients" - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-max-devices was given. --if test "${enable_max_devices+set}" = set; then -+if test "${enable_max_devices+set}" = set; then : - enableval=$enable_max_devices; ac_maxdevices=$enableval - else - ac_maxdevices=no - fi - --{ echo "$as_me:$LINENO: checking for max devices" >&5 --echo $ECHO_N "checking for max devices... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for max devices" >&5 -+$as_echo_n "checking for max devices... " >&6; } - if test x"$ac_maxdevices" != "xno"; then -- { echo "$as_me:$LINENO: result: $ac_maxdevices" >&5 --echo "${ECHO_T}$ac_maxdevices" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_maxdevices" >&5 -+$as_echo "$ac_maxdevices" >&6; } - - cat >>confdefs.h <<_ACEOF - #define LIMITED_MAX_DEVICES $ac_maxdevices -@@ -24510,52 +18111,48 @@ - - LIMITED_MAX_DEVICES="-DLIMITED_MAX_DEVICES=$ac_maxdevices" - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-reconfigure was given. --if test "${enable_reconfigure+set}" = set; then -+if test "${enable_reconfigure+set}" = set; then : - enableval=$enable_reconfigure; ac_reconfigure=$enableval - else - ac_reconfigure=yes - fi - --{ echo "$as_me:$LINENO: checking if device reconfiguration is allowed" >&5 --echo $ECHO_N "checking if device reconfiguration is allowed... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if device reconfiguration is allowed" >&5 -+$as_echo_n "checking if device reconfiguration is allowed... " >&6; } - if test x"$ac_reconfigure" != "xno"; then -- { echo "$as_me:$LINENO: result: $ac_reconfigure" >&5 --echo "${ECHO_T}$ac_reconfigure" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_reconfigure" >&5 -+$as_echo "$ac_reconfigure" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define ALLOW_RECONFIGURE 1 --_ACEOF -+$as_echo "#define ALLOW_RECONFIGURE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Check whether --enable-controlsend was given. --if test "${enable_controlsend+set}" = set; then -+if test "${enable_controlsend+set}" = set; then : - enableval=$enable_controlsend; ac_controlsend=$enableval - else - ac_controlsend=yes - fi - --{ echo "$as_me:$LINENO: checking if control sending is allowed" >&5 --echo $ECHO_N "checking if control sending is allowed... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if control sending is allowed" >&5 -+$as_echo_n "checking if control sending is allowed... " >&6; } - if test x"$ac_controlsend" != "xno"; then -- { echo "$as_me:$LINENO: result: $ac_controlsend" >&5 --echo "${ECHO_T}$ac_controlsend" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_controlsend" >&5 -+$as_echo "$ac_controlsend" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define ALLOW_CONTROLSEND 1 --_ACEOF -+$as_echo "#define ALLOW_CONTROLSEND 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - if test x"$ac_dbus" = x"yes"; then -@@ -24568,33 +18165,31 @@ - - - # Check whether --enable-squelch was given. --if test "${enable_squelch+set}" = set; then -+if test "${enable_squelch+set}" = set; then : - enableval=$enable_squelch; ac_squelch=$enableval - else - ac_squelch=no - fi - --{ echo "$as_me:$LINENO: checking for disabled logging" >&5 --echo $ECHO_N "checking for disabled logging... $ECHO_C" >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for disabled logging" >&5 -+$as_echo_n "checking for disabled logging... " >&6; } - if test x"$ac_squelch" = "xyes"; then -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - --cat >>confdefs.h <<\_ACEOF --#define SQUELCH_ENABLE 1 --_ACEOF -+$as_echo "#define SQUELCH_ENABLE 1" >>confdefs.h - - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - # Extract the first word of "xsltproc", so it can be a program name with args. - set dummy xsltproc; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_WITH_XSLTPROC+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_WITH_XSLTPROC+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$WITH_XSLTPROC"; then - ac_cv_prog_WITH_XSLTPROC="$WITH_XSLTPROC" # Let the user override the test. -@@ -24604,14 +18199,14 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_WITH_XSLTPROC="yes" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - test -z "$ac_cv_prog_WITH_XSLTPROC" && ac_cv_prog_WITH_XSLTPROC="no" -@@ -24619,11 +18214,11 @@ - fi - WITH_XSLTPROC=$ac_cv_prog_WITH_XSLTPROC - if test -n "$WITH_XSLTPROC"; then -- { echo "$as_me:$LINENO: result: $WITH_XSLTPROC" >&5 --echo "${ECHO_T}$WITH_XSLTPROC" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_XSLTPROC" >&5 -+$as_echo "$WITH_XSLTPROC" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -@@ -24631,8 +18226,8 @@ - MANTARGET= - MANFLAGS= - if test "x$WITH_XSLTPROC" = "xyes"; then -- { echo "$as_me:$LINENO: checking whether xsltproc knows about docbook xsl" >&5 --echo $ECHO_N "checking whether xsltproc knows about docbook xsl... $ECHO_C" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether xsltproc knows about docbook xsl" >&5 -+$as_echo_n "checking whether xsltproc knows about docbook xsl... " >&6; } - DOCBOOK_URI='http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl' - cat >conftest.xml <<_EOF - -@@ -24651,21 +18246,21 @@ - MANGENERATOR=xsltproc - MANTARGET="$DOCBOOK_URI" - MANFLAGS="--nonet" -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - rm -f conftest.xml foo.1 - fi - if test x"$MANGENERATOR" = x; then - # Extract the first word of "xmlto", so it can be a program name with args. - set dummy xmlto; ac_word=$2 --{ echo "$as_me:$LINENO: checking for $ac_word" >&5 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } --if test "${ac_cv_prog_WITH_XMLTO+set}" = set; then -- echo $ECHO_N "(cached) $ECHO_C" >&6 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if test "${ac_cv_prog_WITH_XMLTO+set}" = set; then : -+ $as_echo_n "(cached) " >&6 - else - if test -n "$WITH_XMLTO"; then - ac_cv_prog_WITH_XMLTO="$WITH_XMLTO" # Let the user override the test. -@@ -24675,14 +18270,14 @@ - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -+ for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_WITH_XMLTO="yes" -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done --done -+ done - IFS=$as_save_IFS - - test -z "$ac_cv_prog_WITH_XMLTO" && ac_cv_prog_WITH_XMLTO="no" -@@ -24690,11 +18285,11 @@ - fi - WITH_XMLTO=$ac_cv_prog_WITH_XMLTO - if test -n "$WITH_XMLTO"; then -- { echo "$as_me:$LINENO: result: $WITH_XMLTO" >&5 --echo "${ECHO_T}$WITH_XMLTO" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_XMLTO" >&5 -+$as_echo "$WITH_XMLTO" >&6; } - else -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } - fi - - -@@ -24703,10 +18298,10 @@ - MANTARGET=man - MANFLAGS= - else -- { echo "$as_me:$LINENO: WARNING: Neither xsltproc nor xmlto works: I will not build man pages." >&5 --echo "$as_me: WARNING: Neither xsltproc nor xmlto works: I will not build man pages." >&2;} -- { echo "$as_me:$LINENO: WARNING: To build man pages, install xsltproc/xsltlib or xmlto and run autogen.sh again." >&5 --echo "$as_me: WARNING: To build man pages, install xsltproc/xsltlib or xmlto and run autogen.sh again." >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Neither xsltproc nor xmlto works: I will not build man pages." >&5 -+$as_echo "$as_me: WARNING: Neither xsltproc nor xmlto works: I will not build man pages." >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: To build man pages, install xsltproc/xsltlib or xmlto and run autogen.sh again." >&5 -+$as_echo "$as_me: WARNING: To build man pages, install xsltproc/xsltlib or xmlto and run autogen.sh again." >&2;} - fi - fi - if test x"$MANGENERATOR" != x; then -@@ -24768,7 +18363,6 @@ - echo " ---------------" - echo "Build ncurses programs : $ac_ncurses" - echo "Enable X11 support : $ac_x" --echo "Enable Python support : $ac_python" - echo "------------------------------------------" - - if test "xdummy" = "xdummy" -a \ -@@ -24789,9 +18383,7 @@ - x"$ac_tripmate" = "xno" -a \ - x"$ac_tsip" = "xno" -a \ - x"$ac_ubx" = "xno"; then -- { { echo "$as_me:$LINENO: error: Can't build gpsd with no protocols enabled" >&5 --echo "$as_me: error: Can't build gpsd with no protocols enabled" >&2;} -- { (exit 1); exit 1; }; } -+ as_fn_error "Can't build gpsd with no protocols enabled" "$LINENO" 5 - fi - ac_config_files="$ac_config_files Makefile packaging/gpsd.spec libgps.pc libgpsd.pc" - -@@ -24822,12 +18414,13 @@ - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( -- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 --echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; -+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( -- *) $as_unset $ac_var ;; -+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( -+ *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done -@@ -24835,8 +18428,8 @@ - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) -- # `set' does not quote correctly, so add quotes (double-quote -- # substitution turns \\\\ into \\, and sed turns \\ into \). -+ # `set' does not quote correctly, so add quotes: double-quote -+ # substitution turns \\\\ into \\, and sed turns \\ into \. - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" -@@ -24859,12 +18452,12 @@ - if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && -- { echo "$as_me:$LINENO: updating cache $cache_file" >&5 --echo "$as_me: updating cache $cache_file" >&6;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -+$as_echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file - else -- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 --echo "$as_me: not updating unwritable cache $cache_file" >&6;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi - fi - rm -f confcache -@@ -24880,143 +18473,99 @@ - for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue - # 1. Remove the extension, and $U if already installed. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' -- ac_i=`echo "$ac_i" | sed "$ac_script"` -+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"` - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR - # will be set to the directory where LIBOBJS objects are built. -- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" -- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' -+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" -+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' - done - LIBOBJS=$ac_libobjs - - LTLIBOBJS=$ac_ltlibobjs - - -+ if test -n "$EXEEXT"; then -+ am__EXEEXT_TRUE= -+ am__EXEEXT_FALSE='#' -+else -+ am__EXEEXT_TRUE='#' -+ am__EXEEXT_FALSE= -+fi -+ - if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then -- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. --Usually this means the macro was only invoked conditionally." >&5 --echo "$as_me: error: conditional \"AMDEP\" was never defined. --Usually this means the macro was only invoked conditionally." >&2;} -- { (exit 1); exit 1; }; } -+ as_fn_error "conditional \"AMDEP\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 - fi - if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then -- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. --Usually this means the macro was only invoked conditionally." >&5 --echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. --Usually this means the macro was only invoked conditionally." >&2;} -- { (exit 1); exit 1; }; } --fi --if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then -- { { echo "$as_me:$LINENO: error: conditional \"HAVE_PYTHON\" was never defined. --Usually this means the macro was only invoked conditionally." >&5 --echo "$as_me: error: conditional \"HAVE_PYTHON\" was never defined. --Usually this means the macro was only invoked conditionally." >&2;} -- { (exit 1); exit 1; }; } -+ as_fn_error "conditional \"am__fastdepCC\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 - fi - if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then -- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. --Usually this means the macro was only invoked conditionally." >&5 --echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. --Usually this means the macro was only invoked conditionally." >&2;} -- { (exit 1); exit 1; }; } -+ as_fn_error "conditional \"am__fastdepCXX\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 - fi - if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then -- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. --Usually this means the macro was only invoked conditionally." >&5 --echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. --Usually this means the macro was only invoked conditionally." >&2;} -- { (exit 1); exit 1; }; } -+ as_fn_error "conditional \"am__fastdepCXX\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 - fi -+ - if test -z "${HAVE_XAW_TRUE}" && test -z "${HAVE_XAW_FALSE}"; then -- { { echo "$as_me:$LINENO: error: conditional \"HAVE_XAW\" was never defined. --Usually this means the macro was only invoked conditionally." >&5 --echo "$as_me: error: conditional \"HAVE_XAW\" was never defined. --Usually this means the macro was only invoked conditionally." >&2;} -- { (exit 1); exit 1; }; } -+ as_fn_error "conditional \"HAVE_XAW\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 - fi - if test -z "${HAVE_XAW_TRUE}" && test -z "${HAVE_XAW_FALSE}"; then -- { { echo "$as_me:$LINENO: error: conditional \"HAVE_XAW\" was never defined. --Usually this means the macro was only invoked conditionally." >&5 --echo "$as_me: error: conditional \"HAVE_XAW\" was never defined. --Usually this means the macro was only invoked conditionally." >&2;} -- { (exit 1); exit 1; }; } -+ as_fn_error "conditional \"HAVE_XAW\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 - fi - if test -z "${HAVE_MOTIF_TRUE}" && test -z "${HAVE_MOTIF_FALSE}"; then -- { { echo "$as_me:$LINENO: error: conditional \"HAVE_MOTIF\" was never defined. --Usually this means the macro was only invoked conditionally." >&5 --echo "$as_me: error: conditional \"HAVE_MOTIF\" was never defined. --Usually this means the macro was only invoked conditionally." >&2;} -- { (exit 1); exit 1; }; } -+ as_fn_error "conditional \"HAVE_MOTIF\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 - fi - if test -z "${HAVE_MOTIF_TRUE}" && test -z "${HAVE_MOTIF_FALSE}"; then -- { { echo "$as_me:$LINENO: error: conditional \"HAVE_MOTIF\" was never defined. --Usually this means the macro was only invoked conditionally." >&5 --echo "$as_me: error: conditional \"HAVE_MOTIF\" was never defined. --Usually this means the macro was only invoked conditionally." >&2;} -- { (exit 1); exit 1; }; } -+ as_fn_error "conditional \"HAVE_MOTIF\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 - fi - if test -z "${HAVE_XAW_TRUE}" && test -z "${HAVE_XAW_FALSE}"; then -- { { echo "$as_me:$LINENO: error: conditional \"HAVE_XAW\" was never defined. --Usually this means the macro was only invoked conditionally." >&5 --echo "$as_me: error: conditional \"HAVE_XAW\" was never defined. --Usually this means the macro was only invoked conditionally." >&2;} -- { (exit 1); exit 1; }; } -+ as_fn_error "conditional \"HAVE_XAW\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 - fi - if test -z "${HAVE_NCURSES_TRUE}" && test -z "${HAVE_NCURSES_FALSE}"; then -- { { echo "$as_me:$LINENO: error: conditional \"HAVE_NCURSES\" was never defined. --Usually this means the macro was only invoked conditionally." >&5 --echo "$as_me: error: conditional \"HAVE_NCURSES\" was never defined. --Usually this means the macro was only invoked conditionally." >&2;} -- { (exit 1); exit 1; }; } -+ as_fn_error "conditional \"HAVE_NCURSES\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 - fi - if test -z "${HAVE_NCURSES_TRUE}" && test -z "${HAVE_NCURSES_FALSE}"; then -- { { echo "$as_me:$LINENO: error: conditional \"HAVE_NCURSES\" was never defined. --Usually this means the macro was only invoked conditionally." >&5 --echo "$as_me: error: conditional \"HAVE_NCURSES\" was never defined. --Usually this means the macro was only invoked conditionally." >&2;} -- { (exit 1); exit 1; }; } -+ as_fn_error "conditional \"HAVE_NCURSES\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 - fi - if test -z "${HAVE_RTCM104V2_TRUE}" && test -z "${HAVE_RTCM104V2_FALSE}"; then -- { { echo "$as_me:$LINENO: error: conditional \"HAVE_RTCM104V2\" was never defined. --Usually this means the macro was only invoked conditionally." >&5 --echo "$as_me: error: conditional \"HAVE_RTCM104V2\" was never defined. --Usually this means the macro was only invoked conditionally." >&2;} -- { (exit 1); exit 1; }; } -+ as_fn_error "conditional \"HAVE_RTCM104V2\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 - fi - if test -z "${HAVE_RTCM104V3_TRUE}" && test -z "${HAVE_RTCM104V3_FALSE}"; then -- { { echo "$as_me:$LINENO: error: conditional \"HAVE_RTCM104V3\" was never defined. --Usually this means the macro was only invoked conditionally." >&5 --echo "$as_me: error: conditional \"HAVE_RTCM104V3\" was never defined. --Usually this means the macro was only invoked conditionally." >&2;} -- { (exit 1); exit 1; }; } -+ as_fn_error "conditional \"HAVE_RTCM104V3\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 - fi - if test -z "${HAVE_NTRIP_TRUE}" && test -z "${HAVE_NTRIP_FALSE}"; then -- { { echo "$as_me:$LINENO: error: conditional \"HAVE_NTRIP\" was never defined. --Usually this means the macro was only invoked conditionally." >&5 --echo "$as_me: error: conditional \"HAVE_NTRIP\" was never defined. --Usually this means the macro was only invoked conditionally." >&2;} -- { (exit 1); exit 1; }; } -+ as_fn_error "conditional \"HAVE_NTRIP\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 - fi - if test -z "${HAVE_DBUS_TRUE}" && test -z "${HAVE_DBUS_FALSE}"; then -- { { echo "$as_me:$LINENO: error: conditional \"HAVE_DBUS\" was never defined. --Usually this means the macro was only invoked conditionally." >&5 --echo "$as_me: error: conditional \"HAVE_DBUS\" was never defined. --Usually this means the macro was only invoked conditionally." >&2;} -- { (exit 1); exit 1; }; } -+ as_fn_error "conditional \"HAVE_DBUS\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 - fi - if test -z "${HAVE_XSLT_PROCESSOR_TRUE}" && test -z "${HAVE_XSLT_PROCESSOR_FALSE}"; then -- { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLT_PROCESSOR\" was never defined. --Usually this means the macro was only invoked conditionally." >&5 --echo "$as_me: error: conditional \"HAVE_XSLT_PROCESSOR\" was never defined. --Usually this means the macro was only invoked conditionally." >&2;} -- { (exit 1); exit 1; }; } -+ as_fn_error "conditional \"HAVE_XSLT_PROCESSOR\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 - fi - - : ${CONFIG_STATUS=./config.status} -+ac_write_fail=0 - ac_clean_files_save=$ac_clean_files - ac_clean_files="$ac_clean_files $CONFIG_STATUS" --{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 --echo "$as_me: creating $CONFIG_STATUS" >&6;} --cat >$CONFIG_STATUS <<_ACEOF -+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} -+as_write_fail=0 -+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 - #! $SHELL - # Generated by $as_me. - # Run this file to recreate the current configuration. -@@ -25026,59 +18575,79 @@ - debug=false - ac_cs_recheck=false - ac_cs_silent=false --SHELL=\${CONFIG_SHELL-$SHELL} --_ACEOF - --cat >>$CONFIG_STATUS <<\_ACEOF --## --------------------- ## --## M4sh Initialization. ## --## --------------------- ## -+SHELL=\${CONFIG_SHELL-$SHELL} -+export SHELL -+_ASEOF -+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 -+## -------------------- ## -+## M4sh Initialization. ## -+## -------------------- ## - - # Be more Bourne compatible - DUALCASE=1; export DUALCASE # for MKS sh --if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then -+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: -- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which -+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST - else -- case `(set -o) 2>/dev/null` in -- *posix*) set -o posix ;; -+ case `(set -o) 2>/dev/null` in #( -+ *posix*) : -+ set -o posix ;; #( -+ *) : -+ ;; - esac -- - fi - - -- -- --# PATH needs CR --# Avoid depending upon Character Ranges. --as_cr_letters='abcdefghijklmnopqrstuvwxyz' --as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' --as_cr_Letters=$as_cr_letters$as_cr_LETTERS --as_cr_digits='0123456789' --as_cr_alnum=$as_cr_Letters$as_cr_digits -- --# The user is always right. --if test "${PATH_SEPARATOR+set}" != set; then -- echo "#! /bin/sh" >conf$$.sh -- echo "exit 0" >>conf$$.sh -- chmod +x conf$$.sh -- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then -- PATH_SEPARATOR=';' -- else -- PATH_SEPARATOR=: -+as_nl=' -+' -+export as_nl -+# Printing a long string crashes Solaris 7 /usr/bin/printf. -+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -+# Prefer a ksh shell builtin over an external printf program on Solaris, -+# but without wasting forks for bash or zsh. -+if test -z "$BASH_VERSION$ZSH_VERSION" \ -+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then -+ as_echo='print -r --' -+ as_echo_n='print -rn --' -+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then -+ as_echo='printf %s\n' -+ as_echo_n='printf %s' -+else -+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then -+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' -+ as_echo_n='/usr/ucb/echo -n' -+ else -+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' -+ as_echo_n_body='eval -+ arg=$1; -+ case $arg in #( -+ *"$as_nl"*) -+ expr "X$arg" : "X\\(.*\\)$as_nl"; -+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; -+ esac; -+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" -+ ' -+ export as_echo_n_body -+ as_echo_n='sh -c $as_echo_n_body as_echo' - fi -- rm -f conf$$.sh -+ export as_echo_body -+ as_echo='sh -c $as_echo_body as_echo' - fi - --# Support unset when possible. --if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then -- as_unset=unset --else -- as_unset=false -+# The user is always right. -+if test "${PATH_SEPARATOR+set}" != set; then -+ PATH_SEPARATOR=: -+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { -+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || -+ PATH_SEPARATOR=';' -+ } - fi - - -@@ -25087,20 +18656,18 @@ - # there to prevent editors from complaining about space-tab. - # (If _AS_PATH_WALK were called with IFS unset, it would disable word - # splitting by setting IFS to empty value.) --as_nl=' --' - IFS=" "" $as_nl" - - # Find who we are. Look in the path if we contain no directory separator. --case $0 in -+case $0 in #(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR - for as_dir in $PATH - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. -- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break --done -+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -+ done - IFS=$as_save_IFS - - ;; -@@ -25111,32 +18678,111 @@ - as_myself=$0 - fi - if test ! -f "$as_myself"; then -- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 -- { (exit 1); exit 1; } -+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 -+ exit 1 - fi - --# Work around bugs in pre-3.0 UWIN ksh. --for as_var in ENV MAIL MAILPATH --do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -+# Unset variables that we do not need and which cause bugs (e.g. in -+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -+# suppresses any "Segmentation fault" message there. '((' could -+# trigger a bug in pdksh 5.2.14. -+for as_var in BASH_ENV ENV MAIL MAILPATH -+do eval test x\${$as_var+set} = xset \ -+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : - done - PS1='$ ' - PS2='> ' - PS4='+ ' - - # NLS nuisances. --for as_var in \ -- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ -- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ -- LC_TELEPHONE LC_TIME --do -- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then -- eval $as_var=C; export $as_var -- else -- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -- fi --done -+LC_ALL=C -+export LC_ALL -+LANGUAGE=C -+export LANGUAGE -+ -+# CDPATH. -+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH -+ -+ -+# as_fn_error ERROR [LINENO LOG_FD] -+# --------------------------------- -+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -+# script with status $?, using 1 if that was 0. -+as_fn_error () -+{ -+ as_status=$?; test $as_status -eq 0 && as_status=1 -+ if test "$3"; then -+ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 -+ fi -+ $as_echo "$as_me: error: $1" >&2 -+ as_fn_exit $as_status -+} # as_fn_error -+ -+ -+# as_fn_set_status STATUS -+# ----------------------- -+# Set $? to STATUS, without forking. -+as_fn_set_status () -+{ -+ return $1 -+} # as_fn_set_status -+ -+# as_fn_exit STATUS -+# ----------------- -+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -+as_fn_exit () -+{ -+ set +e -+ as_fn_set_status $1 -+ exit $1 -+} # as_fn_exit -+ -+# as_fn_unset VAR -+# --------------- -+# Portably unset VAR. -+as_fn_unset () -+{ -+ { eval $1=; unset $1;} -+} -+as_unset=as_fn_unset -+# as_fn_append VAR VALUE -+# ---------------------- -+# Append the text in VALUE to the end of the definition contained in VAR. Take -+# advantage of any shell optimizations that allow amortized linear growth over -+# repeated appends, instead of the typical quadratic growth present in naive -+# implementations. -+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : -+ eval 'as_fn_append () -+ { -+ eval $1+=\$2 -+ }' -+else -+ as_fn_append () -+ { -+ eval $1=\$$1\$2 -+ } -+fi # as_fn_append -+ -+# as_fn_arith ARG... -+# ------------------ -+# Perform arithmetic evaluation on the ARGs, and store the result in the -+# global $as_val. Take advantage of shells that can avoid forks. The arguments -+# must be portable across $(()) and expr. -+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : -+ eval 'as_fn_arith () -+ { -+ as_val=$(( $* )) -+ }' -+else -+ as_fn_arith () -+ { -+ as_val=`expr "$@" || test $? -eq 1` -+ } -+fi # as_fn_arith -+ - --# Required to use basename. - if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -@@ -25150,13 +18796,17 @@ - as_basename=false - fi - -+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then -+ as_dirname=dirname -+else -+ as_dirname=false -+fi - --# Name of the executable. - as_me=`$as_basename -- "$0" || - $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || --echo X/"$0" | -+$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q -@@ -25171,104 +18821,103 @@ - } - s/.*/./; q'` - --# CDPATH. --$as_unset CDPATH -- -- -- -- as_lineno_1=$LINENO -- as_lineno_2=$LINENO -- test "x$as_lineno_1" != "x$as_lineno_2" && -- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { -- -- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO -- # uniformly replaced by the line number. The first 'sed' inserts a -- # line-number line after each line using $LINENO; the second 'sed' -- # does the real work. The second script uses 'N' to pair each -- # line-number line with the line containing $LINENO, and appends -- # trailing '-' during substitution so that $LINENO is not a special -- # case at line end. -- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the -- # scripts with optimization help from Paolo Bonzini. Blame Lee -- # E. McMahon (1931-1989) for sed's syntax. :-) -- sed -n ' -- p -- /[$]LINENO/= -- ' <$as_myself | -- sed ' -- s/[$]LINENO.*/&-/ -- t lineno -- b -- :lineno -- N -- :loop -- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ -- t loop -- s/-\n.*// -- ' >$as_me.lineno && -- chmod +x "$as_me.lineno" || -- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 -- { (exit 1); exit 1; }; } -- -- # Don't try to exec as it changes $[0], causing all sort of problems -- # (the dirname of $[0] is not the place where we might find the -- # original and so on. Autoconf is especially sensitive to this). -- . "./$as_me.lineno" -- # Exit status is that of the last command. -- exit --} -- -- --if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then -- as_dirname=dirname --else -- as_dirname=false --fi -+# Avoid depending upon Character Ranges. -+as_cr_letters='abcdefghijklmnopqrstuvwxyz' -+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -+as_cr_Letters=$as_cr_letters$as_cr_LETTERS -+as_cr_digits='0123456789' -+as_cr_alnum=$as_cr_Letters$as_cr_digits - - ECHO_C= ECHO_N= ECHO_T= --case `echo -n x` in -+case `echo -n x` in #((((( - -n*) -- case `echo 'x\c'` in -+ case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. -- *) ECHO_C='\c';; -+ xy) ECHO_C='\c';; -+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null -+ ECHO_T=' ';; - esac;; - *) - ECHO_N='-n';; - esac - --if expr a : '\(a\)' >/dev/null 2>&1 && -- test "X`expr 00001 : '.*\(...\)'`" = X001; then -- as_expr=expr --else -- as_expr=false --fi -- - rm -f conf$$ conf$$.exe conf$$.file - if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file - else - rm -f conf$$.dir -- mkdir conf$$.dir -+ mkdir conf$$.dir 2>/dev/null - fi --echo >conf$$.file --if ln -s conf$$.file conf$$ 2>/dev/null; then -- as_ln_s='ln -s' -- # ... but there are two gotchas: -- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. -- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. -- # In both cases, we have to default to `cp -p'. -- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || -+if (echo >conf$$.file) 2>/dev/null; then -+ if ln -s conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s='ln -s' -+ # ... but there are two gotchas: -+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. -+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. -+ # In both cases, we have to default to `cp -p'. -+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || -+ as_ln_s='cp -p' -+ elif ln conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s=ln -+ else - as_ln_s='cp -p' --elif ln conf$$.file conf$$ 2>/dev/null; then -- as_ln_s=ln -+ fi - else - as_ln_s='cp -p' - fi - rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file - rmdir conf$$.dir 2>/dev/null - -+ -+# as_fn_mkdir_p -+# ------------- -+# Create "$as_dir" as a directory, including parents if necessary. -+as_fn_mkdir_p () -+{ -+ -+ case $as_dir in #( -+ -*) as_dir=./$as_dir;; -+ esac -+ test -d "$as_dir" || eval $as_mkdir_p || { -+ as_dirs= -+ while :; do -+ case $as_dir in #( -+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( -+ *) as_qdir=$as_dir;; -+ esac -+ as_dirs="'$as_qdir' $as_dirs" -+ as_dir=`$as_dirname -- "$as_dir" || -+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$as_dir" : 'X\(//\)[^/]' \| \ -+ X"$as_dir" : 'X\(//\)$' \| \ -+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$as_dir" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ test -d "$as_dir" && break -+ done -+ test -z "$as_dirs" || eval "mkdir $as_dirs" -+ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" -+ -+ -+} # as_fn_mkdir_p - if mkdir -p . 2>/dev/null; then -- as_mkdir_p=: -+ as_mkdir_p='mkdir -p "$as_dir"' - else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -@@ -25285,12 +18934,12 @@ - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then -- test -d "$1/."; -+ test -d "$1/."; - else -- case $1 in -- -*)set "./$1";; -+ case $1 in #( -+ -*)set "./$1";; - esac; -- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in -+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -@@ -25305,13 +18954,19 @@ - - - exec 6>&1 -+## ----------------------------------- ## -+## Main body of $CONFIG_STATUS script. ## -+## ----------------------------------- ## -+_ASEOF -+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 - --# Save the log message, to keep $[0] and so on meaningful, and to -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+# Save the log message, to keep $0 and so on meaningful, and to - # report actual input values of CONFIG_FILES etc. instead of their - # values after options handling. - ac_log=" - This file was extended by $as_me, which was --generated by GNU Autoconf 2.61. Invocation command line was -+generated by GNU Autoconf 2.65. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS -@@ -25324,7 +18979,16 @@ - - _ACEOF - --cat >>$CONFIG_STATUS <<_ACEOF -+case $ac_config_files in *" -+"*) set x $ac_config_files; shift; ac_config_files=$*;; -+esac -+ -+case $ac_config_headers in *" -+"*) set x $ac_config_headers; shift; ac_config_headers=$*;; -+esac -+ -+ -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - # Files that config.status was made for. - config_files="$ac_config_files" - config_headers="$ac_config_headers" -@@ -25332,22 +18996,25 @@ - - _ACEOF - --cat >>$CONFIG_STATUS <<\_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - ac_cs_usage="\ --\`$as_me' instantiates files from templates according to the --current configuration. -+\`$as_me' instantiates files and other configuration actions -+from templates according to the current configuration. Unless the files -+and actions are specified as TAGs, all are instantiated by default. - --Usage: $0 [OPTIONS] [FILE]... -+Usage: $0 [OPTION]... [TAG]... - - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then exit -- -q, --quiet do not print progress messages -+ --config print configuration, then exit -+ -q, --quiet, --silent -+ do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions -- --file=FILE[:TEMPLATE] -- instantiate the configuration file FILE -- --header=FILE[:TEMPLATE] -- instantiate the configuration header FILE -+ --file=FILE[:TEMPLATE] -+ instantiate the configuration file FILE -+ --header=FILE[:TEMPLATE] -+ instantiate the configuration header FILE - - Configuration files: - $config_files -@@ -25358,16 +19025,17 @@ - Configuration commands: - $config_commands - --Report bugs to ." -+Report bugs to the package provider." - - _ACEOF --cat >>$CONFIG_STATUS <<_ACEOF -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" - ac_cs_version="\\ - config.status --configured by $0, generated by GNU Autoconf 2.61, -- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" -+configured by $0, generated by GNU Autoconf 2.65, -+ with options \\"\$ac_cs_config\\" - --Copyright (C) 2006 Free Software Foundation, Inc. -+Copyright (C) 2009 Free Software Foundation, Inc. - This config.status script is free software; the Free Software Foundation - gives unlimited permission to copy, distribute and modify it." - -@@ -25375,11 +19043,12 @@ - srcdir='$srcdir' - INSTALL='$INSTALL' - MKDIR_P='$MKDIR_P' -+AWK='$AWK' -+test -n "\$AWK" || AWK=awk - _ACEOF - --cat >>$CONFIG_STATUS <<\_ACEOF --# If no file are specified by the user, then we need to provide default --# value. By we need to know if files were specified by the user. -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+# The default lists apply if the user does not specify any file. - ac_need_defaults=: - while test $# != 0 - do -@@ -25401,34 +19070,40 @@ - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) -- echo "$ac_cs_version"; exit ;; -+ $as_echo "$ac_cs_version"; exit ;; -+ --config | --confi | --conf | --con | --co | --c ) -+ $as_echo "$ac_cs_config"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift -- CONFIG_FILES="$CONFIG_FILES $ac_optarg" -+ case $ac_optarg in -+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; -+ esac -+ as_fn_append CONFIG_FILES " '$ac_optarg'" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - $ac_shift -- CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" -+ case $ac_optarg in -+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; -+ esac -+ as_fn_append CONFIG_HEADERS " '$ac_optarg'" - ac_need_defaults=false;; - --he | --h) - # Conflict between --help and --header -- { echo "$as_me: error: ambiguous option: $1 --Try \`$0 --help' for more information." >&2 -- { (exit 1); exit 1; }; };; -+ as_fn_error "ambiguous option: \`$1' -+Try \`$0 --help' for more information.";; - --help | --hel | -h ) -- echo "$ac_cs_usage"; exit ;; -+ $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. -- -*) { echo "$as_me: error: unrecognized option: $1 --Try \`$0 --help' for more information." >&2 -- { (exit 1); exit 1; }; } ;; -+ -*) as_fn_error "unrecognized option: \`$1' -+Try \`$0 --help' for more information." ;; - -- *) ac_config_targets="$ac_config_targets $1" -+ *) as_fn_append ac_config_targets " $1" - ac_need_defaults=false ;; - - esac -@@ -25443,27 +19118,29 @@ - fi - - _ACEOF --cat >>$CONFIG_STATUS <<_ACEOF -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - if \$ac_cs_recheck; then -- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 -- CONFIG_SHELL=$SHELL -+ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion -+ shift -+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 -+ CONFIG_SHELL='$SHELL' - export CONFIG_SHELL -- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion -+ exec "\$@" - fi - - _ACEOF --cat >>$CONFIG_STATUS <<\_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - exec 5>>config.log - { - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX - ## Running $as_me. ## - _ASBOX -- echo "$ac_log" -+ $as_echo "$ac_log" - } >&5 - - _ACEOF --cat >>$CONFIG_STATUS <<_ACEOF -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - # - # INIT-COMMANDS - # -@@ -25505,6 +19182,7 @@ - lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' - reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' - reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' -+OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' - deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' - file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' - AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' -@@ -25663,6 +19341,7 @@ - lt_SP2NL \ - lt_NL2SP \ - reload_flag \ -+OBJDUMP \ - deplibs_check_method \ - file_magic_cmd \ - AR \ -@@ -25820,7 +19499,7 @@ - - _ACEOF - --cat >>$CONFIG_STATUS <<\_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - - # Handling of arguments. - for ac_config_target in $ac_config_targets -@@ -25834,9 +19513,7 @@ - "libgps.pc") CONFIG_FILES="$CONFIG_FILES libgps.pc" ;; - "libgpsd.pc") CONFIG_FILES="$CONFIG_FILES libgpsd.pc" ;; - -- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 --echo "$as_me: error: invalid argument: $ac_config_target" >&2;} -- { (exit 1); exit 1; }; };; -+ *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; - esac - done - -@@ -25863,7 +19540,7 @@ - trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status - ' 0 -- trap '{ (exit 1); exit 1; }' 1 2 13 15 -+ trap 'as_fn_exit 1' 1 2 13 15 - } - # Create a (secure) tmp directory for tmp files. - -@@ -25874,275 +19551,139 @@ - { - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") --} || --{ -- echo "$me: cannot create a temporary directory in ." >&2 -- { (exit 1); exit 1; } --} -- --# --# Set up the sed scripts for CONFIG_FILES section. --# -+} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 - --# No need to generate the scripts if there are no CONFIG_FILES. --# This happens for instance when ./config.status config.h -+# Set up the scripts for CONFIG_FILES section. -+# No need to generate them if there are no CONFIG_FILES. -+# This happens for instance with `./config.status config.h'. - if test -n "$CONFIG_FILES"; then - --_ACEOF -- -- -- --ac_delim='%!_!# ' --for ac_last_try in false false false false false :; do -- cat >conf$$subs.sed <<_ACEOF --SHELL!$SHELL$ac_delim --PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim --PACKAGE_NAME!$PACKAGE_NAME$ac_delim --PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim --PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim --PACKAGE_STRING!$PACKAGE_STRING$ac_delim --PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim --exec_prefix!$exec_prefix$ac_delim --prefix!$prefix$ac_delim --program_transform_name!$program_transform_name$ac_delim --bindir!$bindir$ac_delim --sbindir!$sbindir$ac_delim --libexecdir!$libexecdir$ac_delim --datarootdir!$datarootdir$ac_delim --datadir!$datadir$ac_delim --sysconfdir!$sysconfdir$ac_delim --sharedstatedir!$sharedstatedir$ac_delim --localstatedir!$localstatedir$ac_delim --includedir!$includedir$ac_delim --oldincludedir!$oldincludedir$ac_delim --docdir!$docdir$ac_delim --infodir!$infodir$ac_delim --htmldir!$htmldir$ac_delim --dvidir!$dvidir$ac_delim --pdfdir!$pdfdir$ac_delim --psdir!$psdir$ac_delim --libdir!$libdir$ac_delim --localedir!$localedir$ac_delim --mandir!$mandir$ac_delim --DEFS!$DEFS$ac_delim --ECHO_C!$ECHO_C$ac_delim --ECHO_N!$ECHO_N$ac_delim --ECHO_T!$ECHO_T$ac_delim --LIBS!$LIBS$ac_delim --build_alias!$build_alias$ac_delim --host_alias!$host_alias$ac_delim --target_alias!$target_alias$ac_delim --INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim --INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim --INSTALL_DATA!$INSTALL_DATA$ac_delim --am__isrc!$am__isrc$ac_delim --CYGPATH_W!$CYGPATH_W$ac_delim --PACKAGE!$PACKAGE$ac_delim --VERSION!$VERSION$ac_delim --ACLOCAL!$ACLOCAL$ac_delim --AUTOCONF!$AUTOCONF$ac_delim --AUTOMAKE!$AUTOMAKE$ac_delim --AUTOHEADER!$AUTOHEADER$ac_delim --MAKEINFO!$MAKEINFO$ac_delim --install_sh!$install_sh$ac_delim --STRIP!$STRIP$ac_delim --INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim --mkdir_p!$mkdir_p$ac_delim --AWK!$AWK$ac_delim --SET_MAKE!$SET_MAKE$ac_delim --am__leading_dot!$am__leading_dot$ac_delim --AMTAR!$AMTAR$ac_delim --am__tar!$am__tar$ac_delim --am__untar!$am__untar$ac_delim --PYTHON!$PYTHON$ac_delim --PYTHON_VERSION!$PYTHON_VERSION$ac_delim --PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim --PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim --PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim --pythondir!$pythondir$ac_delim --pkgpythondir!$pkgpythondir$ac_delim --pyexecdir!$pyexecdir$ac_delim --pkgpyexecdir!$pkgpyexecdir$ac_delim --CC!$CC$ac_delim --CFLAGS!$CFLAGS$ac_delim --LDFLAGS!$LDFLAGS$ac_delim --CPPFLAGS!$CPPFLAGS$ac_delim --ac_ct_CC!$ac_ct_CC$ac_delim --EXEEXT!$EXEEXT$ac_delim --OBJEXT!$OBJEXT$ac_delim --DEPDIR!$DEPDIR$ac_delim --am__include!$am__include$ac_delim --am__quote!$am__quote$ac_delim --AMDEP_TRUE!$AMDEP_TRUE$ac_delim --AMDEP_FALSE!$AMDEP_FALSE$ac_delim --AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim --CCDEPMODE!$CCDEPMODE$ac_delim --am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim --am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim --CPP!$CPP$ac_delim --GREP!$GREP$ac_delim --EGREP!$EGREP$ac_delim --PYTHON_CFLAGS!$PYTHON_CFLAGS$ac_delim --PYTHON_LIBS!$PYTHON_LIBS$ac_delim --HAVE_PYTHON_TRUE!$HAVE_PYTHON_TRUE$ac_delim --HAVE_PYTHON_FALSE!$HAVE_PYTHON_FALSE$ac_delim --LN_S!$LN_S$ac_delim --LIBTOOL!$LIBTOOL$ac_delim --build!$build$ac_delim --build_cpu!$build_cpu$ac_delim --build_vendor!$build_vendor$ac_delim --build_os!$build_os$ac_delim --_ACEOF -- -- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then -- break -- elif $ac_last_try; then -- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 --echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} -- { (exit 1); exit 1; }; } -- else -- ac_delim="$ac_delim!$ac_delim _$ac_delim!! " -- fi --done - --ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` --if test -n "$ac_eof"; then -- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` -- ac_eof=`expr $ac_eof + 1` -+ac_cr=`echo X | tr X '\015'` -+# On cygwin, bash can eat \r inside `` if the user requested igncr. -+# But we know of no other shell where ac_cr would be empty at this -+# point, so we can use a bashism as a fallback. -+if test "x$ac_cr" = x; then -+ eval ac_cr=\$\'\\r\' -+fi -+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` -+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then -+ ac_cs_awk_cr='\r' -+else -+ ac_cs_awk_cr=$ac_cr - fi - --cat >>$CONFIG_STATUS <<_ACEOF --cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof --/@[a-zA-Z_][a-zA-Z_0-9]*@/!b --_ACEOF --sed ' --s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g --s/^/s,@/; s/!/@,|#_!!_#|/ --:n --t n --s/'"$ac_delim"'$/,g/; t --s/$/\\/; p --N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n --' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF --CEOF$ac_eof -+echo 'BEGIN {' >"$tmp/subs1.awk" && - _ACEOF - - -+{ -+ echo "cat >conf$$subs.awk <<_ACEOF" && -+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && -+ echo "_ACEOF" -+} >conf$$subs.sh || -+ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 -+ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` - ac_delim='%!_!# ' - for ac_last_try in false false false false false :; do -- cat >conf$$subs.sed <<_ACEOF --host!$host$ac_delim --host_cpu!$host_cpu$ac_delim --host_vendor!$host_vendor$ac_delim --host_os!$host_os$ac_delim --SED!$SED$ac_delim --FGREP!$FGREP$ac_delim --LD!$LD$ac_delim --DUMPBIN!$DUMPBIN$ac_delim --ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim --NM!$NM$ac_delim --AR!$AR$ac_delim --RANLIB!$RANLIB$ac_delim --lt_ECHO!$lt_ECHO$ac_delim --DSYMUTIL!$DSYMUTIL$ac_delim --NMEDIT!$NMEDIT$ac_delim --LIPO!$LIPO$ac_delim --OTOOL!$OTOOL$ac_delim --OTOOL64!$OTOOL64$ac_delim --CXX!$CXX$ac_delim --CXXFLAGS!$CXXFLAGS$ac_delim --ac_ct_CXX!$ac_ct_CXX$ac_delim --CXXDEPMODE!$CXXDEPMODE$ac_delim --am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim --am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim --CXXCPP!$CXXCPP$ac_delim --ALLOCA!$ALLOCA$ac_delim --LIBNSL!$LIBNSL$ac_delim --LIBSOCKET!$LIBSOCKET$ac_delim --LIBM!$LIBM$ac_delim --LIBC!$LIBC$ac_delim --LIBPTHREAD!$LIBPTHREAD$ac_delim --XMKMF!$XMKMF$ac_delim --X_CFLAGS!$X_CFLAGS$ac_delim --X_PRE_LIBS!$X_PRE_LIBS$ac_delim --X_LIBS!$X_LIBS$ac_delim --X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim --X11_LIBS!$X11_LIBS$ac_delim --XT_LIBS!$XT_LIBS$ac_delim --XAW_LIBS!$XAW_LIBS$ac_delim --HAVE_XAW_TRUE!$HAVE_XAW_TRUE$ac_delim --HAVE_XAW_FALSE!$HAVE_XAW_FALSE$ac_delim --XEXT_LIBS!$XEXT_LIBS$ac_delim --XPM_LIBS!$XPM_LIBS$ac_delim --XP_LIBS!$XP_LIBS$ac_delim --XM_LIBS!$XM_LIBS$ac_delim --HAVE_MOTIF_TRUE!$HAVE_MOTIF_TRUE$ac_delim --HAVE_MOTIF_FALSE!$HAVE_MOTIF_FALSE$ac_delim --NCURSES_LIBS!$NCURSES_LIBS$ac_delim --HAVE_NCURSES_TRUE!$HAVE_NCURSES_TRUE$ac_delim --HAVE_NCURSES_FALSE!$HAVE_NCURSES_FALSE$ac_delim --HAVE_RTCM104V2_TRUE!$HAVE_RTCM104V2_TRUE$ac_delim --HAVE_RTCM104V2_FALSE!$HAVE_RTCM104V2_FALSE$ac_delim --HAVE_RTCM104V3_TRUE!$HAVE_RTCM104V3_TRUE$ac_delim --HAVE_RTCM104V3_FALSE!$HAVE_RTCM104V3_FALSE$ac_delim --HAVE_NTRIP_TRUE!$HAVE_NTRIP_TRUE$ac_delim --HAVE_NTRIP_FALSE!$HAVE_NTRIP_FALSE$ac_delim --DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim --DBUS_LIBS!$DBUS_LIBS$ac_delim --DBUS_GLIB_CFLAGS!$DBUS_GLIB_CFLAGS$ac_delim --DBUS_GLIB_LIBS!$DBUS_GLIB_LIBS$ac_delim --HAVE_DBUS_TRUE!$HAVE_DBUS_TRUE$ac_delim --HAVE_DBUS_FALSE!$HAVE_DBUS_FALSE$ac_delim --WITH_XSLTPROC!$WITH_XSLTPROC$ac_delim --WITH_XMLTO!$WITH_XMLTO$ac_delim --HAVE_XSLT_PROCESSOR_TRUE!$HAVE_XSLT_PROCESSOR_TRUE$ac_delim --HAVE_XSLT_PROCESSOR_FALSE!$HAVE_XSLT_PROCESSOR_FALSE$ac_delim --MANGENERATOR!$MANGENERATOR$ac_delim --MANTARGET!$MANTARGET$ac_delim --MANFLAGS!$MANFLAGS$ac_delim --LIBOBJS!$LIBOBJS$ac_delim --LTLIBOBJS!$LTLIBOBJS$ac_delim --_ACEOF -+ . ./conf$$subs.sh || -+ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 - -- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then -+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` -+ if test $ac_delim_n = $ac_delim_num; then - break - elif $ac_last_try; then -- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 --echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} -- { (exit 1); exit 1; }; } -+ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi - done -+rm -f conf$$subs.sh - --ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` --if test -n "$ac_eof"; then -- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` -- ac_eof=`expr $ac_eof + 1` --fi -- --cat >>$CONFIG_STATUS <<_ACEOF --cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof --/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end --_ACEOF --sed ' --s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g --s/^/s,@/; s/!/@,|#_!!_#|/ --:n --t n --s/'"$ac_delim"'$/,g/; t --s/$/\\/; p --N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n --' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF --:end --s/|#_!!_#|//g --CEOF$ac_eof -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+cat >>"\$tmp/subs1.awk" <<\\_ACAWK && - _ACEOF -+sed -n ' -+h -+s/^/S["/; s/!.*/"]=/ -+p -+g -+s/^[^!]*!// -+:repl -+t repl -+s/'"$ac_delim"'$// -+t delim -+:nl -+h -+s/\(.\{148\}\)..*/\1/ -+t more1 -+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ -+p -+n -+b repl -+:more1 -+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -+p -+g -+s/.\{148\}// -+t nl -+:delim -+h -+s/\(.\{148\}\)..*/\1/ -+t more2 -+s/["\\]/\\&/g; s/^/"/; s/$/"/ -+p -+b -+:more2 -+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -+p -+g -+s/.\{148\}// -+t delim -+' >$CONFIG_STATUS || ac_write_fail=1 -+rm -f conf$$subs.awk -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+_ACAWK -+cat >>"\$tmp/subs1.awk" <<_ACAWK && -+ for (key in S) S_is_set[key] = 1 -+ FS = "" -+ -+} -+{ -+ line = $ 0 -+ nfields = split(line, field, "@") -+ substed = 0 -+ len = length(field[1]) -+ for (i = 2; i < nfields; i++) { -+ key = field[i] -+ keylen = length(key) -+ if (S_is_set[key]) { -+ value = S[key] -+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) -+ len += length(value) + length(field[++i]) -+ substed = 1 -+ } else -+ len += 1 + keylen -+ } -+ -+ print line -+} - -+_ACAWK -+_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then -+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -+else -+ cat -+fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ -+ || as_fn_error "could not setup config files machinery" "$LINENO" 5 -+_ACEOF - - # VPATH may cause trouble with some makes, so we remove $(srcdir), - # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and -@@ -26159,20 +19700,128 @@ - }' - fi - --cat >>$CONFIG_STATUS <<\_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - fi # test -n "$CONFIG_FILES" - -+# Set up the scripts for CONFIG_HEADERS section. -+# No need to generate them if there are no CONFIG_HEADERS. -+# This happens for instance with `./config.status Makefile'. -+if test -n "$CONFIG_HEADERS"; then -+cat >"$tmp/defines.awk" <<\_ACAWK || -+BEGIN { -+_ACEOF -+ -+# Transform confdefs.h into an awk script `defines.awk', embedded as -+# here-document in config.status, that substitutes the proper values into -+# config.h.in to produce config.h. -+ -+# Create a delimiter string that does not exist in confdefs.h, to ease -+# handling of long lines. -+ac_delim='%!_!# ' -+for ac_last_try in false false :; do -+ ac_t=`sed -n "/$ac_delim/p" confdefs.h` -+ if test -z "$ac_t"; then -+ break -+ elif $ac_last_try; then -+ as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 -+ else -+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " -+ fi -+done -+ -+# For the awk script, D is an array of macro values keyed by name, -+# likewise P contains macro parameters if any. Preserve backslash -+# newline sequences. -+ -+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -+sed -n ' -+s/.\{148\}/&'"$ac_delim"'/g -+t rset -+:rset -+s/^[ ]*#[ ]*define[ ][ ]*/ / -+t def -+d -+:def -+s/\\$// -+t bsnl -+s/["\\]/\\&/g -+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -+D["\1"]=" \3"/p -+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p -+d -+:bsnl -+s/["\\]/\\&/g -+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -+D["\1"]=" \3\\\\\\n"\\/p -+t cont -+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p -+t cont -+d -+:cont -+n -+s/.\{148\}/&'"$ac_delim"'/g -+t clear -+:clear -+s/\\$// -+t bsnlc -+s/["\\]/\\&/g; s/^/"/; s/$/"/p -+d -+:bsnlc -+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p -+b cont -+' >$CONFIG_STATUS || ac_write_fail=1 -+ -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+ for (key in D) D_is_set[key] = 1 -+ FS = "" -+} -+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { -+ line = \$ 0 -+ split(line, arg, " ") -+ if (arg[1] == "#") { -+ defundef = arg[2] -+ mac1 = arg[3] -+ } else { -+ defundef = substr(arg[1], 2) -+ mac1 = arg[2] -+ } -+ split(mac1, mac2, "(") #) -+ macro = mac2[1] -+ prefix = substr(line, 1, index(line, defundef) - 1) -+ if (D_is_set[macro]) { -+ # Preserve the white space surrounding the "#". -+ print prefix "define", macro P[macro] D[macro] -+ next -+ } else { -+ # Replace #undef with comments. This is necessary, for example, -+ # in the case of _POSIX_SOURCE, which is predefined and required -+ # on some systems where configure will not decide to define it. -+ if (defundef == "undef") { -+ print "/*", prefix defundef, macro, "*/" -+ next -+ } -+ } -+} -+{ print } -+_ACAWK -+_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+ as_fn_error "could not setup config headers machinery" "$LINENO" 5 -+fi # test -n "$CONFIG_HEADERS" -+ - --for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS -+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" -+shift -+for ac_tag - do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; -- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 --echo "$as_me: error: Invalid tag $ac_tag." >&2;} -- { (exit 1); exit 1; }; };; -+ :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac -@@ -26200,26 +19849,34 @@ - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || -- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 --echo "$as_me: error: cannot find input file: $ac_f" >&2;} -- { (exit 1); exit 1; }; };; -+ as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; - esac -- ac_file_inputs="$ac_file_inputs $ac_f" -+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac -+ as_fn_append ac_file_inputs " '$ac_f'" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ -- configure_input="Generated from "`IFS=: -- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." -+ configure_input='Generated from '` -+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' -+ `' by configure.' - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" -- { echo "$as_me:$LINENO: creating $ac_file" >&5 --echo "$as_me: creating $ac_file" >&6;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -+$as_echo "$as_me: creating $ac_file" >&6;} - fi -+ # Neutralize special characters interpreted by sed in replacement strings. -+ case $configure_input in #( -+ *\&* | *\|* | *\\* ) -+ ac_sed_conf_input=`$as_echo "$configure_input" | -+ sed 's/[\\\\&|]/\\\\&/g'`;; #( -+ *) ac_sed_conf_input=$configure_input;; -+ esac - - case $ac_tag in -- *:-:* | *:-) cat >"$tmp/stdin";; -+ *:-:* | *:-) cat >"$tmp/stdin" \ -+ || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; - esac - ;; - esac -@@ -26229,7 +19886,7 @@ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || --echo X"$ac_file" | -+$as_echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q -@@ -26247,55 +19904,15 @@ - q - } - s/.*/./; q'` -- { as_dir="$ac_dir" -- case $as_dir in #( -- -*) as_dir=./$as_dir;; -- esac -- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { -- as_dirs= -- while :; do -- case $as_dir in #( -- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( -- *) as_qdir=$as_dir;; -- esac -- as_dirs="'$as_qdir' $as_dirs" -- as_dir=`$as_dirname -- "$as_dir" || --$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -- X"$as_dir" : 'X\(//\)[^/]' \| \ -- X"$as_dir" : 'X\(//\)$' \| \ -- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || --echo X"$as_dir" | -- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -- s//\1/ -- q -- } -- /^X\(\/\/\)[^/].*/{ -- s//\1/ -- q -- } -- /^X\(\/\/\)$/{ -- s//\1/ -- q -- } -- /^X\(\/\).*/{ -- s//\1/ -- q -- } -- s/.*/./; q'` -- test -d "$as_dir" && break -- done -- test -z "$as_dirs" || eval "mkdir $as_dirs" -- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 --echo "$as_me: error: cannot create directory $as_dir" >&2;} -- { (exit 1); exit 1; }; }; } -+ as_dir="$ac_dir"; as_fn_mkdir_p - ac_builddir=. - - case "$ac_dir" in - .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) -- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` -+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. -- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` -+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; -@@ -26340,12 +19957,12 @@ - esac - _ACEOF - --cat >>$CONFIG_STATUS <<\_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - # If the template does not know about datarootdir, expand it. - # FIXME: This hack should be removed a few years after 2.60. - ac_datarootdir_hack=; ac_datarootdir_seen= -- --case `sed -n '/datarootdir/ { -+ac_sed_dataroot=' -+/datarootdir/ { - p - q - } -@@ -26353,36 +19970,37 @@ - /@docdir@/p - /@infodir@/p - /@localedir@/p --/@mandir@/p --' $ac_file_inputs` in -+/@mandir@/p' -+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in - *datarootdir*) ac_datarootdir_seen=yes;; - *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) -- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 --echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} - _ACEOF --cat >>$CONFIG_STATUS <<_ACEOF -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - ac_datarootdir_hack=' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g -- s&\\\${datarootdir}&$datarootdir&g' ;; -+ s&\\\${datarootdir}&$datarootdir&g' ;; - esac - _ACEOF - - # Neutralize VPATH when `$srcdir' = `.'. - # Shell code in configure.ac might set extrasub. - # FIXME: do we really want to maintain this feature? --cat >>$CONFIG_STATUS <<_ACEOF -- sed "$ac_vpsub -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+ac_sed_extra="$ac_vpsub - $extrasub - _ACEOF --cat >>$CONFIG_STATUS <<\_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - :t - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b --s&@configure_input@&$configure_input&;t t -+s|@configure_input@|$ac_sed_conf_input|;t t - s&@top_builddir@&$ac_top_builddir_sub&;t t -+s&@top_build_prefix@&$ac_top_build_prefix&;t t - s&@srcdir@&$ac_srcdir&;t t - s&@abs_srcdir@&$ac_abs_srcdir&;t t - s&@top_srcdir@&$ac_top_srcdir&;t t -@@ -26393,121 +20011,50 @@ - s&@INSTALL@&$ac_INSTALL&;t t - s&@MKDIR_P@&$ac_MKDIR_P&;t t - $ac_datarootdir_hack --" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out -+" -+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ -+ || as_fn_error "could not create $ac_file" "$LINENO" 5 - - test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && -- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' - which seems to be undefined. Please make sure it is defined." >&5 --echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' - which seems to be undefined. Please make sure it is defined." >&2;} - - rm -f "$tmp/stdin" - case $ac_file in -- -) cat "$tmp/out"; rm -f "$tmp/out";; -- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; -- esac -+ -) cat "$tmp/out" && rm -f "$tmp/out";; -+ *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; -+ esac \ -+ || as_fn_error "could not create $ac_file" "$LINENO" 5 - ;; - :H) - # - # CONFIG_HEADER - # --_ACEOF -- --# Transform confdefs.h into a sed script `conftest.defines', that --# substitutes the proper values into config.h.in to produce config.h. --rm -f conftest.defines conftest.tail --# First, append a space to every undef/define line, to ease matching. --echo 's/$/ /' >conftest.defines --# Then, protect against being on the right side of a sed subst, or in --# an unquoted here document, in config.status. If some macros were --# called several times there might be several #defines for the same --# symbol, which is useless. But do not sort them, since the last --# AC_DEFINE must be honored. --ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* --# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where --# NAME is the cpp macro being defined, VALUE is the value it is being given. --# PARAMS is the parameter list in the macro definition--in most cases, it's --# just an empty string. --ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' --ac_dB='\\)[ (].*,\\1define\\2' --ac_dC=' ' --ac_dD=' ,' -- --uniq confdefs.h | -- sed -n ' -- t rset -- :rset -- s/^[ ]*#[ ]*define[ ][ ]*// -- t ok -- d -- :ok -- s/[\\&,]/\\&/g -- s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p -- s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p -- ' >>conftest.defines -- --# Remove the space that was appended to ease matching. --# Then replace #undef with comments. This is necessary, for --# example, in the case of _POSIX_SOURCE, which is predefined and required --# on some systems where configure will not decide to define it. --# (The regexp can be short, since the line contains either #define or #undef.) --echo 's/ $// --s,^[ #]*u.*,/* & */,' >>conftest.defines -- --# Break up conftest.defines: --ac_max_sed_lines=50 -- --# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" --# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" --# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" --# et cetera. --ac_in='$ac_file_inputs' --ac_out='"$tmp/out1"' --ac_nxt='"$tmp/out2"' -- --while : --do -- # Write a here document: -- cat >>$CONFIG_STATUS <<_ACEOF -- # First, check the format of the line: -- cat >"\$tmp/defines.sed" <<\\CEOF --/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def --/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def --b --:def --_ACEOF -- sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS -- echo 'CEOF -- sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS -- ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in -- sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail -- grep . conftest.tail >/dev/null || break -- rm -f conftest.defines -- mv conftest.tail conftest.defines --done --rm -f conftest.defines conftest.tail -- --echo "ac_result=$ac_in" >>$CONFIG_STATUS --cat >>$CONFIG_STATUS <<\_ACEOF - if test x"$ac_file" != x-; then -- echo "/* $configure_input */" >"$tmp/config.h" -- cat "$ac_result" >>"$tmp/config.h" -- if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then -- { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 --echo "$as_me: $ac_file is unchanged" >&6;} -+ { -+ $as_echo "/* $configure_input */" \ -+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" -+ } >"$tmp/config.h" \ -+ || as_fn_error "could not create $ac_file" "$LINENO" 5 -+ if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -+$as_echo "$as_me: $ac_file is unchanged" >&6;} - else -- rm -f $ac_file -- mv "$tmp/config.h" $ac_file -+ rm -f "$ac_file" -+ mv "$tmp/config.h" "$ac_file" \ -+ || as_fn_error "could not create $ac_file" "$LINENO" 5 - fi - else -- echo "/* $configure_input */" -- cat "$ac_result" -+ $as_echo "/* $configure_input */" \ -+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ -+ || as_fn_error "could not create -" "$LINENO" 5 - fi -- rm -f "$tmp/out12" --# Compute $ac_file's index in $config_headers. --_am_arg=$ac_file -+# Compute "$ac_file"'s index in $config_headers. -+_am_arg="$ac_file" - _am_stamp_count=1 - for _am_header in $config_headers :; do - case $_am_header in -@@ -26522,7 +20069,7 @@ - X"$_am_arg" : 'X\(//\)[^/]' \| \ - X"$_am_arg" : 'X\(//\)$' \| \ - X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || --echo X"$_am_arg" | -+$as_echo X"$_am_arg" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q -@@ -26542,30 +20089,40 @@ - s/.*/./; q'`/stamp-h$_am_stamp_count - ;; - -- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 --echo "$as_me: executing $ac_file commands" >&6;} -+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -+$as_echo "$as_me: executing $ac_file commands" >&6;} - ;; - esac - - - case $ac_file$ac_mode in -- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do -- # Strip MF so we end up with the name of the file. -- mf=`echo "$mf" | sed -e 's/:.*$//'` -- # Check whether this is an Automake generated Makefile or not. -- # We used to match only the files named `Makefile.in', but -- # some people rename them; so instead we look at the file content. -- # Grep'ing the first line is not enough: some people post-process -- # each Makefile.in and add a new line on top of each file to say so. -- # Grep'ing the whole file is not good either: AIX grep has a line -- # limit of 2048, but all sed's we know have understand at least 4000. -- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then -- dirpart=`$as_dirname -- "$mf" || -+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || { -+ # Autoconf 2.62 quotes --file arguments for eval, but not when files -+ # are listed without --file. Let's play safe and only enable the eval -+ # if we detect the quoting. -+ case $CONFIG_FILES in -+ *\'*) eval set x "$CONFIG_FILES" ;; -+ *) set x $CONFIG_FILES ;; -+ esac -+ shift -+ for mf -+ do -+ # Strip MF so we end up with the name of the file. -+ mf=`echo "$mf" | sed -e 's/:.*$//'` -+ # Check whether this is an Automake generated Makefile or not. -+ # We used to match only the files named `Makefile.in', but -+ # some people rename them; so instead we look at the file content. -+ # Grep'ing the first line is not enough: some people post-process -+ # each Makefile.in and add a new line on top of each file to say so. -+ # Grep'ing the whole file is not good either: AIX grep has a line -+ # limit of 2048, but all sed's we know have understand at least 4000. -+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then -+ dirpart=`$as_dirname -- "$mf" || - $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$mf" : 'X\(//\)[^/]' \| \ - X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| . 2>/dev/null || --echo X"$mf" | -+$as_echo X"$mf" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q -@@ -26583,68 +20140,33 @@ - q - } - s/.*/./; q'` -- else -- continue -- fi -- # Extract the definition of DEPDIR, am__include, and am__quote -- # from the Makefile without running `make'. -- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` -- test -z "$DEPDIR" && continue -- am__include=`sed -n 's/^am__include = //p' < "$mf"` -- test -z "am__include" && continue -- am__quote=`sed -n 's/^am__quote = //p' < "$mf"` -- # When using ansi2knr, U may be empty or an underscore; expand it -- U=`sed -n 's/^U = //p' < "$mf"` -- # Find all dependency output files, they are included files with -- # $(DEPDIR) in their names. We invoke sed twice because it is the -- # simplest approach to changing $(DEPDIR) to its actual value in the -- # expansion. -- for file in `sed -n " -- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ -- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do -- # Make sure the directory exists. -- test -f "$dirpart/$file" && continue -- fdir=`$as_dirname -- "$file" || -+ else -+ continue -+ fi -+ # Extract the definition of DEPDIR, am__include, and am__quote -+ # from the Makefile without running `make'. -+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` -+ test -z "$DEPDIR" && continue -+ am__include=`sed -n 's/^am__include = //p' < "$mf"` -+ test -z "am__include" && continue -+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` -+ # When using ansi2knr, U may be empty or an underscore; expand it -+ U=`sed -n 's/^U = //p' < "$mf"` -+ # Find all dependency output files, they are included files with -+ # $(DEPDIR) in their names. We invoke sed twice because it is the -+ # simplest approach to changing $(DEPDIR) to its actual value in the -+ # expansion. -+ for file in `sed -n " -+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ -+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do -+ # Make sure the directory exists. -+ test -f "$dirpart/$file" && continue -+ fdir=`$as_dirname -- "$file" || - $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$file" : 'X\(//\)[^/]' \| \ - X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| . 2>/dev/null || --echo X"$file" | -- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -- s//\1/ -- q -- } -- /^X\(\/\/\)[^/].*/{ -- s//\1/ -- q -- } -- /^X\(\/\/\)$/{ -- s//\1/ -- q -- } -- /^X\(\/\).*/{ -- s//\1/ -- q -- } -- s/.*/./; q'` -- { as_dir=$dirpart/$fdir -- case $as_dir in #( -- -*) as_dir=./$as_dir;; -- esac -- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { -- as_dirs= -- while :; do -- case $as_dir in #( -- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( -- *) as_qdir=$as_dir;; -- esac -- as_dirs="'$as_qdir' $as_dirs" -- as_dir=`$as_dirname -- "$as_dir" || --$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -- X"$as_dir" : 'X\(//\)[^/]' \| \ -- X"$as_dir" : 'X\(//\)$' \| \ -- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || --echo X"$as_dir" | -+$as_echo X"$file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q -@@ -26662,16 +20184,12 @@ - q - } - s/.*/./; q'` -- test -d "$as_dir" && break -+ as_dir=$dirpart/$fdir; as_fn_mkdir_p -+ # echo "creating $dirpart/$file" -+ echo '# dummy' > "$dirpart/$file" - done -- test -z "$as_dirs" || eval "mkdir $as_dirs" -- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 --echo "$as_me: error: cannot create directory $as_dir" >&2;} -- { (exit 1); exit 1; }; }; } -- # echo "creating $dirpart/$file" -- echo '# dummy' > "$dirpart/$file" - done --done -+} - ;; - "libtool":C) - -@@ -26795,6 +20313,9 @@ - reload_flag=$lt_reload_flag - reload_cmds=$lt_reload_cmds - -+# An object symbol dumper. -+OBJDUMP=$lt_OBJDUMP -+ - # Method to check whether dependent libraries are shared objects. - deplibs_check_method=$lt_deplibs_check_method - -@@ -27477,11 +20998,13 @@ - done # for ac_tag - - --{ (exit 0); exit 0; } -+as_fn_exit 0 - _ACEOF --chmod +x $CONFIG_STATUS - ac_clean_files=$ac_clean_files_save - -+test $ac_write_fail = 0 || -+ as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 -+ - - # configure is writing to config.log, and then calls config.status. - # config.status does its own redirection, appending to config.log. -@@ -27501,7 +21024,11 @@ - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? = 1, which - # would make configure fail if this is the last instruction. -- $ac_cs_success || { (exit 1); exit 1; } -+ $ac_cs_success || as_fn_exit $? -+fi -+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} - fi - - echo "Configure finished, type 'make' to build." -diff -Nur gpsd-2.39.orig/configure.ac gpsd-2.39/configure.ac ---- gpsd-2.39.orig/configure.ac 2009-03-18 22:09:27.000000000 +0100 -+++ gpsd-2.39/configure.ac 2010-02-18 21:37:14.084858658 +0100 -@@ -5,84 +5,6 @@ - AM_CONFIG_HEADER(gpsd_config.h) - AC_LANG([C]) - --AC_ARG_ENABLE(python, -- AC_HELP_STRING([--disable-python], -- [disable python scripts and library bindings]), -- [try_python="$enableval"], [try_python="yes"]) --if test "x$try_python" = "xyes"; then -- AM_PATH_PYTHON -- ac_python=yes -- if test "x$PYTHON" = "x"; then -- AC_PATH_PROG(PYTHON, python, none) -- fi -- -- if test "x$PYTHON" = "xnone"; then -- AC_MSG_WARN([*** Python interpreter not found, Python support disabled.]) -- ac_python=no -- fi -- -- if test "x$ac_python" = "xyes"; then -- AC_MSG_CHECKING(Python version and location) -- PYTHON_PREFIX=`$PYTHON -c "import sys; print sys.prefix"` -- PYTHON_VERSION_MAJOR=[`$PYTHON -c "import sys; print '%d' % (sys.version_info[0]);"`] -- PYTHON_VERSION_MINOR=[`$PYTHON -c "import sys; print '%d' % (sys.version_info[1]);"`] -- PYTHON_VERSION="${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}" -- AC_MSG_RESULT([$PYTHON, $PYTHON_VERSION, $PYTHON_PREFIX]) -- -- AC_MSG_CHECKING(whether Python is at least 2.4) -- if test $PYTHON_VERSION_MAJOR -lt 2 -o $PYTHON_VERSION_MAJOR -eq 2 -a $PYTHON_VERSION_MINOR -lt 3; then -- AC_MSG_RESULT(no) -- AC_MSG_WARN([*** GPSD requires at least Python 2.3, Python support disabled.]) -- ac_python=no -- fi -- if test "x$ac_python" = "xyes"; then -- AC_MSG_RESULT(yes) -- -- PYTHON_CFLAGS="-DHAVE_PYTHON -I$PYTHON_PREFIX/include/python$PYTHON_VERSION" -- -- OLD_CPPFLAGS="$CPPFLAGS" -- OLD_CXXFLAGS="$CXXFLAGS" -- CPPFLAGS="$CPPFLAGS $PYTHON_CFLAGS" -- CXXFLAGS="$CXXFLAGS $PYTHON_CFLAGS" -- -- AC_CHECK_HEADERS([Python.h], -- [], -- [AC_MSG_WARN([*** Python include files not found! You should install the Python development package. Python support disabled]); ac_python=no]) -- CPPFLAGS="$OLD_CPPFLAGS" -- CXXFLAGS="$OLD_CXXFLAGS" -- -- if test "x$ac_python" = "xyes"; then -- AC_SUBST([PYTHON_CFLAGS]) -- -- ac_python=no -- for pylibpath in '/usr/lib' $PYTHON_PREFIX/lib $PYTHON_PREFIX/lib/python$PYTHON_VERSION/config; do -- eval `echo unset ac_cv_lib_python$PYTHON_VERSION'___'Py_Finalize | tr '.' '_'` -- -- save_LIBS=$LIBS -- LIBS="$LIBS -L$pylibpath $PYTHON_LIBS" -- AC_CHECK_LIB(python$PYTHON_VERSION, Py_Finalize, PYTHON_LIBS="-L$pylibpath -lpython$PYTHON_VERSION $PYTHON_DEPS"; ac_python=yes,,$PYTHON_DEPS) -- LIBS=$save_LIBS -- if test "x$ac_python" = "xyes"; then -- break -- fi -- done -- -- if test "x$ac_python" != "xyes"; then -- AC_MSG_WARN(*** Python development libraries required, Python support disabled) -- fi -- AC_SUBST([PYTHON_LIBS]) -- -- AC_SUBST(pkgpythondir) -- if test "x$python_install" = "xyes"; then -- pkgpythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION"/site-packages/gpsd" -- fi -- -- fi -- fi -- fi --fi --AM_CONDITIONAL([HAVE_PYTHON], [test x"$ac_python" = xyes]) -- - AC_PROG_LN_S - AC_PROG_MAKE_SET - AC_PROG_INSTALL -@@ -943,7 +865,6 @@ - echo " ---------------" - echo "Build ncurses programs : $ac_ncurses" - echo "Enable X11 support : $ac_x" --echo "Enable Python support : $ac_python" - echo "------------------------------------------" - - if test "xdummy" = "xdummy" -a \ -diff -Nur gpsd-2.39.orig/.deps/bits.Plo gpsd-2.39/.deps/bits.Plo ---- gpsd-2.39.orig/.deps/bits.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/bits.Plo 2010-02-18 21:44:24.436855481 +0100 -@@ -0,0 +1,25 @@ -+bits.lo: bits.c /usr/include/assert.h /usr/include/features.h \ -+ /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ -+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ -+ /usr/include/gnu/stubs-32.h bits.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h -+ -+/usr/include/assert.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+bits.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -diff -Nur gpsd-2.39.orig/.deps/bsd-base64.Plo gpsd-2.39/.deps/bsd-base64.Plo ---- gpsd-2.39.orig/.deps/bsd-base64.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/bsd-base64.Plo 2010-02-18 21:44:25.172853149 +0100 -@@ -0,0 +1,105 @@ -+bsd-base64.lo: bsd-base64.c /usr/include/sys/types.h \ -+ /usr/include/features.h /usr/include/bits/predefs.h \ -+ /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ -+ /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ -+ /usr/include/bits/types.h /usr/include/bits/typesizes.h \ -+ /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ -+ /usr/include/endian.h /usr/include/bits/endian.h \ -+ /usr/include/bits/byteswap.h /usr/include/sys/select.h \ -+ /usr/include/bits/select.h /usr/include/bits/sigset.h \ -+ /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ -+ /usr/include/bits/pthreadtypes.h /usr/include/ctype.h \ -+ /usr/include/xlocale.h /usr/include/stdio.h /usr/include/libio.h \ -+ /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/stdlib.h /usr/include/bits/waitflags.h \ -+ /usr/include/bits/waitstatus.h /usr/include/alloca.h \ -+ /usr/include/bits/stdlib.h /usr/include/string.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/bits/string3.h gpsd_config.h bsd-base64.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/ctype.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+gpsd_config.h: -+ -+bsd-base64.h: -diff -Nur gpsd-2.39.orig/.deps/cgps.Po gpsd-2.39/.deps/cgps.Po ---- gpsd-2.39.orig/.deps/cgps.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/cgps.Po 2010-02-18 21:44:19.136857257 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/crc24q.Plo gpsd-2.39/.deps/crc24q.Plo ---- gpsd-2.39.orig/.deps/crc24q.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/crc24q.Plo 2010-02-18 21:44:25.428854481 +0100 -@@ -0,0 +1,6 @@ -+crc24q.lo: crc24q.c /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ crc24q.h -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+crc24q.h: -diff -Nur gpsd-2.39.orig/.deps/dgnss.Plo gpsd-2.39/.deps/dgnss.Plo ---- gpsd-2.39.orig/.deps/dgnss.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/dgnss.Plo 2010-02-18 21:44:26.048854698 +0100 -@@ -0,0 +1,221 @@ -+dgnss.lo: dgnss.c /usr/include/sys/types.h /usr/include/features.h \ -+ /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ -+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ -+ /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \ -+ /usr/include/bits/typesizes.h /usr/include/time.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \ -+ /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ -+ /usr/include/sys/select.h /usr/include/bits/select.h \ -+ /usr/include/bits/sigset.h /usr/include/bits/time.h \ -+ /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ -+ /usr/include/sys/socket.h /usr/include/sys/uio.h /usr/include/bits/uio.h \ -+ /usr/include/bits/socket.h /usr/include/bits/sockaddr.h \ -+ /usr/include/asm/socket.h /usr/include/asm-generic/socket.h \ -+ /usr/include/asm/sockios.h /usr/include/asm-generic/sockios.h \ -+ /usr/include/bits/socket2.h /usr/include/string.h /usr/include/xlocale.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/stdlib.h /usr/include/bits/string3.h /usr/include/unistd.h \ -+ /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ -+ /usr/include/bits/confname.h /usr/include/getopt.h \ -+ /usr/include/bits/unistd.h /usr/include/errno.h \ -+ /usr/include/bits/errno.h /usr/include/linux/errno.h \ -+ /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \ -+ /usr/include/asm-generic/errno-base.h gpsd_config.h gpsd.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h /usr/include/stdio.h \ -+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/sys/socket.h: -+ -+/usr/include/sys/uio.h: -+ -+/usr/include/bits/uio.h: -+ -+/usr/include/bits/socket.h: -+ -+/usr/include/bits/sockaddr.h: -+ -+/usr/include/asm/socket.h: -+ -+/usr/include/asm-generic/socket.h: -+ -+/usr/include/asm/sockios.h: -+ -+/usr/include/asm-generic/sockios.h: -+ -+/usr/include/bits/socket2.h: -+ -+/usr/include/string.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/errno.h: -+ -+/usr/include/bits/errno.h: -+ -+/usr/include/linux/errno.h: -+ -+/usr/include/asm/errno.h: -+ -+/usr/include/asm-generic/errno.h: -+ -+/usr/include/asm-generic/errno-base.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -diff -Nur gpsd-2.39.orig/.deps/dgpsip.Plo gpsd-2.39/.deps/dgpsip.Plo ---- gpsd-2.39.orig/.deps/dgpsip.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/dgpsip.Plo 2010-02-18 21:44:26.940852959 +0100 -@@ -0,0 +1,278 @@ -+dgpsip.lo: dgpsip.c /usr/include/sys/types.h /usr/include/features.h \ -+ /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ -+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ -+ /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \ -+ /usr/include/bits/typesizes.h /usr/include/time.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \ -+ /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ -+ /usr/include/sys/select.h /usr/include/bits/select.h \ -+ /usr/include/bits/sigset.h /usr/include/bits/time.h \ -+ /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ -+ /usr/include/sys/socket.h /usr/include/sys/uio.h /usr/include/bits/uio.h \ -+ /usr/include/bits/socket.h /usr/include/bits/sockaddr.h \ -+ /usr/include/asm/socket.h /usr/include/asm-generic/socket.h \ -+ /usr/include/asm/sockios.h /usr/include/asm-generic/sockios.h \ -+ /usr/include/bits/socket2.h /usr/include/sys/time.h \ -+ /usr/include/unistd.h /usr/include/bits/posix_opt.h \ -+ /usr/include/bits/environments.h /usr/include/bits/confname.h \ -+ /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/stdlib.h \ -+ /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ -+ /usr/include/xlocale.h /usr/include/alloca.h /usr/include/bits/stdlib.h \ -+ /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ -+ /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h /usr/include/math.h \ -+ /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \ -+ /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \ -+ /usr/include/bits/nan.h /usr/include/bits/mathdef.h \ -+ /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \ -+ /usr/include/netdb.h /usr/include/netinet/in.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h /usr/include/bits/in.h \ -+ /usr/include/rpc/netdb.h /usr/include/bits/siginfo.h \ -+ /usr/include/bits/netdb.h /usr/include/string.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/bits/string3.h /usr/include/errno.h \ -+ /usr/include/bits/errno.h /usr/include/linux/errno.h \ -+ /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \ -+ /usr/include/asm-generic/errno-base.h /usr/include/fcntl.h \ -+ /usr/include/bits/fcntl.h /usr/include/sys/stat.h \ -+ /usr/include/bits/stat.h /usr/include/bits/fcntl2.h gpsd_config.h gpsd.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/inttypes.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h \ -+ /usr/include/bits/sigstack.h /usr/include/sys/ucontext.h \ -+ /usr/include/bits/sigthread.h /usr/include/pthread.h \ -+ /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/sys/socket.h: -+ -+/usr/include/sys/uio.h: -+ -+/usr/include/bits/uio.h: -+ -+/usr/include/bits/socket.h: -+ -+/usr/include/bits/sockaddr.h: -+ -+/usr/include/asm/socket.h: -+ -+/usr/include/asm-generic/socket.h: -+ -+/usr/include/asm/sockios.h: -+ -+/usr/include/asm-generic/sockios.h: -+ -+/usr/include/bits/socket2.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+/usr/include/netdb.h: -+ -+/usr/include/netinet/in.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/include/bits/in.h: -+ -+/usr/include/rpc/netdb.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/netdb.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/include/errno.h: -+ -+/usr/include/bits/errno.h: -+ -+/usr/include/linux/errno.h: -+ -+/usr/include/asm/errno.h: -+ -+/usr/include/asm-generic/errno.h: -+ -+/usr/include/asm-generic/errno-base.h: -+ -+/usr/include/fcntl.h: -+ -+/usr/include/bits/fcntl.h: -+ -+/usr/include/sys/stat.h: -+ -+/usr/include/bits/stat.h: -+ -+/usr/include/bits/fcntl2.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -diff -Nur gpsd-2.39.orig/.deps/driver_aivdm.Plo gpsd-2.39/.deps/driver_aivdm.Plo ---- gpsd-2.39.orig/.deps/driver_aivdm.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/driver_aivdm.Plo 2010-02-18 21:44:43.344854693 +0100 -@@ -0,0 +1,219 @@ -+driver_aivdm.lo: driver_aivdm.c /usr/include/sys/types.h \ -+ /usr/include/features.h /usr/include/bits/predefs.h \ -+ /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ -+ /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ -+ /usr/include/bits/types.h /usr/include/bits/typesizes.h \ -+ /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ -+ /usr/include/endian.h /usr/include/bits/endian.h \ -+ /usr/include/bits/byteswap.h /usr/include/sys/select.h \ -+ /usr/include/bits/select.h /usr/include/bits/sigset.h \ -+ /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ -+ /usr/include/bits/pthreadtypes.h /usr/include/stdio.h \ -+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/stdlib.h /usr/include/bits/waitflags.h \ -+ /usr/include/bits/waitstatus.h /usr/include/xlocale.h \ -+ /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/string.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/bits/string3.h /usr/include/math.h \ -+ /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \ -+ /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \ -+ /usr/include/bits/nan.h /usr/include/bits/mathdef.h \ -+ /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \ -+ /usr/include/ctype.h /usr/include/unistd.h /usr/include/bits/posix_opt.h \ -+ /usr/include/bits/environments.h /usr/include/bits/confname.h \ -+ /usr/include/getopt.h /usr/include/bits/unistd.h gpsd_config.h gpsd.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h bits.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+/usr/include/ctype.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -+ -+bits.h: -diff -Nur gpsd-2.39.orig/.deps/driver_evermore.Plo gpsd-2.39/.deps/driver_evermore.Plo ---- gpsd-2.39.orig/.deps/driver_evermore.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/driver_evermore.Plo 2010-02-18 21:44:44.624853771 +0100 -@@ -0,0 +1,219 @@ -+driver_evermore.lo: driver_evermore.c /usr/include/sys/types.h \ -+ /usr/include/features.h /usr/include/bits/predefs.h \ -+ /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ -+ /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ -+ /usr/include/bits/types.h /usr/include/bits/typesizes.h \ -+ /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ -+ /usr/include/endian.h /usr/include/bits/endian.h \ -+ /usr/include/bits/byteswap.h /usr/include/sys/select.h \ -+ /usr/include/bits/select.h /usr/include/bits/sigset.h \ -+ /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ -+ /usr/include/bits/pthreadtypes.h /usr/include/stdio.h \ -+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/stdlib.h /usr/include/bits/waitflags.h \ -+ /usr/include/bits/waitstatus.h /usr/include/xlocale.h \ -+ /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/string.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/bits/string3.h /usr/include/math.h \ -+ /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \ -+ /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \ -+ /usr/include/bits/nan.h /usr/include/bits/mathdef.h \ -+ /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \ -+ /usr/include/ctype.h /usr/include/unistd.h /usr/include/bits/posix_opt.h \ -+ /usr/include/bits/environments.h /usr/include/bits/confname.h \ -+ /usr/include/getopt.h /usr/include/bits/unistd.h gpsd_config.h gpsd.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h bits.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+/usr/include/ctype.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -+ -+bits.h: -diff -Nur gpsd-2.39.orig/.deps/driver_garmin.Plo gpsd-2.39/.deps/driver_garmin.Plo ---- gpsd-2.39.orig/.deps/driver_garmin.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/driver_garmin.Plo 2010-02-18 21:44:46.284853192 +0100 -@@ -0,0 +1,233 @@ -+driver_garmin.lo: driver_garmin.c /usr/include/sys/types.h \ -+ /usr/include/features.h /usr/include/bits/predefs.h \ -+ /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ -+ /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ -+ /usr/include/bits/types.h /usr/include/bits/typesizes.h \ -+ /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ -+ /usr/include/endian.h /usr/include/bits/endian.h \ -+ /usr/include/bits/byteswap.h /usr/include/sys/select.h \ -+ /usr/include/bits/select.h /usr/include/bits/sigset.h \ -+ /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ -+ /usr/include/bits/pthreadtypes.h /usr/include/xlocale.h \ -+ /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ -+ /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/stdlib.h /usr/include/bits/waitflags.h \ -+ /usr/include/bits/waitstatus.h /usr/include/alloca.h \ -+ /usr/include/bits/stdlib.h /usr/include/math.h \ -+ /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \ -+ /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \ -+ /usr/include/bits/nan.h /usr/include/bits/mathdef.h \ -+ /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \ -+ /usr/include/string.h /usr/include/bits/string.h \ -+ /usr/include/bits/string2.h /usr/include/bits/string3.h \ -+ /usr/include/unistd.h /usr/include/bits/posix_opt.h \ -+ /usr/include/bits/environments.h /usr/include/bits/confname.h \ -+ /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/errno.h \ -+ /usr/include/bits/errno.h /usr/include/linux/errno.h \ -+ /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \ -+ /usr/include/asm-generic/errno-base.h /usr/include/inttypes.h \ -+ /usr/include/stdint.h /usr/include/bits/wchar.h gpsd_config.h \ -+ /usr/include/strings.h gpsd.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/errno.h: -+ -+/usr/include/bits/errno.h: -+ -+/usr/include/linux/errno.h: -+ -+/usr/include/asm/errno.h: -+ -+/usr/include/asm-generic/errno.h: -+ -+/usr/include/asm-generic/errno-base.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+gpsd_config.h: -+ -+/usr/include/strings.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -diff -Nur gpsd-2.39.orig/.deps/driver_garmin_txt.Plo gpsd-2.39/.deps/driver_garmin_txt.Plo ---- gpsd-2.39.orig/.deps/driver_garmin_txt.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/driver_garmin_txt.Plo 2010-02-18 21:44:46.708859721 +0100 -@@ -0,0 +1,235 @@ -+driver_garmin_txt.lo: driver_garmin_txt.c /usr/include/sys/types.h \ -+ /usr/include/features.h /usr/include/bits/predefs.h \ -+ /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ -+ /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ -+ /usr/include/bits/types.h /usr/include/bits/typesizes.h \ -+ /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ -+ /usr/include/endian.h /usr/include/bits/endian.h \ -+ /usr/include/bits/byteswap.h /usr/include/sys/select.h \ -+ /usr/include/bits/select.h /usr/include/bits/sigset.h \ -+ /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ -+ /usr/include/bits/pthreadtypes.h /usr/include/stdio.h \ -+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/stdlib.h /usr/include/bits/waitflags.h \ -+ /usr/include/bits/waitstatus.h /usr/include/xlocale.h \ -+ /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/math.h \ -+ /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \ -+ /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \ -+ /usr/include/bits/nan.h /usr/include/bits/mathdef.h \ -+ /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \ -+ /usr/include/string.h /usr/include/bits/string.h \ -+ /usr/include/bits/string2.h /usr/include/bits/string3.h \ -+ /usr/include/unistd.h /usr/include/bits/posix_opt.h \ -+ /usr/include/bits/environments.h /usr/include/bits/confname.h \ -+ /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/errno.h \ -+ /usr/include/bits/errno.h /usr/include/linux/errno.h \ -+ /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \ -+ /usr/include/asm-generic/errno-base.h /usr/include/inttypes.h \ -+ /usr/include/stdint.h /usr/include/bits/wchar.h gpsd_config.h \ -+ /usr/include/strings.h gpsd.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h timebase.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/errno.h: -+ -+/usr/include/bits/errno.h: -+ -+/usr/include/linux/errno.h: -+ -+/usr/include/asm/errno.h: -+ -+/usr/include/asm-generic/errno.h: -+ -+/usr/include/asm-generic/errno-base.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+gpsd_config.h: -+ -+/usr/include/strings.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -+ -+timebase.h: -diff -Nur gpsd-2.39.orig/.deps/driver_italk.Plo gpsd-2.39/.deps/driver_italk.Plo ---- gpsd-2.39.orig/.deps/driver_italk.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/driver_italk.Plo 2010-02-18 21:44:47.828853212 +0100 -@@ -0,0 +1,221 @@ -+driver_italk.lo: driver_italk.c /usr/include/sys/types.h \ -+ /usr/include/features.h /usr/include/bits/predefs.h \ -+ /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ -+ /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ -+ /usr/include/bits/types.h /usr/include/bits/typesizes.h \ -+ /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ -+ /usr/include/endian.h /usr/include/bits/endian.h \ -+ /usr/include/bits/byteswap.h /usr/include/sys/select.h \ -+ /usr/include/bits/select.h /usr/include/bits/sigset.h \ -+ /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ -+ /usr/include/bits/pthreadtypes.h /usr/include/stdio.h \ -+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/stdlib.h /usr/include/bits/waitflags.h \ -+ /usr/include/bits/waitstatus.h /usr/include/xlocale.h \ -+ /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/string.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/bits/string3.h /usr/include/math.h \ -+ /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \ -+ /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \ -+ /usr/include/bits/nan.h /usr/include/bits/mathdef.h \ -+ /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \ -+ /usr/include/ctype.h /usr/include/unistd.h /usr/include/bits/posix_opt.h \ -+ /usr/include/bits/environments.h /usr/include/bits/confname.h \ -+ /usr/include/getopt.h /usr/include/bits/unistd.h gpsd_config.h gpsd.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h bits.h driver_italk.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+/usr/include/ctype.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -+ -+bits.h: -+ -+driver_italk.h: -diff -Nur gpsd-2.39.orig/.deps/driver_navcom.Plo gpsd-2.39/.deps/driver_navcom.Plo ---- gpsd-2.39.orig/.deps/driver_navcom.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/driver_navcom.Plo 2010-02-18 21:44:51.032853789 +0100 -@@ -0,0 +1,219 @@ -+driver_navcom.lo: driver_navcom.c /usr/include/stdio.h \ -+ /usr/include/features.h /usr/include/bits/predefs.h \ -+ /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ -+ /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ -+ /usr/include/bits/types.h /usr/include/bits/typesizes.h \ -+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/stdlib.h /usr/include/bits/waitflags.h \ -+ /usr/include/bits/waitstatus.h /usr/include/endian.h \ -+ /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ -+ /usr/include/xlocale.h /usr/include/sys/types.h /usr/include/time.h \ -+ /usr/include/sys/select.h /usr/include/bits/select.h \ -+ /usr/include/bits/sigset.h /usr/include/bits/time.h \ -+ /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ -+ /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/string.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/bits/string3.h /usr/include/math.h \ -+ /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \ -+ /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \ -+ /usr/include/bits/nan.h /usr/include/bits/mathdef.h \ -+ /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \ -+ /usr/include/ctype.h /usr/include/unistd.h /usr/include/bits/posix_opt.h \ -+ /usr/include/bits/environments.h /usr/include/bits/confname.h \ -+ /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/inttypes.h \ -+ /usr/include/stdint.h /usr/include/bits/wchar.h gpsd_config.h gpsd.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h bits.h -+ -+/usr/include/stdio.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/sys/types.h: -+ -+/usr/include/time.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+/usr/include/ctype.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -+ -+bits.h: -diff -Nur gpsd-2.39.orig/.deps/driver_nmea.Plo gpsd-2.39/.deps/driver_nmea.Plo ---- gpsd-2.39.orig/.deps/driver_nmea.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/driver_nmea.Plo 2010-02-18 21:44:52.852853477 +0100 -@@ -0,0 +1,219 @@ -+driver_nmea.lo: driver_nmea.c /usr/include/sys/types.h \ -+ /usr/include/features.h /usr/include/bits/predefs.h \ -+ /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ -+ /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ -+ /usr/include/bits/types.h /usr/include/bits/typesizes.h \ -+ /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ -+ /usr/include/endian.h /usr/include/bits/endian.h \ -+ /usr/include/bits/byteswap.h /usr/include/sys/select.h \ -+ /usr/include/bits/select.h /usr/include/bits/sigset.h \ -+ /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ -+ /usr/include/bits/pthreadtypes.h /usr/include/stdio.h \ -+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/unistd.h /usr/include/bits/posix_opt.h \ -+ /usr/include/bits/environments.h /usr/include/bits/confname.h \ -+ /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/stdlib.h \ -+ /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ -+ /usr/include/xlocale.h /usr/include/alloca.h /usr/include/bits/stdlib.h \ -+ /usr/include/math.h /usr/include/bits/huge_val.h \ -+ /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h \ -+ /usr/include/bits/inf.h /usr/include/bits/nan.h \ -+ /usr/include/bits/mathdef.h /usr/include/bits/mathcalls.h \ -+ /usr/include/bits/mathinline.h /usr/include/string.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/bits/string3.h /usr/include/ctype.h gpsd_config.h gpsd.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h timebase.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/include/ctype.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -+ -+timebase.h: -diff -Nur gpsd-2.39.orig/.deps/driver_rtcm2.Plo gpsd-2.39/.deps/driver_rtcm2.Plo ---- gpsd-2.39.orig/.deps/driver_rtcm2.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/driver_rtcm2.Plo 2010-02-18 21:44:55.788853421 +0100 -@@ -0,0 +1,216 @@ -+driver_rtcm2.lo: driver_rtcm2.c /usr/include/sys/types.h \ -+ /usr/include/features.h /usr/include/bits/predefs.h \ -+ /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ -+ /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ -+ /usr/include/bits/types.h /usr/include/bits/typesizes.h \ -+ /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ -+ /usr/include/endian.h /usr/include/bits/endian.h \ -+ /usr/include/bits/byteswap.h /usr/include/sys/select.h \ -+ /usr/include/bits/select.h /usr/include/bits/sigset.h \ -+ /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ -+ /usr/include/bits/pthreadtypes.h /usr/include/unistd.h \ -+ /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ -+ /usr/include/bits/confname.h /usr/include/getopt.h \ -+ /usr/include/bits/unistd.h /usr/include/stdlib.h \ -+ /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ -+ /usr/include/xlocale.h /usr/include/alloca.h /usr/include/bits/stdlib.h \ -+ /usr/include/string.h /usr/include/bits/string.h \ -+ /usr/include/bits/string2.h /usr/include/bits/string3.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h /usr/include/stdio.h \ -+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h /usr/include/math.h \ -+ /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \ -+ /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \ -+ /usr/include/bits/nan.h /usr/include/bits/mathdef.h \ -+ /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \ -+ gpsd_config.h gpsd.h /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h driver_rtcm2.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -+ -+driver_rtcm2.h: -diff -Nur gpsd-2.39.orig/.deps/driver_rtcm3.Plo gpsd-2.39/.deps/driver_rtcm3.Plo ---- gpsd-2.39.orig/.deps/driver_rtcm3.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/driver_rtcm3.Plo 2010-02-18 21:44:58.916857166 +0100 -@@ -0,0 +1,228 @@ -+driver_rtcm3.lo: driver_rtcm3.c /usr/include/sys/types.h \ -+ /usr/include/features.h /usr/include/bits/predefs.h \ -+ /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ -+ /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ -+ /usr/include/bits/types.h /usr/include/bits/typesizes.h \ -+ /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ -+ /usr/include/endian.h /usr/include/bits/endian.h \ -+ /usr/include/bits/byteswap.h /usr/include/sys/select.h \ -+ /usr/include/bits/select.h /usr/include/bits/sigset.h \ -+ /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ -+ /usr/include/bits/pthreadtypes.h /usr/include/unistd.h \ -+ /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ -+ /usr/include/bits/confname.h /usr/include/getopt.h \ -+ /usr/include/bits/unistd.h /usr/include/stdlib.h \ -+ /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ -+ /usr/include/xlocale.h /usr/include/alloca.h /usr/include/bits/stdlib.h \ -+ /usr/include/string.h /usr/include/bits/string.h \ -+ /usr/include/bits/string2.h /usr/include/bits/string3.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h /usr/include/stdio.h \ -+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/assert.h /usr/include/arpa/inet.h /usr/include/netinet/in.h \ -+ /usr/include/stdint.h /usr/include/bits/wchar.h \ -+ /usr/include/sys/socket.h /usr/include/sys/uio.h /usr/include/bits/uio.h \ -+ /usr/include/bits/socket.h /usr/include/bits/sockaddr.h \ -+ /usr/include/asm/socket.h /usr/include/asm-generic/socket.h \ -+ /usr/include/asm/sockios.h /usr/include/asm-generic/sockios.h \ -+ /usr/include/bits/socket2.h /usr/include/bits/in.h gpsd_config.h gpsd.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h bits.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/assert.h: -+ -+/usr/include/arpa/inet.h: -+ -+/usr/include/netinet/in.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/include/sys/socket.h: -+ -+/usr/include/sys/uio.h: -+ -+/usr/include/bits/uio.h: -+ -+/usr/include/bits/socket.h: -+ -+/usr/include/bits/sockaddr.h: -+ -+/usr/include/asm/socket.h: -+ -+/usr/include/asm-generic/socket.h: -+ -+/usr/include/asm/sockios.h: -+ -+/usr/include/asm-generic/sockios.h: -+ -+/usr/include/bits/socket2.h: -+ -+/usr/include/bits/in.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -+ -+bits.h: -diff -Nur gpsd-2.39.orig/.deps/driver_sirf.Plo gpsd-2.39/.deps/driver_sirf.Plo ---- gpsd-2.39.orig/.deps/driver_sirf.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/driver_sirf.Plo 2010-02-18 21:45:02.908856425 +0100 -@@ -0,0 +1,219 @@ -+driver_sirf.lo: driver_sirf.c /usr/include/sys/types.h \ -+ /usr/include/features.h /usr/include/bits/predefs.h \ -+ /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ -+ /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ -+ /usr/include/bits/types.h /usr/include/bits/typesizes.h \ -+ /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ -+ /usr/include/endian.h /usr/include/bits/endian.h \ -+ /usr/include/bits/byteswap.h /usr/include/sys/select.h \ -+ /usr/include/bits/select.h /usr/include/bits/sigset.h \ -+ /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ -+ /usr/include/bits/pthreadtypes.h /usr/include/stdio.h \ -+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/stdlib.h /usr/include/bits/waitflags.h \ -+ /usr/include/bits/waitstatus.h /usr/include/xlocale.h \ -+ /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/string.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/bits/string3.h /usr/include/math.h \ -+ /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \ -+ /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \ -+ /usr/include/bits/nan.h /usr/include/bits/mathdef.h \ -+ /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \ -+ /usr/include/ctype.h /usr/include/unistd.h /usr/include/bits/posix_opt.h \ -+ /usr/include/bits/environments.h /usr/include/bits/confname.h \ -+ /usr/include/getopt.h /usr/include/bits/unistd.h gpsd_config.h gpsd.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h bits.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+/usr/include/ctype.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -+ -+bits.h: -diff -Nur gpsd-2.39.orig/.deps/drivers.Plo gpsd-2.39/.deps/drivers.Plo ---- gpsd-2.39.orig/.deps/drivers.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/drivers.Plo 2010-02-18 21:44:42.032852672 +0100 -@@ -0,0 +1,251 @@ -+drivers.lo: drivers.c /usr/include/sys/types.h /usr/include/features.h \ -+ /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ -+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ -+ /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \ -+ /usr/include/bits/typesizes.h /usr/include/time.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \ -+ /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ -+ /usr/include/sys/select.h /usr/include/bits/select.h \ -+ /usr/include/bits/sigset.h /usr/include/bits/time.h \ -+ /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ -+ /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ -+ /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ -+ /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ -+ /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/time.h \ -+ /usr/include/stdlib.h /usr/include/bits/waitflags.h \ -+ /usr/include/bits/waitstatus.h /usr/include/xlocale.h \ -+ /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/unistd.h \ -+ /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ -+ /usr/include/bits/confname.h /usr/include/getopt.h \ -+ /usr/include/bits/unistd.h /usr/include/string.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/bits/string3.h /usr/include/errno.h \ -+ /usr/include/bits/errno.h /usr/include/linux/errno.h \ -+ /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \ -+ /usr/include/asm-generic/errno-base.h /usr/include/stdio.h \ -+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h /usr/include/math.h \ -+ /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \ -+ /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \ -+ /usr/include/bits/nan.h /usr/include/bits/mathdef.h \ -+ /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \ -+ gpsd_config.h gpsd.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/termios.h gps.h /usr/include/inttypes.h \ -+ /usr/include/stdint.h /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h bits.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/sys/ioctl.h: -+ -+/usr/include/bits/ioctls.h: -+ -+/usr/include/asm/ioctls.h: -+ -+/usr/include/asm-generic/ioctls.h: -+ -+/usr/include/linux/ioctl.h: -+ -+/usr/include/asm/ioctl.h: -+ -+/usr/include/asm-generic/ioctl.h: -+ -+/usr/include/bits/ioctl-types.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/include/errno.h: -+ -+/usr/include/bits/errno.h: -+ -+/usr/include/linux/errno.h: -+ -+/usr/include/asm/errno.h: -+ -+/usr/include/asm-generic/errno.h: -+ -+/usr/include/asm-generic/errno-base.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -+ -+bits.h: -diff -Nur gpsd-2.39.orig/.deps/driver_superstar2.Plo gpsd-2.39/.deps/driver_superstar2.Plo ---- gpsd-2.39.orig/.deps/driver_superstar2.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/driver_superstar2.Plo 2010-02-18 21:45:04.500853064 +0100 -@@ -0,0 +1,221 @@ -+driver_superstar2.lo: driver_superstar2.c /usr/include/sys/types.h \ -+ /usr/include/features.h /usr/include/bits/predefs.h \ -+ /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ -+ /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ -+ /usr/include/bits/types.h /usr/include/bits/typesizes.h \ -+ /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ -+ /usr/include/endian.h /usr/include/bits/endian.h \ -+ /usr/include/bits/byteswap.h /usr/include/sys/select.h \ -+ /usr/include/bits/select.h /usr/include/bits/sigset.h \ -+ /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ -+ /usr/include/bits/pthreadtypes.h /usr/include/stdio.h \ -+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/stdlib.h /usr/include/bits/waitflags.h \ -+ /usr/include/bits/waitstatus.h /usr/include/xlocale.h \ -+ /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/string.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/bits/string3.h /usr/include/math.h \ -+ /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \ -+ /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \ -+ /usr/include/bits/nan.h /usr/include/bits/mathdef.h \ -+ /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \ -+ /usr/include/ctype.h /usr/include/unistd.h /usr/include/bits/posix_opt.h \ -+ /usr/include/bits/environments.h /usr/include/bits/confname.h \ -+ /usr/include/getopt.h /usr/include/bits/unistd.h gpsd_config.h gpsd.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h bits.h driver_superstar2.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+/usr/include/ctype.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -+ -+bits.h: -+ -+driver_superstar2.h: -diff -Nur gpsd-2.39.orig/.deps/driver_tsip.Plo gpsd-2.39/.deps/driver_tsip.Plo ---- gpsd-2.39.orig/.deps/driver_tsip.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/driver_tsip.Plo 2010-02-18 21:44:19.192857124 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/driver_ubx.Plo gpsd-2.39/.deps/driver_ubx.Plo ---- gpsd-2.39.orig/.deps/driver_ubx.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/driver_ubx.Plo 2010-02-18 21:44:19.196856795 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/driver_zodiac.Plo gpsd-2.39/.deps/driver_zodiac.Plo ---- gpsd-2.39.orig/.deps/driver_zodiac.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/driver_zodiac.Plo 2010-02-18 21:44:19.196856795 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/geoid.Plo gpsd-2.39/.deps/geoid.Plo ---- gpsd-2.39.orig/.deps/geoid.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/geoid.Plo 2010-02-18 21:44:29.168854345 +0100 -@@ -0,0 +1,177 @@ -+geoid.lo: geoid.c /usr/include/sys/types.h /usr/include/features.h \ -+ /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ -+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ -+ /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \ -+ /usr/include/bits/typesizes.h /usr/include/time.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \ -+ /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ -+ /usr/include/sys/select.h /usr/include/bits/select.h \ -+ /usr/include/bits/sigset.h /usr/include/bits/time.h \ -+ /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ -+ /usr/include/math.h /usr/include/bits/huge_val.h \ -+ /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h \ -+ /usr/include/bits/inf.h /usr/include/bits/nan.h \ -+ /usr/include/bits/mathdef.h /usr/include/bits/mathcalls.h \ -+ /usr/include/bits/mathinline.h gpsd_config.h gpsd.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h /usr/include/stdio.h \ -+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/xlocale.h /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -diff -Nur gpsd-2.39.orig/.deps/gpsctl.Po gpsd-2.39/.deps/gpsctl.Po ---- gpsd-2.39.orig/.deps/gpsctl.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/gpsctl.Po 2010-02-18 21:44:19.204857535 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/gpsdclient.Plo gpsd-2.39/.deps/gpsdclient.Plo ---- gpsd-2.39.orig/.deps/gpsdclient.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/gpsdclient.Plo 2010-02-18 21:44:32.348857159 +0100 -@@ -0,0 +1,227 @@ -+gpsdclient.lo: gpsdclient.c /usr/include/sys/time.h \ -+ /usr/include/features.h /usr/include/bits/predefs.h \ -+ /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ -+ /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ -+ /usr/include/bits/types.h /usr/include/bits/typesizes.h \ -+ /usr/include/time.h /usr/include/bits/time.h /usr/include/sys/select.h \ -+ /usr/include/bits/select.h /usr/include/bits/sigset.h \ -+ /usr/include/stdio.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ -+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/unistd.h /usr/include/bits/posix_opt.h \ -+ /usr/include/bits/environments.h /usr/include/bits/confname.h \ -+ /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/stdlib.h \ -+ /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ -+ /usr/include/endian.h /usr/include/bits/endian.h \ -+ /usr/include/bits/byteswap.h /usr/include/xlocale.h \ -+ /usr/include/sys/types.h /usr/include/sys/sysmacros.h \ -+ /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ -+ /usr/include/bits/stdlib.h /usr/include/string.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/bits/string3.h /usr/include/errno.h \ -+ /usr/include/bits/errno.h /usr/include/linux/errno.h \ -+ /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \ -+ /usr/include/asm-generic/errno-base.h /usr/include/math.h \ -+ /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \ -+ /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \ -+ /usr/include/bits/nan.h /usr/include/bits/mathdef.h \ -+ /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \ -+ /usr/include/assert.h gpsd_config.h gps.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/inttypes.h /usr/include/stdint.h /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h gpsdclient.h /usr/include/locale.h \ -+ /usr/include/bits/locale.h -+ -+/usr/include/sys/time.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/stdio.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/sys/types.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/include/errno.h: -+ -+/usr/include/bits/errno.h: -+ -+/usr/include/linux/errno.h: -+ -+/usr/include/asm/errno.h: -+ -+/usr/include/asm-generic/errno.h: -+ -+/usr/include/asm-generic/errno-base.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+/usr/include/assert.h: -+ -+gpsd_config.h: -+ -+gps.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -+ -+gpsdclient.h: -+ -+/usr/include/locale.h: -+ -+/usr/include/bits/locale.h: -diff -Nur gpsd-2.39.orig/.deps/gpsd_dbus.Po gpsd-2.39/.deps/gpsd_dbus.Po ---- gpsd-2.39.orig/.deps/gpsd_dbus.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/gpsd_dbus.Po 2010-02-18 21:44:19.212857156 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/gpsdecode.Po gpsd-2.39/.deps/gpsdecode.Po ---- gpsd-2.39.orig/.deps/gpsdecode.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/gpsdecode.Po 2010-02-18 21:44:19.220857895 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/gpsd.Po gpsd-2.39/.deps/gpsd.Po ---- gpsd-2.39.orig/.deps/gpsd.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/gpsd.Po 2010-02-18 21:44:19.208856926 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/gpsd_report.Plo gpsd-2.39/.deps/gpsd_report.Plo ---- gpsd-2.39.orig/.deps/gpsd_report.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/gpsd_report.Plo 2010-02-18 21:44:27.268856183 +0100 -@@ -0,0 +1,155 @@ -+gpsd_report.lo: gpsd_report.c /usr/include/sys/types.h \ -+ /usr/include/features.h /usr/include/bits/predefs.h \ -+ /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ -+ /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ -+ /usr/include/bits/types.h /usr/include/bits/typesizes.h \ -+ /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ -+ /usr/include/endian.h /usr/include/bits/endian.h \ -+ /usr/include/bits/byteswap.h /usr/include/sys/select.h \ -+ /usr/include/bits/select.h /usr/include/bits/sigset.h \ -+ /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ -+ /usr/include/bits/pthreadtypes.h /usr/include/stdio.h \ -+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h gpsd_config.h \ -+ gpsd.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/xlocale.h /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -diff -Nur gpsd-2.39.orig/.deps/gpsflash.Po gpsd-2.39/.deps/gpsflash.Po ---- gpsd-2.39.orig/.deps/gpsflash.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/gpsflash.Po 2010-02-18 21:44:19.224856449 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/gpsmon.Po gpsd-2.39/.deps/gpsmon.Po ---- gpsd-2.39.orig/.deps/gpsmon.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/gpsmon.Po 2010-02-18 21:44:19.224856449 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/gpspipe.Po gpsd-2.39/.deps/gpspipe.Po ---- gpsd-2.39.orig/.deps/gpspipe.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/gpspipe.Po 2010-02-18 21:44:19.228857517 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/gpsutils.Plo gpsd-2.39/.deps/gpsutils.Plo ---- gpsd-2.39.orig/.deps/gpsutils.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/gpsutils.Plo 2010-02-18 21:44:28.556854044 +0100 -@@ -0,0 +1,214 @@ -+gpsutils.lo: gpsutils.c /usr/include/sys/types.h /usr/include/features.h \ -+ /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ -+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ -+ /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \ -+ /usr/include/bits/typesizes.h /usr/include/time.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \ -+ /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ -+ /usr/include/sys/select.h /usr/include/bits/select.h \ -+ /usr/include/bits/sigset.h /usr/include/bits/time.h \ -+ /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ -+ /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ -+ /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/unistd.h /usr/include/bits/posix_opt.h \ -+ /usr/include/bits/environments.h /usr/include/bits/confname.h \ -+ /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/stdlib.h \ -+ /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ -+ /usr/include/xlocale.h /usr/include/alloca.h /usr/include/bits/stdlib.h \ -+ /usr/include/math.h /usr/include/bits/huge_val.h \ -+ /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h \ -+ /usr/include/bits/inf.h /usr/include/bits/nan.h \ -+ /usr/include/bits/mathdef.h /usr/include/bits/mathcalls.h \ -+ /usr/include/bits/mathinline.h /usr/include/string.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/bits/string3.h gpsd_config.h gpsd.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -diff -Nur gpsd-2.39.orig/.deps/gpxlogger.Po gpsd-2.39/.deps/gpxlogger.Po ---- gpsd-2.39.orig/.deps/gpxlogger.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/gpxlogger.Po 2010-02-18 21:44:19.236856859 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/hex.Plo gpsd-2.39/.deps/hex.Plo ---- gpsd-2.39.orig/.deps/hex.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/hex.Plo 2010-02-18 21:44:29.780854916 +0100 -@@ -0,0 +1,215 @@ -+hex.lo: hex.c /usr/include/unistd.h /usr/include/features.h \ -+ /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ -+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ -+ /usr/include/gnu/stubs-32.h /usr/include/bits/posix_opt.h \ -+ /usr/include/bits/environments.h /usr/include/bits/types.h \ -+ /usr/include/bits/typesizes.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ -+ /usr/include/bits/confname.h /usr/include/getopt.h \ -+ /usr/include/bits/unistd.h /usr/include/stdlib.h \ -+ /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ -+ /usr/include/endian.h /usr/include/bits/endian.h \ -+ /usr/include/bits/byteswap.h /usr/include/xlocale.h \ -+ /usr/include/sys/types.h /usr/include/time.h /usr/include/sys/select.h \ -+ /usr/include/bits/select.h /usr/include/bits/sigset.h \ -+ /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ -+ /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ -+ /usr/include/bits/stdlib.h /usr/include/stdio.h /usr/include/libio.h \ -+ /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h /usr/include/math.h \ -+ /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \ -+ /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \ -+ /usr/include/bits/nan.h /usr/include/bits/mathdef.h \ -+ /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \ -+ /usr/include/string.h /usr/include/bits/string.h \ -+ /usr/include/bits/string2.h /usr/include/bits/string3.h gpsd_config.h \ -+ gpsd.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h -+ -+/usr/include/unistd.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/sys/types.h: -+ -+/usr/include/time.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -diff -Nur gpsd-2.39.orig/.deps/isgps.Plo gpsd-2.39/.deps/isgps.Plo ---- gpsd-2.39.orig/.deps/isgps.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/isgps.Plo 2010-02-18 21:44:30.380855930 +0100 -@@ -0,0 +1,191 @@ -+isgps.lo: isgps.c /usr/include/sys/types.h /usr/include/features.h \ -+ /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ -+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ -+ /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \ -+ /usr/include/bits/typesizes.h /usr/include/time.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \ -+ /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ -+ /usr/include/sys/select.h /usr/include/bits/select.h \ -+ /usr/include/bits/sigset.h /usr/include/bits/time.h \ -+ /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ -+ /usr/include/unistd.h /usr/include/bits/posix_opt.h \ -+ /usr/include/bits/environments.h /usr/include/bits/confname.h \ -+ /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/stdlib.h \ -+ /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ -+ /usr/include/xlocale.h /usr/include/alloca.h /usr/include/bits/stdlib.h \ -+ /usr/include/string.h /usr/include/bits/string.h \ -+ /usr/include/bits/string2.h /usr/include/bits/string3.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h gpsd_config.h gpsd.h \ -+ /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ -+ /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -diff -Nur gpsd-2.39.orig/.deps/lcdgps.Po gpsd-2.39/.deps/lcdgps.Po ---- gpsd-2.39.orig/.deps/lcdgps.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/lcdgps.Po 2010-02-18 21:44:19.244857878 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/libgpsd_core.Plo gpsd-2.39/.deps/libgpsd_core.Plo ---- gpsd-2.39.orig/.deps/libgpsd_core.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/libgpsd_core.Plo 2010-02-18 21:44:34.216853193 +0100 -@@ -0,0 +1,298 @@ -+libgpsd_core.lo: libgpsd_core.c /usr/include/sys/time.h \ -+ /usr/include/features.h /usr/include/bits/predefs.h \ -+ /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ -+ /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \ -+ /usr/include/bits/types.h /usr/include/bits/typesizes.h \ -+ /usr/include/time.h /usr/include/bits/time.h /usr/include/sys/select.h \ -+ /usr/include/bits/select.h /usr/include/bits/sigset.h \ -+ /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \ -+ /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \ -+ /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \ -+ /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/socket.h \ -+ /usr/include/sys/uio.h /usr/include/sys/types.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \ -+ /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ -+ /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ -+ /usr/include/bits/uio.h /usr/include/bits/socket.h \ -+ /usr/include/bits/sockaddr.h /usr/include/asm/socket.h \ -+ /usr/include/asm-generic/socket.h /usr/include/asm/sockios.h \ -+ /usr/include/asm-generic/sockios.h /usr/include/bits/socket2.h \ -+ /usr/include/unistd.h /usr/include/bits/posix_opt.h \ -+ /usr/include/bits/environments.h /usr/include/bits/confname.h \ -+ /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/stdlib.h \ -+ /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ -+ /usr/include/xlocale.h /usr/include/alloca.h /usr/include/bits/stdlib.h \ -+ /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ -+ /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h /usr/include/math.h \ -+ /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \ -+ /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \ -+ /usr/include/bits/nan.h /usr/include/bits/mathdef.h \ -+ /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \ -+ /usr/include/netdb.h /usr/include/netinet/in.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h /usr/include/bits/in.h \ -+ /usr/include/rpc/netdb.h /usr/include/bits/siginfo.h \ -+ /usr/include/bits/netdb.h /usr/include/string.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/bits/string3.h /usr/include/errno.h \ -+ /usr/include/bits/errno.h /usr/include/linux/errno.h \ -+ /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \ -+ /usr/include/asm-generic/errno-base.h /usr/include/fcntl.h \ -+ /usr/include/bits/fcntl.h /usr/include/sys/stat.h \ -+ /usr/include/bits/stat.h /usr/include/bits/fcntl2.h gpsd_config.h gpsd.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/termios.h gps.h /usr/include/inttypes.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h \ -+ /usr/include/bits/sigstack.h /usr/include/sys/ucontext.h \ -+ /usr/include/bits/sigthread.h /usr/include/pthread.h \ -+ /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h -+ -+/usr/include/sys/time.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/sys/ioctl.h: -+ -+/usr/include/bits/ioctls.h: -+ -+/usr/include/asm/ioctls.h: -+ -+/usr/include/asm-generic/ioctls.h: -+ -+/usr/include/linux/ioctl.h: -+ -+/usr/include/asm/ioctl.h: -+ -+/usr/include/asm-generic/ioctl.h: -+ -+/usr/include/bits/ioctl-types.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/socket.h: -+ -+/usr/include/sys/uio.h: -+ -+/usr/include/sys/types.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/bits/uio.h: -+ -+/usr/include/bits/socket.h: -+ -+/usr/include/bits/sockaddr.h: -+ -+/usr/include/asm/socket.h: -+ -+/usr/include/asm-generic/socket.h: -+ -+/usr/include/asm/sockios.h: -+ -+/usr/include/asm-generic/sockios.h: -+ -+/usr/include/bits/socket2.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+/usr/include/netdb.h: -+ -+/usr/include/netinet/in.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/include/bits/in.h: -+ -+/usr/include/rpc/netdb.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/netdb.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/include/errno.h: -+ -+/usr/include/bits/errno.h: -+ -+/usr/include/linux/errno.h: -+ -+/usr/include/asm/errno.h: -+ -+/usr/include/asm-generic/errno.h: -+ -+/usr/include/asm-generic/errno-base.h: -+ -+/usr/include/fcntl.h: -+ -+/usr/include/bits/fcntl.h: -+ -+/usr/include/sys/stat.h: -+ -+/usr/include/bits/stat.h: -+ -+/usr/include/bits/fcntl2.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -diff -Nur gpsd-2.39.orig/.deps/libgpsmm.Plo gpsd-2.39/.deps/libgpsmm.Plo ---- gpsd-2.39.orig/.deps/libgpsmm.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/libgpsmm.Plo 2010-02-18 21:44:19.252857499 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/libgps.Plo gpsd-2.39/.deps/libgps.Plo ---- gpsd-2.39.orig/.deps/libgps.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/libgps.Plo 2010-02-18 21:44:31.792853092 +0100 -@@ -0,0 +1,234 @@ -+libgps.lo: libgps.c /usr/include/sys/time.h /usr/include/features.h \ -+ /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ -+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ -+ /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \ -+ /usr/include/bits/typesizes.h /usr/include/time.h \ -+ /usr/include/bits/time.h /usr/include/sys/select.h \ -+ /usr/include/bits/select.h /usr/include/bits/sigset.h \ -+ /usr/include/stdio.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ -+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/unistd.h /usr/include/bits/posix_opt.h \ -+ /usr/include/bits/environments.h /usr/include/bits/confname.h \ -+ /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/stdlib.h \ -+ /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ -+ /usr/include/endian.h /usr/include/bits/endian.h \ -+ /usr/include/bits/byteswap.h /usr/include/xlocale.h \ -+ /usr/include/sys/types.h /usr/include/sys/sysmacros.h \ -+ /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ -+ /usr/include/bits/stdlib.h /usr/include/string.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/bits/string3.h /usr/include/errno.h \ -+ /usr/include/bits/errno.h /usr/include/linux/errno.h \ -+ /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \ -+ /usr/include/asm-generic/errno-base.h /usr/include/pthread.h \ -+ /usr/include/sched.h /usr/include/bits/sched.h /usr/include/signal.h \ -+ /usr/include/bits/setjmp.h /usr/include/math.h \ -+ /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \ -+ /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \ -+ /usr/include/bits/nan.h /usr/include/bits/mathdef.h \ -+ /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \ -+ /usr/include/locale.h /usr/include/bits/locale.h gpsd_config.h gpsd.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/inttypes.h /usr/include/stdint.h /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/bits/signum.h /usr/include/bits/siginfo.h \ -+ /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h \ -+ /usr/include/bits/sigstack.h /usr/include/sys/ucontext.h \ -+ /usr/include/bits/sigthread.h -+ -+/usr/include/sys/time.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/stdio.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/sys/types.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/include/errno.h: -+ -+/usr/include/bits/errno.h: -+ -+/usr/include/linux/errno.h: -+ -+/usr/include/asm/errno.h: -+ -+/usr/include/asm-generic/errno.h: -+ -+/usr/include/asm-generic/errno-base.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/setjmp.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+/usr/include/locale.h: -+ -+/usr/include/bits/locale.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -diff -Nur gpsd-2.39.orig/.deps/monitor_italk.Po gpsd-2.39/.deps/monitor_italk.Po ---- gpsd-2.39.orig/.deps/monitor_italk.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/monitor_italk.Po 2010-02-18 21:44:19.256856052 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/monitor_nmea.Po gpsd-2.39/.deps/monitor_nmea.Po ---- gpsd-2.39.orig/.deps/monitor_nmea.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/monitor_nmea.Po 2010-02-18 21:44:19.260856003 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/monitor_sirf.Po gpsd-2.39/.deps/monitor_sirf.Po ---- gpsd-2.39.orig/.deps/monitor_sirf.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/monitor_sirf.Po 2010-02-18 21:44:19.264857071 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/monitor_superstar2.Po gpsd-2.39/.deps/monitor_superstar2.Po ---- gpsd-2.39.orig/.deps/monitor_superstar2.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/monitor_superstar2.Po 2010-02-18 21:44:19.264857071 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/monitor_ubx.Po gpsd-2.39/.deps/monitor_ubx.Po ---- gpsd-2.39.orig/.deps/monitor_ubx.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/monitor_ubx.Po 2010-02-18 21:44:19.268857301 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/netlib.Plo gpsd-2.39/.deps/netlib.Plo ---- gpsd-2.39.orig/.deps/netlib.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/netlib.Plo 2010-02-18 21:44:34.836854228 +0100 -@@ -0,0 +1,252 @@ -+netlib.lo: netlib.c /usr/include/sys/types.h /usr/include/features.h \ -+ /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ -+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ -+ /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \ -+ /usr/include/bits/typesizes.h /usr/include/time.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \ -+ /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ -+ /usr/include/sys/select.h /usr/include/bits/select.h \ -+ /usr/include/bits/sigset.h /usr/include/bits/time.h \ -+ /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ -+ gpsd_config.h /usr/include/sys/socket.h /usr/include/sys/uio.h \ -+ /usr/include/bits/uio.h /usr/include/bits/socket.h \ -+ /usr/include/bits/sockaddr.h /usr/include/asm/socket.h \ -+ /usr/include/asm-generic/socket.h /usr/include/asm/sockios.h \ -+ /usr/include/asm-generic/sockios.h /usr/include/bits/socket2.h \ -+ /usr/include/netinet/in.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h /usr/include/bits/in.h \ -+ /usr/include/netinet/in_systm.h /usr/include/netinet/ip.h \ -+ /usr/include/netdb.h /usr/include/rpc/netdb.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/netdb.h \ -+ /usr/include/arpa/inet.h /usr/include/errno.h /usr/include/bits/errno.h \ -+ /usr/include/linux/errno.h /usr/include/asm/errno.h \ -+ /usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \ -+ /usr/include/stdlib.h /usr/include/bits/waitflags.h \ -+ /usr/include/bits/waitstatus.h /usr/include/xlocale.h \ -+ /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/unistd.h \ -+ /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ -+ /usr/include/bits/confname.h /usr/include/getopt.h \ -+ /usr/include/bits/unistd.h /usr/include/string.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/bits/string3.h gpsd.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h /usr/include/stdio.h \ -+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h \ -+ /usr/include/bits/sigstack.h /usr/include/sys/ucontext.h \ -+ /usr/include/bits/sigthread.h /usr/include/pthread.h \ -+ /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+gpsd_config.h: -+ -+/usr/include/sys/socket.h: -+ -+/usr/include/sys/uio.h: -+ -+/usr/include/bits/uio.h: -+ -+/usr/include/bits/socket.h: -+ -+/usr/include/bits/sockaddr.h: -+ -+/usr/include/asm/socket.h: -+ -+/usr/include/asm-generic/socket.h: -+ -+/usr/include/asm/sockios.h: -+ -+/usr/include/asm-generic/sockios.h: -+ -+/usr/include/bits/socket2.h: -+ -+/usr/include/netinet/in.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/include/bits/in.h: -+ -+/usr/include/netinet/in_systm.h: -+ -+/usr/include/netinet/ip.h: -+ -+/usr/include/netdb.h: -+ -+/usr/include/rpc/netdb.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/netdb.h: -+ -+/usr/include/arpa/inet.h: -+ -+/usr/include/errno.h: -+ -+/usr/include/bits/errno.h: -+ -+/usr/include/linux/errno.h: -+ -+/usr/include/asm/errno.h: -+ -+/usr/include/asm-generic/errno.h: -+ -+/usr/include/asm-generic/errno-base.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -diff -Nur gpsd-2.39.orig/.deps/ntpshm.Plo gpsd-2.39/.deps/ntpshm.Plo ---- gpsd-2.39.orig/.deps/ntpshm.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/ntpshm.Plo 2010-02-18 21:44:35.428853388 +0100 -@@ -0,0 +1,211 @@ -+ntpshm.lo: ntpshm.c /usr/include/sys/types.h /usr/include/features.h \ -+ /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ -+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ -+ /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \ -+ /usr/include/bits/typesizes.h /usr/include/time.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \ -+ /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ -+ /usr/include/sys/select.h /usr/include/bits/select.h \ -+ /usr/include/bits/sigset.h /usr/include/bits/time.h \ -+ /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ -+ /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ -+ /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/string.h /usr/include/xlocale.h /usr/include/bits/string.h \ -+ /usr/include/bits/string2.h /usr/include/stdlib.h \ -+ /usr/include/bits/string3.h /usr/include/bits/waitflags.h \ -+ /usr/include/bits/waitstatus.h /usr/include/alloca.h \ -+ /usr/include/bits/stdlib.h /usr/include/math.h \ -+ /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \ -+ /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \ -+ /usr/include/bits/nan.h /usr/include/bits/mathdef.h \ -+ /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \ -+ gpsd_config.h gpsd.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h /usr/include/sys/ipc.h \ -+ /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h \ -+ /usr/include/sys/shm.h /usr/include/bits/shm.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/string.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -+ -+/usr/include/sys/ipc.h: -+ -+/usr/include/bits/ipctypes.h: -+ -+/usr/include/bits/ipc.h: -+ -+/usr/include/sys/shm.h: -+ -+/usr/include/bits/shm.h: -diff -Nur gpsd-2.39.orig/.deps/ntrip.Plo gpsd-2.39/.deps/ntrip.Plo ---- gpsd-2.39.orig/.deps/ntrip.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/ntrip.Plo 2010-02-18 21:44:36.532852393 +0100 -@@ -0,0 +1,280 @@ -+ntrip.lo: ntrip.c /usr/include/sys/types.h /usr/include/features.h \ -+ /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ -+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ -+ /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \ -+ /usr/include/bits/typesizes.h /usr/include/time.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \ -+ /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ -+ /usr/include/sys/select.h /usr/include/bits/select.h \ -+ /usr/include/bits/sigset.h /usr/include/bits/time.h \ -+ /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ -+ /usr/include/sys/socket.h /usr/include/sys/uio.h /usr/include/bits/uio.h \ -+ /usr/include/bits/socket.h /usr/include/bits/sockaddr.h \ -+ /usr/include/asm/socket.h /usr/include/asm-generic/socket.h \ -+ /usr/include/asm/sockios.h /usr/include/asm-generic/sockios.h \ -+ /usr/include/bits/socket2.h /usr/include/sys/time.h \ -+ /usr/include/unistd.h /usr/include/bits/posix_opt.h \ -+ /usr/include/bits/environments.h /usr/include/bits/confname.h \ -+ /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/stdlib.h \ -+ /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ -+ /usr/include/xlocale.h /usr/include/alloca.h /usr/include/bits/stdlib.h \ -+ /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ -+ /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h /usr/include/math.h \ -+ /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \ -+ /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \ -+ /usr/include/bits/nan.h /usr/include/bits/mathdef.h \ -+ /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \ -+ /usr/include/netdb.h /usr/include/netinet/in.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h /usr/include/bits/in.h \ -+ /usr/include/rpc/netdb.h /usr/include/bits/siginfo.h \ -+ /usr/include/bits/netdb.h /usr/include/string.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/bits/string3.h /usr/include/errno.h \ -+ /usr/include/bits/errno.h /usr/include/linux/errno.h \ -+ /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \ -+ /usr/include/asm-generic/errno-base.h /usr/include/fcntl.h \ -+ /usr/include/bits/fcntl.h /usr/include/sys/stat.h \ -+ /usr/include/bits/stat.h /usr/include/bits/fcntl2.h gpsd_config.h gpsd.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/inttypes.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h \ -+ /usr/include/bits/sigstack.h /usr/include/sys/ucontext.h \ -+ /usr/include/bits/sigthread.h /usr/include/pthread.h \ -+ /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h bsd-base64.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/sys/socket.h: -+ -+/usr/include/sys/uio.h: -+ -+/usr/include/bits/uio.h: -+ -+/usr/include/bits/socket.h: -+ -+/usr/include/bits/sockaddr.h: -+ -+/usr/include/asm/socket.h: -+ -+/usr/include/asm-generic/socket.h: -+ -+/usr/include/asm/sockios.h: -+ -+/usr/include/asm-generic/sockios.h: -+ -+/usr/include/bits/socket2.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/math.h: -+ -+/usr/include/bits/huge_val.h: -+ -+/usr/include/bits/huge_valf.h: -+ -+/usr/include/bits/huge_vall.h: -+ -+/usr/include/bits/inf.h: -+ -+/usr/include/bits/nan.h: -+ -+/usr/include/bits/mathdef.h: -+ -+/usr/include/bits/mathcalls.h: -+ -+/usr/include/bits/mathinline.h: -+ -+/usr/include/netdb.h: -+ -+/usr/include/netinet/in.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/include/bits/in.h: -+ -+/usr/include/rpc/netdb.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/netdb.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/include/errno.h: -+ -+/usr/include/bits/errno.h: -+ -+/usr/include/linux/errno.h: -+ -+/usr/include/asm/errno.h: -+ -+/usr/include/asm-generic/errno.h: -+ -+/usr/include/asm-generic/errno-base.h: -+ -+/usr/include/fcntl.h: -+ -+/usr/include/bits/fcntl.h: -+ -+/usr/include/sys/stat.h: -+ -+/usr/include/bits/stat.h: -+ -+/usr/include/bits/fcntl2.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -+ -+bsd-base64.h: -diff -Nur gpsd-2.39.orig/.deps/packet.Plo gpsd-2.39/.deps/packet.Plo ---- gpsd-2.39.orig/.deps/packet.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/packet.Plo 2010-02-18 21:44:39.028852721 +0100 -@@ -0,0 +1,239 @@ -+packet.lo: packet.c /usr/include/sys/types.h /usr/include/features.h \ -+ /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ -+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ -+ /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \ -+ /usr/include/bits/typesizes.h /usr/include/time.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \ -+ /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ -+ /usr/include/sys/select.h /usr/include/bits/select.h \ -+ /usr/include/bits/sigset.h /usr/include/bits/time.h \ -+ /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ -+ /usr/include/ctype.h /usr/include/xlocale.h /usr/include/stdio.h \ -+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/unistd.h /usr/include/bits/posix_opt.h \ -+ /usr/include/bits/environments.h /usr/include/bits/confname.h \ -+ /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/string.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/stdlib.h /usr/include/bits/string3.h /usr/include/errno.h \ -+ /usr/include/bits/errno.h /usr/include/linux/errno.h \ -+ /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \ -+ /usr/include/asm-generic/errno-base.h /usr/include/netinet/in.h \ -+ /usr/include/stdint.h /usr/include/bits/wchar.h \ -+ /usr/include/sys/socket.h /usr/include/sys/uio.h /usr/include/bits/uio.h \ -+ /usr/include/bits/socket.h /usr/include/bits/sockaddr.h \ -+ /usr/include/asm/socket.h /usr/include/asm-generic/socket.h \ -+ /usr/include/asm/sockios.h /usr/include/asm-generic/sockios.h \ -+ /usr/include/bits/socket2.h /usr/include/bits/in.h \ -+ /usr/include/arpa/inet.h gpsd_config.h bits.h gpsd.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h crc24q.h packet_states.h packet_names.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/ctype.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/include/errno.h: -+ -+/usr/include/bits/errno.h: -+ -+/usr/include/linux/errno.h: -+ -+/usr/include/asm/errno.h: -+ -+/usr/include/asm-generic/errno.h: -+ -+/usr/include/asm-generic/errno-base.h: -+ -+/usr/include/netinet/in.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/include/sys/socket.h: -+ -+/usr/include/sys/uio.h: -+ -+/usr/include/bits/uio.h: -+ -+/usr/include/bits/socket.h: -+ -+/usr/include/bits/sockaddr.h: -+ -+/usr/include/asm/socket.h: -+ -+/usr/include/asm-generic/socket.h: -+ -+/usr/include/asm/sockios.h: -+ -+/usr/include/asm-generic/sockios.h: -+ -+/usr/include/bits/socket2.h: -+ -+/usr/include/bits/in.h: -+ -+/usr/include/arpa/inet.h: -+ -+gpsd_config.h: -+ -+bits.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -+ -+crc24q.h: -+ -+packet_states.h: -+ -+packet_names.h: -diff -Nur gpsd-2.39.orig/.deps/serial.Plo gpsd-2.39/.deps/serial.Plo ---- gpsd-2.39.orig/.deps/serial.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/serial.Plo 2010-02-18 21:44:39.816853637 +0100 -@@ -0,0 +1,213 @@ -+serial.lo: serial.c /usr/include/sys/types.h /usr/include/features.h \ -+ /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ -+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ -+ /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \ -+ /usr/include/bits/typesizes.h /usr/include/time.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \ -+ /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ -+ /usr/include/sys/select.h /usr/include/bits/select.h \ -+ /usr/include/bits/sigset.h /usr/include/bits/time.h \ -+ /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ -+ /usr/include/sys/stat.h /usr/include/bits/stat.h /usr/include/unistd.h \ -+ /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ -+ /usr/include/bits/confname.h /usr/include/getopt.h \ -+ /usr/include/bits/unistd.h /usr/include/string.h /usr/include/xlocale.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/stdlib.h /usr/include/bits/string3.h /usr/include/fcntl.h \ -+ /usr/include/bits/fcntl.h /usr/include/bits/uio.h \ -+ /usr/include/bits/fcntl2.h /usr/include/errno.h \ -+ /usr/include/bits/errno.h /usr/include/linux/errno.h \ -+ /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \ -+ /usr/include/asm-generic/errno-base.h /usr/include/ctype.h gpsd_config.h \ -+ gpsd.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ -+ /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/sys/stat.h: -+ -+/usr/include/bits/stat.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/string.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/string3.h: -+ -+/usr/include/fcntl.h: -+ -+/usr/include/bits/fcntl.h: -+ -+/usr/include/bits/uio.h: -+ -+/usr/include/bits/fcntl2.h: -+ -+/usr/include/errno.h: -+ -+/usr/include/bits/errno.h: -+ -+/usr/include/linux/errno.h: -+ -+/usr/include/asm/errno.h: -+ -+/usr/include/asm-generic/errno.h: -+ -+/usr/include/asm-generic/errno-base.h: -+ -+/usr/include/ctype.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -diff -Nur gpsd-2.39.orig/.deps/sirfflash.Po gpsd-2.39/.deps/sirfflash.Po ---- gpsd-2.39.orig/.deps/sirfflash.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/sirfflash.Po 2010-02-18 21:44:19.284857381 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/srecord.Plo gpsd-2.39/.deps/srecord.Plo ---- gpsd-2.39.orig/.deps/srecord.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/srecord.Plo 2010-02-18 21:44:40.332855398 +0100 -@@ -0,0 +1,167 @@ -+srecord.lo: srecord.c /usr/include/sys/types.h /usr/include/features.h \ -+ /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ -+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ -+ /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \ -+ /usr/include/bits/typesizes.h /usr/include/time.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \ -+ /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ -+ /usr/include/sys/select.h /usr/include/bits/select.h \ -+ /usr/include/bits/sigset.h /usr/include/bits/time.h \ -+ /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ -+ /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ -+ /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/string.h /usr/include/xlocale.h /usr/include/bits/string.h \ -+ /usr/include/bits/string2.h /usr/include/stdlib.h \ -+ /usr/include/bits/string3.h gpsd_config.h gpsd.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/string.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/string3.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -diff -Nur gpsd-2.39.orig/.deps/strl.Plo gpsd-2.39/.deps/strl.Plo ---- gpsd-2.39.orig/.deps/strl.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/strl.Plo 2010-02-18 21:44:40.720855941 +0100 -@@ -0,0 +1,115 @@ -+strl.lo: strl.c /usr/include/stdio.h /usr/include/features.h \ -+ /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ -+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ -+ /usr/include/gnu/stubs-32.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \ -+ /usr/include/bits/types.h /usr/include/bits/typesizes.h \ -+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/unistd.h /usr/include/bits/posix_opt.h \ -+ /usr/include/bits/environments.h /usr/include/bits/confname.h \ -+ /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/stdlib.h \ -+ /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ -+ /usr/include/endian.h /usr/include/bits/endian.h \ -+ /usr/include/bits/byteswap.h /usr/include/xlocale.h \ -+ /usr/include/sys/types.h /usr/include/time.h /usr/include/sys/select.h \ -+ /usr/include/bits/select.h /usr/include/bits/sigset.h \ -+ /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ -+ /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ -+ /usr/include/bits/stdlib.h /usr/include/string.h \ -+ /usr/include/bits/string.h /usr/include/bits/string2.h \ -+ /usr/include/bits/string3.h gpsd_config.h -+ -+/usr/include/stdio.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/unistd.h: -+ -+/usr/include/bits/posix_opt.h: -+ -+/usr/include/bits/environments.h: -+ -+/usr/include/bits/confname.h: -+ -+/usr/include/getopt.h: -+ -+/usr/include/bits/unistd.h: -+ -+/usr/include/stdlib.h: -+ -+/usr/include/bits/waitflags.h: -+ -+/usr/include/bits/waitstatus.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/sys/types.h: -+ -+/usr/include/time.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+/usr/include/alloca.h: -+ -+/usr/include/bits/stdlib.h: -+ -+/usr/include/string.h: -+ -+/usr/include/bits/string.h: -+ -+/usr/include/bits/string2.h: -+ -+/usr/include/bits/string3.h: -+ -+gpsd_config.h: -diff -Nur gpsd-2.39.orig/.deps/subframe.Plo gpsd-2.39/.deps/subframe.Plo ---- gpsd-2.39.orig/.deps/subframe.Plo 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/subframe.Plo 2010-02-18 21:44:41.112853084 +0100 -@@ -0,0 +1,154 @@ -+subframe.lo: subframe.c /usr/include/sys/types.h /usr/include/features.h \ -+ /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ -+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ -+ /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \ -+ /usr/include/bits/typesizes.h /usr/include/time.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \ -+ /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ -+ /usr/include/sys/select.h /usr/include/bits/select.h \ -+ /usr/include/bits/sigset.h /usr/include/bits/time.h \ -+ /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ -+ gpsd_config.h gpsd.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \ -+ /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ -+ /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \ -+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ -+ /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \ -+ /usr/include/termios.h /usr/include/bits/termios.h \ -+ /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \ -+ /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \ -+ /usr/include/bits/wchar.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \ -+ /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \ -+ /usr/include/limits.h /usr/include/bits/posix1_lim.h \ -+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ -+ /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ -+ /usr/include/xlocale.h /usr/include/signal.h /usr/include/bits/signum.h \ -+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ -+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ -+ /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ -+ /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ -+ /usr/include/bits/setjmp.h -+ -+/usr/include/sys/types.h: -+ -+/usr/include/features.h: -+ -+/usr/include/bits/predefs.h: -+ -+/usr/include/sys/cdefs.h: -+ -+/usr/include/bits/wordsize.h: -+ -+/usr/include/gnu/stubs.h: -+ -+/usr/include/gnu/stubs-32.h: -+ -+/usr/include/bits/types.h: -+ -+/usr/include/bits/typesizes.h: -+ -+/usr/include/time.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h: -+ -+/usr/include/endian.h: -+ -+/usr/include/bits/endian.h: -+ -+/usr/include/bits/byteswap.h: -+ -+/usr/include/sys/select.h: -+ -+/usr/include/bits/select.h: -+ -+/usr/include/bits/sigset.h: -+ -+/usr/include/bits/time.h: -+ -+/usr/include/sys/sysmacros.h: -+ -+/usr/include/bits/pthreadtypes.h: -+ -+gpsd_config.h: -+ -+gpsd.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h: -+ -+/usr/include/stdio.h: -+ -+/usr/include/libio.h: -+ -+/usr/include/_G_config.h: -+ -+/usr/include/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h: -+ -+/usr/include/bits/stdio_lim.h: -+ -+/usr/include/bits/sys_errlist.h: -+ -+/usr/include/bits/stdio.h: -+ -+/usr/include/bits/stdio2.h: -+ -+/usr/include/termios.h: -+ -+/usr/include/bits/termios.h: -+ -+/usr/include/sys/ttydefaults.h: -+ -+/usr/include/sys/termios.h: -+ -+gps.h: -+ -+/usr/include/sys/time.h: -+ -+/usr/include/inttypes.h: -+ -+/usr/include/stdint.h: -+ -+/usr/include/bits/wchar.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h: -+ -+/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h: -+ -+/usr/include/limits.h: -+ -+/usr/include/bits/posix1_lim.h: -+ -+/usr/include/bits/local_lim.h: -+ -+/usr/include/linux/limits.h: -+ -+/usr/include/bits/posix2_lim.h: -+ -+/usr/include/bits/xopen_lim.h: -+ -+/usr/include/xlocale.h: -+ -+/usr/include/signal.h: -+ -+/usr/include/bits/signum.h: -+ -+/usr/include/bits/siginfo.h: -+ -+/usr/include/bits/sigaction.h: -+ -+/usr/include/bits/sigcontext.h: -+ -+/usr/include/bits/sigstack.h: -+ -+/usr/include/sys/ucontext.h: -+ -+/usr/include/bits/sigthread.h: -+ -+/usr/include/pthread.h: -+ -+/usr/include/sched.h: -+ -+/usr/include/bits/sched.h: -+ -+/usr/include/bits/setjmp.h: -diff -Nur gpsd-2.39.orig/.deps/Tachometer.Po gpsd-2.39/.deps/Tachometer.Po ---- gpsd-2.39.orig/.deps/Tachometer.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/Tachometer.Po 2010-02-18 21:44:19.124856567 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/test_bits.Po gpsd-2.39/.deps/test_bits.Po ---- gpsd-2.39.orig/.deps/test_bits.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/test_bits.Po 2010-02-18 21:44:19.296855835 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/test_geoid.Po gpsd-2.39/.deps/test_geoid.Po ---- gpsd-2.39.orig/.deps/test_geoid.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/test_geoid.Po 2010-02-18 21:44:19.300857462 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/test_gpsmm.Po gpsd-2.39/.deps/test_gpsmm.Po ---- gpsd-2.39.orig/.deps/test_gpsmm.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/test_gpsmm.Po 2010-02-18 21:44:19.304857413 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/test_mkgmtime.Po gpsd-2.39/.deps/test_mkgmtime.Po ---- gpsd-2.39.orig/.deps/test_mkgmtime.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/test_mkgmtime.Po 2010-02-18 21:44:19.308856806 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/test_packet.Po gpsd-2.39/.deps/test_packet.Po ---- gpsd-2.39.orig/.deps/test_packet.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/test_packet.Po 2010-02-18 21:44:19.308856806 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/xgps.Po gpsd-2.39/.deps/xgps.Po ---- gpsd-2.39.orig/.deps/xgps.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/xgps.Po 2010-02-18 21:44:19.312857595 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/.deps/xgpsspeed.Po gpsd-2.39/.deps/xgpsspeed.Po ---- gpsd-2.39.orig/.deps/xgpsspeed.Po 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/.deps/xgpsspeed.Po 2010-02-18 21:44:19.316856988 +0100 -@@ -0,0 +1 @@ -+# dummy -diff -Nur gpsd-2.39.orig/gps.1 gpsd-2.39/gps.1 ---- gpsd-2.39.orig/gps.1 2009-03-18 17:50:54.000000000 +0100 -+++ gpsd-2.39/gps.1 1970-01-01 01:00:00.000000000 +0100 -@@ -1,186 +0,0 @@ --.\" Title: gps --.\" Author: --.\" Generator: DocBook XSL Stylesheets v1.73.2 --.\" Date: 03/18/2009 --.\" Manual: 9 Aug 2004 --.\" Source: 9 Aug 2004 --.\" --.TH "GPS" "1" "03/18/2009" "9 Aug 2004" "9 Aug 2004" --.\" disable hyphenation --.nh --.\" disable justification (adjust text to left margin only) --.ad l --.SH "NAME" --gps, xgps, xgpsspeed, cgps, lcdgps, cgpxlogger \- test clients for gpsd --.SH "SYNOPSIS" --.HP 5 --\fBxgps\fR [\fIX\-options\fR] [\-h] [\-V] [\-j] [\-speedunits\ {[mph]\ |\ [kph]\ |\ [knots]}] [\-altunits\ {[feet]\ |\ [meters]}] [\-l\ [[d]\ |\ [m]\ |\ [s]]] [\fIserver\fR [\fI:port\fR [\fI:device\fR]]] --.HP 10 --\fBxgpsspeed\fR [\-rv] [\fIX\-options\fR] [\-h] [\-V] [\-nc\ \fIX\-color\fR] [\-speedunits\ {[mph]\ |\ [kph]\ |\ [knots]}] [\fIserver\fR [\fI:port\fR [\fI:device\fR]]] --.HP 5 --\fBcgps\fR [\-h] [\-V] [\-j] [\-speedunits\ {[mph]\ |\ [kph]\ |\ [knots]}] [\-altunits\ {[feet]\ |\ [meters]}] [\-l\ [[d]\ |\ [m]\ |\ [s]]] [\-m] [\-s] [\fIserver\fR [\fI:port\fR [\fI:device\fR]]] --.HP 7 --\fBlcdgps\fR [\-h] [\-V] [\-j] [\-l\ [[d]\ |\ [m]\ |\ [s]]] [\-u\ [[i]\ |\ [n]\ |\ [m]]] [\fIserver\fR [\fI:port\fR [\fI:device\fR]]] --.HP 10 --\fBgpxlogger\fR --.HP 10 --\fBgpxlogger\fR [\-h] [\-V] [\-j] [\-i\ \fItrack\ timeout\fR] [\fIserver\fR [\fI:port\fR [\fI:device\fR]]] --.SH "DESCRIPTION" --.PP --These are the demonstration clients shipped with --gpsd\&. They have some common options: --.PP --The --\fB\-h\fR --option causes each client to emit a summary of its options and then exit\&. --.PP --The --\fB\-V\fR --option causes each client to dump the package version and exit\&. --.PP --The --\fB\-j\fR --option, where present, tells the daemon to hold fix data across cycles, eliminating jitter from NMEA devices that emit several partial reports\&. The downside is that with this switch on the client will occasionally report stale or invalid data held over from a previous cycle\&. This option is ineffective, and not needed, on SiRFs and most other non\-NMEA GPSes\&. See also the discussion of the J command in --\fBgpsd\fR(8)\&. --.PP --The --\fB\-l\fR --option, when present, sets the format of latitude and longitude reports\&. The value \'d\' produces decimal degrees and is the default\&. The value \'m\' produces degrees and decimal minutes\&. The value \'s\' produces degrees, minutes, and decimal seconds\&. --.PP --An optional argument to any client may specify a server to get data from; a colon\-separated suffix is taken as a port number\&. If there is a second colon\-separated suffix, that is taken as a device name to be handed to the daemon in an F= command (or equivalent)\&. --.PP --Not all clients shipped with GPSD are documented here\&. See also the separate manual pages for --\fBgpspipe\fR(1) --and --\fBgpsmon\fR(1)\&. --.SS "xgps" --.PP --xgps --is a simple test client for --gpsd --with an X interface\&. It displays current GPS position/time/velocity information and (for GPSes that support the feature) the locations of accessible satellites\&. --.PP --In the sky view, satellites are color\-coded to indicate quality of signal; consult the data display to the left for exact figures in dB\&. Diamond icons indicate WAAS/EGNOS satellites, circles indicate ordinary GPS satellites\&. Filled icons were used in the last fix, outline icons were not\&. --.PP --The --\fB\-speedunits\fR --option can be used to set the speed units for display; follow the keyword with knots for nautical miles per hour, kph for kilometres per hour, or mph for miles per hour\&. The default is miles per hour\&. This option can also be set as the X resource \'speedunits\'\&. --.PP --The --\fB\-altunits\fR --option can be used to set the altitude units for display; follow the keyword with \'meters\' or \'feet\'\&. The default is feet\&. This option can also be set as the X resource \'altunits\'\&. --.PP --There is a known bug in --xgps; it assumes the default font size is no more than 18 pixels\&. If this is not the case, the satellite data display will show fewer than 12 satellites\&. --.SS "xgpsspeed" --.PP --xgpsspeed --is a speedometer that uses position information from the GPS\&. It accepts an \-h option and optional argument as for --gps, or a \-V option to dump the package version and exit\&. Additionally, it accepts \-rv (reverse video) and \-nc (needle color) options\&. --.PP --The \-speedunits option can be used to set the speed units for display; follow the keyword with knots for nautical miles per hour, kph for kilometres per hour, or mph for miles per hour\&. The default is miles per hour\&. This option can also be set as the X resource \'speedunits\'\&. --.SS "cgps" --.PP --cgps --is a client resembling --xgps, but without the pictorial satellite display and able to run on a serial terminal or terminal emulator\&. --.PP --The --\fB\-s\fR --option prevents --cgps --from displaying the raw data\&. This display can also be toggled with the s command\&. --.PP --The --\fB\-m\fR --option will display your magnetic heading (as opposed to your true heading)\&. This is a calculated value, not a measured value, and is subject to a potential error of up to two degrees in the areas for which the calculation is valid (currently Western Europe, Alaska, and Lower 48 in the USA)\&. The formulas used are those found in the Aviation Formulary v1\&.43\&. --.PP --Rather than use X resources to determine which units to use, --cgps --looks at variables in its environment\&. Here are the variables and values it checks: --.sp --.RS 4 --.nf -- GPSD_UNITS one of: -- imperial = miles/feet -- nautical = knots/feet -- metric = km/meters -- LC_MEASUREMENT -- en_US = miles/feet -- C = miles/feet -- POSIX = miles/feet -- [other] = km/meters -- LANG -- en_US = miles/feet -- C = miles/feet -- POSIX = miles/feet -- [other] = km/meters --.fi --.RE --.PP --cgps --terminates when you send it a SIGHUP or SIGINT; given default terminal settings this will happen when you type Ctl\-C at it\&. It will also terminate on \'q\' --.SS "lcdgps" --.PP --A client that passes --gpsd --data to --lcdproc, turning your car computer into a very expensive and nearly feature\-free GPS receiver\&. Currently assumes a 4x40 LCD and writes data formatted to fit that size screen\&. Also displays 4\- or 6\-character Maidenhead grid square output\&. --.PP --Options are as for --cgps, except: The --\fB\-u\fR --sets the display format the units used for altitude and speed\&. The options are: --\(lqi\(rq --for Imperial units (feet/miles\-per\-hour); --\(lqn\(rq --for nautical (feet/knots); \'m\' for metric (meters/kilometers\-per\-hour)\&. --.SS "gpxlogger" --.PP --This program collects fixes from --gpsd --and logs them to standard output in GPX, an XML profile for track logging\&. --.PP --The output may be composed of multiple tracks\&. A new track is created if there\'s no fix for an interval specified by the --\fB\-i\fR --and defaulting to 5 seconds\&. --.PP --If D\-Bus support is available on the host and GPSD is configured to use it, this program listens to DBUS broadcasts from --gpsd\&. (org\&.gpsd\&.fix)\&. Otherwise, it uses a conventional socket connection\&. --.PP --The --\fB\-j\fR --option is only meaningful in socket mode and when collecting fixes from an NMEA device\&. Presence of a server\-port\-device specification forces use of sockets even on a D\-Bus capable system, though this is unlikely to be of interest to anyone except GPSD developers\&. --.SH "SEE ALSO" --.PP -- --\fBgpsd\fR(8), --\fBlibgps\fR(3), --\fBlibgpsd\fR(3), --\fBgpsfake\fR(1), --\fBgpsctl\fR(1), --\fBgpscat\fR(1), --\fBgpsprof\fR(1)\&. --\fBgpspipe\fR(1)\&. --\fBgpsmon\fR(1)\&. --.SH "AUTHORS" --.PP --Remco Treffcorn, Derrick Brashear, Russ Nelson & Eric S\&. Raymond, Jeff Francis (cgps)\&. Amaury Jacquot -- --& Petter Reinholdtsen -- --(gpxlogger)\&. Chris Kuethe -- --(cgpxlogger)\&. --.PP --This manual page by Eric S\&. Raymond --\&. There is a project page, with --xgps --screenshots, at --\fIberlios\&.de\fR\&[1]\&. --.SH "NOTES" --.IP " 1." 4 --berlios.de --.RS 4 --\%http://gpsd.berlios.de/ --.RE -diff -Nur gpsd-2.39.orig/gpsctl.1 gpsd-2.39/gpsctl.1 ---- gpsd-2.39.orig/gpsctl.1 2009-03-15 04:50:35.000000000 +0100 -+++ gpsd-2.39/gpsctl.1 1970-01-01 01:00:00.000000000 +0100 -@@ -1,155 +0,0 @@ --.\" Title: gpsctl --.\" Author: --.\" Generator: DocBook XSL Stylesheets v1.73.2 --.\" Date: 03/14/2009 --.\" Manual: 29 Oct 2006 --.\" Source: 29 Oct 2006 --.\" --.TH "GPSCTL" "1" "03/14/2009" "29 Oct 2006" "29 Oct 2006" --.\" disable hyphenation --.nh --.\" disable justification (adjust text to left margin only) --.ad l --.SH "NAME" --gpsctl \- control the modes of a GPS --.SH "SYNOPSIS" --.HP 7 --\fBgpsctl\fR [\-h] [\-b | \-n] [\-x\ \fIcontrol\fR] [\-e] [\-f] [\-l] [\-s\ \fIspeed\fR] [\-t\ \fIdevicetype\fR] [\-D\ \fIdebuglevel\fR] [\-V] [\fIserial\-port\fR] --.SH "DESCRIPTION" --.PP --gpsctl --can switch a dual\-mode GPS between NMEA and vendor\-binary modes\&. It can also be used to set the device baudrate\&. Note: Not all devices have these capabilities\&. --.PP --If you have only one GPS attached to your machine, and gpsd is running, it is not necessary to specify the device; --gpsctl --does its work through --gpsd, which will locate it for you\&. --.PP --When --gpsd --is not running, the device specification is required, and you will almost certainly need to be running as root in order to have write access to the device\&. --.PP --The program accepts the following options: --.PP --\-b --.RS 4 --Put the GPS into binary mode\&. After the GPS resets itself, autobaud to the new speed\&. --.RE --.PP --\-c --.RS 4 --Change the GPS\'s cycle time\&. Units are seconds\&. Note, most GPses have a fixeed cycle time of 1 second\&. --.RE --.PP --\-e --.RS 4 --Generate the packet from any other arguments specified and ship it to standard output instead of the device\&. This switch can be used with the --\fB\-t\fR --option without specifying a device\&. Note: the packet data for a binary prototype will be raw, not ASCII\-ized in any way\&. --.RE --.PP --\-f --.RS 4 --Force low\-level access (not through the daemon)\&. --.RE --.PP --\-l --.RS 4 --List a table showing which option switches can be applied to which device types, and exit\&. --.RE --.PP --\-n --.RS 4 --Put GPS into NMEA mode\&. After the GPS resets itself autobaud to its new speed\&. --.RE --.PP --\-s --.RS 4 --Set the baud rate at which the GPS emits packets\&. --.sp --Use this option with caution\&. On USB and Bluetooth GPSes it is also possible for serial mode setting to fail either because the serial adaptor chip does not support non\-8N1 modes or because the device firmware does not properly synchronize the serrial adaptor chip with the UART on the GPS chipset whjen the speed changes\&. These failures can hang your device, possibly requiring a GPS power cycle or (in extreme cases) physically disconnecting the NVRAM backup battery\&. --.RE --.PP --\-t --.RS 4 --Force the device type\&. --.RE --.PP --\-x --.RS 4 --Send a specified control string to the GPS; --gpsctl --will provide packet headers and trailers and checksum as appropriate for binary packet types, and whatever checksum and trailer is required for text packet types\&. (You must include the leading $ for NMEA packets\&.) When sending to a UBX device, the first two bytes of the string supplied will become the message class and type, and the remainder the payload\&. When sending to a Navcom NCT or Trimble TSIP device, the first byte is interpreted as the command ID and the rest as payload\&. When sending to a Zodiac device, the first two bytes are used as a message ID of type little\-endian short, and the remainder as payload in byte pairs interpreted as little\-endian short\&. C\-style backslash escapes in the string, notably \exNN for hex, will be interpreted; additionally, \ee will be replaced with ESC\&. This switch implies --\fB\-f\fR\&. --.RE --.PP --\-T --.RS 4 --Change the sampling timeout\&. Defaults to 4 seconds, which should always be sufficient to get a packet from a device emitting at the normal rate of 1 per second\&. --.RE --.PP --\-h --.RS 4 --Display program usage and exit\&. --.RE --.PP --\-D --.RS 4 --Set level of debug messages\&. --.RE --.PP --\-V --.RS 4 --Display program version and exit\&. --.RE --.PP --The argument of the forcing option\&. --\fB\-t\fR, should be a string which should be contained in exactly one of the known driver names; for a list, do --\fBgpsctl \-l\fR\&. --.PP --Forcing the device type behaves somewhat differently depending on whether this tool is going through the daemon or not\&. In high\-level mode, if the device that daemon selects for you doesn\'t match the driver you specified, --gpsctl --exits with a warning\&. (This may be useful in scripts\&.) --.PP --In low\-level mode, if the device identifies as a Generic NMEA, use the selected driver instead\&. This will be useful if you have a GPS device of known type that is in NMEA mode and not responding to probes\&. (This option was originally implemented for talking to SiRFStar I chips, which don\'t respond to the normal SiRF ID probe\&.) --.PP --If no options are given, the program will display a message identifying the GPS type of the selected device and exit\&. --.PP --Reset (\-r) operations must stand alone; others can be combined\&. Multiple opations will be executed in tis order: mode changes (\-b and \-n) first, speed changes (\-s) second, and control\-string sends (\-c) last\&. --.SH "EXAMPLES" --.PP --\fBgpsctl /dev/ttyUSB0\fR --.RS 4 --Attempt to identify the device on USB serial device 0\&. Time out after the default number of seconds\&. Adding the --\fB\-f\fR --will force low\-level access and suppress the normal complaint when this tool can\'t find a GPSD to work through\&. --.RE --.PP --gpsctl \-f \-n \-s 9600 /dev/ttyUSB0 --.RS 4 --Use low\-level operations (not going through a gpsd instance) to switch a GPS to NMEA mode at 9600bps\&. The tool will identify the GPS type itself\&. --.RE --.SH "BUGS" --.PP --SiRF GPSes can only be identified by the success of an attempt to flip them into SiRF binary mode\&. Thus, the process of probing one of these running in NMEA will change its behavior\&. --.SH "SEE ALSO" --.PP -- --\fBgpsd\fR(8), --\fBgps\fR(1), --\fBlibgps\fR(3), --\fBlibgpsd\fR(3), --\fBgpsprof\fR(1), --\fBgpsfake\fR(1)\&. --.SH "AUTHOR" --.PP --Eric S\&. Raymond --\&. There is a project page for --gpsd --\fIhere\fR\&[1]\&. --.SH "NOTES" --.IP " 1." 4 --here --.RS 4 --\%http://gpsd.berlios.de/ --.RE -diff -Nur gpsd-2.39.orig/gpsd.8 gpsd-2.39/gpsd.8 ---- gpsd-2.39.orig/gpsd.8 2009-03-15 04:50:28.000000000 +0100 -+++ gpsd-2.39/gpsd.8 1970-01-01 01:00:00.000000000 +0100 -@@ -1,675 +0,0 @@ --.\" Title: gpsd --.\" Author: --.\" Generator: DocBook XSL Stylesheets v1.73.2 --.\" Date: 03/14/2009 --.\" Manual: 9 Aug 2004 --.\" Source: 9 Aug 2004 --.\" --.TH "GPSD" "8" "03/14/2009" "9 Aug 2004" "9 Aug 2004" --.\" disable hyphenation --.nh --.\" disable justification (adjust text to left margin only) --.ad l --.SH "NAME" --gpsd \- interface daemon for GPS receivers --.SH "SYNOPSIS" --.HP 5 --\fBgpsd\fR [\-F\ \fIcontrol\-socket\fR] [\-S\ \fIlistener\-port\fR] [\-b] [\-l] [\-G] [\-n] [\-N] [\-h] [\-P\ \fIpidfile\fR] [\-D\ \fIdebuglevel\fR] [\-V] [[\fIsource\-name\fR]...] --.SH "DESCRIPTION" --.PP --gpsd --is a monitor daemon that watches a TCP/IP port (2947 by default), waiting for applications to request information from GPSes or differential\-GPS radios attached to the host machine\&. Each GPS or radio is expected to be direct\-connected to the host via a USB or RS232C serial port\&. The port may be specified to --gpsd --at startup, or it may be set via a command shipped down a local control socket (e\&.g\&. by a USB hotplug script)\&. Given a GPS device by either means, --gpsd --discovers the correct port speed and protocol for it\&. --.PP --gpsd --should be able to query any GPS that speaks either the standard textual NMEA 0183 protocol, or the (differing) extended NMEA dialects used by MKT\-3301, iTrax, Motorola OnCore, Sony CXD2951, and Ashtech/Thales devices\&. It can also interpret the binary protocols used by EverMore, Garmin, Navcom, Rockwell/Zodiac, SiRF, Trimble, and uBlox ANTARIS devices\&. It can read heading and attitude information from the Oceanserver 5000 digital compass\&. --.PP --The GPS protocols supported by your instance of --gpsd --may differ depending on how it was compiled; general\-purpose versions support many, but it can be built with protocol subsets down to a singleton for use in constrained environments\&. For a list of the GPS protocols supported by your instance, see the output of --\fBgpsd \-l\fR --.PP --gpsd --effectively hides the differences among the GPS types it supports\&. It also knows about and uses commands that tune these GPSes for lower latency\&. --.PP --gpsd --can use differential\-GPS corrections from a DGPS radio or over the net, from a ground station running a DGPSIP server or a Ntrip broadcaster that reports RTCM\-104 data; this will shrink position errors by roughly a factor of four\&. When --gpsd --opens a serial device emitting RTCM\-104, it automatically recognizes this and uses the device as a correction source for all connected GPSes that accept RTCM corrections (this is dependent on the type of the GPS; not all GPSes have the firmware capability to accept RTCM correction packets)\&. --See --the section called \(lqACCURACY\(rq --and --the section called \(lqFILES\(rq --for discussion\&. --.PP --The program accepts the following options: --.PP --\-F --.RS 4 --Create a control socket for device addition and removal commands\&. You must specify a valid pathname on your local filesystem; this will be created as a Unix\-domain socket to which you can write commands that edit the daemon\'s internal device list\&. --.RE --.PP --\-S --.RS 4 --Set TCP/IP port on which to listen for GPSD clients (default is 2947)\&. --.RE --.PP --\-b --.RS 4 --Broken\-device\-safety, otherwise known as read\-only mode\&. Some popular bluetooth and USB receivers lock up or become totally inaccessible when probed or reconfigured\&. This switch prevents gpsd from writing to a receiver\&. This means that --gpsd --cannot configure the receiver for optimal performance, but it also means that --gpsd --cannot break the receiver\&. A better solution would be for Bluetooth to not be so fragile\&. A platform independent method to identify serial\-over\-Bluetooth devices would also be nice\&. --.RE --.PP --\-G --.RS 4 --This flag causes --gpsd --to listen on all addresses (INADDR_ANY) rather than just the loopback (INADDR_LOOPBACK) address\&. For the sake of privacy and security, PVT information is now private to the local machine until the user makes an effort to expose this to the world\&. Listening on the loopback by default is a change from previous behaviour\&. --.RE --.PP --\-l --.RS 4 --List all drivers compiled into this --gpsd --instance\&. The letters to the left of each driver name are the --gpsd --control commands supported by that driver\&. --.RE --.PP --\-n --.RS 4 --Don\'t wait for a client to connect before polling whatever GPS is associated with it\&. It is thought that some GPSes go to a standby mode (drawing less power) before the host machine asserts DTR, so waiting for the first actual request might save battery power on portable equipment\&. This option is deprecated as it was found to be confusing; gpsd will now always remain connected to the configured receivers\&. --.RE --.PP --\-N --.RS 4 --Don\'t daemonize; run in foreground\&. Also suppresses privilege\-dropping\&. This switch is mainly useful for debugging\&. Its meaning may change in future versions\&. --.RE --.PP --\-h --.RS 4 --Display help message and terminate\&. --.RE --.PP --\-P --.RS 4 --Specify the name and path to record the daemon\'s process ID\&. --.RE --.PP --\-D --.RS 4 --Set debug level\&. At debug levels 2 and above, --gpsd --reports incoming sentence and actions to standard error if --gpsd --is in the foreground (\-N) or to syslog if in the background\&. --.RE --.PP --\-V --.RS 4 --Dump version and exit\&. --.RE --.PP --Arguments are interpreted as the names of data sources\&. Normally, a data source is the name of a local serial device from which the daemon may expect GPS data\&. --.PP --A data source name may also be a URL pointing to a specific differential\-GPS service (DGPSIP server or Ntrip broadcaster)\&.If the URL starts with "ntrip://" Ntrip will be used; if the URL starts with "dgpsip://", DGPSIP will be used\&. --Gpsd --also defaults to DGPSIP if no protocol is defined\&. For Ntrip services that require authentication, a prefix of the form "username:password@" can be added before the name of the Ntrip broadcaster\&. If a suffix of the service name begins with ":" it is interpreted as a port number, overriding the default IANA\-assigned port of 2101\&. For Ntrip service you also need to specify which stream to use; the stream is given in the form "/streamname"\&. So, an example DGPSIP URL could be "dgpsip://dgpsip\&.example\&.com" and a Ntrip URL could be "ntrip://foo:bar@ntrip\&.example\&.com:80/example\-stream"\&. --.PP --Internally, the daemon maintains a device list holding the pathnames of GPSes known to the daemon\&. Initially, this list is the list of device\-name arguments specified on the command line\&. That list may be empty, in which case the daemon will have no devices on its search list until they are added by a control\-socket command (see --the section called \(lqGPS DEVICE MANAGEMENT\(rq --for details on this)\&. Daemon startup will abort with an error if neither any devices nor a control socket are specified\&. --.PP --At any given time, each client will be listening to only one of the GPSes on the device list\&. By default, a client\'s device is the one that most recently shipped information to the daemon at the time the client first requests GPS information\&. --.sp --.it 1 an-trap --.nr an-no-space-flag 1 --.nr an-break-flag 1 --.br --Warning --.PP --It is planned that the command protocol described below will change radically at API version 4\&. It is a bad idea for applications to speak this protocol directly: rather, they should use the --libgps --client library and take appropriate care to conditionalize their code on the major and minor API version symbols\&. See the GPSD project website for more information on the protocol and API change\&. --.PP --The request protocol for --gpsd --clients is very simple\&. Each request normally consists of a single ASCII character followed by a newline\&. Case of the request character is ignored\&. Each request returns a line of response text ended by a CR/LF\&. Requests and responses are as follows, with %f standing for a decimal float numeral and %d for decimal integer numeral: --.PP --Any command other than L, F, K, W=0 or R=0 is considered a request for GPS information and will cause a GPS device to be connected to the client\'s channel\&. --.PP --a --.RS 4 --The current altitude as "A=%f", meters above mean sea level\&. --.RE --.PP --b --.RS 4 --The B command with no argument returns four fields giving the parameters of the serial link to the GPS as "B=%d %d %c %d"; baud rate, byte size, parity, (N, O or E for no parity, odd, or even) and stop bits (1 or 2)\&. --.sp --The command "B=%d" sets the baud rate, not changing parity or stop bits; The command "B=%d [78] [NOE] [12]" (B followed by whiteapace; followed by a numeric speed; followed by one of the digits 7 or 8; followed by whitespace; followed by one of the letters \'N\', \'O\', or \'E\'; followed by whitespace; followed by one of the digits \'1\' or 2\') sets not only speed but word length, parity, and stop bits\&. --.sp --For both forms, watch the response, because it is possible for this to fail if the GPS does not support a speed\-switching command or only supports some combinations of serial modes\&. In case of failure, the daemon and GPS will continue to communicate at the old speed\&. Both forms are rejected if more than one client is attached to the channel\&. --.sp --Use this command with caution\&. On USB and Bluetooth GPSes it is also possible for serial mode setting to fail either because the serial adaptor chip does not support non\-8N1 modes or because the device firmware does not properly synchronize the serrial adaptor chip with the UART on the GPS chipset whjen the speed changes\&. These failures can hang your device, possibly requiring a GPS power cycle or (in extreme cases) physically disconnecting the NVRAM backup battery\&. --.sp --(Older versions of --gpsd --supported changing speed only\&.) --.RE --.PP --c --.RS 4 --C with no following = asks the daemon to return the cycle time of the attached GPS, if any\&. If there is no attached device it will return "C=?"\&. --.sp --If the driver has the capability to change sampling rate the command "C=%f" does so, setting a new cycle time in seconds\&. The "C=" form is rejected if more than one client is attached to the channel\&. --.sp --If the driver has the capability to change sampling rate, this command always returns "C=%f %f" giving the current cycle time in seconds and the minimum possible cycle time\&. If the driver does not have the capability to change sampling rate, this returns, as "C=%f", the cycle time in seconds only\&. --.sp --Either number may be fractional, indicating a GPS cycle shorter than a second; however, if >1 the cycle time must be a whole number\&. Also note that relatively few GPSes have the ability to set sub\-second cycle times; consult your hardware protocol description to make sure this works\&. --.sp --This command will return "C=?" at start of session, before the first full packet has been received from the GPS, because the GPS type is not yet known\&. To set up conditions for a real answer, issue it after some command that reads position/velocity/time information from the device\&. --.RE --.PP --d --.RS 4 --Returns the UTC time in the ISO 8601 format, "D=yyyy\-mm\-ddThh:nmm:ss\&.ssZ"\&. Digits of precision in the fractional\-seconds part will vary and may be absent\&. --.RE --.PP --e --.RS 4 --Returns "E=? %f %f": estimated position errors in meters \(em horizontal, and vertical (95% confidence level)\&. Note: many GPSes do not supply these numbers\&. When the GPS does not supply them, --gpsd --computes them from satellite DOP using fixed figures for expected non\-DGPS and DGPS range errors in meters\&. A value of \'?\' for either of these numbers should be taken to mean that component of DOP is not available\&. The ? value is a backwards\-compatibility placeholder; some early versions of GPSD returned a total error estimate there\&. See also the \'q\' command\&. --.RE --.PP --f --.RS 4 --Gets or sets the active GPS device name\&. The bare command \'f\' requests a response containing \'F=\' followed by the name of the active GPS device\&. The other form of the command is \'f=\', in which case all following printable characters up to but not including the next CR/LF are interpreted as the name of a trial GPS device\&. If the trial device is in --gpsd\'s device list, it is opened and read to see if a GPS can be found there\&. If it can, the trial device becomes the active device for this client\&. --.sp --The \'f=\' command may fail if the specified device name is not on the daemon\'s device list\&. This device list is initialized with the paths given on the command line, if any were specified\&. For security reasons, ordinary clients cannot change this device list; instead, this must be done via the daemon\'s local control socket declared with the \-F option\&. --.sp --Once an \'f=\' command succeeds, the client is tied to the specified device until the client disconnects\&. --.sp --Whether the command is \'f\' or \'f=\' or not, and whether it succeeds or not, the response always lists the name of the client\'s device\&. --.sp --(At protocol level 1, the F command failed if more than one client was attached, and multiple devices were not supported\&.) --.RE --.PP --g --.RS 4 --With =, accepts a single argument which may have either of the values \'gps\' or \'rtcm104v2\', with case ignored\&. This specifies the type of information the client wants and forces a device assignment\&. Without =, forces a device assignment but doesn\'t force the type\&. This command is optional; if it is not given, the client will be bound to whatever available device the daemon finds first\&. --.sp --This command returns either \'?\' if no device of the specified type(s) could be assigned, otherwise a string (\'GPS\' or \'RTCM104v2\') identifying the kind of information the attached device returns\&. --.sp --(Earlier versions accepted \'RTCM104\' and returned \'RTCM104\' rather than \'RTCM104v2\') --.RE --.PP --i --.RS 4 --Returns a text string identifying the GPS\&. The string may contain spaces and is terminated by CR\-LF\&. This command will return \'?\' at start of session, before the first full packet has been received from the GPS, because its type is not yet known\&. --.RE --.PP --j --.RS 4 --Get or set buffering policy; this only matters for NMEA devices which report fix data in several separate sentences during the poll cycle (and in particular it --\fIdoesn\'t\fR --matter for SiRF chips)\&. The default (j=0) is to clear all fix data at the start of each poll cycle, so until the sentence that reports a given piece of data arrives queries will report ?\&. Setting j=1 will disable this, retaining data from the previous cycle\&. This is a per\-user\-channel bit, not a per\-device one\&. The j=0 setting is hyper\-correct and never displays stale data, but may produce a jittery display; the j=1 setting allows stale data but smooths the display\&. --.sp --(At protocol level below 3, there was no J command\&. Note, this command is experimental and its semantics are subject to change\&.) --.RE --.PP --k --.RS 4 --Returns a line consisting of "K=" followed by an integer count of of all GPS devices known to --gpsd, followed by a space, followed by a space\-separated list of the device names\&. This command lists devices the daemon has been pointed at by the command\-line argument(s) or an add command via its control socket, and has successfully recognized as GPSes\&. Because GPSes might be unplugged at any time, the presence of a name in this list does not guarantee that the device is available\&. --.sp --(At protocol level 1, there was no K command\&.) --.RE --.PP --l --.RS 4 --Returns four fields: the major protocol/API revision number, the minor revision number, the gpsd version, and a list of accepted request letters\&. Note: earlier versions of this command returned only three fields, omitting the minor revision number\&. --.RE --.PP --m --.RS 4 --The NMEA mode as "M=%d"\&. 0=no mode value yet seen, 1=no fix, 2=2D (no altitude), 3=3D (with altitude)\&. --.RE --.PP --n --.RS 4 --Get or set the GPS driver mode\&. Without argument, reports the mode as "N=%d"; N=0 means NMEA mode and N=1 means alternate mode (binary if it has one, for SiRF and Evermore chipsets in particular)\&. With argument, set the mode if possible; the new mode will be reported in the response\&. The "N=" form is rejected if more than one client is attached to the channel\&. --.RE --.PP --o --.RS 4 --Attempts to return a complete time/position/velocity report as a unit\&. Any field for which data is not available being reported as ?\&. If there is no fix, the response is simply "O=?", otherwise a tag and timestamp are always reported\&. Fields are as follows, in order: --.PP --tag --.RS 4 --A tag identifying the last sentence received\&. For NMEA devices this is just the NMEA sentence name; the talker\-ID portion may be useful for distinguishing among results produced by different NMEA talkers in the same wire\&. --.RE --.PP --timestamp --.RS 4 --Seconds since the Unix epoch, UTC\&. May have a fractional part of up to \&.01sec precision\&. --.RE --.PP --time error --.RS 4 --Estimated timestamp error (%f, seconds, 95% confidence)\&. --.RE --.PP --latitude --.RS 4 --Latitude as in the P report (%f, degrees)\&. --.RE --.PP --longitude --.RS 4 --Longitude as in the P report (%f, degrees)\&. --.RE --.PP --altitude --.RS 4 --Altitude as in the A report (%f, meters)\&. If the mode field is not 3 this is an estimate and should be treated as unreliable\&. --.RE --.PP --horizontal error estimate --.RS 4 --Horizontal error estimate as in the E report (%f, meters)\&. --.RE --.PP --vertical error estimate --.RS 4 --Vertical error estimate as in the E report (%f, meters)\&. --.RE --.PP --course over ground --.RS 4 --Track as in the T report (%f, degrees)\&. --.RE --.PP --speed over ground --.RS 4 --Speed (%f, meters/sec)\&. Note: older versions of the O command reported this field in knots\&. --.RE --.PP --climb/sink --.RS 4 --Vertical velocity as in the U report (%f, meters/sec)\&. --.RE --.PP --estimated error in course over ground --.RS 4 --Error estimate for course (%f, degrees, 95% confidence)\&. --.RE --.PP --estimated error in speed over ground --.RS 4 --Error estimate for speed (%f, meters/sec, 95% confidence)\&. Note: older experimental versions of the O command reported this field in knots\&. --.RE --.PP --estimated error in climb/sink --.RS 4 --Estimated error for climb/sink (%f, meters/sec, 95% confidence)\&. --.RE --.PP --mode --.RS 4 --The NMEA mode (%d, ?=no mode value yet seen, 1=no fix, 2=2D, 3=3D)\&. (This field was not reported at protocol levels 2 and lower\&.) --.RE --.RE --.PP --p --.RS 4 --Returns the current position in the form "P=%f %f"; numbers are in degrees, latitude first\&. --.RE --.PP --q --.RS 4 --Returns "Q=%d %f %f %f %f %f": a count of satellites used in the last fix, and five dimensionless dilution\-of\-precision (DOP) numbers \(em spherical, horizontal, vertical, time, and total geometric\&. These are computed from the satellite geometry; they are factors by which to multiply the estimated UERE (user error in meters at specified confidence level due to ionospheric delay, multipath reception, etc\&.) to get actual circular error ranges in meters (or seconds) at the same confidence level\&. See also the \'e\' command\&. Note: Some GPSes may fail to report these, or report only one of them (often HDOP); a value of 0\&.0 should be taken as an indication that the data is not available\&. --.sp --Note: Older versions of --gpsd --reported only the first three DOP numbers, omitting time DOP and total DOP\&. --.RE --.PP --r --.RS 4 --Sets or toggles \'raw\' mode\&. Return "R=0" or "R=1" or "R=2"\&. In raw mode you read the NMEA data stream from each GPS\&. (Non\-NMEA GPSes get their communication format translated to NMEA on the fly\&.) If the device is a source of RTCM\-104 corrections, the corrections are dumped in the textual format described in --\fBrtcm104\fR(5)\&. --.sp --The command \'r\' immediately followed by the digit \'1\' or the plus sign \'+\' sets raw mode\&. The command \'r\' immediately followed by the digit \'2\' sets super\-raw mode; for non\-NMEA (binary) GPSes or RTCM\-104 sources this dumps the raw binary packet\&. The command \'r\' followed by the digit \'0\' or the minus sign \'\-\' clears raw mode\&. The command \'r\' with neither suffix toggles raw mode\&. --.sp --Note: older versions of --gpsd --did not support super\-raw mode\&. --.RE --.PP --s --.RS 4 --The NMEA status as "S=%d"\&. 0=no fix, 1=fix, 2=DGPS\-corrected fix\&. --.RE --.PP --t --.RS 4 --Track made good; course "T=%f" in degrees from true north\&. --.RE --.PP --u --.RS 4 --Current rate of climb as "U=%f" in meters per second\&. Some GPSes (not SiRF\-based) do not report this, in that case --gpsd --computes it using the altitude from the last fix (if available)\&. --.RE --.PP --v --.RS 4 --The current speed over ground as "V=%f" in knots\&. --.RE --.PP --w --.RS 4 --Sets or toggles \'watcher\' mode (see the description below)\&. Return "W=0" or "W=1"\&.The command \'w\' immediately followed by the digit \'1\' or the plus sign \'+\' sets watcher mode\&. The command \'w\' followed by the digit \'0\' or the minus sign \'\-\' clears watcher mode\&. The command \'w\' with neither suffix toggles watcher mode\&. --.RE --.PP --x --.RS 4 --Returns "X=0" if the GPS is offline, "X=%f" if online; in the latter case, %f is a timestamp from when the last sentence was received\&. --.sp --(At protocol level 1, the nonzero response was always 1\&.) --.RE --.PP --y --.RS 4 --Returns Y=, followed by a sentence tag, followed by a timestamp (seconds since the Unix epoch, UTC) and a count not more than 12, followed by that many quintuples of satellite PRNs, elevation/azimuth pairs (elevation an integer formatted as %d in range 0\-90, azimuth an integer formatted as %d in range 0\-359), signal strengths in decibels, and 1 or 0 according as the satellite was or was not used in the last fix\&. Each number is followed by one space\&. --.sp --(At protocol level 1, this response had no tag or timestamp\&.) --.RE --.PP --z --.RS 4 --The Z command returns daemon profiling information of interest to --gpsd --developers\&. The format of this string is subject to change without notice\&. --.RE --.PP --$ --.RS 4 --The $ command returns daemon profiling information of interest to --gpsd --developers\&. The format of this string is subject to change without notice\&. --.RE --.PP --Note that a response consisting of just ? following the = means that there is no valid data available\&. This may mean either that the device being queried is offline, or (for position/velocity/time queries) that it is online but has no fix\&. --.PP --Requests can be concatenated and sent as a string; --gpsd --will then respond with a comma\-separated list of replies\&. --.PP --Every --gpsd --reply will start with the string "GPSD" followed by the replies\&. Examples: --.sp --.RS 4 --.nf -- query: "p\en" -- reply: "GPSD,P=36\&.000000 123\&.000000\er\en" -- -- query: "d\en" -- reply: "GPSD,D=2002\-11\-16T02:45:05\&.12Z\er\en" -- -- query: "va\en" -- reply: "GPSD,V=0\&.000000,A=37\&.900000\er\en" --.fi --.RE --.PP --When clients are active but the GPS is not responding, --gpsd --will spin trying to open the GPS device once per second\&. Thus, it can be left running in background and survive having a GPS repeatedly unplugged and plugged back in\&. When it is properly installed along with hotplug notifier scripts feeding it device\-add commands, --gpsd --should require no configuration or user action to find devices\&. --.PP --The recommended mode for clients is watcher mode\&. In watcher mode --gpsd --ships a line of data to the client each time the GPS gets either a fix update or a satellite picture, but rather than being raw NMEA the line is a gpsd \'o\' or \'y\' response\&. Additionally, watching clients get notifications in the form X=0 or X=%f when the online/offline status of the GPS changes, and an I response giving the device type when the user is assigned a device\&. --.PP --Clients should be prepared for the possibility that additional fields (such as heading or roll/pitch/yaw) may be added to the O command, and not treat the occurrence of extra fields as an error\&. The protocol number will be incremented if and when such fields are added\&. --.PP --Sending SIGHUP to a running --gpsd --forces it to close all GPSes and all client connections\&. It will then attempt to reconnect to any GPSes on its device list and resume listening for client connections\&. This may be useful if your GPS enters a wedged or confused state but can be soft\-reset by pulling down DTR\&. --.SH "GPS DEVICE MANAGEMENT" --.PP --gpsd --maintains an internal list of GPS devices\&. If you specify devices on the command line, the list is initialized with those pathnames; otherwise the list starts empty\&. Commands to add and remove GPS device paths from the daemon\'s device list must be written to a local Unix\-domain socket which will be accessible only to programs running as root\&. This control socket will be located wherever the \-F option specifies it\&. --.PP --To point --gpsd --at a device that may be a GPS, write to the control socket a plus sign (\'+\') followed by the device name followed by LF or CR\-LF\&. Thus, to point the daemon at --\fI/dev/foo\fR\&. send "+/dev/foo\en"\&. To tell the daemon that a device has been disconnected and is no longer available, send a minus sign (\'\-\') followed by the device name followed by LF or CR\-LF\&. Thus, to remove --\fI/dev/foo\fR --from the search list\&. send "\-/dev/foo\en"\&. --.PP --To send a control string to a specified device, write to the control socket a \'!\', followed by the device name, followed by \'=\', followed by the control string\&. --.PP --To send a binary control string to a specified device, write to the control socket a \'&\', followed by the device name, followed by \'=\', followed by the control string in paired hex digits\&. --.PP --Your client may await a response, which will be a line beginning with either "OK" or "ERROR"\&. An ERROR reponse to an add command means the device did not emit data recognizable as GPS packets; an ERROR response to a remove command means the specified device was not in --gpsd\'s device list\&. An ERROR response to a ! command means the daemon did not recognize the devicename specified\&. --.PP --The control socket is intended for use by hotplug scripts and other device\-discovery services\&. This control channel is separate from the public --gpsd --service port, and only locally accessible, in order to prevent remote denial\-of\-service and spoofing attacks\&. --.SH "ACCURACY" --.PP --The base User Estimated Range Error (UERE) of GPSes is 8 meters or less at 66% confidence, 15 meters or less at 95% confidence\&. Actual horizontal error will be UERE times a dilution factor dependent on current satellite position\&. Altitude determination is more sensitive to variability to atmospheric signal lag than latitude/longitude, and is also subject to errors in the estimation of local mean sea level; base error is 12 meters at 66% confidence, 23 meters at 95% confidence\&. Again, this will be multiplied by a vertical dilution of precision (VDOP) dependent on satellite geometry, and VDOP is typically larger than HDOP\&. Users should --\fInot\fR --rely on GPS altitude for life\-critical tasks such as landing an airplane\&. --.PP --These errors are intrinsic to the design and physics of the GPS system\&. --gpsd --does its internal computations at sufficient accuracy that it will add no measurable position error of its own\&. --.PP --DGPS correction will reduce UERE by a factor of 4, provided you are within about 100mi (160km) of a DGPS ground station from which you are eceiving corrections\&. --.PP --On a 4800bps connection, the time latency of fixes provided by --gpsd --will be one second or less 95% of the time\&. Most of this lag is due to the fact that GPSes normally emit fixes once per second, thus expected latency is 0\&.5sec\&. On the personal\-computer hardware available in 2005, computation lag induced by --gpsd --will be negligible, on the order of a millisecond\&. Nevertheless, latency can introduce significant errors for vehicles in motion; at 50km/h (31mi/h) of speed over ground, 1 second of lag corresponds to 13\&.8 meters change in position between updates\&. --.PP --The time reporting of the GPS system itself has an intrinsic accuracy limit of 0\&.000,000,340 = 3\&.4\(mu10\-7 --seconds\&. A more important limit is the GPS tick rate\&. While the one\-per\-second PPS pulses emitted by serial GPS units are timed to the GPS system\'s intrinsic accuracy limit,the satellites only emit navigation messages at 0\&.01\-second intervals, and the timestamps in them only carry 0\&.01\-second precision\&. Thus, the timestamps that --gpsd --reports in time/position/velocity messages are normally accurate only to 1/100th of a second\&. --.SH "USE WITH NTP" --.PP --gpsd can provide reference clock information to --ntpd, to keep the system clock synchronized to the time provided by the GPS receiver\&. This facility is only available when the daemon is started from root\&. If you\'re going to use --gpsd --you probably want to run it --\fB\-n\fR --mode so the clock will be updated even when no clients are active\&. --.PP --Note that deriving time from messages received from the GPS is not as accurate as you might expect\&. Messages are often delayed in the receiver and on the link by several hundred milliseconds, and this delay is not constant\&. On Linux, --gpsd --includes support for interpreting the PPS pulses emitted at the start of every clock second on the carrier\-detect lines of some serial GPSes; this pulse can be used to update NTP at much higher accuracy than message time provides\&. You can determine whether your GPS emits this pulse by running at \-D 5 and watching for carrier\-detect state change messages in the logfile\&. --.PP --When --gpsd --receives a sentence with a timestamp, it packages the received timestamp with current local time and sends it to a shared\-memory segment with an ID known to --ntpd, the network time synchronization daemon\&. If --ntpd --has been properly configured to receive this message, it will be used to correct the system clock\&. --.PP --Here is a sample --\fIntp\&.conf\fR --configuration stanza telling --ntpd --how to read the GPS notfications: --.sp --.RS 4 --.nf --server 127\&.127\&.28\&.0 minpoll 4 maxpoll 4 --fudge 127\&.127\&.28\&.0 time1 0\&.420 refid GPS -- --server 127\&.127\&.28\&.1 minpoll 4 maxpoll 4 prefer --fudge 127\&.127\&.28\&.1 refid GPS1 --.fi --.RE --.PP --The magic pseudo\-IP address 127\&.127\&.28\&.0 identifies unit 0 of the --ntpd --shared\-memory driver; 127\&.127\&.28\&.1 identifies unit 1\&. Unit 0 is used for message\-decoded time and unit 1 for the (more accurate, when available) time derived from the PPS synchronization pulse\&. Splitting these notifications allows --ntpd --to use its normal heuristics to weight them\&. --.PP --With this configuration, --ntpd --will read the timestamp posted by --gpsd --every 16 seconds and send it to unit 0\&. The number after the parameter time1 is an offset in seconds\&. You can use it to adjust out some of the fixed delays in the system\&. 0\&.035 is a good starting value for the Garmin GPS\-18/USB, 0\&.420 for the Garmin GPS\-18/LVC\&. --.PP --After restarting ntpd, a line similar to the one below should appear in the output of the command "ntpq \-p" (after allowing a couple of minutes): --.sp --.RS 4 --.nf --remote refid st t when poll reach delay offset jitter --========================================================================= --+SHM(0) \&.GPS\&. 0 l 13 16 377 0\&.000 0\&.885 0\&.882 --.fi --.RE --.PP --If you are running PPS then it will look like this: --.sp --.RS 4 --.nf --remote refid st t when poll reach delay offset jitter --========================================================================= --\-SHM(0) \&.GPS\&. 0 l 13 16 377 0\&.000 0\&.885 0\&.882 --*SHM(1) \&.GPS1\&. 0 l 11 16 377 0\&.000 \-0\&.059 0\&.006 --.fi --.RE --.PP --When the value under "reach" remains zero, check that gpsd is running; and some application is connected to it or the \'\-n\' option was used\&. Make sure the receiver is locked on to at least one satellite, and the receiver is in SiRF binary, Garmin binary or NMEA/PPS mode\&. Plain NMEA will also drive ntpd, but the accuracy as bad as one second\&. When the SHM(0) line does not appear at all, check the system logs for error messages from ntpd\&. --.PP --When no other reference clocks appear in the NTP configuration, the system clock will lock onto the GPS clock\&. When you have previously used --ntpd, and other reference clocks appear in your configuration, there may be a fixed offset between the GPS clock and other clocks\&. The --gpsd --developers would like to receive information about the offsets observed by users for each type of receiver\&. Please send us the output of the "ntpq \-p" command and the make and type of receiver\&. --.SH "USE WITH D-BUS" --.PP --On operating systems that support D\-BUS, --gpsd --can be built to broadcast GPS fixes to D\-BUS\-aware applications\&. As D\-BUS is still at a pre\-1\&.0 stage, we will not attempt to document this interface here\&. Read the --gpsd --source code to learn more\&. --.SH "SECURITY AND PERMISSIONS ISSUES" --.PP --gpsd, if given the \-G flag, will listen for connections from any reachable host, and then disclose the current position\&. Before using the \-G flag, consider whether you consider your computer\'s location to be sensitive data to be kept private or something that you wish to publish\&. --.PP --gpsd --must start up as root in order to open the NTPD shared\-memory segment, open its logfile, and create its local control socket\&. Before doing any processing of GPS data, it tries to drop root privileges by setting its UID to "nobody" (or another userid as set by configure) and its group ID to the group of the initial GPS passed on the command line \(em or, if that device doesn\'t exist, to the group of --\fI/dev/ttyS0\fR\&. --.PP --Privilege\-dropping is a hedge against the possibility that carefully crafted data, either presented from a client socket or from a subverted serial device posing as a GPS, could be used to induce misbehavior in the internals of --gpsd\&. It ensures that any such compromises cannot be used for privilege elevation to root\&. --.PP --The assumption behind --gpsd\'s particular behavior is that all the tty devices to which a GPS might be connected are owned by the same non\-root group and allow group read/write, though the group may vary because of distribution\-specific or local administrative practice\&. If this assumption is false, --gpsd --may not be able to open GPS devices in order to read them (such failures will be logged)\&. --.PP --In order to fend off inadvertent denial\-of\-service attacks by port scanners (not to mention deliberate ones), --gpsd --will time out inactive client connections\&. Before the client has issued a command that requests a channel assignment, a short timeout (60 seconds) applies\&. There is no timeout for clients in watcher or raw modes; rather, --gpsd --drops these clients if they fail to read data long enough for the outbound socket write buffer to fill\&. Clients with an assigned device in polling mode are subject to a longer timeout (15 minutes)\&. --.SH "LIMITATIONS" --.PP --If multiple NMEA talkers are feeding RMC, GLL, and GGA sentences to the same serial device (possible with an RS422 adapter hooked up to some marine\-navigation systems), an \'O\' response may mix an altitude from one device\'s GGA with latitude/longitude from another\'s RMC/GLL after the second sentence has arrived\&. --.PP --gpsd --may change control settings on your GPS (such as the emission frequency of various sentences or packets) and not restore the original settings on exit\&. This is a result of inadequacies in NMEA and the vendor binary GPS protocols, which often do not give clients any way to query the values of control settings in order to be able to restore them later\&. --.PP --If your GPS uses a SiRF chipset at firmware level 231, and it is after 31 May 2007, reported UTC time may be off by the difference between 13 seconds and whatever leap\-second correction is currently applicable, from startup until complete subframe information is received (normally about six seconds)\&. Firmware levels 232 and up don\'t have this problem\&. You may run --gpsd --at debug level 4 to see the chipset type and firmware revision level\&. --.PP --When using SiRF chips, the VDOP/TDOP/GDOP figures and associated error estimates are computed by --gpsd --rather than reported by the chip\&. The computation does not exactly match what SiRF chips do internally, which includes some satellite weighting using parameters --gpsd --cannot see\&. --.PP --Autobauding on the Trimble GPSes can take as long as 5 seconds if the device speed is not matched to the GPS speed\&. --.PP --If you are using an NMEA\-only GPS (that is, not using SiRF or Garmin or Zodiac binary mode) and the GPS does not emit GPZDA at the start of its update cycle (which most consumer\-grade NMEA GPSes do not) and it is after 2099, then the century part of the dates --gpsd --delivers will be wrong\&. --.SH "FILES" --.PP --\fI/dev/ttyS0\fR --.RS 4 --Prototype TTY device\&. After startup, --gpsd --sets its group ID to the owner of this device if no GPS device was specified on the command line does not exist\&. --.RE --.SH "APPLICABLE STANDARDS" --.PP --The official NMEA protocol standard is available on paper from the --\fINational Marine Electronics Association\fR\&[1], but is proprietary and expensive; the maintainers of --gpsd --have made a point of not looking at it\&. The --\fIGPSD website\fR\&[2] --links to several documents that collect publicly disclosed information about the protocol\&. --.PP --gpsd --parses the following NMEA sentences: RMC, GGA, GLL, GSA, GSV, VTG, ZDA\&. It recognizes these with either the normal GP talker\-ID prefix, or with the II prefix emitted by Seahawk Autohelm marine navigation systems, or with the IN prefix emitted by some Garmin units\&. It recognizes one vendor extension, the PGRME emitted by some Garmin GPS models\&. --.PP --Note that --gpsd --returns pure decimal degrees, not the hybrid degree/minute format described in the NMEA standard\&. --.PP --Differential\-GPS corrections are conveyed by the RTCM\-104 proocol\&. The applicable standard for RTCM\-104 V2 is --RTCM Recommended Standards for Differential NAVSTAR GPS Service --RTCM Paper 194\-93/SC 104\-STD\&. The applicable standard for RTCM\-104 V3 is --RTCM Standard 10403\&.1 for Differential GNSS Services \- Version 3 --RTCM Paper 177\-2006\-SC104\-STD\&. --.SH "SEE ALSO" --.PP -- --\fBgps\fR(1), --\fBlibgps\fR(3), --\fBlibgpsd\fR(3), --\fBgpsprof\fR(1), --\fBgpsfake\fR(1), --\fBgpsctl\fR(1), --\fBgpscat\fR(1), --\fBrtcm-104\fR(5)\&. --.SH "AUTHORS" --.PP --Remco Treffcorn, Derrick Brashear, Russ Nelson, Eric S\&. Raymond, Chris Kuethe\&. This manual page by Eric S\&. Raymond --\&. There is a project site at --\fIhere\fR\&[2]\&. --.SH "NOTES" --.IP " 1." 4 --National Marine Electronics Association --.RS 4 --\%http://www.nmea.org/pub/0183/ --.RE --.IP " 2." 4 --GPSD website --.RS 4 --\%http://gpsd.berlios.de/ --.RE -diff -Nur gpsd-2.39.orig/gpsd_config.h gpsd-2.39/gpsd_config.h ---- gpsd-2.39.orig/gpsd_config.h 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/gpsd_config.h 2010-02-18 21:44:19.056856007 +0100 -@@ -0,0 +1,359 @@ -+/* gpsd_config.h. Generated from gpsd_config.h.in by configure. */ -+/* gpsd_config.h.in. Generated from configure.ac by autoheader. */ -+ -+/* Define if building universal (internal helper macro) */ -+/* #undef AC_APPLE_UNIVERSAL_BUILD */ -+ -+/* AIVDM protocol support) */ -+#define AIVDM_ENABLE 1 -+ -+/* Allow gpsd to controlsend device */ -+#define ALLOW_CONTROLSEND 1 -+ -+/* Allow gpsd to reconfigure device */ -+#define ALLOW_RECONFIGURE 1 -+ -+/* Ashtech chipset support */ -+#define ASHTECH_ENABLE 1 -+ -+/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP -+ systems. This function is required for `alloca.c' support on those systems. -+ */ -+/* #undef CRAY_STACKSEG_END */ -+ -+/* Define to 1 if using `alloca.c'. */ -+/* #undef C_ALLOCA */ -+ -+/* DBUS support */ -+/* #undef DBUS_ENABLE */ -+ -+/* DeLorme EarthMate Zodiac support */ -+#define EARTHMATE_ENABLE 1 -+ -+/* EverMore binary support */ -+#define EVERMORE_ENABLE 1 -+ -+/* Fixed port speed */ -+/* #undef FIXED_PORT_SPEED */ -+ -+/* San Jose Navigation FV-18 support */ -+#define FV18_ENABLE 1 -+ -+/* Garmin Simple Text support */ -+/* #undef GARMINTXT_ENABLE */ -+ -+/* Garmin support */ -+#define GARMIN_ENABLE 1 -+ -+/* GPSclock chipset support */ -+#define GPSCLOCK_ENABLE 1 -+ -+/* GPSD privilege revokation user */ -+/* #undef GPSD_USER */ -+ -+/* Define to 1 if you have `alloca', as a function or macro. */ -+#define HAVE_ALLOCA 1 -+ -+/* Define to 1 if you have and it should be used (not on Ultrix). -+ */ -+#define HAVE_ALLOCA_H 1 -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_ARPA_INET_H 1 -+ -+/* Define if you have the external 'daylight' variable. */ -+#define HAVE_DAYLIGHT 1 -+ -+/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't. -+ */ -+/* #undef HAVE_DECL_TZNAME */ -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_DLFCN_H 1 -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_GETOPT_H 1 -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_INTTYPES_H 1 -+ -+/* pthread libraries are present */ -+#define HAVE_LIBPTHREAD /**/ -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_MEMORY_H 1 -+ -+/* Motif available */ -+/* #undef HAVE_MOTIF */ -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_NCURSES_H 1 -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_NETDB_H 1 -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_NETINET_IN_H 1 -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_NETINET_IN_SYSTM_H 1 -+ -+/* Define to 1 if you have the header file. */ -+/* #undef HAVE_NETINET_IP_H */ -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_NETINET_TCP_H 1 -+ -+/* Define to 1 if you have the `round' function. */ -+/* #undef HAVE_ROUND */ -+ -+/* Define to 1 if you have the `setlocale' function. */ -+#define HAVE_SETLOCALE 1 -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_STDINT_H 1 -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_STDLIB_H 1 -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_STRINGS_H 1 -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_STRING_H 1 -+ -+/* Define to 1 if you have the `strlcat' function. */ -+/* #undef HAVE_STRLCAT */ -+ -+/* Define to 1 if you have the `strlcpy' function. */ -+/* #undef HAVE_STRLCPY */ -+ -+/* Define to 1 if you have the `strtonum' function. */ -+/* #undef HAVE_STRTONUM */ -+ -+/* Define to 1 if `tm_zone' is a member of `struct tm'. */ -+#define HAVE_STRUCT_TM_TM_ZONE 1 -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_SYS_IPC_H 1 -+ -+/* Define to 1 if you have the header file. */ -+/* #undef HAVE_SYS_MODEM_H */ -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_SYS_SELECT_H 1 -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_SYS_SHM_H 1 -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_SYS_SOCKET_H 1 -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_SYS_STAT_H 1 -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_SYS_TERMIOS_H 1 -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_SYS_TIME_H 1 -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_SYS_TYPES_H 1 -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_TERMIOS_H 1 -+ -+/* Have timezone variable */ -+#define HAVE_TIMEZONE /**/ -+ -+/* struct tm has tm_gmtoff */ -+/* #undef HAVE_TM_GMTOFF */ -+ -+/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use -+ `HAVE_STRUCT_TM_TM_ZONE' instead. */ -+#define HAVE_TM_ZONE 1 -+ -+/* Define to 1 if you don't have `tm_zone' but do have the external array -+ `tzname'. */ -+/* #undef HAVE_TZNAME */ -+ -+/* Define to 1 if you have the header file. */ -+#define HAVE_UNISTD_H 1 -+ -+/* Define to 1 if you have the `vsnprintf' function. */ -+#define HAVE_VSNPRINTF 1 -+ -+/* Define to 1 if you have the header file. */ -+/* #undef HAVE_X11_XPM_H */ -+ -+/* Xp available */ -+/* #undef HAVE_XP */ -+ -+/* Xpm available */ -+/* #undef HAVE_XPM */ -+ -+/* Define to 1 if you have the header file. */ -+/* #undef HAVE_XPM_H */ -+ -+/* iTrax chipset support */ -+#define ITRAX_ENABLE 1 -+ -+/* Limited maximum clients */ -+/* #undef LIMITED_MAX_CLIENTS */ -+ -+/* Maximum gps devices */ -+/* #undef LIMITED_MAX_DEVICES */ -+ -+/* Define to the sub-directory in which libtool stores uninstalled libraries. -+ */ -+#define LT_OBJDIR ".libs/" -+ -+/* MKT-3301 support */ -+#define MKT3301_ENABLE 1 -+ -+/* Navcom support */ -+#define NAVCOM_ENABLE 1 -+ -+/* MKT-3301 requires NMEA support */ -+#define NMEA_ENABLE 1 -+ -+/* NTP time hinting support */ -+#define NTPSHM_ENABLE 1 -+ -+/* NTRIP support */ -+#define NTRIP_ENABLE 1 -+ -+/* OceanServer support */ -+/* #undef OCEANSERVER_ENABLE */ -+ -+/* Name of package */ -+#define PACKAGE "gpsd" -+ -+/* Define to the address where bug reports for this package should be sent. */ -+#define PACKAGE_BUGREPORT "" -+ -+/* Define to the full name of this package. */ -+#define PACKAGE_NAME "" -+ -+/* Define to the full name and version of this package. */ -+#define PACKAGE_STRING "" -+ -+/* Define to the one symbol short name of this package. */ -+#define PACKAGE_TARNAME "" -+ -+/* Define to the home page for this package. */ -+#define PACKAGE_URL "" -+ -+/* Define to the version of this package. */ -+#define PACKAGE_VERSION "" -+ -+/* PPS time syncing support */ -+#define PPS_ENABLE 1 -+ -+/* PPS on CTS rather than DCD */ -+/* #undef PPS_ON_CTS */ -+ -+/* profiling support */ -+/* #undef PROFILING */ -+ -+/* rtcm104v2 binary support */ -+#define RTCM104V2_ENABLE 1 -+ -+/* rtcm104v3 binary support */ -+#define RTCM104V3_ENABLE 1 -+ -+/* SiRF chipset support */ -+#define SIRF_ENABLE 1 -+ -+/* The size of `char', as computed by sizeof. */ -+#define SIZEOF_CHAR 1 -+ -+/* The size of `double', as computed by sizeof. */ -+#define SIZEOF_DOUBLE 8 -+ -+/* The size of `float', as computed by sizeof. */ -+#define SIZEOF_FLOAT 4 -+ -+/* The size of `int', as computed by sizeof. */ -+#define SIZEOF_INT 4 -+ -+/* The size of `long', as computed by sizeof. */ -+#define SIZEOF_LONG 4 -+ -+/* The size of `long long', as computed by sizeof. */ -+#define SIZEOF_LONG_LONG 8 -+ -+/* The size of `short', as computed by sizeof. */ -+#define SIZEOF_SHORT 2 -+ -+/* Squelch logging and hexdumps */ -+/* #undef SQUELCH_ENABLE */ -+ -+/* If using the C implementation of alloca, define if you know the -+ direction of stack growth for your system; otherwise it will be -+ automatically deduced at runtime. -+ STACK_DIRECTION > 0 => grows toward higher addresses -+ STACK_DIRECTION < 0 => grows toward lower addresses -+ STACK_DIRECTION = 0 => direction of growth unknown */ -+/* #undef STACK_DIRECTION */ -+ -+/* Define to 1 if you have the ANSI C header files. */ -+#define STDC_HEADERS 1 -+ -+/* SuperStarII chipset support */ -+#define SUPERSTAR2_ENABLE 1 -+ -+/* Define to 1 if you can safely include both and . */ -+#define TIME_WITH_SYS_TIME 1 -+ -+/* Define to 1 if your declares `struct tm'. */ -+/* #undef TM_IN_SYS_TIME */ -+ -+/* True North Technologies support */ -+/* #undef TNT_ENABLE */ -+ -+/* DeLorme TripMate support */ -+#define TRIPMATE_ENABLE 1 -+ -+/* Trimble TSIP support */ -+#define TSIP_ENABLE 1 -+ -+/* UBX Protocol support */ -+#define UBX_ENABLE 1 -+ -+/* Version number of package */ -+#define VERSION "2.39" -+ -+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most -+ significant byte first (like Motorola and SPARC, unlike Intel). */ -+#if defined AC_APPLE_UNIVERSAL_BUILD -+# if defined __BIG_ENDIAN__ -+# define WORDS_BIGENDIAN 1 -+# endif -+#else -+# ifndef WORDS_BIGENDIAN -+/* # undef WORDS_BIGENDIAN */ -+# endif -+#endif -+ -+/* Define to 1 if the X Window System is missing or not being used. */ -+/* #undef X_DISPLAY_MISSING */ -+ -+/* Macro for declaring function arguments unused. */ -+#if defined(__GNUC__) -+# define UNUSED __attribute__((unused)) /* Flag variable as unused */ -+#else /* not __GNUC__ */ -+# define UNUSED -+#endif -+ -+/* Some libc's don't have strlcat/strlcpy. Local copies are provided */ -+#ifndef HAVE_STRLCAT -+size_t strlcat(/*@out@*/char *dst, /*@in@*/const char *src, size_t size); -+#endif -+#ifndef HAVE_STRLCPY -+size_t strlcpy(/*@out@*/char *dst, /*@in@*/const char *src, size_t size); -+#endif -+ -+/* Define to empty if `const' does not conform to ANSI C. */ -+/* #undef const */ -diff -Nur gpsd-2.39.orig/gpsd_config.h.in gpsd-2.39/gpsd_config.h.in ---- gpsd-2.39.orig/gpsd_config.h.in 2009-03-18 22:10:49.000000000 +0100 -+++ gpsd-2.39/gpsd_config.h.in 2010-02-18 21:42:04.600855467 +0100 -@@ -1,5 +1,8 @@ - /* gpsd_config.h.in. Generated from configure.ac by autoheader. */ - -+/* Define if building universal (internal helper macro) */ -+#undef AC_APPLE_UNIVERSAL_BUILD -+ - /* AIVDM protocol support) */ - #undef AIVDM_ENABLE - -@@ -100,9 +103,6 @@ - /* Define to 1 if you have the header file. */ - #undef HAVE_NETINET_TCP_H - --/* Define to 1 if you have the header file. */ --#undef HAVE_PYTHON_H -- - /* Define to 1 if you have the `round' function. */ - #undef HAVE_ROUND - -@@ -130,7 +130,7 @@ - /* Define to 1 if you have the `strtonum' function. */ - #undef HAVE_STRTONUM - --/* Define to 1 if `tm_zone' is member of `struct tm'. */ -+/* Define to 1 if `tm_zone' is a member of `struct tm'. */ - #undef HAVE_STRUCT_TM_TM_ZONE - - /* Define to 1 if you have the header file. */ -@@ -241,6 +241,9 @@ - /* Define to the one symbol short name of this package. */ - #undef PACKAGE_TARNAME - -+/* Define to the home page for this package. */ -+#undef PACKAGE_URL -+ - /* Define to the version of this package. */ - #undef PACKAGE_VERSION - -@@ -321,9 +324,17 @@ - /* Version number of package */ - #undef VERSION - --/* Define to 1 if your processor stores words with the most significant byte -- first (like Motorola and SPARC, unlike Intel and VAX). */ --#undef WORDS_BIGENDIAN -+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most -+ significant byte first (like Motorola and SPARC, unlike Intel). */ -+#if defined AC_APPLE_UNIVERSAL_BUILD -+# if defined __BIG_ENDIAN__ -+# define WORDS_BIGENDIAN 1 -+# endif -+#else -+# ifndef WORDS_BIGENDIAN -+# undef WORDS_BIGENDIAN -+# endif -+#endif - - /* Define to 1 if the X Window System is missing or not being used. */ - #undef X_DISPLAY_MISSING -diff -Nur gpsd-2.39.orig/gpsd_config.h.in~ gpsd-2.39/gpsd_config.h.in~ ---- gpsd-2.39.orig/gpsd_config.h.in~ 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/gpsd_config.h.in~ 2010-02-18 21:38:47.392856051 +0100 -@@ -0,0 +1,358 @@ -+/* gpsd_config.h.in. Generated from configure.ac by autoheader. */ -+ -+/* Define if building universal (internal helper macro) */ -+#undef AC_APPLE_UNIVERSAL_BUILD -+ -+/* AIVDM protocol support) */ -+#undef AIVDM_ENABLE -+ -+/* Allow gpsd to controlsend device */ -+#undef ALLOW_CONTROLSEND -+ -+/* Allow gpsd to reconfigure device */ -+#undef ALLOW_RECONFIGURE -+ -+/* Ashtech chipset support */ -+#undef ASHTECH_ENABLE -+ -+/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP -+ systems. This function is required for `alloca.c' support on those systems. -+ */ -+#undef CRAY_STACKSEG_END -+ -+/* Define to 1 if using `alloca.c'. */ -+#undef C_ALLOCA -+ -+/* DBUS support */ -+#undef DBUS_ENABLE -+ -+/* DeLorme EarthMate Zodiac support */ -+#undef EARTHMATE_ENABLE -+ -+/* EverMore binary support */ -+#undef EVERMORE_ENABLE -+ -+/* Fixed port speed */ -+#undef FIXED_PORT_SPEED -+ -+/* San Jose Navigation FV-18 support */ -+#undef FV18_ENABLE -+ -+/* Garmin Simple Text support */ -+#undef GARMINTXT_ENABLE -+ -+/* Garmin support */ -+#undef GARMIN_ENABLE -+ -+/* GPSclock chipset support */ -+#undef GPSCLOCK_ENABLE -+ -+/* GPSD privilege revokation user */ -+#undef GPSD_USER -+ -+/* Define to 1 if you have `alloca', as a function or macro. */ -+#undef HAVE_ALLOCA -+ -+/* Define to 1 if you have and it should be used (not on Ultrix). -+ */ -+#undef HAVE_ALLOCA_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_ARPA_INET_H -+ -+/* Define if you have the external 'daylight' variable. */ -+#undef HAVE_DAYLIGHT -+ -+/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't. -+ */ -+#undef HAVE_DECL_TZNAME -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_DLFCN_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_GETOPT_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_INTTYPES_H -+ -+/* pthread libraries are present */ -+#undef HAVE_LIBPTHREAD -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_MEMORY_H -+ -+/* Motif available */ -+#undef HAVE_MOTIF -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_NCURSES_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_NETDB_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_NETINET_IN_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_NETINET_IN_SYSTM_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_NETINET_IP_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_NETINET_TCP_H -+ -+/* Define to 1 if you have the `round' function. */ -+#undef HAVE_ROUND -+ -+/* Define to 1 if you have the `setlocale' function. */ -+#undef HAVE_SETLOCALE -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_STDINT_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_STDLIB_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_STRINGS_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_STRING_H -+ -+/* Define to 1 if you have the `strlcat' function. */ -+#undef HAVE_STRLCAT -+ -+/* Define to 1 if you have the `strlcpy' function. */ -+#undef HAVE_STRLCPY -+ -+/* Define to 1 if you have the `strtonum' function. */ -+#undef HAVE_STRTONUM -+ -+/* Define to 1 if `tm_zone' is a member of `struct tm'. */ -+#undef HAVE_STRUCT_TM_TM_ZONE -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_SYS_IPC_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_SYS_MODEM_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_SYS_SELECT_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_SYS_SHM_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_SYS_SOCKET_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_SYS_STAT_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_SYS_TERMIOS_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_SYS_TIME_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_SYS_TYPES_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_TERMIOS_H -+ -+/* Have timezone variable */ -+#undef HAVE_TIMEZONE -+ -+/* struct tm has tm_gmtoff */ -+#undef HAVE_TM_GMTOFF -+ -+/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use -+ `HAVE_STRUCT_TM_TM_ZONE' instead. */ -+#undef HAVE_TM_ZONE -+ -+/* Define to 1 if you don't have `tm_zone' but do have the external array -+ `tzname'. */ -+#undef HAVE_TZNAME -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_UNISTD_H -+ -+/* Define to 1 if you have the `vsnprintf' function. */ -+#undef HAVE_VSNPRINTF -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_X11_XPM_H -+ -+/* Xp available */ -+#undef HAVE_XP -+ -+/* Xpm available */ -+#undef HAVE_XPM -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_XPM_H -+ -+/* iTrax chipset support */ -+#undef ITRAX_ENABLE -+ -+/* Limited maximum clients */ -+#undef LIMITED_MAX_CLIENTS -+ -+/* Maximum gps devices */ -+#undef LIMITED_MAX_DEVICES -+ -+/* Define to the sub-directory in which libtool stores uninstalled libraries. -+ */ -+#undef LT_OBJDIR -+ -+/* MKT-3301 support */ -+#undef MKT3301_ENABLE -+ -+/* Navcom support */ -+#undef NAVCOM_ENABLE -+ -+/* MKT-3301 requires NMEA support */ -+#undef NMEA_ENABLE -+ -+/* NTP time hinting support */ -+#undef NTPSHM_ENABLE -+ -+/* NTRIP support */ -+#undef NTRIP_ENABLE -+ -+/* OceanServer support */ -+#undef OCEANSERVER_ENABLE -+ -+/* Name of package */ -+#undef PACKAGE -+ -+/* Define to the address where bug reports for this package should be sent. */ -+#undef PACKAGE_BUGREPORT -+ -+/* Define to the full name of this package. */ -+#undef PACKAGE_NAME -+ -+/* Define to the full name and version of this package. */ -+#undef PACKAGE_STRING -+ -+/* Define to the one symbol short name of this package. */ -+#undef PACKAGE_TARNAME -+ -+/* Define to the home page for this package. */ -+#undef PACKAGE_URL -+ -+/* Define to the version of this package. */ -+#undef PACKAGE_VERSION -+ -+/* PPS time syncing support */ -+#undef PPS_ENABLE -+ -+/* PPS on CTS rather than DCD */ -+#undef PPS_ON_CTS -+ -+/* profiling support */ -+#undef PROFILING -+ -+/* rtcm104v2 binary support */ -+#undef RTCM104V2_ENABLE -+ -+/* rtcm104v3 binary support */ -+#undef RTCM104V3_ENABLE -+ -+/* SiRF chipset support */ -+#undef SIRF_ENABLE -+ -+/* The size of `char', as computed by sizeof. */ -+#undef SIZEOF_CHAR -+ -+/* The size of `double', as computed by sizeof. */ -+#undef SIZEOF_DOUBLE -+ -+/* The size of `float', as computed by sizeof. */ -+#undef SIZEOF_FLOAT -+ -+/* The size of `int', as computed by sizeof. */ -+#undef SIZEOF_INT -+ -+/* The size of `long', as computed by sizeof. */ -+#undef SIZEOF_LONG -+ -+/* The size of `long long', as computed by sizeof. */ -+#undef SIZEOF_LONG_LONG -+ -+/* The size of `short', as computed by sizeof. */ -+#undef SIZEOF_SHORT -+ -+/* Squelch logging and hexdumps */ -+#undef SQUELCH_ENABLE -+ -+/* If using the C implementation of alloca, define if you know the -+ direction of stack growth for your system; otherwise it will be -+ automatically deduced at runtime. -+ STACK_DIRECTION > 0 => grows toward higher addresses -+ STACK_DIRECTION < 0 => grows toward lower addresses -+ STACK_DIRECTION = 0 => direction of growth unknown */ -+#undef STACK_DIRECTION -+ -+/* Define to 1 if you have the ANSI C header files. */ -+#undef STDC_HEADERS -+ -+/* SuperStarII chipset support */ -+#undef SUPERSTAR2_ENABLE -+ -+/* Define to 1 if you can safely include both and . */ -+#undef TIME_WITH_SYS_TIME -+ -+/* Define to 1 if your declares `struct tm'. */ -+#undef TM_IN_SYS_TIME -+ -+/* True North Technologies support */ -+#undef TNT_ENABLE -+ -+/* DeLorme TripMate support */ -+#undef TRIPMATE_ENABLE -+ -+/* Trimble TSIP support */ -+#undef TSIP_ENABLE -+ -+/* UBX Protocol support */ -+#undef UBX_ENABLE -+ -+/* Version number of package */ -+#undef VERSION -+ -+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most -+ significant byte first (like Motorola and SPARC, unlike Intel). */ -+#if defined AC_APPLE_UNIVERSAL_BUILD -+# if defined __BIG_ENDIAN__ -+# define WORDS_BIGENDIAN 1 -+# endif -+#else -+# ifndef WORDS_BIGENDIAN -+# undef WORDS_BIGENDIAN -+# endif -+#endif -+ -+/* Define to 1 if the X Window System is missing or not being used. */ -+#undef X_DISPLAY_MISSING -+ -+/* Macro for declaring function arguments unused. */ -+#if defined(__GNUC__) -+# define UNUSED __attribute__((unused)) /* Flag variable as unused */ -+#else /* not __GNUC__ */ -+# define UNUSED -+#endif -+ -+/* Some libc's don't have strlcat/strlcpy. Local copies are provided */ -+#ifndef HAVE_STRLCAT -+size_t strlcat(/*@out@*/char *dst, /*@in@*/const char *src, size_t size); -+#endif -+#ifndef HAVE_STRLCPY -+size_t strlcpy(/*@out@*/char *dst, /*@in@*/const char *src, size_t size); -+#endif -+ -+/* Define to empty if `const' does not conform to ANSI C. */ -+#undef const -diff -Nur gpsd-2.39.orig/gpsdecode.1 gpsd-2.39/gpsdecode.1 ---- gpsd-2.39.orig/gpsdecode.1 2009-03-18 15:55:51.000000000 +0100 -+++ gpsd-2.39/gpsdecode.1 1970-01-01 01:00:00.000000000 +0100 -@@ -1,120 +0,0 @@ --.\" Title: gpsdecode --.\" Author: --.\" Generator: DocBook XSL Stylesheets v1.73.2 --.\" Date: 03/18/2009 --.\" Manual: 13 Jul 2005 --.\" Source: 13 Jul 2005 --.\" --.TH "GPSDECODE" "1" "03/18/2009" "13 Jul 2005" "13 Jul 2005" --.\" disable hyphenation --.nh --.\" disable justification (adjust text to left margin only) --.ad l --.SH "NAME" --gpsdecode \- decode RTCM or AIVDM streams into a readable format --.SH "SYNOPSIS" --.HP 10 --\fBgpsdecode\fR [\-d] [\-e] [\-l] [\-u] [\-D\ \fIdebuglevel\fR] [\-V] --.SH "DESCRIPTION" --.PP --This tool is a decoder/encoder for various binary packet formats associated with GPS and differential\-correction services\&. It produces a text dump on standard output from binary on standard input, or binary packets on standard output from text on standard input, and aims to be 100% information\-preserving in both directions\&. As well as data, the decoder also prints decoder status messages to standard error as necessary\&. --.PP --Two of the supported formats are RTCM 2 and 3, a pair of obscure and complicated serial protocol used for broadcasting pseudorange corrections from differential\-GPS reference stations\&. You can use this mode of the tool with --\fBnc\fR(1) --to examine RTCM feeds from DGPSIP servers or Ntrip broadcasters\&. The decoder dump format for RTCM2 is described in --\fBrtcm\fR(5); these lines go to standard output\&. --.PP --Another supported format is AIVDM\&. This is the sentence format used by the marine Automatic Identification System\&. This can be decoded, but not yet encoded\&. --.PP --The dump lines are values of AIS payload fields, comma\-separated, in the order that they occur in the payload, spare and assigned\-mode bits omitted\&. Spans of fields expressing a date are emitted as an ISO8601 timestamp (look for colons and the trailing Z indicating Zulu/UTC time), and the 19\-bit group of TDMA status fields found at the end of message types 1\-4 are are dumped as a single unsigned integer in hex\&. (Unused regional\-authority fields are also dumped in hex\&.) --.PP --By default, certain scaling and conversion operations are performed for the output\&. Latitudes and longitudes are scaled to decimal degrees rather than the native AIS unit of 1/10000th of a minute of arc\&. Ship (but not air) speeds are scaled to knots rather than tenth\-of\-knot unit\&. Navigation status and positioning\-system type are dumped as text strings rather than IAS numeric codes\&. Rate of turn may appear as "nan" if is unavailable, of as one of the strings "fastright" or "fastleft" if it is out of the IAS encoding range; otherwise it is quadratically mapped back to the turn sensor number in degrees per minute\&. Vessel draughts are converted to decimal meters rather than native AIS decimeters\&. --.SH "OPTIONS" --.PP --The --\fB\-d\fR --option tells the program to decode packets presented on standard input to a text dump on standard output\&. This is the default behavior\&. --.PP --RTCM2 will be dumped in the format of --\fBrtcm-104\fR(5) --on standard output\&. --.PP --The --\fB\-e\fR --option option tells the program to encode a text dump in the format of --\fBrtcm-104\fR(5) --to standard output\&. Encoding is supported only RTCM2, not for RTCM3\&. --.PP --The --\fB\-u\fR --suppresses scaling to float quantities and text expansion of numeric codes\&. A dump with this option is lossless\&. --.PP --The --\fB\-l\fR --inserts a mnemonic label, followed by an equal sign, before each field in each dump line\&. --.PP --The --\fB\-V\fR --option directs the program to emit its version number, then exit\&. --.PP --The --\fB\-D\fR --option sets a debug verbosity level\&. It is mainly of interest to developers\&. --.SH "APPLICABLE STANDARDS" --.PP --The applicable standard for V2 is --RTCM Recommended Standards for Differential NAVSTAR GPS Service --RTCM Paper 194\-93/SC 104\-STD\&. --.PP --Note that --gpsdecode --presently recognizes only the 2\&.1 level of RTCM; the protocol was revised up to a version 2\&.3 including additional messages relating to GLONASS and real\-time kinematics before being deprecated in favor of V3\&. It is now obsolete\&. --.PP --The applicable standard for V3 is --RTCM Standard 10403\&.1 for Differential GNSS Services \- Version 3 --RTCM Paper 177\-2006\-SC104\-STD\&. --.PP --Ordering instructions for the RTCM standards are accessible from the website of the --\fIRadio Technical Commission for Maritime Services\fR\&[1] --under "Publications"\&. --.PP --The applicable standard for AIVDM is --ITU\-R M\&.1371: ITU Recommendation on the Technical Characteristics for a Universal Shipborne Automatic Identification System (AIS) using Time Division Multiple Access in the Maritime Mobile Band,\&. A more accessible description can be found onn the references page of the GPSD project website\&. --.SH "BUGS AND LIMITATIONS" --.PP --AIDVM decoding presently only parses fields for the common sentence types 1\-5, the rarely encountered type 9, and the uncommon type 18\&. AIVDM encoding is not yet supported\&. --.PP --RTCM3 decoding is buggy and incomplete\&. --.PP --RTCM2 represents floating\-point quantities as an integer multiple of a fixed scale factor\&. Editing an RTCM2 dump can produce numbers that are not an integer multiple of the scale factor for their field\&. If you do this, the value actually packed into binary RTCM2 will be rounded down to the nearest scale unit, and dumping will show slightly different numbers than those you entered\&. This bug could be fixed by supporting the --\fB\-u\fR --option to suppress scaling, but the protocol is noew obsolete\&. --.PP --The RTCM2 decoder logic is sufficiently convoluted to confuse some compiler optimizers, notably in GCC 3\&.x at \-O2, into generating bad code\&. --.SH "SEE ALSO" --.PP -- --\fBgpsd\fR(8), --\fBgps\fR(1), --\fBlibgps\fR(3), --\fBlibgpsd\fR(3), --\fBgpsprof\fR(1), --\fBgpsfake\fR(1), --\fBrtcm-104\fR(5)\&. --.SH "AUTHOR" --.PP --Eric S\&. Raymond --\&. This is a somewhat hacked version of an RTCM decoder originally written by Wolfgang Rupprecht\&. There is a project page for --gpsd --\fIhere\fR\&[2]\&. --.SH "NOTES" --.IP " 1." 4 --Radio Technical Commission for Maritime Services --.RS 4 --\%http://www.rtcm.org/ --.RE --.IP " 2." 4 --here --.RS 4 --\%http://gpsd.berlios.de/ --.RE -diff -Nur gpsd-2.39.orig/gpsflash.1 gpsd-2.39/gpsflash.1 ---- gpsd-2.39.orig/gpsflash.1 2009-03-15 04:50:37.000000000 +0100 -+++ gpsd-2.39/gpsflash.1 1970-01-01 01:00:00.000000000 +0100 -@@ -1,74 +0,0 @@ --.\" Title: gpsflash --.\" Author: --.\" Generator: DocBook XSL Stylesheets v1.73.2 --.\" Date: 03/14/2009 --.\" Manual: 15 Jul 2005 --.\" Source: 15 Jul 2005 --.\" --.TH "GPSFLASH" "1" "03/14/2009" "15 Jul 2005" "15 Jul 2005" --.\" disable hyphenation --.nh --.\" disable justification (adjust text to left margin only) --.ad l --.SH "NAME" --gpsflash \- 2-stage firmware loader for GPS chipsets --.SH "SYNOPSIS" --.HP 9 --\fBgpsflash\fR [\-n] [\-l\ \fIloader\-file\fR] \-f\ \fIfirmware\-file\fR {\fItty\fR} --.SH "DESCRIPTION" --.PP --This program is a firmware loader for GPSes connected to your host computer via serial or USB port\&. Presently it supports only SiRF GPSes\&. Other GPSes may be supported in the future if the vendors cooperate\&. --.PP --For operation, this program requires a flashloader binary (found by default in a file named --\fIdlgsp2\&.bin\fR) and a firmware image\&. This program first ships a command that tells the GPS a flashloader image will follow, then gives the GPS time to reboot into the flashloader\&. The flashloader then accepts S\-records from the serial or USB port until it sees a termination record, at which point it writes the new firmware into the GPS\'s non\-volatile memory and reboots the chip into the new firmware\&. --.PP --There is one required argument, specifying the serial device to which the GPS is connected\&. --.PP --The \-l option specifies the flashloader binary\&. The \-f option specifies the firmware image file, and is required unless you are just probing the GPS (\-n option)\&. --.PP --If the \-n option is specified, the program will probe the GPS to try to determine its type and whether the upload is compatible, but not actually perform the upload\&. When this option is specified, the \-f option is not required\&. --.PP --You will need to obtain your own copy of --\fIdlgsp2\&.bin\fR --and your own firmware image\&. The GPSD project does not yet have permission to distribute these files, so don\'t ask us for copies\&. --.PP --Depending on your GPS type, this program may or may not attempt to check that the flashloader or firmware image is compatible with your GPS; in some cases no check is possible\&. --\fBEXPERIMENT AT YOUR OWN RISK\&.\fR --.PP --This program will only work with firmware images in S\-record format, which is the form SiRF normally distributes them in\&. If you get a binary firmware image from somewhere, you can use --\fBobjdump\fR(1), from the GNU binutils to convert it to S\-records\&. --.PP --Realize that we are not kidding around when we say that this could very well break your receiver permanently, and if it does, it\'s no one\'s fault but your own\&. For this program to flash your GPS, you must set an environment variable called I_READ_THE_WARNING with the value "why oh why didn\'t i take the blue pill"\&. --.PP --This program emits progress messages to standard output\&. --.PP --The GPS will be reset to 4800bps NMEA after flash\&. --.SH "BUGS AND LIMITAIONS" --.sp --.it 1 an-trap --.nr an-no-space-flag 1 --.nr an-break-flag 1 --.br --Warning --.PP --THIS PROGRAM CAN DESTROY YOUR GPS\&. A botched firmware upload will turn it into a paperweight\&. USE AT YOUR OWN RISK\&. Maintainers are not responsible for direct or incidental damages\&. YOU HAVE BEEN WARNED\&. --.SH "SEE ALSO" --.PP -- --\fBgpsd\fR(8), --\fBgps\fR(1), --\fBlibgps\fR(3), --\fBlibgpsd\fR(3), --\fBsrec\fR(5)\&. --.SH "AUTHOR" --.PP --Chris Kuethe --\&. There is a project page for --gpsd --\fIhere\fR\&[1]\&. --.SH "NOTES" --.IP " 1." 4 --here --.RS 4 --\%http://gpsd.berlios.de/ --.RE -diff -Nur gpsd-2.39.orig/gpsmon.1 gpsd-2.39/gpsmon.1 ---- gpsd-2.39.orig/gpsmon.1 2009-03-15 04:50:32.000000000 +0100 -+++ gpsd-2.39/gpsmon.1 1970-01-01 01:00:00.000000000 +0100 -@@ -1,196 +0,0 @@ --.\" Title: gpsmon --.\" Author: --.\" Generator: DocBook XSL Stylesheets v1.73.2 --.\" Date: 03/14/2009 --.\" Manual: 17 Feb 2009 --.\" Source: 17 Feb 2009 --.\" --.TH "GPSMON" "1" "03/14/2009" "17 Feb 2009" "17 Feb 2009" --.\" disable hyphenation --.nh --.\" disable justification (adjust text to left margin only) --.ad l --.SH "NAME" --gpsmon \- real-time GPS packet monitor and control utility --.SH "SYNOPSIS" --.HP 7 --\fBgpsmon\fR [\-h] [\-V] [\-F\ \fIcontrol\-socket\fR] [[\ \fIserver\fR\ [\fI:port\fR\ [\fI:device\fR]]\ |\ \fIdevice\fR]] [\-l] [\-D\ \fIdebuglevel\fR] --.SH "DESCRIPTION" --.PP --gpsmon --is a monitor that watches packets coming from a GPS and displays them along with diagnostic information\&. It supports commands that can be used to tweak GPS settings in various ways; some are device\-independent, some vary with the GPS chipset type\&. --.PP --gpsmon --differs from a navigation client in that it mostly dumps raw data from the GPS, with only enough data\-massaging to allow checks against expected output\&. In particular, this tool does not do any interpolation or modeling to derive climb/sink or error estimates\&. Nor does it discard altitude reports when the fix quality is too low\&. --.PP --gpsmon --is a designed to run in a terminal emulator with a minimum 25x80 size; the non\-GUI interface is a design choice made to accomodate users operating in constrained environments and over telnet or ssh connections\&. If run in a larger window, the size of the packrty\-log window will be increased to fit\&. --.PP --gpsmon --accepts an \-h option that displays a usage message, or a \-V option to dump the package version and exit\&. --.PP --This program may be run in either of two modes, as a client for the --gpsd --daemon (and its associated control socket) or directly connected to a specified serial device\&. When run with no argument, it attempts to connect to the daemon\&. If the argument looks like a server:port specification it will also attempt to connect to the daemon\&. If the argument looks like a bare server name it will attempt to connect to a daemon running on the default gpsd port on that server\&. Only if the device argument contains slashes but no colons will it be treated as a serial device for direct connection\&. In direct\-connect mode --gpsmon --will hunt for a correct baud rate and lock on to it automatically\&. --.PP --The \-F option is only valid in client mode; it specifies a control socket to which the program should send device control strings\&. You must specify a valid pathname of a Unix\-domain socket on your local filesystem\&. --.PP --The \-D option enables packet\-getter debugging output and is probably only useful to developers of the GPSD code\&. Consult the packet\-getter source code for relevant values\&. --.PP --The \-l option lists a table showing which GPS device types --gpsmon --has built\-in support for, and which generic commands can be applied to which GPS types, and then exits\&. Note that this does not list type\-specific commands associated with individual GPS types\&. --.PP --After startup, the top part of the screen reports the contents of several especially interesting packet types\&. The bottom half of the screen is a scrolling hex dump of all packets the GPS is issuing\&. Dump lines beginning >>> represent control packets sent to the GPS\&. --.SH "COMMANDS" --.PP --The following device\-independent comands are available while --gpsmon --is running: --.PP --i --.RS 4 --Enable/disable subtype probing and reinitialize the driver\&. In normal operation, --gpsmon --does not send configuration strings to the device (except for wakeup strings needed to get it to send data, if any)\&. The command \'i1\' causes it to send the same sequence of subtype probes that --gpsd --would\&. The command \'i0\' turns off probing; \'i\' alone toggles the bit\&. In either case, the current driver is re\-selected; if the probe bit is enabled, probes will begin to be issued immediately\&. --.sp --Note that enabling probing might flip the device into another mode; in particular, it will flip a SiRF chip into binary mode as if you had used the --\(lqn\(rq --command\&. This is due to a limitation in the SiRF firmware that we can\'t fix\&. --.RE --.PP --c --.RS 4 --Change cycle time\&. Follow it with a number interpreted as a cycle time in seconds\&. Most devices have a fixed cycle time of 1 second, so this command may fail with a message\&. --.RE --.PP --l --.RS 4 --Toggle packet logging\&. If packet logging is on, it will be turned off and the log closed\&. If it is off, logging to the filename following the l will be enabled\&. Differs from simply capturing the data from the GPS device in that only whole packets are logged\&. The logfile is opened for append, so you can log more than one portion of the packet stream and they will be stitched together correctly\&. --.RE --.PP --n --.RS 4 --With an argument of 0, switch device to NMEA mode at current speed; with an argument of 1, change to binary (native) mode\&. With no argument, toggle the setting\&. Will show an error if the device doesn\'t have such modes\&. --.RE --.PP --q --.RS 4 --Quit --gpsmon\&. Control\-C, or whatever your current interrupt chracter is, works as well\&. --.RE --.PP --s --.RS 4 --Change baud rate\&. Follow it with a number interpreted as bits per second, for example "s9600"\&. The speed number may optionally be followed by a colon and a wordlength\-parity\-stopbits specification in the traditional style, e\&.g 8N1 (the default), 7E1, etc\&. Some devices don\'t support serial modes other than their default, so this command may fail with a message\&. --.sp --Use this command with caution\&. On USB and Bluetooth GPSes it is also possible for serial mode setting to fail either because the serial adaptor chip does not support non\-8N1 modes or because the device firmware does not properly synchronize the serrial adaptor chip with the UART on the GPS chipset whjen the speed changes\&. These failures can hang your device, possibly requiring a GPS power cycle or (in extreme cases) physically disconnecting the NVRAM backup battery\&. --.RE --.PP --t --.RS 4 --Force a switch of monitoring type\&. Follow it with a string that is unique to the name of a gpsd driver with --gpsmon --support; --gpsmon --will switch to using that driver and display code\&. Will show an error message if there is no matching gpsd driver, or multiple matches, or the unique match has no display support in --gpsmon\&. --.RE --.PP --x --.RS 4 --Send hex payload to device\&. Following the command letter you may type hex digit pairs; end with a newline\&. These will become the payload of a control packet shipped to the device\&. The packet will be wrapped with headers, trailers, and checksum appropriate for the current driver type\&. The first one or two bytes of the payload may be specially interpreted, see the description of the --\fB\-x\fR --of --\fBgpsctl\fR(1)\&. --.RE --.PP --X --.RS 4 --Send raw hex bytes to device\&. Following the command letter you may type hex digit pairs; end with a newline\&. These will be shipped to the device\&. --.RE --.PP --Ctrl\-S --.RS 4 --Freeze display, suspend scrolling in debug window\&. --.RE --.PP --Ctrl\-Q --.RS 4 --Unfreeze display, resume normal operation\&. --.RE --.SS "NMEA support" --.PP --(These remarks apply to not just generic NMEA devices but all extended NMEA devices for which --gpsmon --presently has support\&.) --.PP --All fields are raw data from the GPS except the "Cooked PVT" window near top of screen, provided as a sheck\&. --.PP --There are no device\-specific commands\&. Which generic commands are available may vary by type: examine the output of --\fBgpsmon \-l\fR --to learn more\&. --.SS "SiRF support" --.PP --Most information is raw from the GPS\&. Underlined fields are derived by translation from ECEF coordinates or application of leap\-second and local time\-zone offsets\&. --.PP --The following commands are supported for SiRF GPSes only: --.PP --A --.RS 4 --Toggle reporting of 50BPS subframe data\&. --.RE --.PP --M --.RS 4 --Set (M1) or clear (M0) static navigation\&. The SiRF documentation says --\(lqStatic navigation is a position filter designed to be used with motor vehicles\&. When the vehicle\'s velocity falls below a threshold, the position and heading are frozen, and velocity is set to zero\&. This condition will continue until the computed velocity rises above 1\&.2 times the threshold or until the computed position is at least a set distance from the frozen place\&. The threshold velocity and set distance may vary with software versions\&.\(rq --.sp --Non\-static mode is designed for use with road navigation software, which often snaps the reported position to the nearest road within some uncertainty radius\&. You probably want to turn static navigation off for pedestrian use, as it is likely to report speed zero and position changing in large jumps\&. --.RE --.PP --P --.RS 4 --Toggle navigation\-parameter display mode\&. Toggles between normal display and one that shows selected navigation parameters from MID 19, including the Static Navigation bit toggled by the \'M\' command\&. --.RE --.PP --To interpret what you see, you will need a copy of the --SiRF Binary Protocol Reference Manual\&. --.SH "FILES" --.PP --\fI/var/run/gpsd\&.sock\fR --.RS 4 --The default location of the control socket\&. --.RE --.SH "BUGS AND LIMITATIONS" --.PP --This tool used to be called \'sirfmon\', and worked only on SiRF devices (and the command set has changed to resemble the command switches of --gpsctl)\&. It now has support for a range of NMEA devices as well; support for other (binary\-protocol) device types is planned\&. It will behave sanely, just dumping packets, when connected to a GPS type it knows nothing about\&. --.SH "SEE ALSO" --.PP -- --\fBgpsd\fR(8), --\fBgps\fR(1), --\fBlibgps\fR(3), --\fBlibgpsd\fR(3), --\fBgpsprof\fR(1), --\fBgpsfake\fR(1), --\fBgpsctl\fR(1), --\fBgpscat\fR(1)\&. --\fBgpspipe\fR(1)\&. --.SH "AUTHOR" --.PP --Eric S\&. Raymond --\&. This code is part of the gpsd toolset; there is a project page for --gpsd --\fIhere\fR\&[1]\&. --.SH "NOTES" --.IP " 1." 4 --here --.RS 4 --\%http://gpsd.berlios.de/ --.RE -diff -Nur gpsd-2.39.orig/gpspipe.1 gpsd-2.39/gpspipe.1 ---- gpsd-2.39.orig/gpspipe.1 2009-03-15 04:50:36.000000000 +0100 -+++ gpsd-2.39/gpspipe.1 1970-01-01 01:00:00.000000000 +0100 -@@ -1,118 +0,0 @@ --.\" Title: gpspipe --.\" Author: --.\" Generator: DocBook XSL Stylesheets v1.73.2 --.\" Date: 03/14/2009 --.\" Manual: 03 Aug 2005 --.\" Source: 03 Aug 2005 --.\" --.TH "GPSPIPE" "1" "03/14/2009" "03 Aug 2005" "03 Aug 2005" --.\" disable hyphenation --.nh --.\" disable justification (adjust text to left margin only) --.ad l --.SH "NAME" --gpspipe \- tool to connect to gpsd and retrieve sentences --.SH "SYNOPSIS" --.HP 8 --\fBgpspipe\fR [\-h] [\-d] [\-l] [\-f\ \fIfilename\fR] [\-n\ \fIcount\fR] [\-r] [\-R] [\-s\ \fIserial\-device\fR] [\-t] [\-w] [\-v] [\fIserver\fR [\fI:port\fR [\fI:device\fR]]] --.SH "DESCRIPTION" --.PP --gpspipe --is a tool to connect to --gpsd --and output the received sentences to stdout\&. This makes the program useful as a pipe from --gpsd --to another program or file\&. --.PP --gpspipe --does not require root privileges, and can be run concurrently with other tools connecting to the local --gpsd --without causing problems\&. --.PP --The output will consist of one or both of the raw NMEA or native --gpsd --sentences\&. Each line can be optionally time stamped\&. There is also an option to exit gracefully after a given count of packets\&. --.PP --Optionally a server, tcp port number and remote device can be given\&. If omitted, --gpspipe --connects to 127\&.0\&.0\&.1 on the default port (2947) and uses the first device opened by --gpsd\&. --.PP --gpspipe --may be run as a daemon, but requires the \-f flag for writing the output to a file\&. --.SH "OPTIONS" --.PP --\-h makes --gpspipe --print a usage message and exit\&. --.PP --\-d causes --gpspipe --to run as a daemon\&. --.PP --\-l causes --gpspipe --to sleep for ten seconds before attempting to connect to gpsd\&. This is very useful when running as a daemon, giving gpsd time to start before attempting a connection\&. --.PP --\-r causes raw NMEA sentences to be output\&. --.PP --\-R causes super\-raw (gps binary) data to be output\&. This overrides NMEA and gpsd output modes\&. --.PP --\-s option causes the collected data to be written to the specified serial device with settings 4800 8N1\&. Thus --gpspipe --can be used with \-s and \-r options to emulate a serial port hardwired to a GPS that --gpsd --is managing\&. --.PP --\-f option causes the collected data to be written to the specified file\&. Use of this option is mandatory if --gpspipe --is run as a daemon\&. --.PP --\-w causes native --gpsdsentences to be output\&. --.PP --\-t adds a timestamp to each sentence output\&. --.PP --\-n [count] causes [count] sentences to be output\&. --gpspipe --will then exit gracefully\&. --.PP --\-j makes the program send J=1 to the daemon, requesting fix hold across cycles\&. --.PP --\-v causes --gpspipe --to show a spinning activity indicator on stderr\&. This is useful if stdout is redirected into a file or a pipe\&. By default the spinner is advanced with every messages written; specifying \-v more than once will double the number of messages required to rotate the spinner\&. --.PP --\-V prints the version, then exits\&. --.PP --At least one of \-R \-r or \-w must be specified\&. --.SH "EXAMPLE" --.PP --When --gpsd is running --\fBgpspipe \-r \-n 100\fR --will send one hundred raw NMEA sentences to standard output, then exit\&. --.SH "SEE ALSO" --.PP -- --\fBgpsd\fR(8), --\fBgps\fR(1), --\fBlibgps\fR(3), --\fBlibgpsd\fR(3), --\fBgpsprof\fR(1), --\fBgpsfake\fR(1), --\fBgpsctl\fR(1), --\fBgpscat\fR(1)\&. --\fBgpsmon\fR(1)\&. --.SH "AUTHOR" --.PP --Gary E\&. Miller --\&. There is a project page for --gpsd --\fIhere\fR\&[1]\&. --.SH "NOTES" --.IP " 1." 4 --here --.RS 4 --\%http://gpsd.berlios.de/ --.RE -diff -Nur gpsd-2.39.orig/libgps.3 gpsd-2.39/libgps.3 ---- gpsd-2.39.orig/libgps.3 2009-03-15 04:50:30.000000000 +0100 -+++ gpsd-2.39/libgps.3 1970-01-01 01:00:00.000000000 +0100 -@@ -1,178 +0,0 @@ --.\" Title: 3 --.\" Author: --.\" Generator: DocBook XSL Stylesheets v1.73.2 --.\" Date: 14 Aug 2004 --.\" Manual: Linux --.\" Source: Linux --.\" --.TH "3" "3" "14 Aug 2004" "Linux" "Linux" --.\" disable hyphenation --.nh --.\" disable justification (adjust text to left margin only) --.ad l --.SH "NAME" --libgps \- C service library for communicating with the GPS daemon --.SH "SYNOPSIS" --.sp --.ft B --.nf -- --C: -- --#include -- --.fi --.ft --.HP 28 --.BI "struct gps_data_t *gps_open(char\ *" "server" ", char\ *\ " "port" ");" --.HP 14 --.BI "int gps_query(struct\ gps_data_t\ *" "gpsdata" ", char\ *" "fmt" "\&.\&.\&.);" --.HP 22 --.BI "void gps_set_raw_hook(struct\ gps_data_t\ *" "gpsdata" ", void\ (*" "hook" ")(struct\ gps_data_t\ *,\ char\ *buf));" --.HP 13 --.BI "int gps_poll(struct\ gps_data_t\ *" "gpsdata" ");" --.HP 15 --.BI "void gps_close(struct\ gps_data_t\ *" "gpsdata" ");" --.HP 22 --.BI "void gps_set_callback(struct\ gps_data_t\ *" "gpsdata" ", void\ (*" "callback" ")(struct\ gps_data_t\ *sentence,\ char\ *buf), pthread_t\ *" "handler" ");" --.HP 22 --.BI "void gps_del_callback(struct\ gps_data_t\ *" "gpsdata" ", pthread\ *" "handler" ");" --.HP 18 --.BI "void rtcm2_unpack(struct\ rtcm_t\ *" "rtcmp" ", char\ *" "buf" ");" --.sp --.ft B --.nf -- --Python: -- --import gps -- --session = gps\&.gps(host="127\&.0\&.0\&.1", port="2947") -- --session\&.set_raw_hook(raw_hook) -- --session\&.query(commands) -- --session\&.poll() -- --del session -- --.fi --.ft --.SH "DESCRIPTION" --.PP --\fBlibgps\fR --is a service library which supports querying GPS devices; link it with the linker option \-lgps\&. There are two interfaces supported in it; one high\-level interface that goes through --\fBgpsd\fR(1) --and is intended for concurrent use by several applications, and one low\-level interface that speaks directly with the serial or USB device to which the GPS is attached\&. This page describes the high\-level interface that is safe for multiple applications to use simultaneously; it is probably the one you want\&. The low\-level interface is documented at --\fBlibgpsd\fR(3)\&. --.sp --.it 1 an-trap --.nr an-no-space-flag 1 --.nr an-break-flag 1 --.br --Warning --.PP --The API described below may change incompatibly at API version 4\&. Take care to conditionalize your code on the major and minor API version symbols in --\fIgps\&.h\fR; ideally, force a compilation failure if the header is not exporting a version you recognize\&. See the GPSD project website for more information on the protocol and API change\&. --.PP --Calling --\fBgps_open()\fR --initializes a GPS\-data structure to hold the data collected by the GPS, and returns a socket attached to --\fBgpsd\fR(1)\&. --\fBgps_open()\fR --returns NULL on errors\&. errno is set depending on the error returned from the the socket layer; see --\fIgps\&.h\fR --for values and explanations\&. --.PP --\fBgps_close()\fR --ends the session\&. NB: ending the session does not destroy any threads created to handle callbacks\&. You must delete all callbacks prior to calling --\fBgps_close()\fR\&. Failure to do so results in undefined behavior\&. Currently it will leak a thread, and in the future might result in aborting the program\&. --.PP --\fBgps_poll()\fR --accepts a response, or sequence of responses, from the daemon and interprets it as though it were a query response (the return value is as for a query)\&. --\fBgps_poll()\fR --returns the validity mask of the received structure\&. This function does a blocking read waiting for data from the daemon; it returns 0 for success, or \-1 on a Unix\-level read error\&. --.PP --\fBgps_query()\fR --writes a command to the daemon, accepts a one\-line response, and updates parts of the GPS\-data structure that correspond to data changed since the last call\&. The second argument must be a format string containing letters from the command set documented at --\fBgpsd\fR(1)\&. It may have % elements as for --\fBsprintf\fR(3), which will be filled in from any following arguments\&. This function returns a 0 on success, or a \-1 if there was a Unix\-level read error\&. --.PP --\fBgps_set_raw_hook()\fR --takes a function you specify and run it (synchronously) on the raw data pulled by a --\fBgps_query()\fR --or --\fBgps_poll()\fR --call\&. The arguments passed to this hook will be a pointer to a structure containing parsed data, and a buffer containining the raw --gpsd --response\&. --.PP --\fBgps_set_callback()\fR --takes a function you specify and runs it asynchronously each time new data arrives from --gpsd, using POSIX threads\&. For example, you can call gps_set_callback(gpsdata, my_function, handler) once in your program, and from there on your gpsdata structure will be parsed by your --\fBmy_function()\fR --each time new data are available\&. --\fBmy_function()\fR --could change some global variables in your program based on received data; it is your responsibility to ensure that your program uses mutexes or other mechanisms to avoid race conditions\&. NB: --\fBgps_set_callback()\fR --will create a new thread, and contrary to what you might expect --\fBgps_close()\fR --will not destroy that thread\&. You must therefore explicitly remove the callback with --\fBgps_del_callback()\fR --before calling --\fBgps_close()\fR\&. --.PP --\fBgps_del_callback()\fR --deregisters the callback function previously set with --\fBgps_set_callback()\fR\&. After the invocation of this function no operation will be done when new data arrives\&. --.PP --Consult --\fIgps\&.h\fR --to learn more about the data members and associated timestamps\&. Note that information will accumulate in the session structure over time, and the \'valid\' field is not automatically zeroed by each poll\&. It is up to the client to zero that field when appropriate and to keep an eye on the fix and sentence timestamps\&. --.PP --The --\fBrtcm_unpack()\fR --will be useful when you are connected to an RTCM\-104 source in raw mode\&. Use it as part of a raw hook, calling it with the address of the --struct rtcm_t --element of your session structure buffer as first argument and the buffer as the second\&. It will unpack a line of RTCM data into the structure\&. This function returns 0 when it has read the last line of an RTCM\-104 message, a positive int when it expects more dump lines, and a negative int on parse failure\&. You must zero out the --struct rtcm_t --each time before this function is called on a new header (H) line, as it relies on the message type field being initially zero and uses it to track what kind of following line is expected\&. --.PP --The Python implementation supports the same facilities as the C library\&. --\fBgps_open()\fR --is replaced by the initialization of a gps session object; the other calls are methods of that object, and have the same names as the corresponding C functions\&. Resources within the session object will be properly released when it is garbage\-collected\&. --.SH "CODE EXAMPLE" --.PP --The following is an excerpted and simplified version of the libgps interface code from --\fBxgps\fR(1)\&. The function --\fBhandle_input()\fR --is a trivial piece of code that calls gps_poll(gpsdata)\&. --.sp --.RS 4 --.nf -- gpsdata = gps_open(server, port); -- -- build_gui(toplevel); -- -- gps_set_raw_hook(gpsdata, update_panel); -- -- (void)gps_query(gpsdata, "w+x\en"); -- -- (void)XtAppAddInput(app, gpsdata\->gps_fd, -- (XtPointer)XtInputReadMask, handle_input, NULL); -- (void)XtAppMainLoop(app); -- -- (void)gps_close(gpsdata); --.fi --.RE --.SH "SEE ALSO" --.PP -- --\fBgpsd\fR(8), --\fBgps\fR(1), --\fBlibgps\fR(3)\&. --\fBlibgpsmm\fR(3)\&. --.SH "AUTHOR" --.PP --Eric S\&. Raymond , Thread\-callback methods in the C binding added by Alfredo Pironti \&. -diff -Nur gpsd-2.39.orig/libgpsd.3 gpsd-2.39/libgpsd.3 ---- gpsd-2.39.orig/libgpsd.3 2009-03-15 04:50:31.000000000 +0100 -+++ gpsd-2.39/libgpsd.3 1970-01-01 01:00:00.000000000 +0100 -@@ -1,102 +0,0 @@ --.\" Title: 3 --.\" Author: --.\" Generator: DocBook XSL Stylesheets v1.73.2 --.\" Date: 14 Aug 2004 --.\" Manual: Linux --.\" Source: Linux --.\" --.TH "3" "3" "14 Aug 2004" "Linux" "Linux" --.\" disable hyphenation --.nh --.\" disable justification (adjust text to left margin only) --.ad l --.SH "NAME" --libgpsd \- service library for GPS applications --.SH "SYNOPSIS" --.sp --.ft B --.nf --C: -- --#include -- --.fi --.ft --.HP 19 --.BI "int gpsd_open_dgps(char\ *\ " "dgpsserver" ");" --.HP 15 --.BI "void gpsd_init(struct\ gps_device_t\ *" "session" ", struct\ *\ " "gps_context_t\ *" ", char\ *\ " "device" ");" --.HP 18 --.BI "int gpsd_activate(struct\ gps_device_t\ *" "session" ", bool\ " "reconfigurable" ");" --.HP 21 --.BI "void gpsd_deactivate(struct\ gps_device_t\ *\ " "session" ");" --.HP 21 --.BI "gps_mask_t gpsd_poll(struct\ gps_device_t\ *\ " "session" ");" --.HP 15 --.BI "void gpsd_wrap(struct\ gps_device_t\ *\ " "session" ");" --.HP 17 --.BI "void gpsd_report(int\ " "d" ", const\ char\ *\ " "fmt" ", " "\&.\&.\&." ");" --.SH "DESCRIPTION" --.PP --\fBlibgps\fR --is a service library which supports querying GPS devices; link it with the linker option \-lgps\&. There are two interfaces supported in it; one high\-level interface that goes through --\fBgpsd\fR(1) --and is intended for concurrent use by several applications, and one low\-level interface that speaks directly with the serial or USB device to which the GPS is attached\&. This page describes the low\-level interface, which --\fBgpsd\fR(1) --itself uses\&. See --\fBgpsd\fR(3) --for a description of the high\-level interface, which is almost certainly what you want\&. --.PP --Calling --\fBgpsd_init()\fR --initializes a session structure to hold the data collected by the GPS\&. --.PP --The second argument must be a context structure\&. The library will use it for information that need to be shared between sessions; presently this includes the leap\-second correction and possibly a pointer to a shared\-memory segment used to communicate with the Network Time Protocol daemon\&. --.PP --After the session structure has been set up, you may modify some of its members\&. --.PP --\fIgpsd_device\fR --.RS 4 --This member should hold the path name of the device\&. --.RE --.PP --\fIbaudrate\fR --.RS 4 --Communication speed in bits per second\&. For NMEA or SiRF devices, the library automatically hunts through all plausible baud rates, stopping on the one where it sees valid packets\&. By setting this field you can designate a speed to be tried at the front of the hunt queue --.RE --.PP --\fIraw_hook\fR --.RS 4 --A hook function to be executed on each NMEA sentence or as it is read from the GPS\&. The data from non\-NMEA GPSes like the EarthMate will be translated to an NMEA sentence before being passed to the hook\&. Parameters are a pointer to a gps_data structure full of parsed data, the sentence, the length of the sentence, and a rawness level\&. --.RE --.PP --\fBgpsd_activate()\fR --initializes the connection to the GPS\&. --\fBgpsd_deactivate()\fR --closes the connection\&. These functions are provided so that long\-running programs can release a connection when there is no activity requiring the GPS, and re\-acquire it later\&. --.PP --\fBgpsd_poll()\fR --queries the GPS and updates the part of the session structure that holds position, speed, GPS signal quality, and other data returned by the GPS\&. It returns a mask describing which fields have changed\&. --.PP --\fBgpsd_wrap()\fR --ends the session, implicitly performing a --\fBgpsd_deactivate()\fR\&. --.PP --The calling application must define one additional function: --\fBgpsd_report()\fR\&. The library will use this to issue ordinary status messages\&. Use first argument of 0 for errors, 1 for ordinary status messages, and 2 or higher for debugging messages\&. --.PP --The low\-level functions do not allocate or free any dynamic storage\&. They can thus be used in a long\-running application (such as --\fBgpsd\fR(8) --itself) with a guarantee that they won\'t cause memory leaks\&. --.SH "BUGS" --.PP --Writes to the context structure members are not guarded by a mutex\&. --.SH "SEE ALSO" --.PP -- --\fBgpsd\fR(8), --\fBgps\fR(1), --\fBlibgpsd\fR(3)\&. --.SH "AUTHOR" --.PP --Eric S\&. Raymond based partly on earlier work by Remco Treffkorn, Derrick Brashear, and Russ Nelson\&. -diff -Nur gpsd-2.39.orig/libgpsd.pc gpsd-2.39/libgpsd.pc ---- gpsd-2.39.orig/libgpsd.pc 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/libgpsd.pc 2010-02-18 21:44:19.028856910 +0100 -@@ -0,0 +1,9 @@ -+prefix=/usr/local -+exec_prefix=${prefix} -+libdir=${exec_prefix}/lib -+includedir=${prefix}/include -+ -+Name: libgpsd -+Description: Lowlevel GPSD control library -+Version: 2.39 -+Libs: -L${libdir} -lgpsd -diff -Nur gpsd-2.39.orig/libgpsmm.3 gpsd-2.39/libgpsmm.3 ---- gpsd-2.39.orig/libgpsmm.3 2009-03-15 04:50:30.000000000 +0100 -+++ gpsd-2.39/libgpsmm.3 1970-01-01 01:00:00.000000000 +0100 -@@ -1,57 +0,0 @@ --.\" Title: libgpsmm --.\" Author: --.\" Generator: DocBook XSL Stylesheets v1.73.2 --.\" Date: 13 May 2005 --.\" Manual: Linux --.\" Source: Linux --.\" --.TH "LIBGPSMM" "3" "13 May 2005" "Linux" "Linux" --.\" disable hyphenation --.nh --.\" disable justification (adjust text to left margin only) --.ad l --.SH "NAME" --libgpsmm \- C++ class wrapper for the GPS daemon --.SH "SYNOPSIS" --.sp --.ft B --.nf -- --C++: -- --#include -- --.fi --.ft --.HP 24 --.BI "struct gps_data_t *open(char\ *" "host" ", char\ *" "port" ");" --.HP 24 --.BI "struct gps_data_t *open(void);" --.HP 25 --.BI "struct gps_data_t *query(char\ *" "request" ");" --.HP 24 --.BI "struct gps_data_t *poll(void);" --.HP 17 --.BI "int set_callback(void\ (*" "hook" ")(struct\ gps_data_t\ *sentence,\ char\ *buf));" --.HP 17 --.BI "int del_callback(void);" --.SH "DESCRIPTION" --.PP --\fBlibgpsmm\fR --is a mere wrapper over --\fBlibgps\fR\&. Method names are the same as the analogue C functions\&. For a detailed description of the functions please read --\fBlibgps\fR(3)\&. --\fBopen()\fR --must be called after class constructor and before any other method (\fBopen()\fR --is not inside the constructor since it may fail, however constructors have no return value)\&. The analogue of the C function --\fBgps_close()\fR --is in the destructor\&. --.SH "SEE ALSO" --.PP -- --\fBgpsd\fR(8), --\fBgps\fR(1), --\fBlibgps\fR(3)\&. --.SH "AUTHOR" --.PP --Alfredo Pironti \&. -diff -Nur gpsd-2.39.orig/libgps.pc gpsd-2.39/libgps.pc ---- gpsd-2.39.orig/libgps.pc 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/libgps.pc 2010-02-18 21:44:19.000857533 +0100 -@@ -0,0 +1,9 @@ -+prefix=/usr/local -+exec_prefix=${prefix} -+libdir=${exec_prefix}/lib -+includedir=${prefix}/include -+ -+Name: GPSD -+Description: GPS Daemon communication library -+Version: 2.39 -+Libs: -L${libdir} -lgps -diff -Nur gpsd-2.39.orig/libtool gpsd-2.39/libtool ---- gpsd-2.39.orig/libtool 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/libtool 2010-02-18 21:44:19.396856571 +0100 -@@ -0,0 +1,9063 @@ -+#! /bin/bash -+ -+# libtool - Provide generalized library-building support services. -+# Generated automatically by config.status (gpsd) 2.39 -+# Libtool was configured on host hydrogenium: -+# NOTE: Changes made to this file will be lost: look at ltmain.sh. -+# -+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -+# 2006, 2007, 2008 Free Software Foundation, Inc. -+# Written by Gordon Matzigkeit, 1996 -+# -+# This file is part of GNU Libtool. -+# -+# GNU Libtool is free software; you can redistribute it and/or -+# modify it under the terms of the GNU General Public License as -+# published by the Free Software Foundation; either version 2 of -+# the License, or (at your option) any later version. -+# -+# As a special exception to the GNU General Public License, -+# if you distribute this file as part of a program or library that -+# is built using GNU Libtool, you may include this file under the -+# same distribution terms that you use for the rest of that program. -+# -+# GNU Libtool is distributed in the hope that it will be useful, -+# but WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+# GNU General Public License for more details. -+# -+# You should have received a copy of the GNU General Public License -+# along with GNU Libtool; see the file COPYING. If not, a copy -+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or -+# obtained by writing to the Free Software Foundation, Inc., -+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -+ -+ -+# The names of the tagged configurations supported by this script. -+available_tags="CXX " -+ -+# ### BEGIN LIBTOOL CONFIG -+ -+# Which release of libtool.m4 was used? -+macro_version=2.2.6b -+macro_revision=1.3017 -+ -+# Whether or not to build shared libraries. -+build_libtool_libs=yes -+ -+# Whether or not to build static libraries. -+build_old_libs=yes -+ -+# What type of objects to build. -+pic_mode=default -+ -+# Whether or not to optimize for fast installation. -+fast_install=yes -+ -+# The host system. -+host_alias= -+host=i686-pc-linux-gnu -+host_os=linux-gnu -+ -+# The build system. -+build_alias= -+build=i686-pc-linux-gnu -+build_os=linux-gnu -+ -+# A sed program that does not truncate output. -+SED="/bin/sed" -+ -+# Sed that helps us avoid accidentally triggering echo(1) options like -n. -+Xsed="$SED -e 1s/^X//" -+ -+# A grep program that handles long lines. -+GREP="/bin/grep" -+ -+# An ERE matcher. -+EGREP="/bin/grep -E" -+ -+# A literal string matcher. -+FGREP="/bin/grep -F" -+ -+# A BSD- or MS-compatible name lister. -+NM="/usr/bin/nm -B" -+ -+# Whether we need soft or hard links. -+LN_S="ln -s" -+ -+# What is the maximum length of a command? -+max_cmd_len=1572864 -+ -+# Object file suffix (normally "o"). -+objext=o -+ -+# Executable file suffix (normally ""). -+exeext= -+ -+# whether the shell understands "unset". -+lt_unset=unset -+ -+# turn spaces into newlines. -+SP2NL="tr \\040 \\012" -+ -+# turn newlines into spaces. -+NL2SP="tr \\015\\012 \\040\\040" -+ -+# How to create reloadable object files. -+reload_flag=" -r" -+reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs" -+ -+# An object symbol dumper. -+OBJDUMP="objdump" -+ -+# Method to check whether dependent libraries are shared objects. -+deplibs_check_method="pass_all" -+ -+# Command to use when deplibs_check_method == "file_magic". -+file_magic_cmd="\$MAGIC_CMD" -+ -+# The archiver. -+AR="ar" -+AR_FLAGS="cru" -+ -+# A symbol stripping program. -+STRIP="strip" -+ -+# Commands used to install an old-style archive. -+RANLIB="ranlib" -+old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$oldlib" -+old_postuninstall_cmds="" -+ -+# A C compiler. -+LTCC="gcc" -+ -+# LTCC compiler flags. -+LTCFLAGS="-g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE " -+ -+# Take the output of nm and produce a listing of raw symbols and C names. -+global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'" -+ -+# Transform the output of nm in a proper C declaration. -+global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 's/^[ABCDGIRSTW]* .* \\(.*\\)\$/extern char \\1;/p'" -+ -+# Transform the output of nm in a C name address pair. -+global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p'" -+ -+# Transform the output of nm in a C name address pair when lib prefix is needed. -+global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\(lib[^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"lib\\2\", (void *) \\&\\2},/p'" -+ -+# The name of the directory that contains temporary libtool files. -+objdir=.libs -+ -+# Shell to use when invoking shell scripts. -+SHELL="/bin/bash" -+ -+# An echo program that does not interpret backslashes. -+ECHO="echo" -+ -+# Used to examine libraries when file_magic_cmd begins with "file". -+MAGIC_CMD=file -+ -+# Must we lock files when doing compilation? -+need_locks="no" -+ -+# Tool to manipulate archived DWARF debug symbol files on Mac OS X. -+DSYMUTIL="" -+ -+# Tool to change global to local symbols on Mac OS X. -+NMEDIT="" -+ -+# Tool to manipulate fat objects and archives on Mac OS X. -+LIPO="" -+ -+# ldd/readelf like tool for Mach-O binaries on Mac OS X. -+OTOOL="" -+ -+# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. -+OTOOL64="" -+ -+# Old archive suffix (normally "a"). -+libext=a -+ -+# Shared library suffix (normally ".so"). -+shrext_cmds=".so" -+ -+# The commands to extract the exported symbol list from a shared archive. -+extract_expsyms_cmds="" -+ -+# Variables whose values should be saved in libtool wrapper scripts and -+# restored at link time. -+variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -+ -+# Do we need the "lib" prefix for modules? -+need_lib_prefix=no -+ -+# Do we need a version for libraries? -+need_version=no -+ -+# Library versioning type. -+version_type=linux -+ -+# Shared library runtime path variable. -+runpath_var=LD_RUN_PATH -+ -+# Shared library path variable. -+shlibpath_var=LD_LIBRARY_PATH -+ -+# Is shlibpath searched before the hard-coded library search path? -+shlibpath_overrides_runpath=no -+ -+# Format of library name prefix. -+libname_spec="lib\$name" -+ -+# List of archive names. First name is the real one, the rest are links. -+# The last name is the one that the linker finds with -lNAME -+library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext}\$major \$libname\${shared_ext}" -+ -+# The coded name of the library, if different from the real name. -+soname_spec="\${libname}\${release}\${shared_ext}\$major" -+ -+# Command to use after installation of a shared archive. -+postinstall_cmds="" -+ -+# Command to use after uninstallation of a shared archive. -+postuninstall_cmds="" -+ -+# Commands used to finish a libtool library installation in a directory. -+finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir" -+ -+# As "finish_cmds", except a single script fragment to be evaled but -+# not shown. -+finish_eval="" -+ -+# Whether we should hardcode library paths into libraries. -+hardcode_into_libs=yes -+ -+# Compile-time system search path for libraries. -+sys_lib_search_path_spec="/usr/lib/gcc/i486-linux-gnu/4.4.3 /usr/lib /lib /usr/lib/i486-linux-gnu" -+ -+# Run-time system search path for libraries. -+sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/lib/mesa /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/lib/alsa-lib /usr/local/lib " -+ -+# Whether dlopen is supported. -+dlopen_support=unknown -+ -+# Whether dlopen of programs is supported. -+dlopen_self=unknown -+ -+# Whether dlopen of statically linked programs is supported. -+dlopen_self_static=unknown -+ -+# Commands to strip libraries. -+old_striplib="strip --strip-debug" -+striplib="strip --strip-unneeded" -+ -+ -+# The linker used to build libraries. -+LD="/usr/bin/ld" -+ -+# Commands used to build an old-style archive. -+old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib" -+ -+# A language specific compiler. -+CC="gcc" -+ -+# Is the compiler the GNU compiler? -+with_gcc=yes -+ -+# Compiler flag to turn off builtin functions. -+no_builtin_flag=" -fno-builtin" -+ -+# How to pass a linker flag through the compiler. -+wl="-Wl," -+ -+# Additional compiler flags for building library objects. -+pic_flag=" -fPIC -DPIC" -+ -+# Compiler flag to prevent dynamic linking. -+link_static_flag="-static" -+ -+# Does compiler simultaneously support -c and -o options? -+compiler_c_o="yes" -+ -+# Whether or not to add -lc for building shared libraries. -+build_libtool_need_lc=no -+ -+# Whether or not to disallow shared libs when runtime libs are static. -+allow_libtool_libs_with_static_runtimes=no -+ -+# Compiler flag to allow reflexive dlopens. -+export_dynamic_flag_spec="\${wl}--export-dynamic" -+ -+# Compiler flag to generate shared objects directly from archives. -+whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive" -+ -+# Whether the compiler copes with passing no objects directly. -+compiler_needs_object="no" -+ -+# Create an old-style archive from a shared archive. -+old_archive_from_new_cmds="" -+ -+# Create a temporary old-style archive to link instead of a shared archive. -+old_archive_from_expsyms_cmds="" -+ -+# Commands used to build a shared archive. -+archive_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib" -+archive_expsym_cmds="echo \\\"{ global:\\\" > \$output_objdir/\$libname.ver~ -+ cat \$export_symbols | sed -e \\\"s/\\\\(.*\\\\)/\\\\1;/\\\" >> \$output_objdir/\$libname.ver~ -+ echo \\\"local: *; };\\\" >> \$output_objdir/\$libname.ver~ -+ \$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-version-script \${wl}\$output_objdir/\$libname.ver -o \$lib" -+ -+# Commands used to build a loadable module if different from building -+# a shared archive. -+module_cmds="" -+module_expsym_cmds="" -+ -+# Whether we are building with GNU ld or not. -+with_gnu_ld="yes" -+ -+# Flag that allows shared libraries with undefined symbols to be built. -+allow_undefined_flag="" -+ -+# Flag that enforces no undefined symbols. -+no_undefined_flag="" -+ -+# Flag to hardcode $libdir into a binary during linking. -+# This must work even if $libdir does not exist -+hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir" -+ -+# If ld is used when linking, flag to hardcode $libdir into a binary -+# during linking. This must work even if $libdir does not exist. -+hardcode_libdir_flag_spec_ld="" -+ -+# Whether we need a single "-rpath" flag with a separated argument. -+hardcode_libdir_separator="" -+ -+# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes -+# DIR into the resulting binary. -+hardcode_direct=no -+ -+# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes -+# DIR into the resulting binary and the resulting library dependency is -+# "absolute",i.e impossible to change by setting ${shlibpath_var} if the -+# library is relocated. -+hardcode_direct_absolute=no -+ -+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR -+# into the resulting binary. -+hardcode_minus_L=no -+ -+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR -+# into the resulting binary. -+hardcode_shlibpath_var=unsupported -+ -+# Set to "yes" if building a shared library automatically hardcodes DIR -+# into the library and all subsequent libraries and executables linked -+# against it. -+hardcode_automatic=no -+ -+# Set to yes if linker adds runtime paths of dependent libraries -+# to runtime path list. -+inherit_rpath=no -+ -+# Whether libtool must link a program against all its dependency libraries. -+link_all_deplibs=no -+ -+# Fix the shell variable $srcfile for the compiler. -+fix_srcfile_path="" -+ -+# Set to "yes" if exported symbols are required. -+always_export_symbols=no -+ -+# The commands to list exported symbols. -+export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols" -+ -+# Symbols that should not be listed in the preloaded symbols. -+exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*" -+ -+# Symbols that must always be exported. -+include_expsyms="" -+ -+# Commands necessary for linking programs (against libraries) with templates. -+prelink_cmds="" -+ -+# Specify filename containing input files. -+file_list_spec="" -+ -+# How to hardcode a shared library path into an executable. -+hardcode_action=immediate -+ -+# The directories searched by this compiler when creating a shared library. -+compiler_lib_search_dirs="" -+ -+# Dependencies to place before and after the objects being linked to -+# create a shared library. -+predep_objects="" -+postdep_objects="" -+predeps="" -+postdeps="" -+ -+# The library search path used internally by the compiler when linking -+# a shared library. -+compiler_lib_search_path="" -+ -+# ### END LIBTOOL CONFIG -+ -+# Generated from ltmain.m4sh. -+ -+# ltmain.sh (GNU libtool) 2.2.6b -+# Written by Gordon Matzigkeit , 1996 -+ -+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. -+# This is free software; see the source for copying conditions. There is NO -+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -+ -+# GNU Libtool is free software; you can redistribute it and/or modify -+# it under the terms of the GNU General Public License as published by -+# the Free Software Foundation; either version 2 of the License, or -+# (at your option) any later version. -+# -+# As a special exception to the GNU General Public License, -+# if you distribute this file as part of a program or library that -+# is built using GNU Libtool, you may include this file under the -+# same distribution terms that you use for the rest of that program. -+# -+# GNU Libtool is distributed in the hope that it will be useful, but -+# WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+# General Public License for more details. -+# -+# You should have received a copy of the GNU General Public License -+# along with GNU Libtool; see the file COPYING. If not, a copy -+# can be downloaded from http://www.gnu.org/licenses/gpl.html, -+# or obtained by writing to the Free Software Foundation, Inc., -+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -+ -+# Usage: $progname [OPTION]... [MODE-ARG]... -+# -+# Provide generalized library-building support services. -+# -+# --config show all configuration variables -+# --debug enable verbose shell tracing -+# -n, --dry-run display commands without modifying any files -+# --features display basic configuration information and exit -+# --mode=MODE use operation mode MODE -+# --preserve-dup-deps don't remove duplicate dependency libraries -+# --quiet, --silent don't print informational messages -+# --tag=TAG use configuration variables from tag TAG -+# -v, --verbose print informational messages (default) -+# --version print version information -+# -h, --help print short or long help message -+# -+# MODE must be one of the following: -+# -+# clean remove files from the build directory -+# compile compile a source file into a libtool object -+# execute automatically set library path, then run a program -+# finish complete the installation of libtool libraries -+# install install libraries or executables -+# link create a library or an executable -+# uninstall remove libraries from an installed directory -+# -+# MODE-ARGS vary depending on the MODE. -+# Try `$progname --help --mode=MODE' for a more detailed description of MODE. -+# -+# When reporting a bug, please describe a test case to reproduce it and -+# include the following information: -+# -+# host-triplet: $host -+# shell: $SHELL -+# compiler: $LTCC -+# compiler flags: $LTCFLAGS -+# linker: $LD (gnu? $with_gnu_ld) -+# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1 -+# automake: $automake_version -+# autoconf: $autoconf_version -+# -+# Report bugs to . -+ -+PROGRAM=ltmain.sh -+PACKAGE=libtool -+VERSION="2.2.6b Debian-2.2.6b-2ubuntu1" -+TIMESTAMP="" -+package_revision=1.3017 -+ -+# Be Bourne compatible -+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then -+ emulate sh -+ NULLCMD=: -+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which -+ # is contrary to our usage. Disable this feature. -+ alias -g '${1+"$@"}'='"$@"' -+ setopt NO_GLOB_SUBST -+else -+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac -+fi -+BIN_SH=xpg4; export BIN_SH # for Tru64 -+DUALCASE=1; export DUALCASE # for MKS sh -+ -+# NLS nuisances: We save the old values to restore during execute mode. -+# Only set LANG and LC_ALL to C if already set. -+# These must not be set unconditionally because not all systems understand -+# e.g. LANG=C (notably SCO). -+lt_user_locale= -+lt_safe_locale= -+for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES -+do -+ eval "if test \"\${$lt_var+set}\" = set; then -+ save_$lt_var=\$$lt_var -+ $lt_var=C -+ export $lt_var -+ lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\" -+ lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" -+ fi" -+done -+ -+$lt_unset CDPATH -+ -+ -+ -+ -+ -+: ${CP="cp -f"} -+: ${ECHO="echo"} -+: ${EGREP="/bin/grep -E"} -+: ${FGREP="/bin/grep -F"} -+: ${GREP="/bin/grep"} -+: ${LN_S="ln -s"} -+: ${MAKE="make"} -+: ${MKDIR="mkdir"} -+: ${MV="mv -f"} -+: ${RM="rm -f"} -+: ${SED="/bin/sed"} -+: ${SHELL="${CONFIG_SHELL-/bin/sh}"} -+: ${Xsed="$SED -e 1s/^X//"} -+ -+# Global variables: -+EXIT_SUCCESS=0 -+EXIT_FAILURE=1 -+EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. -+EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. -+ -+exit_status=$EXIT_SUCCESS -+ -+# Make sure IFS has a sensible default -+lt_nl=' -+' -+IFS=" $lt_nl" -+ -+dirname="s,/[^/]*$,," -+basename="s,^.*/,," -+ -+# func_dirname_and_basename file append nondir_replacement -+# perform func_basename and func_dirname in a single function -+# call: -+# dirname: Compute the dirname of FILE. If nonempty, -+# add APPEND to the result, otherwise set result -+# to NONDIR_REPLACEMENT. -+# value returned in "$func_dirname_result" -+# basename: Compute filename of FILE. -+# value retuned in "$func_basename_result" -+# Implementation must be kept synchronized with func_dirname -+# and func_basename. For efficiency, we do not delegate to -+# those functions but instead duplicate the functionality here. -+func_dirname_and_basename () -+{ -+ # Extract subdirectory from the argument. -+ func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` -+ if test "X$func_dirname_result" = "X${1}"; then -+ func_dirname_result="${3}" -+ else -+ func_dirname_result="$func_dirname_result${2}" -+ fi -+ func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` -+} -+ -+# Generated shell functions inserted here. -+ -+# func_dirname file append nondir_replacement -+# Compute the dirname of FILE. If nonempty, add APPEND to the result, -+# otherwise set result to NONDIR_REPLACEMENT. -+func_dirname () -+{ -+ case ${1} in -+ */*) func_dirname_result="${1%/*}${2}" ;; -+ * ) func_dirname_result="${3}" ;; -+ esac -+} -+ -+# func_basename file -+func_basename () -+{ -+ func_basename_result="${1##*/}" -+} -+ -+# func_dirname_and_basename file append nondir_replacement -+# perform func_basename and func_dirname in a single function -+# call: -+# dirname: Compute the dirname of FILE. If nonempty, -+# add APPEND to the result, otherwise set result -+# to NONDIR_REPLACEMENT. -+# value returned in "$func_dirname_result" -+# basename: Compute filename of FILE. -+# value retuned in "$func_basename_result" -+# Implementation must be kept synchronized with func_dirname -+# and func_basename. For efficiency, we do not delegate to -+# those functions but instead duplicate the functionality here. -+func_dirname_and_basename () -+{ -+ case ${1} in -+ */*) func_dirname_result="${1%/*}${2}" ;; -+ * ) func_dirname_result="${3}" ;; -+ esac -+ func_basename_result="${1##*/}" -+} -+ -+# func_stripname prefix suffix name -+# strip PREFIX and SUFFIX off of NAME. -+# PREFIX and SUFFIX must not contain globbing or regex special -+# characters, hashes, percent signs, but SUFFIX may contain a leading -+# dot (in which case that matches only a dot). -+func_stripname () -+{ -+ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are -+ # positional parameters, so assign one to ordinary parameter first. -+ func_stripname_result=${3} -+ func_stripname_result=${func_stripname_result#"${1}"} -+ func_stripname_result=${func_stripname_result%"${2}"} -+} -+ -+# func_opt_split -+func_opt_split () -+{ -+ func_opt_split_opt=${1%%=*} -+ func_opt_split_arg=${1#*=} -+} -+ -+# func_lo2o object -+func_lo2o () -+{ -+ case ${1} in -+ *.lo) func_lo2o_result=${1%.lo}.${objext} ;; -+ *) func_lo2o_result=${1} ;; -+ esac -+} -+ -+# func_xform libobj-or-source -+func_xform () -+{ -+ func_xform_result=${1%.*}.lo -+} -+ -+# func_arith arithmetic-term... -+func_arith () -+{ -+ func_arith_result=$(( $* )) -+} -+ -+# func_len string -+# STRING may not start with a hyphen. -+func_len () -+{ -+ func_len_result=${#1} -+} -+ -+ -+# func_append var value -+# Append VALUE to the end of shell variable VAR. -+func_append () -+{ -+ eval "$1+=\$2" -+} -+# Generated shell functions inserted here. -+ -+# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh -+# is ksh but when the shell is invoked as "sh" and the current value of -+# the _XPG environment variable is not equal to 1 (one), the special -+# positional parameter $0, within a function call, is the name of the -+# function. -+progpath="$0" -+ -+# The name of this program: -+# In the unlikely event $progname began with a '-', it would play havoc with -+# func_echo (imagine progname=-n), so we prepend ./ in that case: -+func_dirname_and_basename "$progpath" -+progname=$func_basename_result -+case $progname in -+ -*) progname=./$progname ;; -+esac -+ -+# Make sure we have an absolute path for reexecution: -+case $progpath in -+ [\\/]*|[A-Za-z]:\\*) ;; -+ *[\\/]*) -+ progdir=$func_dirname_result -+ progdir=`cd "$progdir" && pwd` -+ progpath="$progdir/$progname" -+ ;; -+ *) -+ save_IFS="$IFS" -+ IFS=: -+ for progdir in $PATH; do -+ IFS="$save_IFS" -+ test -x "$progdir/$progname" && break -+ done -+ IFS="$save_IFS" -+ test -n "$progdir" || progdir=`pwd` -+ progpath="$progdir/$progname" -+ ;; -+esac -+ -+# Sed substitution that helps us do robust quoting. It backslashifies -+# metacharacters that are still active within double-quoted strings. -+Xsed="${SED}"' -e 1s/^X//' -+sed_quote_subst='s/\([`"$\\]\)/\\\1/g' -+ -+# Same as above, but do not quote variable references. -+double_quote_subst='s/\(["`\\]\)/\\\1/g' -+ -+# Re-`\' parameter expansions in output of double_quote_subst that were -+# `\'-ed in input to the same. If an odd number of `\' preceded a '$' -+# in input to double_quote_subst, that '$' was protected from expansion. -+# Since each input `\' is now two `\'s, look for any number of runs of -+# four `\'s followed by two `\'s and then a '$'. `\' that '$'. -+bs='\\' -+bs2='\\\\' -+bs4='\\\\\\\\' -+dollar='\$' -+sed_double_backslash="\ -+ s/$bs4/&\\ -+/g -+ s/^$bs2$dollar/$bs&/ -+ s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g -+ s/\n//g" -+ -+# Standard options: -+opt_dry_run=false -+opt_help=false -+opt_quiet=false -+opt_verbose=false -+opt_warning=: -+ -+# func_echo arg... -+# Echo program name prefixed message, along with the current mode -+# name if it has been set yet. -+func_echo () -+{ -+ $ECHO "$progname${mode+: }$mode: $*" -+} -+ -+# func_verbose arg... -+# Echo program name prefixed message in verbose mode only. -+func_verbose () -+{ -+ $opt_verbose && func_echo ${1+"$@"} -+ -+ # A bug in bash halts the script if the last line of a function -+ # fails when set -e is in force, so we need another command to -+ # work around that: -+ : -+} -+ -+# func_error arg... -+# Echo program name prefixed message to standard error. -+func_error () -+{ -+ $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2 -+} -+ -+# func_warning arg... -+# Echo program name prefixed warning message to standard error. -+func_warning () -+{ -+ $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2 -+ -+ # bash bug again: -+ : -+} -+ -+# func_fatal_error arg... -+# Echo program name prefixed message to standard error, and exit. -+func_fatal_error () -+{ -+ func_error ${1+"$@"} -+ exit $EXIT_FAILURE -+} -+ -+# func_fatal_help arg... -+# Echo program name prefixed message to standard error, followed by -+# a help hint, and exit. -+func_fatal_help () -+{ -+ func_error ${1+"$@"} -+ func_fatal_error "$help" -+} -+help="Try \`$progname --help' for more information." ## default -+ -+ -+# func_grep expression filename -+# Check whether EXPRESSION matches any line of FILENAME, without output. -+func_grep () -+{ -+ $GREP "$1" "$2" >/dev/null 2>&1 -+} -+ -+ -+# func_mkdir_p directory-path -+# Make sure the entire path to DIRECTORY-PATH is available. -+func_mkdir_p () -+{ -+ my_directory_path="$1" -+ my_dir_list= -+ -+ if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then -+ -+ # Protect directory names starting with `-' -+ case $my_directory_path in -+ -*) my_directory_path="./$my_directory_path" ;; -+ esac -+ -+ # While some portion of DIR does not yet exist... -+ while test ! -d "$my_directory_path"; do -+ # ...make a list in topmost first order. Use a colon delimited -+ # list incase some portion of path contains whitespace. -+ my_dir_list="$my_directory_path:$my_dir_list" -+ -+ # If the last portion added has no slash in it, the list is done -+ case $my_directory_path in */*) ;; *) break ;; esac -+ -+ # ...otherwise throw away the child directory and loop -+ my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"` -+ done -+ my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'` -+ -+ save_mkdir_p_IFS="$IFS"; IFS=':' -+ for my_dir in $my_dir_list; do -+ IFS="$save_mkdir_p_IFS" -+ # mkdir can fail with a `File exist' error if two processes -+ # try to create one of the directories concurrently. Don't -+ # stop in that case! -+ $MKDIR "$my_dir" 2>/dev/null || : -+ done -+ IFS="$save_mkdir_p_IFS" -+ -+ # Bail out if we (or some other process) failed to create a directory. -+ test -d "$my_directory_path" || \ -+ func_fatal_error "Failed to create \`$1'" -+ fi -+} -+ -+ -+# func_mktempdir [string] -+# Make a temporary directory that won't clash with other running -+# libtool processes, and avoids race conditions if possible. If -+# given, STRING is the basename for that directory. -+func_mktempdir () -+{ -+ my_template="${TMPDIR-/tmp}/${1-$progname}" -+ -+ if test "$opt_dry_run" = ":"; then -+ # Return a directory name, but don't create it in dry-run mode -+ my_tmpdir="${my_template}-$$" -+ else -+ -+ # If mktemp works, use that first and foremost -+ my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` -+ -+ if test ! -d "$my_tmpdir"; then -+ # Failing that, at least try and use $RANDOM to avoid a race -+ my_tmpdir="${my_template}-${RANDOM-0}$$" -+ -+ save_mktempdir_umask=`umask` -+ umask 0077 -+ $MKDIR "$my_tmpdir" -+ umask $save_mktempdir_umask -+ fi -+ -+ # If we're not in dry-run mode, bomb out on failure -+ test -d "$my_tmpdir" || \ -+ func_fatal_error "cannot create temporary directory \`$my_tmpdir'" -+ fi -+ -+ $ECHO "X$my_tmpdir" | $Xsed -+} -+ -+ -+# func_quote_for_eval arg -+# Aesthetically quote ARG to be evaled later. -+# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT -+# is double-quoted, suitable for a subsequent eval, whereas -+# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters -+# which are still active within double quotes backslashified. -+func_quote_for_eval () -+{ -+ case $1 in -+ *[\\\`\"\$]*) -+ func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;; -+ *) -+ func_quote_for_eval_unquoted_result="$1" ;; -+ esac -+ -+ case $func_quote_for_eval_unquoted_result in -+ # Double-quote args containing shell metacharacters to delay -+ # word splitting, command substitution and and variable -+ # expansion for a subsequent eval. -+ # Many Bourne shells cannot handle close brackets correctly -+ # in scan sets, so we specify it separately. -+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") -+ func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\"" -+ ;; -+ *) -+ func_quote_for_eval_result="$func_quote_for_eval_unquoted_result" -+ esac -+} -+ -+ -+# func_quote_for_expand arg -+# Aesthetically quote ARG to be evaled later; same as above, -+# but do not quote variable references. -+func_quote_for_expand () -+{ -+ case $1 in -+ *[\\\`\"]*) -+ my_arg=`$ECHO "X$1" | $Xsed \ -+ -e "$double_quote_subst" -e "$sed_double_backslash"` ;; -+ *) -+ my_arg="$1" ;; -+ esac -+ -+ case $my_arg in -+ # Double-quote args containing shell metacharacters to delay -+ # word splitting and command substitution for a subsequent eval. -+ # Many Bourne shells cannot handle close brackets correctly -+ # in scan sets, so we specify it separately. -+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") -+ my_arg="\"$my_arg\"" -+ ;; -+ esac -+ -+ func_quote_for_expand_result="$my_arg" -+} -+ -+ -+# func_show_eval cmd [fail_exp] -+# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is -+# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP -+# is given, then evaluate it. -+func_show_eval () -+{ -+ my_cmd="$1" -+ my_fail_exp="${2-:}" -+ -+ ${opt_silent-false} || { -+ func_quote_for_expand "$my_cmd" -+ eval "func_echo $func_quote_for_expand_result" -+ } -+ -+ if ${opt_dry_run-false}; then :; else -+ eval "$my_cmd" -+ my_status=$? -+ if test "$my_status" -eq 0; then :; else -+ eval "(exit $my_status); $my_fail_exp" -+ fi -+ fi -+} -+ -+ -+# func_show_eval_locale cmd [fail_exp] -+# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is -+# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP -+# is given, then evaluate it. Use the saved locale for evaluation. -+func_show_eval_locale () -+{ -+ my_cmd="$1" -+ my_fail_exp="${2-:}" -+ -+ ${opt_silent-false} || { -+ func_quote_for_expand "$my_cmd" -+ eval "func_echo $func_quote_for_expand_result" -+ } -+ -+ if ${opt_dry_run-false}; then :; else -+ eval "$lt_user_locale -+ $my_cmd" -+ my_status=$? -+ eval "$lt_safe_locale" -+ if test "$my_status" -eq 0; then :; else -+ eval "(exit $my_status); $my_fail_exp" -+ fi -+ fi -+} -+ -+ -+ -+ -+ -+# func_version -+# Echo version message to standard output and exit. -+func_version () -+{ -+ $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / { -+ s/^# // -+ s/^# *$// -+ s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ -+ p -+ }' < "$progpath" -+ exit $? -+} -+ -+# func_usage -+# Echo short help message to standard output and exit. -+func_usage () -+{ -+ $SED -n '/^# Usage:/,/# -h/ { -+ s/^# // -+ s/^# *$// -+ s/\$progname/'$progname'/ -+ p -+ }' < "$progpath" -+ $ECHO -+ $ECHO "run \`$progname --help | more' for full usage" -+ exit $? -+} -+ -+# func_help -+# Echo long help message to standard output and exit. -+func_help () -+{ -+ $SED -n '/^# Usage:/,/# Report bugs to/ { -+ s/^# // -+ s/^# *$// -+ s*\$progname*'$progname'* -+ s*\$host*'"$host"'* -+ s*\$SHELL*'"$SHELL"'* -+ s*\$LTCC*'"$LTCC"'* -+ s*\$LTCFLAGS*'"$LTCFLAGS"'* -+ s*\$LD*'"$LD"'* -+ s/\$with_gnu_ld/'"$with_gnu_ld"'/ -+ s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/ -+ s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/ -+ p -+ }' < "$progpath" -+ exit $? -+} -+ -+# func_missing_arg argname -+# Echo program name prefixed message to standard error and set global -+# exit_cmd. -+func_missing_arg () -+{ -+ func_error "missing argument for $1" -+ exit_cmd=exit -+} -+ -+exit_cmd=: -+ -+ -+ -+ -+ -+# Check that we have a working $ECHO. -+if test "X$1" = X--no-reexec; then -+ # Discard the --no-reexec flag, and continue. -+ shift -+elif test "X$1" = X--fallback-echo; then -+ # Avoid inline document here, it may be left over -+ : -+elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then -+ # Yippee, $ECHO works! -+ : -+else -+ # Restart under the correct shell, and then maybe $ECHO will work. -+ exec $SHELL "$progpath" --no-reexec ${1+"$@"} -+fi -+ -+if test "X$1" = X--fallback-echo; then -+ # used as fallback echo -+ shift -+ cat </dev/null 2>&1; then -+ taglist="$taglist $tagname" -+ -+ # Evaluate the configuration. Be careful to quote the path -+ # and the sed script, to avoid splitting on whitespace, but -+ # also don't use non-portable quotes within backquotes within -+ # quotes we have to do it in 2 steps: -+ extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` -+ eval "$extractedcf" -+ else -+ func_error "ignoring unknown tag $tagname" -+ fi -+ ;; -+ esac -+} -+ -+# Parse options once, thoroughly. This comes as soon as possible in -+# the script to make things like `libtool --version' happen quickly. -+{ -+ -+ # Shorthand for --mode=foo, only valid as the first argument -+ case $1 in -+ clean|clea|cle|cl) -+ shift; set dummy --mode clean ${1+"$@"}; shift -+ ;; -+ compile|compil|compi|comp|com|co|c) -+ shift; set dummy --mode compile ${1+"$@"}; shift -+ ;; -+ execute|execut|execu|exec|exe|ex|e) -+ shift; set dummy --mode execute ${1+"$@"}; shift -+ ;; -+ finish|finis|fini|fin|fi|f) -+ shift; set dummy --mode finish ${1+"$@"}; shift -+ ;; -+ install|instal|insta|inst|ins|in|i) -+ shift; set dummy --mode install ${1+"$@"}; shift -+ ;; -+ link|lin|li|l) -+ shift; set dummy --mode link ${1+"$@"}; shift -+ ;; -+ uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) -+ shift; set dummy --mode uninstall ${1+"$@"}; shift -+ ;; -+ esac -+ -+ # Parse non-mode specific arguments: -+ while test "$#" -gt 0; do -+ opt="$1" -+ shift -+ -+ case $opt in -+ --config) func_config ;; -+ -+ --debug) preserve_args="$preserve_args $opt" -+ func_echo "enabling shell trace mode" -+ opt_debug='set -x' -+ $opt_debug -+ ;; -+ -+ -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break -+ execute_dlfiles="$execute_dlfiles $1" -+ shift -+ ;; -+ -+ --dry-run | -n) opt_dry_run=: ;; -+ --features) func_features ;; -+ --finish) mode="finish" ;; -+ -+ --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break -+ case $1 in -+ # Valid mode arguments: -+ clean) ;; -+ compile) ;; -+ execute) ;; -+ finish) ;; -+ install) ;; -+ link) ;; -+ relink) ;; -+ uninstall) ;; -+ -+ # Catch anything else as an error -+ *) func_error "invalid argument for $opt" -+ exit_cmd=exit -+ break -+ ;; -+ esac -+ -+ mode="$1" -+ shift -+ ;; -+ -+ --preserve-dup-deps) -+ opt_duplicate_deps=: ;; -+ -+ --quiet|--silent) preserve_args="$preserve_args $opt" -+ opt_silent=: -+ ;; -+ -+ --verbose| -v) preserve_args="$preserve_args $opt" -+ opt_silent=false -+ ;; -+ -+ --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break -+ preserve_args="$preserve_args $opt $1" -+ func_enable_tag "$1" # tagname is set here -+ shift -+ ;; -+ -+ # Separate optargs to long options: -+ -dlopen=*|--mode=*|--tag=*) -+ func_opt_split "$opt" -+ set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"} -+ shift -+ ;; -+ -+ -\?|-h) func_usage ;; -+ --help) opt_help=: ;; -+ --version) func_version ;; -+ -+ -*) func_fatal_help "unrecognized option \`$opt'" ;; -+ -+ *) nonopt="$opt" -+ break -+ ;; -+ esac -+ done -+ -+ -+ case $host in -+ *cygwin* | *mingw* | *pw32* | *cegcc*) -+ # don't eliminate duplications in $postdeps and $predeps -+ opt_duplicate_compiler_generated_deps=: -+ ;; -+ *) -+ opt_duplicate_compiler_generated_deps=$opt_duplicate_deps -+ ;; -+ esac -+ -+ # Having warned about all mis-specified options, bail out if -+ # anything was wrong. -+ $exit_cmd $EXIT_FAILURE -+} -+ -+# func_check_version_match -+# Ensure that we are using m4 macros, and libtool script from the same -+# release of libtool. -+func_check_version_match () -+{ -+ if test "$package_revision" != "$macro_revision"; then -+ if test "$VERSION" != "$macro_version"; then -+ if test -z "$macro_version"; then -+ cat >&2 <<_LT_EOF -+$progname: Version mismatch error. This is $PACKAGE $VERSION, but the -+$progname: definition of this LT_INIT comes from an older release. -+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION -+$progname: and run autoconf again. -+_LT_EOF -+ else -+ cat >&2 <<_LT_EOF -+$progname: Version mismatch error. This is $PACKAGE $VERSION, but the -+$progname: definition of this LT_INIT comes from $PACKAGE $macro_version. -+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION -+$progname: and run autoconf again. -+_LT_EOF -+ fi -+ else -+ cat >&2 <<_LT_EOF -+$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, -+$progname: but the definition of this LT_INIT comes from revision $macro_revision. -+$progname: You should recreate aclocal.m4 with macros from revision $package_revision -+$progname: of $PACKAGE $VERSION and run autoconf again. -+_LT_EOF -+ fi -+ -+ exit $EXIT_MISMATCH -+ fi -+} -+ -+ -+## ----------- ## -+## Main. ## -+## ----------- ## -+ -+$opt_help || { -+ # Sanity checks first: -+ func_check_version_match -+ -+ if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then -+ func_fatal_configuration "not configured to build any kind of library" -+ fi -+ -+ test -z "$mode" && func_fatal_error "error: you must specify a MODE." -+ -+ -+ # Darwin sucks -+ eval std_shrext=\"$shrext_cmds\" -+ -+ -+ # Only execute mode is allowed to have -dlopen flags. -+ if test -n "$execute_dlfiles" && test "$mode" != execute; then -+ func_error "unrecognized option \`-dlopen'" -+ $ECHO "$help" 1>&2 -+ exit $EXIT_FAILURE -+ fi -+ -+ # Change the help message to a mode-specific one. -+ generic_help="$help" -+ help="Try \`$progname --help --mode=$mode' for more information." -+} -+ -+ -+# func_lalib_p file -+# True iff FILE is a libtool `.la' library or `.lo' object file. -+# This function is only a basic sanity check; it will hardly flush out -+# determined imposters. -+func_lalib_p () -+{ -+ test -f "$1" && -+ $SED -e 4q "$1" 2>/dev/null \ -+ | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 -+} -+ -+# func_lalib_unsafe_p file -+# True iff FILE is a libtool `.la' library or `.lo' object file. -+# This function implements the same check as func_lalib_p without -+# resorting to external programs. To this end, it redirects stdin and -+# closes it afterwards, without saving the original file descriptor. -+# As a safety measure, use it only where a negative result would be -+# fatal anyway. Works if `file' does not exist. -+func_lalib_unsafe_p () -+{ -+ lalib_p=no -+ if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then -+ for lalib_p_l in 1 2 3 4 -+ do -+ read lalib_p_line -+ case "$lalib_p_line" in -+ \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; -+ esac -+ done -+ exec 0<&5 5<&- -+ fi -+ test "$lalib_p" = yes -+} -+ -+# func_ltwrapper_script_p file -+# True iff FILE is a libtool wrapper script -+# This function is only a basic sanity check; it will hardly flush out -+# determined imposters. -+func_ltwrapper_script_p () -+{ -+ func_lalib_p "$1" -+} -+ -+# func_ltwrapper_executable_p file -+# True iff FILE is a libtool wrapper executable -+# This function is only a basic sanity check; it will hardly flush out -+# determined imposters. -+func_ltwrapper_executable_p () -+{ -+ func_ltwrapper_exec_suffix= -+ case $1 in -+ *.exe) ;; -+ *) func_ltwrapper_exec_suffix=.exe ;; -+ esac -+ $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 -+} -+ -+# func_ltwrapper_scriptname file -+# Assumes file is an ltwrapper_executable -+# uses $file to determine the appropriate filename for a -+# temporary ltwrapper_script. -+func_ltwrapper_scriptname () -+{ -+ func_ltwrapper_scriptname_result="" -+ if func_ltwrapper_executable_p "$1"; then -+ func_dirname_and_basename "$1" "" "." -+ func_stripname '' '.exe' "$func_basename_result" -+ func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" -+ fi -+} -+ -+# func_ltwrapper_p file -+# True iff FILE is a libtool wrapper script or wrapper executable -+# This function is only a basic sanity check; it will hardly flush out -+# determined imposters. -+func_ltwrapper_p () -+{ -+ func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" -+} -+ -+ -+# func_execute_cmds commands fail_cmd -+# Execute tilde-delimited COMMANDS. -+# If FAIL_CMD is given, eval that upon failure. -+# FAIL_CMD may read-access the current command in variable CMD! -+func_execute_cmds () -+{ -+ $opt_debug -+ save_ifs=$IFS; IFS='~' -+ for cmd in $1; do -+ IFS=$save_ifs -+ eval cmd=\"$cmd\" -+ func_show_eval "$cmd" "${2-:}" -+ done -+ IFS=$save_ifs -+} -+ -+ -+# func_source file -+# Source FILE, adding directory component if necessary. -+# Note that it is not necessary on cygwin/mingw to append a dot to -+# FILE even if both FILE and FILE.exe exist: automatic-append-.exe -+# behavior happens only for exec(3), not for open(2)! Also, sourcing -+# `FILE.' does not work on cygwin managed mounts. -+func_source () -+{ -+ $opt_debug -+ case $1 in -+ */* | *\\*) . "$1" ;; -+ *) . "./$1" ;; -+ esac -+} -+ -+ -+# func_infer_tag arg -+# Infer tagged configuration to use if any are available and -+# if one wasn't chosen via the "--tag" command line option. -+# Only attempt this if the compiler in the base compile -+# command doesn't match the default compiler. -+# arg is usually of the form 'gcc ...' -+func_infer_tag () -+{ -+ $opt_debug -+ if test -n "$available_tags" && test -z "$tagname"; then -+ CC_quoted= -+ for arg in $CC; do -+ func_quote_for_eval "$arg" -+ CC_quoted="$CC_quoted $func_quote_for_eval_result" -+ done -+ case $@ in -+ # Blanks in the command may have been stripped by the calling shell, -+ # but not from the CC environment variable when configure was run. -+ " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;; -+ # Blanks at the start of $base_compile will cause this to fail -+ # if we don't check for them as well. -+ *) -+ for z in $available_tags; do -+ if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then -+ # Evaluate the configuration. -+ eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" -+ CC_quoted= -+ for arg in $CC; do -+ # Double-quote args containing other shell metacharacters. -+ func_quote_for_eval "$arg" -+ CC_quoted="$CC_quoted $func_quote_for_eval_result" -+ done -+ case "$@ " in -+ " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) -+ # The compiler in the base compile command matches -+ # the one in the tagged configuration. -+ # Assume this is the tagged configuration we want. -+ tagname=$z -+ break -+ ;; -+ esac -+ fi -+ done -+ # If $tagname still isn't set, then no tagged configuration -+ # was found and let the user know that the "--tag" command -+ # line option must be used. -+ if test -z "$tagname"; then -+ func_echo "unable to infer tagged configuration" -+ func_fatal_error "specify a tag with \`--tag'" -+# else -+# func_verbose "using $tagname tagged configuration" -+ fi -+ ;; -+ esac -+ fi -+} -+ -+ -+ -+# func_write_libtool_object output_name pic_name nonpic_name -+# Create a libtool object file (analogous to a ".la" file), -+# but don't create it if we're doing a dry run. -+func_write_libtool_object () -+{ -+ write_libobj=${1} -+ if test "$build_libtool_libs" = yes; then -+ write_lobj=\'${2}\' -+ else -+ write_lobj=none -+ fi -+ -+ if test "$build_old_libs" = yes; then -+ write_oldobj=\'${3}\' -+ else -+ write_oldobj=none -+ fi -+ -+ $opt_dry_run || { -+ cat >${write_libobj}T <?"'"'"' &()|`$[]' \ -+ && func_warning "libobj name \`$libobj' may not contain shell special characters." -+ func_dirname_and_basename "$obj" "/" "" -+ objname="$func_basename_result" -+ xdir="$func_dirname_result" -+ lobj=${xdir}$objdir/$objname -+ -+ test -z "$base_compile" && \ -+ func_fatal_help "you must specify a compilation command" -+ -+ # Delete any leftover library objects. -+ if test "$build_old_libs" = yes; then -+ removelist="$obj $lobj $libobj ${libobj}T" -+ else -+ removelist="$lobj $libobj ${libobj}T" -+ fi -+ -+ # On Cygwin there's no "real" PIC flag so we must build both object types -+ case $host_os in -+ cygwin* | mingw* | pw32* | os2* | cegcc*) -+ pic_mode=default -+ ;; -+ esac -+ if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then -+ # non-PIC code in shared libraries is not supported -+ pic_mode=default -+ fi -+ -+ # Calculate the filename of the output object if compiler does -+ # not support -o with -c -+ if test "$compiler_c_o" = no; then -+ output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} -+ lockfile="$output_obj.lock" -+ else -+ output_obj= -+ need_locks=no -+ lockfile= -+ fi -+ -+ # Lock this critical section if it is needed -+ # We use this script file to make the link, it avoids creating a new file -+ if test "$need_locks" = yes; then -+ until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do -+ func_echo "Waiting for $lockfile to be removed" -+ sleep 2 -+ done -+ elif test "$need_locks" = warn; then -+ if test -f "$lockfile"; then -+ $ECHO "\ -+*** ERROR, $lockfile exists and contains: -+`cat $lockfile 2>/dev/null` -+ -+This indicates that another process is trying to use the same -+temporary object file, and libtool could not work around it because -+your compiler does not support \`-c' and \`-o' together. If you -+repeat this compilation, it may succeed, by chance, but you had better -+avoid parallel builds (make -j) in this platform, or get a better -+compiler." -+ -+ $opt_dry_run || $RM $removelist -+ exit $EXIT_FAILURE -+ fi -+ removelist="$removelist $output_obj" -+ $ECHO "$srcfile" > "$lockfile" -+ fi -+ -+ $opt_dry_run || $RM $removelist -+ removelist="$removelist $lockfile" -+ trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 -+ -+ if test -n "$fix_srcfile_path"; then -+ eval srcfile=\"$fix_srcfile_path\" -+ fi -+ func_quote_for_eval "$srcfile" -+ qsrcfile=$func_quote_for_eval_result -+ -+ # Only build a PIC object if we are building libtool libraries. -+ if test "$build_libtool_libs" = yes; then -+ # Without this assignment, base_compile gets emptied. -+ fbsd_hideous_sh_bug=$base_compile -+ -+ if test "$pic_mode" != no; then -+ command="$base_compile $qsrcfile $pic_flag" -+ else -+ # Don't build PIC code -+ command="$base_compile $qsrcfile" -+ fi -+ -+ func_mkdir_p "$xdir$objdir" -+ -+ if test -z "$output_obj"; then -+ # Place PIC objects in $objdir -+ command="$command -o $lobj" -+ fi -+ -+ func_show_eval_locale "$command" \ -+ 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' -+ -+ if test "$need_locks" = warn && -+ test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then -+ $ECHO "\ -+*** ERROR, $lockfile contains: -+`cat $lockfile 2>/dev/null` -+ -+but it should contain: -+$srcfile -+ -+This indicates that another process is trying to use the same -+temporary object file, and libtool could not work around it because -+your compiler does not support \`-c' and \`-o' together. If you -+repeat this compilation, it may succeed, by chance, but you had better -+avoid parallel builds (make -j) in this platform, or get a better -+compiler." -+ -+ $opt_dry_run || $RM $removelist -+ exit $EXIT_FAILURE -+ fi -+ -+ # Just move the object if needed, then go on to compile the next one -+ if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then -+ func_show_eval '$MV "$output_obj" "$lobj"' \ -+ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' -+ fi -+ -+ # Allow error messages only from the first compilation. -+ if test "$suppress_opt" = yes; then -+ suppress_output=' >/dev/null 2>&1' -+ fi -+ fi -+ -+ # Only build a position-dependent object if we build old libraries. -+ if test "$build_old_libs" = yes; then -+ if test "$pic_mode" != yes; then -+ # Don't build PIC code -+ command="$base_compile $qsrcfile$pie_flag" -+ else -+ command="$base_compile $qsrcfile $pic_flag" -+ fi -+ if test "$compiler_c_o" = yes; then -+ command="$command -o $obj" -+ fi -+ -+ # Suppress compiler output if we already did a PIC compilation. -+ command="$command$suppress_output" -+ func_show_eval_locale "$command" \ -+ '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' -+ -+ if test "$need_locks" = warn && -+ test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then -+ $ECHO "\ -+*** ERROR, $lockfile contains: -+`cat $lockfile 2>/dev/null` -+ -+but it should contain: -+$srcfile -+ -+This indicates that another process is trying to use the same -+temporary object file, and libtool could not work around it because -+your compiler does not support \`-c' and \`-o' together. If you -+repeat this compilation, it may succeed, by chance, but you had better -+avoid parallel builds (make -j) in this platform, or get a better -+compiler." -+ -+ $opt_dry_run || $RM $removelist -+ exit $EXIT_FAILURE -+ fi -+ -+ # Just move the object if needed -+ if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then -+ func_show_eval '$MV "$output_obj" "$obj"' \ -+ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' -+ fi -+ fi -+ -+ $opt_dry_run || { -+ func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" -+ -+ # Unlock the critical section if it was locked -+ if test "$need_locks" != no; then -+ removelist=$lockfile -+ $RM "$lockfile" -+ fi -+ } -+ -+ exit $EXIT_SUCCESS -+} -+ -+$opt_help || { -+test "$mode" = compile && func_mode_compile ${1+"$@"} -+} -+ -+func_mode_help () -+{ -+ # We need to display help for each of the modes. -+ case $mode in -+ "") -+ # Generic help is extracted from the usage comments -+ # at the start of this file. -+ func_help -+ ;; -+ -+ clean) -+ $ECHO \ -+"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... -+ -+Remove files from the build directory. -+ -+RM is the name of the program to use to delete files associated with each FILE -+(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed -+to RM. -+ -+If FILE is a libtool library, object or program, all the files associated -+with it are deleted. Otherwise, only FILE itself is deleted using RM." -+ ;; -+ -+ compile) -+ $ECHO \ -+"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE -+ -+Compile a source file into a libtool library object. -+ -+This mode accepts the following additional options: -+ -+ -o OUTPUT-FILE set the output file name to OUTPUT-FILE -+ -no-suppress do not suppress compiler output for multiple passes -+ -prefer-pic try to building PIC objects only -+ -prefer-non-pic try to building non-PIC objects only -+ -shared do not build a \`.o' file suitable for static linking -+ -static only build a \`.o' file suitable for static linking -+ -+COMPILE-COMMAND is a command to be used in creating a \`standard' object file -+from the given SOURCEFILE. -+ -+The output file name is determined by removing the directory component from -+SOURCEFILE, then substituting the C source code suffix \`.c' with the -+library object suffix, \`.lo'." -+ ;; -+ -+ execute) -+ $ECHO \ -+"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... -+ -+Automatically set library path, then run a program. -+ -+This mode accepts the following additional options: -+ -+ -dlopen FILE add the directory containing FILE to the library path -+ -+This mode sets the library path environment variable according to \`-dlopen' -+flags. -+ -+If any of the ARGS are libtool executable wrappers, then they are translated -+into their corresponding uninstalled binary, and any of their required library -+directories are added to the library path. -+ -+Then, COMMAND is executed, with ARGS as arguments." -+ ;; -+ -+ finish) -+ $ECHO \ -+"Usage: $progname [OPTION]... --mode=finish [LIBDIR]... -+ -+Complete the installation of libtool libraries. -+ -+Each LIBDIR is a directory that contains libtool libraries. -+ -+The commands that this mode executes may require superuser privileges. Use -+the \`--dry-run' option if you just want to see what would be executed." -+ ;; -+ -+ install) -+ $ECHO \ -+"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... -+ -+Install executables or libraries. -+ -+INSTALL-COMMAND is the installation command. The first component should be -+either the \`install' or \`cp' program. -+ -+The following components of INSTALL-COMMAND are treated specially: -+ -+ -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation -+ -+The rest of the components are interpreted as arguments to that command (only -+BSD-compatible install options are recognized)." -+ ;; -+ -+ link) -+ $ECHO \ -+"Usage: $progname [OPTION]... --mode=link LINK-COMMAND... -+ -+Link object files or libraries together to form another library, or to -+create an executable program. -+ -+LINK-COMMAND is a command using the C compiler that you would use to create -+a program from several object files. -+ -+The following components of LINK-COMMAND are treated specially: -+ -+ -all-static do not do any dynamic linking at all -+ -avoid-version do not add a version suffix if possible -+ -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime -+ -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -+ -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -+ -export-symbols SYMFILE -+ try to export only the symbols listed in SYMFILE -+ -export-symbols-regex REGEX -+ try to export only the symbols matching REGEX -+ -LLIBDIR search LIBDIR for required installed libraries -+ -lNAME OUTPUT-FILE requires the installed library libNAME -+ -module build a library that can dlopened -+ -no-fast-install disable the fast-install mode -+ -no-install link a not-installable executable -+ -no-undefined declare that a library does not refer to external symbols -+ -o OUTPUT-FILE create OUTPUT-FILE from the specified objects -+ -objectlist FILE Use a list of object files found in FILE to specify objects -+ -precious-files-regex REGEX -+ don't remove output files matching REGEX -+ -release RELEASE specify package release information -+ -rpath LIBDIR the created library will eventually be installed in LIBDIR -+ -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries -+ -shared only do dynamic linking of libtool libraries -+ -shrext SUFFIX override the standard shared library file extension -+ -static do not do any dynamic linking of uninstalled libtool libraries -+ -static-libtool-libs -+ do not do any dynamic linking of libtool libraries -+ -version-info CURRENT[:REVISION[:AGE]] -+ specify library version info [each variable defaults to 0] -+ -weak LIBNAME declare that the target provides the LIBNAME interface -+ -+All other options (arguments beginning with \`-') are ignored. -+ -+Every other argument is treated as a filename. Files ending in \`.la' are -+treated as uninstalled libtool libraries, other files are standard or library -+object files. -+ -+If the OUTPUT-FILE ends in \`.la', then a libtool library is created, -+only library objects (\`.lo' files) may be specified, and \`-rpath' is -+required, except when creating a convenience library. -+ -+If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created -+using \`ar' and \`ranlib', or on Windows using \`lib'. -+ -+If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file -+is created, otherwise an executable program is created." -+ ;; -+ -+ uninstall) -+ $ECHO \ -+"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... -+ -+Remove libraries from an installation directory. -+ -+RM is the name of the program to use to delete files associated with each FILE -+(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed -+to RM. -+ -+If FILE is a libtool library, all the files associated with it are deleted. -+Otherwise, only FILE itself is deleted using RM." -+ ;; -+ -+ *) -+ func_fatal_help "invalid operation mode \`$mode'" -+ ;; -+ esac -+ -+ $ECHO -+ $ECHO "Try \`$progname --help' for more information about other modes." -+ -+ exit $? -+} -+ -+ # Now that we've collected a possible --mode arg, show help if necessary -+ $opt_help && func_mode_help -+ -+ -+# func_mode_execute arg... -+func_mode_execute () -+{ -+ $opt_debug -+ # The first argument is the command name. -+ cmd="$nonopt" -+ test -z "$cmd" && \ -+ func_fatal_help "you must specify a COMMAND" -+ -+ # Handle -dlopen flags immediately. -+ for file in $execute_dlfiles; do -+ test -f "$file" \ -+ || func_fatal_help "\`$file' is not a file" -+ -+ dir= -+ case $file in -+ *.la) -+ # Check to see that this really is a libtool archive. -+ func_lalib_unsafe_p "$file" \ -+ || func_fatal_help "\`$lib' is not a valid libtool archive" -+ -+ # Read the libtool library. -+ dlname= -+ library_names= -+ func_source "$file" -+ -+ # Skip this library if it cannot be dlopened. -+ if test -z "$dlname"; then -+ # Warn if it was a shared library. -+ test -n "$library_names" && \ -+ func_warning "\`$file' was not linked with \`-export-dynamic'" -+ continue -+ fi -+ -+ func_dirname "$file" "" "." -+ dir="$func_dirname_result" -+ -+ if test -f "$dir/$objdir/$dlname"; then -+ dir="$dir/$objdir" -+ else -+ if test ! -f "$dir/$dlname"; then -+ func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" -+ fi -+ fi -+ ;; -+ -+ *.lo) -+ # Just add the directory containing the .lo file. -+ func_dirname "$file" "" "." -+ dir="$func_dirname_result" -+ ;; -+ -+ *) -+ func_warning "\`-dlopen' is ignored for non-libtool libraries and objects" -+ continue -+ ;; -+ esac -+ -+ # Get the absolute pathname. -+ absdir=`cd "$dir" && pwd` -+ test -n "$absdir" && dir="$absdir" -+ -+ # Now add the directory to shlibpath_var. -+ if eval "test -z \"\$$shlibpath_var\""; then -+ eval "$shlibpath_var=\"\$dir\"" -+ else -+ eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" -+ fi -+ done -+ -+ # This variable tells wrapper scripts just to set shlibpath_var -+ # rather than running their programs. -+ libtool_execute_magic="$magic" -+ -+ # Check if any of the arguments is a wrapper script. -+ args= -+ for file -+ do -+ case $file in -+ -*) ;; -+ *) -+ # Do a test to see if this is really a libtool program. -+ if func_ltwrapper_script_p "$file"; then -+ func_source "$file" -+ # Transform arg to wrapped name. -+ file="$progdir/$program" -+ elif func_ltwrapper_executable_p "$file"; then -+ func_ltwrapper_scriptname "$file" -+ func_source "$func_ltwrapper_scriptname_result" -+ # Transform arg to wrapped name. -+ file="$progdir/$program" -+ fi -+ ;; -+ esac -+ # Quote arguments (to preserve shell metacharacters). -+ func_quote_for_eval "$file" -+ args="$args $func_quote_for_eval_result" -+ done -+ -+ if test "X$opt_dry_run" = Xfalse; then -+ if test -n "$shlibpath_var"; then -+ # Export the shlibpath_var. -+ eval "export $shlibpath_var" -+ fi -+ -+ # Restore saved environment variables -+ for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES -+ do -+ eval "if test \"\${save_$lt_var+set}\" = set; then -+ $lt_var=\$save_$lt_var; export $lt_var -+ else -+ $lt_unset $lt_var -+ fi" -+ done -+ -+ # Now prepare to actually exec the command. -+ exec_cmd="\$cmd$args" -+ else -+ # Display what would be done. -+ if test -n "$shlibpath_var"; then -+ eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" -+ $ECHO "export $shlibpath_var" -+ fi -+ $ECHO "$cmd$args" -+ exit $EXIT_SUCCESS -+ fi -+} -+ -+test "$mode" = execute && func_mode_execute ${1+"$@"} -+ -+ -+# func_mode_finish arg... -+func_mode_finish () -+{ -+ $opt_debug -+ libdirs="$nonopt" -+ admincmds= -+ -+ if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then -+ for dir -+ do -+ libdirs="$libdirs $dir" -+ done -+ -+ for libdir in $libdirs; do -+ if test -n "$finish_cmds"; then -+ # Do each command in the finish commands. -+ func_execute_cmds "$finish_cmds" 'admincmds="$admincmds -+'"$cmd"'"' -+ fi -+ if test -n "$finish_eval"; then -+ # Do the single finish_eval. -+ eval cmds=\"$finish_eval\" -+ $opt_dry_run || eval "$cmds" || admincmds="$admincmds -+ $cmds" -+ fi -+ done -+ fi -+ -+ # Exit here if they wanted silent mode. -+ $opt_silent && exit $EXIT_SUCCESS -+ -+ $ECHO "X----------------------------------------------------------------------" | $Xsed -+ $ECHO "Libraries have been installed in:" -+ for libdir in $libdirs; do -+ $ECHO " $libdir" -+ done -+ $ECHO -+ $ECHO "If you ever happen to want to link against installed libraries" -+ $ECHO "in a given directory, LIBDIR, you must either use libtool, and" -+ $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'" -+ $ECHO "flag during linking and do at least one of the following:" -+ if test -n "$shlibpath_var"; then -+ $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable" -+ $ECHO " during execution" -+ fi -+ if test -n "$runpath_var"; then -+ $ECHO " - add LIBDIR to the \`$runpath_var' environment variable" -+ $ECHO " during linking" -+ fi -+ if test -n "$hardcode_libdir_flag_spec"; then -+ libdir=LIBDIR -+ eval flag=\"$hardcode_libdir_flag_spec\" -+ -+ $ECHO " - use the \`$flag' linker flag" -+ fi -+ if test -n "$admincmds"; then -+ $ECHO " - have your system administrator run these commands:$admincmds" -+ fi -+ if test -f /etc/ld.so.conf; then -+ $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" -+ fi -+ $ECHO -+ -+ $ECHO "See any operating system documentation about shared libraries for" -+ case $host in -+ solaris2.[6789]|solaris2.1[0-9]) -+ $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual" -+ $ECHO "pages." -+ ;; -+ *) -+ $ECHO "more information, such as the ld(1) and ld.so(8) manual pages." -+ ;; -+ esac -+ $ECHO "X----------------------------------------------------------------------" | $Xsed -+ exit $EXIT_SUCCESS -+} -+ -+test "$mode" = finish && func_mode_finish ${1+"$@"} -+ -+ -+# func_mode_install arg... -+func_mode_install () -+{ -+ $opt_debug -+ # There may be an optional sh(1) argument at the beginning of -+ # install_prog (especially on Windows NT). -+ if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || -+ # Allow the use of GNU shtool's install command. -+ $ECHO "X$nonopt" | $GREP shtool >/dev/null; then -+ # Aesthetically quote it. -+ func_quote_for_eval "$nonopt" -+ install_prog="$func_quote_for_eval_result " -+ arg=$1 -+ shift -+ else -+ install_prog= -+ arg=$nonopt -+ fi -+ -+ # The real first argument should be the name of the installation program. -+ # Aesthetically quote it. -+ func_quote_for_eval "$arg" -+ install_prog="$install_prog$func_quote_for_eval_result" -+ -+ # We need to accept at least all the BSD install flags. -+ dest= -+ files= -+ opts= -+ prev= -+ install_type= -+ isdir=no -+ stripme= -+ for arg -+ do -+ if test -n "$dest"; then -+ files="$files $dest" -+ dest=$arg -+ continue -+ fi -+ -+ case $arg in -+ -d) isdir=yes ;; -+ -f) -+ case " $install_prog " in -+ *[\\\ /]cp\ *) ;; -+ *) prev=$arg ;; -+ esac -+ ;; -+ -g | -m | -o) -+ prev=$arg -+ ;; -+ -s) -+ stripme=" -s" -+ continue -+ ;; -+ -*) -+ ;; -+ *) -+ # If the previous option needed an argument, then skip it. -+ if test -n "$prev"; then -+ prev= -+ else -+ dest=$arg -+ continue -+ fi -+ ;; -+ esac -+ -+ # Aesthetically quote the argument. -+ func_quote_for_eval "$arg" -+ install_prog="$install_prog $func_quote_for_eval_result" -+ done -+ -+ test -z "$install_prog" && \ -+ func_fatal_help "you must specify an install program" -+ -+ test -n "$prev" && \ -+ func_fatal_help "the \`$prev' option requires an argument" -+ -+ if test -z "$files"; then -+ if test -z "$dest"; then -+ func_fatal_help "no file or destination specified" -+ else -+ func_fatal_help "you must specify a destination" -+ fi -+ fi -+ -+ # Strip any trailing slash from the destination. -+ func_stripname '' '/' "$dest" -+ dest=$func_stripname_result -+ -+ # Check to see that the destination is a directory. -+ test -d "$dest" && isdir=yes -+ if test "$isdir" = yes; then -+ destdir="$dest" -+ destname= -+ else -+ func_dirname_and_basename "$dest" "" "." -+ destdir="$func_dirname_result" -+ destname="$func_basename_result" -+ -+ # Not a directory, so check to see that there is only one file specified. -+ set dummy $files; shift -+ test "$#" -gt 1 && \ -+ func_fatal_help "\`$dest' is not a directory" -+ fi -+ case $destdir in -+ [\\/]* | [A-Za-z]:[\\/]*) ;; -+ *) -+ for file in $files; do -+ case $file in -+ *.lo) ;; -+ *) -+ func_fatal_help "\`$destdir' must be an absolute directory name" -+ ;; -+ esac -+ done -+ ;; -+ esac -+ -+ # This variable tells wrapper scripts just to set variables rather -+ # than running their programs. -+ libtool_install_magic="$magic" -+ -+ staticlibs= -+ future_libdirs= -+ current_libdirs= -+ for file in $files; do -+ -+ # Do each installation. -+ case $file in -+ *.$libext) -+ # Do the static libraries later. -+ staticlibs="$staticlibs $file" -+ ;; -+ -+ *.la) -+ # Check to see that this really is a libtool archive. -+ func_lalib_unsafe_p "$file" \ -+ || func_fatal_help "\`$file' is not a valid libtool archive" -+ -+ library_names= -+ old_library= -+ relink_command= -+ func_source "$file" -+ -+ # Add the libdir to current_libdirs if it is the destination. -+ if test "X$destdir" = "X$libdir"; then -+ case "$current_libdirs " in -+ *" $libdir "*) ;; -+ *) current_libdirs="$current_libdirs $libdir" ;; -+ esac -+ else -+ # Note the libdir as a future libdir. -+ case "$future_libdirs " in -+ *" $libdir "*) ;; -+ *) future_libdirs="$future_libdirs $libdir" ;; -+ esac -+ fi -+ -+ func_dirname "$file" "/" "" -+ dir="$func_dirname_result" -+ dir="$dir$objdir" -+ -+ if test -n "$relink_command"; then -+ # Determine the prefix the user has applied to our future dir. -+ inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"` -+ -+ # Don't allow the user to place us outside of our expected -+ # location b/c this prevents finding dependent libraries that -+ # are installed to the same prefix. -+ # At present, this check doesn't affect windows .dll's that -+ # are installed into $libdir/../bin (currently, that works fine) -+ # but it's something to keep an eye on. -+ test "$inst_prefix_dir" = "$destdir" && \ -+ func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir" -+ -+ if test -n "$inst_prefix_dir"; then -+ # Stick the inst_prefix_dir data into the link command. -+ relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` -+ else -+ relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"` -+ fi -+ -+ func_warning "relinking \`$file'" -+ func_show_eval "$relink_command" \ -+ 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"' -+ fi -+ -+ # See the names of the shared library. -+ set dummy $library_names; shift -+ if test -n "$1"; then -+ realname="$1" -+ shift -+ -+ srcname="$realname" -+ test -n "$relink_command" && srcname="$realname"T -+ -+ # Install the shared library and build the symlinks. -+ func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \ -+ 'exit $?' -+ tstripme="$stripme" -+ case $host_os in -+ cygwin* | mingw* | pw32* | cegcc*) -+ case $realname in -+ *.dll.a) -+ tstripme="" -+ ;; -+ esac -+ ;; -+ esac -+ if test -n "$tstripme" && test -n "$striplib"; then -+ func_show_eval "$striplib $destdir/$realname" 'exit $?' -+ fi -+ -+ if test "$#" -gt 0; then -+ # Delete the old symlinks, and create new ones. -+ # Try `ln -sf' first, because the `ln' binary might depend on -+ # the symlink we replace! Solaris /bin/ln does not understand -f, -+ # so we also need to try rm && ln -s. -+ for linkname -+ do -+ test "$linkname" != "$realname" \ -+ && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" -+ done -+ fi -+ -+ # Do each command in the postinstall commands. -+ lib="$destdir/$realname" -+ func_execute_cmds "$postinstall_cmds" 'exit $?' -+ fi -+ -+ # Install the pseudo-library for information purposes. -+ func_basename "$file" -+ name="$func_basename_result" -+ instname="$dir/$name"i -+ func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' -+ -+ # Maybe install the static library, too. -+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" -+ ;; -+ -+ *.lo) -+ # Install (i.e. copy) a libtool object. -+ -+ # Figure out destination file name, if it wasn't already specified. -+ if test -n "$destname"; then -+ destfile="$destdir/$destname" -+ else -+ func_basename "$file" -+ destfile="$func_basename_result" -+ destfile="$destdir/$destfile" -+ fi -+ -+ # Deduce the name of the destination old-style object file. -+ case $destfile in -+ *.lo) -+ func_lo2o "$destfile" -+ staticdest=$func_lo2o_result -+ ;; -+ *.$objext) -+ staticdest="$destfile" -+ destfile= -+ ;; -+ *) -+ func_fatal_help "cannot copy a libtool object to \`$destfile'" -+ ;; -+ esac -+ -+ # Install the libtool object if requested. -+ test -n "$destfile" && \ -+ func_show_eval "$install_prog $file $destfile" 'exit $?' -+ -+ # Install the old object if enabled. -+ if test "$build_old_libs" = yes; then -+ # Deduce the name of the old-style object file. -+ func_lo2o "$file" -+ staticobj=$func_lo2o_result -+ func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' -+ fi -+ exit $EXIT_SUCCESS -+ ;; -+ -+ *) -+ # Figure out destination file name, if it wasn't already specified. -+ if test -n "$destname"; then -+ destfile="$destdir/$destname" -+ else -+ func_basename "$file" -+ destfile="$func_basename_result" -+ destfile="$destdir/$destfile" -+ fi -+ -+ # If the file is missing, and there is a .exe on the end, strip it -+ # because it is most likely a libtool script we actually want to -+ # install -+ stripped_ext="" -+ case $file in -+ *.exe) -+ if test ! -f "$file"; then -+ func_stripname '' '.exe' "$file" -+ file=$func_stripname_result -+ stripped_ext=".exe" -+ fi -+ ;; -+ esac -+ -+ # Do a test to see if this is really a libtool program. -+ case $host in -+ *cygwin* | *mingw*) -+ if func_ltwrapper_executable_p "$file"; then -+ func_ltwrapper_scriptname "$file" -+ wrapper=$func_ltwrapper_scriptname_result -+ else -+ func_stripname '' '.exe' "$file" -+ wrapper=$func_stripname_result -+ fi -+ ;; -+ *) -+ wrapper=$file -+ ;; -+ esac -+ if func_ltwrapper_script_p "$wrapper"; then -+ notinst_deplibs= -+ relink_command= -+ -+ func_source "$wrapper" -+ -+ # Check the variables that should have been set. -+ test -z "$generated_by_libtool_version" && \ -+ func_fatal_error "invalid libtool wrapper script \`$wrapper'" -+ -+ finalize=yes -+ for lib in $notinst_deplibs; do -+ # Check to see that each library is installed. -+ libdir= -+ if test -f "$lib"; then -+ func_source "$lib" -+ fi -+ libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test -+ if test -n "$libdir" && test ! -f "$libfile"; then -+ func_warning "\`$lib' has not been installed in \`$libdir'" -+ finalize=no -+ fi -+ done -+ -+ relink_command= -+ func_source "$wrapper" -+ -+ outputname= -+ if test "$fast_install" = no && test -n "$relink_command"; then -+ $opt_dry_run || { -+ if test "$finalize" = yes; then -+ tmpdir=`func_mktempdir` -+ func_basename "$file$stripped_ext" -+ file="$func_basename_result" -+ outputname="$tmpdir/$file" -+ # Replace the output file specification. -+ relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` -+ -+ $opt_silent || { -+ func_quote_for_expand "$relink_command" -+ eval "func_echo $func_quote_for_expand_result" -+ } -+ if eval "$relink_command"; then : -+ else -+ func_error "error: relink \`$file' with the above command before installing it" -+ $opt_dry_run || ${RM}r "$tmpdir" -+ continue -+ fi -+ file="$outputname" -+ else -+ func_warning "cannot relink \`$file'" -+ fi -+ } -+ else -+ # Install the binary that we compiled earlier. -+ file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` -+ fi -+ fi -+ -+ # remove .exe since cygwin /usr/bin/install will append another -+ # one anyway -+ case $install_prog,$host in -+ */usr/bin/install*,*cygwin*) -+ case $file:$destfile in -+ *.exe:*.exe) -+ # this is ok -+ ;; -+ *.exe:*) -+ destfile=$destfile.exe -+ ;; -+ *:*.exe) -+ func_stripname '' '.exe' "$destfile" -+ destfile=$func_stripname_result -+ ;; -+ esac -+ ;; -+ esac -+ func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' -+ $opt_dry_run || if test -n "$outputname"; then -+ ${RM}r "$tmpdir" -+ fi -+ ;; -+ esac -+ done -+ -+ for file in $staticlibs; do -+ func_basename "$file" -+ name="$func_basename_result" -+ -+ # Set up the ranlib parameters. -+ oldlib="$destdir/$name" -+ -+ func_show_eval "$install_prog \$file \$oldlib" 'exit $?' -+ -+ if test -n "$stripme" && test -n "$old_striplib"; then -+ func_show_eval "$old_striplib $oldlib" 'exit $?' -+ fi -+ -+ # Do each command in the postinstall commands. -+ func_execute_cmds "$old_postinstall_cmds" 'exit $?' -+ done -+ -+ test -n "$future_libdirs" && \ -+ func_warning "remember to run \`$progname --finish$future_libdirs'" -+ -+ if test -n "$current_libdirs"; then -+ # Maybe just do a dry run. -+ $opt_dry_run && current_libdirs=" -n$current_libdirs" -+ exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' -+ else -+ exit $EXIT_SUCCESS -+ fi -+} -+ -+test "$mode" = install && func_mode_install ${1+"$@"} -+ -+ -+# func_generate_dlsyms outputname originator pic_p -+# Extract symbols from dlprefiles and create ${outputname}S.o with -+# a dlpreopen symbol table. -+func_generate_dlsyms () -+{ -+ $opt_debug -+ my_outputname="$1" -+ my_originator="$2" -+ my_pic_p="${3-no}" -+ my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'` -+ my_dlsyms= -+ -+ if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then -+ if test -n "$NM" && test -n "$global_symbol_pipe"; then -+ my_dlsyms="${my_outputname}S.c" -+ else -+ func_error "not configured to extract global symbols from dlpreopened files" -+ fi -+ fi -+ -+ if test -n "$my_dlsyms"; then -+ case $my_dlsyms in -+ "") ;; -+ *.c) -+ # Discover the nlist of each of the dlfiles. -+ nlist="$output_objdir/${my_outputname}.nm" -+ -+ func_show_eval "$RM $nlist ${nlist}S ${nlist}T" -+ -+ # Parse the name list into a source file. -+ func_verbose "creating $output_objdir/$my_dlsyms" -+ -+ $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ -+/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */ -+/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */ -+ -+#ifdef __cplusplus -+extern \"C\" { -+#endif -+ -+/* External symbol declarations for the compiler. */\ -+" -+ -+ if test "$dlself" = yes; then -+ func_verbose "generating symbol list for \`$output'" -+ -+ $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" -+ -+ # Add our own program objects to the symbol list. -+ progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` -+ for progfile in $progfiles; do -+ func_verbose "extracting global C symbols from \`$progfile'" -+ $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'" -+ done -+ -+ if test -n "$exclude_expsyms"; then -+ $opt_dry_run || { -+ eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' -+ eval '$MV "$nlist"T "$nlist"' -+ } -+ fi -+ -+ if test -n "$export_symbols_regex"; then -+ $opt_dry_run || { -+ eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' -+ eval '$MV "$nlist"T "$nlist"' -+ } -+ fi -+ -+ # Prepare the list of exported symbols -+ if test -z "$export_symbols"; then -+ export_symbols="$output_objdir/$outputname.exp" -+ $opt_dry_run || { -+ $RM $export_symbols -+ eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' -+ case $host in -+ *cygwin* | *mingw* | *cegcc* ) -+ eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' -+ eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' -+ ;; -+ esac -+ } -+ else -+ $opt_dry_run || { -+ eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' -+ eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' -+ eval '$MV "$nlist"T "$nlist"' -+ case $host in -+ *cygwin | *mingw* | *cegcc* ) -+ eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' -+ eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' -+ ;; -+ esac -+ } -+ fi -+ fi -+ -+ for dlprefile in $dlprefiles; do -+ func_verbose "extracting global C symbols from \`$dlprefile'" -+ func_basename "$dlprefile" -+ name="$func_basename_result" -+ $opt_dry_run || { -+ eval '$ECHO ": $name " >> "$nlist"' -+ eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'" -+ } -+ done -+ -+ $opt_dry_run || { -+ # Make sure we have at least an empty file. -+ test -f "$nlist" || : > "$nlist" -+ -+ if test -n "$exclude_expsyms"; then -+ $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T -+ $MV "$nlist"T "$nlist" -+ fi -+ -+ # Try sorting and uniquifying the output. -+ if $GREP -v "^: " < "$nlist" | -+ if sort -k 3 /dev/null 2>&1; then -+ sort -k 3 -+ else -+ sort +2 -+ fi | -+ uniq > "$nlist"S; then -+ : -+ else -+ $GREP -v "^: " < "$nlist" > "$nlist"S -+ fi -+ -+ if test -f "$nlist"S; then -+ eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' -+ else -+ $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms" -+ fi -+ -+ $ECHO >> "$output_objdir/$my_dlsyms" "\ -+ -+/* The mapping between symbol names and symbols. */ -+typedef struct { -+ const char *name; -+ void *address; -+} lt_dlsymlist; -+" -+ case $host in -+ *cygwin* | *mingw* | *cegcc* ) -+ $ECHO >> "$output_objdir/$my_dlsyms" "\ -+/* DATA imports from DLLs on WIN32 con't be const, because -+ runtime relocations are performed -- see ld's documentation -+ on pseudo-relocs. */" -+ lt_dlsym_const= ;; -+ *osf5*) -+ echo >> "$output_objdir/$my_dlsyms" "\ -+/* This system does not cope well with relocations in const data */" -+ lt_dlsym_const= ;; -+ *) -+ lt_dlsym_const=const ;; -+ esac -+ -+ $ECHO >> "$output_objdir/$my_dlsyms" "\ -+extern $lt_dlsym_const lt_dlsymlist -+lt_${my_prefix}_LTX_preloaded_symbols[]; -+$lt_dlsym_const lt_dlsymlist -+lt_${my_prefix}_LTX_preloaded_symbols[] = -+{\ -+ { \"$my_originator\", (void *) 0 }," -+ -+ case $need_lib_prefix in -+ no) -+ eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" -+ ;; -+ *) -+ eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" -+ ;; -+ esac -+ $ECHO >> "$output_objdir/$my_dlsyms" "\ -+ {0, (void *) 0} -+}; -+ -+/* This works around a problem in FreeBSD linker */ -+#ifdef FREEBSD_WORKAROUND -+static const void *lt_preloaded_setup() { -+ return lt_${my_prefix}_LTX_preloaded_symbols; -+} -+#endif -+ -+#ifdef __cplusplus -+} -+#endif\ -+" -+ } # !$opt_dry_run -+ -+ pic_flag_for_symtable= -+ case "$compile_command " in -+ *" -static "*) ;; -+ *) -+ case $host in -+ # compiling the symbol table file with pic_flag works around -+ # a FreeBSD bug that causes programs to crash when -lm is -+ # linked before any other PIC object. But we must not use -+ # pic_flag when linking with -static. The problem exists in -+ # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. -+ *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) -+ pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; -+ *-*-hpux*) -+ pic_flag_for_symtable=" $pic_flag" ;; -+ *) -+ if test "X$my_pic_p" != Xno; then -+ pic_flag_for_symtable=" $pic_flag" -+ fi -+ ;; -+ esac -+ ;; -+ esac -+ symtab_cflags= -+ for arg in $LTCFLAGS; do -+ case $arg in -+ -pie | -fpie | -fPIE) ;; -+ *) symtab_cflags="$symtab_cflags $arg" ;; -+ esac -+ done -+ -+ # Now compile the dynamic symbol file. -+ func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' -+ -+ # Clean up the generated files. -+ func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"' -+ -+ # Transform the symbol file into the correct name. -+ symfileobj="$output_objdir/${my_outputname}S.$objext" -+ case $host in -+ *cygwin* | *mingw* | *cegcc* ) -+ if test -f "$output_objdir/$my_outputname.def"; then -+ compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` -+ finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` -+ else -+ compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` -+ finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` -+ fi -+ ;; -+ *) -+ compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` -+ finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` -+ ;; -+ esac -+ ;; -+ *) -+ func_fatal_error "unknown suffix for \`$my_dlsyms'" -+ ;; -+ esac -+ else -+ # We keep going just in case the user didn't refer to -+ # lt_preloaded_symbols. The linker will fail if global_symbol_pipe -+ # really was required. -+ -+ # Nullify the symbol file. -+ compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` -+ finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` -+ fi -+} -+ -+# func_win32_libid arg -+# return the library type of file 'arg' -+# -+# Need a lot of goo to handle *both* DLLs and import libs -+# Has to be a shell function in order to 'eat' the argument -+# that is supplied when $file_magic_command is called. -+func_win32_libid () -+{ -+ $opt_debug -+ win32_libid_type="unknown" -+ win32_fileres=`file -L $1 2>/dev/null` -+ case $win32_fileres in -+ *ar\ archive\ import\ library*) # definitely import -+ win32_libid_type="x86 archive import" -+ ;; -+ *ar\ archive*) # could be an import, or static -+ if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | -+ $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then -+ win32_nmres=`eval $NM -f posix -A $1 | -+ $SED -n -e ' -+ 1,100{ -+ / I /{ -+ s,.*,import, -+ p -+ q -+ } -+ }'` -+ case $win32_nmres in -+ import*) win32_libid_type="x86 archive import";; -+ *) win32_libid_type="x86 archive static";; -+ esac -+ fi -+ ;; -+ *DLL*) -+ win32_libid_type="x86 DLL" -+ ;; -+ *executable*) # but shell scripts are "executable" too... -+ case $win32_fileres in -+ *MS\ Windows\ PE\ Intel*) -+ win32_libid_type="x86 DLL" -+ ;; -+ esac -+ ;; -+ esac -+ $ECHO "$win32_libid_type" -+} -+ -+ -+ -+# func_extract_an_archive dir oldlib -+func_extract_an_archive () -+{ -+ $opt_debug -+ f_ex_an_ar_dir="$1"; shift -+ f_ex_an_ar_oldlib="$1" -+ func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?' -+ if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then -+ : -+ else -+ func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" -+ fi -+} -+ -+ -+# func_extract_archives gentop oldlib ... -+func_extract_archives () -+{ -+ $opt_debug -+ my_gentop="$1"; shift -+ my_oldlibs=${1+"$@"} -+ my_oldobjs="" -+ my_xlib="" -+ my_xabs="" -+ my_xdir="" -+ -+ for my_xlib in $my_oldlibs; do -+ # Extract the objects. -+ case $my_xlib in -+ [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; -+ *) my_xabs=`pwd`"/$my_xlib" ;; -+ esac -+ func_basename "$my_xlib" -+ my_xlib="$func_basename_result" -+ my_xlib_u=$my_xlib -+ while :; do -+ case " $extracted_archives " in -+ *" $my_xlib_u "*) -+ func_arith $extracted_serial + 1 -+ extracted_serial=$func_arith_result -+ my_xlib_u=lt$extracted_serial-$my_xlib ;; -+ *) break ;; -+ esac -+ done -+ extracted_archives="$extracted_archives $my_xlib_u" -+ my_xdir="$my_gentop/$my_xlib_u" -+ -+ func_mkdir_p "$my_xdir" -+ -+ case $host in -+ *-darwin*) -+ func_verbose "Extracting $my_xabs" -+ # Do not bother doing anything if just a dry run -+ $opt_dry_run || { -+ darwin_orig_dir=`pwd` -+ cd $my_xdir || exit $? -+ darwin_archive=$my_xabs -+ darwin_curdir=`pwd` -+ darwin_base_archive=`basename "$darwin_archive"` -+ darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` -+ if test -n "$darwin_arches"; then -+ darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` -+ darwin_arch= -+ func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" -+ for darwin_arch in $darwin_arches ; do -+ func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}" -+ $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" -+ cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" -+ func_extract_an_archive "`pwd`" "${darwin_base_archive}" -+ cd "$darwin_curdir" -+ $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" -+ done # $darwin_arches -+ ## Okay now we've a bunch of thin objects, gotta fatten them up :) -+ darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u` -+ darwin_file= -+ darwin_files= -+ for darwin_file in $darwin_filelist; do -+ darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` -+ $LIPO -create -output "$darwin_file" $darwin_files -+ done # $darwin_filelist -+ $RM -rf unfat-$$ -+ cd "$darwin_orig_dir" -+ else -+ cd $darwin_orig_dir -+ func_extract_an_archive "$my_xdir" "$my_xabs" -+ fi # $darwin_arches -+ } # !$opt_dry_run -+ ;; -+ *) -+ func_extract_an_archive "$my_xdir" "$my_xabs" -+ ;; -+ esac -+ my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` -+ done -+ -+ func_extract_archives_result="$my_oldobjs" -+} -+ -+ -+ -+# func_emit_wrapper_part1 [arg=no] -+# -+# Emit the first part of a libtool wrapper script on stdout. -+# For more information, see the description associated with -+# func_emit_wrapper(), below. -+func_emit_wrapper_part1 () -+{ -+ func_emit_wrapper_part1_arg1=no -+ if test -n "$1" ; then -+ func_emit_wrapper_part1_arg1=$1 -+ fi -+ -+ $ECHO "\ -+#! $SHELL -+ -+# $output - temporary wrapper script for $objdir/$outputname -+# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION -+# -+# The $output program cannot be directly executed until all the libtool -+# libraries that it depends on are installed. -+# -+# This wrapper script should never be moved out of the build directory. -+# If it is, it will not operate correctly. -+ -+# Sed substitution that helps us do robust quoting. It backslashifies -+# metacharacters that are still active within double-quoted strings. -+Xsed='${SED} -e 1s/^X//' -+sed_quote_subst='$sed_quote_subst' -+ -+# Be Bourne compatible -+if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then -+ emulate sh -+ NULLCMD=: -+ # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which -+ # is contrary to our usage. Disable this feature. -+ alias -g '\${1+\"\$@\"}'='\"\$@\"' -+ setopt NO_GLOB_SUBST -+else -+ case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac -+fi -+BIN_SH=xpg4; export BIN_SH # for Tru64 -+DUALCASE=1; export DUALCASE # for MKS sh -+ -+# The HP-UX ksh and POSIX shell print the target directory to stdout -+# if CDPATH is set. -+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH -+ -+relink_command=\"$relink_command\" -+ -+# This environment variable determines our operation mode. -+if test \"\$libtool_install_magic\" = \"$magic\"; then -+ # install mode needs the following variables: -+ generated_by_libtool_version='$macro_version' -+ notinst_deplibs='$notinst_deplibs' -+else -+ # When we are sourced in execute mode, \$file and \$ECHO are already set. -+ if test \"\$libtool_execute_magic\" != \"$magic\"; then -+ ECHO=\"$qecho\" -+ file=\"\$0\" -+ # Make sure echo works. -+ if test \"X\$1\" = X--no-reexec; then -+ # Discard the --no-reexec flag, and continue. -+ shift -+ elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then -+ # Yippee, \$ECHO works! -+ : -+ else -+ # Restart under the correct shell, and then maybe \$ECHO will work. -+ exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} -+ fi -+ fi\ -+" -+ $ECHO "\ -+ -+ # Find the directory that this script lives in. -+ thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` -+ test \"x\$thisdir\" = \"x\$file\" && thisdir=. -+ -+ # Follow symbolic links until we get to the real thisdir. -+ file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` -+ while test -n \"\$file\"; do -+ destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` -+ -+ # If there was a directory component, then change thisdir. -+ if test \"x\$destdir\" != \"x\$file\"; then -+ case \"\$destdir\" in -+ [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; -+ *) thisdir=\"\$thisdir/\$destdir\" ;; -+ esac -+ fi -+ -+ file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\` -+ file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` -+ done -+" -+} -+# end: func_emit_wrapper_part1 -+ -+# func_emit_wrapper_part2 [arg=no] -+# -+# Emit the second part of a libtool wrapper script on stdout. -+# For more information, see the description associated with -+# func_emit_wrapper(), below. -+func_emit_wrapper_part2 () -+{ -+ func_emit_wrapper_part2_arg1=no -+ if test -n "$1" ; then -+ func_emit_wrapper_part2_arg1=$1 -+ fi -+ -+ $ECHO "\ -+ -+ # Usually 'no', except on cygwin/mingw when embedded into -+ # the cwrapper. -+ WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1 -+ if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then -+ # special case for '.' -+ if test \"\$thisdir\" = \".\"; then -+ thisdir=\`pwd\` -+ fi -+ # remove .libs from thisdir -+ case \"\$thisdir\" in -+ *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;; -+ $objdir ) thisdir=. ;; -+ esac -+ fi -+ -+ # Try to get the absolute directory name. -+ absdir=\`cd \"\$thisdir\" && pwd\` -+ test -n \"\$absdir\" && thisdir=\"\$absdir\" -+" -+ -+ if test "$fast_install" = yes; then -+ $ECHO "\ -+ program=lt-'$outputname'$exeext -+ progdir=\"\$thisdir/$objdir\" -+ -+ if test ! -f \"\$progdir/\$program\" || -+ { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ -+ test \"X\$file\" != \"X\$progdir/\$program\"; }; then -+ -+ file=\"\$\$-\$program\" -+ -+ if test ! -d \"\$progdir\"; then -+ $MKDIR \"\$progdir\" -+ else -+ $RM \"\$progdir/\$file\" -+ fi" -+ -+ $ECHO "\ -+ -+ # relink executable if necessary -+ if test -n \"\$relink_command\"; then -+ if relink_command_output=\`eval \$relink_command 2>&1\`; then : -+ else -+ $ECHO \"\$relink_command_output\" >&2 -+ $RM \"\$progdir/\$file\" -+ exit 1 -+ fi -+ fi -+ -+ $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || -+ { $RM \"\$progdir/\$program\"; -+ $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } -+ $RM \"\$progdir/\$file\" -+ fi" -+ else -+ $ECHO "\ -+ program='$outputname' -+ progdir=\"\$thisdir/$objdir\" -+" -+ fi -+ -+ $ECHO "\ -+ -+ if test -f \"\$progdir/\$program\"; then" -+ -+ # Export our shlibpath_var if we have one. -+ if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then -+ $ECHO "\ -+ # Add our own library path to $shlibpath_var -+ $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" -+ -+ # Some systems cannot cope with colon-terminated $shlibpath_var -+ # The second colon is a workaround for a bug in BeOS R4 sed -+ $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` -+ -+ export $shlibpath_var -+" -+ fi -+ -+ # fixup the dll searchpath if we need to. -+ if test -n "$dllsearchpath"; then -+ $ECHO "\ -+ # Add the dll search path components to the executable PATH -+ PATH=$dllsearchpath:\$PATH -+" -+ fi -+ -+ $ECHO "\ -+ if test \"\$libtool_execute_magic\" != \"$magic\"; then -+ # Run the actual program with our arguments. -+" -+ case $host in -+ # Backslashes separate directories on plain windows -+ *-*-mingw | *-*-os2* | *-cegcc*) -+ $ECHO "\ -+ exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} -+" -+ ;; -+ -+ *) -+ $ECHO "\ -+ exec \"\$progdir/\$program\" \${1+\"\$@\"} -+" -+ ;; -+ esac -+ $ECHO "\ -+ \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 -+ exit 1 -+ fi -+ else -+ # The program doesn't exist. -+ \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 -+ \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 -+ $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 -+ exit 1 -+ fi -+fi\ -+" -+} -+# end: func_emit_wrapper_part2 -+ -+ -+# func_emit_wrapper [arg=no] -+# -+# Emit a libtool wrapper script on stdout. -+# Don't directly open a file because we may want to -+# incorporate the script contents within a cygwin/mingw -+# wrapper executable. Must ONLY be called from within -+# func_mode_link because it depends on a number of variables -+# set therein. -+# -+# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR -+# variable will take. If 'yes', then the emitted script -+# will assume that the directory in which it is stored is -+# the $objdir directory. This is a cygwin/mingw-specific -+# behavior. -+func_emit_wrapper () -+{ -+ func_emit_wrapper_arg1=no -+ if test -n "$1" ; then -+ func_emit_wrapper_arg1=$1 -+ fi -+ -+ # split this up so that func_emit_cwrapperexe_src -+ # can call each part independently. -+ func_emit_wrapper_part1 "${func_emit_wrapper_arg1}" -+ func_emit_wrapper_part2 "${func_emit_wrapper_arg1}" -+} -+ -+ -+# func_to_host_path arg -+# -+# Convert paths to host format when used with build tools. -+# Intended for use with "native" mingw (where libtool itself -+# is running under the msys shell), or in the following cross- -+# build environments: -+# $build $host -+# mingw (msys) mingw [e.g. native] -+# cygwin mingw -+# *nix + wine mingw -+# where wine is equipped with the `winepath' executable. -+# In the native mingw case, the (msys) shell automatically -+# converts paths for any non-msys applications it launches, -+# but that facility isn't available from inside the cwrapper. -+# Similar accommodations are necessary for $host mingw and -+# $build cygwin. Calling this function does no harm for other -+# $host/$build combinations not listed above. -+# -+# ARG is the path (on $build) that should be converted to -+# the proper representation for $host. The result is stored -+# in $func_to_host_path_result. -+func_to_host_path () -+{ -+ func_to_host_path_result="$1" -+ if test -n "$1" ; then -+ case $host in -+ *mingw* ) -+ lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' -+ case $build in -+ *mingw* ) # actually, msys -+ # awkward: cmd appends spaces to result -+ lt_sed_strip_trailing_spaces="s/[ ]*\$//" -+ func_to_host_path_tmp1=`( cmd //c echo "$1" |\ -+ $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` -+ func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ -+ $SED -e "$lt_sed_naive_backslashify"` -+ ;; -+ *cygwin* ) -+ func_to_host_path_tmp1=`cygpath -w "$1"` -+ func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ -+ $SED -e "$lt_sed_naive_backslashify"` -+ ;; -+ * ) -+ # Unfortunately, winepath does not exit with a non-zero -+ # error code, so we are forced to check the contents of -+ # stdout. On the other hand, if the command is not -+ # found, the shell will set an exit code of 127 and print -+ # *an error message* to stdout. So we must check for both -+ # error code of zero AND non-empty stdout, which explains -+ # the odd construction: -+ func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null` -+ if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then -+ func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ -+ $SED -e "$lt_sed_naive_backslashify"` -+ else -+ # Allow warning below. -+ func_to_host_path_result="" -+ fi -+ ;; -+ esac -+ if test -z "$func_to_host_path_result" ; then -+ func_error "Could not determine host path corresponding to" -+ func_error " '$1'" -+ func_error "Continuing, but uninstalled executables may not work." -+ # Fallback: -+ func_to_host_path_result="$1" -+ fi -+ ;; -+ esac -+ fi -+} -+# end: func_to_host_path -+ -+# func_to_host_pathlist arg -+# -+# Convert pathlists to host format when used with build tools. -+# See func_to_host_path(), above. This function supports the -+# following $build/$host combinations (but does no harm for -+# combinations not listed here): -+# $build $host -+# mingw (msys) mingw [e.g. native] -+# cygwin mingw -+# *nix + wine mingw -+# -+# Path separators are also converted from $build format to -+# $host format. If ARG begins or ends with a path separator -+# character, it is preserved (but converted to $host format) -+# on output. -+# -+# ARG is a pathlist (on $build) that should be converted to -+# the proper representation on $host. The result is stored -+# in $func_to_host_pathlist_result. -+func_to_host_pathlist () -+{ -+ func_to_host_pathlist_result="$1" -+ if test -n "$1" ; then -+ case $host in -+ *mingw* ) -+ lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' -+ # Remove leading and trailing path separator characters from -+ # ARG. msys behavior is inconsistent here, cygpath turns them -+ # into '.;' and ';.', and winepath ignores them completely. -+ func_to_host_pathlist_tmp2="$1" -+ # Once set for this call, this variable should not be -+ # reassigned. It is used in tha fallback case. -+ func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\ -+ $SED -e 's|^:*||' -e 's|:*$||'` -+ case $build in -+ *mingw* ) # Actually, msys. -+ # Awkward: cmd appends spaces to result. -+ lt_sed_strip_trailing_spaces="s/[ ]*\$//" -+ func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\ -+ $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` -+ func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ -+ $SED -e "$lt_sed_naive_backslashify"` -+ ;; -+ *cygwin* ) -+ func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"` -+ func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ -+ $SED -e "$lt_sed_naive_backslashify"` -+ ;; -+ * ) -+ # unfortunately, winepath doesn't convert pathlists -+ func_to_host_pathlist_result="" -+ func_to_host_pathlist_oldIFS=$IFS -+ IFS=: -+ for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do -+ IFS=$func_to_host_pathlist_oldIFS -+ if test -n "$func_to_host_pathlist_f" ; then -+ func_to_host_path "$func_to_host_pathlist_f" -+ if test -n "$func_to_host_path_result" ; then -+ if test -z "$func_to_host_pathlist_result" ; then -+ func_to_host_pathlist_result="$func_to_host_path_result" -+ else -+ func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result" -+ fi -+ fi -+ fi -+ IFS=: -+ done -+ IFS=$func_to_host_pathlist_oldIFS -+ ;; -+ esac -+ if test -z "$func_to_host_pathlist_result" ; then -+ func_error "Could not determine the host path(s) corresponding to" -+ func_error " '$1'" -+ func_error "Continuing, but uninstalled executables may not work." -+ # Fallback. This may break if $1 contains DOS-style drive -+ # specifications. The fix is not to complicate the expression -+ # below, but for the user to provide a working wine installation -+ # with winepath so that path translation in the cross-to-mingw -+ # case works properly. -+ lt_replace_pathsep_nix_to_dos="s|:|;|g" -+ func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\ -+ $SED -e "$lt_replace_pathsep_nix_to_dos"` -+ fi -+ # Now, add the leading and trailing path separators back -+ case "$1" in -+ :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result" -+ ;; -+ esac -+ case "$1" in -+ *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;" -+ ;; -+ esac -+ ;; -+ esac -+ fi -+} -+# end: func_to_host_pathlist -+ -+# func_emit_cwrapperexe_src -+# emit the source code for a wrapper executable on stdout -+# Must ONLY be called from within func_mode_link because -+# it depends on a number of variable set therein. -+func_emit_cwrapperexe_src () -+{ -+ cat < -+#include -+#ifdef _MSC_VER -+# include -+# include -+# include -+# define setmode _setmode -+#else -+# include -+# include -+# ifdef __CYGWIN__ -+# include -+# define HAVE_SETENV -+# ifdef __STRICT_ANSI__ -+char *realpath (const char *, char *); -+int putenv (char *); -+int setenv (const char *, const char *, int); -+# endif -+# endif -+#endif -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+ -+#if defined(PATH_MAX) -+# define LT_PATHMAX PATH_MAX -+#elif defined(MAXPATHLEN) -+# define LT_PATHMAX MAXPATHLEN -+#else -+# define LT_PATHMAX 1024 -+#endif -+ -+#ifndef S_IXOTH -+# define S_IXOTH 0 -+#endif -+#ifndef S_IXGRP -+# define S_IXGRP 0 -+#endif -+ -+#ifdef _MSC_VER -+# define S_IXUSR _S_IEXEC -+# define stat _stat -+# ifndef _INTPTR_T_DEFINED -+# define intptr_t int -+# endif -+#endif -+ -+#ifndef DIR_SEPARATOR -+# define DIR_SEPARATOR '/' -+# define PATH_SEPARATOR ':' -+#endif -+ -+#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ -+ defined (__OS2__) -+# define HAVE_DOS_BASED_FILE_SYSTEM -+# define FOPEN_WB "wb" -+# ifndef DIR_SEPARATOR_2 -+# define DIR_SEPARATOR_2 '\\' -+# endif -+# ifndef PATH_SEPARATOR_2 -+# define PATH_SEPARATOR_2 ';' -+# endif -+#endif -+ -+#ifndef DIR_SEPARATOR_2 -+# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) -+#else /* DIR_SEPARATOR_2 */ -+# define IS_DIR_SEPARATOR(ch) \ -+ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) -+#endif /* DIR_SEPARATOR_2 */ -+ -+#ifndef PATH_SEPARATOR_2 -+# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) -+#else /* PATH_SEPARATOR_2 */ -+# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) -+#endif /* PATH_SEPARATOR_2 */ -+ -+#ifdef __CYGWIN__ -+# define FOPEN_WB "wb" -+#endif -+ -+#ifndef FOPEN_WB -+# define FOPEN_WB "w" -+#endif -+#ifndef _O_BINARY -+# define _O_BINARY 0 -+#endif -+ -+#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) -+#define XFREE(stale) do { \ -+ if (stale) { free ((void *) stale); stale = 0; } \ -+} while (0) -+ -+#undef LTWRAPPER_DEBUGPRINTF -+#if defined DEBUGWRAPPER -+# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args -+static void -+ltwrapper_debugprintf (const char *fmt, ...) -+{ -+ va_list args; -+ va_start (args, fmt); -+ (void) vfprintf (stderr, fmt, args); -+ va_end (args); -+} -+#else -+# define LTWRAPPER_DEBUGPRINTF(args) -+#endif -+ -+const char *program_name = NULL; -+ -+void *xmalloc (size_t num); -+char *xstrdup (const char *string); -+const char *base_name (const char *name); -+char *find_executable (const char *wrapper); -+char *chase_symlinks (const char *pathspec); -+int make_executable (const char *path); -+int check_executable (const char *path); -+char *strendzap (char *str, const char *pat); -+void lt_fatal (const char *message, ...); -+void lt_setenv (const char *name, const char *value); -+char *lt_extend_str (const char *orig_value, const char *add, int to_end); -+void lt_opt_process_env_set (const char *arg); -+void lt_opt_process_env_prepend (const char *arg); -+void lt_opt_process_env_append (const char *arg); -+int lt_split_name_value (const char *arg, char** name, char** value); -+void lt_update_exe_path (const char *name, const char *value); -+void lt_update_lib_path (const char *name, const char *value); -+ -+static const char *script_text_part1 = -+EOF -+ -+ func_emit_wrapper_part1 yes | -+ $SED -e 's/\([\\"]\)/\\\1/g' \ -+ -e 's/^/ "/' -e 's/$/\\n"/' -+ echo ";" -+ cat <"))); -+ for (i = 0; i < newargc; i++) -+ { -+ LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : ""))); -+ } -+ -+EOF -+ -+ case $host_os in -+ mingw*) -+ cat <<"EOF" -+ /* execv doesn't actually work on mingw as expected on unix */ -+ rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz); -+ if (rval == -1) -+ { -+ /* failed to start process */ -+ LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno)); -+ return 127; -+ } -+ return rval; -+EOF -+ ;; -+ *) -+ cat <<"EOF" -+ execv (lt_argv_zero, newargz); -+ return rval; /* =127, but avoids unused variable warning */ -+EOF -+ ;; -+ esac -+ -+ cat <<"EOF" -+} -+ -+void * -+xmalloc (size_t num) -+{ -+ void *p = (void *) malloc (num); -+ if (!p) -+ lt_fatal ("Memory exhausted"); -+ -+ return p; -+} -+ -+char * -+xstrdup (const char *string) -+{ -+ return string ? strcpy ((char *) xmalloc (strlen (string) + 1), -+ string) : NULL; -+} -+ -+const char * -+base_name (const char *name) -+{ -+ const char *base; -+ -+#if defined (HAVE_DOS_BASED_FILE_SYSTEM) -+ /* Skip over the disk name in MSDOS pathnames. */ -+ if (isalpha ((unsigned char) name[0]) && name[1] == ':') -+ name += 2; -+#endif -+ -+ for (base = name; *name; name++) -+ if (IS_DIR_SEPARATOR (*name)) -+ base = name + 1; -+ return base; -+} -+ -+int -+check_executable (const char *path) -+{ -+ struct stat st; -+ -+ LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n", -+ path ? (*path ? path : "EMPTY!") : "NULL!")); -+ if ((!path) || (!*path)) -+ return 0; -+ -+ if ((stat (path, &st) >= 0) -+ && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) -+ return 1; -+ else -+ return 0; -+} -+ -+int -+make_executable (const char *path) -+{ -+ int rval = 0; -+ struct stat st; -+ -+ LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n", -+ path ? (*path ? path : "EMPTY!") : "NULL!")); -+ if ((!path) || (!*path)) -+ return 0; -+ -+ if (stat (path, &st) >= 0) -+ { -+ rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); -+ } -+ return rval; -+} -+ -+/* Searches for the full path of the wrapper. Returns -+ newly allocated full path name if found, NULL otherwise -+ Does not chase symlinks, even on platforms that support them. -+*/ -+char * -+find_executable (const char *wrapper) -+{ -+ int has_slash = 0; -+ const char *p; -+ const char *p_next; -+ /* static buffer for getcwd */ -+ char tmp[LT_PATHMAX + 1]; -+ int tmp_len; -+ char *concat_name; -+ -+ LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n", -+ wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!")); -+ -+ if ((wrapper == NULL) || (*wrapper == '\0')) -+ return NULL; -+ -+ /* Absolute path? */ -+#if defined (HAVE_DOS_BASED_FILE_SYSTEM) -+ if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') -+ { -+ concat_name = xstrdup (wrapper); -+ if (check_executable (concat_name)) -+ return concat_name; -+ XFREE (concat_name); -+ } -+ else -+ { -+#endif -+ if (IS_DIR_SEPARATOR (wrapper[0])) -+ { -+ concat_name = xstrdup (wrapper); -+ if (check_executable (concat_name)) -+ return concat_name; -+ XFREE (concat_name); -+ } -+#if defined (HAVE_DOS_BASED_FILE_SYSTEM) -+ } -+#endif -+ -+ for (p = wrapper; *p; p++) -+ if (*p == '/') -+ { -+ has_slash = 1; -+ break; -+ } -+ if (!has_slash) -+ { -+ /* no slashes; search PATH */ -+ const char *path = getenv ("PATH"); -+ if (path != NULL) -+ { -+ for (p = path; *p; p = p_next) -+ { -+ const char *q; -+ size_t p_len; -+ for (q = p; *q; q++) -+ if (IS_PATH_SEPARATOR (*q)) -+ break; -+ p_len = q - p; -+ p_next = (*q == '\0' ? q : q + 1); -+ if (p_len == 0) -+ { -+ /* empty path: current directory */ -+ if (getcwd (tmp, LT_PATHMAX) == NULL) -+ lt_fatal ("getcwd failed"); -+ tmp_len = strlen (tmp); -+ concat_name = -+ XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); -+ memcpy (concat_name, tmp, tmp_len); -+ concat_name[tmp_len] = '/'; -+ strcpy (concat_name + tmp_len + 1, wrapper); -+ } -+ else -+ { -+ concat_name = -+ XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); -+ memcpy (concat_name, p, p_len); -+ concat_name[p_len] = '/'; -+ strcpy (concat_name + p_len + 1, wrapper); -+ } -+ if (check_executable (concat_name)) -+ return concat_name; -+ XFREE (concat_name); -+ } -+ } -+ /* not found in PATH; assume curdir */ -+ } -+ /* Relative path | not found in path: prepend cwd */ -+ if (getcwd (tmp, LT_PATHMAX) == NULL) -+ lt_fatal ("getcwd failed"); -+ tmp_len = strlen (tmp); -+ concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); -+ memcpy (concat_name, tmp, tmp_len); -+ concat_name[tmp_len] = '/'; -+ strcpy (concat_name + tmp_len + 1, wrapper); -+ -+ if (check_executable (concat_name)) -+ return concat_name; -+ XFREE (concat_name); -+ return NULL; -+} -+ -+char * -+chase_symlinks (const char *pathspec) -+{ -+#ifndef S_ISLNK -+ return xstrdup (pathspec); -+#else -+ char buf[LT_PATHMAX]; -+ struct stat s; -+ char *tmp_pathspec = xstrdup (pathspec); -+ char *p; -+ int has_symlinks = 0; -+ while (strlen (tmp_pathspec) && !has_symlinks) -+ { -+ LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n", -+ tmp_pathspec)); -+ if (lstat (tmp_pathspec, &s) == 0) -+ { -+ if (S_ISLNK (s.st_mode) != 0) -+ { -+ has_symlinks = 1; -+ break; -+ } -+ -+ /* search backwards for last DIR_SEPARATOR */ -+ p = tmp_pathspec + strlen (tmp_pathspec) - 1; -+ while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) -+ p--; -+ if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) -+ { -+ /* no more DIR_SEPARATORS left */ -+ break; -+ } -+ *p = '\0'; -+ } -+ else -+ { -+ char *errstr = strerror (errno); -+ lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr); -+ } -+ } -+ XFREE (tmp_pathspec); -+ -+ if (!has_symlinks) -+ { -+ return xstrdup (pathspec); -+ } -+ -+ tmp_pathspec = realpath (pathspec, buf); -+ if (tmp_pathspec == 0) -+ { -+ lt_fatal ("Could not follow symlinks for %s", pathspec); -+ } -+ return xstrdup (tmp_pathspec); -+#endif -+} -+ -+char * -+strendzap (char *str, const char *pat) -+{ -+ size_t len, patlen; -+ -+ assert (str != NULL); -+ assert (pat != NULL); -+ -+ len = strlen (str); -+ patlen = strlen (pat); -+ -+ if (patlen <= len) -+ { -+ str += len - patlen; -+ if (strcmp (str, pat) == 0) -+ *str = '\0'; -+ } -+ return str; -+} -+ -+static void -+lt_error_core (int exit_status, const char *mode, -+ const char *message, va_list ap) -+{ -+ fprintf (stderr, "%s: %s: ", program_name, mode); -+ vfprintf (stderr, message, ap); -+ fprintf (stderr, ".\n"); -+ -+ if (exit_status >= 0) -+ exit (exit_status); -+} -+ -+void -+lt_fatal (const char *message, ...) -+{ -+ va_list ap; -+ va_start (ap, message); -+ lt_error_core (EXIT_FAILURE, "FATAL", message, ap); -+ va_end (ap); -+} -+ -+void -+lt_setenv (const char *name, const char *value) -+{ -+ LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n", -+ (name ? name : ""), -+ (value ? value : ""))); -+ { -+#ifdef HAVE_SETENV -+ /* always make a copy, for consistency with !HAVE_SETENV */ -+ char *str = xstrdup (value); -+ setenv (name, str, 1); -+#else -+ int len = strlen (name) + 1 + strlen (value) + 1; -+ char *str = XMALLOC (char, len); -+ sprintf (str, "%s=%s", name, value); -+ if (putenv (str) != EXIT_SUCCESS) -+ { -+ XFREE (str); -+ } -+#endif -+ } -+} -+ -+char * -+lt_extend_str (const char *orig_value, const char *add, int to_end) -+{ -+ char *new_value; -+ if (orig_value && *orig_value) -+ { -+ int orig_value_len = strlen (orig_value); -+ int add_len = strlen (add); -+ new_value = XMALLOC (char, add_len + orig_value_len + 1); -+ if (to_end) -+ { -+ strcpy (new_value, orig_value); -+ strcpy (new_value + orig_value_len, add); -+ } -+ else -+ { -+ strcpy (new_value, add); -+ strcpy (new_value + add_len, orig_value); -+ } -+ } -+ else -+ { -+ new_value = xstrdup (add); -+ } -+ return new_value; -+} -+ -+int -+lt_split_name_value (const char *arg, char** name, char** value) -+{ -+ const char *p; -+ int len; -+ if (!arg || !*arg) -+ return 1; -+ -+ p = strchr (arg, (int)'='); -+ -+ if (!p) -+ return 1; -+ -+ *value = xstrdup (++p); -+ -+ len = strlen (arg) - strlen (*value); -+ *name = XMALLOC (char, len); -+ strncpy (*name, arg, len-1); -+ (*name)[len - 1] = '\0'; -+ -+ return 0; -+} -+ -+void -+lt_opt_process_env_set (const char *arg) -+{ -+ char *name = NULL; -+ char *value = NULL; -+ -+ if (lt_split_name_value (arg, &name, &value) != 0) -+ { -+ XFREE (name); -+ XFREE (value); -+ lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg); -+ } -+ -+ lt_setenv (name, value); -+ XFREE (name); -+ XFREE (value); -+} -+ -+void -+lt_opt_process_env_prepend (const char *arg) -+{ -+ char *name = NULL; -+ char *value = NULL; -+ char *new_value = NULL; -+ -+ if (lt_split_name_value (arg, &name, &value) != 0) -+ { -+ XFREE (name); -+ XFREE (value); -+ lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg); -+ } -+ -+ new_value = lt_extend_str (getenv (name), value, 0); -+ lt_setenv (name, new_value); -+ XFREE (new_value); -+ XFREE (name); -+ XFREE (value); -+} -+ -+void -+lt_opt_process_env_append (const char *arg) -+{ -+ char *name = NULL; -+ char *value = NULL; -+ char *new_value = NULL; -+ -+ if (lt_split_name_value (arg, &name, &value) != 0) -+ { -+ XFREE (name); -+ XFREE (value); -+ lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg); -+ } -+ -+ new_value = lt_extend_str (getenv (name), value, 1); -+ lt_setenv (name, new_value); -+ XFREE (new_value); -+ XFREE (name); -+ XFREE (value); -+} -+ -+void -+lt_update_exe_path (const char *name, const char *value) -+{ -+ LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n", -+ (name ? name : ""), -+ (value ? value : ""))); -+ -+ if (name && *name && value && *value) -+ { -+ char *new_value = lt_extend_str (getenv (name), value, 0); -+ /* some systems can't cope with a ':'-terminated path #' */ -+ int len = strlen (new_value); -+ while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) -+ { -+ new_value[len-1] = '\0'; -+ } -+ lt_setenv (name, new_value); -+ XFREE (new_value); -+ } -+} -+ -+void -+lt_update_lib_path (const char *name, const char *value) -+{ -+ LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n", -+ (name ? name : ""), -+ (value ? value : ""))); -+ -+ if (name && *name && value && *value) -+ { -+ char *new_value = lt_extend_str (getenv (name), value, 0); -+ lt_setenv (name, new_value); -+ XFREE (new_value); -+ } -+} -+ -+ -+EOF -+} -+# end: func_emit_cwrapperexe_src -+ -+# func_mode_link arg... -+func_mode_link () -+{ -+ $opt_debug -+ case $host in -+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) -+ # It is impossible to link a dll without this setting, and -+ # we shouldn't force the makefile maintainer to figure out -+ # which system we are compiling for in order to pass an extra -+ # flag for every libtool invocation. -+ # allow_undefined=no -+ -+ # FIXME: Unfortunately, there are problems with the above when trying -+ # to make a dll which has undefined symbols, in which case not -+ # even a static library is built. For now, we need to specify -+ # -no-undefined on the libtool link line when we can be certain -+ # that all symbols are satisfied, otherwise we get a static library. -+ allow_undefined=yes -+ ;; -+ *) -+ allow_undefined=yes -+ ;; -+ esac -+ libtool_args=$nonopt -+ base_compile="$nonopt $@" -+ compile_command=$nonopt -+ finalize_command=$nonopt -+ -+ compile_rpath= -+ finalize_rpath= -+ compile_shlibpath= -+ finalize_shlibpath= -+ convenience= -+ old_convenience= -+ deplibs= -+ old_deplibs= -+ compiler_flags= -+ linker_flags= -+ dllsearchpath= -+ lib_search_path=`pwd` -+ inst_prefix_dir= -+ new_inherited_linker_flags= -+ -+ avoid_version=no -+ dlfiles= -+ dlprefiles= -+ dlself=no -+ export_dynamic=no -+ export_symbols= -+ export_symbols_regex= -+ generated= -+ libobjs= -+ ltlibs= -+ module=no -+ no_install=no -+ objs= -+ non_pic_objects= -+ precious_files_regex= -+ prefer_static_libs=no -+ preload=no -+ prev= -+ prevarg= -+ release= -+ rpath= -+ xrpath= -+ perm_rpath= -+ temp_rpath= -+ thread_safe=no -+ vinfo= -+ vinfo_number=no -+ weak_libs= -+ single_module="${wl}-single_module" -+ func_infer_tag $base_compile -+ -+ # We need to know -static, to get the right output filenames. -+ for arg -+ do -+ case $arg in -+ -shared) -+ test "$build_libtool_libs" != yes && \ -+ func_fatal_configuration "can not build a shared library" -+ build_old_libs=no -+ break -+ ;; -+ -all-static | -static | -static-libtool-libs) -+ case $arg in -+ -all-static) -+ if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then -+ func_warning "complete static linking is impossible in this configuration" -+ fi -+ if test -n "$link_static_flag"; then -+ dlopen_self=$dlopen_self_static -+ fi -+ prefer_static_libs=yes -+ ;; -+ -static) -+ if test -z "$pic_flag" && test -n "$link_static_flag"; then -+ dlopen_self=$dlopen_self_static -+ fi -+ prefer_static_libs=built -+ ;; -+ -static-libtool-libs) -+ if test -z "$pic_flag" && test -n "$link_static_flag"; then -+ dlopen_self=$dlopen_self_static -+ fi -+ prefer_static_libs=yes -+ ;; -+ esac -+ build_libtool_libs=no -+ build_old_libs=yes -+ break -+ ;; -+ esac -+ done -+ -+ # See if our shared archives depend on static archives. -+ test -n "$old_archive_from_new_cmds" && build_old_libs=yes -+ -+ # Go through the arguments, transforming them on the way. -+ while test "$#" -gt 0; do -+ arg="$1" -+ shift -+ func_quote_for_eval "$arg" -+ qarg=$func_quote_for_eval_unquoted_result -+ func_append libtool_args " $func_quote_for_eval_result" -+ -+ # If the previous option needs an argument, assign it. -+ if test -n "$prev"; then -+ case $prev in -+ output) -+ func_append compile_command " @OUTPUT@" -+ func_append finalize_command " @OUTPUT@" -+ ;; -+ esac -+ -+ case $prev in -+ dlfiles|dlprefiles) -+ if test "$preload" = no; then -+ # Add the symbol object into the linking commands. -+ func_append compile_command " @SYMFILE@" -+ func_append finalize_command " @SYMFILE@" -+ preload=yes -+ fi -+ case $arg in -+ *.la | *.lo) ;; # We handle these cases below. -+ force) -+ if test "$dlself" = no; then -+ dlself=needless -+ export_dynamic=yes -+ fi -+ prev= -+ continue -+ ;; -+ self) -+ if test "$prev" = dlprefiles; then -+ dlself=yes -+ elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then -+ dlself=yes -+ else -+ dlself=needless -+ export_dynamic=yes -+ fi -+ prev= -+ continue -+ ;; -+ *) -+ if test "$prev" = dlfiles; then -+ dlfiles="$dlfiles $arg" -+ else -+ dlprefiles="$dlprefiles $arg" -+ fi -+ prev= -+ continue -+ ;; -+ esac -+ ;; -+ expsyms) -+ export_symbols="$arg" -+ test -f "$arg" \ -+ || func_fatal_error "symbol file \`$arg' does not exist" -+ prev= -+ continue -+ ;; -+ expsyms_regex) -+ export_symbols_regex="$arg" -+ prev= -+ continue -+ ;; -+ framework) -+ case $host in -+ *-*-darwin*) -+ case "$deplibs " in -+ *" $qarg.ltframework "*) ;; -+ *) deplibs="$deplibs $qarg.ltframework" # this is fixed later -+ ;; -+ esac -+ ;; -+ esac -+ prev= -+ continue -+ ;; -+ inst_prefix) -+ inst_prefix_dir="$arg" -+ prev= -+ continue -+ ;; -+ objectlist) -+ if test -f "$arg"; then -+ save_arg=$arg -+ moreargs= -+ for fil in `cat "$save_arg"` -+ do -+# moreargs="$moreargs $fil" -+ arg=$fil -+ # A libtool-controlled object. -+ -+ # Check to see that this really is a libtool object. -+ if func_lalib_unsafe_p "$arg"; then -+ pic_object= -+ non_pic_object= -+ -+ # Read the .lo file -+ func_source "$arg" -+ -+ if test -z "$pic_object" || -+ test -z "$non_pic_object" || -+ test "$pic_object" = none && -+ test "$non_pic_object" = none; then -+ func_fatal_error "cannot find name of object for \`$arg'" -+ fi -+ -+ # Extract subdirectory from the argument. -+ func_dirname "$arg" "/" "" -+ xdir="$func_dirname_result" -+ -+ if test "$pic_object" != none; then -+ # Prepend the subdirectory the object is found in. -+ pic_object="$xdir$pic_object" -+ -+ if test "$prev" = dlfiles; then -+ if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then -+ dlfiles="$dlfiles $pic_object" -+ prev= -+ continue -+ else -+ # If libtool objects are unsupported, then we need to preload. -+ prev=dlprefiles -+ fi -+ fi -+ -+ # CHECK ME: I think I busted this. -Ossama -+ if test "$prev" = dlprefiles; then -+ # Preload the old-style object. -+ dlprefiles="$dlprefiles $pic_object" -+ prev= -+ fi -+ -+ # A PIC object. -+ func_append libobjs " $pic_object" -+ arg="$pic_object" -+ fi -+ -+ # Non-PIC object. -+ if test "$non_pic_object" != none; then -+ # Prepend the subdirectory the object is found in. -+ non_pic_object="$xdir$non_pic_object" -+ -+ # A standard non-PIC object -+ func_append non_pic_objects " $non_pic_object" -+ if test -z "$pic_object" || test "$pic_object" = none ; then -+ arg="$non_pic_object" -+ fi -+ else -+ # If the PIC object exists, use it instead. -+ # $xdir was prepended to $pic_object above. -+ non_pic_object="$pic_object" -+ func_append non_pic_objects " $non_pic_object" -+ fi -+ else -+ # Only an error if not doing a dry-run. -+ if $opt_dry_run; then -+ # Extract subdirectory from the argument. -+ func_dirname "$arg" "/" "" -+ xdir="$func_dirname_result" -+ -+ func_lo2o "$arg" -+ pic_object=$xdir$objdir/$func_lo2o_result -+ non_pic_object=$xdir$func_lo2o_result -+ func_append libobjs " $pic_object" -+ func_append non_pic_objects " $non_pic_object" -+ else -+ func_fatal_error "\`$arg' is not a valid libtool object" -+ fi -+ fi -+ done -+ else -+ func_fatal_error "link input file \`$arg' does not exist" -+ fi -+ arg=$save_arg -+ prev= -+ continue -+ ;; -+ precious_regex) -+ precious_files_regex="$arg" -+ prev= -+ continue -+ ;; -+ release) -+ release="-$arg" -+ prev= -+ continue -+ ;; -+ rpath | xrpath) -+ # We need an absolute path. -+ case $arg in -+ [\\/]* | [A-Za-z]:[\\/]*) ;; -+ *) -+ func_fatal_error "only absolute run-paths are allowed" -+ ;; -+ esac -+ if test "$prev" = rpath; then -+ case "$rpath " in -+ *" $arg "*) ;; -+ *) rpath="$rpath $arg" ;; -+ esac -+ else -+ case "$xrpath " in -+ *" $arg "*) ;; -+ *) xrpath="$xrpath $arg" ;; -+ esac -+ fi -+ prev= -+ continue -+ ;; -+ shrext) -+ shrext_cmds="$arg" -+ prev= -+ continue -+ ;; -+ weak) -+ weak_libs="$weak_libs $arg" -+ prev= -+ continue -+ ;; -+ xcclinker) -+ linker_flags="$linker_flags $qarg" -+ compiler_flags="$compiler_flags $qarg" -+ prev= -+ func_append compile_command " $qarg" -+ func_append finalize_command " $qarg" -+ continue -+ ;; -+ xcompiler) -+ compiler_flags="$compiler_flags $qarg" -+ prev= -+ func_append compile_command " $qarg" -+ func_append finalize_command " $qarg" -+ continue -+ ;; -+ xlinker) -+ linker_flags="$linker_flags $qarg" -+ compiler_flags="$compiler_flags $wl$qarg" -+ prev= -+ func_append compile_command " $wl$qarg" -+ func_append finalize_command " $wl$qarg" -+ continue -+ ;; -+ *) -+ eval "$prev=\"\$arg\"" -+ prev= -+ continue -+ ;; -+ esac -+ fi # test -n "$prev" -+ -+ prevarg="$arg" -+ -+ case $arg in -+ -all-static) -+ if test -n "$link_static_flag"; then -+ # See comment for -static flag below, for more details. -+ func_append compile_command " $link_static_flag" -+ func_append finalize_command " $link_static_flag" -+ fi -+ continue -+ ;; -+ -+ -allow-undefined) -+ # FIXME: remove this flag sometime in the future. -+ func_fatal_error "\`-allow-undefined' must not be used because it is the default" -+ ;; -+ -+ -avoid-version) -+ avoid_version=yes -+ continue -+ ;; -+ -+ -dlopen) -+ prev=dlfiles -+ continue -+ ;; -+ -+ -dlpreopen) -+ prev=dlprefiles -+ continue -+ ;; -+ -+ -export-dynamic) -+ export_dynamic=yes -+ continue -+ ;; -+ -+ -export-symbols | -export-symbols-regex) -+ if test -n "$export_symbols" || test -n "$export_symbols_regex"; then -+ func_fatal_error "more than one -exported-symbols argument is not allowed" -+ fi -+ if test "X$arg" = "X-export-symbols"; then -+ prev=expsyms -+ else -+ prev=expsyms_regex -+ fi -+ continue -+ ;; -+ -+ -framework) -+ prev=framework -+ continue -+ ;; -+ -+ -inst-prefix-dir) -+ prev=inst_prefix -+ continue -+ ;; -+ -+ # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* -+ # so, if we see these flags be careful not to treat them like -L -+ -L[A-Z][A-Z]*:*) -+ case $with_gcc/$host in -+ no/*-*-irix* | /*-*-irix*) -+ func_append compile_command " $arg" -+ func_append finalize_command " $arg" -+ ;; -+ esac -+ continue -+ ;; -+ -+ -L*) -+ func_stripname '-L' '' "$arg" -+ dir=$func_stripname_result -+ if test -z "$dir"; then -+ if test "$#" -gt 0; then -+ func_fatal_error "require no space between \`-L' and \`$1'" -+ else -+ func_fatal_error "need path for \`-L' option" -+ fi -+ fi -+ # We need an absolute path. -+ case $dir in -+ [\\/]* | [A-Za-z]:[\\/]*) ;; -+ *) -+ absdir=`cd "$dir" && pwd` -+ test -z "$absdir" && \ -+ func_fatal_error "cannot determine absolute directory name of \`$dir'" -+ dir="$absdir" -+ ;; -+ esac -+ case "$deplibs " in -+ *" -L$dir "*) ;; -+ *) -+ deplibs="$deplibs -L$dir" -+ lib_search_path="$lib_search_path $dir" -+ ;; -+ esac -+ case $host in -+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) -+ testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'` -+ case :$dllsearchpath: in -+ *":$dir:"*) ;; -+ ::) dllsearchpath=$dir;; -+ *) dllsearchpath="$dllsearchpath:$dir";; -+ esac -+ case :$dllsearchpath: in -+ *":$testbindir:"*) ;; -+ ::) dllsearchpath=$testbindir;; -+ *) dllsearchpath="$dllsearchpath:$testbindir";; -+ esac -+ ;; -+ esac -+ continue -+ ;; -+ -+ -l*) -+ if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then -+ case $host in -+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*) -+ # These systems don't actually have a C or math library (as such) -+ continue -+ ;; -+ *-*-os2*) -+ # These systems don't actually have a C library (as such) -+ test "X$arg" = "X-lc" && continue -+ ;; -+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) -+ # Do not include libc due to us having libc/libc_r. -+ test "X$arg" = "X-lc" && continue -+ ;; -+ *-*-rhapsody* | *-*-darwin1.[012]) -+ # Rhapsody C and math libraries are in the System framework -+ deplibs="$deplibs System.ltframework" -+ continue -+ ;; -+ *-*-sco3.2v5* | *-*-sco5v6*) -+ # Causes problems with __ctype -+ test "X$arg" = "X-lc" && continue -+ ;; -+ *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) -+ # Compiler inserts libc in the correct place for threads to work -+ test "X$arg" = "X-lc" && continue -+ ;; -+ esac -+ elif test "X$arg" = "X-lc_r"; then -+ case $host in -+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) -+ # Do not include libc_r directly, use -pthread flag. -+ continue -+ ;; -+ esac -+ fi -+ deplibs="$deplibs $arg" -+ continue -+ ;; -+ -+ -module) -+ module=yes -+ continue -+ ;; -+ -+ # Tru64 UNIX uses -model [arg] to determine the layout of C++ -+ # classes, name mangling, and exception handling. -+ # Darwin uses the -arch flag to determine output architecture. -+ -model|-arch|-isysroot) -+ compiler_flags="$compiler_flags $arg" -+ func_append compile_command " $arg" -+ func_append finalize_command " $arg" -+ prev=xcompiler -+ continue -+ ;; -+ -+ -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) -+ compiler_flags="$compiler_flags $arg" -+ func_append compile_command " $arg" -+ func_append finalize_command " $arg" -+ case "$new_inherited_linker_flags " in -+ *" $arg "*) ;; -+ * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;; -+ esac -+ continue -+ ;; -+ -+ -multi_module) -+ single_module="${wl}-multi_module" -+ continue -+ ;; -+ -+ -no-fast-install) -+ fast_install=no -+ continue -+ ;; -+ -+ -no-install) -+ case $host in -+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) -+ # The PATH hackery in wrapper scripts is required on Windows -+ # and Darwin in order for the loader to find any dlls it needs. -+ func_warning "\`-no-install' is ignored for $host" -+ func_warning "assuming \`-no-fast-install' instead" -+ fast_install=no -+ ;; -+ *) no_install=yes ;; -+ esac -+ continue -+ ;; -+ -+ -no-undefined) -+ allow_undefined=no -+ continue -+ ;; -+ -+ -objectlist) -+ prev=objectlist -+ continue -+ ;; -+ -+ -o) prev=output ;; -+ -+ -precious-files-regex) -+ prev=precious_regex -+ continue -+ ;; -+ -+ -release) -+ prev=release -+ continue -+ ;; -+ -+ -rpath) -+ prev=rpath -+ continue -+ ;; -+ -+ -R) -+ prev=xrpath -+ continue -+ ;; -+ -+ -R*) -+ func_stripname '-R' '' "$arg" -+ dir=$func_stripname_result -+ # We need an absolute path. -+ case $dir in -+ [\\/]* | [A-Za-z]:[\\/]*) ;; -+ *) -+ func_fatal_error "only absolute run-paths are allowed" -+ ;; -+ esac -+ case "$xrpath " in -+ *" $dir "*) ;; -+ *) xrpath="$xrpath $dir" ;; -+ esac -+ continue -+ ;; -+ -+ -shared) -+ # The effects of -shared are defined in a previous loop. -+ continue -+ ;; -+ -+ -shrext) -+ prev=shrext -+ continue -+ ;; -+ -+ -static | -static-libtool-libs) -+ # The effects of -static are defined in a previous loop. -+ # We used to do the same as -all-static on platforms that -+ # didn't have a PIC flag, but the assumption that the effects -+ # would be equivalent was wrong. It would break on at least -+ # Digital Unix and AIX. -+ continue -+ ;; -+ -+ -thread-safe) -+ thread_safe=yes -+ continue -+ ;; -+ -+ -version-info) -+ prev=vinfo -+ continue -+ ;; -+ -+ -version-number) -+ prev=vinfo -+ vinfo_number=yes -+ continue -+ ;; -+ -+ -weak) -+ prev=weak -+ continue -+ ;; -+ -+ -Wc,*) -+ func_stripname '-Wc,' '' "$arg" -+ args=$func_stripname_result -+ arg= -+ save_ifs="$IFS"; IFS=',' -+ for flag in $args; do -+ IFS="$save_ifs" -+ func_quote_for_eval "$flag" -+ arg="$arg $wl$func_quote_for_eval_result" -+ compiler_flags="$compiler_flags $func_quote_for_eval_result" -+ done -+ IFS="$save_ifs" -+ func_stripname ' ' '' "$arg" -+ arg=$func_stripname_result -+ ;; -+ -+ -Wl,*) -+ func_stripname '-Wl,' '' "$arg" -+ args=$func_stripname_result -+ arg= -+ save_ifs="$IFS"; IFS=',' -+ for flag in $args; do -+ IFS="$save_ifs" -+ func_quote_for_eval "$flag" -+ arg="$arg $wl$func_quote_for_eval_result" -+ compiler_flags="$compiler_flags $wl$func_quote_for_eval_result" -+ linker_flags="$linker_flags $func_quote_for_eval_result" -+ done -+ IFS="$save_ifs" -+ func_stripname ' ' '' "$arg" -+ arg=$func_stripname_result -+ ;; -+ -+ -Xcompiler) -+ prev=xcompiler -+ continue -+ ;; -+ -+ -Xlinker) -+ prev=xlinker -+ continue -+ ;; -+ -+ -XCClinker) -+ prev=xcclinker -+ continue -+ ;; -+ -+ # -msg_* for osf cc -+ -msg_*) -+ func_quote_for_eval "$arg" -+ arg="$func_quote_for_eval_result" -+ ;; -+ -+ # -64, -mips[0-9] enable 64-bit mode on the SGI compiler -+ # -r[0-9][0-9]* specifies the processor on the SGI compiler -+ # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler -+ # +DA*, +DD* enable 64-bit mode on the HP compiler -+ # -q* pass through compiler args for the IBM compiler -+ # -m*, -t[45]*, -txscale* pass through architecture-specific -+ # compiler args for GCC -+ # -F/path gives path to uninstalled frameworks, gcc on darwin -+ # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC -+ # @file GCC response files -+ -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) -+ func_quote_for_eval "$arg" -+ arg="$func_quote_for_eval_result" -+ func_append compile_command " $arg" -+ func_append finalize_command " $arg" -+ compiler_flags="$compiler_flags $arg" -+ continue -+ ;; -+ -+ # Some other compiler flag. -+ -* | +*) -+ func_quote_for_eval "$arg" -+ arg="$func_quote_for_eval_result" -+ ;; -+ -+ *.$objext) -+ # A standard object. -+ objs="$objs $arg" -+ ;; -+ -+ *.lo) -+ # A libtool-controlled object. -+ -+ # Check to see that this really is a libtool object. -+ if func_lalib_unsafe_p "$arg"; then -+ pic_object= -+ non_pic_object= -+ -+ # Read the .lo file -+ func_source "$arg" -+ -+ if test -z "$pic_object" || -+ test -z "$non_pic_object" || -+ test "$pic_object" = none && -+ test "$non_pic_object" = none; then -+ func_fatal_error "cannot find name of object for \`$arg'" -+ fi -+ -+ # Extract subdirectory from the argument. -+ func_dirname "$arg" "/" "" -+ xdir="$func_dirname_result" -+ -+ if test "$pic_object" != none; then -+ # Prepend the subdirectory the object is found in. -+ pic_object="$xdir$pic_object" -+ -+ if test "$prev" = dlfiles; then -+ if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then -+ dlfiles="$dlfiles $pic_object" -+ prev= -+ continue -+ else -+ # If libtool objects are unsupported, then we need to preload. -+ prev=dlprefiles -+ fi -+ fi -+ -+ # CHECK ME: I think I busted this. -Ossama -+ if test "$prev" = dlprefiles; then -+ # Preload the old-style object. -+ dlprefiles="$dlprefiles $pic_object" -+ prev= -+ fi -+ -+ # A PIC object. -+ func_append libobjs " $pic_object" -+ arg="$pic_object" -+ fi -+ -+ # Non-PIC object. -+ if test "$non_pic_object" != none; then -+ # Prepend the subdirectory the object is found in. -+ non_pic_object="$xdir$non_pic_object" -+ -+ # A standard non-PIC object -+ func_append non_pic_objects " $non_pic_object" -+ if test -z "$pic_object" || test "$pic_object" = none ; then -+ arg="$non_pic_object" -+ fi -+ else -+ # If the PIC object exists, use it instead. -+ # $xdir was prepended to $pic_object above. -+ non_pic_object="$pic_object" -+ func_append non_pic_objects " $non_pic_object" -+ fi -+ else -+ # Only an error if not doing a dry-run. -+ if $opt_dry_run; then -+ # Extract subdirectory from the argument. -+ func_dirname "$arg" "/" "" -+ xdir="$func_dirname_result" -+ -+ func_lo2o "$arg" -+ pic_object=$xdir$objdir/$func_lo2o_result -+ non_pic_object=$xdir$func_lo2o_result -+ func_append libobjs " $pic_object" -+ func_append non_pic_objects " $non_pic_object" -+ else -+ func_fatal_error "\`$arg' is not a valid libtool object" -+ fi -+ fi -+ ;; -+ -+ *.$libext) -+ # An archive. -+ deplibs="$deplibs $arg" -+ old_deplibs="$old_deplibs $arg" -+ continue -+ ;; -+ -+ *.la) -+ # A libtool-controlled library. -+ -+ if test "$prev" = dlfiles; then -+ # This library was specified with -dlopen. -+ dlfiles="$dlfiles $arg" -+ prev= -+ elif test "$prev" = dlprefiles; then -+ # The library was specified with -dlpreopen. -+ dlprefiles="$dlprefiles $arg" -+ prev= -+ else -+ deplibs="$deplibs $arg" -+ fi -+ continue -+ ;; -+ -+ # Some other compiler argument. -+ *) -+ # Unknown arguments in both finalize_command and compile_command need -+ # to be aesthetically quoted because they are evaled later. -+ func_quote_for_eval "$arg" -+ arg="$func_quote_for_eval_result" -+ ;; -+ esac # arg -+ -+ # Now actually substitute the argument into the commands. -+ if test -n "$arg"; then -+ func_append compile_command " $arg" -+ func_append finalize_command " $arg" -+ fi -+ done # argument parsing loop -+ -+ test -n "$prev" && \ -+ func_fatal_help "the \`$prevarg' option requires an argument" -+ -+ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then -+ eval arg=\"$export_dynamic_flag_spec\" -+ func_append compile_command " $arg" -+ func_append finalize_command " $arg" -+ fi -+ -+ oldlibs= -+ # calculate the name of the file, without its directory -+ func_basename "$output" -+ outputname="$func_basename_result" -+ libobjs_save="$libobjs" -+ -+ if test -n "$shlibpath_var"; then -+ # get the directories listed in $shlibpath_var -+ eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` -+ else -+ shlib_search_path= -+ fi -+ eval sys_lib_search_path=\"$sys_lib_search_path_spec\" -+ eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" -+ -+ func_dirname "$output" "/" "" -+ output_objdir="$func_dirname_result$objdir" -+ # Create the object directory. -+ func_mkdir_p "$output_objdir" -+ -+ # Determine the type of output -+ case $output in -+ "") -+ func_fatal_help "you must specify an output file" -+ ;; -+ *.$libext) linkmode=oldlib ;; -+ *.lo | *.$objext) linkmode=obj ;; -+ *.la) linkmode=lib ;; -+ *) linkmode=prog ;; # Anything else should be a program. -+ esac -+ -+ specialdeplibs= -+ -+ libs= -+ # Find all interdependent deplibs by searching for libraries -+ # that are linked more than once (e.g. -la -lb -la) -+ for deplib in $deplibs; do -+ if $opt_duplicate_deps ; then -+ case "$libs " in -+ *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; -+ esac -+ fi -+ libs="$libs $deplib" -+ done -+ -+ if test "$linkmode" = lib; then -+ libs="$predeps $libs $compiler_lib_search_path $postdeps" -+ -+ # Compute libraries that are listed more than once in $predeps -+ # $postdeps and mark them as special (i.e., whose duplicates are -+ # not to be eliminated). -+ pre_post_deps= -+ if $opt_duplicate_compiler_generated_deps; then -+ for pre_post_dep in $predeps $postdeps; do -+ case "$pre_post_deps " in -+ *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; -+ esac -+ pre_post_deps="$pre_post_deps $pre_post_dep" -+ done -+ fi -+ pre_post_deps= -+ fi -+ -+ deplibs= -+ newdependency_libs= -+ newlib_search_path= -+ need_relink=no # whether we're linking any uninstalled libtool libraries -+ notinst_deplibs= # not-installed libtool libraries -+ notinst_path= # paths that contain not-installed libtool libraries -+ -+ case $linkmode in -+ lib) -+ passes="conv dlpreopen link" -+ for file in $dlfiles $dlprefiles; do -+ case $file in -+ *.la) ;; -+ *) -+ func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file" -+ ;; -+ esac -+ done -+ ;; -+ prog) -+ compile_deplibs= -+ finalize_deplibs= -+ alldeplibs=no -+ newdlfiles= -+ newdlprefiles= -+ passes="conv scan dlopen dlpreopen link" -+ ;; -+ *) passes="conv" -+ ;; -+ esac -+ -+ for pass in $passes; do -+ # The preopen pass in lib mode reverses $deplibs; put it back here -+ # so that -L comes before libs that need it for instance... -+ if test "$linkmode,$pass" = "lib,link"; then -+ ## FIXME: Find the place where the list is rebuilt in the wrong -+ ## order, and fix it there properly -+ tmp_deplibs= -+ for deplib in $deplibs; do -+ tmp_deplibs="$deplib $tmp_deplibs" -+ done -+ deplibs="$tmp_deplibs" -+ fi -+ -+ if test "$linkmode,$pass" = "lib,link" || -+ test "$linkmode,$pass" = "prog,scan"; then -+ libs="$deplibs" -+ deplibs= -+ fi -+ if test "$linkmode" = prog; then -+ case $pass in -+ dlopen) libs="$dlfiles" ;; -+ dlpreopen) libs="$dlprefiles" ;; -+ link) -+ libs="$deplibs %DEPLIBS%" -+ test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" -+ ;; -+ esac -+ fi -+ if test "$linkmode,$pass" = "lib,dlpreopen"; then -+ # Collect and forward deplibs of preopened libtool libs -+ for lib in $dlprefiles; do -+ # Ignore non-libtool-libs -+ dependency_libs= -+ case $lib in -+ *.la) func_source "$lib" ;; -+ esac -+ -+ # Collect preopened libtool deplibs, except any this library -+ # has declared as weak libs -+ for deplib in $dependency_libs; do -+ deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"` -+ case " $weak_libs " in -+ *" $deplib_base "*) ;; -+ *) deplibs="$deplibs $deplib" ;; -+ esac -+ done -+ done -+ libs="$dlprefiles" -+ fi -+ if test "$pass" = dlopen; then -+ # Collect dlpreopened libraries -+ save_deplibs="$deplibs" -+ deplibs= -+ fi -+ -+ for deplib in $libs; do -+ lib= -+ found=no -+ case $deplib in -+ -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) -+ if test "$linkmode,$pass" = "prog,link"; then -+ compile_deplibs="$deplib $compile_deplibs" -+ finalize_deplibs="$deplib $finalize_deplibs" -+ else -+ compiler_flags="$compiler_flags $deplib" -+ if test "$linkmode" = lib ; then -+ case "$new_inherited_linker_flags " in -+ *" $deplib "*) ;; -+ * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; -+ esac -+ fi -+ fi -+ continue -+ ;; -+ -l*) -+ if test "$linkmode" != lib && test "$linkmode" != prog; then -+ func_warning "\`-l' is ignored for archives/objects" -+ continue -+ fi -+ func_stripname '-l' '' "$deplib" -+ name=$func_stripname_result -+ if test "$linkmode" = lib; then -+ searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" -+ else -+ searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" -+ fi -+ for searchdir in $searchdirs; do -+ for search_ext in .la $std_shrext .so .a; do -+ # Search the libtool library -+ lib="$searchdir/lib${name}${search_ext}" -+ if test -f "$lib"; then -+ if test "$search_ext" = ".la"; then -+ found=yes -+ else -+ found=no -+ fi -+ break 2 -+ fi -+ done -+ done -+ if test "$found" != yes; then -+ # deplib doesn't seem to be a libtool library -+ if test "$linkmode,$pass" = "prog,link"; then -+ compile_deplibs="$deplib $compile_deplibs" -+ finalize_deplibs="$deplib $finalize_deplibs" -+ else -+ deplibs="$deplib $deplibs" -+ test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" -+ fi -+ continue -+ else # deplib is a libtool library -+ # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, -+ # We need to do some special things here, and not later. -+ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then -+ case " $predeps $postdeps " in -+ *" $deplib "*) -+ if func_lalib_p "$lib"; then -+ library_names= -+ old_library= -+ func_source "$lib" -+ for l in $old_library $library_names; do -+ ll="$l" -+ done -+ if test "X$ll" = "X$old_library" ; then # only static version available -+ found=no -+ func_dirname "$lib" "" "." -+ ladir="$func_dirname_result" -+ lib=$ladir/$old_library -+ if test "$linkmode,$pass" = "prog,link"; then -+ compile_deplibs="$deplib $compile_deplibs" -+ finalize_deplibs="$deplib $finalize_deplibs" -+ else -+ deplibs="$deplib $deplibs" -+ test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" -+ fi -+ continue -+ fi -+ fi -+ ;; -+ *) ;; -+ esac -+ fi -+ fi -+ ;; # -l -+ *.ltframework) -+ if test "$linkmode,$pass" = "prog,link"; then -+ compile_deplibs="$deplib $compile_deplibs" -+ finalize_deplibs="$deplib $finalize_deplibs" -+ else -+ deplibs="$deplib $deplibs" -+ if test "$linkmode" = lib ; then -+ case "$new_inherited_linker_flags " in -+ *" $deplib "*) ;; -+ * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; -+ esac -+ fi -+ fi -+ continue -+ ;; -+ -L*) -+ case $linkmode in -+ lib) -+ deplibs="$deplib $deplibs" -+ test "$pass" = conv && continue -+ newdependency_libs="$deplib $newdependency_libs" -+ func_stripname '-L' '' "$deplib" -+ newlib_search_path="$newlib_search_path $func_stripname_result" -+ ;; -+ prog) -+ if test "$pass" = conv; then -+ deplibs="$deplib $deplibs" -+ continue -+ fi -+ if test "$pass" = scan; then -+ deplibs="$deplib $deplibs" -+ else -+ compile_deplibs="$deplib $compile_deplibs" -+ finalize_deplibs="$deplib $finalize_deplibs" -+ fi -+ func_stripname '-L' '' "$deplib" -+ newlib_search_path="$newlib_search_path $func_stripname_result" -+ ;; -+ *) -+ func_warning "\`-L' is ignored for archives/objects" -+ ;; -+ esac # linkmode -+ continue -+ ;; # -L -+ -R*) -+ if test "$pass" = link; then -+ func_stripname '-R' '' "$deplib" -+ dir=$func_stripname_result -+ # Make sure the xrpath contains only unique directories. -+ case "$xrpath " in -+ *" $dir "*) ;; -+ *) xrpath="$xrpath $dir" ;; -+ esac -+ fi -+ deplibs="$deplib $deplibs" -+ continue -+ ;; -+ *.la) lib="$deplib" ;; -+ *.$libext) -+ if test "$pass" = conv; then -+ deplibs="$deplib $deplibs" -+ continue -+ fi -+ case $linkmode in -+ lib) -+ # Linking convenience modules into shared libraries is allowed, -+ # but linking other static libraries is non-portable. -+ case " $dlpreconveniencelibs " in -+ *" $deplib "*) ;; -+ *) -+ valid_a_lib=no -+ case $deplibs_check_method in -+ match_pattern*) -+ set dummy $deplibs_check_method; shift -+ match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` -+ if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \ -+ | $EGREP "$match_pattern_regex" > /dev/null; then -+ valid_a_lib=yes -+ fi -+ ;; -+ pass_all) -+ valid_a_lib=yes -+ ;; -+ esac -+ if test "$valid_a_lib" != yes; then -+ $ECHO -+ $ECHO "*** Warning: Trying to link with static lib archive $deplib." -+ $ECHO "*** I have the capability to make that library automatically link in when" -+ $ECHO "*** you link to this library. But I can only do this if you have a" -+ $ECHO "*** shared version of the library, which you do not appear to have" -+ $ECHO "*** because the file extensions .$libext of this argument makes me believe" -+ $ECHO "*** that it is just a static archive that I should not use here." -+ else -+ $ECHO -+ $ECHO "*** Warning: Linking the shared library $output against the" -+ $ECHO "*** static library $deplib is not portable!" -+ deplibs="$deplib $deplibs" -+ fi -+ ;; -+ esac -+ continue -+ ;; -+ prog) -+ if test "$pass" != link; then -+ deplibs="$deplib $deplibs" -+ else -+ compile_deplibs="$deplib $compile_deplibs" -+ finalize_deplibs="$deplib $finalize_deplibs" -+ fi -+ continue -+ ;; -+ esac # linkmode -+ ;; # *.$libext -+ *.lo | *.$objext) -+ if test "$pass" = conv; then -+ deplibs="$deplib $deplibs" -+ elif test "$linkmode" = prog; then -+ if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then -+ # If there is no dlopen support or we're linking statically, -+ # we need to preload. -+ newdlprefiles="$newdlprefiles $deplib" -+ compile_deplibs="$deplib $compile_deplibs" -+ finalize_deplibs="$deplib $finalize_deplibs" -+ else -+ newdlfiles="$newdlfiles $deplib" -+ fi -+ fi -+ continue -+ ;; -+ %DEPLIBS%) -+ alldeplibs=yes -+ continue -+ ;; -+ esac # case $deplib -+ -+ if test "$found" = yes || test -f "$lib"; then : -+ else -+ func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'" -+ fi -+ -+ # Check to see that this really is a libtool archive. -+ func_lalib_unsafe_p "$lib" \ -+ || func_fatal_error "\`$lib' is not a valid libtool archive" -+ -+ func_dirname "$lib" "" "." -+ ladir="$func_dirname_result" -+ -+ dlname= -+ dlopen= -+ dlpreopen= -+ libdir= -+ library_names= -+ old_library= -+ inherited_linker_flags= -+ # If the library was installed with an old release of libtool, -+ # it will not redefine variables installed, or shouldnotlink -+ installed=yes -+ shouldnotlink=no -+ avoidtemprpath= -+ -+ -+ # Read the .la file -+ func_source "$lib" -+ -+ # Convert "-framework foo" to "foo.ltframework" -+ if test -n "$inherited_linker_flags"; then -+ tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'` -+ for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do -+ case " $new_inherited_linker_flags " in -+ *" $tmp_inherited_linker_flag "*) ;; -+ *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";; -+ esac -+ done -+ fi -+ dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` -+ if test "$linkmode,$pass" = "lib,link" || -+ test "$linkmode,$pass" = "prog,scan" || -+ { test "$linkmode" != prog && test "$linkmode" != lib; }; then -+ test -n "$dlopen" && dlfiles="$dlfiles $dlopen" -+ test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" -+ fi -+ -+ if test "$pass" = conv; then -+ # Only check for convenience libraries -+ deplibs="$lib $deplibs" -+ if test -z "$libdir"; then -+ if test -z "$old_library"; then -+ func_fatal_error "cannot find name of link library for \`$lib'" -+ fi -+ # It is a libtool convenience library, so add in its objects. -+ convenience="$convenience $ladir/$objdir/$old_library" -+ old_convenience="$old_convenience $ladir/$objdir/$old_library" -+ tmp_libs= -+ for deplib in $dependency_libs; do -+ deplibs="$deplib $deplibs" -+ if $opt_duplicate_deps ; then -+ case "$tmp_libs " in -+ *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; -+ esac -+ fi -+ tmp_libs="$tmp_libs $deplib" -+ done -+ elif test "$linkmode" != prog && test "$linkmode" != lib; then -+ func_fatal_error "\`$lib' is not a convenience library" -+ fi -+ continue -+ fi # $pass = conv -+ -+ -+ # Get the name of the library we link against. -+ linklib= -+ for l in $old_library $library_names; do -+ linklib="$l" -+ done -+ if test -z "$linklib"; then -+ func_fatal_error "cannot find name of link library for \`$lib'" -+ fi -+ -+ # This library was specified with -dlopen. -+ if test "$pass" = dlopen; then -+ if test -z "$libdir"; then -+ func_fatal_error "cannot -dlopen a convenience library: \`$lib'" -+ fi -+ if test -z "$dlname" || -+ test "$dlopen_support" != yes || -+ test "$build_libtool_libs" = no; then -+ # If there is no dlname, no dlopen support or we're linking -+ # statically, we need to preload. We also need to preload any -+ # dependent libraries so libltdl's deplib preloader doesn't -+ # bomb out in the load deplibs phase. -+ dlprefiles="$dlprefiles $lib $dependency_libs" -+ else -+ newdlfiles="$newdlfiles $lib" -+ fi -+ continue -+ fi # $pass = dlopen -+ -+ # We need an absolute path. -+ case $ladir in -+ [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; -+ *) -+ abs_ladir=`cd "$ladir" && pwd` -+ if test -z "$abs_ladir"; then -+ func_warning "cannot determine absolute directory name of \`$ladir'" -+ func_warning "passing it literally to the linker, although it might fail" -+ abs_ladir="$ladir" -+ fi -+ ;; -+ esac -+ func_basename "$lib" -+ laname="$func_basename_result" -+ -+ # Find the relevant object directory and library name. -+ if test "X$installed" = Xyes; then -+ if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then -+ func_warning "library \`$lib' was moved." -+ dir="$ladir" -+ absdir="$abs_ladir" -+ libdir="$abs_ladir" -+ else -+ dir="$libdir" -+ absdir="$libdir" -+ fi -+ test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes -+ else -+ if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then -+ dir="$ladir" -+ absdir="$abs_ladir" -+ # Remove this search path later -+ notinst_path="$notinst_path $abs_ladir" -+ else -+ dir="$ladir/$objdir" -+ absdir="$abs_ladir/$objdir" -+ # Remove this search path later -+ notinst_path="$notinst_path $abs_ladir" -+ fi -+ fi # $installed = yes -+ func_stripname 'lib' '.la' "$laname" -+ name=$func_stripname_result -+ -+ # This library was specified with -dlpreopen. -+ if test "$pass" = dlpreopen; then -+ if test -z "$libdir" && test "$linkmode" = prog; then -+ func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'" -+ fi -+ # Prefer using a static library (so that no silly _DYNAMIC symbols -+ # are required to link). -+ if test -n "$old_library"; then -+ newdlprefiles="$newdlprefiles $dir/$old_library" -+ # Keep a list of preopened convenience libraries to check -+ # that they are being used correctly in the link pass. -+ test -z "$libdir" && \ -+ dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library" -+ # Otherwise, use the dlname, so that lt_dlopen finds it. -+ elif test -n "$dlname"; then -+ newdlprefiles="$newdlprefiles $dir/$dlname" -+ else -+ newdlprefiles="$newdlprefiles $dir/$linklib" -+ fi -+ fi # $pass = dlpreopen -+ -+ if test -z "$libdir"; then -+ # Link the convenience library -+ if test "$linkmode" = lib; then -+ deplibs="$dir/$old_library $deplibs" -+ elif test "$linkmode,$pass" = "prog,link"; then -+ compile_deplibs="$dir/$old_library $compile_deplibs" -+ finalize_deplibs="$dir/$old_library $finalize_deplibs" -+ else -+ deplibs="$lib $deplibs" # used for prog,scan pass -+ fi -+ continue -+ fi -+ -+ -+ if test "$linkmode" = prog && test "$pass" != link; then -+ newlib_search_path="$newlib_search_path $ladir" -+ deplibs="$lib $deplibs" -+ -+ linkalldeplibs=no -+ if test "$link_all_deplibs" != no || test -z "$library_names" || -+ test "$build_libtool_libs" = no; then -+ linkalldeplibs=yes -+ fi -+ -+ tmp_libs= -+ for deplib in $dependency_libs; do -+ case $deplib in -+ -L*) func_stripname '-L' '' "$deplib" -+ newlib_search_path="$newlib_search_path $func_stripname_result" -+ ;; -+ esac -+ # Need to link against all dependency_libs? -+ if test "$linkalldeplibs" = yes; then -+ deplibs="$deplib $deplibs" -+ else -+ # Need to hardcode shared library paths -+ # or/and link against static libraries -+ newdependency_libs="$deplib $newdependency_libs" -+ fi -+ if $opt_duplicate_deps ; then -+ case "$tmp_libs " in -+ *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; -+ esac -+ fi -+ tmp_libs="$tmp_libs $deplib" -+ done # for deplib -+ continue -+ fi # $linkmode = prog... -+ -+ if test "$linkmode,$pass" = "prog,link"; then -+ if test -n "$library_names" && -+ { { test "$prefer_static_libs" = no || -+ test "$prefer_static_libs,$installed" = "built,yes"; } || -+ test -z "$old_library"; }; then -+ # We need to hardcode the library path -+ if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then -+ # Make sure the rpath contains only unique directories. -+ case "$temp_rpath:" in -+ *"$absdir:"*) ;; -+ *) temp_rpath="$temp_rpath$absdir:" ;; -+ esac -+ fi -+ -+ # Hardcode the library path. -+ # Skip directories that are in the system default run-time -+ # search path. -+ case " $sys_lib_dlsearch_path " in -+ *" $absdir "*) ;; -+ *) -+ case "$compile_rpath " in -+ *" $absdir "*) ;; -+ *) compile_rpath="$compile_rpath $absdir" -+ esac -+ ;; -+ esac -+ case " $sys_lib_dlsearch_path " in -+ *" $libdir "*) ;; -+ *) -+ case "$finalize_rpath " in -+ *" $libdir "*) ;; -+ *) finalize_rpath="$finalize_rpath $libdir" -+ esac -+ ;; -+ esac -+ fi # $linkmode,$pass = prog,link... -+ -+ if test "$alldeplibs" = yes && -+ { test "$deplibs_check_method" = pass_all || -+ { test "$build_libtool_libs" = yes && -+ test -n "$library_names"; }; }; then -+ # We only need to search for static libraries -+ continue -+ fi -+ fi -+ -+ link_static=no # Whether the deplib will be linked statically -+ use_static_libs=$prefer_static_libs -+ if test "$use_static_libs" = built && test "$installed" = yes; then -+ use_static_libs=no -+ fi -+ if test -n "$library_names" && -+ { test "$use_static_libs" = no || test -z "$old_library"; }; then -+ case $host in -+ *cygwin* | *mingw* | *cegcc*) -+ # No point in relinking DLLs because paths are not encoded -+ notinst_deplibs="$notinst_deplibs $lib" -+ need_relink=no -+ ;; -+ *) -+ if test "$installed" = no; then -+ notinst_deplibs="$notinst_deplibs $lib" -+ need_relink=yes -+ fi -+ ;; -+ esac -+ # This is a shared library -+ -+ # Warn about portability, can't link against -module's on some -+ # systems (darwin). Don't bleat about dlopened modules though! -+ dlopenmodule="" -+ for dlpremoduletest in $dlprefiles; do -+ if test "X$dlpremoduletest" = "X$lib"; then -+ dlopenmodule="$dlpremoduletest" -+ break -+ fi -+ done -+ if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then -+ $ECHO -+ if test "$linkmode" = prog; then -+ $ECHO "*** Warning: Linking the executable $output against the loadable module" -+ else -+ $ECHO "*** Warning: Linking the shared library $output against the loadable module" -+ fi -+ $ECHO "*** $linklib is not portable!" -+ fi -+ if test "$linkmode" = lib && -+ test "$hardcode_into_libs" = yes; then -+ # Hardcode the library path. -+ # Skip directories that are in the system default run-time -+ # search path. -+ case " $sys_lib_dlsearch_path " in -+ *" $absdir "*) ;; -+ *) -+ case "$compile_rpath " in -+ *" $absdir "*) ;; -+ *) compile_rpath="$compile_rpath $absdir" -+ esac -+ ;; -+ esac -+ case " $sys_lib_dlsearch_path " in -+ *" $libdir "*) ;; -+ *) -+ case "$finalize_rpath " in -+ *" $libdir "*) ;; -+ *) finalize_rpath="$finalize_rpath $libdir" -+ esac -+ ;; -+ esac -+ fi -+ -+ if test -n "$old_archive_from_expsyms_cmds"; then -+ # figure out the soname -+ set dummy $library_names -+ shift -+ realname="$1" -+ shift -+ libname=`eval "\\$ECHO \"$libname_spec\""` -+ # use dlname if we got it. it's perfectly good, no? -+ if test -n "$dlname"; then -+ soname="$dlname" -+ elif test -n "$soname_spec"; then -+ # bleh windows -+ case $host in -+ *cygwin* | mingw* | *cegcc*) -+ func_arith $current - $age -+ major=$func_arith_result -+ versuffix="-$major" -+ ;; -+ esac -+ eval soname=\"$soname_spec\" -+ else -+ soname="$realname" -+ fi -+ -+ # Make a new name for the extract_expsyms_cmds to use -+ soroot="$soname" -+ func_basename "$soroot" -+ soname="$func_basename_result" -+ func_stripname 'lib' '.dll' "$soname" -+ newlib=libimp-$func_stripname_result.a -+ -+ # If the library has no export list, then create one now -+ if test -f "$output_objdir/$soname-def"; then : -+ else -+ func_verbose "extracting exported symbol list from \`$soname'" -+ func_execute_cmds "$extract_expsyms_cmds" 'exit $?' -+ fi -+ -+ # Create $newlib -+ if test -f "$output_objdir/$newlib"; then :; else -+ func_verbose "generating import library for \`$soname'" -+ func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' -+ fi -+ # make sure the library variables are pointing to the new library -+ dir=$output_objdir -+ linklib=$newlib -+ fi # test -n "$old_archive_from_expsyms_cmds" -+ -+ if test "$linkmode" = prog || test "$mode" != relink; then -+ add_shlibpath= -+ add_dir= -+ add= -+ lib_linked=yes -+ case $hardcode_action in -+ immediate | unsupported) -+ if test "$hardcode_direct" = no; then -+ add="$dir/$linklib" -+ case $host in -+ *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; -+ *-*-sysv4*uw2*) add_dir="-L$dir" ;; -+ *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ -+ *-*-unixware7*) add_dir="-L$dir" ;; -+ *-*-darwin* ) -+ # if the lib is a (non-dlopened) module then we can not -+ # link against it, someone is ignoring the earlier warnings -+ if /usr/bin/file -L $add 2> /dev/null | -+ $GREP ": [^:]* bundle" >/dev/null ; then -+ if test "X$dlopenmodule" != "X$lib"; then -+ $ECHO "*** Warning: lib $linklib is a module, not a shared library" -+ if test -z "$old_library" ; then -+ $ECHO -+ $ECHO "*** And there doesn't seem to be a static archive available" -+ $ECHO "*** The link will probably fail, sorry" -+ else -+ add="$dir/$old_library" -+ fi -+ elif test -n "$old_library"; then -+ add="$dir/$old_library" -+ fi -+ fi -+ esac -+ elif test "$hardcode_minus_L" = no; then -+ case $host in -+ *-*-sunos*) add_shlibpath="$dir" ;; -+ esac -+ add_dir="-L$dir" -+ add="-l$name" -+ elif test "$hardcode_shlibpath_var" = no; then -+ add_shlibpath="$dir" -+ add="-l$name" -+ else -+ lib_linked=no -+ fi -+ ;; -+ relink) -+ if test "$hardcode_direct" = yes && -+ test "$hardcode_direct_absolute" = no; then -+ add="$dir/$linklib" -+ elif test "$hardcode_minus_L" = yes; then -+ add_dir="-L$dir" -+ # Try looking first in the location we're being installed to. -+ if test -n "$inst_prefix_dir"; then -+ case $libdir in -+ [\\/]*) -+ add_dir="$add_dir -L$inst_prefix_dir$libdir" -+ ;; -+ esac -+ fi -+ add="-l$name" -+ elif test "$hardcode_shlibpath_var" = yes; then -+ add_shlibpath="$dir" -+ add="-l$name" -+ else -+ lib_linked=no -+ fi -+ ;; -+ *) lib_linked=no ;; -+ esac -+ -+ if test "$lib_linked" != yes; then -+ func_fatal_configuration "unsupported hardcode properties" -+ fi -+ -+ if test -n "$add_shlibpath"; then -+ case :$compile_shlibpath: in -+ *":$add_shlibpath:"*) ;; -+ *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; -+ esac -+ fi -+ if test "$linkmode" = prog; then -+ test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" -+ test -n "$add" && compile_deplibs="$add $compile_deplibs" -+ else -+ test -n "$add_dir" && deplibs="$add_dir $deplibs" -+ test -n "$add" && deplibs="$add $deplibs" -+ if test "$hardcode_direct" != yes && -+ test "$hardcode_minus_L" != yes && -+ test "$hardcode_shlibpath_var" = yes; then -+ case :$finalize_shlibpath: in -+ *":$libdir:"*) ;; -+ *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; -+ esac -+ fi -+ fi -+ fi -+ -+ if test "$linkmode" = prog || test "$mode" = relink; then -+ add_shlibpath= -+ add_dir= -+ add= -+ # Finalize command for both is simple: just hardcode it. -+ if test "$hardcode_direct" = yes && -+ test "$hardcode_direct_absolute" = no; then -+ add="$libdir/$linklib" -+ elif test "$hardcode_minus_L" = yes; then -+ add_dir="-L$libdir" -+ add="-l$name" -+ elif test "$hardcode_shlibpath_var" = yes; then -+ case :$finalize_shlibpath: in -+ *":$libdir:"*) ;; -+ *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; -+ esac -+ add="-l$name" -+ elif test "$hardcode_automatic" = yes; then -+ if test -n "$inst_prefix_dir" && -+ test -f "$inst_prefix_dir$libdir/$linklib" ; then -+ add="$inst_prefix_dir$libdir/$linklib" -+ else -+ add="$libdir/$linklib" -+ fi -+ else -+ # We cannot seem to hardcode it, guess we'll fake it. -+ add_dir="-L$libdir" -+ # Try looking first in the location we're being installed to. -+ if test -n "$inst_prefix_dir"; then -+ case $libdir in -+ [\\/]*) -+ add_dir="$add_dir -L$inst_prefix_dir$libdir" -+ ;; -+ esac -+ fi -+ add="-l$name" -+ fi -+ -+ if test "$linkmode" = prog; then -+ test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" -+ test -n "$add" && finalize_deplibs="$add $finalize_deplibs" -+ else -+ test -n "$add_dir" && deplibs="$add_dir $deplibs" -+ test -n "$add" && deplibs="$add $deplibs" -+ fi -+ fi -+ elif test "$linkmode" = prog; then -+ # Here we assume that one of hardcode_direct or hardcode_minus_L -+ # is not unsupported. This is valid on all known static and -+ # shared platforms. -+ if test "$hardcode_direct" != unsupported; then -+ test -n "$old_library" && linklib="$old_library" -+ compile_deplibs="$dir/$linklib $compile_deplibs" -+ finalize_deplibs="$dir/$linklib $finalize_deplibs" -+ else -+ compile_deplibs="-l$name -L$dir $compile_deplibs" -+ finalize_deplibs="-l$name -L$dir $finalize_deplibs" -+ fi -+ elif test "$build_libtool_libs" = yes; then -+ # Not a shared library -+ if test "$deplibs_check_method" != pass_all; then -+ # We're trying link a shared library against a static one -+ # but the system doesn't support it. -+ -+ # Just print a warning and add the library to dependency_libs so -+ # that the program can be linked against the static library. -+ $ECHO -+ $ECHO "*** Warning: This system can not link to static lib archive $lib." -+ $ECHO "*** I have the capability to make that library automatically link in when" -+ $ECHO "*** you link to this library. But I can only do this if you have a" -+ $ECHO "*** shared version of the library, which you do not appear to have." -+ if test "$module" = yes; then -+ $ECHO "*** But as you try to build a module library, libtool will still create " -+ $ECHO "*** a static module, that should work as long as the dlopening application" -+ $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime." -+ if test -z "$global_symbol_pipe"; then -+ $ECHO -+ $ECHO "*** However, this would only work if libtool was able to extract symbol" -+ $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could" -+ $ECHO "*** not find such a program. So, this module is probably useless." -+ $ECHO "*** \`nm' from GNU binutils and a full rebuild may help." -+ fi -+ if test "$build_old_libs" = no; then -+ build_libtool_libs=module -+ build_old_libs=yes -+ else -+ build_libtool_libs=no -+ fi -+ fi -+ else -+ deplibs="$dir/$old_library $deplibs" -+ link_static=yes -+ fi -+ fi # link shared/static library? -+ -+ if test "$linkmode" = lib; then -+ if test -n "$dependency_libs" && -+ { test "$hardcode_into_libs" != yes || -+ test "$build_old_libs" = yes || -+ test "$link_static" = yes; }; then -+ # Extract -R from dependency_libs -+ temp_deplibs= -+ for libdir in $dependency_libs; do -+ case $libdir in -+ -R*) func_stripname '-R' '' "$libdir" -+ temp_xrpath=$func_stripname_result -+ case " $xrpath " in -+ *" $temp_xrpath "*) ;; -+ *) xrpath="$xrpath $temp_xrpath";; -+ esac;; -+ *) temp_deplibs="$temp_deplibs $libdir";; -+ esac -+ done -+ dependency_libs="$temp_deplibs" -+ fi -+ -+ newlib_search_path="$newlib_search_path $absdir" -+ # Link against this library -+ test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" -+ # ... and its dependency_libs -+ tmp_libs= -+ for deplib in $dependency_libs; do -+ newdependency_libs="$deplib $newdependency_libs" -+ if $opt_duplicate_deps ; then -+ case "$tmp_libs " in -+ *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; -+ esac -+ fi -+ tmp_libs="$tmp_libs $deplib" -+ done -+ -+ if test "$link_all_deplibs" != no; then -+ # Add the search paths of all dependency libraries -+ for deplib in $dependency_libs; do -+ path= -+ case $deplib in -+ -L*) path="$deplib" ;; -+ *.la) -+ func_dirname "$deplib" "" "." -+ dir="$func_dirname_result" -+ # We need an absolute path. -+ case $dir in -+ [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; -+ *) -+ absdir=`cd "$dir" && pwd` -+ if test -z "$absdir"; then -+ func_warning "cannot determine absolute directory name of \`$dir'" -+ absdir="$dir" -+ fi -+ ;; -+ esac -+ if $GREP "^installed=no" $deplib > /dev/null; then -+ case $host in -+ *-*-darwin*) -+ depdepl= -+ eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` -+ if test -n "$deplibrary_names" ; then -+ for tmp in $deplibrary_names ; do -+ depdepl=$tmp -+ done -+ if test -f "$absdir/$objdir/$depdepl" ; then -+ depdepl="$absdir/$objdir/$depdepl" -+ darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` -+ if test -z "$darwin_install_name"; then -+ darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` -+ fi -+ compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" -+ linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}" -+ path= -+ fi -+ fi -+ ;; -+ *) -+ path="-L$absdir/$objdir" -+ ;; -+ esac -+ else -+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` -+ test -z "$libdir" && \ -+ func_fatal_error "\`$deplib' is not a valid libtool archive" -+ test "$absdir" != "$libdir" && \ -+ func_warning "\`$deplib' seems to be moved" -+ -+ path="-L$absdir" -+ fi -+ ;; -+ esac -+ case " $deplibs " in -+ *" $path "*) ;; -+ *) deplibs="$path $deplibs" ;; -+ esac -+ done -+ fi # link_all_deplibs != no -+ fi # linkmode = lib -+ done # for deplib in $libs -+ if test "$pass" = link; then -+ if test "$linkmode" = "prog"; then -+ compile_deplibs="$new_inherited_linker_flags $compile_deplibs" -+ finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" -+ else -+ compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` -+ fi -+ fi -+ dependency_libs="$newdependency_libs" -+ if test "$pass" = dlpreopen; then -+ # Link the dlpreopened libraries before other libraries -+ for deplib in $save_deplibs; do -+ deplibs="$deplib $deplibs" -+ done -+ fi -+ if test "$pass" != dlopen; then -+ if test "$pass" != conv; then -+ # Make sure lib_search_path contains only unique directories. -+ lib_search_path= -+ for dir in $newlib_search_path; do -+ case "$lib_search_path " in -+ *" $dir "*) ;; -+ *) lib_search_path="$lib_search_path $dir" ;; -+ esac -+ done -+ newlib_search_path= -+ fi -+ -+ if test "$linkmode,$pass" != "prog,link"; then -+ vars="deplibs" -+ else -+ vars="compile_deplibs finalize_deplibs" -+ fi -+ for var in $vars dependency_libs; do -+ # Add libraries to $var in reverse order -+ eval tmp_libs=\"\$$var\" -+ new_libs= -+ for deplib in $tmp_libs; do -+ # FIXME: Pedantically, this is the right thing to do, so -+ # that some nasty dependency loop isn't accidentally -+ # broken: -+ #new_libs="$deplib $new_libs" -+ # Pragmatically, this seems to cause very few problems in -+ # practice: -+ case $deplib in -+ -L*) new_libs="$deplib $new_libs" ;; -+ -R*) ;; -+ *) -+ # And here is the reason: when a library appears more -+ # than once as an explicit dependence of a library, or -+ # is implicitly linked in more than once by the -+ # compiler, it is considered special, and multiple -+ # occurrences thereof are not removed. Compare this -+ # with having the same library being listed as a -+ # dependency of multiple other libraries: in this case, -+ # we know (pedantically, we assume) the library does not -+ # need to be listed more than once, so we keep only the -+ # last copy. This is not always right, but it is rare -+ # enough that we require users that really mean to play -+ # such unportable linking tricks to link the library -+ # using -Wl,-lname, so that libtool does not consider it -+ # for duplicate removal. -+ case " $specialdeplibs " in -+ *" $deplib "*) new_libs="$deplib $new_libs" ;; -+ *) -+ case " $new_libs " in -+ *" $deplib "*) ;; -+ *) new_libs="$deplib $new_libs" ;; -+ esac -+ ;; -+ esac -+ ;; -+ esac -+ done -+ tmp_libs= -+ for deplib in $new_libs; do -+ case $deplib in -+ -L*) -+ case " $tmp_libs " in -+ *" $deplib "*) ;; -+ *) tmp_libs="$tmp_libs $deplib" ;; -+ esac -+ ;; -+ *) tmp_libs="$tmp_libs $deplib" ;; -+ esac -+ done -+ eval $var=\"$tmp_libs\" -+ done # for var -+ fi -+ # Last step: remove runtime libs from dependency_libs -+ # (they stay in deplibs) -+ tmp_libs= -+ for i in $dependency_libs ; do -+ case " $predeps $postdeps $compiler_lib_search_path " in -+ *" $i "*) -+ i="" -+ ;; -+ esac -+ if test -n "$i" ; then -+ tmp_libs="$tmp_libs $i" -+ fi -+ done -+ dependency_libs=$tmp_libs -+ done # for pass -+ if test "$linkmode" = prog; then -+ dlfiles="$newdlfiles" -+ fi -+ if test "$linkmode" = prog || test "$linkmode" = lib; then -+ dlprefiles="$newdlprefiles" -+ fi -+ -+ case $linkmode in -+ oldlib) -+ if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then -+ func_warning "\`-dlopen' is ignored for archives" -+ fi -+ -+ case " $deplibs" in -+ *\ -l* | *\ -L*) -+ func_warning "\`-l' and \`-L' are ignored for archives" ;; -+ esac -+ -+ test -n "$rpath" && \ -+ func_warning "\`-rpath' is ignored for archives" -+ -+ test -n "$xrpath" && \ -+ func_warning "\`-R' is ignored for archives" -+ -+ test -n "$vinfo" && \ -+ func_warning "\`-version-info/-version-number' is ignored for archives" -+ -+ test -n "$release" && \ -+ func_warning "\`-release' is ignored for archives" -+ -+ test -n "$export_symbols$export_symbols_regex" && \ -+ func_warning "\`-export-symbols' is ignored for archives" -+ -+ # Now set the variables for building old libraries. -+ build_libtool_libs=no -+ oldlibs="$output" -+ objs="$objs$old_deplibs" -+ ;; -+ -+ lib) -+ # Make sure we only generate libraries of the form `libNAME.la'. -+ case $outputname in -+ lib*) -+ func_stripname 'lib' '.la' "$outputname" -+ name=$func_stripname_result -+ eval shared_ext=\"$shrext_cmds\" -+ eval libname=\"$libname_spec\" -+ ;; -+ *) -+ test "$module" = no && \ -+ func_fatal_help "libtool library \`$output' must begin with \`lib'" -+ -+ if test "$need_lib_prefix" != no; then -+ # Add the "lib" prefix for modules if required -+ func_stripname '' '.la' "$outputname" -+ name=$func_stripname_result -+ eval shared_ext=\"$shrext_cmds\" -+ eval libname=\"$libname_spec\" -+ else -+ func_stripname '' '.la' "$outputname" -+ libname=$func_stripname_result -+ fi -+ ;; -+ esac -+ -+ if test -n "$objs"; then -+ if test "$deplibs_check_method" != pass_all; then -+ func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" -+ else -+ $ECHO -+ $ECHO "*** Warning: Linking the shared library $output against the non-libtool" -+ $ECHO "*** objects $objs is not portable!" -+ libobjs="$libobjs $objs" -+ fi -+ fi -+ -+ test "$dlself" != no && \ -+ func_warning "\`-dlopen self' is ignored for libtool libraries" -+ -+ set dummy $rpath -+ shift -+ test "$#" -gt 1 && \ -+ func_warning "ignoring multiple \`-rpath's for a libtool library" -+ -+ install_libdir="$1" -+ -+ oldlibs= -+ if test -z "$rpath"; then -+ if test "$build_libtool_libs" = yes; then -+ # Building a libtool convenience library. -+ # Some compilers have problems with a `.al' extension so -+ # convenience libraries should have the same extension an -+ # archive normally would. -+ oldlibs="$output_objdir/$libname.$libext $oldlibs" -+ build_libtool_libs=convenience -+ build_old_libs=yes -+ fi -+ -+ test -n "$vinfo" && \ -+ func_warning "\`-version-info/-version-number' is ignored for convenience libraries" -+ -+ test -n "$release" && \ -+ func_warning "\`-release' is ignored for convenience libraries" -+ else -+ -+ # Parse the version information argument. -+ save_ifs="$IFS"; IFS=':' -+ set dummy $vinfo 0 0 0 -+ shift -+ IFS="$save_ifs" -+ -+ test -n "$7" && \ -+ func_fatal_help "too many parameters to \`-version-info'" -+ -+ # convert absolute version numbers to libtool ages -+ # this retains compatibility with .la files and attempts -+ # to make the code below a bit more comprehensible -+ -+ case $vinfo_number in -+ yes) -+ number_major="$1" -+ number_minor="$2" -+ number_revision="$3" -+ # -+ # There are really only two kinds -- those that -+ # use the current revision as the major version -+ # and those that subtract age and use age as -+ # a minor version. But, then there is irix -+ # which has an extra 1 added just for fun -+ # -+ case $version_type in -+ darwin|linux|osf|windows|none) -+ func_arith $number_major + $number_minor -+ current=$func_arith_result -+ age="$number_minor" -+ revision="$number_revision" -+ ;; -+ freebsd-aout|freebsd-elf|sunos) -+ current="$number_major" -+ revision="$number_minor" -+ age="0" -+ ;; -+ irix|nonstopux) -+ func_arith $number_major + $number_minor -+ current=$func_arith_result -+ age="$number_minor" -+ revision="$number_minor" -+ lt_irix_increment=no -+ ;; -+ *) -+ func_fatal_configuration "$modename: unknown library version type \`$version_type'" -+ ;; -+ esac -+ ;; -+ no) -+ current="$1" -+ revision="$2" -+ age="$3" -+ ;; -+ esac -+ -+ # Check that each of the things are valid numbers. -+ case $current in -+ 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; -+ *) -+ func_error "CURRENT \`$current' must be a nonnegative integer" -+ func_fatal_error "\`$vinfo' is not valid version information" -+ ;; -+ esac -+ -+ case $revision in -+ 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; -+ *) -+ func_error "REVISION \`$revision' must be a nonnegative integer" -+ func_fatal_error "\`$vinfo' is not valid version information" -+ ;; -+ esac -+ -+ case $age in -+ 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; -+ *) -+ func_error "AGE \`$age' must be a nonnegative integer" -+ func_fatal_error "\`$vinfo' is not valid version information" -+ ;; -+ esac -+ -+ if test "$age" -gt "$current"; then -+ func_error "AGE \`$age' is greater than the current interface number \`$current'" -+ func_fatal_error "\`$vinfo' is not valid version information" -+ fi -+ -+ # Calculate the version variables. -+ major= -+ versuffix= -+ verstring= -+ case $version_type in -+ none) ;; -+ -+ darwin) -+ # Like Linux, but with the current version available in -+ # verstring for coding it into the library header -+ func_arith $current - $age -+ major=.$func_arith_result -+ versuffix="$major.$age.$revision" -+ # Darwin ld doesn't like 0 for these options... -+ func_arith $current + 1 -+ minor_current=$func_arith_result -+ xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" -+ verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" -+ ;; -+ -+ freebsd-aout) -+ major=".$current" -+ versuffix=".$current.$revision"; -+ ;; -+ -+ freebsd-elf) -+ major=".$current" -+ versuffix=".$current" -+ ;; -+ -+ irix | nonstopux) -+ if test "X$lt_irix_increment" = "Xno"; then -+ func_arith $current - $age -+ else -+ func_arith $current - $age + 1 -+ fi -+ major=$func_arith_result -+ -+ case $version_type in -+ nonstopux) verstring_prefix=nonstopux ;; -+ *) verstring_prefix=sgi ;; -+ esac -+ verstring="$verstring_prefix$major.$revision" -+ -+ # Add in all the interfaces that we are compatible with. -+ loop=$revision -+ while test "$loop" -ne 0; do -+ func_arith $revision - $loop -+ iface=$func_arith_result -+ func_arith $loop - 1 -+ loop=$func_arith_result -+ verstring="$verstring_prefix$major.$iface:$verstring" -+ done -+ -+ # Before this point, $major must not contain `.'. -+ major=.$major -+ versuffix="$major.$revision" -+ ;; -+ -+ linux) -+ func_arith $current - $age -+ major=.$func_arith_result -+ versuffix="$major.$age.$revision" -+ ;; -+ -+ osf) -+ func_arith $current - $age -+ major=.$func_arith_result -+ versuffix=".$current.$age.$revision" -+ verstring="$current.$age.$revision" -+ -+ # Add in all the interfaces that we are compatible with. -+ loop=$age -+ while test "$loop" -ne 0; do -+ func_arith $current - $loop -+ iface=$func_arith_result -+ func_arith $loop - 1 -+ loop=$func_arith_result -+ verstring="$verstring:${iface}.0" -+ done -+ -+ # Make executables depend on our current version. -+ verstring="$verstring:${current}.0" -+ ;; -+ -+ qnx) -+ major=".$current" -+ versuffix=".$current" -+ ;; -+ -+ sunos) -+ major=".$current" -+ versuffix=".$current.$revision" -+ ;; -+ -+ windows) -+ # Use '-' rather than '.', since we only want one -+ # extension on DOS 8.3 filesystems. -+ func_arith $current - $age -+ major=$func_arith_result -+ versuffix="-$major" -+ ;; -+ -+ *) -+ func_fatal_configuration "unknown library version type \`$version_type'" -+ ;; -+ esac -+ -+ # Clear the version info if we defaulted, and they specified a release. -+ if test -z "$vinfo" && test -n "$release"; then -+ major= -+ case $version_type in -+ darwin) -+ # we can't check for "0.0" in archive_cmds due to quoting -+ # problems, so we reset it completely -+ verstring= -+ ;; -+ *) -+ verstring="0.0" -+ ;; -+ esac -+ if test "$need_version" = no; then -+ versuffix= -+ else -+ versuffix=".0.0" -+ fi -+ fi -+ -+ # Remove version info from name if versioning should be avoided -+ if test "$avoid_version" = yes && test "$need_version" = no; then -+ major= -+ versuffix= -+ verstring="" -+ fi -+ -+ # Check to see if the archive will have undefined symbols. -+ if test "$allow_undefined" = yes; then -+ if test "$allow_undefined_flag" = unsupported; then -+ func_warning "undefined symbols not allowed in $host shared libraries" -+ build_libtool_libs=no -+ build_old_libs=yes -+ fi -+ else -+ # Don't allow undefined symbols. -+ allow_undefined_flag="$no_undefined_flag" -+ fi -+ -+ fi -+ -+ func_generate_dlsyms "$libname" "$libname" "yes" -+ libobjs="$libobjs $symfileobj" -+ test "X$libobjs" = "X " && libobjs= -+ -+ if test "$mode" != relink; then -+ # Remove our outputs, but don't remove object files since they -+ # may have been created when compiling PIC objects. -+ removelist= -+ tempremovelist=`$ECHO "$output_objdir/*"` -+ for p in $tempremovelist; do -+ case $p in -+ *.$objext | *.gcno) -+ ;; -+ $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) -+ if test "X$precious_files_regex" != "X"; then -+ if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 -+ then -+ continue -+ fi -+ fi -+ removelist="$removelist $p" -+ ;; -+ *) ;; -+ esac -+ done -+ test -n "$removelist" && \ -+ func_show_eval "${RM}r \$removelist" -+ fi -+ -+ # Now set the variables for building old libraries. -+ if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then -+ oldlibs="$oldlibs $output_objdir/$libname.$libext" -+ -+ # Transform .lo files to .o files. -+ oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` -+ fi -+ -+ # Eliminate all temporary directories. -+ #for path in $notinst_path; do -+ # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"` -+ # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"` -+ # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"` -+ #done -+ -+ if test -n "$xrpath"; then -+ # If the user specified any rpath flags, then add them. -+ temp_xrpath= -+ for libdir in $xrpath; do -+ temp_xrpath="$temp_xrpath -R$libdir" -+ case "$finalize_rpath " in -+ *" $libdir "*) ;; -+ *) finalize_rpath="$finalize_rpath $libdir" ;; -+ esac -+ done -+ if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then -+ dependency_libs="$temp_xrpath $dependency_libs" -+ fi -+ fi -+ -+ # Make sure dlfiles contains only unique files that won't be dlpreopened -+ old_dlfiles="$dlfiles" -+ dlfiles= -+ for lib in $old_dlfiles; do -+ case " $dlprefiles $dlfiles " in -+ *" $lib "*) ;; -+ *) dlfiles="$dlfiles $lib" ;; -+ esac -+ done -+ -+ # Make sure dlprefiles contains only unique files -+ old_dlprefiles="$dlprefiles" -+ dlprefiles= -+ for lib in $old_dlprefiles; do -+ case "$dlprefiles " in -+ *" $lib "*) ;; -+ *) dlprefiles="$dlprefiles $lib" ;; -+ esac -+ done -+ -+ if test "$build_libtool_libs" = yes; then -+ if test -n "$rpath"; then -+ case $host in -+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*) -+ # these systems don't actually have a c library (as such)! -+ ;; -+ *-*-rhapsody* | *-*-darwin1.[012]) -+ # Rhapsody C library is in the System framework -+ deplibs="$deplibs System.ltframework" -+ ;; -+ *-*-netbsd*) -+ # Don't link with libc until the a.out ld.so is fixed. -+ ;; -+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) -+ # Do not include libc due to us having libc/libc_r. -+ ;; -+ *-*-sco3.2v5* | *-*-sco5v6*) -+ # Causes problems with __ctype -+ ;; -+ *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) -+ # Compiler inserts libc in the correct place for threads to work -+ ;; -+ *) -+ # Add libc to deplibs on all other systems if necessary. -+ if test "$build_libtool_need_lc" = "yes"; then -+ deplibs="$deplibs -lc" -+ fi -+ ;; -+ esac -+ fi -+ -+ # Transform deplibs into only deplibs that can be linked in shared. -+ name_save=$name -+ libname_save=$libname -+ release_save=$release -+ versuffix_save=$versuffix -+ major_save=$major -+ # I'm not sure if I'm treating the release correctly. I think -+ # release should show up in the -l (ie -lgmp5) so we don't want to -+ # add it in twice. Is that correct? -+ release="" -+ versuffix="" -+ major="" -+ newdeplibs= -+ droppeddeps=no -+ case $deplibs_check_method in -+ pass_all) -+ # Don't check for shared/static. Everything works. -+ # This might be a little naive. We might want to check -+ # whether the library exists or not. But this is on -+ # osf3 & osf4 and I'm not really sure... Just -+ # implementing what was already the behavior. -+ newdeplibs=$deplibs -+ ;; -+ test_compile) -+ # This code stresses the "libraries are programs" paradigm to its -+ # limits. Maybe even breaks it. We compile a program, linking it -+ # against the deplibs as a proxy for the library. Then we can check -+ # whether they linked in statically or dynamically with ldd. -+ $opt_dry_run || $RM conftest.c -+ cat > conftest.c </dev/null` -+ for potent_lib in $potential_libs; do -+ # Follow soft links. -+ if ls -lLd "$potent_lib" 2>/dev/null | -+ $GREP " -> " >/dev/null; then -+ continue -+ fi -+ # The statement above tries to avoid entering an -+ # endless loop below, in case of cyclic links. -+ # We might still enter an endless loop, since a link -+ # loop can be closed while we follow links, -+ # but so what? -+ potlib="$potent_lib" -+ while test -h "$potlib" 2>/dev/null; do -+ potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` -+ case $potliblink in -+ [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; -+ *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; -+ esac -+ done -+ if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | -+ $SED -e 10q | -+ $EGREP "$file_magic_regex" > /dev/null; then -+ newdeplibs="$newdeplibs $a_deplib" -+ a_deplib="" -+ break 2 -+ fi -+ done -+ done -+ fi -+ if test -n "$a_deplib" ; then -+ droppeddeps=yes -+ $ECHO -+ $ECHO "*** Warning: linker path does not have real file for library $a_deplib." -+ $ECHO "*** I have the capability to make that library automatically link in when" -+ $ECHO "*** you link to this library. But I can only do this if you have a" -+ $ECHO "*** shared version of the library, which you do not appear to have" -+ $ECHO "*** because I did check the linker path looking for a file starting" -+ if test -z "$potlib" ; then -+ $ECHO "*** with $libname but no candidates were found. (...for file magic test)" -+ else -+ $ECHO "*** with $libname and none of the candidates passed a file format test" -+ $ECHO "*** using a file magic. Last file checked: $potlib" -+ fi -+ fi -+ ;; -+ *) -+ # Add a -L argument. -+ newdeplibs="$newdeplibs $a_deplib" -+ ;; -+ esac -+ done # Gone through all deplibs. -+ ;; -+ match_pattern*) -+ set dummy $deplibs_check_method; shift -+ match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` -+ for a_deplib in $deplibs; do -+ case $a_deplib in -+ -l*) -+ func_stripname -l '' "$a_deplib" -+ name=$func_stripname_result -+ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then -+ case " $predeps $postdeps " in -+ *" $a_deplib "*) -+ newdeplibs="$newdeplibs $a_deplib" -+ a_deplib="" -+ ;; -+ esac -+ fi -+ if test -n "$a_deplib" ; then -+ libname=`eval "\\$ECHO \"$libname_spec\""` -+ for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do -+ potential_libs=`ls $i/$libname[.-]* 2>/dev/null` -+ for potent_lib in $potential_libs; do -+ potlib="$potent_lib" # see symlink-check above in file_magic test -+ if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \ -+ $EGREP "$match_pattern_regex" > /dev/null; then -+ newdeplibs="$newdeplibs $a_deplib" -+ a_deplib="" -+ break 2 -+ fi -+ done -+ done -+ fi -+ if test -n "$a_deplib" ; then -+ droppeddeps=yes -+ $ECHO -+ $ECHO "*** Warning: linker path does not have real file for library $a_deplib." -+ $ECHO "*** I have the capability to make that library automatically link in when" -+ $ECHO "*** you link to this library. But I can only do this if you have a" -+ $ECHO "*** shared version of the library, which you do not appear to have" -+ $ECHO "*** because I did check the linker path looking for a file starting" -+ if test -z "$potlib" ; then -+ $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" -+ else -+ $ECHO "*** with $libname and none of the candidates passed a file format test" -+ $ECHO "*** using a regex pattern. Last file checked: $potlib" -+ fi -+ fi -+ ;; -+ *) -+ # Add a -L argument. -+ newdeplibs="$newdeplibs $a_deplib" -+ ;; -+ esac -+ done # Gone through all deplibs. -+ ;; -+ none | unknown | *) -+ newdeplibs="" -+ tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \ -+ -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'` -+ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then -+ for i in $predeps $postdeps ; do -+ # can't use Xsed below, because $i might contain '/' -+ tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"` -+ done -+ fi -+ if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' | -+ $GREP . >/dev/null; then -+ $ECHO -+ if test "X$deplibs_check_method" = "Xnone"; then -+ $ECHO "*** Warning: inter-library dependencies are not supported in this platform." -+ else -+ $ECHO "*** Warning: inter-library dependencies are not known to be supported." -+ fi -+ $ECHO "*** All declared inter-library dependencies are being dropped." -+ droppeddeps=yes -+ fi -+ ;; -+ esac -+ versuffix=$versuffix_save -+ major=$major_save -+ release=$release_save -+ libname=$libname_save -+ name=$name_save -+ -+ case $host in -+ *-*-rhapsody* | *-*-darwin1.[012]) -+ # On Rhapsody replace the C library with the System framework -+ newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'` -+ ;; -+ esac -+ -+ if test "$droppeddeps" = yes; then -+ if test "$module" = yes; then -+ $ECHO -+ $ECHO "*** Warning: libtool could not satisfy all declared inter-library" -+ $ECHO "*** dependencies of module $libname. Therefore, libtool will create" -+ $ECHO "*** a static module, that should work as long as the dlopening" -+ $ECHO "*** application is linked with the -dlopen flag." -+ if test -z "$global_symbol_pipe"; then -+ $ECHO -+ $ECHO "*** However, this would only work if libtool was able to extract symbol" -+ $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could" -+ $ECHO "*** not find such a program. So, this module is probably useless." -+ $ECHO "*** \`nm' from GNU binutils and a full rebuild may help." -+ fi -+ if test "$build_old_libs" = no; then -+ oldlibs="$output_objdir/$libname.$libext" -+ build_libtool_libs=module -+ build_old_libs=yes -+ else -+ build_libtool_libs=no -+ fi -+ else -+ $ECHO "*** The inter-library dependencies that have been dropped here will be" -+ $ECHO "*** automatically added whenever a program is linked with this library" -+ $ECHO "*** or is declared to -dlopen it." -+ -+ if test "$allow_undefined" = no; then -+ $ECHO -+ $ECHO "*** Since this library must not contain undefined symbols," -+ $ECHO "*** because either the platform does not support them or" -+ $ECHO "*** it was explicitly requested with -no-undefined," -+ $ECHO "*** libtool will only create a static version of it." -+ if test "$build_old_libs" = no; then -+ oldlibs="$output_objdir/$libname.$libext" -+ build_libtool_libs=module -+ build_old_libs=yes -+ else -+ build_libtool_libs=no -+ fi -+ fi -+ fi -+ fi -+ # Done checking deplibs! -+ deplibs=$newdeplibs -+ fi -+ # Time to change all our "foo.ltframework" stuff back to "-framework foo" -+ case $host in -+ *-*-darwin*) -+ newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` -+ new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` -+ deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` -+ ;; -+ esac -+ -+ # move library search paths that coincide with paths to not yet -+ # installed libraries to the beginning of the library search list -+ new_libs= -+ for path in $notinst_path; do -+ case " $new_libs " in -+ *" -L$path/$objdir "*) ;; -+ *) -+ case " $deplibs " in -+ *" -L$path/$objdir "*) -+ new_libs="$new_libs -L$path/$objdir" ;; -+ esac -+ ;; -+ esac -+ done -+ for deplib in $deplibs; do -+ case $deplib in -+ -L*) -+ case " $new_libs " in -+ *" $deplib "*) ;; -+ *) new_libs="$new_libs $deplib" ;; -+ esac -+ ;; -+ *) new_libs="$new_libs $deplib" ;; -+ esac -+ done -+ deplibs="$new_libs" -+ -+ # All the library-specific variables (install_libdir is set above). -+ library_names= -+ old_library= -+ dlname= -+ -+ # Test again, we may have decided not to build it any more -+ if test "$build_libtool_libs" = yes; then -+ if test "$hardcode_into_libs" = yes; then -+ # Hardcode the library paths -+ hardcode_libdirs= -+ dep_rpath= -+ rpath="$finalize_rpath" -+ test "$mode" != relink && rpath="$compile_rpath$rpath" -+ for libdir in $rpath; do -+ if test -n "$hardcode_libdir_flag_spec"; then -+ if test -n "$hardcode_libdir_separator"; then -+ if test -z "$hardcode_libdirs"; then -+ hardcode_libdirs="$libdir" -+ else -+ # Just accumulate the unique libdirs. -+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in -+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) -+ ;; -+ *) -+ hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" -+ ;; -+ esac -+ fi -+ else -+ eval flag=\"$hardcode_libdir_flag_spec\" -+ dep_rpath="$dep_rpath $flag" -+ fi -+ elif test -n "$runpath_var"; then -+ case "$perm_rpath " in -+ *" $libdir "*) ;; -+ *) perm_rpath="$perm_rpath $libdir" ;; -+ esac -+ fi -+ done -+ # Substitute the hardcoded libdirs into the rpath. -+ if test -n "$hardcode_libdir_separator" && -+ test -n "$hardcode_libdirs"; then -+ libdir="$hardcode_libdirs" -+ if test -n "$hardcode_libdir_flag_spec_ld"; then -+ eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" -+ else -+ eval dep_rpath=\"$hardcode_libdir_flag_spec\" -+ fi -+ fi -+ if test -n "$runpath_var" && test -n "$perm_rpath"; then -+ # We should set the runpath_var. -+ rpath= -+ for dir in $perm_rpath; do -+ rpath="$rpath$dir:" -+ done -+ eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" -+ fi -+ test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" -+ fi -+ -+ shlibpath="$finalize_shlibpath" -+ test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" -+ if test -n "$shlibpath"; then -+ eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" -+ fi -+ -+ # Get the real and link names of the library. -+ eval shared_ext=\"$shrext_cmds\" -+ eval library_names=\"$library_names_spec\" -+ set dummy $library_names -+ shift -+ realname="$1" -+ shift -+ -+ if test -n "$soname_spec"; then -+ eval soname=\"$soname_spec\" -+ else -+ soname="$realname" -+ fi -+ if test -z "$dlname"; then -+ dlname=$soname -+ fi -+ -+ lib="$output_objdir/$realname" -+ linknames= -+ for link -+ do -+ linknames="$linknames $link" -+ done -+ -+ # Use standard objects if they are pic -+ test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` -+ test "X$libobjs" = "X " && libobjs= -+ -+ delfiles= -+ if test -n "$export_symbols" && test -n "$include_expsyms"; then -+ $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" -+ export_symbols="$output_objdir/$libname.uexp" -+ delfiles="$delfiles $export_symbols" -+ fi -+ -+ orig_export_symbols= -+ case $host_os in -+ cygwin* | mingw* | cegcc*) -+ if test -n "$export_symbols" && test -z "$export_symbols_regex"; then -+ # exporting using user supplied symfile -+ if test "x`$SED 1q $export_symbols`" != xEXPORTS; then -+ # and it's NOT already a .def file. Must figure out -+ # which of the given symbols are data symbols and tag -+ # them as such. So, trigger use of export_symbols_cmds. -+ # export_symbols gets reassigned inside the "prepare -+ # the list of exported symbols" if statement, so the -+ # include_expsyms logic still works. -+ orig_export_symbols="$export_symbols" -+ export_symbols= -+ always_export_symbols=yes -+ fi -+ fi -+ ;; -+ esac -+ -+ # Prepare the list of exported symbols -+ if test -z "$export_symbols"; then -+ if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then -+ func_verbose "generating symbol list for \`$libname.la'" -+ export_symbols="$output_objdir/$libname.exp" -+ $opt_dry_run || $RM $export_symbols -+ cmds=$export_symbols_cmds -+ save_ifs="$IFS"; IFS='~' -+ for cmd in $cmds; do -+ IFS="$save_ifs" -+ eval cmd=\"$cmd\" -+ func_len " $cmd" -+ len=$func_len_result -+ if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then -+ func_show_eval "$cmd" 'exit $?' -+ skipped_export=false -+ else -+ # The command line is too long to execute in one step. -+ func_verbose "using reloadable object file for export list..." -+ skipped_export=: -+ # Break out early, otherwise skipped_export may be -+ # set to false by a later but shorter cmd. -+ break -+ fi -+ done -+ IFS="$save_ifs" -+ if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then -+ func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' -+ func_show_eval '$MV "${export_symbols}T" "$export_symbols"' -+ fi -+ fi -+ fi -+ -+ if test -n "$export_symbols" && test -n "$include_expsyms"; then -+ tmp_export_symbols="$export_symbols" -+ test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" -+ $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"' -+ fi -+ -+ if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then -+ # The given exports_symbols file has to be filtered, so filter it. -+ func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" -+ # FIXME: $output_objdir/$libname.filter potentially contains lots of -+ # 's' commands which not all seds can handle. GNU sed should be fine -+ # though. Also, the filter scales superlinearly with the number of -+ # global variables. join(1) would be nice here, but unfortunately -+ # isn't a blessed tool. -+ $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter -+ delfiles="$delfiles $export_symbols $output_objdir/$libname.filter" -+ export_symbols=$output_objdir/$libname.def -+ $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols -+ fi -+ -+ tmp_deplibs= -+ for test_deplib in $deplibs; do -+ case " $convenience " in -+ *" $test_deplib "*) ;; -+ *) -+ tmp_deplibs="$tmp_deplibs $test_deplib" -+ ;; -+ esac -+ done -+ deplibs="$tmp_deplibs" -+ -+ if test -n "$convenience"; then -+ if test -n "$whole_archive_flag_spec" && -+ test "$compiler_needs_object" = yes && -+ test -z "$libobjs"; then -+ # extract the archives, so we have objects to list. -+ # TODO: could optimize this to just extract one archive. -+ whole_archive_flag_spec= -+ fi -+ if test -n "$whole_archive_flag_spec"; then -+ save_libobjs=$libobjs -+ eval libobjs=\"\$libobjs $whole_archive_flag_spec\" -+ test "X$libobjs" = "X " && libobjs= -+ else -+ gentop="$output_objdir/${outputname}x" -+ generated="$generated $gentop" -+ -+ func_extract_archives $gentop $convenience -+ libobjs="$libobjs $func_extract_archives_result" -+ test "X$libobjs" = "X " && libobjs= -+ fi -+ fi -+ -+ if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then -+ eval flag=\"$thread_safe_flag_spec\" -+ linker_flags="$linker_flags $flag" -+ fi -+ -+ # Make a backup of the uninstalled library when relinking -+ if test "$mode" = relink; then -+ $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? -+ fi -+ -+ # Do each of the archive commands. -+ if test "$module" = yes && test -n "$module_cmds" ; then -+ if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then -+ eval test_cmds=\"$module_expsym_cmds\" -+ cmds=$module_expsym_cmds -+ else -+ eval test_cmds=\"$module_cmds\" -+ cmds=$module_cmds -+ fi -+ else -+ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then -+ eval test_cmds=\"$archive_expsym_cmds\" -+ cmds=$archive_expsym_cmds -+ else -+ eval test_cmds=\"$archive_cmds\" -+ cmds=$archive_cmds -+ fi -+ fi -+ -+ if test "X$skipped_export" != "X:" && -+ func_len " $test_cmds" && -+ len=$func_len_result && -+ test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then -+ : -+ else -+ # The command line is too long to link in one step, link piecewise -+ # or, if using GNU ld and skipped_export is not :, use a linker -+ # script. -+ -+ # Save the value of $output and $libobjs because we want to -+ # use them later. If we have whole_archive_flag_spec, we -+ # want to use save_libobjs as it was before -+ # whole_archive_flag_spec was expanded, because we can't -+ # assume the linker understands whole_archive_flag_spec. -+ # This may have to be revisited, in case too many -+ # convenience libraries get linked in and end up exceeding -+ # the spec. -+ if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then -+ save_libobjs=$libobjs -+ fi -+ save_output=$output -+ output_la=`$ECHO "X$output" | $Xsed -e "$basename"` -+ -+ # Clear the reloadable object creation command queue and -+ # initialize k to one. -+ test_cmds= -+ concat_cmds= -+ objlist= -+ last_robj= -+ k=1 -+ -+ if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then -+ output=${output_objdir}/${output_la}.lnkscript -+ func_verbose "creating GNU ld script: $output" -+ $ECHO 'INPUT (' > $output -+ for obj in $save_libobjs -+ do -+ $ECHO "$obj" >> $output -+ done -+ $ECHO ')' >> $output -+ delfiles="$delfiles $output" -+ elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then -+ output=${output_objdir}/${output_la}.lnk -+ func_verbose "creating linker input file list: $output" -+ : > $output -+ set x $save_libobjs -+ shift -+ firstobj= -+ if test "$compiler_needs_object" = yes; then -+ firstobj="$1 " -+ shift -+ fi -+ for obj -+ do -+ $ECHO "$obj" >> $output -+ done -+ delfiles="$delfiles $output" -+ output=$firstobj\"$file_list_spec$output\" -+ else -+ if test -n "$save_libobjs"; then -+ func_verbose "creating reloadable object files..." -+ output=$output_objdir/$output_la-${k}.$objext -+ eval test_cmds=\"$reload_cmds\" -+ func_len " $test_cmds" -+ len0=$func_len_result -+ len=$len0 -+ -+ # Loop over the list of objects to be linked. -+ for obj in $save_libobjs -+ do -+ func_len " $obj" -+ func_arith $len + $func_len_result -+ len=$func_arith_result -+ if test "X$objlist" = X || -+ test "$len" -lt "$max_cmd_len"; then -+ func_append objlist " $obj" -+ else -+ # The command $test_cmds is almost too long, add a -+ # command to the queue. -+ if test "$k" -eq 1 ; then -+ # The first file doesn't have a previous command to add. -+ eval concat_cmds=\"$reload_cmds $objlist $last_robj\" -+ else -+ # All subsequent reloadable object files will link in -+ # the last one created. -+ eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\" -+ fi -+ last_robj=$output_objdir/$output_la-${k}.$objext -+ func_arith $k + 1 -+ k=$func_arith_result -+ output=$output_objdir/$output_la-${k}.$objext -+ objlist=$obj -+ func_len " $last_robj" -+ func_arith $len0 + $func_len_result -+ len=$func_arith_result -+ fi -+ done -+ # Handle the remaining objects by creating one last -+ # reloadable object file. All subsequent reloadable object -+ # files will link in the last one created. -+ test -z "$concat_cmds" || concat_cmds=$concat_cmds~ -+ eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" -+ if test -n "$last_robj"; then -+ eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" -+ fi -+ delfiles="$delfiles $output" -+ -+ else -+ output= -+ fi -+ -+ if ${skipped_export-false}; then -+ func_verbose "generating symbol list for \`$libname.la'" -+ export_symbols="$output_objdir/$libname.exp" -+ $opt_dry_run || $RM $export_symbols -+ libobjs=$output -+ # Append the command to create the export file. -+ test -z "$concat_cmds" || concat_cmds=$concat_cmds~ -+ eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" -+ if test -n "$last_robj"; then -+ eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" -+ fi -+ fi -+ -+ test -n "$save_libobjs" && -+ func_verbose "creating a temporary reloadable object file: $output" -+ -+ # Loop through the commands generated above and execute them. -+ save_ifs="$IFS"; IFS='~' -+ for cmd in $concat_cmds; do -+ IFS="$save_ifs" -+ $opt_silent || { -+ func_quote_for_expand "$cmd" -+ eval "func_echo $func_quote_for_expand_result" -+ } -+ $opt_dry_run || eval "$cmd" || { -+ lt_exit=$? -+ -+ # Restore the uninstalled library and exit -+ if test "$mode" = relink; then -+ ( cd "$output_objdir" && \ -+ $RM "${realname}T" && \ -+ $MV "${realname}U" "$realname" ) -+ fi -+ -+ exit $lt_exit -+ } -+ done -+ IFS="$save_ifs" -+ -+ if test -n "$export_symbols_regex" && ${skipped_export-false}; then -+ func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' -+ func_show_eval '$MV "${export_symbols}T" "$export_symbols"' -+ fi -+ fi -+ -+ if ${skipped_export-false}; then -+ if test -n "$export_symbols" && test -n "$include_expsyms"; then -+ tmp_export_symbols="$export_symbols" -+ test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" -+ $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"' -+ fi -+ -+ if test -n "$orig_export_symbols"; then -+ # The given exports_symbols file has to be filtered, so filter it. -+ func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" -+ # FIXME: $output_objdir/$libname.filter potentially contains lots of -+ # 's' commands which not all seds can handle. GNU sed should be fine -+ # though. Also, the filter scales superlinearly with the number of -+ # global variables. join(1) would be nice here, but unfortunately -+ # isn't a blessed tool. -+ $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter -+ delfiles="$delfiles $export_symbols $output_objdir/$libname.filter" -+ export_symbols=$output_objdir/$libname.def -+ $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols -+ fi -+ fi -+ -+ libobjs=$output -+ # Restore the value of output. -+ output=$save_output -+ -+ if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then -+ eval libobjs=\"\$libobjs $whole_archive_flag_spec\" -+ test "X$libobjs" = "X " && libobjs= -+ fi -+ # Expand the library linking commands again to reset the -+ # value of $libobjs for piecewise linking. -+ -+ # Do each of the archive commands. -+ if test "$module" = yes && test -n "$module_cmds" ; then -+ if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then -+ cmds=$module_expsym_cmds -+ else -+ cmds=$module_cmds -+ fi -+ else -+ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then -+ cmds=$archive_expsym_cmds -+ else -+ cmds=$archive_cmds -+ fi -+ fi -+ fi -+ -+ if test -n "$delfiles"; then -+ # Append the command to remove temporary files to $cmds. -+ eval cmds=\"\$cmds~\$RM $delfiles\" -+ fi -+ -+ # Add any objects from preloaded convenience libraries -+ if test -n "$dlprefiles"; then -+ gentop="$output_objdir/${outputname}x" -+ generated="$generated $gentop" -+ -+ func_extract_archives $gentop $dlprefiles -+ libobjs="$libobjs $func_extract_archives_result" -+ test "X$libobjs" = "X " && libobjs= -+ fi -+ -+ save_ifs="$IFS"; IFS='~' -+ for cmd in $cmds; do -+ IFS="$save_ifs" -+ eval cmd=\"$cmd\" -+ $opt_silent || { -+ func_quote_for_expand "$cmd" -+ eval "func_echo $func_quote_for_expand_result" -+ } -+ $opt_dry_run || eval "$cmd" || { -+ lt_exit=$? -+ -+ # Restore the uninstalled library and exit -+ if test "$mode" = relink; then -+ ( cd "$output_objdir" && \ -+ $RM "${realname}T" && \ -+ $MV "${realname}U" "$realname" ) -+ fi -+ -+ exit $lt_exit -+ } -+ done -+ IFS="$save_ifs" -+ -+ # Restore the uninstalled library and exit -+ if test "$mode" = relink; then -+ $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? -+ -+ if test -n "$convenience"; then -+ if test -z "$whole_archive_flag_spec"; then -+ func_show_eval '${RM}r "$gentop"' -+ fi -+ fi -+ -+ exit $EXIT_SUCCESS -+ fi -+ -+ # Create links to the real library. -+ for linkname in $linknames; do -+ if test "$realname" != "$linkname"; then -+ func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' -+ fi -+ done -+ -+ # If -module or -export-dynamic was specified, set the dlname. -+ if test "$module" = yes || test "$export_dynamic" = yes; then -+ # On all known operating systems, these are identical. -+ dlname="$soname" -+ fi -+ fi -+ ;; -+ -+ obj) -+ if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then -+ func_warning "\`-dlopen' is ignored for objects" -+ fi -+ -+ case " $deplibs" in -+ *\ -l* | *\ -L*) -+ func_warning "\`-l' and \`-L' are ignored for objects" ;; -+ esac -+ -+ test -n "$rpath" && \ -+ func_warning "\`-rpath' is ignored for objects" -+ -+ test -n "$xrpath" && \ -+ func_warning "\`-R' is ignored for objects" -+ -+ test -n "$vinfo" && \ -+ func_warning "\`-version-info' is ignored for objects" -+ -+ test -n "$release" && \ -+ func_warning "\`-release' is ignored for objects" -+ -+ case $output in -+ *.lo) -+ test -n "$objs$old_deplibs" && \ -+ func_fatal_error "cannot build library object \`$output' from non-libtool objects" -+ -+ libobj=$output -+ func_lo2o "$libobj" -+ obj=$func_lo2o_result -+ ;; -+ *) -+ libobj= -+ obj="$output" -+ ;; -+ esac -+ -+ # Delete the old objects. -+ $opt_dry_run || $RM $obj $libobj -+ -+ # Objects from convenience libraries. This assumes -+ # single-version convenience libraries. Whenever we create -+ # different ones for PIC/non-PIC, this we'll have to duplicate -+ # the extraction. -+ reload_conv_objs= -+ gentop= -+ # reload_cmds runs $LD directly, so let us get rid of -+ # -Wl from whole_archive_flag_spec and hope we can get by with -+ # turning comma into space.. -+ wl= -+ -+ if test -n "$convenience"; then -+ if test -n "$whole_archive_flag_spec"; then -+ eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" -+ reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` -+ else -+ gentop="$output_objdir/${obj}x" -+ generated="$generated $gentop" -+ -+ func_extract_archives $gentop $convenience -+ reload_conv_objs="$reload_objs $func_extract_archives_result" -+ fi -+ fi -+ -+ # Create the old-style object. -+ reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test -+ -+ output="$obj" -+ func_execute_cmds "$reload_cmds" 'exit $?' -+ -+ # Exit if we aren't doing a library object file. -+ if test -z "$libobj"; then -+ if test -n "$gentop"; then -+ func_show_eval '${RM}r "$gentop"' -+ fi -+ -+ exit $EXIT_SUCCESS -+ fi -+ -+ if test "$build_libtool_libs" != yes; then -+ if test -n "$gentop"; then -+ func_show_eval '${RM}r "$gentop"' -+ fi -+ -+ # Create an invalid libtool object if no PIC, so that we don't -+ # accidentally link it into a program. -+ # $show "echo timestamp > $libobj" -+ # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? -+ exit $EXIT_SUCCESS -+ fi -+ -+ if test -n "$pic_flag" || test "$pic_mode" != default; then -+ # Only do commands if we really have different PIC objects. -+ reload_objs="$libobjs $reload_conv_objs" -+ output="$libobj" -+ func_execute_cmds "$reload_cmds" 'exit $?' -+ fi -+ -+ if test -n "$gentop"; then -+ func_show_eval '${RM}r "$gentop"' -+ fi -+ -+ exit $EXIT_SUCCESS -+ ;; -+ -+ prog) -+ case $host in -+ *cygwin*) func_stripname '' '.exe' "$output" -+ output=$func_stripname_result.exe;; -+ esac -+ test -n "$vinfo" && \ -+ func_warning "\`-version-info' is ignored for programs" -+ -+ test -n "$release" && \ -+ func_warning "\`-release' is ignored for programs" -+ -+ test "$preload" = yes \ -+ && test "$dlopen_support" = unknown \ -+ && test "$dlopen_self" = unknown \ -+ && test "$dlopen_self_static" = unknown && \ -+ func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support." -+ -+ case $host in -+ *-*-rhapsody* | *-*-darwin1.[012]) -+ # On Rhapsody replace the C library is the System framework -+ compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'` -+ finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'` -+ ;; -+ esac -+ -+ case $host in -+ *-*-darwin*) -+ # Don't allow lazy linking, it breaks C++ global constructors -+ # But is supposedly fixed on 10.4 or later (yay!). -+ if test "$tagname" = CXX ; then -+ case ${MACOSX_DEPLOYMENT_TARGET-10.0} in -+ 10.[0123]) -+ compile_command="$compile_command ${wl}-bind_at_load" -+ finalize_command="$finalize_command ${wl}-bind_at_load" -+ ;; -+ esac -+ fi -+ # Time to change all our "foo.ltframework" stuff back to "-framework foo" -+ compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` -+ finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` -+ ;; -+ esac -+ -+ -+ # move library search paths that coincide with paths to not yet -+ # installed libraries to the beginning of the library search list -+ new_libs= -+ for path in $notinst_path; do -+ case " $new_libs " in -+ *" -L$path/$objdir "*) ;; -+ *) -+ case " $compile_deplibs " in -+ *" -L$path/$objdir "*) -+ new_libs="$new_libs -L$path/$objdir" ;; -+ esac -+ ;; -+ esac -+ done -+ for deplib in $compile_deplibs; do -+ case $deplib in -+ -L*) -+ case " $new_libs " in -+ *" $deplib "*) ;; -+ *) new_libs="$new_libs $deplib" ;; -+ esac -+ ;; -+ *) new_libs="$new_libs $deplib" ;; -+ esac -+ done -+ compile_deplibs="$new_libs" -+ -+ -+ compile_command="$compile_command $compile_deplibs" -+ finalize_command="$finalize_command $finalize_deplibs" -+ -+ if test -n "$rpath$xrpath"; then -+ # If the user specified any rpath flags, then add them. -+ for libdir in $rpath $xrpath; do -+ # This is the magic to use -rpath. -+ case "$finalize_rpath " in -+ *" $libdir "*) ;; -+ *) finalize_rpath="$finalize_rpath $libdir" ;; -+ esac -+ done -+ fi -+ -+ # Now hardcode the library paths -+ rpath= -+ hardcode_libdirs= -+ for libdir in $compile_rpath $finalize_rpath; do -+ if test -n "$hardcode_libdir_flag_spec"; then -+ if test -n "$hardcode_libdir_separator"; then -+ if test -z "$hardcode_libdirs"; then -+ hardcode_libdirs="$libdir" -+ else -+ # Just accumulate the unique libdirs. -+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in -+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) -+ ;; -+ *) -+ hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" -+ ;; -+ esac -+ fi -+ else -+ eval flag=\"$hardcode_libdir_flag_spec\" -+ rpath="$rpath $flag" -+ fi -+ elif test -n "$runpath_var"; then -+ case "$perm_rpath " in -+ *" $libdir "*) ;; -+ *) perm_rpath="$perm_rpath $libdir" ;; -+ esac -+ fi -+ case $host in -+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) -+ testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'` -+ case :$dllsearchpath: in -+ *":$libdir:"*) ;; -+ ::) dllsearchpath=$libdir;; -+ *) dllsearchpath="$dllsearchpath:$libdir";; -+ esac -+ case :$dllsearchpath: in -+ *":$testbindir:"*) ;; -+ ::) dllsearchpath=$testbindir;; -+ *) dllsearchpath="$dllsearchpath:$testbindir";; -+ esac -+ ;; -+ esac -+ done -+ # Substitute the hardcoded libdirs into the rpath. -+ if test -n "$hardcode_libdir_separator" && -+ test -n "$hardcode_libdirs"; then -+ libdir="$hardcode_libdirs" -+ eval rpath=\" $hardcode_libdir_flag_spec\" -+ fi -+ compile_rpath="$rpath" -+ -+ rpath= -+ hardcode_libdirs= -+ for libdir in $finalize_rpath; do -+ if test -n "$hardcode_libdir_flag_spec"; then -+ if test -n "$hardcode_libdir_separator"; then -+ if test -z "$hardcode_libdirs"; then -+ hardcode_libdirs="$libdir" -+ else -+ # Just accumulate the unique libdirs. -+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in -+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) -+ ;; -+ *) -+ hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" -+ ;; -+ esac -+ fi -+ else -+ eval flag=\"$hardcode_libdir_flag_spec\" -+ rpath="$rpath $flag" -+ fi -+ elif test -n "$runpath_var"; then -+ case "$finalize_perm_rpath " in -+ *" $libdir "*) ;; -+ *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; -+ esac -+ fi -+ done -+ # Substitute the hardcoded libdirs into the rpath. -+ if test -n "$hardcode_libdir_separator" && -+ test -n "$hardcode_libdirs"; then -+ libdir="$hardcode_libdirs" -+ eval rpath=\" $hardcode_libdir_flag_spec\" -+ fi -+ finalize_rpath="$rpath" -+ -+ if test -n "$libobjs" && test "$build_old_libs" = yes; then -+ # Transform all the library objects into standard objects. -+ compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` -+ finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` -+ fi -+ -+ func_generate_dlsyms "$outputname" "@PROGRAM@" "no" -+ -+ # template prelinking step -+ if test -n "$prelink_cmds"; then -+ func_execute_cmds "$prelink_cmds" 'exit $?' -+ fi -+ -+ wrappers_required=yes -+ case $host in -+ *cygwin* | *mingw* ) -+ if test "$build_libtool_libs" != yes; then -+ wrappers_required=no -+ fi -+ ;; -+ *cegcc) -+ # Disable wrappers for cegcc, we are cross compiling anyway. -+ wrappers_required=no -+ ;; -+ *) -+ if test "$need_relink" = no || test "$build_libtool_libs" != yes; then -+ wrappers_required=no -+ fi -+ ;; -+ esac -+ if test "$wrappers_required" = no; then -+ # Replace the output file specification. -+ compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` -+ link_command="$compile_command$compile_rpath" -+ -+ # We have no uninstalled library dependencies, so finalize right now. -+ exit_status=0 -+ func_show_eval "$link_command" 'exit_status=$?' -+ -+ # Delete the generated files. -+ if test -f "$output_objdir/${outputname}S.${objext}"; then -+ func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"' -+ fi -+ -+ exit $exit_status -+ fi -+ -+ if test -n "$compile_shlibpath$finalize_shlibpath"; then -+ compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" -+ fi -+ if test -n "$finalize_shlibpath"; then -+ finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" -+ fi -+ -+ compile_var= -+ finalize_var= -+ if test -n "$runpath_var"; then -+ if test -n "$perm_rpath"; then -+ # We should set the runpath_var. -+ rpath= -+ for dir in $perm_rpath; do -+ rpath="$rpath$dir:" -+ done -+ compile_var="$runpath_var=\"$rpath\$$runpath_var\" " -+ fi -+ if test -n "$finalize_perm_rpath"; then -+ # We should set the runpath_var. -+ rpath= -+ for dir in $finalize_perm_rpath; do -+ rpath="$rpath$dir:" -+ done -+ finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " -+ fi -+ fi -+ -+ if test "$no_install" = yes; then -+ # We don't need to create a wrapper script. -+ link_command="$compile_var$compile_command$compile_rpath" -+ # Replace the output file specification. -+ link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` -+ # Delete the old output file. -+ $opt_dry_run || $RM $output -+ # Link the executable and exit -+ func_show_eval "$link_command" 'exit $?' -+ exit $EXIT_SUCCESS -+ fi -+ -+ if test "$hardcode_action" = relink; then -+ # Fast installation is not supported -+ link_command="$compile_var$compile_command$compile_rpath" -+ relink_command="$finalize_var$finalize_command$finalize_rpath" -+ -+ func_warning "this platform does not like uninstalled shared libraries" -+ func_warning "\`$output' will be relinked during installation" -+ else -+ if test "$fast_install" != no; then -+ link_command="$finalize_var$compile_command$finalize_rpath" -+ if test "$fast_install" = yes; then -+ relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` -+ else -+ # fast_install is set to needless -+ relink_command= -+ fi -+ else -+ link_command="$compile_var$compile_command$compile_rpath" -+ relink_command="$finalize_var$finalize_command$finalize_rpath" -+ fi -+ fi -+ -+ # Replace the output file specification. -+ link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` -+ -+ # Delete the old output files. -+ $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname -+ -+ func_show_eval "$link_command" 'exit $?' -+ -+ # Now create the wrapper script. -+ func_verbose "creating $output" -+ -+ # Quote the relink command for shipping. -+ if test -n "$relink_command"; then -+ # Preserve any variables that may affect compiler behavior -+ for var in $variables_saved_for_relink; do -+ if eval test -z \"\${$var+set}\"; then -+ relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" -+ elif eval var_value=\$$var; test -z "$var_value"; then -+ relink_command="$var=; export $var; $relink_command" -+ else -+ func_quote_for_eval "$var_value" -+ relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" -+ fi -+ done -+ relink_command="(cd `pwd`; $relink_command)" -+ relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"` -+ fi -+ -+ # Quote $ECHO for shipping. -+ if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then -+ case $progpath in -+ [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; -+ *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; -+ esac -+ qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"` -+ else -+ qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"` -+ fi -+ -+ # Only actually do things if not in dry run mode. -+ $opt_dry_run || { -+ # win32 will think the script is a binary if it has -+ # a .exe suffix, so we strip it off here. -+ case $output in -+ *.exe) func_stripname '' '.exe' "$output" -+ output=$func_stripname_result ;; -+ esac -+ # test for cygwin because mv fails w/o .exe extensions -+ case $host in -+ *cygwin*) -+ exeext=.exe -+ func_stripname '' '.exe' "$outputname" -+ outputname=$func_stripname_result ;; -+ *) exeext= ;; -+ esac -+ case $host in -+ *cygwin* | *mingw* ) -+ func_dirname_and_basename "$output" "" "." -+ output_name=$func_basename_result -+ output_path=$func_dirname_result -+ cwrappersource="$output_path/$objdir/lt-$output_name.c" -+ cwrapper="$output_path/$output_name.exe" -+ $RM $cwrappersource $cwrapper -+ trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 -+ -+ func_emit_cwrapperexe_src > $cwrappersource -+ -+ # The wrapper executable is built using the $host compiler, -+ # because it contains $host paths and files. If cross- -+ # compiling, it, like the target executable, must be -+ # executed on the $host or under an emulation environment. -+ $opt_dry_run || { -+ $LTCC $LTCFLAGS -o $cwrapper $cwrappersource -+ $STRIP $cwrapper -+ } -+ -+ # Now, create the wrapper script for func_source use: -+ func_ltwrapper_scriptname $cwrapper -+ $RM $func_ltwrapper_scriptname_result -+ trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 -+ $opt_dry_run || { -+ # note: this script will not be executed, so do not chmod. -+ if test "x$build" = "x$host" ; then -+ $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result -+ else -+ func_emit_wrapper no > $func_ltwrapper_scriptname_result -+ fi -+ } -+ ;; -+ * ) -+ $RM $output -+ trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 -+ -+ func_emit_wrapper no > $output -+ chmod +x $output -+ ;; -+ esac -+ } -+ exit $EXIT_SUCCESS -+ ;; -+ esac -+ -+ # See if we need to build an old-fashioned archive. -+ for oldlib in $oldlibs; do -+ -+ if test "$build_libtool_libs" = convenience; then -+ oldobjs="$libobjs_save $symfileobj" -+ addlibs="$convenience" -+ build_libtool_libs=no -+ else -+ if test "$build_libtool_libs" = module; then -+ oldobjs="$libobjs_save" -+ build_libtool_libs=no -+ else -+ oldobjs="$old_deplibs $non_pic_objects" -+ if test "$preload" = yes && test -f "$symfileobj"; then -+ oldobjs="$oldobjs $symfileobj" -+ fi -+ fi -+ addlibs="$old_convenience" -+ fi -+ -+ if test -n "$addlibs"; then -+ gentop="$output_objdir/${outputname}x" -+ generated="$generated $gentop" -+ -+ func_extract_archives $gentop $addlibs -+ oldobjs="$oldobjs $func_extract_archives_result" -+ fi -+ -+ # Do each command in the archive commands. -+ if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then -+ cmds=$old_archive_from_new_cmds -+ else -+ -+ # Add any objects from preloaded convenience libraries -+ if test -n "$dlprefiles"; then -+ gentop="$output_objdir/${outputname}x" -+ generated="$generated $gentop" -+ -+ func_extract_archives $gentop $dlprefiles -+ oldobjs="$oldobjs $func_extract_archives_result" -+ fi -+ -+ # POSIX demands no paths to be encoded in archives. We have -+ # to avoid creating archives with duplicate basenames if we -+ # might have to extract them afterwards, e.g., when creating a -+ # static archive out of a convenience library, or when linking -+ # the entirety of a libtool archive into another (currently -+ # not supported by libtool). -+ if (for obj in $oldobjs -+ do -+ func_basename "$obj" -+ $ECHO "$func_basename_result" -+ done | sort | sort -uc >/dev/null 2>&1); then -+ : -+ else -+ $ECHO "copying selected object files to avoid basename conflicts..." -+ gentop="$output_objdir/${outputname}x" -+ generated="$generated $gentop" -+ func_mkdir_p "$gentop" -+ save_oldobjs=$oldobjs -+ oldobjs= -+ counter=1 -+ for obj in $save_oldobjs -+ do -+ func_basename "$obj" -+ objbase="$func_basename_result" -+ case " $oldobjs " in -+ " ") oldobjs=$obj ;; -+ *[\ /]"$objbase "*) -+ while :; do -+ # Make sure we don't pick an alternate name that also -+ # overlaps. -+ newobj=lt$counter-$objbase -+ func_arith $counter + 1 -+ counter=$func_arith_result -+ case " $oldobjs " in -+ *[\ /]"$newobj "*) ;; -+ *) if test ! -f "$gentop/$newobj"; then break; fi ;; -+ esac -+ done -+ func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" -+ oldobjs="$oldobjs $gentop/$newobj" -+ ;; -+ *) oldobjs="$oldobjs $obj" ;; -+ esac -+ done -+ fi -+ eval cmds=\"$old_archive_cmds\" -+ -+ func_len " $cmds" -+ len=$func_len_result -+ if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then -+ cmds=$old_archive_cmds -+ else -+ # the command line is too long to link in one step, link in parts -+ func_verbose "using piecewise archive linking..." -+ save_RANLIB=$RANLIB -+ RANLIB=: -+ objlist= -+ concat_cmds= -+ save_oldobjs=$oldobjs -+ oldobjs= -+ # Is there a better way of finding the last object in the list? -+ for obj in $save_oldobjs -+ do -+ last_oldobj=$obj -+ done -+ eval test_cmds=\"$old_archive_cmds\" -+ func_len " $test_cmds" -+ len0=$func_len_result -+ len=$len0 -+ for obj in $save_oldobjs -+ do -+ func_len " $obj" -+ func_arith $len + $func_len_result -+ len=$func_arith_result -+ func_append objlist " $obj" -+ if test "$len" -lt "$max_cmd_len"; then -+ : -+ else -+ # the above command should be used before it gets too long -+ oldobjs=$objlist -+ if test "$obj" = "$last_oldobj" ; then -+ RANLIB=$save_RANLIB -+ fi -+ test -z "$concat_cmds" || concat_cmds=$concat_cmds~ -+ eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" -+ objlist= -+ len=$len0 -+ fi -+ done -+ RANLIB=$save_RANLIB -+ oldobjs=$objlist -+ if test "X$oldobjs" = "X" ; then -+ eval cmds=\"\$concat_cmds\" -+ else -+ eval cmds=\"\$concat_cmds~\$old_archive_cmds\" -+ fi -+ fi -+ fi -+ func_execute_cmds "$cmds" 'exit $?' -+ done -+ -+ test -n "$generated" && \ -+ func_show_eval "${RM}r$generated" -+ -+ # Now create the libtool archive. -+ case $output in -+ *.la) -+ old_library= -+ test "$build_old_libs" = yes && old_library="$libname.$libext" -+ func_verbose "creating $output" -+ -+ # Preserve any variables that may affect compiler behavior -+ for var in $variables_saved_for_relink; do -+ if eval test -z \"\${$var+set}\"; then -+ relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" -+ elif eval var_value=\$$var; test -z "$var_value"; then -+ relink_command="$var=; export $var; $relink_command" -+ else -+ func_quote_for_eval "$var_value" -+ relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" -+ fi -+ done -+ # Quote the link command for shipping. -+ relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" -+ relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"` -+ if test "$hardcode_automatic" = yes ; then -+ relink_command= -+ fi -+ -+ # Only create the output if not a dry run. -+ $opt_dry_run || { -+ for installed in no yes; do -+ if test "$installed" = yes; then -+ if test -z "$install_libdir"; then -+ break -+ fi -+ output="$output_objdir/$outputname"i -+ # Replace all uninstalled libtool libraries with the installed ones -+ newdependency_libs= -+ for deplib in $dependency_libs; do -+ case $deplib in -+ *.la) -+ func_basename "$deplib" -+ name="$func_basename_result" -+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` -+ test -z "$libdir" && \ -+ func_fatal_error "\`$deplib' is not a valid libtool archive" -+ newdependency_libs="$newdependency_libs $libdir/$name" -+ ;; -+ *) newdependency_libs="$newdependency_libs $deplib" ;; -+ esac -+ done -+ dependency_libs="$newdependency_libs" -+ newdlfiles= -+ -+ for lib in $dlfiles; do -+ case $lib in -+ *.la) -+ func_basename "$lib" -+ name="$func_basename_result" -+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` -+ test -z "$libdir" && \ -+ func_fatal_error "\`$lib' is not a valid libtool archive" -+ newdlfiles="$newdlfiles $libdir/$name" -+ ;; -+ *) newdlfiles="$newdlfiles $lib" ;; -+ esac -+ done -+ dlfiles="$newdlfiles" -+ newdlprefiles= -+ for lib in $dlprefiles; do -+ case $lib in -+ *.la) -+ # Only pass preopened files to the pseudo-archive (for -+ # eventual linking with the app. that links it) if we -+ # didn't already link the preopened objects directly into -+ # the library: -+ func_basename "$lib" -+ name="$func_basename_result" -+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` -+ test -z "$libdir" && \ -+ func_fatal_error "\`$lib' is not a valid libtool archive" -+ newdlprefiles="$newdlprefiles $libdir/$name" -+ ;; -+ esac -+ done -+ dlprefiles="$newdlprefiles" -+ else -+ newdlfiles= -+ for lib in $dlfiles; do -+ case $lib in -+ [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; -+ *) abs=`pwd`"/$lib" ;; -+ esac -+ newdlfiles="$newdlfiles $abs" -+ done -+ dlfiles="$newdlfiles" -+ newdlprefiles= -+ for lib in $dlprefiles; do -+ case $lib in -+ [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; -+ *) abs=`pwd`"/$lib" ;; -+ esac -+ newdlprefiles="$newdlprefiles $abs" -+ done -+ dlprefiles="$newdlprefiles" -+ fi -+ $RM $output -+ # place dlname in correct position for cygwin -+ tdlname=$dlname -+ case $host,$output,$installed,$module,$dlname in -+ *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; -+ esac -+ $ECHO > $output "\ -+# $outputname - a libtool library file -+# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION -+# -+# Please DO NOT delete this file! -+# It is necessary for linking the library. -+ -+# The name that we can dlopen(3). -+dlname='$tdlname' -+ -+# Names of this library. -+library_names='$library_names' -+ -+# The name of the static archive. -+old_library='$old_library' -+ -+# Linker flags that can not go in dependency_libs. -+inherited_linker_flags='$new_inherited_linker_flags' -+ -+# Libraries that this one depends upon. -+dependency_libs='$dependency_libs' -+ -+# Names of additional weak libraries provided by this library -+weak_library_names='$weak_libs' -+ -+# Version information for $libname. -+current=$current -+age=$age -+revision=$revision -+ -+# Is this an already installed library? -+installed=$installed -+ -+# Should we warn about portability when linking against -modules? -+shouldnotlink=$module -+ -+# Files to dlopen/dlpreopen -+dlopen='$dlfiles' -+dlpreopen='$dlprefiles' -+ -+# Directory that this library needs to be installed in: -+libdir='$install_libdir'" -+ if test "$installed" = no && test "$need_relink" = yes; then -+ $ECHO >> $output "\ -+relink_command=\"$relink_command\"" -+ fi -+ done -+ } -+ -+ # Do a symbolic link so that the libtool archive can be found in -+ # LD_LIBRARY_PATH before the program is installed. -+ func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' -+ ;; -+ esac -+ exit $EXIT_SUCCESS -+} -+ -+{ test "$mode" = link || test "$mode" = relink; } && -+ func_mode_link ${1+"$@"} -+ -+ -+# func_mode_uninstall arg... -+func_mode_uninstall () -+{ -+ $opt_debug -+ RM="$nonopt" -+ files= -+ rmforce= -+ exit_status=0 -+ -+ # This variable tells wrapper scripts just to set variables rather -+ # than running their programs. -+ libtool_install_magic="$magic" -+ -+ for arg -+ do -+ case $arg in -+ -f) RM="$RM $arg"; rmforce=yes ;; -+ -*) RM="$RM $arg" ;; -+ *) files="$files $arg" ;; -+ esac -+ done -+ -+ test -z "$RM" && \ -+ func_fatal_help "you must specify an RM program" -+ -+ rmdirs= -+ -+ origobjdir="$objdir" -+ for file in $files; do -+ func_dirname "$file" "" "." -+ dir="$func_dirname_result" -+ if test "X$dir" = X.; then -+ objdir="$origobjdir" -+ else -+ objdir="$dir/$origobjdir" -+ fi -+ func_basename "$file" -+ name="$func_basename_result" -+ test "$mode" = uninstall && objdir="$dir" -+ -+ # Remember objdir for removal later, being careful to avoid duplicates -+ if test "$mode" = clean; then -+ case " $rmdirs " in -+ *" $objdir "*) ;; -+ *) rmdirs="$rmdirs $objdir" ;; -+ esac -+ fi -+ -+ # Don't error if the file doesn't exist and rm -f was used. -+ if { test -L "$file"; } >/dev/null 2>&1 || -+ { test -h "$file"; } >/dev/null 2>&1 || -+ test -f "$file"; then -+ : -+ elif test -d "$file"; then -+ exit_status=1 -+ continue -+ elif test "$rmforce" = yes; then -+ continue -+ fi -+ -+ rmfiles="$file" -+ -+ case $name in -+ *.la) -+ # Possibly a libtool archive, so verify it. -+ if func_lalib_p "$file"; then -+ func_source $dir/$name -+ -+ # Delete the libtool libraries and symlinks. -+ for n in $library_names; do -+ rmfiles="$rmfiles $objdir/$n" -+ done -+ test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" -+ -+ case "$mode" in -+ clean) -+ case " $library_names " in -+ # " " in the beginning catches empty $dlname -+ *" $dlname "*) ;; -+ *) rmfiles="$rmfiles $objdir/$dlname" ;; -+ esac -+ test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" -+ ;; -+ uninstall) -+ if test -n "$library_names"; then -+ # Do each command in the postuninstall commands. -+ func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' -+ fi -+ -+ if test -n "$old_library"; then -+ # Do each command in the old_postuninstall commands. -+ func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' -+ fi -+ # FIXME: should reinstall the best remaining shared library. -+ ;; -+ esac -+ fi -+ ;; -+ -+ *.lo) -+ # Possibly a libtool object, so verify it. -+ if func_lalib_p "$file"; then -+ -+ # Read the .lo file -+ func_source $dir/$name -+ -+ # Add PIC object to the list of files to remove. -+ if test -n "$pic_object" && -+ test "$pic_object" != none; then -+ rmfiles="$rmfiles $dir/$pic_object" -+ fi -+ -+ # Add non-PIC object to the list of files to remove. -+ if test -n "$non_pic_object" && -+ test "$non_pic_object" != none; then -+ rmfiles="$rmfiles $dir/$non_pic_object" -+ fi -+ fi -+ ;; -+ -+ *) -+ if test "$mode" = clean ; then -+ noexename=$name -+ case $file in -+ *.exe) -+ func_stripname '' '.exe' "$file" -+ file=$func_stripname_result -+ func_stripname '' '.exe' "$name" -+ noexename=$func_stripname_result -+ # $file with .exe has already been added to rmfiles, -+ # add $file without .exe -+ rmfiles="$rmfiles $file" -+ ;; -+ esac -+ # Do a test to see if this is a libtool program. -+ if func_ltwrapper_p "$file"; then -+ if func_ltwrapper_executable_p "$file"; then -+ func_ltwrapper_scriptname "$file" -+ relink_command= -+ func_source $func_ltwrapper_scriptname_result -+ rmfiles="$rmfiles $func_ltwrapper_scriptname_result" -+ else -+ relink_command= -+ func_source $dir/$noexename -+ fi -+ -+ # note $name still contains .exe if it was in $file originally -+ # as does the version of $file that was added into $rmfiles -+ rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" -+ if test "$fast_install" = yes && test -n "$relink_command"; then -+ rmfiles="$rmfiles $objdir/lt-$name" -+ fi -+ if test "X$noexename" != "X$name" ; then -+ rmfiles="$rmfiles $objdir/lt-${noexename}.c" -+ fi -+ fi -+ fi -+ ;; -+ esac -+ func_show_eval "$RM $rmfiles" 'exit_status=1' -+ done -+ objdir="$origobjdir" -+ -+ # Try to remove the ${objdir}s in the directories where we deleted files -+ for dir in $rmdirs; do -+ if test -d "$dir"; then -+ func_show_eval "rmdir $dir >/dev/null 2>&1" -+ fi -+ done -+ -+ exit $exit_status -+} -+ -+{ test "$mode" = uninstall || test "$mode" = clean; } && -+ func_mode_uninstall ${1+"$@"} -+ -+test -z "$mode" && { -+ help="$generic_help" -+ func_fatal_help "you must specify a MODE" -+} -+ -+test -z "$exec_cmd" && \ -+ func_fatal_help "invalid operation mode \`$mode'" -+ -+if test -n "$exec_cmd"; then -+ eval exec "$exec_cmd" -+ exit $EXIT_FAILURE -+fi -+ -+exit $exit_status -+ -+ -+# The TAGs below are defined such that we never get into a situation -+# in which we disable both kinds of libraries. Given conflicting -+# choices, we go for a static library, that is the most portable, -+# since we can't tell whether shared libraries were disabled because -+# the user asked for that or because the platform doesn't support -+# them. This is particularly important on AIX, because we don't -+# support having both static and shared libraries enabled at the same -+# time on that platform, so we default to a shared-only configuration. -+# If a disable-shared tag is given, we'll fallback to a static-only -+# configuration. But we'll never go from static-only to shared-only. -+ -+# ### BEGIN LIBTOOL TAG CONFIG: disable-shared -+build_libtool_libs=no -+build_old_libs=yes -+# ### END LIBTOOL TAG CONFIG: disable-shared -+ -+# ### BEGIN LIBTOOL TAG CONFIG: disable-static -+build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` -+# ### END LIBTOOL TAG CONFIG: disable-static -+ -+# Local Variables: -+# mode:shell-script -+# sh-indentation:2 -+# End: -+# vi:sw=2 -+ -+ -+# ### BEGIN LIBTOOL TAG CONFIG: CXX -+ -+# The linker used to build libraries. -+LD="/usr/bin/ld" -+ -+# Commands used to build an old-style archive. -+old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib" -+ -+# A language specific compiler. -+CC="g++" -+ -+# Is the compiler the GNU compiler? -+with_gcc=yes -+ -+# Compiler flag to turn off builtin functions. -+no_builtin_flag=" -fno-builtin" -+ -+# How to pass a linker flag through the compiler. -+wl="-Wl," -+ -+# Additional compiler flags for building library objects. -+pic_flag=" -fPIC -DPIC" -+ -+# Compiler flag to prevent dynamic linking. -+link_static_flag="-static" -+ -+# Does compiler simultaneously support -c and -o options? -+compiler_c_o="yes" -+ -+# Whether or not to add -lc for building shared libraries. -+build_libtool_need_lc=no -+ -+# Whether or not to disallow shared libs when runtime libs are static. -+allow_libtool_libs_with_static_runtimes=no -+ -+# Compiler flag to allow reflexive dlopens. -+export_dynamic_flag_spec="\${wl}--export-dynamic" -+ -+# Compiler flag to generate shared objects directly from archives. -+whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive" -+ -+# Whether the compiler copes with passing no objects directly. -+compiler_needs_object="no" -+ -+# Create an old-style archive from a shared archive. -+old_archive_from_new_cmds="" -+ -+# Create a temporary old-style archive to link instead of a shared archive. -+old_archive_from_expsyms_cmds="" -+ -+# Commands used to build a shared archive. -+archive_cmds="\$CC -shared -nostdlib \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib" -+archive_expsym_cmds="\$CC -shared -nostdlib \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-retain-symbols-file \$wl\$export_symbols -o \$lib" -+ -+# Commands used to build a loadable module if different from building -+# a shared archive. -+module_cmds="" -+module_expsym_cmds="" -+ -+# Whether we are building with GNU ld or not. -+with_gnu_ld="yes" -+ -+# Flag that allows shared libraries with undefined symbols to be built. -+allow_undefined_flag="" -+ -+# Flag that enforces no undefined symbols. -+no_undefined_flag="" -+ -+# Flag to hardcode $libdir into a binary during linking. -+# This must work even if $libdir does not exist -+hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir" -+ -+# If ld is used when linking, flag to hardcode $libdir into a binary -+# during linking. This must work even if $libdir does not exist. -+hardcode_libdir_flag_spec_ld="" -+ -+# Whether we need a single "-rpath" flag with a separated argument. -+hardcode_libdir_separator="" -+ -+# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes -+# DIR into the resulting binary. -+hardcode_direct=no -+ -+# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes -+# DIR into the resulting binary and the resulting library dependency is -+# "absolute",i.e impossible to change by setting ${shlibpath_var} if the -+# library is relocated. -+hardcode_direct_absolute=no -+ -+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR -+# into the resulting binary. -+hardcode_minus_L=no -+ -+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR -+# into the resulting binary. -+hardcode_shlibpath_var=unsupported -+ -+# Set to "yes" if building a shared library automatically hardcodes DIR -+# into the library and all subsequent libraries and executables linked -+# against it. -+hardcode_automatic=no -+ -+# Set to yes if linker adds runtime paths of dependent libraries -+# to runtime path list. -+inherit_rpath=no -+ -+# Whether libtool must link a program against all its dependency libraries. -+link_all_deplibs=no -+ -+# Fix the shell variable $srcfile for the compiler. -+fix_srcfile_path="" -+ -+# Set to "yes" if exported symbols are required. -+always_export_symbols=no -+ -+# The commands to list exported symbols. -+export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols" -+ -+# Symbols that should not be listed in the preloaded symbols. -+exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*" -+ -+# Symbols that must always be exported. -+include_expsyms="" -+ -+# Commands necessary for linking programs (against libraries) with templates. -+prelink_cmds="" -+ -+# Specify filename containing input files. -+file_list_spec="" -+ -+# How to hardcode a shared library path into an executable. -+hardcode_action=immediate -+ -+# The directories searched by this compiler when creating a shared library. -+compiler_lib_search_dirs="/usr/lib/gcc/i486-linux-gnu/4.4.3 /usr/lib/gcc/i486-linux-gnu/4.4.3 /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib /lib/../lib /usr/lib/../lib /usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. /usr/lib/i486-linux-gnu" -+ -+# Dependencies to place before and after the objects being linked to -+# create a shared library. -+predep_objects="/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.4.3/crtbeginS.o" -+postdep_objects="/usr/lib/gcc/i486-linux-gnu/4.4.3/crtendS.o /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crtn.o" -+predeps="" -+postdeps="-lstdc++ -lm -lgcc_s -lc -lgcc_s" -+ -+# The library search path used internally by the compiler when linking -+# a shared library. -+compiler_lib_search_path="-L/usr/lib/gcc/i486-linux-gnu/4.4.3 -L/usr/lib/gcc/i486-linux-gnu/4.4.3 -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. -L/usr/lib/i486-linux-gnu" -+ -+# ### END LIBTOOL TAG CONFIG: CXX -diff -Nur gpsd-2.39.orig/ltmain.sh gpsd-2.39/ltmain.sh ---- gpsd-2.39.orig/ltmain.sh 2009-03-13 17:35:50.000000000 +0100 -+++ gpsd-2.39/ltmain.sh 2010-02-18 21:41:54.160856956 +0100 -@@ -1,6 +1,6 @@ - # Generated from ltmain.m4sh. - --# ltmain.sh (GNU libtool) 2.2.4 -+# ltmain.sh (GNU libtool) 2.2.6b - # Written by Gordon Matzigkeit , 1996 - - # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. -@@ -65,7 +65,7 @@ - # compiler: $LTCC - # compiler flags: $LTCFLAGS - # linker: $LD (gnu? $with_gnu_ld) --# $progname: (GNU libtool) 2.2.4 Debian-2.2.4-0ubuntu4 -+# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1 - # automake: $automake_version - # autoconf: $autoconf_version - # -@@ -73,9 +73,9 @@ - - PROGRAM=ltmain.sh - PACKAGE=libtool --VERSION="2.2.4 Debian-2.2.4-0ubuntu4" -+VERSION="2.2.6b Debian-2.2.6b-2ubuntu1" - TIMESTAMP="" --package_revision=1.2976 -+package_revision=1.3017 - - # Be Bourne compatible - if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then -@@ -805,7 +805,7 @@ - - - case $host in -- *cygwin* | *mingw* | *pw32*) -+ *cygwin* | *mingw* | *pw32* | *cegcc*) - # don't eliminate duplications in $postdeps and $predeps - opt_duplicate_compiler_generated_deps=: - ;; -@@ -893,8 +893,9 @@ - # determined imposters. - func_lalib_p () - { -- $SED -e 4q "$1" 2>/dev/null \ -- | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 -+ test -f "$1" && -+ $SED -e 4q "$1" 2>/dev/null \ -+ | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 - } - - # func_lalib_unsafe_p file -@@ -907,7 +908,7 @@ - func_lalib_unsafe_p () - { - lalib_p=no -- if test -r "$1" && exec 5<&0 <"$1"; then -+ if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then - for lalib_p_l in 1 2 3 4 - do - read lalib_p_line -@@ -1275,7 +1276,7 @@ - - # On Cygwin there's no "real" PIC flag so we must build both object types - case $host_os in -- cygwin* | mingw* | pw32* | os2*) -+ cygwin* | mingw* | pw32* | os2* | cegcc*) - pic_mode=default - ;; - esac -@@ -2046,7 +2047,7 @@ - 'exit $?' - tstripme="$stripme" - case $host_os in -- cygwin* | mingw* | pw32*) -+ cygwin* | mingw* | pw32* | cegcc*) - case $realname in - *.dll.a) - tstripme="" -@@ -2152,7 +2153,7 @@ - - # Do a test to see if this is really a libtool program. - case $host in -- *cygwin*|*mingw*) -+ *cygwin* | *mingw*) - if func_ltwrapper_executable_p "$file"; then - func_ltwrapper_scriptname "$file" - wrapper=$func_ltwrapper_scriptname_result -@@ -2358,7 +2359,7 @@ - $RM $export_symbols - eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' - case $host in -- *cygwin* | *mingw* ) -+ *cygwin* | *mingw* | *cegcc* ) - eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' - eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' - ;; -@@ -2370,7 +2371,7 @@ - eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' - eval '$MV "$nlist"T "$nlist"' - case $host in -- *cygwin | *mingw* ) -+ *cygwin | *mingw* | *cegcc* ) - eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' - eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' - ;; -@@ -2426,7 +2427,7 @@ - } lt_dlsymlist; - " - case $host in -- *cygwin* | *mingw* ) -+ *cygwin* | *mingw* | *cegcc* ) - $ECHO >> "$output_objdir/$my_dlsyms" "\ - /* DATA imports from DLLs on WIN32 con't be const, because - runtime relocations are performed -- see ld's documentation -@@ -2512,7 +2513,7 @@ - # Transform the symbol file into the correct name. - symfileobj="$output_objdir/${my_outputname}S.$objext" - case $host in -- *cygwin* | *mingw* ) -+ *cygwin* | *mingw* | *cegcc* ) - if test -f "$output_objdir/$my_outputname.def"; then - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` -@@ -2691,25 +2692,16 @@ - - - --# func_emit_wrapper arg -+# func_emit_wrapper_part1 [arg=no] - # --# emit a libtool wrapper script on stdout --# don't directly open a file because we may want to --# incorporate the script contents within a cygwin/mingw --# wrapper executable. Must ONLY be called from within --# func_mode_link because it depends on a number of variable --# set therein. --# --# arg is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR --# variable will take. If 'yes', then the emitted script --# will assume that the directory in which it is stored is --# the '.lib' directory. This is a cygwin/mingw-specific --# behavior. --func_emit_wrapper () -+# Emit the first part of a libtool wrapper script on stdout. -+# For more information, see the description associated with -+# func_emit_wrapper(), below. -+func_emit_wrapper_part1 () - { -- func_emit_wrapper_arg1=no -+ func_emit_wrapper_part1_arg1=no - if test -n "$1" ; then -- func_emit_wrapper_arg1=$1 -+ func_emit_wrapper_part1_arg1=$1 - fi - - $ECHO "\ -@@ -2794,10 +2786,27 @@ - file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\` - file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` - done -+" -+} -+# end: func_emit_wrapper_part1 -+ -+# func_emit_wrapper_part2 [arg=no] -+# -+# Emit the second part of a libtool wrapper script on stdout. -+# For more information, see the description associated with -+# func_emit_wrapper(), below. -+func_emit_wrapper_part2 () -+{ -+ func_emit_wrapper_part2_arg1=no -+ if test -n "$1" ; then -+ func_emit_wrapper_part2_arg1=$1 -+ fi -+ -+ $ECHO "\ - - # Usually 'no', except on cygwin/mingw when embedded into - # the cwrapper. -- WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 -+ WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1 - if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then - # special case for '.' - if test \"\$thisdir\" = \".\"; then -@@ -2888,7 +2897,7 @@ - " - case $host in - # Backslashes separate directories on plain windows -- *-*-mingw | *-*-os2*) -+ *-*-mingw | *-*-os2* | *-cegcc*) - $ECHO "\ - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} - " -@@ -2914,7 +2923,207 @@ - fi\ - " - } --# end: func_emit_wrapper -+# end: func_emit_wrapper_part2 -+ -+ -+# func_emit_wrapper [arg=no] -+# -+# Emit a libtool wrapper script on stdout. -+# Don't directly open a file because we may want to -+# incorporate the script contents within a cygwin/mingw -+# wrapper executable. Must ONLY be called from within -+# func_mode_link because it depends on a number of variables -+# set therein. -+# -+# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR -+# variable will take. If 'yes', then the emitted script -+# will assume that the directory in which it is stored is -+# the $objdir directory. This is a cygwin/mingw-specific -+# behavior. -+func_emit_wrapper () -+{ -+ func_emit_wrapper_arg1=no -+ if test -n "$1" ; then -+ func_emit_wrapper_arg1=$1 -+ fi -+ -+ # split this up so that func_emit_cwrapperexe_src -+ # can call each part independently. -+ func_emit_wrapper_part1 "${func_emit_wrapper_arg1}" -+ func_emit_wrapper_part2 "${func_emit_wrapper_arg1}" -+} -+ -+ -+# func_to_host_path arg -+# -+# Convert paths to host format when used with build tools. -+# Intended for use with "native" mingw (where libtool itself -+# is running under the msys shell), or in the following cross- -+# build environments: -+# $build $host -+# mingw (msys) mingw [e.g. native] -+# cygwin mingw -+# *nix + wine mingw -+# where wine is equipped with the `winepath' executable. -+# In the native mingw case, the (msys) shell automatically -+# converts paths for any non-msys applications it launches, -+# but that facility isn't available from inside the cwrapper. -+# Similar accommodations are necessary for $host mingw and -+# $build cygwin. Calling this function does no harm for other -+# $host/$build combinations not listed above. -+# -+# ARG is the path (on $build) that should be converted to -+# the proper representation for $host. The result is stored -+# in $func_to_host_path_result. -+func_to_host_path () -+{ -+ func_to_host_path_result="$1" -+ if test -n "$1" ; then -+ case $host in -+ *mingw* ) -+ lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' -+ case $build in -+ *mingw* ) # actually, msys -+ # awkward: cmd appends spaces to result -+ lt_sed_strip_trailing_spaces="s/[ ]*\$//" -+ func_to_host_path_tmp1=`( cmd //c echo "$1" |\ -+ $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` -+ func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ -+ $SED -e "$lt_sed_naive_backslashify"` -+ ;; -+ *cygwin* ) -+ func_to_host_path_tmp1=`cygpath -w "$1"` -+ func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ -+ $SED -e "$lt_sed_naive_backslashify"` -+ ;; -+ * ) -+ # Unfortunately, winepath does not exit with a non-zero -+ # error code, so we are forced to check the contents of -+ # stdout. On the other hand, if the command is not -+ # found, the shell will set an exit code of 127 and print -+ # *an error message* to stdout. So we must check for both -+ # error code of zero AND non-empty stdout, which explains -+ # the odd construction: -+ func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null` -+ if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then -+ func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ -+ $SED -e "$lt_sed_naive_backslashify"` -+ else -+ # Allow warning below. -+ func_to_host_path_result="" -+ fi -+ ;; -+ esac -+ if test -z "$func_to_host_path_result" ; then -+ func_error "Could not determine host path corresponding to" -+ func_error " '$1'" -+ func_error "Continuing, but uninstalled executables may not work." -+ # Fallback: -+ func_to_host_path_result="$1" -+ fi -+ ;; -+ esac -+ fi -+} -+# end: func_to_host_path -+ -+# func_to_host_pathlist arg -+# -+# Convert pathlists to host format when used with build tools. -+# See func_to_host_path(), above. This function supports the -+# following $build/$host combinations (but does no harm for -+# combinations not listed here): -+# $build $host -+# mingw (msys) mingw [e.g. native] -+# cygwin mingw -+# *nix + wine mingw -+# -+# Path separators are also converted from $build format to -+# $host format. If ARG begins or ends with a path separator -+# character, it is preserved (but converted to $host format) -+# on output. -+# -+# ARG is a pathlist (on $build) that should be converted to -+# the proper representation on $host. The result is stored -+# in $func_to_host_pathlist_result. -+func_to_host_pathlist () -+{ -+ func_to_host_pathlist_result="$1" -+ if test -n "$1" ; then -+ case $host in -+ *mingw* ) -+ lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' -+ # Remove leading and trailing path separator characters from -+ # ARG. msys behavior is inconsistent here, cygpath turns them -+ # into '.;' and ';.', and winepath ignores them completely. -+ func_to_host_pathlist_tmp2="$1" -+ # Once set for this call, this variable should not be -+ # reassigned. It is used in tha fallback case. -+ func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\ -+ $SED -e 's|^:*||' -e 's|:*$||'` -+ case $build in -+ *mingw* ) # Actually, msys. -+ # Awkward: cmd appends spaces to result. -+ lt_sed_strip_trailing_spaces="s/[ ]*\$//" -+ func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\ -+ $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` -+ func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ -+ $SED -e "$lt_sed_naive_backslashify"` -+ ;; -+ *cygwin* ) -+ func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"` -+ func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ -+ $SED -e "$lt_sed_naive_backslashify"` -+ ;; -+ * ) -+ # unfortunately, winepath doesn't convert pathlists -+ func_to_host_pathlist_result="" -+ func_to_host_pathlist_oldIFS=$IFS -+ IFS=: -+ for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do -+ IFS=$func_to_host_pathlist_oldIFS -+ if test -n "$func_to_host_pathlist_f" ; then -+ func_to_host_path "$func_to_host_pathlist_f" -+ if test -n "$func_to_host_path_result" ; then -+ if test -z "$func_to_host_pathlist_result" ; then -+ func_to_host_pathlist_result="$func_to_host_path_result" -+ else -+ func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result" -+ fi -+ fi -+ fi -+ IFS=: -+ done -+ IFS=$func_to_host_pathlist_oldIFS -+ ;; -+ esac -+ if test -z "$func_to_host_pathlist_result" ; then -+ func_error "Could not determine the host path(s) corresponding to" -+ func_error " '$1'" -+ func_error "Continuing, but uninstalled executables may not work." -+ # Fallback. This may break if $1 contains DOS-style drive -+ # specifications. The fix is not to complicate the expression -+ # below, but for the user to provide a working wine installation -+ # with winepath so that path translation in the cross-to-mingw -+ # case works properly. -+ lt_replace_pathsep_nix_to_dos="s|:|;|g" -+ func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\ -+ $SED -e "$lt_replace_pathsep_nix_to_dos"` -+ fi -+ # Now, add the leading and trailing path separators back -+ case "$1" in -+ :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result" -+ ;; -+ esac -+ case "$1" in -+ *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;" -+ ;; -+ esac -+ ;; -+ esac -+ fi -+} -+# end: func_to_host_pathlist - - # func_emit_cwrapperexe_src - # emit the source code for a wrapper executable on stdout -@@ -2951,6 +3160,12 @@ - # include - # ifdef __CYGWIN__ - # include -+# define HAVE_SETENV -+# ifdef __STRICT_ANSI__ -+char *realpath (const char *, char *); -+int putenv (char *); -+int setenv (const char *, const char *, int); -+# endif - # endif - #endif - #include -@@ -3057,29 +3272,105 @@ - int check_executable (const char *path); - char *strendzap (char *str, const char *pat); - void lt_fatal (const char *message, ...); -+void lt_setenv (const char *name, const char *value); -+char *lt_extend_str (const char *orig_value, const char *add, int to_end); -+void lt_opt_process_env_set (const char *arg); -+void lt_opt_process_env_prepend (const char *arg); -+void lt_opt_process_env_append (const char *arg); -+int lt_split_name_value (const char *arg, char** name, char** value); -+void lt_update_exe_path (const char *name, const char *value); -+void lt_update_lib_path (const char *name, const char *value); - --static const char *script_text = -+static const char *script_text_part1 = - EOF - -- func_emit_wrapper yes | -+ func_emit_wrapper_part1 yes | -+ $SED -e 's/\([\\"]\)/\\\1/g' \ -+ -e 's/^/ "/' -e 's/$/\\n"/' -+ echo ";" -+ cat </dev/null || echo $SHELL` -- case $lt_newargv0 in -- *.exe | *.EXE) ;; -- *) lt_newargv0=$lt_newargv0.exe ;; -- esac -- ;; -- * ) lt_newargv0=$SHELL ;; -- esac -- fi -- -- cat <"))); -+ for (i = 0; i < newargc; i++) - { -- LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, newargz[i])); -+ LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : ""))); - } - - EOF - - case $host_os in - mingw*) -- cat <"), -+ (value ? value : ""))); -+ { -+#ifdef HAVE_SETENV -+ /* always make a copy, for consistency with !HAVE_SETENV */ -+ char *str = xstrdup (value); -+ setenv (name, str, 1); -+#else -+ int len = strlen (name) + 1 + strlen (value) + 1; -+ char *str = XMALLOC (char, len); -+ sprintf (str, "%s=%s", name, value); -+ if (putenv (str) != EXIT_SUCCESS) -+ { -+ XFREE (str); -+ } -+#endif -+ } -+} -+ -+char * -+lt_extend_str (const char *orig_value, const char *add, int to_end) -+{ -+ char *new_value; -+ if (orig_value && *orig_value) -+ { -+ int orig_value_len = strlen (orig_value); -+ int add_len = strlen (add); -+ new_value = XMALLOC (char, add_len + orig_value_len + 1); -+ if (to_end) -+ { -+ strcpy (new_value, orig_value); -+ strcpy (new_value + orig_value_len, add); -+ } -+ else -+ { -+ strcpy (new_value, add); -+ strcpy (new_value + add_len, orig_value); -+ } -+ } -+ else -+ { -+ new_value = xstrdup (add); -+ } -+ return new_value; -+} -+ -+int -+lt_split_name_value (const char *arg, char** name, char** value) -+{ -+ const char *p; -+ int len; -+ if (!arg || !*arg) -+ return 1; -+ -+ p = strchr (arg, (int)'='); -+ -+ if (!p) -+ return 1; -+ -+ *value = xstrdup (++p); -+ -+ len = strlen (arg) - strlen (*value); -+ *name = XMALLOC (char, len); -+ strncpy (*name, arg, len-1); -+ (*name)[len - 1] = '\0'; -+ -+ return 0; -+} -+ -+void -+lt_opt_process_env_set (const char *arg) -+{ -+ char *name = NULL; -+ char *value = NULL; -+ -+ if (lt_split_name_value (arg, &name, &value) != 0) -+ { -+ XFREE (name); -+ XFREE (value); -+ lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg); -+ } -+ -+ lt_setenv (name, value); -+ XFREE (name); -+ XFREE (value); -+} -+ -+void -+lt_opt_process_env_prepend (const char *arg) -+{ -+ char *name = NULL; -+ char *value = NULL; -+ char *new_value = NULL; -+ -+ if (lt_split_name_value (arg, &name, &value) != 0) -+ { -+ XFREE (name); -+ XFREE (value); -+ lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg); -+ } -+ -+ new_value = lt_extend_str (getenv (name), value, 0); -+ lt_setenv (name, new_value); -+ XFREE (new_value); -+ XFREE (name); -+ XFREE (value); -+} -+ -+void -+lt_opt_process_env_append (const char *arg) -+{ -+ char *name = NULL; -+ char *value = NULL; -+ char *new_value = NULL; -+ -+ if (lt_split_name_value (arg, &name, &value) != 0) -+ { -+ XFREE (name); -+ XFREE (value); -+ lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg); -+ } -+ -+ new_value = lt_extend_str (getenv (name), value, 1); -+ lt_setenv (name, new_value); -+ XFREE (new_value); -+ XFREE (name); -+ XFREE (value); -+} -+ -+void -+lt_update_exe_path (const char *name, const char *value) -+{ -+ LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n", -+ (name ? name : ""), -+ (value ? value : ""))); -+ -+ if (name && *name && value && *value) -+ { -+ char *new_value = lt_extend_str (getenv (name), value, 0); -+ /* some systems can't cope with a ':'-terminated path #' */ -+ int len = strlen (new_value); -+ while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) -+ { -+ new_value[len-1] = '\0'; -+ } -+ lt_setenv (name, new_value); -+ XFREE (new_value); -+ } -+} -+ -+void -+lt_update_lib_path (const char *name, const char *value) -+{ -+ LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n", -+ (name ? name : ""), -+ (value ? value : ""))); -+ -+ if (name && *name && value && *value) -+ { -+ char *new_value = lt_extend_str (getenv (name), value, 0); -+ lt_setenv (name, new_value); -+ XFREE (new_value); -+ } -+} -+ -+ - EOF - } - # end: func_emit_cwrapperexe_src -@@ -3515,7 +4033,7 @@ - { - $opt_debug - case $host in -- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) -+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - # It is impossible to link a dll without this setting, and - # we shouldn't force the makefile maintainer to figure out - # which system we are compiling for in order to pass an extra -@@ -3959,6 +4477,13 @@ - -L*) - func_stripname '-L' '' "$arg" - dir=$func_stripname_result -+ if test -z "$dir"; then -+ if test "$#" -gt 0; then -+ func_fatal_error "require no space between \`-L' and \`$1'" -+ else -+ func_fatal_error "need path for \`-L' option" -+ fi -+ fi - # We need an absolute path. - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) ;; -@@ -3977,14 +4502,16 @@ - ;; - esac - case $host in -- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) -+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'` - case :$dllsearchpath: in - *":$dir:"*) ;; -+ ::) dllsearchpath=$dir;; - *) dllsearchpath="$dllsearchpath:$dir";; - esac - case :$dllsearchpath: in - *":$testbindir:"*) ;; -+ ::) dllsearchpath=$testbindir;; - *) dllsearchpath="$dllsearchpath:$testbindir";; - esac - ;; -@@ -3995,7 +4522,7 @@ - -l*) - if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then - case $host in -- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*) -+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*) - # These systems don't actually have a C or math library (as such) - continue - ;; -@@ -4072,7 +4599,7 @@ - - -no-install) - case $host in -- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*) -+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) - # The PATH hackery in wrapper scripts is required on Windows - # and Darwin in order for the loader to find any dlls it needs. - func_warning "\`-no-install' is ignored for $host" -@@ -4820,19 +5347,19 @@ - # It is a libtool convenience library, so add in its objects. - convenience="$convenience $ladir/$objdir/$old_library" - old_convenience="$old_convenience $ladir/$objdir/$old_library" -+ tmp_libs= -+ for deplib in $dependency_libs; do -+ deplibs="$deplib $deplibs" -+ if $opt_duplicate_deps ; then -+ case "$tmp_libs " in -+ *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; -+ esac -+ fi -+ tmp_libs="$tmp_libs $deplib" -+ done - elif test "$linkmode" != prog && test "$linkmode" != lib; then - func_fatal_error "\`$lib' is not a convenience library" - fi -- tmp_libs= -- for deplib in $dependency_libs; do -- deplibs="$deplib $deplibs" -- if $opt_duplicate_deps ; then -- case "$tmp_libs " in -- *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; -- esac -- fi -- tmp_libs="$tmp_libs $deplib" -- done - continue - fi # $pass = conv - -@@ -5032,7 +5559,7 @@ - if test -n "$library_names" && - { test "$use_static_libs" = no || test -z "$old_library"; }; then - case $host in -- *cygwin* | *mingw*) -+ *cygwin* | *mingw* | *cegcc*) - # No point in relinking DLLs because paths are not encoded - notinst_deplibs="$notinst_deplibs $lib" - need_relink=no -@@ -5102,7 +5629,7 @@ - elif test -n "$soname_spec"; then - # bleh windows - case $host in -- *cygwin* | mingw*) -+ *cygwin* | mingw* | *cegcc*) - func_arith $current - $age - major=$func_arith_result - versuffix="-$major" -@@ -5369,6 +5896,7 @@ - if test "$link_all_deplibs" != no; then - # Add the search paths of all dependency libraries - for deplib in $dependency_libs; do -+ path= - case $deplib in - -L*) path="$deplib" ;; - *.la) -@@ -5884,7 +6412,7 @@ - tempremovelist=`$ECHO "$output_objdir/*"` - for p in $tempremovelist; do - case $p in -- *.$objext) -+ *.$objext | *.gcno) - ;; - $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) - if test "X$precious_files_regex" != "X"; then -@@ -5955,7 +6483,7 @@ - if test "$build_libtool_libs" = yes; then - if test -n "$rpath"; then - case $host in -- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) -+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*) - # these systems don't actually have a c library (as such)! - ;; - *-*-rhapsody* | *-*-darwin1.[012]) -@@ -6454,7 +6982,7 @@ - - orig_export_symbols= - case $host_os in -- cygwin* | mingw*) -+ cygwin* | mingw* | cegcc*) - if test -n "$export_symbols" && test -z "$export_symbols_regex"; then - # exporting using user supplied symfile - if test "x`$SED 1q $export_symbols`" != xEXPORTS; then -@@ -7079,14 +7607,16 @@ - esac - fi - case $host in -- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) -+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'` - case :$dllsearchpath: in - *":$libdir:"*) ;; -+ ::) dllsearchpath=$libdir;; - *) dllsearchpath="$dllsearchpath:$libdir";; - esac - case :$dllsearchpath: in - *":$testbindir:"*) ;; -+ ::) dllsearchpath=$testbindir;; - *) dllsearchpath="$dllsearchpath:$testbindir";; - esac - ;; -@@ -7156,6 +7686,10 @@ - wrappers_required=no - fi - ;; -+ *cegcc) -+ # Disable wrappers for cegcc, we are cross compiling anyway. -+ wrappers_required=no -+ ;; - *) - if test "$need_relink" = no || test "$build_libtool_libs" != yes; then - wrappers_required=no -@@ -7308,11 +7842,10 @@ - - func_emit_cwrapperexe_src > $cwrappersource - -- # we should really use a build-platform specific compiler -- # here, but OTOH, the wrappers (shell script and this C one) -- # are only useful if you want to execute the "real" binary. -- # Since the "real" binary is built for $host, then this -- # wrapper might as well be built for $host, too. -+ # The wrapper executable is built using the $host compiler, -+ # because it contains $host paths and files. If cross- -+ # compiling, it, like the target executable, must be -+ # executed on the $host or under an emulation environment. - $opt_dry_run || { - $LTCC $LTCFLAGS -o $cwrapper $cwrappersource - $STRIP $cwrapper -@@ -7597,7 +8130,7 @@ - # place dlname in correct position for cygwin - tdlname=$dlname - case $host,$output,$installed,$module,$dlname in -- *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; -+ *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; - esac - $ECHO > $output "\ - # $outputname - a libtool library file -diff -Nur gpsd-2.39.orig/Makefile gpsd-2.39/Makefile ---- gpsd-2.39.orig/Makefile 1970-01-01 01:00:00.000000000 +0100 -+++ gpsd-2.39/Makefile 2010-02-18 21:44:18.928853386 +0100 -@@ -0,0 +1,1848 @@ -+# Makefile.in generated by automake 1.11.1 from Makefile.am. -+# Makefile. Generated from Makefile.in by configure. -+ -+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -+# Inc. -+# This Makefile.in is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# This program is distributed in the hope that it will be useful, -+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -+# PARTICULAR PURPOSE. -+ -+ -+ -+# Automake description for gpsd -+# $Id: Makefile.am 5494 2009-03-18 15:16:41Z esr $ -+ -+#SUBDIRS = contrib -+ -+ -+ -+ -+ -+pkgdatadir = $(datadir)/gpsd -+pkgincludedir = $(includedir)/gpsd -+pkglibdir = $(libdir)/gpsd -+pkglibexecdir = $(libexecdir)/gpsd -+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -+install_sh_DATA = $(install_sh) -c -m 644 -+install_sh_PROGRAM = $(install_sh) -c -+install_sh_SCRIPT = $(install_sh) -c -+INSTALL_HEADER = $(INSTALL_DATA) -+transform = $(program_transform_name) -+NORMAL_INSTALL = : -+PRE_INSTALL = : -+POST_INSTALL = : -+NORMAL_UNINSTALL = : -+PRE_UNINSTALL = : -+POST_UNINSTALL = : -+build_triplet = i686-pc-linux-gnu -+host_triplet = i686-pc-linux-gnu -+bin_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \ -+ $(am__EXEEXT_4) gpsctl$(EXEEXT) gpspipe$(EXEEXT) \ -+ gpsflash$(EXEEXT) gpxlogger$(EXEEXT) lcdgps$(EXEEXT) -+sbin_PROGRAMS = gpsd$(EXEEXT) -+check_PROGRAMS = test_bits$(EXEEXT) test_gpsmm$(EXEEXT) \ -+ test_packet$(EXEEXT) test_mkgmtime$(EXEEXT) \ -+ test_geoid$(EXEEXT) -+subdir = . -+DIST_COMMON = README $(am__configure_deps) $(include_HEADERS) \ -+ $(noinst_HEADERS) $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ -+ $(srcdir)/gpsd_config.h.in $(srcdir)/libgps.pc.in \ -+ $(srcdir)/libgpsd.pc.in $(top_srcdir)/configure \ -+ $(top_srcdir)/packaging/gpsd.spec.in AUTHORS COPYING ChangeLog \ -+ INSTALL NEWS TODO config.guess config.sub depcomp install-sh \ -+ ltmain.sh missing py-compile -+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -+am__aclocal_m4_deps = $(top_srcdir)/configure.ac -+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ -+ $(ACLOCAL_M4) -+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ -+ configure.lineno config.status.lineno -+mkinstalldirs = $(install_sh) -d -+CONFIG_HEADER = gpsd_config.h -+CONFIG_CLEAN_FILES = packaging/gpsd.spec libgps.pc libgpsd.pc -+CONFIG_CLEAN_VPATH_FILES = -+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -+am__vpath_adj = case $$p in \ -+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ -+ *) f=$$p;; \ -+ esac; -+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -+am__install_max = 40 -+am__nobase_strip_setup = \ -+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -+am__nobase_strip = \ -+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -+am__nobase_list = $(am__nobase_strip_setup); \ -+ for p in $$list; do echo "$$p $$p"; done | \ -+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ -+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ -+ if (++n[$$2] == $(am__install_max)) \ -+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ -+ END { for (dir in files) print dir, files[dir] }' -+am__base_list = \ -+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ -+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -+am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \ -+ "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" \ -+ "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" \ -+ "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(pkgconfigdir)" \ -+ "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includedir)" -+LTLIBRARIES = $(lib_LTLIBRARIES) -+am__DEPENDENCIES_1 = -+libgps_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ -+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ -+ $(am__DEPENDENCIES_1) -+am__objects_1 = bits.lo bsd-base64.lo crc24q.lo dgnss.lo dgpsip.lo \ -+ gpsd_report.lo gpsutils.lo geoid.lo hex.lo isgps.lo libgps.lo \ -+ gpsdclient.lo libgpsd_core.lo netlib.lo ntpshm.lo ntrip.lo \ -+ packet.lo serial.lo srecord.lo strl.lo subframe.lo drivers.lo \ -+ driver_aivdm.lo driver_evermore.lo driver_garmin.lo \ -+ driver_garmin_txt.lo driver_italk.lo driver_navcom.lo \ -+ driver_nmea.lo driver_rtcm2.lo driver_rtcm3.lo driver_sirf.lo \ -+ driver_superstar2.lo driver_tsip.lo driver_ubx.lo \ -+ driver_zodiac.lo -+am__objects_2 = -+am_libgps_la_OBJECTS = $(am__objects_1) $(am__objects_2) libgpsmm.lo -+nodist_libgps_la_OBJECTS = -+libgps_la_OBJECTS = $(am_libgps_la_OBJECTS) \ -+ $(nodist_libgps_la_OBJECTS) -+libgps_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ -+ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ -+ $(CXXFLAGS) $(libgps_la_LDFLAGS) $(LDFLAGS) -o $@ -+#am__EXEEXT_1 = xgps$(EXEEXT) -+#am__EXEEXT_2 = xgpsspeed$(EXEEXT) -+am__EXEEXT_3 = gpsdecode$(EXEEXT) -+am__EXEEXT_4 = cgps$(EXEEXT) gpsmon$(EXEEXT) -+PROGRAMS = $(bin_PROGRAMS) $(sbin_PROGRAMS) -+am_cgps_OBJECTS = cgps.$(OBJEXT) -+cgps_OBJECTS = $(am_cgps_OBJECTS) -+cgps_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ -+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ -+ $(am__DEPENDENCIES_1) libgps.la $(am__DEPENDENCIES_1) -+am_gpsctl_OBJECTS = gpsctl.$(OBJEXT) -+gpsctl_OBJECTS = $(am_gpsctl_OBJECTS) -+gpsctl_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la \ -+ $(am__DEPENDENCIES_1) -+am__objects_3 = gpsd_dbus.$(OBJEXT) gpsd.$(OBJEXT) -+am_gpsd_OBJECTS = $(am__objects_3) -+gpsd_OBJECTS = $(am_gpsd_OBJECTS) -+gpsd_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ -+ libgps.la $(am__DEPENDENCIES_1) -+am_gpsdecode_OBJECTS = gpsdecode.$(OBJEXT) -+gpsdecode_OBJECTS = $(am_gpsdecode_OBJECTS) -+gpsdecode_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la \ -+ $(am__DEPENDENCIES_1) -+am_gpsflash_OBJECTS = gpsflash.$(OBJEXT) sirfflash.$(OBJEXT) -+gpsflash_OBJECTS = $(am_gpsflash_OBJECTS) -+gpsflash_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la -+am_gpsmon_OBJECTS = gpsmon.$(OBJEXT) monitor_nmea.$(OBJEXT) \ -+ monitor_sirf.$(OBJEXT) monitor_italk.$(OBJEXT) \ -+ monitor_ubx.$(OBJEXT) monitor_superstar2.$(OBJEXT) -+gpsmon_OBJECTS = $(am_gpsmon_OBJECTS) -+gpsmon_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ -+ libgps.la $(am__DEPENDENCIES_1) -+am_gpspipe_OBJECTS = gpspipe.$(OBJEXT) -+gpspipe_OBJECTS = $(am_gpspipe_OBJECTS) -+gpspipe_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ -+ libgps.la -+am_gpxlogger_OBJECTS = gpxlogger.$(OBJEXT) -+gpxlogger_OBJECTS = $(am_gpxlogger_OBJECTS) -+gpxlogger_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la -+am_lcdgps_OBJECTS = lcdgps.$(OBJEXT) -+lcdgps_OBJECTS = $(am_lcdgps_OBJECTS) -+lcdgps_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la -+am_test_bits_OBJECTS = test_bits.$(OBJEXT) -+test_bits_OBJECTS = $(am_test_bits_OBJECTS) -+test_bits_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la -+am_test_geoid_OBJECTS = test_geoid.$(OBJEXT) -+test_geoid_OBJECTS = $(am_test_geoid_OBJECTS) -+test_geoid_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la -+am_test_gpsmm_OBJECTS = test_gpsmm.$(OBJEXT) -+test_gpsmm_OBJECTS = $(am_test_gpsmm_OBJECTS) -+test_gpsmm_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la -+am_test_mkgmtime_OBJECTS = test_mkgmtime.$(OBJEXT) -+test_mkgmtime_OBJECTS = $(am_test_mkgmtime_OBJECTS) -+test_mkgmtime_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la -+am_test_packet_OBJECTS = test_packet.$(OBJEXT) -+test_packet_OBJECTS = $(am_test_packet_OBJECTS) -+test_packet_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la -+am_xgps_OBJECTS = xgps.$(OBJEXT) -+xgps_OBJECTS = $(am_xgps_OBJECTS) -+xgps_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ -+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ -+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ -+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) libgps.la \ -+ $(am__DEPENDENCIES_1) -+am__objects_4 = xgpsspeed.$(OBJEXT) Tachometer.$(OBJEXT) -+am_xgpsspeed_OBJECTS = $(am__objects_4) -+xgpsspeed_OBJECTS = $(am_xgpsspeed_OBJECTS) -+xgpsspeed_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ -+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ -+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ -+ $(am__DEPENDENCIES_1) libgps.la $(am__DEPENDENCIES_1) -+DEFAULT_INCLUDES = -I. -+depcomp = $(SHELL) $(top_srcdir)/depcomp -+am__depfiles_maybe = depfiles -+am__mv = mv -f -+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -+LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ -+ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -+CCLD = $(CC) -+LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ -+ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ -+ $(LDFLAGS) -o $@ -+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ -+ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -+CXXLD = $(CXX) -+CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ -+ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ -+ $(LDFLAGS) -o $@ -+SOURCES = $(libgps_la_SOURCES) $(nodist_libgps_la_SOURCES) \ -+ $(cgps_SOURCES) $(gpsctl_SOURCES) $(gpsd_SOURCES) \ -+ $(gpsdecode_SOURCES) $(gpsflash_SOURCES) $(gpsmon_SOURCES) \ -+ $(gpspipe_SOURCES) $(gpxlogger_SOURCES) $(lcdgps_SOURCES) \ -+ $(test_bits_SOURCES) $(test_geoid_SOURCES) \ -+ $(test_gpsmm_SOURCES) $(test_mkgmtime_SOURCES) \ -+ $(test_packet_SOURCES) $(xgps_SOURCES) $(xgpsspeed_SOURCES) -+DIST_SOURCES = $(libgps_la_SOURCES) $(cgps_SOURCES) $(gpsctl_SOURCES) \ -+ $(gpsd_SOURCES) $(gpsdecode_SOURCES) $(gpsflash_SOURCES) \ -+ $(gpsmon_SOURCES) $(gpspipe_SOURCES) $(gpxlogger_SOURCES) \ -+ $(lcdgps_SOURCES) $(test_bits_SOURCES) $(test_geoid_SOURCES) \ -+ $(test_gpsmm_SOURCES) $(test_mkgmtime_SOURCES) \ -+ $(test_packet_SOURCES) $(xgps_SOURCES) $(xgpsspeed_SOURCES) -+man1dir = $(mandir)/man1 -+man3dir = $(mandir)/man3 -+man5dir = $(mandir)/man5 -+man8dir = $(mandir)/man8 -+NROFF = nroff -+MANS = $(man_MANS) -+DATA = $(pkgconfig_DATA) -+HEADERS = $(include_HEADERS) $(nodist_include_HEADERS) \ -+ $(noinst_HEADERS) -+ETAGS = etags -+CTAGS = ctags -+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -+distdir = $(PACKAGE)-$(VERSION) -+top_distdir = $(distdir) -+am__remove_distdir = \ -+ { test ! -d "$(distdir)" \ -+ || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ -+ && rm -fr "$(distdir)"; }; } -+DIST_ARCHIVES = $(distdir).tar.gz -+GZIP_ENV = --best -+distuninstallcheck_listfiles = find . -type f -print -+distcleancheck_listfiles = find . -type f -print -+ACLOCAL = ${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run aclocal-1.11 -+ALLOCA = -+AMTAR = ${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run tar -+AR = ar -+AUTOCONF = ${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run autoconf -+AUTOHEADER = ${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run autoheader -+AUTOMAKE = ${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run automake-1.11 -+AWK = gawk -+CC = gcc -+CCDEPMODE = depmode=gcc3 -+CFLAGS = -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE -+CPP = gcc -E -+CPPFLAGS = -+CXX = g++ -+CXXCPP = g++ -E -+CXXDEPMODE = depmode=gcc3 -+CXXFLAGS = -g -O2 -+CYGPATH_W = echo -+DBUS_CFLAGS = -+DBUS_GLIB_CFLAGS = -+DBUS_GLIB_LIBS = -+DBUS_LIBS = -+DEFS = -DHAVE_CONFIG_H -+DEPDIR = .deps -+DSYMUTIL = -+DUMPBIN = -+ECHO_C = -+ECHO_N = -n -+ECHO_T = -+EGREP = /bin/grep -E -+EXEEXT = -+FGREP = /bin/grep -F -+GREP = /bin/grep -+INSTALL = /usr/bin/install -c -+INSTALL_DATA = ${INSTALL} -m 644 -+INSTALL_PROGRAM = ${INSTALL} -+INSTALL_SCRIPT = ${INSTALL} -+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -+LD = /usr/bin/ld -+LDFLAGS = -+LIBC = -lc -+LIBM = -lm -+LIBNSL = -lnsl -+LIBOBJS = -+LIBPTHREAD = -lpthread -+LIBS = -+LIBSOCKET = -+LIBTOOL = $(SHELL) $(top_builddir)/libtool -+LIPO = -+LN_S = ln -s -+LTLIBOBJS = -+MAKEINFO = ${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run makeinfo -+MANFLAGS = --nonet -+MANGENERATOR = xsltproc -+MANTARGET = http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl -+MKDIR_P = /bin/mkdir -p -+NCURSES_LIBS = -lncurses -+NM = /usr/bin/nm -B -+NMEDIT = -+OBJDUMP = objdump -+OBJEXT = o -+OTOOL = -+OTOOL64 = -+PACKAGE = gpsd -+PACKAGE_BUGREPORT = -+PACKAGE_NAME = -+PACKAGE_STRING = -+PACKAGE_TARNAME = -+PACKAGE_URL = -+PACKAGE_VERSION = -+PATH_SEPARATOR = : -+RANLIB = ranlib -+SED = /bin/sed -+SET_MAKE = -+SHELL = /bin/bash -+STRIP = strip -+VERSION = 2.39 -+WITH_XMLTO = -+WITH_XSLTPROC = yes -+X11_LIBS = -+XAW_LIBS = -+XEXT_LIBS = -lXext -+XMKMF = -+XM_LIBS = -+XPM_LIBS = -+XP_LIBS = -+XT_LIBS = -lXt -+X_CFLAGS = -+X_EXTRA_LIBS = -+X_LIBS = -+X_PRE_LIBS = -lSM -lICE -+abs_builddir = /home/wbx/openadk/gpsd-2.39 -+abs_srcdir = /home/wbx/openadk/gpsd-2.39 -+abs_top_builddir = /home/wbx/openadk/gpsd-2.39 -+abs_top_srcdir = /home/wbx/openadk/gpsd-2.39 -+ac_ct_CC = gcc -+ac_ct_CXX = g++ -+ac_ct_DUMPBIN = -+am__include = include -+am__leading_dot = . -+am__quote = -+am__tar = ${AMTAR} chof - "$$tardir" -+am__untar = ${AMTAR} xf - -+bindir = ${exec_prefix}/bin -+build = i686-pc-linux-gnu -+build_alias = -+build_cpu = i686 -+build_os = linux-gnu -+build_vendor = pc -+builddir = . -+datadir = ${datarootdir} -+datarootdir = ${prefix}/share -+docdir = ${datarootdir}/doc/${PACKAGE} -+dvidir = ${docdir} -+exec_prefix = ${prefix} -+host = i686-pc-linux-gnu -+host_alias = -+host_cpu = i686 -+host_os = linux-gnu -+host_vendor = pc -+htmldir = ${docdir} -+includedir = ${prefix}/include -+infodir = ${datarootdir}/info -+install_sh = ${SHELL} /home/wbx/openadk/gpsd-2.39/install-sh -+libdir = ${exec_prefix}/lib -+libexecdir = ${exec_prefix}/libexec -+localedir = ${datarootdir}/locale -+localstatedir = ${prefix}/var -+lt_ECHO = echo -+mandir = ${datarootdir}/man -+mkdir_p = /bin/mkdir -p -+oldincludedir = /usr/include -+pdfdir = ${docdir} -+prefix = /usr/local -+program_transform_name = s,x,x, -+psdir = ${docdir} -+sbindir = ${exec_prefix}/sbin -+sharedstatedir = ${prefix}/com -+srcdir = . -+sysconfdir = ${prefix}/etc -+target_alias = -+top_build_prefix = -+top_builddir = . -+top_srcdir = . -+XMLTO = xmlto -+ -+# -+# Conditionally add programs depending on libraries that may or may not be present. -+# -+CURSESPROGS = cgps gpsmon -+#MOTIF_PROGS = xgps -+#XAW_PROGS = xgpsspeed -+#INCLUDES = $(DBUS_CFLAGS) $(DBUS_GLIB_CFLAGS) -DDBUS_API_SUBJECT_TO_CHANGE=1 -+RTCM104PROGS = gpsdecode -+RTCM104PAGES = gpsdecode.1 -+ -+# -+# Build xgps -+# -+xgps_SOURCES = xgps.c -+xgps_LDADD = $(LIBM) $(LIBC) $(LIBNSL) $(LIBSOCKET) $(XM_LIBS) $(XT_LIBS) $(X_LIBS) $(X_PRE_LIBS) libgps.la -lm $(LIBPTHREAD) -+ -+# -+# Build xgpsspeed -+# -+xgpsspeed_c_sources = \ -+ xgpsspeed.c \ -+ Tachometer.c \ -+ TachometerP.h \ -+ Tachometer.h -+ -+xgpsspeed_SOURCES = \ -+ $(xgpsspeed_c_sources) \ -+ xgpsspeed.icon -+ -+xgpsspeed_LDADD = $(LIBM) $(LIBC) $(LIBNSL) $(LIBSOCKET) $(XAW_LIBS) $(X_LIBS) $(X_PRE_LIBS) libgps.la -lm $(LIBPTHREAD) -+ -+# -+# Build cgps -+# -+cgps_SOURCES = cgps.c -+cgps_LDADD = $(LIBM) $(LIBC) $(LIBNSL) $(LIBSOCKET) $(NCURSES_LIBS) libgps.la -lm $(LIBPTHREAD) -+ -+# -+# Build gpxlogger -+# -+gpxlogger_SOURCES = gpxlogger.c -+gpxlogger_LDADD = $(DBUS_GLIB_LIBS) libgps.la -lm -+ -+# -+# Build gpsd -+# -+gpsd_c_sources = gpsd_dbus.c gpsd.c -+gpsd_SOURCES = $(gpsd_c_sources) gpsd_dbus.h -+gpsd_LDADD = $(DBUS_LIBS) $(LIBM) libgps.la -lm $(LIBPTHREAD) -+ -+# -+# Build gpsctl -+# -+gpsctl_SOURCES = gpsctl.c -+gpsctl_LDADD = $(LIBM) libgps.la -lm $(LIBPTHREAD) -+ -+# -+# Build gpspipe -+# -+gpspipe_SOURCES = gpspipe.c -+gpspipe_LDADD = $(DBUS_LIBS) $(LIBM) libgps.la -lm -+ -+# -+# Build lcdgps -+# -+lcdgps_SOURCES = lcdgps.c -+lcdgps_LDADD = $(LIBM) libgps.la -lm -+ -+# -+# Build gpsmon -+# -+gpsmon_SOURCES = gpsmon.c monitor_nmea.c monitor_sirf.c \ -+ monitor_italk.c monitor_ubx.c monitor_superstar2.c -+ -+gpsmon_LDADD = $(LIBM) $(NCURSES_LIBS) libgps.la -lm $(LIBPTHREAD) -+ -+# -+# Build gpsdecode -+# -+gpsdecode_SOURCES = gpsdecode.c -+gpsdecode_LDADD = $(LIBM) libgps.la -lm $(LIBPTHREAD) -+ -+# -+# Build gpsflash -+# -+gpsflash_SOURCES = gpsflash.c gpsflash.h sirfflash.c -+gpsflash_LDADD = $(LIBM) libgps.la -lm -+ -+# -+# Build shared libraries -+# -+libgps_la_LDFLAGS = -version-number 18:0:0 -+lib_LTLIBRARIES = libgps.la -+libgpsd_c_sources = \ -+ bits.c \ -+ bsd-base64.c \ -+ crc24q.c \ -+ dgnss.c \ -+ dgpsip.c \ -+ gpsd_report.c \ -+ gpsutils.c \ -+ geoid.c \ -+ hex.c \ -+ isgps.c \ -+ libgps.c \ -+ gpsdclient.c \ -+ libgpsd_core.c \ -+ netlib.c \ -+ ntpshm.c \ -+ ntrip.c \ -+ packet.c \ -+ serial.c \ -+ srecord.c \ -+ strl.c \ -+ subframe.c \ -+ drivers.c \ -+ driver_aivdm.c \ -+ driver_evermore.c \ -+ driver_garmin.c \ -+ driver_garmin_txt.c \ -+ driver_italk.c \ -+ driver_navcom.c \ -+ driver_nmea.c \ -+ driver_rtcm2.c \ -+ driver_rtcm3.c \ -+ driver_sirf.c \ -+ driver_superstar2.c \ -+ driver_tsip.c \ -+ driver_ubx.c \ -+ driver_zodiac.c -+ -+libgpsd_h_sources = \ -+ bsd-base64.h \ -+ timebase.h \ -+ bits.h \ -+ crc24q.h -+ -+BUILT_SOURCES = packet_names.h gpsd.h -+libgps_la_SOURCES = $(libgpsd_c_sources) $(libgpsd_h_sources) \ -+ driver_rtcm2.h libgpsmm.cpp packet_states.h -+ -+nodist_libgps_la_SOURCES = packet_names.h -+libgps_la_LIBADD = $(LIBM) $(LIBC) $(LIBNSL) $(LIBSOCKET) $(LIBPTHREAD) -+ -+# -+# Build test_gpsmm -+# -+test_gpsmm_SOURCES = test_gpsmm.cpp -+test_gpsmm_LDADD = $(LIBC) libgps.la -lm -+ -+# -+# Build test_bits tester -+# -+test_bits_SOURCES = test_bits.c -+test_bits_LDADD = $(LIBC) libgps.la -+ -+# -+# Build packets tester -+# -+test_packet_SOURCES = test_packet.c -+test_packet_LDADD = $(LIBC) libgps.la -lm -+ -+# -+# Build geoid model tester -+# -+test_geoid_SOURCES = test_geoid.c -+test_geoid_LDADD = $(LIBC) libgps.la -lm -+ -+# -+# Build time functions tester -+# -+test_mkgmtime_SOURCES = test_mkgmtime.c -+test_mkgmtime_LDADD = $(LIBC) libgps.la -lm -+ -+# -+# Create Manpages -+# -+BUILT_MANPAGES = \ -+ gpsd.8 \ -+ gps.1 \ -+ xgps.1 \ -+ xgpsspeed.1 \ -+ cgps.1 \ -+ cgpxlogger.1 \ -+ libgps.3 \ -+ libgpsmm.3 \ -+ libgpsd.3 \ -+ gpsmon.1 \ -+ $(RTCM104PAGES) \ -+ $(PYTHONPAGES) \ -+ gpsctl.1 \ -+ gpspipe.1 \ -+ gpsflash.1 \ -+ rtcm-104.5 \ -+ srec.5 -+ -+man_MANS = \ -+ $(BUILT_MANPAGES) -+ -+noinst_HEADERS = driver_italk.h driver_rtcm2.h driver_superstar2.h \ -+ driver_ubx.h gpsmon.h gpsdclient.h -+ -+nodist_include_HEADERS = gpsd.h -+include_HEADERS = gps.h libgpsmm.h -+EXTRA_DIST = \ -+ autogen.sh \ -+ README \ -+ INSTALL \ -+ COPYING \ -+ TODO \ -+ NEWS \ -+ AUTHORS \ -+ dgpsip-servers \ -+ test_float.c \ -+ gpsd.php \ -+ gpsd.xml \ -+ gpsd.h-head \ -+ gpsd.h-tail \ -+ gps.xml \ -+ libgpsd.xml \ -+ libgps.xml \ -+ libgpsmm.xml \ -+ gpsprof.xml \ -+ gpsfake.xml \ -+ gpsctl.xml \ -+ gpsmon.xml \ -+ gpspipe.xml \ -+ gpsdecode.xml \ -+ rtcm-104.xml \ -+ srec.xml \ -+ gpsflash.xml \ -+ $(man_MANS) \ -+ xgps.ad \ -+ xgpsspeed.ad \ -+ gpsd.rules \ -+ gpsd.hotplug \ -+ gpsd.usermap \ -+ valgrind-audit \ -+ valgrind-suppressions \ -+ gpspacket.c \ -+ gpslib.c \ -+ driver_proto.c \ -+ monitor_proto.c \ -+ logextract \ -+ striplog \ -+ setup.py \ -+ packet_states.h \ -+ libgps.pc.in \ -+ libgpsd.pc.in \ -+ gpscap.ini \ -+ contrib/* \ -+ packaging/* -+ -+CLEANFILES = $(BUILT_SOURCES) test_float *.core $(PYEXTENSIONS) $(BUILT_MANPAGES) -+pkgconfig_DATA = libgps.pc libgpsd.pc -+pkgconfigdir = $(libdir)/pkgconfig -+ -+# Report splint warnings -+SPLINTOPTS = -I/usr/include/dbus-1.0/ +quiet -+ -+# -+# This is how to tag a release for the SVN repository. -+# It requires developer access verified via ssh. -+# -+REPO = https://svn.berlios.de/svnroot/repos/gpsd -+all: $(BUILT_SOURCES) gpsd_config.h -+ $(MAKE) $(AM_MAKEFLAGS) all-am -+ -+.SUFFIXES: -+.SUFFIXES: .1 .3 .5 .8 .c .cpp .lo .o .obj .xml -+am--refresh: -+ @: -+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) -+ @for dep in $?; do \ -+ case '$(am__configure_deps)' in \ -+ *$$dep*) \ -+ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ -+ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ -+ && exit 0; \ -+ exit 1;; \ -+ esac; \ -+ done; \ -+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ -+ $(am__cd) $(top_srcdir) && \ -+ $(AUTOMAKE) --gnu Makefile -+.PRECIOUS: Makefile -+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -+ @case '$?' in \ -+ *config.status*) \ -+ echo ' $(SHELL) ./config.status'; \ -+ $(SHELL) ./config.status;; \ -+ *) \ -+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ -+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ -+ esac; -+ -+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) -+ $(SHELL) ./config.status --recheck -+ -+$(top_srcdir)/configure: $(am__configure_deps) -+ $(am__cd) $(srcdir) && $(AUTOCONF) -+$(ACLOCAL_M4): $(am__aclocal_m4_deps) -+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) -+$(am__aclocal_m4_deps): -+ -+gpsd_config.h: stamp-h1 -+ @if test ! -f $@; then \ -+ rm -f stamp-h1; \ -+ $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ -+ else :; fi -+ -+stamp-h1: $(srcdir)/gpsd_config.h.in $(top_builddir)/config.status -+ @rm -f stamp-h1 -+ cd $(top_builddir) && $(SHELL) ./config.status gpsd_config.h -+$(srcdir)/gpsd_config.h.in: $(am__configure_deps) -+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) -+ rm -f stamp-h1 -+ touch $@ -+ -+distclean-hdr: -+ -rm -f gpsd_config.h stamp-h1 -+packaging/gpsd.spec: $(top_builddir)/config.status $(top_srcdir)/packaging/gpsd.spec.in -+ cd $(top_builddir) && $(SHELL) ./config.status $@ -+libgps.pc: $(top_builddir)/config.status $(srcdir)/libgps.pc.in -+ cd $(top_builddir) && $(SHELL) ./config.status $@ -+libgpsd.pc: $(top_builddir)/config.status $(srcdir)/libgpsd.pc.in -+ cd $(top_builddir) && $(SHELL) ./config.status $@ -+install-libLTLIBRARIES: $(lib_LTLIBRARIES) -+ @$(NORMAL_INSTALL) -+ test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" -+ @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ -+ list2=; for p in $$list; do \ -+ if test -f $$p; then \ -+ list2="$$list2 $$p"; \ -+ else :; fi; \ -+ done; \ -+ test -z "$$list2" || { \ -+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ -+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ -+ } -+ -+uninstall-libLTLIBRARIES: -+ @$(NORMAL_UNINSTALL) -+ @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ -+ for p in $$list; do \ -+ $(am__strip_dir) \ -+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ -+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ -+ done -+ -+clean-libLTLIBRARIES: -+ -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) -+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ -+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ -+ test "$$dir" != "$$p" || dir=.; \ -+ echo "rm -f \"$${dir}/so_locations\""; \ -+ rm -f "$${dir}/so_locations"; \ -+ done -+libgps.la: $(libgps_la_OBJECTS) $(libgps_la_DEPENDENCIES) -+ $(libgps_la_LINK) -rpath $(libdir) $(libgps_la_OBJECTS) $(libgps_la_LIBADD) $(LIBS) -+install-binPROGRAMS: $(bin_PROGRAMS) -+ @$(NORMAL_INSTALL) -+ test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" -+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ -+ for p in $$list; do echo "$$p $$p"; done | \ -+ sed 's/$(EXEEXT)$$//' | \ -+ while read p p1; do if test -f $$p || test -f $$p1; \ -+ then echo "$$p"; echo "$$p"; else :; fi; \ -+ done | \ -+ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ -+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ -+ sed 'N;N;N;s,\n, ,g' | \ -+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ -+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ -+ if ($$2 == $$4) files[d] = files[d] " " $$1; \ -+ else { print "f", $$3 "/" $$4, $$1; } } \ -+ END { for (d in files) print "f", d, files[d] }' | \ -+ while read type dir files; do \ -+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ -+ test -z "$$files" || { \ -+ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ -+ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ -+ } \ -+ ; done -+ -+uninstall-binPROGRAMS: -+ @$(NORMAL_UNINSTALL) -+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ -+ files=`for p in $$list; do echo "$$p"; done | \ -+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -+ -e 's/$$/$(EXEEXT)/' `; \ -+ test -n "$$list" || exit 0; \ -+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ -+ cd "$(DESTDIR)$(bindir)" && rm -f $$files -+ -+clean-binPROGRAMS: -+ @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ -+ echo " rm -f" $$list; \ -+ rm -f $$list || exit $$?; \ -+ test -n "$(EXEEXT)" || exit 0; \ -+ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ -+ echo " rm -f" $$list; \ -+ rm -f $$list -+ -+clean-checkPROGRAMS: -+ @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \ -+ echo " rm -f" $$list; \ -+ rm -f $$list || exit $$?; \ -+ test -n "$(EXEEXT)" || exit 0; \ -+ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ -+ echo " rm -f" $$list; \ -+ rm -f $$list -+install-sbinPROGRAMS: $(sbin_PROGRAMS) -+ @$(NORMAL_INSTALL) -+ test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)" -+ @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ -+ for p in $$list; do echo "$$p $$p"; done | \ -+ sed 's/$(EXEEXT)$$//' | \ -+ while read p p1; do if test -f $$p || test -f $$p1; \ -+ then echo "$$p"; echo "$$p"; else :; fi; \ -+ done | \ -+ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ -+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ -+ sed 'N;N;N;s,\n, ,g' | \ -+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ -+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ -+ if ($$2 == $$4) files[d] = files[d] " " $$1; \ -+ else { print "f", $$3 "/" $$4, $$1; } } \ -+ END { for (d in files) print "f", d, files[d] }' | \ -+ while read type dir files; do \ -+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ -+ test -z "$$files" || { \ -+ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \ -+ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \ -+ } \ -+ ; done -+ -+uninstall-sbinPROGRAMS: -+ @$(NORMAL_UNINSTALL) -+ @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ -+ files=`for p in $$list; do echo "$$p"; done | \ -+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -+ -e 's/$$/$(EXEEXT)/' `; \ -+ test -n "$$list" || exit 0; \ -+ echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \ -+ cd "$(DESTDIR)$(sbindir)" && rm -f $$files -+ -+clean-sbinPROGRAMS: -+ @list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \ -+ echo " rm -f" $$list; \ -+ rm -f $$list || exit $$?; \ -+ test -n "$(EXEEXT)" || exit 0; \ -+ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ -+ echo " rm -f" $$list; \ -+ rm -f $$list -+cgps$(EXEEXT): $(cgps_OBJECTS) $(cgps_DEPENDENCIES) -+ @rm -f cgps$(EXEEXT) -+ $(LINK) $(cgps_OBJECTS) $(cgps_LDADD) $(LIBS) -+gpsctl$(EXEEXT): $(gpsctl_OBJECTS) $(gpsctl_DEPENDENCIES) -+ @rm -f gpsctl$(EXEEXT) -+ $(LINK) $(gpsctl_OBJECTS) $(gpsctl_LDADD) $(LIBS) -+gpsd$(EXEEXT): $(gpsd_OBJECTS) $(gpsd_DEPENDENCIES) -+ @rm -f gpsd$(EXEEXT) -+ $(LINK) $(gpsd_OBJECTS) $(gpsd_LDADD) $(LIBS) -+gpsdecode$(EXEEXT): $(gpsdecode_OBJECTS) $(gpsdecode_DEPENDENCIES) -+ @rm -f gpsdecode$(EXEEXT) -+ $(LINK) $(gpsdecode_OBJECTS) $(gpsdecode_LDADD) $(LIBS) -+gpsflash$(EXEEXT): $(gpsflash_OBJECTS) $(gpsflash_DEPENDENCIES) -+ @rm -f gpsflash$(EXEEXT) -+ $(LINK) $(gpsflash_OBJECTS) $(gpsflash_LDADD) $(LIBS) -+gpsmon$(EXEEXT): $(gpsmon_OBJECTS) $(gpsmon_DEPENDENCIES) -+ @rm -f gpsmon$(EXEEXT) -+ $(LINK) $(gpsmon_OBJECTS) $(gpsmon_LDADD) $(LIBS) -+gpspipe$(EXEEXT): $(gpspipe_OBJECTS) $(gpspipe_DEPENDENCIES) -+ @rm -f gpspipe$(EXEEXT) -+ $(LINK) $(gpspipe_OBJECTS) $(gpspipe_LDADD) $(LIBS) -+gpxlogger$(EXEEXT): $(gpxlogger_OBJECTS) $(gpxlogger_DEPENDENCIES) -+ @rm -f gpxlogger$(EXEEXT) -+ $(LINK) $(gpxlogger_OBJECTS) $(gpxlogger_LDADD) $(LIBS) -+lcdgps$(EXEEXT): $(lcdgps_OBJECTS) $(lcdgps_DEPENDENCIES) -+ @rm -f lcdgps$(EXEEXT) -+ $(LINK) $(lcdgps_OBJECTS) $(lcdgps_LDADD) $(LIBS) -+test_bits$(EXEEXT): $(test_bits_OBJECTS) $(test_bits_DEPENDENCIES) -+ @rm -f test_bits$(EXEEXT) -+ $(LINK) $(test_bits_OBJECTS) $(test_bits_LDADD) $(LIBS) -+test_geoid$(EXEEXT): $(test_geoid_OBJECTS) $(test_geoid_DEPENDENCIES) -+ @rm -f test_geoid$(EXEEXT) -+ $(LINK) $(test_geoid_OBJECTS) $(test_geoid_LDADD) $(LIBS) -+test_gpsmm$(EXEEXT): $(test_gpsmm_OBJECTS) $(test_gpsmm_DEPENDENCIES) -+ @rm -f test_gpsmm$(EXEEXT) -+ $(CXXLINK) $(test_gpsmm_OBJECTS) $(test_gpsmm_LDADD) $(LIBS) -+test_mkgmtime$(EXEEXT): $(test_mkgmtime_OBJECTS) $(test_mkgmtime_DEPENDENCIES) -+ @rm -f test_mkgmtime$(EXEEXT) -+ $(LINK) $(test_mkgmtime_OBJECTS) $(test_mkgmtime_LDADD) $(LIBS) -+test_packet$(EXEEXT): $(test_packet_OBJECTS) $(test_packet_DEPENDENCIES) -+ @rm -f test_packet$(EXEEXT) -+ $(LINK) $(test_packet_OBJECTS) $(test_packet_LDADD) $(LIBS) -+xgps$(EXEEXT): $(xgps_OBJECTS) $(xgps_DEPENDENCIES) -+ @rm -f xgps$(EXEEXT) -+ $(LINK) $(xgps_OBJECTS) $(xgps_LDADD) $(LIBS) -+xgpsspeed$(EXEEXT): $(xgpsspeed_OBJECTS) $(xgpsspeed_DEPENDENCIES) -+ @rm -f xgpsspeed$(EXEEXT) -+ $(LINK) $(xgpsspeed_OBJECTS) $(xgpsspeed_LDADD) $(LIBS) -+ -+mostlyclean-compile: -+ -rm -f *.$(OBJEXT) -+ -+distclean-compile: -+ -rm -f *.tab.c -+ -+include ./$(DEPDIR)/Tachometer.Po -+include ./$(DEPDIR)/bits.Plo -+include ./$(DEPDIR)/bsd-base64.Plo -+include ./$(DEPDIR)/cgps.Po -+include ./$(DEPDIR)/crc24q.Plo -+include ./$(DEPDIR)/dgnss.Plo -+include ./$(DEPDIR)/dgpsip.Plo -+include ./$(DEPDIR)/driver_aivdm.Plo -+include ./$(DEPDIR)/driver_evermore.Plo -+include ./$(DEPDIR)/driver_garmin.Plo -+include ./$(DEPDIR)/driver_garmin_txt.Plo -+include ./$(DEPDIR)/driver_italk.Plo -+include ./$(DEPDIR)/driver_navcom.Plo -+include ./$(DEPDIR)/driver_nmea.Plo -+include ./$(DEPDIR)/driver_rtcm2.Plo -+include ./$(DEPDIR)/driver_rtcm3.Plo -+include ./$(DEPDIR)/driver_sirf.Plo -+include ./$(DEPDIR)/driver_superstar2.Plo -+include ./$(DEPDIR)/driver_tsip.Plo -+include ./$(DEPDIR)/driver_ubx.Plo -+include ./$(DEPDIR)/driver_zodiac.Plo -+include ./$(DEPDIR)/drivers.Plo -+include ./$(DEPDIR)/geoid.Plo -+include ./$(DEPDIR)/gpsctl.Po -+include ./$(DEPDIR)/gpsd.Po -+include ./$(DEPDIR)/gpsd_dbus.Po -+include ./$(DEPDIR)/gpsd_report.Plo -+include ./$(DEPDIR)/gpsdclient.Plo -+include ./$(DEPDIR)/gpsdecode.Po -+include ./$(DEPDIR)/gpsflash.Po -+include ./$(DEPDIR)/gpsmon.Po -+include ./$(DEPDIR)/gpspipe.Po -+include ./$(DEPDIR)/gpsutils.Plo -+include ./$(DEPDIR)/gpxlogger.Po -+include ./$(DEPDIR)/hex.Plo -+include ./$(DEPDIR)/isgps.Plo -+include ./$(DEPDIR)/lcdgps.Po -+include ./$(DEPDIR)/libgps.Plo -+include ./$(DEPDIR)/libgpsd_core.Plo -+include ./$(DEPDIR)/libgpsmm.Plo -+include ./$(DEPDIR)/monitor_italk.Po -+include ./$(DEPDIR)/monitor_nmea.Po -+include ./$(DEPDIR)/monitor_sirf.Po -+include ./$(DEPDIR)/monitor_superstar2.Po -+include ./$(DEPDIR)/monitor_ubx.Po -+include ./$(DEPDIR)/netlib.Plo -+include ./$(DEPDIR)/ntpshm.Plo -+include ./$(DEPDIR)/ntrip.Plo -+include ./$(DEPDIR)/packet.Plo -+include ./$(DEPDIR)/serial.Plo -+include ./$(DEPDIR)/sirfflash.Po -+include ./$(DEPDIR)/srecord.Plo -+include ./$(DEPDIR)/strl.Plo -+include ./$(DEPDIR)/subframe.Plo -+include ./$(DEPDIR)/test_bits.Po -+include ./$(DEPDIR)/test_geoid.Po -+include ./$(DEPDIR)/test_gpsmm.Po -+include ./$(DEPDIR)/test_mkgmtime.Po -+include ./$(DEPDIR)/test_packet.Po -+include ./$(DEPDIR)/xgps.Po -+include ./$(DEPDIR)/xgpsspeed.Po -+ -+.c.o: -+ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -+ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -+# source='$<' object='$@' libtool=no \ -+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -+# $(COMPILE) -c $< -+ -+.c.obj: -+ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -+ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -+# source='$<' object='$@' libtool=no \ -+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -+# $(COMPILE) -c `$(CYGPATH_W) '$<'` -+ -+.c.lo: -+ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -+ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -+# source='$<' object='$@' libtool=yes \ -+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ -+# $(LTCOMPILE) -c -o $@ $< -+ -+.cpp.o: -+ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -+ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -+# source='$<' object='$@' libtool=no \ -+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ -+# $(CXXCOMPILE) -c -o $@ $< -+ -+.cpp.obj: -+ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -+ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -+# source='$<' object='$@' libtool=no \ -+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ -+# $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` -+ -+.cpp.lo: -+ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -+ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -+# source='$<' object='$@' libtool=yes \ -+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ -+# $(LTCXXCOMPILE) -c -o $@ $< -+ -+mostlyclean-libtool: -+ -rm -f *.lo -+ -+clean-libtool: -+ -rm -rf .libs _libs -+ -+distclean-libtool: -+ -rm -f libtool config.lt -+install-man1: $(man_MANS) -+ @$(NORMAL_INSTALL) -+ test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" -+ @list=''; test -n "$(man1dir)" || exit 0; \ -+ { for i in $$list; do echo "$$i"; done; \ -+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ -+ sed -n '/\.1[a-z]*$$/p'; \ -+ } | while read p; do \ -+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ -+ echo "$$d$$p"; echo "$$p"; \ -+ done | \ -+ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ -+ sed 'N;N;s,\n, ,g' | { \ -+ list=; while read file base inst; do \ -+ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ -+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ -+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ -+ fi; \ -+ done; \ -+ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ -+ while read files; do \ -+ test -z "$$files" || { \ -+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ -+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ -+ done; } -+ -+uninstall-man1: -+ @$(NORMAL_UNINSTALL) -+ @list=''; test -n "$(man1dir)" || exit 0; \ -+ files=`{ for i in $$list; do echo "$$i"; done; \ -+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ -+ sed -n '/\.1[a-z]*$$/p'; \ -+ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ -+ test -z "$$files" || { \ -+ echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \ -+ cd "$(DESTDIR)$(man1dir)" && rm -f $$files; } -+install-man3: $(man_MANS) -+ @$(NORMAL_INSTALL) -+ test -z "$(man3dir)" || $(MKDIR_P) "$(DESTDIR)$(man3dir)" -+ @list=''; test -n "$(man3dir)" || exit 0; \ -+ { for i in $$list; do echo "$$i"; done; \ -+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ -+ sed -n '/\.3[a-z]*$$/p'; \ -+ } | while read p; do \ -+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ -+ echo "$$d$$p"; echo "$$p"; \ -+ done | \ -+ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \ -+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ -+ sed 'N;N;s,\n, ,g' | { \ -+ list=; while read file base inst; do \ -+ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ -+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \ -+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \ -+ fi; \ -+ done; \ -+ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ -+ while read files; do \ -+ test -z "$$files" || { \ -+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \ -+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \ -+ done; } -+ -+uninstall-man3: -+ @$(NORMAL_UNINSTALL) -+ @list=''; test -n "$(man3dir)" || exit 0; \ -+ files=`{ for i in $$list; do echo "$$i"; done; \ -+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ -+ sed -n '/\.3[a-z]*$$/p'; \ -+ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \ -+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ -+ test -z "$$files" || { \ -+ echo " ( cd '$(DESTDIR)$(man3dir)' && rm -f" $$files ")"; \ -+ cd "$(DESTDIR)$(man3dir)" && rm -f $$files; } -+install-man5: $(man_MANS) -+ @$(NORMAL_INSTALL) -+ test -z "$(man5dir)" || $(MKDIR_P) "$(DESTDIR)$(man5dir)" -+ @list=''; test -n "$(man5dir)" || exit 0; \ -+ { for i in $$list; do echo "$$i"; done; \ -+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ -+ sed -n '/\.5[a-z]*$$/p'; \ -+ } | while read p; do \ -+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ -+ echo "$$d$$p"; echo "$$p"; \ -+ done | \ -+ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \ -+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ -+ sed 'N;N;s,\n, ,g' | { \ -+ list=; while read file base inst; do \ -+ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ -+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \ -+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst" || exit $$?; \ -+ fi; \ -+ done; \ -+ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ -+ while read files; do \ -+ test -z "$$files" || { \ -+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man5dir)'"; \ -+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man5dir)" || exit $$?; }; \ -+ done; } -+ -+uninstall-man5: -+ @$(NORMAL_UNINSTALL) -+ @list=''; test -n "$(man5dir)" || exit 0; \ -+ files=`{ for i in $$list; do echo "$$i"; done; \ -+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ -+ sed -n '/\.5[a-z]*$$/p'; \ -+ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \ -+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ -+ test -z "$$files" || { \ -+ echo " ( cd '$(DESTDIR)$(man5dir)' && rm -f" $$files ")"; \ -+ cd "$(DESTDIR)$(man5dir)" && rm -f $$files; } -+install-man8: $(man_MANS) -+ @$(NORMAL_INSTALL) -+ test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)" -+ @list=''; test -n "$(man8dir)" || exit 0; \ -+ { for i in $$list; do echo "$$i"; done; \ -+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ -+ sed -n '/\.8[a-z]*$$/p'; \ -+ } | while read p; do \ -+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ -+ echo "$$d$$p"; echo "$$p"; \ -+ done | \ -+ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \ -+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ -+ sed 'N;N;s,\n, ,g' | { \ -+ list=; while read file base inst; do \ -+ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ -+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \ -+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \ -+ fi; \ -+ done; \ -+ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ -+ while read files; do \ -+ test -z "$$files" || { \ -+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \ -+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \ -+ done; } -+ -+uninstall-man8: -+ @$(NORMAL_UNINSTALL) -+ @list=''; test -n "$(man8dir)" || exit 0; \ -+ files=`{ for i in $$list; do echo "$$i"; done; \ -+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ -+ sed -n '/\.8[a-z]*$$/p'; \ -+ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \ -+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ -+ test -z "$$files" || { \ -+ echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \ -+ cd "$(DESTDIR)$(man8dir)" && rm -f $$files; } -+install-pkgconfigDATA: $(pkgconfig_DATA) -+ @$(NORMAL_INSTALL) -+ test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" -+ @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ -+ for p in $$list; do \ -+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ -+ echo "$$d$$p"; \ -+ done | $(am__base_list) | \ -+ while read files; do \ -+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ -+ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ -+ done -+ -+uninstall-pkgconfigDATA: -+ @$(NORMAL_UNINSTALL) -+ @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ -+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ -+ test -n "$$files" || exit 0; \ -+ echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \ -+ cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files -+install-includeHEADERS: $(include_HEADERS) -+ @$(NORMAL_INSTALL) -+ test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" -+ @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ -+ for p in $$list; do \ -+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ -+ echo "$$d$$p"; \ -+ done | $(am__base_list) | \ -+ while read files; do \ -+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \ -+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \ -+ done -+ -+uninstall-includeHEADERS: -+ @$(NORMAL_UNINSTALL) -+ @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ -+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ -+ test -n "$$files" || exit 0; \ -+ echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \ -+ cd "$(DESTDIR)$(includedir)" && rm -f $$files -+install-nodist_includeHEADERS: $(nodist_include_HEADERS) -+ @$(NORMAL_INSTALL) -+ test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" -+ @list='$(nodist_include_HEADERS)'; test -n "$(includedir)" || list=; \ -+ for p in $$list; do \ -+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ -+ echo "$$d$$p"; \ -+ done | $(am__base_list) | \ -+ while read files; do \ -+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \ -+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \ -+ done -+ -+uninstall-nodist_includeHEADERS: -+ @$(NORMAL_UNINSTALL) -+ @list='$(nodist_include_HEADERS)'; test -n "$(includedir)" || list=; \ -+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ -+ test -n "$$files" || exit 0; \ -+ echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \ -+ cd "$(DESTDIR)$(includedir)" && rm -f $$files -+ -+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) -+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ -+ unique=`for i in $$list; do \ -+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ -+ done | \ -+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ -+ END { if (nonempty) { for (i in files) print i; }; }'`; \ -+ mkid -fID $$unique -+tags: TAGS -+ -+TAGS: $(HEADERS) $(SOURCES) gpsd_config.h.in $(TAGS_DEPENDENCIES) \ -+ $(TAGS_FILES) $(LISP) -+ set x; \ -+ here=`pwd`; \ -+ list='$(SOURCES) $(HEADERS) gpsd_config.h.in $(LISP) $(TAGS_FILES)'; \ -+ unique=`for i in $$list; do \ -+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ -+ done | \ -+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ -+ END { if (nonempty) { for (i in files) print i; }; }'`; \ -+ shift; \ -+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ -+ test -n "$$unique" || unique=$$empty_fix; \ -+ if test $$# -gt 0; then \ -+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ -+ "$$@" $$unique; \ -+ else \ -+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ -+ $$unique; \ -+ fi; \ -+ fi -+ctags: CTAGS -+CTAGS: $(HEADERS) $(SOURCES) gpsd_config.h.in $(TAGS_DEPENDENCIES) \ -+ $(TAGS_FILES) $(LISP) -+ list='$(SOURCES) $(HEADERS) gpsd_config.h.in $(LISP) $(TAGS_FILES)'; \ -+ unique=`for i in $$list; do \ -+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ -+ done | \ -+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ -+ END { if (nonempty) { for (i in files) print i; }; }'`; \ -+ test -z "$(CTAGS_ARGS)$$unique" \ -+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ -+ $$unique -+ -+GTAGS: -+ here=`$(am__cd) $(top_builddir) && pwd` \ -+ && $(am__cd) $(top_srcdir) \ -+ && gtags -i $(GTAGS_ARGS) "$$here" -+ -+distclean-tags: -+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -+ -+distdir: $(DISTFILES) -+ @list='$(MANS)'; if test -n "$$list"; then \ -+ list=`for p in $$list; do \ -+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ -+ if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ -+ if test -n "$$list" && \ -+ grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ -+ echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ -+ grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ -+ echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ -+ echo " typically \`make maintainer-clean' will remove them" >&2; \ -+ exit 1; \ -+ else :; fi; \ -+ else :; fi -+ $(am__remove_distdir) -+ test -d "$(distdir)" || mkdir "$(distdir)" -+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ -+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ -+ list='$(DISTFILES)'; \ -+ dist_files=`for file in $$list; do echo $$file; done | \ -+ sed -e "s|^$$srcdirstrip/||;t" \ -+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ -+ case $$dist_files in \ -+ */*) $(MKDIR_P) `echo "$$dist_files" | \ -+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ -+ sort -u` ;; \ -+ esac; \ -+ for file in $$dist_files; do \ -+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ -+ if test -d $$d/$$file; then \ -+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ -+ if test -d "$(distdir)/$$file"; then \ -+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ -+ fi; \ -+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ -+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ -+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ -+ fi; \ -+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ -+ else \ -+ test -f "$(distdir)/$$file" \ -+ || cp -p $$d/$$file "$(distdir)/$$file" \ -+ || exit 1; \ -+ fi; \ -+ done -+ -test -n "$(am__skip_mode_fix)" \ -+ || find "$(distdir)" -type d ! -perm -755 \ -+ -exec chmod u+rwx,go+rx {} \; -o \ -+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ -+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ -+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ -+ || chmod -R a+r "$(distdir)" -+dist-gzip: distdir -+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz -+ $(am__remove_distdir) -+ -+dist-bzip2: distdir -+ tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 -+ $(am__remove_distdir) -+ -+dist-lzma: distdir -+ tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma -+ $(am__remove_distdir) -+ -+dist-xz: distdir -+ tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz -+ $(am__remove_distdir) -+ -+dist-tarZ: distdir -+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z -+ $(am__remove_distdir) -+ -+dist-shar: distdir -+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz -+ $(am__remove_distdir) -+ -+dist-zip: distdir -+ -rm -f $(distdir).zip -+ zip -rq $(distdir).zip $(distdir) -+ $(am__remove_distdir) -+ -+dist dist-all: distdir -+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz -+ $(am__remove_distdir) -+ -+# This target untars the dist file and tries a VPATH configuration. Then -+# it guarantees that the distribution is self-contained by making another -+# tarfile. -+distcheck: dist -+ case '$(DIST_ARCHIVES)' in \ -+ *.tar.gz*) \ -+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ -+ *.tar.bz2*) \ -+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ -+ *.tar.lzma*) \ -+ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ -+ *.tar.xz*) \ -+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ -+ *.tar.Z*) \ -+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ -+ *.shar.gz*) \ -+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ -+ *.zip*) \ -+ unzip $(distdir).zip ;;\ -+ esac -+ chmod -R a-w $(distdir); chmod a+w $(distdir) -+ mkdir $(distdir)/_build -+ mkdir $(distdir)/_inst -+ chmod a-w $(distdir) -+ test -d $(distdir)/_build || exit 0; \ -+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ -+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ -+ && am__cwd=`pwd` \ -+ && $(am__cd) $(distdir)/_build \ -+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ -+ $(DISTCHECK_CONFIGURE_FLAGS) \ -+ && $(MAKE) $(AM_MAKEFLAGS) \ -+ && $(MAKE) $(AM_MAKEFLAGS) dvi \ -+ && $(MAKE) $(AM_MAKEFLAGS) check \ -+ && $(MAKE) $(AM_MAKEFLAGS) install \ -+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ -+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ -+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ -+ distuninstallcheck \ -+ && chmod -R a-w "$$dc_install_base" \ -+ && ({ \ -+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ -+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ -+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ -+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ -+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ -+ } || { rm -rf "$$dc_destdir"; exit 1; }) \ -+ && rm -rf "$$dc_destdir" \ -+ && $(MAKE) $(AM_MAKEFLAGS) dist \ -+ && rm -rf $(DIST_ARCHIVES) \ -+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ -+ && cd "$$am__cwd" \ -+ || exit 1 -+ $(am__remove_distdir) -+ @(echo "$(distdir) archives ready for distribution: "; \ -+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ -+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' -+distuninstallcheck: -+ @$(am__cd) '$(distuninstallcheck_dir)' \ -+ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ -+ || { echo "ERROR: files left after uninstall:" ; \ -+ if test -n "$(DESTDIR)"; then \ -+ echo " (check DESTDIR support)"; \ -+ fi ; \ -+ $(distuninstallcheck_listfiles) ; \ -+ exit 1; } >&2 -+distcleancheck: distclean -+ @if test '$(srcdir)' = . ; then \ -+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ -+ exit 1 ; \ -+ fi -+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ -+ || { echo "ERROR: files left in build directory after distclean:" ; \ -+ $(distcleancheck_listfiles) ; \ -+ exit 1; } >&2 -+check-am: all-am -+ $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) -+check: $(BUILT_SOURCES) -+ $(MAKE) $(AM_MAKEFLAGS) check-am -+all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(DATA) $(HEADERS) \ -+ gpsd_config.h -+install-binPROGRAMS: install-libLTLIBRARIES -+ -+installdirs: -+ for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includedir)"; do \ -+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ -+ done -+install: $(BUILT_SOURCES) -+ $(MAKE) $(AM_MAKEFLAGS) install-am -+install-exec: install-exec-am -+install-data: install-data-am -+uninstall: uninstall-am -+ -+install-am: all-am -+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -+ -+installcheck: installcheck-am -+install-strip: -+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ -+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ -+ `test -z '$(STRIP)' || \ -+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -+mostlyclean-generic: -+ -+clean-generic: -+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) -+ -+distclean-generic: -+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -+ -+maintainer-clean-generic: -+ @echo "This command is intended for maintainers to use" -+ @echo "it deletes files that may require special tools to rebuild." -+ -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -+clean: clean-am -+ -+clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ -+ clean-libLTLIBRARIES clean-libtool clean-sbinPROGRAMS \ -+ mostlyclean-am -+ -+distclean: distclean-am -+ -rm -f $(am__CONFIG_DISTCLEAN_FILES) -+ -rm -rf ./$(DEPDIR) -+ -rm -f Makefile -+distclean-am: clean-am distclean-compile distclean-generic \ -+ distclean-hdr distclean-libtool distclean-tags -+ -+dvi: dvi-am -+ -+dvi-am: -+ -+html: html-am -+ -+html-am: -+ -+info: info-am -+ -+info-am: -+ -+install-data-am: install-includeHEADERS install-man \ -+ install-nodist_includeHEADERS install-pkgconfigDATA -+ -+install-dvi: install-dvi-am -+ -+install-dvi-am: -+ -+install-exec-am: install-binPROGRAMS install-libLTLIBRARIES \ -+ install-sbinPROGRAMS -+ -+install-html: install-html-am -+ -+install-html-am: -+ -+install-info: install-info-am -+ -+install-info-am: -+ -+install-man: install-man1 install-man3 install-man5 install-man8 -+ -+install-pdf: install-pdf-am -+ -+install-pdf-am: -+ -+install-ps: install-ps-am -+ -+install-ps-am: -+ -+installcheck-am: -+ -+maintainer-clean: maintainer-clean-am -+ -rm -f $(am__CONFIG_DISTCLEAN_FILES) -+ -rm -rf $(top_srcdir)/autom4te.cache -+ -rm -rf ./$(DEPDIR) -+ -rm -f Makefile -+maintainer-clean-am: distclean-am maintainer-clean-generic -+ -+mostlyclean: mostlyclean-am -+ -+mostlyclean-am: mostlyclean-compile mostlyclean-generic \ -+ mostlyclean-libtool -+ -+pdf: pdf-am -+ -+pdf-am: -+ -+ps: ps-am -+ -+ps-am: -+ -+uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \ -+ uninstall-libLTLIBRARIES uninstall-man \ -+ uninstall-nodist_includeHEADERS uninstall-pkgconfigDATA \ -+ uninstall-sbinPROGRAMS -+ -+uninstall-man: uninstall-man1 uninstall-man3 uninstall-man5 \ -+ uninstall-man8 -+ -+.MAKE: all check check-am install install-am install-strip -+ -+.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ -+ clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ -+ clean-libLTLIBRARIES clean-libtool clean-sbinPROGRAMS ctags \ -+ dist dist-all dist-bzip2 dist-gzip dist-lzma dist-shar \ -+ dist-tarZ dist-xz dist-zip distcheck distclean \ -+ distclean-compile distclean-generic distclean-hdr \ -+ distclean-libtool distclean-tags distcleancheck distdir \ -+ distuninstallcheck dvi dvi-am html html-am info info-am \ -+ install install-am install-binPROGRAMS install-data \ -+ install-data-am install-dvi install-dvi-am install-exec \ -+ install-exec-am install-html install-html-am \ -+ install-includeHEADERS install-info install-info-am \ -+ install-libLTLIBRARIES install-man install-man1 install-man3 \ -+ install-man5 install-man8 install-nodist_includeHEADERS \ -+ install-pdf install-pdf-am install-pkgconfigDATA install-ps \ -+ install-ps-am install-sbinPROGRAMS install-strip installcheck \ -+ installcheck-am installdirs maintainer-clean \ -+ maintainer-clean-generic mostlyclean mostlyclean-compile \ -+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ -+ tags uninstall uninstall-am uninstall-binPROGRAMS \ -+ uninstall-includeHEADERS uninstall-libLTLIBRARIES \ -+ uninstall-man uninstall-man1 uninstall-man3 uninstall-man5 \ -+ uninstall-man8 uninstall-nodist_includeHEADERS \ -+ uninstall-pkgconfigDATA uninstall-sbinPROGRAMS -+ -+ -+packet_names.h: packet_states.h -+ sed -e '/^ *\([A-Z][A-Z0-9_]*\),/s// "\1",/' -e '/_states/s//_names/' < `test -f 'packet_states.h' || echo '$(srcdir)/'`packet_states.h > packet_names.h -+ -+gpsd.h: gpsd.h-head gpsd.h-tail gpsd_config.h -+ cat $(srcdir)/gpsd.h-head >gpsd.h -+ grep VERSION gpsd_config.h >>gpsd.h -+ grep ENABLE gpsd_config.h >>gpsd.h -+ cat $(srcdir)/gpsd.h-tail >>gpsd.h -+ -+.xml.1: -+ $(MANGENERATOR) $(MANFLAGS) $(MANTARGET) $< -+ -+.xml.3: -+ $(MANGENERATOR) $(MANFLAGS) $(MANTARGET) $< -+ -+.xml.5: -+ $(MANGENERATOR) $(MANFLAGS) $(MANTARGET) $< -+ -+.xml.8: -+ $(MANGENERATOR) $(MANFLAGS) $(MANTARGET) $< -+ -+gpsd.8: gpsd.xml -+ -+gps.1 xgps.1 xgpsspeed.1 cgps.1 cgpxlogger.1: gps.xml -+ -+libgps.3: libgps.xml -+ -+libgpsmm.3: libgpsmm.xml -+ -+libgpsd.3: libgpsd.xml -+ -+gpsctl.1: gpsctl.xml -+ -+gpscat.1: gpsctl.xml -+ -+gpsprof.1: gpsprof.xml -+ -+gpsfake.1: gpsfake.xml -+ -+gpsmon.1: gpsmon.xml -+ -+gpspipe.1: gpspipe.xml -+ -+gpsdecode.1: gpsdecode.xml -+ -+rtcm-104.5: rtcm-104.xml -+ -+srec.5: srec.xml -+ -+gpsflash.1: gpsflash.xml -+ -+# These are not distributed -+libgps: libgps.c .libs/libgps.a -+ $(CC) $(CFLAGS) -o libgps -lm -DTESTMAIN $(LIBPTHREAD) -g libgps.c .libs/libgps.a -+splint: gpsd.h packet_names.h -+ @echo "Running splint on daemon and libraries..." -+ -splint $(SPLINTOPTS) -exportlocal -redef $(gpsd_c_sources) $(libgpsd_c_sources) -+ @echo "Running splint on xgps..." -+ -splint $(SPLINTOPTS) -exportlocal $(xgps_SOURCES) -+ @echo "Running splint on cgps..." -+ -splint $(SPLINTOPTS) -exportlocal $(cgps_SOURCES) -+ @echo "Running splint on xgpsspeed..." -+ -splint $(SPLINTOPTS) -exportlocal $(xgpsspeed_c_sources) -+ @echo "Running splint on gpsctl..." -+ -splint $(SPLINTOPTS) $(gpsctl_SOURCES) -+ @echo "Running splint on gpsmon..." -+ -splint $(SPLINTOPTS) -exportlocal $(gpsmon_SOURCES) -+ @echo "Running splint on gpspipe..." -+ -splint $(SPLINTOPTS) $(gpspipe_SOURCES) -+ @echo "Running splint on gpsdecode..." -+ -splint $(SPLINTOPTS) -exportlocal gpsdecode.c -+ @echo "Running splint on gpsflash..." -+ -splint $(SPLINTOPTS) $(gpsflash_SOURCES) -+ @echo "Running splint on test_bits test harness..." -+ -splint $(SPLINTOPTS) $(test_bits_SOURCES) -+ @echo "Running splint on test_packet test harness..." -+ -splint $(SPLINTOPTS) $(test_packet_SOURCES) -+ @echo "Running splint on test_geoid test harness..." -+ -splint $(SPLINTOPTS) $(test_geoid_SOURCES) -+ -+# Bogon-checking the Python tools -+pychecker: -+ for f in gps.py gpsfake.py leapsecond.py; do pychecker $$f; done -+ -+version: -+ @echo $(VERSION) -+ -+# -+# Regression tests begin here -+# -+# Note that the *-makeregress targets re-create the *.log.chk source -+# files from the *.log source files. -+# -+# These require gcc4; use of the math coprocessor's on-board trig functions -+# apparently increases the accuracy of computation in a way that affects -+# the low-order digits of the track field in the O response. -+ -+# Regression-test the daemon -+gps-regress: gpsd -+ $(srcdir)/regress-driver -t $(srcdir)/test/stable/*.log -+ -+# Test that super-raw mode works. Compare each logfile against itself -+# dumped through the daemon running in R=2 mode. (This test is not -+# included in the normal regressions.) -+raw-regress: -+ $(srcdir)/regress-driver -r $(srcdir)/test/stable/*.log -+ -+# Build the regression tests for the daemon. -+gps-makeregress: gpsd -+ $(srcdir)/regress-driver -b $(srcdir)/test/stable/*.log -+ -+# To build an individual test for a load named foo.log, put it in -+# test/stable and do this: -+# regress-driver -b test/stable/foo.log -+ -+# Regression-test the RTCM decoder. -+rtcm-regress: gpsdecode -+ @echo "Testing RTCM decoding..." -+ @mkdir -p test -+ @for f in $(srcdir)/test/*.rtcm2; do \ -+ echo "Testing $${f}..."; \ -+ $(srcdir)/gpsdecode <$${f} >test/test.chk; \ -+ diff -ub $${f}.chk test/test.chk; \ -+ done; \ -+ rm test/test.chk -+ -+# Rebuild the RTCM regression tests. -+rtcm-makeregress: gpsdecode -+ @for f in $(srcdir)/test/*.rtcm2; do \ -+ $(srcdir)/gpsdecode < $${f} > $${f}.chk; \ -+ done -+ -+# Regression-test the AIVDM decoder. -+aivdm-regress: gpsdecode -+ @echo "Testing AIVDM decoding..." -+ @mkdir -p test -+ @for f in $(srcdir)/test/*.aivdm; do \ -+ echo "Testing $${f}..."; \ -+ $(srcdir)/gpsdecode <$${f} >test/test.chk; \ -+ diff -ub $${f}.chk test/test.chk; \ -+ done; \ -+ rm test/test.chk -+ -+# Rebuild the AIVDM regression tests. -+aivdm-makeregress: gpsdecode -+ @for f in $(srcdir)/test/*.aivdm; do \ -+ $(srcdir)/gpsdecode < $${f} > $${f}.chk; \ -+ done -+ -+# Regression-test the packet getter. -+packet-regress: test_packet -+ @echo "Testing detection of invalid packets..." -+ @$(srcdir)/test_packet | diff -u $(srcdir)/test/packet.test.chk - -+ -+# Rebuild the packet-getter regression test -+packet-makeregress: test_packet -+ @mkdir -p test -+ $(srcdir)/test_packet >test/packet.test.chk -+ -+# Regression-test the geoid tester. -+geoid-regress: test_geoid -+ @echo "Testing the geoid model..." -+ @$(srcdir)/test_geoid 37.371192 122.014965 | diff -u $(srcdir)/test/geoid.test.chk - -+ -+# Rebuild the packet-getter regression test -+geoid-makeregress: test_geoid -+ @mkdir -p test -+ $(srcdir)/test_geoid 37.371192 122.014965 >test/geoid.test.chk -+ -+# Test RTCM encoding using passthrough mode. -+undump-regress: gpsdecode -+ @echo "Testing RTCM encoding..." -+ @mkdir -p test -+ @$(srcdir)/gpsdecode -p < $(srcdir)/test/undump.sample > test/undump.test -+ @diff -u $(srcdir)/test/undump.sample test/undump.test -+ @rm test/undump.test -+ -+# Regression-test the calendar functions -+time-regress: test_mkgmtime -+ ./test_mkgmtime -+ -+# Regression test the unpacking code in libgps -+unpack-regress: libgps -+ @echo "Testing the clent sentence unpacker..." -+ @$(srcdir)/libgps -u >test/test.chk -+ @diff -u test/unpack.chk test/test.chk -+ -+# Build the regressiuin test for the sentence unpacker -+unpack-makeregress: libgps -+ @echo "Rebuilding the clent sentence-unpacker test..." -+ @$(srcdir)/libgps -u >test/unpack.chk -+ -+# Do all normal regression tests -+testregress: gps-regress rtcm-regress aivdm-regress packet-regress undump-regress time-regress unpack-regress -+ @echo "Regressions complete." -+ -+# We would like "${MAKE} check" to run the regression tests. automake -+# appears to have support for running programs, but not make targets. -+# Perhaps the tests should be moved into scripts, but then it's not -+# clear how to deal with $(srcdir). -+# TESTS=testregress -+ -+# Productions for setting up and performing udev tests. -+# -+# Requires root. Do "udev-install", then "tail -f /var/run/syslog" in -+# another window, then run 'make udev-test', then plug and unplug the -+# GPS ad libitum. All is well when you get fix reports each time a GPS -+# is plugged in. -+ -+udev-install: -+ cp $(srcdir)/gpsd.rules /etc/udev/ -+ ln -sf /etc/udev/gpsd.rules /etc/udev/rules.d/025_gpsd.rules -+ cp $(srcdir)/gpsd.hotplug /lib/udev/ -+ cp $(srcdir)/gpsd.hotplug.wrapper /lib/udev/ -+ chmod a+x /lib/udev/gpsd.hotplug /lib/udev/gpsd.hotplug.wrapper -+ -+udev-uninstall: -+ rm -f /etc/udev/{gpsd.rules,gpsd.hotplug,gpsd.hotplug.wrapper} -+ rm -f /etc/udev/rules.d/025_gpsd.rules -+ -+udev-test: -+ $(srcdir)/gpsd -N -F /var/run/gpsd.sock -D 4 -+ -+# -+# Productions for testing unstable drivers. -+# -+ -+unstable-regress: gpsd -+ ./regress-driver -t $(srcdir)/test/unstable/*.log -+ -+unstable-makeregress: gpsd -+ ./regress-driver -b $(srcdir)/test/unstable/*.log -+ -+# Release machinery begins here -+# -+ -+# Make RPM from the specfile in packaging -+dist-rpm: distdir -+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz -+ rpmbuild -ta $(distdir).tar.gz -+ $(am__remove_distdir) -+ -+# This is how to ship a release to Berlios incomoing. -+# It requires developer access verified via ssh. -+# -+upload-ftp: dist -+ shasum gpsd-$(VERSION).tar.gz >gpsd.sum -+ lftp -c "open ftp://ftp.berlios.de/incoming; mput gpsd-$(VERSION).tar.gz gpsd.sum" -+svn-tag: -+ svn copy $(REPO)/trunk $(REPO)/tags/release-$(VERSION) \ -+ -m "Tagged for external release $(VERSION)" -+# -+# Ship a release, providing all regression tests pass. -+# -+ship: testregress dist upload-ftp svn-tag -+ -+# Tell versions [3.59,3.63) of GNU make to not export all variables. -+# Otherwise a system limit (for SysV at least) may be exceeded. -+.NOEXPORT: -diff -Nur gpsd-2.39.orig/Makefile.am gpsd-2.39/Makefile.am ---- gpsd-2.39.orig/Makefile.am 2009-03-18 16:16:37.000000000 +0100 -+++ gpsd-2.39/Makefile.am 2010-02-18 21:38:27.332855044 +0100 -@@ -30,12 +30,6 @@ - bin_PROGRAMS = $(MOTIF_PROGS) $(XAW_PROGS) $(RTCM104PROGS) $(CURSESPROGS) gpsctl gpspipe gpsflash gpxlogger lcdgps - sbin_PROGRAMS = gpsd - check_PROGRAMS = test_bits test_gpsmm test_packet test_mkgmtime test_geoid --if HAVE_PYTHON --dist_bin_SCRIPTS = gpsprof gpsfake gpscat --python_PYTHON = gps.py gpsfake.py gpscap.py --nodist_python_PYTHON = gpspacket.so gpslib.so --PYTHONPAGES = gpsprof.1 gpsfake.1 gpscat.1 --endif - - # - # Build xgps -@@ -179,22 +173,6 @@ - libgps_la_LIBADD = $(LIBM) $(LIBC) $(LIBNSL) $(LIBSOCKET) $(LIBPTHREAD) - - # --# Build Python binding --# --# install may require --root depending on what you're doing. --# python setup.py install --root=$DESTIR --prefix=$PREFIX --if HAVE_PYTHON --PYEXTENSIONS = gpspacket.so gpslib.so --noinst_SCRIPTS = gpspacket.so gpslib.so setup.py -- --gpspacket.so gpslib.so: gpspacket.c gpslib.c libgps.la -- (pwd="`pwd`"; cd $(srcdir) && $(PYTHON) setup.py build_ext --build-lib "$$pwd" --build-temp "$$pwd/build" --include-dirs "$$pwd") --endif --# Clean up after Python --clean-local: -- rm -rf build -- --# - # Build test_gpsmm - # - test_gpsmm_SOURCES = test_gpsmm.cpp -diff -Nur gpsd-2.39.orig/Makefile.in gpsd-2.39/Makefile.in ---- gpsd-2.39.orig/Makefile.in 2009-03-18 22:10:30.000000000 +0100 -+++ gpsd-2.39/Makefile.in 2010-02-18 21:42:05.952856164 +0100 -@@ -1,8 +1,9 @@ --# Makefile.in generated by automake 1.10.1 from Makefile.am. -+# Makefile.in generated by automake 1.11.1 from Makefile.am. - # @configure_input@ - - # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, --# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -+# Inc. - # This Makefile.in is free software; the Free Software Foundation - # gives unlimited permission to copy and/or distribute it, - # with or without modifications, as long as this notice is preserved. -@@ -22,11 +23,11 @@ - - - -- - VPATH = @srcdir@ - pkgdatadir = $(datadir)/@PACKAGE@ --pkglibdir = $(libdir)/@PACKAGE@ - pkgincludedir = $(includedir)/@PACKAGE@ -+pkglibdir = $(libdir)/@PACKAGE@ -+pkglibexecdir = $(libexecdir)/@PACKAGE@ - am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd - install_sh_DATA = $(install_sh) -c -m 644 - install_sh_PROGRAM = $(install_sh) -c -@@ -49,14 +50,13 @@ - test_packet$(EXEEXT) test_mkgmtime$(EXEEXT) \ - test_geoid$(EXEEXT) - subdir = . --DIST_COMMON = README $(am__configure_deps) \ -- $(am__dist_bin_SCRIPTS_DIST) $(am__python_PYTHON_DIST) \ -- $(include_HEADERS) $(noinst_HEADERS) $(srcdir)/Makefile.am \ -- $(srcdir)/Makefile.in $(srcdir)/gpsd_config.h.in \ -- $(srcdir)/libgps.pc.in $(srcdir)/libgpsd.pc.in \ -- $(top_srcdir)/configure $(top_srcdir)/packaging/gpsd.spec.in \ -- AUTHORS COPYING INSTALL NEWS TODO config.guess config.sub \ -- depcomp install-sh ltmain.sh missing py-compile -+DIST_COMMON = README $(am__configure_deps) $(include_HEADERS) \ -+ $(noinst_HEADERS) $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ -+ $(srcdir)/gpsd_config.h.in $(srcdir)/libgps.pc.in \ -+ $(srcdir)/libgpsd.pc.in $(top_srcdir)/configure \ -+ $(top_srcdir)/packaging/gpsd.spec.in AUTHORS COPYING ChangeLog \ -+ INSTALL NEWS TODO config.guess config.sub depcomp install-sh \ -+ ltmain.sh missing py-compile - ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 - am__aclocal_m4_deps = $(top_srcdir)/configure.ac - am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ -@@ -66,20 +66,33 @@ - mkinstalldirs = $(install_sh) -d - CONFIG_HEADER = gpsd_config.h - CONFIG_CLEAN_FILES = packaging/gpsd.spec libgps.pc libgpsd.pc -+CONFIG_CLEAN_VPATH_FILES = - am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; - am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; --am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -+am__install_max = 40 -+am__nobase_strip_setup = \ -+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -+am__nobase_strip = \ -+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -+am__nobase_list = $(am__nobase_strip_setup); \ -+ for p in $$list; do echo "$$p $$p"; done | \ -+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ -+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ -+ if (++n[$$2] == $(am__install_max)) \ -+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ -+ END { for (dir in files) print dir, files[dir] }' -+am__base_list = \ -+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ -+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' - am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \ -- "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(bindir)" \ -- "$(DESTDIR)$(pythondir)" "$(DESTDIR)$(pythondir)" \ -- "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" \ -- "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" \ -- "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)" \ -- "$(DESTDIR)$(includedir)" --libLTLIBRARIES_INSTALL = $(INSTALL) -+ "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" \ -+ "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" \ -+ "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(pkgconfigdir)" \ -+ "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includedir)" - LTLIBRARIES = $(lib_LTLIBRARIES) - am__DEPENDENCIES_1 = - libgps_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ -@@ -106,8 +119,6 @@ - @HAVE_XAW_TRUE@am__EXEEXT_2 = xgpsspeed$(EXEEXT) - @HAVE_RTCM104V2_TRUE@am__EXEEXT_3 = gpsdecode$(EXEEXT) - @HAVE_NCURSES_TRUE@am__EXEEXT_4 = cgps$(EXEEXT) gpsmon$(EXEEXT) --binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) --sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM) - PROGRAMS = $(bin_PROGRAMS) $(sbin_PROGRAMS) - am_cgps_OBJECTS = cgps.$(OBJEXT) - cgps_OBJECTS = $(am_cgps_OBJECTS) -@@ -175,12 +186,10 @@ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) libgps.la $(am__DEPENDENCIES_1) --am__dist_bin_SCRIPTS_DIST = gpsprof gpsfake gpscat --dist_binSCRIPT_INSTALL = $(INSTALL_SCRIPT) --SCRIPTS = $(dist_bin_SCRIPTS) $(noinst_SCRIPTS) - DEFAULT_INCLUDES = -I.@am__isrc@ - depcomp = $(SHELL) $(top_srcdir)/depcomp - am__depfiles_maybe = depfiles -+am__mv = mv -f - COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) - LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ -@@ -212,20 +221,13 @@ - $(lcdgps_SOURCES) $(test_bits_SOURCES) $(test_geoid_SOURCES) \ - $(test_gpsmm_SOURCES) $(test_mkgmtime_SOURCES) \ - $(test_packet_SOURCES) $(xgps_SOURCES) $(xgpsspeed_SOURCES) --nodist_pythonPYTHON_INSTALL = $(INSTALL_DATA) --am__python_PYTHON_DIST = gps.py gpsfake.py gpscap.py --pythonPYTHON_INSTALL = $(INSTALL_DATA) --py_compile = $(top_srcdir)/py-compile - man1dir = $(mandir)/man1 - man3dir = $(mandir)/man3 - man5dir = $(mandir)/man5 - man8dir = $(mandir)/man8 - NROFF = nroff - MANS = $(man_MANS) --pkgconfigDATA_INSTALL = $(INSTALL_DATA) - DATA = $(pkgconfig_DATA) --includeHEADERS_INSTALL = $(INSTALL_HEADER) --nodist_includeHEADERS_INSTALL = $(INSTALL_HEADER) - HEADERS = $(include_HEADERS) $(nodist_include_HEADERS) \ - $(noinst_HEADERS) - ETAGS = etags -@@ -234,9 +236,9 @@ - distdir = $(PACKAGE)-$(VERSION) - top_distdir = $(distdir) - am__remove_distdir = \ -- { test ! -d $(distdir) \ -- || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ -- && rm -fr $(distdir); }; } -+ { test ! -d "$(distdir)" \ -+ || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ -+ && rm -fr "$(distdir)"; }; } - DIST_ARCHIVES = $(distdir).tar.gz - GZIP_ENV = --best - distuninstallcheck_listfiles = find . -type f -print -@@ -300,6 +302,7 @@ - NCURSES_LIBS = @NCURSES_LIBS@ - NM = @NM@ - NMEDIT = @NMEDIT@ -+OBJDUMP = @OBJDUMP@ - OBJEXT = @OBJEXT@ - OTOOL = @OTOOL@ - OTOOL64 = @OTOOL64@ -@@ -308,15 +311,9 @@ - PACKAGE_NAME = @PACKAGE_NAME@ - PACKAGE_STRING = @PACKAGE_STRING@ - PACKAGE_TARNAME = @PACKAGE_TARNAME@ -+PACKAGE_URL = @PACKAGE_URL@ - PACKAGE_VERSION = @PACKAGE_VERSION@ - PATH_SEPARATOR = @PATH_SEPARATOR@ --PYTHON = @PYTHON@ --PYTHON_CFLAGS = @PYTHON_CFLAGS@ --PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ --PYTHON_LIBS = @PYTHON_LIBS@ --PYTHON_PLATFORM = @PYTHON_PLATFORM@ --PYTHON_PREFIX = @PYTHON_PREFIX@ --PYTHON_VERSION = @PYTHON_VERSION@ - RANLIB = @RANLIB@ - SED = @SED@ - SET_MAKE = @SET_MAKE@ -@@ -379,18 +376,15 @@ - mkdir_p = @mkdir_p@ - oldincludedir = @oldincludedir@ - pdfdir = @pdfdir@ --pkgpyexecdir = @pkgpyexecdir@ --pkgpythondir = @pkgpythondir@ - prefix = @prefix@ - program_transform_name = @program_transform_name@ - psdir = @psdir@ --pyexecdir = @pyexecdir@ --pythondir = @pythondir@ - sbindir = @sbindir@ - sharedstatedir = @sharedstatedir@ - srcdir = @srcdir@ - sysconfdir = @sysconfdir@ - target_alias = @target_alias@ -+top_build_prefix = @top_build_prefix@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ - XMLTO = xmlto -@@ -404,10 +398,6 @@ - @HAVE_DBUS_TRUE@INCLUDES = $(DBUS_CFLAGS) $(DBUS_GLIB_CFLAGS) -DDBUS_API_SUBJECT_TO_CHANGE=1 - @HAVE_RTCM104V2_TRUE@RTCM104PROGS = gpsdecode - @HAVE_RTCM104V2_TRUE@RTCM104PAGES = gpsdecode.1 --@HAVE_PYTHON_TRUE@dist_bin_SCRIPTS = gpsprof gpsfake gpscat --@HAVE_PYTHON_TRUE@python_PYTHON = gps.py gpsfake.py gpscap.py --@HAVE_PYTHON_TRUE@nodist_python_PYTHON = gpspacket.so gpslib.so --@HAVE_PYTHON_TRUE@PYTHONPAGES = gpsprof.1 gpsfake.1 gpscat.1 - - # - # Build xgps -@@ -544,14 +534,6 @@ - libgps_la_LIBADD = $(LIBM) $(LIBC) $(LIBNSL) $(LIBSOCKET) $(LIBPTHREAD) - - # --# Build Python binding --# --# install may require --root depending on what you're doing. --# python setup.py install --root=$DESTIR --prefix=$PREFIX --@HAVE_PYTHON_TRUE@PYEXTENSIONS = gpspacket.so gpslib.so --@HAVE_PYTHON_TRUE@noinst_SCRIPTS = gpspacket.so gpslib.so setup.py -- --# - # Build test_gpsmm - # - test_gpsmm_SOURCES = test_gpsmm.cpp -@@ -683,15 +665,15 @@ - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ -- echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ -- cd $(srcdir) && $(AUTOMAKE) --foreign \ -+ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ -+ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ -- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ -- cd $(top_srcdir) && \ -- $(AUTOMAKE) --foreign Makefile -+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ -+ $(am__cd) $(top_srcdir) && \ -+ $(AUTOMAKE) --gnu Makefile - .PRECIOUS: Makefile - Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ -@@ -707,9 +689,10 @@ - $(SHELL) ./config.status --recheck - - $(top_srcdir)/configure: $(am__configure_deps) -- cd $(srcdir) && $(AUTOCONF) -+ $(am__cd) $(srcdir) && $(AUTOCONF) - $(ACLOCAL_M4): $(am__aclocal_m4_deps) -- cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) -+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) -+$(am__aclocal_m4_deps): - - gpsd_config.h: stamp-h1 - @if test ! -f $@; then \ -@@ -721,7 +704,7 @@ - @rm -f stamp-h1 - cd $(top_builddir) && $(SHELL) ./config.status gpsd_config.h - $(srcdir)/gpsd_config.h.in: $(am__configure_deps) -- cd $(top_srcdir) && $(AUTOHEADER) -+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) - rm -f stamp-h1 - touch $@ - -@@ -736,20 +719,24 @@ - install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" -- @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ -+ @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ -+ list2=; for p in $$list; do \ - if test -f $$p; then \ -- f=$(am__strip_dir) \ -- echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ -- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ -+ list2="$$list2 $$p"; \ - else :; fi; \ -- done -+ done; \ -+ test -z "$$list2" || { \ -+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ -+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ -+ } - - uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) -- @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ -- p=$(am__strip_dir) \ -- echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ -- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ -+ @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ -+ for p in $$list; do \ -+ $(am__strip_dir) \ -+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ -+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ - done - - clean-libLTLIBRARIES: -@@ -765,66 +752,98 @@ - install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" -- @list='$(bin_PROGRAMS)'; for p in $$list; do \ -- p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ -- if test -f $$p \ -- || test -f $$p1 \ -- ; then \ -- f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ -- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ -- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ -- else :; fi; \ -- done -+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ -+ for p in $$list; do echo "$$p $$p"; done | \ -+ sed 's/$(EXEEXT)$$//' | \ -+ while read p p1; do if test -f $$p || test -f $$p1; \ -+ then echo "$$p"; echo "$$p"; else :; fi; \ -+ done | \ -+ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ -+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ -+ sed 'N;N;N;s,\n, ,g' | \ -+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ -+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ -+ if ($$2 == $$4) files[d] = files[d] " " $$1; \ -+ else { print "f", $$3 "/" $$4, $$1; } } \ -+ END { for (d in files) print "f", d, files[d] }' | \ -+ while read type dir files; do \ -+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ -+ test -z "$$files" || { \ -+ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ -+ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ -+ } \ -+ ; done - - uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) -- @list='$(bin_PROGRAMS)'; for p in $$list; do \ -- f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ -- echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ -- rm -f "$(DESTDIR)$(bindir)/$$f"; \ -- done -+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ -+ files=`for p in $$list; do echo "$$p"; done | \ -+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -+ -e 's/$$/$(EXEEXT)/' `; \ -+ test -n "$$list" || exit 0; \ -+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ -+ cd "$(DESTDIR)$(bindir)" && rm -f $$files - - clean-binPROGRAMS: -- @list='$(bin_PROGRAMS)'; for p in $$list; do \ -- f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ -- echo " rm -f $$p $$f"; \ -- rm -f $$p $$f ; \ -- done -+ @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ -+ echo " rm -f" $$list; \ -+ rm -f $$list || exit $$?; \ -+ test -n "$(EXEEXT)" || exit 0; \ -+ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ -+ echo " rm -f" $$list; \ -+ rm -f $$list - - clean-checkPROGRAMS: -- @list='$(check_PROGRAMS)'; for p in $$list; do \ -- f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ -- echo " rm -f $$p $$f"; \ -- rm -f $$p $$f ; \ -- done -+ @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \ -+ echo " rm -f" $$list; \ -+ rm -f $$list || exit $$?; \ -+ test -n "$(EXEEXT)" || exit 0; \ -+ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ -+ echo " rm -f" $$list; \ -+ rm -f $$list - install-sbinPROGRAMS: $(sbin_PROGRAMS) - @$(NORMAL_INSTALL) - test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)" -- @list='$(sbin_PROGRAMS)'; for p in $$list; do \ -- p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ -- if test -f $$p \ -- || test -f $$p1 \ -- ; then \ -- f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ -- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \ -- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \ -- else :; fi; \ -- done -+ @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ -+ for p in $$list; do echo "$$p $$p"; done | \ -+ sed 's/$(EXEEXT)$$//' | \ -+ while read p p1; do if test -f $$p || test -f $$p1; \ -+ then echo "$$p"; echo "$$p"; else :; fi; \ -+ done | \ -+ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ -+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ -+ sed 'N;N;N;s,\n, ,g' | \ -+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ -+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ -+ if ($$2 == $$4) files[d] = files[d] " " $$1; \ -+ else { print "f", $$3 "/" $$4, $$1; } } \ -+ END { for (d in files) print "f", d, files[d] }' | \ -+ while read type dir files; do \ -+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ -+ test -z "$$files" || { \ -+ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \ -+ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \ -+ } \ -+ ; done - - uninstall-sbinPROGRAMS: - @$(NORMAL_UNINSTALL) -- @list='$(sbin_PROGRAMS)'; for p in $$list; do \ -- f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ -- echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \ -- rm -f "$(DESTDIR)$(sbindir)/$$f"; \ -- done -+ @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ -+ files=`for p in $$list; do echo "$$p"; done | \ -+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -+ -e 's/$$/$(EXEEXT)/' `; \ -+ test -n "$$list" || exit 0; \ -+ echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \ -+ cd "$(DESTDIR)$(sbindir)" && rm -f $$files - - clean-sbinPROGRAMS: -- @list='$(sbin_PROGRAMS)'; for p in $$list; do \ -- f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ -- echo " rm -f $$p $$f"; \ -- rm -f $$p $$f ; \ -- done -+ @list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \ -+ echo " rm -f" $$list; \ -+ rm -f $$list || exit $$?; \ -+ test -n "$(EXEEXT)" || exit 0; \ -+ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ -+ echo " rm -f" $$list; \ -+ rm -f $$list - cgps$(EXEEXT): $(cgps_OBJECTS) $(cgps_DEPENDENCIES) - @rm -f cgps$(EXEEXT) - $(LINK) $(cgps_OBJECTS) $(cgps_LDADD) $(LIBS) -@@ -873,25 +892,6 @@ - xgpsspeed$(EXEEXT): $(xgpsspeed_OBJECTS) $(xgpsspeed_DEPENDENCIES) - @rm -f xgpsspeed$(EXEEXT) - $(LINK) $(xgpsspeed_OBJECTS) $(xgpsspeed_LDADD) $(LIBS) --install-dist_binSCRIPTS: $(dist_bin_SCRIPTS) -- @$(NORMAL_INSTALL) -- test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" -- @list='$(dist_bin_SCRIPTS)'; for p in $$list; do \ -- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ -- if test -f $$d$$p; then \ -- f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ -- echo " $(dist_binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ -- $(dist_binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ -- else :; fi; \ -- done -- --uninstall-dist_binSCRIPTS: -- @$(NORMAL_UNINSTALL) -- @list='$(dist_bin_SCRIPTS)'; for p in $$list; do \ -- f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ -- echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ -- rm -f "$(DESTDIR)$(bindir)/$$f"; \ -- done - - mostlyclean-compile: - -rm -f *.$(OBJEXT) -@@ -963,42 +963,42 @@ - - .c.o: - @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< --@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po - @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ - @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - @am__fastdepCC_FALSE@ $(COMPILE) -c $< - - .c.obj: - @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` --@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po - @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ - @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` - - .c.lo: - @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< --@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo - @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ - @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< - - .cpp.o: - @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< --@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po - @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ - @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - - .cpp.obj: - @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` --@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po - @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ - @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - - .cpp.lo: - @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< --@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo - @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ - @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< -@@ -1010,308 +1010,233 @@ - -rm -rf .libs _libs - - distclean-libtool: -- -rm -f libtool --install-nodist_pythonPYTHON: $(nodist_python_PYTHON) -+ -rm -f libtool config.lt -+install-man1: $(man_MANS) - @$(NORMAL_INSTALL) -- test -z "$(pythondir)" || $(MKDIR_P) "$(DESTDIR)$(pythondir)" -- @list='$(nodist_python_PYTHON)'; dlist=''; for p in $$list; do\ -- if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ -- if test -f $$b$$p; then \ -- f=$(am__strip_dir) \ -- dlist="$$dlist $$f"; \ -- echo " $(nodist_pythonPYTHON_INSTALL) '$$b$$p' '$(DESTDIR)$(pythondir)/$$f'"; \ -- $(nodist_pythonPYTHON_INSTALL) "$$b$$p" "$(DESTDIR)$(pythondir)/$$f"; \ -- else :; fi; \ -- done; \ -- if test -n "$$dlist"; then \ -- if test -z "$(DESTDIR)"; then \ -- PYTHON=$(PYTHON) $(py_compile) --basedir "$(pythondir)" $$dlist; \ -- else \ -- PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pythondir)" $$dlist; \ -+ test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" -+ @list=''; test -n "$(man1dir)" || exit 0; \ -+ { for i in $$list; do echo "$$i"; done; \ -+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ -+ sed -n '/\.1[a-z]*$$/p'; \ -+ } | while read p; do \ -+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ -+ echo "$$d$$p"; echo "$$p"; \ -+ done | \ -+ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ -+ sed 'N;N;s,\n, ,g' | { \ -+ list=; while read file base inst; do \ -+ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ -+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ -+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ - fi; \ -- else :; fi -- --uninstall-nodist_pythonPYTHON: -- @$(NORMAL_UNINSTALL) -- @list='$(nodist_python_PYTHON)'; dlist=''; for p in $$list; do\ -- f=$(am__strip_dir) \ -- rm -f "$(DESTDIR)$(pythondir)/$$f"; \ -- rm -f "$(DESTDIR)$(pythondir)/$${f}c"; \ -- rm -f "$(DESTDIR)$(pythondir)/$${f}o"; \ -- done --install-pythonPYTHON: $(python_PYTHON) -- @$(NORMAL_INSTALL) -- test -z "$(pythondir)" || $(MKDIR_P) "$(DESTDIR)$(pythondir)" -- @list='$(python_PYTHON)'; dlist=''; for p in $$list; do\ -- if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ -- if test -f $$b$$p; then \ -- f=$(am__strip_dir) \ -- dlist="$$dlist $$f"; \ -- echo " $(pythonPYTHON_INSTALL) '$$b$$p' '$(DESTDIR)$(pythondir)/$$f'"; \ -- $(pythonPYTHON_INSTALL) "$$b$$p" "$(DESTDIR)$(pythondir)/$$f"; \ -- else :; fi; \ - done; \ -- if test -n "$$dlist"; then \ -- if test -z "$(DESTDIR)"; then \ -- PYTHON=$(PYTHON) $(py_compile) --basedir "$(pythondir)" $$dlist; \ -- else \ -- PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pythondir)" $$dlist; \ -- fi; \ -- else :; fi -+ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ -+ while read files; do \ -+ test -z "$$files" || { \ -+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ -+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ -+ done; } - --uninstall-pythonPYTHON: -- @$(NORMAL_UNINSTALL) -- @list='$(python_PYTHON)'; dlist=''; for p in $$list; do\ -- f=$(am__strip_dir) \ -- rm -f "$(DESTDIR)$(pythondir)/$$f"; \ -- rm -f "$(DESTDIR)$(pythondir)/$${f}c"; \ -- rm -f "$(DESTDIR)$(pythondir)/$${f}o"; \ -- done --install-man1: $(man1_MANS) $(man_MANS) -- @$(NORMAL_INSTALL) -- test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" -- @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ -- l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ -- for i in $$l2; do \ -- case "$$i" in \ -- *.1*) list="$$list $$i" ;; \ -- esac; \ -- done; \ -- for i in $$list; do \ -- if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ -- else file=$$i; fi; \ -- ext=`echo $$i | sed -e 's/^.*\\.//'`; \ -- case "$$ext" in \ -- 1*) ;; \ -- *) ext='1' ;; \ -- esac; \ -- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ -- inst=`echo $$inst | sed -e 's/^.*\///'`; \ -- inst=`echo $$inst | sed '$(transform)'`.$$ext; \ -- echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ -- $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \ -- done - uninstall-man1: - @$(NORMAL_UNINSTALL) -- @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ -- l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ -- for i in $$l2; do \ -- case "$$i" in \ -- *.1*) list="$$list $$i" ;; \ -- esac; \ -- done; \ -- for i in $$list; do \ -- ext=`echo $$i | sed -e 's/^.*\\.//'`; \ -- case "$$ext" in \ -- 1*) ;; \ -- *) ext='1' ;; \ -- esac; \ -- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ -- inst=`echo $$inst | sed -e 's/^.*\///'`; \ -- inst=`echo $$inst | sed '$(transform)'`.$$ext; \ -- echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \ -- rm -f "$(DESTDIR)$(man1dir)/$$inst"; \ -- done --install-man3: $(man3_MANS) $(man_MANS) -+ @list=''; test -n "$(man1dir)" || exit 0; \ -+ files=`{ for i in $$list; do echo "$$i"; done; \ -+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ -+ sed -n '/\.1[a-z]*$$/p'; \ -+ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ -+ test -z "$$files" || { \ -+ echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \ -+ cd "$(DESTDIR)$(man1dir)" && rm -f $$files; } -+install-man3: $(man_MANS) - @$(NORMAL_INSTALL) - test -z "$(man3dir)" || $(MKDIR_P) "$(DESTDIR)$(man3dir)" -- @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \ -- l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ -- for i in $$l2; do \ -- case "$$i" in \ -- *.3*) list="$$list $$i" ;; \ -- esac; \ -+ @list=''; test -n "$(man3dir)" || exit 0; \ -+ { for i in $$list; do echo "$$i"; done; \ -+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ -+ sed -n '/\.3[a-z]*$$/p'; \ -+ } | while read p; do \ -+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ -+ echo "$$d$$p"; echo "$$p"; \ -+ done | \ -+ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \ -+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ -+ sed 'N;N;s,\n, ,g' | { \ -+ list=; while read file base inst; do \ -+ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ -+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \ -+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \ -+ fi; \ - done; \ -- for i in $$list; do \ -- if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ -- else file=$$i; fi; \ -- ext=`echo $$i | sed -e 's/^.*\\.//'`; \ -- case "$$ext" in \ -- 3*) ;; \ -- *) ext='3' ;; \ -- esac; \ -- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ -- inst=`echo $$inst | sed -e 's/^.*\///'`; \ -- inst=`echo $$inst | sed '$(transform)'`.$$ext; \ -- echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \ -- $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst"; \ -- done -+ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ -+ while read files; do \ -+ test -z "$$files" || { \ -+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \ -+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \ -+ done; } -+ - uninstall-man3: - @$(NORMAL_UNINSTALL) -- @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \ -- l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ -- for i in $$l2; do \ -- case "$$i" in \ -- *.3*) list="$$list $$i" ;; \ -- esac; \ -- done; \ -- for i in $$list; do \ -- ext=`echo $$i | sed -e 's/^.*\\.//'`; \ -- case "$$ext" in \ -- 3*) ;; \ -- *) ext='3' ;; \ -- esac; \ -- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ -- inst=`echo $$inst | sed -e 's/^.*\///'`; \ -- inst=`echo $$inst | sed '$(transform)'`.$$ext; \ -- echo " rm -f '$(DESTDIR)$(man3dir)/$$inst'"; \ -- rm -f "$(DESTDIR)$(man3dir)/$$inst"; \ -- done --install-man5: $(man5_MANS) $(man_MANS) -+ @list=''; test -n "$(man3dir)" || exit 0; \ -+ files=`{ for i in $$list; do echo "$$i"; done; \ -+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ -+ sed -n '/\.3[a-z]*$$/p'; \ -+ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \ -+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ -+ test -z "$$files" || { \ -+ echo " ( cd '$(DESTDIR)$(man3dir)' && rm -f" $$files ")"; \ -+ cd "$(DESTDIR)$(man3dir)" && rm -f $$files; } -+install-man5: $(man_MANS) - @$(NORMAL_INSTALL) - test -z "$(man5dir)" || $(MKDIR_P) "$(DESTDIR)$(man5dir)" -- @list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \ -- l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ -- for i in $$l2; do \ -- case "$$i" in \ -- *.5*) list="$$list $$i" ;; \ -- esac; \ -+ @list=''; test -n "$(man5dir)" || exit 0; \ -+ { for i in $$list; do echo "$$i"; done; \ -+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ -+ sed -n '/\.5[a-z]*$$/p'; \ -+ } | while read p; do \ -+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ -+ echo "$$d$$p"; echo "$$p"; \ -+ done | \ -+ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \ -+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ -+ sed 'N;N;s,\n, ,g' | { \ -+ list=; while read file base inst; do \ -+ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ -+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \ -+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst" || exit $$?; \ -+ fi; \ - done; \ -- for i in $$list; do \ -- if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ -- else file=$$i; fi; \ -- ext=`echo $$i | sed -e 's/^.*\\.//'`; \ -- case "$$ext" in \ -- 5*) ;; \ -- *) ext='5' ;; \ -- esac; \ -- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ -- inst=`echo $$inst | sed -e 's/^.*\///'`; \ -- inst=`echo $$inst | sed '$(transform)'`.$$ext; \ -- echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \ -- $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst"; \ -- done -+ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ -+ while read files; do \ -+ test -z "$$files" || { \ -+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man5dir)'"; \ -+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man5dir)" || exit $$?; }; \ -+ done; } -+ - uninstall-man5: - @$(NORMAL_UNINSTALL) -- @list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \ -- l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ -- for i in $$l2; do \ -- case "$$i" in \ -- *.5*) list="$$list $$i" ;; \ -- esac; \ -- done; \ -- for i in $$list; do \ -- ext=`echo $$i | sed -e 's/^.*\\.//'`; \ -- case "$$ext" in \ -- 5*) ;; \ -- *) ext='5' ;; \ -- esac; \ -- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ -- inst=`echo $$inst | sed -e 's/^.*\///'`; \ -- inst=`echo $$inst | sed '$(transform)'`.$$ext; \ -- echo " rm -f '$(DESTDIR)$(man5dir)/$$inst'"; \ -- rm -f "$(DESTDIR)$(man5dir)/$$inst"; \ -- done --install-man8: $(man8_MANS) $(man_MANS) -+ @list=''; test -n "$(man5dir)" || exit 0; \ -+ files=`{ for i in $$list; do echo "$$i"; done; \ -+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ -+ sed -n '/\.5[a-z]*$$/p'; \ -+ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \ -+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ -+ test -z "$$files" || { \ -+ echo " ( cd '$(DESTDIR)$(man5dir)' && rm -f" $$files ")"; \ -+ cd "$(DESTDIR)$(man5dir)" && rm -f $$files; } -+install-man8: $(man_MANS) - @$(NORMAL_INSTALL) - test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)" -- @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \ -- l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ -- for i in $$l2; do \ -- case "$$i" in \ -- *.8*) list="$$list $$i" ;; \ -- esac; \ -+ @list=''; test -n "$(man8dir)" || exit 0; \ -+ { for i in $$list; do echo "$$i"; done; \ -+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ -+ sed -n '/\.8[a-z]*$$/p'; \ -+ } | while read p; do \ -+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ -+ echo "$$d$$p"; echo "$$p"; \ -+ done | \ -+ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \ -+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ -+ sed 'N;N;s,\n, ,g' | { \ -+ list=; while read file base inst; do \ -+ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ -+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \ -+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \ -+ fi; \ - done; \ -- for i in $$list; do \ -- if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ -- else file=$$i; fi; \ -- ext=`echo $$i | sed -e 's/^.*\\.//'`; \ -- case "$$ext" in \ -- 8*) ;; \ -- *) ext='8' ;; \ -- esac; \ -- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ -- inst=`echo $$inst | sed -e 's/^.*\///'`; \ -- inst=`echo $$inst | sed '$(transform)'`.$$ext; \ -- echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \ -- $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \ -- done -+ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ -+ while read files; do \ -+ test -z "$$files" || { \ -+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \ -+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \ -+ done; } -+ - uninstall-man8: - @$(NORMAL_UNINSTALL) -- @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \ -- l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ -- for i in $$l2; do \ -- case "$$i" in \ -- *.8*) list="$$list $$i" ;; \ -- esac; \ -- done; \ -- for i in $$list; do \ -- ext=`echo $$i | sed -e 's/^.*\\.//'`; \ -- case "$$ext" in \ -- 8*) ;; \ -- *) ext='8' ;; \ -- esac; \ -- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ -- inst=`echo $$inst | sed -e 's/^.*\///'`; \ -- inst=`echo $$inst | sed '$(transform)'`.$$ext; \ -- echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \ -- rm -f "$(DESTDIR)$(man8dir)/$$inst"; \ -- done -+ @list=''; test -n "$(man8dir)" || exit 0; \ -+ files=`{ for i in $$list; do echo "$$i"; done; \ -+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ -+ sed -n '/\.8[a-z]*$$/p'; \ -+ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \ -+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ -+ test -z "$$files" || { \ -+ echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \ -+ cd "$(DESTDIR)$(man8dir)" && rm -f $$files; } - install-pkgconfigDATA: $(pkgconfig_DATA) - @$(NORMAL_INSTALL) - test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" -- @list='$(pkgconfig_DATA)'; for p in $$list; do \ -+ @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ -+ for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ -- f=$(am__strip_dir) \ -- echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ -- $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ -+ echo "$$d$$p"; \ -+ done | $(am__base_list) | \ -+ while read files; do \ -+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ -+ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ - done - - uninstall-pkgconfigDATA: - @$(NORMAL_UNINSTALL) -- @list='$(pkgconfig_DATA)'; for p in $$list; do \ -- f=$(am__strip_dir) \ -- echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ -- rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \ -- done -+ @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ -+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ -+ test -n "$$files" || exit 0; \ -+ echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \ -+ cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files - install-includeHEADERS: $(include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" -- @list='$(include_HEADERS)'; for p in $$list; do \ -+ @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ -+ for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ -- f=$(am__strip_dir) \ -- echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \ -- $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \ -+ echo "$$d$$p"; \ -+ done | $(am__base_list) | \ -+ while read files; do \ -+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \ -+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \ - done - - uninstall-includeHEADERS: - @$(NORMAL_UNINSTALL) -- @list='$(include_HEADERS)'; for p in $$list; do \ -- f=$(am__strip_dir) \ -- echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \ -- rm -f "$(DESTDIR)$(includedir)/$$f"; \ -- done -+ @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ -+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ -+ test -n "$$files" || exit 0; \ -+ echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \ -+ cd "$(DESTDIR)$(includedir)" && rm -f $$files - install-nodist_includeHEADERS: $(nodist_include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" -- @list='$(nodist_include_HEADERS)'; for p in $$list; do \ -+ @list='$(nodist_include_HEADERS)'; test -n "$(includedir)" || list=; \ -+ for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ -- f=$(am__strip_dir) \ -- echo " $(nodist_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \ -- $(nodist_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \ -+ echo "$$d$$p"; \ -+ done | $(am__base_list) | \ -+ while read files; do \ -+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \ -+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \ - done - - uninstall-nodist_includeHEADERS: - @$(NORMAL_UNINSTALL) -- @list='$(nodist_include_HEADERS)'; for p in $$list; do \ -- f=$(am__strip_dir) \ -- echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \ -- rm -f "$(DESTDIR)$(includedir)/$$f"; \ -- done -+ @list='$(nodist_include_HEADERS)'; test -n "$(includedir)" || list=; \ -+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ -+ test -n "$$files" || exit 0; \ -+ echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \ -+ cd "$(DESTDIR)$(includedir)" && rm -f $$files - - ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ -- $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ -+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique - tags: TAGS - - TAGS: $(HEADERS) $(SOURCES) gpsd_config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) -- tags=; \ -+ set x; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) gpsd_config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ -@@ -1319,36 +1244,54 @@ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ -- if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ -+ shift; \ -+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ -- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ -- $$tags $$unique; \ -+ if test $$# -gt 0; then \ -+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ -+ "$$@" $$unique; \ -+ else \ -+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ -+ $$unique; \ -+ fi; \ - fi - ctags: CTAGS - CTAGS: $(HEADERS) $(SOURCES) gpsd_config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) -- tags=; \ - list='$(SOURCES) $(HEADERS) gpsd_config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ -- test -z "$(CTAGS_ARGS)$$tags$$unique" \ -+ test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ -- $$tags $$unique -+ $$unique - - GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ -- && cd $(top_srcdir) \ -- && gtags -i $(GTAGS_ARGS) $$here -+ && $(am__cd) $(top_srcdir) \ -+ && gtags -i $(GTAGS_ARGS) "$$here" - - distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - - distdir: $(DISTFILES) -+ @list='$(MANS)'; if test -n "$$list"; then \ -+ list=`for p in $$list; do \ -+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ -+ if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ -+ if test -n "$$list" && \ -+ grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ -+ echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ -+ grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ -+ echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ -+ echo " typically \`make maintainer-clean' will remove them" >&2; \ -+ exit 1; \ -+ else :; fi; \ -+ else :; fi - $(am__remove_distdir) -- test -d $(distdir) || mkdir $(distdir) -+ test -d "$(distdir)" || mkdir "$(distdir)" - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ -@@ -1364,21 +1307,27 @@ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ -+ if test -d "$(distdir)/$$file"; then \ -+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ -+ fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ -- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ -+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ -+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ -- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ -+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ -- test -f $(distdir)/$$file \ -- || cp -p $$d/$$file $(distdir)/$$file \ -+ test -f "$(distdir)/$$file" \ -+ || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -- -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ -+ -test -n "$(am__skip_mode_fix)" \ -+ || find "$(distdir)" -type d ! -perm -755 \ -+ -exec chmod u+rwx,go+rx {} \; -o \ - ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ -- || chmod -R a+r $(distdir) -+ || chmod -R a+r "$(distdir)" - dist-gzip: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) -@@ -1391,6 +1340,10 @@ - tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma - $(am__remove_distdir) - -+dist-xz: distdir -+ tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz -+ $(am__remove_distdir) -+ - dist-tarZ: distdir - tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z - $(am__remove_distdir) -@@ -1414,15 +1367,17 @@ - distcheck: dist - case '$(DIST_ARCHIVES)' in \ - *.tar.gz*) \ -- GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ -+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ - *.tar.bz2*) \ -- bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ -+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ - *.tar.lzma*) \ -- unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ -+ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ -+ *.tar.xz*) \ -+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ - *.tar.Z*) \ - uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ - *.shar.gz*) \ -- GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ -+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ - *.zip*) \ - unzip $(distdir).zip ;;\ - esac -@@ -1430,9 +1385,11 @@ - mkdir $(distdir)/_build - mkdir $(distdir)/_inst - chmod a-w $(distdir) -+ test -d $(distdir)/_build || exit 0; \ - dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ - && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ -- && cd $(distdir)/_build \ -+ && am__cwd=`pwd` \ -+ && $(am__cd) $(distdir)/_build \ - && ../configure --srcdir=.. --prefix="$$dc_install_base" \ - $(DISTCHECK_CONFIGURE_FLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) \ -@@ -1454,13 +1411,15 @@ - && rm -rf "$$dc_destdir" \ - && $(MAKE) $(AM_MAKEFLAGS) dist \ - && rm -rf $(DIST_ARCHIVES) \ -- && $(MAKE) $(AM_MAKEFLAGS) distcleancheck -+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ -+ && cd "$$am__cwd" \ -+ || exit 1 - $(am__remove_distdir) - @(echo "$(distdir) archives ready for distribution: "; \ - list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ - sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' - distuninstallcheck: -- @cd $(distuninstallcheck_dir) \ -+ @$(am__cd) '$(distuninstallcheck_dir)' \ - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ - || { echo "ERROR: files left after uninstall:" ; \ - if test -n "$(DESTDIR)"; then \ -@@ -1481,12 +1440,12 @@ - $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) - check: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) check-am --all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \ -- $(HEADERS) gpsd_config.h -+all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(DATA) $(HEADERS) \ -+ gpsd_config.h - install-binPROGRAMS: install-libLTLIBRARIES - - installdirs: -- for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pythondir)" "$(DESTDIR)$(pythondir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includedir)"; do \ -+ for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done - install: $(BUILT_SOURCES) -@@ -1511,6 +1470,7 @@ - - distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - - maintainer-clean-generic: - @echo "This command is intended for maintainers to use" -@@ -1519,8 +1479,8 @@ - clean: clean-am - - clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ -- clean-libLTLIBRARIES clean-libtool clean-local \ -- clean-sbinPROGRAMS mostlyclean-am -+ clean-libLTLIBRARIES clean-libtool clean-sbinPROGRAMS \ -+ mostlyclean-am - - distclean: distclean-am - -rm -f $(am__CONFIG_DISTCLEAN_FILES) -@@ -1535,29 +1495,40 @@ - - html: html-am - -+html-am: -+ - info: info-am - - info-am: - - install-data-am: install-includeHEADERS install-man \ -- install-nodist_includeHEADERS install-nodist_pythonPYTHON \ -- install-pkgconfigDATA install-pythonPYTHON -+ install-nodist_includeHEADERS install-pkgconfigDATA - - install-dvi: install-dvi-am - --install-exec-am: install-binPROGRAMS install-dist_binSCRIPTS \ -- install-libLTLIBRARIES install-sbinPROGRAMS -+install-dvi-am: -+ -+install-exec-am: install-binPROGRAMS install-libLTLIBRARIES \ -+ install-sbinPROGRAMS - - install-html: install-html-am - -+install-html-am: -+ - install-info: install-info-am - -+install-info-am: -+ - install-man: install-man1 install-man3 install-man5 install-man8 - - install-pdf: install-pdf-am - -+install-pdf-am: -+ - install-ps: install-ps-am - -+install-ps-am: -+ - installcheck-am: - - maintainer-clean: maintainer-clean-am -@@ -1580,44 +1551,40 @@ - - ps-am: - --uninstall-am: uninstall-binPROGRAMS uninstall-dist_binSCRIPTS \ -- uninstall-includeHEADERS uninstall-libLTLIBRARIES \ -- uninstall-man uninstall-nodist_includeHEADERS \ -- uninstall-nodist_pythonPYTHON uninstall-pkgconfigDATA \ -- uninstall-pythonPYTHON uninstall-sbinPROGRAMS -+uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \ -+ uninstall-libLTLIBRARIES uninstall-man \ -+ uninstall-nodist_includeHEADERS uninstall-pkgconfigDATA \ -+ uninstall-sbinPROGRAMS - - uninstall-man: uninstall-man1 uninstall-man3 uninstall-man5 \ - uninstall-man8 - --.MAKE: install-am install-strip -+.MAKE: all check check-am install install-am install-strip - - .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ - clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ -- clean-libLTLIBRARIES clean-libtool clean-local \ -- clean-sbinPROGRAMS ctags dist dist-all dist-bzip2 dist-gzip \ -- dist-lzma dist-shar dist-tarZ dist-zip distcheck distclean \ -+ clean-libLTLIBRARIES clean-libtool clean-sbinPROGRAMS ctags \ -+ dist dist-all dist-bzip2 dist-gzip dist-lzma dist-shar \ -+ dist-tarZ dist-xz dist-zip distcheck distclean \ - distclean-compile distclean-generic distclean-hdr \ - distclean-libtool distclean-tags distcleancheck distdir \ - distuninstallcheck dvi dvi-am html html-am info info-am \ - install install-am install-binPROGRAMS install-data \ -- install-data-am install-dist_binSCRIPTS install-dvi \ -- install-dvi-am install-exec install-exec-am install-html \ -- install-html-am install-includeHEADERS install-info \ -- install-info-am install-libLTLIBRARIES install-man \ -- install-man1 install-man3 install-man5 install-man8 \ -- install-nodist_includeHEADERS install-nodist_pythonPYTHON \ -+ install-data-am install-dvi install-dvi-am install-exec \ -+ install-exec-am install-html install-html-am \ -+ install-includeHEADERS install-info install-info-am \ -+ install-libLTLIBRARIES install-man install-man1 install-man3 \ -+ install-man5 install-man8 install-nodist_includeHEADERS \ - install-pdf install-pdf-am install-pkgconfigDATA install-ps \ -- install-ps-am install-pythonPYTHON install-sbinPROGRAMS \ -- install-strip installcheck installcheck-am installdirs \ -- maintainer-clean maintainer-clean-generic mostlyclean \ -- mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ -- pdf pdf-am ps ps-am tags uninstall uninstall-am \ -- uninstall-binPROGRAMS uninstall-dist_binSCRIPTS \ -+ install-ps-am install-sbinPROGRAMS install-strip installcheck \ -+ installcheck-am installdirs maintainer-clean \ -+ maintainer-clean-generic mostlyclean mostlyclean-compile \ -+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ -+ tags uninstall uninstall-am uninstall-binPROGRAMS \ - uninstall-includeHEADERS uninstall-libLTLIBRARIES \ - uninstall-man uninstall-man1 uninstall-man3 uninstall-man5 \ - uninstall-man8 uninstall-nodist_includeHEADERS \ -- uninstall-nodist_pythonPYTHON uninstall-pkgconfigDATA \ -- uninstall-pythonPYTHON uninstall-sbinPROGRAMS -+ uninstall-pkgconfigDATA uninstall-sbinPROGRAMS - - - packet_names.h: packet_states.h -@@ -1629,12 +1596,6 @@ - grep ENABLE gpsd_config.h >>gpsd.h - cat $(srcdir)/gpsd.h-tail >>gpsd.h - --@HAVE_PYTHON_TRUE@gpspacket.so gpslib.so: gpspacket.c gpslib.c libgps.la --@HAVE_PYTHON_TRUE@ (pwd="`pwd`"; cd $(srcdir) && $(PYTHON) setup.py build_ext --build-lib "$$pwd" --build-temp "$$pwd/build" --include-dirs "$$pwd") --# Clean up after Python --clean-local: -- rm -rf build -- - @HAVE_XSLT_PROCESSOR_TRUE@.xml.1: - @HAVE_XSLT_PROCESSOR_TRUE@ $(MANGENERATOR) $(MANFLAGS) $(MANTARGET) $< - -@@ -1881,6 +1842,7 @@ - # Ship a release, providing all regression tests pass. - # - ship: testregress dist upload-ftp svn-tag -+ - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. - .NOEXPORT: -diff -Nur gpsd-2.39.orig/rtcm-104.5 gpsd-2.39/rtcm-104.5 ---- gpsd-2.39.orig/rtcm-104.5 2009-03-15 04:50:38.000000000 +0100 -+++ gpsd-2.39/rtcm-104.5 1970-01-01 01:00:00.000000000 +0100 -@@ -1,356 +0,0 @@ --.\" Title: rtcm-104 --.\" Author: --.\" Generator: DocBook XSL Stylesheets v1.73.2 --.\" Date: 03/14/2009 --.\" Manual: 12 Jul 2005 --.\" Source: 12 Jul 2005 --.\" --.TH "RTCM\-104" "5" "03/14/2009" "12 Jul 2005" "12 Jul 2005" --.\" disable hyphenation --.nh --.\" disable justification (adjust text to left margin only) --.ad l --.SH "NAME" --rtcm-104 \- RTCM-104 dump format emitted by GPSD tools --.SH "OVERVIEW" --.PP --RTCM\-104 is a family of serial protocols used for broadcasting pseudorange corrections from differential\-GPS reference stations\&. This manual page describes some aspects of the RTCM protocol, mainly in order to explain the RTCM\-104 dump format emitted by --\fBgpsdecode\fR(1)\&. It describes that dump format completely\&. --.PP --RTCM\-104 comes in two major and incompatible flavors, 2\&.x and 3\&.x\&. Each major flavor has minor (compatible) revisions\&. --.PP --The applicable standard for RTCM Version 2\&.x is --RTCM Recommended Standards for Differential NAVSTAR GPS Service --RTCM Paper 194\-93/SC 104\-STD\&. For RTCM 3\&.1 it is --RTCM Paper 177\-2006\-SC104\-STD\&. Ordering instructions for both standards are accessible from the website of the --\fIRadio Technical Commission for Maritime Services\fR\&[1] --under "Publications"\&. --.SH "RTCM WIRE TRANSMISSIONS" --.PP --Differential\-GPS correction stations consist of a GPS reference receiver coupled to a low frequency (LF) transmitter\&. The GPS reference receiver is a survey\-grade GPS that does GPS carrier tracking and can work out its own position to a few millimeters\&. It generates range and range\-rate corrections and encodes them into RTCM104\&. It ships the RTCM104 to the LF transmitter over serial rs\-232 signal at 100 baud or 200 baud depending on the requirements of the transmitter\&. --.PP --The LF transmitter broadcasts the the approximately 300khz radio signal that differential\-GPS radio receivers pick up\&. Transmitters that are meant to have a higher range will need to transmit at the slower rate\&. The higher the data rate the harder it will be for the remote radio receiver to receive with a good signal\-to\-noise ration\&. (Higher data rate signals can\'t be averaged over as long a time frame, hence they appear noisier\&.) --.SH "RTCM WIRE FORMATS" --.PP --An RTCM 2\&.x message consists of a sequence of up to 33 30\-bit words\&. The 24 most significant bits of each word are data and the six least significant bits are parity\&. The parity algorithm used is the same ISGPS\-2000 as that used on GPS satellite downlinks\&. Each RTCM 2\&.x message consists of two header words followed by zero or more data words, depending upon message type\&. --.PP --An RTCM 3\&.x message begins with a fixed leader byte 0xD3\&. That is followed by six bits of version information and 10 bits of payload length information\&. Following that is the payload; following the payload is a 3\-byte checksum of the payload using the Qualcomm CRC\-24Q algorithm\&. --.SH "RTCM2 DUMP FORMAT" --.PP --For each message, the header is listed first, followed by zero or more lines containing the specific data for that message, followed by a trailing sentinel line containing a single dot\&. The general format is a line beginning with a capital letter, followed by a tab, followed by the fields of the message separated by tabs, terminated by a newline\&. --.SS "Header message (H)" --.sp --.RS 4 --.nf --H -- [T ] --.fi --.RE --.PP --Here is an example: --.sp --.RS 4 --.nf --H 9 268 249\&.6 1 5 0 --S 13 0 3 249\&.6 \-26\&.120 0\&.068 --S 2 0 73 249\&.6 1\&.220 \-0\&.080 --S 8 0 22 249\&.6 23\&.760 0\&.030 --\&. --.fi --.RE --.PP -- is one of --.PP --1 --.RS 4 --full corrections \- one message containing corrections for all satellites in view\&. This is not common\&. --.RE --.PP --3 --.RS 4 --reference station parameters \- the position of the reference station GPS antenna\&. --.RE --.PP --4 --.RS 4 --datum \(em the datum to which the DGPS data is referred\&. --.RE --.PP --5 --.RS 4 --constellation health \(em information about the satellites the beacon can see --.RE --.PP --6 --.RS 4 --null message \(em just a filler\&. --.RE --.PP --7 --.RS 4 --radio beacon almanac \(em information about this or other beacons\&. --.RE --.PP --9 --.RS 4 --subset corrections \(em a message containing corrections for only a subset of the satellites in view\&. --.RE --.PP --16 --.RS 4 --special message \(em a text message from the beacon operator\&. --.RE --.PP -- is the id of the GPS reference receiver\&. The LF transmitters also have (different) id numbers\&. --.PP -- is the reference time of the corrections in the message in seconds within the current hour\&. Note that it is in GPS time, which is some seconds ahead of UTC (see the U\&.S\&. Naval Observatory\'s --\fItable of leap second corrections\fR\&[2])\&. --.PP -- is a number which increments, modulo 8, for each message transmitted\&. --.PP -- is the number of words after the header that comprise the message\&. --.PP -- indicates the health of the beacon as a reference source\&. Any nonzero value means the satellite is probably transmitting bad data and should not be used in a fix\&. 6 means the transmission is unmonitored\&. 7 means the station is not working properly\&. Other values are defined by the beacon operator\&. --.PP --If the message contains a parity error after the header but before the end of the message, then the extra fields [T ] are appended to indicate a truncated message\&. --.PP --Here is an example: --.sp --.RS 4 --.nf --H 9 687 331\&.8 1 5 0 T 4 --.fi --.RE --.PP -- indicates the number of useful words before the parity error\&. Depending on the message type, useful information may still be extracted\&. --.SS "Correction data (S)" --.PP --One or more of these follow the header for type 1 or type 9 messages\&. Here is the format: --.sp --.RS 4 --.nf --S -- --.fi --.RE --.PP --Here is an example: --.sp --.RS 4 --.nf --S 7 0 199 331\&.8 \-12\&.160 0\&.288 --.fi --.RE --.PP -- is the PRN number of the satellite for which this is correction data\&. --.PP -- is User Differential Range Error with the following values: --.sp --.RS 4 --.nf --0 1\-sigma error <= 1m --1 1\-sigma error <= 4m --2 1\-sigma error <= 8m --3 1\-sigma error > 8m --.fi --.RE --.PP -- is Issue Of Data, matching the IOD for the current ephemeris of this satellite, as transmitted by the satellite\&. The IOD is a unique tag that identifies the ephemeris; the GPS using the DGPS correction and the DGPS generating the data must use the same orbital positions for the satellite\&. --.PP -- is just a copy of the same field from the header\&. --.PP -- is the pseudorange error in meters for this satellite as measured by the beacon reference receiver at the epoch indicated by --.PP -- is the rate of change of pseudorange error in meters/sec for this satellite as measured by the beacon reference receiver at the epoch indicated by \&. This is used to calculate pseudorange errors at other epochs, if required by the GPS receiver\&. --.SS "Reference Station Parameters (R)" --.PP --Here is the format: --.sp --.RS 4 --.nf --R --.fi --.RE --.PP --Here is an example: --.sp --.RS 4 --.nf --R 3746729\&.40 \-5086\&.23 5144450\&.67 --.fi --.RE --.PP --The coordinates are the position of the station, in meters to two decimal places, in Earth Centred Earth Fixed coordinates\&. These are usually referred to the WGS84 reference frame, but may be referred to NAD83 in the US (essentially identical to WGS84 for all except geodesists), or to some other reference frame in other parts of the world\&. --.SS "Datum (D)" --.PP --Here is the format: --.sp --.RS 4 --.nf --D [ ] --.fi --.RE --.PP --Here is an (artificial) example: --.sp --.RS 4 --.nf --D GPS 0 ABC12 25\&.8 30\&.5 33\&.0 --.fi --.RE --.PP -- is either GPS or GLONASS\&. --.PP -- is 0 or 1 and indicates the sense of the offset shift given by dx, dy, dz\&. dat = 0 means that the station coordinates (in the reference message) are referred to a local datum and that adding dx, dy, dz to that position will render it in GNSS coordinates (WGS84 for GPS)\&. If dat = 1 then the ref station position is in GNSS coordinates and adding dx, dy, dz will give it referred to the local datum\&. --.PP -- is a standard name for the datum\&. --.PP -- are offsets to convert from local datum to GNSS datum or vice versa\&. These fields are optional\&. --.SS "Constellation Health (C)" --.PP --One or more of these follow the header for type 5 messages \(em one for each satellite\&. --.PP --Here is the format: --.sp --.RS 4 --.nf --C --