• R/O
  • SSH
  • HTTPS

qrobosdk: コミット


コミットメタ情報

リビジョン1933 (tree)
日時2010-10-05 23:09:41
作者satofumi

ログメッセージ

URG cpp パッケージを追加

変更サマリ

差分

--- branches/tsukuba_2010/libs/lidar/samples/get_multiecho_intensity.cpp (revision 1932)
+++ branches/tsukuba_2010/libs/lidar/samples/get_multiecho_intensity.cpp (revision 1933)
@@ -1,7 +1,98 @@
1+/*!
2+ \example get_multiecho_intensity.c 距離・強度データ(マルチエコー)を取得する
3+
4+ \author Satofumi KAMIMURA
5+
6+ $Id$
7+*/
8+
9+#include "Urg_driver.h"
10+#include "Connection_information.h"
11+#include <iostream>
12+
13+using namespace qrk;
14+using namespace std;
15+
16+
17+// 距離、強度のデータを表示する
18+namespace
19+{
20+ void print_echo_data(const vector<long>& data,
21+ const vector<unsigned short> intensity,
22+ int index, int max_echo_size)
23+ {
24+ // [mm]
25+ for (int i = 0; i < max_echo_size; ++i) {
26+ cout << data[(max_echo_size * index) + i] << ", ";
27+ }
28+
29+ // [1]
30+ for (int i = 0; i < max_echo_size; ++i) {
31+ cout << intensity[(max_echo_size * index) + i] << ", ";
32+ }
33+ }
34+
35+
36+ void print_data(const Urg_driver& urg,
37+ const vector<long>& data,
38+ const vector<unsigned short>& intensity,
39+ long time_stamp)
40+ {
41+#if 1
42+ // 前方のデータのみを表示
43+ int front_index = urg.step2index(0);
44+ print_echo_data(data, intensity, front_index, urg.max_echo_size());
45+ cout << time_stamp << endl;
46+
47+#else
48+ static_cast<void>(urg);
49+
50+ // 全てのデータを表示
51+ size_t data_n = data.size();
52+ cout << "# n = " << data_n << ", timestamp = " << time_stamp << endl;
53+
54+ int max_echo_size = urg.max_echo_size();
55+ for (size_t i = 0; i < data_n; ++i) {
56+ print_echo_data(data, intensity, i, max_echo_size);
57+ cout << endl;
58+ }
59+ cout << endl;
60+#endif
61+ }
62+}
63+
64+
165 int main(int argc, char *argv[])
266 {
3- (void)argc;
4- (void)argv;
5- // !!!
67+ Connection_information information(argc, argv);
68+
69+ // 接続
70+ Urg_driver urg;
71+ if (!urg.open(information.device_or_ip_name(),
72+ information.baudrate_or_port_number(),
73+ information.connection_type())) {
74+ cout << "Urg_driver::open(): "
75+ << information.device_or_ip_name() << ": " << urg.what() << endl;
76+ return 1;
77+ }
78+
79+ // データ取得
80+ enum { Capture_times = 10 };
81+ urg.start_measurement(Urg_driver::Multiecho_intensity, Capture_times, 0);
82+ for (int i = 0; i < Capture_times; ++i) {
83+ vector<long> data;
84+ vector<unsigned short> intensity;
85+ long time_stamp = 0;
86+
87+ if (!urg.get_multiecho_intensity(data, intensity, &time_stamp)) {
88+ cout << "Urg_driver::get_distance(): " << urg.what() << endl;
89+ return 1;
90+ }
91+ print_data(urg, data, intensity, time_stamp);
92+ }
93+
94+#if defined(URG_MSC)
95+ getchar();
96+#endif
697 return 0;
798 }
--- branches/tsukuba_2010/libs/lidar/samples/get_distance_intensity.cpp (revision 1932)
+++ branches/tsukuba_2010/libs/lidar/samples/get_distance_intensity.cpp (revision 1933)
@@ -1,7 +1,78 @@
1+/*!
2+ \example get_distance_intensity.c 距離・強度データを取得する
3+
4+ \author Satofumi KAMIMURA
5+
6+ $Id$
7+*/
8+
9+#include "Urg_driver.h"
10+#include "Connection_information.h"
11+#include <iostream>
12+
13+using namespace qrk;
14+using namespace std;
15+
16+
17+namespace
18+{
19+ void print_data(const Urg_driver& urg,
20+ const vector<long>& data,
21+ const vector<unsigned short>& intensity,
22+ long time_stamp)
23+ {
24+#if 1
25+ // 前方のデータのみを表示
26+ int front_index = urg.step2index(0);
27+ cout << data[front_index] << " [mm], "
28+ << intensity[front_index] << " [1], ("
29+ << time_stamp << " [msec])" << endl;
30+
31+#else
32+ static_cast<void>(urg);
33+
34+ // 全てのデータを表示
35+ size_t data_n = data.size();
36+ cout << "# n = " << data_n << ", timestamp = " << time_stamp << endl;
37+ for (size_t i = 0; i < data_n; ++i) {
38+ cout << i << ", " << data[i] << ", " << intensity[i] << endl;
39+ }
40+#endif
41+ }
42+}
43+
44+
145 int main(int argc, char *argv[])
246 {
3- (void)argc;
4- (void)argv;
5- // !!!
47+ Connection_information information(argc, argv);
48+
49+ // 接続
50+ Urg_driver urg;
51+ if (!urg.open(information.device_or_ip_name(),
52+ information.baudrate_or_port_number(),
53+ information.connection_type())) {
54+ cout << "Urg_driver::open(): "
55+ << information.device_or_ip_name() << ": " << urg.what() << endl;
56+ return 1;
57+ }
58+
59+ // データ取得
60+ enum { Capture_times = 10 };
61+ urg.start_measurement(Urg_driver::Distance_intensity, Capture_times, 0);
62+ for (int i = 0; i < Capture_times; ++i) {
63+ vector<long> data;
64+ vector<unsigned short> intensity;
65+ long time_stamp = 0;
66+
67+ if (!urg.get_distance_intensity(data, intensity, &time_stamp)) {
68+ cout << "Urg_driver::get_distance(): " << urg.what() << endl;
69+ return 1;
70+ }
71+ print_data(urg, data, intensity, time_stamp);
72+ }
73+
74+#if defined(URG_MSC)
75+ getchar();
76+#endif
677 return 0;
778 }
--- branches/tsukuba_2010/libs/lidar/samples/get_multiecho.cpp (revision 1932)
+++ branches/tsukuba_2010/libs/lidar/samples/get_multiecho.cpp (revision 1933)
@@ -1,7 +1,88 @@
1+/*!
2+ \example get_multiecho.c 距離データ(マルチエコー)を取得する
3+
4+ \author Satofumi KAMIMURA
5+
6+ $Id$
7+*/
8+
9+#include "Urg_driver.h"
10+#include "Connection_information.h"
11+#include <iostream>
12+
13+using namespace qrk;
14+using namespace std;
15+
16+
17+namespace
18+{
19+ void print_echo_data(const vector<long>& data, int index,
20+ int max_echo_size)
21+ {
22+ // [mm]
23+ for (int i = 0; i < max_echo_size; ++i) {
24+ cout << data[(max_echo_size * index) + i] << ", ";
25+ }
26+ }
27+
28+
29+ void print_data(const Urg_driver& urg,
30+ const vector<long>& data, long time_stamp)
31+ {
32+#if 1
33+ // 前方のデータのみを表示
34+ int front_index = urg.step2index(0);
35+ print_echo_data(data, front_index, urg.max_echo_size());
36+ cout << time_stamp << endl;
37+
38+#else
39+ static_cast<void>(urg);
40+
41+ // 全てのデータを表示
42+ size_t data_n = data.size();
43+ cout << "# n = " << data_n << ", timestamp = " << time_stamp << endl;
44+
45+ int max_echo_size = urg.max_echo_size();
46+ for (size_t i = 0; i < data_n; ++i) {
47+ print_echo_data(data, i, max_echo_size);
48+ cout << endl;
49+ }
50+ cout << endl;
51+#endif
52+ }
53+}
54+
55+
156 int main(int argc, char *argv[])
257 {
3- (void)argc;
4- (void)argv;
5- // !!!
58+ Connection_information information(argc, argv);
59+
60+ // 接続
61+ Urg_driver urg;
62+ if (!urg.open(information.device_or_ip_name(),
63+ information.baudrate_or_port_number(),
64+ information.connection_type())) {
65+ cout << "Urg_driver::open(): "
66+ << information.device_or_ip_name() << ": " << urg.what() << endl;
67+ return 1;
68+ }
69+
70+ // データ取得
71+ enum { Capture_times = 1 };
72+ urg.start_measurement(Urg_driver::Multiecho, Capture_times, 0);
73+ for (int i = 0; i < Capture_times; ++i) {
74+ vector<long> data;
75+ long time_stamp = 0;
76+
77+ if (!urg.get_multiecho(data, &time_stamp)) {
78+ cout << "Urg_driver::get_distance(): " << urg.what() << endl;
79+ return 1;
80+ }
81+ print_data(urg, data, time_stamp);
82+ }
83+
84+#if defined(URG_MSC)
85+ getchar();
86+#endif
687 return 0;
788 }
--- branches/tsukuba_2010/libs/lidar/samples/get_distance.cpp (revision 1932)
+++ branches/tsukuba_2010/libs/lidar/samples/get_distance.cpp (revision 1933)
@@ -17,7 +17,8 @@
1717
1818 namespace
1919 {
20- void print_data(Urg_driver& urg, const vector<long>& data, long time_stamp)
20+ void print_data(const Urg_driver& urg,
21+ const vector<long>& data, long time_stamp)
2122 {
2223 #if 1
2324 // 前方のデータのみを表示
--- branches/tsukuba_2010/libs/lidar/samples/Makefile (revision 1932)
+++ branches/tsukuba_2010/libs/lidar/samples/Makefile (revision 1933)
@@ -37,4 +37,7 @@
3737 Connection_information.o: Connection_information.h
3838 calculate_xy.o: Connection_information.h
3939 get_distance.o: Connection_information.h
40+get_distance_intensity.o: Connection_information.h
41+get_multiecho.o: Connection_information.h
42+get_multiecho_intensity.o: Connection_information.h
4043 sensor_parameter.o: Connection_information.h
--- branches/tsukuba_2010/libs/lidar/Urg_driver.cpp (revision 1932)
+++ branches/tsukuba_2010/libs/lidar/Urg_driver.cpp (revision 1933)
@@ -132,14 +132,70 @@
132132 return false;
133133 }
134134
135- (void)data;
136- (void)intensity;
137- (void)time_stamp;
138- // !!!
139- return false;
135+ // 最大サイズを確保し、そこにデータを格納する
136+ size_t data_size = max_data_size();
137+ data.resize(data_size);
138+ intensity.resize(data_size);
139+ int ret = urg_get_distance_intensity(&pimpl->urg_,
140+ &data[0], &intensity[0], time_stamp);
141+ if (ret > 0) {
142+ data.resize(ret);
143+ intensity.resize(ret);
144+ }
145+
146+ return (ret < 0) ? false : true;
140147 }
141148
142149
150+bool Urg_driver::get_multiecho(std::vector<long>& data_multiecho,
151+ long* time_stamp)
152+{
153+ if (pimpl->last_measure_type_ != Distance_intensity) {
154+ pimpl->urg_.last_errno = URG_MEASUREMENT_TYPE_MISMATCH;
155+ return false;
156+ }
157+
158+ // 最大サイズを確保し、そこにデータを格納する
159+ size_t echo_size = max_echo_size();
160+ size_t data_size = max_data_size() * echo_size;
161+ data_multiecho.resize(data_size);
162+ int ret = urg_get_multiecho(&pimpl->urg_, &data_multiecho[0], time_stamp);
163+ if (ret > 0) {
164+ data_multiecho.resize(ret * echo_size);
165+ }
166+
167+ return (ret < 0) ? false : true;
168+}
169+
170+
171+bool Urg_driver::get_multiecho_intensity(std::vector<long>& data_multiecho,
172+ std::vector<unsigned short>&
173+ intensity_multiecho,
174+ long* time_stamp)
175+{
176+ if (pimpl->last_measure_type_ != Distance_intensity) {
177+ pimpl->urg_.last_errno = URG_MEASUREMENT_TYPE_MISMATCH;
178+ return false;
179+ }
180+
181+ // 最大サイズを確保し、そこにデータを格納する
182+ size_t echo_size = max_echo_size();
183+ size_t data_size = max_data_size() * echo_size;
184+ data_multiecho.resize(data_size);
185+ intensity_multiecho.resize(data_size);
186+ int ret = urg_get_multiecho_intensity(&pimpl->urg_,
187+ &data_multiecho[0],
188+ &intensity_multiecho[0],
189+ time_stamp);
190+ if (ret > 0) {
191+ data_multiecho.resize(ret * echo_size);
192+ intensity_multiecho.resize(ret * echo_size);
193+ }
194+
195+ return (ret < 0) ? false : true;
196+}
197+
198+
143199 bool Urg_driver::set_scanning_parameter(int first_step, int last_step,
144200 int skip_step)
145201 {
@@ -155,9 +211,9 @@
155211 }
156212
157213
158-bool Urg_driver::set_sensor_timestamp(long timestamp)
214+bool Urg_driver::set_sensor_time_stamp(long time_stamp)
159215 {
160- (void)timestamp;
216+ (void)time_stamp;
161217 // !!!
162218
163219 return false;
@@ -274,6 +330,12 @@
274330 }
275331
276332
333+int Urg_driver::max_echo_size(void) const
334+{
335+ return URG_MAX_ECHO;
336+}
337+
338+
277339 const char* Urg_driver::version(void) const
278340 {
279341 return urg_sensor_version(&pimpl->urg_);
@@ -290,3 +352,24 @@
290352 {
291353 return urg_sensor_status(&pimpl->urg_);
292354 }
355+
356+
357+bool Urg_driver::raw_write(const char* data, size_t data_size)
358+{
359+ int ret = urg_raw_write(&pimpl->urg_, data, data_size);
360+ return (ret < 0) ? false : true;
361+}
362+
363+
364+bool Urg_driver::raw_read(char* data, size_t max_data_size, int timeout)
365+{
366+ int ret = urg_raw_read(&pimpl->urg_, data, max_data_size, timeout);
367+ return (ret < 0) ? false : true;
368+}
369+
370+
371+bool Urg_driver::raw_readline(char* data, size_t max_data_size, int timeout)
372+{
373+ int ret = urg_raw_readline(&pimpl->urg_, data, max_data_size, timeout);
374+ return (ret < 0) ? false : true;
375+}
--- branches/tsukuba_2010/libs/lidar/Urg_driver.h (revision 1932)
+++ branches/tsukuba_2010/libs/lidar/Urg_driver.h (revision 1933)
@@ -57,16 +57,18 @@
5757
5858
5959 // !!! 受信データの受け取り
60- bool get_distance(std::vector<long>& data, long* time_stamp = NULL);
60+ bool get_distance(std::vector<long>& data, long *time_stamp = NULL);
6161 bool get_distance_intensity(std::vector<long>& data,
6262 std::vector<unsigned short>& intensity,
63- long* time_stamp = NULL);
63+ long *time_stamp = NULL);
6464
65- //extern int urg_get_multiecho(urg_t *urg, long data_multi[], long *time_stamp);
65+ bool get_multiecho(std::vector<long>& data_multi,
66+ long* time_stamp = NULL);
6667
67- //extern int urg_get_multiecho_intensity(urg_t *urg, long data_multi[],
68- //unsigned short intensity_multi[],
69- //long *time_stamp);
68+ bool get_multiecho_intensity(std::vector<long>& data_multiecho,
69+ std::vector<unsigned short>&
70+ intensity_multiecho,
71+ long* time_stamp = NULL);
7072
7173
7274 bool set_scanning_parameter(int first_step, int last_step,
@@ -78,7 +80,7 @@
7880
7981
8082 // !!! タイムスタンプの同期
81- bool set_sensor_timestamp(long timestamp);
83+ bool set_sensor_time_stamp(long time_stamp);
8284
8385 // !!! 角度変換
8486 double index2rad(int index) const;
@@ -97,11 +99,16 @@
9799 long max_distance(void) const;
98100 long scan_usec(void) const;
99101 int max_data_size(void) const;
102+ int max_echo_size(void) const;
100103
101104 const char* version(void) const;
102105 const char* serial_id(void) const;
103106 const char* status(void) const;
104107
108+ bool raw_write(const char* data, size_t data_size);
109+ bool raw_read(char* data, size_t max_data_size, int timeout);
110+ bool raw_readline(char* data, size_t max_data_size, int timeout);
111+
105112 private:
106113 Urg_driver(const Urg_driver& rhs);
107114 Urg_driver& operator = (const Urg_driver& rhs);
--- branches/tsukuba_2010/packages/urg_cpp_library/sample/get_multiecho_intensity.cpp (nonexistent)
+++ branches/tsukuba_2010/packages/urg_cpp_library/sample/get_multiecho_intensity.cpp (revision 1933)
@@ -0,0 +1 @@
1+link ../../../libs/lidar/samples/get_multiecho_intensity.cpp
\ No newline at end of file
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
--- branches/tsukuba_2010/packages/urg_cpp_library/sample/sync_time_stamp.cpp (nonexistent)
+++ branches/tsukuba_2010/packages/urg_cpp_library/sample/sync_time_stamp.cpp (revision 1933)
@@ -0,0 +1 @@
1+link ../../../libs/lidar/samples/sync_time_stamp.cpp
\ No newline at end of file
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
--- branches/tsukuba_2010/packages/urg_cpp_library/sample/get_distance_intensity.cpp (nonexistent)
+++ branches/tsukuba_2010/packages/urg_cpp_library/sample/get_distance_intensity.cpp (revision 1933)
@@ -0,0 +1 @@
1+link ../../../libs/lidar/samples/get_distance_intensity.cpp
\ No newline at end of file
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
--- branches/tsukuba_2010/packages/urg_cpp_library/sample/Makefile.in (nonexistent)
+++ branches/tsukuba_2010/packages/urg_cpp_library/sample/Makefile.in (revision 1933)
@@ -0,0 +1,476 @@
1+# Makefile.in generated by automake 1.10 from Makefile.am.
2+# @configure_input@
3+
4+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5+# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6+# This Makefile.in is free software; the Free Software Foundation
7+# gives unlimited permission to copy and/or distribute it,
8+# with or without modifications, as long as this notice is preserved.
9+
10+# This program is distributed in the hope that it will be useful,
11+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13+# PARTICULAR PURPOSE.
14+
15+@SET_MAKE@
16+
17+VPATH = @srcdir@
18+pkgdatadir = $(datadir)/@PACKAGE@
19+pkglibdir = $(libdir)/@PACKAGE@
20+pkgincludedir = $(includedir)/@PACKAGE@
21+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
22+install_sh_DATA = $(install_sh) -c -m 644
23+install_sh_PROGRAM = $(install_sh) -c
24+install_sh_SCRIPT = $(install_sh) -c
25+INSTALL_HEADER = $(INSTALL_DATA)
26+transform = $(program_transform_name)
27+NORMAL_INSTALL = :
28+PRE_INSTALL = :
29+POST_INSTALL = :
30+NORMAL_UNINSTALL = :
31+PRE_UNINSTALL = :
32+POST_UNINSTALL = :
33+build_triplet = @build@
34+host_triplet = @host@
35+noinst_PROGRAMS = get_distance$(EXEEXT) \
36+ get_distance_intensity$(EXEEXT) get_multiecho$(EXEEXT) \
37+ get_multiecho_intensity$(EXEEXT)
38+subdir = sample
39+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
40+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41+am__aclocal_m4_deps = $(top_srcdir)/configure.in
42+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
43+ $(ACLOCAL_M4)
44+mkinstalldirs = $(install_sh) -d
45+CONFIG_HEADER = $(top_builddir)/config.h
46+CONFIG_CLEAN_FILES =
47+PROGRAMS = $(noinst_PROGRAMS)
48+am_get_distance_OBJECTS = get_distance.$(OBJEXT) \
49+ Connection_information.$(OBJEXT)
50+get_distance_OBJECTS = $(am_get_distance_OBJECTS)
51+get_distance_LDADD = $(LDADD)
52+am_get_distance_intensity_OBJECTS = get_distance_intensity.$(OBJEXT) \
53+ Connection_information.$(OBJEXT)
54+get_distance_intensity_OBJECTS = $(am_get_distance_intensity_OBJECTS)
55+get_distance_intensity_LDADD = $(LDADD)
56+am_get_multiecho_OBJECTS = get_multiecho.$(OBJEXT) \
57+ Connection_information.$(OBJEXT)
58+get_multiecho_OBJECTS = $(am_get_multiecho_OBJECTS)
59+get_multiecho_LDADD = $(LDADD)
60+am_get_multiecho_intensity_OBJECTS = \
61+ get_multiecho_intensity.$(OBJEXT) \
62+ Connection_information.$(OBJEXT)
63+get_multiecho_intensity_OBJECTS = \
64+ $(am_get_multiecho_intensity_OBJECTS)
65+get_multiecho_intensity_LDADD = $(LDADD)
66+DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
67+depcomp = $(SHELL) $(top_srcdir)/depcomp
68+am__depfiles_maybe = depfiles
69+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
70+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
71+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
72+ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
73+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
74+CXXLD = $(CXX)
75+CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
76+ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
77+ $(LDFLAGS) -o $@
78+SOURCES = $(get_distance_SOURCES) $(get_distance_intensity_SOURCES) \
79+ $(get_multiecho_SOURCES) $(get_multiecho_intensity_SOURCES)
80+DIST_SOURCES = $(get_distance_SOURCES) \
81+ $(get_distance_intensity_SOURCES) $(get_multiecho_SOURCES) \
82+ $(get_multiecho_intensity_SOURCES)
83+ETAGS = etags
84+CTAGS = ctags
85+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
86+ACLOCAL = @ACLOCAL@
87+AMTAR = @AMTAR@
88+AR = @AR@
89+AUTOCONF = @AUTOCONF@
90+AUTOHEADER = @AUTOHEADER@
91+AUTOMAKE = @AUTOMAKE@
92+AWK = @AWK@
93+CC = @CC@
94+CCDEPMODE = @CCDEPMODE@
95+CFLAGS = @CFLAGS@
96+CPP = @CPP@
97+CPPFLAGS = @CPPFLAGS@
98+CXX = @CXX@
99+CXXCPP = @CXXCPP@
100+CXXDEPMODE = @CXXDEPMODE@
101+CXXFLAGS = @CXXFLAGS@
102+CYGPATH_W = @CYGPATH_W@
103+DEFS = @DEFS@
104+DEPDIR = @DEPDIR@
105+DSYMUTIL = @DSYMUTIL@
106+DUMPBIN = @DUMPBIN@
107+ECHO_C = @ECHO_C@
108+ECHO_N = @ECHO_N@
109+ECHO_T = @ECHO_T@
110+EGREP = @EGREP@
111+EXEEXT = @EXEEXT@
112+FGREP = @FGREP@
113+GREP = @GREP@
114+INSTALL = @INSTALL@
115+INSTALL_DATA = @INSTALL_DATA@
116+INSTALL_LIBS = @INSTALL_LIBS@
117+INSTALL_PROGRAM = @INSTALL_PROGRAM@
118+INSTALL_SCRIPT = @INSTALL_SCRIPT@
119+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
120+LD = @LD@
121+LDFLAGS = @LDFLAGS@
122+LIBOBJS = @LIBOBJS@
123+LIBS = -L$(top_srcdir)/src $(INSTALL_LIBS)
124+LIBTOOL = @LIBTOOL@
125+LIPO = @LIPO@
126+LN_S = @LN_S@
127+LTLIBOBJS = @LTLIBOBJS@
128+MAKEINFO = @MAKEINFO@
129+MKDIR_P = @MKDIR_P@
130+NM = @NM@
131+NMEDIT = @NMEDIT@
132+OBJDUMP = @OBJDUMP@
133+OBJEXT = @OBJEXT@
134+OTOOL = @OTOOL@
135+OTOOL64 = @OTOOL64@
136+PACKAGE = @PACKAGE@
137+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
138+PACKAGE_NAME = @PACKAGE_NAME@
139+PACKAGE_STRING = @PACKAGE_STRING@
140+PACKAGE_TARNAME = @PACKAGE_TARNAME@
141+PACKAGE_VERSION = @PACKAGE_VERSION@
142+PATH_SEPARATOR = @PATH_SEPARATOR@
143+RANLIB = @RANLIB@
144+SED = @SED@
145+SET_MAKE = @SET_MAKE@
146+SHELL = @SHELL@
147+STRIP = @STRIP@
148+VERSION = @VERSION@
149+abs_builddir = @abs_builddir@
150+abs_srcdir = @abs_srcdir@
151+abs_top_builddir = @abs_top_builddir@
152+abs_top_srcdir = @abs_top_srcdir@
153+ac_ct_CC = @ac_ct_CC@
154+ac_ct_CXX = @ac_ct_CXX@
155+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
156+am__include = @am__include@
157+am__leading_dot = @am__leading_dot@
158+am__quote = @am__quote@
159+am__tar = @am__tar@
160+am__untar = @am__untar@
161+bindir = @bindir@
162+build = @build@
163+build_alias = @build_alias@
164+build_cpu = @build_cpu@
165+build_os = @build_os@
166+build_vendor = @build_vendor@
167+builddir = @builddir@
168+datadir = @datadir@
169+datarootdir = @datarootdir@
170+docdir = @docdir@
171+dvidir = @dvidir@
172+exec_prefix = @exec_prefix@
173+host = @host@
174+host_alias = @host_alias@
175+host_cpu = @host_cpu@
176+host_os = @host_os@
177+host_vendor = @host_vendor@
178+htmldir = @htmldir@
179+includedir = @includedir@
180+infodir = @infodir@
181+install_sh = @install_sh@
182+libdir = @libdir@
183+libexecdir = @libexecdir@
184+localedir = @localedir@
185+localstatedir = @localstatedir@
186+lt_ECHO = @lt_ECHO@
187+mandir = @mandir@
188+mkdir_p = @mkdir_p@
189+oldincludedir = @oldincludedir@
190+pdfdir = @pdfdir@
191+prefix = @prefix@
192+program_transform_name = @program_transform_name@
193+psdir = @psdir@
194+sbindir = @sbindir@
195+sharedstatedir = @sharedstatedir@
196+srcdir = @srcdir@
197+sysconfdir = @sysconfdir@
198+target_alias = @target_alias@
199+top_builddir = @top_builddir@
200+top_srcdir = @top_srcdir@
201+get_distance_SOURCES = get_distance.cpp Connection_information.cpp
202+get_distance_intensity_SOURCES = get_distance_intensity.cpp Connection_information.cpp
203+get_multiecho_SOURCES = get_multiecho.cpp Connection_information.cpp
204+get_multiecho_intensity_SOURCES = get_multiecho_intensity.cpp Connection_information.cpp
205+INCLUDES = -I$(top_srcdir)/src
206+all: all-am
207+
208+.SUFFIXES:
209+.SUFFIXES: .cpp .lo .o .obj
210+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
211+ @for dep in $?; do \
212+ case '$(am__configure_deps)' in \
213+ *$$dep*) \
214+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
215+ && exit 0; \
216+ exit 1;; \
217+ esac; \
218+ done; \
219+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu sample/Makefile'; \
220+ cd $(top_srcdir) && \
221+ $(AUTOMAKE) --gnu sample/Makefile
222+.PRECIOUS: Makefile
223+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
224+ @case '$?' in \
225+ *config.status*) \
226+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
227+ *) \
228+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
229+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
230+ esac;
231+
232+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
233+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
234+
235+$(top_srcdir)/configure: $(am__configure_deps)
236+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
237+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
238+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
239+
240+clean-noinstPROGRAMS:
241+ @list='$(noinst_PROGRAMS)'; for p in $$list; do \
242+ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
243+ echo " rm -f $$p $$f"; \
244+ rm -f $$p $$f ; \
245+ done
246+get_distance$(EXEEXT): $(get_distance_OBJECTS) $(get_distance_DEPENDENCIES)
247+ @rm -f get_distance$(EXEEXT)
248+ $(CXXLINK) $(get_distance_OBJECTS) $(get_distance_LDADD) $(LIBS)
249+get_distance_intensity$(EXEEXT): $(get_distance_intensity_OBJECTS) $(get_distance_intensity_DEPENDENCIES)
250+ @rm -f get_distance_intensity$(EXEEXT)
251+ $(CXXLINK) $(get_distance_intensity_OBJECTS) $(get_distance_intensity_LDADD) $(LIBS)
252+get_multiecho$(EXEEXT): $(get_multiecho_OBJECTS) $(get_multiecho_DEPENDENCIES)
253+ @rm -f get_multiecho$(EXEEXT)
254+ $(CXXLINK) $(get_multiecho_OBJECTS) $(get_multiecho_LDADD) $(LIBS)
255+get_multiecho_intensity$(EXEEXT): $(get_multiecho_intensity_OBJECTS) $(get_multiecho_intensity_DEPENDENCIES)
256+ @rm -f get_multiecho_intensity$(EXEEXT)
257+ $(CXXLINK) $(get_multiecho_intensity_OBJECTS) $(get_multiecho_intensity_LDADD) $(LIBS)
258+
259+mostlyclean-compile:
260+ -rm -f *.$(OBJEXT)
261+
262+distclean-compile:
263+ -rm -f *.tab.c
264+
265+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Connection_information.Po@am__quote@
266+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/get_distance.Po@am__quote@
267+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/get_distance_intensity.Po@am__quote@
268+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/get_multiecho.Po@am__quote@
269+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/get_multiecho_intensity.Po@am__quote@
270+
271+.cpp.o:
272+@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
273+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
274+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
275+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
276+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
277+
278+.cpp.obj:
279+@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
280+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
281+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
282+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
283+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
284+
285+.cpp.lo:
286+@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
287+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
288+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
289+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
290+@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
291+
292+mostlyclean-libtool:
293+ -rm -f *.lo
294+
295+clean-libtool:
296+ -rm -rf .libs _libs
297+
298+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
299+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
300+ unique=`for i in $$list; do \
301+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
302+ done | \
303+ $(AWK) ' { files[$$0] = 1; } \
304+ END { for (i in files) print i; }'`; \
305+ mkid -fID $$unique
306+tags: TAGS
307+
308+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
309+ $(TAGS_FILES) $(LISP)
310+ tags=; \
311+ here=`pwd`; \
312+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
313+ unique=`for i in $$list; do \
314+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
315+ done | \
316+ $(AWK) ' { files[$$0] = 1; } \
317+ END { for (i in files) print i; }'`; \
318+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
319+ test -n "$$unique" || unique=$$empty_fix; \
320+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
321+ $$tags $$unique; \
322+ fi
323+ctags: CTAGS
324+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
325+ $(TAGS_FILES) $(LISP)
326+ tags=; \
327+ here=`pwd`; \
328+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
329+ unique=`for i in $$list; do \
330+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
331+ done | \
332+ $(AWK) ' { files[$$0] = 1; } \
333+ END { for (i in files) print i; }'`; \
334+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
335+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
336+ $$tags $$unique
337+
338+GTAGS:
339+ here=`$(am__cd) $(top_builddir) && pwd` \
340+ && cd $(top_srcdir) \
341+ && gtags -i $(GTAGS_ARGS) $$here
342+
343+distclean-tags:
344+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
345+
346+distdir: $(DISTFILES)
347+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
348+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
349+ list='$(DISTFILES)'; \
350+ dist_files=`for file in $$list; do echo $$file; done | \
351+ sed -e "s|^$$srcdirstrip/||;t" \
352+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
353+ case $$dist_files in \
354+ */*) $(MKDIR_P) `echo "$$dist_files" | \
355+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
356+ sort -u` ;; \
357+ esac; \
358+ for file in $$dist_files; do \
359+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
360+ if test -d $$d/$$file; then \
361+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
362+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
363+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
364+ fi; \
365+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
366+ else \
367+ test -f $(distdir)/$$file \
368+ || cp -p $$d/$$file $(distdir)/$$file \
369+ || exit 1; \
370+ fi; \
371+ done
372+check-am: all-am
373+check: check-am
374+all-am: Makefile $(PROGRAMS)
375+installdirs:
376+install: install-am
377+install-exec: install-exec-am
378+install-data: install-data-am
379+uninstall: uninstall-am
380+
381+install-am: all-am
382+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
383+
384+installcheck: installcheck-am
385+install-strip:
386+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
387+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
388+ `test -z '$(STRIP)' || \
389+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
390+mostlyclean-generic:
391+
392+clean-generic:
393+
394+distclean-generic:
395+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
396+
397+maintainer-clean-generic:
398+ @echo "This command is intended for maintainers to use"
399+ @echo "it deletes files that may require special tools to rebuild."
400+clean: clean-am
401+
402+clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
403+ mostlyclean-am
404+
405+distclean: distclean-am
406+ -rm -rf ./$(DEPDIR)
407+ -rm -f Makefile
408+distclean-am: clean-am distclean-compile distclean-generic \
409+ distclean-tags
410+
411+dvi: dvi-am
412+
413+dvi-am:
414+
415+html: html-am
416+
417+info: info-am
418+
419+info-am:
420+
421+install-data-am:
422+
423+install-dvi: install-dvi-am
424+
425+install-exec-am:
426+
427+install-html: install-html-am
428+
429+install-info: install-info-am
430+
431+install-man:
432+
433+install-pdf: install-pdf-am
434+
435+install-ps: install-ps-am
436+
437+installcheck-am:
438+
439+maintainer-clean: maintainer-clean-am
440+ -rm -rf ./$(DEPDIR)
441+ -rm -f Makefile
442+maintainer-clean-am: distclean-am maintainer-clean-generic
443+
444+mostlyclean: mostlyclean-am
445+
446+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
447+ mostlyclean-libtool
448+
449+pdf: pdf-am
450+
451+pdf-am:
452+
453+ps: ps-am
454+
455+ps-am:
456+
457+uninstall-am:
458+
459+.MAKE: install-am install-strip
460+
461+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
462+ clean-libtool clean-noinstPROGRAMS ctags distclean \
463+ distclean-compile distclean-generic distclean-libtool \
464+ distclean-tags distdir dvi dvi-am html html-am info info-am \
465+ install install-am install-data install-data-am install-dvi \
466+ install-dvi-am install-exec install-exec-am install-html \
467+ install-html-am install-info install-info-am install-man \
468+ install-pdf install-pdf-am install-ps install-ps-am \
469+ install-strip installcheck installcheck-am installdirs \
470+ maintainer-clean maintainer-clean-generic mostlyclean \
471+ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
472+ pdf pdf-am ps ps-am tags uninstall uninstall-am
473+
474+# Tell versions [3.59,3.63) of GNU make to not export all variables.
475+# Otherwise a system limit (for SysV at least) may be exceeded.
476+.NOEXPORT:
--- branches/tsukuba_2010/packages/urg_cpp_library/sample/Connection_information.cpp (nonexistent)
+++ branches/tsukuba_2010/packages/urg_cpp_library/sample/Connection_information.cpp (revision 1933)
@@ -0,0 +1 @@
1+link ../../../libs/lidar/samples/Connection_information.cpp
\ No newline at end of file
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
--- branches/tsukuba_2010/packages/urg_cpp_library/sample/Makefile.am (nonexistent)
+++ branches/tsukuba_2010/packages/urg_cpp_library/sample/Makefile.am (revision 1933)
@@ -0,0 +1,11 @@
1+## Makefile.am -- Process this file with automake to produce Makefile.in
2+
3+noinst_PROGRAMS = get_distance get_distance_intensity get_multiecho get_multiecho_intensity
4+
5+get_distance_SOURCES = get_distance.cpp Connection_information.cpp
6+get_distance_intensity_SOURCES = get_distance_intensity.cpp Connection_information.cpp
7+get_multiecho_SOURCES = get_multiecho.cpp Connection_information.cpp
8+get_multiecho_intensity_SOURCES = get_multiecho_intensity.cpp Connection_information.cpp
9+
10+INCLUDES = -I$(top_srcdir)/src
11+LIBS = -L$(top_srcdir)/src $(INSTALL_LIBS)
--- branches/tsukuba_2010/packages/urg_cpp_library/sample/get_multiecho.cpp (nonexistent)
+++ branches/tsukuba_2010/packages/urg_cpp_library/sample/get_multiecho.cpp (revision 1933)
@@ -0,0 +1 @@
1+link ../../../libs/lidar/samples/get_multiecho.cpp
\ No newline at end of file
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
--- branches/tsukuba_2010/packages/urg_cpp_library/sample/Connection_information.h (nonexistent)
+++ branches/tsukuba_2010/packages/urg_cpp_library/sample/Connection_information.h (revision 1933)
@@ -0,0 +1 @@
1+link ../../../libs/lidar/samples/Connection_information.h
\ No newline at end of file
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
--- branches/tsukuba_2010/packages/urg_cpp_library/sample/sensor_parameter.cpp (nonexistent)
+++ branches/tsukuba_2010/packages/urg_cpp_library/sample/sensor_parameter.cpp (revision 1933)
@@ -0,0 +1 @@
1+link ../../../libs/lidar/samples/sensor_parameter.cpp
\ No newline at end of file
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
--- branches/tsukuba_2010/packages/urg_cpp_library/sample/get_distance.cpp (nonexistent)
+++ branches/tsukuba_2010/packages/urg_cpp_library/sample/get_distance.cpp (revision 1933)
@@ -0,0 +1 @@
1+link ../../../libs/lidar/samples/get_distance.cpp
\ No newline at end of file
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
--- branches/tsukuba_2010/packages/urg_cpp_library/sample/calculate_xy.cpp (nonexistent)
+++ branches/tsukuba_2010/packages/urg_cpp_library/sample/calculate_xy.cpp (revision 1933)
@@ -0,0 +1 @@
1+link ../../../libs/lidar/samples/calculate_xy.cpp
\ No newline at end of file
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
--- branches/tsukuba_2010/packages/urg_cpp_library/configure (nonexistent)
+++ branches/tsukuba_2010/packages/urg_cpp_library/configure (revision 1933)
@@ -0,0 +1,18466 @@
1+#! /bin/sh
2+# Guess values for system-dependent variables and create Makefiles.
3+# Generated by GNU Autoconf 2.61 for urg_cpp 0.0.1.
4+#
5+# Report bugs to <satofumi@users.sourceforge.jp>.
6+#
7+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8+# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9+# This configure script is free software; the Free Software Foundation
10+# gives unlimited permission to copy, distribute and modify it.
11+## --------------------- ##
12+## M4sh Initialization. ##
13+## --------------------- ##
14+
15+# Be more Bourne compatible
16+DUALCASE=1; export DUALCASE # for MKS sh
17+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18+ emulate sh
19+ NULLCMD=:
20+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21+ # is contrary to our usage. Disable this feature.
22+ alias -g '${1+"$@"}'='"$@"'
23+ setopt NO_GLOB_SUBST
24+else
25+ case `(set -o) 2>/dev/null` in
26+ *posix*) set -o posix ;;
27+esac
28+
29+fi
30+
31+
32+
33+
34+# PATH needs CR
35+# Avoid depending upon Character Ranges.
36+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39+as_cr_digits='0123456789'
40+as_cr_alnum=$as_cr_Letters$as_cr_digits
41+
42+# The user is always right.
43+if test "${PATH_SEPARATOR+set}" != set; then
44+ echo "#! /bin/sh" >conf$$.sh
45+ echo "exit 0" >>conf$$.sh
46+ chmod +x conf$$.sh
47+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48+ PATH_SEPARATOR=';'
49+ else
50+ PATH_SEPARATOR=:
51+ fi
52+ rm -f conf$$.sh
53+fi
54+
55+# Support unset when possible.
56+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57+ as_unset=unset
58+else
59+ as_unset=false
60+fi
61+
62+
63+# IFS
64+# We need space, tab and new line, in precisely that order. Quoting is
65+# there to prevent editors from complaining about space-tab.
66+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67+# splitting by setting IFS to empty value.)
68+as_nl='
69+'
70+IFS=" "" $as_nl"
71+
72+# Find who we are. Look in the path if we contain no directory separator.
73+case $0 in
74+ *[\\/]* ) as_myself=$0 ;;
75+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76+for as_dir in $PATH
77+do
78+ IFS=$as_save_IFS
79+ test -z "$as_dir" && as_dir=.
80+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81+done
82+IFS=$as_save_IFS
83+
84+ ;;
85+esac
86+# We did not find ourselves, most probably we were run as `sh COMMAND'
87+# in which case we are not to be found in the path.
88+if test "x$as_myself" = x; then
89+ as_myself=$0
90+fi
91+if test ! -f "$as_myself"; then
92+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93+ { (exit 1); exit 1; }
94+fi
95+
96+# Work around bugs in pre-3.0 UWIN ksh.
97+for as_var in ENV MAIL MAILPATH
98+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99+done
100+PS1='$ '
101+PS2='> '
102+PS4='+ '
103+
104+# NLS nuisances.
105+for as_var in \
106+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108+ LC_TELEPHONE LC_TIME
109+do
110+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111+ eval $as_var=C; export $as_var
112+ else
113+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114+ fi
115+done
116+
117+# Required to use basename.
118+if expr a : '\(a\)' >/dev/null 2>&1 &&
119+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
120+ as_expr=expr
121+else
122+ as_expr=false
123+fi
124+
125+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126+ as_basename=basename
127+else
128+ as_basename=false
129+fi
130+
131+
132+# Name of the executable.
133+as_me=`$as_basename -- "$0" ||
134+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135+ X"$0" : 'X\(//\)$' \| \
136+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137+echo X/"$0" |
138+ sed '/^.*\/\([^/][^/]*\)\/*$/{
139+ s//\1/
140+ q
141+ }
142+ /^X\/\(\/\/\)$/{
143+ s//\1/
144+ q
145+ }
146+ /^X\/\(\/\).*/{
147+ s//\1/
148+ q
149+ }
150+ s/.*/./; q'`
151+
152+# CDPATH.
153+$as_unset CDPATH
154+
155+
156+if test "x$CONFIG_SHELL" = x; then
157+ if (eval ":") 2>/dev/null; then
158+ as_have_required=yes
159+else
160+ as_have_required=no
161+fi
162+
163+ if test $as_have_required = yes && (eval ":
164+(as_func_return () {
165+ (exit \$1)
166+}
167+as_func_success () {
168+ as_func_return 0
169+}
170+as_func_failure () {
171+ as_func_return 1
172+}
173+as_func_ret_success () {
174+ return 0
175+}
176+as_func_ret_failure () {
177+ return 1
178+}
179+
180+exitcode=0
181+if as_func_success; then
182+ :
183+else
184+ exitcode=1
185+ echo as_func_success failed.
186+fi
187+
188+if as_func_failure; then
189+ exitcode=1
190+ echo as_func_failure succeeded.
191+fi
192+
193+if as_func_ret_success; then
194+ :
195+else
196+ exitcode=1
197+ echo as_func_ret_success failed.
198+fi
199+
200+if as_func_ret_failure; then
201+ exitcode=1
202+ echo as_func_ret_failure succeeded.
203+fi
204+
205+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206+ :
207+else
208+ exitcode=1
209+ echo positional parameters were not saved.
210+fi
211+
212+test \$exitcode = 0) || { (exit 1); exit 1; }
213+
214+(
215+ as_lineno_1=\$LINENO
216+ as_lineno_2=\$LINENO
217+ test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218+ test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219+") 2> /dev/null; then
220+ :
221+else
222+ as_candidate_shells=
223+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225+do
226+ IFS=$as_save_IFS
227+ test -z "$as_dir" && as_dir=.
228+ case $as_dir in
229+ /*)
230+ for as_base in sh bash ksh sh5; do
231+ as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232+ done;;
233+ esac
234+done
235+IFS=$as_save_IFS
236+
237+
238+ for as_shell in $as_candidate_shells $SHELL; do
239+ # Try only shells that exist, to save several forks.
240+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241+ { ("$as_shell") 2> /dev/null <<\_ASEOF
242+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243+ emulate sh
244+ NULLCMD=:
245+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246+ # is contrary to our usage. Disable this feature.
247+ alias -g '${1+"$@"}'='"$@"'
248+ setopt NO_GLOB_SUBST
249+else
250+ case `(set -o) 2>/dev/null` in
251+ *posix*) set -o posix ;;
252+esac
253+
254+fi
255+
256+
257+:
258+_ASEOF
259+}; then
260+ CONFIG_SHELL=$as_shell
261+ as_have_required=yes
262+ if { "$as_shell" 2> /dev/null <<\_ASEOF
263+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264+ emulate sh
265+ NULLCMD=:
266+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267+ # is contrary to our usage. Disable this feature.
268+ alias -g '${1+"$@"}'='"$@"'
269+ setopt NO_GLOB_SUBST
270+else
271+ case `(set -o) 2>/dev/null` in
272+ *posix*) set -o posix ;;
273+esac
274+
275+fi
276+
277+
278+:
279+(as_func_return () {
280+ (exit $1)
281+}
282+as_func_success () {
283+ as_func_return 0
284+}
285+as_func_failure () {
286+ as_func_return 1
287+}
288+as_func_ret_success () {
289+ return 0
290+}
291+as_func_ret_failure () {
292+ return 1
293+}
294+
295+exitcode=0
296+if as_func_success; then
297+ :
298+else
299+ exitcode=1
300+ echo as_func_success failed.
301+fi
302+
303+if as_func_failure; then
304+ exitcode=1
305+ echo as_func_failure succeeded.
306+fi
307+
308+if as_func_ret_success; then
309+ :
310+else
311+ exitcode=1
312+ echo as_func_ret_success failed.
313+fi
314+
315+if as_func_ret_failure; then
316+ exitcode=1
317+ echo as_func_ret_failure succeeded.
318+fi
319+
320+if ( set x; as_func_ret_success y && test x = "$1" ); then
321+ :
322+else
323+ exitcode=1
324+ echo positional parameters were not saved.
325+fi
326+
327+test $exitcode = 0) || { (exit 1); exit 1; }
328+
329+(
330+ as_lineno_1=$LINENO
331+ as_lineno_2=$LINENO
332+ test "x$as_lineno_1" != "x$as_lineno_2" &&
333+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334+
335+_ASEOF
336+}; then
337+ break
338+fi
339+
340+fi
341+
342+ done
343+
344+ if test "x$CONFIG_SHELL" != x; then
345+ for as_var in BASH_ENV ENV
346+ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347+ done
348+ export CONFIG_SHELL
349+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350+fi
351+
352+
353+ if test $as_have_required = no; then
354+ echo This script requires a shell more modern than all the
355+ echo shells that I found on your system. Please install a
356+ echo modern shell, or manually run the script under such a
357+ echo shell if you do have one.
358+ { (exit 1); exit 1; }
359+fi
360+
361+
362+fi
363+
364+fi
365+
366+
367+
368+(eval "as_func_return () {
369+ (exit \$1)
370+}
371+as_func_success () {
372+ as_func_return 0
373+}
374+as_func_failure () {
375+ as_func_return 1
376+}
377+as_func_ret_success () {
378+ return 0
379+}
380+as_func_ret_failure () {
381+ return 1
382+}
383+
384+exitcode=0
385+if as_func_success; then
386+ :
387+else
388+ exitcode=1
389+ echo as_func_success failed.
390+fi
391+
392+if as_func_failure; then
393+ exitcode=1
394+ echo as_func_failure succeeded.
395+fi
396+
397+if as_func_ret_success; then
398+ :
399+else
400+ exitcode=1
401+ echo as_func_ret_success failed.
402+fi
403+
404+if as_func_ret_failure; then
405+ exitcode=1
406+ echo as_func_ret_failure succeeded.
407+fi
408+
409+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410+ :
411+else
412+ exitcode=1
413+ echo positional parameters were not saved.
414+fi
415+
416+test \$exitcode = 0") || {
417+ echo No shell found that supports shell functions.
418+ echo Please tell autoconf@gnu.org about your system,
419+ echo including any error possibly output before this
420+ echo message
421+}
422+
423+
424+
425+ as_lineno_1=$LINENO
426+ as_lineno_2=$LINENO
427+ test "x$as_lineno_1" != "x$as_lineno_2" &&
428+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429+
430+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431+ # uniformly replaced by the line number. The first 'sed' inserts a
432+ # line-number line after each line using $LINENO; the second 'sed'
433+ # does the real work. The second script uses 'N' to pair each
434+ # line-number line with the line containing $LINENO, and appends
435+ # trailing '-' during substitution so that $LINENO is not a special
436+ # case at line end.
437+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438+ # scripts with optimization help from Paolo Bonzini. Blame Lee
439+ # E. McMahon (1931-1989) for sed's syntax. :-)
440+ sed -n '
441+ p
442+ /[$]LINENO/=
443+ ' <$as_myself |
444+ sed '
445+ s/[$]LINENO.*/&-/
446+ t lineno
447+ b
448+ :lineno
449+ N
450+ :loop
451+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452+ t loop
453+ s/-\n.*//
454+ ' >$as_me.lineno &&
455+ chmod +x "$as_me.lineno" ||
456+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457+ { (exit 1); exit 1; }; }
458+
459+ # Don't try to exec as it changes $[0], causing all sort of problems
460+ # (the dirname of $[0] is not the place where we might find the
461+ # original and so on. Autoconf is especially sensitive to this).
462+ . "./$as_me.lineno"
463+ # Exit status is that of the last command.
464+ exit
465+}
466+
467+
468+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469+ as_dirname=dirname
470+else
471+ as_dirname=false
472+fi
473+
474+ECHO_C= ECHO_N= ECHO_T=
475+case `echo -n x` in
476+-n*)
477+ case `echo 'x\c'` in
478+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479+ *) ECHO_C='\c';;
480+ esac;;
481+*)
482+ ECHO_N='-n';;
483+esac
484+
485+if expr a : '\(a\)' >/dev/null 2>&1 &&
486+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
487+ as_expr=expr
488+else
489+ as_expr=false
490+fi
491+
492+rm -f conf$$ conf$$.exe conf$$.file
493+if test -d conf$$.dir; then
494+ rm -f conf$$.dir/conf$$.file
495+else
496+ rm -f conf$$.dir
497+ mkdir conf$$.dir
498+fi
499+echo >conf$$.file
500+if ln -s conf$$.file conf$$ 2>/dev/null; then
501+ as_ln_s='ln -s'
502+ # ... but there are two gotchas:
503+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505+ # In both cases, we have to default to `cp -p'.
506+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507+ as_ln_s='cp -p'
508+elif ln conf$$.file conf$$ 2>/dev/null; then
509+ as_ln_s=ln
510+else
511+ as_ln_s='cp -p'
512+fi
513+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514+rmdir conf$$.dir 2>/dev/null
515+
516+if mkdir -p . 2>/dev/null; then
517+ as_mkdir_p=:
518+else
519+ test -d ./-p && rmdir ./-p
520+ as_mkdir_p=false
521+fi
522+
523+if test -x / >/dev/null 2>&1; then
524+ as_test_x='test -x'
525+else
526+ if ls -dL / >/dev/null 2>&1; then
527+ as_ls_L_option=L
528+ else
529+ as_ls_L_option=
530+ fi
531+ as_test_x='
532+ eval sh -c '\''
533+ if test -d "$1"; then
534+ test -d "$1/.";
535+ else
536+ case $1 in
537+ -*)set "./$1";;
538+ esac;
539+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540+ ???[sx]*):;;*)false;;esac;fi
541+ '\'' sh
542+ '
543+fi
544+as_executable_p=$as_test_x
545+
546+# Sed expression to map a string onto a valid CPP name.
547+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548+
549+# Sed expression to map a string onto a valid variable name.
550+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551+
552+
553+
554+
555+# Check that we are running under the correct shell.
556+SHELL=${CONFIG_SHELL-/bin/sh}
557+
558+case X$lt_ECHO in
559+X*--fallback-echo)
560+ # Remove one level of quotation (which was required for Make).
561+ ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
562+ ;;
563+esac
564+
565+ECHO=${lt_ECHO-echo}
566+if test "X$1" = X--no-reexec; then
567+ # Discard the --no-reexec flag, and continue.
568+ shift
569+elif test "X$1" = X--fallback-echo; then
570+ # Avoid inline document here, it may be left over
571+ :
572+elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
573+ # Yippee, $ECHO works!
574+ :
575+else
576+ # Restart under the correct shell.
577+ exec $SHELL "$0" --no-reexec ${1+"$@"}
578+fi
579+
580+if test "X$1" = X--fallback-echo; then
581+ # used as fallback echo
582+ shift
583+ cat <<_LT_EOF
584+$*
585+_LT_EOF
586+ exit 0
587+fi
588+
589+# The HP-UX ksh and POSIX shell print the target directory to stdout
590+# if CDPATH is set.
591+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
592+
593+if test -z "$lt_ECHO"; then
594+ if test "X${echo_test_string+set}" != Xset; then
595+ # find a string as large as possible, as long as the shell can cope with it
596+ for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597+ # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598+ if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
599+ { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
600+ then
601+ break
602+ fi
603+ done
604+ fi
605+
606+ if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
607+ echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
608+ test "X$echo_testing_string" = "X$echo_test_string"; then
609+ :
610+ else
611+ # The Solaris, AIX, and Digital Unix default echo programs unquote
612+ # backslashes. This makes it impossible to quote backslashes using
613+ # echo "$something" | sed 's/\\/\\\\/g'
614+ #
615+ # So, first we look for a working echo in the user's PATH.
616+
617+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
618+ for dir in $PATH /usr/ucb; do
619+ IFS="$lt_save_ifs"
620+ if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
621+ test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
622+ echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
623+ test "X$echo_testing_string" = "X$echo_test_string"; then
624+ ECHO="$dir/echo"
625+ break
626+ fi
627+ done
628+ IFS="$lt_save_ifs"
629+
630+ if test "X$ECHO" = Xecho; then
631+ # We didn't find a better echo, so look for alternatives.
632+ if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
633+ echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
634+ test "X$echo_testing_string" = "X$echo_test_string"; then
635+ # This shell has a builtin print -r that does the trick.
636+ ECHO='print -r'
637+ elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
638+ test "X$CONFIG_SHELL" != X/bin/ksh; then
639+ # If we have ksh, try running configure again with it.
640+ ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
641+ export ORIGINAL_CONFIG_SHELL
642+ CONFIG_SHELL=/bin/ksh
643+ export CONFIG_SHELL
644+ exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
645+ else
646+ # Try using printf.
647+ ECHO='printf %s\n'
648+ if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
649+ echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
650+ test "X$echo_testing_string" = "X$echo_test_string"; then
651+ # Cool, printf works
652+ :
653+ elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
654+ test "X$echo_testing_string" = 'X\t' &&
655+ echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
656+ test "X$echo_testing_string" = "X$echo_test_string"; then
657+ CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
658+ export CONFIG_SHELL
659+ SHELL="$CONFIG_SHELL"
660+ export SHELL
661+ ECHO="$CONFIG_SHELL $0 --fallback-echo"
662+ elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
663+ test "X$echo_testing_string" = 'X\t' &&
664+ echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
665+ test "X$echo_testing_string" = "X$echo_test_string"; then
666+ ECHO="$CONFIG_SHELL $0 --fallback-echo"
667+ else
668+ # maybe with a smaller string...
669+ prev=:
670+
671+ for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
672+ if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
673+ then
674+ break
675+ fi
676+ prev="$cmd"
677+ done
678+
679+ if test "$prev" != 'sed 50q "$0"'; then
680+ echo_test_string=`eval $prev`
681+ export echo_test_string
682+ exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
683+ else
684+ # Oops. We lost completely, so just stick with echo.
685+ ECHO=echo
686+ fi
687+ fi
688+ fi
689+ fi
690+ fi
691+fi
692+
693+# Copy echo and quote the copy suitably for passing to libtool from
694+# the Makefile, instead of quoting the original, which is used later.
695+lt_ECHO=$ECHO
696+if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
697+ lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
698+fi
699+
700+
701+
702+
703+exec 7<&0 </dev/null 6>&1
704+
705+# Name of the host.
706+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
707+# so uname gets run too.
708+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
709+
710+#
711+# Initializations.
712+#
713+ac_default_prefix=/usr/local
714+ac_clean_files=
715+ac_config_libobj_dir=.
716+LIBOBJS=
717+cross_compiling=no
718+subdirs=
719+MFLAGS=
720+MAKEFLAGS=
721+SHELL=${CONFIG_SHELL-/bin/sh}
722+
723+# Identity of this package.
724+PACKAGE_NAME='urg_cpp'
725+PACKAGE_TARNAME='urg_cpp'
726+PACKAGE_VERSION='0.0.1'
727+PACKAGE_STRING='urg_cpp 0.0.1'
728+PACKAGE_BUGREPORT='satofumi@users.sourceforge.jp'
729+
730+ac_unique_file="src/Urg_driver.cpp"
731+# Factoring default headers for most tests.
732+ac_includes_default="\
733+#include <stdio.h>
734+#ifdef HAVE_SYS_TYPES_H
735+# include <sys/types.h>
736+#endif
737+#ifdef HAVE_SYS_STAT_H
738+# include <sys/stat.h>
739+#endif
740+#ifdef STDC_HEADERS
741+# include <stdlib.h>
742+# include <stddef.h>
743+#else
744+# ifdef HAVE_STDLIB_H
745+# include <stdlib.h>
746+# endif
747+#endif
748+#ifdef HAVE_STRING_H
749+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
750+# include <memory.h>
751+# endif
752+# include <string.h>
753+#endif
754+#ifdef HAVE_STRINGS_H
755+# include <strings.h>
756+#endif
757+#ifdef HAVE_INTTYPES_H
758+# include <inttypes.h>
759+#endif
760+#ifdef HAVE_STDINT_H
761+# include <stdint.h>
762+#endif
763+#ifdef HAVE_UNISTD_H
764+# include <unistd.h>
765+#endif"
766+
767+ac_subst_vars='SHELL
768+PATH_SEPARATOR
769+PACKAGE_NAME
770+PACKAGE_TARNAME
771+PACKAGE_VERSION
772+PACKAGE_STRING
773+PACKAGE_BUGREPORT
774+exec_prefix
775+prefix
776+program_transform_name
777+bindir
778+sbindir
779+libexecdir
780+datarootdir
781+datadir
782+sysconfdir
783+sharedstatedir
784+localstatedir
785+includedir
786+oldincludedir
787+docdir
788+infodir
789+htmldir
790+dvidir
791+pdfdir
792+psdir
793+libdir
794+localedir
795+mandir
796+DEFS
797+ECHO_C
798+ECHO_N
799+ECHO_T
800+LIBS
801+build_alias
802+host_alias
803+target_alias
804+INSTALL_PROGRAM
805+INSTALL_SCRIPT
806+INSTALL_DATA
807+am__isrc
808+CYGPATH_W
809+PACKAGE
810+VERSION
811+ACLOCAL
812+AUTOCONF
813+AUTOMAKE
814+AUTOHEADER
815+MAKEINFO
816+install_sh
817+STRIP
818+INSTALL_STRIP_PROGRAM
819+mkdir_p
820+AWK
821+SET_MAKE
822+am__leading_dot
823+AMTAR
824+am__tar
825+am__untar
826+CXX
827+CXXFLAGS
828+LDFLAGS
829+CPPFLAGS
830+ac_ct_CXX
831+EXEEXT
832+OBJEXT
833+DEPDIR
834+am__include
835+am__quote
836+AMDEP_TRUE
837+AMDEP_FALSE
838+AMDEPBACKSLASH
839+CXXDEPMODE
840+am__fastdepCXX_TRUE
841+am__fastdepCXX_FALSE
842+CC
843+CFLAGS
844+ac_ct_CC
845+CCDEPMODE
846+am__fastdepCC_TRUE
847+am__fastdepCC_FALSE
848+LIBTOOL
849+build
850+build_cpu
851+build_vendor
852+build_os
853+host
854+host_cpu
855+host_vendor
856+host_os
857+SED
858+GREP
859+EGREP
860+FGREP
861+LD
862+DUMPBIN
863+ac_ct_DUMPBIN
864+NM
865+LN_S
866+OBJDUMP
867+AR
868+RANLIB
869+lt_ECHO
870+DSYMUTIL
871+NMEDIT
872+LIPO
873+OTOOL
874+OTOOL64
875+CPP
876+CXXCPP
877+INSTALL_LIBS
878+LIBOBJS
879+LTLIBOBJS'
880+ac_subst_files=''
881+ ac_precious_vars='build_alias
882+host_alias
883+target_alias
884+CXX
885+CXXFLAGS
886+LDFLAGS
887+LIBS
888+CPPFLAGS
889+CCC
890+CC
891+CFLAGS
892+CPP
893+CXXCPP'
894+
895+
896+# Initialize some variables set by options.
897+ac_init_help=
898+ac_init_version=false
899+# The variables have the same names as the options, with
900+# dashes changed to underlines.
901+cache_file=/dev/null
902+exec_prefix=NONE
903+no_create=
904+no_recursion=
905+prefix=NONE
906+program_prefix=NONE
907+program_suffix=NONE
908+program_transform_name=s,x,x,
909+silent=
910+site=
911+srcdir=
912+verbose=
913+x_includes=NONE
914+x_libraries=NONE
915+
916+# Installation directory options.
917+# These are left unexpanded so users can "make install exec_prefix=/foo"
918+# and all the variables that are supposed to be based on exec_prefix
919+# by default will actually change.
920+# Use braces instead of parens because sh, perl, etc. also accept them.
921+# (The list follows the same order as the GNU Coding Standards.)
922+bindir='${exec_prefix}/bin'
923+sbindir='${exec_prefix}/sbin'
924+libexecdir='${exec_prefix}/libexec'
925+datarootdir='${prefix}/share'
926+datadir='${datarootdir}'
927+sysconfdir='${prefix}/etc'
928+sharedstatedir='${prefix}/com'
929+localstatedir='${prefix}/var'
930+includedir='${prefix}/include'
931+oldincludedir='/usr/include'
932+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
933+infodir='${datarootdir}/info'
934+htmldir='${docdir}'
935+dvidir='${docdir}'
936+pdfdir='${docdir}'
937+psdir='${docdir}'
938+libdir='${exec_prefix}/lib'
939+localedir='${datarootdir}/locale'
940+mandir='${datarootdir}/man'
941+
942+ac_prev=
943+ac_dashdash=
944+for ac_option
945+do
946+ # If the previous option needs an argument, assign it.
947+ if test -n "$ac_prev"; then
948+ eval $ac_prev=\$ac_option
949+ ac_prev=
950+ continue
951+ fi
952+
953+ case $ac_option in
954+ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
955+ *) ac_optarg=yes ;;
956+ esac
957+
958+ # Accept the important Cygnus configure options, so we can diagnose typos.
959+
960+ case $ac_dashdash$ac_option in
961+ --)
962+ ac_dashdash=yes ;;
963+
964+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
965+ ac_prev=bindir ;;
966+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
967+ bindir=$ac_optarg ;;
968+
969+ -build | --build | --buil | --bui | --bu)
970+ ac_prev=build_alias ;;
971+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
972+ build_alias=$ac_optarg ;;
973+
974+ -cache-file | --cache-file | --cache-fil | --cache-fi \
975+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
976+ ac_prev=cache_file ;;
977+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
978+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
979+ cache_file=$ac_optarg ;;
980+
981+ --config-cache | -C)
982+ cache_file=config.cache ;;
983+
984+ -datadir | --datadir | --datadi | --datad)
985+ ac_prev=datadir ;;
986+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
987+ datadir=$ac_optarg ;;
988+
989+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
990+ | --dataroo | --dataro | --datar)
991+ ac_prev=datarootdir ;;
992+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
993+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
994+ datarootdir=$ac_optarg ;;
995+
996+ -disable-* | --disable-*)
997+ ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
998+ # Reject names that are not valid shell variable names.
999+ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1000+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1001+ { (exit 1); exit 1; }; }
1002+ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1003+ eval enable_$ac_feature=no ;;
1004+
1005+ -docdir | --docdir | --docdi | --doc | --do)
1006+ ac_prev=docdir ;;
1007+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1008+ docdir=$ac_optarg ;;
1009+
1010+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1011+ ac_prev=dvidir ;;
1012+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1013+ dvidir=$ac_optarg ;;
1014+
1015+ -enable-* | --enable-*)
1016+ ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1017+ # Reject names that are not valid shell variable names.
1018+ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1019+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1020+ { (exit 1); exit 1; }; }
1021+ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1022+ eval enable_$ac_feature=\$ac_optarg ;;
1023+
1024+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1025+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1026+ | --exec | --exe | --ex)
1027+ ac_prev=exec_prefix ;;
1028+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1029+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1030+ | --exec=* | --exe=* | --ex=*)
1031+ exec_prefix=$ac_optarg ;;
1032+
1033+ -gas | --gas | --ga | --g)
1034+ # Obsolete; use --with-gas.
1035+ with_gas=yes ;;
1036+
1037+ -help | --help | --hel | --he | -h)
1038+ ac_init_help=long ;;
1039+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1040+ ac_init_help=recursive ;;
1041+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1042+ ac_init_help=short ;;
1043+
1044+ -host | --host | --hos | --ho)
1045+ ac_prev=host_alias ;;
1046+ -host=* | --host=* | --hos=* | --ho=*)
1047+ host_alias=$ac_optarg ;;
1048+
1049+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1050+ ac_prev=htmldir ;;
1051+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1052+ | --ht=*)
1053+ htmldir=$ac_optarg ;;
1054+
1055+ -includedir | --includedir | --includedi | --included | --include \
1056+ | --includ | --inclu | --incl | --inc)
1057+ ac_prev=includedir ;;
1058+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1059+ | --includ=* | --inclu=* | --incl=* | --inc=*)
1060+ includedir=$ac_optarg ;;
1061+
1062+ -infodir | --infodir | --infodi | --infod | --info | --inf)
1063+ ac_prev=infodir ;;
1064+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1065+ infodir=$ac_optarg ;;
1066+
1067+ -libdir | --libdir | --libdi | --libd)
1068+ ac_prev=libdir ;;
1069+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
1070+ libdir=$ac_optarg ;;
1071+
1072+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1073+ | --libexe | --libex | --libe)
1074+ ac_prev=libexecdir ;;
1075+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1076+ | --libexe=* | --libex=* | --libe=*)
1077+ libexecdir=$ac_optarg ;;
1078+
1079+ -localedir | --localedir | --localedi | --localed | --locale)
1080+ ac_prev=localedir ;;
1081+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1082+ localedir=$ac_optarg ;;
1083+
1084+ -localstatedir | --localstatedir | --localstatedi | --localstated \
1085+ | --localstate | --localstat | --localsta | --localst | --locals)
1086+ ac_prev=localstatedir ;;
1087+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1088+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1089+ localstatedir=$ac_optarg ;;
1090+
1091+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1092+ ac_prev=mandir ;;
1093+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1094+ mandir=$ac_optarg ;;
1095+
1096+ -nfp | --nfp | --nf)
1097+ # Obsolete; use --without-fp.
1098+ with_fp=no ;;
1099+
1100+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1101+ | --no-cr | --no-c | -n)
1102+ no_create=yes ;;
1103+
1104+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1105+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1106+ no_recursion=yes ;;
1107+
1108+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1109+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1110+ | --oldin | --oldi | --old | --ol | --o)
1111+ ac_prev=oldincludedir ;;
1112+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1113+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1114+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1115+ oldincludedir=$ac_optarg ;;
1116+
1117+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1118+ ac_prev=prefix ;;
1119+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1120+ prefix=$ac_optarg ;;
1121+
1122+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
1123+ | --program-pre | --program-pr | --program-p)
1124+ ac_prev=program_prefix ;;
1125+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
1126+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1127+ program_prefix=$ac_optarg ;;
1128+
1129+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
1130+ | --program-suf | --program-su | --program-s)
1131+ ac_prev=program_suffix ;;
1132+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
1133+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1134+ program_suffix=$ac_optarg ;;
1135+
1136+ -program-transform-name | --program-transform-name \
1137+ | --program-transform-nam | --program-transform-na \
1138+ | --program-transform-n | --program-transform- \
1139+ | --program-transform | --program-transfor \
1140+ | --program-transfo | --program-transf \
1141+ | --program-trans | --program-tran \
1142+ | --progr-tra | --program-tr | --program-t)
1143+ ac_prev=program_transform_name ;;
1144+ -program-transform-name=* | --program-transform-name=* \
1145+ | --program-transform-nam=* | --program-transform-na=* \
1146+ | --program-transform-n=* | --program-transform-=* \
1147+ | --program-transform=* | --program-transfor=* \
1148+ | --program-transfo=* | --program-transf=* \
1149+ | --program-trans=* | --program-tran=* \
1150+ | --progr-tra=* | --program-tr=* | --program-t=*)
1151+ program_transform_name=$ac_optarg ;;
1152+
1153+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1154+ ac_prev=pdfdir ;;
1155+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1156+ pdfdir=$ac_optarg ;;
1157+
1158+ -psdir | --psdir | --psdi | --psd | --ps)
1159+ ac_prev=psdir ;;
1160+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1161+ psdir=$ac_optarg ;;
1162+
1163+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1164+ | -silent | --silent | --silen | --sile | --sil)
1165+ silent=yes ;;
1166+
1167+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1168+ ac_prev=sbindir ;;
1169+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1170+ | --sbi=* | --sb=*)
1171+ sbindir=$ac_optarg ;;
1172+
1173+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
1174+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1175+ | --sharedst | --shareds | --shared | --share | --shar \
1176+ | --sha | --sh)
1177+ ac_prev=sharedstatedir ;;
1178+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1179+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1180+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1181+ | --sha=* | --sh=*)
1182+ sharedstatedir=$ac_optarg ;;
1183+
1184+ -site | --site | --sit)
1185+ ac_prev=site ;;
1186+ -site=* | --site=* | --sit=*)
1187+ site=$ac_optarg ;;
1188+
1189+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1190+ ac_prev=srcdir ;;
1191+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1192+ srcdir=$ac_optarg ;;
1193+
1194+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1195+ | --syscon | --sysco | --sysc | --sys | --sy)
1196+ ac_prev=sysconfdir ;;
1197+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1198+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1199+ sysconfdir=$ac_optarg ;;
1200+
1201+ -target | --target | --targe | --targ | --tar | --ta | --t)
1202+ ac_prev=target_alias ;;
1203+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1204+ target_alias=$ac_optarg ;;
1205+
1206+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
1207+ verbose=yes ;;
1208+
1209+ -version | --version | --versio | --versi | --vers | -V)
1210+ ac_init_version=: ;;
1211+
1212+ -with-* | --with-*)
1213+ ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1214+ # Reject names that are not valid shell variable names.
1215+ expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1216+ { echo "$as_me: error: invalid package name: $ac_package" >&2
1217+ { (exit 1); exit 1; }; }
1218+ ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1219+ eval with_$ac_package=\$ac_optarg ;;
1220+
1221+ -without-* | --without-*)
1222+ ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1223+ # Reject names that are not valid shell variable names.
1224+ expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1225+ { echo "$as_me: error: invalid package name: $ac_package" >&2
1226+ { (exit 1); exit 1; }; }
1227+ ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1228+ eval with_$ac_package=no ;;
1229+
1230+ --x)
1231+ # Obsolete; use --with-x.
1232+ with_x=yes ;;
1233+
1234+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1235+ | --x-incl | --x-inc | --x-in | --x-i)
1236+ ac_prev=x_includes ;;
1237+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1238+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1239+ x_includes=$ac_optarg ;;
1240+
1241+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
1242+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1243+ ac_prev=x_libraries ;;
1244+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1245+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1246+ x_libraries=$ac_optarg ;;
1247+
1248+ -*) { echo "$as_me: error: unrecognized option: $ac_option
1249+Try \`$0 --help' for more information." >&2
1250+ { (exit 1); exit 1; }; }
1251+ ;;
1252+
1253+ *=*)
1254+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1255+ # Reject names that are not valid shell variable names.
1256+ expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1257+ { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1258+ { (exit 1); exit 1; }; }
1259+ eval $ac_envvar=\$ac_optarg
1260+ export $ac_envvar ;;
1261+
1262+ *)
1263+ # FIXME: should be removed in autoconf 3.0.
1264+ echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1265+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1266+ echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1267+ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1268+ ;;
1269+
1270+ esac
1271+done
1272+
1273+if test -n "$ac_prev"; then
1274+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1275+ { echo "$as_me: error: missing argument to $ac_option" >&2
1276+ { (exit 1); exit 1; }; }
1277+fi
1278+
1279+# Be sure to have absolute directory names.
1280+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1281+ datadir sysconfdir sharedstatedir localstatedir includedir \
1282+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1283+ libdir localedir mandir
1284+do
1285+ eval ac_val=\$$ac_var
1286+ case $ac_val in
1287+ [\\/$]* | ?:[\\/]* ) continue;;
1288+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1289+ esac
1290+ { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1291+ { (exit 1); exit 1; }; }
1292+done
1293+
1294+# There might be people who depend on the old broken behavior: `$host'
1295+# used to hold the argument of --host etc.
1296+# FIXME: To remove some day.
1297+build=$build_alias
1298+host=$host_alias
1299+target=$target_alias
1300+
1301+# FIXME: To remove some day.
1302+if test "x$host_alias" != x; then
1303+ if test "x$build_alias" = x; then
1304+ cross_compiling=maybe
1305+ echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1306+ If a cross compiler is detected then cross compile mode will be used." >&2
1307+ elif test "x$build_alias" != "x$host_alias"; then
1308+ cross_compiling=yes
1309+ fi
1310+fi
1311+
1312+ac_tool_prefix=
1313+test -n "$host_alias" && ac_tool_prefix=$host_alias-
1314+
1315+test "$silent" = yes && exec 6>/dev/null
1316+
1317+
1318+ac_pwd=`pwd` && test -n "$ac_pwd" &&
1319+ac_ls_di=`ls -di .` &&
1320+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1321+ { echo "$as_me: error: Working directory cannot be determined" >&2
1322+ { (exit 1); exit 1; }; }
1323+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324+ { echo "$as_me: error: pwd does not report name of working directory" >&2
1325+ { (exit 1); exit 1; }; }
1326+
1327+
1328+# Find the source files, if location was not specified.
1329+if test -z "$srcdir"; then
1330+ ac_srcdir_defaulted=yes
1331+ # Try the directory containing this script, then the parent directory.
1332+ ac_confdir=`$as_dirname -- "$0" ||
1333+$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1334+ X"$0" : 'X\(//\)[^/]' \| \
1335+ X"$0" : 'X\(//\)$' \| \
1336+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1337+echo X"$0" |
1338+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1339+ s//\1/
1340+ q
1341+ }
1342+ /^X\(\/\/\)[^/].*/{
1343+ s//\1/
1344+ q
1345+ }
1346+ /^X\(\/\/\)$/{
1347+ s//\1/
1348+ q
1349+ }
1350+ /^X\(\/\).*/{
1351+ s//\1/
1352+ q
1353+ }
1354+ s/.*/./; q'`
1355+ srcdir=$ac_confdir
1356+ if test ! -r "$srcdir/$ac_unique_file"; then
1357+ srcdir=..
1358+ fi
1359+else
1360+ ac_srcdir_defaulted=no
1361+fi
1362+if test ! -r "$srcdir/$ac_unique_file"; then
1363+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1364+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1365+ { (exit 1); exit 1; }; }
1366+fi
1367+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1368+ac_abs_confdir=`(
1369+ cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1370+ { (exit 1); exit 1; }; }
1371+ pwd)`
1372+# When building in place, set srcdir=.
1373+if test "$ac_abs_confdir" = "$ac_pwd"; then
1374+ srcdir=.
1375+fi
1376+# Remove unnecessary trailing slashes from srcdir.
1377+# Double slashes in file names in object file debugging info
1378+# mess up M-x gdb in Emacs.
1379+case $srcdir in
1380+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1381+esac
1382+for ac_var in $ac_precious_vars; do
1383+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
1384+ eval ac_env_${ac_var}_value=\$${ac_var}
1385+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1386+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
1387+done
1388+
1389+#
1390+# Report the --help message.
1391+#
1392+if test "$ac_init_help" = "long"; then
1393+ # Omit some internal or obsolete options to make the list less imposing.
1394+ # This message is too long to be a string in the A/UX 3.1 sh.
1395+ cat <<_ACEOF
1396+\`configure' configures urg_cpp 0.0.1 to adapt to many kinds of systems.
1397+
1398+Usage: $0 [OPTION]... [VAR=VALUE]...
1399+
1400+To assign environment variables (e.g., CC, CFLAGS...), specify them as
1401+VAR=VALUE. See below for descriptions of some of the useful variables.
1402+
1403+Defaults for the options are specified in brackets.
1404+
1405+Configuration:
1406+ -h, --help display this help and exit
1407+ --help=short display options specific to this package
1408+ --help=recursive display the short help of all the included packages
1409+ -V, --version display version information and exit
1410+ -q, --quiet, --silent do not print \`checking...' messages
1411+ --cache-file=FILE cache test results in FILE [disabled]
1412+ -C, --config-cache alias for \`--cache-file=config.cache'
1413+ -n, --no-create do not create output files
1414+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
1415+
1416+Installation directories:
1417+ --prefix=PREFIX install architecture-independent files in PREFIX
1418+ [$ac_default_prefix]
1419+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1420+ [PREFIX]
1421+
1422+By default, \`make install' will install all the files in
1423+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1424+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1425+for instance \`--prefix=\$HOME'.
1426+
1427+For better control, use the options below.
1428+
1429+Fine tuning of the installation directories:
1430+ --bindir=DIR user executables [EPREFIX/bin]
1431+ --sbindir=DIR system admin executables [EPREFIX/sbin]
1432+ --libexecdir=DIR program executables [EPREFIX/libexec]
1433+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1434+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1435+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1436+ --libdir=DIR object code libraries [EPREFIX/lib]
1437+ --includedir=DIR C header files [PREFIX/include]
1438+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
1439+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1440+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1441+ --infodir=DIR info documentation [DATAROOTDIR/info]
1442+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1443+ --mandir=DIR man documentation [DATAROOTDIR/man]
1444+ --docdir=DIR documentation root [DATAROOTDIR/doc/urg_cpp]
1445+ --htmldir=DIR html documentation [DOCDIR]
1446+ --dvidir=DIR dvi documentation [DOCDIR]
1447+ --pdfdir=DIR pdf documentation [DOCDIR]
1448+ --psdir=DIR ps documentation [DOCDIR]
1449+_ACEOF
1450+
1451+ cat <<\_ACEOF
1452+
1453+Program names:
1454+ --program-prefix=PREFIX prepend PREFIX to installed program names
1455+ --program-suffix=SUFFIX append SUFFIX to installed program names
1456+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1457+
1458+System types:
1459+ --build=BUILD configure for building on BUILD [guessed]
1460+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
1461+_ACEOF
1462+fi
1463+
1464+if test -n "$ac_init_help"; then
1465+ case $ac_init_help in
1466+ short | recursive ) echo "Configuration of urg_cpp 0.0.1:";;
1467+ esac
1468+ cat <<\_ACEOF
1469+
1470+Optional Features:
1471+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1472+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1473+ --disable-dependency-tracking speeds up one-time build
1474+ --enable-dependency-tracking do not reject slow dependency extractors
1475+ --enable-shared[=PKGS] build shared libraries [default=yes]
1476+ --enable-static[=PKGS] build static libraries [default=yes]
1477+ --enable-fast-install[=PKGS]
1478+ optimize for fast installation [default=yes]
1479+ --disable-libtool-lock avoid locking (might break parallel builds)
1480+
1481+Optional Packages:
1482+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1483+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1484+ --with-pic try to use only PIC/non-PIC objects [default=use
1485+ both]
1486+ --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1487+
1488+Some influential environment variables:
1489+ CXX C++ compiler command
1490+ CXXFLAGS C++ compiler flags
1491+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1492+ nonstandard directory <lib dir>
1493+ LIBS libraries to pass to the linker, e.g. -l<library>
1494+ CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1495+ you have headers in a nonstandard directory <include dir>
1496+ CC C compiler command
1497+ CFLAGS C compiler flags
1498+ CPP C preprocessor
1499+ CXXCPP C++ preprocessor
1500+
1501+Use these variables to override the choices made by `configure' or to help
1502+it to find libraries and programs with nonstandard names/locations.
1503+
1504+Report bugs to <satofumi@users.sourceforge.jp>.
1505+_ACEOF
1506+ac_status=$?
1507+fi
1508+
1509+if test "$ac_init_help" = "recursive"; then
1510+ # If there are subdirs, report their specific --help.
1511+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1512+ test -d "$ac_dir" || continue
1513+ ac_builddir=.
1514+
1515+case "$ac_dir" in
1516+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1517+*)
1518+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1519+ # A ".." for each directory in $ac_dir_suffix.
1520+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1521+ case $ac_top_builddir_sub in
1522+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1523+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1524+ esac ;;
1525+esac
1526+ac_abs_top_builddir=$ac_pwd
1527+ac_abs_builddir=$ac_pwd$ac_dir_suffix
1528+# for backward compatibility:
1529+ac_top_builddir=$ac_top_build_prefix
1530+
1531+case $srcdir in
1532+ .) # We are building in place.
1533+ ac_srcdir=.
1534+ ac_top_srcdir=$ac_top_builddir_sub
1535+ ac_abs_top_srcdir=$ac_pwd ;;
1536+ [\\/]* | ?:[\\/]* ) # Absolute name.
1537+ ac_srcdir=$srcdir$ac_dir_suffix;
1538+ ac_top_srcdir=$srcdir
1539+ ac_abs_top_srcdir=$srcdir ;;
1540+ *) # Relative name.
1541+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1542+ ac_top_srcdir=$ac_top_build_prefix$srcdir
1543+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1544+esac
1545+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1546+
1547+ cd "$ac_dir" || { ac_status=$?; continue; }
1548+ # Check for guested configure.
1549+ if test -f "$ac_srcdir/configure.gnu"; then
1550+ echo &&
1551+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1552+ elif test -f "$ac_srcdir/configure"; then
1553+ echo &&
1554+ $SHELL "$ac_srcdir/configure" --help=recursive
1555+ else
1556+ echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1557+ fi || ac_status=$?
1558+ cd "$ac_pwd" || { ac_status=$?; break; }
1559+ done
1560+fi
1561+
1562+test -n "$ac_init_help" && exit $ac_status
1563+if $ac_init_version; then
1564+ cat <<\_ACEOF
1565+urg_cpp configure 0.0.1
1566+generated by GNU Autoconf 2.61
1567+
1568+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1569+2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1570+This configure script is free software; the Free Software Foundation
1571+gives unlimited permission to copy, distribute and modify it.
1572+_ACEOF
1573+ exit
1574+fi
1575+cat >config.log <<_ACEOF
1576+This file contains any messages produced by compilers while
1577+running configure, to aid debugging if configure makes a mistake.
1578+
1579+It was created by urg_cpp $as_me 0.0.1, which was
1580+generated by GNU Autoconf 2.61. Invocation command line was
1581+
1582+ $ $0 $@
1583+
1584+_ACEOF
1585+exec 5>>config.log
1586+{
1587+cat <<_ASUNAME
1588+## --------- ##
1589+## Platform. ##
1590+## --------- ##
1591+
1592+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1593+uname -m = `(uname -m) 2>/dev/null || echo unknown`
1594+uname -r = `(uname -r) 2>/dev/null || echo unknown`
1595+uname -s = `(uname -s) 2>/dev/null || echo unknown`
1596+uname -v = `(uname -v) 2>/dev/null || echo unknown`
1597+
1598+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1599+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1600+
1601+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1602+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1603+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1604+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1605+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1606+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1607+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1608+
1609+_ASUNAME
1610+
1611+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1612+for as_dir in $PATH
1613+do
1614+ IFS=$as_save_IFS
1615+ test -z "$as_dir" && as_dir=.
1616+ echo "PATH: $as_dir"
1617+done
1618+IFS=$as_save_IFS
1619+
1620+} >&5
1621+
1622+cat >&5 <<_ACEOF
1623+
1624+
1625+## ----------- ##
1626+## Core tests. ##
1627+## ----------- ##
1628+
1629+_ACEOF
1630+
1631+
1632+# Keep a trace of the command line.
1633+# Strip out --no-create and --no-recursion so they do not pile up.
1634+# Strip out --silent because we don't want to record it for future runs.
1635+# Also quote any args containing shell meta-characters.
1636+# Make two passes to allow for proper duplicate-argument suppression.
1637+ac_configure_args=
1638+ac_configure_args0=
1639+ac_configure_args1=
1640+ac_must_keep_next=false
1641+for ac_pass in 1 2
1642+do
1643+ for ac_arg
1644+ do
1645+ case $ac_arg in
1646+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1647+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1648+ | -silent | --silent | --silen | --sile | --sil)
1649+ continue ;;
1650+ *\'*)
1651+ ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1652+ esac
1653+ case $ac_pass in
1654+ 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1655+ 2)
1656+ ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1657+ if test $ac_must_keep_next = true; then
1658+ ac_must_keep_next=false # Got value, back to normal.
1659+ else
1660+ case $ac_arg in
1661+ *=* | --config-cache | -C | -disable-* | --disable-* \
1662+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1663+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1664+ | -with-* | --with-* | -without-* | --without-* | --x)
1665+ case "$ac_configure_args0 " in
1666+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1667+ esac
1668+ ;;
1669+ -* ) ac_must_keep_next=true ;;
1670+ esac
1671+ fi
1672+ ac_configure_args="$ac_configure_args '$ac_arg'"
1673+ ;;
1674+ esac
1675+ done
1676+done
1677+$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1678+$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1679+
1680+# When interrupted or exit'd, cleanup temporary files, and complete
1681+# config.log. We remove comments because anyway the quotes in there
1682+# would cause problems or look ugly.
1683+# WARNING: Use '\'' to represent an apostrophe within the trap.
1684+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1685+trap 'exit_status=$?
1686+ # Save into config.log some information that might help in debugging.
1687+ {
1688+ echo
1689+
1690+ cat <<\_ASBOX
1691+## ---------------- ##
1692+## Cache variables. ##
1693+## ---------------- ##
1694+_ASBOX
1695+ echo
1696+ # The following way of writing the cache mishandles newlines in values,
1697+(
1698+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1699+ eval ac_val=\$$ac_var
1700+ case $ac_val in #(
1701+ *${as_nl}*)
1702+ case $ac_var in #(
1703+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1704+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1705+ esac
1706+ case $ac_var in #(
1707+ _ | IFS | as_nl) ;; #(
1708+ *) $as_unset $ac_var ;;
1709+ esac ;;
1710+ esac
1711+ done
1712+ (set) 2>&1 |
1713+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1714+ *${as_nl}ac_space=\ *)
1715+ sed -n \
1716+ "s/'\''/'\''\\\\'\'''\''/g;
1717+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1718+ ;; #(
1719+ *)
1720+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1721+ ;;
1722+ esac |
1723+ sort
1724+)
1725+ echo
1726+
1727+ cat <<\_ASBOX
1728+## ----------------- ##
1729+## Output variables. ##
1730+## ----------------- ##
1731+_ASBOX
1732+ echo
1733+ for ac_var in $ac_subst_vars
1734+ do
1735+ eval ac_val=\$$ac_var
1736+ case $ac_val in
1737+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1738+ esac
1739+ echo "$ac_var='\''$ac_val'\''"
1740+ done | sort
1741+ echo
1742+
1743+ if test -n "$ac_subst_files"; then
1744+ cat <<\_ASBOX
1745+## ------------------- ##
1746+## File substitutions. ##
1747+## ------------------- ##
1748+_ASBOX
1749+ echo
1750+ for ac_var in $ac_subst_files
1751+ do
1752+ eval ac_val=\$$ac_var
1753+ case $ac_val in
1754+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1755+ esac
1756+ echo "$ac_var='\''$ac_val'\''"
1757+ done | sort
1758+ echo
1759+ fi
1760+
1761+ if test -s confdefs.h; then
1762+ cat <<\_ASBOX
1763+## ----------- ##
1764+## confdefs.h. ##
1765+## ----------- ##
1766+_ASBOX
1767+ echo
1768+ cat confdefs.h
1769+ echo
1770+ fi
1771+ test "$ac_signal" != 0 &&
1772+ echo "$as_me: caught signal $ac_signal"
1773+ echo "$as_me: exit $exit_status"
1774+ } >&5
1775+ rm -f core *.core core.conftest.* &&
1776+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1777+ exit $exit_status
1778+' 0
1779+for ac_signal in 1 2 13 15; do
1780+ trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1781+done
1782+ac_signal=0
1783+
1784+# confdefs.h avoids OS command line length limits that DEFS can exceed.
1785+rm -f -r conftest* confdefs.h
1786+
1787+# Predefined preprocessor variables.
1788+
1789+cat >>confdefs.h <<_ACEOF
1790+#define PACKAGE_NAME "$PACKAGE_NAME"
1791+_ACEOF
1792+
1793+
1794+cat >>confdefs.h <<_ACEOF
1795+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1796+_ACEOF
1797+
1798+
1799+cat >>confdefs.h <<_ACEOF
1800+#define PACKAGE_VERSION "$PACKAGE_VERSION"
1801+_ACEOF
1802+
1803+
1804+cat >>confdefs.h <<_ACEOF
1805+#define PACKAGE_STRING "$PACKAGE_STRING"
1806+_ACEOF
1807+
1808+
1809+cat >>confdefs.h <<_ACEOF
1810+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1811+_ACEOF
1812+
1813+
1814+# Let the site file select an alternate cache file if it wants to.
1815+# Prefer explicitly selected file to automatically selected ones.
1816+if test -n "$CONFIG_SITE"; then
1817+ set x "$CONFIG_SITE"
1818+elif test "x$prefix" != xNONE; then
1819+ set x "$prefix/share/config.site" "$prefix/etc/config.site"
1820+else
1821+ set x "$ac_default_prefix/share/config.site" \
1822+ "$ac_default_prefix/etc/config.site"
1823+fi
1824+shift
1825+for ac_site_file
1826+do
1827+ if test -r "$ac_site_file"; then
1828+ { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1829+echo "$as_me: loading site script $ac_site_file" >&6;}
1830+ sed 's/^/| /' "$ac_site_file" >&5
1831+ . "$ac_site_file"
1832+ fi
1833+done
1834+
1835+if test -r "$cache_file"; then
1836+ # Some versions of bash will fail to source /dev/null (special
1837+ # files actually), so we avoid doing that.
1838+ if test -f "$cache_file"; then
1839+ { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1840+echo "$as_me: loading cache $cache_file" >&6;}
1841+ case $cache_file in
1842+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
1843+ *) . "./$cache_file";;
1844+ esac
1845+ fi
1846+else
1847+ { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1848+echo "$as_me: creating cache $cache_file" >&6;}
1849+ >$cache_file
1850+fi
1851+
1852+# Check that the precious variables saved in the cache have kept the same
1853+# value.
1854+ac_cache_corrupted=false
1855+for ac_var in $ac_precious_vars; do
1856+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
1857+ eval ac_new_set=\$ac_env_${ac_var}_set
1858+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
1859+ eval ac_new_val=\$ac_env_${ac_var}_value
1860+ case $ac_old_set,$ac_new_set in
1861+ set,)
1862+ { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1863+echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1864+ ac_cache_corrupted=: ;;
1865+ ,set)
1866+ { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1867+echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1868+ ac_cache_corrupted=: ;;
1869+ ,);;
1870+ *)
1871+ if test "x$ac_old_val" != "x$ac_new_val"; then
1872+ { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1873+echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1874+ { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1875+echo "$as_me: former value: $ac_old_val" >&2;}
1876+ { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1877+echo "$as_me: current value: $ac_new_val" >&2;}
1878+ ac_cache_corrupted=:
1879+ fi;;
1880+ esac
1881+ # Pass precious variables to config.status.
1882+ if test "$ac_new_set" = set; then
1883+ case $ac_new_val in
1884+ *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1885+ *) ac_arg=$ac_var=$ac_new_val ;;
1886+ esac
1887+ case " $ac_configure_args " in
1888+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1889+ *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1890+ esac
1891+ fi
1892+done
1893+if $ac_cache_corrupted; then
1894+ { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1895+echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1896+ { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1897+echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1898+ { (exit 1); exit 1; }; }
1899+fi
1900+
1901+
1902+
1903+
1904+
1905+
1906+
1907+
1908+
1909+
1910+
1911+
1912+
1913+
1914+
1915+
1916+
1917+
1918+
1919+
1920+
1921+
1922+
1923+
1924+
1925+ac_ext=c
1926+ac_cpp='$CPP $CPPFLAGS'
1927+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1928+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1929+ac_compiler_gnu=$ac_cv_c_compiler_gnu
1930+
1931+
1932+am__api_version='1.10'
1933+
1934+ac_aux_dir=
1935+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1936+ if test -f "$ac_dir/install-sh"; then
1937+ ac_aux_dir=$ac_dir
1938+ ac_install_sh="$ac_aux_dir/install-sh -c"
1939+ break
1940+ elif test -f "$ac_dir/install.sh"; then
1941+ ac_aux_dir=$ac_dir
1942+ ac_install_sh="$ac_aux_dir/install.sh -c"
1943+ break
1944+ elif test -f "$ac_dir/shtool"; then
1945+ ac_aux_dir=$ac_dir
1946+ ac_install_sh="$ac_aux_dir/shtool install -c"
1947+ break
1948+ fi
1949+done
1950+if test -z "$ac_aux_dir"; then
1951+ { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1952+echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1953+ { (exit 1); exit 1; }; }
1954+fi
1955+
1956+# These three variables are undocumented and unsupported,
1957+# and are intended to be withdrawn in a future Autoconf release.
1958+# They can cause serious problems if a builder's source tree is in a directory
1959+# whose full name contains unusual characters.
1960+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1961+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1962+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1963+
1964+
1965+# Find a good install program. We prefer a C program (faster),
1966+# so one script is as good as another. But avoid the broken or
1967+# incompatible versions:
1968+# SysV /etc/install, /usr/sbin/install
1969+# SunOS /usr/etc/install
1970+# IRIX /sbin/install
1971+# AIX /bin/install
1972+# AmigaOS /C/install, which installs bootblocks on floppy discs
1973+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1974+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1975+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1976+# OS/2's system install, which has a completely different semantic
1977+# ./install, which can be erroneously created by make from ./install.sh.
1978+{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1979+echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1980+if test -z "$INSTALL"; then
1981+if test "${ac_cv_path_install+set}" = set; then
1982+ echo $ECHO_N "(cached) $ECHO_C" >&6
1983+else
1984+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985+for as_dir in $PATH
1986+do
1987+ IFS=$as_save_IFS
1988+ test -z "$as_dir" && as_dir=.
1989+ # Account for people who put trailing slashes in PATH elements.
1990+case $as_dir/ in
1991+ ./ | .// | /cC/* | \
1992+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1993+ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1994+ /usr/ucb/* ) ;;
1995+ *)
1996+ # OSF1 and SCO ODT 3.0 have their own names for install.
1997+ # Don't use installbsd from OSF since it installs stuff as root
1998+ # by default.
1999+ for ac_prog in ginstall scoinst install; do
2000+ for ac_exec_ext in '' $ac_executable_extensions; do
2001+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2002+ if test $ac_prog = install &&
2003+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2004+ # AIX install. It has an incompatible calling convention.
2005+ :
2006+ elif test $ac_prog = install &&
2007+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2008+ # program-specific install script used by HP pwplus--don't use.
2009+ :
2010+ else
2011+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2012+ break 3
2013+ fi
2014+ fi
2015+ done
2016+ done
2017+ ;;
2018+esac
2019+done
2020+IFS=$as_save_IFS
2021+
2022+
2023+fi
2024+ if test "${ac_cv_path_install+set}" = set; then
2025+ INSTALL=$ac_cv_path_install
2026+ else
2027+ # As a last resort, use the slow shell script. Don't cache a
2028+ # value for INSTALL within a source directory, because that will
2029+ # break other packages using the cache if that directory is
2030+ # removed, or if the value is a relative name.
2031+ INSTALL=$ac_install_sh
2032+ fi
2033+fi
2034+{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2035+echo "${ECHO_T}$INSTALL" >&6; }
2036+
2037+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2038+# It thinks the first close brace ends the variable substitution.
2039+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2040+
2041+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2042+
2043+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2044+
2045+{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2046+echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2047+# Just in case
2048+sleep 1
2049+echo timestamp > conftest.file
2050+# Do `set' in a subshell so we don't clobber the current shell's
2051+# arguments. Must try -L first in case configure is actually a
2052+# symlink; some systems play weird games with the mod time of symlinks
2053+# (eg FreeBSD returns the mod time of the symlink's containing
2054+# directory).
2055+if (
2056+ set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2057+ if test "$*" = "X"; then
2058+ # -L didn't work.
2059+ set X `ls -t $srcdir/configure conftest.file`
2060+ fi
2061+ rm -f conftest.file
2062+ if test "$*" != "X $srcdir/configure conftest.file" \
2063+ && test "$*" != "X conftest.file $srcdir/configure"; then
2064+
2065+ # If neither matched, then we have a broken ls. This can happen
2066+ # if, for instance, CONFIG_SHELL is bash and it inherits a
2067+ # broken ls alias from the environment. This has actually
2068+ # happened. Such a system could not be considered "sane".
2069+ { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2070+alias in your environment" >&5
2071+echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2072+alias in your environment" >&2;}
2073+ { (exit 1); exit 1; }; }
2074+ fi
2075+
2076+ test "$2" = conftest.file
2077+ )
2078+then
2079+ # Ok.
2080+ :
2081+else
2082+ { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2083+Check your system clock" >&5
2084+echo "$as_me: error: newly created file is older than distributed files!
2085+Check your system clock" >&2;}
2086+ { (exit 1); exit 1; }; }
2087+fi
2088+{ echo "$as_me:$LINENO: result: yes" >&5
2089+echo "${ECHO_T}yes" >&6; }
2090+test "$program_prefix" != NONE &&
2091+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
2092+# Use a double $ so make ignores it.
2093+test "$program_suffix" != NONE &&
2094+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2095+# Double any \ or $. echo might interpret backslashes.
2096+# By default was `s,x,x', remove it if useless.
2097+cat <<\_ACEOF >conftest.sed
2098+s/[\\$]/&&/g;s/;s,x,x,$//
2099+_ACEOF
2100+program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2101+rm -f conftest.sed
2102+
2103+# expand $ac_aux_dir to an absolute path
2104+am_aux_dir=`cd $ac_aux_dir && pwd`
2105+
2106+test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2107+# Use eval to expand $SHELL
2108+if eval "$MISSING --run true"; then
2109+ am_missing_run="$MISSING --run "
2110+else
2111+ am_missing_run=
2112+ { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2113+echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2114+fi
2115+
2116+{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2117+echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2118+if test -z "$MKDIR_P"; then
2119+ if test "${ac_cv_path_mkdir+set}" = set; then
2120+ echo $ECHO_N "(cached) $ECHO_C" >&6
2121+else
2122+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2123+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2124+do
2125+ IFS=$as_save_IFS
2126+ test -z "$as_dir" && as_dir=.
2127+ for ac_prog in mkdir gmkdir; do
2128+ for ac_exec_ext in '' $ac_executable_extensions; do
2129+ { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2130+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2131+ 'mkdir (GNU coreutils) '* | \
2132+ 'mkdir (coreutils) '* | \
2133+ 'mkdir (fileutils) '4.1*)
2134+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2135+ break 3;;
2136+ esac
2137+ done
2138+ done
2139+done
2140+IFS=$as_save_IFS
2141+
2142+fi
2143+
2144+ if test "${ac_cv_path_mkdir+set}" = set; then
2145+ MKDIR_P="$ac_cv_path_mkdir -p"
2146+ else
2147+ # As a last resort, use the slow shell script. Don't cache a
2148+ # value for MKDIR_P within a source directory, because that will
2149+ # break other packages using the cache if that directory is
2150+ # removed, or if the value is a relative name.
2151+ test -d ./--version && rmdir ./--version
2152+ MKDIR_P="$ac_install_sh -d"
2153+ fi
2154+fi
2155+{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2156+echo "${ECHO_T}$MKDIR_P" >&6; }
2157+
2158+mkdir_p="$MKDIR_P"
2159+case $mkdir_p in
2160+ [\\/$]* | ?:[\\/]*) ;;
2161+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2162+esac
2163+
2164+for ac_prog in gawk mawk nawk awk
2165+do
2166+ # Extract the first word of "$ac_prog", so it can be a program name with args.
2167+set dummy $ac_prog; ac_word=$2
2168+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2169+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2170+if test "${ac_cv_prog_AWK+set}" = set; then
2171+ echo $ECHO_N "(cached) $ECHO_C" >&6
2172+else
2173+ if test -n "$AWK"; then
2174+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
2175+else
2176+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177+for as_dir in $PATH
2178+do
2179+ IFS=$as_save_IFS
2180+ test -z "$as_dir" && as_dir=.
2181+ for ac_exec_ext in '' $ac_executable_extensions; do
2182+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2183+ ac_cv_prog_AWK="$ac_prog"
2184+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2185+ break 2
2186+ fi
2187+done
2188+done
2189+IFS=$as_save_IFS
2190+
2191+fi
2192+fi
2193+AWK=$ac_cv_prog_AWK
2194+if test -n "$AWK"; then
2195+ { echo "$as_me:$LINENO: result: $AWK" >&5
2196+echo "${ECHO_T}$AWK" >&6; }
2197+else
2198+ { echo "$as_me:$LINENO: result: no" >&5
2199+echo "${ECHO_T}no" >&6; }
2200+fi
2201+
2202+
2203+ test -n "$AWK" && break
2204+done
2205+
2206+{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2207+echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2208+set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2209+if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2210+ echo $ECHO_N "(cached) $ECHO_C" >&6
2211+else
2212+ cat >conftest.make <<\_ACEOF
2213+SHELL = /bin/sh
2214+all:
2215+ @echo '@@@%%%=$(MAKE)=@@@%%%'
2216+_ACEOF
2217+# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2218+case `${MAKE-make} -f conftest.make 2>/dev/null` in
2219+ *@@@%%%=?*=@@@%%%*)
2220+ eval ac_cv_prog_make_${ac_make}_set=yes;;
2221+ *)
2222+ eval ac_cv_prog_make_${ac_make}_set=no;;
2223+esac
2224+rm -f conftest.make
2225+fi
2226+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2227+ { echo "$as_me:$LINENO: result: yes" >&5
2228+echo "${ECHO_T}yes" >&6; }
2229+ SET_MAKE=
2230+else
2231+ { echo "$as_me:$LINENO: result: no" >&5
2232+echo "${ECHO_T}no" >&6; }
2233+ SET_MAKE="MAKE=${MAKE-make}"
2234+fi
2235+
2236+rm -rf .tst 2>/dev/null
2237+mkdir .tst 2>/dev/null
2238+if test -d .tst; then
2239+ am__leading_dot=.
2240+else
2241+ am__leading_dot=_
2242+fi
2243+rmdir .tst 2>/dev/null
2244+
2245+if test "`cd $srcdir && pwd`" != "`pwd`"; then
2246+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2247+ # is not polluted with repeated "-I."
2248+ am__isrc=' -I$(srcdir)'
2249+ # test to see if srcdir already configured
2250+ if test -f $srcdir/config.status; then
2251+ { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2252+echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2253+ { (exit 1); exit 1; }; }
2254+ fi
2255+fi
2256+
2257+# test whether we have cygpath
2258+if test -z "$CYGPATH_W"; then
2259+ if (cygpath --version) >/dev/null 2>/dev/null; then
2260+ CYGPATH_W='cygpath -w'
2261+ else
2262+ CYGPATH_W=echo
2263+ fi
2264+fi
2265+
2266+
2267+# Define the identity of the package.
2268+ PACKAGE='urg_cpp'
2269+ VERSION='0.0.1'
2270+
2271+
2272+cat >>confdefs.h <<_ACEOF
2273+#define PACKAGE "$PACKAGE"
2274+_ACEOF
2275+
2276+
2277+cat >>confdefs.h <<_ACEOF
2278+#define VERSION "$VERSION"
2279+_ACEOF
2280+
2281+# Some tools Automake needs.
2282+
2283+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2284+
2285+
2286+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2287+
2288+
2289+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2290+
2291+
2292+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2293+
2294+
2295+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2296+
2297+install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2298+
2299+# Installed binaries are usually stripped using `strip' when the user
2300+# run `make install-strip'. However `strip' might not be the right
2301+# tool to use in cross-compilation environments, therefore Automake
2302+# will honor the `STRIP' environment variable to overrule this program.
2303+if test "$cross_compiling" != no; then
2304+ if test -n "$ac_tool_prefix"; then
2305+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2306+set dummy ${ac_tool_prefix}strip; ac_word=$2
2307+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2308+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2309+if test "${ac_cv_prog_STRIP+set}" = set; then
2310+ echo $ECHO_N "(cached) $ECHO_C" >&6
2311+else
2312+ if test -n "$STRIP"; then
2313+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2314+else
2315+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2316+for as_dir in $PATH
2317+do
2318+ IFS=$as_save_IFS
2319+ test -z "$as_dir" && as_dir=.
2320+ for ac_exec_ext in '' $ac_executable_extensions; do
2321+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2322+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2323+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2324+ break 2
2325+ fi
2326+done
2327+done
2328+IFS=$as_save_IFS
2329+
2330+fi
2331+fi
2332+STRIP=$ac_cv_prog_STRIP
2333+if test -n "$STRIP"; then
2334+ { echo "$as_me:$LINENO: result: $STRIP" >&5
2335+echo "${ECHO_T}$STRIP" >&6; }
2336+else
2337+ { echo "$as_me:$LINENO: result: no" >&5
2338+echo "${ECHO_T}no" >&6; }
2339+fi
2340+
2341+
2342+fi
2343+if test -z "$ac_cv_prog_STRIP"; then
2344+ ac_ct_STRIP=$STRIP
2345+ # Extract the first word of "strip", so it can be a program name with args.
2346+set dummy strip; ac_word=$2
2347+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2348+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2349+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2350+ echo $ECHO_N "(cached) $ECHO_C" >&6
2351+else
2352+ if test -n "$ac_ct_STRIP"; then
2353+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2354+else
2355+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356+for as_dir in $PATH
2357+do
2358+ IFS=$as_save_IFS
2359+ test -z "$as_dir" && as_dir=.
2360+ for ac_exec_ext in '' $ac_executable_extensions; do
2361+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2362+ ac_cv_prog_ac_ct_STRIP="strip"
2363+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2364+ break 2
2365+ fi
2366+done
2367+done
2368+IFS=$as_save_IFS
2369+
2370+fi
2371+fi
2372+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2373+if test -n "$ac_ct_STRIP"; then
2374+ { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2375+echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2376+else
2377+ { echo "$as_me:$LINENO: result: no" >&5
2378+echo "${ECHO_T}no" >&6; }
2379+fi
2380+
2381+ if test "x$ac_ct_STRIP" = x; then
2382+ STRIP=":"
2383+ else
2384+ case $cross_compiling:$ac_tool_warned in
2385+yes:)
2386+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2387+whose name does not start with the host triplet. If you think this
2388+configuration is useful to you, please write to autoconf@gnu.org." >&5
2389+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2390+whose name does not start with the host triplet. If you think this
2391+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2392+ac_tool_warned=yes ;;
2393+esac
2394+ STRIP=$ac_ct_STRIP
2395+ fi
2396+else
2397+ STRIP="$ac_cv_prog_STRIP"
2398+fi
2399+
2400+fi
2401+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2402+
2403+# We need awk for the "check" target. The system "awk" is bad on
2404+# some platforms.
2405+# Always define AMTAR for backward compatibility.
2406+
2407+AMTAR=${AMTAR-"${am_missing_run}tar"}
2408+
2409+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2410+
2411+
2412+
2413+
2414+
2415+
2416+ac_config_headers="$ac_config_headers config.h"
2417+
2418+
2419+MAJOR_VERSION=`echo $VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
2420+MINOR_VERSION=`echo $VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
2421+MICRO_VERSION=`echo $VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
2422+
2423+
2424+
2425+
2426+
2427+
2428+cat >>confdefs.h <<_ACEOF
2429+#define MAJOR_VERSION "$MAJOR_VERSION"
2430+_ACEOF
2431+
2432+cat >>confdefs.h <<_ACEOF
2433+#define MINOR_VERSION "$MINOR_VERSION"
2434+_ACEOF
2435+
2436+cat >>confdefs.h <<_ACEOF
2437+#define MICRO_VERSION "$MICRO_VERSION"
2438+_ACEOF
2439+
2440+
2441+# Checks for programs.
2442+ac_ext=cpp
2443+ac_cpp='$CXXCPP $CPPFLAGS'
2444+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2445+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2446+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2447+if test -z "$CXX"; then
2448+ if test -n "$CCC"; then
2449+ CXX=$CCC
2450+ else
2451+ if test -n "$ac_tool_prefix"; then
2452+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2453+ do
2454+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2455+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2456+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2457+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2458+if test "${ac_cv_prog_CXX+set}" = set; then
2459+ echo $ECHO_N "(cached) $ECHO_C" >&6
2460+else
2461+ if test -n "$CXX"; then
2462+ ac_cv_prog_CXX="$CXX" # Let the user override the test.
2463+else
2464+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465+for as_dir in $PATH
2466+do
2467+ IFS=$as_save_IFS
2468+ test -z "$as_dir" && as_dir=.
2469+ for ac_exec_ext in '' $ac_executable_extensions; do
2470+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2471+ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2472+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2473+ break 2
2474+ fi
2475+done
2476+done
2477+IFS=$as_save_IFS
2478+
2479+fi
2480+fi
2481+CXX=$ac_cv_prog_CXX
2482+if test -n "$CXX"; then
2483+ { echo "$as_me:$LINENO: result: $CXX" >&5
2484+echo "${ECHO_T}$CXX" >&6; }
2485+else
2486+ { echo "$as_me:$LINENO: result: no" >&5
2487+echo "${ECHO_T}no" >&6; }
2488+fi
2489+
2490+
2491+ test -n "$CXX" && break
2492+ done
2493+fi
2494+if test -z "$CXX"; then
2495+ ac_ct_CXX=$CXX
2496+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2497+do
2498+ # Extract the first word of "$ac_prog", so it can be a program name with args.
2499+set dummy $ac_prog; ac_word=$2
2500+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2501+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2502+if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2503+ echo $ECHO_N "(cached) $ECHO_C" >&6
2504+else
2505+ if test -n "$ac_ct_CXX"; then
2506+ ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2507+else
2508+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509+for as_dir in $PATH
2510+do
2511+ IFS=$as_save_IFS
2512+ test -z "$as_dir" && as_dir=.
2513+ for ac_exec_ext in '' $ac_executable_extensions; do
2514+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2515+ ac_cv_prog_ac_ct_CXX="$ac_prog"
2516+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2517+ break 2
2518+ fi
2519+done
2520+done
2521+IFS=$as_save_IFS
2522+
2523+fi
2524+fi
2525+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2526+if test -n "$ac_ct_CXX"; then
2527+ { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2528+echo "${ECHO_T}$ac_ct_CXX" >&6; }
2529+else
2530+ { echo "$as_me:$LINENO: result: no" >&5
2531+echo "${ECHO_T}no" >&6; }
2532+fi
2533+
2534+
2535+ test -n "$ac_ct_CXX" && break
2536+done
2537+
2538+ if test "x$ac_ct_CXX" = x; then
2539+ CXX="g++"
2540+ else
2541+ case $cross_compiling:$ac_tool_warned in
2542+yes:)
2543+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2544+whose name does not start with the host triplet. If you think this
2545+configuration is useful to you, please write to autoconf@gnu.org." >&5
2546+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2547+whose name does not start with the host triplet. If you think this
2548+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2549+ac_tool_warned=yes ;;
2550+esac
2551+ CXX=$ac_ct_CXX
2552+ fi
2553+fi
2554+
2555+ fi
2556+fi
2557+# Provide some information about the compiler.
2558+echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2559+ac_compiler=`set X $ac_compile; echo $2`
2560+{ (ac_try="$ac_compiler --version >&5"
2561+case "(($ac_try" in
2562+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2563+ *) ac_try_echo=$ac_try;;
2564+esac
2565+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2566+ (eval "$ac_compiler --version >&5") 2>&5
2567+ ac_status=$?
2568+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569+ (exit $ac_status); }
2570+{ (ac_try="$ac_compiler -v >&5"
2571+case "(($ac_try" in
2572+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2573+ *) ac_try_echo=$ac_try;;
2574+esac
2575+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2576+ (eval "$ac_compiler -v >&5") 2>&5
2577+ ac_status=$?
2578+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579+ (exit $ac_status); }
2580+{ (ac_try="$ac_compiler -V >&5"
2581+case "(($ac_try" in
2582+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583+ *) ac_try_echo=$ac_try;;
2584+esac
2585+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2586+ (eval "$ac_compiler -V >&5") 2>&5
2587+ ac_status=$?
2588+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589+ (exit $ac_status); }
2590+
2591+cat >conftest.$ac_ext <<_ACEOF
2592+/* confdefs.h. */
2593+_ACEOF
2594+cat confdefs.h >>conftest.$ac_ext
2595+cat >>conftest.$ac_ext <<_ACEOF
2596+/* end confdefs.h. */
2597+
2598+int
2599+main ()
2600+{
2601+
2602+ ;
2603+ return 0;
2604+}
2605+_ACEOF
2606+ac_clean_files_save=$ac_clean_files
2607+ac_clean_files="$ac_clean_files a.out a.exe b.out"
2608+# Try to create an executable without -o first, disregard a.out.
2609+# It will help us diagnose broken compilers, and finding out an intuition
2610+# of exeext.
2611+{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2612+echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2613+ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2614+#
2615+# List of possible output files, starting from the most likely.
2616+# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2617+# only as a last resort. b.out is created by i960 compilers.
2618+ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2619+#
2620+# The IRIX 6 linker writes into existing files which may not be
2621+# executable, retaining their permissions. Remove them first so a
2622+# subsequent execution test works.
2623+ac_rmfiles=
2624+for ac_file in $ac_files
2625+do
2626+ case $ac_file in
2627+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2628+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2629+ esac
2630+done
2631+rm -f $ac_rmfiles
2632+
2633+if { (ac_try="$ac_link_default"
2634+case "(($ac_try" in
2635+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2636+ *) ac_try_echo=$ac_try;;
2637+esac
2638+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2639+ (eval "$ac_link_default") 2>&5
2640+ ac_status=$?
2641+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642+ (exit $ac_status); }; then
2643+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2644+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2645+# in a Makefile. We should not override ac_cv_exeext if it was cached,
2646+# so that the user can short-circuit this test for compilers unknown to
2647+# Autoconf.
2648+for ac_file in $ac_files ''
2649+do
2650+ test -f "$ac_file" || continue
2651+ case $ac_file in
2652+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2653+ ;;
2654+ [ab].out )
2655+ # We found the default executable, but exeext='' is most
2656+ # certainly right.
2657+ break;;
2658+ *.* )
2659+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2660+ then :; else
2661+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2662+ fi
2663+ # We set ac_cv_exeext here because the later test for it is not
2664+ # safe: cross compilers may not add the suffix if given an `-o'
2665+ # argument, so we may need to know it at that point already.
2666+ # Even if this section looks crufty: it has the advantage of
2667+ # actually working.
2668+ break;;
2669+ * )
2670+ break;;
2671+ esac
2672+done
2673+test "$ac_cv_exeext" = no && ac_cv_exeext=
2674+
2675+else
2676+ ac_file=''
2677+fi
2678+
2679+{ echo "$as_me:$LINENO: result: $ac_file" >&5
2680+echo "${ECHO_T}$ac_file" >&6; }
2681+if test -z "$ac_file"; then
2682+ echo "$as_me: failed program was:" >&5
2683+sed 's/^/| /' conftest.$ac_ext >&5
2684+
2685+{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2686+See \`config.log' for more details." >&5
2687+echo "$as_me: error: C++ compiler cannot create executables
2688+See \`config.log' for more details." >&2;}
2689+ { (exit 77); exit 77; }; }
2690+fi
2691+
2692+ac_exeext=$ac_cv_exeext
2693+
2694+# Check that the compiler produces executables we can run. If not, either
2695+# the compiler is broken, or we cross compile.
2696+{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2697+echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2698+# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2699+# If not cross compiling, check that we can run a simple program.
2700+if test "$cross_compiling" != yes; then
2701+ if { ac_try='./$ac_file'
2702+ { (case "(($ac_try" in
2703+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2704+ *) ac_try_echo=$ac_try;;
2705+esac
2706+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2707+ (eval "$ac_try") 2>&5
2708+ ac_status=$?
2709+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710+ (exit $ac_status); }; }; then
2711+ cross_compiling=no
2712+ else
2713+ if test "$cross_compiling" = maybe; then
2714+ cross_compiling=yes
2715+ else
2716+ { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2717+If you meant to cross compile, use \`--host'.
2718+See \`config.log' for more details." >&5
2719+echo "$as_me: error: cannot run C++ compiled programs.
2720+If you meant to cross compile, use \`--host'.
2721+See \`config.log' for more details." >&2;}
2722+ { (exit 1); exit 1; }; }
2723+ fi
2724+ fi
2725+fi
2726+{ echo "$as_me:$LINENO: result: yes" >&5
2727+echo "${ECHO_T}yes" >&6; }
2728+
2729+rm -f a.out a.exe conftest$ac_cv_exeext b.out
2730+ac_clean_files=$ac_clean_files_save
2731+# Check that the compiler produces executables we can run. If not, either
2732+# the compiler is broken, or we cross compile.
2733+{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2734+echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2735+{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2736+echo "${ECHO_T}$cross_compiling" >&6; }
2737+
2738+{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2739+echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2740+if { (ac_try="$ac_link"
2741+case "(($ac_try" in
2742+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2743+ *) ac_try_echo=$ac_try;;
2744+esac
2745+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2746+ (eval "$ac_link") 2>&5
2747+ ac_status=$?
2748+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749+ (exit $ac_status); }; then
2750+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
2751+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2752+# work properly (i.e., refer to `conftest.exe'), while it won't with
2753+# `rm'.
2754+for ac_file in conftest.exe conftest conftest.*; do
2755+ test -f "$ac_file" || continue
2756+ case $ac_file in
2757+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2758+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2759+ break;;
2760+ * ) break;;
2761+ esac
2762+done
2763+else
2764+ { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2765+See \`config.log' for more details." >&5
2766+echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2767+See \`config.log' for more details." >&2;}
2768+ { (exit 1); exit 1; }; }
2769+fi
2770+
2771+rm -f conftest$ac_cv_exeext
2772+{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2773+echo "${ECHO_T}$ac_cv_exeext" >&6; }
2774+
2775+rm -f conftest.$ac_ext
2776+EXEEXT=$ac_cv_exeext
2777+ac_exeext=$EXEEXT
2778+{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2779+echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2780+if test "${ac_cv_objext+set}" = set; then
2781+ echo $ECHO_N "(cached) $ECHO_C" >&6
2782+else
2783+ cat >conftest.$ac_ext <<_ACEOF
2784+/* confdefs.h. */
2785+_ACEOF
2786+cat confdefs.h >>conftest.$ac_ext
2787+cat >>conftest.$ac_ext <<_ACEOF
2788+/* end confdefs.h. */
2789+
2790+int
2791+main ()
2792+{
2793+
2794+ ;
2795+ return 0;
2796+}
2797+_ACEOF
2798+rm -f conftest.o conftest.obj
2799+if { (ac_try="$ac_compile"
2800+case "(($ac_try" in
2801+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2802+ *) ac_try_echo=$ac_try;;
2803+esac
2804+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2805+ (eval "$ac_compile") 2>&5
2806+ ac_status=$?
2807+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808+ (exit $ac_status); }; then
2809+ for ac_file in conftest.o conftest.obj conftest.*; do
2810+ test -f "$ac_file" || continue;
2811+ case $ac_file in
2812+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2813+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2814+ break;;
2815+ esac
2816+done
2817+else
2818+ echo "$as_me: failed program was:" >&5
2819+sed 's/^/| /' conftest.$ac_ext >&5
2820+
2821+{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2822+See \`config.log' for more details." >&5
2823+echo "$as_me: error: cannot compute suffix of object files: cannot compile
2824+See \`config.log' for more details." >&2;}
2825+ { (exit 1); exit 1; }; }
2826+fi
2827+
2828+rm -f conftest.$ac_cv_objext conftest.$ac_ext
2829+fi
2830+{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2831+echo "${ECHO_T}$ac_cv_objext" >&6; }
2832+OBJEXT=$ac_cv_objext
2833+ac_objext=$OBJEXT
2834+{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2835+echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
2836+if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2837+ echo $ECHO_N "(cached) $ECHO_C" >&6
2838+else
2839+ cat >conftest.$ac_ext <<_ACEOF
2840+/* confdefs.h. */
2841+_ACEOF
2842+cat confdefs.h >>conftest.$ac_ext
2843+cat >>conftest.$ac_ext <<_ACEOF
2844+/* end confdefs.h. */
2845+
2846+int
2847+main ()
2848+{
2849+#ifndef __GNUC__
2850+ choke me
2851+#endif
2852+
2853+ ;
2854+ return 0;
2855+}
2856+_ACEOF
2857+rm -f conftest.$ac_objext
2858+if { (ac_try="$ac_compile"
2859+case "(($ac_try" in
2860+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2861+ *) ac_try_echo=$ac_try;;
2862+esac
2863+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2864+ (eval "$ac_compile") 2>conftest.er1
2865+ ac_status=$?
2866+ grep -v '^ *+' conftest.er1 >conftest.err
2867+ rm -f conftest.er1
2868+ cat conftest.err >&5
2869+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870+ (exit $ac_status); } && {
2871+ test -z "$ac_cxx_werror_flag" ||
2872+ test ! -s conftest.err
2873+ } && test -s conftest.$ac_objext; then
2874+ ac_compiler_gnu=yes
2875+else
2876+ echo "$as_me: failed program was:" >&5
2877+sed 's/^/| /' conftest.$ac_ext >&5
2878+
2879+ ac_compiler_gnu=no
2880+fi
2881+
2882+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2883+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2884+
2885+fi
2886+{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2887+echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2888+GXX=`test $ac_compiler_gnu = yes && echo yes`
2889+ac_test_CXXFLAGS=${CXXFLAGS+set}
2890+ac_save_CXXFLAGS=$CXXFLAGS
2891+{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2892+echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
2893+if test "${ac_cv_prog_cxx_g+set}" = set; then
2894+ echo $ECHO_N "(cached) $ECHO_C" >&6
2895+else
2896+ ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2897+ ac_cxx_werror_flag=yes
2898+ ac_cv_prog_cxx_g=no
2899+ CXXFLAGS="-g"
2900+ cat >conftest.$ac_ext <<_ACEOF
2901+/* confdefs.h. */
2902+_ACEOF
2903+cat confdefs.h >>conftest.$ac_ext
2904+cat >>conftest.$ac_ext <<_ACEOF
2905+/* end confdefs.h. */
2906+
2907+int
2908+main ()
2909+{
2910+
2911+ ;
2912+ return 0;
2913+}
2914+_ACEOF
2915+rm -f conftest.$ac_objext
2916+if { (ac_try="$ac_compile"
2917+case "(($ac_try" in
2918+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919+ *) ac_try_echo=$ac_try;;
2920+esac
2921+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2922+ (eval "$ac_compile") 2>conftest.er1
2923+ ac_status=$?
2924+ grep -v '^ *+' conftest.er1 >conftest.err
2925+ rm -f conftest.er1
2926+ cat conftest.err >&5
2927+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928+ (exit $ac_status); } && {
2929+ test -z "$ac_cxx_werror_flag" ||
2930+ test ! -s conftest.err
2931+ } && test -s conftest.$ac_objext; then
2932+ ac_cv_prog_cxx_g=yes
2933+else
2934+ echo "$as_me: failed program was:" >&5
2935+sed 's/^/| /' conftest.$ac_ext >&5
2936+
2937+ CXXFLAGS=""
2938+ cat >conftest.$ac_ext <<_ACEOF
2939+/* confdefs.h. */
2940+_ACEOF
2941+cat confdefs.h >>conftest.$ac_ext
2942+cat >>conftest.$ac_ext <<_ACEOF
2943+/* end confdefs.h. */
2944+
2945+int
2946+main ()
2947+{
2948+
2949+ ;
2950+ return 0;
2951+}
2952+_ACEOF
2953+rm -f conftest.$ac_objext
2954+if { (ac_try="$ac_compile"
2955+case "(($ac_try" in
2956+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2957+ *) ac_try_echo=$ac_try;;
2958+esac
2959+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2960+ (eval "$ac_compile") 2>conftest.er1
2961+ ac_status=$?
2962+ grep -v '^ *+' conftest.er1 >conftest.err
2963+ rm -f conftest.er1
2964+ cat conftest.err >&5
2965+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966+ (exit $ac_status); } && {
2967+ test -z "$ac_cxx_werror_flag" ||
2968+ test ! -s conftest.err
2969+ } && test -s conftest.$ac_objext; then
2970+ :
2971+else
2972+ echo "$as_me: failed program was:" >&5
2973+sed 's/^/| /' conftest.$ac_ext >&5
2974+
2975+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2976+ CXXFLAGS="-g"
2977+ cat >conftest.$ac_ext <<_ACEOF
2978+/* confdefs.h. */
2979+_ACEOF
2980+cat confdefs.h >>conftest.$ac_ext
2981+cat >>conftest.$ac_ext <<_ACEOF
2982+/* end confdefs.h. */
2983+
2984+int
2985+main ()
2986+{
2987+
2988+ ;
2989+ return 0;
2990+}
2991+_ACEOF
2992+rm -f conftest.$ac_objext
2993+if { (ac_try="$ac_compile"
2994+case "(($ac_try" in
2995+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2996+ *) ac_try_echo=$ac_try;;
2997+esac
2998+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2999+ (eval "$ac_compile") 2>conftest.er1
3000+ ac_status=$?
3001+ grep -v '^ *+' conftest.er1 >conftest.err
3002+ rm -f conftest.er1
3003+ cat conftest.err >&5
3004+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005+ (exit $ac_status); } && {
3006+ test -z "$ac_cxx_werror_flag" ||
3007+ test ! -s conftest.err
3008+ } && test -s conftest.$ac_objext; then
3009+ ac_cv_prog_cxx_g=yes
3010+else
3011+ echo "$as_me: failed program was:" >&5
3012+sed 's/^/| /' conftest.$ac_ext >&5
3013+
3014+
3015+fi
3016+
3017+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3018+fi
3019+
3020+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3021+fi
3022+
3023+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3024+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3025+fi
3026+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3027+echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3028+if test "$ac_test_CXXFLAGS" = set; then
3029+ CXXFLAGS=$ac_save_CXXFLAGS
3030+elif test $ac_cv_prog_cxx_g = yes; then
3031+ if test "$GXX" = yes; then
3032+ CXXFLAGS="-g -O2"
3033+ else
3034+ CXXFLAGS="-g"
3035+ fi
3036+else
3037+ if test "$GXX" = yes; then
3038+ CXXFLAGS="-O2"
3039+ else
3040+ CXXFLAGS=
3041+ fi
3042+fi
3043+ac_ext=c
3044+ac_cpp='$CPP $CPPFLAGS'
3045+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3046+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3047+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3048+DEPDIR="${am__leading_dot}deps"
3049+
3050+ac_config_commands="$ac_config_commands depfiles"
3051+
3052+
3053+am_make=${MAKE-make}
3054+cat > confinc << 'END'
3055+am__doit:
3056+ @echo done
3057+.PHONY: am__doit
3058+END
3059+# If we don't find an include directive, just comment out the code.
3060+{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3061+echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3062+am__include="#"
3063+am__quote=
3064+_am_result=none
3065+# First try GNU make style include.
3066+echo "include confinc" > confmf
3067+# We grep out `Entering directory' and `Leaving directory'
3068+# messages which can occur if `w' ends up in MAKEFLAGS.
3069+# In particular we don't look at `^make:' because GNU make might
3070+# be invoked under some other name (usually "gmake"), in which
3071+# case it prints its new name instead of `make'.
3072+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3073+ am__include=include
3074+ am__quote=
3075+ _am_result=GNU
3076+fi
3077+# Now try BSD make style include.
3078+if test "$am__include" = "#"; then
3079+ echo '.include "confinc"' > confmf
3080+ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3081+ am__include=.include
3082+ am__quote="\""
3083+ _am_result=BSD
3084+ fi
3085+fi
3086+
3087+
3088+{ echo "$as_me:$LINENO: result: $_am_result" >&5
3089+echo "${ECHO_T}$_am_result" >&6; }
3090+rm -f confinc confmf
3091+
3092+# Check whether --enable-dependency-tracking was given.
3093+if test "${enable_dependency_tracking+set}" = set; then
3094+ enableval=$enable_dependency_tracking;
3095+fi
3096+
3097+if test "x$enable_dependency_tracking" != xno; then
3098+ am_depcomp="$ac_aux_dir/depcomp"
3099+ AMDEPBACKSLASH='\'
3100+fi
3101+ if test "x$enable_dependency_tracking" != xno; then
3102+ AMDEP_TRUE=
3103+ AMDEP_FALSE='#'
3104+else
3105+ AMDEP_TRUE='#'
3106+ AMDEP_FALSE=
3107+fi
3108+
3109+
3110+
3111+depcc="$CXX" am_compiler_list=
3112+
3113+{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3114+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3115+if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3116+ echo $ECHO_N "(cached) $ECHO_C" >&6
3117+else
3118+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3119+ # We make a subdir and do the tests there. Otherwise we can end up
3120+ # making bogus files that we don't know about and never remove. For
3121+ # instance it was reported that on HP-UX the gcc test will end up
3122+ # making a dummy file named `D' -- because `-MD' means `put the output
3123+ # in D'.
3124+ mkdir conftest.dir
3125+ # Copy depcomp to subdir because otherwise we won't find it if we're
3126+ # using a relative directory.
3127+ cp "$am_depcomp" conftest.dir
3128+ cd conftest.dir
3129+ # We will build objects and dependencies in a subdirectory because
3130+ # it helps to detect inapplicable dependency modes. For instance
3131+ # both Tru64's cc and ICC support -MD to output dependencies as a
3132+ # side effect of compilation, but ICC will put the dependencies in
3133+ # the current directory while Tru64 will put them in the object
3134+ # directory.
3135+ mkdir sub
3136+
3137+ am_cv_CXX_dependencies_compiler_type=none
3138+ if test "$am_compiler_list" = ""; then
3139+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3140+ fi
3141+ for depmode in $am_compiler_list; do
3142+ # Setup a source with many dependencies, because some compilers
3143+ # like to wrap large dependency lists on column 80 (with \), and
3144+ # we should not choose a depcomp mode which is confused by this.
3145+ #
3146+ # We need to recreate these files for each test, as the compiler may
3147+ # overwrite some of them when testing with obscure command lines.
3148+ # This happens at least with the AIX C compiler.
3149+ : > sub/conftest.c
3150+ for i in 1 2 3 4 5 6; do
3151+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
3152+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3153+ # Solaris 8's {/usr,}/bin/sh.
3154+ touch sub/conftst$i.h
3155+ done
3156+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3157+
3158+ case $depmode in
3159+ nosideeffect)
3160+ # after this tag, mechanisms are not by side-effect, so they'll
3161+ # only be used when explicitly requested
3162+ if test "x$enable_dependency_tracking" = xyes; then
3163+ continue
3164+ else
3165+ break
3166+ fi
3167+ ;;
3168+ none) break ;;
3169+ esac
3170+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
3171+ # mode. It turns out that the SunPro C++ compiler does not properly
3172+ # handle `-M -o', and we need to detect this.
3173+ if depmode=$depmode \
3174+ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3175+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3176+ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3177+ >/dev/null 2>conftest.err &&
3178+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3179+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3180+ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3181+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3182+ # icc doesn't choke on unknown options, it will just issue warnings
3183+ # or remarks (even with -Werror). So we grep stderr for any message
3184+ # that says an option was ignored or not supported.
3185+ # When given -MP, icc 7.0 and 7.1 complain thusly:
3186+ # icc: Command line warning: ignoring option '-M'; no argument required
3187+ # The diagnosis changed in icc 8.0:
3188+ # icc: Command line remark: option '-MP' not supported
3189+ if (grep 'ignoring option' conftest.err ||
3190+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3191+ am_cv_CXX_dependencies_compiler_type=$depmode
3192+ break
3193+ fi
3194+ fi
3195+ done
3196+
3197+ cd ..
3198+ rm -rf conftest.dir
3199+else
3200+ am_cv_CXX_dependencies_compiler_type=none
3201+fi
3202+
3203+fi
3204+{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3205+echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3206+CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3207+
3208+ if
3209+ test "x$enable_dependency_tracking" != xno \
3210+ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3211+ am__fastdepCXX_TRUE=
3212+ am__fastdepCXX_FALSE='#'
3213+else
3214+ am__fastdepCXX_TRUE='#'
3215+ am__fastdepCXX_FALSE=
3216+fi
3217+
3218+
3219+ac_ext=c
3220+ac_cpp='$CPP $CPPFLAGS'
3221+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3222+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3223+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3224+if test -n "$ac_tool_prefix"; then
3225+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3226+set dummy ${ac_tool_prefix}gcc; ac_word=$2
3227+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3228+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3229+if test "${ac_cv_prog_CC+set}" = set; then
3230+ echo $ECHO_N "(cached) $ECHO_C" >&6
3231+else
3232+ if test -n "$CC"; then
3233+ ac_cv_prog_CC="$CC" # Let the user override the test.
3234+else
3235+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3236+for as_dir in $PATH
3237+do
3238+ IFS=$as_save_IFS
3239+ test -z "$as_dir" && as_dir=.
3240+ for ac_exec_ext in '' $ac_executable_extensions; do
3241+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3242+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
3243+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3244+ break 2
3245+ fi
3246+done
3247+done
3248+IFS=$as_save_IFS
3249+
3250+fi
3251+fi
3252+CC=$ac_cv_prog_CC
3253+if test -n "$CC"; then
3254+ { echo "$as_me:$LINENO: result: $CC" >&5
3255+echo "${ECHO_T}$CC" >&6; }
3256+else
3257+ { echo "$as_me:$LINENO: result: no" >&5
3258+echo "${ECHO_T}no" >&6; }
3259+fi
3260+
3261+
3262+fi
3263+if test -z "$ac_cv_prog_CC"; then
3264+ ac_ct_CC=$CC
3265+ # Extract the first word of "gcc", so it can be a program name with args.
3266+set dummy gcc; ac_word=$2
3267+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3268+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3269+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3270+ echo $ECHO_N "(cached) $ECHO_C" >&6
3271+else
3272+ if test -n "$ac_ct_CC"; then
3273+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3274+else
3275+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276+for as_dir in $PATH
3277+do
3278+ IFS=$as_save_IFS
3279+ test -z "$as_dir" && as_dir=.
3280+ for ac_exec_ext in '' $ac_executable_extensions; do
3281+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3282+ ac_cv_prog_ac_ct_CC="gcc"
3283+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3284+ break 2
3285+ fi
3286+done
3287+done
3288+IFS=$as_save_IFS
3289+
3290+fi
3291+fi
3292+ac_ct_CC=$ac_cv_prog_ac_ct_CC
3293+if test -n "$ac_ct_CC"; then
3294+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3295+echo "${ECHO_T}$ac_ct_CC" >&6; }
3296+else
3297+ { echo "$as_me:$LINENO: result: no" >&5
3298+echo "${ECHO_T}no" >&6; }
3299+fi
3300+
3301+ if test "x$ac_ct_CC" = x; then
3302+ CC=""
3303+ else
3304+ case $cross_compiling:$ac_tool_warned in
3305+yes:)
3306+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3307+whose name does not start with the host triplet. If you think this
3308+configuration is useful to you, please write to autoconf@gnu.org." >&5
3309+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3310+whose name does not start with the host triplet. If you think this
3311+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3312+ac_tool_warned=yes ;;
3313+esac
3314+ CC=$ac_ct_CC
3315+ fi
3316+else
3317+ CC="$ac_cv_prog_CC"
3318+fi
3319+
3320+if test -z "$CC"; then
3321+ if test -n "$ac_tool_prefix"; then
3322+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3323+set dummy ${ac_tool_prefix}cc; ac_word=$2
3324+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3325+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3326+if test "${ac_cv_prog_CC+set}" = set; then
3327+ echo $ECHO_N "(cached) $ECHO_C" >&6
3328+else
3329+ if test -n "$CC"; then
3330+ ac_cv_prog_CC="$CC" # Let the user override the test.
3331+else
3332+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3333+for as_dir in $PATH
3334+do
3335+ IFS=$as_save_IFS
3336+ test -z "$as_dir" && as_dir=.
3337+ for ac_exec_ext in '' $ac_executable_extensions; do
3338+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3339+ ac_cv_prog_CC="${ac_tool_prefix}cc"
3340+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3341+ break 2
3342+ fi
3343+done
3344+done
3345+IFS=$as_save_IFS
3346+
3347+fi
3348+fi
3349+CC=$ac_cv_prog_CC
3350+if test -n "$CC"; then
3351+ { echo "$as_me:$LINENO: result: $CC" >&5
3352+echo "${ECHO_T}$CC" >&6; }
3353+else
3354+ { echo "$as_me:$LINENO: result: no" >&5
3355+echo "${ECHO_T}no" >&6; }
3356+fi
3357+
3358+
3359+ fi
3360+fi
3361+if test -z "$CC"; then
3362+ # Extract the first word of "cc", so it can be a program name with args.
3363+set dummy cc; ac_word=$2
3364+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3365+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3366+if test "${ac_cv_prog_CC+set}" = set; then
3367+ echo $ECHO_N "(cached) $ECHO_C" >&6
3368+else
3369+ if test -n "$CC"; then
3370+ ac_cv_prog_CC="$CC" # Let the user override the test.
3371+else
3372+ ac_prog_rejected=no
3373+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374+for as_dir in $PATH
3375+do
3376+ IFS=$as_save_IFS
3377+ test -z "$as_dir" && as_dir=.
3378+ for ac_exec_ext in '' $ac_executable_extensions; do
3379+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3381+ ac_prog_rejected=yes
3382+ continue
3383+ fi
3384+ ac_cv_prog_CC="cc"
3385+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3386+ break 2
3387+ fi
3388+done
3389+done
3390+IFS=$as_save_IFS
3391+
3392+if test $ac_prog_rejected = yes; then
3393+ # We found a bogon in the path, so make sure we never use it.
3394+ set dummy $ac_cv_prog_CC
3395+ shift
3396+ if test $# != 0; then
3397+ # We chose a different compiler from the bogus one.
3398+ # However, it has the same basename, so the bogon will be chosen
3399+ # first if we set CC to just the basename; use the full file name.
3400+ shift
3401+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3402+ fi
3403+fi
3404+fi
3405+fi
3406+CC=$ac_cv_prog_CC
3407+if test -n "$CC"; then
3408+ { echo "$as_me:$LINENO: result: $CC" >&5
3409+echo "${ECHO_T}$CC" >&6; }
3410+else
3411+ { echo "$as_me:$LINENO: result: no" >&5
3412+echo "${ECHO_T}no" >&6; }
3413+fi
3414+
3415+
3416+fi
3417+if test -z "$CC"; then
3418+ if test -n "$ac_tool_prefix"; then
3419+ for ac_prog in cl.exe
3420+ do
3421+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3422+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3423+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3424+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3425+if test "${ac_cv_prog_CC+set}" = set; then
3426+ echo $ECHO_N "(cached) $ECHO_C" >&6
3427+else
3428+ if test -n "$CC"; then
3429+ ac_cv_prog_CC="$CC" # Let the user override the test.
3430+else
3431+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3432+for as_dir in $PATH
3433+do
3434+ IFS=$as_save_IFS
3435+ test -z "$as_dir" && as_dir=.
3436+ for ac_exec_ext in '' $ac_executable_extensions; do
3437+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3438+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3439+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3440+ break 2
3441+ fi
3442+done
3443+done
3444+IFS=$as_save_IFS
3445+
3446+fi
3447+fi
3448+CC=$ac_cv_prog_CC
3449+if test -n "$CC"; then
3450+ { echo "$as_me:$LINENO: result: $CC" >&5
3451+echo "${ECHO_T}$CC" >&6; }
3452+else
3453+ { echo "$as_me:$LINENO: result: no" >&5
3454+echo "${ECHO_T}no" >&6; }
3455+fi
3456+
3457+
3458+ test -n "$CC" && break
3459+ done
3460+fi
3461+if test -z "$CC"; then
3462+ ac_ct_CC=$CC
3463+ for ac_prog in cl.exe
3464+do
3465+ # Extract the first word of "$ac_prog", so it can be a program name with args.
3466+set dummy $ac_prog; ac_word=$2
3467+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3468+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3469+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3470+ echo $ECHO_N "(cached) $ECHO_C" >&6
3471+else
3472+ if test -n "$ac_ct_CC"; then
3473+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3474+else
3475+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3476+for as_dir in $PATH
3477+do
3478+ IFS=$as_save_IFS
3479+ test -z "$as_dir" && as_dir=.
3480+ for ac_exec_ext in '' $ac_executable_extensions; do
3481+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3482+ ac_cv_prog_ac_ct_CC="$ac_prog"
3483+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3484+ break 2
3485+ fi
3486+done
3487+done
3488+IFS=$as_save_IFS
3489+
3490+fi
3491+fi
3492+ac_ct_CC=$ac_cv_prog_ac_ct_CC
3493+if test -n "$ac_ct_CC"; then
3494+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3495+echo "${ECHO_T}$ac_ct_CC" >&6; }
3496+else
3497+ { echo "$as_me:$LINENO: result: no" >&5
3498+echo "${ECHO_T}no" >&6; }
3499+fi
3500+
3501+
3502+ test -n "$ac_ct_CC" && break
3503+done
3504+
3505+ if test "x$ac_ct_CC" = x; then
3506+ CC=""
3507+ else
3508+ case $cross_compiling:$ac_tool_warned in
3509+yes:)
3510+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3511+whose name does not start with the host triplet. If you think this
3512+configuration is useful to you, please write to autoconf@gnu.org." >&5
3513+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3514+whose name does not start with the host triplet. If you think this
3515+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3516+ac_tool_warned=yes ;;
3517+esac
3518+ CC=$ac_ct_CC
3519+ fi
3520+fi
3521+
3522+fi
3523+
3524+
3525+test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3526+See \`config.log' for more details." >&5
3527+echo "$as_me: error: no acceptable C compiler found in \$PATH
3528+See \`config.log' for more details." >&2;}
3529+ { (exit 1); exit 1; }; }
3530+
3531+# Provide some information about the compiler.
3532+echo "$as_me:$LINENO: checking for C compiler version" >&5
3533+ac_compiler=`set X $ac_compile; echo $2`
3534+{ (ac_try="$ac_compiler --version >&5"
3535+case "(($ac_try" in
3536+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3537+ *) ac_try_echo=$ac_try;;
3538+esac
3539+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3540+ (eval "$ac_compiler --version >&5") 2>&5
3541+ ac_status=$?
3542+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543+ (exit $ac_status); }
3544+{ (ac_try="$ac_compiler -v >&5"
3545+case "(($ac_try" in
3546+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3547+ *) ac_try_echo=$ac_try;;
3548+esac
3549+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3550+ (eval "$ac_compiler -v >&5") 2>&5
3551+ ac_status=$?
3552+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553+ (exit $ac_status); }
3554+{ (ac_try="$ac_compiler -V >&5"
3555+case "(($ac_try" in
3556+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3557+ *) ac_try_echo=$ac_try;;
3558+esac
3559+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3560+ (eval "$ac_compiler -V >&5") 2>&5
3561+ ac_status=$?
3562+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563+ (exit $ac_status); }
3564+
3565+{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3566+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3567+if test "${ac_cv_c_compiler_gnu+set}" = set; then
3568+ echo $ECHO_N "(cached) $ECHO_C" >&6
3569+else
3570+ cat >conftest.$ac_ext <<_ACEOF
3571+/* confdefs.h. */
3572+_ACEOF
3573+cat confdefs.h >>conftest.$ac_ext
3574+cat >>conftest.$ac_ext <<_ACEOF
3575+/* end confdefs.h. */
3576+
3577+int
3578+main ()
3579+{
3580+#ifndef __GNUC__
3581+ choke me
3582+#endif
3583+
3584+ ;
3585+ return 0;
3586+}
3587+_ACEOF
3588+rm -f conftest.$ac_objext
3589+if { (ac_try="$ac_compile"
3590+case "(($ac_try" in
3591+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3592+ *) ac_try_echo=$ac_try;;
3593+esac
3594+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3595+ (eval "$ac_compile") 2>conftest.er1
3596+ ac_status=$?
3597+ grep -v '^ *+' conftest.er1 >conftest.err
3598+ rm -f conftest.er1
3599+ cat conftest.err >&5
3600+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601+ (exit $ac_status); } && {
3602+ test -z "$ac_c_werror_flag" ||
3603+ test ! -s conftest.err
3604+ } && test -s conftest.$ac_objext; then
3605+ ac_compiler_gnu=yes
3606+else
3607+ echo "$as_me: failed program was:" >&5
3608+sed 's/^/| /' conftest.$ac_ext >&5
3609+
3610+ ac_compiler_gnu=no
3611+fi
3612+
3613+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3614+ac_cv_c_compiler_gnu=$ac_compiler_gnu
3615+
3616+fi
3617+{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3618+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3619+GCC=`test $ac_compiler_gnu = yes && echo yes`
3620+ac_test_CFLAGS=${CFLAGS+set}
3621+ac_save_CFLAGS=$CFLAGS
3622+{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3623+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3624+if test "${ac_cv_prog_cc_g+set}" = set; then
3625+ echo $ECHO_N "(cached) $ECHO_C" >&6
3626+else
3627+ ac_save_c_werror_flag=$ac_c_werror_flag
3628+ ac_c_werror_flag=yes
3629+ ac_cv_prog_cc_g=no
3630+ CFLAGS="-g"
3631+ cat >conftest.$ac_ext <<_ACEOF
3632+/* confdefs.h. */
3633+_ACEOF
3634+cat confdefs.h >>conftest.$ac_ext
3635+cat >>conftest.$ac_ext <<_ACEOF
3636+/* end confdefs.h. */
3637+
3638+int
3639+main ()
3640+{
3641+
3642+ ;
3643+ return 0;
3644+}
3645+_ACEOF
3646+rm -f conftest.$ac_objext
3647+if { (ac_try="$ac_compile"
3648+case "(($ac_try" in
3649+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3650+ *) ac_try_echo=$ac_try;;
3651+esac
3652+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3653+ (eval "$ac_compile") 2>conftest.er1
3654+ ac_status=$?
3655+ grep -v '^ *+' conftest.er1 >conftest.err
3656+ rm -f conftest.er1
3657+ cat conftest.err >&5
3658+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659+ (exit $ac_status); } && {
3660+ test -z "$ac_c_werror_flag" ||
3661+ test ! -s conftest.err
3662+ } && test -s conftest.$ac_objext; then
3663+ ac_cv_prog_cc_g=yes
3664+else
3665+ echo "$as_me: failed program was:" >&5
3666+sed 's/^/| /' conftest.$ac_ext >&5
3667+
3668+ CFLAGS=""
3669+ cat >conftest.$ac_ext <<_ACEOF
3670+/* confdefs.h. */
3671+_ACEOF
3672+cat confdefs.h >>conftest.$ac_ext
3673+cat >>conftest.$ac_ext <<_ACEOF
3674+/* end confdefs.h. */
3675+
3676+int
3677+main ()
3678+{
3679+
3680+ ;
3681+ return 0;
3682+}
3683+_ACEOF
3684+rm -f conftest.$ac_objext
3685+if { (ac_try="$ac_compile"
3686+case "(($ac_try" in
3687+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3688+ *) ac_try_echo=$ac_try;;
3689+esac
3690+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3691+ (eval "$ac_compile") 2>conftest.er1
3692+ ac_status=$?
3693+ grep -v '^ *+' conftest.er1 >conftest.err
3694+ rm -f conftest.er1
3695+ cat conftest.err >&5
3696+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697+ (exit $ac_status); } && {
3698+ test -z "$ac_c_werror_flag" ||
3699+ test ! -s conftest.err
3700+ } && test -s conftest.$ac_objext; then
3701+ :
3702+else
3703+ echo "$as_me: failed program was:" >&5
3704+sed 's/^/| /' conftest.$ac_ext >&5
3705+
3706+ ac_c_werror_flag=$ac_save_c_werror_flag
3707+ CFLAGS="-g"
3708+ cat >conftest.$ac_ext <<_ACEOF
3709+/* confdefs.h. */
3710+_ACEOF
3711+cat confdefs.h >>conftest.$ac_ext
3712+cat >>conftest.$ac_ext <<_ACEOF
3713+/* end confdefs.h. */
3714+
3715+int
3716+main ()
3717+{
3718+
3719+ ;
3720+ return 0;
3721+}
3722+_ACEOF
3723+rm -f conftest.$ac_objext
3724+if { (ac_try="$ac_compile"
3725+case "(($ac_try" in
3726+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3727+ *) ac_try_echo=$ac_try;;
3728+esac
3729+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3730+ (eval "$ac_compile") 2>conftest.er1
3731+ ac_status=$?
3732+ grep -v '^ *+' conftest.er1 >conftest.err
3733+ rm -f conftest.er1
3734+ cat conftest.err >&5
3735+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736+ (exit $ac_status); } && {
3737+ test -z "$ac_c_werror_flag" ||
3738+ test ! -s conftest.err
3739+ } && test -s conftest.$ac_objext; then
3740+ ac_cv_prog_cc_g=yes
3741+else
3742+ echo "$as_me: failed program was:" >&5
3743+sed 's/^/| /' conftest.$ac_ext >&5
3744+
3745+
3746+fi
3747+
3748+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3749+fi
3750+
3751+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3752+fi
3753+
3754+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3755+ ac_c_werror_flag=$ac_save_c_werror_flag
3756+fi
3757+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3758+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3759+if test "$ac_test_CFLAGS" = set; then
3760+ CFLAGS=$ac_save_CFLAGS
3761+elif test $ac_cv_prog_cc_g = yes; then
3762+ if test "$GCC" = yes; then
3763+ CFLAGS="-g -O2"
3764+ else
3765+ CFLAGS="-g"
3766+ fi
3767+else
3768+ if test "$GCC" = yes; then
3769+ CFLAGS="-O2"
3770+ else
3771+ CFLAGS=
3772+ fi
3773+fi
3774+{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3775+echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3776+if test "${ac_cv_prog_cc_c89+set}" = set; then
3777+ echo $ECHO_N "(cached) $ECHO_C" >&6
3778+else
3779+ ac_cv_prog_cc_c89=no
3780+ac_save_CC=$CC
3781+cat >conftest.$ac_ext <<_ACEOF
3782+/* confdefs.h. */
3783+_ACEOF
3784+cat confdefs.h >>conftest.$ac_ext
3785+cat >>conftest.$ac_ext <<_ACEOF
3786+/* end confdefs.h. */
3787+#include <stdarg.h>
3788+#include <stdio.h>
3789+#include <sys/types.h>
3790+#include <sys/stat.h>
3791+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3792+struct buf { int x; };
3793+FILE * (*rcsopen) (struct buf *, struct stat *, int);
3794+static char *e (p, i)
3795+ char **p;
3796+ int i;
3797+{
3798+ return p[i];
3799+}
3800+static char *f (char * (*g) (char **, int), char **p, ...)
3801+{
3802+ char *s;
3803+ va_list v;
3804+ va_start (v,p);
3805+ s = g (p, va_arg (v,int));
3806+ va_end (v);
3807+ return s;
3808+}
3809+
3810+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3811+ function prototypes and stuff, but not '\xHH' hex character constants.
3812+ These don't provoke an error unfortunately, instead are silently treated
3813+ as 'x'. The following induces an error, until -std is added to get
3814+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3815+ array size at least. It's necessary to write '\x00'==0 to get something
3816+ that's true only with -std. */
3817+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3818+
3819+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3820+ inside strings and character constants. */
3821+#define FOO(x) 'x'
3822+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3823+
3824+int test (int i, double x);
3825+struct s1 {int (*f) (int a);};
3826+struct s2 {int (*f) (double a);};
3827+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3828+int argc;
3829+char **argv;
3830+int
3831+main ()
3832+{
3833+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3834+ ;
3835+ return 0;
3836+}
3837+_ACEOF
3838+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3839+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3840+do
3841+ CC="$ac_save_CC $ac_arg"
3842+ rm -f conftest.$ac_objext
3843+if { (ac_try="$ac_compile"
3844+case "(($ac_try" in
3845+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3846+ *) ac_try_echo=$ac_try;;
3847+esac
3848+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3849+ (eval "$ac_compile") 2>conftest.er1
3850+ ac_status=$?
3851+ grep -v '^ *+' conftest.er1 >conftest.err
3852+ rm -f conftest.er1
3853+ cat conftest.err >&5
3854+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855+ (exit $ac_status); } && {
3856+ test -z "$ac_c_werror_flag" ||
3857+ test ! -s conftest.err
3858+ } && test -s conftest.$ac_objext; then
3859+ ac_cv_prog_cc_c89=$ac_arg
3860+else
3861+ echo "$as_me: failed program was:" >&5
3862+sed 's/^/| /' conftest.$ac_ext >&5
3863+
3864+
3865+fi
3866+
3867+rm -f core conftest.err conftest.$ac_objext
3868+ test "x$ac_cv_prog_cc_c89" != "xno" && break
3869+done
3870+rm -f conftest.$ac_ext
3871+CC=$ac_save_CC
3872+
3873+fi
3874+# AC_CACHE_VAL
3875+case "x$ac_cv_prog_cc_c89" in
3876+ x)
3877+ { echo "$as_me:$LINENO: result: none needed" >&5
3878+echo "${ECHO_T}none needed" >&6; } ;;
3879+ xno)
3880+ { echo "$as_me:$LINENO: result: unsupported" >&5
3881+echo "${ECHO_T}unsupported" >&6; } ;;
3882+ *)
3883+ CC="$CC $ac_cv_prog_cc_c89"
3884+ { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3885+echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3886+esac
3887+
3888+
3889+ac_ext=c
3890+ac_cpp='$CPP $CPPFLAGS'
3891+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3892+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3893+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3894+
3895+depcc="$CC" am_compiler_list=
3896+
3897+{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3898+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3899+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3900+ echo $ECHO_N "(cached) $ECHO_C" >&6
3901+else
3902+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3903+ # We make a subdir and do the tests there. Otherwise we can end up
3904+ # making bogus files that we don't know about and never remove. For
3905+ # instance it was reported that on HP-UX the gcc test will end up
3906+ # making a dummy file named `D' -- because `-MD' means `put the output
3907+ # in D'.
3908+ mkdir conftest.dir
3909+ # Copy depcomp to subdir because otherwise we won't find it if we're
3910+ # using a relative directory.
3911+ cp "$am_depcomp" conftest.dir
3912+ cd conftest.dir
3913+ # We will build objects and dependencies in a subdirectory because
3914+ # it helps to detect inapplicable dependency modes. For instance
3915+ # both Tru64's cc and ICC support -MD to output dependencies as a
3916+ # side effect of compilation, but ICC will put the dependencies in
3917+ # the current directory while Tru64 will put them in the object
3918+ # directory.
3919+ mkdir sub
3920+
3921+ am_cv_CC_dependencies_compiler_type=none
3922+ if test "$am_compiler_list" = ""; then
3923+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3924+ fi
3925+ for depmode in $am_compiler_list; do
3926+ # Setup a source with many dependencies, because some compilers
3927+ # like to wrap large dependency lists on column 80 (with \), and
3928+ # we should not choose a depcomp mode which is confused by this.
3929+ #
3930+ # We need to recreate these files for each test, as the compiler may
3931+ # overwrite some of them when testing with obscure command lines.
3932+ # This happens at least with the AIX C compiler.
3933+ : > sub/conftest.c
3934+ for i in 1 2 3 4 5 6; do
3935+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
3936+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3937+ # Solaris 8's {/usr,}/bin/sh.
3938+ touch sub/conftst$i.h
3939+ done
3940+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3941+
3942+ case $depmode in
3943+ nosideeffect)
3944+ # after this tag, mechanisms are not by side-effect, so they'll
3945+ # only be used when explicitly requested
3946+ if test "x$enable_dependency_tracking" = xyes; then
3947+ continue
3948+ else
3949+ break
3950+ fi
3951+ ;;
3952+ none) break ;;
3953+ esac
3954+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
3955+ # mode. It turns out that the SunPro C++ compiler does not properly
3956+ # handle `-M -o', and we need to detect this.
3957+ if depmode=$depmode \
3958+ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3959+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3960+ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3961+ >/dev/null 2>conftest.err &&
3962+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3963+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3964+ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3965+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3966+ # icc doesn't choke on unknown options, it will just issue warnings
3967+ # or remarks (even with -Werror). So we grep stderr for any message
3968+ # that says an option was ignored or not supported.
3969+ # When given -MP, icc 7.0 and 7.1 complain thusly:
3970+ # icc: Command line warning: ignoring option '-M'; no argument required
3971+ # The diagnosis changed in icc 8.0:
3972+ # icc: Command line remark: option '-MP' not supported
3973+ if (grep 'ignoring option' conftest.err ||
3974+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3975+ am_cv_CC_dependencies_compiler_type=$depmode
3976+ break
3977+ fi
3978+ fi
3979+ done
3980+
3981+ cd ..
3982+ rm -rf conftest.dir
3983+else
3984+ am_cv_CC_dependencies_compiler_type=none
3985+fi
3986+
3987+fi
3988+{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3989+echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3990+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3991+
3992+ if
3993+ test "x$enable_dependency_tracking" != xno \
3994+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3995+ am__fastdepCC_TRUE=
3996+ am__fastdepCC_FALSE='#'
3997+else
3998+ am__fastdepCC_TRUE='#'
3999+ am__fastdepCC_FALSE=
4000+fi
4001+
4002+
4003+case `pwd` in
4004+ *\ * | *\ *)
4005+ { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4006+echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4007+esac
4008+
4009+
4010+
4011+macro_version='2.2.6'
4012+macro_revision='1.3012'
4013+
4014+
4015+
4016+
4017+
4018+
4019+
4020+
4021+
4022+
4023+
4024+
4025+
4026+ltmain="$ac_aux_dir/ltmain.sh"
4027+
4028+# Make sure we can run config.sub.
4029+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4030+ { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4031+echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4032+ { (exit 1); exit 1; }; }
4033+
4034+{ echo "$as_me:$LINENO: checking build system type" >&5
4035+echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4036+if test "${ac_cv_build+set}" = set; then
4037+ echo $ECHO_N "(cached) $ECHO_C" >&6
4038+else
4039+ ac_build_alias=$build_alias
4040+test "x$ac_build_alias" = x &&
4041+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4042+test "x$ac_build_alias" = x &&
4043+ { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4044+echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4045+ { (exit 1); exit 1; }; }
4046+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4047+ { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4048+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4049+ { (exit 1); exit 1; }; }
4050+
4051+fi
4052+{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4053+echo "${ECHO_T}$ac_cv_build" >&6; }
4054+case $ac_cv_build in
4055+*-*-*) ;;
4056+*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4057+echo "$as_me: error: invalid value of canonical build" >&2;}
4058+ { (exit 1); exit 1; }; };;
4059+esac
4060+build=$ac_cv_build
4061+ac_save_IFS=$IFS; IFS='-'
4062+set x $ac_cv_build
4063+shift
4064+build_cpu=$1
4065+build_vendor=$2
4066+shift; shift
4067+# Remember, the first character of IFS is used to create $*,
4068+# except with old shells:
4069+build_os=$*
4070+IFS=$ac_save_IFS
4071+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4072+
4073+
4074+{ echo "$as_me:$LINENO: checking host system type" >&5
4075+echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4076+if test "${ac_cv_host+set}" = set; then
4077+ echo $ECHO_N "(cached) $ECHO_C" >&6
4078+else
4079+ if test "x$host_alias" = x; then
4080+ ac_cv_host=$ac_cv_build
4081+else
4082+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4083+ { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4084+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4085+ { (exit 1); exit 1; }; }
4086+fi
4087+
4088+fi
4089+{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4090+echo "${ECHO_T}$ac_cv_host" >&6; }
4091+case $ac_cv_host in
4092+*-*-*) ;;
4093+*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4094+echo "$as_me: error: invalid value of canonical host" >&2;}
4095+ { (exit 1); exit 1; }; };;
4096+esac
4097+host=$ac_cv_host
4098+ac_save_IFS=$IFS; IFS='-'
4099+set x $ac_cv_host
4100+shift
4101+host_cpu=$1
4102+host_vendor=$2
4103+shift; shift
4104+# Remember, the first character of IFS is used to create $*,
4105+# except with old shells:
4106+host_os=$*
4107+IFS=$ac_save_IFS
4108+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4109+
4110+
4111+{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4112+echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4113+if test "${ac_cv_path_SED+set}" = set; then
4114+ echo $ECHO_N "(cached) $ECHO_C" >&6
4115+else
4116+ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4117+ for ac_i in 1 2 3 4 5 6 7; do
4118+ ac_script="$ac_script$as_nl$ac_script"
4119+ done
4120+ echo "$ac_script" | sed 99q >conftest.sed
4121+ $as_unset ac_script || ac_script=
4122+ # Extract the first word of "sed gsed" to use in msg output
4123+if test -z "$SED"; then
4124+set dummy sed gsed; ac_prog_name=$2
4125+if test "${ac_cv_path_SED+set}" = set; then
4126+ echo $ECHO_N "(cached) $ECHO_C" >&6
4127+else
4128+ ac_path_SED_found=false
4129+# Loop through the user's path and test for each of PROGNAME-LIST
4130+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4131+for as_dir in $PATH
4132+do
4133+ IFS=$as_save_IFS
4134+ test -z "$as_dir" && as_dir=.
4135+ for ac_prog in sed gsed; do
4136+ for ac_exec_ext in '' $ac_executable_extensions; do
4137+ ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4138+ { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4139+ # Check for GNU ac_path_SED and select it if it is found.
4140+ # Check for GNU $ac_path_SED
4141+case `"$ac_path_SED" --version 2>&1` in
4142+*GNU*)
4143+ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4144+*)
4145+ ac_count=0
4146+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4147+ while :
4148+ do
4149+ cat "conftest.in" "conftest.in" >"conftest.tmp"
4150+ mv "conftest.tmp" "conftest.in"
4151+ cp "conftest.in" "conftest.nl"
4152+ echo '' >> "conftest.nl"
4153+ "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4154+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4155+ ac_count=`expr $ac_count + 1`
4156+ if test $ac_count -gt ${ac_path_SED_max-0}; then
4157+ # Best one so far, save it but keep looking for a better one
4158+ ac_cv_path_SED="$ac_path_SED"
4159+ ac_path_SED_max=$ac_count
4160+ fi
4161+ # 10*(2^10) chars as input seems more than enough
4162+ test $ac_count -gt 10 && break
4163+ done
4164+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4165+esac
4166+
4167+
4168+ $ac_path_SED_found && break 3
4169+ done
4170+done
4171+
4172+done
4173+IFS=$as_save_IFS
4174+
4175+
4176+fi
4177+
4178+SED="$ac_cv_path_SED"
4179+if test -z "$SED"; then
4180+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
4181+echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
4182+ { (exit 1); exit 1; }; }
4183+fi
4184+
4185+else
4186+ ac_cv_path_SED=$SED
4187+fi
4188+
4189+fi
4190+{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4191+echo "${ECHO_T}$ac_cv_path_SED" >&6; }
4192+ SED="$ac_cv_path_SED"
4193+ rm -f conftest.sed
4194+
4195+test -z "$SED" && SED=sed
4196+Xsed="$SED -e 1s/^X//"
4197+
4198+
4199+
4200+
4201+
4202+
4203+
4204+
4205+
4206+
4207+
4208+{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4209+echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4210+if test "${ac_cv_path_GREP+set}" = set; then
4211+ echo $ECHO_N "(cached) $ECHO_C" >&6
4212+else
4213+ # Extract the first word of "grep ggrep" to use in msg output
4214+if test -z "$GREP"; then
4215+set dummy grep ggrep; ac_prog_name=$2
4216+if test "${ac_cv_path_GREP+set}" = set; then
4217+ echo $ECHO_N "(cached) $ECHO_C" >&6
4218+else
4219+ ac_path_GREP_found=false
4220+# Loop through the user's path and test for each of PROGNAME-LIST
4221+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4222+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4223+do
4224+ IFS=$as_save_IFS
4225+ test -z "$as_dir" && as_dir=.
4226+ for ac_prog in grep ggrep; do
4227+ for ac_exec_ext in '' $ac_executable_extensions; do
4228+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4229+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4230+ # Check for GNU ac_path_GREP and select it if it is found.
4231+ # Check for GNU $ac_path_GREP
4232+case `"$ac_path_GREP" --version 2>&1` in
4233+*GNU*)
4234+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4235+*)
4236+ ac_count=0
4237+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4238+ while :
4239+ do
4240+ cat "conftest.in" "conftest.in" >"conftest.tmp"
4241+ mv "conftest.tmp" "conftest.in"
4242+ cp "conftest.in" "conftest.nl"
4243+ echo 'GREP' >> "conftest.nl"
4244+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4245+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4246+ ac_count=`expr $ac_count + 1`
4247+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
4248+ # Best one so far, save it but keep looking for a better one
4249+ ac_cv_path_GREP="$ac_path_GREP"
4250+ ac_path_GREP_max=$ac_count
4251+ fi
4252+ # 10*(2^10) chars as input seems more than enough
4253+ test $ac_count -gt 10 && break
4254+ done
4255+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4256+esac
4257+
4258+
4259+ $ac_path_GREP_found && break 3
4260+ done
4261+done
4262+
4263+done
4264+IFS=$as_save_IFS
4265+
4266+
4267+fi
4268+
4269+GREP="$ac_cv_path_GREP"
4270+if test -z "$GREP"; then
4271+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4272+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4273+ { (exit 1); exit 1; }; }
4274+fi
4275+
4276+else
4277+ ac_cv_path_GREP=$GREP
4278+fi
4279+
4280+
4281+fi
4282+{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4283+echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4284+ GREP="$ac_cv_path_GREP"
4285+
4286+
4287+{ echo "$as_me:$LINENO: checking for egrep" >&5
4288+echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4289+if test "${ac_cv_path_EGREP+set}" = set; then
4290+ echo $ECHO_N "(cached) $ECHO_C" >&6
4291+else
4292+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4293+ then ac_cv_path_EGREP="$GREP -E"
4294+ else
4295+ # Extract the first word of "egrep" to use in msg output
4296+if test -z "$EGREP"; then
4297+set dummy egrep; ac_prog_name=$2
4298+if test "${ac_cv_path_EGREP+set}" = set; then
4299+ echo $ECHO_N "(cached) $ECHO_C" >&6
4300+else
4301+ ac_path_EGREP_found=false
4302+# Loop through the user's path and test for each of PROGNAME-LIST
4303+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4304+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4305+do
4306+ IFS=$as_save_IFS
4307+ test -z "$as_dir" && as_dir=.
4308+ for ac_prog in egrep; do
4309+ for ac_exec_ext in '' $ac_executable_extensions; do
4310+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4311+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4312+ # Check for GNU ac_path_EGREP and select it if it is found.
4313+ # Check for GNU $ac_path_EGREP
4314+case `"$ac_path_EGREP" --version 2>&1` in
4315+*GNU*)
4316+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4317+*)
4318+ ac_count=0
4319+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4320+ while :
4321+ do
4322+ cat "conftest.in" "conftest.in" >"conftest.tmp"
4323+ mv "conftest.tmp" "conftest.in"
4324+ cp "conftest.in" "conftest.nl"
4325+ echo 'EGREP' >> "conftest.nl"
4326+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4327+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4328+ ac_count=`expr $ac_count + 1`
4329+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4330+ # Best one so far, save it but keep looking for a better one
4331+ ac_cv_path_EGREP="$ac_path_EGREP"
4332+ ac_path_EGREP_max=$ac_count
4333+ fi
4334+ # 10*(2^10) chars as input seems more than enough
4335+ test $ac_count -gt 10 && break
4336+ done
4337+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4338+esac
4339+
4340+
4341+ $ac_path_EGREP_found && break 3
4342+ done
4343+done
4344+
4345+done
4346+IFS=$as_save_IFS
4347+
4348+
4349+fi
4350+
4351+EGREP="$ac_cv_path_EGREP"
4352+if test -z "$EGREP"; then
4353+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4354+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4355+ { (exit 1); exit 1; }; }
4356+fi
4357+
4358+else
4359+ ac_cv_path_EGREP=$EGREP
4360+fi
4361+
4362+
4363+ fi
4364+fi
4365+{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4366+echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4367+ EGREP="$ac_cv_path_EGREP"
4368+
4369+
4370+{ echo "$as_me:$LINENO: checking for fgrep" >&5
4371+echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
4372+if test "${ac_cv_path_FGREP+set}" = set; then
4373+ echo $ECHO_N "(cached) $ECHO_C" >&6
4374+else
4375+ if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4376+ then ac_cv_path_FGREP="$GREP -F"
4377+ else
4378+ # Extract the first word of "fgrep" to use in msg output
4379+if test -z "$FGREP"; then
4380+set dummy fgrep; ac_prog_name=$2
4381+if test "${ac_cv_path_FGREP+set}" = set; then
4382+ echo $ECHO_N "(cached) $ECHO_C" >&6
4383+else
4384+ ac_path_FGREP_found=false
4385+# Loop through the user's path and test for each of PROGNAME-LIST
4386+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4387+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4388+do
4389+ IFS=$as_save_IFS
4390+ test -z "$as_dir" && as_dir=.
4391+ for ac_prog in fgrep; do
4392+ for ac_exec_ext in '' $ac_executable_extensions; do
4393+ ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4394+ { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4395+ # Check for GNU ac_path_FGREP and select it if it is found.
4396+ # Check for GNU $ac_path_FGREP
4397+case `"$ac_path_FGREP" --version 2>&1` in
4398+*GNU*)
4399+ ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4400+*)
4401+ ac_count=0
4402+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4403+ while :
4404+ do
4405+ cat "conftest.in" "conftest.in" >"conftest.tmp"
4406+ mv "conftest.tmp" "conftest.in"
4407+ cp "conftest.in" "conftest.nl"
4408+ echo 'FGREP' >> "conftest.nl"
4409+ "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4410+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4411+ ac_count=`expr $ac_count + 1`
4412+ if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4413+ # Best one so far, save it but keep looking for a better one
4414+ ac_cv_path_FGREP="$ac_path_FGREP"
4415+ ac_path_FGREP_max=$ac_count
4416+ fi
4417+ # 10*(2^10) chars as input seems more than enough
4418+ test $ac_count -gt 10 && break
4419+ done
4420+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4421+esac
4422+
4423+
4424+ $ac_path_FGREP_found && break 3
4425+ done
4426+done
4427+
4428+done
4429+IFS=$as_save_IFS
4430+
4431+
4432+fi
4433+
4434+FGREP="$ac_cv_path_FGREP"
4435+if test -z "$FGREP"; then
4436+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4437+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4438+ { (exit 1); exit 1; }; }
4439+fi
4440+
4441+else
4442+ ac_cv_path_FGREP=$FGREP
4443+fi
4444+
4445+
4446+ fi
4447+fi
4448+{ echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4449+echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
4450+ FGREP="$ac_cv_path_FGREP"
4451+
4452+
4453+test -z "$GREP" && GREP=grep
4454+
4455+
4456+
4457+
4458+
4459+
4460+
4461+
4462+
4463+
4464+
4465+
4466+
4467+
4468+
4469+
4470+
4471+
4472+
4473+# Check whether --with-gnu-ld was given.
4474+if test "${with_gnu_ld+set}" = set; then
4475+ withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4476+else
4477+ with_gnu_ld=no
4478+fi
4479+
4480+ac_prog=ld
4481+if test "$GCC" = yes; then
4482+ # Check if gcc -print-prog-name=ld gives a path.
4483+ { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4484+echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4485+ case $host in
4486+ *-*-mingw*)
4487+ # gcc leaves a trailing carriage return which upsets mingw
4488+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4489+ *)
4490+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4491+ esac
4492+ case $ac_prog in
4493+ # Accept absolute paths.
4494+ [\\/]* | ?:[\\/]*)
4495+ re_direlt='/[^/][^/]*/\.\./'
4496+ # Canonicalize the pathname of ld
4497+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4498+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4499+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4500+ done
4501+ test -z "$LD" && LD="$ac_prog"
4502+ ;;
4503+ "")
4504+ # If it fails, then pretend we aren't using GCC.
4505+ ac_prog=ld
4506+ ;;
4507+ *)
4508+ # If it is relative, then search for the first ld in PATH.
4509+ with_gnu_ld=unknown
4510+ ;;
4511+ esac
4512+elif test "$with_gnu_ld" = yes; then
4513+ { echo "$as_me:$LINENO: checking for GNU ld" >&5
4514+echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4515+else
4516+ { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4517+echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4518+fi
4519+if test "${lt_cv_path_LD+set}" = set; then
4520+ echo $ECHO_N "(cached) $ECHO_C" >&6
4521+else
4522+ if test -z "$LD"; then
4523+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4524+ for ac_dir in $PATH; do
4525+ IFS="$lt_save_ifs"
4526+ test -z "$ac_dir" && ac_dir=.
4527+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4528+ lt_cv_path_LD="$ac_dir/$ac_prog"
4529+ # Check to see if the program is GNU ld. I'd rather use --version,
4530+ # but apparently some variants of GNU ld only accept -v.
4531+ # Break only if it was the GNU/non-GNU ld that we prefer.
4532+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4533+ *GNU* | *'with BFD'*)
4534+ test "$with_gnu_ld" != no && break
4535+ ;;
4536+ *)
4537+ test "$with_gnu_ld" != yes && break
4538+ ;;
4539+ esac
4540+ fi
4541+ done
4542+ IFS="$lt_save_ifs"
4543+else
4544+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
4545+fi
4546+fi
4547+
4548+LD="$lt_cv_path_LD"
4549+if test -n "$LD"; then
4550+ { echo "$as_me:$LINENO: result: $LD" >&5
4551+echo "${ECHO_T}$LD" >&6; }
4552+else
4553+ { echo "$as_me:$LINENO: result: no" >&5
4554+echo "${ECHO_T}no" >&6; }
4555+fi
4556+test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4557+echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4558+ { (exit 1); exit 1; }; }
4559+{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4560+echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4561+if test "${lt_cv_prog_gnu_ld+set}" = set; then
4562+ echo $ECHO_N "(cached) $ECHO_C" >&6
4563+else
4564+ # I'd rather use --version here, but apparently some GNU lds only accept -v.
4565+case `$LD -v 2>&1 </dev/null` in
4566+*GNU* | *'with BFD'*)
4567+ lt_cv_prog_gnu_ld=yes
4568+ ;;
4569+*)
4570+ lt_cv_prog_gnu_ld=no
4571+ ;;
4572+esac
4573+fi
4574+{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4575+echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4576+with_gnu_ld=$lt_cv_prog_gnu_ld
4577+
4578+
4579+
4580+
4581+
4582+
4583+
4584+
4585+
4586+{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4587+echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4588+if test "${lt_cv_path_NM+set}" = set; then
4589+ echo $ECHO_N "(cached) $ECHO_C" >&6
4590+else
4591+ if test -n "$NM"; then
4592+ # Let the user override the test.
4593+ lt_cv_path_NM="$NM"
4594+else
4595+ lt_nm_to_check="${ac_tool_prefix}nm"
4596+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4597+ lt_nm_to_check="$lt_nm_to_check nm"
4598+ fi
4599+ for lt_tmp_nm in $lt_nm_to_check; do
4600+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4601+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4602+ IFS="$lt_save_ifs"
4603+ test -z "$ac_dir" && ac_dir=.
4604+ tmp_nm="$ac_dir/$lt_tmp_nm"
4605+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4606+ # Check to see if the nm accepts a BSD-compat flag.
4607+ # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4608+ # nm: unknown option "B" ignored
4609+ # Tru64's nm complains that /dev/null is an invalid object file
4610+ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4611+ */dev/null* | *'Invalid file or object type'*)
4612+ lt_cv_path_NM="$tmp_nm -B"
4613+ break
4614+ ;;
4615+ *)
4616+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4617+ */dev/null*)
4618+ lt_cv_path_NM="$tmp_nm -p"
4619+ break
4620+ ;;
4621+ *)
4622+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4623+ continue # so that we can try to find one that supports BSD flags
4624+ ;;
4625+ esac
4626+ ;;
4627+ esac
4628+ fi
4629+ done
4630+ IFS="$lt_save_ifs"
4631+ done
4632+ : ${lt_cv_path_NM=no}
4633+fi
4634+fi
4635+{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4636+echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4637+if test "$lt_cv_path_NM" != "no"; then
4638+ NM="$lt_cv_path_NM"
4639+else
4640+ # Didn't find any BSD compatible name lister, look for dumpbin.
4641+ if test -n "$ac_tool_prefix"; then
4642+ for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4643+ do
4644+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4645+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4646+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4647+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4648+if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4649+ echo $ECHO_N "(cached) $ECHO_C" >&6
4650+else
4651+ if test -n "$DUMPBIN"; then
4652+ ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4653+else
4654+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655+for as_dir in $PATH
4656+do
4657+ IFS=$as_save_IFS
4658+ test -z "$as_dir" && as_dir=.
4659+ for ac_exec_ext in '' $ac_executable_extensions; do
4660+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4661+ ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4662+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4663+ break 2
4664+ fi
4665+done
4666+done
4667+IFS=$as_save_IFS
4668+
4669+fi
4670+fi
4671+DUMPBIN=$ac_cv_prog_DUMPBIN
4672+if test -n "$DUMPBIN"; then
4673+ { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4674+echo "${ECHO_T}$DUMPBIN" >&6; }
4675+else
4676+ { echo "$as_me:$LINENO: result: no" >&5
4677+echo "${ECHO_T}no" >&6; }
4678+fi
4679+
4680+
4681+ test -n "$DUMPBIN" && break
4682+ done
4683+fi
4684+if test -z "$DUMPBIN"; then
4685+ ac_ct_DUMPBIN=$DUMPBIN
4686+ for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4687+do
4688+ # Extract the first word of "$ac_prog", so it can be a program name with args.
4689+set dummy $ac_prog; ac_word=$2
4690+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4691+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4692+if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4693+ echo $ECHO_N "(cached) $ECHO_C" >&6
4694+else
4695+ if test -n "$ac_ct_DUMPBIN"; then
4696+ ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4697+else
4698+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4699+for as_dir in $PATH
4700+do
4701+ IFS=$as_save_IFS
4702+ test -z "$as_dir" && as_dir=.
4703+ for ac_exec_ext in '' $ac_executable_extensions; do
4704+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4705+ ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4706+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4707+ break 2
4708+ fi
4709+done
4710+done
4711+IFS=$as_save_IFS
4712+
4713+fi
4714+fi
4715+ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4716+if test -n "$ac_ct_DUMPBIN"; then
4717+ { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4718+echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
4719+else
4720+ { echo "$as_me:$LINENO: result: no" >&5
4721+echo "${ECHO_T}no" >&6; }
4722+fi
4723+
4724+
4725+ test -n "$ac_ct_DUMPBIN" && break
4726+done
4727+
4728+ if test "x$ac_ct_DUMPBIN" = x; then
4729+ DUMPBIN=":"
4730+ else
4731+ case $cross_compiling:$ac_tool_warned in
4732+yes:)
4733+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4734+whose name does not start with the host triplet. If you think this
4735+configuration is useful to you, please write to autoconf@gnu.org." >&5
4736+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4737+whose name does not start with the host triplet. If you think this
4738+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4739+ac_tool_warned=yes ;;
4740+esac
4741+ DUMPBIN=$ac_ct_DUMPBIN
4742+ fi
4743+fi
4744+
4745+
4746+ if test "$DUMPBIN" != ":"; then
4747+ NM="$DUMPBIN"
4748+ fi
4749+fi
4750+test -z "$NM" && NM=nm
4751+
4752+
4753+
4754+
4755+
4756+
4757+{ echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4758+echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
4759+if test "${lt_cv_nm_interface+set}" = set; then
4760+ echo $ECHO_N "(cached) $ECHO_C" >&6
4761+else
4762+ lt_cv_nm_interface="BSD nm"
4763+ echo "int some_variable = 0;" > conftest.$ac_ext
4764+ (eval echo "\"\$as_me:4764: $ac_compile\"" >&5)
4765+ (eval "$ac_compile" 2>conftest.err)
4766+ cat conftest.err >&5
4767+ (eval echo "\"\$as_me:4767: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4768+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4769+ cat conftest.err >&5
4770+ (eval echo "\"\$as_me:4770: output\"" >&5)
4771+ cat conftest.out >&5
4772+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4773+ lt_cv_nm_interface="MS dumpbin"
4774+ fi
4775+ rm -f conftest*
4776+fi
4777+{ echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4778+echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
4779+
4780+{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4781+echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4782+LN_S=$as_ln_s
4783+if test "$LN_S" = "ln -s"; then
4784+ { echo "$as_me:$LINENO: result: yes" >&5
4785+echo "${ECHO_T}yes" >&6; }
4786+else
4787+ { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4788+echo "${ECHO_T}no, using $LN_S" >&6; }
4789+fi
4790+
4791+# find the maximum length of command line arguments
4792+{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4793+echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
4794+if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4795+ echo $ECHO_N "(cached) $ECHO_C" >&6
4796+else
4797+ i=0
4798+ teststring="ABCD"
4799+
4800+ case $build_os in
4801+ msdosdjgpp*)
4802+ # On DJGPP, this test can blow up pretty badly due to problems in libc
4803+ # (any single argument exceeding 2000 bytes causes a buffer overrun
4804+ # during glob expansion). Even if it were fixed, the result of this
4805+ # check would be larger than it should be.
4806+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
4807+ ;;
4808+
4809+ gnu*)
4810+ # Under GNU Hurd, this test is not required because there is
4811+ # no limit to the length of command line arguments.
4812+ # Libtool will interpret -1 as no limit whatsoever
4813+ lt_cv_sys_max_cmd_len=-1;
4814+ ;;
4815+
4816+ cygwin* | mingw* | cegcc*)
4817+ # On Win9x/ME, this test blows up -- it succeeds, but takes
4818+ # about 5 minutes as the teststring grows exponentially.
4819+ # Worse, since 9x/ME are not pre-emptively multitasking,
4820+ # you end up with a "frozen" computer, even though with patience
4821+ # the test eventually succeeds (with a max line length of 256k).
4822+ # Instead, let's just punt: use the minimum linelength reported by
4823+ # all of the supported platforms: 8192 (on NT/2K/XP).
4824+ lt_cv_sys_max_cmd_len=8192;
4825+ ;;
4826+
4827+ amigaos*)
4828+ # On AmigaOS with pdksh, this test takes hours, literally.
4829+ # So we just punt and use a minimum line length of 8192.
4830+ lt_cv_sys_max_cmd_len=8192;
4831+ ;;
4832+
4833+ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4834+ # This has been around since 386BSD, at least. Likely further.
4835+ if test -x /sbin/sysctl; then
4836+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4837+ elif test -x /usr/sbin/sysctl; then
4838+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4839+ else
4840+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4841+ fi
4842+ # And add a safety zone
4843+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4844+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4845+ ;;
4846+
4847+ interix*)
4848+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
4849+ lt_cv_sys_max_cmd_len=196608
4850+ ;;
4851+
4852+ osf*)
4853+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4854+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4855+ # nice to cause kernel panics so lets avoid the loop below.
4856+ # First set a reasonable default.
4857+ lt_cv_sys_max_cmd_len=16384
4858+ #
4859+ if test -x /sbin/sysconfig; then
4860+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4861+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
4862+ esac
4863+ fi
4864+ ;;
4865+ sco3.2v5*)
4866+ lt_cv_sys_max_cmd_len=102400
4867+ ;;
4868+ sysv5* | sco5v6* | sysv4.2uw2*)
4869+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4870+ if test -n "$kargmax"; then
4871+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4872+ else
4873+ lt_cv_sys_max_cmd_len=32768
4874+ fi
4875+ ;;
4876+ *)
4877+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4878+ if test -n "$lt_cv_sys_max_cmd_len"; then
4879+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4880+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4881+ else
4882+ # Make teststring a little bigger before we do anything with it.
4883+ # a 1K string should be a reasonable start.
4884+ for i in 1 2 3 4 5 6 7 8 ; do
4885+ teststring=$teststring$teststring
4886+ done
4887+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4888+ # If test is not a shell built-in, we'll probably end up computing a
4889+ # maximum length that is only half of the actual maximum length, but
4890+ # we can't tell.
4891+ while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4892+ = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4893+ test $i != 17 # 1/2 MB should be enough
4894+ do
4895+ i=`expr $i + 1`
4896+ teststring=$teststring$teststring
4897+ done
4898+ # Only check the string length outside the loop.
4899+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4900+ teststring=
4901+ # Add a significant safety factor because C++ compilers can tack on
4902+ # massive amounts of additional arguments before passing them to the
4903+ # linker. It appears as though 1/2 is a usable value.
4904+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4905+ fi
4906+ ;;
4907+ esac
4908+
4909+fi
4910+
4911+if test -n $lt_cv_sys_max_cmd_len ; then
4912+ { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4913+echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
4914+else
4915+ { echo "$as_me:$LINENO: result: none" >&5
4916+echo "${ECHO_T}none" >&6; }
4917+fi
4918+max_cmd_len=$lt_cv_sys_max_cmd_len
4919+
4920+
4921+
4922+
4923+
4924+
4925+: ${CP="cp -f"}
4926+: ${MV="mv -f"}
4927+: ${RM="rm -f"}
4928+
4929+{ echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4930+echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
4931+# Try some XSI features
4932+xsi_shell=no
4933+( _lt_dummy="a/b/c"
4934+ test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4935+ = c,a/b,, \
4936+ && eval 'test $(( 1 + 1 )) -eq 2 \
4937+ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4938+ && xsi_shell=yes
4939+{ echo "$as_me:$LINENO: result: $xsi_shell" >&5
4940+echo "${ECHO_T}$xsi_shell" >&6; }
4941+
4942+
4943+{ echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4944+echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
4945+lt_shell_append=no
4946+( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4947+ >/dev/null 2>&1 \
4948+ && lt_shell_append=yes
4949+{ echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4950+echo "${ECHO_T}$lt_shell_append" >&6; }
4951+
4952+
4953+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4954+ lt_unset=unset
4955+else
4956+ lt_unset=false
4957+fi
4958+
4959+
4960+
4961+
4962+
4963+# test EBCDIC or ASCII
4964+case `echo X|tr X '\101'` in
4965+ A) # ASCII based system
4966+ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4967+ lt_SP2NL='tr \040 \012'
4968+ lt_NL2SP='tr \015\012 \040\040'
4969+ ;;
4970+ *) # EBCDIC based system
4971+ lt_SP2NL='tr \100 \n'
4972+ lt_NL2SP='tr \r\n \100\100'
4973+ ;;
4974+esac
4975+
4976+
4977+
4978+
4979+
4980+
4981+
4982+
4983+
4984+{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4985+echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4986+if test "${lt_cv_ld_reload_flag+set}" = set; then
4987+ echo $ECHO_N "(cached) $ECHO_C" >&6
4988+else
4989+ lt_cv_ld_reload_flag='-r'
4990+fi
4991+{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4992+echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4993+reload_flag=$lt_cv_ld_reload_flag
4994+case $reload_flag in
4995+"" | " "*) ;;
4996+*) reload_flag=" $reload_flag" ;;
4997+esac
4998+reload_cmds='$LD$reload_flag -o $output$reload_objs'
4999+case $host_os in
5000+ darwin*)
5001+ if test "$GCC" = yes; then
5002+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5003+ else
5004+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
5005+ fi
5006+ ;;
5007+esac
5008+
5009+
5010+
5011+
5012+
5013+
5014+
5015+
5016+
5017+if test -n "$ac_tool_prefix"; then
5018+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5019+set dummy ${ac_tool_prefix}objdump; ac_word=$2
5020+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5021+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5022+if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5023+ echo $ECHO_N "(cached) $ECHO_C" >&6
5024+else
5025+ if test -n "$OBJDUMP"; then
5026+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5027+else
5028+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029+for as_dir in $PATH
5030+do
5031+ IFS=$as_save_IFS
5032+ test -z "$as_dir" && as_dir=.
5033+ for ac_exec_ext in '' $ac_executable_extensions; do
5034+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5035+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5036+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5037+ break 2
5038+ fi
5039+done
5040+done
5041+IFS=$as_save_IFS
5042+
5043+fi
5044+fi
5045+OBJDUMP=$ac_cv_prog_OBJDUMP
5046+if test -n "$OBJDUMP"; then
5047+ { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5048+echo "${ECHO_T}$OBJDUMP" >&6; }
5049+else
5050+ { echo "$as_me:$LINENO: result: no" >&5
5051+echo "${ECHO_T}no" >&6; }
5052+fi
5053+
5054+
5055+fi
5056+if test -z "$ac_cv_prog_OBJDUMP"; then
5057+ ac_ct_OBJDUMP=$OBJDUMP
5058+ # Extract the first word of "objdump", so it can be a program name with args.
5059+set dummy objdump; ac_word=$2
5060+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5061+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5062+if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5063+ echo $ECHO_N "(cached) $ECHO_C" >&6
5064+else
5065+ if test -n "$ac_ct_OBJDUMP"; then
5066+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5067+else
5068+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5069+for as_dir in $PATH
5070+do
5071+ IFS=$as_save_IFS
5072+ test -z "$as_dir" && as_dir=.
5073+ for ac_exec_ext in '' $ac_executable_extensions; do
5074+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5075+ ac_cv_prog_ac_ct_OBJDUMP="objdump"
5076+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5077+ break 2
5078+ fi
5079+done
5080+done
5081+IFS=$as_save_IFS
5082+
5083+fi
5084+fi
5085+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5086+if test -n "$ac_ct_OBJDUMP"; then
5087+ { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5088+echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
5089+else
5090+ { echo "$as_me:$LINENO: result: no" >&5
5091+echo "${ECHO_T}no" >&6; }
5092+fi
5093+
5094+ if test "x$ac_ct_OBJDUMP" = x; then
5095+ OBJDUMP="false"
5096+ else
5097+ case $cross_compiling:$ac_tool_warned in
5098+yes:)
5099+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5100+whose name does not start with the host triplet. If you think this
5101+configuration is useful to you, please write to autoconf@gnu.org." >&5
5102+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5103+whose name does not start with the host triplet. If you think this
5104+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5105+ac_tool_warned=yes ;;
5106+esac
5107+ OBJDUMP=$ac_ct_OBJDUMP
5108+ fi
5109+else
5110+ OBJDUMP="$ac_cv_prog_OBJDUMP"
5111+fi
5112+
5113+test -z "$OBJDUMP" && OBJDUMP=objdump
5114+
5115+
5116+
5117+
5118+
5119+
5120+
5121+
5122+
5123+{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5124+echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
5125+if test "${lt_cv_deplibs_check_method+set}" = set; then
5126+ echo $ECHO_N "(cached) $ECHO_C" >&6
5127+else
5128+ lt_cv_file_magic_cmd='$MAGIC_CMD'
5129+lt_cv_file_magic_test_file=
5130+lt_cv_deplibs_check_method='unknown'
5131+# Need to set the preceding variable on all platforms that support
5132+# interlibrary dependencies.
5133+# 'none' -- dependencies not supported.
5134+# `unknown' -- same as none, but documents that we really don't know.
5135+# 'pass_all' -- all dependencies passed with no checks.
5136+# 'test_compile' -- check by making test program.
5137+# 'file_magic [[regex]]' -- check by looking for files in library path
5138+# which responds to the $file_magic_cmd with a given extended regex.
5139+# If you have `file' or equivalent on your system and you're not sure
5140+# whether `pass_all' will *always* work, you probably want this one.
5141+
5142+case $host_os in
5143+aix[4-9]*)
5144+ lt_cv_deplibs_check_method=pass_all
5145+ ;;
5146+
5147+beos*)
5148+ lt_cv_deplibs_check_method=pass_all
5149+ ;;
5150+
5151+bsdi[45]*)
5152+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5153+ lt_cv_file_magic_cmd='/usr/bin/file -L'
5154+ lt_cv_file_magic_test_file=/shlib/libc.so
5155+ ;;
5156+
5157+cygwin*)
5158+ # func_win32_libid is a shell function defined in ltmain.sh
5159+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5160+ lt_cv_file_magic_cmd='func_win32_libid'
5161+ ;;
5162+
5163+mingw* | pw32*)
5164+ # Base MSYS/MinGW do not provide the 'file' command needed by
5165+ # func_win32_libid shell function, so use a weaker test based on 'objdump',
5166+ # unless we find 'file', for example because we are cross-compiling.
5167+ if ( file / ) >/dev/null 2>&1; then
5168+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5169+ lt_cv_file_magic_cmd='func_win32_libid'
5170+ else
5171+ lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5172+ lt_cv_file_magic_cmd='$OBJDUMP -f'
5173+ fi
5174+ ;;
5175+
5176+cegcc)
5177+ # use the weaker test based on 'objdump'. See mingw*.
5178+ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5179+ lt_cv_file_magic_cmd='$OBJDUMP -f'
5180+ ;;
5181+
5182+darwin* | rhapsody*)
5183+ lt_cv_deplibs_check_method=pass_all
5184+ ;;
5185+
5186+freebsd* | dragonfly*)
5187+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5188+ case $host_cpu in
5189+ i*86 )
5190+ # Not sure whether the presence of OpenBSD here was a mistake.
5191+ # Let's accept both of them until this is cleared up.
5192+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5193+ lt_cv_file_magic_cmd=/usr/bin/file
5194+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5195+ ;;
5196+ esac
5197+ else
5198+ lt_cv_deplibs_check_method=pass_all
5199+ fi
5200+ ;;
5201+
5202+gnu*)
5203+ lt_cv_deplibs_check_method=pass_all
5204+ ;;
5205+
5206+hpux10.20* | hpux11*)
5207+ lt_cv_file_magic_cmd=/usr/bin/file
5208+ case $host_cpu in
5209+ ia64*)
5210+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5211+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5212+ ;;
5213+ hppa*64*)
5214+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5215+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5216+ ;;
5217+ *)
5218+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5219+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
5220+ ;;
5221+ esac
5222+ ;;
5223+
5224+interix[3-9]*)
5225+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5226+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5227+ ;;
5228+
5229+irix5* | irix6* | nonstopux*)
5230+ case $LD in
5231+ *-32|*"-32 ") libmagic=32-bit;;
5232+ *-n32|*"-n32 ") libmagic=N32;;
5233+ *-64|*"-64 ") libmagic=64-bit;;
5234+ *) libmagic=never-match;;
5235+ esac
5236+ lt_cv_deplibs_check_method=pass_all
5237+ ;;
5238+
5239+# This must be Linux ELF.
5240+linux* | k*bsd*-gnu)
5241+ lt_cv_deplibs_check_method=pass_all
5242+ ;;
5243+
5244+netbsd*)
5245+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5246+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5247+ else
5248+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5249+ fi
5250+ ;;
5251+
5252+newos6*)
5253+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5254+ lt_cv_file_magic_cmd=/usr/bin/file
5255+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
5256+ ;;
5257+
5258+*nto* | *qnx*)
5259+ lt_cv_deplibs_check_method=pass_all
5260+ ;;
5261+
5262+openbsd*)
5263+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5264+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5265+ else
5266+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5267+ fi
5268+ ;;
5269+
5270+osf3* | osf4* | osf5*)
5271+ lt_cv_deplibs_check_method=pass_all
5272+ ;;
5273+
5274+rdos*)
5275+ lt_cv_deplibs_check_method=pass_all
5276+ ;;
5277+
5278+solaris*)
5279+ lt_cv_deplibs_check_method=pass_all
5280+ ;;
5281+
5282+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5283+ lt_cv_deplibs_check_method=pass_all
5284+ ;;
5285+
5286+sysv4 | sysv4.3*)
5287+ case $host_vendor in
5288+ motorola)
5289+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5290+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5291+ ;;
5292+ ncr)
5293+ lt_cv_deplibs_check_method=pass_all
5294+ ;;
5295+ sequent)
5296+ lt_cv_file_magic_cmd='/bin/file'
5297+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5298+ ;;
5299+ sni)
5300+ lt_cv_file_magic_cmd='/bin/file'
5301+ lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5302+ lt_cv_file_magic_test_file=/lib/libc.so
5303+ ;;
5304+ siemens)
5305+ lt_cv_deplibs_check_method=pass_all
5306+ ;;
5307+ pc)
5308+ lt_cv_deplibs_check_method=pass_all
5309+ ;;
5310+ esac
5311+ ;;
5312+
5313+tpf*)
5314+ lt_cv_deplibs_check_method=pass_all
5315+ ;;
5316+esac
5317+
5318+fi
5319+{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5320+echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5321+file_magic_cmd=$lt_cv_file_magic_cmd
5322+deplibs_check_method=$lt_cv_deplibs_check_method
5323+test -z "$deplibs_check_method" && deplibs_check_method=unknown
5324+
5325+
5326+
5327+
5328+
5329+
5330+
5331+
5332+
5333+
5334+
5335+
5336+if test -n "$ac_tool_prefix"; then
5337+ # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5338+set dummy ${ac_tool_prefix}ar; ac_word=$2
5339+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5340+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5341+if test "${ac_cv_prog_AR+set}" = set; then
5342+ echo $ECHO_N "(cached) $ECHO_C" >&6
5343+else
5344+ if test -n "$AR"; then
5345+ ac_cv_prog_AR="$AR" # Let the user override the test.
5346+else
5347+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5348+for as_dir in $PATH
5349+do
5350+ IFS=$as_save_IFS
5351+ test -z "$as_dir" && as_dir=.
5352+ for ac_exec_ext in '' $ac_executable_extensions; do
5353+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5354+ ac_cv_prog_AR="${ac_tool_prefix}ar"
5355+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5356+ break 2
5357+ fi
5358+done
5359+done
5360+IFS=$as_save_IFS
5361+
5362+fi
5363+fi
5364+AR=$ac_cv_prog_AR
5365+if test -n "$AR"; then
5366+ { echo "$as_me:$LINENO: result: $AR" >&5
5367+echo "${ECHO_T}$AR" >&6; }
5368+else
5369+ { echo "$as_me:$LINENO: result: no" >&5
5370+echo "${ECHO_T}no" >&6; }
5371+fi
5372+
5373+
5374+fi
5375+if test -z "$ac_cv_prog_AR"; then
5376+ ac_ct_AR=$AR
5377+ # Extract the first word of "ar", so it can be a program name with args.
5378+set dummy ar; ac_word=$2
5379+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5380+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5381+if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5382+ echo $ECHO_N "(cached) $ECHO_C" >&6
5383+else
5384+ if test -n "$ac_ct_AR"; then
5385+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5386+else
5387+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388+for as_dir in $PATH
5389+do
5390+ IFS=$as_save_IFS
5391+ test -z "$as_dir" && as_dir=.
5392+ for ac_exec_ext in '' $ac_executable_extensions; do
5393+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5394+ ac_cv_prog_ac_ct_AR="ar"
5395+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5396+ break 2
5397+ fi
5398+done
5399+done
5400+IFS=$as_save_IFS
5401+
5402+fi
5403+fi
5404+ac_ct_AR=$ac_cv_prog_ac_ct_AR
5405+if test -n "$ac_ct_AR"; then
5406+ { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5407+echo "${ECHO_T}$ac_ct_AR" >&6; }
5408+else
5409+ { echo "$as_me:$LINENO: result: no" >&5
5410+echo "${ECHO_T}no" >&6; }
5411+fi
5412+
5413+ if test "x$ac_ct_AR" = x; then
5414+ AR="false"
5415+ else
5416+ case $cross_compiling:$ac_tool_warned in
5417+yes:)
5418+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5419+whose name does not start with the host triplet. If you think this
5420+configuration is useful to you, please write to autoconf@gnu.org." >&5
5421+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5422+whose name does not start with the host triplet. If you think this
5423+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5424+ac_tool_warned=yes ;;
5425+esac
5426+ AR=$ac_ct_AR
5427+ fi
5428+else
5429+ AR="$ac_cv_prog_AR"
5430+fi
5431+
5432+test -z "$AR" && AR=ar
5433+test -z "$AR_FLAGS" && AR_FLAGS=cru
5434+
5435+
5436+
5437+
5438+
5439+
5440+
5441+
5442+
5443+
5444+
5445+if test -n "$ac_tool_prefix"; then
5446+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5447+set dummy ${ac_tool_prefix}strip; ac_word=$2
5448+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5449+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5450+if test "${ac_cv_prog_STRIP+set}" = set; then
5451+ echo $ECHO_N "(cached) $ECHO_C" >&6
5452+else
5453+ if test -n "$STRIP"; then
5454+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5455+else
5456+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5457+for as_dir in $PATH
5458+do
5459+ IFS=$as_save_IFS
5460+ test -z "$as_dir" && as_dir=.
5461+ for ac_exec_ext in '' $ac_executable_extensions; do
5462+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5463+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5464+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5465+ break 2
5466+ fi
5467+done
5468+done
5469+IFS=$as_save_IFS
5470+
5471+fi
5472+fi
5473+STRIP=$ac_cv_prog_STRIP
5474+if test -n "$STRIP"; then
5475+ { echo "$as_me:$LINENO: result: $STRIP" >&5
5476+echo "${ECHO_T}$STRIP" >&6; }
5477+else
5478+ { echo "$as_me:$LINENO: result: no" >&5
5479+echo "${ECHO_T}no" >&6; }
5480+fi
5481+
5482+
5483+fi
5484+if test -z "$ac_cv_prog_STRIP"; then
5485+ ac_ct_STRIP=$STRIP
5486+ # Extract the first word of "strip", so it can be a program name with args.
5487+set dummy strip; ac_word=$2
5488+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5489+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5490+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5491+ echo $ECHO_N "(cached) $ECHO_C" >&6
5492+else
5493+ if test -n "$ac_ct_STRIP"; then
5494+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5495+else
5496+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497+for as_dir in $PATH
5498+do
5499+ IFS=$as_save_IFS
5500+ test -z "$as_dir" && as_dir=.
5501+ for ac_exec_ext in '' $ac_executable_extensions; do
5502+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5503+ ac_cv_prog_ac_ct_STRIP="strip"
5504+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5505+ break 2
5506+ fi
5507+done
5508+done
5509+IFS=$as_save_IFS
5510+
5511+fi
5512+fi
5513+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5514+if test -n "$ac_ct_STRIP"; then
5515+ { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5516+echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5517+else
5518+ { echo "$as_me:$LINENO: result: no" >&5
5519+echo "${ECHO_T}no" >&6; }
5520+fi
5521+
5522+ if test "x$ac_ct_STRIP" = x; then
5523+ STRIP=":"
5524+ else
5525+ case $cross_compiling:$ac_tool_warned in
5526+yes:)
5527+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5528+whose name does not start with the host triplet. If you think this
5529+configuration is useful to you, please write to autoconf@gnu.org." >&5
5530+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5531+whose name does not start with the host triplet. If you think this
5532+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5533+ac_tool_warned=yes ;;
5534+esac
5535+ STRIP=$ac_ct_STRIP
5536+ fi
5537+else
5538+ STRIP="$ac_cv_prog_STRIP"
5539+fi
5540+
5541+test -z "$STRIP" && STRIP=:
5542+
5543+
5544+
5545+
5546+
5547+
5548+if test -n "$ac_tool_prefix"; then
5549+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5550+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5551+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5552+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5553+if test "${ac_cv_prog_RANLIB+set}" = set; then
5554+ echo $ECHO_N "(cached) $ECHO_C" >&6
5555+else
5556+ if test -n "$RANLIB"; then
5557+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5558+else
5559+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560+for as_dir in $PATH
5561+do
5562+ IFS=$as_save_IFS
5563+ test -z "$as_dir" && as_dir=.
5564+ for ac_exec_ext in '' $ac_executable_extensions; do
5565+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5566+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5567+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5568+ break 2
5569+ fi
5570+done
5571+done
5572+IFS=$as_save_IFS
5573+
5574+fi
5575+fi
5576+RANLIB=$ac_cv_prog_RANLIB
5577+if test -n "$RANLIB"; then
5578+ { echo "$as_me:$LINENO: result: $RANLIB" >&5
5579+echo "${ECHO_T}$RANLIB" >&6; }
5580+else
5581+ { echo "$as_me:$LINENO: result: no" >&5
5582+echo "${ECHO_T}no" >&6; }
5583+fi
5584+
5585+
5586+fi
5587+if test -z "$ac_cv_prog_RANLIB"; then
5588+ ac_ct_RANLIB=$RANLIB
5589+ # Extract the first word of "ranlib", so it can be a program name with args.
5590+set dummy ranlib; ac_word=$2
5591+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5592+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5593+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5594+ echo $ECHO_N "(cached) $ECHO_C" >&6
5595+else
5596+ if test -n "$ac_ct_RANLIB"; then
5597+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5598+else
5599+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5600+for as_dir in $PATH
5601+do
5602+ IFS=$as_save_IFS
5603+ test -z "$as_dir" && as_dir=.
5604+ for ac_exec_ext in '' $ac_executable_extensions; do
5605+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5606+ ac_cv_prog_ac_ct_RANLIB="ranlib"
5607+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5608+ break 2
5609+ fi
5610+done
5611+done
5612+IFS=$as_save_IFS
5613+
5614+fi
5615+fi
5616+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5617+if test -n "$ac_ct_RANLIB"; then
5618+ { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5619+echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5620+else
5621+ { echo "$as_me:$LINENO: result: no" >&5
5622+echo "${ECHO_T}no" >&6; }
5623+fi
5624+
5625+ if test "x$ac_ct_RANLIB" = x; then
5626+ RANLIB=":"
5627+ else
5628+ case $cross_compiling:$ac_tool_warned in
5629+yes:)
5630+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5631+whose name does not start with the host triplet. If you think this
5632+configuration is useful to you, please write to autoconf@gnu.org." >&5
5633+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5634+whose name does not start with the host triplet. If you think this
5635+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5636+ac_tool_warned=yes ;;
5637+esac
5638+ RANLIB=$ac_ct_RANLIB
5639+ fi
5640+else
5641+ RANLIB="$ac_cv_prog_RANLIB"
5642+fi
5643+
5644+test -z "$RANLIB" && RANLIB=:
5645+
5646+
5647+
5648+
5649+
5650+
5651+# Determine commands to create old-style static archives.
5652+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5653+old_postinstall_cmds='chmod 644 $oldlib'
5654+old_postuninstall_cmds=
5655+
5656+if test -n "$RANLIB"; then
5657+ case $host_os in
5658+ openbsd*)
5659+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5660+ ;;
5661+ *)
5662+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5663+ ;;
5664+ esac
5665+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5666+fi
5667+
5668+
5669+
5670+
5671+
5672+
5673+
5674+
5675+
5676+
5677+
5678+
5679+
5680+
5681+
5682+
5683+
5684+
5685+
5686+
5687+
5688+
5689+
5690+
5691+
5692+
5693+
5694+
5695+
5696+
5697+
5698+
5699+
5700+
5701+# If no C compiler was specified, use CC.
5702+LTCC=${LTCC-"$CC"}
5703+
5704+# If no C compiler flags were specified, use CFLAGS.
5705+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5706+
5707+# Allow CC to be a program name with arguments.
5708+compiler=$CC
5709+
5710+
5711+# Check for command to grab the raw symbol name followed by C symbol from nm.
5712+{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5713+echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5714+if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5715+ echo $ECHO_N "(cached) $ECHO_C" >&6
5716+else
5717+
5718+# These are sane defaults that work on at least a few old systems.
5719+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
5720+
5721+# Character class describing NM global symbol codes.
5722+symcode='[BCDEGRST]'
5723+
5724+# Regexp to match symbols that can be accessed directly from C.
5725+sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5726+
5727+# Define system-specific variables.
5728+case $host_os in
5729+aix*)
5730+ symcode='[BCDT]'
5731+ ;;
5732+cygwin* | mingw* | pw32* | cegcc*)
5733+ symcode='[ABCDGISTW]'
5734+ ;;
5735+hpux*)
5736+ if test "$host_cpu" = ia64; then
5737+ symcode='[ABCDEGRST]'
5738+ fi
5739+ ;;
5740+irix* | nonstopux*)
5741+ symcode='[BCDEGRST]'
5742+ ;;
5743+osf*)
5744+ symcode='[BCDEGQRST]'
5745+ ;;
5746+solaris*)
5747+ symcode='[BDRT]'
5748+ ;;
5749+sco3.2v5*)
5750+ symcode='[DT]'
5751+ ;;
5752+sysv4.2uw2*)
5753+ symcode='[DT]'
5754+ ;;
5755+sysv5* | sco5v6* | unixware* | OpenUNIX*)
5756+ symcode='[ABDT]'
5757+ ;;
5758+sysv4)
5759+ symcode='[DFNSTU]'
5760+ ;;
5761+esac
5762+
5763+# If we're using GNU nm, then use its standard symbol codes.
5764+case `$NM -V 2>&1` in
5765+*GNU* | *'with BFD'*)
5766+ symcode='[ABCDGIRSTW]' ;;
5767+esac
5768+
5769+# Transform an extracted symbol line into a proper C declaration.
5770+# Some systems (esp. on ia64) link data and code symbols differently,
5771+# so use this general approach.
5772+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5773+
5774+# Transform an extracted symbol line into symbol name and symbol address
5775+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5776+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5777+
5778+# Handle CRLF in mingw tool chain
5779+opt_cr=
5780+case $build_os in
5781+mingw*)
5782+ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5783+ ;;
5784+esac
5785+
5786+# Try without a prefix underscore, then with it.
5787+for ac_symprfx in "" "_"; do
5788+
5789+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5790+ symxfrm="\\1 $ac_symprfx\\2 \\2"
5791+
5792+ # Write the raw and C identifiers.
5793+ if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5794+ # Fake it for dumpbin and say T for any non-static function
5795+ # and D for any global variable.
5796+ # Also find C++ and __fastcall symbols from MSVC++,
5797+ # which start with @ or ?.
5798+ lt_cv_sys_global_symbol_pipe="$AWK '"\
5799+" {last_section=section; section=\$ 3};"\
5800+" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5801+" \$ 0!~/External *\|/{next};"\
5802+" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5803+" {if(hide[section]) next};"\
5804+" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5805+" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5806+" s[1]~/^[@?]/{print s[1], s[1]; next};"\
5807+" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5808+" ' prfx=^$ac_symprfx"
5809+ else
5810+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5811+ fi
5812+
5813+ # Check to see that the pipe works correctly.
5814+ pipe_works=no
5815+
5816+ rm -f conftest*
5817+ cat > conftest.$ac_ext <<_LT_EOF
5818+#ifdef __cplusplus
5819+extern "C" {
5820+#endif
5821+char nm_test_var;
5822+void nm_test_func(void);
5823+void nm_test_func(void){}
5824+#ifdef __cplusplus
5825+}
5826+#endif
5827+int main(){nm_test_var='a';nm_test_func();return(0);}
5828+_LT_EOF
5829+
5830+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5831+ (eval $ac_compile) 2>&5
5832+ ac_status=$?
5833+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834+ (exit $ac_status); }; then
5835+ # Now try to grab the symbols.
5836+ nlist=conftest.nm
5837+ if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5838+ (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5839+ ac_status=$?
5840+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841+ (exit $ac_status); } && test -s "$nlist"; then
5842+ # Try sorting and uniquifying the output.
5843+ if sort "$nlist" | uniq > "$nlist"T; then
5844+ mv -f "$nlist"T "$nlist"
5845+ else
5846+ rm -f "$nlist"T
5847+ fi
5848+
5849+ # Make sure that we snagged all the symbols we need.
5850+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5851+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5852+ cat <<_LT_EOF > conftest.$ac_ext
5853+#ifdef __cplusplus
5854+extern "C" {
5855+#endif
5856+
5857+_LT_EOF
5858+ # Now generate the symbol file.
5859+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5860+
5861+ cat <<_LT_EOF >> conftest.$ac_ext
5862+
5863+/* The mapping between symbol names and symbols. */
5864+const struct {
5865+ const char *name;
5866+ void *address;
5867+}
5868+lt__PROGRAM__LTX_preloaded_symbols[] =
5869+{
5870+ { "@PROGRAM@", (void *) 0 },
5871+_LT_EOF
5872+ $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5873+ cat <<\_LT_EOF >> conftest.$ac_ext
5874+ {0, (void *) 0}
5875+};
5876+
5877+/* This works around a problem in FreeBSD linker */
5878+#ifdef FREEBSD_WORKAROUND
5879+static const void *lt_preloaded_setup() {
5880+ return lt__PROGRAM__LTX_preloaded_symbols;
5881+}
5882+#endif
5883+
5884+#ifdef __cplusplus
5885+}
5886+#endif
5887+_LT_EOF
5888+ # Now try linking the two files.
5889+ mv conftest.$ac_objext conftstm.$ac_objext
5890+ lt_save_LIBS="$LIBS"
5891+ lt_save_CFLAGS="$CFLAGS"
5892+ LIBS="conftstm.$ac_objext"
5893+ CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5894+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5895+ (eval $ac_link) 2>&5
5896+ ac_status=$?
5897+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5898+ (exit $ac_status); } && test -s conftest${ac_exeext}; then
5899+ pipe_works=yes
5900+ fi
5901+ LIBS="$lt_save_LIBS"
5902+ CFLAGS="$lt_save_CFLAGS"
5903+ else
5904+ echo "cannot find nm_test_func in $nlist" >&5
5905+ fi
5906+ else
5907+ echo "cannot find nm_test_var in $nlist" >&5
5908+ fi
5909+ else
5910+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5911+ fi
5912+ else
5913+ echo "$progname: failed program was:" >&5
5914+ cat conftest.$ac_ext >&5
5915+ fi
5916+ rm -rf conftest* conftst*
5917+
5918+ # Do not use the global_symbol_pipe unless it works.
5919+ if test "$pipe_works" = yes; then
5920+ break
5921+ else
5922+ lt_cv_sys_global_symbol_pipe=
5923+ fi
5924+done
5925+
5926+fi
5927+
5928+if test -z "$lt_cv_sys_global_symbol_pipe"; then
5929+ lt_cv_sys_global_symbol_to_cdecl=
5930+fi
5931+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5932+ { echo "$as_me:$LINENO: result: failed" >&5
5933+echo "${ECHO_T}failed" >&6; }
5934+else
5935+ { echo "$as_me:$LINENO: result: ok" >&5
5936+echo "${ECHO_T}ok" >&6; }
5937+fi
5938+
5939+
5940+
5941+
5942+
5943+
5944+
5945+
5946+
5947+
5948+
5949+
5950+
5951+
5952+
5953+
5954+
5955+
5956+
5957+
5958+
5959+
5960+
5961+# Check whether --enable-libtool-lock was given.
5962+if test "${enable_libtool_lock+set}" = set; then
5963+ enableval=$enable_libtool_lock;
5964+fi
5965+
5966+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5967+
5968+# Some flags need to be propagated to the compiler or linker for good
5969+# libtool support.
5970+case $host in
5971+ia64-*-hpux*)
5972+ # Find out which ABI we are using.
5973+ echo 'int i;' > conftest.$ac_ext
5974+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5975+ (eval $ac_compile) 2>&5
5976+ ac_status=$?
5977+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5978+ (exit $ac_status); }; then
5979+ case `/usr/bin/file conftest.$ac_objext` in
5980+ *ELF-32*)
5981+ HPUX_IA64_MODE="32"
5982+ ;;
5983+ *ELF-64*)
5984+ HPUX_IA64_MODE="64"
5985+ ;;
5986+ esac
5987+ fi
5988+ rm -rf conftest*
5989+ ;;
5990+*-*-irix6*)
5991+ # Find out which ABI we are using.
5992+ echo '#line 5992 "configure"' > conftest.$ac_ext
5993+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5994+ (eval $ac_compile) 2>&5
5995+ ac_status=$?
5996+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5997+ (exit $ac_status); }; then
5998+ if test "$lt_cv_prog_gnu_ld" = yes; then
5999+ case `/usr/bin/file conftest.$ac_objext` in
6000+ *32-bit*)
6001+ LD="${LD-ld} -melf32bsmip"
6002+ ;;
6003+ *N32*)
6004+ LD="${LD-ld} -melf32bmipn32"
6005+ ;;
6006+ *64-bit*)
6007+ LD="${LD-ld} -melf64bmip"
6008+ ;;
6009+ esac
6010+ else
6011+ case `/usr/bin/file conftest.$ac_objext` in
6012+ *32-bit*)
6013+ LD="${LD-ld} -32"
6014+ ;;
6015+ *N32*)
6016+ LD="${LD-ld} -n32"
6017+ ;;
6018+ *64-bit*)
6019+ LD="${LD-ld} -64"
6020+ ;;
6021+ esac
6022+ fi
6023+ fi
6024+ rm -rf conftest*
6025+ ;;
6026+
6027+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6028+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6029+ # Find out which ABI we are using.
6030+ echo 'int i;' > conftest.$ac_ext
6031+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6032+ (eval $ac_compile) 2>&5
6033+ ac_status=$?
6034+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6035+ (exit $ac_status); }; then
6036+ case `/usr/bin/file conftest.o` in
6037+ *32-bit*)
6038+ case $host in
6039+ x86_64-*kfreebsd*-gnu)
6040+ LD="${LD-ld} -m elf_i386_fbsd"
6041+ ;;
6042+ x86_64-*linux*)
6043+ LD="${LD-ld} -m elf_i386"
6044+ ;;
6045+ ppc64-*linux*|powerpc64-*linux*)
6046+ LD="${LD-ld} -m elf32ppclinux"
6047+ ;;
6048+ s390x-*linux*)
6049+ LD="${LD-ld} -m elf_s390"
6050+ ;;
6051+ sparc64-*linux*)
6052+ LD="${LD-ld} -m elf32_sparc"
6053+ ;;
6054+ esac
6055+ ;;
6056+ *64-bit*)
6057+ case $host in
6058+ x86_64-*kfreebsd*-gnu)
6059+ LD="${LD-ld} -m elf_x86_64_fbsd"
6060+ ;;
6061+ x86_64-*linux*)
6062+ LD="${LD-ld} -m elf_x86_64"
6063+ ;;
6064+ ppc*-*linux*|powerpc*-*linux*)
6065+ LD="${LD-ld} -m elf64ppc"
6066+ ;;
6067+ s390*-*linux*|s390*-*tpf*)
6068+ LD="${LD-ld} -m elf64_s390"
6069+ ;;
6070+ sparc*-*linux*)
6071+ LD="${LD-ld} -m elf64_sparc"
6072+ ;;
6073+ esac
6074+ ;;
6075+ esac
6076+ fi
6077+ rm -rf conftest*
6078+ ;;
6079+
6080+*-*-sco3.2v5*)
6081+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6082+ SAVE_CFLAGS="$CFLAGS"
6083+ CFLAGS="$CFLAGS -belf"
6084+ { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6085+echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
6086+if test "${lt_cv_cc_needs_belf+set}" = set; then
6087+ echo $ECHO_N "(cached) $ECHO_C" >&6
6088+else
6089+ ac_ext=c
6090+ac_cpp='$CPP $CPPFLAGS'
6091+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6092+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6093+ac_compiler_gnu=$ac_cv_c_compiler_gnu
6094+
6095+ cat >conftest.$ac_ext <<_ACEOF
6096+/* confdefs.h. */
6097+_ACEOF
6098+cat confdefs.h >>conftest.$ac_ext
6099+cat >>conftest.$ac_ext <<_ACEOF
6100+/* end confdefs.h. */
6101+
6102+int
6103+main ()
6104+{
6105+
6106+ ;
6107+ return 0;
6108+}
6109+_ACEOF
6110+rm -f conftest.$ac_objext conftest$ac_exeext
6111+if { (ac_try="$ac_link"
6112+case "(($ac_try" in
6113+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6114+ *) ac_try_echo=$ac_try;;
6115+esac
6116+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6117+ (eval "$ac_link") 2>conftest.er1
6118+ ac_status=$?
6119+ grep -v '^ *+' conftest.er1 >conftest.err
6120+ rm -f conftest.er1
6121+ cat conftest.err >&5
6122+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123+ (exit $ac_status); } && {
6124+ test -z "$ac_c_werror_flag" ||
6125+ test ! -s conftest.err
6126+ } && test -s conftest$ac_exeext &&
6127+ $as_test_x conftest$ac_exeext; then
6128+ lt_cv_cc_needs_belf=yes
6129+else
6130+ echo "$as_me: failed program was:" >&5
6131+sed 's/^/| /' conftest.$ac_ext >&5
6132+
6133+ lt_cv_cc_needs_belf=no
6134+fi
6135+
6136+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6137+ conftest$ac_exeext conftest.$ac_ext
6138+ ac_ext=c
6139+ac_cpp='$CPP $CPPFLAGS'
6140+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6141+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6142+ac_compiler_gnu=$ac_cv_c_compiler_gnu
6143+
6144+fi
6145+{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6146+echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6147+ if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6148+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6149+ CFLAGS="$SAVE_CFLAGS"
6150+ fi
6151+ ;;
6152+sparc*-*solaris*)
6153+ # Find out which ABI we are using.
6154+ echo 'int i;' > conftest.$ac_ext
6155+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6156+ (eval $ac_compile) 2>&5
6157+ ac_status=$?
6158+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159+ (exit $ac_status); }; then
6160+ case `/usr/bin/file conftest.o` in
6161+ *64-bit*)
6162+ case $lt_cv_prog_gnu_ld in
6163+ yes*) LD="${LD-ld} -m elf64_sparc" ;;
6164+ *)
6165+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6166+ LD="${LD-ld} -64"
6167+ fi
6168+ ;;
6169+ esac
6170+ ;;
6171+ esac
6172+ fi
6173+ rm -rf conftest*
6174+ ;;
6175+esac
6176+
6177+need_locks="$enable_libtool_lock"
6178+
6179+
6180+ case $host_os in
6181+ rhapsody* | darwin*)
6182+ if test -n "$ac_tool_prefix"; then
6183+ # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6184+set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6185+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6186+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6187+if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6188+ echo $ECHO_N "(cached) $ECHO_C" >&6
6189+else
6190+ if test -n "$DSYMUTIL"; then
6191+ ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6192+else
6193+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6194+for as_dir in $PATH
6195+do
6196+ IFS=$as_save_IFS
6197+ test -z "$as_dir" && as_dir=.
6198+ for ac_exec_ext in '' $ac_executable_extensions; do
6199+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6200+ ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6201+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6202+ break 2
6203+ fi
6204+done
6205+done
6206+IFS=$as_save_IFS
6207+
6208+fi
6209+fi
6210+DSYMUTIL=$ac_cv_prog_DSYMUTIL
6211+if test -n "$DSYMUTIL"; then
6212+ { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6213+echo "${ECHO_T}$DSYMUTIL" >&6; }
6214+else
6215+ { echo "$as_me:$LINENO: result: no" >&5
6216+echo "${ECHO_T}no" >&6; }
6217+fi
6218+
6219+
6220+fi
6221+if test -z "$ac_cv_prog_DSYMUTIL"; then
6222+ ac_ct_DSYMUTIL=$DSYMUTIL
6223+ # Extract the first word of "dsymutil", so it can be a program name with args.
6224+set dummy dsymutil; ac_word=$2
6225+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6226+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6227+if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6228+ echo $ECHO_N "(cached) $ECHO_C" >&6
6229+else
6230+ if test -n "$ac_ct_DSYMUTIL"; then
6231+ ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6232+else
6233+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6234+for as_dir in $PATH
6235+do
6236+ IFS=$as_save_IFS
6237+ test -z "$as_dir" && as_dir=.
6238+ for ac_exec_ext in '' $ac_executable_extensions; do
6239+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6240+ ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6241+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6242+ break 2
6243+ fi
6244+done
6245+done
6246+IFS=$as_save_IFS
6247+
6248+fi
6249+fi
6250+ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6251+if test -n "$ac_ct_DSYMUTIL"; then
6252+ { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6253+echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
6254+else
6255+ { echo "$as_me:$LINENO: result: no" >&5
6256+echo "${ECHO_T}no" >&6; }
6257+fi
6258+
6259+ if test "x$ac_ct_DSYMUTIL" = x; then
6260+ DSYMUTIL=":"
6261+ else
6262+ case $cross_compiling:$ac_tool_warned in
6263+yes:)
6264+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6265+whose name does not start with the host triplet. If you think this
6266+configuration is useful to you, please write to autoconf@gnu.org." >&5
6267+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6268+whose name does not start with the host triplet. If you think this
6269+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6270+ac_tool_warned=yes ;;
6271+esac
6272+ DSYMUTIL=$ac_ct_DSYMUTIL
6273+ fi
6274+else
6275+ DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6276+fi
6277+
6278+ if test -n "$ac_tool_prefix"; then
6279+ # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6280+set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6281+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6282+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6283+if test "${ac_cv_prog_NMEDIT+set}" = set; then
6284+ echo $ECHO_N "(cached) $ECHO_C" >&6
6285+else
6286+ if test -n "$NMEDIT"; then
6287+ ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6288+else
6289+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6290+for as_dir in $PATH
6291+do
6292+ IFS=$as_save_IFS
6293+ test -z "$as_dir" && as_dir=.
6294+ for ac_exec_ext in '' $ac_executable_extensions; do
6295+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6296+ ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6297+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6298+ break 2
6299+ fi
6300+done
6301+done
6302+IFS=$as_save_IFS
6303+
6304+fi
6305+fi
6306+NMEDIT=$ac_cv_prog_NMEDIT
6307+if test -n "$NMEDIT"; then
6308+ { echo "$as_me:$LINENO: result: $NMEDIT" >&5
6309+echo "${ECHO_T}$NMEDIT" >&6; }
6310+else
6311+ { echo "$as_me:$LINENO: result: no" >&5
6312+echo "${ECHO_T}no" >&6; }
6313+fi
6314+
6315+
6316+fi
6317+if test -z "$ac_cv_prog_NMEDIT"; then
6318+ ac_ct_NMEDIT=$NMEDIT
6319+ # Extract the first word of "nmedit", so it can be a program name with args.
6320+set dummy nmedit; ac_word=$2
6321+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6322+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6323+if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6324+ echo $ECHO_N "(cached) $ECHO_C" >&6
6325+else
6326+ if test -n "$ac_ct_NMEDIT"; then
6327+ ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6328+else
6329+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6330+for as_dir in $PATH
6331+do
6332+ IFS=$as_save_IFS
6333+ test -z "$as_dir" && as_dir=.
6334+ for ac_exec_ext in '' $ac_executable_extensions; do
6335+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6336+ ac_cv_prog_ac_ct_NMEDIT="nmedit"
6337+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6338+ break 2
6339+ fi
6340+done
6341+done
6342+IFS=$as_save_IFS
6343+
6344+fi
6345+fi
6346+ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6347+if test -n "$ac_ct_NMEDIT"; then
6348+ { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6349+echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
6350+else
6351+ { echo "$as_me:$LINENO: result: no" >&5
6352+echo "${ECHO_T}no" >&6; }
6353+fi
6354+
6355+ if test "x$ac_ct_NMEDIT" = x; then
6356+ NMEDIT=":"
6357+ else
6358+ case $cross_compiling:$ac_tool_warned in
6359+yes:)
6360+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6361+whose name does not start with the host triplet. If you think this
6362+configuration is useful to you, please write to autoconf@gnu.org." >&5
6363+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6364+whose name does not start with the host triplet. If you think this
6365+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6366+ac_tool_warned=yes ;;
6367+esac
6368+ NMEDIT=$ac_ct_NMEDIT
6369+ fi
6370+else
6371+ NMEDIT="$ac_cv_prog_NMEDIT"
6372+fi
6373+
6374+ if test -n "$ac_tool_prefix"; then
6375+ # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6376+set dummy ${ac_tool_prefix}lipo; ac_word=$2
6377+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6378+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6379+if test "${ac_cv_prog_LIPO+set}" = set; then
6380+ echo $ECHO_N "(cached) $ECHO_C" >&6
6381+else
6382+ if test -n "$LIPO"; then
6383+ ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6384+else
6385+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6386+for as_dir in $PATH
6387+do
6388+ IFS=$as_save_IFS
6389+ test -z "$as_dir" && as_dir=.
6390+ for ac_exec_ext in '' $ac_executable_extensions; do
6391+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6392+ ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6393+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6394+ break 2
6395+ fi
6396+done
6397+done
6398+IFS=$as_save_IFS
6399+
6400+fi
6401+fi
6402+LIPO=$ac_cv_prog_LIPO
6403+if test -n "$LIPO"; then
6404+ { echo "$as_me:$LINENO: result: $LIPO" >&5
6405+echo "${ECHO_T}$LIPO" >&6; }
6406+else
6407+ { echo "$as_me:$LINENO: result: no" >&5
6408+echo "${ECHO_T}no" >&6; }
6409+fi
6410+
6411+
6412+fi
6413+if test -z "$ac_cv_prog_LIPO"; then
6414+ ac_ct_LIPO=$LIPO
6415+ # Extract the first word of "lipo", so it can be a program name with args.
6416+set dummy lipo; ac_word=$2
6417+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6418+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6419+if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6420+ echo $ECHO_N "(cached) $ECHO_C" >&6
6421+else
6422+ if test -n "$ac_ct_LIPO"; then
6423+ ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6424+else
6425+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426+for as_dir in $PATH
6427+do
6428+ IFS=$as_save_IFS
6429+ test -z "$as_dir" && as_dir=.
6430+ for ac_exec_ext in '' $ac_executable_extensions; do
6431+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6432+ ac_cv_prog_ac_ct_LIPO="lipo"
6433+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6434+ break 2
6435+ fi
6436+done
6437+done
6438+IFS=$as_save_IFS
6439+
6440+fi
6441+fi
6442+ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6443+if test -n "$ac_ct_LIPO"; then
6444+ { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6445+echo "${ECHO_T}$ac_ct_LIPO" >&6; }
6446+else
6447+ { echo "$as_me:$LINENO: result: no" >&5
6448+echo "${ECHO_T}no" >&6; }
6449+fi
6450+
6451+ if test "x$ac_ct_LIPO" = x; then
6452+ LIPO=":"
6453+ else
6454+ case $cross_compiling:$ac_tool_warned in
6455+yes:)
6456+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6457+whose name does not start with the host triplet. If you think this
6458+configuration is useful to you, please write to autoconf@gnu.org." >&5
6459+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6460+whose name does not start with the host triplet. If you think this
6461+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6462+ac_tool_warned=yes ;;
6463+esac
6464+ LIPO=$ac_ct_LIPO
6465+ fi
6466+else
6467+ LIPO="$ac_cv_prog_LIPO"
6468+fi
6469+
6470+ if test -n "$ac_tool_prefix"; then
6471+ # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6472+set dummy ${ac_tool_prefix}otool; ac_word=$2
6473+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6474+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6475+if test "${ac_cv_prog_OTOOL+set}" = set; then
6476+ echo $ECHO_N "(cached) $ECHO_C" >&6
6477+else
6478+ if test -n "$OTOOL"; then
6479+ ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6480+else
6481+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6482+for as_dir in $PATH
6483+do
6484+ IFS=$as_save_IFS
6485+ test -z "$as_dir" && as_dir=.
6486+ for ac_exec_ext in '' $ac_executable_extensions; do
6487+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6488+ ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6489+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6490+ break 2
6491+ fi
6492+done
6493+done
6494+IFS=$as_save_IFS
6495+
6496+fi
6497+fi
6498+OTOOL=$ac_cv_prog_OTOOL
6499+if test -n "$OTOOL"; then
6500+ { echo "$as_me:$LINENO: result: $OTOOL" >&5
6501+echo "${ECHO_T}$OTOOL" >&6; }
6502+else
6503+ { echo "$as_me:$LINENO: result: no" >&5
6504+echo "${ECHO_T}no" >&6; }
6505+fi
6506+
6507+
6508+fi
6509+if test -z "$ac_cv_prog_OTOOL"; then
6510+ ac_ct_OTOOL=$OTOOL
6511+ # Extract the first word of "otool", so it can be a program name with args.
6512+set dummy otool; ac_word=$2
6513+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6514+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6515+if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6516+ echo $ECHO_N "(cached) $ECHO_C" >&6
6517+else
6518+ if test -n "$ac_ct_OTOOL"; then
6519+ ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6520+else
6521+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522+for as_dir in $PATH
6523+do
6524+ IFS=$as_save_IFS
6525+ test -z "$as_dir" && as_dir=.
6526+ for ac_exec_ext in '' $ac_executable_extensions; do
6527+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6528+ ac_cv_prog_ac_ct_OTOOL="otool"
6529+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6530+ break 2
6531+ fi
6532+done
6533+done
6534+IFS=$as_save_IFS
6535+
6536+fi
6537+fi
6538+ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6539+if test -n "$ac_ct_OTOOL"; then
6540+ { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6541+echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
6542+else
6543+ { echo "$as_me:$LINENO: result: no" >&5
6544+echo "${ECHO_T}no" >&6; }
6545+fi
6546+
6547+ if test "x$ac_ct_OTOOL" = x; then
6548+ OTOOL=":"
6549+ else
6550+ case $cross_compiling:$ac_tool_warned in
6551+yes:)
6552+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6553+whose name does not start with the host triplet. If you think this
6554+configuration is useful to you, please write to autoconf@gnu.org." >&5
6555+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6556+whose name does not start with the host triplet. If you think this
6557+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6558+ac_tool_warned=yes ;;
6559+esac
6560+ OTOOL=$ac_ct_OTOOL
6561+ fi
6562+else
6563+ OTOOL="$ac_cv_prog_OTOOL"
6564+fi
6565+
6566+ if test -n "$ac_tool_prefix"; then
6567+ # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6568+set dummy ${ac_tool_prefix}otool64; ac_word=$2
6569+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6570+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6571+if test "${ac_cv_prog_OTOOL64+set}" = set; then
6572+ echo $ECHO_N "(cached) $ECHO_C" >&6
6573+else
6574+ if test -n "$OTOOL64"; then
6575+ ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6576+else
6577+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6578+for as_dir in $PATH
6579+do
6580+ IFS=$as_save_IFS
6581+ test -z "$as_dir" && as_dir=.
6582+ for ac_exec_ext in '' $ac_executable_extensions; do
6583+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6584+ ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6585+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6586+ break 2
6587+ fi
6588+done
6589+done
6590+IFS=$as_save_IFS
6591+
6592+fi
6593+fi
6594+OTOOL64=$ac_cv_prog_OTOOL64
6595+if test -n "$OTOOL64"; then
6596+ { echo "$as_me:$LINENO: result: $OTOOL64" >&5
6597+echo "${ECHO_T}$OTOOL64" >&6; }
6598+else
6599+ { echo "$as_me:$LINENO: result: no" >&5
6600+echo "${ECHO_T}no" >&6; }
6601+fi
6602+
6603+
6604+fi
6605+if test -z "$ac_cv_prog_OTOOL64"; then
6606+ ac_ct_OTOOL64=$OTOOL64
6607+ # Extract the first word of "otool64", so it can be a program name with args.
6608+set dummy otool64; ac_word=$2
6609+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6610+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6611+if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6612+ echo $ECHO_N "(cached) $ECHO_C" >&6
6613+else
6614+ if test -n "$ac_ct_OTOOL64"; then
6615+ ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6616+else
6617+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618+for as_dir in $PATH
6619+do
6620+ IFS=$as_save_IFS
6621+ test -z "$as_dir" && as_dir=.
6622+ for ac_exec_ext in '' $ac_executable_extensions; do
6623+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6624+ ac_cv_prog_ac_ct_OTOOL64="otool64"
6625+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6626+ break 2
6627+ fi
6628+done
6629+done
6630+IFS=$as_save_IFS
6631+
6632+fi
6633+fi
6634+ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6635+if test -n "$ac_ct_OTOOL64"; then
6636+ { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6637+echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
6638+else
6639+ { echo "$as_me:$LINENO: result: no" >&5
6640+echo "${ECHO_T}no" >&6; }
6641+fi
6642+
6643+ if test "x$ac_ct_OTOOL64" = x; then
6644+ OTOOL64=":"
6645+ else
6646+ case $cross_compiling:$ac_tool_warned in
6647+yes:)
6648+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6649+whose name does not start with the host triplet. If you think this
6650+configuration is useful to you, please write to autoconf@gnu.org." >&5
6651+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6652+whose name does not start with the host triplet. If you think this
6653+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6654+ac_tool_warned=yes ;;
6655+esac
6656+ OTOOL64=$ac_ct_OTOOL64
6657+ fi
6658+else
6659+ OTOOL64="$ac_cv_prog_OTOOL64"
6660+fi
6661+
6662+
6663+
6664+
6665+
6666+
6667+
6668+
6669+
6670+
6671+
6672+
6673+
6674+
6675+
6676+
6677+
6678+
6679+
6680+
6681+
6682+
6683+
6684+
6685+
6686+
6687+
6688+ { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6689+echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
6690+if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6691+ echo $ECHO_N "(cached) $ECHO_C" >&6
6692+else
6693+ lt_cv_apple_cc_single_mod=no
6694+ if test -z "${LT_MULTI_MODULE}"; then
6695+ # By default we will add the -single_module flag. You can override
6696+ # by either setting the environment variable LT_MULTI_MODULE
6697+ # non-empty at configure time, or by adding -multi_module to the
6698+ # link flags.
6699+ rm -rf libconftest.dylib*
6700+ echo "int foo(void){return 1;}" > conftest.c
6701+ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6702+-dynamiclib -Wl,-single_module conftest.c" >&5
6703+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6704+ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6705+ _lt_result=$?
6706+ if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6707+ lt_cv_apple_cc_single_mod=yes
6708+ else
6709+ cat conftest.err >&5
6710+ fi
6711+ rm -rf libconftest.dylib*
6712+ rm -f conftest.*
6713+ fi
6714+fi
6715+{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6716+echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
6717+ { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6718+echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
6719+if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6720+ echo $ECHO_N "(cached) $ECHO_C" >&6
6721+else
6722+ lt_cv_ld_exported_symbols_list=no
6723+ save_LDFLAGS=$LDFLAGS
6724+ echo "_main" > conftest.sym
6725+ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6726+ cat >conftest.$ac_ext <<_ACEOF
6727+/* confdefs.h. */
6728+_ACEOF
6729+cat confdefs.h >>conftest.$ac_ext
6730+cat >>conftest.$ac_ext <<_ACEOF
6731+/* end confdefs.h. */
6732+
6733+int
6734+main ()
6735+{
6736+
6737+ ;
6738+ return 0;
6739+}
6740+_ACEOF
6741+rm -f conftest.$ac_objext conftest$ac_exeext
6742+if { (ac_try="$ac_link"
6743+case "(($ac_try" in
6744+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6745+ *) ac_try_echo=$ac_try;;
6746+esac
6747+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6748+ (eval "$ac_link") 2>conftest.er1
6749+ ac_status=$?
6750+ grep -v '^ *+' conftest.er1 >conftest.err
6751+ rm -f conftest.er1
6752+ cat conftest.err >&5
6753+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6754+ (exit $ac_status); } && {
6755+ test -z "$ac_c_werror_flag" ||
6756+ test ! -s conftest.err
6757+ } && test -s conftest$ac_exeext &&
6758+ $as_test_x conftest$ac_exeext; then
6759+ lt_cv_ld_exported_symbols_list=yes
6760+else
6761+ echo "$as_me: failed program was:" >&5
6762+sed 's/^/| /' conftest.$ac_ext >&5
6763+
6764+ lt_cv_ld_exported_symbols_list=no
6765+fi
6766+
6767+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6768+ conftest$ac_exeext conftest.$ac_ext
6769+ LDFLAGS="$save_LDFLAGS"
6770+
6771+fi
6772+{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6773+echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
6774+ case $host_os in
6775+ rhapsody* | darwin1.[012])
6776+ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6777+ darwin1.*)
6778+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6779+ darwin*) # darwin 5.x on
6780+ # if running on 10.5 or later, the deployment target defaults
6781+ # to the OS version, if on x86, and 10.4, the deployment
6782+ # target defaults to 10.4. Don't you love it?
6783+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6784+ 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6785+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6786+ 10.[012]*)
6787+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6788+ 10.*)
6789+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6790+ esac
6791+ ;;
6792+ esac
6793+ if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6794+ _lt_dar_single_mod='$single_module'
6795+ fi
6796+ if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6797+ _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6798+ else
6799+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6800+ fi
6801+ if test "$DSYMUTIL" != ":"; then
6802+ _lt_dsymutil='~$DSYMUTIL $lib || :'
6803+ else
6804+ _lt_dsymutil=
6805+ fi
6806+ ;;
6807+ esac
6808+
6809+ac_ext=c
6810+ac_cpp='$CPP $CPPFLAGS'
6811+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6812+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6813+ac_compiler_gnu=$ac_cv_c_compiler_gnu
6814+{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6815+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
6816+# On Suns, sometimes $CPP names a directory.
6817+if test -n "$CPP" && test -d "$CPP"; then
6818+ CPP=
6819+fi
6820+if test -z "$CPP"; then
6821+ if test "${ac_cv_prog_CPP+set}" = set; then
6822+ echo $ECHO_N "(cached) $ECHO_C" >&6
6823+else
6824+ # Double quotes because CPP needs to be expanded
6825+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6826+ do
6827+ ac_preproc_ok=false
6828+for ac_c_preproc_warn_flag in '' yes
6829+do
6830+ # Use a header file that comes with gcc, so configuring glibc
6831+ # with a fresh cross-compiler works.
6832+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6833+ # <limits.h> exists even on freestanding compilers.
6834+ # On the NeXT, cc -E runs the code through the compiler's parser,
6835+ # not just through cpp. "Syntax error" is here to catch this case.
6836+ cat >conftest.$ac_ext <<_ACEOF
6837+/* confdefs.h. */
6838+_ACEOF
6839+cat confdefs.h >>conftest.$ac_ext
6840+cat >>conftest.$ac_ext <<_ACEOF
6841+/* end confdefs.h. */
6842+#ifdef __STDC__
6843+# include <limits.h>
6844+#else
6845+# include <assert.h>
6846+#endif
6847+ Syntax error
6848+_ACEOF
6849+if { (ac_try="$ac_cpp conftest.$ac_ext"
6850+case "(($ac_try" in
6851+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6852+ *) ac_try_echo=$ac_try;;
6853+esac
6854+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6855+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6856+ ac_status=$?
6857+ grep -v '^ *+' conftest.er1 >conftest.err
6858+ rm -f conftest.er1
6859+ cat conftest.err >&5
6860+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6861+ (exit $ac_status); } >/dev/null && {
6862+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6863+ test ! -s conftest.err
6864+ }; then
6865+ :
6866+else
6867+ echo "$as_me: failed program was:" >&5
6868+sed 's/^/| /' conftest.$ac_ext >&5
6869+
6870+ # Broken: fails on valid input.
6871+continue
6872+fi
6873+
6874+rm -f conftest.err conftest.$ac_ext
6875+
6876+ # OK, works on sane cases. Now check whether nonexistent headers
6877+ # can be detected and how.
6878+ cat >conftest.$ac_ext <<_ACEOF
6879+/* confdefs.h. */
6880+_ACEOF
6881+cat confdefs.h >>conftest.$ac_ext
6882+cat >>conftest.$ac_ext <<_ACEOF
6883+/* end confdefs.h. */
6884+#include <ac_nonexistent.h>
6885+_ACEOF
6886+if { (ac_try="$ac_cpp conftest.$ac_ext"
6887+case "(($ac_try" in
6888+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6889+ *) ac_try_echo=$ac_try;;
6890+esac
6891+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6892+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6893+ ac_status=$?
6894+ grep -v '^ *+' conftest.er1 >conftest.err
6895+ rm -f conftest.er1
6896+ cat conftest.err >&5
6897+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6898+ (exit $ac_status); } >/dev/null && {
6899+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6900+ test ! -s conftest.err
6901+ }; then
6902+ # Broken: success on invalid input.
6903+continue
6904+else
6905+ echo "$as_me: failed program was:" >&5
6906+sed 's/^/| /' conftest.$ac_ext >&5
6907+
6908+ # Passes both tests.
6909+ac_preproc_ok=:
6910+break
6911+fi
6912+
6913+rm -f conftest.err conftest.$ac_ext
6914+
6915+done
6916+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6917+rm -f conftest.err conftest.$ac_ext
6918+if $ac_preproc_ok; then
6919+ break
6920+fi
6921+
6922+ done
6923+ ac_cv_prog_CPP=$CPP
6924+
6925+fi
6926+ CPP=$ac_cv_prog_CPP
6927+else
6928+ ac_cv_prog_CPP=$CPP
6929+fi
6930+{ echo "$as_me:$LINENO: result: $CPP" >&5
6931+echo "${ECHO_T}$CPP" >&6; }
6932+ac_preproc_ok=false
6933+for ac_c_preproc_warn_flag in '' yes
6934+do
6935+ # Use a header file that comes with gcc, so configuring glibc
6936+ # with a fresh cross-compiler works.
6937+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6938+ # <limits.h> exists even on freestanding compilers.
6939+ # On the NeXT, cc -E runs the code through the compiler's parser,
6940+ # not just through cpp. "Syntax error" is here to catch this case.
6941+ cat >conftest.$ac_ext <<_ACEOF
6942+/* confdefs.h. */
6943+_ACEOF
6944+cat confdefs.h >>conftest.$ac_ext
6945+cat >>conftest.$ac_ext <<_ACEOF
6946+/* end confdefs.h. */
6947+#ifdef __STDC__
6948+# include <limits.h>
6949+#else
6950+# include <assert.h>
6951+#endif
6952+ Syntax error
6953+_ACEOF
6954+if { (ac_try="$ac_cpp conftest.$ac_ext"
6955+case "(($ac_try" in
6956+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6957+ *) ac_try_echo=$ac_try;;
6958+esac
6959+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6960+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6961+ ac_status=$?
6962+ grep -v '^ *+' conftest.er1 >conftest.err
6963+ rm -f conftest.er1
6964+ cat conftest.err >&5
6965+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6966+ (exit $ac_status); } >/dev/null && {
6967+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6968+ test ! -s conftest.err
6969+ }; then
6970+ :
6971+else
6972+ echo "$as_me: failed program was:" >&5
6973+sed 's/^/| /' conftest.$ac_ext >&5
6974+
6975+ # Broken: fails on valid input.
6976+continue
6977+fi
6978+
6979+rm -f conftest.err conftest.$ac_ext
6980+
6981+ # OK, works on sane cases. Now check whether nonexistent headers
6982+ # can be detected and how.
6983+ cat >conftest.$ac_ext <<_ACEOF
6984+/* confdefs.h. */
6985+_ACEOF
6986+cat confdefs.h >>conftest.$ac_ext
6987+cat >>conftest.$ac_ext <<_ACEOF
6988+/* end confdefs.h. */
6989+#include <ac_nonexistent.h>
6990+_ACEOF
6991+if { (ac_try="$ac_cpp conftest.$ac_ext"
6992+case "(($ac_try" in
6993+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6994+ *) ac_try_echo=$ac_try;;
6995+esac
6996+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6997+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6998+ ac_status=$?
6999+ grep -v '^ *+' conftest.er1 >conftest.err
7000+ rm -f conftest.er1
7001+ cat conftest.err >&5
7002+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003+ (exit $ac_status); } >/dev/null && {
7004+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7005+ test ! -s conftest.err
7006+ }; then
7007+ # Broken: success on invalid input.
7008+continue
7009+else
7010+ echo "$as_me: failed program was:" >&5
7011+sed 's/^/| /' conftest.$ac_ext >&5
7012+
7013+ # Passes both tests.
7014+ac_preproc_ok=:
7015+break
7016+fi
7017+
7018+rm -f conftest.err conftest.$ac_ext
7019+
7020+done
7021+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7022+rm -f conftest.err conftest.$ac_ext
7023+if $ac_preproc_ok; then
7024+ :
7025+else
7026+ { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7027+See \`config.log' for more details." >&5
7028+echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7029+See \`config.log' for more details." >&2;}
7030+ { (exit 1); exit 1; }; }
7031+fi
7032+
7033+ac_ext=c
7034+ac_cpp='$CPP $CPPFLAGS'
7035+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7036+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7037+ac_compiler_gnu=$ac_cv_c_compiler_gnu
7038+
7039+
7040+{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7041+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7042+if test "${ac_cv_header_stdc+set}" = set; then
7043+ echo $ECHO_N "(cached) $ECHO_C" >&6
7044+else
7045+ cat >conftest.$ac_ext <<_ACEOF
7046+/* confdefs.h. */
7047+_ACEOF
7048+cat confdefs.h >>conftest.$ac_ext
7049+cat >>conftest.$ac_ext <<_ACEOF
7050+/* end confdefs.h. */
7051+#include <stdlib.h>
7052+#include <stdarg.h>
7053+#include <string.h>
7054+#include <float.h>
7055+
7056+int
7057+main ()
7058+{
7059+
7060+ ;
7061+ return 0;
7062+}
7063+_ACEOF
7064+rm -f conftest.$ac_objext
7065+if { (ac_try="$ac_compile"
7066+case "(($ac_try" in
7067+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7068+ *) ac_try_echo=$ac_try;;
7069+esac
7070+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7071+ (eval "$ac_compile") 2>conftest.er1
7072+ ac_status=$?
7073+ grep -v '^ *+' conftest.er1 >conftest.err
7074+ rm -f conftest.er1
7075+ cat conftest.err >&5
7076+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7077+ (exit $ac_status); } && {
7078+ test -z "$ac_c_werror_flag" ||
7079+ test ! -s conftest.err
7080+ } && test -s conftest.$ac_objext; then
7081+ ac_cv_header_stdc=yes
7082+else
7083+ echo "$as_me: failed program was:" >&5
7084+sed 's/^/| /' conftest.$ac_ext >&5
7085+
7086+ ac_cv_header_stdc=no
7087+fi
7088+
7089+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7090+
7091+if test $ac_cv_header_stdc = yes; then
7092+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7093+ cat >conftest.$ac_ext <<_ACEOF
7094+/* confdefs.h. */
7095+_ACEOF
7096+cat confdefs.h >>conftest.$ac_ext
7097+cat >>conftest.$ac_ext <<_ACEOF
7098+/* end confdefs.h. */
7099+#include <string.h>
7100+
7101+_ACEOF
7102+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7103+ $EGREP "memchr" >/dev/null 2>&1; then
7104+ :
7105+else
7106+ ac_cv_header_stdc=no
7107+fi
7108+rm -f conftest*
7109+
7110+fi
7111+
7112+if test $ac_cv_header_stdc = yes; then
7113+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7114+ cat >conftest.$ac_ext <<_ACEOF
7115+/* confdefs.h. */
7116+_ACEOF
7117+cat confdefs.h >>conftest.$ac_ext
7118+cat >>conftest.$ac_ext <<_ACEOF
7119+/* end confdefs.h. */
7120+#include <stdlib.h>
7121+
7122+_ACEOF
7123+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7124+ $EGREP "free" >/dev/null 2>&1; then
7125+ :
7126+else
7127+ ac_cv_header_stdc=no
7128+fi
7129+rm -f conftest*
7130+
7131+fi
7132+
7133+if test $ac_cv_header_stdc = yes; then
7134+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7135+ if test "$cross_compiling" = yes; then
7136+ :
7137+else
7138+ cat >conftest.$ac_ext <<_ACEOF
7139+/* confdefs.h. */
7140+_ACEOF
7141+cat confdefs.h >>conftest.$ac_ext
7142+cat >>conftest.$ac_ext <<_ACEOF
7143+/* end confdefs.h. */
7144+#include <ctype.h>
7145+#include <stdlib.h>
7146+#if ((' ' & 0x0FF) == 0x020)
7147+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7148+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7149+#else
7150+# define ISLOWER(c) \
7151+ (('a' <= (c) && (c) <= 'i') \
7152+ || ('j' <= (c) && (c) <= 'r') \
7153+ || ('s' <= (c) && (c) <= 'z'))
7154+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7155+#endif
7156+
7157+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7158+int
7159+main ()
7160+{
7161+ int i;
7162+ for (i = 0; i < 256; i++)
7163+ if (XOR (islower (i), ISLOWER (i))
7164+ || toupper (i) != TOUPPER (i))
7165+ return 2;
7166+ return 0;
7167+}
7168+_ACEOF
7169+rm -f conftest$ac_exeext
7170+if { (ac_try="$ac_link"
7171+case "(($ac_try" in
7172+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7173+ *) ac_try_echo=$ac_try;;
7174+esac
7175+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7176+ (eval "$ac_link") 2>&5
7177+ ac_status=$?
7178+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7179+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7180+ { (case "(($ac_try" in
7181+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7182+ *) ac_try_echo=$ac_try;;
7183+esac
7184+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7185+ (eval "$ac_try") 2>&5
7186+ ac_status=$?
7187+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188+ (exit $ac_status); }; }; then
7189+ :
7190+else
7191+ echo "$as_me: program exited with status $ac_status" >&5
7192+echo "$as_me: failed program was:" >&5
7193+sed 's/^/| /' conftest.$ac_ext >&5
7194+
7195+( exit $ac_status )
7196+ac_cv_header_stdc=no
7197+fi
7198+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7199+fi
7200+
7201+
7202+fi
7203+fi
7204+{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7205+echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7206+if test $ac_cv_header_stdc = yes; then
7207+
7208+cat >>confdefs.h <<\_ACEOF
7209+#define STDC_HEADERS 1
7210+_ACEOF
7211+
7212+fi
7213+
7214+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7215+
7216+
7217+
7218+
7219+
7220+
7221+
7222+
7223+
7224+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7225+ inttypes.h stdint.h unistd.h
7226+do
7227+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7228+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7229+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7230+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7231+ echo $ECHO_N "(cached) $ECHO_C" >&6
7232+else
7233+ cat >conftest.$ac_ext <<_ACEOF
7234+/* confdefs.h. */
7235+_ACEOF
7236+cat confdefs.h >>conftest.$ac_ext
7237+cat >>conftest.$ac_ext <<_ACEOF
7238+/* end confdefs.h. */
7239+$ac_includes_default
7240+
7241+#include <$ac_header>
7242+_ACEOF
7243+rm -f conftest.$ac_objext
7244+if { (ac_try="$ac_compile"
7245+case "(($ac_try" in
7246+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7247+ *) ac_try_echo=$ac_try;;
7248+esac
7249+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7250+ (eval "$ac_compile") 2>conftest.er1
7251+ ac_status=$?
7252+ grep -v '^ *+' conftest.er1 >conftest.err
7253+ rm -f conftest.er1
7254+ cat conftest.err >&5
7255+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256+ (exit $ac_status); } && {
7257+ test -z "$ac_c_werror_flag" ||
7258+ test ! -s conftest.err
7259+ } && test -s conftest.$ac_objext; then
7260+ eval "$as_ac_Header=yes"
7261+else
7262+ echo "$as_me: failed program was:" >&5
7263+sed 's/^/| /' conftest.$ac_ext >&5
7264+
7265+ eval "$as_ac_Header=no"
7266+fi
7267+
7268+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7269+fi
7270+ac_res=`eval echo '${'$as_ac_Header'}'`
7271+ { echo "$as_me:$LINENO: result: $ac_res" >&5
7272+echo "${ECHO_T}$ac_res" >&6; }
7273+if test `eval echo '${'$as_ac_Header'}'` = yes; then
7274+ cat >>confdefs.h <<_ACEOF
7275+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7276+_ACEOF
7277+
7278+fi
7279+
7280+done
7281+
7282+
7283+
7284+for ac_header in dlfcn.h
7285+do
7286+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7287+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7288+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7289+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7290+ echo $ECHO_N "(cached) $ECHO_C" >&6
7291+else
7292+ cat >conftest.$ac_ext <<_ACEOF
7293+/* confdefs.h. */
7294+_ACEOF
7295+cat confdefs.h >>conftest.$ac_ext
7296+cat >>conftest.$ac_ext <<_ACEOF
7297+/* end confdefs.h. */
7298+$ac_includes_default
7299+
7300+#include <$ac_header>
7301+_ACEOF
7302+rm -f conftest.$ac_objext
7303+if { (ac_try="$ac_compile"
7304+case "(($ac_try" in
7305+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7306+ *) ac_try_echo=$ac_try;;
7307+esac
7308+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7309+ (eval "$ac_compile") 2>conftest.er1
7310+ ac_status=$?
7311+ grep -v '^ *+' conftest.er1 >conftest.err
7312+ rm -f conftest.er1
7313+ cat conftest.err >&5
7314+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7315+ (exit $ac_status); } && {
7316+ test -z "$ac_c_werror_flag" ||
7317+ test ! -s conftest.err
7318+ } && test -s conftest.$ac_objext; then
7319+ eval "$as_ac_Header=yes"
7320+else
7321+ echo "$as_me: failed program was:" >&5
7322+sed 's/^/| /' conftest.$ac_ext >&5
7323+
7324+ eval "$as_ac_Header=no"
7325+fi
7326+
7327+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7328+fi
7329+ac_res=`eval echo '${'$as_ac_Header'}'`
7330+ { echo "$as_me:$LINENO: result: $ac_res" >&5
7331+echo "${ECHO_T}$ac_res" >&6; }
7332+if test `eval echo '${'$as_ac_Header'}'` = yes; then
7333+ cat >>confdefs.h <<_ACEOF
7334+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7335+_ACEOF
7336+
7337+fi
7338+
7339+done
7340+
7341+
7342+
7343+ac_ext=cpp
7344+ac_cpp='$CXXCPP $CPPFLAGS'
7345+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7346+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7347+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7348+if test -z "$CXX"; then
7349+ if test -n "$CCC"; then
7350+ CXX=$CCC
7351+ else
7352+ if test -n "$ac_tool_prefix"; then
7353+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7354+ do
7355+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7356+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7357+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7358+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7359+if test "${ac_cv_prog_CXX+set}" = set; then
7360+ echo $ECHO_N "(cached) $ECHO_C" >&6
7361+else
7362+ if test -n "$CXX&