Codebase list mtr / e158112
Import Debian changes 0.72-1 mtr (0.72-1) experimental; urgency=low * New upstream version fixes IPv6 reverse DNS lookups for 8-bit hostnames, closes: #384926 Robert Woodcock authored 17 years ago Samuel Henrique committed 5 years ago
34 changed file(s) with 14655 addition(s) and 1561 deletion(s). Raw diff Collapse all Expand all
+0
-105
.deps/curses.P less more
0 curses.o: curses.c config.h /usr/include/strings.h \
1 /usr/include/features.h /usr/include/sys/cdefs.h \
2 /usr/include/gnu/stubs.h \
3 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h /usr/include/ctype.h \
4 /usr/include/bits/types.h /usr/include/bits/wordsize.h \
5 /usr/include/bits/typesizes.h /usr/include/endian.h \
6 /usr/include/bits/endian.h /usr/include/stdlib.h \
7 /usr/include/sys/types.h /usr/include/time.h /usr/include/sys/select.h \
8 /usr/include/bits/select.h /usr/include/bits/sigset.h \
9 /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
10 /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h \
11 /usr/include/alloca.h /usr/include/string.h /usr/include/bits/string.h \
12 /usr/include/bits/string2.h /usr/include/sys/socket.h \
13 /usr/include/sys/uio.h /usr/include/bits/uio.h \
14 /usr/include/bits/socket.h \
15 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h \
16 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h \
17 /usr/include/limits.h /usr/include/bits/posix1_lim.h \
18 /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
19 /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h \
20 /usr/include/asm/socket.h /usr/include/asm/sockios.h \
21 /usr/include/netinet/in.h /usr/include/stdint.h \
22 /usr/include/bits/wchar.h /usr/include/bits/in.h \
23 /usr/include/bits/byteswap.h /usr/include/arpa/inet.h \
24 /usr/include/ncurses.h /usr/include/ncurses_dll.h /usr/include/stdio.h \
25 /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
26 /usr/include/gconv.h /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h \
27 /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
28 /usr/include/bits/stdio.h /usr/include/unctrl.h /usr/include/curses.h \
29 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdbool.h mtr.h mtr-curses.h \
30 display.h net.h /usr/include/netdb.h /usr/include/rpc/netdb.h \
31 /usr/include/bits/netdb.h /usr/include/netinet/ip6.h \
32 /usr/include/inttypes.h /usr/include/netinet/icmp6.h dns.h
33 curses.c :
34 config.h :
35 /usr/include/strings.h :
36 /usr/include/features.h :
37 /usr/include/sys/cdefs.h :
38 /usr/include/gnu/stubs.h :
39 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h :
40 /usr/include/ctype.h :
41 /usr/include/bits/types.h :
42 /usr/include/bits/wordsize.h :
43 /usr/include/bits/typesizes.h :
44 /usr/include/endian.h :
45 /usr/include/bits/endian.h :
46 /usr/include/stdlib.h :
47 /usr/include/sys/types.h :
48 /usr/include/time.h :
49 /usr/include/sys/select.h :
50 /usr/include/bits/select.h :
51 /usr/include/bits/sigset.h :
52 /usr/include/bits/time.h :
53 /usr/include/sys/sysmacros.h :
54 /usr/include/bits/pthreadtypes.h :
55 /usr/include/bits/sched.h :
56 /usr/include/alloca.h :
57 /usr/include/string.h :
58 /usr/include/bits/string.h :
59 /usr/include/bits/string2.h :
60 /usr/include/sys/socket.h :
61 /usr/include/sys/uio.h :
62 /usr/include/bits/uio.h :
63 /usr/include/bits/socket.h :
64 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h :
65 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h :
66 /usr/include/limits.h :
67 /usr/include/bits/posix1_lim.h :
68 /usr/include/bits/local_lim.h :
69 /usr/include/linux/limits.h :
70 /usr/include/bits/posix2_lim.h :
71 /usr/include/bits/sockaddr.h :
72 /usr/include/asm/socket.h :
73 /usr/include/asm/sockios.h :
74 /usr/include/netinet/in.h :
75 /usr/include/stdint.h :
76 /usr/include/bits/wchar.h :
77 /usr/include/bits/in.h :
78 /usr/include/bits/byteswap.h :
79 /usr/include/arpa/inet.h :
80 /usr/include/ncurses.h :
81 /usr/include/ncurses_dll.h :
82 /usr/include/stdio.h :
83 /usr/include/libio.h :
84 /usr/include/_G_config.h :
85 /usr/include/wchar.h :
86 /usr/include/gconv.h :
87 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h :
88 /usr/include/bits/stdio_lim.h :
89 /usr/include/bits/sys_errlist.h :
90 /usr/include/bits/stdio.h :
91 /usr/include/unctrl.h :
92 /usr/include/curses.h :
93 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdbool.h :
94 mtr.h :
95 mtr-curses.h :
96 display.h :
97 net.h :
98 /usr/include/netdb.h :
99 /usr/include/rpc/netdb.h :
100 /usr/include/bits/netdb.h :
101 /usr/include/netinet/ip6.h :
102 /usr/include/inttypes.h :
103 /usr/include/netinet/icmp6.h :
104 dns.h :
+0
-85
.deps/display.P less more
0 display.o: display.c config.h /usr/include/stdio.h \
1 /usr/include/features.h /usr/include/sys/cdefs.h \
2 /usr/include/gnu/stubs.h \
3 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h \
4 /usr/include/bits/types.h /usr/include/bits/wordsize.h \
5 /usr/include/bits/typesizes.h /usr/include/libio.h \
6 /usr/include/_G_config.h /usr/include/wchar.h /usr/include/bits/wchar.h \
7 /usr/include/gconv.h /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h \
8 /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
9 /usr/include/bits/stdio.h /usr/include/stdlib.h \
10 /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h \
11 /usr/include/bits/endian.h /usr/include/sys/select.h \
12 /usr/include/bits/select.h /usr/include/bits/sigset.h \
13 /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
14 /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h \
15 /usr/include/alloca.h mtr.h display.h /usr/include/netinet/in.h \
16 /usr/include/stdint.h /usr/include/sys/socket.h /usr/include/sys/uio.h \
17 /usr/include/bits/uio.h /usr/include/bits/socket.h \
18 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h \
19 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h \
20 /usr/include/limits.h /usr/include/bits/posix1_lim.h \
21 /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
22 /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h \
23 /usr/include/asm/socket.h /usr/include/asm/sockios.h \
24 /usr/include/bits/in.h /usr/include/bits/byteswap.h mtr-curses.h \
25 mtr-gtk.h report.h select.h raw.h dns.h split.h
26 display.c :
27 config.h :
28 /usr/include/stdio.h :
29 /usr/include/features.h :
30 /usr/include/sys/cdefs.h :
31 /usr/include/gnu/stubs.h :
32 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h :
33 /usr/include/bits/types.h :
34 /usr/include/bits/wordsize.h :
35 /usr/include/bits/typesizes.h :
36 /usr/include/libio.h :
37 /usr/include/_G_config.h :
38 /usr/include/wchar.h :
39 /usr/include/bits/wchar.h :
40 /usr/include/gconv.h :
41 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h :
42 /usr/include/bits/stdio_lim.h :
43 /usr/include/bits/sys_errlist.h :
44 /usr/include/bits/stdio.h :
45 /usr/include/stdlib.h :
46 /usr/include/sys/types.h :
47 /usr/include/time.h :
48 /usr/include/endian.h :
49 /usr/include/bits/endian.h :
50 /usr/include/sys/select.h :
51 /usr/include/bits/select.h :
52 /usr/include/bits/sigset.h :
53 /usr/include/bits/time.h :
54 /usr/include/sys/sysmacros.h :
55 /usr/include/bits/pthreadtypes.h :
56 /usr/include/bits/sched.h :
57 /usr/include/alloca.h :
58 mtr.h :
59 display.h :
60 /usr/include/netinet/in.h :
61 /usr/include/stdint.h :
62 /usr/include/sys/socket.h :
63 /usr/include/sys/uio.h :
64 /usr/include/bits/uio.h :
65 /usr/include/bits/socket.h :
66 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h :
67 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h :
68 /usr/include/limits.h :
69 /usr/include/bits/posix1_lim.h :
70 /usr/include/bits/local_lim.h :
71 /usr/include/linux/limits.h :
72 /usr/include/bits/posix2_lim.h :
73 /usr/include/bits/sockaddr.h :
74 /usr/include/asm/socket.h :
75 /usr/include/asm/sockios.h :
76 /usr/include/bits/in.h :
77 /usr/include/bits/byteswap.h :
78 mtr-curses.h :
79 mtr-gtk.h :
80 report.h :
81 select.h :
82 raw.h :
83 dns.h :
84 split.h :
+0
-127
.deps/dns.P less more
0 dns.o: dns.c config.h /usr/include/sys/types.h /usr/include/features.h \
1 /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h \
2 /usr/include/bits/types.h /usr/include/bits/wordsize.h \
3 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h \
4 /usr/include/bits/typesizes.h /usr/include/time.h /usr/include/endian.h \
5 /usr/include/bits/endian.h /usr/include/sys/select.h \
6 /usr/include/bits/select.h /usr/include/bits/sigset.h \
7 /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
8 /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h \
9 /usr/include/sys/time.h /usr/include/sys/stat.h \
10 /usr/include/bits/stat.h /usr/include/sys/errno.h /usr/include/errno.h \
11 /usr/include/bits/errno.h /usr/include/linux/errno.h \
12 /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \
13 /usr/include/asm-generic/errno-base.h /usr/include/sys/socket.h \
14 /usr/include/sys/uio.h /usr/include/bits/uio.h \
15 /usr/include/bits/socket.h \
16 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h \
17 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h \
18 /usr/include/limits.h /usr/include/bits/posix1_lim.h \
19 /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
20 /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h \
21 /usr/include/asm/socket.h /usr/include/asm/sockios.h \
22 /usr/include/netinet/in.h /usr/include/stdint.h \
23 /usr/include/bits/wchar.h /usr/include/bits/in.h \
24 /usr/include/bits/byteswap.h /usr/include/arpa/inet.h \
25 /usr/include/arpa/nameser.h /usr/include/sys/param.h \
26 /usr/include/linux/param.h /usr/include/asm/param.h \
27 /usr/include/sys/bitypes.h /usr/include/arpa/nameser_compat.h \
28 /usr/include/netdb.h /usr/include/rpc/netdb.h /usr/include/bits/netdb.h \
29 /usr/include/resolv.h /usr/include/stdio.h /usr/include/libio.h \
30 /usr/include/_G_config.h /usr/include/wchar.h /usr/include/gconv.h \
31 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h \
32 /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
33 /usr/include/bits/stdio.h /usr/include/unistd.h \
34 /usr/include/bits/posix_opt.h /usr/include/bits/confname.h getopt.h \
35 /usr/include/fcntl.h /usr/include/bits/fcntl.h /usr/include/ctype.h \
36 /usr/include/string.h /usr/include/bits/string.h \
37 /usr/include/bits/string2.h /usr/include/stdlib.h /usr/include/alloca.h \
38 mtr.h dns.h net.h /usr/include/netinet/ip6.h /usr/include/inttypes.h \
39 /usr/include/netinet/icmp6.h
40 dns.c :
41 config.h :
42 /usr/include/sys/types.h :
43 /usr/include/features.h :
44 /usr/include/sys/cdefs.h :
45 /usr/include/gnu/stubs.h :
46 /usr/include/bits/types.h :
47 /usr/include/bits/wordsize.h :
48 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h :
49 /usr/include/bits/typesizes.h :
50 /usr/include/time.h :
51 /usr/include/endian.h :
52 /usr/include/bits/endian.h :
53 /usr/include/sys/select.h :
54 /usr/include/bits/select.h :
55 /usr/include/bits/sigset.h :
56 /usr/include/bits/time.h :
57 /usr/include/sys/sysmacros.h :
58 /usr/include/bits/pthreadtypes.h :
59 /usr/include/bits/sched.h :
60 /usr/include/sys/time.h :
61 /usr/include/sys/stat.h :
62 /usr/include/bits/stat.h :
63 /usr/include/sys/errno.h :
64 /usr/include/errno.h :
65 /usr/include/bits/errno.h :
66 /usr/include/linux/errno.h :
67 /usr/include/asm/errno.h :
68 /usr/include/asm-generic/errno.h :
69 /usr/include/asm-generic/errno-base.h :
70 /usr/include/sys/socket.h :
71 /usr/include/sys/uio.h :
72 /usr/include/bits/uio.h :
73 /usr/include/bits/socket.h :
74 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h :
75 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h :
76 /usr/include/limits.h :
77 /usr/include/bits/posix1_lim.h :
78 /usr/include/bits/local_lim.h :
79 /usr/include/linux/limits.h :
80 /usr/include/bits/posix2_lim.h :
81 /usr/include/bits/sockaddr.h :
82 /usr/include/asm/socket.h :
83 /usr/include/asm/sockios.h :
84 /usr/include/netinet/in.h :
85 /usr/include/stdint.h :
86 /usr/include/bits/wchar.h :
87 /usr/include/bits/in.h :
88 /usr/include/bits/byteswap.h :
89 /usr/include/arpa/inet.h :
90 /usr/include/arpa/nameser.h :
91 /usr/include/sys/param.h :
92 /usr/include/linux/param.h :
93 /usr/include/asm/param.h :
94 /usr/include/sys/bitypes.h :
95 /usr/include/arpa/nameser_compat.h :
96 /usr/include/netdb.h :
97 /usr/include/rpc/netdb.h :
98 /usr/include/bits/netdb.h :
99 /usr/include/resolv.h :
100 /usr/include/stdio.h :
101 /usr/include/libio.h :
102 /usr/include/_G_config.h :
103 /usr/include/wchar.h :
104 /usr/include/gconv.h :
105 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h :
106 /usr/include/bits/stdio_lim.h :
107 /usr/include/bits/sys_errlist.h :
108 /usr/include/bits/stdio.h :
109 /usr/include/unistd.h :
110 /usr/include/bits/posix_opt.h :
111 /usr/include/bits/confname.h :
112 getopt.h :
113 /usr/include/fcntl.h :
114 /usr/include/bits/fcntl.h :
115 /usr/include/ctype.h :
116 /usr/include/string.h :
117 /usr/include/bits/string.h :
118 /usr/include/bits/string2.h :
119 /usr/include/stdlib.h :
120 /usr/include/alloca.h :
121 mtr.h :
122 dns.h :
123 net.h :
124 /usr/include/netinet/ip6.h :
125 /usr/include/inttypes.h :
126 /usr/include/netinet/icmp6.h :
+0
-36
.deps/getopt.P less more
0 getopt.o: getopt.c config.h /usr/include/stdio.h /usr/include/features.h \
1 /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h \
2 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h \
3 /usr/include/bits/types.h /usr/include/bits/wordsize.h \
4 /usr/include/bits/typesizes.h /usr/include/libio.h \
5 /usr/include/_G_config.h /usr/include/wchar.h /usr/include/bits/wchar.h \
6 /usr/include/gconv.h /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h \
7 /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
8 /usr/include/bits/stdio.h /usr/include/string.h \
9 /usr/include/bits/string.h /usr/include/bits/string2.h \
10 /usr/include/endian.h /usr/include/bits/endian.h /usr/include/stdlib.h
11 getopt.c :
12 config.h :
13 /usr/include/stdio.h :
14 /usr/include/features.h :
15 /usr/include/sys/cdefs.h :
16 /usr/include/gnu/stubs.h :
17 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h :
18 /usr/include/bits/types.h :
19 /usr/include/bits/wordsize.h :
20 /usr/include/bits/typesizes.h :
21 /usr/include/libio.h :
22 /usr/include/_G_config.h :
23 /usr/include/wchar.h :
24 /usr/include/bits/wchar.h :
25 /usr/include/gconv.h :
26 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h :
27 /usr/include/bits/stdio_lim.h :
28 /usr/include/bits/sys_errlist.h :
29 /usr/include/bits/stdio.h :
30 /usr/include/string.h :
31 /usr/include/bits/string.h :
32 /usr/include/bits/string2.h :
33 /usr/include/endian.h :
34 /usr/include/bits/endian.h :
35 /usr/include/stdlib.h :
+0
-34
.deps/getopt1.P less more
0 getopt1.o: getopt1.c config.h getopt.h /usr/include/ctype.h \
1 /usr/include/features.h /usr/include/sys/cdefs.h \
2 /usr/include/gnu/stubs.h /usr/include/bits/types.h \
3 /usr/include/bits/wordsize.h \
4 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h \
5 /usr/include/bits/typesizes.h /usr/include/endian.h \
6 /usr/include/bits/endian.h /usr/include/stdio.h /usr/include/libio.h \
7 /usr/include/_G_config.h /usr/include/wchar.h /usr/include/bits/wchar.h \
8 /usr/include/gconv.h /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h \
9 /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
10 /usr/include/bits/stdio.h
11 getopt1.c :
12 config.h :
13 getopt.h :
14 /usr/include/ctype.h :
15 /usr/include/features.h :
16 /usr/include/sys/cdefs.h :
17 /usr/include/gnu/stubs.h :
18 /usr/include/bits/types.h :
19 /usr/include/bits/wordsize.h :
20 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h :
21 /usr/include/bits/typesizes.h :
22 /usr/include/endian.h :
23 /usr/include/bits/endian.h :
24 /usr/include/stdio.h :
25 /usr/include/libio.h :
26 /usr/include/_G_config.h :
27 /usr/include/wchar.h :
28 /usr/include/bits/wchar.h :
29 /usr/include/gconv.h :
30 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h :
31 /usr/include/bits/stdio_lim.h :
32 /usr/include/bits/sys_errlist.h :
33 /usr/include/bits/stdio.h :
+0
-318
.deps/gtk.P less more
0 gtk.o: gtk.c config.h /usr/include/stdio.h /usr/include/features.h \
1 /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h \
2 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h \
3 /usr/include/bits/types.h /usr/include/bits/wordsize.h \
4 /usr/include/bits/typesizes.h /usr/include/libio.h \
5 /usr/include/_G_config.h /usr/include/wchar.h /usr/include/bits/wchar.h \
6 /usr/include/gconv.h /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h \
7 /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
8 /usr/include/bits/stdio.h /usr/include/stdlib.h \
9 /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h \
10 /usr/include/bits/endian.h /usr/include/sys/select.h \
11 /usr/include/bits/select.h /usr/include/bits/sigset.h \
12 /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
13 /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h \
14 /usr/include/alloca.h /usr/include/unistd.h \
15 /usr/include/bits/posix_opt.h /usr/include/bits/confname.h getopt.h \
16 /usr/include/sys/time.h /usr/include/gtk-1.2/gtk/gtk.h \
17 /usr/include/gtk-1.2/gdk/gdk.h /usr/include/gtk-1.2/gdk/gdktypes.h \
18 /usr/include/glib-1.2/glib.h /usr/lib/glib/include/glibconfig.h \
19 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h \
20 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h \
21 /usr/include/limits.h /usr/include/bits/posix1_lim.h \
22 /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
23 /usr/include/bits/posix2_lim.h \
24 /usr/lib/gcc-lib/i486-linux/3.3.5/include/float.h \
25 /usr/include/gtk-1.2/gdk/gdkcursors.h /usr/include/gtk-1.2/gdk/gdkrgb.h \
26 /usr/include/gtk-1.2/gtk/gtkaccelgroup.h \
27 /usr/include/gtk-1.2/gtk/gtkobject.h /usr/include/gtk-1.2/gtk/gtkarg.h \
28 /usr/include/gtk-1.2/gtk/gtktypeutils.h \
29 /usr/include/gtk-1.2/gtk/gtktypebuiltins.h \
30 /usr/include/gtk-1.2/gtk/gtkenums.h /usr/include/gtk-1.2/gtk/gtkdebug.h \
31 /usr/include/gtk-1.2/gtk/gtkaccellabel.h \
32 /usr/include/gtk-1.2/gtk/gtklabel.h /usr/include/gtk-1.2/gtk/gtkmisc.h \
33 /usr/include/gtk-1.2/gtk/gtkwidget.h \
34 /usr/include/gtk-1.2/gtk/gtkadjustment.h \
35 /usr/include/gtk-1.2/gtk/gtkdata.h /usr/include/gtk-1.2/gtk/gtkstyle.h \
36 /usr/include/gtk-1.2/gtk/gtkalignment.h \
37 /usr/include/gtk-1.2/gtk/gtkbin.h \
38 /usr/include/gtk-1.2/gtk/gtkcontainer.h \
39 /usr/include/gtk-1.2/gtk/gtkaspectframe.h \
40 /usr/include/gtk-1.2/gtk/gtkframe.h /usr/include/gtk-1.2/gtk/gtkarrow.h \
41 /usr/include/gtk-1.2/gtk/gtkbindings.h \
42 /usr/include/gtk-1.2/gtk/gtkbox.h /usr/include/gtk-1.2/gtk/gtkbbox.h \
43 /usr/include/gtk-1.2/gtk/gtkbutton.h \
44 /usr/include/gtk-1.2/gtk/gtkcalendar.h \
45 /usr/include/gtk-1.2/gtk/gtksignal.h \
46 /usr/include/gtk-1.2/gtk/gtkmarshal.h \
47 /usr/include/gtk-1.2/gtk/gtkcheckbutton.h \
48 /usr/include/gtk-1.2/gtk/gtktogglebutton.h \
49 /usr/include/gtk-1.2/gtk/gtkcheckmenuitem.h \
50 /usr/include/gtk-1.2/gtk/gtkmenuitem.h \
51 /usr/include/gtk-1.2/gtk/gtkitem.h /usr/include/gtk-1.2/gtk/gtkclist.h \
52 /usr/include/gtk-1.2/gtk/gtkhscrollbar.h \
53 /usr/include/gtk-1.2/gtk/gtkscrollbar.h \
54 /usr/include/gtk-1.2/gtk/gtkrange.h \
55 /usr/include/gtk-1.2/gtk/gtkvscrollbar.h \
56 /usr/include/gtk-1.2/gtk/gtkcolorsel.h \
57 /usr/include/gtk-1.2/gtk/gtkwindow.h /usr/include/gtk-1.2/gtk/gtkvbox.h \
58 /usr/include/gtk-1.2/gtk/gtkpreview.h \
59 /usr/include/gtk-1.2/gtk/gtkentry.h \
60 /usr/include/gtk-1.2/gtk/gtkeditable.h \
61 /usr/include/gtk-1.2/gtk/gtkhbox.h /usr/include/gtk-1.2/gtk/gtkmain.h \
62 /usr/include/gtk-1.2/gtk/gtkscale.h \
63 /usr/include/gtk-1.2/gtk/gtkhscale.h \
64 /usr/include/gtk-1.2/gtk/gtktable.h \
65 /usr/include/gtk-1.2/gtk/gtkeventbox.h \
66 /usr/include/gtk-1.2/gtk/gtkcombo.h \
67 /usr/include/gtk-1.2/gtk/gtkcompat.h \
68 /usr/include/gtk-1.2/gtk/gtkctree.h /usr/include/gtk-1.2/gtk/gtkcurve.h \
69 /usr/include/gtk-1.2/gtk/gtkdrawingarea.h \
70 /usr/include/gtk-1.2/gtk/gtkdialog.h /usr/include/gtk-1.2/gtk/gtkdnd.h \
71 /usr/include/gtk-1.2/gtk/gtkselection.h \
72 /usr/include/gtk-1.2/gtk/gtkfeatures.h \
73 /usr/include/gtk-1.2/gtk/gtkfilesel.h \
74 /usr/include/gtk-1.2/gtk/gtkfixed.h \
75 /usr/include/gtk-1.2/gtk/gtkfontsel.h \
76 /usr/include/gtk-1.2/gtk/gtknotebook.h \
77 /usr/include/gtk-1.2/gtk/gtkgamma.h /usr/include/gtk-1.2/gtk/gtkgc.h \
78 /usr/include/gtk-1.2/gtk/gtkhandlebox.h \
79 /usr/include/gtk-1.2/gtk/gtkhbbox.h \
80 /usr/include/gtk-1.2/gtk/gtkhpaned.h \
81 /usr/include/gtk-1.2/gtk/gtkpaned.h \
82 /usr/include/gtk-1.2/gtk/gtkhruler.h \
83 /usr/include/gtk-1.2/gtk/gtkruler.h \
84 /usr/include/gtk-1.2/gtk/gtkhseparator.h \
85 /usr/include/gtk-1.2/gtk/gtkseparator.h \
86 /usr/include/gtk-1.2/gtk/gtkimage.h \
87 /usr/include/gtk-1.2/gtk/gtkinputdialog.h \
88 /usr/include/gtk-1.2/gtk/gtkitemfactory.h \
89 /usr/include/gtk-1.2/gtk/gtkmenufactory.h \
90 /usr/include/gtk-1.2/gtk/gtklayout.h /usr/include/gtk-1.2/gtk/gtklist.h \
91 /usr/include/gtk-1.2/gtk/gtklistitem.h \
92 /usr/include/gtk-1.2/gtk/gtkmenu.h \
93 /usr/include/gtk-1.2/gtk/gtkmenushell.h \
94 /usr/include/gtk-1.2/gtk/gtkmenubar.h \
95 /usr/include/gtk-1.2/gtk/gtkoptionmenu.h \
96 /usr/include/gtk-1.2/gtk/gtkpacker.h \
97 /usr/include/gtk-1.2/gtk/gtkpixmap.h /usr/include/gtk-1.2/gtk/gtkplug.h \
98 /usr/include/gtk-1.2/gtk/gtkprogress.h \
99 /usr/include/gtk-1.2/gtk/gtkprogressbar.h \
100 /usr/include/gtk-1.2/gtk/gtkradiobutton.h \
101 /usr/include/gtk-1.2/gtk/gtkradiomenuitem.h \
102 /usr/include/gtk-1.2/gtk/gtkrc.h \
103 /usr/include/gtk-1.2/gtk/gtkscrolledwindow.h \
104 /usr/include/gtk-1.2/gtk/gtkviewport.h \
105 /usr/include/gtk-1.2/gtk/gtksocket.h \
106 /usr/include/gtk-1.2/gtk/gtkspinbutton.h \
107 /usr/include/gtk-1.2/gtk/gtkstatusbar.h \
108 /usr/include/gtk-1.2/gtk/gtktearoffmenuitem.h \
109 /usr/include/gtk-1.2/gtk/gtktext.h /usr/include/gtk-1.2/gtk/gtkthemes.h \
110 /usr/include/gtk-1.2/gtk/gtktipsquery.h \
111 /usr/include/gtk-1.2/gtk/gtktoolbar.h \
112 /usr/include/gtk-1.2/gtk/gtktooltips.h \
113 /usr/include/gtk-1.2/gtk/gtktree.h \
114 /usr/include/gtk-1.2/gtk/gtktreeitem.h \
115 /usr/include/gtk-1.2/gtk/gtkvbbox.h \
116 /usr/include/gtk-1.2/gtk/gtkvpaned.h \
117 /usr/include/gtk-1.2/gtk/gtkvruler.h \
118 /usr/include/gtk-1.2/gtk/gtkvscale.h \
119 /usr/include/gtk-1.2/gtk/gtkvseparator.h mtr.h net.h \
120 /usr/include/netdb.h /usr/include/netinet/in.h /usr/include/stdint.h \
121 /usr/include/sys/socket.h /usr/include/sys/uio.h \
122 /usr/include/bits/uio.h /usr/include/bits/socket.h \
123 /usr/include/bits/sockaddr.h /usr/include/asm/socket.h \
124 /usr/include/asm/sockios.h /usr/include/bits/in.h \
125 /usr/include/bits/byteswap.h /usr/include/rpc/netdb.h \
126 /usr/include/bits/netdb.h /usr/include/arpa/inet.h \
127 /usr/include/netinet/ip6.h /usr/include/inttypes.h \
128 /usr/include/netinet/icmp6.h /usr/include/string.h \
129 /usr/include/bits/string.h /usr/include/bits/string2.h dns.h mtr-gtk.h \
130 img/mtr_icon.xpm
131 gtk.c :
132 config.h :
133 /usr/include/stdio.h :
134 /usr/include/features.h :
135 /usr/include/sys/cdefs.h :
136 /usr/include/gnu/stubs.h :
137 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h :
138 /usr/include/bits/types.h :
139 /usr/include/bits/wordsize.h :
140 /usr/include/bits/typesizes.h :
141 /usr/include/libio.h :
142 /usr/include/_G_config.h :
143 /usr/include/wchar.h :
144 /usr/include/bits/wchar.h :
145 /usr/include/gconv.h :
146 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h :
147 /usr/include/bits/stdio_lim.h :
148 /usr/include/bits/sys_errlist.h :
149 /usr/include/bits/stdio.h :
150 /usr/include/stdlib.h :
151 /usr/include/sys/types.h :
152 /usr/include/time.h :
153 /usr/include/endian.h :
154 /usr/include/bits/endian.h :
155 /usr/include/sys/select.h :
156 /usr/include/bits/select.h :
157 /usr/include/bits/sigset.h :
158 /usr/include/bits/time.h :
159 /usr/include/sys/sysmacros.h :
160 /usr/include/bits/pthreadtypes.h :
161 /usr/include/bits/sched.h :
162 /usr/include/alloca.h :
163 /usr/include/unistd.h :
164 /usr/include/bits/posix_opt.h :
165 /usr/include/bits/confname.h :
166 getopt.h :
167 /usr/include/sys/time.h :
168 /usr/include/gtk-1.2/gtk/gtk.h :
169 /usr/include/gtk-1.2/gdk/gdk.h :
170 /usr/include/gtk-1.2/gdk/gdktypes.h :
171 /usr/include/glib-1.2/glib.h :
172 /usr/lib/glib/include/glibconfig.h :
173 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h :
174 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h :
175 /usr/include/limits.h :
176 /usr/include/bits/posix1_lim.h :
177 /usr/include/bits/local_lim.h :
178 /usr/include/linux/limits.h :
179 /usr/include/bits/posix2_lim.h :
180 /usr/lib/gcc-lib/i486-linux/3.3.5/include/float.h :
181 /usr/include/gtk-1.2/gdk/gdkcursors.h :
182 /usr/include/gtk-1.2/gdk/gdkrgb.h :
183 /usr/include/gtk-1.2/gtk/gtkaccelgroup.h :
184 /usr/include/gtk-1.2/gtk/gtkobject.h :
185 /usr/include/gtk-1.2/gtk/gtkarg.h :
186 /usr/include/gtk-1.2/gtk/gtktypeutils.h :
187 /usr/include/gtk-1.2/gtk/gtktypebuiltins.h :
188 /usr/include/gtk-1.2/gtk/gtkenums.h :
189 /usr/include/gtk-1.2/gtk/gtkdebug.h :
190 /usr/include/gtk-1.2/gtk/gtkaccellabel.h :
191 /usr/include/gtk-1.2/gtk/gtklabel.h :
192 /usr/include/gtk-1.2/gtk/gtkmisc.h :
193 /usr/include/gtk-1.2/gtk/gtkwidget.h :
194 /usr/include/gtk-1.2/gtk/gtkadjustment.h :
195 /usr/include/gtk-1.2/gtk/gtkdata.h :
196 /usr/include/gtk-1.2/gtk/gtkstyle.h :
197 /usr/include/gtk-1.2/gtk/gtkalignment.h :
198 /usr/include/gtk-1.2/gtk/gtkbin.h :
199 /usr/include/gtk-1.2/gtk/gtkcontainer.h :
200 /usr/include/gtk-1.2/gtk/gtkaspectframe.h :
201 /usr/include/gtk-1.2/gtk/gtkframe.h :
202 /usr/include/gtk-1.2/gtk/gtkarrow.h :
203 /usr/include/gtk-1.2/gtk/gtkbindings.h :
204 /usr/include/gtk-1.2/gtk/gtkbox.h :
205 /usr/include/gtk-1.2/gtk/gtkbbox.h :
206 /usr/include/gtk-1.2/gtk/gtkbutton.h :
207 /usr/include/gtk-1.2/gtk/gtkcalendar.h :
208 /usr/include/gtk-1.2/gtk/gtksignal.h :
209 /usr/include/gtk-1.2/gtk/gtkmarshal.h :
210 /usr/include/gtk-1.2/gtk/gtkcheckbutton.h :
211 /usr/include/gtk-1.2/gtk/gtktogglebutton.h :
212 /usr/include/gtk-1.2/gtk/gtkcheckmenuitem.h :
213 /usr/include/gtk-1.2/gtk/gtkmenuitem.h :
214 /usr/include/gtk-1.2/gtk/gtkitem.h :
215 /usr/include/gtk-1.2/gtk/gtkclist.h :
216 /usr/include/gtk-1.2/gtk/gtkhscrollbar.h :
217 /usr/include/gtk-1.2/gtk/gtkscrollbar.h :
218 /usr/include/gtk-1.2/gtk/gtkrange.h :
219 /usr/include/gtk-1.2/gtk/gtkvscrollbar.h :
220 /usr/include/gtk-1.2/gtk/gtkcolorsel.h :
221 /usr/include/gtk-1.2/gtk/gtkwindow.h :
222 /usr/include/gtk-1.2/gtk/gtkvbox.h :
223 /usr/include/gtk-1.2/gtk/gtkpreview.h :
224 /usr/include/gtk-1.2/gtk/gtkentry.h :
225 /usr/include/gtk-1.2/gtk/gtkeditable.h :
226 /usr/include/gtk-1.2/gtk/gtkhbox.h :
227 /usr/include/gtk-1.2/gtk/gtkmain.h :
228 /usr/include/gtk-1.2/gtk/gtkscale.h :
229 /usr/include/gtk-1.2/gtk/gtkhscale.h :
230 /usr/include/gtk-1.2/gtk/gtktable.h :
231 /usr/include/gtk-1.2/gtk/gtkeventbox.h :
232 /usr/include/gtk-1.2/gtk/gtkcombo.h :
233 /usr/include/gtk-1.2/gtk/gtkcompat.h :
234 /usr/include/gtk-1.2/gtk/gtkctree.h :
235 /usr/include/gtk-1.2/gtk/gtkcurve.h :
236 /usr/include/gtk-1.2/gtk/gtkdrawingarea.h :
237 /usr/include/gtk-1.2/gtk/gtkdialog.h :
238 /usr/include/gtk-1.2/gtk/gtkdnd.h :
239 /usr/include/gtk-1.2/gtk/gtkselection.h :
240 /usr/include/gtk-1.2/gtk/gtkfeatures.h :
241 /usr/include/gtk-1.2/gtk/gtkfilesel.h :
242 /usr/include/gtk-1.2/gtk/gtkfixed.h :
243 /usr/include/gtk-1.2/gtk/gtkfontsel.h :
244 /usr/include/gtk-1.2/gtk/gtknotebook.h :
245 /usr/include/gtk-1.2/gtk/gtkgamma.h :
246 /usr/include/gtk-1.2/gtk/gtkgc.h :
247 /usr/include/gtk-1.2/gtk/gtkhandlebox.h :
248 /usr/include/gtk-1.2/gtk/gtkhbbox.h :
249 /usr/include/gtk-1.2/gtk/gtkhpaned.h :
250 /usr/include/gtk-1.2/gtk/gtkpaned.h :
251 /usr/include/gtk-1.2/gtk/gtkhruler.h :
252 /usr/include/gtk-1.2/gtk/gtkruler.h :
253 /usr/include/gtk-1.2/gtk/gtkhseparator.h :
254 /usr/include/gtk-1.2/gtk/gtkseparator.h :
255 /usr/include/gtk-1.2/gtk/gtkimage.h :
256 /usr/include/gtk-1.2/gtk/gtkinputdialog.h :
257 /usr/include/gtk-1.2/gtk/gtkitemfactory.h :
258 /usr/include/gtk-1.2/gtk/gtkmenufactory.h :
259 /usr/include/gtk-1.2/gtk/gtklayout.h :
260 /usr/include/gtk-1.2/gtk/gtklist.h :
261 /usr/include/gtk-1.2/gtk/gtklistitem.h :
262 /usr/include/gtk-1.2/gtk/gtkmenu.h :
263 /usr/include/gtk-1.2/gtk/gtkmenushell.h :
264 /usr/include/gtk-1.2/gtk/gtkmenubar.h :
265 /usr/include/gtk-1.2/gtk/gtkoptionmenu.h :
266 /usr/include/gtk-1.2/gtk/gtkpacker.h :
267 /usr/include/gtk-1.2/gtk/gtkpixmap.h :
268 /usr/include/gtk-1.2/gtk/gtkplug.h :
269 /usr/include/gtk-1.2/gtk/gtkprogress.h :
270 /usr/include/gtk-1.2/gtk/gtkprogressbar.h :
271 /usr/include/gtk-1.2/gtk/gtkradiobutton.h :
272 /usr/include/gtk-1.2/gtk/gtkradiomenuitem.h :
273 /usr/include/gtk-1.2/gtk/gtkrc.h :
274 /usr/include/gtk-1.2/gtk/gtkscrolledwindow.h :
275 /usr/include/gtk-1.2/gtk/gtkviewport.h :
276 /usr/include/gtk-1.2/gtk/gtksocket.h :
277 /usr/include/gtk-1.2/gtk/gtkspinbutton.h :
278 /usr/include/gtk-1.2/gtk/gtkstatusbar.h :
279 /usr/include/gtk-1.2/gtk/gtktearoffmenuitem.h :
280 /usr/include/gtk-1.2/gtk/gtktext.h :
281 /usr/include/gtk-1.2/gtk/gtkthemes.h :
282 /usr/include/gtk-1.2/gtk/gtktipsquery.h :
283 /usr/include/gtk-1.2/gtk/gtktoolbar.h :
284 /usr/include/gtk-1.2/gtk/gtktooltips.h :
285 /usr/include/gtk-1.2/gtk/gtktree.h :
286 /usr/include/gtk-1.2/gtk/gtktreeitem.h :
287 /usr/include/gtk-1.2/gtk/gtkvbbox.h :
288 /usr/include/gtk-1.2/gtk/gtkvpaned.h :
289 /usr/include/gtk-1.2/gtk/gtkvruler.h :
290 /usr/include/gtk-1.2/gtk/gtkvscale.h :
291 /usr/include/gtk-1.2/gtk/gtkvseparator.h :
292 mtr.h :
293 net.h :
294 /usr/include/netdb.h :
295 /usr/include/netinet/in.h :
296 /usr/include/stdint.h :
297 /usr/include/sys/socket.h :
298 /usr/include/sys/uio.h :
299 /usr/include/bits/uio.h :
300 /usr/include/bits/socket.h :
301 /usr/include/bits/sockaddr.h :
302 /usr/include/asm/socket.h :
303 /usr/include/asm/sockios.h :
304 /usr/include/bits/in.h :
305 /usr/include/bits/byteswap.h :
306 /usr/include/rpc/netdb.h :
307 /usr/include/bits/netdb.h :
308 /usr/include/arpa/inet.h :
309 /usr/include/netinet/ip6.h :
310 /usr/include/inttypes.h :
311 /usr/include/netinet/icmp6.h :
312 /usr/include/string.h :
313 /usr/include/bits/string.h :
314 /usr/include/bits/string2.h :
315 dns.h :
316 mtr-gtk.h :
317 img/mtr_icon.xpm :
+0
-102
.deps/mtr.P less more
0 mtr.o: mtr.c /usr/include/sys/types.h /usr/include/features.h \
1 /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h \
2 /usr/include/bits/types.h /usr/include/bits/wordsize.h \
3 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h \
4 /usr/include/bits/typesizes.h /usr/include/time.h /usr/include/endian.h \
5 /usr/include/bits/endian.h /usr/include/sys/select.h \
6 /usr/include/bits/select.h /usr/include/bits/sigset.h \
7 /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
8 /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h config.h \
9 /usr/include/netdb.h /usr/include/netinet/in.h /usr/include/stdint.h \
10 /usr/include/bits/wchar.h /usr/include/sys/socket.h \
11 /usr/include/sys/uio.h /usr/include/bits/uio.h \
12 /usr/include/bits/socket.h \
13 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h \
14 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h \
15 /usr/include/limits.h /usr/include/bits/posix1_lim.h \
16 /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
17 /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h \
18 /usr/include/asm/socket.h /usr/include/asm/sockios.h \
19 /usr/include/bits/in.h /usr/include/bits/byteswap.h \
20 /usr/include/rpc/netdb.h /usr/include/bits/netdb.h /usr/include/stdio.h \
21 /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
22 /usr/include/gconv.h /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h \
23 /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
24 /usr/include/bits/stdio.h /usr/include/stdlib.h /usr/include/alloca.h \
25 /usr/include/string.h /usr/include/bits/string.h \
26 /usr/include/bits/string2.h /usr/include/unistd.h \
27 /usr/include/bits/posix_opt.h /usr/include/bits/confname.h getopt.h \
28 /usr/include/strings.h mtr.h mtr-curses.h display.h dns.h report.h \
29 net.h /usr/include/arpa/inet.h /usr/include/netinet/ip6.h \
30 /usr/include/inttypes.h /usr/include/netinet/icmp6.h
31 mtr.c :
32 /usr/include/sys/types.h :
33 /usr/include/features.h :
34 /usr/include/sys/cdefs.h :
35 /usr/include/gnu/stubs.h :
36 /usr/include/bits/types.h :
37 /usr/include/bits/wordsize.h :
38 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h :
39 /usr/include/bits/typesizes.h :
40 /usr/include/time.h :
41 /usr/include/endian.h :
42 /usr/include/bits/endian.h :
43 /usr/include/sys/select.h :
44 /usr/include/bits/select.h :
45 /usr/include/bits/sigset.h :
46 /usr/include/bits/time.h :
47 /usr/include/sys/sysmacros.h :
48 /usr/include/bits/pthreadtypes.h :
49 /usr/include/bits/sched.h :
50 config.h :
51 /usr/include/netdb.h :
52 /usr/include/netinet/in.h :
53 /usr/include/stdint.h :
54 /usr/include/bits/wchar.h :
55 /usr/include/sys/socket.h :
56 /usr/include/sys/uio.h :
57 /usr/include/bits/uio.h :
58 /usr/include/bits/socket.h :
59 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h :
60 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h :
61 /usr/include/limits.h :
62 /usr/include/bits/posix1_lim.h :
63 /usr/include/bits/local_lim.h :
64 /usr/include/linux/limits.h :
65 /usr/include/bits/posix2_lim.h :
66 /usr/include/bits/sockaddr.h :
67 /usr/include/asm/socket.h :
68 /usr/include/asm/sockios.h :
69 /usr/include/bits/in.h :
70 /usr/include/bits/byteswap.h :
71 /usr/include/rpc/netdb.h :
72 /usr/include/bits/netdb.h :
73 /usr/include/stdio.h :
74 /usr/include/libio.h :
75 /usr/include/_G_config.h :
76 /usr/include/wchar.h :
77 /usr/include/gconv.h :
78 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h :
79 /usr/include/bits/stdio_lim.h :
80 /usr/include/bits/sys_errlist.h :
81 /usr/include/bits/stdio.h :
82 /usr/include/stdlib.h :
83 /usr/include/alloca.h :
84 /usr/include/string.h :
85 /usr/include/bits/string.h :
86 /usr/include/bits/string2.h :
87 /usr/include/unistd.h :
88 /usr/include/bits/posix_opt.h :
89 /usr/include/bits/confname.h :
90 getopt.h :
91 /usr/include/strings.h :
92 mtr.h :
93 mtr-curses.h :
94 display.h :
95 dns.h :
96 report.h :
97 net.h :
98 /usr/include/arpa/inet.h :
99 /usr/include/netinet/ip6.h :
100 /usr/include/inttypes.h :
101 /usr/include/netinet/icmp6.h :
+0
-119
.deps/net.P less more
0 net.o: net.c config.h /usr/include/sys/types.h /usr/include/features.h \
1 /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h \
2 /usr/include/bits/types.h /usr/include/bits/wordsize.h \
3 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h \
4 /usr/include/bits/typesizes.h /usr/include/time.h /usr/include/endian.h \
5 /usr/include/bits/endian.h /usr/include/sys/select.h \
6 /usr/include/bits/select.h /usr/include/bits/sigset.h \
7 /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
8 /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h \
9 /usr/include/sys/time.h /usr/include/sys/socket.h \
10 /usr/include/sys/uio.h /usr/include/bits/uio.h \
11 /usr/include/bits/socket.h \
12 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h \
13 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h \
14 /usr/include/limits.h /usr/include/bits/posix1_lim.h \
15 /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
16 /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h \
17 /usr/include/asm/socket.h /usr/include/asm/sockios.h \
18 /usr/include/netinet/in.h /usr/include/stdint.h \
19 /usr/include/bits/wchar.h /usr/include/bits/in.h \
20 /usr/include/bits/byteswap.h /usr/include/memory.h \
21 /usr/include/string.h /usr/include/bits/string.h \
22 /usr/include/bits/string2.h /usr/include/stdlib.h /usr/include/unistd.h \
23 /usr/include/bits/posix_opt.h /usr/include/bits/confname.h getopt.h \
24 /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \
25 /usr/include/wchar.h /usr/include/gconv.h \
26 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h \
27 /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
28 /usr/include/bits/stdio.h /usr/include/alloca.h /usr/include/math.h \
29 /usr/include/bits/huge_val.h /usr/include/bits/mathdef.h \
30 /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
31 /usr/include/errno.h /usr/include/bits/errno.h \
32 /usr/include/linux/errno.h /usr/include/asm/errno.h \
33 /usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \
34 mtr.h net.h /usr/include/netdb.h /usr/include/rpc/netdb.h \
35 /usr/include/bits/netdb.h /usr/include/arpa/inet.h \
36 /usr/include/netinet/ip6.h /usr/include/inttypes.h \
37 /usr/include/netinet/icmp6.h display.h dns.h
38 net.c :
39 config.h :
40 /usr/include/sys/types.h :
41 /usr/include/features.h :
42 /usr/include/sys/cdefs.h :
43 /usr/include/gnu/stubs.h :
44 /usr/include/bits/types.h :
45 /usr/include/bits/wordsize.h :
46 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h :
47 /usr/include/bits/typesizes.h :
48 /usr/include/time.h :
49 /usr/include/endian.h :
50 /usr/include/bits/endian.h :
51 /usr/include/sys/select.h :
52 /usr/include/bits/select.h :
53 /usr/include/bits/sigset.h :
54 /usr/include/bits/time.h :
55 /usr/include/sys/sysmacros.h :
56 /usr/include/bits/pthreadtypes.h :
57 /usr/include/bits/sched.h :
58 /usr/include/sys/time.h :
59 /usr/include/sys/socket.h :
60 /usr/include/sys/uio.h :
61 /usr/include/bits/uio.h :
62 /usr/include/bits/socket.h :
63 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h :
64 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h :
65 /usr/include/limits.h :
66 /usr/include/bits/posix1_lim.h :
67 /usr/include/bits/local_lim.h :
68 /usr/include/linux/limits.h :
69 /usr/include/bits/posix2_lim.h :
70 /usr/include/bits/sockaddr.h :
71 /usr/include/asm/socket.h :
72 /usr/include/asm/sockios.h :
73 /usr/include/netinet/in.h :
74 /usr/include/stdint.h :
75 /usr/include/bits/wchar.h :
76 /usr/include/bits/in.h :
77 /usr/include/bits/byteswap.h :
78 /usr/include/memory.h :
79 /usr/include/string.h :
80 /usr/include/bits/string.h :
81 /usr/include/bits/string2.h :
82 /usr/include/stdlib.h :
83 /usr/include/unistd.h :
84 /usr/include/bits/posix_opt.h :
85 /usr/include/bits/confname.h :
86 getopt.h :
87 /usr/include/stdio.h :
88 /usr/include/libio.h :
89 /usr/include/_G_config.h :
90 /usr/include/wchar.h :
91 /usr/include/gconv.h :
92 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h :
93 /usr/include/bits/stdio_lim.h :
94 /usr/include/bits/sys_errlist.h :
95 /usr/include/bits/stdio.h :
96 /usr/include/alloca.h :
97 /usr/include/math.h :
98 /usr/include/bits/huge_val.h :
99 /usr/include/bits/mathdef.h :
100 /usr/include/bits/mathcalls.h :
101 /usr/include/bits/mathinline.h :
102 /usr/include/errno.h :
103 /usr/include/bits/errno.h :
104 /usr/include/linux/errno.h :
105 /usr/include/asm/errno.h :
106 /usr/include/asm-generic/errno.h :
107 /usr/include/asm-generic/errno-base.h :
108 mtr.h :
109 net.h :
110 /usr/include/netdb.h :
111 /usr/include/rpc/netdb.h :
112 /usr/include/bits/netdb.h :
113 /usr/include/arpa/inet.h :
114 /usr/include/netinet/ip6.h :
115 /usr/include/inttypes.h :
116 /usr/include/netinet/icmp6.h :
117 display.h :
118 dns.h :
+0
-94
.deps/raw.P less more
0 raw.o: raw.c config.h /usr/include/ctype.h /usr/include/features.h \
1 /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h \
2 /usr/include/bits/types.h /usr/include/bits/wordsize.h \
3 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h \
4 /usr/include/bits/typesizes.h /usr/include/endian.h \
5 /usr/include/bits/endian.h /usr/include/stdlib.h \
6 /usr/include/sys/types.h /usr/include/time.h /usr/include/sys/select.h \
7 /usr/include/bits/select.h /usr/include/bits/sigset.h \
8 /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
9 /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h \
10 /usr/include/alloca.h /usr/include/stdio.h /usr/include/libio.h \
11 /usr/include/_G_config.h /usr/include/wchar.h /usr/include/bits/wchar.h \
12 /usr/include/gconv.h /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h \
13 /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
14 /usr/include/bits/stdio.h /usr/include/sys/socket.h \
15 /usr/include/sys/uio.h /usr/include/bits/uio.h \
16 /usr/include/bits/socket.h \
17 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h \
18 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h \
19 /usr/include/limits.h /usr/include/bits/posix1_lim.h \
20 /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
21 /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h \
22 /usr/include/asm/socket.h /usr/include/asm/sockios.h \
23 /usr/include/netinet/in.h /usr/include/stdint.h /usr/include/bits/in.h \
24 /usr/include/bits/byteswap.h /usr/include/arpa/inet.h mtr.h raw.h net.h \
25 /usr/include/netdb.h /usr/include/rpc/netdb.h /usr/include/bits/netdb.h \
26 /usr/include/netinet/ip6.h /usr/include/inttypes.h \
27 /usr/include/netinet/icmp6.h /usr/include/string.h \
28 /usr/include/bits/string.h /usr/include/bits/string2.h dns.h
29 raw.c :
30 config.h :
31 /usr/include/ctype.h :
32 /usr/include/features.h :
33 /usr/include/sys/cdefs.h :
34 /usr/include/gnu/stubs.h :
35 /usr/include/bits/types.h :
36 /usr/include/bits/wordsize.h :
37 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h :
38 /usr/include/bits/typesizes.h :
39 /usr/include/endian.h :
40 /usr/include/bits/endian.h :
41 /usr/include/stdlib.h :
42 /usr/include/sys/types.h :
43 /usr/include/time.h :
44 /usr/include/sys/select.h :
45 /usr/include/bits/select.h :
46 /usr/include/bits/sigset.h :
47 /usr/include/bits/time.h :
48 /usr/include/sys/sysmacros.h :
49 /usr/include/bits/pthreadtypes.h :
50 /usr/include/bits/sched.h :
51 /usr/include/alloca.h :
52 /usr/include/stdio.h :
53 /usr/include/libio.h :
54 /usr/include/_G_config.h :
55 /usr/include/wchar.h :
56 /usr/include/bits/wchar.h :
57 /usr/include/gconv.h :
58 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h :
59 /usr/include/bits/stdio_lim.h :
60 /usr/include/bits/sys_errlist.h :
61 /usr/include/bits/stdio.h :
62 /usr/include/sys/socket.h :
63 /usr/include/sys/uio.h :
64 /usr/include/bits/uio.h :
65 /usr/include/bits/socket.h :
66 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h :
67 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h :
68 /usr/include/limits.h :
69 /usr/include/bits/posix1_lim.h :
70 /usr/include/bits/local_lim.h :
71 /usr/include/linux/limits.h :
72 /usr/include/bits/posix2_lim.h :
73 /usr/include/bits/sockaddr.h :
74 /usr/include/asm/socket.h :
75 /usr/include/asm/sockios.h :
76 /usr/include/netinet/in.h :
77 /usr/include/stdint.h :
78 /usr/include/bits/in.h :
79 /usr/include/bits/byteswap.h :
80 /usr/include/arpa/inet.h :
81 mtr.h :
82 raw.h :
83 net.h :
84 /usr/include/netdb.h :
85 /usr/include/rpc/netdb.h :
86 /usr/include/bits/netdb.h :
87 /usr/include/netinet/ip6.h :
88 /usr/include/inttypes.h :
89 /usr/include/netinet/icmp6.h :
90 /usr/include/string.h :
91 /usr/include/bits/string.h :
92 /usr/include/bits/string2.h :
93 dns.h :
+0
-95
.deps/report.P less more
0 report.o: report.c config.h /usr/include/sys/types.h \
1 /usr/include/features.h /usr/include/sys/cdefs.h \
2 /usr/include/gnu/stubs.h /usr/include/bits/types.h \
3 /usr/include/bits/wordsize.h \
4 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h \
5 /usr/include/bits/typesizes.h /usr/include/time.h /usr/include/endian.h \
6 /usr/include/bits/endian.h /usr/include/sys/select.h \
7 /usr/include/bits/select.h /usr/include/bits/sigset.h \
8 /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
9 /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h \
10 /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \
11 /usr/include/wchar.h /usr/include/bits/wchar.h /usr/include/gconv.h \
12 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h \
13 /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
14 /usr/include/bits/stdio.h /usr/include/netdb.h \
15 /usr/include/netinet/in.h /usr/include/stdint.h \
16 /usr/include/sys/socket.h /usr/include/sys/uio.h \
17 /usr/include/bits/uio.h /usr/include/bits/socket.h \
18 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h \
19 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h \
20 /usr/include/limits.h /usr/include/bits/posix1_lim.h \
21 /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
22 /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h \
23 /usr/include/asm/socket.h /usr/include/asm/sockios.h \
24 /usr/include/bits/in.h /usr/include/bits/byteswap.h \
25 /usr/include/rpc/netdb.h /usr/include/bits/netdb.h \
26 /usr/include/string.h /usr/include/bits/string.h \
27 /usr/include/bits/string2.h /usr/include/stdlib.h \
28 /usr/include/strings.h mtr.h report.h net.h /usr/include/arpa/inet.h \
29 /usr/include/netinet/ip6.h /usr/include/inttypes.h \
30 /usr/include/netinet/icmp6.h dns.h
31 report.c :
32 config.h :
33 /usr/include/sys/types.h :
34 /usr/include/features.h :
35 /usr/include/sys/cdefs.h :
36 /usr/include/gnu/stubs.h :
37 /usr/include/bits/types.h :
38 /usr/include/bits/wordsize.h :
39 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h :
40 /usr/include/bits/typesizes.h :
41 /usr/include/time.h :
42 /usr/include/endian.h :
43 /usr/include/bits/endian.h :
44 /usr/include/sys/select.h :
45 /usr/include/bits/select.h :
46 /usr/include/bits/sigset.h :
47 /usr/include/bits/time.h :
48 /usr/include/sys/sysmacros.h :
49 /usr/include/bits/pthreadtypes.h :
50 /usr/include/bits/sched.h :
51 /usr/include/stdio.h :
52 /usr/include/libio.h :
53 /usr/include/_G_config.h :
54 /usr/include/wchar.h :
55 /usr/include/bits/wchar.h :
56 /usr/include/gconv.h :
57 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h :
58 /usr/include/bits/stdio_lim.h :
59 /usr/include/bits/sys_errlist.h :
60 /usr/include/bits/stdio.h :
61 /usr/include/netdb.h :
62 /usr/include/netinet/in.h :
63 /usr/include/stdint.h :
64 /usr/include/sys/socket.h :
65 /usr/include/sys/uio.h :
66 /usr/include/bits/uio.h :
67 /usr/include/bits/socket.h :
68 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h :
69 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h :
70 /usr/include/limits.h :
71 /usr/include/bits/posix1_lim.h :
72 /usr/include/bits/local_lim.h :
73 /usr/include/linux/limits.h :
74 /usr/include/bits/posix2_lim.h :
75 /usr/include/bits/sockaddr.h :
76 /usr/include/asm/socket.h :
77 /usr/include/asm/sockios.h :
78 /usr/include/bits/in.h :
79 /usr/include/bits/byteswap.h :
80 /usr/include/rpc/netdb.h :
81 /usr/include/bits/netdb.h :
82 /usr/include/string.h :
83 /usr/include/bits/string.h :
84 /usr/include/bits/string2.h :
85 /usr/include/stdlib.h :
86 /usr/include/strings.h :
87 mtr.h :
88 report.h :
89 net.h :
90 /usr/include/arpa/inet.h :
91 /usr/include/netinet/ip6.h :
92 /usr/include/inttypes.h :
93 /usr/include/netinet/icmp6.h :
94 dns.h :
+0
-117
.deps/select.P less more
0 select.o: select.c config.h /usr/include/sys/types.h \
1 /usr/include/features.h /usr/include/sys/cdefs.h \
2 /usr/include/gnu/stubs.h /usr/include/bits/types.h \
3 /usr/include/bits/wordsize.h \
4 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h \
5 /usr/include/bits/typesizes.h /usr/include/time.h /usr/include/endian.h \
6 /usr/include/bits/endian.h /usr/include/sys/select.h \
7 /usr/include/bits/select.h /usr/include/bits/sigset.h \
8 /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
9 /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h \
10 /usr/include/sys/time.h /usr/include/stdlib.h /usr/include/alloca.h \
11 /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \
12 /usr/include/wchar.h /usr/include/bits/wchar.h /usr/include/gconv.h \
13 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h \
14 /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
15 /usr/include/bits/stdio.h /usr/include/unistd.h \
16 /usr/include/bits/posix_opt.h /usr/include/bits/confname.h getopt.h \
17 /usr/include/string.h /usr/include/bits/string.h \
18 /usr/include/bits/string2.h /usr/include/math.h \
19 /usr/include/bits/huge_val.h /usr/include/bits/mathdef.h \
20 /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
21 /usr/include/errno.h /usr/include/bits/errno.h \
22 /usr/include/linux/errno.h /usr/include/asm/errno.h \
23 /usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \
24 mtr.h display.h /usr/include/netinet/in.h /usr/include/stdint.h \
25 /usr/include/sys/socket.h /usr/include/sys/uio.h \
26 /usr/include/bits/uio.h /usr/include/bits/socket.h \
27 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h \
28 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h \
29 /usr/include/limits.h /usr/include/bits/posix1_lim.h \
30 /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
31 /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h \
32 /usr/include/asm/socket.h /usr/include/asm/sockios.h \
33 /usr/include/bits/in.h /usr/include/bits/byteswap.h dns.h net.h \
34 /usr/include/netdb.h /usr/include/rpc/netdb.h /usr/include/bits/netdb.h \
35 /usr/include/arpa/inet.h /usr/include/netinet/ip6.h \
36 /usr/include/inttypes.h /usr/include/netinet/icmp6.h
37 select.c :
38 config.h :
39 /usr/include/sys/types.h :
40 /usr/include/features.h :
41 /usr/include/sys/cdefs.h :
42 /usr/include/gnu/stubs.h :
43 /usr/include/bits/types.h :
44 /usr/include/bits/wordsize.h :
45 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h :
46 /usr/include/bits/typesizes.h :
47 /usr/include/time.h :
48 /usr/include/endian.h :
49 /usr/include/bits/endian.h :
50 /usr/include/sys/select.h :
51 /usr/include/bits/select.h :
52 /usr/include/bits/sigset.h :
53 /usr/include/bits/time.h :
54 /usr/include/sys/sysmacros.h :
55 /usr/include/bits/pthreadtypes.h :
56 /usr/include/bits/sched.h :
57 /usr/include/sys/time.h :
58 /usr/include/stdlib.h :
59 /usr/include/alloca.h :
60 /usr/include/stdio.h :
61 /usr/include/libio.h :
62 /usr/include/_G_config.h :
63 /usr/include/wchar.h :
64 /usr/include/bits/wchar.h :
65 /usr/include/gconv.h :
66 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h :
67 /usr/include/bits/stdio_lim.h :
68 /usr/include/bits/sys_errlist.h :
69 /usr/include/bits/stdio.h :
70 /usr/include/unistd.h :
71 /usr/include/bits/posix_opt.h :
72 /usr/include/bits/confname.h :
73 getopt.h :
74 /usr/include/string.h :
75 /usr/include/bits/string.h :
76 /usr/include/bits/string2.h :
77 /usr/include/math.h :
78 /usr/include/bits/huge_val.h :
79 /usr/include/bits/mathdef.h :
80 /usr/include/bits/mathcalls.h :
81 /usr/include/bits/mathinline.h :
82 /usr/include/errno.h :
83 /usr/include/bits/errno.h :
84 /usr/include/linux/errno.h :
85 /usr/include/asm/errno.h :
86 /usr/include/asm-generic/errno.h :
87 /usr/include/asm-generic/errno-base.h :
88 mtr.h :
89 display.h :
90 /usr/include/netinet/in.h :
91 /usr/include/stdint.h :
92 /usr/include/sys/socket.h :
93 /usr/include/sys/uio.h :
94 /usr/include/bits/uio.h :
95 /usr/include/bits/socket.h :
96 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h :
97 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h :
98 /usr/include/limits.h :
99 /usr/include/bits/posix1_lim.h :
100 /usr/include/bits/local_lim.h :
101 /usr/include/linux/limits.h :
102 /usr/include/bits/posix2_lim.h :
103 /usr/include/bits/sockaddr.h :
104 /usr/include/asm/socket.h :
105 /usr/include/asm/sockios.h :
106 /usr/include/bits/in.h :
107 /usr/include/bits/byteswap.h :
108 dns.h :
109 net.h :
110 /usr/include/netdb.h :
111 /usr/include/rpc/netdb.h :
112 /usr/include/bits/netdb.h :
113 /usr/include/arpa/inet.h :
114 /usr/include/netinet/ip6.h :
115 /usr/include/inttypes.h :
116 /usr/include/netinet/icmp6.h :
+0
-103
.deps/split.P less more
0 split.o: split.c config.h /usr/include/ctype.h /usr/include/features.h \
1 /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h \
2 /usr/include/bits/types.h /usr/include/bits/wordsize.h \
3 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h \
4 /usr/include/bits/typesizes.h /usr/include/endian.h \
5 /usr/include/bits/endian.h /usr/include/stdlib.h \
6 /usr/include/sys/types.h /usr/include/time.h /usr/include/sys/select.h \
7 /usr/include/bits/select.h /usr/include/bits/sigset.h \
8 /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
9 /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h \
10 /usr/include/alloca.h /usr/include/stdio.h /usr/include/libio.h \
11 /usr/include/_G_config.h /usr/include/wchar.h /usr/include/bits/wchar.h \
12 /usr/include/gconv.h /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h \
13 /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
14 /usr/include/bits/stdio.h /usr/include/string.h \
15 /usr/include/bits/string.h /usr/include/bits/string2.h mtr.h display.h \
16 /usr/include/netinet/in.h /usr/include/stdint.h \
17 /usr/include/sys/socket.h /usr/include/sys/uio.h \
18 /usr/include/bits/uio.h /usr/include/bits/socket.h \
19 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h \
20 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h \
21 /usr/include/limits.h /usr/include/bits/posix1_lim.h \
22 /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
23 /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h \
24 /usr/include/asm/socket.h /usr/include/asm/sockios.h \
25 /usr/include/bits/in.h /usr/include/bits/byteswap.h dns.h net.h \
26 /usr/include/netdb.h /usr/include/rpc/netdb.h /usr/include/bits/netdb.h \
27 /usr/include/arpa/inet.h /usr/include/netinet/ip6.h \
28 /usr/include/inttypes.h /usr/include/netinet/icmp6.h split.h \
29 /usr/include/ncurses.h /usr/include/ncurses_dll.h /usr/include/unctrl.h \
30 /usr/include/curses.h \
31 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdbool.h
32 split.c :
33 config.h :
34 /usr/include/ctype.h :
35 /usr/include/features.h :
36 /usr/include/sys/cdefs.h :
37 /usr/include/gnu/stubs.h :
38 /usr/include/bits/types.h :
39 /usr/include/bits/wordsize.h :
40 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h :
41 /usr/include/bits/typesizes.h :
42 /usr/include/endian.h :
43 /usr/include/bits/endian.h :
44 /usr/include/stdlib.h :
45 /usr/include/sys/types.h :
46 /usr/include/time.h :
47 /usr/include/sys/select.h :
48 /usr/include/bits/select.h :
49 /usr/include/bits/sigset.h :
50 /usr/include/bits/time.h :
51 /usr/include/sys/sysmacros.h :
52 /usr/include/bits/pthreadtypes.h :
53 /usr/include/bits/sched.h :
54 /usr/include/alloca.h :
55 /usr/include/stdio.h :
56 /usr/include/libio.h :
57 /usr/include/_G_config.h :
58 /usr/include/wchar.h :
59 /usr/include/bits/wchar.h :
60 /usr/include/gconv.h :
61 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h :
62 /usr/include/bits/stdio_lim.h :
63 /usr/include/bits/sys_errlist.h :
64 /usr/include/bits/stdio.h :
65 /usr/include/string.h :
66 /usr/include/bits/string.h :
67 /usr/include/bits/string2.h :
68 mtr.h :
69 display.h :
70 /usr/include/netinet/in.h :
71 /usr/include/stdint.h :
72 /usr/include/sys/socket.h :
73 /usr/include/sys/uio.h :
74 /usr/include/bits/uio.h :
75 /usr/include/bits/socket.h :
76 /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h :
77 /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h :
78 /usr/include/limits.h :
79 /usr/include/bits/posix1_lim.h :
80 /usr/include/bits/local_lim.h :
81 /usr/include/linux/limits.h :
82 /usr/include/bits/posix2_lim.h :
83 /usr/include/bits/sockaddr.h :
84 /usr/include/asm/socket.h :
85 /usr/include/asm/sockios.h :
86 /usr/include/bits/in.h :
87 /usr/include/bits/byteswap.h :
88 dns.h :
89 net.h :
90 /usr/include/netdb.h :
91 /usr/include/rpc/netdb.h :
92 /usr/include/bits/netdb.h :
93 /usr/include/arpa/inet.h :
94 /usr/include/netinet/ip6.h :
95 /usr/include/inttypes.h :
96 /usr/include/netinet/icmp6.h :
97 split.h :
98 /usr/include/ncurses.h :
99 /usr/include/ncurses_dll.h :
100 /usr/include/unctrl.h :
101 /usr/include/curses.h :
102 /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdbool.h :
+0
-16
Makefile less more
0
1 #
2 # This is an attempt on simplifying the compilation of mtr to a simple "make".
3 #
4
5 firstrule:
6 ./configure
7 $(MAKE)
8
9 clean:
10 rm -f *.o *~ core
11
12 distclean: clean
13 rm -f mtr config.cache config.status config.log \
14 stamp-h stamp-h[0-9]* TAGS ID
15
173173 check-recursive installcheck-recursive
174174 DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
175175 COPYING ChangeLog INSTALL Makefile.am NEWS TODO acconfig.h \
176 aclocal.m4 config.h.in configure configure.in depcomp \
177 install-sh missing mkinstalldirs
176 aclocal.m4 config.guess config.h.in config.sub configure \
177 configure.in depcomp install-sh missing mkinstalldirs
178178 DIST_SUBDIRS = $(SUBDIRS)
179179 SOURCES = $(mtr_SOURCES) $(EXTRA_mtr_SOURCES)
180180
308308 # include <unistd.h>
309309 #endif"
310310
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE GTK_OBJ CURSES_OBJ CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG LIB@&t@OBJS LTLIBOBJS'
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar GTK_OBJ CURSES_OBJ CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG LIB@&t@OBJS LTLIBOBJS'
312312 ac_subst_files=''
313313
314314 # Initialize some variables set by options.
844844 Optional Features:
845845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --disable-dependency-tracking speeds up one-time build
848 --enable-dependency-tracking do not reject slow dependency extractors
847849 --enable-gtk2 Compile against GTK2 instead of GTK+
848850 --disable-ipv6 Do not enable IPv6
849851 --disable-gtktest do not try to compile and run a test GTK+ program
13031305
13041306
13051307
1306 am__api_version="1.4"
1308 am__api_version="1.9"
13071309 ac_aux_dir=
13081310 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
13091311 if test -f $ac_dir/install-sh; then
14121414 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
14131415 # Just in case
14141416 sleep 1
1415 echo timestamp > conftestfile
1417 echo timestamp > conftest.file
14161418 # Do `set' in a subshell so we don't clobber the current shell's
14171419 # arguments. Must try -L first in case configure is actually a
14181420 # symlink; some systems play weird games with the mod time of symlinks
14191421 # (eg FreeBSD returns the mod time of the symlink's containing
14201422 # directory).
14211423 if (
1422 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1424 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
14231425 if test "$*" = "X"; then
14241426 # -L didn't work.
1425 set X `ls -t $srcdir/configure conftestfile`
1427 set X `ls -t $srcdir/configure conftest.file`
14261428 fi
1427 if test "$*" != "X $srcdir/configure conftestfile" \
1428 && test "$*" != "X conftestfile $srcdir/configure"; then
1429 rm -f conftest.file
1430 if test "$*" != "X $srcdir/configure conftest.file" \
1431 && test "$*" != "X conftest.file $srcdir/configure"; then
14291432
14301433 # If neither matched, then we have a broken ls. This can happen
14311434 # if, for instance, CONFIG_SHELL is bash and it inherits a
14381441 { (exit 1); exit 1; }; }
14391442 fi
14401443
1441 test "$2" = conftestfile
1444 test "$2" = conftest.file
14421445 )
14431446 then
14441447 # Ok.
14501453 Check your system clock" >&2;}
14511454 { (exit 1); exit 1; }; }
14521455 fi
1453 rm -f conftest*
14541456 echo "$as_me:$LINENO: result: yes" >&5
14551457 echo "${ECHO_T}yes" >&6
14561458 test "$program_prefix" != NONE &&
14661468 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
14671469 rm conftest.sed
14681470
1471 # expand $ac_aux_dir to an absolute path
1472 am_aux_dir=`cd $ac_aux_dir && pwd`
1473
1474 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1475 # Use eval to expand $SHELL
1476 if eval "$MISSING --run true"; then
1477 am_missing_run="$MISSING --run "
1478 else
1479 am_missing_run=
1480 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1481 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1482 fi
1483
1484 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1485 # We used to keeping the `.' as first argument, in order to
1486 # allow $(mkdir_p) to be used without argument. As in
1487 # $(mkdir_p) $(somedir)
1488 # where $(somedir) is conditionally defined. However this is wrong
1489 # for two reasons:
1490 # 1. if the package is installed by a user who cannot write `.'
1491 # make install will fail,
1492 # 2. the above comment should most certainly read
1493 # $(mkdir_p) $(DESTDIR)$(somedir)
1494 # so it does not work when $(somedir) is undefined and
1495 # $(DESTDIR) is not.
1496 # To support the latter case, we have to write
1497 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1498 # so the `.' trick is pointless.
1499 mkdir_p='mkdir -p --'
1500 else
1501 # On NextStep and OpenStep, the `mkdir' command does not
1502 # recognize any option. It will interpret all options as
1503 # directories to create, and then abort because `.' already
1504 # exists.
1505 for d in ./-p ./--version;
1506 do
1507 test -d $d && rmdir $d
1508 done
1509 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1510 if test -f "$ac_aux_dir/mkinstalldirs"; then
1511 mkdir_p='$(mkinstalldirs)'
1512 else
1513 mkdir_p='$(install_sh) -d'
1514 fi
1515 fi
1516
1517 for ac_prog in gawk mawk nawk awk
1518 do
1519 # Extract the first word of "$ac_prog", so it can be a program name with args.
1520 set dummy $ac_prog; ac_word=$2
1521 echo "$as_me:$LINENO: checking for $ac_word" >&5
1522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1523 if test "${ac_cv_prog_AWK+set}" = set; then
1524 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 else
1526 if test -n "$AWK"; then
1527 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1528 else
1529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1530 for as_dir in $PATH
1531 do
1532 IFS=$as_save_IFS
1533 test -z "$as_dir" && as_dir=.
1534 for ac_exec_ext in '' $ac_executable_extensions; do
1535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1536 ac_cv_prog_AWK="$ac_prog"
1537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1538 break 2
1539 fi
1540 done
1541 done
1542
1543 fi
1544 fi
1545 AWK=$ac_cv_prog_AWK
1546 if test -n "$AWK"; then
1547 echo "$as_me:$LINENO: result: $AWK" >&5
1548 echo "${ECHO_T}$AWK" >&6
1549 else
1550 echo "$as_me:$LINENO: result: no" >&5
1551 echo "${ECHO_T}no" >&6
1552 fi
1553
1554 test -n "$AWK" && break
1555 done
1556
14691557 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
14701558 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
14711559 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
14951583 SET_MAKE="MAKE=${MAKE-make}"
14961584 fi
14971585
1498
1499 PACKAGE=mtr
1500
1501 VERSION=0.71
1502
1503 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1586 rm -rf .tst 2>/dev/null
1587 mkdir .tst 2>/dev/null
1588 if test -d .tst; then
1589 am__leading_dot=.
1590 else
1591 am__leading_dot=_
1592 fi
1593 rmdir .tst 2>/dev/null
1594
1595 # test to see if srcdir already configured
1596 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1597 test -f $srcdir/config.status; then
15041598 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
15051599 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
15061600 { (exit 1); exit 1; }; }
15071601 fi
15081602
1603 # test whether we have cygpath
1604 if test -z "$CYGPATH_W"; then
1605 if (cygpath --version) >/dev/null 2>/dev/null; then
1606 CYGPATH_W='cygpath -w'
1607 else
1608 CYGPATH_W=echo
1609 fi
1610 fi
1611
1612
1613 # Define the identity of the package.
1614 PACKAGE=mtr
1615 VERSION=0.72
1616
1617
15091618 cat >>confdefs.h <<_ACEOF
15101619 @%:@define PACKAGE "$PACKAGE"
15111620 _ACEOF
15121621
1513
1622
15141623 cat >>confdefs.h <<_ACEOF
15151624 @%:@define VERSION "$VERSION"
15161625 _ACEOF
15171626
1518
1519
1520 missing_dir=`cd $ac_aux_dir && pwd`
1521 echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1522 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
1523 # Run test in a subshell; some versions of sh will print an error if
1524 # an executable is not found, even if stderr is redirected.
1525 # Redirect stdin to placate older versions of autoconf. Sigh.
1526 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1527 ACLOCAL=aclocal-${am__api_version}
1528 echo "$as_me:$LINENO: result: found" >&5
1529 echo "${ECHO_T}found" >&6
1530 else
1531 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1532 echo "$as_me:$LINENO: result: missing" >&5
1533 echo "${ECHO_T}missing" >&6
1534 fi
1535
1536 echo "$as_me:$LINENO: checking for working autoconf" >&5
1537 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1538 # Run test in a subshell; some versions of sh will print an error if
1539 # an executable is not found, even if stderr is redirected.
1540 # Redirect stdin to placate older versions of autoconf. Sigh.
1541 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1542 AUTOCONF=autoconf
1543 echo "$as_me:$LINENO: result: found" >&5
1544 echo "${ECHO_T}found" >&6
1545 else
1546 AUTOCONF="$missing_dir/missing autoconf"
1547 echo "$as_me:$LINENO: result: missing" >&5
1548 echo "${ECHO_T}missing" >&6
1549 fi
1550
1551 echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1552 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
1553 # Run test in a subshell; some versions of sh will print an error if
1554 # an executable is not found, even if stderr is redirected.
1555 # Redirect stdin to placate older versions of autoconf. Sigh.
1556 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1557 AUTOMAKE=automake-${am__api_version}
1558 echo "$as_me:$LINENO: result: found" >&5
1559 echo "${ECHO_T}found" >&6
1560 else
1561 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1562 echo "$as_me:$LINENO: result: missing" >&5
1563 echo "${ECHO_T}missing" >&6
1564 fi
1565
1566 echo "$as_me:$LINENO: checking for working autoheader" >&5
1567 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1568 # Run test in a subshell; some versions of sh will print an error if
1569 # an executable is not found, even if stderr is redirected.
1570 # Redirect stdin to placate older versions of autoconf. Sigh.
1571 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1572 AUTOHEADER=autoheader
1573 echo "$as_me:$LINENO: result: found" >&5
1574 echo "${ECHO_T}found" >&6
1575 else
1576 AUTOHEADER="$missing_dir/missing autoheader"
1577 echo "$as_me:$LINENO: result: missing" >&5
1578 echo "${ECHO_T}missing" >&6
1579 fi
1580
1581 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1582 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1583 # Run test in a subshell; some versions of sh will print an error if
1584 # an executable is not found, even if stderr is redirected.
1585 # Redirect stdin to placate older versions of autoconf. Sigh.
1586 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1587 MAKEINFO=makeinfo
1588 echo "$as_me:$LINENO: result: found" >&5
1589 echo "${ECHO_T}found" >&6
1590 else
1591 MAKEINFO="$missing_dir/missing makeinfo"
1592 echo "$as_me:$LINENO: result: missing" >&5
1593 echo "${ECHO_T}missing" >&6
1594 fi
1627 # Some tools Automake needs.
1628
1629 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1630
1631
1632 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1633
1634
1635 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1636
1637
1638 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1639
1640
1641 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1642
1643 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1644
1645 # Installed binaries are usually stripped using `strip' when the user
1646 # run `make install-strip'. However `strip' might not be the right
1647 # tool to use in cross-compilation environments, therefore Automake
1648 # will honor the `STRIP' environment variable to overrule this program.
1649 if test "$cross_compiling" != no; then
1650 if test -n "$ac_tool_prefix"; then
1651 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1652 set dummy ${ac_tool_prefix}strip; ac_word=$2
1653 echo "$as_me:$LINENO: checking for $ac_word" >&5
1654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1655 if test "${ac_cv_prog_STRIP+set}" = set; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1657 else
1658 if test -n "$STRIP"; then
1659 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1660 else
1661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1662 for as_dir in $PATH
1663 do
1664 IFS=$as_save_IFS
1665 test -z "$as_dir" && as_dir=.
1666 for ac_exec_ext in '' $ac_executable_extensions; do
1667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1668 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1670 break 2
1671 fi
1672 done
1673 done
1674
1675 fi
1676 fi
1677 STRIP=$ac_cv_prog_STRIP
1678 if test -n "$STRIP"; then
1679 echo "$as_me:$LINENO: result: $STRIP" >&5
1680 echo "${ECHO_T}$STRIP" >&6
1681 else
1682 echo "$as_me:$LINENO: result: no" >&5
1683 echo "${ECHO_T}no" >&6
1684 fi
1685
1686 fi
1687 if test -z "$ac_cv_prog_STRIP"; then
1688 ac_ct_STRIP=$STRIP
1689 # Extract the first word of "strip", so it can be a program name with args.
1690 set dummy strip; ac_word=$2
1691 echo "$as_me:$LINENO: checking for $ac_word" >&5
1692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1693 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1695 else
1696 if test -n "$ac_ct_STRIP"; then
1697 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1698 else
1699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1700 for as_dir in $PATH
1701 do
1702 IFS=$as_save_IFS
1703 test -z "$as_dir" && as_dir=.
1704 for ac_exec_ext in '' $ac_executable_extensions; do
1705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1706 ac_cv_prog_ac_ct_STRIP="strip"
1707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1708 break 2
1709 fi
1710 done
1711 done
1712
1713 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1714 fi
1715 fi
1716 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1717 if test -n "$ac_ct_STRIP"; then
1718 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1719 echo "${ECHO_T}$ac_ct_STRIP" >&6
1720 else
1721 echo "$as_me:$LINENO: result: no" >&5
1722 echo "${ECHO_T}no" >&6
1723 fi
1724
1725 STRIP=$ac_ct_STRIP
1726 else
1727 STRIP="$ac_cv_prog_STRIP"
1728 fi
1729
1730 fi
1731 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1732
1733 # We need awk for the "check" target. The system "awk" is bad on
1734 # some platforms.
1735 # Always define AMTAR for backward compatibility.
1736
1737 AMTAR=${AMTAR-"${am_missing_run}tar"}
1738
1739 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1740
1741
1742
15951743
15961744
15971745
25252673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25262674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25272675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2676 DEPDIR="${am__leading_dot}deps"
2677
2678 ac_config_commands="$ac_config_commands depfiles"
2679
2680
2681 am_make=${MAKE-make}
2682 cat > confinc << 'END'
2683 am__doit:
2684 @echo done
2685 .PHONY: am__doit
2686 END
2687 # If we don't find an include directive, just comment out the code.
2688 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2689 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2690 am__include="#"
2691 am__quote=
2692 _am_result=none
2693 # First try GNU make style include.
2694 echo "include confinc" > confmf
2695 # We grep out `Entering directory' and `Leaving directory'
2696 # messages which can occur if `w' ends up in MAKEFLAGS.
2697 # In particular we don't look at `^make:' because GNU make might
2698 # be invoked under some other name (usually "gmake"), in which
2699 # case it prints its new name instead of `make'.
2700 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2701 am__include=include
2702 am__quote=
2703 _am_result=GNU
2704 fi
2705 # Now try BSD make style include.
2706 if test "$am__include" = "#"; then
2707 echo '.include "confinc"' > confmf
2708 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2709 am__include=.include
2710 am__quote="\""
2711 _am_result=BSD
2712 fi
2713 fi
2714
2715
2716 echo "$as_me:$LINENO: result: $_am_result" >&5
2717 echo "${ECHO_T}$_am_result" >&6
2718 rm -f confinc confmf
2719
2720 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2721 if test "${enable_dependency_tracking+set}" = set; then
2722 enableval="$enable_dependency_tracking"
2723
2724 fi;
2725 if test "x$enable_dependency_tracking" != xno; then
2726 am_depcomp="$ac_aux_dir/depcomp"
2727 AMDEPBACKSLASH='\'
2728 fi
2729
2730
2731 if test "x$enable_dependency_tracking" != xno; then
2732 AMDEP_TRUE=
2733 AMDEP_FALSE='#'
2734 else
2735 AMDEP_TRUE='#'
2736 AMDEP_FALSE=
2737 fi
2738
2739
2740
2741
2742 depcc="$CC" am_compiler_list=
2743
2744 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2745 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2746 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2747 echo $ECHO_N "(cached) $ECHO_C" >&6
2748 else
2749 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2750 # We make a subdir and do the tests there. Otherwise we can end up
2751 # making bogus files that we don't know about and never remove. For
2752 # instance it was reported that on HP-UX the gcc test will end up
2753 # making a dummy file named `D' -- because `-MD' means `put the output
2754 # in D'.
2755 mkdir conftest.dir
2756 # Copy depcomp to subdir because otherwise we won't find it if we're
2757 # using a relative directory.
2758 cp "$am_depcomp" conftest.dir
2759 cd conftest.dir
2760 # We will build objects and dependencies in a subdirectory because
2761 # it helps to detect inapplicable dependency modes. For instance
2762 # both Tru64's cc and ICC support -MD to output dependencies as a
2763 # side effect of compilation, but ICC will put the dependencies in
2764 # the current directory while Tru64 will put them in the object
2765 # directory.
2766 mkdir sub
2767
2768 am_cv_CC_dependencies_compiler_type=none
2769 if test "$am_compiler_list" = ""; then
2770 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2771 fi
2772 for depmode in $am_compiler_list; do
2773 # Setup a source with many dependencies, because some compilers
2774 # like to wrap large dependency lists on column 80 (with \), and
2775 # we should not choose a depcomp mode which is confused by this.
2776 #
2777 # We need to recreate these files for each test, as the compiler may
2778 # overwrite some of them when testing with obscure command lines.
2779 # This happens at least with the AIX C compiler.
2780 : > sub/conftest.c
2781 for i in 1 2 3 4 5 6; do
2782 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2783 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2784 # Solaris 8's {/usr,}/bin/sh.
2785 touch sub/conftst$i.h
2786 done
2787 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2788
2789 case $depmode in
2790 nosideeffect)
2791 # after this tag, mechanisms are not by side-effect, so they'll
2792 # only be used when explicitly requested
2793 if test "x$enable_dependency_tracking" = xyes; then
2794 continue
2795 else
2796 break
2797 fi
2798 ;;
2799 none) break ;;
2800 esac
2801 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2802 # mode. It turns out that the SunPro C++ compiler does not properly
2803 # handle `-M -o', and we need to detect this.
2804 if depmode=$depmode \
2805 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2806 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2807 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2808 >/dev/null 2>conftest.err &&
2809 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2810 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2811 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2812 # icc doesn't choke on unknown options, it will just issue warnings
2813 # or remarks (even with -Werror). So we grep stderr for any message
2814 # that says an option was ignored or not supported.
2815 # When given -MP, icc 7.0 and 7.1 complain thusly:
2816 # icc: Command line warning: ignoring option '-M'; no argument required
2817 # The diagnosis changed in icc 8.0:
2818 # icc: Command line remark: option '-MP' not supported
2819 if (grep 'ignoring option' conftest.err ||
2820 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2821 am_cv_CC_dependencies_compiler_type=$depmode
2822 break
2823 fi
2824 fi
2825 done
2826
2827 cd ..
2828 rm -rf conftest.dir
2829 else
2830 am_cv_CC_dependencies_compiler_type=none
2831 fi
2832
2833 fi
2834 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2835 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2836 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2837
2838
2839
2840 if
2841 test "x$enable_dependency_tracking" != xno \
2842 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2843 am__fastdepCC_TRUE=
2844 am__fastdepCC_FALSE='#'
2845 else
2846 am__fastdepCC_TRUE='#'
2847 am__fastdepCC_FALSE=
2848 fi
2849
25282850
25292851
25302852
73847706
73857707
73867708
7387
73887709 ac_config_headers="$ac_config_headers config.h"
7389
7390 ac_config_commands="$ac_config_commands default-1"
73917710
73927711 ac_config_files="$ac_config_files Makefile img/Makefile"
73937712 cat >confcache <<\_ACEOF
74817800 LTLIBOBJS=$ac_ltlibobjs
74827801
74837802
7803 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7804 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7805 Usually this means the macro was only invoked conditionally." >&5
7806 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7807 Usually this means the macro was only invoked conditionally." >&2;}
7808 { (exit 1); exit 1; }; }
7809 fi
7810 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7811 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7812 Usually this means the macro was only invoked conditionally." >&5
7813 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7814 Usually this means the macro was only invoked conditionally." >&2;}
7815 { (exit 1); exit 1; }; }
7816 fi
74847817
74857818 : ${CONFIG_STATUS=./config.status}
74867819 ac_clean_files_save=$ac_clean_files
79148247 # INIT-COMMANDS section.
79158248 #
79168249
7917
8250 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
79188251
79198252 _ACEOF
79208253
79278260 # Handling of arguments.
79288261 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
79298262 "img/Makefile" ) CONFIG_FILES="$CONFIG_FILES img/Makefile" ;;
7930 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8263 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
79318264 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
79328265 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
79338266 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
80178350 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
80188351 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
80198352 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8353 s,@CYGPATH_W@,$CYGPATH_W,;t t
80208354 s,@PACKAGE@,$PACKAGE,;t t
80218355 s,@VERSION@,$VERSION,;t t
80228356 s,@ACLOCAL@,$ACLOCAL,;t t
80248358 s,@AUTOMAKE@,$AUTOMAKE,;t t
80258359 s,@AUTOHEADER@,$AUTOHEADER,;t t
80268360 s,@MAKEINFO@,$MAKEINFO,;t t
8361 s,@install_sh@,$install_sh,;t t
8362 s,@STRIP@,$STRIP,;t t
8363 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8364 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8365 s,@mkdir_p@,$mkdir_p,;t t
8366 s,@AWK@,$AWK,;t t
80278367 s,@SET_MAKE@,$SET_MAKE,;t t
8368 s,@am__leading_dot@,$am__leading_dot,;t t
8369 s,@AMTAR@,$AMTAR,;t t
8370 s,@am__tar@,$am__tar,;t t
8371 s,@am__untar@,$am__untar,;t t
80288372 s,@GTK_OBJ@,$GTK_OBJ,;t t
80298373 s,@CURSES_OBJ@,$CURSES_OBJ,;t t
80308374 s,@CC@,$CC,;t t
80348378 s,@ac_ct_CC@,$ac_ct_CC,;t t
80358379 s,@EXEEXT@,$EXEEXT,;t t
80368380 s,@OBJEXT@,$OBJEXT,;t t
8381 s,@DEPDIR@,$DEPDIR,;t t
8382 s,@am__include@,$am__include,;t t
8383 s,@am__quote@,$am__quote,;t t
8384 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8385 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8386 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8387 s,@CCDEPMODE@,$CCDEPMODE,;t t
8388 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
8389 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
80378390 s,@CPP@,$CPP,;t t
80388391 s,@EGREP@,$EGREP,;t t
80398392 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
85028855 cat $tmp/config.h
85038856 rm -f $tmp/config.h
85048857 fi
8858 # Compute $ac_file's index in $config_headers.
8859 _am_stamp_count=1
8860 for _am_header in $config_headers :; do
8861 case $_am_header in
8862 $ac_file | $ac_file:* )
8863 break ;;
8864 * )
8865 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8866 esac
8867 done
8868 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
8869 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8870 X$ac_file : 'X\(//\)[^/]' \| \
8871 X$ac_file : 'X\(//\)$' \| \
8872 X$ac_file : 'X\(/\)' \| \
8873 . : '\(.\)' 2>/dev/null ||
8874 echo X$ac_file |
8875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8876 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8877 /^X\(\/\/\)$/{ s//\1/; q; }
8878 /^X\(\/\).*/{ s//\1/; q; }
8879 s/.*/./; q'`/stamp-h$_am_stamp_count
85058880 done
85068881 _ACEOF
85078882 cat >>$CONFIG_STATUS <<\_ACEOF
86188993 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
86198994 echo "$as_me: executing $ac_dest commands" >&6;}
86208995 case $ac_dest in
8621 default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
8996 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
8997 # Strip MF so we end up with the name of the file.
8998 mf=`echo "$mf" | sed -e 's/:.*$//'`
8999 # Check whether this is an Automake generated Makefile or not.
9000 # We used to match only the files named `Makefile.in', but
9001 # some people rename them; so instead we look at the file content.
9002 # Grep'ing the first line is not enough: some people post-process
9003 # each Makefile.in and add a new line on top of each file to say so.
9004 # So let's grep whole file.
9005 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9006 dirpart=`(dirname "$mf") 2>/dev/null ||
9007 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9008 X"$mf" : 'X\(//\)[^/]' \| \
9009 X"$mf" : 'X\(//\)$' \| \
9010 X"$mf" : 'X\(/\)' \| \
9011 . : '\(.\)' 2>/dev/null ||
9012 echo X"$mf" |
9013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9014 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9015 /^X\(\/\/\)$/{ s//\1/; q; }
9016 /^X\(\/\).*/{ s//\1/; q; }
9017 s/.*/./; q'`
9018 else
9019 continue
9020 fi
9021 # Extract the definition of DEPDIR, am__include, and am__quote
9022 # from the Makefile without running `make'.
9023 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9024 test -z "$DEPDIR" && continue
9025 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9026 test -z "am__include" && continue
9027 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9028 # When using ansi2knr, U may be empty or an underscore; expand it
9029 U=`sed -n 's/^U = //p' < "$mf"`
9030 # Find all dependency output files, they are included files with
9031 # $(DEPDIR) in their names. We invoke sed twice because it is the
9032 # simplest approach to changing $(DEPDIR) to its actual value in the
9033 # expansion.
9034 for file in `sed -n "
9035 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9036 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9037 # Make sure the directory exists.
9038 test -f "$dirpart/$file" && continue
9039 fdir=`(dirname "$file") 2>/dev/null ||
9040 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9041 X"$file" : 'X\(//\)[^/]' \| \
9042 X"$file" : 'X\(//\)$' \| \
9043 X"$file" : 'X\(/\)' \| \
9044 . : '\(.\)' 2>/dev/null ||
9045 echo X"$file" |
9046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9047 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9048 /^X\(\/\/\)$/{ s//\1/; q; }
9049 /^X\(\/\).*/{ s//\1/; q; }
9050 s/.*/./; q'`
9051 { if $as_mkdir_p; then
9052 mkdir -p $dirpart/$fdir
9053 else
9054 as_dir=$dirpart/$fdir
9055 as_dirs=
9056 while test ! -d "$as_dir"; do
9057 as_dirs="$as_dir $as_dirs"
9058 as_dir=`(dirname "$as_dir") 2>/dev/null ||
9059 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9060 X"$as_dir" : 'X\(//\)[^/]' \| \
9061 X"$as_dir" : 'X\(//\)$' \| \
9062 X"$as_dir" : 'X\(/\)' \| \
9063 . : '\(.\)' 2>/dev/null ||
9064 echo X"$as_dir" |
9065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9066 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9067 /^X\(\/\/\)$/{ s//\1/; q; }
9068 /^X\(\/\).*/{ s//\1/; q; }
9069 s/.*/./; q'`
9070 done
9071 test ! -n "$as_dirs" || mkdir $as_dirs
9072 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9073 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9074 { (exit 1); exit 1; }; }; }
9075
9076 # echo "creating $dirpart/$file"
9077 echo '# dummy' > "$dirpart/$file"
9078 done
9079 done
9080 ;;
86229081 esac
86239082 done
86249083 _ACEOF
0 @%:@! /bin/sh
1 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.59.
3 @%:@
4 @%:@ Copyright (C) 2003 Free Software Foundation, Inc.
5 @%:@ This configure script is free software; the Free Software Foundation
6 @%:@ gives unlimited permission to copy, distribute and modify it.
7 ## --------------------- ##
8 ## M4sh Initialization. ##
9 ## --------------------- ##
10
11 # Be Bourne compatible
12 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13 emulate sh
14 NULLCMD=:
15 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16 # is contrary to our usage. Disable this feature.
17 alias -g '${1+"$@"}'='"$@"'
18 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
19 set -o posix
20 fi
21 DUALCASE=1; export DUALCASE # for MKS sh
22
23 # Support unset when possible.
24 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25 as_unset=unset
26 else
27 as_unset=false
28 fi
29
30
31 # Work around bugs in pre-3.0 UWIN ksh.
32 $as_unset ENV MAIL MAILPATH
33 PS1='$ '
34 PS2='> '
35 PS4='+ '
36
37 # NLS nuisances.
38 for as_var in \
39 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41 LC_TELEPHONE LC_TIME
42 do
43 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44 eval $as_var=C; export $as_var
45 else
46 $as_unset $as_var
47 fi
48 done
49
50 # Required to use basename.
51 if expr a : '\(a\)' >/dev/null 2>&1; then
52 as_expr=expr
53 else
54 as_expr=false
55 fi
56
57 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
58 as_basename=basename
59 else
60 as_basename=false
61 fi
62
63
64 # Name of the executable.
65 as_me=`$as_basename "$0" ||
66 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
67 X"$0" : 'X\(//\)$' \| \
68 X"$0" : 'X\(/\)$' \| \
69 . : '\(.\)' 2>/dev/null ||
70 echo X/"$0" |
71 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
72 /^X\/\(\/\/\)$/{ s//\1/; q; }
73 /^X\/\(\/\).*/{ s//\1/; q; }
74 s/.*/./; q'`
75
76
77 # PATH needs CR, and LINENO needs CR and PATH.
78 # Avoid depending upon Character Ranges.
79 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82 as_cr_digits='0123456789'
83 as_cr_alnum=$as_cr_Letters$as_cr_digits
84
85 # The user is always right.
86 if test "${PATH_SEPARATOR+set}" != set; then
87 echo "#! /bin/sh" >conf$$.sh
88 echo "exit 0" >>conf$$.sh
89 chmod +x conf$$.sh
90 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
91 PATH_SEPARATOR=';'
92 else
93 PATH_SEPARATOR=:
94 fi
95 rm -f conf$$.sh
96 fi
97
98
99 as_lineno_1=$LINENO
100 as_lineno_2=$LINENO
101 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
102 test "x$as_lineno_1" != "x$as_lineno_2" &&
103 test "x$as_lineno_3" = "x$as_lineno_2" || {
104 # Find who we are. Look in the path if we contain no path at all
105 # relative or not.
106 case $0 in
107 *[\\/]* ) as_myself=$0 ;;
108 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109 for as_dir in $PATH
110 do
111 IFS=$as_save_IFS
112 test -z "$as_dir" && as_dir=.
113 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
114 done
115
116 ;;
117 esac
118 # We did not find ourselves, most probably we were run as `sh COMMAND'
119 # in which case we are not to be found in the path.
120 if test "x$as_myself" = x; then
121 as_myself=$0
122 fi
123 if test ! -f "$as_myself"; then
124 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
125 { (exit 1); exit 1; }; }
126 fi
127 case $CONFIG_SHELL in
128 '')
129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
130 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131 do
132 IFS=$as_save_IFS
133 test -z "$as_dir" && as_dir=.
134 for as_base in sh bash ksh sh5; do
135 case $as_dir in
136 /*)
137 if ("$as_dir/$as_base" -c '
138 as_lineno_1=$LINENO
139 as_lineno_2=$LINENO
140 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
141 test "x$as_lineno_1" != "x$as_lineno_2" &&
142 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
143 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
144 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
145 CONFIG_SHELL=$as_dir/$as_base
146 export CONFIG_SHELL
147 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
148 fi;;
149 esac
150 done
151 done
152 ;;
153 esac
154
155 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
156 # uniformly replaced by the line number. The first 'sed' inserts a
157 # line-number line before each line; the second 'sed' does the real
158 # work. The second script uses 'N' to pair each line-number line
159 # with the numbered line, and appends trailing '-' during
160 # substitution so that $LINENO is not a special case at line end.
161 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
162 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
163 sed '=' <$as_myself |
164 sed '
165 N
166 s,$,-,
167 : loop
168 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
169 t loop
170 s,-$,,
171 s,^['$as_cr_digits']*\n,,
172 ' >$as_me.lineno &&
173 chmod +x $as_me.lineno ||
174 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
175 { (exit 1); exit 1; }; }
176
177 # Don't try to exec as it changes $[0], causing all sort of problems
178 # (the dirname of $[0] is not the place where we might find the
179 # original and so on. Autoconf is especially sensible to this).
180 . ./$as_me.lineno
181 # Exit status is that of the last command.
182 exit
183 }
184
185
186 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
187 *c*,-n*) ECHO_N= ECHO_C='
188 ' ECHO_T=' ' ;;
189 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
190 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
191 esac
192
193 if expr a : '\(a\)' >/dev/null 2>&1; then
194 as_expr=expr
195 else
196 as_expr=false
197 fi
198
199 rm -f conf$$ conf$$.exe conf$$.file
200 echo >conf$$.file
201 if ln -s conf$$.file conf$$ 2>/dev/null; then
202 # We could just check for DJGPP; but this test a) works b) is more generic
203 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
204 if test -f conf$$.exe; then
205 # Don't use ln at all; we don't have any links
206 as_ln_s='cp -p'
207 else
208 as_ln_s='ln -s'
209 fi
210 elif ln conf$$.file conf$$ 2>/dev/null; then
211 as_ln_s=ln
212 else
213 as_ln_s='cp -p'
214 fi
215 rm -f conf$$ conf$$.exe conf$$.file
216
217 if mkdir -p . 2>/dev/null; then
218 as_mkdir_p=:
219 else
220 test -d ./-p && rmdir ./-p
221 as_mkdir_p=false
222 fi
223
224 as_executable_p="test -f"
225
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
228
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
231
232
233 # IFS
234 # We need space, tab and new line, in precisely that order.
235 as_nl='
236 '
237 IFS=" $as_nl"
238
239 # CDPATH.
240 $as_unset CDPATH
241
242
243 # Name of the host.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
247
248 exec 6>&1
249
250 #
251 # Initializations.
252 #
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
255 cross_compiling=no
256 subdirs=
257 MFLAGS=
258 MAKEFLAGS=
259 SHELL=${CONFIG_SHELL-/bin/sh}
260
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
265
266 # Identity of this package.
267 PACKAGE_NAME=
268 PACKAGE_TARNAME=
269 PACKAGE_VERSION=
270 PACKAGE_STRING=
271 PACKAGE_BUGREPORT=
272
273 ac_unique_file="mtr.c"
274 # Factoring default headers for most tests.
275 ac_includes_default="\
276 #include <stdio.h>
277 #if HAVE_SYS_TYPES_H
278 # include <sys/types.h>
279 #endif
280 #if HAVE_SYS_STAT_H
281 # include <sys/stat.h>
282 #endif
283 #if STDC_HEADERS
284 # include <stdlib.h>
285 # include <stddef.h>
286 #else
287 # if HAVE_STDLIB_H
288 # include <stdlib.h>
289 # endif
290 #endif
291 #if HAVE_STRING_H
292 # if !STDC_HEADERS && HAVE_MEMORY_H
293 # include <memory.h>
294 # endif
295 # include <string.h>
296 #endif
297 #if HAVE_STRINGS_H
298 # include <strings.h>
299 #endif
300 #if HAVE_INTTYPES_H
301 # include <inttypes.h>
302 #else
303 # if HAVE_STDINT_H
304 # include <stdint.h>
305 # endif
306 #endif
307 #if HAVE_UNISTD_H
308 # include <unistd.h>
309 #endif"
310
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar GTK_OBJ CURSES_OBJ CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG LIB@&t@OBJS LTLIBOBJS'
312 ac_subst_files=''
313
314 # Initialize some variables set by options.
315 ac_init_help=
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
319 cache_file=/dev/null
320 exec_prefix=NONE
321 no_create=
322 no_recursion=
323 prefix=NONE
324 program_prefix=NONE
325 program_suffix=NONE
326 program_transform_name=s,x,x,
327 silent=
328 site=
329 srcdir=
330 verbose=
331 x_includes=NONE
332 x_libraries=NONE
333
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
351
352 ac_prev=
353 for ac_option
354 do
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
358 ac_prev=
359 continue
360 fi
361
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
363
364 # Accept the important Cygnus configure options, so we can diagnose typos.
365
366 case $ac_option in
367
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
369 ac_prev=bindir ;;
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371 bindir=$ac_optarg ;;
372
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
377
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
384
385 --config-cache | -C)
386 cache_file=config.cache ;;
387
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389 ac_prev=datadir ;;
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391 | --da=*)
392 datadir=$ac_optarg ;;
393
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
402
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410 case $ac_option in
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412 *) ac_optarg=yes ;;
413 esac
414 eval "enable_$ac_feature='$ac_optarg'" ;;
415
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
424
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
427 with_gas=yes ;;
428
429 -help | --help | --hel | --he | -h)
430 ac_init_help=long ;;
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
435
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
440
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
447
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
449 ac_prev=infodir ;;
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
452
453 -libdir | --libdir | --libdi | --libd)
454 ac_prev=libdir ;;
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
456 libdir=$ac_optarg ;;
457
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
464
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
473
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475 ac_prev=mandir ;;
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477 mandir=$ac_optarg ;;
478
479 -nfp | --nfp | --nf)
480 # Obsolete; use --without-fp.
481 with_fp=no ;;
482
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
485 no_create=yes ;;
486
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
489 no_recursion=yes ;;
490
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
499
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501 ac_prev=prefix ;;
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503 prefix=$ac_optarg ;;
504
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
511
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
518
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
535
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
538 silent=yes ;;
539
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
541 ac_prev=sbindir ;;
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543 | --sbi=* | --sb=*)
544 sbindir=$ac_optarg ;;
545
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
549 | --sha | --sh)
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554 | --sha=* | --sh=*)
555 sharedstatedir=$ac_optarg ;;
556
557 -site | --site | --sit)
558 ac_prev=site ;;
559 -site=* | --site=* | --sit=*)
560 site=$ac_optarg ;;
561
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563 ac_prev=srcdir ;;
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565 srcdir=$ac_optarg ;;
566
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
573
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
578
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
580 verbose=yes ;;
581
582 -version | --version | --versio | --versi | --vers | -V)
583 ac_init_version=: ;;
584
585 -with-* | --with-*)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
592 case $ac_option in
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594 *) ac_optarg=yes ;;
595 esac
596 eval "with_$ac_package='$ac_optarg'" ;;
597
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
606
607 --x)
608 # Obsolete; use --with-x.
609 with_x=yes ;;
610
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
617
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
624
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
628 ;;
629
630 *=*)
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
638 export $ac_envvar ;;
639
640 *)
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
646 ;;
647
648 esac
649 done
650
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
655 fi
656
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
659 do
660 eval ac_val=$`echo $ac_var`
661 case $ac_val in
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
665 esac
666 done
667
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
671 do
672 eval ac_val=$`echo $ac_var`
673 case $ac_val in
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
677 esac
678 done
679
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
683 build=$build_alias
684 host=$host_alias
685 target=$target_alias
686
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
694 cross_compiling=yes
695 fi
696 fi
697
698 ac_tool_prefix=
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
700
701 test "$silent" = yes && exec 6>/dev/null
702
703
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
714 echo X"$0" |
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
719 s/.*/./; q'`
720 srcdir=$ac_confdir
721 if test ! -r $srcdir/$ac_unique_file; then
722 srcdir=..
723 fi
724 else
725 ac_srcdir_defaulted=no
726 fi
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
731 else
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
734 fi
735 fi
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_CC_set=${CC+set}
753 ac_env_CC_value=$CC
754 ac_cv_env_CC_set=${CC+set}
755 ac_cv_env_CC_value=$CC
756 ac_env_CFLAGS_set=${CFLAGS+set}
757 ac_env_CFLAGS_value=$CFLAGS
758 ac_cv_env_CFLAGS_set=${CFLAGS+set}
759 ac_cv_env_CFLAGS_value=$CFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768 ac_env_CPP_set=${CPP+set}
769 ac_env_CPP_value=$CPP
770 ac_cv_env_CPP_set=${CPP+set}
771 ac_cv_env_CPP_value=$CPP
772
773 #
774 # Report the --help message.
775 #
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
779 cat <<_ACEOF
780 \`configure' configures this package to adapt to many kinds of systems.
781
782 Usage: $0 [OPTION]... [VAR=VALUE]...
783
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
786
787 Defaults for the options are specified in brackets.
788
789 Configuration:
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
799
800 _ACEOF
801
802 cat <<_ACEOF
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
805 [$ac_default_prefix]
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
807 [PREFIX]
808
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
813
814 For better control, use the options below.
815
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
829 _ACEOF
830
831 cat <<\_ACEOF
832
833 Program names:
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
837 _ACEOF
838 fi
839
840 if test -n "$ac_init_help"; then
841
842 cat <<\_ACEOF
843
844 Optional Features:
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --disable-dependency-tracking speeds up one-time build
848 --enable-dependency-tracking do not reject slow dependency extractors
849 --enable-gtk2 Compile against GTK2 instead of GTK+
850 --disable-ipv6 Do not enable IPv6
851 --disable-gtktest do not try to compile and run a test GTK+ program
852 --disable-gtktest Do not try to compile and run a test GTK program
853
854 Optional Packages:
855 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
856 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
857 --without-gtk Do not try to use GTK+ at all
858 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
859 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
860
861 Some influential environment variables:
862 CC C compiler command
863 CFLAGS C compiler flags
864 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
865 nonstandard directory <lib dir>
866 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
867 headers in a nonstandard directory <include dir>
868 CPP C preprocessor
869
870 Use these variables to override the choices made by `configure' or to help
871 it to find libraries and programs with nonstandard names/locations.
872
873 _ACEOF
874 fi
875
876 if test "$ac_init_help" = "recursive"; then
877 # If there are subdirs, report their specific --help.
878 ac_popdir=`pwd`
879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
880 test -d $ac_dir || continue
881 ac_builddir=.
882
883 if test "$ac_dir" != .; then
884 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
887 else
888 ac_dir_suffix= ac_top_builddir=
889 fi
890
891 case $srcdir in
892 .) # No --srcdir option. We are building in place.
893 ac_srcdir=.
894 if test -z "$ac_top_builddir"; then
895 ac_top_srcdir=.
896 else
897 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
898 fi ;;
899 [\\/]* | ?:[\\/]* ) # Absolute path.
900 ac_srcdir=$srcdir$ac_dir_suffix;
901 ac_top_srcdir=$srcdir ;;
902 *) # Relative path.
903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir=$ac_top_builddir$srcdir ;;
905 esac
906
907 # Do not use `cd foo && pwd` to compute absolute paths, because
908 # the directories may not exist.
909 case `pwd` in
910 .) ac_abs_builddir="$ac_dir";;
911 *)
912 case "$ac_dir" in
913 .) ac_abs_builddir=`pwd`;;
914 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
915 *) ac_abs_builddir=`pwd`/"$ac_dir";;
916 esac;;
917 esac
918 case $ac_abs_builddir in
919 .) ac_abs_top_builddir=${ac_top_builddir}.;;
920 *)
921 case ${ac_top_builddir}. in
922 .) ac_abs_top_builddir=$ac_abs_builddir;;
923 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
924 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
925 esac;;
926 esac
927 case $ac_abs_builddir in
928 .) ac_abs_srcdir=$ac_srcdir;;
929 *)
930 case $ac_srcdir in
931 .) ac_abs_srcdir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
933 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
934 esac;;
935 esac
936 case $ac_abs_builddir in
937 .) ac_abs_top_srcdir=$ac_top_srcdir;;
938 *)
939 case $ac_top_srcdir in
940 .) ac_abs_top_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
942 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
943 esac;;
944 esac
945
946 cd $ac_dir
947 # Check for guested configure; otherwise get Cygnus style configure.
948 if test -f $ac_srcdir/configure.gnu; then
949 echo
950 $SHELL $ac_srcdir/configure.gnu --help=recursive
951 elif test -f $ac_srcdir/configure; then
952 echo
953 $SHELL $ac_srcdir/configure --help=recursive
954 elif test -f $ac_srcdir/configure.ac ||
955 test -f $ac_srcdir/configure.in; then
956 echo
957 $ac_configure --help
958 else
959 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
960 fi
961 cd "$ac_popdir"
962 done
963 fi
964
965 test -n "$ac_init_help" && exit 0
966 if $ac_init_version; then
967 cat <<\_ACEOF
968
969 Copyright (C) 2003 Free Software Foundation, Inc.
970 This configure script is free software; the Free Software Foundation
971 gives unlimited permission to copy, distribute and modify it.
972 _ACEOF
973 exit 0
974 fi
975 exec 5>config.log
976 cat >&5 <<_ACEOF
977 This file contains any messages produced by compilers while
978 running configure, to aid debugging if configure makes a mistake.
979
980 It was created by $as_me, which was
981 generated by GNU Autoconf 2.59. Invocation command line was
982
983 $ $0 $@
984
985 _ACEOF
986 {
987 cat <<_ASUNAME
988 @%:@@%:@ --------- @%:@@%:@
989 @%:@@%:@ Platform. @%:@@%:@
990 @%:@@%:@ --------- @%:@@%:@
991
992 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
993 uname -m = `(uname -m) 2>/dev/null || echo unknown`
994 uname -r = `(uname -r) 2>/dev/null || echo unknown`
995 uname -s = `(uname -s) 2>/dev/null || echo unknown`
996 uname -v = `(uname -v) 2>/dev/null || echo unknown`
997
998 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
999 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1000
1001 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1002 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1003 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1004 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1005 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1006 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1007 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1008
1009 _ASUNAME
1010
1011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1012 for as_dir in $PATH
1013 do
1014 IFS=$as_save_IFS
1015 test -z "$as_dir" && as_dir=.
1016 echo "PATH: $as_dir"
1017 done
1018
1019 } >&5
1020
1021 cat >&5 <<_ACEOF
1022
1023
1024 @%:@@%:@ ----------- @%:@@%:@
1025 @%:@@%:@ Core tests. @%:@@%:@
1026 @%:@@%:@ ----------- @%:@@%:@
1027
1028 _ACEOF
1029
1030
1031 # Keep a trace of the command line.
1032 # Strip out --no-create and --no-recursion so they do not pile up.
1033 # Strip out --silent because we don't want to record it for future runs.
1034 # Also quote any args containing shell meta-characters.
1035 # Make two passes to allow for proper duplicate-argument suppression.
1036 ac_configure_args=
1037 ac_configure_args0=
1038 ac_configure_args1=
1039 ac_sep=
1040 ac_must_keep_next=false
1041 for ac_pass in 1 2
1042 do
1043 for ac_arg
1044 do
1045 case $ac_arg in
1046 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048 | -silent | --silent | --silen | --sile | --sil)
1049 continue ;;
1050 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1051 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1052 esac
1053 case $ac_pass in
1054 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1055 2)
1056 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1057 if test $ac_must_keep_next = true; then
1058 ac_must_keep_next=false # Got value, back to normal.
1059 else
1060 case $ac_arg in
1061 *=* | --config-cache | -C | -disable-* | --disable-* \
1062 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1063 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1064 | -with-* | --with-* | -without-* | --without-* | --x)
1065 case "$ac_configure_args0 " in
1066 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1067 esac
1068 ;;
1069 -* ) ac_must_keep_next=true ;;
1070 esac
1071 fi
1072 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1073 # Get rid of the leading space.
1074 ac_sep=" "
1075 ;;
1076 esac
1077 done
1078 done
1079 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1080 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1081
1082 # When interrupted or exit'd, cleanup temporary files, and complete
1083 # config.log. We remove comments because anyway the quotes in there
1084 # would cause problems or look ugly.
1085 # WARNING: Be sure not to use single quotes in there, as some shells,
1086 # such as our DU 5.0 friend, will then `close' the trap.
1087 trap 'exit_status=$?
1088 # Save into config.log some information that might help in debugging.
1089 {
1090 echo
1091
1092 cat <<\_ASBOX
1093 @%:@@%:@ ---------------- @%:@@%:@
1094 @%:@@%:@ Cache variables. @%:@@%:@
1095 @%:@@%:@ ---------------- @%:@@%:@
1096 _ASBOX
1097 echo
1098 # The following way of writing the cache mishandles newlines in values,
1099 {
1100 (set) 2>&1 |
1101 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1102 *ac_space=\ *)
1103 sed -n \
1104 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1106 ;;
1107 *)
1108 sed -n \
1109 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1110 ;;
1111 esac;
1112 }
1113 echo
1114
1115 cat <<\_ASBOX
1116 @%:@@%:@ ----------------- @%:@@%:@
1117 @%:@@%:@ Output variables. @%:@@%:@
1118 @%:@@%:@ ----------------- @%:@@%:@
1119 _ASBOX
1120 echo
1121 for ac_var in $ac_subst_vars
1122 do
1123 eval ac_val=$`echo $ac_var`
1124 echo "$ac_var='"'"'$ac_val'"'"'"
1125 done | sort
1126 echo
1127
1128 if test -n "$ac_subst_files"; then
1129 cat <<\_ASBOX
1130 @%:@@%:@ ------------- @%:@@%:@
1131 @%:@@%:@ Output files. @%:@@%:@
1132 @%:@@%:@ ------------- @%:@@%:@
1133 _ASBOX
1134 echo
1135 for ac_var in $ac_subst_files
1136 do
1137 eval ac_val=$`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1139 done | sort
1140 echo
1141 fi
1142
1143 if test -s confdefs.h; then
1144 cat <<\_ASBOX
1145 @%:@@%:@ ----------- @%:@@%:@
1146 @%:@@%:@ confdefs.h. @%:@@%:@
1147 @%:@@%:@ ----------- @%:@@%:@
1148 _ASBOX
1149 echo
1150 sed "/^$/d" confdefs.h | sort
1151 echo
1152 fi
1153 test "$ac_signal" != 0 &&
1154 echo "$as_me: caught signal $ac_signal"
1155 echo "$as_me: exit $exit_status"
1156 } >&5
1157 rm -f core *.core &&
1158 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1159 exit $exit_status
1160 ' 0
1161 for ac_signal in 1 2 13 15; do
1162 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1163 done
1164 ac_signal=0
1165
1166 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1167 rm -rf conftest* confdefs.h
1168 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1169 echo >confdefs.h
1170
1171 # Predefined preprocessor variables.
1172
1173 cat >>confdefs.h <<_ACEOF
1174 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1175 _ACEOF
1176
1177
1178 cat >>confdefs.h <<_ACEOF
1179 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1180 _ACEOF
1181
1182
1183 cat >>confdefs.h <<_ACEOF
1184 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1185 _ACEOF
1186
1187
1188 cat >>confdefs.h <<_ACEOF
1189 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1190 _ACEOF
1191
1192
1193 cat >>confdefs.h <<_ACEOF
1194 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1195 _ACEOF
1196
1197
1198 # Let the site file select an alternate cache file if it wants to.
1199 # Prefer explicitly selected file to automatically selected ones.
1200 if test -z "$CONFIG_SITE"; then
1201 if test "x$prefix" != xNONE; then
1202 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1203 else
1204 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1205 fi
1206 fi
1207 for ac_site_file in $CONFIG_SITE; do
1208 if test -r "$ac_site_file"; then
1209 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1210 echo "$as_me: loading site script $ac_site_file" >&6;}
1211 sed 's/^/| /' "$ac_site_file" >&5
1212 . "$ac_site_file"
1213 fi
1214 done
1215
1216 if test -r "$cache_file"; then
1217 # Some versions of bash will fail to source /dev/null (special
1218 # files actually), so we avoid doing that.
1219 if test -f "$cache_file"; then
1220 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1221 echo "$as_me: loading cache $cache_file" >&6;}
1222 case $cache_file in
1223 [\\/]* | ?:[\\/]* ) . $cache_file;;
1224 *) . ./$cache_file;;
1225 esac
1226 fi
1227 else
1228 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1229 echo "$as_me: creating cache $cache_file" >&6;}
1230 >$cache_file
1231 fi
1232
1233 # Check that the precious variables saved in the cache have kept the same
1234 # value.
1235 ac_cache_corrupted=false
1236 for ac_var in `(set) 2>&1 |
1237 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1238 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1239 eval ac_new_set=\$ac_env_${ac_var}_set
1240 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1241 eval ac_new_val="\$ac_env_${ac_var}_value"
1242 case $ac_old_set,$ac_new_set in
1243 set,)
1244 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1245 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1246 ac_cache_corrupted=: ;;
1247 ,set)
1248 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1249 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1250 ac_cache_corrupted=: ;;
1251 ,);;
1252 *)
1253 if test "x$ac_old_val" != "x$ac_new_val"; then
1254 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1255 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1256 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1257 echo "$as_me: former value: $ac_old_val" >&2;}
1258 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1259 echo "$as_me: current value: $ac_new_val" >&2;}
1260 ac_cache_corrupted=:
1261 fi;;
1262 esac
1263 # Pass precious variables to config.status.
1264 if test "$ac_new_set" = set; then
1265 case $ac_new_val in
1266 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1267 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1268 *) ac_arg=$ac_var=$ac_new_val ;;
1269 esac
1270 case " $ac_configure_args " in
1271 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1272 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1273 esac
1274 fi
1275 done
1276 if $ac_cache_corrupted; then
1277 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1278 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1279 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1280 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1281 { (exit 1); exit 1; }; }
1282 fi
1283
1284 ac_ext=c
1285 ac_cpp='$CPP $CPPFLAGS'
1286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308 am__api_version="1.9"
1309 ac_aux_dir=
1310 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1311 if test -f $ac_dir/install-sh; then
1312 ac_aux_dir=$ac_dir
1313 ac_install_sh="$ac_aux_dir/install-sh -c"
1314 break
1315 elif test -f $ac_dir/install.sh; then
1316 ac_aux_dir=$ac_dir
1317 ac_install_sh="$ac_aux_dir/install.sh -c"
1318 break
1319 elif test -f $ac_dir/shtool; then
1320 ac_aux_dir=$ac_dir
1321 ac_install_sh="$ac_aux_dir/shtool install -c"
1322 break
1323 fi
1324 done
1325 if test -z "$ac_aux_dir"; then
1326 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1327 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1328 { (exit 1); exit 1; }; }
1329 fi
1330 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1331 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1332 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1333
1334 # Find a good install program. We prefer a C program (faster),
1335 # so one script is as good as another. But avoid the broken or
1336 # incompatible versions:
1337 # SysV /etc/install, /usr/sbin/install
1338 # SunOS /usr/etc/install
1339 # IRIX /sbin/install
1340 # AIX /bin/install
1341 # AmigaOS /C/install, which installs bootblocks on floppy discs
1342 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1343 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1344 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1345 # OS/2's system install, which has a completely different semantic
1346 # ./install, which can be erroneously created by make from ./install.sh.
1347 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1348 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1349 if test -z "$INSTALL"; then
1350 if test "${ac_cv_path_install+set}" = set; then
1351 echo $ECHO_N "(cached) $ECHO_C" >&6
1352 else
1353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1354 for as_dir in $PATH
1355 do
1356 IFS=$as_save_IFS
1357 test -z "$as_dir" && as_dir=.
1358 # Account for people who put trailing slashes in PATH elements.
1359 case $as_dir/ in
1360 ./ | .// | /cC/* | \
1361 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1362 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1363 /usr/ucb/* ) ;;
1364 *)
1365 # OSF1 and SCO ODT 3.0 have their own names for install.
1366 # Don't use installbsd from OSF since it installs stuff as root
1367 # by default.
1368 for ac_prog in ginstall scoinst install; do
1369 for ac_exec_ext in '' $ac_executable_extensions; do
1370 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1371 if test $ac_prog = install &&
1372 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1373 # AIX install. It has an incompatible calling convention.
1374 :
1375 elif test $ac_prog = install &&
1376 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1377 # program-specific install script used by HP pwplus--don't use.
1378 :
1379 else
1380 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1381 break 3
1382 fi
1383 fi
1384 done
1385 done
1386 ;;
1387 esac
1388 done
1389
1390
1391 fi
1392 if test "${ac_cv_path_install+set}" = set; then
1393 INSTALL=$ac_cv_path_install
1394 else
1395 # As a last resort, use the slow shell script. We don't cache a
1396 # path for INSTALL within a source directory, because that will
1397 # break other packages using the cache if that directory is
1398 # removed, or if the path is relative.
1399 INSTALL=$ac_install_sh
1400 fi
1401 fi
1402 echo "$as_me:$LINENO: result: $INSTALL" >&5
1403 echo "${ECHO_T}$INSTALL" >&6
1404
1405 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1406 # It thinks the first close brace ends the variable substitution.
1407 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1408
1409 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1410
1411 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1412
1413 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1414 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1415 # Just in case
1416 sleep 1
1417 echo timestamp > conftest.file
1418 # Do `set' in a subshell so we don't clobber the current shell's
1419 # arguments. Must try -L first in case configure is actually a
1420 # symlink; some systems play weird games with the mod time of symlinks
1421 # (eg FreeBSD returns the mod time of the symlink's containing
1422 # directory).
1423 if (
1424 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1425 if test "$*" = "X"; then
1426 # -L didn't work.
1427 set X `ls -t $srcdir/configure conftest.file`
1428 fi
1429 rm -f conftest.file
1430 if test "$*" != "X $srcdir/configure conftest.file" \
1431 && test "$*" != "X conftest.file $srcdir/configure"; then
1432
1433 # If neither matched, then we have a broken ls. This can happen
1434 # if, for instance, CONFIG_SHELL is bash and it inherits a
1435 # broken ls alias from the environment. This has actually
1436 # happened. Such a system could not be considered "sane".
1437 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1438 alias in your environment" >&5
1439 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1440 alias in your environment" >&2;}
1441 { (exit 1); exit 1; }; }
1442 fi
1443
1444 test "$2" = conftest.file
1445 )
1446 then
1447 # Ok.
1448 :
1449 else
1450 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1451 Check your system clock" >&5
1452 echo "$as_me: error: newly created file is older than distributed files!
1453 Check your system clock" >&2;}
1454 { (exit 1); exit 1; }; }
1455 fi
1456 echo "$as_me:$LINENO: result: yes" >&5
1457 echo "${ECHO_T}yes" >&6
1458 test "$program_prefix" != NONE &&
1459 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1460 # Use a double $ so make ignores it.
1461 test "$program_suffix" != NONE &&
1462 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1463 # Double any \ or $. echo might interpret backslashes.
1464 # By default was `s,x,x', remove it if useless.
1465 cat <<\_ACEOF >conftest.sed
1466 s/[\\$]/&&/g;s/;s,x,x,$//
1467 _ACEOF
1468 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1469 rm conftest.sed
1470
1471 # expand $ac_aux_dir to an absolute path
1472 am_aux_dir=`cd $ac_aux_dir && pwd`
1473
1474 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1475 # Use eval to expand $SHELL
1476 if eval "$MISSING --run true"; then
1477 am_missing_run="$MISSING --run "
1478 else
1479 am_missing_run=
1480 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1481 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1482 fi
1483
1484 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1485 # We used to keeping the `.' as first argument, in order to
1486 # allow $(mkdir_p) to be used without argument. As in
1487 # $(mkdir_p) $(somedir)
1488 # where $(somedir) is conditionally defined. However this is wrong
1489 # for two reasons:
1490 # 1. if the package is installed by a user who cannot write `.'
1491 # make install will fail,
1492 # 2. the above comment should most certainly read
1493 # $(mkdir_p) $(DESTDIR)$(somedir)
1494 # so it does not work when $(somedir) is undefined and
1495 # $(DESTDIR) is not.
1496 # To support the latter case, we have to write
1497 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1498 # so the `.' trick is pointless.
1499 mkdir_p='mkdir -p --'
1500 else
1501 # On NextStep and OpenStep, the `mkdir' command does not
1502 # recognize any option. It will interpret all options as
1503 # directories to create, and then abort because `.' already
1504 # exists.
1505 for d in ./-p ./--version;
1506 do
1507 test -d $d && rmdir $d
1508 done
1509 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1510 if test -f "$ac_aux_dir/mkinstalldirs"; then
1511 mkdir_p='$(mkinstalldirs)'
1512 else
1513 mkdir_p='$(install_sh) -d'
1514 fi
1515 fi
1516
1517 for ac_prog in gawk mawk nawk awk
1518 do
1519 # Extract the first word of "$ac_prog", so it can be a program name with args.
1520 set dummy $ac_prog; ac_word=$2
1521 echo "$as_me:$LINENO: checking for $ac_word" >&5
1522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1523 if test "${ac_cv_prog_AWK+set}" = set; then
1524 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 else
1526 if test -n "$AWK"; then
1527 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1528 else
1529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1530 for as_dir in $PATH
1531 do
1532 IFS=$as_save_IFS
1533 test -z "$as_dir" && as_dir=.
1534 for ac_exec_ext in '' $ac_executable_extensions; do
1535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1536 ac_cv_prog_AWK="$ac_prog"
1537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1538 break 2
1539 fi
1540 done
1541 done
1542
1543 fi
1544 fi
1545 AWK=$ac_cv_prog_AWK
1546 if test -n "$AWK"; then
1547 echo "$as_me:$LINENO: result: $AWK" >&5
1548 echo "${ECHO_T}$AWK" >&6
1549 else
1550 echo "$as_me:$LINENO: result: no" >&5
1551 echo "${ECHO_T}no" >&6
1552 fi
1553
1554 test -n "$AWK" && break
1555 done
1556
1557 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1558 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1559 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1560 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1562 else
1563 cat >conftest.make <<\_ACEOF
1564 all:
1565 @echo 'ac_maketemp="$(MAKE)"'
1566 _ACEOF
1567 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1568 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1569 if test -n "$ac_maketemp"; then
1570 eval ac_cv_prog_make_${ac_make}_set=yes
1571 else
1572 eval ac_cv_prog_make_${ac_make}_set=no
1573 fi
1574 rm -f conftest.make
1575 fi
1576 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1577 echo "$as_me:$LINENO: result: yes" >&5
1578 echo "${ECHO_T}yes" >&6
1579 SET_MAKE=
1580 else
1581 echo "$as_me:$LINENO: result: no" >&5
1582 echo "${ECHO_T}no" >&6
1583 SET_MAKE="MAKE=${MAKE-make}"
1584 fi
1585
1586 rm -rf .tst 2>/dev/null
1587 mkdir .tst 2>/dev/null
1588 if test -d .tst; then
1589 am__leading_dot=.
1590 else
1591 am__leading_dot=_
1592 fi
1593 rmdir .tst 2>/dev/null
1594
1595 # test to see if srcdir already configured
1596 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1597 test -f $srcdir/config.status; then
1598 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1599 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1600 { (exit 1); exit 1; }; }
1601 fi
1602
1603 # test whether we have cygpath
1604 if test -z "$CYGPATH_W"; then
1605 if (cygpath --version) >/dev/null 2>/dev/null; then
1606 CYGPATH_W='cygpath -w'
1607 else
1608 CYGPATH_W=echo
1609 fi
1610 fi
1611
1612
1613 # Define the identity of the package.
1614 PACKAGE=mtr
1615 VERSION=0.72
1616
1617
1618 cat >>confdefs.h <<_ACEOF
1619 @%:@define PACKAGE "$PACKAGE"
1620 _ACEOF
1621
1622
1623 cat >>confdefs.h <<_ACEOF
1624 @%:@define VERSION "$VERSION"
1625 _ACEOF
1626
1627 # Some tools Automake needs.
1628
1629 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1630
1631
1632 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1633
1634
1635 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1636
1637
1638 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1639
1640
1641 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1642
1643 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1644
1645 # Installed binaries are usually stripped using `strip' when the user
1646 # run `make install-strip'. However `strip' might not be the right
1647 # tool to use in cross-compilation environments, therefore Automake
1648 # will honor the `STRIP' environment variable to overrule this program.
1649 if test "$cross_compiling" != no; then
1650 if test -n "$ac_tool_prefix"; then
1651 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1652 set dummy ${ac_tool_prefix}strip; ac_word=$2
1653 echo "$as_me:$LINENO: checking for $ac_word" >&5
1654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1655 if test "${ac_cv_prog_STRIP+set}" = set; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1657 else
1658 if test -n "$STRIP"; then
1659 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1660 else
1661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1662 for as_dir in $PATH
1663 do
1664 IFS=$as_save_IFS
1665 test -z "$as_dir" && as_dir=.
1666 for ac_exec_ext in '' $ac_executable_extensions; do
1667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1668 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1670 break 2
1671 fi
1672 done
1673 done
1674
1675 fi
1676 fi
1677 STRIP=$ac_cv_prog_STRIP
1678 if test -n "$STRIP"; then
1679 echo "$as_me:$LINENO: result: $STRIP" >&5
1680 echo "${ECHO_T}$STRIP" >&6
1681 else
1682 echo "$as_me:$LINENO: result: no" >&5
1683 echo "${ECHO_T}no" >&6
1684 fi
1685
1686 fi
1687 if test -z "$ac_cv_prog_STRIP"; then
1688 ac_ct_STRIP=$STRIP
1689 # Extract the first word of "strip", so it can be a program name with args.
1690 set dummy strip; ac_word=$2
1691 echo "$as_me:$LINENO: checking for $ac_word" >&5
1692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1693 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1695 else
1696 if test -n "$ac_ct_STRIP"; then
1697 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1698 else
1699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1700 for as_dir in $PATH
1701 do
1702 IFS=$as_save_IFS
1703 test -z "$as_dir" && as_dir=.
1704 for ac_exec_ext in '' $ac_executable_extensions; do
1705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1706 ac_cv_prog_ac_ct_STRIP="strip"
1707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1708 break 2
1709 fi
1710 done
1711 done
1712
1713 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1714 fi
1715 fi
1716 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1717 if test -n "$ac_ct_STRIP"; then
1718 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1719 echo "${ECHO_T}$ac_ct_STRIP" >&6
1720 else
1721 echo "$as_me:$LINENO: result: no" >&5
1722 echo "${ECHO_T}no" >&6
1723 fi
1724
1725 STRIP=$ac_ct_STRIP
1726 else
1727 STRIP="$ac_cv_prog_STRIP"
1728 fi
1729
1730 fi
1731 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1732
1733 # We need awk for the "check" target. The system "awk" is bad on
1734 # some platforms.
1735 # Always define AMTAR for backward compatibility.
1736
1737 AMTAR=${AMTAR-"${am_missing_run}tar"}
1738
1739 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750 GTK_OBJ=gtk.o
1751 CURSES_OBJ=curses.o
1752
1753 ac_ext=c
1754 ac_cpp='$CPP $CPPFLAGS'
1755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1758 if test -n "$ac_tool_prefix"; then
1759 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1760 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1761 echo "$as_me:$LINENO: checking for $ac_word" >&5
1762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1763 if test "${ac_cv_prog_CC+set}" = set; then
1764 echo $ECHO_N "(cached) $ECHO_C" >&6
1765 else
1766 if test -n "$CC"; then
1767 ac_cv_prog_CC="$CC" # Let the user override the test.
1768 else
1769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1770 for as_dir in $PATH
1771 do
1772 IFS=$as_save_IFS
1773 test -z "$as_dir" && as_dir=.
1774 for ac_exec_ext in '' $ac_executable_extensions; do
1775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1776 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1778 break 2
1779 fi
1780 done
1781 done
1782
1783 fi
1784 fi
1785 CC=$ac_cv_prog_CC
1786 if test -n "$CC"; then
1787 echo "$as_me:$LINENO: result: $CC" >&5
1788 echo "${ECHO_T}$CC" >&6
1789 else
1790 echo "$as_me:$LINENO: result: no" >&5
1791 echo "${ECHO_T}no" >&6
1792 fi
1793
1794 fi
1795 if test -z "$ac_cv_prog_CC"; then
1796 ac_ct_CC=$CC
1797 # Extract the first word of "gcc", so it can be a program name with args.
1798 set dummy gcc; ac_word=$2
1799 echo "$as_me:$LINENO: checking for $ac_word" >&5
1800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1801 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1802 echo $ECHO_N "(cached) $ECHO_C" >&6
1803 else
1804 if test -n "$ac_ct_CC"; then
1805 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1806 else
1807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1808 for as_dir in $PATH
1809 do
1810 IFS=$as_save_IFS
1811 test -z "$as_dir" && as_dir=.
1812 for ac_exec_ext in '' $ac_executable_extensions; do
1813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1814 ac_cv_prog_ac_ct_CC="gcc"
1815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1816 break 2
1817 fi
1818 done
1819 done
1820
1821 fi
1822 fi
1823 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1824 if test -n "$ac_ct_CC"; then
1825 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1826 echo "${ECHO_T}$ac_ct_CC" >&6
1827 else
1828 echo "$as_me:$LINENO: result: no" >&5
1829 echo "${ECHO_T}no" >&6
1830 fi
1831
1832 CC=$ac_ct_CC
1833 else
1834 CC="$ac_cv_prog_CC"
1835 fi
1836
1837 if test -z "$CC"; then
1838 if test -n "$ac_tool_prefix"; then
1839 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1840 set dummy ${ac_tool_prefix}cc; ac_word=$2
1841 echo "$as_me:$LINENO: checking for $ac_word" >&5
1842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1843 if test "${ac_cv_prog_CC+set}" = set; then
1844 echo $ECHO_N "(cached) $ECHO_C" >&6
1845 else
1846 if test -n "$CC"; then
1847 ac_cv_prog_CC="$CC" # Let the user override the test.
1848 else
1849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1850 for as_dir in $PATH
1851 do
1852 IFS=$as_save_IFS
1853 test -z "$as_dir" && as_dir=.
1854 for ac_exec_ext in '' $ac_executable_extensions; do
1855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1856 ac_cv_prog_CC="${ac_tool_prefix}cc"
1857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1858 break 2
1859 fi
1860 done
1861 done
1862
1863 fi
1864 fi
1865 CC=$ac_cv_prog_CC
1866 if test -n "$CC"; then
1867 echo "$as_me:$LINENO: result: $CC" >&5
1868 echo "${ECHO_T}$CC" >&6
1869 else
1870 echo "$as_me:$LINENO: result: no" >&5
1871 echo "${ECHO_T}no" >&6
1872 fi
1873
1874 fi
1875 if test -z "$ac_cv_prog_CC"; then
1876 ac_ct_CC=$CC
1877 # Extract the first word of "cc", so it can be a program name with args.
1878 set dummy cc; ac_word=$2
1879 echo "$as_me:$LINENO: checking for $ac_word" >&5
1880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1881 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1882 echo $ECHO_N "(cached) $ECHO_C" >&6
1883 else
1884 if test -n "$ac_ct_CC"; then
1885 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1886 else
1887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1888 for as_dir in $PATH
1889 do
1890 IFS=$as_save_IFS
1891 test -z "$as_dir" && as_dir=.
1892 for ac_exec_ext in '' $ac_executable_extensions; do
1893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1894 ac_cv_prog_ac_ct_CC="cc"
1895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1896 break 2
1897 fi
1898 done
1899 done
1900
1901 fi
1902 fi
1903 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1904 if test -n "$ac_ct_CC"; then
1905 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1906 echo "${ECHO_T}$ac_ct_CC" >&6
1907 else
1908 echo "$as_me:$LINENO: result: no" >&5
1909 echo "${ECHO_T}no" >&6
1910 fi
1911
1912 CC=$ac_ct_CC
1913 else
1914 CC="$ac_cv_prog_CC"
1915 fi
1916
1917 fi
1918 if test -z "$CC"; then
1919 # Extract the first word of "cc", so it can be a program name with args.
1920 set dummy cc; ac_word=$2
1921 echo "$as_me:$LINENO: checking for $ac_word" >&5
1922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1923 if test "${ac_cv_prog_CC+set}" = set; then
1924 echo $ECHO_N "(cached) $ECHO_C" >&6
1925 else
1926 if test -n "$CC"; then
1927 ac_cv_prog_CC="$CC" # Let the user override the test.
1928 else
1929 ac_prog_rejected=no
1930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1931 for as_dir in $PATH
1932 do
1933 IFS=$as_save_IFS
1934 test -z "$as_dir" && as_dir=.
1935 for ac_exec_ext in '' $ac_executable_extensions; do
1936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1937 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1938 ac_prog_rejected=yes
1939 continue
1940 fi
1941 ac_cv_prog_CC="cc"
1942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1943 break 2
1944 fi
1945 done
1946 done
1947
1948 if test $ac_prog_rejected = yes; then
1949 # We found a bogon in the path, so make sure we never use it.
1950 set dummy $ac_cv_prog_CC
1951 shift
1952 if test $@%:@ != 0; then
1953 # We chose a different compiler from the bogus one.
1954 # However, it has the same basename, so the bogon will be chosen
1955 # first if we set CC to just the basename; use the full file name.
1956 shift
1957 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1958 fi
1959 fi
1960 fi
1961 fi
1962 CC=$ac_cv_prog_CC
1963 if test -n "$CC"; then
1964 echo "$as_me:$LINENO: result: $CC" >&5
1965 echo "${ECHO_T}$CC" >&6
1966 else
1967 echo "$as_me:$LINENO: result: no" >&5
1968 echo "${ECHO_T}no" >&6
1969 fi
1970
1971 fi
1972 if test -z "$CC"; then
1973 if test -n "$ac_tool_prefix"; then
1974 for ac_prog in cl
1975 do
1976 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1977 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1978 echo "$as_me:$LINENO: checking for $ac_word" >&5
1979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1980 if test "${ac_cv_prog_CC+set}" = set; then
1981 echo $ECHO_N "(cached) $ECHO_C" >&6
1982 else
1983 if test -n "$CC"; then
1984 ac_cv_prog_CC="$CC" # Let the user override the test.
1985 else
1986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1987 for as_dir in $PATH
1988 do
1989 IFS=$as_save_IFS
1990 test -z "$as_dir" && as_dir=.
1991 for ac_exec_ext in '' $ac_executable_extensions; do
1992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1993 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1995 break 2
1996 fi
1997 done
1998 done
1999
2000 fi
2001 fi
2002 CC=$ac_cv_prog_CC
2003 if test -n "$CC"; then
2004 echo "$as_me:$LINENO: result: $CC" >&5
2005 echo "${ECHO_T}$CC" >&6
2006 else
2007 echo "$as_me:$LINENO: result: no" >&5
2008 echo "${ECHO_T}no" >&6
2009 fi
2010
2011 test -n "$CC" && break
2012 done
2013 fi
2014 if test -z "$CC"; then
2015 ac_ct_CC=$CC
2016 for ac_prog in cl
2017 do
2018 # Extract the first word of "$ac_prog", so it can be a program name with args.
2019 set dummy $ac_prog; ac_word=$2
2020 echo "$as_me:$LINENO: checking for $ac_word" >&5
2021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2022 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2023 echo $ECHO_N "(cached) $ECHO_C" >&6
2024 else
2025 if test -n "$ac_ct_CC"; then
2026 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2027 else
2028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2029 for as_dir in $PATH
2030 do
2031 IFS=$as_save_IFS
2032 test -z "$as_dir" && as_dir=.
2033 for ac_exec_ext in '' $ac_executable_extensions; do
2034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2035 ac_cv_prog_ac_ct_CC="$ac_prog"
2036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2037 break 2
2038 fi
2039 done
2040 done
2041
2042 fi
2043 fi
2044 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2045 if test -n "$ac_ct_CC"; then
2046 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2047 echo "${ECHO_T}$ac_ct_CC" >&6
2048 else
2049 echo "$as_me:$LINENO: result: no" >&5
2050 echo "${ECHO_T}no" >&6
2051 fi
2052
2053 test -n "$ac_ct_CC" && break
2054 done
2055
2056 CC=$ac_ct_CC
2057 fi
2058
2059 fi
2060
2061
2062 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2063 See \`config.log' for more details." >&5
2064 echo "$as_me: error: no acceptable C compiler found in \$PATH
2065 See \`config.log' for more details." >&2;}
2066 { (exit 1); exit 1; }; }
2067
2068 # Provide some information about the compiler.
2069 echo "$as_me:$LINENO:" \
2070 "checking for C compiler version" >&5
2071 ac_compiler=`set X $ac_compile; echo $2`
2072 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2073 (eval $ac_compiler --version </dev/null >&5) 2>&5
2074 ac_status=$?
2075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076 (exit $ac_status); }
2077 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2078 (eval $ac_compiler -v </dev/null >&5) 2>&5
2079 ac_status=$?
2080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081 (exit $ac_status); }
2082 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2083 (eval $ac_compiler -V </dev/null >&5) 2>&5
2084 ac_status=$?
2085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2086 (exit $ac_status); }
2087
2088 cat >conftest.$ac_ext <<_ACEOF
2089 /* confdefs.h. */
2090 _ACEOF
2091 cat confdefs.h >>conftest.$ac_ext
2092 cat >>conftest.$ac_ext <<_ACEOF
2093 /* end confdefs.h. */
2094
2095 int
2096 main ()
2097 {
2098
2099 ;
2100 return 0;
2101 }
2102 _ACEOF
2103 ac_clean_files_save=$ac_clean_files
2104 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2105 # Try to create an executable without -o first, disregard a.out.
2106 # It will help us diagnose broken compilers, and finding out an intuition
2107 # of exeext.
2108 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2109 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2110 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2111 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2112 (eval $ac_link_default) 2>&5
2113 ac_status=$?
2114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115 (exit $ac_status); }; then
2116 # Find the output, starting from the most likely. This scheme is
2117 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2118 # resort.
2119
2120 # Be careful to initialize this variable, since it used to be cached.
2121 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2122 ac_cv_exeext=
2123 # b.out is created by i960 compilers.
2124 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2125 do
2126 test -f "$ac_file" || continue
2127 case $ac_file in
2128 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2129 ;;
2130 conftest.$ac_ext )
2131 # This is the source file.
2132 ;;
2133 [ab].out )
2134 # We found the default executable, but exeext='' is most
2135 # certainly right.
2136 break;;
2137 *.* )
2138 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2139 # FIXME: I believe we export ac_cv_exeext for Libtool,
2140 # but it would be cool to find out if it's true. Does anybody
2141 # maintain Libtool? --akim.
2142 export ac_cv_exeext
2143 break;;
2144 * )
2145 break;;
2146 esac
2147 done
2148 else
2149 echo "$as_me: failed program was:" >&5
2150 sed 's/^/| /' conftest.$ac_ext >&5
2151
2152 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2153 See \`config.log' for more details." >&5
2154 echo "$as_me: error: C compiler cannot create executables
2155 See \`config.log' for more details." >&2;}
2156 { (exit 77); exit 77; }; }
2157 fi
2158
2159 ac_exeext=$ac_cv_exeext
2160 echo "$as_me:$LINENO: result: $ac_file" >&5
2161 echo "${ECHO_T}$ac_file" >&6
2162
2163 # Check the compiler produces executables we can run. If not, either
2164 # the compiler is broken, or we cross compile.
2165 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2166 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2167 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2168 # If not cross compiling, check that we can run a simple program.
2169 if test "$cross_compiling" != yes; then
2170 if { ac_try='./$ac_file'
2171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2172 (eval $ac_try) 2>&5
2173 ac_status=$?
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); }; }; then
2176 cross_compiling=no
2177 else
2178 if test "$cross_compiling" = maybe; then
2179 cross_compiling=yes
2180 else
2181 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2182 If you meant to cross compile, use \`--host'.
2183 See \`config.log' for more details." >&5
2184 echo "$as_me: error: cannot run C compiled programs.
2185 If you meant to cross compile, use \`--host'.
2186 See \`config.log' for more details." >&2;}
2187 { (exit 1); exit 1; }; }
2188 fi
2189 fi
2190 fi
2191 echo "$as_me:$LINENO: result: yes" >&5
2192 echo "${ECHO_T}yes" >&6
2193
2194 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2195 ac_clean_files=$ac_clean_files_save
2196 # Check the compiler produces executables we can run. If not, either
2197 # the compiler is broken, or we cross compile.
2198 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2199 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2200 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2201 echo "${ECHO_T}$cross_compiling" >&6
2202
2203 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2204 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2206 (eval $ac_link) 2>&5
2207 ac_status=$?
2208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2209 (exit $ac_status); }; then
2210 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2211 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2212 # work properly (i.e., refer to `conftest.exe'), while it won't with
2213 # `rm'.
2214 for ac_file in conftest.exe conftest conftest.*; do
2215 test -f "$ac_file" || continue
2216 case $ac_file in
2217 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2218 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2219 export ac_cv_exeext
2220 break;;
2221 * ) break;;
2222 esac
2223 done
2224 else
2225 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2226 See \`config.log' for more details." >&5
2227 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2228 See \`config.log' for more details." >&2;}
2229 { (exit 1); exit 1; }; }
2230 fi
2231
2232 rm -f conftest$ac_cv_exeext
2233 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2234 echo "${ECHO_T}$ac_cv_exeext" >&6
2235
2236 rm -f conftest.$ac_ext
2237 EXEEXT=$ac_cv_exeext
2238 ac_exeext=$EXEEXT
2239 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2240 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2241 if test "${ac_cv_objext+set}" = set; then
2242 echo $ECHO_N "(cached) $ECHO_C" >&6
2243 else
2244 cat >conftest.$ac_ext <<_ACEOF
2245 /* confdefs.h. */
2246 _ACEOF
2247 cat confdefs.h >>conftest.$ac_ext
2248 cat >>conftest.$ac_ext <<_ACEOF
2249 /* end confdefs.h. */
2250
2251 int
2252 main ()
2253 {
2254
2255 ;
2256 return 0;
2257 }
2258 _ACEOF
2259 rm -f conftest.o conftest.obj
2260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2261 (eval $ac_compile) 2>&5
2262 ac_status=$?
2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264 (exit $ac_status); }; then
2265 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2266 case $ac_file in
2267 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2268 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2269 break;;
2270 esac
2271 done
2272 else
2273 echo "$as_me: failed program was:" >&5
2274 sed 's/^/| /' conftest.$ac_ext >&5
2275
2276 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2277 See \`config.log' for more details." >&5
2278 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2279 See \`config.log' for more details." >&2;}
2280 { (exit 1); exit 1; }; }
2281 fi
2282
2283 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2284 fi
2285 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2286 echo "${ECHO_T}$ac_cv_objext" >&6
2287 OBJEXT=$ac_cv_objext
2288 ac_objext=$OBJEXT
2289 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2290 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2291 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2292 echo $ECHO_N "(cached) $ECHO_C" >&6
2293 else
2294 cat >conftest.$ac_ext <<_ACEOF
2295 /* confdefs.h. */
2296 _ACEOF
2297 cat confdefs.h >>conftest.$ac_ext
2298 cat >>conftest.$ac_ext <<_ACEOF
2299 /* end confdefs.h. */
2300
2301 int
2302 main ()
2303 {
2304 #ifndef __GNUC__
2305 choke me
2306 #endif
2307
2308 ;
2309 return 0;
2310 }
2311 _ACEOF
2312 rm -f conftest.$ac_objext
2313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2314 (eval $ac_compile) 2>conftest.er1
2315 ac_status=$?
2316 grep -v '^ *+' conftest.er1 >conftest.err
2317 rm -f conftest.er1
2318 cat conftest.err >&5
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); } &&
2321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2323 (eval $ac_try) 2>&5
2324 ac_status=$?
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); }; } &&
2327 { ac_try='test -s conftest.$ac_objext'
2328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329 (eval $ac_try) 2>&5
2330 ac_status=$?
2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 (exit $ac_status); }; }; then
2333 ac_compiler_gnu=yes
2334 else
2335 echo "$as_me: failed program was:" >&5
2336 sed 's/^/| /' conftest.$ac_ext >&5
2337
2338 ac_compiler_gnu=no
2339 fi
2340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2341 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2342
2343 fi
2344 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2345 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2346 GCC=`test $ac_compiler_gnu = yes && echo yes`
2347 ac_test_CFLAGS=${CFLAGS+set}
2348 ac_save_CFLAGS=$CFLAGS
2349 CFLAGS="-g"
2350 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2351 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2352 if test "${ac_cv_prog_cc_g+set}" = set; then
2353 echo $ECHO_N "(cached) $ECHO_C" >&6
2354 else
2355 cat >conftest.$ac_ext <<_ACEOF
2356 /* confdefs.h. */
2357 _ACEOF
2358 cat confdefs.h >>conftest.$ac_ext
2359 cat >>conftest.$ac_ext <<_ACEOF
2360 /* end confdefs.h. */
2361
2362 int
2363 main ()
2364 {
2365
2366 ;
2367 return 0;
2368 }
2369 _ACEOF
2370 rm -f conftest.$ac_objext
2371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2372 (eval $ac_compile) 2>conftest.er1
2373 ac_status=$?
2374 grep -v '^ *+' conftest.er1 >conftest.err
2375 rm -f conftest.er1
2376 cat conftest.err >&5
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); } &&
2379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2381 (eval $ac_try) 2>&5
2382 ac_status=$?
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }; } &&
2385 { ac_try='test -s conftest.$ac_objext'
2386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2387 (eval $ac_try) 2>&5
2388 ac_status=$?
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); }; }; then
2391 ac_cv_prog_cc_g=yes
2392 else
2393 echo "$as_me: failed program was:" >&5
2394 sed 's/^/| /' conftest.$ac_ext >&5
2395
2396 ac_cv_prog_cc_g=no
2397 fi
2398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2399 fi
2400 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2401 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2402 if test "$ac_test_CFLAGS" = set; then
2403 CFLAGS=$ac_save_CFLAGS
2404 elif test $ac_cv_prog_cc_g = yes; then
2405 if test "$GCC" = yes; then
2406 CFLAGS="-g -O2"
2407 else
2408 CFLAGS="-g"
2409 fi
2410 else
2411 if test "$GCC" = yes; then
2412 CFLAGS="-O2"
2413 else
2414 CFLAGS=
2415 fi
2416 fi
2417 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2418 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2419 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2421 else
2422 ac_cv_prog_cc_stdc=no
2423 ac_save_CC=$CC
2424 cat >conftest.$ac_ext <<_ACEOF
2425 /* confdefs.h. */
2426 _ACEOF
2427 cat confdefs.h >>conftest.$ac_ext
2428 cat >>conftest.$ac_ext <<_ACEOF
2429 /* end confdefs.h. */
2430 #include <stdarg.h>
2431 #include <stdio.h>
2432 #include <sys/types.h>
2433 #include <sys/stat.h>
2434 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2435 struct buf { int x; };
2436 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2437 static char *e (p, i)
2438 char **p;
2439 int i;
2440 {
2441 return p[i];
2442 }
2443 static char *f (char * (*g) (char **, int), char **p, ...)
2444 {
2445 char *s;
2446 va_list v;
2447 va_start (v,p);
2448 s = g (p, va_arg (v,int));
2449 va_end (v);
2450 return s;
2451 }
2452
2453 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2454 function prototypes and stuff, but not '\xHH' hex character constants.
2455 These don't provoke an error unfortunately, instead are silently treated
2456 as 'x'. The following induces an error, until -std1 is added to get
2457 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2458 array size at least. It's necessary to write '\x00'==0 to get something
2459 that's true only with -std1. */
2460 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2461
2462 int test (int i, double x);
2463 struct s1 {int (*f) (int a);};
2464 struct s2 {int (*f) (double a);};
2465 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2466 int argc;
2467 char **argv;
2468 int
2469 main ()
2470 {
2471 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2472 ;
2473 return 0;
2474 }
2475 _ACEOF
2476 # Don't try gcc -ansi; that turns off useful extensions and
2477 # breaks some systems' header files.
2478 # AIX -qlanglvl=ansi
2479 # Ultrix and OSF/1 -std1
2480 # HP-UX 10.20 and later -Ae
2481 # HP-UX older versions -Aa -D_HPUX_SOURCE
2482 # SVR4 -Xc -D__EXTENSIONS__
2483 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2484 do
2485 CC="$ac_save_CC $ac_arg"
2486 rm -f conftest.$ac_objext
2487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2488 (eval $ac_compile) 2>conftest.er1
2489 ac_status=$?
2490 grep -v '^ *+' conftest.er1 >conftest.err
2491 rm -f conftest.er1
2492 cat conftest.err >&5
2493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494 (exit $ac_status); } &&
2495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2497 (eval $ac_try) 2>&5
2498 ac_status=$?
2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500 (exit $ac_status); }; } &&
2501 { ac_try='test -s conftest.$ac_objext'
2502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2503 (eval $ac_try) 2>&5
2504 ac_status=$?
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; }; then
2507 ac_cv_prog_cc_stdc=$ac_arg
2508 break
2509 else
2510 echo "$as_me: failed program was:" >&5
2511 sed 's/^/| /' conftest.$ac_ext >&5
2512
2513 fi
2514 rm -f conftest.err conftest.$ac_objext
2515 done
2516 rm -f conftest.$ac_ext conftest.$ac_objext
2517 CC=$ac_save_CC
2518
2519 fi
2520
2521 case "x$ac_cv_prog_cc_stdc" in
2522 x|xno)
2523 echo "$as_me:$LINENO: result: none needed" >&5
2524 echo "${ECHO_T}none needed" >&6 ;;
2525 *)
2526 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2527 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2528 CC="$CC $ac_cv_prog_cc_stdc" ;;
2529 esac
2530
2531 # Some people use a C++ compiler to compile C. Since we use `exit',
2532 # in C++ we need to declare it. In case someone uses the same compiler
2533 # for both compiling C and C++ we need to have the C++ compiler decide
2534 # the declaration of exit, since it's the most demanding environment.
2535 cat >conftest.$ac_ext <<_ACEOF
2536 @%:@ifndef __cplusplus
2537 choke me
2538 @%:@endif
2539 _ACEOF
2540 rm -f conftest.$ac_objext
2541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2542 (eval $ac_compile) 2>conftest.er1
2543 ac_status=$?
2544 grep -v '^ *+' conftest.er1 >conftest.err
2545 rm -f conftest.er1
2546 cat conftest.err >&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); } &&
2549 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2551 (eval $ac_try) 2>&5
2552 ac_status=$?
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); }; } &&
2555 { ac_try='test -s conftest.$ac_objext'
2556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2557 (eval $ac_try) 2>&5
2558 ac_status=$?
2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560 (exit $ac_status); }; }; then
2561 for ac_declaration in \
2562 '' \
2563 'extern "C" void std::exit (int) throw (); using std::exit;' \
2564 'extern "C" void std::exit (int); using std::exit;' \
2565 'extern "C" void exit (int) throw ();' \
2566 'extern "C" void exit (int);' \
2567 'void exit (int);'
2568 do
2569 cat >conftest.$ac_ext <<_ACEOF
2570 /* confdefs.h. */
2571 _ACEOF
2572 cat confdefs.h >>conftest.$ac_ext
2573 cat >>conftest.$ac_ext <<_ACEOF
2574 /* end confdefs.h. */
2575 $ac_declaration
2576 @%:@include <stdlib.h>
2577 int
2578 main ()
2579 {
2580 exit (42);
2581 ;
2582 return 0;
2583 }
2584 _ACEOF
2585 rm -f conftest.$ac_objext
2586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2587 (eval $ac_compile) 2>conftest.er1
2588 ac_status=$?
2589 grep -v '^ *+' conftest.er1 >conftest.err
2590 rm -f conftest.er1
2591 cat conftest.err >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); } &&
2594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 (eval $ac_try) 2>&5
2597 ac_status=$?
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; } &&
2600 { ac_try='test -s conftest.$ac_objext'
2601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602 (eval $ac_try) 2>&5
2603 ac_status=$?
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; }; then
2606 :
2607 else
2608 echo "$as_me: failed program was:" >&5
2609 sed 's/^/| /' conftest.$ac_ext >&5
2610
2611 continue
2612 fi
2613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2614 cat >conftest.$ac_ext <<_ACEOF
2615 /* confdefs.h. */
2616 _ACEOF
2617 cat confdefs.h >>conftest.$ac_ext
2618 cat >>conftest.$ac_ext <<_ACEOF
2619 /* end confdefs.h. */
2620 $ac_declaration
2621 int
2622 main ()
2623 {
2624 exit (42);
2625 ;
2626 return 0;
2627 }
2628 _ACEOF
2629 rm -f conftest.$ac_objext
2630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2631 (eval $ac_compile) 2>conftest.er1
2632 ac_status=$?
2633 grep -v '^ *+' conftest.er1 >conftest.err
2634 rm -f conftest.er1
2635 cat conftest.err >&5
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); } &&
2638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2640 (eval $ac_try) 2>&5
2641 ac_status=$?
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); }; } &&
2644 { ac_try='test -s conftest.$ac_objext'
2645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2646 (eval $ac_try) 2>&5
2647 ac_status=$?
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }; }; then
2650 break
2651 else
2652 echo "$as_me: failed program was:" >&5
2653 sed 's/^/| /' conftest.$ac_ext >&5
2654
2655 fi
2656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2657 done
2658 rm -f conftest*
2659 if test -n "$ac_declaration"; then
2660 echo '#ifdef __cplusplus' >>confdefs.h
2661 echo $ac_declaration >>confdefs.h
2662 echo '#endif' >>confdefs.h
2663 fi
2664
2665 else
2666 echo "$as_me: failed program was:" >&5
2667 sed 's/^/| /' conftest.$ac_ext >&5
2668
2669 fi
2670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2671 ac_ext=c
2672 ac_cpp='$CPP $CPPFLAGS'
2673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2676 DEPDIR="${am__leading_dot}deps"
2677
2678 ac_config_commands="$ac_config_commands depfiles"
2679
2680
2681 am_make=${MAKE-make}
2682 cat > confinc << 'END'
2683 am__doit:
2684 @echo done
2685 .PHONY: am__doit
2686 END
2687 # If we don't find an include directive, just comment out the code.
2688 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2689 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2690 am__include="#"
2691 am__quote=
2692 _am_result=none
2693 # First try GNU make style include.
2694 echo "include confinc" > confmf
2695 # We grep out `Entering directory' and `Leaving directory'
2696 # messages which can occur if `w' ends up in MAKEFLAGS.
2697 # In particular we don't look at `^make:' because GNU make might
2698 # be invoked under some other name (usually "gmake"), in which
2699 # case it prints its new name instead of `make'.
2700 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2701 am__include=include
2702 am__quote=
2703 _am_result=GNU
2704 fi
2705 # Now try BSD make style include.
2706 if test "$am__include" = "#"; then
2707 echo '.include "confinc"' > confmf
2708 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2709 am__include=.include
2710 am__quote="\""
2711 _am_result=BSD
2712 fi
2713 fi
2714
2715
2716 echo "$as_me:$LINENO: result: $_am_result" >&5
2717 echo "${ECHO_T}$_am_result" >&6
2718 rm -f confinc confmf
2719
2720 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2721 if test "${enable_dependency_tracking+set}" = set; then
2722 enableval="$enable_dependency_tracking"
2723
2724 fi;
2725 if test "x$enable_dependency_tracking" != xno; then
2726 am_depcomp="$ac_aux_dir/depcomp"
2727 AMDEPBACKSLASH='\'
2728 fi
2729
2730
2731 if test "x$enable_dependency_tracking" != xno; then
2732 AMDEP_TRUE=
2733 AMDEP_FALSE='#'
2734 else
2735 AMDEP_TRUE='#'
2736 AMDEP_FALSE=
2737 fi
2738
2739
2740
2741
2742 depcc="$CC" am_compiler_list=
2743
2744 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2745 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2746 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2747 echo $ECHO_N "(cached) $ECHO_C" >&6
2748 else
2749 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2750 # We make a subdir and do the tests there. Otherwise we can end up
2751 # making bogus files that we don't know about and never remove. For
2752 # instance it was reported that on HP-UX the gcc test will end up
2753 # making a dummy file named `D' -- because `-MD' means `put the output
2754 # in D'.
2755 mkdir conftest.dir
2756 # Copy depcomp to subdir because otherwise we won't find it if we're
2757 # using a relative directory.
2758 cp "$am_depcomp" conftest.dir
2759 cd conftest.dir
2760 # We will build objects and dependencies in a subdirectory because
2761 # it helps to detect inapplicable dependency modes. For instance
2762 # both Tru64's cc and ICC support -MD to output dependencies as a
2763 # side effect of compilation, but ICC will put the dependencies in
2764 # the current directory while Tru64 will put them in the object
2765 # directory.
2766 mkdir sub
2767
2768 am_cv_CC_dependencies_compiler_type=none
2769 if test "$am_compiler_list" = ""; then
2770 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2771 fi
2772 for depmode in $am_compiler_list; do
2773 # Setup a source with many dependencies, because some compilers
2774 # like to wrap large dependency lists on column 80 (with \), and
2775 # we should not choose a depcomp mode which is confused by this.
2776 #
2777 # We need to recreate these files for each test, as the compiler may
2778 # overwrite some of them when testing with obscure command lines.
2779 # This happens at least with the AIX C compiler.
2780 : > sub/conftest.c
2781 for i in 1 2 3 4 5 6; do
2782 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2783 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2784 # Solaris 8's {/usr,}/bin/sh.
2785 touch sub/conftst$i.h
2786 done
2787 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2788
2789 case $depmode in
2790 nosideeffect)
2791 # after this tag, mechanisms are not by side-effect, so they'll
2792 # only be used when explicitly requested
2793 if test "x$enable_dependency_tracking" = xyes; then
2794 continue
2795 else
2796 break
2797 fi
2798 ;;
2799 none) break ;;
2800 esac
2801 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2802 # mode. It turns out that the SunPro C++ compiler does not properly
2803 # handle `-M -o', and we need to detect this.
2804 if depmode=$depmode \
2805 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2806 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2807 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2808 >/dev/null 2>conftest.err &&
2809 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2810 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2811 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2812 # icc doesn't choke on unknown options, it will just issue warnings
2813 # or remarks (even with -Werror). So we grep stderr for any message
2814 # that says an option was ignored or not supported.
2815 # When given -MP, icc 7.0 and 7.1 complain thusly:
2816 # icc: Command line warning: ignoring option '-M'; no argument required
2817 # The diagnosis changed in icc 8.0:
2818 # icc: Command line remark: option '-MP' not supported
2819 if (grep 'ignoring option' conftest.err ||
2820 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2821 am_cv_CC_dependencies_compiler_type=$depmode
2822 break
2823 fi
2824 fi
2825 done
2826
2827 cd ..
2828 rm -rf conftest.dir
2829 else
2830 am_cv_CC_dependencies_compiler_type=none
2831 fi
2832
2833 fi
2834 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2835 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2836 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2837
2838
2839
2840 if
2841 test "x$enable_dependency_tracking" != xno \
2842 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2843 am__fastdepCC_TRUE=
2844 am__fastdepCC_FALSE='#'
2845 else
2846 am__fastdepCC_TRUE='#'
2847 am__fastdepCC_FALSE=
2848 fi
2849
2850
2851
2852
2853 ac_ext=c
2854 ac_cpp='$CPP $CPPFLAGS'
2855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2858 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2859 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2860 # On Suns, sometimes $CPP names a directory.
2861 if test -n "$CPP" && test -d "$CPP"; then
2862 CPP=
2863 fi
2864 if test -z "$CPP"; then
2865 if test "${ac_cv_prog_CPP+set}" = set; then
2866 echo $ECHO_N "(cached) $ECHO_C" >&6
2867 else
2868 # Double quotes because CPP needs to be expanded
2869 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2870 do
2871 ac_preproc_ok=false
2872 for ac_c_preproc_warn_flag in '' yes
2873 do
2874 # Use a header file that comes with gcc, so configuring glibc
2875 # with a fresh cross-compiler works.
2876 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2877 # <limits.h> exists even on freestanding compilers.
2878 # On the NeXT, cc -E runs the code through the compiler's parser,
2879 # not just through cpp. "Syntax error" is here to catch this case.
2880 cat >conftest.$ac_ext <<_ACEOF
2881 /* confdefs.h. */
2882 _ACEOF
2883 cat confdefs.h >>conftest.$ac_ext
2884 cat >>conftest.$ac_ext <<_ACEOF
2885 /* end confdefs.h. */
2886 @%:@ifdef __STDC__
2887 @%:@ include <limits.h>
2888 @%:@else
2889 @%:@ include <assert.h>
2890 @%:@endif
2891 Syntax error
2892 _ACEOF
2893 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2894 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2895 ac_status=$?
2896 grep -v '^ *+' conftest.er1 >conftest.err
2897 rm -f conftest.er1
2898 cat conftest.err >&5
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); } >/dev/null; then
2901 if test -s conftest.err; then
2902 ac_cpp_err=$ac_c_preproc_warn_flag
2903 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2904 else
2905 ac_cpp_err=
2906 fi
2907 else
2908 ac_cpp_err=yes
2909 fi
2910 if test -z "$ac_cpp_err"; then
2911 :
2912 else
2913 echo "$as_me: failed program was:" >&5
2914 sed 's/^/| /' conftest.$ac_ext >&5
2915
2916 # Broken: fails on valid input.
2917 continue
2918 fi
2919 rm -f conftest.err conftest.$ac_ext
2920
2921 # OK, works on sane cases. Now check whether non-existent headers
2922 # can be detected and how.
2923 cat >conftest.$ac_ext <<_ACEOF
2924 /* confdefs.h. */
2925 _ACEOF
2926 cat confdefs.h >>conftest.$ac_ext
2927 cat >>conftest.$ac_ext <<_ACEOF
2928 /* end confdefs.h. */
2929 @%:@include <ac_nonexistent.h>
2930 _ACEOF
2931 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2932 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2933 ac_status=$?
2934 grep -v '^ *+' conftest.er1 >conftest.err
2935 rm -f conftest.er1
2936 cat conftest.err >&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); } >/dev/null; then
2939 if test -s conftest.err; then
2940 ac_cpp_err=$ac_c_preproc_warn_flag
2941 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2942 else
2943 ac_cpp_err=
2944 fi
2945 else
2946 ac_cpp_err=yes
2947 fi
2948 if test -z "$ac_cpp_err"; then
2949 # Broken: success on invalid input.
2950 continue
2951 else
2952 echo "$as_me: failed program was:" >&5
2953 sed 's/^/| /' conftest.$ac_ext >&5
2954
2955 # Passes both tests.
2956 ac_preproc_ok=:
2957 break
2958 fi
2959 rm -f conftest.err conftest.$ac_ext
2960
2961 done
2962 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2963 rm -f conftest.err conftest.$ac_ext
2964 if $ac_preproc_ok; then
2965 break
2966 fi
2967
2968 done
2969 ac_cv_prog_CPP=$CPP
2970
2971 fi
2972 CPP=$ac_cv_prog_CPP
2973 else
2974 ac_cv_prog_CPP=$CPP
2975 fi
2976 echo "$as_me:$LINENO: result: $CPP" >&5
2977 echo "${ECHO_T}$CPP" >&6
2978 ac_preproc_ok=false
2979 for ac_c_preproc_warn_flag in '' yes
2980 do
2981 # Use a header file that comes with gcc, so configuring glibc
2982 # with a fresh cross-compiler works.
2983 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2984 # <limits.h> exists even on freestanding compilers.
2985 # On the NeXT, cc -E runs the code through the compiler's parser,
2986 # not just through cpp. "Syntax error" is here to catch this case.
2987 cat >conftest.$ac_ext <<_ACEOF
2988 /* confdefs.h. */
2989 _ACEOF
2990 cat confdefs.h >>conftest.$ac_ext
2991 cat >>conftest.$ac_ext <<_ACEOF
2992 /* end confdefs.h. */
2993 @%:@ifdef __STDC__
2994 @%:@ include <limits.h>
2995 @%:@else
2996 @%:@ include <assert.h>
2997 @%:@endif
2998 Syntax error
2999 _ACEOF
3000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3002 ac_status=$?
3003 grep -v '^ *+' conftest.er1 >conftest.err
3004 rm -f conftest.er1
3005 cat conftest.err >&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); } >/dev/null; then
3008 if test -s conftest.err; then
3009 ac_cpp_err=$ac_c_preproc_warn_flag
3010 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3011 else
3012 ac_cpp_err=
3013 fi
3014 else
3015 ac_cpp_err=yes
3016 fi
3017 if test -z "$ac_cpp_err"; then
3018 :
3019 else
3020 echo "$as_me: failed program was:" >&5
3021 sed 's/^/| /' conftest.$ac_ext >&5
3022
3023 # Broken: fails on valid input.
3024 continue
3025 fi
3026 rm -f conftest.err conftest.$ac_ext
3027
3028 # OK, works on sane cases. Now check whether non-existent headers
3029 # can be detected and how.
3030 cat >conftest.$ac_ext <<_ACEOF
3031 /* confdefs.h. */
3032 _ACEOF
3033 cat confdefs.h >>conftest.$ac_ext
3034 cat >>conftest.$ac_ext <<_ACEOF
3035 /* end confdefs.h. */
3036 @%:@include <ac_nonexistent.h>
3037 _ACEOF
3038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3039 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3040 ac_status=$?
3041 grep -v '^ *+' conftest.er1 >conftest.err
3042 rm -f conftest.er1
3043 cat conftest.err >&5
3044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045 (exit $ac_status); } >/dev/null; then
3046 if test -s conftest.err; then
3047 ac_cpp_err=$ac_c_preproc_warn_flag
3048 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3049 else
3050 ac_cpp_err=
3051 fi
3052 else
3053 ac_cpp_err=yes
3054 fi
3055 if test -z "$ac_cpp_err"; then
3056 # Broken: success on invalid input.
3057 continue
3058 else
3059 echo "$as_me: failed program was:" >&5
3060 sed 's/^/| /' conftest.$ac_ext >&5
3061
3062 # Passes both tests.
3063 ac_preproc_ok=:
3064 break
3065 fi
3066 rm -f conftest.err conftest.$ac_ext
3067
3068 done
3069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3070 rm -f conftest.err conftest.$ac_ext
3071 if $ac_preproc_ok; then
3072 :
3073 else
3074 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3075 See \`config.log' for more details." >&5
3076 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3077 See \`config.log' for more details." >&2;}
3078 { (exit 1); exit 1; }; }
3079 fi
3080
3081 ac_ext=c
3082 ac_cpp='$CPP $CPPFLAGS'
3083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3086
3087
3088 echo "$as_me:$LINENO: checking for egrep" >&5
3089 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3090 if test "${ac_cv_prog_egrep+set}" = set; then
3091 echo $ECHO_N "(cached) $ECHO_C" >&6
3092 else
3093 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3094 then ac_cv_prog_egrep='grep -E'
3095 else ac_cv_prog_egrep='egrep'
3096 fi
3097 fi
3098 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3099 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3100 EGREP=$ac_cv_prog_egrep
3101
3102
3103 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3104 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3105 if test "${ac_cv_header_stdc+set}" = set; then
3106 echo $ECHO_N "(cached) $ECHO_C" >&6
3107 else
3108 cat >conftest.$ac_ext <<_ACEOF
3109 /* confdefs.h. */
3110 _ACEOF
3111 cat confdefs.h >>conftest.$ac_ext
3112 cat >>conftest.$ac_ext <<_ACEOF
3113 /* end confdefs.h. */
3114 #include <stdlib.h>
3115 #include <stdarg.h>
3116 #include <string.h>
3117 #include <float.h>
3118
3119 int
3120 main ()
3121 {
3122
3123 ;
3124 return 0;
3125 }
3126 _ACEOF
3127 rm -f conftest.$ac_objext
3128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3129 (eval $ac_compile) 2>conftest.er1
3130 ac_status=$?
3131 grep -v '^ *+' conftest.er1 >conftest.err
3132 rm -f conftest.er1
3133 cat conftest.err >&5
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); } &&
3136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3138 (eval $ac_try) 2>&5
3139 ac_status=$?
3140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141 (exit $ac_status); }; } &&
3142 { ac_try='test -s conftest.$ac_objext'
3143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144 (eval $ac_try) 2>&5
3145 ac_status=$?
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); }; }; then
3148 ac_cv_header_stdc=yes
3149 else
3150 echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.$ac_ext >&5
3152
3153 ac_cv_header_stdc=no
3154 fi
3155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3156
3157 if test $ac_cv_header_stdc = yes; then
3158 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3159 cat >conftest.$ac_ext <<_ACEOF
3160 /* confdefs.h. */
3161 _ACEOF
3162 cat confdefs.h >>conftest.$ac_ext
3163 cat >>conftest.$ac_ext <<_ACEOF
3164 /* end confdefs.h. */
3165 #include <string.h>
3166
3167 _ACEOF
3168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3169 $EGREP "memchr" >/dev/null 2>&1; then
3170 :
3171 else
3172 ac_cv_header_stdc=no
3173 fi
3174 rm -f conftest*
3175
3176 fi
3177
3178 if test $ac_cv_header_stdc = yes; then
3179 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3180 cat >conftest.$ac_ext <<_ACEOF
3181 /* confdefs.h. */
3182 _ACEOF
3183 cat confdefs.h >>conftest.$ac_ext
3184 cat >>conftest.$ac_ext <<_ACEOF
3185 /* end confdefs.h. */
3186 #include <stdlib.h>
3187
3188 _ACEOF
3189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3190 $EGREP "free" >/dev/null 2>&1; then
3191 :
3192 else
3193 ac_cv_header_stdc=no
3194 fi
3195 rm -f conftest*
3196
3197 fi
3198
3199 if test $ac_cv_header_stdc = yes; then
3200 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3201 if test "$cross_compiling" = yes; then
3202 :
3203 else
3204 cat >conftest.$ac_ext <<_ACEOF
3205 /* confdefs.h. */
3206 _ACEOF
3207 cat confdefs.h >>conftest.$ac_ext
3208 cat >>conftest.$ac_ext <<_ACEOF
3209 /* end confdefs.h. */
3210 #include <ctype.h>
3211 #if ((' ' & 0x0FF) == 0x020)
3212 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3213 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3214 #else
3215 # define ISLOWER(c) \
3216 (('a' <= (c) && (c) <= 'i') \
3217 || ('j' <= (c) && (c) <= 'r') \
3218 || ('s' <= (c) && (c) <= 'z'))
3219 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3220 #endif
3221
3222 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3223 int
3224 main ()
3225 {
3226 int i;
3227 for (i = 0; i < 256; i++)
3228 if (XOR (islower (i), ISLOWER (i))
3229 || toupper (i) != TOUPPER (i))
3230 exit(2);
3231 exit (0);
3232 }
3233 _ACEOF
3234 rm -f conftest$ac_exeext
3235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3236 (eval $ac_link) 2>&5
3237 ac_status=$?
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3241 (eval $ac_try) 2>&5
3242 ac_status=$?
3243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244 (exit $ac_status); }; }; then
3245 :
3246 else
3247 echo "$as_me: program exited with status $ac_status" >&5
3248 echo "$as_me: failed program was:" >&5
3249 sed 's/^/| /' conftest.$ac_ext >&5
3250
3251 ( exit $ac_status )
3252 ac_cv_header_stdc=no
3253 fi
3254 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3255 fi
3256 fi
3257 fi
3258 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3259 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3260 if test $ac_cv_header_stdc = yes; then
3261
3262 cat >>confdefs.h <<\_ACEOF
3263 @%:@define STDC_HEADERS 1
3264 _ACEOF
3265
3266 fi
3267
3268 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3279 inttypes.h stdint.h unistd.h
3280 do
3281 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3282 echo "$as_me:$LINENO: checking for $ac_header" >&5
3283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3285 echo $ECHO_N "(cached) $ECHO_C" >&6
3286 else
3287 cat >conftest.$ac_ext <<_ACEOF
3288 /* confdefs.h. */
3289 _ACEOF
3290 cat confdefs.h >>conftest.$ac_ext
3291 cat >>conftest.$ac_ext <<_ACEOF
3292 /* end confdefs.h. */
3293 $ac_includes_default
3294
3295 @%:@include <$ac_header>
3296 _ACEOF
3297 rm -f conftest.$ac_objext
3298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3299 (eval $ac_compile) 2>conftest.er1
3300 ac_status=$?
3301 grep -v '^ *+' conftest.er1 >conftest.err
3302 rm -f conftest.er1
3303 cat conftest.err >&5
3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); } &&
3306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3308 (eval $ac_try) 2>&5
3309 ac_status=$?
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); }; } &&
3312 { ac_try='test -s conftest.$ac_objext'
3313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3314 (eval $ac_try) 2>&5
3315 ac_status=$?
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); }; }; then
3318 eval "$as_ac_Header=yes"
3319 else
3320 echo "$as_me: failed program was:" >&5
3321 sed 's/^/| /' conftest.$ac_ext >&5
3322
3323 eval "$as_ac_Header=no"
3324 fi
3325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3326 fi
3327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3329 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3330 cat >>confdefs.h <<_ACEOF
3331 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3332 _ACEOF
3333
3334 fi
3335
3336 done
3337
3338
3339 echo "$as_me:$LINENO: checking for unsigned char" >&5
3340 echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6
3341 if test "${ac_cv_type_unsigned_char+set}" = set; then
3342 echo $ECHO_N "(cached) $ECHO_C" >&6
3343 else
3344 cat >conftest.$ac_ext <<_ACEOF
3345 /* confdefs.h. */
3346 _ACEOF
3347 cat confdefs.h >>conftest.$ac_ext
3348 cat >>conftest.$ac_ext <<_ACEOF
3349 /* end confdefs.h. */
3350 $ac_includes_default
3351 int
3352 main ()
3353 {
3354 if ((unsigned char *) 0)
3355 return 0;
3356 if (sizeof (unsigned char))
3357 return 0;
3358 ;
3359 return 0;
3360 }
3361 _ACEOF
3362 rm -f conftest.$ac_objext
3363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3364 (eval $ac_compile) 2>conftest.er1
3365 ac_status=$?
3366 grep -v '^ *+' conftest.er1 >conftest.err
3367 rm -f conftest.er1
3368 cat conftest.err >&5
3369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); } &&
3371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3373 (eval $ac_try) 2>&5
3374 ac_status=$?
3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); }; } &&
3377 { ac_try='test -s conftest.$ac_objext'
3378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3379 (eval $ac_try) 2>&5
3380 ac_status=$?
3381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382 (exit $ac_status); }; }; then
3383 ac_cv_type_unsigned_char=yes
3384 else
3385 echo "$as_me: failed program was:" >&5
3386 sed 's/^/| /' conftest.$ac_ext >&5
3387
3388 ac_cv_type_unsigned_char=no
3389 fi
3390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3391 fi
3392 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char" >&5
3393 echo "${ECHO_T}$ac_cv_type_unsigned_char" >&6
3394
3395 echo "$as_me:$LINENO: checking size of unsigned char" >&5
3396 echo $ECHO_N "checking size of unsigned char... $ECHO_C" >&6
3397 if test "${ac_cv_sizeof_unsigned_char+set}" = set; then
3398 echo $ECHO_N "(cached) $ECHO_C" >&6
3399 else
3400 if test "$ac_cv_type_unsigned_char" = yes; then
3401 # The cast to unsigned long works around a bug in the HP C Compiler
3402 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3403 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3404 # This bug is HP SR number 8606223364.
3405 if test "$cross_compiling" = yes; then
3406 # Depending upon the size, compute the lo and hi bounds.
3407 cat >conftest.$ac_ext <<_ACEOF
3408 /* confdefs.h. */
3409 _ACEOF
3410 cat confdefs.h >>conftest.$ac_ext
3411 cat >>conftest.$ac_ext <<_ACEOF
3412 /* end confdefs.h. */
3413 $ac_includes_default
3414 int
3415 main ()
3416 {
3417 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) >= 0)@:>@;
3418 test_array @<:@0@:>@ = 0
3419
3420 ;
3421 return 0;
3422 }
3423 _ACEOF
3424 rm -f conftest.$ac_objext
3425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3426 (eval $ac_compile) 2>conftest.er1
3427 ac_status=$?
3428 grep -v '^ *+' conftest.er1 >conftest.err
3429 rm -f conftest.er1
3430 cat conftest.err >&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } &&
3433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3435 (eval $ac_try) 2>&5
3436 ac_status=$?
3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); }; } &&
3439 { ac_try='test -s conftest.$ac_objext'
3440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3441 (eval $ac_try) 2>&5
3442 ac_status=$?
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); }; }; then
3445 ac_lo=0 ac_mid=0
3446 while :; do
3447 cat >conftest.$ac_ext <<_ACEOF
3448 /* confdefs.h. */
3449 _ACEOF
3450 cat confdefs.h >>conftest.$ac_ext
3451 cat >>conftest.$ac_ext <<_ACEOF
3452 /* end confdefs.h. */
3453 $ac_includes_default
3454 int
3455 main ()
3456 {
3457 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) <= $ac_mid)@:>@;
3458 test_array @<:@0@:>@ = 0
3459
3460 ;
3461 return 0;
3462 }
3463 _ACEOF
3464 rm -f conftest.$ac_objext
3465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3466 (eval $ac_compile) 2>conftest.er1
3467 ac_status=$?
3468 grep -v '^ *+' conftest.er1 >conftest.err
3469 rm -f conftest.er1
3470 cat conftest.err >&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); } &&
3473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3475 (eval $ac_try) 2>&5
3476 ac_status=$?
3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); }; } &&
3479 { ac_try='test -s conftest.$ac_objext'
3480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3481 (eval $ac_try) 2>&5
3482 ac_status=$?
3483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); }; }; then
3485 ac_hi=$ac_mid; break
3486 else
3487 echo "$as_me: failed program was:" >&5
3488 sed 's/^/| /' conftest.$ac_ext >&5
3489
3490 ac_lo=`expr $ac_mid + 1`
3491 if test $ac_lo -le $ac_mid; then
3492 ac_lo= ac_hi=
3493 break
3494 fi
3495 ac_mid=`expr 2 '*' $ac_mid + 1`
3496 fi
3497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3498 done
3499 else
3500 echo "$as_me: failed program was:" >&5
3501 sed 's/^/| /' conftest.$ac_ext >&5
3502
3503 cat >conftest.$ac_ext <<_ACEOF
3504 /* confdefs.h. */
3505 _ACEOF
3506 cat confdefs.h >>conftest.$ac_ext
3507 cat >>conftest.$ac_ext <<_ACEOF
3508 /* end confdefs.h. */
3509 $ac_includes_default
3510 int
3511 main ()
3512 {
3513 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) < 0)@:>@;
3514 test_array @<:@0@:>@ = 0
3515
3516 ;
3517 return 0;
3518 }
3519 _ACEOF
3520 rm -f conftest.$ac_objext
3521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3522 (eval $ac_compile) 2>conftest.er1
3523 ac_status=$?
3524 grep -v '^ *+' conftest.er1 >conftest.err
3525 rm -f conftest.er1
3526 cat conftest.err >&5
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); } &&
3529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3531 (eval $ac_try) 2>&5
3532 ac_status=$?
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); }; } &&
3535 { ac_try='test -s conftest.$ac_objext'
3536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3537 (eval $ac_try) 2>&5
3538 ac_status=$?
3539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540 (exit $ac_status); }; }; then
3541 ac_hi=-1 ac_mid=-1
3542 while :; do
3543 cat >conftest.$ac_ext <<_ACEOF
3544 /* confdefs.h. */
3545 _ACEOF
3546 cat confdefs.h >>conftest.$ac_ext
3547 cat >>conftest.$ac_ext <<_ACEOF
3548 /* end confdefs.h. */
3549 $ac_includes_default
3550 int
3551 main ()
3552 {
3553 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) >= $ac_mid)@:>@;
3554 test_array @<:@0@:>@ = 0
3555
3556 ;
3557 return 0;
3558 }
3559 _ACEOF
3560 rm -f conftest.$ac_objext
3561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3562 (eval $ac_compile) 2>conftest.er1
3563 ac_status=$?
3564 grep -v '^ *+' conftest.er1 >conftest.err
3565 rm -f conftest.er1
3566 cat conftest.err >&5
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); } &&
3569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3571 (eval $ac_try) 2>&5
3572 ac_status=$?
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); }; } &&
3575 { ac_try='test -s conftest.$ac_objext'
3576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3577 (eval $ac_try) 2>&5
3578 ac_status=$?
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); }; }; then
3581 ac_lo=$ac_mid; break
3582 else
3583 echo "$as_me: failed program was:" >&5
3584 sed 's/^/| /' conftest.$ac_ext >&5
3585
3586 ac_hi=`expr '(' $ac_mid ')' - 1`
3587 if test $ac_mid -le $ac_hi; then
3588 ac_lo= ac_hi=
3589 break
3590 fi
3591 ac_mid=`expr 2 '*' $ac_mid`
3592 fi
3593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3594 done
3595 else
3596 echo "$as_me: failed program was:" >&5
3597 sed 's/^/| /' conftest.$ac_ext >&5
3598
3599 ac_lo= ac_hi=
3600 fi
3601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3602 fi
3603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3604 # Binary search between lo and hi bounds.
3605 while test "x$ac_lo" != "x$ac_hi"; do
3606 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3607 cat >conftest.$ac_ext <<_ACEOF
3608 /* confdefs.h. */
3609 _ACEOF
3610 cat confdefs.h >>conftest.$ac_ext
3611 cat >>conftest.$ac_ext <<_ACEOF
3612 /* end confdefs.h. */
3613 $ac_includes_default
3614 int
3615 main ()
3616 {
3617 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) <= $ac_mid)@:>@;
3618 test_array @<:@0@:>@ = 0
3619
3620 ;
3621 return 0;
3622 }
3623 _ACEOF
3624 rm -f conftest.$ac_objext
3625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3626 (eval $ac_compile) 2>conftest.er1
3627 ac_status=$?
3628 grep -v '^ *+' conftest.er1 >conftest.err
3629 rm -f conftest.er1
3630 cat conftest.err >&5
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); } &&
3633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3635 (eval $ac_try) 2>&5
3636 ac_status=$?
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); }; } &&
3639 { ac_try='test -s conftest.$ac_objext'
3640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3641 (eval $ac_try) 2>&5
3642 ac_status=$?
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); }; }; then
3645 ac_hi=$ac_mid
3646 else
3647 echo "$as_me: failed program was:" >&5
3648 sed 's/^/| /' conftest.$ac_ext >&5
3649
3650 ac_lo=`expr '(' $ac_mid ')' + 1`
3651 fi
3652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3653 done
3654 case $ac_lo in
3655 ?*) ac_cv_sizeof_unsigned_char=$ac_lo;;
3656 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char), 77
3657 See \`config.log' for more details." >&5
3658 echo "$as_me: error: cannot compute sizeof (unsigned char), 77
3659 See \`config.log' for more details." >&2;}
3660 { (exit 1); exit 1; }; } ;;
3661 esac
3662 else
3663 if test "$cross_compiling" = yes; then
3664 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
3665 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
3666 { (exit 1); exit 1; }; }
3667 else
3668 cat >conftest.$ac_ext <<_ACEOF
3669 /* confdefs.h. */
3670 _ACEOF
3671 cat confdefs.h >>conftest.$ac_ext
3672 cat >>conftest.$ac_ext <<_ACEOF
3673 /* end confdefs.h. */
3674 $ac_includes_default
3675 long longval () { return (long) (sizeof (unsigned char)); }
3676 unsigned long ulongval () { return (long) (sizeof (unsigned char)); }
3677 @%:@include <stdio.h>
3678 @%:@include <stdlib.h>
3679 int
3680 main ()
3681 {
3682
3683 FILE *f = fopen ("conftest.val", "w");
3684 if (! f)
3685 exit (1);
3686 if (((long) (sizeof (unsigned char))) < 0)
3687 {
3688 long i = longval ();
3689 if (i != ((long) (sizeof (unsigned char))))
3690 exit (1);
3691 fprintf (f, "%ld\n", i);
3692 }
3693 else
3694 {
3695 unsigned long i = ulongval ();
3696 if (i != ((long) (sizeof (unsigned char))))
3697 exit (1);
3698 fprintf (f, "%lu\n", i);
3699 }
3700 exit (ferror (f) || fclose (f) != 0);
3701
3702 ;
3703 return 0;
3704 }
3705 _ACEOF
3706 rm -f conftest$ac_exeext
3707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3708 (eval $ac_link) 2>&5
3709 ac_status=$?
3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3713 (eval $ac_try) 2>&5
3714 ac_status=$?
3715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716 (exit $ac_status); }; }; then
3717 ac_cv_sizeof_unsigned_char=`cat conftest.val`
3718 else
3719 echo "$as_me: program exited with status $ac_status" >&5
3720 echo "$as_me: failed program was:" >&5
3721 sed 's/^/| /' conftest.$ac_ext >&5
3722
3723 ( exit $ac_status )
3724 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char), 77
3725 See \`config.log' for more details." >&5
3726 echo "$as_me: error: cannot compute sizeof (unsigned char), 77
3727 See \`config.log' for more details." >&2;}
3728 { (exit 1); exit 1; }; }
3729 fi
3730 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3731 fi
3732 fi
3733 rm -f conftest.val
3734 else
3735 ac_cv_sizeof_unsigned_char=0
3736 fi
3737 fi
3738 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char" >&5
3739 echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6
3740 cat >>confdefs.h <<_ACEOF
3741 @%:@define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
3742 _ACEOF
3743
3744
3745 echo "$as_me:$LINENO: checking for unsigned short" >&5
3746 echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6
3747 if test "${ac_cv_type_unsigned_short+set}" = set; then
3748 echo $ECHO_N "(cached) $ECHO_C" >&6
3749 else
3750 cat >conftest.$ac_ext <<_ACEOF
3751 /* confdefs.h. */
3752 _ACEOF
3753 cat confdefs.h >>conftest.$ac_ext
3754 cat >>conftest.$ac_ext <<_ACEOF
3755 /* end confdefs.h. */
3756 $ac_includes_default
3757 int
3758 main ()
3759 {
3760 if ((unsigned short *) 0)
3761 return 0;
3762 if (sizeof (unsigned short))
3763 return 0;
3764 ;
3765 return 0;
3766 }
3767 _ACEOF
3768 rm -f conftest.$ac_objext
3769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3770 (eval $ac_compile) 2>conftest.er1
3771 ac_status=$?
3772 grep -v '^ *+' conftest.er1 >conftest.err
3773 rm -f conftest.er1
3774 cat conftest.err >&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); } &&
3777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3779 (eval $ac_try) 2>&5
3780 ac_status=$?
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); }; } &&
3783 { ac_try='test -s conftest.$ac_objext'
3784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3785 (eval $ac_try) 2>&5
3786 ac_status=$?
3787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788 (exit $ac_status); }; }; then
3789 ac_cv_type_unsigned_short=yes
3790 else
3791 echo "$as_me: failed program was:" >&5
3792 sed 's/^/| /' conftest.$ac_ext >&5
3793
3794 ac_cv_type_unsigned_short=no
3795 fi
3796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3797 fi
3798 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
3799 echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6
3800
3801 echo "$as_me:$LINENO: checking size of unsigned short" >&5
3802 echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6
3803 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
3804 echo $ECHO_N "(cached) $ECHO_C" >&6
3805 else
3806 if test "$ac_cv_type_unsigned_short" = yes; then
3807 # The cast to unsigned long works around a bug in the HP C Compiler
3808 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3809 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3810 # This bug is HP SR number 8606223364.
3811 if test "$cross_compiling" = yes; then
3812 # Depending upon the size, compute the lo and hi bounds.
3813 cat >conftest.$ac_ext <<_ACEOF
3814 /* confdefs.h. */
3815 _ACEOF
3816 cat confdefs.h >>conftest.$ac_ext
3817 cat >>conftest.$ac_ext <<_ACEOF
3818 /* end confdefs.h. */
3819 $ac_includes_default
3820 int
3821 main ()
3822 {
3823 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short))) >= 0)@:>@;
3824 test_array @<:@0@:>@ = 0
3825
3826 ;
3827 return 0;
3828 }
3829 _ACEOF
3830 rm -f conftest.$ac_objext
3831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3832 (eval $ac_compile) 2>conftest.er1
3833 ac_status=$?
3834 grep -v '^ *+' conftest.er1 >conftest.err
3835 rm -f conftest.er1
3836 cat conftest.err >&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); } &&
3839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3841 (eval $ac_try) 2>&5
3842 ac_status=$?
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); }; } &&
3845 { ac_try='test -s conftest.$ac_objext'
3846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3847 (eval $ac_try) 2>&5
3848 ac_status=$?
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); }; }; then
3851 ac_lo=0 ac_mid=0
3852 while :; do
3853 cat >conftest.$ac_ext <<_ACEOF
3854 /* confdefs.h. */
3855 _ACEOF
3856 cat confdefs.h >>conftest.$ac_ext
3857 cat >>conftest.$ac_ext <<_ACEOF
3858 /* end confdefs.h. */
3859 $ac_includes_default
3860 int
3861 main ()
3862 {
3863 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)@:>@;
3864 test_array @<:@0@:>@ = 0
3865
3866 ;
3867 return 0;
3868 }
3869 _ACEOF
3870 rm -f conftest.$ac_objext
3871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3872 (eval $ac_compile) 2>conftest.er1
3873 ac_status=$?
3874 grep -v '^ *+' conftest.er1 >conftest.err
3875 rm -f conftest.er1
3876 cat conftest.err >&5
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); } &&
3879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3881 (eval $ac_try) 2>&5
3882 ac_status=$?
3883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3884 (exit $ac_status); }; } &&
3885 { ac_try='test -s conftest.$ac_objext'
3886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3887 (eval $ac_try) 2>&5
3888 ac_status=$?
3889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890 (exit $ac_status); }; }; then
3891 ac_hi=$ac_mid; break
3892 else
3893 echo "$as_me: failed program was:" >&5
3894 sed 's/^/| /' conftest.$ac_ext >&5
3895
3896 ac_lo=`expr $ac_mid + 1`
3897 if test $ac_lo -le $ac_mid; then
3898 ac_lo= ac_hi=
3899 break
3900 fi
3901 ac_mid=`expr 2 '*' $ac_mid + 1`
3902 fi
3903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3904 done
3905 else
3906 echo "$as_me: failed program was:" >&5
3907 sed 's/^/| /' conftest.$ac_ext >&5
3908
3909 cat >conftest.$ac_ext <<_ACEOF
3910 /* confdefs.h. */
3911 _ACEOF
3912 cat confdefs.h >>conftest.$ac_ext
3913 cat >>conftest.$ac_ext <<_ACEOF
3914 /* end confdefs.h. */
3915 $ac_includes_default
3916 int
3917 main ()
3918 {
3919 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short))) < 0)@:>@;
3920 test_array @<:@0@:>@ = 0
3921
3922 ;
3923 return 0;
3924 }
3925 _ACEOF
3926 rm -f conftest.$ac_objext
3927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3928 (eval $ac_compile) 2>conftest.er1
3929 ac_status=$?
3930 grep -v '^ *+' conftest.er1 >conftest.err
3931 rm -f conftest.er1
3932 cat conftest.err >&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); } &&
3935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3937 (eval $ac_try) 2>&5
3938 ac_status=$?
3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); }; } &&
3941 { ac_try='test -s conftest.$ac_objext'
3942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3943 (eval $ac_try) 2>&5
3944 ac_status=$?
3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946 (exit $ac_status); }; }; then
3947 ac_hi=-1 ac_mid=-1
3948 while :; do
3949 cat >conftest.$ac_ext <<_ACEOF
3950 /* confdefs.h. */
3951 _ACEOF
3952 cat confdefs.h >>conftest.$ac_ext
3953 cat >>conftest.$ac_ext <<_ACEOF
3954 /* end confdefs.h. */
3955 $ac_includes_default
3956 int
3957 main ()
3958 {
3959 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short))) >= $ac_mid)@:>@;
3960 test_array @<:@0@:>@ = 0
3961
3962 ;
3963 return 0;
3964 }
3965 _ACEOF
3966 rm -f conftest.$ac_objext
3967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3968 (eval $ac_compile) 2>conftest.er1
3969 ac_status=$?
3970 grep -v '^ *+' conftest.er1 >conftest.err
3971 rm -f conftest.er1
3972 cat conftest.err >&5
3973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974 (exit $ac_status); } &&
3975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3977 (eval $ac_try) 2>&5
3978 ac_status=$?
3979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3980 (exit $ac_status); }; } &&
3981 { ac_try='test -s conftest.$ac_objext'
3982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3983 (eval $ac_try) 2>&5
3984 ac_status=$?
3985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986 (exit $ac_status); }; }; then
3987 ac_lo=$ac_mid; break
3988 else
3989 echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.$ac_ext >&5
3991
3992 ac_hi=`expr '(' $ac_mid ')' - 1`
3993 if test $ac_mid -le $ac_hi; then
3994 ac_lo= ac_hi=
3995 break
3996 fi
3997 ac_mid=`expr 2 '*' $ac_mid`
3998 fi
3999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4000 done
4001 else
4002 echo "$as_me: failed program was:" >&5
4003 sed 's/^/| /' conftest.$ac_ext >&5
4004
4005 ac_lo= ac_hi=
4006 fi
4007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4008 fi
4009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4010 # Binary search between lo and hi bounds.
4011 while test "x$ac_lo" != "x$ac_hi"; do
4012 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4013 cat >conftest.$ac_ext <<_ACEOF
4014 /* confdefs.h. */
4015 _ACEOF
4016 cat confdefs.h >>conftest.$ac_ext
4017 cat >>conftest.$ac_ext <<_ACEOF
4018 /* end confdefs.h. */
4019 $ac_includes_default
4020 int
4021 main ()
4022 {
4023 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)@:>@;
4024 test_array @<:@0@:>@ = 0
4025
4026 ;
4027 return 0;
4028 }
4029 _ACEOF
4030 rm -f conftest.$ac_objext
4031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4032 (eval $ac_compile) 2>conftest.er1
4033 ac_status=$?
4034 grep -v '^ *+' conftest.er1 >conftest.err
4035 rm -f conftest.er1
4036 cat conftest.err >&5
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); } &&
4039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4041 (eval $ac_try) 2>&5
4042 ac_status=$?
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); }; } &&
4045 { ac_try='test -s conftest.$ac_objext'
4046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4047 (eval $ac_try) 2>&5
4048 ac_status=$?
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); }; }; then
4051 ac_hi=$ac_mid
4052 else
4053 echo "$as_me: failed program was:" >&5
4054 sed 's/^/| /' conftest.$ac_ext >&5
4055
4056 ac_lo=`expr '(' $ac_mid ')' + 1`
4057 fi
4058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4059 done
4060 case $ac_lo in
4061 ?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
4062 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77
4063 See \`config.log' for more details." >&5
4064 echo "$as_me: error: cannot compute sizeof (unsigned short), 77
4065 See \`config.log' for more details." >&2;}
4066 { (exit 1); exit 1; }; } ;;
4067 esac
4068 else
4069 if test "$cross_compiling" = yes; then
4070 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
4071 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
4072 { (exit 1); exit 1; }; }
4073 else
4074 cat >conftest.$ac_ext <<_ACEOF
4075 /* confdefs.h. */
4076 _ACEOF
4077 cat confdefs.h >>conftest.$ac_ext
4078 cat >>conftest.$ac_ext <<_ACEOF
4079 /* end confdefs.h. */
4080 $ac_includes_default
4081 long longval () { return (long) (sizeof (unsigned short)); }
4082 unsigned long ulongval () { return (long) (sizeof (unsigned short)); }
4083 @%:@include <stdio.h>
4084 @%:@include <stdlib.h>
4085 int
4086 main ()
4087 {
4088
4089 FILE *f = fopen ("conftest.val", "w");
4090 if (! f)
4091 exit (1);
4092 if (((long) (sizeof (unsigned short))) < 0)
4093 {
4094 long i = longval ();
4095 if (i != ((long) (sizeof (unsigned short))))
4096 exit (1);
4097 fprintf (f, "%ld\n", i);
4098 }
4099 else
4100 {
4101 unsigned long i = ulongval ();
4102 if (i != ((long) (sizeof (unsigned short))))
4103 exit (1);
4104 fprintf (f, "%lu\n", i);
4105 }
4106 exit (ferror (f) || fclose (f) != 0);
4107
4108 ;
4109 return 0;
4110 }
4111 _ACEOF
4112 rm -f conftest$ac_exeext
4113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4114 (eval $ac_link) 2>&5
4115 ac_status=$?
4116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4119 (eval $ac_try) 2>&5
4120 ac_status=$?
4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); }; }; then
4123 ac_cv_sizeof_unsigned_short=`cat conftest.val`
4124 else
4125 echo "$as_me: program exited with status $ac_status" >&5
4126 echo "$as_me: failed program was:" >&5
4127 sed 's/^/| /' conftest.$ac_ext >&5
4128
4129 ( exit $ac_status )
4130 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77
4131 See \`config.log' for more details." >&5
4132 echo "$as_me: error: cannot compute sizeof (unsigned short), 77
4133 See \`config.log' for more details." >&2;}
4134 { (exit 1); exit 1; }; }
4135 fi
4136 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4137 fi
4138 fi
4139 rm -f conftest.val
4140 else
4141 ac_cv_sizeof_unsigned_short=0
4142 fi
4143 fi
4144 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
4145 echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6
4146 cat >>confdefs.h <<_ACEOF
4147 @%:@define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
4148 _ACEOF
4149
4150
4151 echo "$as_me:$LINENO: checking for unsigned int" >&5
4152 echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6
4153 if test "${ac_cv_type_unsigned_int+set}" = set; then
4154 echo $ECHO_N "(cached) $ECHO_C" >&6
4155 else
4156 cat >conftest.$ac_ext <<_ACEOF
4157 /* confdefs.h. */
4158 _ACEOF
4159 cat confdefs.h >>conftest.$ac_ext
4160 cat >>conftest.$ac_ext <<_ACEOF
4161 /* end confdefs.h. */
4162 $ac_includes_default
4163 int
4164 main ()
4165 {
4166 if ((unsigned int *) 0)
4167 return 0;
4168 if (sizeof (unsigned int))
4169 return 0;
4170 ;
4171 return 0;
4172 }
4173 _ACEOF
4174 rm -f conftest.$ac_objext
4175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4176 (eval $ac_compile) 2>conftest.er1
4177 ac_status=$?
4178 grep -v '^ *+' conftest.er1 >conftest.err
4179 rm -f conftest.er1
4180 cat conftest.err >&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); } &&
4183 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4185 (eval $ac_try) 2>&5
4186 ac_status=$?
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); }; } &&
4189 { ac_try='test -s conftest.$ac_objext'
4190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4191 (eval $ac_try) 2>&5
4192 ac_status=$?
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); }; }; then
4195 ac_cv_type_unsigned_int=yes
4196 else
4197 echo "$as_me: failed program was:" >&5
4198 sed 's/^/| /' conftest.$ac_ext >&5
4199
4200 ac_cv_type_unsigned_int=no
4201 fi
4202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4203 fi
4204 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
4205 echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6
4206
4207 echo "$as_me:$LINENO: checking size of unsigned int" >&5
4208 echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6
4209 if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
4210 echo $ECHO_N "(cached) $ECHO_C" >&6
4211 else
4212 if test "$ac_cv_type_unsigned_int" = yes; then
4213 # The cast to unsigned long works around a bug in the HP C Compiler
4214 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4215 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4216 # This bug is HP SR number 8606223364.
4217 if test "$cross_compiling" = yes; then
4218 # Depending upon the size, compute the lo and hi bounds.
4219 cat >conftest.$ac_ext <<_ACEOF
4220 /* confdefs.h. */
4221 _ACEOF
4222 cat confdefs.h >>conftest.$ac_ext
4223 cat >>conftest.$ac_ext <<_ACEOF
4224 /* end confdefs.h. */
4225 $ac_includes_default
4226 int
4227 main ()
4228 {
4229 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) >= 0)@:>@;
4230 test_array @<:@0@:>@ = 0
4231
4232 ;
4233 return 0;
4234 }
4235 _ACEOF
4236 rm -f conftest.$ac_objext
4237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4238 (eval $ac_compile) 2>conftest.er1
4239 ac_status=$?
4240 grep -v '^ *+' conftest.er1 >conftest.err
4241 rm -f conftest.er1
4242 cat conftest.err >&5
4243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244 (exit $ac_status); } &&
4245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4247 (eval $ac_try) 2>&5
4248 ac_status=$?
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); }; } &&
4251 { ac_try='test -s conftest.$ac_objext'
4252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4253 (eval $ac_try) 2>&5
4254 ac_status=$?
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); }; }; then
4257 ac_lo=0 ac_mid=0
4258 while :; do
4259 cat >conftest.$ac_ext <<_ACEOF
4260 /* confdefs.h. */
4261 _ACEOF
4262 cat confdefs.h >>conftest.$ac_ext
4263 cat >>conftest.$ac_ext <<_ACEOF
4264 /* end confdefs.h. */
4265 $ac_includes_default
4266 int
4267 main ()
4268 {
4269 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)@:>@;
4270 test_array @<:@0@:>@ = 0
4271
4272 ;
4273 return 0;
4274 }
4275 _ACEOF
4276 rm -f conftest.$ac_objext
4277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4278 (eval $ac_compile) 2>conftest.er1
4279 ac_status=$?
4280 grep -v '^ *+' conftest.er1 >conftest.err
4281 rm -f conftest.er1
4282 cat conftest.err >&5
4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); } &&
4285 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4287 (eval $ac_try) 2>&5
4288 ac_status=$?
4289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); }; } &&
4291 { ac_try='test -s conftest.$ac_objext'
4292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4293 (eval $ac_try) 2>&5
4294 ac_status=$?
4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); }; }; then
4297 ac_hi=$ac_mid; break
4298 else
4299 echo "$as_me: failed program was:" >&5
4300 sed 's/^/| /' conftest.$ac_ext >&5
4301
4302 ac_lo=`expr $ac_mid + 1`
4303 if test $ac_lo -le $ac_mid; then
4304 ac_lo= ac_hi=
4305 break
4306 fi
4307 ac_mid=`expr 2 '*' $ac_mid + 1`
4308 fi
4309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4310 done
4311 else
4312 echo "$as_me: failed program was:" >&5
4313 sed 's/^/| /' conftest.$ac_ext >&5
4314
4315 cat >conftest.$ac_ext <<_ACEOF
4316 /* confdefs.h. */
4317 _ACEOF
4318 cat confdefs.h >>conftest.$ac_ext
4319 cat >>conftest.$ac_ext <<_ACEOF
4320 /* end confdefs.h. */
4321 $ac_includes_default
4322 int
4323 main ()
4324 {
4325 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) < 0)@:>@;
4326 test_array @<:@0@:>@ = 0
4327
4328 ;
4329 return 0;
4330 }
4331 _ACEOF
4332 rm -f conftest.$ac_objext
4333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4334 (eval $ac_compile) 2>conftest.er1
4335 ac_status=$?
4336 grep -v '^ *+' conftest.er1 >conftest.err
4337 rm -f conftest.er1
4338 cat conftest.err >&5
4339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340 (exit $ac_status); } &&
4341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4343 (eval $ac_try) 2>&5
4344 ac_status=$?
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); }; } &&
4347 { ac_try='test -s conftest.$ac_objext'
4348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4349 (eval $ac_try) 2>&5
4350 ac_status=$?
4351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4352 (exit $ac_status); }; }; then
4353 ac_hi=-1 ac_mid=-1
4354 while :; do
4355 cat >conftest.$ac_ext <<_ACEOF
4356 /* confdefs.h. */
4357 _ACEOF
4358 cat confdefs.h >>conftest.$ac_ext
4359 cat >>conftest.$ac_ext <<_ACEOF
4360 /* end confdefs.h. */
4361 $ac_includes_default
4362 int
4363 main ()
4364 {
4365 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) >= $ac_mid)@:>@;
4366 test_array @<:@0@:>@ = 0
4367
4368 ;
4369 return 0;
4370 }
4371 _ACEOF
4372 rm -f conftest.$ac_objext
4373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4374 (eval $ac_compile) 2>conftest.er1
4375 ac_status=$?
4376 grep -v '^ *+' conftest.er1 >conftest.err
4377 rm -f conftest.er1
4378 cat conftest.err >&5
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); } &&
4381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4383 (eval $ac_try) 2>&5
4384 ac_status=$?
4385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4386 (exit $ac_status); }; } &&
4387 { ac_try='test -s conftest.$ac_objext'
4388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4389 (eval $ac_try) 2>&5
4390 ac_status=$?
4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392 (exit $ac_status); }; }; then
4393 ac_lo=$ac_mid; break
4394 else
4395 echo "$as_me: failed program was:" >&5
4396 sed 's/^/| /' conftest.$ac_ext >&5
4397
4398 ac_hi=`expr '(' $ac_mid ')' - 1`
4399 if test $ac_mid -le $ac_hi; then
4400 ac_lo= ac_hi=
4401 break
4402 fi
4403 ac_mid=`expr 2 '*' $ac_mid`
4404 fi
4405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4406 done
4407 else
4408 echo "$as_me: failed program was:" >&5
4409 sed 's/^/| /' conftest.$ac_ext >&5
4410
4411 ac_lo= ac_hi=
4412 fi
4413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4414 fi
4415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4416 # Binary search between lo and hi bounds.
4417 while test "x$ac_lo" != "x$ac_hi"; do
4418 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4419 cat >conftest.$ac_ext <<_ACEOF
4420 /* confdefs.h. */
4421 _ACEOF
4422 cat confdefs.h >>conftest.$ac_ext
4423 cat >>conftest.$ac_ext <<_ACEOF
4424 /* end confdefs.h. */
4425 $ac_includes_default
4426 int
4427 main ()
4428 {
4429 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)@:>@;
4430 test_array @<:@0@:>@ = 0
4431
4432 ;
4433 return 0;
4434 }
4435 _ACEOF
4436 rm -f conftest.$ac_objext
4437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4438 (eval $ac_compile) 2>conftest.er1
4439 ac_status=$?
4440 grep -v '^ *+' conftest.er1 >conftest.err
4441 rm -f conftest.er1
4442 cat conftest.err >&5
4443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4444 (exit $ac_status); } &&
4445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4447 (eval $ac_try) 2>&5
4448 ac_status=$?
4449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450 (exit $ac_status); }; } &&
4451 { ac_try='test -s conftest.$ac_objext'
4452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4453 (eval $ac_try) 2>&5
4454 ac_status=$?
4455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456 (exit $ac_status); }; }; then
4457 ac_hi=$ac_mid
4458 else
4459 echo "$as_me: failed program was:" >&5
4460 sed 's/^/| /' conftest.$ac_ext >&5
4461
4462 ac_lo=`expr '(' $ac_mid ')' + 1`
4463 fi
4464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4465 done
4466 case $ac_lo in
4467 ?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
4468 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
4469 See \`config.log' for more details." >&5
4470 echo "$as_me: error: cannot compute sizeof (unsigned int), 77
4471 See \`config.log' for more details." >&2;}
4472 { (exit 1); exit 1; }; } ;;
4473 esac
4474 else
4475 if test "$cross_compiling" = yes; then
4476 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
4477 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
4478 { (exit 1); exit 1; }; }
4479 else
4480 cat >conftest.$ac_ext <<_ACEOF
4481 /* confdefs.h. */
4482 _ACEOF
4483 cat confdefs.h >>conftest.$ac_ext
4484 cat >>conftest.$ac_ext <<_ACEOF
4485 /* end confdefs.h. */
4486 $ac_includes_default
4487 long longval () { return (long) (sizeof (unsigned int)); }
4488 unsigned long ulongval () { return (long) (sizeof (unsigned int)); }
4489 @%:@include <stdio.h>
4490 @%:@include <stdlib.h>
4491 int
4492 main ()
4493 {
4494
4495 FILE *f = fopen ("conftest.val", "w");
4496 if (! f)
4497 exit (1);
4498 if (((long) (sizeof (unsigned int))) < 0)
4499 {
4500 long i = longval ();
4501 if (i != ((long) (sizeof (unsigned int))))
4502 exit (1);
4503 fprintf (f, "%ld\n", i);
4504 }
4505 else
4506 {
4507 unsigned long i = ulongval ();
4508 if (i != ((long) (sizeof (unsigned int))))
4509 exit (1);
4510 fprintf (f, "%lu\n", i);
4511 }
4512 exit (ferror (f) || fclose (f) != 0);
4513
4514 ;
4515 return 0;
4516 }
4517 _ACEOF
4518 rm -f conftest$ac_exeext
4519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4520 (eval $ac_link) 2>&5
4521 ac_status=$?
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4525 (eval $ac_try) 2>&5
4526 ac_status=$?
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); }; }; then
4529 ac_cv_sizeof_unsigned_int=`cat conftest.val`
4530 else
4531 echo "$as_me: program exited with status $ac_status" >&5
4532 echo "$as_me: failed program was:" >&5
4533 sed 's/^/| /' conftest.$ac_ext >&5
4534
4535 ( exit $ac_status )
4536 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
4537 See \`config.log' for more details." >&5
4538 echo "$as_me: error: cannot compute sizeof (unsigned int), 77
4539 See \`config.log' for more details." >&2;}
4540 { (exit 1); exit 1; }; }
4541 fi
4542 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4543 fi
4544 fi
4545 rm -f conftest.val
4546 else
4547 ac_cv_sizeof_unsigned_int=0
4548 fi
4549 fi
4550 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
4551 echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6
4552 cat >>confdefs.h <<_ACEOF
4553 @%:@define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
4554 _ACEOF
4555
4556
4557 echo "$as_me:$LINENO: checking for unsigned long" >&5
4558 echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
4559 if test "${ac_cv_type_unsigned_long+set}" = set; then
4560 echo $ECHO_N "(cached) $ECHO_C" >&6
4561 else
4562 cat >conftest.$ac_ext <<_ACEOF
4563 /* confdefs.h. */
4564 _ACEOF
4565 cat confdefs.h >>conftest.$ac_ext
4566 cat >>conftest.$ac_ext <<_ACEOF
4567 /* end confdefs.h. */
4568 $ac_includes_default
4569 int
4570 main ()
4571 {
4572 if ((unsigned long *) 0)
4573 return 0;
4574 if (sizeof (unsigned long))
4575 return 0;
4576 ;
4577 return 0;
4578 }
4579 _ACEOF
4580 rm -f conftest.$ac_objext
4581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4582 (eval $ac_compile) 2>conftest.er1
4583 ac_status=$?
4584 grep -v '^ *+' conftest.er1 >conftest.err
4585 rm -f conftest.er1
4586 cat conftest.err >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } &&
4589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4591 (eval $ac_try) 2>&5
4592 ac_status=$?
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); }; } &&
4595 { ac_try='test -s conftest.$ac_objext'
4596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4597 (eval $ac_try) 2>&5
4598 ac_status=$?
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); }; }; then
4601 ac_cv_type_unsigned_long=yes
4602 else
4603 echo "$as_me: failed program was:" >&5
4604 sed 's/^/| /' conftest.$ac_ext >&5
4605
4606 ac_cv_type_unsigned_long=no
4607 fi
4608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4609 fi
4610 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
4611 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
4612
4613 echo "$as_me:$LINENO: checking size of unsigned long" >&5
4614 echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
4615 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 else
4618 if test "$ac_cv_type_unsigned_long" = yes; then
4619 # The cast to unsigned long works around a bug in the HP C Compiler
4620 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4621 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4622 # This bug is HP SR number 8606223364.
4623 if test "$cross_compiling" = yes; then
4624 # Depending upon the size, compute the lo and hi bounds.
4625 cat >conftest.$ac_ext <<_ACEOF
4626 /* confdefs.h. */
4627 _ACEOF
4628 cat confdefs.h >>conftest.$ac_ext
4629 cat >>conftest.$ac_ext <<_ACEOF
4630 /* end confdefs.h. */
4631 $ac_includes_default
4632 int
4633 main ()
4634 {
4635 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)@:>@;
4636 test_array @<:@0@:>@ = 0
4637
4638 ;
4639 return 0;
4640 }
4641 _ACEOF
4642 rm -f conftest.$ac_objext
4643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4644 (eval $ac_compile) 2>conftest.er1
4645 ac_status=$?
4646 grep -v '^ *+' conftest.er1 >conftest.err
4647 rm -f conftest.er1
4648 cat conftest.err >&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); } &&
4651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4653 (eval $ac_try) 2>&5
4654 ac_status=$?
4655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656 (exit $ac_status); }; } &&
4657 { ac_try='test -s conftest.$ac_objext'
4658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4659 (eval $ac_try) 2>&5
4660 ac_status=$?
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662 (exit $ac_status); }; }; then
4663 ac_lo=0 ac_mid=0
4664 while :; do
4665 cat >conftest.$ac_ext <<_ACEOF
4666 /* confdefs.h. */
4667 _ACEOF
4668 cat confdefs.h >>conftest.$ac_ext
4669 cat >>conftest.$ac_ext <<_ACEOF
4670 /* end confdefs.h. */
4671 $ac_includes_default
4672 int
4673 main ()
4674 {
4675 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)@:>@;
4676 test_array @<:@0@:>@ = 0
4677
4678 ;
4679 return 0;
4680 }
4681 _ACEOF
4682 rm -f conftest.$ac_objext
4683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4684 (eval $ac_compile) 2>conftest.er1
4685 ac_status=$?
4686 grep -v '^ *+' conftest.er1 >conftest.err
4687 rm -f conftest.er1
4688 cat conftest.err >&5
4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); } &&
4691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4693 (eval $ac_try) 2>&5
4694 ac_status=$?
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); }; } &&
4697 { ac_try='test -s conftest.$ac_objext'
4698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4699 (eval $ac_try) 2>&5
4700 ac_status=$?
4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4702 (exit $ac_status); }; }; then
4703 ac_hi=$ac_mid; break
4704 else
4705 echo "$as_me: failed program was:" >&5
4706 sed 's/^/| /' conftest.$ac_ext >&5
4707
4708 ac_lo=`expr $ac_mid + 1`
4709 if test $ac_lo -le $ac_mid; then
4710 ac_lo= ac_hi=
4711 break
4712 fi
4713 ac_mid=`expr 2 '*' $ac_mid + 1`
4714 fi
4715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4716 done
4717 else
4718 echo "$as_me: failed program was:" >&5
4719 sed 's/^/| /' conftest.$ac_ext >&5
4720
4721 cat >conftest.$ac_ext <<_ACEOF
4722 /* confdefs.h. */
4723 _ACEOF
4724 cat confdefs.h >>conftest.$ac_ext
4725 cat >>conftest.$ac_ext <<_ACEOF
4726 /* end confdefs.h. */
4727 $ac_includes_default
4728 int
4729 main ()
4730 {
4731 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long))) < 0)@:>@;
4732 test_array @<:@0@:>@ = 0
4733
4734 ;
4735 return 0;
4736 }
4737 _ACEOF
4738 rm -f conftest.$ac_objext
4739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4740 (eval $ac_compile) 2>conftest.er1
4741 ac_status=$?
4742 grep -v '^ *+' conftest.er1 >conftest.err
4743 rm -f conftest.er1
4744 cat conftest.err >&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); } &&
4747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4749 (eval $ac_try) 2>&5
4750 ac_status=$?
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; } &&
4753 { ac_try='test -s conftest.$ac_objext'
4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4755 (eval $ac_try) 2>&5
4756 ac_status=$?
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }; }; then
4759 ac_hi=-1 ac_mid=-1
4760 while :; do
4761 cat >conftest.$ac_ext <<_ACEOF
4762 /* confdefs.h. */
4763 _ACEOF
4764 cat confdefs.h >>conftest.$ac_ext
4765 cat >>conftest.$ac_ext <<_ACEOF
4766 /* end confdefs.h. */
4767 $ac_includes_default
4768 int
4769 main ()
4770 {
4771 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)@:>@;
4772 test_array @<:@0@:>@ = 0
4773
4774 ;
4775 return 0;
4776 }
4777 _ACEOF
4778 rm -f conftest.$ac_objext
4779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4780 (eval $ac_compile) 2>conftest.er1
4781 ac_status=$?
4782 grep -v '^ *+' conftest.er1 >conftest.err
4783 rm -f conftest.er1
4784 cat conftest.err >&5
4785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786 (exit $ac_status); } &&
4787 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4789 (eval $ac_try) 2>&5
4790 ac_status=$?
4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792 (exit $ac_status); }; } &&
4793 { ac_try='test -s conftest.$ac_objext'
4794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4795 (eval $ac_try) 2>&5
4796 ac_status=$?
4797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798 (exit $ac_status); }; }; then
4799 ac_lo=$ac_mid; break
4800 else
4801 echo "$as_me: failed program was:" >&5
4802 sed 's/^/| /' conftest.$ac_ext >&5
4803
4804 ac_hi=`expr '(' $ac_mid ')' - 1`
4805 if test $ac_mid -le $ac_hi; then
4806 ac_lo= ac_hi=
4807 break
4808 fi
4809 ac_mid=`expr 2 '*' $ac_mid`
4810 fi
4811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4812 done
4813 else
4814 echo "$as_me: failed program was:" >&5
4815 sed 's/^/| /' conftest.$ac_ext >&5
4816
4817 ac_lo= ac_hi=
4818 fi
4819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4820 fi
4821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4822 # Binary search between lo and hi bounds.
4823 while test "x$ac_lo" != "x$ac_hi"; do
4824 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4825 cat >conftest.$ac_ext <<_ACEOF
4826 /* confdefs.h. */
4827 _ACEOF
4828 cat confdefs.h >>conftest.$ac_ext
4829 cat >>conftest.$ac_ext <<_ACEOF
4830 /* end confdefs.h. */
4831 $ac_includes_default
4832 int
4833 main ()
4834 {
4835 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)@:>@;
4836 test_array @<:@0@:>@ = 0
4837
4838 ;
4839 return 0;
4840 }
4841 _ACEOF
4842 rm -f conftest.$ac_objext
4843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4844 (eval $ac_compile) 2>conftest.er1
4845 ac_status=$?
4846 grep -v '^ *+' conftest.er1 >conftest.err
4847 rm -f conftest.er1
4848 cat conftest.err >&5
4849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4850 (exit $ac_status); } &&
4851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4853 (eval $ac_try) 2>&5
4854 ac_status=$?
4855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856 (exit $ac_status); }; } &&
4857 { ac_try='test -s conftest.$ac_objext'
4858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4859 (eval $ac_try) 2>&5
4860 ac_status=$?
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); }; }; then
4863 ac_hi=$ac_mid
4864 else
4865 echo "$as_me: failed program was:" >&5
4866 sed 's/^/| /' conftest.$ac_ext >&5
4867
4868 ac_lo=`expr '(' $ac_mid ')' + 1`
4869 fi
4870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4871 done
4872 case $ac_lo in
4873 ?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
4874 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
4875 See \`config.log' for more details." >&5
4876 echo "$as_me: error: cannot compute sizeof (unsigned long), 77
4877 See \`config.log' for more details." >&2;}
4878 { (exit 1); exit 1; }; } ;;
4879 esac
4880 else
4881 if test "$cross_compiling" = yes; then
4882 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
4883 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
4884 { (exit 1); exit 1; }; }
4885 else
4886 cat >conftest.$ac_ext <<_ACEOF
4887 /* confdefs.h. */
4888 _ACEOF
4889 cat confdefs.h >>conftest.$ac_ext
4890 cat >>conftest.$ac_ext <<_ACEOF
4891 /* end confdefs.h. */
4892 $ac_includes_default
4893 long longval () { return (long) (sizeof (unsigned long)); }
4894 unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
4895 @%:@include <stdio.h>
4896 @%:@include <stdlib.h>
4897 int
4898 main ()
4899 {
4900
4901 FILE *f = fopen ("conftest.val", "w");
4902 if (! f)
4903 exit (1);
4904 if (((long) (sizeof (unsigned long))) < 0)
4905 {
4906 long i = longval ();
4907 if (i != ((long) (sizeof (unsigned long))))
4908 exit (1);
4909 fprintf (f, "%ld\n", i);
4910 }
4911 else
4912 {
4913 unsigned long i = ulongval ();
4914 if (i != ((long) (sizeof (unsigned long))))
4915 exit (1);
4916 fprintf (f, "%lu\n", i);
4917 }
4918 exit (ferror (f) || fclose (f) != 0);
4919
4920 ;
4921 return 0;
4922 }
4923 _ACEOF
4924 rm -f conftest$ac_exeext
4925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4926 (eval $ac_link) 2>&5
4927 ac_status=$?
4928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4929 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4931 (eval $ac_try) 2>&5
4932 ac_status=$?
4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934 (exit $ac_status); }; }; then
4935 ac_cv_sizeof_unsigned_long=`cat conftest.val`
4936 else
4937 echo "$as_me: program exited with status $ac_status" >&5
4938 echo "$as_me: failed program was:" >&5
4939 sed 's/^/| /' conftest.$ac_ext >&5
4940
4941 ( exit $ac_status )
4942 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
4943 See \`config.log' for more details." >&5
4944 echo "$as_me: error: cannot compute sizeof (unsigned long), 77
4945 See \`config.log' for more details." >&2;}
4946 { (exit 1); exit 1; }; }
4947 fi
4948 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4949 fi
4950 fi
4951 rm -f conftest.val
4952 else
4953 ac_cv_sizeof_unsigned_long=0
4954 fi
4955 fi
4956 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
4957 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
4958 cat >>confdefs.h <<_ACEOF
4959 @%:@define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
4960 _ACEOF
4961
4962
4963
4964 # Some doc I found somewhere. :-) -- REW
4965 # - Macro: AC_CHECK_FUNC (FUNCTION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
4966 # - Macro: AC_CHECK_LIB (LIBRARY, FUNCTION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, OTHER-LIBRARIES]]])
4967
4968 # We don't refer to any symbols in termcap, but -lcurses on SunOS does.
4969 # We have to trust the linker not to mess things up... (It should not
4970 # pull in anything if we don't refer to anything in the lib).
4971
4972 echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5
4973 echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6
4974 if test "${ac_cv_lib_termcap_tgetent+set}" = set; then
4975 echo $ECHO_N "(cached) $ECHO_C" >&6
4976 else
4977 ac_check_lib_save_LIBS=$LIBS
4978 LIBS="-ltermcap $LIBS"
4979 cat >conftest.$ac_ext <<_ACEOF
4980 /* confdefs.h. */
4981 _ACEOF
4982 cat confdefs.h >>conftest.$ac_ext
4983 cat >>conftest.$ac_ext <<_ACEOF
4984 /* end confdefs.h. */
4985
4986 /* Override any gcc2 internal prototype to avoid an error. */
4987 #ifdef __cplusplus
4988 extern "C"
4989 #endif
4990 /* We use char because int might match the return type of a gcc2
4991 builtin and then its argument prototype would still apply. */
4992 char tgetent ();
4993 int
4994 main ()
4995 {
4996 tgetent ();
4997 ;
4998 return 0;
4999 }
5000 _ACEOF
5001 rm -f conftest.$ac_objext conftest$ac_exeext
5002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5003 (eval $ac_link) 2>conftest.er1
5004 ac_status=$?
5005 grep -v '^ *+' conftest.er1 >conftest.err
5006 rm -f conftest.er1
5007 cat conftest.err >&5
5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); } &&
5010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5012 (eval $ac_try) 2>&5
5013 ac_status=$?
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); }; } &&
5016 { ac_try='test -s conftest$ac_exeext'
5017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5018 (eval $ac_try) 2>&5
5019 ac_status=$?
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); }; }; then
5022 ac_cv_lib_termcap_tgetent=yes
5023 else
5024 echo "$as_me: failed program was:" >&5
5025 sed 's/^/| /' conftest.$ac_ext >&5
5026
5027 ac_cv_lib_termcap_tgetent=no
5028 fi
5029 rm -f conftest.err conftest.$ac_objext \
5030 conftest$ac_exeext conftest.$ac_ext
5031 LIBS=$ac_check_lib_save_LIBS
5032 fi
5033 echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5
5034 echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6
5035 if test $ac_cv_lib_termcap_tgetent = yes; then
5036 cat >>confdefs.h <<_ACEOF
5037 @%:@define HAVE_LIBTERMCAP 1
5038 _ACEOF
5039
5040 LIBS="-ltermcap $LIBS"
5041
5042 fi
5043
5044
5045 echo "$as_me:$LINENO: checking for initscr" >&5
5046 echo $ECHO_N "checking for initscr... $ECHO_C" >&6
5047 if test "${ac_cv_func_initscr+set}" = set; then
5048 echo $ECHO_N "(cached) $ECHO_C" >&6
5049 else
5050 cat >conftest.$ac_ext <<_ACEOF
5051 /* confdefs.h. */
5052 _ACEOF
5053 cat confdefs.h >>conftest.$ac_ext
5054 cat >>conftest.$ac_ext <<_ACEOF
5055 /* end confdefs.h. */
5056 /* Define initscr to an innocuous variant, in case <limits.h> declares initscr.
5057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5058 #define initscr innocuous_initscr
5059
5060 /* System header to define __stub macros and hopefully few prototypes,
5061 which can conflict with char initscr (); below.
5062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5063 <limits.h> exists even on freestanding compilers. */
5064
5065 #ifdef __STDC__
5066 # include <limits.h>
5067 #else
5068 # include <assert.h>
5069 #endif
5070
5071 #undef initscr
5072
5073 /* Override any gcc2 internal prototype to avoid an error. */
5074 #ifdef __cplusplus
5075 extern "C"
5076 {
5077 #endif
5078 /* We use char because int might match the return type of a gcc2
5079 builtin and then its argument prototype would still apply. */
5080 char initscr ();
5081 /* The GNU C library defines this for functions which it implements
5082 to always fail with ENOSYS. Some functions are actually named
5083 something starting with __ and the normal name is an alias. */
5084 #if defined (__stub_initscr) || defined (__stub___initscr)
5085 choke me
5086 #else
5087 char (*f) () = initscr;
5088 #endif
5089 #ifdef __cplusplus
5090 }
5091 #endif
5092
5093 int
5094 main ()
5095 {
5096 return f != initscr;
5097 ;
5098 return 0;
5099 }
5100 _ACEOF
5101 rm -f conftest.$ac_objext conftest$ac_exeext
5102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5103 (eval $ac_link) 2>conftest.er1
5104 ac_status=$?
5105 grep -v '^ *+' conftest.er1 >conftest.err
5106 rm -f conftest.er1
5107 cat conftest.err >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); } &&
5110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5112 (eval $ac_try) 2>&5
5113 ac_status=$?
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); }; } &&
5116 { ac_try='test -s conftest$ac_exeext'
5117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5118 (eval $ac_try) 2>&5
5119 ac_status=$?
5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 (exit $ac_status); }; }; then
5122 ac_cv_func_initscr=yes
5123 else
5124 echo "$as_me: failed program was:" >&5
5125 sed 's/^/| /' conftest.$ac_ext >&5
5126
5127 ac_cv_func_initscr=no
5128 fi
5129 rm -f conftest.err conftest.$ac_objext \
5130 conftest$ac_exeext conftest.$ac_ext
5131 fi
5132 echo "$as_me:$LINENO: result: $ac_cv_func_initscr" >&5
5133 echo "${ECHO_T}$ac_cv_func_initscr" >&6
5134 if test $ac_cv_func_initscr = yes; then
5135 :
5136 else
5137
5138 echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
5139 echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6
5140 if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
5141 echo $ECHO_N "(cached) $ECHO_C" >&6
5142 else
5143 ac_check_lib_save_LIBS=$LIBS
5144 LIBS="-lncurses $LIBS"
5145 cat >conftest.$ac_ext <<_ACEOF
5146 /* confdefs.h. */
5147 _ACEOF
5148 cat confdefs.h >>conftest.$ac_ext
5149 cat >>conftest.$ac_ext <<_ACEOF
5150 /* end confdefs.h. */
5151
5152 /* Override any gcc2 internal prototype to avoid an error. */
5153 #ifdef __cplusplus
5154 extern "C"
5155 #endif
5156 /* We use char because int might match the return type of a gcc2
5157 builtin and then its argument prototype would still apply. */
5158 char initscr ();
5159 int
5160 main ()
5161 {
5162 initscr ();
5163 ;
5164 return 0;
5165 }
5166 _ACEOF
5167 rm -f conftest.$ac_objext conftest$ac_exeext
5168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5169 (eval $ac_link) 2>conftest.er1
5170 ac_status=$?
5171 grep -v '^ *+' conftest.er1 >conftest.err
5172 rm -f conftest.er1
5173 cat conftest.err >&5
5174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175 (exit $ac_status); } &&
5176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5178 (eval $ac_try) 2>&5
5179 ac_status=$?
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); }; } &&
5182 { ac_try='test -s conftest$ac_exeext'
5183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5184 (eval $ac_try) 2>&5
5185 ac_status=$?
5186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187 (exit $ac_status); }; }; then
5188 ac_cv_lib_ncurses_initscr=yes
5189 else
5190 echo "$as_me: failed program was:" >&5
5191 sed 's/^/| /' conftest.$ac_ext >&5
5192
5193 ac_cv_lib_ncurses_initscr=no
5194 fi
5195 rm -f conftest.err conftest.$ac_objext \
5196 conftest$ac_exeext conftest.$ac_ext
5197 LIBS=$ac_check_lib_save_LIBS
5198 fi
5199 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
5200 echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6
5201 if test $ac_cv_lib_ncurses_initscr = yes; then
5202 cat >>confdefs.h <<_ACEOF
5203 @%:@define HAVE_LIBNCURSES 1
5204 _ACEOF
5205
5206 LIBS="-lncurses $LIBS"
5207
5208 else
5209
5210 echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
5211 echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6
5212 if test "${ac_cv_lib_curses_initscr+set}" = set; then
5213 echo $ECHO_N "(cached) $ECHO_C" >&6
5214 else
5215 ac_check_lib_save_LIBS=$LIBS
5216 LIBS="-lcurses $LIBS"
5217 cat >conftest.$ac_ext <<_ACEOF
5218 /* confdefs.h. */
5219 _ACEOF
5220 cat confdefs.h >>conftest.$ac_ext
5221 cat >>conftest.$ac_ext <<_ACEOF
5222 /* end confdefs.h. */
5223
5224 /* Override any gcc2 internal prototype to avoid an error. */
5225 #ifdef __cplusplus
5226 extern "C"
5227 #endif
5228 /* We use char because int might match the return type of a gcc2
5229 builtin and then its argument prototype would still apply. */
5230 char initscr ();
5231 int
5232 main ()
5233 {
5234 initscr ();
5235 ;
5236 return 0;
5237 }
5238 _ACEOF
5239 rm -f conftest.$ac_objext conftest$ac_exeext
5240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5241 (eval $ac_link) 2>conftest.er1
5242 ac_status=$?
5243 grep -v '^ *+' conftest.er1 >conftest.err
5244 rm -f conftest.er1
5245 cat conftest.err >&5
5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247 (exit $ac_status); } &&
5248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5250 (eval $ac_try) 2>&5
5251 ac_status=$?
5252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253 (exit $ac_status); }; } &&
5254 { ac_try='test -s conftest$ac_exeext'
5255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5256 (eval $ac_try) 2>&5
5257 ac_status=$?
5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5259 (exit $ac_status); }; }; then
5260 ac_cv_lib_curses_initscr=yes
5261 else
5262 echo "$as_me: failed program was:" >&5
5263 sed 's/^/| /' conftest.$ac_ext >&5
5264
5265 ac_cv_lib_curses_initscr=no
5266 fi
5267 rm -f conftest.err conftest.$ac_objext \
5268 conftest$ac_exeext conftest.$ac_ext
5269 LIBS=$ac_check_lib_save_LIBS
5270 fi
5271 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
5272 echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6
5273 if test $ac_cv_lib_curses_initscr = yes; then
5274 cat >>confdefs.h <<_ACEOF
5275 @%:@define HAVE_LIBCURSES 1
5276 _ACEOF
5277
5278 LIBS="-lcurses $LIBS"
5279
5280 else
5281
5282 echo "$as_me:$LINENO: checking for initscr in -lcursesX" >&5
5283 echo $ECHO_N "checking for initscr in -lcursesX... $ECHO_C" >&6
5284 if test "${ac_cv_lib_cursesX_initscr+set}" = set; then
5285 echo $ECHO_N "(cached) $ECHO_C" >&6
5286 else
5287 ac_check_lib_save_LIBS=$LIBS
5288 LIBS="-lcursesX $LIBS"
5289 cat >conftest.$ac_ext <<_ACEOF
5290 /* confdefs.h. */
5291 _ACEOF
5292 cat confdefs.h >>conftest.$ac_ext
5293 cat >>conftest.$ac_ext <<_ACEOF
5294 /* end confdefs.h. */
5295
5296 /* Override any gcc2 internal prototype to avoid an error. */
5297 #ifdef __cplusplus
5298 extern "C"
5299 #endif
5300 /* We use char because int might match the return type of a gcc2
5301 builtin and then its argument prototype would still apply. */
5302 char initscr ();
5303 int
5304 main ()
5305 {
5306 initscr ();
5307 ;
5308 return 0;
5309 }
5310 _ACEOF
5311 rm -f conftest.$ac_objext conftest$ac_exeext
5312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5313 (eval $ac_link) 2>conftest.er1
5314 ac_status=$?
5315 grep -v '^ *+' conftest.er1 >conftest.err
5316 rm -f conftest.er1
5317 cat conftest.err >&5
5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); } &&
5320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5322 (eval $ac_try) 2>&5
5323 ac_status=$?
5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325 (exit $ac_status); }; } &&
5326 { ac_try='test -s conftest$ac_exeext'
5327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5328 (eval $ac_try) 2>&5
5329 ac_status=$?
5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331 (exit $ac_status); }; }; then
5332 ac_cv_lib_cursesX_initscr=yes
5333 else
5334 echo "$as_me: failed program was:" >&5
5335 sed 's/^/| /' conftest.$ac_ext >&5
5336
5337 ac_cv_lib_cursesX_initscr=no
5338 fi
5339 rm -f conftest.err conftest.$ac_objext \
5340 conftest$ac_exeext conftest.$ac_ext
5341 LIBS=$ac_check_lib_save_LIBS
5342 fi
5343 echo "$as_me:$LINENO: result: $ac_cv_lib_cursesX_initscr" >&5
5344 echo "${ECHO_T}$ac_cv_lib_cursesX_initscr" >&6
5345 if test $ac_cv_lib_cursesX_initscr = yes; then
5346 cat >>confdefs.h <<_ACEOF
5347 @%:@define HAVE_LIBCURSESX 1
5348 _ACEOF
5349
5350 LIBS="-lcursesX $LIBS"
5351
5352 else
5353 { echo "$as_me:$LINENO: WARNING: Building without curses display support" >&5
5354 echo "$as_me: WARNING: Building without curses display support" >&2;}
5355 cat >>confdefs.h <<\_ACEOF
5356 @%:@define NO_CURSES 1
5357 _ACEOF
5358
5359 CURSES_OBJ=
5360 fi
5361
5362 fi
5363
5364 fi
5365
5366 fi
5367
5368
5369
5370 for ac_func in attron
5371 do
5372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5373 echo "$as_me:$LINENO: checking for $ac_func" >&5
5374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5375 if eval "test \"\${$as_ac_var+set}\" = set"; then
5376 echo $ECHO_N "(cached) $ECHO_C" >&6
5377 else
5378 cat >conftest.$ac_ext <<_ACEOF
5379 /* confdefs.h. */
5380 _ACEOF
5381 cat confdefs.h >>conftest.$ac_ext
5382 cat >>conftest.$ac_ext <<_ACEOF
5383 /* end confdefs.h. */
5384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5386 #define $ac_func innocuous_$ac_func
5387
5388 /* System header to define __stub macros and hopefully few prototypes,
5389 which can conflict with char $ac_func (); below.
5390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5391 <limits.h> exists even on freestanding compilers. */
5392
5393 #ifdef __STDC__
5394 # include <limits.h>
5395 #else
5396 # include <assert.h>
5397 #endif
5398
5399 #undef $ac_func
5400
5401 /* Override any gcc2 internal prototype to avoid an error. */
5402 #ifdef __cplusplus
5403 extern "C"
5404 {
5405 #endif
5406 /* We use char because int might match the return type of a gcc2
5407 builtin and then its argument prototype would still apply. */
5408 char $ac_func ();
5409 /* The GNU C library defines this for functions which it implements
5410 to always fail with ENOSYS. Some functions are actually named
5411 something starting with __ and the normal name is an alias. */
5412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5413 choke me
5414 #else
5415 char (*f) () = $ac_func;
5416 #endif
5417 #ifdef __cplusplus
5418 }
5419 #endif
5420
5421 int
5422 main ()
5423 {
5424 return f != $ac_func;
5425 ;
5426 return 0;
5427 }
5428 _ACEOF
5429 rm -f conftest.$ac_objext conftest$ac_exeext
5430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5431 (eval $ac_link) 2>conftest.er1
5432 ac_status=$?
5433 grep -v '^ *+' conftest.er1 >conftest.err
5434 rm -f conftest.er1
5435 cat conftest.err >&5
5436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5437 (exit $ac_status); } &&
5438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5440 (eval $ac_try) 2>&5
5441 ac_status=$?
5442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); }; } &&
5444 { ac_try='test -s conftest$ac_exeext'
5445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5446 (eval $ac_try) 2>&5
5447 ac_status=$?
5448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5449 (exit $ac_status); }; }; then
5450 eval "$as_ac_var=yes"
5451 else
5452 echo "$as_me: failed program was:" >&5
5453 sed 's/^/| /' conftest.$ac_ext >&5
5454
5455 eval "$as_ac_var=no"
5456 fi
5457 rm -f conftest.err conftest.$ac_objext \
5458 conftest$ac_exeext conftest.$ac_ext
5459 fi
5460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5462 if test `eval echo '${'$as_ac_var'}'` = yes; then
5463 cat >>confdefs.h <<_ACEOF
5464 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5465 _ACEOF
5466
5467 fi
5468 done
5469
5470
5471
5472
5473
5474
5475
5476
5477 for ac_header in ncurses.h ncurses/curses.h curses.h cursesX.h sys/types.h
5478 do
5479 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5481 echo "$as_me:$LINENO: checking for $ac_header" >&5
5482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5484 echo $ECHO_N "(cached) $ECHO_C" >&6
5485 fi
5486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5487 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5488 else
5489 # Is the header compilable?
5490 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5491 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5492 cat >conftest.$ac_ext <<_ACEOF
5493 /* confdefs.h. */
5494 _ACEOF
5495 cat confdefs.h >>conftest.$ac_ext
5496 cat >>conftest.$ac_ext <<_ACEOF
5497 /* end confdefs.h. */
5498 $ac_includes_default
5499 @%:@include <$ac_header>
5500 _ACEOF
5501 rm -f conftest.$ac_objext
5502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5503 (eval $ac_compile) 2>conftest.er1
5504 ac_status=$?
5505 grep -v '^ *+' conftest.er1 >conftest.err
5506 rm -f conftest.er1
5507 cat conftest.err >&5
5508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5509 (exit $ac_status); } &&
5510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5512 (eval $ac_try) 2>&5
5513 ac_status=$?
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); }; } &&
5516 { ac_try='test -s conftest.$ac_objext'
5517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5518 (eval $ac_try) 2>&5
5519 ac_status=$?
5520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 (exit $ac_status); }; }; then
5522 ac_header_compiler=yes
5523 else
5524 echo "$as_me: failed program was:" >&5
5525 sed 's/^/| /' conftest.$ac_ext >&5
5526
5527 ac_header_compiler=no
5528 fi
5529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5530 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5531 echo "${ECHO_T}$ac_header_compiler" >&6
5532
5533 # Is the header present?
5534 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5535 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5536 cat >conftest.$ac_ext <<_ACEOF
5537 /* confdefs.h. */
5538 _ACEOF
5539 cat confdefs.h >>conftest.$ac_ext
5540 cat >>conftest.$ac_ext <<_ACEOF
5541 /* end confdefs.h. */
5542 @%:@include <$ac_header>
5543 _ACEOF
5544 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5545 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5546 ac_status=$?
5547 grep -v '^ *+' conftest.er1 >conftest.err
5548 rm -f conftest.er1
5549 cat conftest.err >&5
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); } >/dev/null; then
5552 if test -s conftest.err; then
5553 ac_cpp_err=$ac_c_preproc_warn_flag
5554 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5555 else
5556 ac_cpp_err=
5557 fi
5558 else
5559 ac_cpp_err=yes
5560 fi
5561 if test -z "$ac_cpp_err"; then
5562 ac_header_preproc=yes
5563 else
5564 echo "$as_me: failed program was:" >&5
5565 sed 's/^/| /' conftest.$ac_ext >&5
5566
5567 ac_header_preproc=no
5568 fi
5569 rm -f conftest.err conftest.$ac_ext
5570 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5571 echo "${ECHO_T}$ac_header_preproc" >&6
5572
5573 # So? What about this header?
5574 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5575 yes:no: )
5576 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5577 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5579 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5580 ac_header_preproc=yes
5581 ;;
5582 no:yes:* )
5583 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5584 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5585 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5586 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5587 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5588 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5589 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5590 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5592 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5593 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5594 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5595 (
5596 cat <<\_ASBOX
5597 @%:@@%:@ ------------------------------------------ @%:@@%:@
5598 @%:@@%:@ Report this to the AC_PACKAGE_NAME lists. @%:@@%:@
5599 @%:@@%:@ ------------------------------------------ @%:@@%:@
5600 _ASBOX
5601 ) |
5602 sed "s/^/$as_me: WARNING: /" >&2
5603 ;;
5604 esac
5605 echo "$as_me:$LINENO: checking for $ac_header" >&5
5606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5608 echo $ECHO_N "(cached) $ECHO_C" >&6
5609 else
5610 eval "$as_ac_Header=\$ac_header_preproc"
5611 fi
5612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5614
5615 fi
5616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5617 cat >>confdefs.h <<_ACEOF
5618 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5619 _ACEOF
5620
5621 fi
5622
5623 done
5624
5625
5626 for ac_header in sys/xti.h
5627 do
5628 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5630 echo "$as_me:$LINENO: checking for $ac_header" >&5
5631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5633 echo $ECHO_N "(cached) $ECHO_C" >&6
5634 fi
5635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5637 else
5638 # Is the header compilable?
5639 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5640 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5641 cat >conftest.$ac_ext <<_ACEOF
5642 /* confdefs.h. */
5643 _ACEOF
5644 cat confdefs.h >>conftest.$ac_ext
5645 cat >>conftest.$ac_ext <<_ACEOF
5646 /* end confdefs.h. */
5647 $ac_includes_default
5648 @%:@include <$ac_header>
5649 _ACEOF
5650 rm -f conftest.$ac_objext
5651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5652 (eval $ac_compile) 2>conftest.er1
5653 ac_status=$?
5654 grep -v '^ *+' conftest.er1 >conftest.err
5655 rm -f conftest.er1
5656 cat conftest.err >&5
5657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 (exit $ac_status); } &&
5659 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5661 (eval $ac_try) 2>&5
5662 ac_status=$?
5663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5664 (exit $ac_status); }; } &&
5665 { ac_try='test -s conftest.$ac_objext'
5666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5667 (eval $ac_try) 2>&5
5668 ac_status=$?
5669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5670 (exit $ac_status); }; }; then
5671 ac_header_compiler=yes
5672 else
5673 echo "$as_me: failed program was:" >&5
5674 sed 's/^/| /' conftest.$ac_ext >&5
5675
5676 ac_header_compiler=no
5677 fi
5678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5679 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5680 echo "${ECHO_T}$ac_header_compiler" >&6
5681
5682 # Is the header present?
5683 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5684 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5685 cat >conftest.$ac_ext <<_ACEOF
5686 /* confdefs.h. */
5687 _ACEOF
5688 cat confdefs.h >>conftest.$ac_ext
5689 cat >>conftest.$ac_ext <<_ACEOF
5690 /* end confdefs.h. */
5691 @%:@include <$ac_header>
5692 _ACEOF
5693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5694 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5695 ac_status=$?
5696 grep -v '^ *+' conftest.er1 >conftest.err
5697 rm -f conftest.er1
5698 cat conftest.err >&5
5699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); } >/dev/null; then
5701 if test -s conftest.err; then
5702 ac_cpp_err=$ac_c_preproc_warn_flag
5703 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5704 else
5705 ac_cpp_err=
5706 fi
5707 else
5708 ac_cpp_err=yes
5709 fi
5710 if test -z "$ac_cpp_err"; then
5711 ac_header_preproc=yes
5712 else
5713 echo "$as_me: failed program was:" >&5
5714 sed 's/^/| /' conftest.$ac_ext >&5
5715
5716 ac_header_preproc=no
5717 fi
5718 rm -f conftest.err conftest.$ac_ext
5719 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5720 echo "${ECHO_T}$ac_header_preproc" >&6
5721
5722 # So? What about this header?
5723 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5724 yes:no: )
5725 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5726 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5728 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5729 ac_header_preproc=yes
5730 ;;
5731 no:yes:* )
5732 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5733 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5734 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5735 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5736 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5737 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5738 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5739 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5740 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5741 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5742 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5743 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5744 (
5745 cat <<\_ASBOX
5746 @%:@@%:@ ------------------------------------------ @%:@@%:@
5747 @%:@@%:@ Report this to the AC_PACKAGE_NAME lists. @%:@@%:@
5748 @%:@@%:@ ------------------------------------------ @%:@@%:@
5749 _ASBOX
5750 ) |
5751 sed "s/^/$as_me: WARNING: /" >&2
5752 ;;
5753 esac
5754 echo "$as_me:$LINENO: checking for $ac_header" >&5
5755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5757 echo $ECHO_N "(cached) $ECHO_C" >&6
5758 else
5759 eval "$as_ac_Header=\$ac_header_preproc"
5760 fi
5761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5762 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5763
5764 fi
5765 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5766 cat >>confdefs.h <<_ACEOF
5767 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5768 _ACEOF
5769
5770 fi
5771
5772 done
5773
5774
5775
5776 echo "$as_me:$LINENO: checking for floor in -lm" >&5
5777 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
5778 if test "${ac_cv_lib_m_floor+set}" = set; then
5779 echo $ECHO_N "(cached) $ECHO_C" >&6
5780 else
5781 ac_check_lib_save_LIBS=$LIBS
5782 LIBS="-lm $LIBS"
5783 cat >conftest.$ac_ext <<_ACEOF
5784 /* confdefs.h. */
5785 _ACEOF
5786 cat confdefs.h >>conftest.$ac_ext
5787 cat >>conftest.$ac_ext <<_ACEOF
5788 /* end confdefs.h. */
5789
5790 /* Override any gcc2 internal prototype to avoid an error. */
5791 #ifdef __cplusplus
5792 extern "C"
5793 #endif
5794 /* We use char because int might match the return type of a gcc2
5795 builtin and then its argument prototype would still apply. */
5796 char floor ();
5797 int
5798 main ()
5799 {
5800 floor ();
5801 ;
5802 return 0;
5803 }
5804 _ACEOF
5805 rm -f conftest.$ac_objext conftest$ac_exeext
5806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5807 (eval $ac_link) 2>conftest.er1
5808 ac_status=$?
5809 grep -v '^ *+' conftest.er1 >conftest.err
5810 rm -f conftest.er1
5811 cat conftest.err >&5
5812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813 (exit $ac_status); } &&
5814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5816 (eval $ac_try) 2>&5
5817 ac_status=$?
5818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5819 (exit $ac_status); }; } &&
5820 { ac_try='test -s conftest$ac_exeext'
5821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5822 (eval $ac_try) 2>&5
5823 ac_status=$?
5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825 (exit $ac_status); }; }; then
5826 ac_cv_lib_m_floor=yes
5827 else
5828 echo "$as_me: failed program was:" >&5
5829 sed 's/^/| /' conftest.$ac_ext >&5
5830
5831 ac_cv_lib_m_floor=no
5832 fi
5833 rm -f conftest.err conftest.$ac_objext \
5834 conftest$ac_exeext conftest.$ac_ext
5835 LIBS=$ac_check_lib_save_LIBS
5836 fi
5837 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
5838 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
5839 if test $ac_cv_lib_m_floor = yes; then
5840 cat >>confdefs.h <<_ACEOF
5841 @%:@define HAVE_LIBM 1
5842 _ACEOF
5843
5844 LIBS="-lm $LIBS"
5845
5846 else
5847 { { echo "$as_me:$LINENO: error: No math library found" >&5
5848 echo "$as_me: error: No math library found" >&2;}
5849 { (exit 1); exit 1; }; }
5850 fi
5851
5852
5853
5854 # Check whether --with-gtk or --without-gtk was given.
5855 if test "${with_gtk+set}" = set; then
5856 withval="$with_gtk"
5857 WANTS_GTK=$withval
5858 else
5859 WANTS_GTK=yes
5860 fi;
5861
5862 # Check whether --enable-gtk2 or --disable-gtk2 was given.
5863 if test "${enable_gtk2+set}" = set; then
5864 enableval="$enable_gtk2"
5865 WANTS_GTK2=$enableval
5866 else
5867 WANTS_GTK2=no
5868 fi;
5869
5870 # Check whether --enable-ipv6 or --disable-ipv6 was given.
5871 if test "${enable_ipv6+set}" = set; then
5872 enableval="$enable_ipv6"
5873 WANTS_IPV6=$enableval
5874 else
5875 WANTS_IPV6=yes
5876 fi;
5877
5878 if test "x$WANTS_GTK" = "xyes"; then
5879 if test "x$WANTS_GTK2" = "xyes"; then
5880 # Check whether --enable-gtktest or --disable-gtktest was given.
5881 if test "${enable_gtktest+set}" = set; then
5882 enableval="$enable_gtktest"
5883
5884 else
5885 enable_gtktest=yes
5886 fi;
5887
5888 pkg_config_args=gtk+-2.0
5889 for module in .
5890 do
5891 case "$module" in
5892 gthread)
5893 pkg_config_args="$pkg_config_args gthread-2.0"
5894 ;;
5895 esac
5896 done
5897
5898 no_gtk=""
5899
5900 # Extract the first word of "pkg-config", so it can be a program name with args.
5901 set dummy pkg-config; ac_word=$2
5902 echo "$as_me:$LINENO: checking for $ac_word" >&5
5903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5904 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5905 echo $ECHO_N "(cached) $ECHO_C" >&6
5906 else
5907 case $PKG_CONFIG in
5908 [\\/]* | ?:[\\/]*)
5909 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5910 ;;
5911 *)
5912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5913 for as_dir in $PATH
5914 do
5915 IFS=$as_save_IFS
5916 test -z "$as_dir" && as_dir=.
5917 for ac_exec_ext in '' $ac_executable_extensions; do
5918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5919 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5921 break 2
5922 fi
5923 done
5924 done
5925
5926 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5927 ;;
5928 esac
5929 fi
5930 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5931
5932 if test -n "$PKG_CONFIG"; then
5933 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5934 echo "${ECHO_T}$PKG_CONFIG" >&6
5935 else
5936 echo "$as_me:$LINENO: result: no" >&5
5937 echo "${ECHO_T}no" >&6
5938 fi
5939
5940
5941 if test x$PKG_CONFIG != xno ; then
5942 if pkg-config --atleast-pkgconfig-version 0.7 ; then
5943 :
5944 else
5945 echo "*** pkg-config too old; version 0.7 or better required."
5946 no_gtk=yes
5947 PKG_CONFIG=no
5948 fi
5949 else
5950 no_gtk=yes
5951 fi
5952
5953 min_gtk_version=2.0.0
5954 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
5955 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
5956
5957 if test x$PKG_CONFIG != xno ; then
5958 ## don't try to run the test against uninstalled libtool libs
5959 if $PKG_CONFIG --uninstalled $pkg_config_args; then
5960 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
5961 enable_gtktest=no
5962 fi
5963
5964 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
5965 :
5966 else
5967 no_gtk=yes
5968 fi
5969 fi
5970
5971 if test x"$no_gtk" = x ; then
5972 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
5973 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
5974 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
5975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
5976 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
5977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
5978 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
5979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
5980 if test "x$enable_gtktest" = "xyes" ; then
5981 ac_save_CFLAGS="$CFLAGS"
5982 ac_save_LIBS="$LIBS"
5983 CFLAGS="$CFLAGS $GTK_CFLAGS"
5984 LIBS="$GTK_LIBS $LIBS"
5985 rm -f conf.gtktest
5986 if test "$cross_compiling" = yes; then
5987 echo $ac_n "cross compiling; assumed OK... $ac_c"
5988 else
5989 cat >conftest.$ac_ext <<_ACEOF
5990 /* confdefs.h. */
5991 _ACEOF
5992 cat confdefs.h >>conftest.$ac_ext
5993 cat >>conftest.$ac_ext <<_ACEOF
5994 /* end confdefs.h. */
5995
5996 #include <gtk/gtk.h>
5997 #include <stdio.h>
5998 #include <stdlib.h>
5999
6000 int
6001 main ()
6002 {
6003 int major, minor, micro;
6004 char *tmp_version;
6005
6006 system ("touch conf.gtktest");
6007
6008 /* HP/UX 9 (%@#!) writes to sscanf strings */
6009 tmp_version = g_strdup("$min_gtk_version");
6010 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
6011 printf("%s, bad version string\n", "$min_gtk_version");
6012 exit(1);
6013 }
6014
6015 if ((gtk_major_version != $gtk_config_major_version) ||
6016 (gtk_minor_version != $gtk_config_minor_version) ||
6017 (gtk_micro_version != $gtk_config_micro_version))
6018 {
6019 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
6020 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
6021 gtk_major_version, gtk_minor_version, gtk_micro_version);
6022 printf ("*** was found! If pkg-config was correct, then it is best\n");
6023 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
6024 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
6025 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
6026 printf("*** required on your system.\n");
6027 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
6028 printf("*** to point to the correct configuration files\n");
6029 }
6030 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
6031 (gtk_minor_version != GTK_MINOR_VERSION) ||
6032 (gtk_micro_version != GTK_MICRO_VERSION))
6033 {
6034 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
6035 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
6036 printf("*** library (version %d.%d.%d)\n",
6037 gtk_major_version, gtk_minor_version, gtk_micro_version);
6038 }
6039 else
6040 {
6041 if ((gtk_major_version > major) ||
6042 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6043 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
6044 {
6045 return 0;
6046 }
6047 else
6048 {
6049 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
6050 gtk_major_version, gtk_minor_version, gtk_micro_version);
6051 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
6052 major, minor, micro);
6053 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
6054 printf("***\n");
6055 printf("*** If you have already installed a sufficiently new version, this error\n");
6056 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
6057 printf("*** being found. The easiest way to fix this is to remove the old version\n");
6058 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
6059 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
6060 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
6061 printf("*** so that the correct libraries are found at run-time))\n");
6062 }
6063 }
6064 return 1;
6065 }
6066
6067 _ACEOF
6068 rm -f conftest$ac_exeext
6069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6070 (eval $ac_link) 2>&5
6071 ac_status=$?
6072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6073 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6075 (eval $ac_try) 2>&5
6076 ac_status=$?
6077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078 (exit $ac_status); }; }; then
6079 :
6080 else
6081 echo "$as_me: program exited with status $ac_status" >&5
6082 echo "$as_me: failed program was:" >&5
6083 sed 's/^/| /' conftest.$ac_ext >&5
6084
6085 ( exit $ac_status )
6086 no_gtk=yes
6087 fi
6088 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6089 fi
6090 CFLAGS="$ac_save_CFLAGS"
6091 LIBS="$ac_save_LIBS"
6092 fi
6093 fi
6094 if test "x$no_gtk" = x ; then
6095 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
6096 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
6097 CFLAGS="$CFLAGS $GTK_CFLAGS"
6098 LIBS="$LIBS $GTK_LIBS -lm"
6099 else
6100 echo "$as_me:$LINENO: result: no" >&5
6101 echo "${ECHO_T}no" >&6
6102 if test "$PKG_CONFIG" = "no" ; then
6103 echo "*** A new enough version of pkg-config was not found."
6104 echo "*** See http://pkgconfig.sourceforge.net"
6105 else
6106 if test -f conf.gtktest ; then
6107 :
6108 else
6109 echo "*** Could not run GTK+ test program, checking why..."
6110 ac_save_CFLAGS="$CFLAGS"
6111 ac_save_LIBS="$LIBS"
6112 CFLAGS="$CFLAGS $GTK_CFLAGS"
6113 LIBS="$LIBS $GTK_LIBS"
6114 cat >conftest.$ac_ext <<_ACEOF
6115 /* confdefs.h. */
6116 _ACEOF
6117 cat confdefs.h >>conftest.$ac_ext
6118 cat >>conftest.$ac_ext <<_ACEOF
6119 /* end confdefs.h. */
6120
6121 #include <gtk/gtk.h>
6122 #include <stdio.h>
6123
6124 int
6125 main ()
6126 {
6127 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
6128 ;
6129 return 0;
6130 }
6131 _ACEOF
6132 rm -f conftest.$ac_objext conftest$ac_exeext
6133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6134 (eval $ac_link) 2>conftest.er1
6135 ac_status=$?
6136 grep -v '^ *+' conftest.er1 >conftest.err
6137 rm -f conftest.er1
6138 cat conftest.err >&5
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); } &&
6141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6143 (eval $ac_try) 2>&5
6144 ac_status=$?
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); }; } &&
6147 { ac_try='test -s conftest$ac_exeext'
6148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6149 (eval $ac_try) 2>&5
6150 ac_status=$?
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); }; }; then
6153 echo "*** The test program compiled, but did not run. This usually means"
6154 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
6155 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
6156 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
6157 echo "*** to the installed location Also, make sure you have run ldconfig if that"
6158 echo "*** is required on your system"
6159 echo "***"
6160 echo "*** If you have an old version installed, it is best to remove it, although"
6161 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
6162 else
6163 echo "$as_me: failed program was:" >&5
6164 sed 's/^/| /' conftest.$ac_ext >&5
6165
6166 echo "*** The test program failed to compile or link. See the file config.log for the"
6167 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
6168 fi
6169 rm -f conftest.err conftest.$ac_objext \
6170 conftest$ac_exeext conftest.$ac_ext
6171 CFLAGS="$ac_save_CFLAGS"
6172 LIBS="$ac_save_LIBS"
6173 fi
6174 fi
6175 GTK_CFLAGS=""
6176 GTK_LIBS=""
6177 { echo "$as_me:$LINENO: WARNING: Building without GTK2 display support" >&5
6178 echo "$as_me: WARNING: Building without GTK2 display support" >&2;}
6179 cat >>confdefs.h <<\_ACEOF
6180 @%:@define NO_GTK 1
6181 _ACEOF
6182
6183 GTK_OBJ=""
6184 fi
6185
6186
6187 rm -f conf.gtktest
6188
6189 else
6190
6191 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
6192 if test "${with_gtk_prefix+set}" = set; then
6193 withval="$with_gtk_prefix"
6194 gtk_config_prefix="$withval"
6195 else
6196 gtk_config_prefix=""
6197 fi;
6198
6199 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
6200 if test "${with_gtk_exec_prefix+set}" = set; then
6201 withval="$with_gtk_exec_prefix"
6202 gtk_config_exec_prefix="$withval"
6203 else
6204 gtk_config_exec_prefix=""
6205 fi;
6206 # Check whether --enable-gtktest or --disable-gtktest was given.
6207 if test "${enable_gtktest+set}" = set; then
6208 enableval="$enable_gtktest"
6209
6210 else
6211 enable_gtktest=yes
6212 fi;
6213
6214 for module in .
6215 do
6216 case "$module" in
6217 gthread)
6218 gtk_config_args="$gtk_config_args gthread"
6219 ;;
6220 esac
6221 done
6222
6223 if test x$gtk_config_exec_prefix != x ; then
6224 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6225 if test x${GTK_CONFIG+set} != xset ; then
6226 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
6227 fi
6228 fi
6229 if test x$gtk_config_prefix != x ; then
6230 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
6231 if test x${GTK_CONFIG+set} != xset ; then
6232 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
6233 fi
6234 fi
6235
6236 # Extract the first word of "gtk-config", so it can be a program name with args.
6237 set dummy gtk-config; ac_word=$2
6238 echo "$as_me:$LINENO: checking for $ac_word" >&5
6239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6240 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
6241 echo $ECHO_N "(cached) $ECHO_C" >&6
6242 else
6243 case $GTK_CONFIG in
6244 [\\/]* | ?:[\\/]*)
6245 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
6246 ;;
6247 *)
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 for as_dir in $PATH
6250 do
6251 IFS=$as_save_IFS
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6255 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 break 2
6258 fi
6259 done
6260 done
6261
6262 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
6263 ;;
6264 esac
6265 fi
6266 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
6267
6268 if test -n "$GTK_CONFIG"; then
6269 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
6270 echo "${ECHO_T}$GTK_CONFIG" >&6
6271 else
6272 echo "$as_me:$LINENO: result: no" >&5
6273 echo "${ECHO_T}no" >&6
6274 fi
6275
6276 min_gtk_version=1.0.0
6277 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
6278 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
6279 no_gtk=""
6280 if test "$GTK_CONFIG" = "no" ; then
6281 no_gtk=yes
6282 else
6283 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
6284 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
6285 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
6286 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
6287 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
6288 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
6289 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
6290 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
6291 if test "x$enable_gtktest" = "xyes" ; then
6292 ac_save_CFLAGS="$CFLAGS"
6293 ac_save_LIBS="$LIBS"
6294 CFLAGS="$CFLAGS $GTK_CFLAGS"
6295 LIBS="$GTK_LIBS $LIBS"
6296 rm -f conf.gtktest
6297 if test "$cross_compiling" = yes; then
6298 echo $ac_n "cross compiling; assumed OK... $ac_c"
6299 else
6300 cat >conftest.$ac_ext <<_ACEOF
6301 /* confdefs.h. */
6302 _ACEOF
6303 cat confdefs.h >>conftest.$ac_ext
6304 cat >>conftest.$ac_ext <<_ACEOF
6305 /* end confdefs.h. */
6306
6307 #include <gtk/gtk.h>
6308 #include <stdio.h>
6309 #include <stdlib.h>
6310
6311 int
6312 main ()
6313 {
6314 int major, minor, micro;
6315 char *tmp_version;
6316
6317 system ("touch conf.gtktest");
6318
6319 /* HP/UX 9 (%@#!) writes to sscanf strings */
6320 tmp_version = g_strdup("$min_gtk_version");
6321 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
6322 printf("%s, bad version string\n", "$min_gtk_version");
6323 exit(1);
6324 }
6325
6326 if ((gtk_major_version != $gtk_config_major_version) ||
6327 (gtk_minor_version != $gtk_config_minor_version) ||
6328 (gtk_micro_version != $gtk_config_micro_version))
6329 {
6330 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
6331 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
6332 gtk_major_version, gtk_minor_version, gtk_micro_version);
6333 printf ("*** was found! If gtk-config was correct, then it is best\n");
6334 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
6335 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
6336 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
6337 printf("*** required on your system.\n");
6338 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
6339 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
6340 printf("*** before re-running configure\n");
6341 }
6342 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
6343 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
6344 (gtk_minor_version != GTK_MINOR_VERSION) ||
6345 (gtk_micro_version != GTK_MICRO_VERSION))
6346 {
6347 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
6348 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
6349 printf("*** library (version %d.%d.%d)\n",
6350 gtk_major_version, gtk_minor_version, gtk_micro_version);
6351 }
6352 #endif /* defined (GTK_MAJOR_VERSION) ... */
6353 else
6354 {
6355 if ((gtk_major_version > major) ||
6356 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6357 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
6358 {
6359 return 0;
6360 }
6361 else
6362 {
6363 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
6364 gtk_major_version, gtk_minor_version, gtk_micro_version);
6365 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
6366 major, minor, micro);
6367 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
6368 printf("***\n");
6369 printf("*** If you have already installed a sufficiently new version, this error\n");
6370 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
6371 printf("*** being found. The easiest way to fix this is to remove the old version\n");
6372 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
6373 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
6374 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
6375 printf("*** so that the correct libraries are found at run-time))\n");
6376 }
6377 }
6378 return 1;
6379 }
6380
6381 _ACEOF
6382 rm -f conftest$ac_exeext
6383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6384 (eval $ac_link) 2>&5
6385 ac_status=$?
6386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6387 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6389 (eval $ac_try) 2>&5
6390 ac_status=$?
6391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392 (exit $ac_status); }; }; then
6393 :
6394 else
6395 echo "$as_me: program exited with status $ac_status" >&5
6396 echo "$as_me: failed program was:" >&5
6397 sed 's/^/| /' conftest.$ac_ext >&5
6398
6399 ( exit $ac_status )
6400 no_gtk=yes
6401 fi
6402 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6403 fi
6404 CFLAGS="$ac_save_CFLAGS"
6405 LIBS="$ac_save_LIBS"
6406 fi
6407 fi
6408 if test "x$no_gtk" = x ; then
6409 echo "$as_me:$LINENO: result: yes" >&5
6410 echo "${ECHO_T}yes" >&6
6411 CFLAGS="$CFLAGS $GTK_CFLAGS"
6412 LIBS="$LIBS $GTK_LIBS"
6413 else
6414 echo "$as_me:$LINENO: result: no" >&5
6415 echo "${ECHO_T}no" >&6
6416 if test "$GTK_CONFIG" = "no" ; then
6417 echo "*** The gtk-config script installed by GTK could not be found"
6418 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
6419 echo "*** your path, or set the GTK_CONFIG environment variable to the"
6420 echo "*** full path to gtk-config."
6421 else
6422 if test -f conf.gtktest ; then
6423 :
6424 else
6425 echo "*** Could not run GTK test program, checking why..."
6426 CFLAGS="$CFLAGS $GTK_CFLAGS"
6427 LIBS="$LIBS $GTK_LIBS"
6428 cat >conftest.$ac_ext <<_ACEOF
6429 /* confdefs.h. */
6430 _ACEOF
6431 cat confdefs.h >>conftest.$ac_ext
6432 cat >>conftest.$ac_ext <<_ACEOF
6433 /* end confdefs.h. */
6434
6435 #include <gtk/gtk.h>
6436 #include <stdio.h>
6437
6438 int
6439 main ()
6440 {
6441 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
6442 ;
6443 return 0;
6444 }
6445 _ACEOF
6446 rm -f conftest.$ac_objext conftest$ac_exeext
6447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6448 (eval $ac_link) 2>conftest.er1
6449 ac_status=$?
6450 grep -v '^ *+' conftest.er1 >conftest.err
6451 rm -f conftest.er1
6452 cat conftest.err >&5
6453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6454 (exit $ac_status); } &&
6455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6457 (eval $ac_try) 2>&5
6458 ac_status=$?
6459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460 (exit $ac_status); }; } &&
6461 { ac_try='test -s conftest$ac_exeext'
6462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6463 (eval $ac_try) 2>&5
6464 ac_status=$?
6465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466 (exit $ac_status); }; }; then
6467 echo "*** The test program compiled, but did not run. This usually means"
6468 echo "*** that the run-time linker is not finding GTK or finding the wrong"
6469 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
6470 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
6471 echo "*** to the installed location Also, make sure you have run ldconfig if that"
6472 echo "*** is required on your system"
6473 echo "***"
6474 echo "*** If you have an old version installed, it is best to remove it, although"
6475 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
6476 echo "***"
6477 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
6478 echo "*** came with the system with the command"
6479 echo "***"
6480 echo "*** rpm --erase --nodeps gtk gtk-devel"
6481 else
6482 echo "$as_me: failed program was:" >&5
6483 sed 's/^/| /' conftest.$ac_ext >&5
6484
6485 echo "*** The test program failed to compile or link. See the file config.log for the"
6486 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
6487 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
6488 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
6489 fi
6490 rm -f conftest.err conftest.$ac_objext \
6491 conftest$ac_exeext conftest.$ac_ext
6492 CFLAGS="$ac_save_CFLAGS"
6493 LIBS="$ac_save_LIBS"
6494 fi
6495 fi
6496 GTK_CFLAGS=""
6497 GTK_LIBS=""
6498 { echo "$as_me:$LINENO: WARNING: Building without GTK+ display support" >&5
6499 echo "$as_me: WARNING: Building without GTK+ display support" >&2;}
6500 cat >>confdefs.h <<\_ACEOF
6501 @%:@define NO_GTK 1
6502 _ACEOF
6503
6504 GTK_OBJ=""
6505 fi
6506
6507
6508 rm -f conf.gtktest
6509
6510 fi
6511 else
6512 cat >>confdefs.h <<\_ACEOF
6513 @%:@define NO_GTK 1
6514 _ACEOF
6515
6516 GTK_OBJ=""
6517 fi
6518
6519 echo "$as_me:$LINENO: checking for socket" >&5
6520 echo $ECHO_N "checking for socket... $ECHO_C" >&6
6521 if test "${ac_cv_func_socket+set}" = set; then
6522 echo $ECHO_N "(cached) $ECHO_C" >&6
6523 else
6524 cat >conftest.$ac_ext <<_ACEOF
6525 /* confdefs.h. */
6526 _ACEOF
6527 cat confdefs.h >>conftest.$ac_ext
6528 cat >>conftest.$ac_ext <<_ACEOF
6529 /* end confdefs.h. */
6530 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
6531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6532 #define socket innocuous_socket
6533
6534 /* System header to define __stub macros and hopefully few prototypes,
6535 which can conflict with char socket (); below.
6536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6537 <limits.h> exists even on freestanding compilers. */
6538
6539 #ifdef __STDC__
6540 # include <limits.h>
6541 #else
6542 # include <assert.h>
6543 #endif
6544
6545 #undef socket
6546
6547 /* Override any gcc2 internal prototype to avoid an error. */
6548 #ifdef __cplusplus
6549 extern "C"
6550 {
6551 #endif
6552 /* We use char because int might match the return type of a gcc2
6553 builtin and then its argument prototype would still apply. */
6554 char socket ();
6555 /* The GNU C library defines this for functions which it implements
6556 to always fail with ENOSYS. Some functions are actually named
6557 something starting with __ and the normal name is an alias. */
6558 #if defined (__stub_socket) || defined (__stub___socket)
6559 choke me
6560 #else
6561 char (*f) () = socket;
6562 #endif
6563 #ifdef __cplusplus
6564 }
6565 #endif
6566
6567 int
6568 main ()
6569 {
6570 return f != socket;
6571 ;
6572 return 0;
6573 }
6574 _ACEOF
6575 rm -f conftest.$ac_objext conftest$ac_exeext
6576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6577 (eval $ac_link) 2>conftest.er1
6578 ac_status=$?
6579 grep -v '^ *+' conftest.er1 >conftest.err
6580 rm -f conftest.er1
6581 cat conftest.err >&5
6582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); } &&
6584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6586 (eval $ac_try) 2>&5
6587 ac_status=$?
6588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589 (exit $ac_status); }; } &&
6590 { ac_try='test -s conftest$ac_exeext'
6591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6592 (eval $ac_try) 2>&5
6593 ac_status=$?
6594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6595 (exit $ac_status); }; }; then
6596 ac_cv_func_socket=yes
6597 else
6598 echo "$as_me: failed program was:" >&5
6599 sed 's/^/| /' conftest.$ac_ext >&5
6600
6601 ac_cv_func_socket=no
6602 fi
6603 rm -f conftest.err conftest.$ac_objext \
6604 conftest$ac_exeext conftest.$ac_ext
6605 fi
6606 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
6607 echo "${ECHO_T}$ac_cv_func_socket" >&6
6608 if test $ac_cv_func_socket = yes; then
6609 :
6610 else
6611
6612 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
6613 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
6614 if test "${ac_cv_lib_socket_socket+set}" = set; then
6615 echo $ECHO_N "(cached) $ECHO_C" >&6
6616 else
6617 ac_check_lib_save_LIBS=$LIBS
6618 LIBS="-lsocket $LIBS"
6619 cat >conftest.$ac_ext <<_ACEOF
6620 /* confdefs.h. */
6621 _ACEOF
6622 cat confdefs.h >>conftest.$ac_ext
6623 cat >>conftest.$ac_ext <<_ACEOF
6624 /* end confdefs.h. */
6625
6626 /* Override any gcc2 internal prototype to avoid an error. */
6627 #ifdef __cplusplus
6628 extern "C"
6629 #endif
6630 /* We use char because int might match the return type of a gcc2
6631 builtin and then its argument prototype would still apply. */
6632 char socket ();
6633 int
6634 main ()
6635 {
6636 socket ();
6637 ;
6638 return 0;
6639 }
6640 _ACEOF
6641 rm -f conftest.$ac_objext conftest$ac_exeext
6642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6643 (eval $ac_link) 2>conftest.er1
6644 ac_status=$?
6645 grep -v '^ *+' conftest.er1 >conftest.err
6646 rm -f conftest.er1
6647 cat conftest.err >&5
6648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6649 (exit $ac_status); } &&
6650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6652 (eval $ac_try) 2>&5
6653 ac_status=$?
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); }; } &&
6656 { ac_try='test -s conftest$ac_exeext'
6657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6658 (eval $ac_try) 2>&5
6659 ac_status=$?
6660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661 (exit $ac_status); }; }; then
6662 ac_cv_lib_socket_socket=yes
6663 else
6664 echo "$as_me: failed program was:" >&5
6665 sed 's/^/| /' conftest.$ac_ext >&5
6666
6667 ac_cv_lib_socket_socket=no
6668 fi
6669 rm -f conftest.err conftest.$ac_objext \
6670 conftest$ac_exeext conftest.$ac_ext
6671 LIBS=$ac_check_lib_save_LIBS
6672 fi
6673 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
6674 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
6675 if test $ac_cv_lib_socket_socket = yes; then
6676 cat >>confdefs.h <<_ACEOF
6677 @%:@define HAVE_LIBSOCKET 1
6678 _ACEOF
6679
6680 LIBS="-lsocket $LIBS"
6681
6682 else
6683 { { echo "$as_me:$LINENO: error: No socket library found" >&5
6684 echo "$as_me: error: No socket library found" >&2;}
6685 { (exit 1); exit 1; }; }
6686 fi
6687
6688 fi
6689
6690
6691 echo "$as_me:$LINENO: checking for gethostbyname" >&5
6692 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
6693 if test "${ac_cv_func_gethostbyname+set}" = set; then
6694 echo $ECHO_N "(cached) $ECHO_C" >&6
6695 else
6696 cat >conftest.$ac_ext <<_ACEOF
6697 /* confdefs.h. */
6698 _ACEOF
6699 cat confdefs.h >>conftest.$ac_ext
6700 cat >>conftest.$ac_ext <<_ACEOF
6701 /* end confdefs.h. */
6702 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
6703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6704 #define gethostbyname innocuous_gethostbyname
6705
6706 /* System header to define __stub macros and hopefully few prototypes,
6707 which can conflict with char gethostbyname (); below.
6708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6709 <limits.h> exists even on freestanding compilers. */
6710
6711 #ifdef __STDC__
6712 # include <limits.h>
6713 #else
6714 # include <assert.h>
6715 #endif
6716
6717 #undef gethostbyname
6718
6719 /* Override any gcc2 internal prototype to avoid an error. */
6720 #ifdef __cplusplus
6721 extern "C"
6722 {
6723 #endif
6724 /* We use char because int might match the return type of a gcc2
6725 builtin and then its argument prototype would still apply. */
6726 char gethostbyname ();
6727 /* The GNU C library defines this for functions which it implements
6728 to always fail with ENOSYS. Some functions are actually named
6729 something starting with __ and the normal name is an alias. */
6730 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
6731 choke me
6732 #else
6733 char (*f) () = gethostbyname;
6734 #endif
6735 #ifdef __cplusplus
6736 }
6737 #endif
6738
6739 int
6740 main ()
6741 {
6742 return f != gethostbyname;
6743 ;
6744 return 0;
6745 }
6746 _ACEOF
6747 rm -f conftest.$ac_objext conftest$ac_exeext
6748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6749 (eval $ac_link) 2>conftest.er1
6750 ac_status=$?
6751 grep -v '^ *+' conftest.er1 >conftest.err
6752 rm -f conftest.er1
6753 cat conftest.err >&5
6754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755 (exit $ac_status); } &&
6756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6758 (eval $ac_try) 2>&5
6759 ac_status=$?
6760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6761 (exit $ac_status); }; } &&
6762 { ac_try='test -s conftest$ac_exeext'
6763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6764 (eval $ac_try) 2>&5
6765 ac_status=$?
6766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6767 (exit $ac_status); }; }; then
6768 ac_cv_func_gethostbyname=yes
6769 else
6770 echo "$as_me: failed program was:" >&5
6771 sed 's/^/| /' conftest.$ac_ext >&5
6772
6773 ac_cv_func_gethostbyname=no
6774 fi
6775 rm -f conftest.err conftest.$ac_objext \
6776 conftest$ac_exeext conftest.$ac_ext
6777 fi
6778 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
6779 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
6780 if test $ac_cv_func_gethostbyname = yes; then
6781 :
6782 else
6783
6784 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6785 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6786 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6787 echo $ECHO_N "(cached) $ECHO_C" >&6
6788 else
6789 ac_check_lib_save_LIBS=$LIBS
6790 LIBS="-lnsl $LIBS"
6791 cat >conftest.$ac_ext <<_ACEOF
6792 /* confdefs.h. */
6793 _ACEOF
6794 cat confdefs.h >>conftest.$ac_ext
6795 cat >>conftest.$ac_ext <<_ACEOF
6796 /* end confdefs.h. */
6797
6798 /* Override any gcc2 internal prototype to avoid an error. */
6799 #ifdef __cplusplus
6800 extern "C"
6801 #endif
6802 /* We use char because int might match the return type of a gcc2
6803 builtin and then its argument prototype would still apply. */
6804 char gethostbyname ();
6805 int
6806 main ()
6807 {
6808 gethostbyname ();
6809 ;
6810 return 0;
6811 }
6812 _ACEOF
6813 rm -f conftest.$ac_objext conftest$ac_exeext
6814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6815 (eval $ac_link) 2>conftest.er1
6816 ac_status=$?
6817 grep -v '^ *+' conftest.er1 >conftest.err
6818 rm -f conftest.er1
6819 cat conftest.err >&5
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); } &&
6822 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6824 (eval $ac_try) 2>&5
6825 ac_status=$?
6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 (exit $ac_status); }; } &&
6828 { ac_try='test -s conftest$ac_exeext'
6829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6830 (eval $ac_try) 2>&5
6831 ac_status=$?
6832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6833 (exit $ac_status); }; }; then
6834 ac_cv_lib_nsl_gethostbyname=yes
6835 else
6836 echo "$as_me: failed program was:" >&5
6837 sed 's/^/| /' conftest.$ac_ext >&5
6838
6839 ac_cv_lib_nsl_gethostbyname=no
6840 fi
6841 rm -f conftest.err conftest.$ac_objext \
6842 conftest$ac_exeext conftest.$ac_ext
6843 LIBS=$ac_check_lib_save_LIBS
6844 fi
6845 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6846 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6847 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6848 cat >>confdefs.h <<_ACEOF
6849 @%:@define HAVE_LIBNSL 1
6850 _ACEOF
6851
6852 LIBS="-lnsl $LIBS"
6853
6854 else
6855 { { echo "$as_me:$LINENO: error: No nameservice library found" >&5
6856 echo "$as_me: error: No nameservice library found" >&2;}
6857 { (exit 1); exit 1; }; }
6858 fi
6859
6860 fi
6861
6862
6863 #AC_CHECK_FUNC(res_init, ,
6864 # AC_CHECK_LIB(bind, res_init, ,
6865 # AC_CHECK_LIB(resolv, res_init, , AC_MSG_ERROR(No resolver library found))))
6866
6867
6868 for ac_func in seteuid
6869 do
6870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6871 echo "$as_me:$LINENO: checking for $ac_func" >&5
6872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6873 if eval "test \"\${$as_ac_var+set}\" = set"; then
6874 echo $ECHO_N "(cached) $ECHO_C" >&6
6875 else
6876 cat >conftest.$ac_ext <<_ACEOF
6877 /* confdefs.h. */
6878 _ACEOF
6879 cat confdefs.h >>conftest.$ac_ext
6880 cat >>conftest.$ac_ext <<_ACEOF
6881 /* end confdefs.h. */
6882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6884 #define $ac_func innocuous_$ac_func
6885
6886 /* System header to define __stub macros and hopefully few prototypes,
6887 which can conflict with char $ac_func (); below.
6888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6889 <limits.h> exists even on freestanding compilers. */
6890
6891 #ifdef __STDC__
6892 # include <limits.h>
6893 #else
6894 # include <assert.h>
6895 #endif
6896
6897 #undef $ac_func
6898
6899 /* Override any gcc2 internal prototype to avoid an error. */
6900 #ifdef __cplusplus
6901 extern "C"
6902 {
6903 #endif
6904 /* We use char because int might match the return type of a gcc2
6905 builtin and then its argument prototype would still apply. */
6906 char $ac_func ();
6907 /* The GNU C library defines this for functions which it implements
6908 to always fail with ENOSYS. Some functions are actually named
6909 something starting with __ and the normal name is an alias. */
6910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6911 choke me
6912 #else
6913 char (*f) () = $ac_func;
6914 #endif
6915 #ifdef __cplusplus
6916 }
6917 #endif
6918
6919 int
6920 main ()
6921 {
6922 return f != $ac_func;
6923 ;
6924 return 0;
6925 }
6926 _ACEOF
6927 rm -f conftest.$ac_objext conftest$ac_exeext
6928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6929 (eval $ac_link) 2>conftest.er1
6930 ac_status=$?
6931 grep -v '^ *+' conftest.er1 >conftest.err
6932 rm -f conftest.er1
6933 cat conftest.err >&5
6934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6935 (exit $ac_status); } &&
6936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6938 (eval $ac_try) 2>&5
6939 ac_status=$?
6940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941 (exit $ac_status); }; } &&
6942 { ac_try='test -s conftest$ac_exeext'
6943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6944 (eval $ac_try) 2>&5
6945 ac_status=$?
6946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 (exit $ac_status); }; }; then
6948 eval "$as_ac_var=yes"
6949 else
6950 echo "$as_me: failed program was:" >&5
6951 sed 's/^/| /' conftest.$ac_ext >&5
6952
6953 eval "$as_ac_var=no"
6954 fi
6955 rm -f conftest.err conftest.$ac_objext \
6956 conftest$ac_exeext conftest.$ac_ext
6957 fi
6958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6960 if test `eval echo '${'$as_ac_var'}'` = yes; then
6961 cat >>confdefs.h <<_ACEOF
6962 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6963 _ACEOF
6964
6965 fi
6966 done
6967
6968 # AC_CHECK_FUNC(setuid, , AC_MSG_ERROR (I Need either seteuid or setuid))
6969
6970 echo "$as_me:$LINENO: checking for res_mkquery" >&5
6971 echo $ECHO_N "checking for res_mkquery... $ECHO_C" >&6
6972 if test "${ac_cv_func_res_mkquery+set}" = set; then
6973 echo $ECHO_N "(cached) $ECHO_C" >&6
6974 else
6975 cat >conftest.$ac_ext <<_ACEOF
6976 /* confdefs.h. */
6977 _ACEOF
6978 cat confdefs.h >>conftest.$ac_ext
6979 cat >>conftest.$ac_ext <<_ACEOF
6980 /* end confdefs.h. */
6981 /* Define res_mkquery to an innocuous variant, in case <limits.h> declares res_mkquery.
6982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6983 #define res_mkquery innocuous_res_mkquery
6984
6985 /* System header to define __stub macros and hopefully few prototypes,
6986 which can conflict with char res_mkquery (); below.
6987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6988 <limits.h> exists even on freestanding compilers. */
6989
6990 #ifdef __STDC__
6991 # include <limits.h>
6992 #else
6993 # include <assert.h>
6994 #endif
6995
6996 #undef res_mkquery
6997
6998 /* Override any gcc2 internal prototype to avoid an error. */
6999 #ifdef __cplusplus
7000 extern "C"
7001 {
7002 #endif
7003 /* We use char because int might match the return type of a gcc2
7004 builtin and then its argument prototype would still apply. */
7005 char res_mkquery ();
7006 /* The GNU C library defines this for functions which it implements
7007 to always fail with ENOSYS. Some functions are actually named
7008 something starting with __ and the normal name is an alias. */
7009 #if defined (__stub_res_mkquery) || defined (__stub___res_mkquery)
7010 choke me
7011 #else
7012 char (*f) () = res_mkquery;
7013 #endif
7014 #ifdef __cplusplus
7015 }
7016 #endif
7017
7018 int
7019 main ()
7020 {
7021 return f != res_mkquery;
7022 ;
7023 return 0;
7024 }
7025 _ACEOF
7026 rm -f conftest.$ac_objext conftest$ac_exeext
7027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7028 (eval $ac_link) 2>conftest.er1
7029 ac_status=$?
7030 grep -v '^ *+' conftest.er1 >conftest.err
7031 rm -f conftest.er1
7032 cat conftest.err >&5
7033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034 (exit $ac_status); } &&
7035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7037 (eval $ac_try) 2>&5
7038 ac_status=$?
7039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040 (exit $ac_status); }; } &&
7041 { ac_try='test -s conftest$ac_exeext'
7042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7043 (eval $ac_try) 2>&5
7044 ac_status=$?
7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046 (exit $ac_status); }; }; then
7047 ac_cv_func_res_mkquery=yes
7048 else
7049 echo "$as_me: failed program was:" >&5
7050 sed 's/^/| /' conftest.$ac_ext >&5
7051
7052 ac_cv_func_res_mkquery=no
7053 fi
7054 rm -f conftest.err conftest.$ac_objext \
7055 conftest$ac_exeext conftest.$ac_ext
7056 fi
7057 echo "$as_me:$LINENO: result: $ac_cv_func_res_mkquery" >&5
7058 echo "${ECHO_T}$ac_cv_func_res_mkquery" >&6
7059 if test $ac_cv_func_res_mkquery = yes; then
7060 :
7061 else
7062
7063 echo "$as_me:$LINENO: checking for res_mkquery in -lbind" >&5
7064 echo $ECHO_N "checking for res_mkquery in -lbind... $ECHO_C" >&6
7065 if test "${ac_cv_lib_bind_res_mkquery+set}" = set; then
7066 echo $ECHO_N "(cached) $ECHO_C" >&6
7067 else
7068 ac_check_lib_save_LIBS=$LIBS
7069 LIBS="-lbind $LIBS"
7070 cat >conftest.$ac_ext <<_ACEOF
7071 /* confdefs.h. */
7072 _ACEOF
7073 cat confdefs.h >>conftest.$ac_ext
7074 cat >>conftest.$ac_ext <<_ACEOF
7075 /* end confdefs.h. */
7076
7077 /* Override any gcc2 internal prototype to avoid an error. */
7078 #ifdef __cplusplus
7079 extern "C"
7080 #endif
7081 /* We use char because int might match the return type of a gcc2
7082 builtin and then its argument prototype would still apply. */
7083 char res_mkquery ();
7084 int
7085 main ()
7086 {
7087 res_mkquery ();
7088 ;
7089 return 0;
7090 }
7091 _ACEOF
7092 rm -f conftest.$ac_objext conftest$ac_exeext
7093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7094 (eval $ac_link) 2>conftest.er1
7095 ac_status=$?
7096 grep -v '^ *+' conftest.er1 >conftest.err
7097 rm -f conftest.er1
7098 cat conftest.err >&5
7099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100 (exit $ac_status); } &&
7101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7103 (eval $ac_try) 2>&5
7104 ac_status=$?
7105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106 (exit $ac_status); }; } &&
7107 { ac_try='test -s conftest$ac_exeext'
7108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7109 (eval $ac_try) 2>&5
7110 ac_status=$?
7111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7112 (exit $ac_status); }; }; then
7113 ac_cv_lib_bind_res_mkquery=yes
7114 else
7115 echo "$as_me: failed program was:" >&5
7116 sed 's/^/| /' conftest.$ac_ext >&5
7117
7118 ac_cv_lib_bind_res_mkquery=no
7119 fi
7120 rm -f conftest.err conftest.$ac_objext \
7121 conftest$ac_exeext conftest.$ac_ext
7122 LIBS=$ac_check_lib_save_LIBS
7123 fi
7124 echo "$as_me:$LINENO: result: $ac_cv_lib_bind_res_mkquery" >&5
7125 echo "${ECHO_T}$ac_cv_lib_bind_res_mkquery" >&6
7126 if test $ac_cv_lib_bind_res_mkquery = yes; then
7127 cat >>confdefs.h <<_ACEOF
7128 @%:@define HAVE_LIBBIND 1
7129 _ACEOF
7130
7131 LIBS="-lbind $LIBS"
7132
7133 else
7134
7135 echo "$as_me:$LINENO: checking for res_mkquery in -lresolv" >&5
7136 echo $ECHO_N "checking for res_mkquery in -lresolv... $ECHO_C" >&6
7137 if test "${ac_cv_lib_resolv_res_mkquery+set}" = set; then
7138 echo $ECHO_N "(cached) $ECHO_C" >&6
7139 else
7140 ac_check_lib_save_LIBS=$LIBS
7141 LIBS="-lresolv $LIBS"
7142 cat >conftest.$ac_ext <<_ACEOF
7143 /* confdefs.h. */
7144 _ACEOF
7145 cat confdefs.h >>conftest.$ac_ext
7146 cat >>conftest.$ac_ext <<_ACEOF
7147 /* end confdefs.h. */
7148
7149 /* Override any gcc2 internal prototype to avoid an error. */
7150 #ifdef __cplusplus
7151 extern "C"
7152 #endif
7153 /* We use char because int might match the return type of a gcc2
7154 builtin and then its argument prototype would still apply. */
7155 char res_mkquery ();
7156 int
7157 main ()
7158 {
7159 res_mkquery ();
7160 ;
7161 return 0;
7162 }
7163 _ACEOF
7164 rm -f conftest.$ac_objext conftest$ac_exeext
7165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7166 (eval $ac_link) 2>conftest.er1
7167 ac_status=$?
7168 grep -v '^ *+' conftest.er1 >conftest.err
7169 rm -f conftest.er1
7170 cat conftest.err >&5
7171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172 (exit $ac_status); } &&
7173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7175 (eval $ac_try) 2>&5
7176 ac_status=$?
7177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7178 (exit $ac_status); }; } &&
7179 { ac_try='test -s conftest$ac_exeext'
7180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7181 (eval $ac_try) 2>&5
7182 ac_status=$?
7183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7184 (exit $ac_status); }; }; then
7185 ac_cv_lib_resolv_res_mkquery=yes
7186 else
7187 echo "$as_me: failed program was:" >&5
7188 sed 's/^/| /' conftest.$ac_ext >&5
7189
7190 ac_cv_lib_resolv_res_mkquery=no
7191 fi
7192 rm -f conftest.err conftest.$ac_objext \
7193 conftest$ac_exeext conftest.$ac_ext
7194 LIBS=$ac_check_lib_save_LIBS
7195 fi
7196 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_mkquery" >&5
7197 echo "${ECHO_T}$ac_cv_lib_resolv_res_mkquery" >&6
7198 if test $ac_cv_lib_resolv_res_mkquery = yes; then
7199 cat >>confdefs.h <<_ACEOF
7200 @%:@define HAVE_LIBRESOLV 1
7201 _ACEOF
7202
7203 LIBS="-lresolv $LIBS"
7204
7205 else
7206
7207 echo "$as_me:$LINENO: checking for __res_mkquery in -lresolv" >&5
7208 echo $ECHO_N "checking for __res_mkquery in -lresolv... $ECHO_C" >&6
7209 if test "${ac_cv_lib_resolv___res_mkquery+set}" = set; then
7210 echo $ECHO_N "(cached) $ECHO_C" >&6
7211 else
7212 ac_check_lib_save_LIBS=$LIBS
7213 LIBS="-lresolv $LIBS"
7214 cat >conftest.$ac_ext <<_ACEOF
7215 /* confdefs.h. */
7216 _ACEOF
7217 cat confdefs.h >>conftest.$ac_ext
7218 cat >>conftest.$ac_ext <<_ACEOF
7219 /* end confdefs.h. */
7220
7221 /* Override any gcc2 internal prototype to avoid an error. */
7222 #ifdef __cplusplus
7223 extern "C"
7224 #endif
7225 /* We use char because int might match the return type of a gcc2
7226 builtin and then its argument prototype would still apply. */
7227 char __res_mkquery ();
7228 int
7229 main ()
7230 {
7231 __res_mkquery ();
7232 ;
7233 return 0;
7234 }
7235 _ACEOF
7236 rm -f conftest.$ac_objext conftest$ac_exeext
7237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7238 (eval $ac_link) 2>conftest.er1
7239 ac_status=$?
7240 grep -v '^ *+' conftest.er1 >conftest.err
7241 rm -f conftest.er1
7242 cat conftest.err >&5
7243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244 (exit $ac_status); } &&
7245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7247 (eval $ac_try) 2>&5
7248 ac_status=$?
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); }; } &&
7251 { ac_try='test -s conftest$ac_exeext'
7252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7253 (eval $ac_try) 2>&5
7254 ac_status=$?
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); }; }; then
7257 ac_cv_lib_resolv___res_mkquery=yes
7258 else
7259 echo "$as_me: failed program was:" >&5
7260 sed 's/^/| /' conftest.$ac_ext >&5
7261
7262 ac_cv_lib_resolv___res_mkquery=no
7263 fi
7264 rm -f conftest.err conftest.$ac_objext \
7265 conftest$ac_exeext conftest.$ac_ext
7266 LIBS=$ac_check_lib_save_LIBS
7267 fi
7268 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_mkquery" >&5
7269 echo "${ECHO_T}$ac_cv_lib_resolv___res_mkquery" >&6
7270 if test $ac_cv_lib_resolv___res_mkquery = yes; then
7271 cat >>confdefs.h <<_ACEOF
7272 @%:@define HAVE_LIBRESOLV 1
7273 _ACEOF
7274
7275 LIBS="-lresolv $LIBS"
7276
7277 else
7278 { { echo "$as_me:$LINENO: error: No resolver library found" >&5
7279 echo "$as_me: error: No resolver library found" >&2;}
7280 { (exit 1); exit 1; }; }
7281 fi
7282
7283 fi
7284
7285 fi
7286
7287 fi
7288
7289 LIBS="$LIBS -lresolv"
7290
7291 echo "$as_me:$LINENO: checking for herror" >&5
7292 echo $ECHO_N "checking for herror... $ECHO_C" >&6
7293 if test "${ac_cv_func_herror+set}" = set; then
7294 echo $ECHO_N "(cached) $ECHO_C" >&6
7295 else
7296 cat >conftest.$ac_ext <<_ACEOF
7297 /* confdefs.h. */
7298 _ACEOF
7299 cat confdefs.h >>conftest.$ac_ext
7300 cat >>conftest.$ac_ext <<_ACEOF
7301 /* end confdefs.h. */
7302 /* Define herror to an innocuous variant, in case <limits.h> declares herror.
7303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7304 #define herror innocuous_herror
7305
7306 /* System header to define __stub macros and hopefully few prototypes,
7307 which can conflict with char herror (); below.
7308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7309 <limits.h> exists even on freestanding compilers. */
7310
7311 #ifdef __STDC__
7312 # include <limits.h>
7313 #else
7314 # include <assert.h>
7315 #endif
7316
7317 #undef herror
7318
7319 /* Override any gcc2 internal prototype to avoid an error. */
7320 #ifdef __cplusplus
7321 extern "C"
7322 {
7323 #endif
7324 /* We use char because int might match the return type of a gcc2
7325 builtin and then its argument prototype would still apply. */
7326 char herror ();
7327 /* The GNU C library defines this for functions which it implements
7328 to always fail with ENOSYS. Some functions are actually named
7329 something starting with __ and the normal name is an alias. */
7330 #if defined (__stub_herror) || defined (__stub___herror)
7331 choke me
7332 #else
7333 char (*f) () = herror;
7334 #endif
7335 #ifdef __cplusplus
7336 }
7337 #endif
7338
7339 int
7340 main ()
7341 {
7342 return f != herror;
7343 ;
7344 return 0;
7345 }
7346 _ACEOF
7347 rm -f conftest.$ac_objext conftest$ac_exeext
7348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7349 (eval $ac_link) 2>conftest.er1
7350 ac_status=$?
7351 grep -v '^ *+' conftest.er1 >conftest.err
7352 rm -f conftest.er1
7353 cat conftest.err >&5
7354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7355 (exit $ac_status); } &&
7356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7358 (eval $ac_try) 2>&5
7359 ac_status=$?
7360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7361 (exit $ac_status); }; } &&
7362 { ac_try='test -s conftest$ac_exeext'
7363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7364 (eval $ac_try) 2>&5
7365 ac_status=$?
7366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7367 (exit $ac_status); }; }; then
7368 ac_cv_func_herror=yes
7369 else
7370 echo "$as_me: failed program was:" >&5
7371 sed 's/^/| /' conftest.$ac_ext >&5
7372
7373 ac_cv_func_herror=no
7374 fi
7375 rm -f conftest.err conftest.$ac_objext \
7376 conftest$ac_exeext conftest.$ac_ext
7377 fi
7378 echo "$as_me:$LINENO: result: $ac_cv_func_herror" >&5
7379 echo "${ECHO_T}$ac_cv_func_herror" >&6
7380 if test $ac_cv_func_herror = yes; then
7381 :
7382 else
7383 cat >>confdefs.h <<\_ACEOF
7384 @%:@define NO_HERROR 1
7385 _ACEOF
7386
7387 fi
7388
7389 echo "$as_me:$LINENO: checking for strerror" >&5
7390 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
7391 if test "${ac_cv_func_strerror+set}" = set; then
7392 echo $ECHO_N "(cached) $ECHO_C" >&6
7393 else
7394 cat >conftest.$ac_ext <<_ACEOF
7395 /* confdefs.h. */
7396 _ACEOF
7397 cat confdefs.h >>conftest.$ac_ext
7398 cat >>conftest.$ac_ext <<_ACEOF
7399 /* end confdefs.h. */
7400 /* Define strerror to an innocuous variant, in case <limits.h> declares strerror.
7401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7402 #define strerror innocuous_strerror
7403
7404 /* System header to define __stub macros and hopefully few prototypes,
7405 which can conflict with char strerror (); below.
7406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7407 <limits.h> exists even on freestanding compilers. */
7408
7409 #ifdef __STDC__
7410 # include <limits.h>
7411 #else
7412 # include <assert.h>
7413 #endif
7414
7415 #undef strerror
7416
7417 /* Override any gcc2 internal prototype to avoid an error. */
7418 #ifdef __cplusplus
7419 extern "C"
7420 {
7421 #endif
7422 /* We use char because int might match the return type of a gcc2
7423 builtin and then its argument prototype would still apply. */
7424 char strerror ();
7425 /* The GNU C library defines this for functions which it implements
7426 to always fail with ENOSYS. Some functions are actually named
7427 something starting with __ and the normal name is an alias. */
7428 #if defined (__stub_strerror) || defined (__stub___strerror)
7429 choke me
7430 #else
7431 char (*f) () = strerror;
7432 #endif
7433 #ifdef __cplusplus
7434 }
7435 #endif
7436
7437 int
7438 main ()
7439 {
7440 return f != strerror;
7441 ;
7442 return 0;
7443 }
7444 _ACEOF
7445 rm -f conftest.$ac_objext conftest$ac_exeext
7446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7447 (eval $ac_link) 2>conftest.er1
7448 ac_status=$?
7449 grep -v '^ *+' conftest.er1 >conftest.err
7450 rm -f conftest.er1
7451 cat conftest.err >&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); } &&
7454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7456 (eval $ac_try) 2>&5
7457 ac_status=$?
7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459 (exit $ac_status); }; } &&
7460 { ac_try='test -s conftest$ac_exeext'
7461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7462 (eval $ac_try) 2>&5
7463 ac_status=$?
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); }; }; then
7466 ac_cv_func_strerror=yes
7467 else
7468 echo "$as_me: failed program was:" >&5
7469 sed 's/^/| /' conftest.$ac_ext >&5
7470
7471 ac_cv_func_strerror=no
7472 fi
7473 rm -f conftest.err conftest.$ac_objext \
7474 conftest$ac_exeext conftest.$ac_ext
7475 fi
7476 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
7477 echo "${ECHO_T}$ac_cv_func_strerror" >&6
7478 if test $ac_cv_func_strerror = yes; then
7479 :
7480 else
7481 cat >>confdefs.h <<\_ACEOF
7482 @%:@define NO_STRERROR 1
7483 _ACEOF
7484
7485 fi
7486
7487
7488 echo "$as_me:$LINENO: checking for getaddrinfo" >&5
7489 echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
7490 if test "${ac_cv_func_getaddrinfo+set}" = set; then
7491 echo $ECHO_N "(cached) $ECHO_C" >&6
7492 else
7493 cat >conftest.$ac_ext <<_ACEOF
7494 /* confdefs.h. */
7495 _ACEOF
7496 cat confdefs.h >>conftest.$ac_ext
7497 cat >>conftest.$ac_ext <<_ACEOF
7498 /* end confdefs.h. */
7499 /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
7500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7501 #define getaddrinfo innocuous_getaddrinfo
7502
7503 /* System header to define __stub macros and hopefully few prototypes,
7504 which can conflict with char getaddrinfo (); below.
7505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7506 <limits.h> exists even on freestanding compilers. */
7507
7508 #ifdef __STDC__
7509 # include <limits.h>
7510 #else
7511 # include <assert.h>
7512 #endif
7513
7514 #undef getaddrinfo
7515
7516 /* Override any gcc2 internal prototype to avoid an error. */
7517 #ifdef __cplusplus
7518 extern "C"
7519 {
7520 #endif
7521 /* We use char because int might match the return type of a gcc2
7522 builtin and then its argument prototype would still apply. */
7523 char getaddrinfo ();
7524 /* The GNU C library defines this for functions which it implements
7525 to always fail with ENOSYS. Some functions are actually named
7526 something starting with __ and the normal name is an alias. */
7527 #if defined (__stub_getaddrinfo) || defined (__stub___getaddrinfo)
7528 choke me
7529 #else
7530 char (*f) () = getaddrinfo;
7531 #endif
7532 #ifdef __cplusplus
7533 }
7534 #endif
7535
7536 int
7537 main ()
7538 {
7539 return f != getaddrinfo;
7540 ;
7541 return 0;
7542 }
7543 _ACEOF
7544 rm -f conftest.$ac_objext conftest$ac_exeext
7545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7546 (eval $ac_link) 2>conftest.er1
7547 ac_status=$?
7548 grep -v '^ *+' conftest.er1 >conftest.err
7549 rm -f conftest.er1
7550 cat conftest.err >&5
7551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7552 (exit $ac_status); } &&
7553 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7555 (eval $ac_try) 2>&5
7556 ac_status=$?
7557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7558 (exit $ac_status); }; } &&
7559 { ac_try='test -s conftest$ac_exeext'
7560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7561 (eval $ac_try) 2>&5
7562 ac_status=$?
7563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564 (exit $ac_status); }; }; then
7565 ac_cv_func_getaddrinfo=yes
7566 else
7567 echo "$as_me: failed program was:" >&5
7568 sed 's/^/| /' conftest.$ac_ext >&5
7569
7570 ac_cv_func_getaddrinfo=no
7571 fi
7572 rm -f conftest.err conftest.$ac_objext \
7573 conftest$ac_exeext conftest.$ac_ext
7574 fi
7575 echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
7576 echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6
7577 if test $ac_cv_func_getaddrinfo = yes; then
7578 if test "$WANTS_IPV6" = "yes"; then
7579
7580 cat >>confdefs.h <<\_ACEOF
7581 @%:@define ENABLE_IPV6
7582 _ACEOF
7583
7584 fi
7585 fi
7586
7587
7588 echo "$as_me:$LINENO: checking for C flags to get more warnings" >&5
7589 echo $ECHO_N "checking for C flags to get more warnings... $ECHO_C" >&6
7590 ac_save_CFLAGS="$CFLAGS"
7591 if test "x$ac_cv_c_compiler_gnu" = "xyes" ; then
7592 warning_CFLAGS="-Wall"
7593 else
7594 case "$host_os" in
7595 irix*)
7596 CFLAGS="$CFLAGS -fullwarn"
7597 cat >conftest.$ac_ext <<_ACEOF
7598 /* confdefs.h. */
7599 _ACEOF
7600 cat confdefs.h >>conftest.$ac_ext
7601 cat >>conftest.$ac_ext <<_ACEOF
7602 /* end confdefs.h. */
7603 #include <stdio.h>
7604 int
7605 main ()
7606 {
7607 printf("test");
7608 ;
7609 return 0;
7610 }
7611 _ACEOF
7612 rm -f conftest.$ac_objext
7613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7614 (eval $ac_compile) 2>conftest.er1
7615 ac_status=$?
7616 grep -v '^ *+' conftest.er1 >conftest.err
7617 rm -f conftest.er1
7618 cat conftest.err >&5
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 (exit $ac_status); } &&
7621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7623 (eval $ac_try) 2>&5
7624 ac_status=$?
7625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7626 (exit $ac_status); }; } &&
7627 { ac_try='test -s conftest.$ac_objext'
7628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7629 (eval $ac_try) 2>&5
7630 ac_status=$?
7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632 (exit $ac_status); }; }; then
7633 warning_CFLAGS="-fullwarn"
7634 else
7635 echo "$as_me: failed program was:" >&5
7636 sed 's/^/| /' conftest.$ac_ext >&5
7637
7638 fi
7639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7640 ;;
7641
7642 sunos*)
7643 if "$CC" = "acc" ; then
7644 CFLAGS="$CFLAGS -vc"
7645 cat >conftest.$ac_ext <<_ACEOF
7646 /* confdefs.h. */
7647 _ACEOF
7648 cat confdefs.h >>conftest.$ac_ext
7649 cat >>conftest.$ac_ext <<_ACEOF
7650 /* end confdefs.h. */
7651 #include <stdio.h>
7652 int
7653 main ()
7654 {
7655 printf("test");
7656 ;
7657 return 0;
7658 }
7659 _ACEOF
7660 rm -f conftest.$ac_objext
7661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7662 (eval $ac_compile) 2>conftest.er1
7663 ac_status=$?
7664 grep -v '^ *+' conftest.er1 >conftest.err
7665 rm -f conftest.er1
7666 cat conftest.err >&5
7667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7668 (exit $ac_status); } &&
7669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7671 (eval $ac_try) 2>&5
7672 ac_status=$?
7673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7674 (exit $ac_status); }; } &&
7675 { ac_try='test -s conftest.$ac_objext'
7676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7677 (eval $ac_try) 2>&5
7678 ac_status=$?
7679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7680 (exit $ac_status); }; }; then
7681 warning_CFLAGS="-vc"
7682 else
7683 echo "$as_me: failed program was:" >&5
7684 sed 's/^/| /' conftest.$ac_ext >&5
7685
7686 fi
7687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7688 fi
7689 ;;
7690
7691 *)
7692 warning_CFLAGS="none"
7693 ;;
7694 esac
7695 fi
7696 CFLAGS="$ac_save_CFLAGS"
7697 if test "$warning_CFLAGS" = "none" ; then
7698 echo "$as_me:$LINENO: result: none" >&5
7699 echo "${ECHO_T}none" >&6
7700 else
7701 CFLAGS="$CFLAGS $warning_CFLAGS"
7702 echo "$as_me:$LINENO: result: $warning_CFLAGS" >&5
7703 echo "${ECHO_T}$warning_CFLAGS" >&6
7704 fi
7705
7706
7707
7708
7709 ac_config_headers="$ac_config_headers config.h"
7710
7711 ac_config_files="$ac_config_files Makefile img/Makefile"
7712 cat >confcache <<\_ACEOF
7713 # This file is a shell script that caches the results of configure
7714 # tests run on this system so they can be shared between configure
7715 # scripts and configure runs, see configure's option --config-cache.
7716 # It is not useful on other systems. If it contains results you don't
7717 # want to keep, you may remove or edit it.
7718 #
7719 # config.status only pays attention to the cache file if you give it
7720 # the --recheck option to rerun configure.
7721 #
7722 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7723 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7724 # following values.
7725
7726 _ACEOF
7727
7728 # The following way of writing the cache mishandles newlines in values,
7729 # but we know of no workaround that is simple, portable, and efficient.
7730 # So, don't put newlines in cache variables' values.
7731 # Ultrix sh set writes to stderr and can't be redirected directly,
7732 # and sets the high bit in the cache file unless we assign to the vars.
7733 {
7734 (set) 2>&1 |
7735 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7736 *ac_space=\ *)
7737 # `set' does not quote correctly, so add quotes (double-quote
7738 # substitution turns \\\\ into \\, and sed turns \\ into \).
7739 sed -n \
7740 "s/'/'\\\\''/g;
7741 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7742 ;;
7743 *)
7744 # `set' quotes correctly as required by POSIX, so do not add quotes.
7745 sed -n \
7746 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7747 ;;
7748 esac;
7749 } |
7750 sed '
7751 t clear
7752 : clear
7753 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7754 t end
7755 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7756 : end' >>confcache
7757 if diff $cache_file confcache >/dev/null 2>&1; then :; else
7758 if test -w $cache_file; then
7759 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7760 cat confcache >$cache_file
7761 else
7762 echo "not updating unwritable cache $cache_file"
7763 fi
7764 fi
7765 rm -f confcache
7766
7767 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7768 # Let make expand exec_prefix.
7769 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7770
7771 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7772 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7773 # trailing colons and then remove the whole line if VPATH becomes empty
7774 # (actually we leave an empty line to preserve line numbers).
7775 if test "x$srcdir" = x.; then
7776 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7777 s/:*\$(srcdir):*/:/;
7778 s/:*\${srcdir}:*/:/;
7779 s/:*@srcdir@:*/:/;
7780 s/^\([^=]*=[ ]*\):*/\1/;
7781 s/:*$//;
7782 s/^[^=]*=[ ]*$//;
7783 }'
7784 fi
7785
7786 DEFS=-DHAVE_CONFIG_H
7787
7788 ac_libobjs=
7789 ac_ltlibobjs=
7790 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
7791 # 1. Remove the extension, and $U if already installed.
7792 ac_i=`echo "$ac_i" |
7793 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7794 # 2. Add them.
7795 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7796 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7797 done
7798 LIB@&t@OBJS=$ac_libobjs
7799
7800 LTLIBOBJS=$ac_ltlibobjs
7801
7802
7803 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7804 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7805 Usually this means the macro was only invoked conditionally." >&5
7806 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7807 Usually this means the macro was only invoked conditionally." >&2;}
7808 { (exit 1); exit 1; }; }
7809 fi
7810 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7811 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7812 Usually this means the macro was only invoked conditionally." >&5
7813 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7814 Usually this means the macro was only invoked conditionally." >&2;}
7815 { (exit 1); exit 1; }; }
7816 fi
7817
7818 : ${CONFIG_STATUS=./config.status}
7819 ac_clean_files_save=$ac_clean_files
7820 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7821 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7822 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7823 cat >$CONFIG_STATUS <<_ACEOF
7824 #! $SHELL
7825 # Generated by $as_me.
7826 # Run this file to recreate the current configuration.
7827 # Compiler output produced by configure, useful for debugging
7828 # configure, is in config.log if it exists.
7829
7830 debug=false
7831 ac_cs_recheck=false
7832 ac_cs_silent=false
7833 SHELL=\${CONFIG_SHELL-$SHELL}
7834 _ACEOF
7835
7836 cat >>$CONFIG_STATUS <<\_ACEOF
7837 ## --------------------- ##
7838 ## M4sh Initialization. ##
7839 ## --------------------- ##
7840
7841 # Be Bourne compatible
7842 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7843 emulate sh
7844 NULLCMD=:
7845 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7846 # is contrary to our usage. Disable this feature.
7847 alias -g '${1+"$@"}'='"$@"'
7848 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7849 set -o posix
7850 fi
7851 DUALCASE=1; export DUALCASE # for MKS sh
7852
7853 # Support unset when possible.
7854 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7855 as_unset=unset
7856 else
7857 as_unset=false
7858 fi
7859
7860
7861 # Work around bugs in pre-3.0 UWIN ksh.
7862 $as_unset ENV MAIL MAILPATH
7863 PS1='$ '
7864 PS2='> '
7865 PS4='+ '
7866
7867 # NLS nuisances.
7868 for as_var in \
7869 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7870 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7871 LC_TELEPHONE LC_TIME
7872 do
7873 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7874 eval $as_var=C; export $as_var
7875 else
7876 $as_unset $as_var
7877 fi
7878 done
7879
7880 # Required to use basename.
7881 if expr a : '\(a\)' >/dev/null 2>&1; then
7882 as_expr=expr
7883 else
7884 as_expr=false
7885 fi
7886
7887 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7888 as_basename=basename
7889 else
7890 as_basename=false
7891 fi
7892
7893
7894 # Name of the executable.
7895 as_me=`$as_basename "$0" ||
7896 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7897 X"$0" : 'X\(//\)$' \| \
7898 X"$0" : 'X\(/\)$' \| \
7899 . : '\(.\)' 2>/dev/null ||
7900 echo X/"$0" |
7901 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7902 /^X\/\(\/\/\)$/{ s//\1/; q; }
7903 /^X\/\(\/\).*/{ s//\1/; q; }
7904 s/.*/./; q'`
7905
7906
7907 # PATH needs CR, and LINENO needs CR and PATH.
7908 # Avoid depending upon Character Ranges.
7909 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7910 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7911 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7912 as_cr_digits='0123456789'
7913 as_cr_alnum=$as_cr_Letters$as_cr_digits
7914
7915 # The user is always right.
7916 if test "${PATH_SEPARATOR+set}" != set; then
7917 echo "#! /bin/sh" >conf$$.sh
7918 echo "exit 0" >>conf$$.sh
7919 chmod +x conf$$.sh
7920 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7921 PATH_SEPARATOR=';'
7922 else
7923 PATH_SEPARATOR=:
7924 fi
7925 rm -f conf$$.sh
7926 fi
7927
7928
7929 as_lineno_1=$LINENO
7930 as_lineno_2=$LINENO
7931 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7932 test "x$as_lineno_1" != "x$as_lineno_2" &&
7933 test "x$as_lineno_3" = "x$as_lineno_2" || {
7934 # Find who we are. Look in the path if we contain no path at all
7935 # relative or not.
7936 case $0 in
7937 *[\\/]* ) as_myself=$0 ;;
7938 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7939 for as_dir in $PATH
7940 do
7941 IFS=$as_save_IFS
7942 test -z "$as_dir" && as_dir=.
7943 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7944 done
7945
7946 ;;
7947 esac
7948 # We did not find ourselves, most probably we were run as `sh COMMAND'
7949 # in which case we are not to be found in the path.
7950 if test "x$as_myself" = x; then
7951 as_myself=$0
7952 fi
7953 if test ! -f "$as_myself"; then
7954 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7955 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7956 { (exit 1); exit 1; }; }
7957 fi
7958 case $CONFIG_SHELL in
7959 '')
7960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7961 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7962 do
7963 IFS=$as_save_IFS
7964 test -z "$as_dir" && as_dir=.
7965 for as_base in sh bash ksh sh5; do
7966 case $as_dir in
7967 /*)
7968 if ("$as_dir/$as_base" -c '
7969 as_lineno_1=$LINENO
7970 as_lineno_2=$LINENO
7971 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7972 test "x$as_lineno_1" != "x$as_lineno_2" &&
7973 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
7974 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7975 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7976 CONFIG_SHELL=$as_dir/$as_base
7977 export CONFIG_SHELL
7978 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7979 fi;;
7980 esac
7981 done
7982 done
7983 ;;
7984 esac
7985
7986 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7987 # uniformly replaced by the line number. The first 'sed' inserts a
7988 # line-number line before each line; the second 'sed' does the real
7989 # work. The second script uses 'N' to pair each line-number line
7990 # with the numbered line, and appends trailing '-' during
7991 # substitution so that $LINENO is not a special case at line end.
7992 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7993 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7994 sed '=' <$as_myself |
7995 sed '
7996 N
7997 s,$,-,
7998 : loop
7999 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8000 t loop
8001 s,-$,,
8002 s,^['$as_cr_digits']*\n,,
8003 ' >$as_me.lineno &&
8004 chmod +x $as_me.lineno ||
8005 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8006 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8007 { (exit 1); exit 1; }; }
8008
8009 # Don't try to exec as it changes $[0], causing all sort of problems
8010 # (the dirname of $[0] is not the place where we might find the
8011 # original and so on. Autoconf is especially sensible to this).
8012 . ./$as_me.lineno
8013 # Exit status is that of the last command.
8014 exit
8015 }
8016
8017
8018 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8019 *c*,-n*) ECHO_N= ECHO_C='
8020 ' ECHO_T=' ' ;;
8021 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8022 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
8023 esac
8024
8025 if expr a : '\(a\)' >/dev/null 2>&1; then
8026 as_expr=expr
8027 else
8028 as_expr=false
8029 fi
8030
8031 rm -f conf$$ conf$$.exe conf$$.file
8032 echo >conf$$.file
8033 if ln -s conf$$.file conf$$ 2>/dev/null; then
8034 # We could just check for DJGPP; but this test a) works b) is more generic
8035 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8036 if test -f conf$$.exe; then
8037 # Don't use ln at all; we don't have any links
8038 as_ln_s='cp -p'
8039 else
8040 as_ln_s='ln -s'
8041 fi
8042 elif ln conf$$.file conf$$ 2>/dev/null; then
8043 as_ln_s=ln
8044 else
8045 as_ln_s='cp -p'
8046 fi
8047 rm -f conf$$ conf$$.exe conf$$.file
8048
8049 if mkdir -p . 2>/dev/null; then
8050 as_mkdir_p=:
8051 else
8052 test -d ./-p && rmdir ./-p
8053 as_mkdir_p=false
8054 fi
8055
8056 as_executable_p="test -f"
8057
8058 # Sed expression to map a string onto a valid CPP name.
8059 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8060
8061 # Sed expression to map a string onto a valid variable name.
8062 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8063
8064
8065 # IFS
8066 # We need space, tab and new line, in precisely that order.
8067 as_nl='
8068 '
8069 IFS=" $as_nl"
8070
8071 # CDPATH.
8072 $as_unset CDPATH
8073
8074 exec 6>&1
8075
8076 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8077 # report actual input values of CONFIG_FILES etc. instead of their
8078 # values after options handling. Logging --version etc. is OK.
8079 exec 5>>config.log
8080 {
8081 echo
8082 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
8083 @%:@@%:@ Running $as_me. @%:@@%:@
8084 _ASBOX
8085 } >&5
8086 cat >&5 <<_CSEOF
8087
8088 This file was extended by $as_me, which was
8089 generated by GNU Autoconf 2.59. Invocation command line was
8090
8091 CONFIG_FILES = $CONFIG_FILES
8092 CONFIG_HEADERS = $CONFIG_HEADERS
8093 CONFIG_LINKS = $CONFIG_LINKS
8094 CONFIG_COMMANDS = $CONFIG_COMMANDS
8095 $ $0 $@
8096
8097 _CSEOF
8098 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8099 echo >&5
8100 _ACEOF
8101
8102 # Files that config.status was made for.
8103 if test -n "$ac_config_files"; then
8104 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8105 fi
8106
8107 if test -n "$ac_config_headers"; then
8108 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8109 fi
8110
8111 if test -n "$ac_config_links"; then
8112 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8113 fi
8114
8115 if test -n "$ac_config_commands"; then
8116 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8117 fi
8118
8119 cat >>$CONFIG_STATUS <<\_ACEOF
8120
8121 ac_cs_usage="\
8122 \`$as_me' instantiates files from templates according to the
8123 current configuration.
8124
8125 Usage: $0 [OPTIONS] [FILE]...
8126
8127 -h, --help print this help, then exit
8128 -V, --version print version number, then exit
8129 -q, --quiet do not print progress messages
8130 -d, --debug don't remove temporary files
8131 --recheck update $as_me by reconfiguring in the same conditions
8132 --file=FILE[:TEMPLATE]
8133 instantiate the configuration file FILE
8134 --header=FILE[:TEMPLATE]
8135 instantiate the configuration header FILE
8136
8137 Configuration files:
8138 $config_files
8139
8140 Configuration headers:
8141 $config_headers
8142
8143 Configuration commands:
8144 $config_commands
8145
8146 Report bugs to <bug-autoconf@gnu.org>."
8147 _ACEOF
8148
8149 cat >>$CONFIG_STATUS <<_ACEOF
8150 ac_cs_version="\\
8151 config.status
8152 configured by $0, generated by GNU Autoconf 2.59,
8153 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8154
8155 Copyright (C) 2003 Free Software Foundation, Inc.
8156 This config.status script is free software; the Free Software Foundation
8157 gives unlimited permission to copy, distribute and modify it."
8158 srcdir=$srcdir
8159 INSTALL="$INSTALL"
8160 _ACEOF
8161
8162 cat >>$CONFIG_STATUS <<\_ACEOF
8163 # If no file are specified by the user, then we need to provide default
8164 # value. By we need to know if files were specified by the user.
8165 ac_need_defaults=:
8166 while test $# != 0
8167 do
8168 case $1 in
8169 --*=*)
8170 ac_option=`expr "x$1" : 'x\([^=]*\)='`
8171 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8172 ac_shift=:
8173 ;;
8174 -*)
8175 ac_option=$1
8176 ac_optarg=$2
8177 ac_shift=shift
8178 ;;
8179 *) # This is not an option, so the user has probably given explicit
8180 # arguments.
8181 ac_option=$1
8182 ac_need_defaults=false;;
8183 esac
8184
8185 case $ac_option in
8186 # Handling of the options.
8187 _ACEOF
8188 cat >>$CONFIG_STATUS <<\_ACEOF
8189 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8190 ac_cs_recheck=: ;;
8191 --version | --vers* | -V )
8192 echo "$ac_cs_version"; exit 0 ;;
8193 --he | --h)
8194 # Conflict between --help and --header
8195 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8196 Try \`$0 --help' for more information." >&5
8197 echo "$as_me: error: ambiguous option: $1
8198 Try \`$0 --help' for more information." >&2;}
8199 { (exit 1); exit 1; }; };;
8200 --help | --hel | -h )
8201 echo "$ac_cs_usage"; exit 0 ;;
8202 --debug | --d* | -d )
8203 debug=: ;;
8204 --file | --fil | --fi | --f )
8205 $ac_shift
8206 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8207 ac_need_defaults=false;;
8208 --header | --heade | --head | --hea )
8209 $ac_shift
8210 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8211 ac_need_defaults=false;;
8212 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8213 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8214 ac_cs_silent=: ;;
8215
8216 # This is an error.
8217 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8218 Try \`$0 --help' for more information." >&5
8219 echo "$as_me: error: unrecognized option: $1
8220 Try \`$0 --help' for more information." >&2;}
8221 { (exit 1); exit 1; }; } ;;
8222
8223 *) ac_config_targets="$ac_config_targets $1" ;;
8224
8225 esac
8226 shift
8227 done
8228
8229 ac_configure_extra_args=
8230
8231 if $ac_cs_silent; then
8232 exec 6>/dev/null
8233 ac_configure_extra_args="$ac_configure_extra_args --silent"
8234 fi
8235
8236 _ACEOF
8237 cat >>$CONFIG_STATUS <<_ACEOF
8238 if \$ac_cs_recheck; then
8239 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8240 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8241 fi
8242
8243 _ACEOF
8244
8245 cat >>$CONFIG_STATUS <<_ACEOF
8246 #
8247 # INIT-COMMANDS section.
8248 #
8249
8250 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8251
8252 _ACEOF
8253
8254
8255
8256 cat >>$CONFIG_STATUS <<\_ACEOF
8257 for ac_config_target in $ac_config_targets
8258 do
8259 case "$ac_config_target" in
8260 # Handling of arguments.
8261 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8262 "img/Makefile" ) CONFIG_FILES="$CONFIG_FILES img/Makefile" ;;
8263 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8264 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8265 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8266 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8267 { (exit 1); exit 1; }; };;
8268 esac
8269 done
8270
8271 # If the user did not use the arguments to specify the items to instantiate,
8272 # then the envvar interface is used. Set only those that are not.
8273 # We use the long form for the default assignment because of an extremely
8274 # bizarre bug on SunOS 4.1.3.
8275 if $ac_need_defaults; then
8276 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8277 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8278 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8279 fi
8280
8281 # Have a temporary directory for convenience. Make it in the build tree
8282 # simply because there is no reason to put it here, and in addition,
8283 # creating and moving files from /tmp can sometimes cause problems.
8284 # Create a temporary directory, and hook for its removal unless debugging.
8285 $debug ||
8286 {
8287 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8288 trap '{ (exit 1); exit 1; }' 1 2 13 15
8289 }
8290
8291 # Create a (secure) tmp directory for tmp files.
8292
8293 {
8294 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8295 test -n "$tmp" && test -d "$tmp"
8296 } ||
8297 {
8298 tmp=./confstat$$-$RANDOM
8299 (umask 077 && mkdir $tmp)
8300 } ||
8301 {
8302 echo "$me: cannot create a temporary directory in ." >&2
8303 { (exit 1); exit 1; }
8304 }
8305
8306 _ACEOF
8307
8308 cat >>$CONFIG_STATUS <<_ACEOF
8309
8310 #
8311 # CONFIG_FILES section.
8312 #
8313
8314 # No need to generate the scripts if there are no CONFIG_FILES.
8315 # This happens for instance when ./config.status config.h
8316 if test -n "\$CONFIG_FILES"; then
8317 # Protect against being on the right side of a sed subst in config.status.
8318 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8319 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8320 s,@SHELL@,$SHELL,;t t
8321 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8322 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8323 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8324 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8325 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8326 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8327 s,@exec_prefix@,$exec_prefix,;t t
8328 s,@prefix@,$prefix,;t t
8329 s,@program_transform_name@,$program_transform_name,;t t
8330 s,@bindir@,$bindir,;t t
8331 s,@sbindir@,$sbindir,;t t
8332 s,@libexecdir@,$libexecdir,;t t
8333 s,@datadir@,$datadir,;t t
8334 s,@sysconfdir@,$sysconfdir,;t t
8335 s,@sharedstatedir@,$sharedstatedir,;t t
8336 s,@localstatedir@,$localstatedir,;t t
8337 s,@libdir@,$libdir,;t t
8338 s,@includedir@,$includedir,;t t
8339 s,@oldincludedir@,$oldincludedir,;t t
8340 s,@infodir@,$infodir,;t t
8341 s,@mandir@,$mandir,;t t
8342 s,@build_alias@,$build_alias,;t t
8343 s,@host_alias@,$host_alias,;t t
8344 s,@target_alias@,$target_alias,;t t
8345 s,@DEFS@,$DEFS,;t t
8346 s,@ECHO_C@,$ECHO_C,;t t
8347 s,@ECHO_N@,$ECHO_N,;t t
8348 s,@ECHO_T@,$ECHO_T,;t t
8349 s,@LIBS@,$LIBS,;t t
8350 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8351 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8352 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8353 s,@CYGPATH_W@,$CYGPATH_W,;t t
8354 s,@PACKAGE@,$PACKAGE,;t t
8355 s,@VERSION@,$VERSION,;t t
8356 s,@ACLOCAL@,$ACLOCAL,;t t
8357 s,@AUTOCONF@,$AUTOCONF,;t t
8358 s,@AUTOMAKE@,$AUTOMAKE,;t t
8359 s,@AUTOHEADER@,$AUTOHEADER,;t t
8360 s,@MAKEINFO@,$MAKEINFO,;t t
8361 s,@install_sh@,$install_sh,;t t
8362 s,@STRIP@,$STRIP,;t t
8363 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8364 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8365 s,@mkdir_p@,$mkdir_p,;t t
8366 s,@AWK@,$AWK,;t t
8367 s,@SET_MAKE@,$SET_MAKE,;t t
8368 s,@am__leading_dot@,$am__leading_dot,;t t
8369 s,@AMTAR@,$AMTAR,;t t
8370 s,@am__tar@,$am__tar,;t t
8371 s,@am__untar@,$am__untar,;t t
8372 s,@GTK_OBJ@,$GTK_OBJ,;t t
8373 s,@CURSES_OBJ@,$CURSES_OBJ,;t t
8374 s,@CC@,$CC,;t t
8375 s,@CFLAGS@,$CFLAGS,;t t
8376 s,@LDFLAGS@,$LDFLAGS,;t t
8377 s,@CPPFLAGS@,$CPPFLAGS,;t t
8378 s,@ac_ct_CC@,$ac_ct_CC,;t t
8379 s,@EXEEXT@,$EXEEXT,;t t
8380 s,@OBJEXT@,$OBJEXT,;t t
8381 s,@DEPDIR@,$DEPDIR,;t t
8382 s,@am__include@,$am__include,;t t
8383 s,@am__quote@,$am__quote,;t t
8384 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8385 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8386 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8387 s,@CCDEPMODE@,$CCDEPMODE,;t t
8388 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
8389 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
8390 s,@CPP@,$CPP,;t t
8391 s,@EGREP@,$EGREP,;t t
8392 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
8393 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
8394 s,@GTK_LIBS@,$GTK_LIBS,;t t
8395 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
8396 s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
8397 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8398 CEOF
8399
8400 _ACEOF
8401
8402 cat >>$CONFIG_STATUS <<\_ACEOF
8403 # Split the substitutions into bite-sized pieces for seds with
8404 # small command number limits, like on Digital OSF/1 and HP-UX.
8405 ac_max_sed_lines=48
8406 ac_sed_frag=1 # Number of current file.
8407 ac_beg=1 # First line for current file.
8408 ac_end=$ac_max_sed_lines # Line after last line for current file.
8409 ac_more_lines=:
8410 ac_sed_cmds=
8411 while $ac_more_lines; do
8412 if test $ac_beg -gt 1; then
8413 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8414 else
8415 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8416 fi
8417 if test ! -s $tmp/subs.frag; then
8418 ac_more_lines=false
8419 else
8420 # The purpose of the label and of the branching condition is to
8421 # speed up the sed processing (if there are no `@' at all, there
8422 # is no need to browse any of the substitutions).
8423 # These are the two extra sed commands mentioned above.
8424 (echo ':t
8425 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8426 if test -z "$ac_sed_cmds"; then
8427 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8428 else
8429 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8430 fi
8431 ac_sed_frag=`expr $ac_sed_frag + 1`
8432 ac_beg=$ac_end
8433 ac_end=`expr $ac_end + $ac_max_sed_lines`
8434 fi
8435 done
8436 if test -z "$ac_sed_cmds"; then
8437 ac_sed_cmds=cat
8438 fi
8439 fi # test -n "$CONFIG_FILES"
8440
8441 _ACEOF
8442 cat >>$CONFIG_STATUS <<\_ACEOF
8443 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8444 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8445 case $ac_file in
8446 - | *:- | *:-:* ) # input from stdin
8447 cat >$tmp/stdin
8448 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8449 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8450 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8451 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8452 * ) ac_file_in=$ac_file.in ;;
8453 esac
8454
8455 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8456 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8457 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8458 X"$ac_file" : 'X\(//\)[^/]' \| \
8459 X"$ac_file" : 'X\(//\)$' \| \
8460 X"$ac_file" : 'X\(/\)' \| \
8461 . : '\(.\)' 2>/dev/null ||
8462 echo X"$ac_file" |
8463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8464 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8465 /^X\(\/\/\)$/{ s//\1/; q; }
8466 /^X\(\/\).*/{ s//\1/; q; }
8467 s/.*/./; q'`
8468 { if $as_mkdir_p; then
8469 mkdir -p "$ac_dir"
8470 else
8471 as_dir="$ac_dir"
8472 as_dirs=
8473 while test ! -d "$as_dir"; do
8474 as_dirs="$as_dir $as_dirs"
8475 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8476 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8477 X"$as_dir" : 'X\(//\)[^/]' \| \
8478 X"$as_dir" : 'X\(//\)$' \| \
8479 X"$as_dir" : 'X\(/\)' \| \
8480 . : '\(.\)' 2>/dev/null ||
8481 echo X"$as_dir" |
8482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8483 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8484 /^X\(\/\/\)$/{ s//\1/; q; }
8485 /^X\(\/\).*/{ s//\1/; q; }
8486 s/.*/./; q'`
8487 done
8488 test ! -n "$as_dirs" || mkdir $as_dirs
8489 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8490 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8491 { (exit 1); exit 1; }; }; }
8492
8493 ac_builddir=.
8494
8495 if test "$ac_dir" != .; then
8496 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8497 # A "../" for each directory in $ac_dir_suffix.
8498 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8499 else
8500 ac_dir_suffix= ac_top_builddir=
8501 fi
8502
8503 case $srcdir in
8504 .) # No --srcdir option. We are building in place.
8505 ac_srcdir=.
8506 if test -z "$ac_top_builddir"; then
8507 ac_top_srcdir=.
8508 else
8509 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8510 fi ;;
8511 [\\/]* | ?:[\\/]* ) # Absolute path.
8512 ac_srcdir=$srcdir$ac_dir_suffix;
8513 ac_top_srcdir=$srcdir ;;
8514 *) # Relative path.
8515 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8516 ac_top_srcdir=$ac_top_builddir$srcdir ;;
8517 esac
8518
8519 # Do not use `cd foo && pwd` to compute absolute paths, because
8520 # the directories may not exist.
8521 case `pwd` in
8522 .) ac_abs_builddir="$ac_dir";;
8523 *)
8524 case "$ac_dir" in
8525 .) ac_abs_builddir=`pwd`;;
8526 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8527 *) ac_abs_builddir=`pwd`/"$ac_dir";;
8528 esac;;
8529 esac
8530 case $ac_abs_builddir in
8531 .) ac_abs_top_builddir=${ac_top_builddir}.;;
8532 *)
8533 case ${ac_top_builddir}. in
8534 .) ac_abs_top_builddir=$ac_abs_builddir;;
8535 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8536 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8537 esac;;
8538 esac
8539 case $ac_abs_builddir in
8540 .) ac_abs_srcdir=$ac_srcdir;;
8541 *)
8542 case $ac_srcdir in
8543 .) ac_abs_srcdir=$ac_abs_builddir;;
8544 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8545 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8546 esac;;
8547 esac
8548 case $ac_abs_builddir in
8549 .) ac_abs_top_srcdir=$ac_top_srcdir;;
8550 *)
8551 case $ac_top_srcdir in
8552 .) ac_abs_top_srcdir=$ac_abs_builddir;;
8553 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8554 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8555 esac;;
8556 esac
8557
8558
8559 case $INSTALL in
8560 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8561 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
8562 esac
8563
8564 # Let's still pretend it is `configure' which instantiates (i.e., don't
8565 # use $as_me), people would be surprised to read:
8566 # /* config.h. Generated by config.status. */
8567 if test x"$ac_file" = x-; then
8568 configure_input=
8569 else
8570 configure_input="$ac_file. "
8571 fi
8572 configure_input=$configure_input"Generated from `echo $ac_file_in |
8573 sed 's,.*/,,'` by configure."
8574
8575 # First look for the input files in the build tree, otherwise in the
8576 # src tree.
8577 ac_file_inputs=`IFS=:
8578 for f in $ac_file_in; do
8579 case $f in
8580 -) echo $tmp/stdin ;;
8581 [\\/$]*)
8582 # Absolute (can't be DOS-style, as IFS=:)
8583 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8584 echo "$as_me: error: cannot find input file: $f" >&2;}
8585 { (exit 1); exit 1; }; }
8586 echo "$f";;
8587 *) # Relative
8588 if test -f "$f"; then
8589 # Build tree
8590 echo "$f"
8591 elif test -f "$srcdir/$f"; then
8592 # Source tree
8593 echo "$srcdir/$f"
8594 else
8595 # /dev/null tree
8596 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8597 echo "$as_me: error: cannot find input file: $f" >&2;}
8598 { (exit 1); exit 1; }; }
8599 fi;;
8600 esac
8601 done` || { (exit 1); exit 1; }
8602
8603 if test x"$ac_file" != x-; then
8604 { echo "$as_me:$LINENO: creating $ac_file" >&5
8605 echo "$as_me: creating $ac_file" >&6;}
8606 rm -f "$ac_file"
8607 fi
8608 _ACEOF
8609 cat >>$CONFIG_STATUS <<_ACEOF
8610 sed "$ac_vpsub
8611 $extrasub
8612 _ACEOF
8613 cat >>$CONFIG_STATUS <<\_ACEOF
8614 :t
8615 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8616 s,@configure_input@,$configure_input,;t t
8617 s,@srcdir@,$ac_srcdir,;t t
8618 s,@abs_srcdir@,$ac_abs_srcdir,;t t
8619 s,@top_srcdir@,$ac_top_srcdir,;t t
8620 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8621 s,@builddir@,$ac_builddir,;t t
8622 s,@abs_builddir@,$ac_abs_builddir,;t t
8623 s,@top_builddir@,$ac_top_builddir,;t t
8624 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8625 s,@INSTALL@,$ac_INSTALL,;t t
8626 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8627 rm -f $tmp/stdin
8628 if test x"$ac_file" != x-; then
8629 mv $tmp/out $ac_file
8630 else
8631 cat $tmp/out
8632 rm -f $tmp/out
8633 fi
8634
8635 done
8636 _ACEOF
8637 cat >>$CONFIG_STATUS <<\_ACEOF
8638
8639 #
8640 # CONFIG_HEADER section.
8641 #
8642
8643 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8644 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8645 #
8646 # ac_d sets the value in "#define NAME VALUE" lines.
8647 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8648 ac_dB='[ ].*$,\1#\2'
8649 ac_dC=' '
8650 ac_dD=',;t'
8651 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8652 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8653 ac_uB='$,\1#\2define\3'
8654 ac_uC=' '
8655 ac_uD=',;t'
8656
8657 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
8658 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8659 case $ac_file in
8660 - | *:- | *:-:* ) # input from stdin
8661 cat >$tmp/stdin
8662 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8663 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8664 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8665 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8666 * ) ac_file_in=$ac_file.in ;;
8667 esac
8668
8669 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8670 echo "$as_me: creating $ac_file" >&6;}
8671
8672 # First look for the input files in the build tree, otherwise in the
8673 # src tree.
8674 ac_file_inputs=`IFS=:
8675 for f in $ac_file_in; do
8676 case $f in
8677 -) echo $tmp/stdin ;;
8678 [\\/$]*)
8679 # Absolute (can't be DOS-style, as IFS=:)
8680 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8681 echo "$as_me: error: cannot find input file: $f" >&2;}
8682 { (exit 1); exit 1; }; }
8683 # Do quote $f, to prevent DOS paths from being IFS'd.
8684 echo "$f";;
8685 *) # Relative
8686 if test -f "$f"; then
8687 # Build tree
8688 echo "$f"
8689 elif test -f "$srcdir/$f"; then
8690 # Source tree
8691 echo "$srcdir/$f"
8692 else
8693 # /dev/null tree
8694 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8695 echo "$as_me: error: cannot find input file: $f" >&2;}
8696 { (exit 1); exit 1; }; }
8697 fi;;
8698 esac
8699 done` || { (exit 1); exit 1; }
8700 # Remove the trailing spaces.
8701 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8702
8703 _ACEOF
8704
8705 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8706 # `conftest.undefs', that substitutes the proper values into
8707 # config.h.in to produce config.h. The first handles `#define'
8708 # templates, and the second `#undef' templates.
8709 # And first: Protect against being on the right side of a sed subst in
8710 # config.status. Protect against being in an unquoted here document
8711 # in config.status.
8712 rm -f conftest.defines conftest.undefs
8713 # Using a here document instead of a string reduces the quoting nightmare.
8714 # Putting comments in sed scripts is not portable.
8715 #
8716 # `end' is used to avoid that the second main sed command (meant for
8717 # 0-ary CPP macros) applies to n-ary macro definitions.
8718 # See the Autoconf documentation for `clear'.
8719 cat >confdef2sed.sed <<\_ACEOF
8720 s/[\\&,]/\\&/g
8721 s,[\\$`],\\&,g
8722 t clear
8723 : clear
8724 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8725 t end
8726 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8727 : end
8728 _ACEOF
8729 # If some macros were called several times there might be several times
8730 # the same #defines, which is useless. Nevertheless, we may not want to
8731 # sort them, since we want the *last* AC-DEFINE to be honored.
8732 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8733 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8734 rm -f confdef2sed.sed
8735
8736 # This sed command replaces #undef with comments. This is necessary, for
8737 # example, in the case of _POSIX_SOURCE, which is predefined and required
8738 # on some systems where configure will not decide to define it.
8739 cat >>conftest.undefs <<\_ACEOF
8740 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8741 _ACEOF
8742
8743 # Break up conftest.defines because some shells have a limit on the size
8744 # of here documents, and old seds have small limits too (100 cmds).
8745 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8746 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8747 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8748 echo ' :' >>$CONFIG_STATUS
8749 rm -f conftest.tail
8750 while grep . conftest.defines >/dev/null
8751 do
8752 # Write a limited-size here document to $tmp/defines.sed.
8753 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8754 # Speed up: don't consider the non `#define' lines.
8755 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8756 # Work around the forget-to-reset-the-flag bug.
8757 echo 't clr' >>$CONFIG_STATUS
8758 echo ': clr' >>$CONFIG_STATUS
8759 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
8760 echo 'CEOF
8761 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8762 rm -f $tmp/in
8763 mv $tmp/out $tmp/in
8764 ' >>$CONFIG_STATUS
8765 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
8766 rm -f conftest.defines
8767 mv conftest.tail conftest.defines
8768 done
8769 rm -f conftest.defines
8770 echo ' fi # grep' >>$CONFIG_STATUS
8771 echo >>$CONFIG_STATUS
8772
8773 # Break up conftest.undefs because some shells have a limit on the size
8774 # of here documents, and old seds have small limits too (100 cmds).
8775 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8776 rm -f conftest.tail
8777 while grep . conftest.undefs >/dev/null
8778 do
8779 # Write a limited-size here document to $tmp/undefs.sed.
8780 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8781 # Speed up: don't consider the non `#undef'
8782 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8783 # Work around the forget-to-reset-the-flag bug.
8784 echo 't clr' >>$CONFIG_STATUS
8785 echo ': clr' >>$CONFIG_STATUS
8786 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8787 echo 'CEOF
8788 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8789 rm -f $tmp/in
8790 mv $tmp/out $tmp/in
8791 ' >>$CONFIG_STATUS
8792 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8793 rm -f conftest.undefs
8794 mv conftest.tail conftest.undefs
8795 done
8796 rm -f conftest.undefs
8797
8798 cat >>$CONFIG_STATUS <<\_ACEOF
8799 # Let's still pretend it is `configure' which instantiates (i.e., don't
8800 # use $as_me), people would be surprised to read:
8801 # /* config.h. Generated by config.status. */
8802 if test x"$ac_file" = x-; then
8803 echo "/* Generated by configure. */" >$tmp/config.h
8804 else
8805 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8806 fi
8807 cat $tmp/in >>$tmp/config.h
8808 rm -f $tmp/in
8809 if test x"$ac_file" != x-; then
8810 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
8811 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8812 echo "$as_me: $ac_file is unchanged" >&6;}
8813 else
8814 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8815 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8816 X"$ac_file" : 'X\(//\)[^/]' \| \
8817 X"$ac_file" : 'X\(//\)$' \| \
8818 X"$ac_file" : 'X\(/\)' \| \
8819 . : '\(.\)' 2>/dev/null ||
8820 echo X"$ac_file" |
8821 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8822 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8823 /^X\(\/\/\)$/{ s//\1/; q; }
8824 /^X\(\/\).*/{ s//\1/; q; }
8825 s/.*/./; q'`
8826 { if $as_mkdir_p; then
8827 mkdir -p "$ac_dir"
8828 else
8829 as_dir="$ac_dir"
8830 as_dirs=
8831 while test ! -d "$as_dir"; do
8832 as_dirs="$as_dir $as_dirs"
8833 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8834 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8835 X"$as_dir" : 'X\(//\)[^/]' \| \
8836 X"$as_dir" : 'X\(//\)$' \| \
8837 X"$as_dir" : 'X\(/\)' \| \
8838 . : '\(.\)' 2>/dev/null ||
8839 echo X"$as_dir" |
8840 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8841 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8842 /^X\(\/\/\)$/{ s//\1/; q; }
8843 /^X\(\/\).*/{ s//\1/; q; }
8844 s/.*/./; q'`
8845 done
8846 test ! -n "$as_dirs" || mkdir $as_dirs
8847 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8848 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8849 { (exit 1); exit 1; }; }; }
8850
8851 rm -f $ac_file
8852 mv $tmp/config.h $ac_file
8853 fi
8854 else
8855 cat $tmp/config.h
8856 rm -f $tmp/config.h
8857 fi
8858 # Compute $ac_file's index in $config_headers.
8859 _am_stamp_count=1
8860 for _am_header in $config_headers :; do
8861 case $_am_header in
8862 $ac_file | $ac_file:* )
8863 break ;;
8864 * )
8865 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8866 esac
8867 done
8868 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
8869 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8870 X$ac_file : 'X\(//\)[^/]' \| \
8871 X$ac_file : 'X\(//\)$' \| \
8872 X$ac_file : 'X\(/\)' \| \
8873 . : '\(.\)' 2>/dev/null ||
8874 echo X$ac_file |
8875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8876 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8877 /^X\(\/\/\)$/{ s//\1/; q; }
8878 /^X\(\/\).*/{ s//\1/; q; }
8879 s/.*/./; q'`/stamp-h$_am_stamp_count
8880 done
8881 _ACEOF
8882 cat >>$CONFIG_STATUS <<\_ACEOF
8883
8884 #
8885 # CONFIG_COMMANDS section.
8886 #
8887 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
8888 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
8889 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
8890 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
8891 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8892 X"$ac_dest" : 'X\(//\)[^/]' \| \
8893 X"$ac_dest" : 'X\(//\)$' \| \
8894 X"$ac_dest" : 'X\(/\)' \| \
8895 . : '\(.\)' 2>/dev/null ||
8896 echo X"$ac_dest" |
8897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8898 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8899 /^X\(\/\/\)$/{ s//\1/; q; }
8900 /^X\(\/\).*/{ s//\1/; q; }
8901 s/.*/./; q'`
8902 { if $as_mkdir_p; then
8903 mkdir -p "$ac_dir"
8904 else
8905 as_dir="$ac_dir"
8906 as_dirs=
8907 while test ! -d "$as_dir"; do
8908 as_dirs="$as_dir $as_dirs"
8909 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8910 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8911 X"$as_dir" : 'X\(//\)[^/]' \| \
8912 X"$as_dir" : 'X\(//\)$' \| \
8913 X"$as_dir" : 'X\(/\)' \| \
8914 . : '\(.\)' 2>/dev/null ||
8915 echo X"$as_dir" |
8916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8917 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8918 /^X\(\/\/\)$/{ s//\1/; q; }
8919 /^X\(\/\).*/{ s//\1/; q; }
8920 s/.*/./; q'`
8921 done
8922 test ! -n "$as_dirs" || mkdir $as_dirs
8923 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8924 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8925 { (exit 1); exit 1; }; }; }
8926
8927 ac_builddir=.
8928
8929 if test "$ac_dir" != .; then
8930 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8931 # A "../" for each directory in $ac_dir_suffix.
8932 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8933 else
8934 ac_dir_suffix= ac_top_builddir=
8935 fi
8936
8937 case $srcdir in
8938 .) # No --srcdir option. We are building in place.
8939 ac_srcdir=.
8940 if test -z "$ac_top_builddir"; then
8941 ac_top_srcdir=.
8942 else
8943 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8944 fi ;;
8945 [\\/]* | ?:[\\/]* ) # Absolute path.
8946 ac_srcdir=$srcdir$ac_dir_suffix;
8947 ac_top_srcdir=$srcdir ;;
8948 *) # Relative path.
8949 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8950 ac_top_srcdir=$ac_top_builddir$srcdir ;;
8951 esac
8952
8953 # Do not use `cd foo && pwd` to compute absolute paths, because
8954 # the directories may not exist.
8955 case `pwd` in
8956 .) ac_abs_builddir="$ac_dir";;
8957 *)
8958 case "$ac_dir" in
8959 .) ac_abs_builddir=`pwd`;;
8960 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8961 *) ac_abs_builddir=`pwd`/"$ac_dir";;
8962 esac;;
8963 esac
8964 case $ac_abs_builddir in
8965 .) ac_abs_top_builddir=${ac_top_builddir}.;;
8966 *)
8967 case ${ac_top_builddir}. in
8968 .) ac_abs_top_builddir=$ac_abs_builddir;;
8969 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8970 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8971 esac;;
8972 esac
8973 case $ac_abs_builddir in
8974 .) ac_abs_srcdir=$ac_srcdir;;
8975 *)
8976 case $ac_srcdir in
8977 .) ac_abs_srcdir=$ac_abs_builddir;;
8978 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8979 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8980 esac;;
8981 esac
8982 case $ac_abs_builddir in
8983 .) ac_abs_top_srcdir=$ac_top_srcdir;;
8984 *)
8985 case $ac_top_srcdir in
8986 .) ac_abs_top_srcdir=$ac_abs_builddir;;
8987 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8988 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8989 esac;;
8990 esac
8991
8992
8993 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8994 echo "$as_me: executing $ac_dest commands" >&6;}
8995 case $ac_dest in
8996 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
8997 # Strip MF so we end up with the name of the file.
8998 mf=`echo "$mf" | sed -e 's/:.*$//'`
8999 # Check whether this is an Automake generated Makefile or not.
9000 # We used to match only the files named `Makefile.in', but
9001 # some people rename them; so instead we look at the file content.
9002 # Grep'ing the first line is not enough: some people post-process
9003 # each Makefile.in and add a new line on top of each file to say so.
9004 # So let's grep whole file.
9005 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9006 dirpart=`(dirname "$mf") 2>/dev/null ||
9007 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9008 X"$mf" : 'X\(//\)[^/]' \| \
9009 X"$mf" : 'X\(//\)$' \| \
9010 X"$mf" : 'X\(/\)' \| \
9011 . : '\(.\)' 2>/dev/null ||
9012 echo X"$mf" |
9013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9014 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9015 /^X\(\/\/\)$/{ s//\1/; q; }
9016 /^X\(\/\).*/{ s//\1/; q; }
9017 s/.*/./; q'`
9018 else
9019 continue
9020 fi
9021 # Extract the definition of DEPDIR, am__include, and am__quote
9022 # from the Makefile without running `make'.
9023 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9024 test -z "$DEPDIR" && continue
9025 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9026 test -z "am__include" && continue
9027 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9028 # When using ansi2knr, U may be empty or an underscore; expand it
9029 U=`sed -n 's/^U = //p' < "$mf"`
9030 # Find all dependency output files, they are included files with
9031 # $(DEPDIR) in their names. We invoke sed twice because it is the
9032 # simplest approach to changing $(DEPDIR) to its actual value in the
9033 # expansion.
9034 for file in `sed -n "
9035 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9036 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9037 # Make sure the directory exists.
9038 test -f "$dirpart/$file" && continue
9039 fdir=`(dirname "$file") 2>/dev/null ||
9040 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9041 X"$file" : 'X\(//\)[^/]' \| \
9042 X"$file" : 'X\(//\)$' \| \
9043 X"$file" : 'X\(/\)' \| \
9044 . : '\(.\)' 2>/dev/null ||
9045 echo X"$file" |
9046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9047 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9048 /^X\(\/\/\)$/{ s//\1/; q; }
9049 /^X\(\/\).*/{ s//\1/; q; }
9050 s/.*/./; q'`
9051 { if $as_mkdir_p; then
9052 mkdir -p $dirpart/$fdir
9053 else
9054 as_dir=$dirpart/$fdir
9055 as_dirs=
9056 while test ! -d "$as_dir"; do
9057 as_dirs="$as_dir $as_dirs"
9058 as_dir=`(dirname "$as_dir") 2>/dev/null ||
9059 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9060 X"$as_dir" : 'X\(//\)[^/]' \| \
9061 X"$as_dir" : 'X\(//\)$' \| \
9062 X"$as_dir" : 'X\(/\)' \| \
9063 . : '\(.\)' 2>/dev/null ||
9064 echo X"$as_dir" |
9065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9066 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9067 /^X\(\/\/\)$/{ s//\1/; q; }
9068 /^X\(\/\).*/{ s//\1/; q; }
9069 s/.*/./; q'`
9070 done
9071 test ! -n "$as_dirs" || mkdir $as_dirs
9072 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9073 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9074 { (exit 1); exit 1; }; }; }
9075
9076 # echo "creating $dirpart/$file"
9077 echo '# dummy' > "$dirpart/$file"
9078 done
9079 done
9080 ;;
9081 esac
9082 done
9083 _ACEOF
9084
9085 cat >>$CONFIG_STATUS <<\_ACEOF
9086
9087 { (exit 0); exit 0; }
9088 _ACEOF
9089 chmod +x $CONFIG_STATUS
9090 ac_clean_files=$ac_clean_files_save
9091
9092
9093 # configure is writing to config.log, and then calls config.status.
9094 # config.status does its own redirection, appending to config.log.
9095 # Unfortunately, on DOS this fails, as config.log is still kept open
9096 # by configure, so config.status won't be able to write to it; its
9097 # output is simply discarded. So we exec the FD to /dev/null,
9098 # effectively closing config.log, so it can be properly (re)opened and
9099 # appended to by config.status. When coming back to configure, we
9100 # need to make the FD available again.
9101 if test "$no_create" != yes; then
9102 ac_cs_success=:
9103 ac_config_status_args=
9104 test "$silent" = yes &&
9105 ac_config_status_args="$ac_config_status_args --quiet"
9106 exec 5>/dev/null
9107 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9108 exec 5>>config.log
9109 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9110 # would make configure fail if this is the last instruction.
9111 $ac_cs_success || { (exit 1); exit 1; }
9112 fi
9113
9114
1414 'configure.in'
1515 ],
1616 {
17 '_LT_AC_TAGCONFIG' => 1,
1718 'm4_pattern_forbid' => 1,
19 'AC_CANONICAL_TARGET' => 1,
1820 'AC_CONFIG_LIBOBJ_DIR' => 1,
21 'AC_C_VOLATILE' => 1,
1922 'AC_TYPE_OFF_T' => 1,
20 'AC_C_VOLATILE' => 1,
2123 'AC_FUNC_CLOSEDIR_VOID' => 1,
2224 'AC_REPLACE_FNMATCH' => 1,
2325 'AC_PROG_LIBTOOL' => 1,
2426 'AC_FUNC_STAT' => 1,
27 'AC_FUNC_WAIT3' => 1,
2528 'AC_HEADER_TIME' => 1,
26 'AC_FUNC_WAIT3' => 1,
29 'AC_FUNC_LSTAT' => 1,
30 'AC_STRUCT_TM' => 1,
2731 'AM_AUTOMAKE_VERSION' => 1,
28 'AC_STRUCT_TM' => 1,
29 'AC_FUNC_LSTAT' => 1,
32 'AC_FUNC_GETMNTENT' => 1,
3033 'AC_TYPE_MODE_T' => 1,
31 'AC_FUNC_GETMNTENT' => 1,
34 'AC_CHECK_HEADERS' => 1,
3235 'AC_FUNC_STRTOD' => 1,
33 'AC_CHECK_HEADERS' => 1,
3436 'AC_FUNC_STRNLEN' => 1,
3537 'm4_sinclude' => 1,
3638 'AC_PROG_CXX' => 1,
4648 'AC_FUNC_MBRTOWC' => 1,
4749 'AC_STRUCT_ST_BLOCKS' => 1,
4850 'AC_TYPE_SIGNAL' => 1,
51 'AC_CANONICAL_BUILD' => 1,
4952 'AC_TYPE_UID_T' => 1,
53 'AC_PROG_MAKE_SET' => 1,
5054 'AC_CONFIG_AUX_DIR' => 1,
51 'AC_PROG_MAKE_SET' => 1,
55 'm4_pattern_allow' => 1,
5256 'sinclude' => 1,
53 'm4_pattern_allow' => 1,
5457 'AC_DEFINE_TRACE_LITERAL' => 1,
5558 'AC_FUNC_STRERROR_R' => 1,
5659 'AC_PROG_CC' => 1,
60 'AC_DECL_SYS_SIGLIST' => 1,
5761 'AC_FUNC_FORK' => 1,
58 'AC_DECL_SYS_SIGLIST' => 1,
62 'AC_FUNC_STRCOLL' => 1,
5963 'AC_FUNC_VPRINTF' => 1,
60 'AC_FUNC_STRCOLL' => 1,
6164 'AC_PROG_YACC' => 1,
6265 'AC_INIT' => 1,
6366 'AC_STRUCT_TIMEZONE' => 1,
7578 'AC_TYPE_SIZE_T' => 1,
7679 'AC_CONFIG_LINKS' => 1,
7780 'AC_CHECK_TYPES' => 1,
81 'LT_SUPPORTED_TAG' => 1,
7882 'AC_CHECK_MEMBERS' => 1,
7983 'AM_MAINTAINER_MODE' => 1,
8084 'AC_FUNC_UTIME_NULL' => 1,
8185 'AC_FUNC_SELECT_ARGTYPES' => 1,
86 'AC_HEADER_STAT' => 1,
8287 'AC_FUNC_STRFTIME' => 1,
83 'AC_HEADER_STAT' => 1,
88 'AC_PROG_CPP' => 1,
8489 'AC_C_INLINE' => 1,
85 'AC_PROG_CPP' => 1,
90 'AC_PROG_LEX' => 1,
91 'AC_C_CONST' => 1,
8692 'AC_TYPE_PID_T' => 1,
87 'AC_C_CONST' => 1,
88 'AC_PROG_LEX' => 1,
93 'AM_ENABLE_MULTILIB' => 1,
8994 'AC_CONFIG_FILES' => 1,
9095 'include' => 1,
9196 'AC_FUNC_SETVBUF_REVERSED' => 1,
9297 'AC_PROG_INSTALL' => 1,
9398 'AM_GNU_GETTEXT' => 1,
99 'AC_CHECK_LIB' => 1,
94100 'AC_FUNC_OBSTACK' => 1,
95 'AC_CHECK_LIB' => 1,
96101 'AC_FUNC_MALLOC' => 1,
97102 'AC_FUNC_GETGROUPS' => 1,
98103 'AC_FUNC_GETLOADAVG' => 1,
99104 'AH_OUTPUT' => 1,
100105 'AC_FUNC_FSEEKO' => 1,
101106 'AM_PROG_CC_C_O' => 1,
107 'AC_FUNC_MKTIME' => 1,
108 'AC_CANONICAL_SYSTEM' => 1,
102109 'AM_CONDITIONAL' => 1,
103 'AC_CANONICAL_SYSTEM' => 1,
104 'AC_FUNC_MKTIME' => 1,
105110 'AC_CONFIG_HEADERS' => 1,
106111 'AC_HEADER_SYS_WAIT' => 1,
112 'AC_PROG_LN_S' => 1,
107113 'AC_FUNC_MEMCMP' => 1,
108 'AC_PROG_LN_S' => 1,
109114 'm4_include' => 1,
110115 'AC_HEADER_DIRENT' => 1,
111116 'AC_CHECK_FUNCS' => 1
112117 }
118 ], 'Autom4te::Request' ),
119 bless( [
120 '1',
121 1,
122 [
123 '/usr/share/autoconf'
124 ],
125 [
126 '/usr/share/autoconf/autoconf/autoconf.m4f',
127 '/usr/share/aclocal/gtk-2.0.m4',
128 '/usr/share/aclocal/gtk.m4',
129 '/usr/share/aclocal-1.9/amversion.m4',
130 '/usr/share/aclocal-1.9/auxdir.m4',
131 '/usr/share/aclocal-1.9/cond.m4',
132 '/usr/share/aclocal-1.9/depend.m4',
133 '/usr/share/aclocal-1.9/depout.m4',
134 '/usr/share/aclocal-1.9/header.m4',
135 '/usr/share/aclocal-1.9/init.m4',
136 '/usr/share/aclocal-1.9/install-sh.m4',
137 '/usr/share/aclocal-1.9/lead-dot.m4',
138 '/usr/share/aclocal-1.9/make.m4',
139 '/usr/share/aclocal-1.9/missing.m4',
140 '/usr/share/aclocal-1.9/mkdirp.m4',
141 '/usr/share/aclocal-1.9/options.m4',
142 '/usr/share/aclocal-1.9/runlog.m4',
143 '/usr/share/aclocal-1.9/sanity.m4',
144 '/usr/share/aclocal-1.9/strip.m4',
145 '/usr/share/aclocal-1.9/tar.m4',
146 'configure.in'
147 ],
148 {
149 'm4_pattern_forbid' => 1,
150 'AC_CONFIG_LIBOBJ_DIR' => 1,
151 'AC_TYPE_OFF_T' => 1,
152 'AC_C_VOLATILE' => 1,
153 'AM_PATH_GTK' => 1,
154 'AC_FUNC_CLOSEDIR_VOID' => 1,
155 'AC_REPLACE_FNMATCH' => 1,
156 'AC_DEFUN' => 1,
157 'AC_PROG_LIBTOOL' => 1,
158 'AC_FUNC_STAT' => 1,
159 'AM_PROG_MKDIR_P' => 1,
160 'AC_HEADER_TIME' => 1,
161 'AC_FUNC_WAIT3' => 1,
162 'AC_STRUCT_TM' => 1,
163 'AC_FUNC_LSTAT' => 1,
164 'AM_AUTOMAKE_VERSION' => 1,
165 'AC_TYPE_MODE_T' => 1,
166 'AC_FUNC_GETMNTENT' => 1,
167 'AM_MISSING_HAS_RUN' => 1,
168 'AC_FUNC_STRTOD' => 1,
169 'AC_CHECK_HEADERS' => 1,
170 'AM_MISSING_PROG' => 1,
171 'AM_PATH_GTK_2_0' => 1,
172 'AC_FUNC_STRNLEN' => 1,
173 'm4_sinclude' => 1,
174 'AC_PROG_CXX' => 1,
175 'AC_PATH_X' => 1,
176 'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
177 'AM_PROG_INSTALL_STRIP' => 1,
178 'AC_PROG_AWK' => 1,
179 '_m4_warn' => 1,
180 'AC_HEADER_STDC' => 1,
181 'AC_HEADER_MAJOR' => 1,
182 'AM_SANITY_CHECK' => 1,
183 '_AM_PROG_TAR' => 1,
184 'AC_FUNC_ERROR_AT_LINE' => 1,
185 'AC_PROG_GCC_TRADITIONAL' => 1,
186 'AC_LIBSOURCE' => 1,
187 'AM_DEP_TRACK' => 1,
188 'AC_FUNC_MBRTOWC' => 1,
189 'AM_CONFIG_HEADER' => 1,
190 'AC_STRUCT_ST_BLOCKS' => 1,
191 'AC_TYPE_SIGNAL' => 1,
192 'AC_TYPE_UID_T' => 1,
193 '_AM_IF_OPTION' => 1,
194 'AC_CONFIG_AUX_DIR' => 1,
195 'AC_PROG_MAKE_SET' => 1,
196 'sinclude' => 1,
197 'm4_pattern_allow' => 1,
198 'AM_SET_LEADING_DOT' => 1,
199 'AC_DEFINE_TRACE_LITERAL' => 1,
200 '_AM_DEPENDENCIES' => 1,
201 'AC_FUNC_STRERROR_R' => 1,
202 'AC_PROG_CC' => 1,
203 'AC_FUNC_FORK' => 1,
204 'AC_DECL_SYS_SIGLIST' => 1,
205 'AC_FUNC_VPRINTF' => 1,
206 'AC_FUNC_STRCOLL' => 1,
207 'AU_DEFUN' => 1,
208 'AC_PROG_YACC' => 1,
209 'AC_INIT' => 1,
210 'AC_STRUCT_TIMEZONE' => 1,
211 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
212 'AC_FUNC_CHOWN' => 1,
213 'AC_SUBST' => 1,
214 'AC_FUNC_ALLOCA' => 1,
215 '_AM_SET_OPTION' => 1,
216 'AC_CANONICAL_HOST' => 1,
217 'AC_FUNC_GETPGRP' => 1,
218 'AC_PROG_RANLIB' => 1,
219 'AC_FUNC_SETPGRP' => 1,
220 'AM_INIT_AUTOMAKE' => 1,
221 'AC_CONFIG_SUBDIRS' => 1,
222 'AC_FUNC_MMAP' => 1,
223 'AC_FUNC_REALLOC' => 1,
224 'AC_TYPE_SIZE_T' => 1,
225 'AC_CONFIG_LINKS' => 1,
226 'AC_CHECK_TYPES' => 1,
227 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
228 'AC_CHECK_MEMBERS' => 1,
229 'AM_MAINTAINER_MODE' => 1,
230 'AC_DEFUN_ONCE' => 1,
231 'AC_FUNC_UTIME_NULL' => 1,
232 'AC_FUNC_SELECT_ARGTYPES' => 1,
233 'AC_HEADER_STAT' => 1,
234 'AC_FUNC_STRFTIME' => 1,
235 'AC_PROG_CPP' => 1,
236 'AC_C_INLINE' => 1,
237 'AC_TYPE_PID_T' => 1,
238 'AC_PROG_LEX' => 1,
239 'AC_C_CONST' => 1,
240 'AC_CONFIG_FILES' => 1,
241 'include' => 1,
242 'AC_FUNC_SETVBUF_REVERSED' => 1,
243 'AC_PROG_INSTALL' => 1,
244 'AM_AUX_DIR_EXPAND' => 1,
245 'AM_GNU_GETTEXT' => 1,
246 'AC_CHECK_LIB' => 1,
247 'AC_FUNC_OBSTACK' => 1,
248 '_AM_SET_OPTIONS' => 1,
249 'AC_FUNC_MALLOC' => 1,
250 '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
251 'AM_RUN_LOG' => 1,
252 'AC_FUNC_GETGROUPS' => 1,
253 'AC_FUNC_GETLOADAVG' => 1,
254 'AH_OUTPUT' => 1,
255 'AC_FUNC_FSEEKO' => 1,
256 'AM_PROG_CC_C_O' => 1,
257 '_AM_MANGLE_OPTION' => 1,
258 'AC_CANONICAL_SYSTEM' => 1,
259 'AM_CONDITIONAL' => 1,
260 'AC_FUNC_MKTIME' => 1,
261 'AC_CONFIG_HEADERS' => 1,
262 'AM_SET_DEPDIR' => 1,
263 'AC_HEADER_SYS_WAIT' => 1,
264 'AC_PROG_LN_S' => 1,
265 'AC_FUNC_MEMCMP' => 1,
266 'm4_include' => 1,
267 'AM_PROG_INSTALL_SH' => 1,
268 'AC_HEADER_DIRENT' => 1,
269 '_AC_AM_CONFIG_HEADER_HOOK' => 1,
270 'AC_CHECK_FUNCS' => 1,
271 'AM_MAKE_INCLUDE' => 1
272 }
113273 ], 'Autom4te::Request' )
114274 );
115275
5050 m4trace:configure.in:1: -1- AC_SUBST([ECHO_N])
5151 m4trace:configure.in:1: -1- AC_SUBST([ECHO_T])
5252 m4trace:configure.in:1: -1- AC_SUBST([LIBS])
53 m4trace:configure.in:2: -1- AM_INIT_AUTOMAKE([mtr], [0.71])
54 m4trace:configure.in:2: -1- AM_AUTOMAKE_VERSION([1.4-p6])
53 m4trace:configure.in:2: -1- AM_INIT_AUTOMAKE([mtr], [0.72])
54 m4trace:configure.in:2: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
55 m4trace:configure.in:2: -1- AM_AUTOMAKE_VERSION([1.9.5])
5556 m4trace:configure.in:2: -1- AC_PROG_INSTALL
5657 m4trace:configure.in:2: -1- AC_SUBST([INSTALL_PROGRAM])
5758 m4trace:configure.in:2: -1- AC_SUBST([INSTALL_SCRIPT])
5859 m4trace:configure.in:2: -1- AC_SUBST([INSTALL_DATA])
59 m4trace:configure.in:2: -1- AC_SUBST([PACKAGE])
60 m4trace:configure.in:2: -1- AC_SUBST([VERSION])
61 m4trace:configure.in:2: -2- AC_DEFINE_TRACE_LITERAL([PACKAGE])
62 m4trace:configure.in:2: -2- AH_OUTPUT([PACKAGE], [/* Name of package */
60 m4trace:configure.in:2: -1- AC_SUBST([CYGPATH_W])
61 m4trace:configure.in:2: -1- AC_SUBST([PACKAGE], [mtr])
62 m4trace:configure.in:2: -1- AC_SUBST([VERSION], [0.72])
63 m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
64 m4trace:configure.in:2: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
6365 #undef PACKAGE])
64 m4trace:configure.in:2: -2- AC_DEFINE_TRACE_LITERAL([VERSION])
65 m4trace:configure.in:2: -2- AH_OUTPUT([VERSION], [/* Version number of package */
66 m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
67 m4trace:configure.in:2: -1- AH_OUTPUT([VERSION], [/* Version number of package */
6668 #undef VERSION])
6769 m4trace:configure.in:2: -1- AC_SUBST([ACLOCAL])
6870 m4trace:configure.in:2: -1- AC_SUBST([AUTOCONF])
6971 m4trace:configure.in:2: -1- AC_SUBST([AUTOMAKE])
7072 m4trace:configure.in:2: -1- AC_SUBST([AUTOHEADER])
7173 m4trace:configure.in:2: -1- AC_SUBST([MAKEINFO])
74 m4trace:configure.in:2: -1- AC_SUBST([install_sh])
75 m4trace:configure.in:2: -1- AC_SUBST([STRIP])
76 m4trace:configure.in:2: -1- AC_SUBST([ac_ct_STRIP])
77 m4trace:configure.in:2: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
78 m4trace:configure.in:2: -1- AC_SUBST([mkdir_p])
79 m4trace:configure.in:2: -1- AC_PROG_AWK
80 m4trace:configure.in:2: -1- AC_SUBST([AWK])
7281 m4trace:configure.in:2: -1- AC_PROG_MAKE_SET
7382 m4trace:configure.in:2: -1- AC_SUBST([SET_MAKE])
83 m4trace:configure.in:2: -1- AC_SUBST([am__leading_dot])
84 m4trace:configure.in:2: -1- AC_SUBST([AMTAR])
85 m4trace:configure.in:2: -1- AC_SUBST([am__tar])
86 m4trace:configure.in:2: -1- AC_SUBST([am__untar])
7487 m4trace:configure.in:5: -1- AC_SUBST([GTK_OBJ])
7588 m4trace:configure.in:6: -1- AC_SUBST([CURSES_OBJ])
7689 m4trace:configure.in:11: -1- AC_PROG_CC
87100 m4trace:configure.in:11: -1- AC_SUBST([ac_ct_CC])
88101 m4trace:configure.in:11: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
89102 m4trace:configure.in:11: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
103 m4trace:configure.in:11: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
104 m4trace:configure.in:11: -1- AC_SUBST([am__include])
105 m4trace:configure.in:11: -1- AC_SUBST([am__quote])
106 m4trace:configure.in:11: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
107 m4trace:configure.in:11: -1- AC_SUBST([AMDEP_TRUE])
108 m4trace:configure.in:11: -1- AC_SUBST([AMDEP_FALSE])
109 m4trace:configure.in:11: -1- AC_SUBST([AMDEPBACKSLASH])
110 m4trace:configure.in:11: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
111 m4trace:configure.in:11: -1- AM_CONDITIONAL([am__fastdepCC], [
112 test "x$enable_dependency_tracking" != xno \
113 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
114 m4trace:configure.in:11: -1- AC_SUBST([am__fastdepCC_TRUE])
115 m4trace:configure.in:11: -1- AC_SUBST([am__fastdepCC_FALSE])
90116 m4trace:configure.in:13: -1- AC_HEADER_STDC
91117 m4trace:configure.in:13: -1- AC_PROG_CPP
92118 m4trace:configure.in:13: -1- AC_SUBST([CPP])
412438 m4trace:configure.in:62: -1- AC_SUBST([PKG_CONFIG], [$ac_cv_path_PKG_CONFIG])
413439 m4trace:configure.in:62: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
414440 You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
415 aclocal.m4:1149: AM_PATH_GTK_2_0 is expanded from...
441 aclocal.m4:209: AM_PATH_GTK_2_0 is expanded from...
416442 configure.in:62: the top level])
417443 m4trace:configure.in:62: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
418444 You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
419 aclocal.m4:1149: AM_PATH_GTK_2_0 is expanded from...
445 aclocal.m4:209: AM_PATH_GTK_2_0 is expanded from...
420446 configure.in:62: the top level])
421447 m4trace:configure.in:62: -1- AC_SUBST([GTK_CFLAGS])
422448 m4trace:configure.in:62: -1- AC_SUBST([GTK_LIBS])
424450 m4trace:configure.in:68: -1- AC_SUBST([GTK_CONFIG], [$ac_cv_path_GTK_CONFIG])
425451 m4trace:configure.in:68: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
426452 You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
427 aclocal.m4:1344: AM_PATH_GTK is expanded from...
453 aclocal.m4:404: AM_PATH_GTK is expanded from...
428454 configure.in:68: the top level])
429455 m4trace:configure.in:68: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
430456 You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
431 aclocal.m4:1344: AM_PATH_GTK is expanded from...
457 aclocal.m4:404: AM_PATH_GTK is expanded from...
432458 configure.in:68: the top level])
433459 m4trace:configure.in:68: -1- AC_SUBST([GTK_CFLAGS])
434460 m4trace:configure.in:68: -1- AC_SUBST([GTK_LIBS])
702728 m4trace:configure.in:123: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
703729 You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
704730 configure.in:123: the top level])
731 m4trace:configure.in:144: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
732 You should run autoupdate.], [aclocal.m4:745: AM_CONFIG_HEADER is expanded from...
733 configure.in:144: the top level])
705734 m4trace:configure.in:144: -1- AC_CONFIG_HEADERS([config.h])
706 m4trace:configure.in:144: -1- _m4_warn([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete.
707 You should run autoupdate.], [autoconf/status.m4:318: AC_OUTPUT_COMMANDS is expanded from...
708 aclocal.m4:1367: AM_CONFIG_HEADER is expanded from...
709 configure.in:144: the top level])
710 m4trace:configure.in:144: -3- _m4_warn([obsolete], [The macro `_AC_OUTPUT_COMMANDS_CNT' is obsolete.
711 You should run autoupdate.], [autoconf/status.m4:321: _AC_OUTPUT_COMMANDS_CNT is expanded from...
712 autoconf/status.m4:318: AC_OUTPUT_COMMANDS is expanded from...
713 aclocal.m4:1367: AM_CONFIG_HEADER is expanded from...
714 configure.in:144: the top level])
715735 m4trace:configure.in:145: -1- AC_CONFIG_FILES([Makefile img/Makefile])
716736 m4trace:configure.in:145: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
717737 You should run autoupdate.], [])
0 m4trace:/usr/share/aclocal/gtk-2.0.m4:196: -1- AC_DEFUN([AM_PATH_GTK_2_0], [dnl
1 dnl Get the cflags and libraries from pkg-config
2 dnl
3 AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program],
4 , enable_gtktest=yes)
5
6 pkg_config_args=gtk+-2.0
7 for module in . $4
8 do
9 case "$module" in
10 gthread)
11 pkg_config_args="$pkg_config_args gthread-2.0"
12 ;;
13 esac
14 done
15
16 no_gtk=""
17
18 AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
19
20 if test x$PKG_CONFIG != xno ; then
21 if pkg-config --atleast-pkgconfig-version 0.7 ; then
22 :
23 else
24 echo "*** pkg-config too old; version 0.7 or better required."
25 no_gtk=yes
26 PKG_CONFIG=no
27 fi
28 else
29 no_gtk=yes
30 fi
31
32 min_gtk_version=ifelse([$1], ,2.0.0,$1)
33 AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version)
34
35 if test x$PKG_CONFIG != xno ; then
36 ## don't try to run the test against uninstalled libtool libs
37 if $PKG_CONFIG --uninstalled $pkg_config_args; then
38 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
39 enable_gtktest=no
40 fi
41
42 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
43 :
44 else
45 no_gtk=yes
46 fi
47 fi
48
49 if test x"$no_gtk" = x ; then
50 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
51 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
52 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
53 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
54 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
55 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
56 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
57 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
58 if test "x$enable_gtktest" = "xyes" ; then
59 ac_save_CFLAGS="$CFLAGS"
60 ac_save_LIBS="$LIBS"
61 CFLAGS="$CFLAGS $GTK_CFLAGS"
62 LIBS="$GTK_LIBS $LIBS"
63 dnl
64 dnl Now check if the installed GTK+ is sufficiently new. (Also sanity
65 dnl checks the results of pkg-config to some extent)
66 dnl
67 rm -f conf.gtktest
68 AC_TRY_RUN([
69 #include <gtk/gtk.h>
70 #include <stdio.h>
71 #include <stdlib.h>
72
73 int
74 main ()
75 {
76 int major, minor, micro;
77 char *tmp_version;
78
79 system ("touch conf.gtktest");
80
81 /* HP/UX 9 (%@#!) writes to sscanf strings */
82 tmp_version = g_strdup("$min_gtk_version");
83 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
84 printf("%s, bad version string\n", "$min_gtk_version");
85 exit(1);
86 }
87
88 if ((gtk_major_version != $gtk_config_major_version) ||
89 (gtk_minor_version != $gtk_config_minor_version) ||
90 (gtk_micro_version != $gtk_config_micro_version))
91 {
92 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
93 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
94 gtk_major_version, gtk_minor_version, gtk_micro_version);
95 printf ("*** was found! If pkg-config was correct, then it is best\n");
96 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
97 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
98 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
99 printf("*** required on your system.\n");
100 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
101 printf("*** to point to the correct configuration files\n");
102 }
103 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
104 (gtk_minor_version != GTK_MINOR_VERSION) ||
105 (gtk_micro_version != GTK_MICRO_VERSION))
106 {
107 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
108 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
109 printf("*** library (version %d.%d.%d)\n",
110 gtk_major_version, gtk_minor_version, gtk_micro_version);
111 }
112 else
113 {
114 if ((gtk_major_version > major) ||
115 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
116 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
117 {
118 return 0;
119 }
120 else
121 {
122 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
123 gtk_major_version, gtk_minor_version, gtk_micro_version);
124 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
125 major, minor, micro);
126 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
127 printf("***\n");
128 printf("*** If you have already installed a sufficiently new version, this error\n");
129 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
130 printf("*** being found. The easiest way to fix this is to remove the old version\n");
131 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
132 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
133 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
134 printf("*** so that the correct libraries are found at run-time))\n");
135 }
136 }
137 return 1;
138 }
139 ],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
140 CFLAGS="$ac_save_CFLAGS"
141 LIBS="$ac_save_LIBS"
142 fi
143 fi
144 if test "x$no_gtk" = x ; then
145 AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
146 ifelse([$2], , :, [$2])
147 else
148 AC_MSG_RESULT(no)
149 if test "$PKG_CONFIG" = "no" ; then
150 echo "*** A new enough version of pkg-config was not found."
151 echo "*** See http://pkgconfig.sourceforge.net"
152 else
153 if test -f conf.gtktest ; then
154 :
155 else
156 echo "*** Could not run GTK+ test program, checking why..."
157 ac_save_CFLAGS="$CFLAGS"
158 ac_save_LIBS="$LIBS"
159 CFLAGS="$CFLAGS $GTK_CFLAGS"
160 LIBS="$LIBS $GTK_LIBS"
161 AC_TRY_LINK([
162 #include <gtk/gtk.h>
163 #include <stdio.h>
164 ], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
165 [ echo "*** The test program compiled, but did not run. This usually means"
166 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
167 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
168 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
169 echo "*** to the installed location Also, make sure you have run ldconfig if that"
170 echo "*** is required on your system"
171 echo "***"
172 echo "*** If you have an old version installed, it is best to remove it, although"
173 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
174 [ echo "*** The test program failed to compile or link. See the file config.log for the"
175 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."])
176 CFLAGS="$ac_save_CFLAGS"
177 LIBS="$ac_save_LIBS"
178 fi
179 fi
180 GTK_CFLAGS=""
181 GTK_LIBS=""
182 ifelse([$3], , :, [$3])
183 fi
184 AC_SUBST(GTK_CFLAGS)
185 AC_SUBST(GTK_LIBS)
186 rm -f conf.gtktest
187 ])
188 m4trace:/usr/share/aclocal/gtk.m4:194: -1- AC_DEFUN([AM_PATH_GTK], [dnl
189 dnl Get the cflags and libraries from the gtk-config script
190 dnl
191 AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
192 gtk_config_prefix="$withval", gtk_config_prefix="")
193 AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
194 gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
195 AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
196 , enable_gtktest=yes)
197
198 for module in . $4
199 do
200 case "$module" in
201 gthread)
202 gtk_config_args="$gtk_config_args gthread"
203 ;;
204 esac
205 done
206
207 if test x$gtk_config_exec_prefix != x ; then
208 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
209 if test x${GTK_CONFIG+set} != xset ; then
210 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
211 fi
212 fi
213 if test x$gtk_config_prefix != x ; then
214 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
215 if test x${GTK_CONFIG+set} != xset ; then
216 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
217 fi
218 fi
219
220 AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
221 min_gtk_version=ifelse([$1], ,0.99.7,$1)
222 AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
223 no_gtk=""
224 if test "$GTK_CONFIG" = "no" ; then
225 no_gtk=yes
226 else
227 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
228 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
229 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
230 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
231 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
232 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
233 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
234 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
235 if test "x$enable_gtktest" = "xyes" ; then
236 ac_save_CFLAGS="$CFLAGS"
237 ac_save_LIBS="$LIBS"
238 CFLAGS="$CFLAGS $GTK_CFLAGS"
239 LIBS="$GTK_LIBS $LIBS"
240 dnl
241 dnl Now check if the installed GTK is sufficiently new. (Also sanity
242 dnl checks the results of gtk-config to some extent
243 dnl
244 rm -f conf.gtktest
245 AC_TRY_RUN([
246 #include <gtk/gtk.h>
247 #include <stdio.h>
248 #include <stdlib.h>
249
250 int
251 main ()
252 {
253 int major, minor, micro;
254 char *tmp_version;
255
256 system ("touch conf.gtktest");
257
258 /* HP/UX 9 (%@#!) writes to sscanf strings */
259 tmp_version = g_strdup("$min_gtk_version");
260 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
261 printf("%s, bad version string\n", "$min_gtk_version");
262 exit(1);
263 }
264
265 if ((gtk_major_version != $gtk_config_major_version) ||
266 (gtk_minor_version != $gtk_config_minor_version) ||
267 (gtk_micro_version != $gtk_config_micro_version))
268 {
269 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
270 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
271 gtk_major_version, gtk_minor_version, gtk_micro_version);
272 printf ("*** was found! If gtk-config was correct, then it is best\n");
273 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
274 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
275 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
276 printf("*** required on your system.\n");
277 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
278 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
279 printf("*** before re-running configure\n");
280 }
281 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
282 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
283 (gtk_minor_version != GTK_MINOR_VERSION) ||
284 (gtk_micro_version != GTK_MICRO_VERSION))
285 {
286 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
287 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
288 printf("*** library (version %d.%d.%d)\n",
289 gtk_major_version, gtk_minor_version, gtk_micro_version);
290 }
291 #endif /* defined (GTK_MAJOR_VERSION) ... */
292 else
293 {
294 if ((gtk_major_version > major) ||
295 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
296 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
297 {
298 return 0;
299 }
300 else
301 {
302 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
303 gtk_major_version, gtk_minor_version, gtk_micro_version);
304 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
305 major, minor, micro);
306 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
307 printf("***\n");
308 printf("*** If you have already installed a sufficiently new version, this error\n");
309 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
310 printf("*** being found. The easiest way to fix this is to remove the old version\n");
311 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
312 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
313 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
314 printf("*** so that the correct libraries are found at run-time))\n");
315 }
316 }
317 return 1;
318 }
319 ],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
320 CFLAGS="$ac_save_CFLAGS"
321 LIBS="$ac_save_LIBS"
322 fi
323 fi
324 if test "x$no_gtk" = x ; then
325 AC_MSG_RESULT(yes)
326 ifelse([$2], , :, [$2])
327 else
328 AC_MSG_RESULT(no)
329 if test "$GTK_CONFIG" = "no" ; then
330 echo "*** The gtk-config script installed by GTK could not be found"
331 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
332 echo "*** your path, or set the GTK_CONFIG environment variable to the"
333 echo "*** full path to gtk-config."
334 else
335 if test -f conf.gtktest ; then
336 :
337 else
338 echo "*** Could not run GTK test program, checking why..."
339 CFLAGS="$CFLAGS $GTK_CFLAGS"
340 LIBS="$LIBS $GTK_LIBS"
341 AC_TRY_LINK([
342 #include <gtk/gtk.h>
343 #include <stdio.h>
344 ], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
345 [ echo "*** The test program compiled, but did not run. This usually means"
346 echo "*** that the run-time linker is not finding GTK or finding the wrong"
347 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
348 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
349 echo "*** to the installed location Also, make sure you have run ldconfig if that"
350 echo "*** is required on your system"
351 echo "***"
352 echo "*** If you have an old version installed, it is best to remove it, although"
353 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
354 echo "***"
355 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
356 echo "*** came with the system with the command"
357 echo "***"
358 echo "*** rpm --erase --nodeps gtk gtk-devel" ],
359 [ echo "*** The test program failed to compile or link. See the file config.log for the"
360 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
361 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
362 echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ])
363 CFLAGS="$ac_save_CFLAGS"
364 LIBS="$ac_save_LIBS"
365 fi
366 fi
367 GTK_CFLAGS=""
368 GTK_LIBS=""
369 ifelse([$3], , :, [$3])
370 fi
371 AC_SUBST(GTK_CFLAGS)
372 AC_SUBST(GTK_LIBS)
373 rm -f conf.gtktest
374 ])
375 m4trace:/usr/share/aclocal-1.9/amversion.m4:13: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
376 m4trace:/usr/share/aclocal-1.9/amversion.m4:20: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.9.5])])
377 m4trace:/usr/share/aclocal-1.9/auxdir.m4:52: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
378 AC_PREREQ([2.50])dnl
379 # expand $ac_aux_dir to an absolute path
380 am_aux_dir=`cd $ac_aux_dir && pwd`
381 ])
382 m4trace:/usr/share/aclocal-1.9/cond.m4:32: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
383 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
384 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
385 AC_SUBST([$1_TRUE])
386 AC_SUBST([$1_FALSE])
387 if $2; then
388 $1_TRUE=
389 $1_FALSE='#'
390 else
391 $1_TRUE='#'
392 $1_FALSE=
393 fi
394 AC_CONFIG_COMMANDS_PRE(
395 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
396 AC_MSG_ERROR([[conditional "$1" was never defined.
397 Usually this means the macro was only invoked conditionally.]])
398 fi])])
399 m4trace:/usr/share/aclocal-1.9/depend.m4:131: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
400 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
401 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
402 AC_REQUIRE([AM_DEP_TRACK])dnl
403
404 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
405 [$1], CXX, [depcc="$CXX" am_compiler_list=],
406 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
407 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
408 [depcc="$$1" am_compiler_list=])
409
410 AC_CACHE_CHECK([dependency style of $depcc],
411 [am_cv_$1_dependencies_compiler_type],
412 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
413 # We make a subdir and do the tests there. Otherwise we can end up
414 # making bogus files that we don't know about and never remove. For
415 # instance it was reported that on HP-UX the gcc test will end up
416 # making a dummy file named `D' -- because `-MD' means `put the output
417 # in D'.
418 mkdir conftest.dir
419 # Copy depcomp to subdir because otherwise we won't find it if we're
420 # using a relative directory.
421 cp "$am_depcomp" conftest.dir
422 cd conftest.dir
423 # We will build objects and dependencies in a subdirectory because
424 # it helps to detect inapplicable dependency modes. For instance
425 # both Tru64's cc and ICC support -MD to output dependencies as a
426 # side effect of compilation, but ICC will put the dependencies in
427 # the current directory while Tru64 will put them in the object
428 # directory.
429 mkdir sub
430
431 am_cv_$1_dependencies_compiler_type=none
432 if test "$am_compiler_list" = ""; then
433 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
434 fi
435 for depmode in $am_compiler_list; do
436 # Setup a source with many dependencies, because some compilers
437 # like to wrap large dependency lists on column 80 (with \), and
438 # we should not choose a depcomp mode which is confused by this.
439 #
440 # We need to recreate these files for each test, as the compiler may
441 # overwrite some of them when testing with obscure command lines.
442 # This happens at least with the AIX C compiler.
443 : > sub/conftest.c
444 for i in 1 2 3 4 5 6; do
445 echo '#include "conftst'$i'.h"' >> sub/conftest.c
446 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
447 # Solaris 8's {/usr,}/bin/sh.
448 touch sub/conftst$i.h
449 done
450 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
451
452 case $depmode in
453 nosideeffect)
454 # after this tag, mechanisms are not by side-effect, so they'll
455 # only be used when explicitly requested
456 if test "x$enable_dependency_tracking" = xyes; then
457 continue
458 else
459 break
460 fi
461 ;;
462 none) break ;;
463 esac
464 # We check with `-c' and `-o' for the sake of the "dashmstdout"
465 # mode. It turns out that the SunPro C++ compiler does not properly
466 # handle `-M -o', and we need to detect this.
467 if depmode=$depmode \
468 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
469 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
470 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
471 >/dev/null 2>conftest.err &&
472 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
473 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
474 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
475 # icc doesn't choke on unknown options, it will just issue warnings
476 # or remarks (even with -Werror). So we grep stderr for any message
477 # that says an option was ignored or not supported.
478 # When given -MP, icc 7.0 and 7.1 complain thusly:
479 # icc: Command line warning: ignoring option '-M'; no argument required
480 # The diagnosis changed in icc 8.0:
481 # icc: Command line remark: option '-MP' not supported
482 if (grep 'ignoring option' conftest.err ||
483 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
484 am_cv_$1_dependencies_compiler_type=$depmode
485 break
486 fi
487 fi
488 done
489
490 cd ..
491 rm -rf conftest.dir
492 else
493 am_cv_$1_dependencies_compiler_type=none
494 fi
495 ])
496 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
497 AM_CONDITIONAL([am__fastdep$1], [
498 test "x$enable_dependency_tracking" != xno \
499 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
500 ])
501 m4trace:/usr/share/aclocal-1.9/depend.m4:141: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
502 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
503 ])
504 m4trace:/usr/share/aclocal-1.9/depend.m4:156: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
505 [ --disable-dependency-tracking speeds up one-time build
506 --enable-dependency-tracking do not reject slow dependency extractors])
507 if test "x$enable_dependency_tracking" != xno; then
508 am_depcomp="$ac_aux_dir/depcomp"
509 AMDEPBACKSLASH='\'
510 fi
511 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
512 AC_SUBST([AMDEPBACKSLASH])
513 ])
514 m4trace:/usr/share/aclocal-1.9/depout.m4:53: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do
515 # Strip MF so we end up with the name of the file.
516 mf=`echo "$mf" | sed -e 's/:.*$//'`
517 # Check whether this is an Automake generated Makefile or not.
518 # We used to match only the files named `Makefile.in', but
519 # some people rename them; so instead we look at the file content.
520 # Grep'ing the first line is not enough: some people post-process
521 # each Makefile.in and add a new line on top of each file to say so.
522 # So let's grep whole file.
523 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
524 dirpart=`AS_DIRNAME("$mf")`
525 else
526 continue
527 fi
528 # Extract the definition of DEPDIR, am__include, and am__quote
529 # from the Makefile without running `make'.
530 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
531 test -z "$DEPDIR" && continue
532 am__include=`sed -n 's/^am__include = //p' < "$mf"`
533 test -z "am__include" && continue
534 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
535 # When using ansi2knr, U may be empty or an underscore; expand it
536 U=`sed -n 's/^U = //p' < "$mf"`
537 # Find all dependency output files, they are included files with
538 # $(DEPDIR) in their names. We invoke sed twice because it is the
539 # simplest approach to changing $(DEPDIR) to its actual value in the
540 # expansion.
541 for file in `sed -n "
542 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
543 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
544 # Make sure the directory exists.
545 test -f "$dirpart/$file" && continue
546 fdir=`AS_DIRNAME(["$file"])`
547 AS_MKDIR_P([$dirpart/$fdir])
548 # echo "creating $dirpart/$file"
549 echo '# dummy' > "$dirpart/$file"
550 done
551 done
552 ])
553 m4trace:/usr/share/aclocal-1.9/depout.m4:67: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
554 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
555 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
556 ])
557 m4trace:/usr/share/aclocal-1.9/header.m4:12: -1- AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
558 m4trace:/usr/share/aclocal-1.9/header.m4:12: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
559 You should run autoupdate.])dnl
560 AC_CONFIG_HEADERS($@)])
561 m4trace:/usr/share/aclocal-1.9/init.m4:92: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.58])dnl
562 dnl Autoconf wants to disallow AM_ names. We explicitly allow
563 dnl the ones we care about.
564 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
565 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
566 AC_REQUIRE([AC_PROG_INSTALL])dnl
567 # test to see if srcdir already configured
568 if test "`cd $srcdir && pwd`" != "`pwd`" &&
569 test -f $srcdir/config.status; then
570 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
571 fi
572
573 # test whether we have cygpath
574 if test -z "$CYGPATH_W"; then
575 if (cygpath --version) >/dev/null 2>/dev/null; then
576 CYGPATH_W='cygpath -w'
577 else
578 CYGPATH_W=echo
579 fi
580 fi
581 AC_SUBST([CYGPATH_W])
582
583 # Define the identity of the package.
584 dnl Distinguish between old-style and new-style calls.
585 m4_ifval([$2],
586 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
587 AC_SUBST([PACKAGE], [$1])dnl
588 AC_SUBST([VERSION], [$2])],
589 [_AM_SET_OPTIONS([$1])dnl
590 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
591 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
592
593 _AM_IF_OPTION([no-define],,
594 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
595 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
596
597 # Some tools Automake needs.
598 AC_REQUIRE([AM_SANITY_CHECK])dnl
599 AC_REQUIRE([AC_ARG_PROGRAM])dnl
600 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
601 AM_MISSING_PROG(AUTOCONF, autoconf)
602 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
603 AM_MISSING_PROG(AUTOHEADER, autoheader)
604 AM_MISSING_PROG(MAKEINFO, makeinfo)
605 AM_PROG_INSTALL_SH
606 AM_PROG_INSTALL_STRIP
607 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
608 # We need awk for the "check" target. The system "awk" is bad on
609 # some platforms.
610 AC_REQUIRE([AC_PROG_AWK])dnl
611 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
612 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
613 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
614 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
615 [_AM_PROG_TAR([v7])])])
616 _AM_IF_OPTION([no-dependencies],,
617 [AC_PROVIDE_IFELSE([AC_PROG_CC],
618 [_AM_DEPENDENCIES(CC)],
619 [define([AC_PROG_CC],
620 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
621 AC_PROVIDE_IFELSE([AC_PROG_CXX],
622 [_AM_DEPENDENCIES(CXX)],
623 [define([AC_PROG_CXX],
624 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
625 ])
626 ])
627 m4trace:/usr/share/aclocal-1.9/init.m4:113: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
628 _am_stamp_count=1
629 for _am_header in $config_headers :; do
630 case $_am_header in
631 $1 | $1:* )
632 break ;;
633 * )
634 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
635 esac
636 done
637 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
638 m4trace:/usr/share/aclocal-1.9/install-sh.m4:14: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
639 install_sh=${install_sh-"$am_aux_dir/install-sh"}
640 AC_SUBST(install_sh)])
641 m4trace:/usr/share/aclocal-1.9/lead-dot.m4:21: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
642 mkdir .tst 2>/dev/null
643 if test -d .tst; then
644 am__leading_dot=.
645 else
646 am__leading_dot=_
647 fi
648 rmdir .tst 2>/dev/null
649 AC_SUBST([am__leading_dot])])
650 m4trace:/usr/share/aclocal-1.9/make.m4:51: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
651 cat > confinc << 'END'
652 am__doit:
653 @echo done
654 .PHONY: am__doit
655 END
656 # If we don't find an include directive, just comment out the code.
657 AC_MSG_CHECKING([for style of include used by $am_make])
658 am__include="#"
659 am__quote=
660 _am_result=none
661 # First try GNU make style include.
662 echo "include confinc" > confmf
663 # We grep out `Entering directory' and `Leaving directory'
664 # messages which can occur if `w' ends up in MAKEFLAGS.
665 # In particular we don't look at `^make:' because GNU make might
666 # be invoked under some other name (usually "gmake"), in which
667 # case it prints its new name instead of `make'.
668 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
669 am__include=include
670 am__quote=
671 _am_result=GNU
672 fi
673 # Now try BSD make style include.
674 if test "$am__include" = "#"; then
675 echo '.include "confinc"' > confmf
676 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
677 am__include=.include
678 am__quote="\""
679 _am_result=BSD
680 fi
681 fi
682 AC_SUBST([am__include])
683 AC_SUBST([am__quote])
684 AC_MSG_RESULT([$_am_result])
685 rm -f confinc confmf
686 ])
687 m4trace:/usr/share/aclocal-1.9/missing.m4:17: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
688 $1=${$1-"${am_missing_run}$2"}
689 AC_SUBST($1)])
690 m4trace:/usr/share/aclocal-1.9/missing.m4:34: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
691 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
692 # Use eval to expand $SHELL
693 if eval "$MISSING --run true"; then
694 am_missing_run="$MISSING --run "
695 else
696 am_missing_run=
697 AC_MSG_WARN([`missing' script is too old or missing])
698 fi
699 ])
700 m4trace:/usr/share/aclocal-1.9/mkdirp.m4:63: -1- AC_DEFUN([AM_PROG_MKDIR_P], [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
701 # We used to keeping the `.' as first argument, in order to
702 # allow $(mkdir_p) to be used without argument. As in
703 # $(mkdir_p) $(somedir)
704 # where $(somedir) is conditionally defined. However this is wrong
705 # for two reasons:
706 # 1. if the package is installed by a user who cannot write `.'
707 # make install will fail,
708 # 2. the above comment should most certainly read
709 # $(mkdir_p) $(DESTDIR)$(somedir)
710 # so it does not work when $(somedir) is undefined and
711 # $(DESTDIR) is not.
712 # To support the latter case, we have to write
713 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
714 # so the `.' trick is pointless.
715 mkdir_p='mkdir -p --'
716 else
717 # On NextStep and OpenStep, the `mkdir' command does not
718 # recognize any option. It will interpret all options as
719 # directories to create, and then abort because `.' already
720 # exists.
721 for d in ./-p ./--version;
722 do
723 test -d $d && rmdir $d
724 done
725 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
726 if test -f "$ac_aux_dir/mkinstalldirs"; then
727 mkdir_p='$(mkinstalldirs)'
728 else
729 mkdir_p='$(install_sh) -d'
730 fi
731 fi
732 AC_SUBST([mkdir_p])])
733 m4trace:/usr/share/aclocal-1.9/options.m4:14: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
734 m4trace:/usr/share/aclocal-1.9/options.m4:20: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
735 m4trace:/usr/share/aclocal-1.9/options.m4:26: -1- AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
736 m4trace:/usr/share/aclocal-1.9/options.m4:32: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
737 m4trace:/usr/share/aclocal-1.9/runlog.m4:17: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
738 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
739 ac_status=$?
740 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
741 (exit $ac_status); }])
742 m4trace:/usr/share/aclocal-1.9/sanity.m4:51: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
743 # Just in case
744 sleep 1
745 echo timestamp > conftest.file
746 # Do `set' in a subshell so we don't clobber the current shell's
747 # arguments. Must try -L first in case configure is actually a
748 # symlink; some systems play weird games with the mod time of symlinks
749 # (eg FreeBSD returns the mod time of the symlink's containing
750 # directory).
751 if (
752 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
753 if test "$[*]" = "X"; then
754 # -L didn't work.
755 set X `ls -t $srcdir/configure conftest.file`
756 fi
757 rm -f conftest.file
758 if test "$[*]" != "X $srcdir/configure conftest.file" \
759 && test "$[*]" != "X conftest.file $srcdir/configure"; then
760
761 # If neither matched, then we have a broken ls. This can happen
762 # if, for instance, CONFIG_SHELL is bash and it inherits a
763 # broken ls alias from the environment. This has actually
764 # happened. Such a system could not be considered "sane".
765 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
766 alias in your environment])
767 fi
768
769 test "$[2]" = conftest.file
770 )
771 then
772 # Ok.
773 :
774 else
775 AC_MSG_ERROR([newly created file is older than distributed files!
776 Check your system clock])
777 fi
778 AC_MSG_RESULT(yes)])
779 m4trace:/usr/share/aclocal-1.9/strip.m4:28: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
780 # Installed binaries are usually stripped using `strip' when the user
781 # run `make install-strip'. However `strip' might not be the right
782 # tool to use in cross-compilation environments, therefore Automake
783 # will honor the `STRIP' environment variable to overrule this program.
784 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
785 if test "$cross_compiling" != no; then
786 AC_CHECK_TOOL([STRIP], [strip], :)
787 fi
788 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
789 AC_SUBST([INSTALL_STRIP_PROGRAM])])
790 m4trace:/usr/share/aclocal-1.9/tar.m4:95: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
791 AM_MISSING_PROG([AMTAR], [tar])
792 m4_if([$1], [v7],
793 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
794 [m4_case([$1], [ustar],, [pax],,
795 [m4_fatal([Unknown tar format])])
796 AC_MSG_CHECKING([how to create a $1 tar archive])
797 # Loop over all known methods to create a tar archive until one works.
798 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
799 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
800 # Do not fold the above two line into one, because Tru64 sh and
801 # Solaris sh will not grok spaces in the rhs of `-'.
802 for _am_tool in $_am_tools
803 do
804 case $_am_tool in
805 gnutar)
806 for _am_tar in tar gnutar gtar;
807 do
808 AM_RUN_LOG([$_am_tar --version]) && break
809 done
810 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
811 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
812 am__untar="$_am_tar -xf -"
813 ;;
814 plaintar)
815 # Must skip GNU tar: if it does not support --format= it doesn't create
816 # ustar tarball either.
817 (tar --version) >/dev/null 2>&1 && continue
818 am__tar='tar chf - "$$tardir"'
819 am__tar_='tar chf - "$tardir"'
820 am__untar='tar xf -'
821 ;;
822 pax)
823 am__tar='pax -L -x $1 -w "$$tardir"'
824 am__tar_='pax -L -x $1 -w "$tardir"'
825 am__untar='pax -r'
826 ;;
827 cpio)
828 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
829 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
830 am__untar='cpio -i -H $1 -d'
831 ;;
832 none)
833 am__tar=false
834 am__tar_=false
835 am__untar=false
836 ;;
837 esac
838
839 # If the value was cached, stop now. We just wanted to have am__tar
840 # and am__untar set.
841 test -n "${am_cv_prog_tar_$1}" && break
842
843 # tar/untar a dummy directory, and stop if the command works
844 rm -rf conftest.dir
845 mkdir conftest.dir
846 echo GrepMe > conftest.dir/file
847 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
848 rm -rf conftest.dir
849 if test -s conftest.tar; then
850 AM_RUN_LOG([$am__untar <conftest.tar])
851 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
852 fi
853 done
854 rm -rf conftest.dir
855
856 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
857 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
858 AC_SUBST([am__tar])
859 AC_SUBST([am__untar])
860 ])
861 m4trace:configure.in:1: -1- AC_INIT([mtr.c])
862 m4trace:configure.in:1: -1- m4_pattern_forbid([^_?A[CHUM]_])
863 m4trace:configure.in:1: -1- m4_pattern_forbid([_AC_])
864 m4trace:configure.in:1: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
865 m4trace:configure.in:1: -1- m4_pattern_allow([^AS_FLAGS$])
866 m4trace:configure.in:1: -1- m4_pattern_forbid([^_?m4_])
867 m4trace:configure.in:1: -1- m4_pattern_forbid([^dnl$])
868 m4trace:configure.in:1: -1- m4_pattern_forbid([^_?AS_])
869 m4trace:configure.in:1: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
870 m4trace:configure.in:1: -1- AC_SUBST([PATH_SEPARATOR])
871 m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
872 m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
873 m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
874 m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
875 m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
876 m4trace:configure.in:1: -1- AC_SUBST([exec_prefix], [NONE])
877 m4trace:configure.in:1: -1- AC_SUBST([prefix], [NONE])
878 m4trace:configure.in:1: -1- AC_SUBST([program_transform_name], [s,x,x,])
879 m4trace:configure.in:1: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
880 m4trace:configure.in:1: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
881 m4trace:configure.in:1: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
882 m4trace:configure.in:1: -1- AC_SUBST([datadir], ['${prefix}/share'])
883 m4trace:configure.in:1: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
884 m4trace:configure.in:1: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
885 m4trace:configure.in:1: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
886 m4trace:configure.in:1: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
887 m4trace:configure.in:1: -1- AC_SUBST([includedir], ['${prefix}/include'])
888 m4trace:configure.in:1: -1- AC_SUBST([oldincludedir], ['/usr/include'])
889 m4trace:configure.in:1: -1- AC_SUBST([infodir], ['${prefix}/info'])
890 m4trace:configure.in:1: -1- AC_SUBST([mandir], ['${prefix}/man'])
891 m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
892 m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
893 #undef PACKAGE_NAME])
894 m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
895 m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
896 #undef PACKAGE_TARNAME])
897 m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
898 m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
899 #undef PACKAGE_VERSION])
900 m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
901 m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
902 #undef PACKAGE_STRING])
903 m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
904 m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
905 #undef PACKAGE_BUGREPORT])
906 m4trace:configure.in:1: -1- AC_SUBST([build_alias])
907 m4trace:configure.in:1: -1- AC_SUBST([host_alias])
908 m4trace:configure.in:1: -1- AC_SUBST([target_alias])
909 m4trace:configure.in:1: -1- AC_SUBST([DEFS])
910 m4trace:configure.in:1: -1- AC_SUBST([ECHO_C])
911 m4trace:configure.in:1: -1- AC_SUBST([ECHO_N])
912 m4trace:configure.in:1: -1- AC_SUBST([ECHO_T])
913 m4trace:configure.in:1: -1- AC_SUBST([LIBS])
914 m4trace:configure.in:2: -1- AM_INIT_AUTOMAKE([mtr], [0.72])
915 m4trace:configure.in:2: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
916 m4trace:configure.in:2: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
917 m4trace:configure.in:2: -1- AM_AUTOMAKE_VERSION([1.9.5])
918 m4trace:configure.in:2: -1- AC_PROG_INSTALL
919 m4trace:configure.in:2: -1- AC_SUBST([INSTALL_PROGRAM])
920 m4trace:configure.in:2: -1- AC_SUBST([INSTALL_SCRIPT])
921 m4trace:configure.in:2: -1- AC_SUBST([INSTALL_DATA])
922 m4trace:configure.in:2: -1- AC_SUBST([CYGPATH_W])
923 m4trace:configure.in:2: -1- AC_SUBST([PACKAGE], [mtr])
924 m4trace:configure.in:2: -1- AC_SUBST([VERSION], [0.72])
925 m4trace:configure.in:2: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
926 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
927 m4trace:configure.in:2: -2- _AM_MANGLE_OPTION([no-define])
928 m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
929 m4trace:configure.in:2: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
930 #undef PACKAGE])
931 m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
932 m4trace:configure.in:2: -1- AH_OUTPUT([VERSION], [/* Version number of package */
933 #undef VERSION])
934 m4trace:configure.in:2: -1- AM_SANITY_CHECK
935 m4trace:configure.in:2: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
936 m4trace:configure.in:2: -1- AM_MISSING_HAS_RUN
937 m4trace:configure.in:2: -1- AM_AUX_DIR_EXPAND
938 m4trace:configure.in:2: -1- AC_SUBST([ACLOCAL])
939 m4trace:configure.in:2: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
940 m4trace:configure.in:2: -1- AC_SUBST([AUTOCONF])
941 m4trace:configure.in:2: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
942 m4trace:configure.in:2: -1- AC_SUBST([AUTOMAKE])
943 m4trace:configure.in:2: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
944 m4trace:configure.in:2: -1- AC_SUBST([AUTOHEADER])
945 m4trace:configure.in:2: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
946 m4trace:configure.in:2: -1- AC_SUBST([MAKEINFO])
947 m4trace:configure.in:2: -1- AM_PROG_INSTALL_SH
948 m4trace:configure.in:2: -1- AC_SUBST([install_sh])
949 m4trace:configure.in:2: -1- AM_PROG_INSTALL_STRIP
950 m4trace:configure.in:2: -1- AC_SUBST([STRIP])
951 m4trace:configure.in:2: -1- AC_SUBST([ac_ct_STRIP])
952 m4trace:configure.in:2: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
953 m4trace:configure.in:2: -1- AM_PROG_MKDIR_P
954 m4trace:configure.in:2: -1- AC_SUBST([mkdir_p])
955 m4trace:configure.in:2: -1- AC_PROG_AWK
956 m4trace:configure.in:2: -1- AC_SUBST([AWK])
957 m4trace:configure.in:2: -1- AC_PROG_MAKE_SET
958 m4trace:configure.in:2: -1- AC_SUBST([SET_MAKE])
959 m4trace:configure.in:2: -1- AM_SET_LEADING_DOT
960 m4trace:configure.in:2: -1- AC_SUBST([am__leading_dot])
961 m4trace:configure.in:2: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
962 [_AM_PROG_TAR([v7])])])
963 m4trace:configure.in:2: -2- _AM_MANGLE_OPTION([tar-ustar])
964 m4trace:configure.in:2: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
965 m4trace:configure.in:2: -2- _AM_MANGLE_OPTION([tar-pax])
966 m4trace:configure.in:2: -1- _AM_PROG_TAR([v7])
967 m4trace:configure.in:2: -1- AM_MISSING_PROG([AMTAR], [tar])
968 m4trace:configure.in:2: -1- AC_SUBST([AMTAR])
969 m4trace:configure.in:2: -1- AC_SUBST([am__tar])
970 m4trace:configure.in:2: -1- AC_SUBST([am__untar])
971 m4trace:configure.in:2: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
972 [_AM_DEPENDENCIES(CC)],
973 [define([AC_PROG_CC],
974 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
975 AC_PROVIDE_IFELSE([AC_PROG_CXX],
976 [_AM_DEPENDENCIES(CXX)],
977 [define([AC_PROG_CXX],
978 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
979 ])
980 m4trace:configure.in:2: -2- _AM_MANGLE_OPTION([no-dependencies])
981 m4trace:configure.in:5: -1- AC_SUBST([GTK_OBJ])
982 m4trace:configure.in:6: -1- AC_SUBST([CURSES_OBJ])
983 m4trace:configure.in:11: -1- AC_PROG_CC
984 m4trace:configure.in:11: -1- AC_SUBST([CC])
985 m4trace:configure.in:11: -1- AC_SUBST([CFLAGS])
986 m4trace:configure.in:11: -1- AC_SUBST([LDFLAGS])
987 m4trace:configure.in:11: -1- AC_SUBST([CPPFLAGS])
988 m4trace:configure.in:11: -1- AC_SUBST([CC])
989 m4trace:configure.in:11: -1- AC_SUBST([ac_ct_CC])
990 m4trace:configure.in:11: -1- AC_SUBST([CC])
991 m4trace:configure.in:11: -1- AC_SUBST([ac_ct_CC])
992 m4trace:configure.in:11: -1- AC_SUBST([CC])
993 m4trace:configure.in:11: -1- AC_SUBST([CC])
994 m4trace:configure.in:11: -1- AC_SUBST([ac_ct_CC])
995 m4trace:configure.in:11: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
996 m4trace:configure.in:11: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
997 m4trace:configure.in:11: -1- _AM_DEPENDENCIES([CC])
998 m4trace:configure.in:11: -1- AM_SET_DEPDIR
999 m4trace:configure.in:11: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
1000 m4trace:configure.in:11: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
1001 m4trace:configure.in:11: -1- AM_MAKE_INCLUDE
1002 m4trace:configure.in:11: -1- AC_SUBST([am__include])
1003 m4trace:configure.in:11: -1- AC_SUBST([am__quote])
1004 m4trace:configure.in:11: -1- AM_DEP_TRACK
1005 m4trace:configure.in:11: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1006 m4trace:configure.in:11: -1- AC_SUBST([AMDEP_TRUE])
1007 m4trace:configure.in:11: -1- AC_SUBST([AMDEP_FALSE])
1008 m4trace:configure.in:11: -1- AC_SUBST([AMDEPBACKSLASH])
1009 m4trace:configure.in:11: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
1010 m4trace:configure.in:11: -1- AM_CONDITIONAL([am__fastdepCC], [
1011 test "x$enable_dependency_tracking" != xno \
1012 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
1013 m4trace:configure.in:11: -1- AC_SUBST([am__fastdepCC_TRUE])
1014 m4trace:configure.in:11: -1- AC_SUBST([am__fastdepCC_FALSE])
1015 m4trace:configure.in:13: -1- AC_HEADER_STDC
1016 m4trace:configure.in:13: -1- AC_PROG_CPP
1017 m4trace:configure.in:13: -1- AC_SUBST([CPP])
1018 m4trace:configure.in:13: -1- AC_SUBST([CPPFLAGS])
1019 m4trace:configure.in:13: -1- AC_SUBST([CPP])
1020 m4trace:configure.in:13: -1- AC_SUBST([EGREP])
1021 m4trace:configure.in:13: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
1022 m4trace:configure.in:13: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
1023 #undef STDC_HEADERS])
1024 m4trace:configure.in:13: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
1025 inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default])
1026 m4trace:configure.in:13: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
1027 #undef HAVE_SYS_TYPES_H])
1028 m4trace:configure.in:13: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
1029 #undef HAVE_SYS_STAT_H])
1030 m4trace:configure.in:13: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
1031 #undef HAVE_STDLIB_H])
1032 m4trace:configure.in:13: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
1033 #undef HAVE_STRING_H])
1034 m4trace:configure.in:13: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
1035 #undef HAVE_MEMORY_H])
1036 m4trace:configure.in:13: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
1037 #undef HAVE_STRINGS_H])
1038 m4trace:configure.in:13: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
1039 #undef HAVE_INTTYPES_H])
1040 m4trace:configure.in:13: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
1041 #undef HAVE_STDINT_H])
1042 m4trace:configure.in:13: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
1043 #undef HAVE_UNISTD_H])
1044 m4trace:configure.in:13: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_UNSIGNED_CHAR])
1045 m4trace:configure.in:13: -1- AH_OUTPUT([SIZEOF_UNSIGNED_CHAR], [/* The size of a `unsigned char\', as computed by sizeof. */
1046 #undef SIZEOF_UNSIGNED_CHAR])
1047 m4trace:configure.in:14: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_UNSIGNED_SHORT])
1048 m4trace:configure.in:14: -1- AH_OUTPUT([SIZEOF_UNSIGNED_SHORT], [/* The size of a `unsigned short\', as computed by sizeof. */
1049 #undef SIZEOF_UNSIGNED_SHORT])
1050 m4trace:configure.in:15: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_UNSIGNED_INT])
1051 m4trace:configure.in:15: -1- AH_OUTPUT([SIZEOF_UNSIGNED_INT], [/* The size of a `unsigned int\', as computed by sizeof. */
1052 #undef SIZEOF_UNSIGNED_INT])
1053 m4trace:configure.in:16: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_UNSIGNED_LONG])
1054 m4trace:configure.in:16: -1- AH_OUTPUT([SIZEOF_UNSIGNED_LONG], [/* The size of a `unsigned long\', as computed by sizeof. */
1055 #undef SIZEOF_UNSIGNED_LONG])
1056 m4trace:configure.in:25: -1- AC_CHECK_LIB([termcap], [tgetent])
1057 m4trace:configure.in:25: -1- AH_OUTPUT([HAVE_LIBTERMCAP], [/* Define to 1 if you have the `termcap\' library (-ltermcap). */
1058 #undef HAVE_LIBTERMCAP])
1059 m4trace:configure.in:25: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBTERMCAP])
1060 m4trace:configure.in:32: -5- AC_DEFINE_TRACE_LITERAL([NO_CURSES])
1061 m4trace:configure.in:33: -4- AC_CHECK_LIB([cursesX], [initscr], [], [{ echo "$as_me:$LINENO: WARNING: Building without curses display support" >&5
1062 echo "$as_me: WARNING: Building without curses display support" >&2;}
1063 cat >>confdefs.h <<\_ACEOF
1064 @%:@define NO_CURSES 1
1065 _ACEOF
1066
1067 CURSES_OBJ=])
1068 m4trace:configure.in:33: -4- AH_OUTPUT([HAVE_LIBCURSESX], [/* Define to 1 if you have the `cursesX\' library (-lcursesX). */
1069 #undef HAVE_LIBCURSESX])
1070 m4trace:configure.in:33: -4- AC_DEFINE_TRACE_LITERAL([HAVE_LIBCURSESX])
1071 m4trace:configure.in:33: -3- AC_CHECK_LIB([curses], [initscr], [], [
1072 echo "$as_me:$LINENO: checking for initscr in -lcursesX" >&5
1073 echo $ECHO_N "checking for initscr in -lcursesX... $ECHO_C" >&6
1074 if test "${ac_cv_lib_cursesX_initscr+set}" = set; then
1075 echo $ECHO_N "(cached) $ECHO_C" >&6
1076 else
1077 ac_check_lib_save_LIBS=$LIBS
1078 LIBS="-lcursesX $LIBS"
1079 cat >conftest.$ac_ext <<_ACEOF
1080 /* confdefs.h. */
1081 _ACEOF
1082 cat confdefs.h >>conftest.$ac_ext
1083 cat >>conftest.$ac_ext <<_ACEOF
1084 /* end confdefs.h. */
1085
1086 /* Override any gcc2 internal prototype to avoid an error. */
1087 #ifdef __cplusplus
1088 extern "C"
1089 #endif
1090 /* We use char because int might match the return type of a gcc2
1091 builtin and then its argument prototype would still apply. */
1092 char initscr ();
1093 int
1094 main ()
1095 {
1096 initscr ();
1097 ;
1098 return 0;
1099 }
1100 _ACEOF
1101 rm -f conftest.$ac_objext conftest$ac_exeext
1102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1103 (eval $ac_link) 2>conftest.er1
1104 ac_status=$?
1105 grep -v '^ *+' conftest.er1 >conftest.err
1106 rm -f conftest.er1
1107 cat conftest.err >&5
1108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1109 (exit $ac_status); } &&
1110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1112 (eval $ac_try) 2>&5
1113 ac_status=$?
1114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1115 (exit $ac_status); }; } &&
1116 { ac_try='test -s conftest$ac_exeext'
1117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1118 (eval $ac_try) 2>&5
1119 ac_status=$?
1120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1121 (exit $ac_status); }; }; then
1122 ac_cv_lib_cursesX_initscr=yes
1123 else
1124 echo "$as_me: failed program was:" >&5
1125 sed 's/^/| /' conftest.$ac_ext >&5
1126
1127 ac_cv_lib_cursesX_initscr=no
1128 fi
1129 rm -f conftest.err conftest.$ac_objext \
1130 conftest$ac_exeext conftest.$ac_ext
1131 LIBS=$ac_check_lib_save_LIBS
1132 fi
1133 echo "$as_me:$LINENO: result: $ac_cv_lib_cursesX_initscr" >&5
1134 echo "${ECHO_T}$ac_cv_lib_cursesX_initscr" >&6
1135 if test $ac_cv_lib_cursesX_initscr = yes; then
1136 cat >>confdefs.h <<_ACEOF
1137 @%:@define HAVE_LIBCURSESX 1
1138 _ACEOF
1139
1140 LIBS="-lcursesX $LIBS"
1141
1142 else
1143 { echo "$as_me:$LINENO: WARNING: Building without curses display support" >&5
1144 echo "$as_me: WARNING: Building without curses display support" >&2;}
1145 cat >>confdefs.h <<\_ACEOF
1146 @%:@define NO_CURSES 1
1147 _ACEOF
1148
1149 CURSES_OBJ=
1150 fi
1151 ])
1152 m4trace:configure.in:33: -3- AH_OUTPUT([HAVE_LIBCURSES], [/* Define to 1 if you have the `curses\' library (-lcurses). */
1153 #undef HAVE_LIBCURSES])
1154 m4trace:configure.in:33: -3- AC_DEFINE_TRACE_LITERAL([HAVE_LIBCURSES])
1155 m4trace:configure.in:33: -2- AC_CHECK_LIB([ncurses], [initscr], [], [
1156 echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
1157 echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6
1158 if test "${ac_cv_lib_curses_initscr+set}" = set; then
1159 echo $ECHO_N "(cached) $ECHO_C" >&6
1160 else
1161 ac_check_lib_save_LIBS=$LIBS
1162 LIBS="-lcurses $LIBS"
1163 cat >conftest.$ac_ext <<_ACEOF
1164 /* confdefs.h. */
1165 _ACEOF
1166 cat confdefs.h >>conftest.$ac_ext
1167 cat >>conftest.$ac_ext <<_ACEOF
1168 /* end confdefs.h. */
1169
1170 /* Override any gcc2 internal prototype to avoid an error. */
1171 #ifdef __cplusplus
1172 extern "C"
1173 #endif
1174 /* We use char because int might match the return type of a gcc2
1175 builtin and then its argument prototype would still apply. */
1176 char initscr ();
1177 int
1178 main ()
1179 {
1180 initscr ();
1181 ;
1182 return 0;
1183 }
1184 _ACEOF
1185 rm -f conftest.$ac_objext conftest$ac_exeext
1186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1187 (eval $ac_link) 2>conftest.er1
1188 ac_status=$?
1189 grep -v '^ *+' conftest.er1 >conftest.err
1190 rm -f conftest.er1
1191 cat conftest.err >&5
1192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1193 (exit $ac_status); } &&
1194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1196 (eval $ac_try) 2>&5
1197 ac_status=$?
1198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1199 (exit $ac_status); }; } &&
1200 { ac_try='test -s conftest$ac_exeext'
1201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1202 (eval $ac_try) 2>&5
1203 ac_status=$?
1204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1205 (exit $ac_status); }; }; then
1206 ac_cv_lib_curses_initscr=yes
1207 else
1208 echo "$as_me: failed program was:" >&5
1209 sed 's/^/| /' conftest.$ac_ext >&5
1210
1211 ac_cv_lib_curses_initscr=no
1212 fi
1213 rm -f conftest.err conftest.$ac_objext \
1214 conftest$ac_exeext conftest.$ac_ext
1215 LIBS=$ac_check_lib_save_LIBS
1216 fi
1217 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
1218 echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6
1219 if test $ac_cv_lib_curses_initscr = yes; then
1220 cat >>confdefs.h <<_ACEOF
1221 @%:@define HAVE_LIBCURSES 1
1222 _ACEOF
1223
1224 LIBS="-lcurses $LIBS"
1225
1226 else
1227
1228 echo "$as_me:$LINENO: checking for initscr in -lcursesX" >&5
1229 echo $ECHO_N "checking for initscr in -lcursesX... $ECHO_C" >&6
1230 if test "${ac_cv_lib_cursesX_initscr+set}" = set; then
1231 echo $ECHO_N "(cached) $ECHO_C" >&6
1232 else
1233 ac_check_lib_save_LIBS=$LIBS
1234 LIBS="-lcursesX $LIBS"
1235 cat >conftest.$ac_ext <<_ACEOF
1236 /* confdefs.h. */
1237 _ACEOF
1238 cat confdefs.h >>conftest.$ac_ext
1239 cat >>conftest.$ac_ext <<_ACEOF
1240 /* end confdefs.h. */
1241
1242 /* Override any gcc2 internal prototype to avoid an error. */
1243 #ifdef __cplusplus
1244 extern "C"
1245 #endif
1246 /* We use char because int might match the return type of a gcc2
1247 builtin and then its argument prototype would still apply. */
1248 char initscr ();
1249 int
1250 main ()
1251 {
1252 initscr ();
1253 ;
1254 return 0;
1255 }
1256 _ACEOF
1257 rm -f conftest.$ac_objext conftest$ac_exeext
1258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1259 (eval $ac_link) 2>conftest.er1
1260 ac_status=$?
1261 grep -v '^ *+' conftest.er1 >conftest.err
1262 rm -f conftest.er1
1263 cat conftest.err >&5
1264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1265 (exit $ac_status); } &&
1266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1268 (eval $ac_try) 2>&5
1269 ac_status=$?
1270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1271 (exit $ac_status); }; } &&
1272 { ac_try='test -s conftest$ac_exeext'
1273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1274 (eval $ac_try) 2>&5
1275 ac_status=$?
1276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1277 (exit $ac_status); }; }; then
1278 ac_cv_lib_cursesX_initscr=yes
1279 else
1280 echo "$as_me: failed program was:" >&5
1281 sed 's/^/| /' conftest.$ac_ext >&5
1282
1283 ac_cv_lib_cursesX_initscr=no
1284 fi
1285 rm -f conftest.err conftest.$ac_objext \
1286 conftest$ac_exeext conftest.$ac_ext
1287 LIBS=$ac_check_lib_save_LIBS
1288 fi
1289 echo "$as_me:$LINENO: result: $ac_cv_lib_cursesX_initscr" >&5
1290 echo "${ECHO_T}$ac_cv_lib_cursesX_initscr" >&6
1291 if test $ac_cv_lib_cursesX_initscr = yes; then
1292 cat >>confdefs.h <<_ACEOF
1293 @%:@define HAVE_LIBCURSESX 1
1294 _ACEOF
1295
1296 LIBS="-lcursesX $LIBS"
1297
1298 else
1299 { echo "$as_me:$LINENO: WARNING: Building without curses display support" >&5
1300 echo "$as_me: WARNING: Building without curses display support" >&2;}
1301 cat >>confdefs.h <<\_ACEOF
1302 @%:@define NO_CURSES 1
1303 _ACEOF
1304
1305 CURSES_OBJ=
1306 fi
1307
1308 fi
1309 ])
1310 m4trace:configure.in:33: -2- AH_OUTPUT([HAVE_LIBNCURSES], [/* Define to 1 if you have the `ncurses\' library (-lncurses). */
1311 #undef HAVE_LIBNCURSES])
1312 m4trace:configure.in:33: -2- AC_DEFINE_TRACE_LITERAL([HAVE_LIBNCURSES])
1313 m4trace:configure.in:35: -1- AC_CHECK_FUNCS([attron])
1314 m4trace:configure.in:35: -1- AH_OUTPUT([HAVE_ATTRON], [/* Define to 1 if you have the `attron\' function. */
1315 #undef HAVE_ATTRON])
1316 m4trace:configure.in:38: -1- AC_CHECK_HEADERS([ncurses.h ncurses/curses.h curses.h cursesX.h sys/types.h])
1317 m4trace:configure.in:38: -1- AH_OUTPUT([HAVE_NCURSES_H], [/* Define to 1 if you have the <ncurses.h> header file. */
1318 #undef HAVE_NCURSES_H])
1319 m4trace:configure.in:38: -1- AH_OUTPUT([HAVE_NCURSES_CURSES_H], [/* Define to 1 if you have the <ncurses/curses.h> header file. */
1320 #undef HAVE_NCURSES_CURSES_H])
1321 m4trace:configure.in:38: -1- AH_OUTPUT([HAVE_CURSES_H], [/* Define to 1 if you have the <curses.h> header file. */
1322 #undef HAVE_CURSES_H])
1323 m4trace:configure.in:38: -1- AH_OUTPUT([HAVE_CURSESX_H], [/* Define to 1 if you have the <cursesX.h> header file. */
1324 #undef HAVE_CURSESX_H])
1325 m4trace:configure.in:38: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
1326 #undef HAVE_SYS_TYPES_H])
1327 m4trace:configure.in:39: -1- AC_CHECK_HEADERS([sys/xti.h])
1328 m4trace:configure.in:39: -1- AH_OUTPUT([HAVE_SYS_XTI_H], [/* Define to 1 if you have the <sys/xti.h> header file. */
1329 #undef HAVE_SYS_XTI_H])
1330 m4trace:configure.in:41: -1- AC_CHECK_LIB([m], [floor], [], [{ { echo "$as_me:$LINENO: error: No math library found" >&5
1331 echo "$as_me: error: No math library found" >&2;}
1332 { (exit 1); exit 1; }; }])
1333 m4trace:configure.in:41: -1- AH_OUTPUT([HAVE_LIBM], [/* Define to 1 if you have the `m\' library (-lm). */
1334 #undef HAVE_LIBM])
1335 m4trace:configure.in:41: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBM])
1336 m4trace:configure.in:61: -2- AC_DEFINE_TRACE_LITERAL([NO_GTK])
1337 m4trace:configure.in:62: -1- AM_PATH_GTK_2_0([2.0.0], [CFLAGS="$CFLAGS $GTK_CFLAGS"
1338 LIBS="$LIBS $GTK_LIBS -lm"], [{ echo "$as_me:$LINENO: WARNING: Building without GTK2 display support" >&5
1339 echo "$as_me: WARNING: Building without GTK2 display support" >&2;}
1340 cat >>confdefs.h <<\_ACEOF
1341 @%:@define NO_GTK 1
1342 _ACEOF
1343
1344 GTK_OBJ=""])
1345 m4trace:configure.in:62: -1- AC_SUBST([PKG_CONFIG], [$ac_cv_path_PKG_CONFIG])
1346 m4trace:configure.in:62: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
1347 You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
1348 /usr/share/aclocal/gtk-2.0.m4:196: AM_PATH_GTK_2_0 is expanded from...
1349 configure.in:62: the top level])
1350 m4trace:configure.in:62: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
1351 You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
1352 /usr/share/aclocal/gtk-2.0.m4:196: AM_PATH_GTK_2_0 is expanded from...
1353 configure.in:62: the top level])
1354 m4trace:configure.in:62: -1- AC_SUBST([GTK_CFLAGS])
1355 m4trace:configure.in:62: -1- AC_SUBST([GTK_LIBS])
1356 m4trace:configure.in:67: -2- AC_DEFINE_TRACE_LITERAL([NO_GTK])
1357 m4trace:configure.in:68: -1- AM_PATH_GTK([1.0.0], [CFLAGS="$CFLAGS $GTK_CFLAGS"
1358 LIBS="$LIBS $GTK_LIBS"], [{ echo "$as_me:$LINENO: WARNING: Building without GTK+ display support" >&5
1359 echo "$as_me: WARNING: Building without GTK+ display support" >&2;}
1360 cat >>confdefs.h <<\_ACEOF
1361 @%:@define NO_GTK 1
1362 _ACEOF
1363
1364 GTK_OBJ=""])
1365 m4trace:configure.in:68: -1- AC_SUBST([GTK_CONFIG], [$ac_cv_path_GTK_CONFIG])
1366 m4trace:configure.in:68: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
1367 You should run autoupdate.], [autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
1368 /usr/share/aclocal/gtk.m4:194: AM_PATH_GTK is expanded from...
1369 configure.in:68: the top level])
1370 m4trace:configure.in:68: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
1371 You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
1372 /usr/share/aclocal/gtk.m4:194: AM_PATH_GTK is expanded from...
1373 configure.in:68: the top level])
1374 m4trace:configure.in:68: -1- AC_SUBST([GTK_CFLAGS])
1375 m4trace:configure.in:68: -1- AC_SUBST([GTK_LIBS])
1376 m4trace:configure.in:71: -1- AC_DEFINE_TRACE_LITERAL([NO_GTK])
1377 m4trace:configure.in:76: -2- AC_CHECK_LIB([socket], [socket], [], [{ { echo "$as_me:$LINENO: error: No socket library found" >&5
1378 echo "$as_me: error: No socket library found" >&2;}
1379 { (exit 1); exit 1; }; }])
1380 m4trace:configure.in:76: -2- AH_OUTPUT([HAVE_LIBSOCKET], [/* Define to 1 if you have the `socket\' library (-lsocket). */
1381 #undef HAVE_LIBSOCKET])
1382 m4trace:configure.in:76: -2- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSOCKET])
1383 m4trace:configure.in:79: -2- AC_CHECK_LIB([nsl], [gethostbyname], [], [{ { echo "$as_me:$LINENO: error: No nameservice library found" >&5
1384 echo "$as_me: error: No nameservice library found" >&2;}
1385 { (exit 1); exit 1; }; }])
1386 m4trace:configure.in:79: -2- AH_OUTPUT([HAVE_LIBNSL], [/* Define to 1 if you have the `nsl\' library (-lnsl). */
1387 #undef HAVE_LIBNSL])
1388 m4trace:configure.in:79: -2- AC_DEFINE_TRACE_LITERAL([HAVE_LIBNSL])
1389 m4trace:configure.in:85: -1- AC_CHECK_FUNCS([seteuid])
1390 m4trace:configure.in:85: -1- AH_OUTPUT([HAVE_SETEUID], [/* Define to 1 if you have the `seteuid\' function. */
1391 #undef HAVE_SETEUID])
1392 m4trace:configure.in:91: -4- AC_CHECK_LIB([resolv], [__res_mkquery], [], [{ { echo "$as_me:$LINENO: error: No resolver library found" >&5
1393 echo "$as_me: error: No resolver library found" >&2;}
1394 { (exit 1); exit 1; }; }])
1395 m4trace:configure.in:91: -4- AH_OUTPUT([HAVE_LIBRESOLV], [/* Define to 1 if you have the `resolv\' library (-lresolv). */
1396 #undef HAVE_LIBRESOLV])
1397 m4trace:configure.in:91: -4- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV])
1398 m4trace:configure.in:91: -3- AC_CHECK_LIB([resolv], [res_mkquery], [], [
1399 echo "$as_me:$LINENO: checking for __res_mkquery in -lresolv" >&5
1400 echo $ECHO_N "checking for __res_mkquery in -lresolv... $ECHO_C" >&6
1401 if test "${ac_cv_lib_resolv___res_mkquery+set}" = set; then
1402 echo $ECHO_N "(cached) $ECHO_C" >&6
1403 else
1404 ac_check_lib_save_LIBS=$LIBS
1405 LIBS="-lresolv $LIBS"
1406 cat >conftest.$ac_ext <<_ACEOF
1407 /* confdefs.h. */
1408 _ACEOF
1409 cat confdefs.h >>conftest.$ac_ext
1410 cat >>conftest.$ac_ext <<_ACEOF
1411 /* end confdefs.h. */
1412
1413 /* Override any gcc2 internal prototype to avoid an error. */
1414 #ifdef __cplusplus
1415 extern "C"
1416 #endif
1417 /* We use char because int might match the return type of a gcc2
1418 builtin and then its argument prototype would still apply. */
1419 char __res_mkquery ();
1420 int
1421 main ()
1422 {
1423 __res_mkquery ();
1424 ;
1425 return 0;
1426 }
1427 _ACEOF
1428 rm -f conftest.$ac_objext conftest$ac_exeext
1429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1430 (eval $ac_link) 2>conftest.er1
1431 ac_status=$?
1432 grep -v '^ *+' conftest.er1 >conftest.err
1433 rm -f conftest.er1
1434 cat conftest.err >&5
1435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1436 (exit $ac_status); } &&
1437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1439 (eval $ac_try) 2>&5
1440 ac_status=$?
1441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1442 (exit $ac_status); }; } &&
1443 { ac_try='test -s conftest$ac_exeext'
1444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1445 (eval $ac_try) 2>&5
1446 ac_status=$?
1447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1448 (exit $ac_status); }; }; then
1449 ac_cv_lib_resolv___res_mkquery=yes
1450 else
1451 echo "$as_me: failed program was:" >&5
1452 sed 's/^/| /' conftest.$ac_ext >&5
1453
1454 ac_cv_lib_resolv___res_mkquery=no
1455 fi
1456 rm -f conftest.err conftest.$ac_objext \
1457 conftest$ac_exeext conftest.$ac_ext
1458 LIBS=$ac_check_lib_save_LIBS
1459 fi
1460 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_mkquery" >&5
1461 echo "${ECHO_T}$ac_cv_lib_resolv___res_mkquery" >&6
1462 if test $ac_cv_lib_resolv___res_mkquery = yes; then
1463 cat >>confdefs.h <<_ACEOF
1464 @%:@define HAVE_LIBRESOLV 1
1465 _ACEOF
1466
1467 LIBS="-lresolv $LIBS"
1468
1469 else
1470 { { echo "$as_me:$LINENO: error: No resolver library found" >&5
1471 echo "$as_me: error: No resolver library found" >&2;}
1472 { (exit 1); exit 1; }; }
1473 fi
1474 ])
1475 m4trace:configure.in:91: -3- AH_OUTPUT([HAVE_LIBRESOLV], [/* Define to 1 if you have the `resolv\' library (-lresolv). */
1476 #undef HAVE_LIBRESOLV])
1477 m4trace:configure.in:91: -3- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV])
1478 m4trace:configure.in:91: -2- AC_CHECK_LIB([bind], [res_mkquery], [], [
1479 echo "$as_me:$LINENO: checking for res_mkquery in -lresolv" >&5
1480 echo $ECHO_N "checking for res_mkquery in -lresolv... $ECHO_C" >&6
1481 if test "${ac_cv_lib_resolv_res_mkquery+set}" = set; then
1482 echo $ECHO_N "(cached) $ECHO_C" >&6
1483 else
1484 ac_check_lib_save_LIBS=$LIBS
1485 LIBS="-lresolv $LIBS"
1486 cat >conftest.$ac_ext <<_ACEOF
1487 /* confdefs.h. */
1488 _ACEOF
1489 cat confdefs.h >>conftest.$ac_ext
1490 cat >>conftest.$ac_ext <<_ACEOF
1491 /* end confdefs.h. */
1492
1493 /* Override any gcc2 internal prototype to avoid an error. */
1494 #ifdef __cplusplus
1495 extern "C"
1496 #endif
1497 /* We use char because int might match the return type of a gcc2
1498 builtin and then its argument prototype would still apply. */
1499 char res_mkquery ();
1500 int
1501 main ()
1502 {
1503 res_mkquery ();
1504 ;
1505 return 0;
1506 }
1507 _ACEOF
1508 rm -f conftest.$ac_objext conftest$ac_exeext
1509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1510 (eval $ac_link) 2>conftest.er1
1511 ac_status=$?
1512 grep -v '^ *+' conftest.er1 >conftest.err
1513 rm -f conftest.er1
1514 cat conftest.err >&5
1515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1516 (exit $ac_status); } &&
1517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1519 (eval $ac_try) 2>&5
1520 ac_status=$?
1521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1522 (exit $ac_status); }; } &&
1523 { ac_try='test -s conftest$ac_exeext'
1524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1525 (eval $ac_try) 2>&5
1526 ac_status=$?
1527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1528 (exit $ac_status); }; }; then
1529 ac_cv_lib_resolv_res_mkquery=yes
1530 else
1531 echo "$as_me: failed program was:" >&5
1532 sed 's/^/| /' conftest.$ac_ext >&5
1533
1534 ac_cv_lib_resolv_res_mkquery=no
1535 fi
1536 rm -f conftest.err conftest.$ac_objext \
1537 conftest$ac_exeext conftest.$ac_ext
1538 LIBS=$ac_check_lib_save_LIBS
1539 fi
1540 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_mkquery" >&5
1541 echo "${ECHO_T}$ac_cv_lib_resolv_res_mkquery" >&6
1542 if test $ac_cv_lib_resolv_res_mkquery = yes; then
1543 cat >>confdefs.h <<_ACEOF
1544 @%:@define HAVE_LIBRESOLV 1
1545 _ACEOF
1546
1547 LIBS="-lresolv $LIBS"
1548
1549 else
1550
1551 echo "$as_me:$LINENO: checking for __res_mkquery in -lresolv" >&5
1552 echo $ECHO_N "checking for __res_mkquery in -lresolv... $ECHO_C" >&6
1553 if test "${ac_cv_lib_resolv___res_mkquery+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 else
1556 ac_check_lib_save_LIBS=$LIBS
1557 LIBS="-lresolv $LIBS"
1558 cat >conftest.$ac_ext <<_ACEOF
1559 /* confdefs.h. */
1560 _ACEOF
1561 cat confdefs.h >>conftest.$ac_ext
1562 cat >>conftest.$ac_ext <<_ACEOF
1563 /* end confdefs.h. */
1564
1565 /* Override any gcc2 internal prototype to avoid an error. */
1566 #ifdef __cplusplus
1567 extern "C"
1568 #endif
1569 /* We use char because int might match the return type of a gcc2
1570 builtin and then its argument prototype would still apply. */
1571 char __res_mkquery ();
1572 int
1573 main ()
1574 {
1575 __res_mkquery ();
1576 ;
1577 return 0;
1578 }
1579 _ACEOF
1580 rm -f conftest.$ac_objext conftest$ac_exeext
1581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1582 (eval $ac_link) 2>conftest.er1
1583 ac_status=$?
1584 grep -v '^ *+' conftest.er1 >conftest.err
1585 rm -f conftest.er1
1586 cat conftest.err >&5
1587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1588 (exit $ac_status); } &&
1589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1591 (eval $ac_try) 2>&5
1592 ac_status=$?
1593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1594 (exit $ac_status); }; } &&
1595 { ac_try='test -s conftest$ac_exeext'
1596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1597 (eval $ac_try) 2>&5
1598 ac_status=$?
1599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1600 (exit $ac_status); }; }; then
1601 ac_cv_lib_resolv___res_mkquery=yes
1602 else
1603 echo "$as_me: failed program was:" >&5
1604 sed 's/^/| /' conftest.$ac_ext >&5
1605
1606 ac_cv_lib_resolv___res_mkquery=no
1607 fi
1608 rm -f conftest.err conftest.$ac_objext \
1609 conftest$ac_exeext conftest.$ac_ext
1610 LIBS=$ac_check_lib_save_LIBS
1611 fi
1612 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_mkquery" >&5
1613 echo "${ECHO_T}$ac_cv_lib_resolv___res_mkquery" >&6
1614 if test $ac_cv_lib_resolv___res_mkquery = yes; then
1615 cat >>confdefs.h <<_ACEOF
1616 @%:@define HAVE_LIBRESOLV 1
1617 _ACEOF
1618
1619 LIBS="-lresolv $LIBS"
1620
1621 else
1622 { { echo "$as_me:$LINENO: error: No resolver library found" >&5
1623 echo "$as_me: error: No resolver library found" >&2;}
1624 { (exit 1); exit 1; }; }
1625 fi
1626
1627 fi
1628 ])
1629 m4trace:configure.in:91: -2- AH_OUTPUT([HAVE_LIBBIND], [/* Define to 1 if you have the `bind\' library (-lbind). */
1630 #undef HAVE_LIBBIND])
1631 m4trace:configure.in:91: -2- AC_DEFINE_TRACE_LITERAL([HAVE_LIBBIND])
1632 m4trace:configure.in:94: -2- AC_DEFINE_TRACE_LITERAL([NO_HERROR])
1633 m4trace:configure.in:95: -2- AC_DEFINE_TRACE_LITERAL([NO_STRERROR])
1634 m4trace:configure.in:100: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_IPV6])
1635 m4trace:configure.in:100: -1- AH_OUTPUT([ENABLE_IPV6], [/* Define to enable IPv6 */
1636 #undef ENABLE_IPV6])
1637 m4trace:configure.in:105: -1- _m4_warn([obsolete], [The macro `ac_cv_prog_gcc' is obsolete.
1638 You should run autoupdate.], [autoconf/c.m4:440: ac_cv_prog_gcc is expanded from...
1639 configure.in:105: the top level])
1640 m4trace:configure.in:115: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
1641 You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
1642 configure.in:115: the top level])
1643 m4trace:configure.in:123: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
1644 You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
1645 configure.in:123: the top level])
1646 m4trace:configure.in:144: -1- AM_CONFIG_HEADER([config.h])
1647 m4trace:configure.in:144: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
1648 You should run autoupdate.], [/usr/share/aclocal-1.9/header.m4:12: AM_CONFIG_HEADER is expanded from...
1649 configure.in:144: the top level])
1650 m4trace:configure.in:144: -1- AC_CONFIG_HEADERS([config.h])
1651 m4trace:configure.in:145: -1- AC_CONFIG_FILES([Makefile img/Makefile])
1652 m4trace:configure.in:145: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
1653 You should run autoupdate.], [])
1654 m4trace:configure.in:145: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
1655 m4trace:configure.in:145: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
1656 m4trace:configure.in:145: -1- _AC_AM_CONFIG_HEADER_HOOK([$ac_file])
1657 m4trace:configure.in:145: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
0 #! /bin/sh
1 # Attempt to guess a canonical system name.
2 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4
5 timestamp='2005-04-22'
6
7 # This file is free software; you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 #
21 # As a special exception to the GNU General Public License, if you
22 # distribute this file as part of a program that contains a
23 # configuration script generated by Autoconf, you may include it under
24 # the same distribution terms that you use for the rest of that program.
25
26 # Originally written by Per Bothner <per@bothner.com>.
27 # Please send patches to <config-patches@gnu.org>. Submit a context
28 # diff and a properly formatted ChangeLog entry.
29 #
30 # This script attempts to guess a canonical system name similar to
31 # config.sub. If it succeeds, it prints the system name on stdout, and
32 # exits with 0. Otherwise, it exits with 1.
33 #
34 # The plan is that this can be called by configure scripts if you
35 # don't specify an explicit build system type.
36
37 me=`echo "$0" | sed -e 's,.*/,,'`
38
39 usage="\
40 Usage: $0 [OPTION]
41
42 Output the configuration name of the system \`$me' is run on.
43
44 Operation modes:
45 -h, --help print this help, then exit
46 -t, --time-stamp print date of last modification, then exit
47 -v, --version print version number, then exit
48
49 Report bugs and patches to <config-patches@gnu.org>."
50
51 version="\
52 GNU config.guess ($timestamp)
53
54 Originally written by Per Bothner.
55 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
56 Free Software Foundation, Inc.
57
58 This is free software; see the source for copying conditions. There is NO
59 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
60
61 help="
62 Try \`$me --help' for more information."
63
64 # Parse command line
65 while test $# -gt 0 ; do
66 case $1 in
67 --time-stamp | --time* | -t )
68 echo "$timestamp" ; exit 0 ;;
69 --version | -v )
70 echo "$version" ; exit 0 ;;
71 --help | --h* | -h )
72 echo "$usage"; exit 0 ;;
73 -- ) # Stop option processing
74 shift; break ;;
75 - ) # Use stdin as input.
76 break ;;
77 -* )
78 echo "$me: invalid option $1$help" >&2
79 exit 1 ;;
80 * )
81 break ;;
82 esac
83 done
84
85 if test $# != 0; then
86 echo "$me: too many arguments$help" >&2
87 exit 1
88 fi
89
90 trap 'exit 1' 1 2 15
91
92 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a
93 # compiler to aid in system detection is discouraged as it requires
94 # temporary files to be created and, as you can see below, it is a
95 # headache to deal with in a portable fashion.
96
97 # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
98 # use `HOST_CC' if defined, but it is deprecated.
99
100 # Portable tmp directory creation inspired by the Autoconf team.
101
102 set_cc_for_build='
103 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
104 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
105 : ${TMPDIR=/tmp} ;
106 { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
107 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
108 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
109 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
110 dummy=$tmp/dummy ;
111 tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
112 case $CC_FOR_BUILD,$HOST_CC,$CC in
113 ,,) echo "int x;" > $dummy.c ;
114 for c in cc gcc c89 c99 ; do
115 if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
116 CC_FOR_BUILD="$c"; break ;
117 fi ;
118 done ;
119 if test x"$CC_FOR_BUILD" = x ; then
120 CC_FOR_BUILD=no_compiler_found ;
121 fi
122 ;;
123 ,,*) CC_FOR_BUILD=$CC ;;
124 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
125 esac ;'
126
127 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
128 # (ghazi@noc.rutgers.edu 1994-08-24)
129 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
130 PATH=$PATH:/.attbin ; export PATH
131 fi
132
133 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
134 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
135 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
136 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
137
138 # Note: order is significant - the case branches are not exclusive.
139
140 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
141 *:NetBSD:*:*)
142 # NetBSD (nbsd) targets should (where applicable) match one or
143 # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
144 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
145 # switched to ELF, *-*-netbsd* would select the old
146 # object file format. This provides both forward
147 # compatibility and a consistent mechanism for selecting the
148 # object file format.
149 #
150 # Note: NetBSD doesn't particularly care about the vendor
151 # portion of the name. We always set it to "unknown".
152 sysctl="sysctl -n hw.machine_arch"
153 UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
154 /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
155 case "${UNAME_MACHINE_ARCH}" in
156 armeb) machine=armeb-unknown ;;
157 arm*) machine=arm-unknown ;;
158 sh3el) machine=shl-unknown ;;
159 sh3eb) machine=sh-unknown ;;
160 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
161 esac
162 # The Operating System including object format, if it has switched
163 # to ELF recently, or will in the future.
164 case "${UNAME_MACHINE_ARCH}" in
165 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
166 eval $set_cc_for_build
167 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
168 | grep __ELF__ >/dev/null
169 then
170 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
171 # Return netbsd for either. FIX?
172 os=netbsd
173 else
174 os=netbsdelf
175 fi
176 ;;
177 *)
178 os=netbsd
179 ;;
180 esac
181 # The OS release
182 # Debian GNU/NetBSD machines have a different userland, and
183 # thus, need a distinct triplet. However, they do not need
184 # kernel version information, so it can be replaced with a
185 # suitable tag, in the style of linux-gnu.
186 case "${UNAME_VERSION}" in
187 Debian*)
188 release='-gnu'
189 ;;
190 *)
191 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
192 ;;
193 esac
194 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
195 # contains redundant information, the shorter form:
196 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
197 echo "${machine}-${os}${release}"
198 exit 0 ;;
199 amd64:OpenBSD:*:*)
200 echo x86_64-unknown-openbsd${UNAME_RELEASE}
201 exit 0 ;;
202 amiga:OpenBSD:*:*)
203 echo m68k-unknown-openbsd${UNAME_RELEASE}
204 exit 0 ;;
205 cats:OpenBSD:*:*)
206 echo arm-unknown-openbsd${UNAME_RELEASE}
207 exit 0 ;;
208 hp300:OpenBSD:*:*)
209 echo m68k-unknown-openbsd${UNAME_RELEASE}
210 exit 0 ;;
211 luna88k:OpenBSD:*:*)
212 echo m88k-unknown-openbsd${UNAME_RELEASE}
213 exit 0 ;;
214 mac68k:OpenBSD:*:*)
215 echo m68k-unknown-openbsd${UNAME_RELEASE}
216 exit 0 ;;
217 macppc:OpenBSD:*:*)
218 echo powerpc-unknown-openbsd${UNAME_RELEASE}
219 exit 0 ;;
220 mvme68k:OpenBSD:*:*)
221 echo m68k-unknown-openbsd${UNAME_RELEASE}
222 exit 0 ;;
223 mvme88k:OpenBSD:*:*)
224 echo m88k-unknown-openbsd${UNAME_RELEASE}
225 exit 0 ;;
226 mvmeppc:OpenBSD:*:*)
227 echo powerpc-unknown-openbsd${UNAME_RELEASE}
228 exit 0 ;;
229 sgi:OpenBSD:*:*)
230 echo mips64-unknown-openbsd${UNAME_RELEASE}
231 exit 0 ;;
232 sun3:OpenBSD:*:*)
233 echo m68k-unknown-openbsd${UNAME_RELEASE}
234 exit 0 ;;
235 *:OpenBSD:*:*)
236 echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
237 exit 0 ;;
238 *:ekkoBSD:*:*)
239 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
240 exit 0 ;;
241 macppc:MirBSD:*:*)
242 echo powerppc-unknown-mirbsd${UNAME_RELEASE}
243 exit 0 ;;
244 *:MirBSD:*:*)
245 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
246 exit 0 ;;
247 alpha:OSF1:*:*)
248 case $UNAME_RELEASE in
249 *4.0)
250 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
251 ;;
252 *5.*)
253 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
254 ;;
255 esac
256 # According to Compaq, /usr/sbin/psrinfo has been available on
257 # OSF/1 and Tru64 systems produced since 1995. I hope that
258 # covers most systems running today. This code pipes the CPU
259 # types through head -n 1, so we only detect the type of CPU 0.
260 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
261 case "$ALPHA_CPU_TYPE" in
262 "EV4 (21064)")
263 UNAME_MACHINE="alpha" ;;
264 "EV4.5 (21064)")
265 UNAME_MACHINE="alpha" ;;
266 "LCA4 (21066/21068)")
267 UNAME_MACHINE="alpha" ;;
268 "EV5 (21164)")
269 UNAME_MACHINE="alphaev5" ;;
270 "EV5.6 (21164A)")
271 UNAME_MACHINE="alphaev56" ;;
272 "EV5.6 (21164PC)")
273 UNAME_MACHINE="alphapca56" ;;
274 "EV5.7 (21164PC)")
275 UNAME_MACHINE="alphapca57" ;;
276 "EV6 (21264)")
277 UNAME_MACHINE="alphaev6" ;;
278 "EV6.7 (21264A)")
279 UNAME_MACHINE="alphaev67" ;;
280 "EV6.8CB (21264C)")
281 UNAME_MACHINE="alphaev68" ;;
282 "EV6.8AL (21264B)")
283 UNAME_MACHINE="alphaev68" ;;
284 "EV6.8CX (21264D)")
285 UNAME_MACHINE="alphaev68" ;;
286 "EV6.9A (21264/EV69A)")
287 UNAME_MACHINE="alphaev69" ;;
288 "EV7 (21364)")
289 UNAME_MACHINE="alphaev7" ;;
290 "EV7.9 (21364A)")
291 UNAME_MACHINE="alphaev79" ;;
292 esac
293 # A Pn.n version is a patched version.
294 # A Vn.n version is a released version.
295 # A Tn.n version is a released field test version.
296 # A Xn.n version is an unreleased experimental baselevel.
297 # 1.2 uses "1.2" for uname -r.
298 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
299 exit 0 ;;
300 Alpha\ *:Windows_NT*:*)
301 # How do we know it's Interix rather than the generic POSIX subsystem?
302 # Should we change UNAME_MACHINE based on the output of uname instead
303 # of the specific Alpha model?
304 echo alpha-pc-interix
305 exit 0 ;;
306 21064:Windows_NT:50:3)
307 echo alpha-dec-winnt3.5
308 exit 0 ;;
309 Amiga*:UNIX_System_V:4.0:*)
310 echo m68k-unknown-sysv4
311 exit 0;;
312 *:[Aa]miga[Oo][Ss]:*:*)
313 echo ${UNAME_MACHINE}-unknown-amigaos
314 exit 0 ;;
315 *:[Mm]orph[Oo][Ss]:*:*)
316 echo ${UNAME_MACHINE}-unknown-morphos
317 exit 0 ;;
318 *:OS/390:*:*)
319 echo i370-ibm-openedition
320 exit 0 ;;
321 *:z/VM:*:*)
322 echo s390-ibm-zvmoe
323 exit 0 ;;
324 *:OS400:*:*)
325 echo powerpc-ibm-os400
326 exit 0 ;;
327 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
328 echo arm-acorn-riscix${UNAME_RELEASE}
329 exit 0;;
330 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
331 echo hppa1.1-hitachi-hiuxmpp
332 exit 0;;
333 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
334 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
335 if test "`(/bin/universe) 2>/dev/null`" = att ; then
336 echo pyramid-pyramid-sysv3
337 else
338 echo pyramid-pyramid-bsd
339 fi
340 exit 0 ;;
341 NILE*:*:*:dcosx)
342 echo pyramid-pyramid-svr4
343 exit 0 ;;
344 DRS?6000:unix:4.0:6*)
345 echo sparc-icl-nx6
346 exit 0 ;;
347 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
348 case `/usr/bin/uname -p` in
349 sparc) echo sparc-icl-nx7 && exit 0 ;;
350 esac ;;
351 sun4H:SunOS:5.*:*)
352 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
353 exit 0 ;;
354 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
355 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
356 exit 0 ;;
357 i86pc:SunOS:5.*:*)
358 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
359 exit 0 ;;
360 sun4*:SunOS:6*:*)
361 # According to config.sub, this is the proper way to canonicalize
362 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
363 # it's likely to be more like Solaris than SunOS4.
364 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
365 exit 0 ;;
366 sun4*:SunOS:*:*)
367 case "`/usr/bin/arch -k`" in
368 Series*|S4*)
369 UNAME_RELEASE=`uname -v`
370 ;;
371 esac
372 # Japanese Language versions have a version number like `4.1.3-JL'.
373 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
374 exit 0 ;;
375 sun3*:SunOS:*:*)
376 echo m68k-sun-sunos${UNAME_RELEASE}
377 exit 0 ;;
378 sun*:*:4.2BSD:*)
379 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
380 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
381 case "`/bin/arch`" in
382 sun3)
383 echo m68k-sun-sunos${UNAME_RELEASE}
384 ;;
385 sun4)
386 echo sparc-sun-sunos${UNAME_RELEASE}
387 ;;
388 esac
389 exit 0 ;;
390 aushp:SunOS:*:*)
391 echo sparc-auspex-sunos${UNAME_RELEASE}
392 exit 0 ;;
393 # The situation for MiNT is a little confusing. The machine name
394 # can be virtually everything (everything which is not
395 # "atarist" or "atariste" at least should have a processor
396 # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
397 # to the lowercase version "mint" (or "freemint"). Finally
398 # the system name "TOS" denotes a system which is actually not
399 # MiNT. But MiNT is downward compatible to TOS, so this should
400 # be no problem.
401 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
402 echo m68k-atari-mint${UNAME_RELEASE}
403 exit 0 ;;
404 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
405 echo m68k-atari-mint${UNAME_RELEASE}
406 exit 0 ;;
407 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
408 echo m68k-atari-mint${UNAME_RELEASE}
409 exit 0 ;;
410 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
411 echo m68k-milan-mint${UNAME_RELEASE}
412 exit 0 ;;
413 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
414 echo m68k-hades-mint${UNAME_RELEASE}
415 exit 0 ;;
416 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
417 echo m68k-unknown-mint${UNAME_RELEASE}
418 exit 0 ;;
419 m68k:machten:*:*)
420 echo m68k-apple-machten${UNAME_RELEASE}
421 exit 0 ;;
422 powerpc:machten:*:*)
423 echo powerpc-apple-machten${UNAME_RELEASE}
424 exit 0 ;;
425 RISC*:Mach:*:*)
426 echo mips-dec-mach_bsd4.3
427 exit 0 ;;
428 RISC*:ULTRIX:*:*)
429 echo mips-dec-ultrix${UNAME_RELEASE}
430 exit 0 ;;
431 VAX*:ULTRIX*:*:*)
432 echo vax-dec-ultrix${UNAME_RELEASE}
433 exit 0 ;;
434 2020:CLIX:*:* | 2430:CLIX:*:*)
435 echo clipper-intergraph-clix${UNAME_RELEASE}
436 exit 0 ;;
437 mips:*:*:UMIPS | mips:*:*:RISCos)
438 eval $set_cc_for_build
439 sed 's/^ //' << EOF >$dummy.c
440 #ifdef __cplusplus
441 #include <stdio.h> /* for printf() prototype */
442 int main (int argc, char *argv[]) {
443 #else
444 int main (argc, argv) int argc; char *argv[]; {
445 #endif
446 #if defined (host_mips) && defined (MIPSEB)
447 #if defined (SYSTYPE_SYSV)
448 printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
449 #endif
450 #if defined (SYSTYPE_SVR4)
451 printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
452 #endif
453 #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
454 printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
455 #endif
456 #endif
457 exit (-1);
458 }
459 EOF
460 $CC_FOR_BUILD -o $dummy $dummy.c \
461 && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
462 && exit 0
463 echo mips-mips-riscos${UNAME_RELEASE}
464 exit 0 ;;
465 Motorola:PowerMAX_OS:*:*)
466 echo powerpc-motorola-powermax
467 exit 0 ;;
468 Motorola:*:4.3:PL8-*)
469 echo powerpc-harris-powermax
470 exit 0 ;;
471 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
472 echo powerpc-harris-powermax
473 exit 0 ;;
474 Night_Hawk:Power_UNIX:*:*)
475 echo powerpc-harris-powerunix
476 exit 0 ;;
477 m88k:CX/UX:7*:*)
478 echo m88k-harris-cxux7
479 exit 0 ;;
480 m88k:*:4*:R4*)
481 echo m88k-motorola-sysv4
482 exit 0 ;;
483 m88k:*:3*:R3*)
484 echo m88k-motorola-sysv3
485 exit 0 ;;
486 AViiON:dgux:*:*)
487 # DG/UX returns AViiON for all architectures
488 UNAME_PROCESSOR=`/usr/bin/uname -p`
489 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
490 then
491 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
492 [ ${TARGET_BINARY_INTERFACE}x = x ]
493 then
494 echo m88k-dg-dgux${UNAME_RELEASE}
495 else
496 echo m88k-dg-dguxbcs${UNAME_RELEASE}
497 fi
498 else
499 echo i586-dg-dgux${UNAME_RELEASE}
500 fi
501 exit 0 ;;
502 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
503 echo m88k-dolphin-sysv3
504 exit 0 ;;
505 M88*:*:R3*:*)
506 # Delta 88k system running SVR3
507 echo m88k-motorola-sysv3
508 exit 0 ;;
509 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
510 echo m88k-tektronix-sysv3
511 exit 0 ;;
512 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
513 echo m68k-tektronix-bsd
514 exit 0 ;;
515 *:IRIX*:*:*)
516 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
517 exit 0 ;;
518 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
519 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
520 exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
521 i*86:AIX:*:*)
522 echo i386-ibm-aix
523 exit 0 ;;
524 ia64:AIX:*:*)
525 if [ -x /usr/bin/oslevel ] ; then
526 IBM_REV=`/usr/bin/oslevel`
527 else
528 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
529 fi
530 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
531 exit 0 ;;
532 *:AIX:2:3)
533 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
534 eval $set_cc_for_build
535 sed 's/^ //' << EOF >$dummy.c
536 #include <sys/systemcfg.h>
537
538 main()
539 {
540 if (!__power_pc())
541 exit(1);
542 puts("powerpc-ibm-aix3.2.5");
543 exit(0);
544 }
545 EOF
546 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
547 echo rs6000-ibm-aix3.2.5
548 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
549 echo rs6000-ibm-aix3.2.4
550 else
551 echo rs6000-ibm-aix3.2
552 fi
553 exit 0 ;;
554 *:AIX:*:[45])
555 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
556 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
557 IBM_ARCH=rs6000
558 else
559 IBM_ARCH=powerpc
560 fi
561 if [ -x /usr/bin/oslevel ] ; then
562 IBM_REV=`/usr/bin/oslevel`
563 else
564 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
565 fi
566 echo ${IBM_ARCH}-ibm-aix${IBM_REV}
567 exit 0 ;;
568 *:AIX:*:*)
569 echo rs6000-ibm-aix
570 exit 0 ;;
571 ibmrt:4.4BSD:*|romp-ibm:BSD:*)
572 echo romp-ibm-bsd4.4
573 exit 0 ;;
574 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
575 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
576 exit 0 ;; # report: romp-ibm BSD 4.3
577 *:BOSX:*:*)
578 echo rs6000-bull-bosx
579 exit 0 ;;
580 DPX/2?00:B.O.S.:*:*)
581 echo m68k-bull-sysv3
582 exit 0 ;;
583 9000/[34]??:4.3bsd:1.*:*)
584 echo m68k-hp-bsd
585 exit 0 ;;
586 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
587 echo m68k-hp-bsd4.4
588 exit 0 ;;
589 9000/[34678]??:HP-UX:*:*)
590 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
591 case "${UNAME_MACHINE}" in
592 9000/31? ) HP_ARCH=m68000 ;;
593 9000/[34]?? ) HP_ARCH=m68k ;;
594 9000/[678][0-9][0-9])
595 if [ -x /usr/bin/getconf ]; then
596 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
597 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
598 case "${sc_cpu_version}" in
599 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
600 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
601 532) # CPU_PA_RISC2_0
602 case "${sc_kernel_bits}" in
603 32) HP_ARCH="hppa2.0n" ;;
604 64) HP_ARCH="hppa2.0w" ;;
605 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
606 esac ;;
607 esac
608 fi
609 if [ "${HP_ARCH}" = "" ]; then
610 eval $set_cc_for_build
611 sed 's/^ //' << EOF >$dummy.c
612
613 #define _HPUX_SOURCE
614 #include <stdlib.h>
615 #include <unistd.h>
616
617 int main ()
618 {
619 #if defined(_SC_KERNEL_BITS)
620 long bits = sysconf(_SC_KERNEL_BITS);
621 #endif
622 long cpu = sysconf (_SC_CPU_VERSION);
623
624 switch (cpu)
625 {
626 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
627 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
628 case CPU_PA_RISC2_0:
629 #if defined(_SC_KERNEL_BITS)
630 switch (bits)
631 {
632 case 64: puts ("hppa2.0w"); break;
633 case 32: puts ("hppa2.0n"); break;
634 default: puts ("hppa2.0"); break;
635 } break;
636 #else /* !defined(_SC_KERNEL_BITS) */
637 puts ("hppa2.0"); break;
638 #endif
639 default: puts ("hppa1.0"); break;
640 }
641 exit (0);
642 }
643 EOF
644 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
645 test -z "$HP_ARCH" && HP_ARCH=hppa
646 fi ;;
647 esac
648 if [ ${HP_ARCH} = "hppa2.0w" ]
649 then
650 # avoid double evaluation of $set_cc_for_build
651 test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
652 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
653 then
654 HP_ARCH="hppa2.0w"
655 else
656 HP_ARCH="hppa64"
657 fi
658 fi
659 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
660 exit 0 ;;
661 ia64:HP-UX:*:*)
662 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
663 echo ia64-hp-hpux${HPUX_REV}
664 exit 0 ;;
665 3050*:HI-UX:*:*)
666 eval $set_cc_for_build
667 sed 's/^ //' << EOF >$dummy.c
668 #include <unistd.h>
669 int
670 main ()
671 {
672 long cpu = sysconf (_SC_CPU_VERSION);
673 /* The order matters, because CPU_IS_HP_MC68K erroneously returns
674 true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
675 results, however. */
676 if (CPU_IS_PA_RISC (cpu))
677 {
678 switch (cpu)
679 {
680 case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
681 case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
682 case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
683 default: puts ("hppa-hitachi-hiuxwe2"); break;
684 }
685 }
686 else if (CPU_IS_HP_MC68K (cpu))
687 puts ("m68k-hitachi-hiuxwe2");
688 else puts ("unknown-hitachi-hiuxwe2");
689 exit (0);
690 }
691 EOF
692 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
693 echo unknown-hitachi-hiuxwe2
694 exit 0 ;;
695 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
696 echo hppa1.1-hp-bsd
697 exit 0 ;;
698 9000/8??:4.3bsd:*:*)
699 echo hppa1.0-hp-bsd
700 exit 0 ;;
701 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
702 echo hppa1.0-hp-mpeix
703 exit 0 ;;
704 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
705 echo hppa1.1-hp-osf
706 exit 0 ;;
707 hp8??:OSF1:*:*)
708 echo hppa1.0-hp-osf
709 exit 0 ;;
710 i*86:OSF1:*:*)
711 if [ -x /usr/sbin/sysversion ] ; then
712 echo ${UNAME_MACHINE}-unknown-osf1mk
713 else
714 echo ${UNAME_MACHINE}-unknown-osf1
715 fi
716 exit 0 ;;
717 parisc*:Lites*:*:*)
718 echo hppa1.1-hp-lites
719 exit 0 ;;
720 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
721 echo c1-convex-bsd
722 exit 0 ;;
723 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
724 if getsysinfo -f scalar_acc
725 then echo c32-convex-bsd
726 else echo c2-convex-bsd
727 fi
728 exit 0 ;;
729 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
730 echo c34-convex-bsd
731 exit 0 ;;
732 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
733 echo c38-convex-bsd
734 exit 0 ;;
735 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
736 echo c4-convex-bsd
737 exit 0 ;;
738 CRAY*Y-MP:*:*:*)
739 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
740 exit 0 ;;
741 CRAY*[A-Z]90:*:*:*)
742 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
743 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
744 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
745 -e 's/\.[^.]*$/.X/'
746 exit 0 ;;
747 CRAY*TS:*:*:*)
748 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
749 exit 0 ;;
750 CRAY*T3E:*:*:*)
751 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
752 exit 0 ;;
753 CRAY*SV1:*:*:*)
754 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
755 exit 0 ;;
756 *:UNICOS/mp:*:*)
757 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
758 exit 0 ;;
759 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
760 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
761 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
762 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
763 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
764 exit 0 ;;
765 5000:UNIX_System_V:4.*:*)
766 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
767 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
768 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
769 exit 0 ;;
770 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
771 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
772 exit 0 ;;
773 sparc*:BSD/OS:*:*)
774 echo sparc-unknown-bsdi${UNAME_RELEASE}
775 exit 0 ;;
776 *:BSD/OS:*:*)
777 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
778 exit 0 ;;
779 *:FreeBSD:*:*)
780 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
781 exit 0 ;;
782 i*:CYGWIN*:*)
783 echo ${UNAME_MACHINE}-pc-cygwin
784 exit 0 ;;
785 i*:MINGW*:*)
786 echo ${UNAME_MACHINE}-pc-mingw32
787 exit 0 ;;
788 i*:PW*:*)
789 echo ${UNAME_MACHINE}-pc-pw32
790 exit 0 ;;
791 x86:Interix*:[34]*)
792 echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
793 exit 0 ;;
794 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
795 echo i${UNAME_MACHINE}-pc-mks
796 exit 0 ;;
797 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
798 # How do we know it's Interix rather than the generic POSIX subsystem?
799 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
800 # UNAME_MACHINE based on the output of uname instead of i386?
801 echo i586-pc-interix
802 exit 0 ;;
803 i*:UWIN*:*)
804 echo ${UNAME_MACHINE}-pc-uwin
805 exit 0 ;;
806 amd64:CYGWIN*:*:*)
807 echo x86_64-unknown-cygwin
808 exit 0 ;;
809 p*:CYGWIN*:*)
810 echo powerpcle-unknown-cygwin
811 exit 0 ;;
812 prep*:SunOS:5.*:*)
813 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
814 exit 0 ;;
815 *:GNU:*:*)
816 # the GNU system
817 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
818 exit 0 ;;
819 *:GNU/*:*:*)
820 # other systems with GNU libc and userland
821 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
822 exit 0 ;;
823 i*86:Minix:*:*)
824 echo ${UNAME_MACHINE}-pc-minix
825 exit 0 ;;
826 arm*:Linux:*:*)
827 echo ${UNAME_MACHINE}-unknown-linux-gnu
828 exit 0 ;;
829 cris:Linux:*:*)
830 echo cris-axis-linux-gnu
831 exit 0 ;;
832 crisv32:Linux:*:*)
833 echo crisv32-axis-linux-gnu
834 exit 0 ;;
835 frv:Linux:*:*)
836 echo frv-unknown-linux-gnu
837 exit 0 ;;
838 ia64:Linux:*:*)
839 echo ${UNAME_MACHINE}-unknown-linux-gnu
840 exit 0 ;;
841 m32r*:Linux:*:*)
842 echo ${UNAME_MACHINE}-unknown-linux-gnu
843 exit 0 ;;
844 m68*:Linux:*:*)
845 echo ${UNAME_MACHINE}-unknown-linux-gnu
846 exit 0 ;;
847 mips:Linux:*:*)
848 eval $set_cc_for_build
849 sed 's/^ //' << EOF >$dummy.c
850 #undef CPU
851 #undef mips
852 #undef mipsel
853 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
854 CPU=mipsel
855 #else
856 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
857 CPU=mips
858 #else
859 CPU=
860 #endif
861 #endif
862 EOF
863 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
864 test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
865 ;;
866 mips64:Linux:*:*)
867 eval $set_cc_for_build
868 sed 's/^ //' << EOF >$dummy.c
869 #undef CPU
870 #undef mips64
871 #undef mips64el
872 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
873 CPU=mips64el
874 #else
875 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
876 CPU=mips64
877 #else
878 CPU=
879 #endif
880 #endif
881 EOF
882 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
883 test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
884 ;;
885 ppc:Linux:*:*)
886 echo powerpc-unknown-linux-gnu
887 exit 0 ;;
888 ppc64:Linux:*:*)
889 echo powerpc64-unknown-linux-gnu
890 exit 0 ;;
891 alpha:Linux:*:*)
892 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
893 EV5) UNAME_MACHINE=alphaev5 ;;
894 EV56) UNAME_MACHINE=alphaev56 ;;
895 PCA56) UNAME_MACHINE=alphapca56 ;;
896 PCA57) UNAME_MACHINE=alphapca56 ;;
897 EV6) UNAME_MACHINE=alphaev6 ;;
898 EV67) UNAME_MACHINE=alphaev67 ;;
899 EV68*) UNAME_MACHINE=alphaev68 ;;
900 esac
901 objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
902 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
903 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
904 exit 0 ;;
905 parisc:Linux:*:* | hppa:Linux:*:*)
906 # Look for CPU level
907 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
908 PA7*) echo hppa1.1-unknown-linux-gnu ;;
909 PA8*) echo hppa2.0-unknown-linux-gnu ;;
910 *) echo hppa-unknown-linux-gnu ;;
911 esac
912 exit 0 ;;
913 parisc64:Linux:*:* | hppa64:Linux:*:*)
914 echo hppa64-unknown-linux-gnu
915 exit 0 ;;
916 s390:Linux:*:* | s390x:Linux:*:*)
917 echo ${UNAME_MACHINE}-ibm-linux
918 exit 0 ;;
919 sh64*:Linux:*:*)
920 echo ${UNAME_MACHINE}-unknown-linux-gnu
921 exit 0 ;;
922 sh*:Linux:*:*)
923 echo ${UNAME_MACHINE}-unknown-linux-gnu
924 exit 0 ;;
925 sparc:Linux:*:* | sparc64:Linux:*:*)
926 echo ${UNAME_MACHINE}-unknown-linux-gnu
927 exit 0 ;;
928 x86_64:Linux:*:*)
929 echo x86_64-unknown-linux-gnu
930 exit 0 ;;
931 i*86:Linux:*:*)
932 # The BFD linker knows what the default object file format is, so
933 # first see if it will tell us. cd to the root directory to prevent
934 # problems with other programs or directories called `ld' in the path.
935 # Set LC_ALL=C to ensure ld outputs messages in English.
936 ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
937 | sed -ne '/supported targets:/!d
938 s/[ ][ ]*/ /g
939 s/.*supported targets: *//
940 s/ .*//
941 p'`
942 case "$ld_supported_targets" in
943 elf32-i386)
944 TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
945 ;;
946 a.out-i386-linux)
947 echo "${UNAME_MACHINE}-pc-linux-gnuaout"
948 exit 0 ;;
949 coff-i386)
950 echo "${UNAME_MACHINE}-pc-linux-gnucoff"
951 exit 0 ;;
952 "")
953 # Either a pre-BFD a.out linker (linux-gnuoldld) or
954 # one that does not give us useful --help.
955 echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
956 exit 0 ;;
957 esac
958 # Determine whether the default compiler is a.out or elf
959 eval $set_cc_for_build
960 sed 's/^ //' << EOF >$dummy.c
961 #include <features.h>
962 #ifdef __ELF__
963 # ifdef __GLIBC__
964 # if __GLIBC__ >= 2
965 LIBC=gnu
966 # else
967 LIBC=gnulibc1
968 # endif
969 # else
970 LIBC=gnulibc1
971 # endif
972 #else
973 #ifdef __INTEL_COMPILER
974 LIBC=gnu
975 #else
976 LIBC=gnuaout
977 #endif
978 #endif
979 #ifdef __dietlibc__
980 LIBC=dietlibc
981 #endif
982 EOF
983 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
984 test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
985 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
986 ;;
987 i*86:DYNIX/ptx:4*:*)
988 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
989 # earlier versions are messed up and put the nodename in both
990 # sysname and nodename.
991 echo i386-sequent-sysv4
992 exit 0 ;;
993 i*86:UNIX_SV:4.2MP:2.*)
994 # Unixware is an offshoot of SVR4, but it has its own version
995 # number series starting with 2...
996 # I am not positive that other SVR4 systems won't match this,
997 # I just have to hope. -- rms.
998 # Use sysv4.2uw... so that sysv4* matches it.
999 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
1000 exit 0 ;;
1001 i*86:OS/2:*:*)
1002 # If we were able to find `uname', then EMX Unix compatibility
1003 # is probably installed.
1004 echo ${UNAME_MACHINE}-pc-os2-emx
1005 exit 0 ;;
1006 i*86:XTS-300:*:STOP)
1007 echo ${UNAME_MACHINE}-unknown-stop
1008 exit 0 ;;
1009 i*86:atheos:*:*)
1010 echo ${UNAME_MACHINE}-unknown-atheos
1011 exit 0 ;;
1012 i*86:syllable:*:*)
1013 echo ${UNAME_MACHINE}-pc-syllable
1014 exit 0 ;;
1015 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
1016 echo i386-unknown-lynxos${UNAME_RELEASE}
1017 exit 0 ;;
1018 i*86:*DOS:*:*)
1019 echo ${UNAME_MACHINE}-pc-msdosdjgpp
1020 exit 0 ;;
1021 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
1022 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
1023 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1024 echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
1025 else
1026 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
1027 fi
1028 exit 0 ;;
1029 i*86:*:5:[78]*)
1030 case `/bin/uname -X | grep "^Machine"` in
1031 *486*) UNAME_MACHINE=i486 ;;
1032 *Pentium) UNAME_MACHINE=i586 ;;
1033 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
1034 esac
1035 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1036 exit 0 ;;
1037 i*86:*:3.2:*)
1038 if test -f /usr/options/cb.name; then
1039 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1040 echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
1041 elif /bin/uname -X 2>/dev/null >/dev/null ; then
1042 UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
1043 (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
1044 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
1045 && UNAME_MACHINE=i586
1046 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
1047 && UNAME_MACHINE=i686
1048 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
1049 && UNAME_MACHINE=i686
1050 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
1051 else
1052 echo ${UNAME_MACHINE}-pc-sysv32
1053 fi
1054 exit 0 ;;
1055 pc:*:*:*)
1056 # Left here for compatibility:
1057 # uname -m prints for DJGPP always 'pc', but it prints nothing about
1058 # the processor, so we play safe by assuming i386.
1059 echo i386-pc-msdosdjgpp
1060 exit 0 ;;
1061 Intel:Mach:3*:*)
1062 echo i386-pc-mach3
1063 exit 0 ;;
1064 paragon:*:*:*)
1065 echo i860-intel-osf1
1066 exit 0 ;;
1067 i860:*:4.*:*) # i860-SVR4
1068 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1069 echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
1070 else # Add other i860-SVR4 vendors below as they are discovered.
1071 echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
1072 fi
1073 exit 0 ;;
1074 mini*:CTIX:SYS*5:*)
1075 # "miniframe"
1076 echo m68010-convergent-sysv
1077 exit 0 ;;
1078 mc68k:UNIX:SYSTEM5:3.51m)
1079 echo m68k-convergent-sysv
1080 exit 0 ;;
1081 M680?0:D-NIX:5.3:*)
1082 echo m68k-diab-dnix
1083 exit 0 ;;
1084 M68*:*:R3V[5678]*:*)
1085 test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
1086 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
1087 OS_REL=''
1088 test -r /etc/.relid \
1089 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1090 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1091 && echo i486-ncr-sysv4.3${OS_REL} && exit 0
1092 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1093 && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
1094 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1095 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1096 && echo i486-ncr-sysv4 && exit 0 ;;
1097 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1098 echo m68k-unknown-lynxos${UNAME_RELEASE}
1099 exit 0 ;;
1100 mc68030:UNIX_System_V:4.*:*)
1101 echo m68k-atari-sysv4
1102 exit 0 ;;
1103 TSUNAMI:LynxOS:2.*:*)
1104 echo sparc-unknown-lynxos${UNAME_RELEASE}
1105 exit 0 ;;
1106 rs6000:LynxOS:2.*:*)
1107 echo rs6000-unknown-lynxos${UNAME_RELEASE}
1108 exit 0 ;;
1109 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
1110 echo powerpc-unknown-lynxos${UNAME_RELEASE}
1111 exit 0 ;;
1112 SM[BE]S:UNIX_SV:*:*)
1113 echo mips-dde-sysv${UNAME_RELEASE}
1114 exit 0 ;;
1115 RM*:ReliantUNIX-*:*:*)
1116 echo mips-sni-sysv4
1117 exit 0 ;;
1118 RM*:SINIX-*:*:*)
1119 echo mips-sni-sysv4
1120 exit 0 ;;
1121 *:SINIX-*:*:*)
1122 if uname -p 2>/dev/null >/dev/null ; then
1123 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1124 echo ${UNAME_MACHINE}-sni-sysv4
1125 else
1126 echo ns32k-sni-sysv
1127 fi
1128 exit 0 ;;
1129 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1130 # says <Richard.M.Bartel@ccMail.Census.GOV>
1131 echo i586-unisys-sysv4
1132 exit 0 ;;
1133 *:UNIX_System_V:4*:FTX*)
1134 # From Gerald Hewes <hewes@openmarket.com>.
1135 # How about differentiating between stratus architectures? -djm
1136 echo hppa1.1-stratus-sysv4
1137 exit 0 ;;
1138 *:*:*:FTX*)
1139 # From seanf@swdc.stratus.com.
1140 echo i860-stratus-sysv4
1141 exit 0 ;;
1142 i*86:VOS:*:*)
1143 # From Paul.Green@stratus.com.
1144 echo ${UNAME_MACHINE}-stratus-vos
1145 exit 0 ;;
1146 *:VOS:*:*)
1147 # From Paul.Green@stratus.com.
1148 echo hppa1.1-stratus-vos
1149 exit 0 ;;
1150 mc68*:A/UX:*:*)
1151 echo m68k-apple-aux${UNAME_RELEASE}
1152 exit 0 ;;
1153 news*:NEWS-OS:6*:*)
1154 echo mips-sony-newsos6
1155 exit 0 ;;
1156 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1157 if [ -d /usr/nec ]; then
1158 echo mips-nec-sysv${UNAME_RELEASE}
1159 else
1160 echo mips-unknown-sysv${UNAME_RELEASE}
1161 fi
1162 exit 0 ;;
1163 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
1164 echo powerpc-be-beos
1165 exit 0 ;;
1166 BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
1167 echo powerpc-apple-beos
1168 exit 0 ;;
1169 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
1170 echo i586-pc-beos
1171 exit 0 ;;
1172 SX-4:SUPER-UX:*:*)
1173 echo sx4-nec-superux${UNAME_RELEASE}
1174 exit 0 ;;
1175 SX-5:SUPER-UX:*:*)
1176 echo sx5-nec-superux${UNAME_RELEASE}
1177 exit 0 ;;
1178 SX-6:SUPER-UX:*:*)
1179 echo sx6-nec-superux${UNAME_RELEASE}
1180 exit 0 ;;
1181 Power*:Rhapsody:*:*)
1182 echo powerpc-apple-rhapsody${UNAME_RELEASE}
1183 exit 0 ;;
1184 *:Rhapsody:*:*)
1185 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
1186 exit 0 ;;
1187 *:Darwin:*:*)
1188 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1189 case $UNAME_PROCESSOR in
1190 *86) UNAME_PROCESSOR=i686 ;;
1191 unknown) UNAME_PROCESSOR=powerpc ;;
1192 esac
1193 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1194 exit 0 ;;
1195 *:procnto*:*:* | *:QNX:[0123456789]*:*)
1196 UNAME_PROCESSOR=`uname -p`
1197 if test "$UNAME_PROCESSOR" = "x86"; then
1198 UNAME_PROCESSOR=i386
1199 UNAME_MACHINE=pc
1200 fi
1201 echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
1202 exit 0 ;;
1203 *:QNX:*:4*)
1204 echo i386-pc-qnx
1205 exit 0 ;;
1206 NSE-?:NONSTOP_KERNEL:*:*)
1207 echo nse-tandem-nsk${UNAME_RELEASE}
1208 exit 0 ;;
1209 NSR-?:NONSTOP_KERNEL:*:*)
1210 echo nsr-tandem-nsk${UNAME_RELEASE}
1211 exit 0 ;;
1212 *:NonStop-UX:*:*)
1213 echo mips-compaq-nonstopux
1214 exit 0 ;;
1215 BS2000:POSIX*:*:*)
1216 echo bs2000-siemens-sysv
1217 exit 0 ;;
1218 DS/*:UNIX_System_V:*:*)
1219 echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
1220 exit 0 ;;
1221 *:Plan9:*:*)
1222 # "uname -m" is not consistent, so use $cputype instead. 386
1223 # is converted to i386 for consistency with other x86
1224 # operating systems.
1225 if test "$cputype" = "386"; then
1226 UNAME_MACHINE=i386
1227 else
1228 UNAME_MACHINE="$cputype"
1229 fi
1230 echo ${UNAME_MACHINE}-unknown-plan9
1231 exit 0 ;;
1232 *:TOPS-10:*:*)
1233 echo pdp10-unknown-tops10
1234 exit 0 ;;
1235 *:TENEX:*:*)
1236 echo pdp10-unknown-tenex
1237 exit 0 ;;
1238 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
1239 echo pdp10-dec-tops20
1240 exit 0 ;;
1241 XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
1242 echo pdp10-xkl-tops20
1243 exit 0 ;;
1244 *:TOPS-20:*:*)
1245 echo pdp10-unknown-tops20
1246 exit 0 ;;
1247 *:ITS:*:*)
1248 echo pdp10-unknown-its
1249 exit 0 ;;
1250 SEI:*:*:SEIUX)
1251 echo mips-sei-seiux${UNAME_RELEASE}
1252 exit 0 ;;
1253 *:DragonFly:*:*)
1254 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1255 exit 0 ;;
1256 *:*VMS:*:*)
1257 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1258 case "${UNAME_MACHINE}" in
1259 A*) echo alpha-dec-vms && exit 0 ;;
1260 I*) echo ia64-dec-vms && exit 0 ;;
1261 V*) echo vax-dec-vms && exit 0 ;;
1262 esac ;;
1263 *:XENIX:*:SysV)
1264 echo i386-pc-xenix
1265 exit 0 ;;
1266 esac
1267
1268 #echo '(No uname command or uname output not recognized.)' 1>&2
1269 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
1270
1271 eval $set_cc_for_build
1272 cat >$dummy.c <<EOF
1273 #ifdef _SEQUENT_
1274 # include <sys/types.h>
1275 # include <sys/utsname.h>
1276 #endif
1277 main ()
1278 {
1279 #if defined (sony)
1280 #if defined (MIPSEB)
1281 /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
1282 I don't know.... */
1283 printf ("mips-sony-bsd\n"); exit (0);
1284 #else
1285 #include <sys/param.h>
1286 printf ("m68k-sony-newsos%s\n",
1287 #ifdef NEWSOS4
1288 "4"
1289 #else
1290 ""
1291 #endif
1292 ); exit (0);
1293 #endif
1294 #endif
1295
1296 #if defined (__arm) && defined (__acorn) && defined (__unix)
1297 printf ("arm-acorn-riscix"); exit (0);
1298 #endif
1299
1300 #if defined (hp300) && !defined (hpux)
1301 printf ("m68k-hp-bsd\n"); exit (0);
1302 #endif
1303
1304 #if defined (NeXT)
1305 #if !defined (__ARCHITECTURE__)
1306 #define __ARCHITECTURE__ "m68k"
1307 #endif
1308 int version;
1309 version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
1310 if (version < 4)
1311 printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
1312 else
1313 printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
1314 exit (0);
1315 #endif
1316
1317 #if defined (MULTIMAX) || defined (n16)
1318 #if defined (UMAXV)
1319 printf ("ns32k-encore-sysv\n"); exit (0);
1320 #else
1321 #if defined (CMU)
1322 printf ("ns32k-encore-mach\n"); exit (0);
1323 #else
1324 printf ("ns32k-encore-bsd\n"); exit (0);
1325 #endif
1326 #endif
1327 #endif
1328
1329 #if defined (__386BSD__)
1330 printf ("i386-pc-bsd\n"); exit (0);
1331 #endif
1332
1333 #if defined (sequent)
1334 #if defined (i386)
1335 printf ("i386-sequent-dynix\n"); exit (0);
1336 #endif
1337 #if defined (ns32000)
1338 printf ("ns32k-sequent-dynix\n"); exit (0);
1339 #endif
1340 #endif
1341
1342 #if defined (_SEQUENT_)
1343 struct utsname un;
1344
1345 uname(&un);
1346
1347 if (strncmp(un.version, "V2", 2) == 0) {
1348 printf ("i386-sequent-ptx2\n"); exit (0);
1349 }
1350 if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
1351 printf ("i386-sequent-ptx1\n"); exit (0);
1352 }
1353 printf ("i386-sequent-ptx\n"); exit (0);
1354
1355 #endif
1356
1357 #if defined (vax)
1358 # if !defined (ultrix)
1359 # include <sys/param.h>
1360 # if defined (BSD)
1361 # if BSD == 43
1362 printf ("vax-dec-bsd4.3\n"); exit (0);
1363 # else
1364 # if BSD == 199006
1365 printf ("vax-dec-bsd4.3reno\n"); exit (0);
1366 # else
1367 printf ("vax-dec-bsd\n"); exit (0);
1368 # endif
1369 # endif
1370 # else
1371 printf ("vax-dec-bsd\n"); exit (0);
1372 # endif
1373 # else
1374 printf ("vax-dec-ultrix\n"); exit (0);
1375 # endif
1376 #endif
1377
1378 #if defined (alliant) && defined (i860)
1379 printf ("i860-alliant-bsd\n"); exit (0);
1380 #endif
1381
1382 exit (1);
1383 }
1384 EOF
1385
1386 $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
1387
1388 # Apollos put the system type in the environment.
1389
1390 test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
1391
1392 # Convex versions that predate uname can use getsysinfo(1)
1393
1394 if [ -x /usr/convex/getsysinfo ]
1395 then
1396 case `getsysinfo -f cpu_type` in
1397 c1*)
1398 echo c1-convex-bsd
1399 exit 0 ;;
1400 c2*)
1401 if getsysinfo -f scalar_acc
1402 then echo c32-convex-bsd
1403 else echo c2-convex-bsd
1404 fi
1405 exit 0 ;;
1406 c34*)
1407 echo c34-convex-bsd
1408 exit 0 ;;
1409 c38*)
1410 echo c38-convex-bsd
1411 exit 0 ;;
1412 c4*)
1413 echo c4-convex-bsd
1414 exit 0 ;;
1415 esac
1416 fi
1417
1418 cat >&2 <<EOF
1419 $0: unable to guess system type
1420
1421 This script, last modified $timestamp, has failed to recognize
1422 the operating system you are using. It is advised that you
1423 download the most up to date version of the config scripts from
1424
1425 http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
1426 and
1427 http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
1428
1429 If the version you run ($0) is already up to date, please
1430 send the following data and any information you think might be
1431 pertinent to <config-patches@gnu.org> in order to provide the needed
1432 information to handle your system.
1433
1434 config.guess timestamp = $timestamp
1435
1436 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1437 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1438 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1439 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1440
1441 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
1442 /bin/uname -X = `(/bin/uname -X) 2>/dev/null`
1443
1444 hostinfo = `(hostinfo) 2>/dev/null`
1445 /bin/universe = `(/bin/universe) 2>/dev/null`
1446 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
1447 /bin/arch = `(/bin/arch) 2>/dev/null`
1448 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
1449 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
1450
1451 UNAME_MACHINE = ${UNAME_MACHINE}
1452 UNAME_RELEASE = ${UNAME_RELEASE}
1453 UNAME_SYSTEM = ${UNAME_SYSTEM}
1454 UNAME_VERSION = ${UNAME_VERSION}
1455 EOF
1456
1457 exit 1
1458
1459 # Local variables:
1460 # eval: (add-hook 'write-file-hooks 'time-stamp)
1461 # time-stamp-start: "timestamp='"
1462 # time-stamp-format: "%:y-%02m-%02d"
1463 # time-stamp-end: "'"
1464 # End:
+0
-18
config.log less more
0
1 ## ---------------------- ##
2 ## Running config.status. ##
3 ## ---------------------- ##
4
5 This file was extended by config.status, which was
6 generated by GNU Autoconf 2.59. Invocation command line was
7
8 CONFIG_FILES = img/Makefile
9 CONFIG_HEADERS =
10 CONFIG_LINKS =
11 CONFIG_COMMANDS =
12 $ ./config.status
13
14 on dualix
15
16 config.status:715: creating img/Makefile
17 config.status:1071: executing default-1 commands
0 #! /bin/sh
1 # Configuration validation subroutine script.
2 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4
5 timestamp='2005-04-22'
6
7 # This file is (in principle) common to ALL GNU software.
8 # The presence of a machine in this file suggests that SOME GNU software
9 # can handle that machine. It does not imply ALL GNU software can.
10 #
11 # This file is free software; you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License as published by
13 # the Free Software Foundation; either version 2 of the License, or
14 # (at your option) any later version.
15 #
16 # This program is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU General Public License for more details.
20 #
21 # You should have received a copy of the GNU General Public License
22 # along with this program; if not, write to the Free Software
23 # Foundation, Inc., 59 Temple Place - Suite 330,
24 # Boston, MA 02111-1307, USA.
25
26 # As a special exception to the GNU General Public License, if you
27 # distribute this file as part of a program that contains a
28 # configuration script generated by Autoconf, you may include it under
29 # the same distribution terms that you use for the rest of that program.
30
31 # Please send patches to <config-patches@gnu.org>. Submit a context
32 # diff and a properly formatted ChangeLog entry.
33 #
34 # Configuration subroutine to validate and canonicalize a configuration type.
35 # Supply the specified configuration type as an argument.
36 # If it is invalid, we print an error message on stderr and exit with code 1.
37 # Otherwise, we print the canonical config type on stdout and succeed.
38
39 # This file is supposed to be the same for all GNU packages
40 # and recognize all the CPU types, system types and aliases
41 # that are meaningful with *any* GNU software.
42 # Each package is responsible for reporting which valid configurations
43 # it does not support. The user should be able to distinguish
44 # a failure to support a valid configuration from a meaningless
45 # configuration.
46
47 # The goal of this file is to map all the various variations of a given
48 # machine specification into a single specification in the form:
49 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
50 # or in some cases, the newer four-part form:
51 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
52 # It is wrong to echo any other type of specification.
53
54 me=`echo "$0" | sed -e 's,.*/,,'`
55
56 usage="\
57 Usage: $0 [OPTION] CPU-MFR-OPSYS
58 $0 [OPTION] ALIAS
59
60 Canonicalize a configuration name.
61
62 Operation modes:
63 -h, --help print this help, then exit
64 -t, --time-stamp print date of last modification, then exit
65 -v, --version print version number, then exit
66
67 Report bugs and patches to <config-patches@gnu.org>."
68
69 version="\
70 GNU config.sub ($timestamp)
71
72 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
73 Free Software Foundation, Inc.
74
75 This is free software; see the source for copying conditions. There is NO
76 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
77
78 help="
79 Try \`$me --help' for more information."
80
81 # Parse command line
82 while test $# -gt 0 ; do
83 case $1 in
84 --time-stamp | --time* | -t )
85 echo "$timestamp" ; exit 0 ;;
86 --version | -v )
87 echo "$version" ; exit 0 ;;
88 --help | --h* | -h )
89 echo "$usage"; exit 0 ;;
90 -- ) # Stop option processing
91 shift; break ;;
92 - ) # Use stdin as input.
93 break ;;
94 -* )
95 echo "$me: invalid option $1$help"
96 exit 1 ;;
97
98 *local*)
99 # First pass through any local machine types.
100 echo $1
101 exit 0;;
102
103 * )
104 break ;;
105 esac
106 done
107
108 case $# in
109 0) echo "$me: missing argument$help" >&2
110 exit 1;;
111 1) ;;
112 *) echo "$me: too many arguments$help" >&2
113 exit 1;;
114 esac
115
116 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
117 # Here we must recognize all the valid KERNEL-OS combinations.
118 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
119 case $maybe_os in
120 nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
121 kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
122 os=-$maybe_os
123 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124 ;;
125 *)
126 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
127 if [ $basic_machine != $1 ]
128 then os=`echo $1 | sed 's/.*-/-/'`
129 else os=; fi
130 ;;
131 esac
132
133 ### Let's recognize common machines as not being operating systems so
134 ### that things like config.sub decstation-3100 work. We also
135 ### recognize some manufacturers as not being operating systems, so we
136 ### can provide default operating systems below.
137 case $os in
138 -sun*os*)
139 # Prevent following clause from handling this invalid input.
140 ;;
141 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
142 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
143 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
144 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
145 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
146 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
147 -apple | -axis | -knuth | -cray)
148 os=
149 basic_machine=$1
150 ;;
151 -sim | -cisco | -oki | -wec | -winbond)
152 os=
153 basic_machine=$1
154 ;;
155 -scout)
156 ;;
157 -wrs)
158 os=-vxworks
159 basic_machine=$1
160 ;;
161 -chorusos*)
162 os=-chorusos
163 basic_machine=$1
164 ;;
165 -chorusrdb)
166 os=-chorusrdb
167 basic_machine=$1
168 ;;
169 -hiux*)
170 os=-hiuxwe2
171 ;;
172 -sco5)
173 os=-sco3.2v5
174 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
175 ;;
176 -sco4)
177 os=-sco3.2v4
178 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
179 ;;
180 -sco3.2.[4-9]*)
181 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
182 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
183 ;;
184 -sco3.2v[4-9]*)
185 # Don't forget version if it is 3.2v4 or newer.
186 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
187 ;;
188 -sco*)
189 os=-sco3.2v2
190 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
191 ;;
192 -udk*)
193 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
194 ;;
195 -isc)
196 os=-isc2.2
197 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
198 ;;
199 -clix*)
200 basic_machine=clipper-intergraph
201 ;;
202 -isc*)
203 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
204 ;;
205 -lynx*)
206 os=-lynxos
207 ;;
208 -ptx*)
209 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
210 ;;
211 -windowsnt*)
212 os=`echo $os | sed -e 's/windowsnt/winnt/'`
213 ;;
214 -psos*)
215 os=-psos
216 ;;
217 -mint | -mint[0-9]*)
218 basic_machine=m68k-atari
219 os=-mint
220 ;;
221 esac
222
223 # Decode aliases for certain CPU-COMPANY combinations.
224 case $basic_machine in
225 # Recognize the basic CPU types without company name.
226 # Some are omitted here because they have special meanings below.
227 1750a | 580 \
228 | a29k \
229 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
230 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
231 | am33_2.0 \
232 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
233 | bfin \
234 | c4x | clipper \
235 | d10v | d30v | dlx | dsp16xx \
236 | fr30 | frv \
237 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
238 | i370 | i860 | i960 | ia64 \
239 | ip2k | iq2000 \
240 | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
241 | mips | mipsbe | mipseb | mipsel | mipsle \
242 | mips16 \
243 | mips64 | mips64el \
244 | mips64vr | mips64vrel \
245 | mips64orion | mips64orionel \
246 | mips64vr4100 | mips64vr4100el \
247 | mips64vr4300 | mips64vr4300el \
248 | mips64vr5000 | mips64vr5000el \
249 | mipsisa32 | mipsisa32el \
250 | mipsisa32r2 | mipsisa32r2el \
251 | mipsisa64 | mipsisa64el \
252 | mipsisa64r2 | mipsisa64r2el \
253 | mipsisa64sb1 | mipsisa64sb1el \
254 | mipsisa64sr71k | mipsisa64sr71kel \
255 | mipstx39 | mipstx39el \
256 | mn10200 | mn10300 \
257 | msp430 \
258 | ns16k | ns32k \
259 | openrisc | or32 \
260 | pdp10 | pdp11 | pj | pjl \
261 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
262 | pyramid \
263 | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
264 | sh64 | sh64le \
265 | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
266 | sparcv8 | sparcv9 | sparcv9b \
267 | strongarm \
268 | tahoe | thumb | tic4x | tic80 | tron \
269 | v850 | v850e \
270 | we32k \
271 | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
272 | z8k)
273 basic_machine=$basic_machine-unknown
274 ;;
275 m6811 | m68hc11 | m6812 | m68hc12)
276 # Motorola 68HC11/12.
277 basic_machine=$basic_machine-unknown
278 os=-none
279 ;;
280 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
281 ;;
282
283 # We use `pc' rather than `unknown'
284 # because (1) that's what they normally are, and
285 # (2) the word "unknown" tends to confuse beginning users.
286 i*86 | x86_64)
287 basic_machine=$basic_machine-pc
288 ;;
289 # Object if more than one company name word.
290 *-*-*)
291 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
292 exit 1
293 ;;
294 # Recognize the basic CPU types with company name.
295 580-* \
296 | a29k-* \
297 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
298 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
299 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
300 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
301 | avr-* \
302 | bfin-* | bs2000-* \
303 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
304 | clipper-* | craynv-* | cydra-* \
305 | d10v-* | d30v-* | dlx-* \
306 | elxsi-* \
307 | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
308 | h8300-* | h8500-* \
309 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
310 | i*86-* | i860-* | i960-* | ia64-* \
311 | ip2k-* | iq2000-* \
312 | m32r-* | m32rle-* \
313 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
314 | m88110-* | m88k-* | maxq-* | mcore-* \
315 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
316 | mips16-* \
317 | mips64-* | mips64el-* \
318 | mips64vr-* | mips64vrel-* \
319 | mips64orion-* | mips64orionel-* \
320 | mips64vr4100-* | mips64vr4100el-* \
321 | mips64vr4300-* | mips64vr4300el-* \
322 | mips64vr5000-* | mips64vr5000el-* \
323 | mipsisa32-* | mipsisa32el-* \
324 | mipsisa32r2-* | mipsisa32r2el-* \
325 | mipsisa64-* | mipsisa64el-* \
326 | mipsisa64r2-* | mipsisa64r2el-* \
327 | mipsisa64sb1-* | mipsisa64sb1el-* \
328 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
329 | mipstx39-* | mipstx39el-* \
330 | mmix-* \
331 | msp430-* \
332 | none-* | np1-* | ns16k-* | ns32k-* \
333 | orion-* \
334 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
335 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
336 | pyramid-* \
337 | romp-* | rs6000-* \
338 | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
339 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
340 | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
341 | sparclite-* \
342 | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
343 | tahoe-* | thumb-* \
344 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
345 | tron-* \
346 | v850-* | v850e-* | vax-* \
347 | we32k-* \
348 | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
349 | xstormy16-* | xtensa-* \
350 | ymp-* \
351 | z8k-*)
352 ;;
353 # Recognize the various machine names and aliases which stand
354 # for a CPU type and a company and sometimes even an OS.
355 386bsd)
356 basic_machine=i386-unknown
357 os=-bsd
358 ;;
359 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
360 basic_machine=m68000-att
361 ;;
362 3b*)
363 basic_machine=we32k-att
364 ;;
365 a29khif)
366 basic_machine=a29k-amd
367 os=-udi
368 ;;
369 abacus)
370 basic_machine=abacus-unknown
371 ;;
372 adobe68k)
373 basic_machine=m68010-adobe
374 os=-scout
375 ;;
376 alliant | fx80)
377 basic_machine=fx80-alliant
378 ;;
379 altos | altos3068)
380 basic_machine=m68k-altos
381 ;;
382 am29k)
383 basic_machine=a29k-none
384 os=-bsd
385 ;;
386 amd64)
387 basic_machine=x86_64-pc
388 ;;
389 amd64-*)
390 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
391 ;;
392 amdahl)
393 basic_machine=580-amdahl
394 os=-sysv
395 ;;
396 amiga | amiga-*)
397 basic_machine=m68k-unknown
398 ;;
399 amigaos | amigados)
400 basic_machine=m68k-unknown
401 os=-amigaos
402 ;;
403 amigaunix | amix)
404 basic_machine=m68k-unknown
405 os=-sysv4
406 ;;
407 apollo68)
408 basic_machine=m68k-apollo
409 os=-sysv
410 ;;
411 apollo68bsd)
412 basic_machine=m68k-apollo
413 os=-bsd
414 ;;
415 aux)
416 basic_machine=m68k-apple
417 os=-aux
418 ;;
419 balance)
420 basic_machine=ns32k-sequent
421 os=-dynix
422 ;;
423 c90)
424 basic_machine=c90-cray
425 os=-unicos
426 ;;
427 convex-c1)
428 basic_machine=c1-convex
429 os=-bsd
430 ;;
431 convex-c2)
432 basic_machine=c2-convex
433 os=-bsd
434 ;;
435 convex-c32)
436 basic_machine=c32-convex
437 os=-bsd
438 ;;
439 convex-c34)
440 basic_machine=c34-convex
441 os=-bsd
442 ;;
443 convex-c38)
444 basic_machine=c38-convex
445 os=-bsd
446 ;;
447 cray | j90)
448 basic_machine=j90-cray
449 os=-unicos
450 ;;
451 craynv)
452 basic_machine=craynv-cray
453 os=-unicosmp
454 ;;
455 cr16c)
456 basic_machine=cr16c-unknown
457 os=-elf
458 ;;
459 crds | unos)
460 basic_machine=m68k-crds
461 ;;
462 crisv32 | crisv32-* | etraxfs*)
463 basic_machine=crisv32-axis
464 ;;
465 cris | cris-* | etrax*)
466 basic_machine=cris-axis
467 ;;
468 crx)
469 basic_machine=crx-unknown
470 os=-elf
471 ;;
472 da30 | da30-*)
473 basic_machine=m68k-da30
474 ;;
475 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
476 basic_machine=mips-dec
477 ;;
478 decsystem10* | dec10*)
479 basic_machine=pdp10-dec
480 os=-tops10
481 ;;
482 decsystem20* | dec20*)
483 basic_machine=pdp10-dec
484 os=-tops20
485 ;;
486 delta | 3300 | motorola-3300 | motorola-delta \
487 | 3300-motorola | delta-motorola)
488 basic_machine=m68k-motorola
489 ;;
490 delta88)
491 basic_machine=m88k-motorola
492 os=-sysv3
493 ;;
494 djgpp)
495 basic_machine=i586-pc
496 os=-msdosdjgpp
497 ;;
498 dpx20 | dpx20-*)
499 basic_machine=rs6000-bull
500 os=-bosx
501 ;;
502 dpx2* | dpx2*-bull)
503 basic_machine=m68k-bull
504 os=-sysv3
505 ;;
506 ebmon29k)
507 basic_machine=a29k-amd
508 os=-ebmon
509 ;;
510 elxsi)
511 basic_machine=elxsi-elxsi
512 os=-bsd
513 ;;
514 encore | umax | mmax)
515 basic_machine=ns32k-encore
516 ;;
517 es1800 | OSE68k | ose68k | ose | OSE)
518 basic_machine=m68k-ericsson
519 os=-ose
520 ;;
521 fx2800)
522 basic_machine=i860-alliant
523 ;;
524 genix)
525 basic_machine=ns32k-ns
526 ;;
527 gmicro)
528 basic_machine=tron-gmicro
529 os=-sysv
530 ;;
531 go32)
532 basic_machine=i386-pc
533 os=-go32
534 ;;
535 h3050r* | hiux*)
536 basic_machine=hppa1.1-hitachi
537 os=-hiuxwe2
538 ;;
539 h8300hms)
540 basic_machine=h8300-hitachi
541 os=-hms
542 ;;
543 h8300xray)
544 basic_machine=h8300-hitachi
545 os=-xray
546 ;;
547 h8500hms)
548 basic_machine=h8500-hitachi
549 os=-hms
550 ;;
551 harris)
552 basic_machine=m88k-harris
553 os=-sysv3
554 ;;
555 hp300-*)
556 basic_machine=m68k-hp
557 ;;
558 hp300bsd)
559 basic_machine=m68k-hp
560 os=-bsd
561 ;;
562 hp300hpux)
563 basic_machine=m68k-hp
564 os=-hpux
565 ;;
566 hp3k9[0-9][0-9] | hp9[0-9][0-9])
567 basic_machine=hppa1.0-hp
568 ;;
569 hp9k2[0-9][0-9] | hp9k31[0-9])
570 basic_machine=m68000-hp
571 ;;
572 hp9k3[2-9][0-9])
573 basic_machine=m68k-hp
574 ;;
575 hp9k6[0-9][0-9] | hp6[0-9][0-9])
576 basic_machine=hppa1.0-hp
577 ;;
578 hp9k7[0-79][0-9] | hp7[0-79][0-9])
579 basic_machine=hppa1.1-hp
580 ;;
581 hp9k78[0-9] | hp78[0-9])
582 # FIXME: really hppa2.0-hp
583 basic_machine=hppa1.1-hp
584 ;;
585 hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
586 # FIXME: really hppa2.0-hp
587 basic_machine=hppa1.1-hp
588 ;;
589 hp9k8[0-9][13679] | hp8[0-9][13679])
590 basic_machine=hppa1.1-hp
591 ;;
592 hp9k8[0-9][0-9] | hp8[0-9][0-9])
593 basic_machine=hppa1.0-hp
594 ;;
595 hppa-next)
596 os=-nextstep3
597 ;;
598 hppaosf)
599 basic_machine=hppa1.1-hp
600 os=-osf
601 ;;
602 hppro)
603 basic_machine=hppa1.1-hp
604 os=-proelf
605 ;;
606 i370-ibm* | ibm*)
607 basic_machine=i370-ibm
608 ;;
609 # I'm not sure what "Sysv32" means. Should this be sysv3.2?
610 i*86v32)
611 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
612 os=-sysv32
613 ;;
614 i*86v4*)
615 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
616 os=-sysv4
617 ;;
618 i*86v)
619 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
620 os=-sysv
621 ;;
622 i*86sol2)
623 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
624 os=-solaris2
625 ;;
626 i386mach)
627 basic_machine=i386-mach
628 os=-mach
629 ;;
630 i386-vsta | vsta)
631 basic_machine=i386-unknown
632 os=-vsta
633 ;;
634 iris | iris4d)
635 basic_machine=mips-sgi
636 case $os in
637 -irix*)
638 ;;
639 *)
640 os=-irix4
641 ;;
642 esac
643 ;;
644 isi68 | isi)
645 basic_machine=m68k-isi
646 os=-sysv
647 ;;
648 m88k-omron*)
649 basic_machine=m88k-omron
650 ;;
651 magnum | m3230)
652 basic_machine=mips-mips
653 os=-sysv
654 ;;
655 merlin)
656 basic_machine=ns32k-utek
657 os=-sysv
658 ;;
659 mingw32)
660 basic_machine=i386-pc
661 os=-mingw32
662 ;;
663 miniframe)
664 basic_machine=m68000-convergent
665 ;;
666 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
667 basic_machine=m68k-atari
668 os=-mint
669 ;;
670 mips3*-*)
671 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
672 ;;
673 mips3*)
674 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
675 ;;
676 monitor)
677 basic_machine=m68k-rom68k
678 os=-coff
679 ;;
680 morphos)
681 basic_machine=powerpc-unknown
682 os=-morphos
683 ;;
684 msdos)
685 basic_machine=i386-pc
686 os=-msdos
687 ;;
688 mvs)
689 basic_machine=i370-ibm
690 os=-mvs
691 ;;
692 ncr3000)
693 basic_machine=i486-ncr
694 os=-sysv4
695 ;;
696 netbsd386)
697 basic_machine=i386-unknown
698 os=-netbsd
699 ;;
700 netwinder)
701 basic_machine=armv4l-rebel
702 os=-linux
703 ;;
704 news | news700 | news800 | news900)
705 basic_machine=m68k-sony
706 os=-newsos
707 ;;
708 news1000)
709 basic_machine=m68030-sony
710 os=-newsos
711 ;;
712 news-3600 | risc-news)
713 basic_machine=mips-sony
714 os=-newsos
715 ;;
716 necv70)
717 basic_machine=v70-nec
718 os=-sysv
719 ;;
720 next | m*-next )
721 basic_machine=m68k-next
722 case $os in
723 -nextstep* )
724 ;;
725 -ns2*)
726 os=-nextstep2
727 ;;
728 *)
729 os=-nextstep3
730 ;;
731 esac
732 ;;
733 nh3000)
734 basic_machine=m68k-harris
735 os=-cxux
736 ;;
737 nh[45]000)
738 basic_machine=m88k-harris
739 os=-cxux
740 ;;
741 nindy960)
742 basic_machine=i960-intel
743 os=-nindy
744 ;;
745 mon960)
746 basic_machine=i960-intel
747 os=-mon960
748 ;;
749 nonstopux)
750 basic_machine=mips-compaq
751 os=-nonstopux
752 ;;
753 np1)
754 basic_machine=np1-gould
755 ;;
756 nsr-tandem)
757 basic_machine=nsr-tandem
758 ;;
759 op50n-* | op60c-*)
760 basic_machine=hppa1.1-oki
761 os=-proelf
762 ;;
763 or32 | or32-*)
764 basic_machine=or32-unknown
765 os=-coff
766 ;;
767 os400)
768 basic_machine=powerpc-ibm
769 os=-os400
770 ;;
771 OSE68000 | ose68000)
772 basic_machine=m68000-ericsson
773 os=-ose
774 ;;
775 os68k)
776 basic_machine=m68k-none
777 os=-os68k
778 ;;
779 pa-hitachi)
780 basic_machine=hppa1.1-hitachi
781 os=-hiuxwe2
782 ;;
783 paragon)
784 basic_machine=i860-intel
785 os=-osf
786 ;;
787 pbd)
788 basic_machine=sparc-tti
789 ;;
790 pbb)
791 basic_machine=m68k-tti
792 ;;
793 pc532 | pc532-*)
794 basic_machine=ns32k-pc532
795 ;;
796 pentium | p5 | k5 | k6 | nexgen | viac3)
797 basic_machine=i586-pc
798 ;;
799 pentiumpro | p6 | 6x86 | athlon | athlon_*)
800 basic_machine=i686-pc
801 ;;
802 pentiumii | pentium2 | pentiumiii | pentium3)
803 basic_machine=i686-pc
804 ;;
805 pentium4)
806 basic_machine=i786-pc
807 ;;
808 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
809 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
810 ;;
811 pentiumpro-* | p6-* | 6x86-* | athlon-*)
812 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
813 ;;
814 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
815 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
816 ;;
817 pentium4-*)
818 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
819 ;;
820 pn)
821 basic_machine=pn-gould
822 ;;
823 power) basic_machine=power-ibm
824 ;;
825 ppc) basic_machine=powerpc-unknown
826 ;;
827 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
828 ;;
829 ppcle | powerpclittle | ppc-le | powerpc-little)
830 basic_machine=powerpcle-unknown
831 ;;
832 ppcle-* | powerpclittle-*)
833 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
834 ;;
835 ppc64) basic_machine=powerpc64-unknown
836 ;;
837 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
838 ;;
839 ppc64le | powerpc64little | ppc64-le | powerpc64-little)
840 basic_machine=powerpc64le-unknown
841 ;;
842 ppc64le-* | powerpc64little-*)
843 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
844 ;;
845 ps2)
846 basic_machine=i386-ibm
847 ;;
848 pw32)
849 basic_machine=i586-unknown
850 os=-pw32
851 ;;
852 rom68k)
853 basic_machine=m68k-rom68k
854 os=-coff
855 ;;
856 rm[46]00)
857 basic_machine=mips-siemens
858 ;;
859 rtpc | rtpc-*)
860 basic_machine=romp-ibm
861 ;;
862 s390 | s390-*)
863 basic_machine=s390-ibm
864 ;;
865 s390x | s390x-*)
866 basic_machine=s390x-ibm
867 ;;
868 sa29200)
869 basic_machine=a29k-amd
870 os=-udi
871 ;;
872 sb1)
873 basic_machine=mipsisa64sb1-unknown
874 ;;
875 sb1el)
876 basic_machine=mipsisa64sb1el-unknown
877 ;;
878 sei)
879 basic_machine=mips-sei
880 os=-seiux
881 ;;
882 sequent)
883 basic_machine=i386-sequent
884 ;;
885 sh)
886 basic_machine=sh-hitachi
887 os=-hms
888 ;;
889 sh64)
890 basic_machine=sh64-unknown
891 ;;
892 sparclite-wrs | simso-wrs)
893 basic_machine=sparclite-wrs
894 os=-vxworks
895 ;;
896 sps7)
897 basic_machine=m68k-bull
898 os=-sysv2
899 ;;
900 spur)
901 basic_machine=spur-unknown
902 ;;
903 st2000)
904 basic_machine=m68k-tandem
905 ;;
906 stratus)
907 basic_machine=i860-stratus
908 os=-sysv4
909 ;;
910 sun2)
911 basic_machine=m68000-sun
912 ;;
913 sun2os3)
914 basic_machine=m68000-sun
915 os=-sunos3
916 ;;
917 sun2os4)
918 basic_machine=m68000-sun
919 os=-sunos4
920 ;;
921 sun3os3)
922 basic_machine=m68k-sun
923 os=-sunos3
924 ;;
925 sun3os4)
926 basic_machine=m68k-sun
927 os=-sunos4
928 ;;
929 sun4os3)
930 basic_machine=sparc-sun
931 os=-sunos3
932 ;;
933 sun4os4)
934 basic_machine=sparc-sun
935 os=-sunos4
936 ;;
937 sun4sol2)
938 basic_machine=sparc-sun
939 os=-solaris2
940 ;;
941 sun3 | sun3-*)
942 basic_machine=m68k-sun
943 ;;
944 sun4)
945 basic_machine=sparc-sun
946 ;;
947 sun386 | sun386i | roadrunner)
948 basic_machine=i386-sun
949 ;;
950 sv1)
951 basic_machine=sv1-cray
952 os=-unicos
953 ;;
954 symmetry)
955 basic_machine=i386-sequent
956 os=-dynix
957 ;;
958 t3e)
959 basic_machine=alphaev5-cray
960 os=-unicos
961 ;;
962 t90)
963 basic_machine=t90-cray
964 os=-unicos
965 ;;
966 tic54x | c54x*)
967 basic_machine=tic54x-unknown
968 os=-coff
969 ;;
970 tic55x | c55x*)
971 basic_machine=tic55x-unknown
972 os=-coff
973 ;;
974 tic6x | c6x*)
975 basic_machine=tic6x-unknown
976 os=-coff
977 ;;
978 tx39)
979 basic_machine=mipstx39-unknown
980 ;;
981 tx39el)
982 basic_machine=mipstx39el-unknown
983 ;;
984 toad1)
985 basic_machine=pdp10-xkl
986 os=-tops20
987 ;;
988 tower | tower-32)
989 basic_machine=m68k-ncr
990 ;;
991 tpf)
992 basic_machine=s390x-ibm
993 os=-tpf
994 ;;
995 udi29k)
996 basic_machine=a29k-amd
997 os=-udi
998 ;;
999 ultra3)
1000 basic_machine=a29k-nyu
1001 os=-sym1
1002 ;;
1003 v810 | necv810)
1004 basic_machine=v810-nec
1005 os=-none
1006 ;;
1007 vaxv)
1008 basic_machine=vax-dec
1009 os=-sysv
1010 ;;
1011 vms)
1012 basic_machine=vax-dec
1013 os=-vms
1014 ;;
1015 vpp*|vx|vx-*)
1016 basic_machine=f301-fujitsu
1017 ;;
1018 vxworks960)
1019 basic_machine=i960-wrs
1020 os=-vxworks
1021 ;;
1022 vxworks68)
1023 basic_machine=m68k-wrs
1024 os=-vxworks
1025 ;;
1026 vxworks29k)
1027 basic_machine=a29k-wrs
1028 os=-vxworks
1029 ;;
1030 w65*)
1031 basic_machine=w65-wdc
1032 os=-none
1033 ;;
1034 w89k-*)
1035 basic_machine=hppa1.1-winbond
1036 os=-proelf
1037 ;;
1038 xbox)
1039 basic_machine=i686-pc
1040 os=-mingw32
1041 ;;
1042 xps | xps100)
1043 basic_machine=xps100-honeywell
1044 ;;
1045 ymp)
1046 basic_machine=ymp-cray
1047 os=-unicos
1048 ;;
1049 z8k-*-coff)
1050 basic_machine=z8k-unknown
1051 os=-sim
1052 ;;
1053 none)
1054 basic_machine=none-none
1055 os=-none
1056 ;;
1057
1058 # Here we handle the default manufacturer of certain CPU types. It is in
1059 # some cases the only manufacturer, in others, it is the most popular.
1060 w89k)
1061 basic_machine=hppa1.1-winbond
1062 ;;
1063 op50n)
1064 basic_machine=hppa1.1-oki
1065 ;;
1066 op60c)
1067 basic_machine=hppa1.1-oki
1068 ;;
1069 romp)
1070 basic_machine=romp-ibm
1071 ;;
1072 mmix)
1073 basic_machine=mmix-knuth
1074 ;;
1075 rs6000)
1076 basic_machine=rs6000-ibm
1077 ;;
1078 vax)
1079 basic_machine=vax-dec
1080 ;;
1081 pdp10)
1082 # there are many clones, so DEC is not a safe bet
1083 basic_machine=pdp10-unknown
1084 ;;
1085 pdp11)
1086 basic_machine=pdp11-dec
1087 ;;
1088 we32k)
1089 basic_machine=we32k-att
1090 ;;
1091 sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
1092 basic_machine=sh-unknown
1093 ;;
1094 sh64)
1095 basic_machine=sh64-unknown
1096 ;;
1097 sparc | sparcv8 | sparcv9 | sparcv9b)
1098 basic_machine=sparc-sun
1099 ;;
1100 cydra)
1101 basic_machine=cydra-cydrome
1102 ;;
1103 orion)
1104 basic_machine=orion-highlevel
1105 ;;
1106 orion105)
1107 basic_machine=clipper-highlevel
1108 ;;
1109 mac | mpw | mac-mpw)
1110 basic_machine=m68k-apple
1111 ;;
1112 pmac | pmac-mpw)
1113 basic_machine=powerpc-apple
1114 ;;
1115 *-unknown)
1116 # Make sure to match an already-canonicalized machine name.
1117 ;;
1118 *)
1119 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
1120 exit 1
1121 ;;
1122 esac
1123
1124 # Here we canonicalize certain aliases for manufacturers.
1125 case $basic_machine in
1126 *-digital*)
1127 basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
1128 ;;
1129 *-commodore*)
1130 basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
1131 ;;
1132 *)
1133 ;;
1134 esac
1135
1136 # Decode manufacturer-specific aliases for certain operating systems.
1137
1138 if [ x"$os" != x"" ]
1139 then
1140 case $os in
1141 # First match some system type aliases
1142 # that might get confused with valid system types.
1143 # -solaris* is a basic system type, with this one exception.
1144 -solaris1 | -solaris1.*)
1145 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1146 ;;
1147 -solaris)
1148 os=-solaris2
1149 ;;
1150 -svr4*)
1151 os=-sysv4
1152 ;;
1153 -unixware*)
1154 os=-sysv4.2uw
1155 ;;
1156 -gnu/linux*)
1157 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
1158 ;;
1159 # First accept the basic system types.
1160 # The portable systems comes first.
1161 # Each alternative MUST END IN A *, to match a version number.
1162 # -sysv* is not here because it comes later, after sysvr4.
1163 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1164 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1165 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1166 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1167 | -aos* \
1168 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1169 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1170 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1171 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1172 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1173 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1174 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1175 | -chorusos* | -chorusrdb* \
1176 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1177 | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1178 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1179 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1180 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1181 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1182 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1183 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
1184 # Remember, each alternative MUST END IN *, to match a version number.
1185 ;;
1186 -qnx*)
1187 case $basic_machine in
1188 x86-* | i*86-*)
1189 ;;
1190 *)
1191 os=-nto$os
1192 ;;
1193 esac
1194 ;;
1195 -nto-qnx*)
1196 ;;
1197 -nto*)
1198 os=`echo $os | sed -e 's|nto|nto-qnx|'`
1199 ;;
1200 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1201 | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
1202 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1203 ;;
1204 -mac*)
1205 os=`echo $os | sed -e 's|mac|macos|'`
1206 ;;
1207 -linux-dietlibc)
1208 os=-linux-dietlibc
1209 ;;
1210 -linux*)
1211 os=`echo $os | sed -e 's|linux|linux-gnu|'`
1212 ;;
1213 -sunos5*)
1214 os=`echo $os | sed -e 's|sunos5|solaris2|'`
1215 ;;
1216 -sunos6*)
1217 os=`echo $os | sed -e 's|sunos6|solaris3|'`
1218 ;;
1219 -opened*)
1220 os=-openedition
1221 ;;
1222 -os400*)
1223 os=-os400
1224 ;;
1225 -wince*)
1226 os=-wince
1227 ;;
1228 -osfrose*)
1229 os=-osfrose
1230 ;;
1231 -osf*)
1232 os=-osf
1233 ;;
1234 -utek*)
1235 os=-bsd
1236 ;;
1237 -dynix*)
1238 os=-bsd
1239 ;;
1240 -acis*)
1241 os=-aos
1242 ;;
1243 -atheos*)
1244 os=-atheos
1245 ;;
1246 -syllable*)
1247 os=-syllable
1248 ;;
1249 -386bsd)
1250 os=-bsd
1251 ;;
1252 -ctix* | -uts*)
1253 os=-sysv
1254 ;;
1255 -nova*)
1256 os=-rtmk-nova
1257 ;;
1258 -ns2 )
1259 os=-nextstep2
1260 ;;
1261 -nsk*)
1262 os=-nsk
1263 ;;
1264 # Preserve the version number of sinix5.
1265 -sinix5.*)
1266 os=`echo $os | sed -e 's|sinix|sysv|'`
1267 ;;
1268 -sinix*)
1269 os=-sysv4
1270 ;;
1271 -tpf*)
1272 os=-tpf
1273 ;;
1274 -triton*)
1275 os=-sysv3
1276 ;;
1277 -oss*)
1278 os=-sysv3
1279 ;;
1280 -svr4)
1281 os=-sysv4
1282 ;;
1283 -svr3)
1284 os=-sysv3
1285 ;;
1286 -sysvr4)
1287 os=-sysv4
1288 ;;
1289 # This must come after -sysvr4.
1290 -sysv*)
1291 ;;
1292 -ose*)
1293 os=-ose
1294 ;;
1295 -es1800*)
1296 os=-ose
1297 ;;
1298 -xenix)
1299 os=-xenix
1300 ;;
1301 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1302 os=-mint
1303 ;;
1304 -aros*)
1305 os=-aros
1306 ;;
1307 -kaos*)
1308 os=-kaos
1309 ;;
1310 -zvmoe)
1311 os=-zvmoe
1312 ;;
1313 -none)
1314 ;;
1315 *)
1316 # Get rid of the `-' at the beginning of $os.
1317 os=`echo $os | sed 's/[^-]*-//'`
1318 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
1319 exit 1
1320 ;;
1321 esac
1322 else
1323
1324 # Here we handle the default operating systems that come with various machines.
1325 # The value should be what the vendor currently ships out the door with their
1326 # machine or put another way, the most popular os provided with the machine.
1327
1328 # Note that if you're going to try to match "-MANUFACTURER" here (say,
1329 # "-sun"), then you have to tell the case statement up towards the top
1330 # that MANUFACTURER isn't an operating system. Otherwise, code above
1331 # will signal an error saying that MANUFACTURER isn't an operating
1332 # system, and we'll never get to this point.
1333
1334 case $basic_machine in
1335 *-acorn)
1336 os=-riscix1.2
1337 ;;
1338 arm*-rebel)
1339 os=-linux
1340 ;;
1341 arm*-semi)
1342 os=-aout
1343 ;;
1344 c4x-* | tic4x-*)
1345 os=-coff
1346 ;;
1347 # This must come before the *-dec entry.
1348 pdp10-*)
1349 os=-tops20
1350 ;;
1351 pdp11-*)
1352 os=-none
1353 ;;
1354 *-dec | vax-*)
1355 os=-ultrix4.2
1356 ;;
1357 m68*-apollo)
1358 os=-domain
1359 ;;
1360 i386-sun)
1361 os=-sunos4.0.2
1362 ;;
1363 m68000-sun)
1364 os=-sunos3
1365 # This also exists in the configure program, but was not the
1366 # default.
1367 # os=-sunos4
1368 ;;
1369 m68*-cisco)
1370 os=-aout
1371 ;;
1372 mips*-cisco)
1373 os=-elf
1374 ;;
1375 mips*-*)
1376 os=-elf
1377 ;;
1378 or32-*)
1379 os=-coff
1380 ;;
1381 *-tti) # must be before sparc entry or we get the wrong os.
1382 os=-sysv3
1383 ;;
1384 sparc-* | *-sun)
1385 os=-sunos4.1.1
1386 ;;
1387 *-be)
1388 os=-beos
1389 ;;
1390 *-ibm)
1391 os=-aix
1392 ;;
1393 *-knuth)
1394 os=-mmixware
1395 ;;
1396 *-wec)
1397 os=-proelf
1398 ;;
1399 *-winbond)
1400 os=-proelf
1401 ;;
1402 *-oki)
1403 os=-proelf
1404 ;;
1405 *-hp)
1406 os=-hpux
1407 ;;
1408 *-hitachi)
1409 os=-hiux
1410 ;;
1411 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
1412 os=-sysv
1413 ;;
1414 *-cbm)
1415 os=-amigaos
1416 ;;
1417 *-dg)
1418 os=-dgux
1419 ;;
1420 *-dolphin)
1421 os=-sysv3
1422 ;;
1423 m68k-ccur)
1424 os=-rtu
1425 ;;
1426 m88k-omron*)
1427 os=-luna
1428 ;;
1429 *-next )
1430 os=-nextstep
1431 ;;
1432 *-sequent)
1433 os=-ptx
1434 ;;
1435 *-crds)
1436 os=-unos
1437 ;;
1438 *-ns)
1439 os=-genix
1440 ;;
1441 i370-*)
1442 os=-mvs
1443 ;;
1444 *-next)
1445 os=-nextstep3
1446 ;;
1447 *-gould)
1448 os=-sysv
1449 ;;
1450 *-highlevel)
1451 os=-bsd
1452 ;;
1453 *-encore)
1454 os=-bsd
1455 ;;
1456 *-sgi)
1457 os=-irix
1458 ;;
1459 *-siemens)
1460 os=-sysv4
1461 ;;
1462 *-masscomp)
1463 os=-rtu
1464 ;;
1465 f30[01]-fujitsu | f700-fujitsu)
1466 os=-uxpv
1467 ;;
1468 *-rom68k)
1469 os=-coff
1470 ;;
1471 *-*bug)
1472 os=-coff
1473 ;;
1474 *-apple)
1475 os=-macos
1476 ;;
1477 *-atari*)
1478 os=-mint
1479 ;;
1480 *)
1481 os=-none
1482 ;;
1483 esac
1484 fi
1485
1486 # Here we handle the case where we know the os, and the CPU type, but not the
1487 # manufacturer. We pick the logical manufacturer.
1488 vendor=unknown
1489 case $basic_machine in
1490 *-unknown)
1491 case $os in
1492 -riscix*)
1493 vendor=acorn
1494 ;;
1495 -sunos*)
1496 vendor=sun
1497 ;;
1498 -aix*)
1499 vendor=ibm
1500 ;;
1501 -beos*)
1502 vendor=be
1503 ;;
1504 -hpux*)
1505 vendor=hp
1506 ;;
1507 -mpeix*)
1508 vendor=hp
1509 ;;
1510 -hiux*)
1511 vendor=hitachi
1512 ;;
1513 -unos*)
1514 vendor=crds
1515 ;;
1516 -dgux*)
1517 vendor=dg
1518 ;;
1519 -luna*)
1520 vendor=omron
1521 ;;
1522 -genix*)
1523 vendor=ns
1524 ;;
1525 -mvs* | -opened*)
1526 vendor=ibm
1527 ;;
1528 -os400*)
1529 vendor=ibm
1530 ;;
1531 -ptx*)
1532 vendor=sequent
1533 ;;
1534 -tpf*)
1535 vendor=ibm
1536 ;;
1537 -vxsim* | -vxworks* | -windiss*)
1538 vendor=wrs
1539 ;;
1540 -aux*)
1541 vendor=apple
1542 ;;
1543 -hms*)
1544 vendor=hitachi
1545 ;;
1546 -mpw* | -macos*)
1547 vendor=apple
1548 ;;
1549 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1550 vendor=atari
1551 ;;
1552 -vos*)
1553 vendor=stratus
1554 ;;
1555 esac
1556 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
1557 ;;
1558 esac
1559
1560 echo $basic_machine$os
1561 exit 0
1562
1563 # Local variables:
1564 # eval: (add-hook 'write-file-hooks 'time-stamp)
1565 # time-stamp-start: "timestamp='"
1566 # time-stamp-format: "%:y-%02m-%02d"
1567 # time-stamp-end: "'"
1568 # End:
15801580
15811581 # Define the identity of the package.
15821582 PACKAGE=mtr
1583 VERSION=0.71
1583 VERSION=0.72
15841584
15851585
15861586 cat >>confdefs.h <<_ACEOF
00 AC_INIT(mtr.c)
1 AM_INIT_AUTOMAKE(mtr, 0.71)
1 AM_INIT_AUTOMAKE(mtr, 0.72)
22
33
44 AC_SUBST(GTK_OBJ)
6969 extern char LocalHostname[];
7070 extern int fstTTL;
7171 extern int maxTTL;
72 extern int packetsize;
72 extern int cpacketsize;
7373 extern int bitpattern;
7474 extern int tos;
7575 extern float WaitTime;
117117
118118 /* more stuffs added by Min */
119119 if (tolower(c) == 's') {
120 mvprintw(2, 0, "Change Packet Size: %d\n", packetsize );
121 mvprintw(3, 0, "Size Range: %d-%d, <0 random.\n", MINPACKET, MAXPACKET);
120 mvprintw(2, 0, "Change Packet Size: %d\n", cpacketsize );
121 mvprintw(3, 0, "Size Range: %d-%d, < 0:random.\n", MINPACKET, MAXPACKET);
122122 move(2,20);
123123 refresh();
124124 while ( (c=getch ()) != '\n' && i < MAXFLD ) {
126126 buf[i++] = c; /* need more checking on 'c' */
127127 }
128128 buf[i] = '\0';
129 packetsize = atoi ( buf );
130 if( packetsize >=0 ) {
131 if ( packetsize < MINPACKET ) packetsize = MINPACKET;
132 if ( packetsize > MAXPACKET ) packetsize = MAXPACKET;
133 } else {
134 packetsize =
135 - (int)(MINPACKET + (MAXPACKET-MINPACKET)*(rand()/(RAND_MAX+0.1)));
136 }
137
129 cpacketsize = atoi ( buf );
138130 return ActionNone;
139131 }
140132 if (tolower(c) == 'b') {
497489 mvprintw(1, 0, "%s (%s)", LocalHostname, net_localaddr());
498490 /*
499491 printw("(tos=0x%X ", tos);
500 printw("psize=%d ", abs(packetsize) );
492 printw("psize=%d ", packetsize );
501493 printw("bitpattern=0x%02X)", (unsigned char)(abs(bitpattern)));
502 if( packetsize>0 ){
503 printw("psize=%d ", packetsize);
494 if( cpacketsize > 0 ){
495 printw("psize=%d ", cpacketsize);
504496 } else {
505 printw("psize=rand(%d,%d) ",MINPACKET, MAXPACKET);
497 printw("psize=rand(%d,%d) ",MINPACKET, -cpacketsize);
506498 }
507499 if( bitpattern>=0 ){
508500 printw("bitpattern=0x%02X)", (unsigned char)(bitpattern));
0 mtr (0.71-2etch1) stable-security; urgency=high
1
2 * Non-maintainer upload by the security team
3 * Fix possible buffer overflow in split.c by using snprintf, instead
4 of sprintf Fixes: CVE-2008-2357
5
6 -- Steffen Joeris <white@debian.org> Sun, 25 May 2008 04:07:45 +0000
0 mtr (0.72-1) experimental; urgency=low
1
2 * New upstream version fixes IPv6 reverse DNS lookups for 8-bit
3 hostnames, closes: #384926
4
5 -- Robert Woodcock <rcw@debian.org> Mon, 01 Jan 2007 15:33:33 -0800
76
87 mtr (0.71-2) unstable; urgency=low
98
13561356 #ifdef ENABLE_IPV6
13571357 /* Returns an ip6.arpa character string. */
13581358 void addr2ip6arpa( ip_t * ip, char * buf ) {
1359 char * p = (char *) ip;
1359 unsigned char * p = (unsigned char *) ip;
13601360 char * b = buf;
13611361 int i;
13621362
0 ***************
1 *** 1357,1363 ****
2 #ifdef ENABLE_IPV6
3 /* Returns an ip6.arpa character string. */
4 void addr2ip6arpa( ip_t * ip, char * buf ) {
5 - char * p = (char *) ip;
6 char * b = buf;
7 int i;
8
9 --- 1357,1363 ----
10 #ifdef ENABLE_IPV6
11 /* Returns an ip6.arpa character string. */
12 void addr2ip6arpa( ip_t * ip, char * buf ) {
13 + unsigned char * p = (unsigned char *) ip;
14 char * b = buf;
15 int i;
16
131131 These options or a trailing PACKETSIZE on the commandline sets
132132 the packet size used for probing.
133133 It is in bytes inclusive IP and ICMP headers
134
135 If set to a negative number, every iteration will use a different, random
136 packetsize upto that number.
134137 .TP
135138 .B \-t
136139 .TP
6060 char *InterfaceAddress = NULL;
6161 char LocalHostname[128];
6262 int dns = 1;
63 int packetsize = 64; /* default packet size */
63 int cpacketsize = 64; /* default packet size */
6464 int bitpattern = 0;
6565 int tos = 0;
6666 int af = DEFAULT_AF;
187187 ForceMaxPing = 1;
188188 break;
189189 case 's':
190 packetsize = atoi (optarg);
191 if (packetsize >=0) {
192 if (packetsize < MINPACKET) packetsize = MINPACKET;
193 if (packetsize > MAXPACKET) packetsize = MAXPACKET;
194 }
190 cpacketsize = atoi (optarg);
195191 break;
196192 case 'a':
197193 InterfaceAddress = optarg;
283279 Hostname = argv[optind++];
284280
285281 if (argc > optind) {
286 packetsize = atoi (argv[optind]);
287 if (packetsize >=0 ) {
288 if (packetsize < MINPACKET) packetsize = MINPACKET;
289 if (packetsize > MAXPACKET) packetsize = MAXPACKET;
290 }
282 cpacketsize = atoi (argv[optind]);
291283 }
292284 }
293285
169169
170170 extern int fstTTL; /* initial hub(ttl) to ping byMin */
171171 extern int maxTTL; /* last hub to ping byMin*/
172 extern int packetsize; /* packet size used by ping */
172 extern int cpacketsize; /* packet size used by ping */
173 static int packetsize; /* packet size used by ping */
173174 extern int bitpattern; /* packet bit pattern used by ping */
174175 extern int tos; /* type of service set in ping packet*/
175176 extern int af; /* address family of remote target */
696697 bitpattern<0. abs(packetsize) and/or abs(bitpattern) will be used
697698 */
698699 if( batch_at < fstTTL ) {
699 if( packetsize < 0 ) {
700 packetsize =
701 - (int)(MINPACKET + (MAXPACKET-MINPACKET)*(rand()/(RAND_MAX+0.1)));
700 if( cpacketsize < 0 ) {
701 /* Someone used a formula here that tried to correct for the
702 "end-error" in "rand()". By "end-error" I mean that if you
703 have a range for "rand()" that runs to 32768, and the
704 destination range is 10000, you end up with 4 out of 32768
705 0-2768's and only 3 out of 32768 for results 2769 .. 9999.
706 As our detination range (in the example 10000) is much
707 smaller (reasonable packet sizes), and our rand() range much
708 larger, this effect is insignificant. Oh! That other formula
709 didn't work. -- REW */
710 packetsize = MINPACKET + rand () % (-cpacketsize - MINPACKET);
711 } else {
712 packetsize = cpacketsize;
702713 }
703714 if( bitpattern < 0 ) {
704715 bitpattern = - (int)(256 + 255*(rand()/(RAND_MAX+0.1)));
705716 }
706717 }
718
719 /* printf ("cpacketsize = %d, packetsize = %d\n", cpacketsize, packetsize); */
707720
708721 net_send_query(batch_at);
709722
3535 extern char *Hostname;
3636 extern int fstTTL;
3737 extern int maxTTL;
38 extern int packetsize;
38 extern int cpacketsize;
3939 extern int bitpattern;
4040 extern int tos;
4141 extern int MaxPing;
133133
134134 printf("<MTR SRC=%s DST=%s", LocalHostname, Hostname);
135135 printf(" TOS=0x%X", tos);
136 if( packetsize>=0 ){
137 printf(" PSIZE=%d", packetsize);
138 } else {
139 printf(" PSIZE=rand(%d-%d)",MINPACKET, MAXPACKET);
136 if(cpacketsize >= 0) {
137 printf(" PSIZE=%d", cpacketsize);
138 } else {
139 printf(" PSIZE=rand(%d-%d)",MINPACKET, -cpacketsize);
140140 }
141141 if( bitpattern>=0 ) {
142142 printf(" BITPATTERN=0x%02X", (unsigned char)(bitpattern));
205205 /* Caption */
206206 printf("<SRC=%s DST=%s", LocalHostname, Hostname);
207207 printf(" TOS=0x%X", tos);
208 if( packetsize>=0 ){
209 printf(" PSIZE=%d", packetsize);
210 } else {
211 printf(" PSIZE=rand(%d-%d)",MINPACKET, MAXPACKET);
208 if(cpacketsize >= 0) {
209 printf(" PSIZE=%d", cpacketsize);
210 } else {
211 printf(" PSIZE=rand(%d-%d)",MINPACKET, -cpacketsize);
212212 }
213213 if( bitpattern>=0 ) {
214214 printf(" BITPATTERN=0x%02X", (unsigned char)(bitpattern));
102102 name = dns_lookup(addr);
103103 if(name != NULL) {
104104 /* May be we should test name's length */
105 snprintf(newLine, sizeof(newLine), "%s %d %d %d %d %d %d", name,
105 sprintf(newLine, "%s %d %d %d %d %d %d", name,
106106 net_loss(at),
107107 net_returned(at), net_xmit(at),
108108 net_best(at) /1000, net_avg(at)/1000,
109109 net_worst(at)/1000);
110110 } else {
111 snprintf(newLine, sizeof(newLine), "%s %d %d %d %d %d %d",
111 sprintf(newLine, "%s %d %d %d %d %d %d",
112112 strlongip( addr ),
113113 net_loss(at),
114114 net_returned(at), net_xmit(at),
0 timestamp