Codebase list lbreakout2 / 82c9d55
Import Debian changes 2.6.1-1 lbreakout2 (2.6.1-1) unstable; urgency=low * New upstream release (Closes: #342869). * Remove circular dependency (Closes: #561372). * Replace the -Wall CFLAGS option removed by upstream. * Add a man page for lbreakout2server. Colin Tuckley authored 14 years ago Andreas Tille committed 5 years ago
68 changed file(s) with 3980 addition(s) and 6942 deletion(s). Raw diff Collapse all Expand all
0 2.6.1:
1 - fixed missing font transparency in help screen (24/12/09 MS)
2 - fixed bug in menus's level set list that prevented first few entries
3 to show up (24/12/09 MS)
4 - fixed odd sound sample rates (all are 22050 now) (24/12/09 AM)
5 - fixed english translation issues (23/12/09 CT)
6
07 2.6:
18 - added XDG desktop file (09/10/26 PT)
29 - fixed compiling on Fedora (09/10/26 SG)
159159 PACKAGE_NAME = @PACKAGE_NAME@
160160 PACKAGE_STRING = @PACKAGE_STRING@
161161 PACKAGE_TARNAME = @PACKAGE_TARNAME@
162 PACKAGE_URL = @PACKAGE_URL@
162163 PACKAGE_VERSION = @PACKAGE_VERSION@
163164 PATH_SEPARATOR = @PATH_SEPARATOR@
164165 POSUB = @POSUB@
155155 PACKAGE_NAME = @PACKAGE_NAME@
156156 PACKAGE_STRING = @PACKAGE_STRING@
157157 PACKAGE_TARNAME = @PACKAGE_TARNAME@
158 PACKAGE_URL = @PACKAGE_URL@
158159 PACKAGE_VERSION = @PACKAGE_VERSION@
159160 PATH_SEPARATOR = @PATH_SEPARATOR@
160161 POSUB = @POSUB@
265266 exit 1;; \
266267 esac; \
267268 done; \
268 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu client/Makefile'; \
269 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign client/Makefile'; \
269270 cd $(top_srcdir) && \
270 $(AUTOMAKE) --gnu client/Makefile
271 $(AUTOMAKE) --foreign client/Makefile
271272 .PRECIOUS: Makefile
272273 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
273274 @case '$?' in \
222222 "a new ball is created and you can continue playing.#"
223223 "2) Hitting your opponents paddle with the plasma weapon will give you "
224224 "1000 points while stealing him/her the same amount.#"
225 "3) Bonus/malus magnet will attract _all_ bonuses/maluses even those "
225 "3) Bonus/penalty magnet will attract _all_ bonuses/penalties even those "
226226 "released by your opponent.##"
227227 "Note: If you pause the game by pressing 'p' a chat will pop up and you "
228228 "can talk to your opponent."));
122122 PACKAGE_NAME = @PACKAGE_NAME@
123123 PACKAGE_STRING = @PACKAGE_STRING@
124124 PACKAGE_TARNAME = @PACKAGE_TARNAME@
125 PACKAGE_URL = @PACKAGE_URL@
125126 PACKAGE_VERSION = @PACKAGE_VERSION@
126127 PATH_SEPARATOR = @PATH_SEPARATOR@
127128 POSUB = @POSUB@
217218 exit 1;; \
218219 esac; \
219220 done; \
220 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu client/gfx/AbsoluteB/Makefile'; \
221 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign client/gfx/AbsoluteB/Makefile'; \
221222 cd $(top_srcdir) && \
222 $(AUTOMAKE) --gnu client/gfx/AbsoluteB/Makefile
223 $(AUTOMAKE) --foreign client/gfx/AbsoluteB/Makefile
223224 .PRECIOUS: Makefile
224225 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
225226 @case '$?' in \
122122 PACKAGE_NAME = @PACKAGE_NAME@
123123 PACKAGE_STRING = @PACKAGE_STRING@
124124 PACKAGE_TARNAME = @PACKAGE_TARNAME@
125 PACKAGE_URL = @PACKAGE_URL@
125126 PACKAGE_VERSION = @PACKAGE_VERSION@
126127 PATH_SEPARATOR = @PATH_SEPARATOR@
127128 POSUB = @POSUB@
213214 exit 1;; \
214215 esac; \
215216 done; \
216 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu client/gfx/Classic/Makefile'; \
217 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign client/gfx/Classic/Makefile'; \
217218 cd $(top_srcdir) && \
218 $(AUTOMAKE) --gnu client/gfx/Classic/Makefile
219 $(AUTOMAKE) --foreign client/gfx/Classic/Makefile
219220 .PRECIOUS: Makefile
220221 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
221222 @case '$?' in \
131131 PACKAGE_NAME = @PACKAGE_NAME@
132132 PACKAGE_STRING = @PACKAGE_STRING@
133133 PACKAGE_TARNAME = @PACKAGE_TARNAME@
134 PACKAGE_URL = @PACKAGE_URL@
134135 PACKAGE_VERSION = @PACKAGE_VERSION@
135136 PATH_SEPARATOR = @PATH_SEPARATOR@
136137 POSUB = @POSUB@
238239 exit 1;; \
239240 esac; \
240241 done; \
241 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu client/gfx/Makefile'; \
242 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign client/gfx/Makefile'; \
242243 cd $(top_srcdir) && \
243 $(AUTOMAKE) --gnu client/gfx/Makefile
244 $(AUTOMAKE) --foreign client/gfx/Makefile
244245 .PRECIOUS: Makefile
245246 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
246247 @case '$?' in \
122122 PACKAGE_NAME = @PACKAGE_NAME@
123123 PACKAGE_STRING = @PACKAGE_STRING@
124124 PACKAGE_TARNAME = @PACKAGE_TARNAME@
125 PACKAGE_URL = @PACKAGE_URL@
125126 PACKAGE_VERSION = @PACKAGE_VERSION@
126127 PATH_SEPARATOR = @PATH_SEPARATOR@
127128 POSUB = @POSUB@
218219 exit 1;; \
219220 esac; \
220221 done; \
221 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu client/gfx/Moiree/Makefile'; \
222 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign client/gfx/Moiree/Makefile'; \
222223 cd $(top_srcdir) && \
223 $(AUTOMAKE) --gnu client/gfx/Moiree/Makefile
224 $(AUTOMAKE) --foreign client/gfx/Moiree/Makefile
224225 .PRECIOUS: Makefile
225226 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
226227 @case '$?' in \
122122 PACKAGE_NAME = @PACKAGE_NAME@
123123 PACKAGE_STRING = @PACKAGE_STRING@
124124 PACKAGE_TARNAME = @PACKAGE_TARNAME@
125 PACKAGE_URL = @PACKAGE_URL@
125126 PACKAGE_VERSION = @PACKAGE_VERSION@
126127 PATH_SEPARATOR = @PATH_SEPARATOR@
127128 POSUB = @POSUB@
217218 exit 1;; \
218219 esac; \
219220 done; \
220 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu client/gfx/Oz/Makefile'; \
221 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign client/gfx/Oz/Makefile'; \
221222 cd $(top_srcdir) && \
222 $(AUTOMAKE) --gnu client/gfx/Oz/Makefile
223 $(AUTOMAKE) --foreign client/gfx/Oz/Makefile
223224 .PRECIOUS: Makefile
224225 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
225226 @case '$?' in \
122122 PACKAGE_NAME = @PACKAGE_NAME@
123123 PACKAGE_STRING = @PACKAGE_STRING@
124124 PACKAGE_TARNAME = @PACKAGE_TARNAME@
125 PACKAGE_URL = @PACKAGE_URL@
125126 PACKAGE_VERSION = @PACKAGE_VERSION@
126127 PATH_SEPARATOR = @PATH_SEPARATOR@
127128 POSUB = @POSUB@
220221 exit 1;; \
221222 esac; \
222223 done; \
223 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu client/gui_theme/Makefile'; \
224 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign client/gui_theme/Makefile'; \
224225 cd $(top_srcdir) && \
225 $(AUTOMAKE) --gnu client/gui_theme/Makefile
226 $(AUTOMAKE) --foreign client/gui_theme/Makefile
226227 .PRECIOUS: Makefile
227228 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
228229 @case '$?' in \
121121 draw_bonus_info( bonus_x + bonus_w * 0, bonus_y + bonus_h * 3, 13, _("Bonus floor") );
122122 draw_bonus_info( bonus_x + bonus_w * 1, bonus_y + bonus_h * 3, 18, _("Deccelerate balls to minimum speed") );
123123 draw_bonus_info( bonus_x + bonus_w * 0, bonus_y + bonus_h * 4, 6, _("1,000 points extra score from bricks with no bonus") );
124 draw_bonus_info( bonus_x + bonus_w * 0, bonus_y + bonus_h * 5, 19, _("Instantly collect all bonuses and destroy all maluses") );
124 draw_bonus_info( bonus_x + bonus_w * 0, bonus_y + bonus_h * 5, 19, _("Instantly collect all bonuses and destroy all penalties") );
125125 draw_bonus_info( bonus_x + bonus_w * 0, bonus_y + bonus_h * 6, 25, _("Explosive balls") );
126126 draw_bonus_info( bonus_x + bonus_w * 1, bonus_y + bonus_h * 6, 26, _("Paddle attracts bonuses") );
127127
128 /* maluses */
129 stk_font_write( help_caption_font, stk_display,
130 malus_x, malus_y - 30, STK_OPAQUE, _("Maluses:") );
128 /* penalties */
129 stk_font_write( help_caption_font, stk_display,
130 malus_x, malus_y - 30, STK_OPAQUE, _("Penalties:") );
131131 draw_bonus_info( malus_x + malus_w * 0, malus_y + malus_h * 0, 7, _("Shrink paddle") );
132132 draw_bonus_info( malus_x + malus_w * 0, malus_y + malus_h * 3, 17, _("Accelerate balls") );
133133 draw_bonus_info( malus_x + malus_w * 0, malus_y + malus_h * 1, 14, _("Freeze paddle") );
134134 draw_bonus_info( malus_x + malus_w * 1, malus_y + malus_h * 1, 21, _("Random ball reflection at bricks") );
135135 draw_bonus_info( malus_x + malus_w * 0, malus_y + malus_h * 2, 20, _("Darkness") );
136 draw_bonus_info( malus_x + malus_w * 1, malus_y + malus_h * 2, 27, _("Paddle attracts maluses") );
136 draw_bonus_info( malus_x + malus_w * 1, malus_y + malus_h * 2, 27, _("Paddle attracts penalties") );
137137 draw_bonus_info( malus_x + malus_w * 1, malus_y + malus_h * 0, 22, _("Paddle disappears when not moving") );
138138 draw_bonus_info( malus_x + malus_w * 1, malus_y + malus_h * 3, 28, /* xgettext:no-c-format */ _("40% chance that a ball doesn't damage brick") );
139139
207207 stk_font_write( help_caption_font, stk_display,
208208 extra_x, extra_y - 30, STK_OPAQUE, _("Neutral Power-Ups:") );
209209
210 draw_bonus_info( extra_x, extra_y + extra_h * 0, 16, _("Any of the listed bonuses/maluses.") );
211 draw_bonus_info( extra_x, extra_y + extra_h * 1, 23, _("Resets all active bonuses and maluses.") );
212 draw_bonus_info( extra_x, extra_y + extra_h * 2, 24, _("Adds 7 seconds to all active bonuses/maluses.") );
210 draw_bonus_info( extra_x, extra_y + extra_h * 0, 16, _("Any of the listed bonuses/penalties.") );
211 draw_bonus_info( extra_x, extra_y + extra_h * 1, 23, _("Resets all active bonuses and penalties.") );
212 draw_bonus_info( extra_x, extra_y + extra_h * 2, 24, _("Adds 7 seconds to all active bonuses/penalties.") );
213213
214214 help_caption_font->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_TOP;
215215 stk_font_write( help_caption_font, stk_display,
288288 void help_create()
289289 {
290290 help_font = stk_font_load( SDL_SWSURFACE, "f_small_yellow.png" );
291 SDL_SetColorKey( help_font->surface, SDL_SRCCOLORKEY,
292 stk_surface_get_pixel( help_font->surface, 0,0 ) );
291293 help_caption_font = stk_font_load( SDL_SWSURFACE, "f_yellow.png" );
292 /* background -- will be filled when running help */
293 help_bkgnd = stk_surface_create( SDL_SWSURFACE, stk_display->w, stk_display->h );
294 SDL_SetColorKey( help_caption_font->surface, SDL_SRCCOLORKEY,
295 stk_surface_get_pixel( help_caption_font->surface, 0,0 ) );
296 /* background -- will be filled when running help */
297 help_bkgnd = stk_surface_create( SDL_SWSURFACE, stk_display->w, stk_display->h );
294298 SDL_SetColorKey( help_bkgnd, 0, 0 );
295299 }
296300 void help_delete()
122122 PACKAGE_NAME = @PACKAGE_NAME@
123123 PACKAGE_STRING = @PACKAGE_STRING@
124124 PACKAGE_TARNAME = @PACKAGE_TARNAME@
125 PACKAGE_URL = @PACKAGE_URL@
125126 PACKAGE_VERSION = @PACKAGE_VERSION@
126127 PATH_SEPARATOR = @PATH_SEPARATOR@
127128 POSUB = @POSUB@
325326 exit 1;; \
326327 esac; \
327328 done; \
328 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu client/levels/Makefile'; \
329 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign client/levels/Makefile'; \
329330 cd $(top_srcdir) && \
330 $(AUTOMAKE) --gnu client/levels/Makefile
331 $(AUTOMAKE) --foreign client/levels/Makefile
331332 .PRECIOUS: Makefile
332333 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
333334 @case '$?' in \
5858 #define HINT_ANIM _("If you turn animations low there'll be less details which will speed up the game a great deal.")
5959 #define HINT_TRP _("Enable/disable transparency of bonuses and animations.")
6060 #define HINT_SHADOW _("If you disable shadows it will speed up the game but won't look that good. ;-)")
61 #define HINT_BONUS_INFO _("If this is enabled you'll see the time left for all bonuses and maluses at the right side of the screen.")
61 #define HINT_BONUS_INFO _("If this is enabled you'll see the time left for all bonuses and penalties at the right side of the screen.")
6262 #define HINT_DISPLAY _("You may run LBreakout2 either fullscreen or windowed. This switch may be done anywhere by pressing 'f'.")
6363 #define HINT_FPS _("You you don't want LBreakout2 to consume all of your CPU (best performance) limit the frame rate.")
6464 #define HINT_CONVEX _("As long as this option is enabled the paddle is treated as convex allowing easy aiming. If you "\
6969 #define HINT_USEHINTS _("Enable/disable these quick hints. See the manual for more information about how to use LBreakout2!")
7070 #define HINT_KEYSPEED _("Adjust the paddle speed for movement by keys. (pixels per second)")
7171 #define HINT_PLAYERS _("These are the number of players and their names. If one player looses a ball or restarts the level it's the next player's turn.")
72 #define HINT_DIFF _("KIDS:#Lives: 9 (max. 12)#Paddle Size: 252 (max. 396)#Ball Speed: 100-200#Bonus: -50% (no maluses, no bad speech)##"\
72 #define HINT_DIFF _("KIDS:#Lives: 9 (max. 12)#Paddle Size: 252 (max. 396)#Ball Speed: 100-200#Bonus: -50% (no penalties, no bad speech)##"\
7373 "EASY:#Lives: 6 (max. 9)#Paddle Size: 72 (max. 180)#Ball Speed: 240-400 pixels/sec#Bonus: -20%##"\
7474 "MEDIUM:#Lives: 5 (max. 7)#Paddle Size: 54 (max. 144)#Ball Speed: 270-430 pixels/sec##"\
7575 "HARD:#Lives: 4 (max. 5)#Paddle Size: 54 (max. 108)#Ball Speed: 300-450 pixels/sec#Bonus: +30%")
172172 "Loosing your ball means going to the next level.")
173173 #define HINT_HUNTER _("Your task is to hunt down bricks by moving a chaos brick indirectly. Therefore "\
174174 "each side of the playing field has a brick color and you can hit small pads bearing these colors. "\
175 "When you hit one, the chaos brick will move toward the appropiate side. You must not hit "\
175 "When you hit one, the chaos brick will move toward the appropriate side. You must not hit "\
176176 "the bordering bricks and you must get to the brick within a time limit, as always "\
177177 "displayed in the lower right-hand side of the screen. The faster you are, the more score "\
178178 "you'll gain.##"\
302302 levelset_names_home[0] = NEW_SET;
303303 /* create static local set list */
304304 list_reset( levelset_names );
305 levelset_count_local = 1;
305 levelset_count_local = default_set_count;
306306 while ( ( name = list_next( levelset_names ) ) )
307307 if ( !levelset_is_network( name ) )
308308 levelset_count_local++;
309309 levelset_names_local = calloc( levelset_count_local, sizeof( char* ) );
310 list_reset( levelset_names ); i = 1;
310 list_reset( levelset_names ); i = default_set_count;
311311 while ( ( name = list_next( levelset_names ) ) )
312312 if ( !levelset_is_network( name ) )
313313 levelset_names_local[i++] = name;
122122 PACKAGE_NAME = @PACKAGE_NAME@
123123 PACKAGE_STRING = @PACKAGE_STRING@
124124 PACKAGE_TARNAME = @PACKAGE_TARNAME@
125 PACKAGE_URL = @PACKAGE_URL@
125126 PACKAGE_VERSION = @PACKAGE_VERSION@
126127 PATH_SEPARATOR = @PATH_SEPARATOR@
127128 POSUB = @POSUB@
220221 exit 1;; \
221222 esac; \
222223 done; \
223 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu client/sounds/Makefile'; \
224 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign client/sounds/Makefile'; \
224225 cd $(top_srcdir) && \
225 $(AUTOMAKE) --gnu client/sounds/Makefile
226 $(AUTOMAKE) --foreign client/sounds/Makefile
226227 .PRECIOUS: Makefile
227228 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
228229 @case '$?' in \
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
140140 PACKAGE_NAME = @PACKAGE_NAME@
141141 PACKAGE_STRING = @PACKAGE_STRING@
142142 PACKAGE_TARNAME = @PACKAGE_TARNAME@
143 PACKAGE_URL = @PACKAGE_URL@
143144 PACKAGE_VERSION = @PACKAGE_VERSION@
144145 PATH_SEPARATOR = @PATH_SEPARATOR@
145146 POSUB = @POSUB@
236237 exit 1;; \
237238 esac; \
238239 done; \
239 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu common/Makefile'; \
240 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign common/Makefile'; \
240241 cd $(top_srcdir) && \
241 $(AUTOMAKE) --gnu common/Makefile
242 $(AUTOMAKE) --foreign common/Makefile
242243 .PRECIOUS: Makefile
243244 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
244245 @case '$?' in \
238238
239239 /* Define to the one symbol short name of this package. */
240240 #undef PACKAGE_TARNAME
241
242 /* Define to the home page for this package. */
243 #undef PACKAGE_URL
241244
242245 /* Define to the version of this package. */
243246 #undef PACKAGE_VERSION
260263 /* Define to 1 if you have the ANSI C header files. */
261264 #undef STDC_HEADERS
262265
263 /* Version number of package */
264 #undef VERSION
265
266 /* Define to 1 if on AIX 3.
267 System headers sometimes define this.
268 We just want to avoid a redefinition error message. */
266 /* Enable extensions on AIX 3, Interix. */
269267 #ifndef _ALL_SOURCE
270268 # undef _ALL_SOURCE
271269 #endif
272
273270 /* Enable GNU extensions on systems that have them. */
274271 #ifndef _GNU_SOURCE
275272 # undef _GNU_SOURCE
276273 #endif
274 /* Enable threading extensions on Solaris. */
275 #ifndef _POSIX_PTHREAD_SEMANTICS
276 # undef _POSIX_PTHREAD_SEMANTICS
277 #endif
278 /* Enable extensions on HP NonStop. */
279 #ifndef _TANDEM_SOURCE
280 # undef _TANDEM_SOURCE
281 #endif
282 /* Enable general extensions on Solaris. */
283 #ifndef __EXTENSIONS__
284 # undef __EXTENSIONS__
285 #endif
286
287
288 /* Version number of package */
289 #undef VERSION
277290
278291 /* Define to 1 if on MINIX. */
279292 #undef _MINIX
284297
285298 /* Define to 1 if you need to in order for `stat' and other things to work. */
286299 #undef _POSIX_SOURCE
287
288 /* Enable extensions on Solaris. */
289 #ifndef __EXTENSIONS__
290 # undef __EXTENSIONS__
291 #endif
292 #ifndef _POSIX_PTHREAD_SEMANTICS
293 # undef _POSIX_PTHREAD_SEMANTICS
294 #endif
295 #ifndef _TANDEM_SOURCE
296 # undef _TANDEM_SOURCE
297 #endif
298300
299301 /* Define to empty if `const' does not conform to ANSI C. */
300302 #undef const
+3658
-6706
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.61.
2 # Generated by GNU Autoconf 2.65.
3 #
34 #
45 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
7 # Inc.
8 #
9 #
610 # This configure script is free software; the Free Software Foundation
711 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
1115
1216 # Be more Bourne compatible
1317 DUALCASE=1; export DUALCASE # for MKS sh
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1519 emulate sh
1620 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1822 # is contrary to our usage. Disable this feature.
1923 alias -g '${1+"$@"}'='"$@"'
2024 setopt NO_GLOB_SUBST
2125 else
22 case `(set -o) 2>/dev/null` in
23 *posix*) set -o posix ;;
26 case `(set -o) 2>/dev/null` in #(
27 *posix*) :
28 set -o posix ;; #(
29 *) :
30 ;;
2431 esac
25
26 fi
27
28
29
30
31 # PATH needs CR
32 # Avoid depending upon Character Ranges.
33 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits='0123456789'
37 as_cr_alnum=$as_cr_Letters$as_cr_digits
32 fi
33
34
35 as_nl='
36 '
37 export as_nl
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo='print -r --'
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='printf %s\n'
50 as_echo_n='printf %s'
51 else
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
55 else
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 as_echo_n_body='eval
58 arg=$1;
59 case $arg in #(
60 *"$as_nl"*)
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 esac;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 '
66 export as_echo_n_body
67 as_echo_n='sh -c $as_echo_n_body as_echo'
68 fi
69 export as_echo_body
70 as_echo='sh -c $as_echo_body as_echo'
71 fi
3872
3973 # The user is always right.
4074 if test "${PATH_SEPARATOR+set}" != set; then
41 echo "#! /bin/sh" >conf$$.sh
42 echo "exit 0" >>conf$$.sh
43 chmod +x conf$$.sh
44 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
45 PATH_SEPARATOR=';'
46 else
47 PATH_SEPARATOR=:
48 fi
49 rm -f conf$$.sh
50 fi
51
52 # Support unset when possible.
53 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
54 as_unset=unset
55 else
56 as_unset=false
75 PATH_SEPARATOR=:
76 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78 PATH_SEPARATOR=';'
79 }
5780 fi
5881
5982
6285 # there to prevent editors from complaining about space-tab.
6386 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6487 # splitting by setting IFS to empty value.)
65 as_nl='
66 '
6788 IFS=" "" $as_nl"
6889
6990 # Find who we are. Look in the path if we contain no directory separator.
70 case $0 in
91 case $0 in #((
7192 *[\\/]* ) as_myself=$0 ;;
7293 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7394 for as_dir in $PATH
7495 do
7596 IFS=$as_save_IFS
7697 test -z "$as_dir" && as_dir=.
77 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78 done
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
79100 IFS=$as_save_IFS
80101
81102 ;;
86107 as_myself=$0
87108 fi
88109 if test ! -f "$as_myself"; then
89 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 { (exit 1); exit 1; }
91 fi
92
93 # Work around bugs in pre-3.0 UWIN ksh.
94 for as_var in ENV MAIL MAILPATH
95 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
96121 done
97122 PS1='$ '
98123 PS2='> '
99124 PS4='+ '
100125
101126 # NLS nuisances.
102 for as_var in \
103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
105 LC_TELEPHONE LC_TIME
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 if test "x$CONFIG_SHELL" = x; then
136 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
137 emulate sh
138 NULLCMD=:
139 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
140 # is contrary to our usage. Disable this feature.
141 alias -g '\${1+\"\$@\"}'='\"\$@\"'
142 setopt NO_GLOB_SUBST
143 else
144 case \`(set -o) 2>/dev/null\` in #(
145 *posix*) :
146 set -o posix ;; #(
147 *) :
148 ;;
149 esac
150 fi
151 "
152 as_required="as_fn_return () { (exit \$1); }
153 as_fn_success () { as_fn_return 0; }
154 as_fn_failure () { as_fn_return 1; }
155 as_fn_ret_success () { return 0; }
156 as_fn_ret_failure () { return 1; }
157
158 exitcode=0
159 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
160 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
161 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
162 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
163 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164
165 else
166 exitcode=1; echo positional parameters were not saved.
167 fi
168 test x\$exitcode = x0 || exit 1"
169 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
170 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
171 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
172 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
173 test \$(( 1 + 1 )) = 2 || exit 1"
174 if (eval "$as_required") 2>/dev/null; then :
175 as_have_required=yes
176 else
177 as_have_required=no
178 fi
179 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
180
181 else
182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 as_found=false
184 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
106185 do
107 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108 eval $as_var=C; export $as_var
186 IFS=$as_save_IFS
187 test -z "$as_dir" && as_dir=.
188 as_found=:
189 case $as_dir in #(
190 /*)
191 for as_base in sh bash ksh sh5; do
192 # Try only shells that exist, to save several forks.
193 as_shell=$as_dir/$as_base
194 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 CONFIG_SHELL=$as_shell as_have_required=yes
197 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 break 2
199 fi
200 fi
201 done;;
202 esac
203 as_found=false
204 done
205 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207 CONFIG_SHELL=$SHELL as_have_required=yes
208 fi; }
209 IFS=$as_save_IFS
210
211
212 if test "x$CONFIG_SHELL" != x; then :
213 # We cannot yet assume a decent shell, so we have to provide a
214 # neutralization value for shells without unset; and this also
215 # works around shells that cannot unset nonexistent variables.
216 BASH_ENV=/dev/null
217 ENV=/dev/null
218 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219 export CONFIG_SHELL
220 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221 fi
222
223 if test x$as_have_required = xno; then :
224 $as_echo "$0: This script requires a shell more modern than all"
225 $as_echo "$0: the shells that I found on your system."
226 if test x${ZSH_VERSION+set} = xset ; then
227 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
109229 else
110 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 fi
112 done
113
114 # Required to use basename.
230 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
231 $0: including any error possibly output before this
232 $0: message. Then install a modern shell, or manually run
233 $0: the script under such a shell if you do have one."
234 fi
235 exit 1
236 fi
237 fi
238 fi
239 SHELL=${CONFIG_SHELL-/bin/sh}
240 export SHELL
241 # Unset more variables known to interfere with behavior of common tools.
242 CLICOLOR_FORCE= GREP_OPTIONS=
243 unset CLICOLOR_FORCE GREP_OPTIONS
244
245 ## --------------------- ##
246 ## M4sh Shell Functions. ##
247 ## --------------------- ##
248 # as_fn_unset VAR
249 # ---------------
250 # Portably unset VAR.
251 as_fn_unset ()
252 {
253 { eval $1=; unset $1;}
254 }
255 as_unset=as_fn_unset
256
257 # as_fn_set_status STATUS
258 # -----------------------
259 # Set $? to STATUS, without forking.
260 as_fn_set_status ()
261 {
262 return $1
263 } # as_fn_set_status
264
265 # as_fn_exit STATUS
266 # -----------------
267 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
268 as_fn_exit ()
269 {
270 set +e
271 as_fn_set_status $1
272 exit $1
273 } # as_fn_exit
274
275 # as_fn_mkdir_p
276 # -------------
277 # Create "$as_dir" as a directory, including parents if necessary.
278 as_fn_mkdir_p ()
279 {
280
281 case $as_dir in #(
282 -*) as_dir=./$as_dir;;
283 esac
284 test -d "$as_dir" || eval $as_mkdir_p || {
285 as_dirs=
286 while :; do
287 case $as_dir in #(
288 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
289 *) as_qdir=$as_dir;;
290 esac
291 as_dirs="'$as_qdir' $as_dirs"
292 as_dir=`$as_dirname -- "$as_dir" ||
293 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
294 X"$as_dir" : 'X\(//\)[^/]' \| \
295 X"$as_dir" : 'X\(//\)$' \| \
296 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
297 $as_echo X"$as_dir" |
298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
299 s//\1/
300 q
301 }
302 /^X\(\/\/\)[^/].*/{
303 s//\1/
304 q
305 }
306 /^X\(\/\/\)$/{
307 s//\1/
308 q
309 }
310 /^X\(\/\).*/{
311 s//\1/
312 q
313 }
314 s/.*/./; q'`
315 test -d "$as_dir" && break
316 done
317 test -z "$as_dirs" || eval "mkdir $as_dirs"
318 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
319
320
321 } # as_fn_mkdir_p
322 # as_fn_append VAR VALUE
323 # ----------------------
324 # Append the text in VALUE to the end of the definition contained in VAR. Take
325 # advantage of any shell optimizations that allow amortized linear growth over
326 # repeated appends, instead of the typical quadratic growth present in naive
327 # implementations.
328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
329 eval 'as_fn_append ()
330 {
331 eval $1+=\$2
332 }'
333 else
334 as_fn_append ()
335 {
336 eval $1=\$$1\$2
337 }
338 fi # as_fn_append
339
340 # as_fn_arith ARG...
341 # ------------------
342 # Perform arithmetic evaluation on the ARGs, and store the result in the
343 # global $as_val. Take advantage of shells that can avoid forks. The arguments
344 # must be portable across $(()) and expr.
345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
346 eval 'as_fn_arith ()
347 {
348 as_val=$(( $* ))
349 }'
350 else
351 as_fn_arith ()
352 {
353 as_val=`expr "$@" || test $? -eq 1`
354 }
355 fi # as_fn_arith
356
357
358 # as_fn_error ERROR [LINENO LOG_FD]
359 # ---------------------------------
360 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
361 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
362 # script with status $?, using 1 if that was 0.
363 as_fn_error ()
364 {
365 as_status=$?; test $as_status -eq 0 && as_status=1
366 if test "$3"; then
367 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 fi
370 $as_echo "$as_me: error: $1" >&2
371 as_fn_exit $as_status
372 } # as_fn_error
373
115374 if expr a : '\(a\)' >/dev/null 2>&1 &&
116375 test "X`expr 00001 : '.*\(...\)'`" = X001; then
117376 as_expr=expr
125384 as_basename=false
126385 fi
127386
128
129 # Name of the executable.
387 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
388 as_dirname=dirname
389 else
390 as_dirname=false
391 fi
392
130393 as_me=`$as_basename -- "$0" ||
131394 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
132395 X"$0" : 'X\(//\)$' \| \
133396 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 echo X/"$0" |
397 $as_echo X/"$0" |
135398 sed '/^.*\/\([^/][^/]*\)\/*$/{
136399 s//\1/
137400 q
146409 }
147410 s/.*/./; q'`
148411
149 # CDPATH.
150 $as_unset CDPATH
151
152
153 if test "x$CONFIG_SHELL" = x; then
154 if (eval ":") 2>/dev/null; then
155 as_have_required=yes
156 else
157 as_have_required=no
158 fi
159
160 if test $as_have_required = yes && (eval ":
161 (as_func_return () {
162 (exit \$1)
163 }
164 as_func_success () {
165 as_func_return 0
166 }
167 as_func_failure () {
168 as_func_return 1
169 }
170 as_func_ret_success () {
171 return 0
172 }
173 as_func_ret_failure () {
174 return 1
175 }
176
177 exitcode=0
178 if as_func_success; then
179 :
180 else
181 exitcode=1
182 echo as_func_success failed.
183 fi
184
185 if as_func_failure; then
186 exitcode=1
187 echo as_func_failure succeeded.
188 fi
189
190 if as_func_ret_success; then
191 :
192 else
193 exitcode=1
194 echo as_func_ret_success failed.
195 fi
196
197 if as_func_ret_failure; then
198 exitcode=1
199 echo as_func_ret_failure succeeded.
200 fi
201
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 :
204 else
205 exitcode=1
206 echo positional parameters were not saved.
207 fi
208
209 test \$exitcode = 0) || { (exit 1); exit 1; }
210
211 (
212 as_lineno_1=\$LINENO
213 as_lineno_2=\$LINENO
214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev/null; then
217 :
218 else
219 as_candidate_shells=
220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 do
223 IFS=$as_save_IFS
224 test -z "$as_dir" && as_dir=.
225 case $as_dir in
226 /*)
227 for as_base in sh bash ksh sh5; do
228 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
229 done;;
230 esac
231 done
232 IFS=$as_save_IFS
233
234
235 for as_shell in $as_candidate_shells $SHELL; do
236 # Try only shells that exist, to save several forks.
237 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
238 { ("$as_shell") 2> /dev/null <<\_ASEOF
239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 emulate sh
241 NULLCMD=:
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
245 setopt NO_GLOB_SUBST
246 else
247 case `(set -o) 2>/dev/null` in
248 *posix*) set -o posix ;;
249 esac
250
251 fi
252
253
254 :
255 _ASEOF
256 }; then
257 CONFIG_SHELL=$as_shell
258 as_have_required=yes
259 if { "$as_shell" 2> /dev/null <<\_ASEOF
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 emulate sh
262 NULLCMD=:
263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
266 setopt NO_GLOB_SUBST
267 else
268 case `(set -o) 2>/dev/null` in
269 *posix*) set -o posix ;;
270 esac
271
272 fi
273
274
275 :
276 (as_func_return () {
277 (exit $1)
278 }
279 as_func_success () {
280 as_func_return 0
281 }
282 as_func_failure () {
283 as_func_return 1
284 }
285 as_func_ret_success () {
286 return 0
287 }
288 as_func_ret_failure () {
289 return 1
290 }
291
292 exitcode=0
293 if as_func_success; then
294 :
295 else
296 exitcode=1
297 echo as_func_success failed.
298 fi
299
300 if as_func_failure; then
301 exitcode=1
302 echo as_func_failure succeeded.
303 fi
304
305 if as_func_ret_success; then
306 :
307 else
308 exitcode=1
309 echo as_func_ret_success failed.
310 fi
311
312 if as_func_ret_failure; then
313 exitcode=1
314 echo as_func_ret_failure succeeded.
315 fi
316
317 if ( set x; as_func_ret_success y && test x = "$1" ); then
318 :
319 else
320 exitcode=1
321 echo positional parameters were not saved.
322 fi
323
324 test $exitcode = 0) || { (exit 1); exit 1; }
325
326 (
327 as_lineno_1=$LINENO
328 as_lineno_2=$LINENO
329 test "x$as_lineno_1" != "x$as_lineno_2" &&
330 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
331
332 _ASEOF
333 }; then
334 break
335 fi
336
337 fi
338
339 done
340
341 if test "x$CONFIG_SHELL" != x; then
342 for as_var in BASH_ENV ENV
343 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
344 done
345 export CONFIG_SHELL
346 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 fi
348
349
350 if test $as_have_required = no; then
351 echo This script requires a shell more modern than all the
352 echo shells that I found on your system. Please install a
353 echo modern shell, or manually run the script under such a
354 echo shell if you do have one.
355 { (exit 1); exit 1; }
356 fi
357
358
359 fi
360
361 fi
362
363
364
365 (eval "as_func_return () {
366 (exit \$1)
367 }
368 as_func_success () {
369 as_func_return 0
370 }
371 as_func_failure () {
372 as_func_return 1
373 }
374 as_func_ret_success () {
375 return 0
376 }
377 as_func_ret_failure () {
378 return 1
379 }
380
381 exitcode=0
382 if as_func_success; then
383 :
384 else
385 exitcode=1
386 echo as_func_success failed.
387 fi
388
389 if as_func_failure; then
390 exitcode=1
391 echo as_func_failure succeeded.
392 fi
393
394 if as_func_ret_success; then
395 :
396 else
397 exitcode=1
398 echo as_func_ret_success failed.
399 fi
400
401 if as_func_ret_failure; then
402 exitcode=1
403 echo as_func_ret_failure succeeded.
404 fi
405
406 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 :
408 else
409 exitcode=1
410 echo positional parameters were not saved.
411 fi
412
413 test \$exitcode = 0") || {
414 echo No shell found that supports shell functions.
415 echo Please tell autoconf@gnu.org about your system,
416 echo including any error possibly output before this
417 echo message
418 }
419
420
421
422 as_lineno_1=$LINENO
423 as_lineno_2=$LINENO
424 test "x$as_lineno_1" != "x$as_lineno_2" &&
425 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
426
427 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
428 # uniformly replaced by the line number. The first 'sed' inserts a
429 # line-number line after each line using $LINENO; the second 'sed'
430 # does the real work. The second script uses 'N' to pair each
431 # line-number line with the line containing $LINENO, and appends
432 # trailing '-' during substitution so that $LINENO is not a special
433 # case at line end.
434 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
435 # scripts with optimization help from Paolo Bonzini. Blame Lee
436 # E. McMahon (1931-1989) for sed's syntax. :-)
412 # Avoid depending upon Character Ranges.
413 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
414 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
415 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
416 as_cr_digits='0123456789'
417 as_cr_alnum=$as_cr_Letters$as_cr_digits
418
419
420 as_lineno_1=$LINENO as_lineno_1a=$LINENO
421 as_lineno_2=$LINENO as_lineno_2a=$LINENO
422 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
423 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
424 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437425 sed -n '
438426 p
439427 /[$]LINENO/=
450438 s/-\n.*//
451439 ' >$as_me.lineno &&
452440 chmod +x "$as_me.lineno" ||
453 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
454 { (exit 1); exit 1; }; }
441 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455442
456443 # Don't try to exec as it changes $[0], causing all sort of problems
457444 # (the dirname of $[0] is not the place where we might find the
461448 exit
462449 }
463450
464
465 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
466 as_dirname=dirname
467 else
468 as_dirname=false
469 fi
470
471451 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in
452 case `echo -n x` in #(((((
473453 -n*)
474 case `echo 'x\c'` in
454 case `echo 'xy\c'` in
475455 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
476 *) ECHO_C='\c';;
456 xy) ECHO_C='\c';;
457 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
458 ECHO_T=' ';;
477459 esac;;
478460 *)
479461 ECHO_N='-n';;
480462 esac
481463
482 if expr a : '\(a\)' >/dev/null 2>&1 &&
483 test "X`expr 00001 : '.*\(...\)'`" = X001; then
484 as_expr=expr
485 else
486 as_expr=false
487 fi
488
489464 rm -f conf$$ conf$$.exe conf$$.file
490465 if test -d conf$$.dir; then
491466 rm -f conf$$.dir/conf$$.file
492467 else
493468 rm -f conf$$.dir
494 mkdir conf$$.dir
495 fi
496 echo >conf$$.file
497 if ln -s conf$$.file conf$$ 2>/dev/null; then
498 as_ln_s='ln -s'
499 # ... but there are two gotchas:
500 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
501 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
502 # In both cases, we have to default to `cp -p'.
503 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
469 mkdir conf$$.dir 2>/dev/null
470 fi
471 if (echo >conf$$.file) 2>/dev/null; then
472 if ln -s conf$$.file conf$$ 2>/dev/null; then
473 as_ln_s='ln -s'
474 # ... but there are two gotchas:
475 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
476 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
477 # In both cases, we have to default to `cp -p'.
478 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
479 as_ln_s='cp -p'
480 elif ln conf$$.file conf$$ 2>/dev/null; then
481 as_ln_s=ln
482 else
504483 as_ln_s='cp -p'
505 elif ln conf$$.file conf$$ 2>/dev/null; then
506 as_ln_s=ln
484 fi
507485 else
508486 as_ln_s='cp -p'
509487 fi
511489 rmdir conf$$.dir 2>/dev/null
512490
513491 if mkdir -p . 2>/dev/null; then
514 as_mkdir_p=:
492 as_mkdir_p='mkdir -p "$as_dir"'
515493 else
516494 test -d ./-p && rmdir ./-p
517495 as_mkdir_p=false
528506 as_test_x='
529507 eval sh -c '\''
530508 if test -d "$1"; then
531 test -d "$1/.";
509 test -d "$1/.";
532510 else
533 case $1 in
534 -*)set "./$1";;
511 case $1 in #(
512 -*)set "./$1";;
535513 esac;
536 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
514 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
537515 ???[sx]*):;;*)false;;esac;fi
538516 '\'' sh
539517 '
547525 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548526
549527
550
551 exec 7<&0 </dev/null 6>&1
528 test -n "$DJDIR" || exec 7<&0 </dev/null
529 exec 6>&1
552530
553531 # Name of the host.
554532 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
566544 subdirs=
567545 MFLAGS=
568546 MAKEFLAGS=
569 SHELL=${CONFIG_SHELL-/bin/sh}
570547
571548 # Identity of this package.
572549 PACKAGE_NAME=
574551 PACKAGE_VERSION=
575552 PACKAGE_STRING=
576553 PACKAGE_BUGREPORT=
554 PACKAGE_URL=
577555
578556 ac_unique_file="Makefile.am"
579557 # Factoring default headers for most tests.
612590 # include <unistd.h>
613591 #endif"
614592
615 ac_subst_vars='SHELL
593 ac_header_list=
594 ac_subst_vars='LTLIBOBJS
595 LIBOBJS
596 appname
597 win32_inst_script
598 arch_flag
599 win32_deps
600 locdir_flag
601 hi_dir
602 inst_dir
603 hi_inst_flag
604 inst_flag
605 netdebug_flag
606 sdlnet_lib_flag
607 sdlnet_flag
608 network_flag
609 doc_dir
610 mixer_flag
611 audio_flag
612 warp_flag
613 SDL_LIBS
614 SDL_CFLAGS
615 SDL_CONFIG
616 POSUB
617 LTLIBINTL
618 LIBINTL
619 INTLLIBS
620 INTL_LIBTOOL_SUFFIX_PREFIX
621 INTLOBJS
622 GENCAT
623 INSTOBJEXT
624 DATADIRNAME
625 CATOBJEXT
626 USE_INCLUDED_LIBINTL
627 BUILD_INCLUDED_LIBINTL
628 INTLBISON
629 LTLIBICONV
630 LIBICONV
631 HAVE_WPRINTF
632 HAVE_SNPRINTF
633 HAVE_ASPRINTF
634 HAVE_POSIX_PRINTF
635 GLIBC21
636 ALLOCA
637 RANLIB
638 MSGMERGE
639 XGETTEXT
640 GMSGFMT
641 MSGFMT
642 USE_NLS
643 MKINSTALLDIRS
644 am__fastdepCC_FALSE
645 am__fastdepCC_TRUE
646 CCDEPMODE
647 AMDEPBACKSLASH
648 AMDEP_FALSE
649 AMDEP_TRUE
650 am__quote
651 am__include
652 DEPDIR
653 am__untar
654 am__tar
655 AMTAR
656 am__leading_dot
657 SET_MAKE
658 AWK
659 mkdir_p
660 INSTALL_STRIP_PROGRAM
661 STRIP
662 install_sh
663 MAKEINFO
664 AUTOHEADER
665 AUTOMAKE
666 AUTOCONF
667 ACLOCAL
668 VERSION
669 PACKAGE
670 CYGPATH_W
671 INSTALL_DATA
672 INSTALL_SCRIPT
673 INSTALL_PROGRAM
674 EGREP
675 GREP
676 CPP
677 OBJEXT
678 EXEEXT
679 ac_ct_CC
680 CPPFLAGS
681 LDFLAGS
682 CFLAGS
683 CC
684 target_os
685 target_vendor
686 target_cpu
687 target
688 host_os
689 host_vendor
690 host_cpu
691 host
692 build_os
693 build_vendor
694 build_cpu
695 build
696 target_alias
697 host_alias
698 build_alias
699 LIBS
700 ECHO_T
701 ECHO_N
702 ECHO_C
703 DEFS
704 mandir
705 localedir
706 libdir
707 psdir
708 pdfdir
709 dvidir
710 htmldir
711 infodir
712 docdir
713 oldincludedir
714 includedir
715 localstatedir
716 sharedstatedir
717 sysconfdir
718 datadir
719 datarootdir
720 libexecdir
721 sbindir
722 bindir
723 program_transform_name
724 prefix
725 exec_prefix
726 PACKAGE_URL
727 PACKAGE_BUGREPORT
728 PACKAGE_STRING
729 PACKAGE_VERSION
730 PACKAGE_TARNAME
731 PACKAGE_NAME
616732 PATH_SEPARATOR
617 PACKAGE_NAME
618 PACKAGE_TARNAME
619 PACKAGE_VERSION
620 PACKAGE_STRING
621 PACKAGE_BUGREPORT
622 exec_prefix
623 prefix
624 program_transform_name
625 bindir
626 sbindir
627 libexecdir
628 datarootdir
629 datadir
630 sysconfdir
631 sharedstatedir
632 localstatedir
633 includedir
634 oldincludedir
635 docdir
636 infodir
637 htmldir
638 dvidir
639 pdfdir
640 psdir
641 libdir
642 localedir
643 mandir
644 DEFS
645 ECHO_C
646 ECHO_N
647 ECHO_T
648 LIBS
649 build_alias
650 host_alias
651 target_alias
652 build
653 build_cpu
654 build_vendor
655 build_os
656 host
657 host_cpu
658 host_vendor
659 host_os
660 target
661 target_cpu
662 target_vendor
663 target_os
664 CC
665 CFLAGS
666 LDFLAGS
667 CPPFLAGS
668 ac_ct_CC
669 EXEEXT
670 OBJEXT
671 CPP
672 GREP
673 EGREP
674 INSTALL_PROGRAM
675 INSTALL_SCRIPT
676 INSTALL_DATA
677 CYGPATH_W
678 PACKAGE
679 VERSION
680 ACLOCAL
681 AUTOCONF
682 AUTOMAKE
683 AUTOHEADER
684 MAKEINFO
685 install_sh
686 STRIP
687 INSTALL_STRIP_PROGRAM
688 mkdir_p
689 AWK
690 SET_MAKE
691 am__leading_dot
692 AMTAR
693 am__tar
694 am__untar
695 DEPDIR
696 am__include
697 am__quote
698 AMDEP_TRUE
699 AMDEP_FALSE
700 AMDEPBACKSLASH
701 CCDEPMODE
702 am__fastdepCC_TRUE
703 am__fastdepCC_FALSE
704 MKINSTALLDIRS
705 USE_NLS
706 MSGFMT
707 GMSGFMT
708 XGETTEXT
709 MSGMERGE
710 RANLIB
711 ALLOCA
712 GLIBC21
713 HAVE_POSIX_PRINTF
714 HAVE_ASPRINTF
715 HAVE_SNPRINTF
716 HAVE_WPRINTF
717 LIBICONV
718 LTLIBICONV
719 INTLBISON
720 BUILD_INCLUDED_LIBINTL
721 USE_INCLUDED_LIBINTL
722 CATOBJEXT
723 DATADIRNAME
724 INSTOBJEXT
725 GENCAT
726 INTLOBJS
727 INTL_LIBTOOL_SUFFIX_PREFIX
728 INTLLIBS
729 LIBINTL
730 LTLIBINTL
731 POSUB
732 SDL_CONFIG
733 SDL_CFLAGS
734 SDL_LIBS
735 warp_flag
736 audio_flag
737 mixer_flag
738 doc_dir
739 network_flag
740 sdlnet_flag
741 sdlnet_lib_flag
742 netdebug_flag
743 inst_flag
744 hi_inst_flag
745 inst_dir
746 hi_dir
747 locdir_flag
748 win32_deps
749 arch_flag
750 win32_inst_script
751 appname
752 LIBOBJS
753 LTLIBOBJS'
733 SHELL'
754734 ac_subst_files=''
735 ac_user_opts='
736 enable_option_checking
737 enable_dependency_tracking
738 enable_nls
739 with_gnu_ld
740 enable_rpath
741 with_libiconv_prefix
742 with_included_gettext
743 with_libintl_prefix
744 with_sdl_prefix
745 with_sdl_exec_prefix
746 enable_sdltest
747 enable_warp
748 enable_audio
749 with_docdir
750 enable_network
751 enable_sdl_net
752 enable_netdebug
753 enable_install
754 '
755755 ac_precious_vars='build_alias
756756 host_alias
757757 target_alias
766766 # Initialize some variables set by options.
767767 ac_init_help=
768768 ac_init_version=false
769 ac_unrecognized_opts=
770 ac_unrecognized_sep=
769771 # The variables have the same names as the options, with
770772 # dashes changed to underlines.
771773 cache_file=/dev/null
864866 datarootdir=$ac_optarg ;;
865867
866868 -disable-* | --disable-*)
867 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
869 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
868870 # Reject names that are not valid shell variable names.
869 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
870 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
871 { (exit 1); exit 1; }; }
872 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
873 eval enable_$ac_feature=no ;;
871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
872 as_fn_error "invalid feature name: $ac_useropt"
873 ac_useropt_orig=$ac_useropt
874 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
875 case $ac_user_opts in
876 *"
877 "enable_$ac_useropt"
878 "*) ;;
879 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
880 ac_unrecognized_sep=', ';;
881 esac
882 eval enable_$ac_useropt=no ;;
874883
875884 -docdir | --docdir | --docdi | --doc | --do)
876885 ac_prev=docdir ;;
883892 dvidir=$ac_optarg ;;
884893
885894 -enable-* | --enable-*)
886 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
895 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
887896 # Reject names that are not valid shell variable names.
888 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
889 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
890 { (exit 1); exit 1; }; }
891 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
892 eval enable_$ac_feature=\$ac_optarg ;;
897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
898 as_fn_error "invalid feature name: $ac_useropt"
899 ac_useropt_orig=$ac_useropt
900 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901 case $ac_user_opts in
902 *"
903 "enable_$ac_useropt"
904 "*) ;;
905 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
906 ac_unrecognized_sep=', ';;
907 esac
908 eval enable_$ac_useropt=\$ac_optarg ;;
893909
894910 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
895911 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
10801096 ac_init_version=: ;;
10811097
10821098 -with-* | --with-*)
1083 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1099 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10841100 # Reject names that are not valid shell variable names.
1085 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1086 { echo "$as_me: error: invalid package name: $ac_package" >&2
1087 { (exit 1); exit 1; }; }
1088 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1089 eval with_$ac_package=\$ac_optarg ;;
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102 as_fn_error "invalid package name: $ac_useropt"
1103 ac_useropt_orig=$ac_useropt
1104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in
1106 *"
1107 "with_$ac_useropt"
1108 "*) ;;
1109 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1110 ac_unrecognized_sep=', ';;
1111 esac
1112 eval with_$ac_useropt=\$ac_optarg ;;
10901113
10911114 -without-* | --without-*)
1092 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1115 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10931116 # Reject names that are not valid shell variable names.
1094 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1095 { echo "$as_me: error: invalid package name: $ac_package" >&2
1096 { (exit 1); exit 1; }; }
1097 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1098 eval with_$ac_package=no ;;
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118 as_fn_error "invalid package name: $ac_useropt"
1119 ac_useropt_orig=$ac_useropt
1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1122 *"
1123 "with_$ac_useropt"
1124 "*) ;;
1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1126 ac_unrecognized_sep=', ';;
1127 esac
1128 eval with_$ac_useropt=no ;;
10991129
11001130 --x)
11011131 # Obsolete; use --with-x.
11151145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
11161146 x_libraries=$ac_optarg ;;
11171147
1118 -*) { echo "$as_me: error: unrecognized option: $ac_option
1119 Try \`$0 --help' for more information." >&2
1120 { (exit 1); exit 1; }; }
1148 -*) as_fn_error "unrecognized option: \`$ac_option'
1149 Try \`$0 --help' for more information."
11211150 ;;
11221151
11231152 *=*)
11241153 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
11251154 # Reject names that are not valid shell variable names.
1126 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1127 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1128 { (exit 1); exit 1; }; }
1155 case $ac_envvar in #(
1156 '' | [0-9]* | *[!_$as_cr_alnum]* )
1157 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1158 esac
11291159 eval $ac_envvar=\$ac_optarg
11301160 export $ac_envvar ;;
11311161
11321162 *)
11331163 # FIXME: should be removed in autoconf 3.0.
1134 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1164 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11351165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1136 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1166 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
11371167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
11381168 ;;
11391169
11421172
11431173 if test -n "$ac_prev"; then
11441174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1145 { echo "$as_me: error: missing argument to $ac_option" >&2
1146 { (exit 1); exit 1; }; }
1147 fi
1148
1149 # Be sure to have absolute directory names.
1175 as_fn_error "missing argument to $ac_option"
1176 fi
1177
1178 if test -n "$ac_unrecognized_opts"; then
1179 case $enable_option_checking in
1180 no) ;;
1181 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1182 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1183 esac
1184 fi
1185
1186 # Check all directory arguments for consistency.
11501187 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
11511188 datadir sysconfdir sharedstatedir localstatedir includedir \
11521189 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11531190 libdir localedir mandir
11541191 do
11551192 eval ac_val=\$$ac_var
1193 # Remove trailing slashes.
1194 case $ac_val in
1195 */ )
1196 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1197 eval $ac_var=\$ac_val;;
1198 esac
1199 # Be sure to have absolute directory names.
11561200 case $ac_val in
11571201 [\\/$]* | ?:[\\/]* ) continue;;
11581202 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11591203 esac
1160 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1161 { (exit 1); exit 1; }; }
1204 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
11621205 done
11631206
11641207 # There might be people who depend on the old broken behavior: `$host'
11721215 if test "x$host_alias" != x; then
11731216 if test "x$build_alias" = x; then
11741217 cross_compiling=maybe
1175 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1218 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
11761219 If a cross compiler is detected then cross compile mode will be used." >&2
11771220 elif test "x$build_alias" != "x$host_alias"; then
11781221 cross_compiling=yes
11881231 ac_pwd=`pwd` && test -n "$ac_pwd" &&
11891232 ac_ls_di=`ls -di .` &&
11901233 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1191 { echo "$as_me: error: Working directory cannot be determined" >&2
1192 { (exit 1); exit 1; }; }
1234 as_fn_error "working directory cannot be determined"
11931235 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1194 { echo "$as_me: error: pwd does not report name of working directory" >&2
1195 { (exit 1); exit 1; }; }
1236 as_fn_error "pwd does not report name of working directory"
11961237
11971238
11981239 # Find the source files, if location was not specified.
11991240 if test -z "$srcdir"; then
12001241 ac_srcdir_defaulted=yes
12011242 # Try the directory containing this script, then the parent directory.
1202 ac_confdir=`$as_dirname -- "$0" ||
1203 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1204 X"$0" : 'X\(//\)[^/]' \| \
1205 X"$0" : 'X\(//\)$' \| \
1206 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1207 echo X"$0" |
1243 ac_confdir=`$as_dirname -- "$as_myself" ||
1244 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1245 X"$as_myself" : 'X\(//\)[^/]' \| \
1246 X"$as_myself" : 'X\(//\)$' \| \
1247 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1248 $as_echo X"$as_myself" |
12081249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12091250 s//\1/
12101251 q
12311272 fi
12321273 if test ! -r "$srcdir/$ac_unique_file"; then
12331274 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1234 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1235 { (exit 1); exit 1; }; }
1275 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
12361276 fi
12371277 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12381278 ac_abs_confdir=`(
1239 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1240 { (exit 1); exit 1; }; }
1279 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
12411280 pwd)`
12421281 # When building in place, set srcdir=.
12431282 if test "$ac_abs_confdir" = "$ac_pwd"; then
12851324
12861325 Installation directories:
12871326 --prefix=PREFIX install architecture-independent files in PREFIX
1288 [$ac_default_prefix]
1327 [$ac_default_prefix]
12891328 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1290 [PREFIX]
1329 [PREFIX]
12911330
12921331 By default, \`make install' will install all the files in
12931332 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
12971336 For better control, use the options below.
12981337
12991338 Fine tuning of the installation directories:
1300 --bindir=DIR user executables [EPREFIX/bin]
1301 --sbindir=DIR system admin executables [EPREFIX/sbin]
1302 --libexecdir=DIR program executables [EPREFIX/libexec]
1303 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1304 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1305 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1306 --libdir=DIR object code libraries [EPREFIX/lib]
1307 --includedir=DIR C header files [PREFIX/include]
1308 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1309 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1310 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1311 --infodir=DIR info documentation [DATAROOTDIR/info]
1312 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1313 --mandir=DIR man documentation [DATAROOTDIR/man]
1314 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1315 --htmldir=DIR html documentation [DOCDIR]
1316 --dvidir=DIR dvi documentation [DOCDIR]
1317 --pdfdir=DIR pdf documentation [DOCDIR]
1318 --psdir=DIR ps documentation [DOCDIR]
1339 --bindir=DIR user executables [EPREFIX/bin]
1340 --sbindir=DIR system admin executables [EPREFIX/sbin]
1341 --libexecdir=DIR program executables [EPREFIX/libexec]
1342 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1343 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1344 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1345 --libdir=DIR object code libraries [EPREFIX/lib]
1346 --includedir=DIR C header files [PREFIX/include]
1347 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1348 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1349 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1350 --infodir=DIR info documentation [DATAROOTDIR/info]
1351 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1352 --mandir=DIR man documentation [DATAROOTDIR/man]
1353 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1354 --htmldir=DIR html documentation [DOCDIR]
1355 --dvidir=DIR dvi documentation [DOCDIR]
1356 --pdfdir=DIR pdf documentation [DOCDIR]
1357 --psdir=DIR ps documentation [DOCDIR]
13191358 _ACEOF
13201359
13211360 cat <<\_ACEOF
13371376 cat <<\_ACEOF
13381377
13391378 Optional Features:
1379 --disable-option-checking ignore unrecognized --enable/--with options
13401380 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
13411381 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
13421382 --disable-dependency-tracking speeds up one-time build
13701410 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
13711411 nonstandard directory <lib dir>
13721412 LIBS libraries to pass to the linker, e.g. -l<library>
1373 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1413 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
13741414 you have headers in a nonstandard directory <include dir>
13751415 CPP C preprocessor
13761416
13771417 Use these variables to override the choices made by `configure' or to help
13781418 it to find libraries and programs with nonstandard names/locations.
13791419
1420 Report bugs to the package provider.
13801421 _ACEOF
13811422 ac_status=$?
13821423 fi
13841425 if test "$ac_init_help" = "recursive"; then
13851426 # If there are subdirs, report their specific --help.
13861427 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1387 test -d "$ac_dir" || continue
1428 test -d "$ac_dir" ||
1429 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1430 continue
13881431 ac_builddir=.
13891432
13901433 case "$ac_dir" in
13911434 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13921435 *)
1393 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1436 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13941437 # A ".." for each directory in $ac_dir_suffix.
1395 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1438 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13961439 case $ac_top_builddir_sub in
13971440 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13981441 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14281471 echo &&
14291472 $SHELL "$ac_srcdir/configure" --help=recursive
14301473 else
1431 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1474 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
14321475 fi || ac_status=$?
14331476 cd "$ac_pwd" || { ac_status=$?; break; }
14341477 done
14381481 if $ac_init_version; then
14391482 cat <<\_ACEOF
14401483 configure
1441 generated by GNU Autoconf 2.61
1442
1443 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1444 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1484 generated by GNU Autoconf 2.65
1485
1486 Copyright (C) 2009 Free Software Foundation, Inc.
14451487 This configure script is free software; the Free Software Foundation
14461488 gives unlimited permission to copy, distribute and modify it.
14471489 _ACEOF
14481490 exit
14491491 fi
1492
1493 ## ------------------------ ##
1494 ## Autoconf initialization. ##
1495 ## ------------------------ ##
1496
1497 # ac_fn_c_try_compile LINENO
1498 # --------------------------
1499 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1500 ac_fn_c_try_compile ()
1501 {
1502 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1503 rm -f conftest.$ac_objext
1504 if { { ac_try="$ac_compile"
1505 case "(($ac_try" in
1506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1507 *) ac_try_echo=$ac_try;;
1508 esac
1509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1510 $as_echo "$ac_try_echo"; } >&5
1511 (eval "$ac_compile") 2>conftest.err
1512 ac_status=$?
1513 if test -s conftest.err; then
1514 grep -v '^ *+' conftest.err >conftest.er1
1515 cat conftest.er1 >&5
1516 mv -f conftest.er1 conftest.err
1517 fi
1518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1519 test $ac_status = 0; } && {
1520 test -z "$ac_c_werror_flag" ||
1521 test ! -s conftest.err
1522 } && test -s conftest.$ac_objext; then :
1523 ac_retval=0
1524 else
1525 $as_echo "$as_me: failed program was:" >&5
1526 sed 's/^/| /' conftest.$ac_ext >&5
1527
1528 ac_retval=1
1529 fi
1530 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1531 as_fn_set_status $ac_retval
1532
1533 } # ac_fn_c_try_compile
1534
1535 # ac_fn_c_try_cpp LINENO
1536 # ----------------------
1537 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1538 ac_fn_c_try_cpp ()
1539 {
1540 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1541 if { { ac_try="$ac_cpp conftest.$ac_ext"
1542 case "(($ac_try" in
1543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1544 *) ac_try_echo=$ac_try;;
1545 esac
1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1549 ac_status=$?
1550 if test -s conftest.err; then
1551 grep -v '^ *+' conftest.err >conftest.er1
1552 cat conftest.er1 >&5
1553 mv -f conftest.er1 conftest.err
1554 fi
1555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556 test $ac_status = 0; } >/dev/null && {
1557 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1558 test ! -s conftest.err
1559 }; then :
1560 ac_retval=0
1561 else
1562 $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.$ac_ext >&5
1564
1565 ac_retval=1
1566 fi
1567 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1568 as_fn_set_status $ac_retval
1569
1570 } # ac_fn_c_try_cpp
1571
1572 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1573 # -------------------------------------------------------
1574 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1575 # the include files in INCLUDES and setting the cache variable VAR
1576 # accordingly.
1577 ac_fn_c_check_header_mongrel ()
1578 {
1579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1582 $as_echo_n "checking for $2... " >&6; }
1583 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1584 $as_echo_n "(cached) " >&6
1585 fi
1586 eval ac_res=\$$3
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1588 $as_echo "$ac_res" >&6; }
1589 else
1590 # Is the header compilable?
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1592 $as_echo_n "checking $2 usability... " >&6; }
1593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1594 /* end confdefs.h. */
1595 $4
1596 #include <$2>
1597 _ACEOF
1598 if ac_fn_c_try_compile "$LINENO"; then :
1599 ac_header_compiler=yes
1600 else
1601 ac_header_compiler=no
1602 fi
1603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1605 $as_echo "$ac_header_compiler" >&6; }
1606
1607 # Is the header present?
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1609 $as_echo_n "checking $2 presence... " >&6; }
1610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1611 /* end confdefs.h. */
1612 #include <$2>
1613 _ACEOF
1614 if ac_fn_c_try_cpp "$LINENO"; then :
1615 ac_header_preproc=yes
1616 else
1617 ac_header_preproc=no
1618 fi
1619 rm -f conftest.err conftest.$ac_ext
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1621 $as_echo "$ac_header_preproc" >&6; }
1622
1623 # So? What about this header?
1624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1625 yes:no: )
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1627 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1629 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1630 ;;
1631 no:yes:* )
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1633 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1635 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1637 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1639 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1641 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1642 ;;
1643 esac
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1645 $as_echo_n "checking for $2... " >&6; }
1646 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1647 $as_echo_n "(cached) " >&6
1648 else
1649 eval "$3=\$ac_header_compiler"
1650 fi
1651 eval ac_res=\$$3
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1653 $as_echo "$ac_res" >&6; }
1654 fi
1655 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1656
1657 } # ac_fn_c_check_header_mongrel
1658
1659 # ac_fn_c_try_run LINENO
1660 # ----------------------
1661 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1662 # that executables *can* be run.
1663 ac_fn_c_try_run ()
1664 {
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 if { { ac_try="$ac_link"
1667 case "(($ac_try" in
1668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1669 *) ac_try_echo=$ac_try;;
1670 esac
1671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672 $as_echo "$ac_try_echo"; } >&5
1673 (eval "$ac_link") 2>&5
1674 ac_status=$?
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1677 { { case "(($ac_try" in
1678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1679 *) ac_try_echo=$ac_try;;
1680 esac
1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 $as_echo "$ac_try_echo"; } >&5
1683 (eval "$ac_try") 2>&5
1684 ac_status=$?
1685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686 test $ac_status = 0; }; }; then :
1687 ac_retval=0
1688 else
1689 $as_echo "$as_me: program exited with status $ac_status" >&5
1690 $as_echo "$as_me: failed program was:" >&5
1691 sed 's/^/| /' conftest.$ac_ext >&5
1692
1693 ac_retval=$ac_status
1694 fi
1695 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1696 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1697 as_fn_set_status $ac_retval
1698
1699 } # ac_fn_c_try_run
1700
1701 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1702 # -------------------------------------------------------
1703 # Tests whether HEADER exists and can be compiled using the include files in
1704 # INCLUDES, setting the cache variable VAR accordingly.
1705 ac_fn_c_check_header_compile ()
1706 {
1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1709 $as_echo_n "checking for $2... " >&6; }
1710 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1711 $as_echo_n "(cached) " >&6
1712 else
1713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1714 /* end confdefs.h. */
1715 $4
1716 #include <$2>
1717 _ACEOF
1718 if ac_fn_c_try_compile "$LINENO"; then :
1719 eval "$3=yes"
1720 else
1721 eval "$3=no"
1722 fi
1723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1724 fi
1725 eval ac_res=\$$3
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1727 $as_echo "$ac_res" >&6; }
1728 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1729
1730 } # ac_fn_c_check_header_compile
1731
1732 # ac_fn_c_try_link LINENO
1733 # -----------------------
1734 # Try to link conftest.$ac_ext, and return whether this succeeded.
1735 ac_fn_c_try_link ()
1736 {
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 rm -f conftest.$ac_objext conftest$ac_exeext
1739 if { { ac_try="$ac_link"
1740 case "(($ac_try" in
1741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1742 *) ac_try_echo=$ac_try;;
1743 esac
1744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_link") 2>conftest.err
1747 ac_status=$?
1748 if test -s conftest.err; then
1749 grep -v '^ *+' conftest.err >conftest.er1
1750 cat conftest.er1 >&5
1751 mv -f conftest.er1 conftest.err
1752 fi
1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754 test $ac_status = 0; } && {
1755 test -z "$ac_c_werror_flag" ||
1756 test ! -s conftest.err
1757 } && test -s conftest$ac_exeext && {
1758 test "$cross_compiling" = yes ||
1759 $as_test_x conftest$ac_exeext
1760 }; then :
1761 ac_retval=0
1762 else
1763 $as_echo "$as_me: failed program was:" >&5
1764 sed 's/^/| /' conftest.$ac_ext >&5
1765
1766 ac_retval=1
1767 fi
1768 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1769 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1770 # interfere with the next link command; also delete a directory that is
1771 # left behind by Apple's compiler. We do this before executing the actions.
1772 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1773 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1774 as_fn_set_status $ac_retval
1775
1776 } # ac_fn_c_try_link
1777
1778 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1779 # -------------------------------------------
1780 # Tests whether TYPE exists after having included INCLUDES, setting cache
1781 # variable VAR accordingly.
1782 ac_fn_c_check_type ()
1783 {
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786 $as_echo_n "checking for $2... " >&6; }
1787 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1788 $as_echo_n "(cached) " >&6
1789 else
1790 eval "$3=no"
1791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1792 /* end confdefs.h. */
1793 $4
1794 int
1795 main ()
1796 {
1797 if (sizeof ($2))
1798 return 0;
1799 ;
1800 return 0;
1801 }
1802 _ACEOF
1803 if ac_fn_c_try_compile "$LINENO"; then :
1804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1805 /* end confdefs.h. */
1806 $4
1807 int
1808 main ()
1809 {
1810 if (sizeof (($2)))
1811 return 0;
1812 ;
1813 return 0;
1814 }
1815 _ACEOF
1816 if ac_fn_c_try_compile "$LINENO"; then :
1817
1818 else
1819 eval "$3=yes"
1820 fi
1821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1822 fi
1823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1824 fi
1825 eval ac_res=\$$3
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1827 $as_echo "$ac_res" >&6; }
1828 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1829
1830 } # ac_fn_c_check_type
1831
1832 # ac_fn_c_check_func LINENO FUNC VAR
1833 # ----------------------------------
1834 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1835 ac_fn_c_check_func ()
1836 {
1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1839 $as_echo_n "checking for $2... " >&6; }
1840 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1841 $as_echo_n "(cached) " >&6
1842 else
1843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1844 /* end confdefs.h. */
1845 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1847 #define $2 innocuous_$2
1848
1849 /* System header to define __stub macros and hopefully few prototypes,
1850 which can conflict with char $2 (); below.
1851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1852 <limits.h> exists even on freestanding compilers. */
1853
1854 #ifdef __STDC__
1855 # include <limits.h>
1856 #else
1857 # include <assert.h>
1858 #endif
1859
1860 #undef $2
1861
1862 /* Override any GCC internal prototype to avoid an error.
1863 Use char because int might match the return type of a GCC
1864 builtin and then its argument prototype would still apply. */
1865 #ifdef __cplusplus
1866 extern "C"
1867 #endif
1868 char $2 ();
1869 /* The GNU C library defines this for functions which it implements
1870 to always fail with ENOSYS. Some functions are actually named
1871 something starting with __ and the normal name is an alias. */
1872 #if defined __stub_$2 || defined __stub___$2
1873 choke me
1874 #endif
1875
1876 int
1877 main ()
1878 {
1879 return $2 ();
1880 ;
1881 return 0;
1882 }
1883 _ACEOF
1884 if ac_fn_c_try_link "$LINENO"; then :
1885 eval "$3=yes"
1886 else
1887 eval "$3=no"
1888 fi
1889 rm -f core conftest.err conftest.$ac_objext \
1890 conftest$ac_exeext conftest.$ac_ext
1891 fi
1892 eval ac_res=\$$3
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1894 $as_echo "$ac_res" >&6; }
1895 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1896
1897 } # ac_fn_c_check_func
1898
1899 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1900 # --------------------------------------------
1901 # Tries to find the compile-time value of EXPR in a program that includes
1902 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1903 # computed
1904 ac_fn_c_compute_int ()
1905 {
1906 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1907 if test "$cross_compiling" = yes; then
1908 # Depending upon the size, compute the lo and hi bounds.
1909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1910 /* end confdefs.h. */
1911 $4
1912 int
1913 main ()
1914 {
1915 static int test_array [1 - 2 * !(($2) >= 0)];
1916 test_array [0] = 0
1917
1918 ;
1919 return 0;
1920 }
1921 _ACEOF
1922 if ac_fn_c_try_compile "$LINENO"; then :
1923 ac_lo=0 ac_mid=0
1924 while :; do
1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h. */
1927 $4
1928 int
1929 main ()
1930 {
1931 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1932 test_array [0] = 0
1933
1934 ;
1935 return 0;
1936 }
1937 _ACEOF
1938 if ac_fn_c_try_compile "$LINENO"; then :
1939 ac_hi=$ac_mid; break
1940 else
1941 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1942 if test $ac_lo -le $ac_mid; then
1943 ac_lo= ac_hi=
1944 break
1945 fi
1946 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1947 fi
1948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1949 done
1950 else
1951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1952 /* end confdefs.h. */
1953 $4
1954 int
1955 main ()
1956 {
1957 static int test_array [1 - 2 * !(($2) < 0)];
1958 test_array [0] = 0
1959
1960 ;
1961 return 0;
1962 }
1963 _ACEOF
1964 if ac_fn_c_try_compile "$LINENO"; then :
1965 ac_hi=-1 ac_mid=-1
1966 while :; do
1967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1968 /* end confdefs.h. */
1969 $4
1970 int
1971 main ()
1972 {
1973 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1974 test_array [0] = 0
1975
1976 ;
1977 return 0;
1978 }
1979 _ACEOF
1980 if ac_fn_c_try_compile "$LINENO"; then :
1981 ac_lo=$ac_mid; break
1982 else
1983 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1984 if test $ac_mid -le $ac_hi; then
1985 ac_lo= ac_hi=
1986 break
1987 fi
1988 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1989 fi
1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1991 done
1992 else
1993 ac_lo= ac_hi=
1994 fi
1995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1996 fi
1997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1998 # Binary search between lo and hi bounds.
1999 while test "x$ac_lo" != "x$ac_hi"; do
2000 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */
2003 $4
2004 int
2005 main ()
2006 {
2007 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2008 test_array [0] = 0
2009
2010 ;
2011 return 0;
2012 }
2013 _ACEOF
2014 if ac_fn_c_try_compile "$LINENO"; then :
2015 ac_hi=$ac_mid
2016 else
2017 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2018 fi
2019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2020 done
2021 case $ac_lo in #((
2022 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2023 '') ac_retval=1 ;;
2024 esac
2025 else
2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2028 $4
2029 static long int longval () { return $2; }
2030 static unsigned long int ulongval () { return $2; }
2031 #include <stdio.h>
2032 #include <stdlib.h>
2033 int
2034 main ()
2035 {
2036
2037 FILE *f = fopen ("conftest.val", "w");
2038 if (! f)
2039 return 1;
2040 if (($2) < 0)
2041 {
2042 long int i = longval ();
2043 if (i != ($2))
2044 return 1;
2045 fprintf (f, "%ld", i);
2046 }
2047 else
2048 {
2049 unsigned long int i = ulongval ();
2050 if (i != ($2))
2051 return 1;
2052 fprintf (f, "%lu", i);
2053 }
2054 /* Do not output a trailing newline, as this causes \r\n confusion
2055 on some platforms. */
2056 return ferror (f) || fclose (f) != 0;
2057
2058 ;
2059 return 0;
2060 }
2061 _ACEOF
2062 if ac_fn_c_try_run "$LINENO"; then :
2063 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2064 else
2065 ac_retval=1
2066 fi
2067 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2068 conftest.$ac_objext conftest.beam conftest.$ac_ext
2069 rm -f conftest.val
2070
2071 fi
2072 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2073 as_fn_set_status $ac_retval
2074
2075 } # ac_fn_c_compute_int
14502076 cat >config.log <<_ACEOF
14512077 This file contains any messages produced by compilers while
14522078 running configure, to aid debugging if configure makes a mistake.
14532079
14542080 It was created by $as_me, which was
1455 generated by GNU Autoconf 2.61. Invocation command line was
2081 generated by GNU Autoconf 2.65. Invocation command line was
14562082
14572083 $ $0 $@
14582084
14882114 do
14892115 IFS=$as_save_IFS
14902116 test -z "$as_dir" && as_dir=.
1491 echo "PATH: $as_dir"
1492 done
2117 $as_echo "PATH: $as_dir"
2118 done
14932119 IFS=$as_save_IFS
14942120
14952121 } >&5
15232149 | -silent | --silent | --silen | --sile | --sil)
15242150 continue ;;
15252151 *\'*)
1526 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2152 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15272153 esac
15282154 case $ac_pass in
1529 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2155 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
15302156 2)
1531 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2157 as_fn_append ac_configure_args1 " '$ac_arg'"
15322158 if test $ac_must_keep_next = true; then
15332159 ac_must_keep_next=false # Got value, back to normal.
15342160 else
15442170 -* ) ac_must_keep_next=true ;;
15452171 esac
15462172 fi
1547 ac_configure_args="$ac_configure_args '$ac_arg'"
2173 as_fn_append ac_configure_args " '$ac_arg'"
15482174 ;;
15492175 esac
15502176 done
15512177 done
1552 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1553 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2178 { ac_configure_args0=; unset ac_configure_args0;}
2179 { ac_configure_args1=; unset ac_configure_args1;}
15542180
15552181 # When interrupted or exit'd, cleanup temporary files, and complete
15562182 # config.log. We remove comments because anyway the quotes in there
15752201 case $ac_val in #(
15762202 *${as_nl}*)
15772203 case $ac_var in #(
1578 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1579 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2204 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2205 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15802206 esac
15812207 case $ac_var in #(
15822208 _ | IFS | as_nl) ;; #(
1583 *) $as_unset $ac_var ;;
2209 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2210 *) { eval $ac_var=; unset $ac_var;} ;;
15842211 esac ;;
15852212 esac
15862213 done
16092236 do
16102237 eval ac_val=\$$ac_var
16112238 case $ac_val in
1612 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2239 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
16132240 esac
1614 echo "$ac_var='\''$ac_val'\''"
2241 $as_echo "$ac_var='\''$ac_val'\''"
16152242 done | sort
16162243 echo
16172244
16262253 do
16272254 eval ac_val=\$$ac_var
16282255 case $ac_val in
1629 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2256 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
16302257 esac
1631 echo "$ac_var='\''$ac_val'\''"
2258 $as_echo "$ac_var='\''$ac_val'\''"
16322259 done | sort
16332260 echo
16342261 fi
16442271 echo
16452272 fi
16462273 test "$ac_signal" != 0 &&
1647 echo "$as_me: caught signal $ac_signal"
1648 echo "$as_me: exit $exit_status"
2274 $as_echo "$as_me: caught signal $ac_signal"
2275 $as_echo "$as_me: exit $exit_status"
16492276 } >&5
16502277 rm -f core *.core core.conftest.* &&
16512278 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
16522279 exit $exit_status
16532280 ' 0
16542281 for ac_signal in 1 2 13 15; do
1655 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2282 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
16562283 done
16572284 ac_signal=0
16582285
16592286 # confdefs.h avoids OS command line length limits that DEFS can exceed.
16602287 rm -f -r conftest* confdefs.h
16612288
2289 $as_echo "/* confdefs.h */" > confdefs.h
2290
16622291 # Predefined preprocessor variables.
16632292
16642293 cat >>confdefs.h <<_ACEOF
16652294 #define PACKAGE_NAME "$PACKAGE_NAME"
16662295 _ACEOF
16672296
1668
16692297 cat >>confdefs.h <<_ACEOF
16702298 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
16712299 _ACEOF
16722300
1673
16742301 cat >>confdefs.h <<_ACEOF
16752302 #define PACKAGE_VERSION "$PACKAGE_VERSION"
16762303 _ACEOF
16772304
1678
16792305 cat >>confdefs.h <<_ACEOF
16802306 #define PACKAGE_STRING "$PACKAGE_STRING"
16812307 _ACEOF
16822308
1683
16842309 cat >>confdefs.h <<_ACEOF
16852310 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
16862311 _ACEOF
16872312
2313 cat >>confdefs.h <<_ACEOF
2314 #define PACKAGE_URL "$PACKAGE_URL"
2315 _ACEOF
2316
16882317
16892318 # Let the site file select an alternate cache file if it wants to.
1690 # Prefer explicitly selected file to automatically selected ones.
2319 # Prefer an explicitly selected file to automatically selected ones.
2320 ac_site_file1=NONE
2321 ac_site_file2=NONE
16912322 if test -n "$CONFIG_SITE"; then
1692 set x "$CONFIG_SITE"
2323 ac_site_file1=$CONFIG_SITE
16932324 elif test "x$prefix" != xNONE; then
1694 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1695 else
1696 set x "$ac_default_prefix/share/config.site" \
1697 "$ac_default_prefix/etc/config.site"
1698 fi
1699 shift
1700 for ac_site_file
2325 ac_site_file1=$prefix/share/config.site
2326 ac_site_file2=$prefix/etc/config.site
2327 else
2328 ac_site_file1=$ac_default_prefix/share/config.site
2329 ac_site_file2=$ac_default_prefix/etc/config.site
2330 fi
2331 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
17012332 do
1702 if test -r "$ac_site_file"; then
1703 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1704 echo "$as_me: loading site script $ac_site_file" >&6;}
2333 test "x$ac_site_file" = xNONE && continue
2334 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2336 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
17052337 sed 's/^/| /' "$ac_site_file" >&5
17062338 . "$ac_site_file"
17072339 fi
17082340 done
17092341
17102342 if test -r "$cache_file"; then
1711 # Some versions of bash will fail to source /dev/null (special
1712 # files actually), so we avoid doing that.
1713 if test -f "$cache_file"; then
1714 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1715 echo "$as_me: loading cache $cache_file" >&6;}
2343 # Some versions of bash will fail to source /dev/null (special files
2344 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2345 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2347 $as_echo "$as_me: loading cache $cache_file" >&6;}
17162348 case $cache_file in
17172349 [\\/]* | ?:[\\/]* ) . "$cache_file";;
17182350 *) . "./$cache_file";;
17192351 esac
17202352 fi
17212353 else
1722 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1723 echo "$as_me: creating cache $cache_file" >&6;}
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2355 $as_echo "$as_me: creating cache $cache_file" >&6;}
17242356 >$cache_file
17252357 fi
17262358
2359 as_fn_append ac_header_list " stdlib.h"
2360 as_fn_append ac_header_list " unistd.h"
2361 as_fn_append ac_header_list " sys/param.h"
17272362 # Check that the precious variables saved in the cache have kept the same
17282363 # value.
17292364 ac_cache_corrupted=false
17342369 eval ac_new_val=\$ac_env_${ac_var}_value
17352370 case $ac_old_set,$ac_new_set in
17362371 set,)
1737 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1738 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2373 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
17392374 ac_cache_corrupted=: ;;
17402375 ,set)
1741 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1742 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2377 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
17432378 ac_cache_corrupted=: ;;
17442379 ,);;
17452380 *)
17462381 if test "x$ac_old_val" != "x$ac_new_val"; then
1747 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1748 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1749 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1750 echo "$as_me: former value: $ac_old_val" >&2;}
1751 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1752 echo "$as_me: current value: $ac_new_val" >&2;}
1753 ac_cache_corrupted=:
2382 # differences in whitespace do not lead to failure.
2383 ac_old_val_w=`echo x $ac_old_val`
2384 ac_new_val_w=`echo x $ac_new_val`
2385 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2387 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2388 ac_cache_corrupted=:
2389 else
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2391 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2392 eval $ac_var=\$ac_old_val
2393 fi
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2395 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2397 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
17542398 fi;;
17552399 esac
17562400 # Pass precious variables to config.status.
17572401 if test "$ac_new_set" = set; then
17582402 case $ac_new_val in
1759 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2403 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
17602404 *) ac_arg=$ac_var=$ac_new_val ;;
17612405 esac
17622406 case " $ac_configure_args " in
17632407 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1764 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2408 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
17652409 esac
17662410 fi
17672411 done
17682412 if $ac_cache_corrupted; then
1769 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1770 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1771 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1772 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1773 { (exit 1); exit 1; }; }
1774 fi
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2416 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2417 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2418 fi
2419 ## -------------------- ##
2420 ## Main body of script. ##
2421 ## -------------------- ##
17912422
17922423 ac_ext=c
17932424 ac_cpp='$CPP $CPPFLAGS'
17992430
18002431 ac_aux_dir=
18012432 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1802 if test -f "$ac_dir/install-sh"; then
1803 ac_aux_dir=$ac_dir
1804 ac_install_sh="$ac_aux_dir/install-sh -c"
1805 break
1806 elif test -f "$ac_dir/install.sh"; then
1807 ac_aux_dir=$ac_dir
1808 ac_install_sh="$ac_aux_dir/install.sh -c"
1809 break
1810 elif test -f "$ac_dir/shtool"; then
1811 ac_aux_dir=$ac_dir
1812 ac_install_sh="$ac_aux_dir/shtool install -c"
1813 break
1814 fi
2433 for ac_t in install-sh install.sh shtool; do
2434 if test -f "$ac_dir/$ac_t"; then
2435 ac_aux_dir=$ac_dir
2436 ac_install_sh="$ac_aux_dir/$ac_t -c"
2437 break 2
2438 fi
2439 done
18152440 done
18162441 if test -z "$ac_aux_dir"; then
1817 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1818 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1819 { (exit 1); exit 1; }; }
2442 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
18202443 fi
18212444
18222445 # These three variables are undocumented and unsupported,
18302453
18312454 # Make sure we can run config.sub.
18322455 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1833 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1834 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1835 { (exit 1); exit 1; }; }
1836
1837 { echo "$as_me:$LINENO: checking build system type" >&5
1838 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1839 if test "${ac_cv_build+set}" = set; then
1840 echo $ECHO_N "(cached) $ECHO_C" >&6
2456 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2457
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2459 $as_echo_n "checking build system type... " >&6; }
2460 if test "${ac_cv_build+set}" = set; then :
2461 $as_echo_n "(cached) " >&6
18412462 else
18422463 ac_build_alias=$build_alias
18432464 test "x$ac_build_alias" = x &&
18442465 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
18452466 test "x$ac_build_alias" = x &&
1846 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1847 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1848 { (exit 1); exit 1; }; }
2467 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
18492468 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1850 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1851 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1852 { (exit 1); exit 1; }; }
1853
1854 fi
1855 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1856 echo "${ECHO_T}$ac_cv_build" >&6; }
2469 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2470
2471 fi
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2473 $as_echo "$ac_cv_build" >&6; }
18572474 case $ac_cv_build in
18582475 *-*-*) ;;
1859 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1860 echo "$as_me: error: invalid value of canonical build" >&2;}
1861 { (exit 1); exit 1; }; };;
2476 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
18622477 esac
18632478 build=$ac_cv_build
18642479 ac_save_IFS=$IFS; IFS='-'
18742489 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
18752490
18762491
1877 { echo "$as_me:$LINENO: checking host system type" >&5
1878 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1879 if test "${ac_cv_host+set}" = set; then
1880 echo $ECHO_N "(cached) $ECHO_C" >&6
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2493 $as_echo_n "checking host system type... " >&6; }
2494 if test "${ac_cv_host+set}" = set; then :
2495 $as_echo_n "(cached) " >&6
18812496 else
18822497 if test "x$host_alias" = x; then
18832498 ac_cv_host=$ac_cv_build
18842499 else
18852500 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1886 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1887 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1888 { (exit 1); exit 1; }; }
1889 fi
1890
1891 fi
1892 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1893 echo "${ECHO_T}$ac_cv_host" >&6; }
2501 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2502 fi
2503
2504 fi
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2506 $as_echo "$ac_cv_host" >&6; }
18942507 case $ac_cv_host in
18952508 *-*-*) ;;
1896 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1897 echo "$as_me: error: invalid value of canonical host" >&2;}
1898 { (exit 1); exit 1; }; };;
2509 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
18992510 esac
19002511 host=$ac_cv_host
19012512 ac_save_IFS=$IFS; IFS='-'
19112522 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
19122523
19132524
1914 { echo "$as_me:$LINENO: checking target system type" >&5
1915 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1916 if test "${ac_cv_target+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2526 $as_echo_n "checking target system type... " >&6; }
2527 if test "${ac_cv_target+set}" = set; then :
2528 $as_echo_n "(cached) " >&6
19182529 else
19192530 if test "x$target_alias" = x; then
19202531 ac_cv_target=$ac_cv_host
19212532 else
19222533 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1923 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1924 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1925 { (exit 1); exit 1; }; }
1926 fi
1927
1928 fi
1929 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1930 echo "${ECHO_T}$ac_cv_target" >&6; }
2534 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2535 fi
2536
2537 fi
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2539 $as_echo "$ac_cv_target" >&6; }
19312540 case $ac_cv_target in
19322541 *-*-*) ;;
1933 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1934 echo "$as_me: error: invalid value of canonical target" >&2;}
1935 { (exit 1); exit 1; }; };;
2542 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
19362543 esac
19372544 target=$ac_cv_target
19382545 ac_save_IFS=$IFS; IFS='-'
19552562 NONENONEs,x,x, &&
19562563 program_prefix=${target_alias}-
19572564
1958
1959 cat >>confdefs.h <<\_ACEOF
1960 #define _GNU_SOURCE 1
1961 _ACEOF
1962
1963
19642565 ac_ext=c
19652566 ac_cpp='$CPP $CPPFLAGS'
19662567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19692570 if test -n "$ac_tool_prefix"; then
19702571 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
19712572 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1974 if test "${ac_cv_prog_CC+set}" = set; then
1975 echo $ECHO_N "(cached) $ECHO_C" >&6
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2574 $as_echo_n "checking for $ac_word... " >&6; }
2575 if test "${ac_cv_prog_CC+set}" = set; then :
2576 $as_echo_n "(cached) " >&6
19762577 else
19772578 if test -n "$CC"; then
19782579 ac_cv_prog_CC="$CC" # Let the user override the test.
19822583 do
19832584 IFS=$as_save_IFS
19842585 test -z "$as_dir" && as_dir=.
1985 for ac_exec_ext in '' $ac_executable_extensions; do
2586 for ac_exec_ext in '' $ac_executable_extensions; do
19862587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19872588 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19892590 break 2
19902591 fi
19912592 done
1992 done
2593 done
19932594 IFS=$as_save_IFS
19942595
19952596 fi
19962597 fi
19972598 CC=$ac_cv_prog_CC
19982599 if test -n "$CC"; then
1999 { echo "$as_me:$LINENO: result: $CC" >&5
2000 echo "${ECHO_T}$CC" >&6; }
2001 else
2002 { echo "$as_me:$LINENO: result: no" >&5
2003 echo "${ECHO_T}no" >&6; }
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2601 $as_echo "$CC" >&6; }
2602 else
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2604 $as_echo "no" >&6; }
20042605 fi
20052606
20062607
20092610 ac_ct_CC=$CC
20102611 # Extract the first word of "gcc", so it can be a program name with args.
20112612 set dummy gcc; ac_word=$2
2012 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2014 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2614 $as_echo_n "checking for $ac_word... " >&6; }
2615 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2616 $as_echo_n "(cached) " >&6
20162617 else
20172618 if test -n "$ac_ct_CC"; then
20182619 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
20222623 do
20232624 IFS=$as_save_IFS
20242625 test -z "$as_dir" && as_dir=.
2025 for ac_exec_ext in '' $ac_executable_extensions; do
2626 for ac_exec_ext in '' $ac_executable_extensions; do
20262627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20272628 ac_cv_prog_ac_ct_CC="gcc"
2028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20292630 break 2
20302631 fi
20312632 done
2032 done
2633 done
20332634 IFS=$as_save_IFS
20342635
20352636 fi
20362637 fi
20372638 ac_ct_CC=$ac_cv_prog_ac_ct_CC
20382639 if test -n "$ac_ct_CC"; then
2039 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2040 echo "${ECHO_T}$ac_ct_CC" >&6; }
2041 else
2042 { echo "$as_me:$LINENO: result: no" >&5
2043 echo "${ECHO_T}no" >&6; }
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2641 $as_echo "$ac_ct_CC" >&6; }
2642 else
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2644 $as_echo "no" >&6; }
20442645 fi
20452646
20462647 if test "x$ac_ct_CC" = x; then
20482649 else
20492650 case $cross_compiling:$ac_tool_warned in
20502651 yes:)
2051 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2052 whose name does not start with the host triplet. If you think this
2053 configuration is useful to you, please write to autoconf@gnu.org." >&5
2054 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2055 whose name does not start with the host triplet. If you think this
2056 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20572654 ac_tool_warned=yes ;;
20582655 esac
20592656 CC=$ac_ct_CC
20662663 if test -n "$ac_tool_prefix"; then
20672664 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
20682665 set dummy ${ac_tool_prefix}cc; ac_word=$2
2069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2071 if test "${ac_cv_prog_CC+set}" = set; then
2072 echo $ECHO_N "(cached) $ECHO_C" >&6
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2667 $as_echo_n "checking for $ac_word... " >&6; }
2668 if test "${ac_cv_prog_CC+set}" = set; then :
2669 $as_echo_n "(cached) " >&6
20732670 else
20742671 if test -n "$CC"; then
20752672 ac_cv_prog_CC="$CC" # Let the user override the test.
20792676 do
20802677 IFS=$as_save_IFS
20812678 test -z "$as_dir" && as_dir=.
2082 for ac_exec_ext in '' $ac_executable_extensions; do
2679 for ac_exec_ext in '' $ac_executable_extensions; do
20832680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20842681 ac_cv_prog_CC="${ac_tool_prefix}cc"
2085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20862683 break 2
20872684 fi
20882685 done
2089 done
2686 done
20902687 IFS=$as_save_IFS
20912688
20922689 fi
20932690 fi
20942691 CC=$ac_cv_prog_CC
20952692 if test -n "$CC"; then
2096 { echo "$as_me:$LINENO: result: $CC" >&5
2097 echo "${ECHO_T}$CC" >&6; }
2098 else
2099 { echo "$as_me:$LINENO: result: no" >&5
2100 echo "${ECHO_T}no" >&6; }
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2694 $as_echo "$CC" >&6; }
2695 else
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2697 $as_echo "no" >&6; }
21012698 fi
21022699
21032700
21062703 if test -z "$CC"; then
21072704 # Extract the first word of "cc", so it can be a program name with args.
21082705 set dummy cc; ac_word=$2
2109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2111 if test "${ac_cv_prog_CC+set}" = set; then
2112 echo $ECHO_N "(cached) $ECHO_C" >&6
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2707 $as_echo_n "checking for $ac_word... " >&6; }
2708 if test "${ac_cv_prog_CC+set}" = set; then :
2709 $as_echo_n "(cached) " >&6
21132710 else
21142711 if test -n "$CC"; then
21152712 ac_cv_prog_CC="$CC" # Let the user override the test.
21202717 do
21212718 IFS=$as_save_IFS
21222719 test -z "$as_dir" && as_dir=.
2123 for ac_exec_ext in '' $ac_executable_extensions; do
2720 for ac_exec_ext in '' $ac_executable_extensions; do
21242721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21252722 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
21262723 ac_prog_rejected=yes
21272724 continue
21282725 fi
21292726 ac_cv_prog_CC="cc"
2130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21312728 break 2
21322729 fi
21332730 done
2134 done
2731 done
21352732 IFS=$as_save_IFS
21362733
21372734 if test $ac_prog_rejected = yes; then
21502747 fi
21512748 CC=$ac_cv_prog_CC
21522749 if test -n "$CC"; then
2153 { echo "$as_me:$LINENO: result: $CC" >&5
2154 echo "${ECHO_T}$CC" >&6; }
2155 else
2156 { echo "$as_me:$LINENO: result: no" >&5
2157 echo "${ECHO_T}no" >&6; }
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2751 $as_echo "$CC" >&6; }
2752 else
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2754 $as_echo "no" >&6; }
21582755 fi
21592756
21602757
21652762 do
21662763 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21672764 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2170 if test "${ac_cv_prog_CC+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766 $as_echo_n "checking for $ac_word... " >&6; }
2767 if test "${ac_cv_prog_CC+set}" = set; then :
2768 $as_echo_n "(cached) " >&6
21722769 else
21732770 if test -n "$CC"; then
21742771 ac_cv_prog_CC="$CC" # Let the user override the test.
21782775 do
21792776 IFS=$as_save_IFS
21802777 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2778 for ac_exec_ext in '' $ac_executable_extensions; do
21822779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21832780 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21852782 break 2
21862783 fi
21872784 done
2188 done
2785 done
21892786 IFS=$as_save_IFS
21902787
21912788 fi
21922789 fi
21932790 CC=$ac_cv_prog_CC
21942791 if test -n "$CC"; then
2195 { echo "$as_me:$LINENO: result: $CC" >&5
2196 echo "${ECHO_T}$CC" >&6; }
2197 else
2198 { echo "$as_me:$LINENO: result: no" >&5
2199 echo "${ECHO_T}no" >&6; }
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2793 $as_echo "$CC" >&6; }
2794 else
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
22002797 fi
22012798
22022799
22092806 do
22102807 # Extract the first word of "$ac_prog", so it can be a program name with args.
22112808 set dummy $ac_prog; ac_word=$2
2212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2214 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2215 echo $ECHO_N "(cached) $ECHO_C" >&6
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2810 $as_echo_n "checking for $ac_word... " >&6; }
2811 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2812 $as_echo_n "(cached) " >&6
22162813 else
22172814 if test -n "$ac_ct_CC"; then
22182815 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
22222819 do
22232820 IFS=$as_save_IFS
22242821 test -z "$as_dir" && as_dir=.
2225 for ac_exec_ext in '' $ac_executable_extensions; do
2822 for ac_exec_ext in '' $ac_executable_extensions; do
22262823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22272824 ac_cv_prog_ac_ct_CC="$ac_prog"
2228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22292826 break 2
22302827 fi
22312828 done
2232 done
2829 done
22332830 IFS=$as_save_IFS
22342831
22352832 fi
22362833 fi
22372834 ac_ct_CC=$ac_cv_prog_ac_ct_CC
22382835 if test -n "$ac_ct_CC"; then
2239 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2240 echo "${ECHO_T}$ac_ct_CC" >&6; }
2241 else
2242 { echo "$as_me:$LINENO: result: no" >&5
2243 echo "${ECHO_T}no" >&6; }
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2837 $as_echo "$ac_ct_CC" >&6; }
2838 else
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840 $as_echo "no" >&6; }
22442841 fi
22452842
22462843
22522849 else
22532850 case $cross_compiling:$ac_tool_warned in
22542851 yes:)
2255 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2256 whose name does not start with the host triplet. If you think this
2257 configuration is useful to you, please write to autoconf@gnu.org." >&5
2258 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2259 whose name does not start with the host triplet. If you think this
2260 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22612854 ac_tool_warned=yes ;;
22622855 esac
22632856 CC=$ac_ct_CC
22672860 fi
22682861
22692862
2270 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2271 See \`config.log' for more details." >&5
2272 echo "$as_me: error: no acceptable C compiler found in \$PATH
2273 See \`config.log' for more details." >&2;}
2274 { (exit 1); exit 1; }; }
2863 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2864 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2865 as_fn_error "no acceptable C compiler found in \$PATH
2866 See \`config.log' for more details." "$LINENO" 5; }
22752867
22762868 # Provide some information about the compiler.
2277 echo "$as_me:$LINENO: checking for C compiler version" >&5
2278 ac_compiler=`set X $ac_compile; echo $2`
2279 { (ac_try="$ac_compiler --version >&5"
2869 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2870 set X $ac_compile
2871 ac_compiler=$2
2872 for ac_option in --version -v -V -qversion; do
2873 { { ac_try="$ac_compiler $ac_option >&5"
22802874 case "(($ac_try" in
22812875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22822876 *) ac_try_echo=$ac_try;;
22832877 esac
2284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2285 (eval "$ac_compiler --version >&5") 2>&5
2878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2879 $as_echo "$ac_try_echo"; } >&5
2880 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
22862881 ac_status=$?
2287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2288 (exit $ac_status); }
2289 { (ac_try="$ac_compiler -v >&5"
2882 if test -s conftest.err; then
2883 sed '10a\
2884 ... rest of stderr output deleted ...
2885 10q' conftest.err >conftest.er1
2886 cat conftest.er1 >&5
2887 fi
2888 rm -f conftest.er1 conftest.err
2889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2890 test $ac_status = 0; }
2891 done
2892
2893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2894 /* end confdefs.h. */
2895
2896 int
2897 main ()
2898 {
2899
2900 ;
2901 return 0;
2902 }
2903 _ACEOF
2904 ac_clean_files_save=$ac_clean_files
2905 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2906 # Try to create an executable without -o first, disregard a.out.
2907 # It will help us diagnose broken compilers, and finding out an intuition
2908 # of exeext.
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2910 $as_echo_n "checking whether the C compiler works... " >&6; }
2911 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2912
2913 # The possible output files:
2914 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2915
2916 ac_rmfiles=
2917 for ac_file in $ac_files
2918 do
2919 case $ac_file in
2920 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2921 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2922 esac
2923 done
2924 rm -f $ac_rmfiles
2925
2926 if { { ac_try="$ac_link_default"
22902927 case "(($ac_try" in
22912928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22922929 *) ac_try_echo=$ac_try;;
22932930 esac
2294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2295 (eval "$ac_compiler -v >&5") 2>&5
2296 ac_status=$?
2297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2298 (exit $ac_status); }
2299 { (ac_try="$ac_compiler -V >&5"
2300 case "(($ac_try" in
2301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2302 *) ac_try_echo=$ac_try;;
2303 esac
2304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2305 (eval "$ac_compiler -V >&5") 2>&5
2306 ac_status=$?
2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308 (exit $ac_status); }
2309
2310 cat >conftest.$ac_ext <<_ACEOF
2311 /* confdefs.h. */
2312 _ACEOF
2313 cat confdefs.h >>conftest.$ac_ext
2314 cat >>conftest.$ac_ext <<_ACEOF
2315 /* end confdefs.h. */
2316
2317 int
2318 main ()
2319 {
2320
2321 ;
2322 return 0;
2323 }
2324 _ACEOF
2325 ac_clean_files_save=$ac_clean_files
2326 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2327 # Try to create an executable without -o first, disregard a.out.
2328 # It will help us diagnose broken compilers, and finding out an intuition
2329 # of exeext.
2330 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2331 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2332 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2333 #
2334 # List of possible output files, starting from the most likely.
2335 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2336 # only as a last resort. b.out is created by i960 compilers.
2337 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2338 #
2339 # The IRIX 6 linker writes into existing files which may not be
2340 # executable, retaining their permissions. Remove them first so a
2341 # subsequent execution test works.
2342 ac_rmfiles=
2343 for ac_file in $ac_files
2344 do
2345 case $ac_file in
2346 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2347 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2348 esac
2349 done
2350 rm -f $ac_rmfiles
2351
2352 if { (ac_try="$ac_link_default"
2353 case "(($ac_try" in
2354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2355 *) ac_try_echo=$ac_try;;
2356 esac
2357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2932 $as_echo "$ac_try_echo"; } >&5
23582933 (eval "$ac_link_default") 2>&5
23592934 ac_status=$?
2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); }; then
2935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2936 test $ac_status = 0; }; then :
23622937 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
23632938 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
23642939 # in a Makefile. We should not override ac_cv_exeext if it was cached,
23682943 do
23692944 test -f "$ac_file" || continue
23702945 case $ac_file in
2371 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
23722947 ;;
23732948 [ab].out )
23742949 # We found the default executable, but exeext='' is most
23752950 # certainly right.
23762951 break;;
23772952 *.* )
2378 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2953 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
23792954 then :; else
23802955 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
23812956 fi
23942969 else
23952970 ac_file=''
23962971 fi
2397
2398 { echo "$as_me:$LINENO: result: $ac_file" >&5
2399 echo "${ECHO_T}$ac_file" >&6; }
2400 if test -z "$ac_file"; then
2401 echo "$as_me: failed program was:" >&5
2972 if test -z "$ac_file"; then :
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974 $as_echo "no" >&6; }
2975 $as_echo "$as_me: failed program was:" >&5
24022976 sed 's/^/| /' conftest.$ac_ext >&5
24032977
2404 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2405 See \`config.log' for more details." >&5
2406 echo "$as_me: error: C compiler cannot create executables
2407 See \`config.log' for more details." >&2;}
2408 { (exit 77); exit 77; }; }
2409 fi
2410
2978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2980 { as_fn_set_status 77
2981 as_fn_error "C compiler cannot create executables
2982 See \`config.log' for more details." "$LINENO" 5; }; }
2983 else
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2985 $as_echo "yes" >&6; }
2986 fi
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2988 $as_echo_n "checking for C compiler default output file name... " >&6; }
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2990 $as_echo "$ac_file" >&6; }
24112991 ac_exeext=$ac_cv_exeext
24122992
2413 # Check that the compiler produces executables we can run. If not, either
2414 # the compiler is broken, or we cross compile.
2415 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2416 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2417 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2418 # If not cross compiling, check that we can run a simple program.
2419 if test "$cross_compiling" != yes; then
2420 if { ac_try='./$ac_file'
2421 { (case "(($ac_try" in
2422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2423 *) ac_try_echo=$ac_try;;
2424 esac
2425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2426 (eval "$ac_try") 2>&5
2427 ac_status=$?
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; }; then
2430 cross_compiling=no
2431 else
2432 if test "$cross_compiling" = maybe; then
2433 cross_compiling=yes
2434 else
2435 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2436 If you meant to cross compile, use \`--host'.
2437 See \`config.log' for more details." >&5
2438 echo "$as_me: error: cannot run C compiled programs.
2439 If you meant to cross compile, use \`--host'.
2440 See \`config.log' for more details." >&2;}
2441 { (exit 1); exit 1; }; }
2442 fi
2443 fi
2444 fi
2445 { echo "$as_me:$LINENO: result: yes" >&5
2446 echo "${ECHO_T}yes" >&6; }
2447
2448 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2993 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
24492994 ac_clean_files=$ac_clean_files_save
2450 # Check that the compiler produces executables we can run. If not, either
2451 # the compiler is broken, or we cross compile.
2452 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2453 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2454 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2455 echo "${ECHO_T}$cross_compiling" >&6; }
2456
2457 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2458 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2459 if { (ac_try="$ac_link"
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2996 $as_echo_n "checking for suffix of executables... " >&6; }
2997 if { { ac_try="$ac_link"
24602998 case "(($ac_try" in
24612999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24623000 *) ac_try_echo=$ac_try;;
24633001 esac
2464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3003 $as_echo "$ac_try_echo"; } >&5
24653004 (eval "$ac_link") 2>&5
24663005 ac_status=$?
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; then
3006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3007 test $ac_status = 0; }; then :
24693008 # If both `conftest.exe' and `conftest' are `present' (well, observable)
24703009 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
24713010 # work properly (i.e., refer to `conftest.exe'), while it won't with
24733012 for ac_file in conftest.exe conftest conftest.*; do
24743013 test -f "$ac_file" || continue
24753014 case $ac_file in
2476 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3015 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
24773016 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
24783017 break;;
24793018 * ) break;;
24803019 esac
24813020 done
24823021 else
2483 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2484 See \`config.log' for more details." >&5
2485 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2486 See \`config.log' for more details." >&2;}
2487 { (exit 1); exit 1; }; }
2488 fi
2489
2490 rm -f conftest$ac_cv_exeext
2491 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2492 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3024 as_fn_error "cannot compute suffix of executables: cannot compile and link
3025 See \`config.log' for more details." "$LINENO" 5; }
3026 fi
3027 rm -f conftest conftest$ac_cv_exeext
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3029 $as_echo "$ac_cv_exeext" >&6; }
24933030
24943031 rm -f conftest.$ac_ext
24953032 EXEEXT=$ac_cv_exeext
24963033 ac_exeext=$EXEEXT
2497 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2498 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2499 if test "${ac_cv_objext+set}" = set; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6
2501 else
2502 cat >conftest.$ac_ext <<_ACEOF
2503 /* confdefs.h. */
2504 _ACEOF
2505 cat confdefs.h >>conftest.$ac_ext
2506 cat >>conftest.$ac_ext <<_ACEOF
3034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25073035 /* end confdefs.h. */
2508
3036 #include <stdio.h>
25093037 int
25103038 main ()
25113039 {
3040 FILE *f = fopen ("conftest.out", "w");
3041 return ferror (f) || fclose (f) != 0;
25123042
25133043 ;
25143044 return 0;
25153045 }
25163046 _ACEOF
2517 rm -f conftest.o conftest.obj
2518 if { (ac_try="$ac_compile"
3047 ac_clean_files="$ac_clean_files conftest.out"
3048 # Check that the compiler produces executables we can run. If not, either
3049 # the compiler is broken, or we cross compile.
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3051 $as_echo_n "checking whether we are cross compiling... " >&6; }
3052 if test "$cross_compiling" != yes; then
3053 { { ac_try="$ac_link"
25193054 case "(($ac_try" in
25203055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25213056 *) ac_try_echo=$ac_try;;
25223057 esac
2523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3059 $as_echo "$ac_try_echo"; } >&5
3060 (eval "$ac_link") 2>&5
3061 ac_status=$?
3062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3063 test $ac_status = 0; }
3064 if { ac_try='./conftest$ac_cv_exeext'
3065 { { case "(($ac_try" in
3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3068 esac
3069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3070 $as_echo "$ac_try_echo"; } >&5
3071 (eval "$ac_try") 2>&5
3072 ac_status=$?
3073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3074 test $ac_status = 0; }; }; then
3075 cross_compiling=no
3076 else
3077 if test "$cross_compiling" = maybe; then
3078 cross_compiling=yes
3079 else
3080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3082 as_fn_error "cannot run C compiled programs.
3083 If you meant to cross compile, use \`--host'.
3084 See \`config.log' for more details." "$LINENO" 5; }
3085 fi
3086 fi
3087 fi
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3089 $as_echo "$cross_compiling" >&6; }
3090
3091 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3092 ac_clean_files=$ac_clean_files_save
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3094 $as_echo_n "checking for suffix of object files... " >&6; }
3095 if test "${ac_cv_objext+set}" = set; then :
3096 $as_echo_n "(cached) " >&6
3097 else
3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h. */
3100
3101 int
3102 main ()
3103 {
3104
3105 ;
3106 return 0;
3107 }
3108 _ACEOF
3109 rm -f conftest.o conftest.obj
3110 if { { ac_try="$ac_compile"
3111 case "(($ac_try" in
3112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3113 *) ac_try_echo=$ac_try;;
3114 esac
3115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3116 $as_echo "$ac_try_echo"; } >&5
25243117 (eval "$ac_compile") 2>&5
25253118 ac_status=$?
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; then
3119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3120 test $ac_status = 0; }; then :
25283121 for ac_file in conftest.o conftest.obj conftest.*; do
25293122 test -f "$ac_file" || continue;
25303123 case $ac_file in
2531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3124 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
25323125 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
25333126 break;;
25343127 esac
25353128 done
25363129 else
2537 echo "$as_me: failed program was:" >&5
3130 $as_echo "$as_me: failed program was:" >&5
25383131 sed 's/^/| /' conftest.$ac_ext >&5
25393132
2540 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2541 See \`config.log' for more details." >&5
2542 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2543 See \`config.log' for more details." >&2;}
2544 { (exit 1); exit 1; }; }
2545 fi
2546
3133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3135 as_fn_error "cannot compute suffix of object files: cannot compile
3136 See \`config.log' for more details." "$LINENO" 5; }
3137 fi
25473138 rm -f conftest.$ac_cv_objext conftest.$ac_ext
25483139 fi
2549 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2550 echo "${ECHO_T}$ac_cv_objext" >&6; }
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3141 $as_echo "$ac_cv_objext" >&6; }
25513142 OBJEXT=$ac_cv_objext
25523143 ac_objext=$OBJEXT
2553 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2554 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2555 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2556 echo $ECHO_N "(cached) $ECHO_C" >&6
2557 else
2558 cat >conftest.$ac_ext <<_ACEOF
2559 /* confdefs.h. */
2560 _ACEOF
2561 cat confdefs.h >>conftest.$ac_ext
2562 cat >>conftest.$ac_ext <<_ACEOF
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3145 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3146 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3147 $as_echo_n "(cached) " >&6
3148 else
3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25633150 /* end confdefs.h. */
25643151
25653152 int
25733160 return 0;
25743161 }
25753162 _ACEOF
2576 rm -f conftest.$ac_objext
2577 if { (ac_try="$ac_compile"
2578 case "(($ac_try" in
2579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580 *) ac_try_echo=$ac_try;;
2581 esac
2582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2583 (eval "$ac_compile") 2>conftest.er1
2584 ac_status=$?
2585 grep -v '^ *+' conftest.er1 >conftest.err
2586 rm -f conftest.er1
2587 cat conftest.err >&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); } && {
2590 test -z "$ac_c_werror_flag" ||
2591 test ! -s conftest.err
2592 } && test -s conftest.$ac_objext; then
3163 if ac_fn_c_try_compile "$LINENO"; then :
25933164 ac_compiler_gnu=yes
25943165 else
2595 echo "$as_me: failed program was:" >&5
2596 sed 's/^/| /' conftest.$ac_ext >&5
2597
2598 ac_compiler_gnu=no
2599 fi
2600
3166 ac_compiler_gnu=no
3167 fi
26013168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26023169 ac_cv_c_compiler_gnu=$ac_compiler_gnu
26033170
26043171 fi
2605 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2606 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2607 GCC=`test $ac_compiler_gnu = yes && echo yes`
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3173 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3174 if test $ac_compiler_gnu = yes; then
3175 GCC=yes
3176 else
3177 GCC=
3178 fi
26083179 ac_test_CFLAGS=${CFLAGS+set}
26093180 ac_save_CFLAGS=$CFLAGS
2610 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2611 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2612 if test "${ac_cv_prog_cc_g+set}" = set; then
2613 echo $ECHO_N "(cached) $ECHO_C" >&6
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3182 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3183 if test "${ac_cv_prog_cc_g+set}" = set; then :
3184 $as_echo_n "(cached) " >&6
26143185 else
26153186 ac_save_c_werror_flag=$ac_c_werror_flag
26163187 ac_c_werror_flag=yes
26173188 ac_cv_prog_cc_g=no
26183189 CFLAGS="-g"
2619 cat >conftest.$ac_ext <<_ACEOF
2620 /* confdefs.h. */
2621 _ACEOF
2622 cat confdefs.h >>conftest.$ac_ext
2623 cat >>conftest.$ac_ext <<_ACEOF
3190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26243191 /* end confdefs.h. */
26253192
26263193 int
26313198 return 0;
26323199 }
26333200 _ACEOF
2634 rm -f conftest.$ac_objext
2635 if { (ac_try="$ac_compile"
2636 case "(($ac_try" in
2637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638 *) ac_try_echo=$ac_try;;
2639 esac
2640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2641 (eval "$ac_compile") 2>conftest.er1
2642 ac_status=$?
2643 grep -v '^ *+' conftest.er1 >conftest.err
2644 rm -f conftest.er1
2645 cat conftest.err >&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); } && {
2648 test -z "$ac_c_werror_flag" ||
2649 test ! -s conftest.err
2650 } && test -s conftest.$ac_objext; then
3201 if ac_fn_c_try_compile "$LINENO"; then :
26513202 ac_cv_prog_cc_g=yes
26523203 else
2653 echo "$as_me: failed program was:" >&5
2654 sed 's/^/| /' conftest.$ac_ext >&5
2655
2656 CFLAGS=""
2657 cat >conftest.$ac_ext <<_ACEOF
2658 /* confdefs.h. */
2659 _ACEOF
2660 cat confdefs.h >>conftest.$ac_ext
2661 cat >>conftest.$ac_ext <<_ACEOF
3204 CFLAGS=""
3205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26623206 /* end confdefs.h. */
26633207
26643208 int
26693213 return 0;
26703214 }
26713215 _ACEOF
2672 rm -f conftest.$ac_objext
2673 if { (ac_try="$ac_compile"
2674 case "(($ac_try" in
2675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676 *) ac_try_echo=$ac_try;;
2677 esac
2678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2679 (eval "$ac_compile") 2>conftest.er1
2680 ac_status=$?
2681 grep -v '^ *+' conftest.er1 >conftest.err
2682 rm -f conftest.er1
2683 cat conftest.err >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); } && {
2686 test -z "$ac_c_werror_flag" ||
2687 test ! -s conftest.err
2688 } && test -s conftest.$ac_objext; then
2689 :
2690 else
2691 echo "$as_me: failed program was:" >&5
2692 sed 's/^/| /' conftest.$ac_ext >&5
2693
2694 ac_c_werror_flag=$ac_save_c_werror_flag
3216 if ac_fn_c_try_compile "$LINENO"; then :
3217
3218 else
3219 ac_c_werror_flag=$ac_save_c_werror_flag
26953220 CFLAGS="-g"
2696 cat >conftest.$ac_ext <<_ACEOF
2697 /* confdefs.h. */
2698 _ACEOF
2699 cat confdefs.h >>conftest.$ac_ext
2700 cat >>conftest.$ac_ext <<_ACEOF
3221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27013222 /* end confdefs.h. */
27023223
27033224 int
27083229 return 0;
27093230 }
27103231 _ACEOF
2711 rm -f conftest.$ac_objext
2712 if { (ac_try="$ac_compile"
2713 case "(($ac_try" in
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2716 esac
2717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2718 (eval "$ac_compile") 2>conftest.er1
2719 ac_status=$?
2720 grep -v '^ *+' conftest.er1 >conftest.err
2721 rm -f conftest.er1
2722 cat conftest.err >&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); } && {
2725 test -z "$ac_c_werror_flag" ||
2726 test ! -s conftest.err
2727 } && test -s conftest.$ac_objext; then
3232 if ac_fn_c_try_compile "$LINENO"; then :
27283233 ac_cv_prog_cc_g=yes
2729 else
2730 echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2732
2733
2734 fi
2735
3234 fi
27363235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27373236 fi
2738
27393237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27403238 fi
2741
27423239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27433240 ac_c_werror_flag=$ac_save_c_werror_flag
27443241 fi
2745 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2746 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3243 $as_echo "$ac_cv_prog_cc_g" >&6; }
27473244 if test "$ac_test_CFLAGS" = set; then
27483245 CFLAGS=$ac_save_CFLAGS
27493246 elif test $ac_cv_prog_cc_g = yes; then
27593256 CFLAGS=
27603257 fi
27613258 fi
2762 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2763 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2764 if test "${ac_cv_prog_cc_c89+set}" = set; then
2765 echo $ECHO_N "(cached) $ECHO_C" >&6
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3260 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3261 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3262 $as_echo_n "(cached) " >&6
27663263 else
27673264 ac_cv_prog_cc_c89=no
27683265 ac_save_CC=$CC
2769 cat >conftest.$ac_ext <<_ACEOF
2770 /* confdefs.h. */
2771 _ACEOF
2772 cat confdefs.h >>conftest.$ac_ext
2773 cat >>conftest.$ac_ext <<_ACEOF
3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27743267 /* end confdefs.h. */
27753268 #include <stdarg.h>
27763269 #include <stdio.h>
28273320 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
28283321 do
28293322 CC="$ac_save_CC $ac_arg"
2830 rm -f conftest.$ac_objext
2831 if { (ac_try="$ac_compile"
2832 case "(($ac_try" in
2833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834 *) ac_try_echo=$ac_try;;
2835 esac
2836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2837 (eval "$ac_compile") 2>conftest.er1
2838 ac_status=$?
2839 grep -v '^ *+' conftest.er1 >conftest.err
2840 rm -f conftest.er1
2841 cat conftest.err >&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); } && {
2844 test -z "$ac_c_werror_flag" ||
2845 test ! -s conftest.err
2846 } && test -s conftest.$ac_objext; then
3323 if ac_fn_c_try_compile "$LINENO"; then :
28473324 ac_cv_prog_cc_c89=$ac_arg
2848 else
2849 echo "$as_me: failed program was:" >&5
2850 sed 's/^/| /' conftest.$ac_ext >&5
2851
2852
2853 fi
2854
3325 fi
28553326 rm -f core conftest.err conftest.$ac_objext
28563327 test "x$ac_cv_prog_cc_c89" != "xno" && break
28573328 done
28623333 # AC_CACHE_VAL
28633334 case "x$ac_cv_prog_cc_c89" in
28643335 x)
2865 { echo "$as_me:$LINENO: result: none needed" >&5
2866 echo "${ECHO_T}none needed" >&6; } ;;
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3337 $as_echo "none needed" >&6; } ;;
28673338 xno)
2868 { echo "$as_me:$LINENO: result: unsupported" >&5
2869 echo "${ECHO_T}unsupported" >&6; } ;;
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3340 $as_echo "unsupported" >&6; } ;;
28703341 *)
28713342 CC="$CC $ac_cv_prog_cc_c89"
2872 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2873 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3344 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
28743345 esac
2875
3346 if test "x$ac_cv_prog_cc_c89" != xno; then :
3347
3348 fi
28763349
28773350 ac_ext=c
28783351 ac_cpp='$CPP $CPPFLAGS'
28863359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28873360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28883361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2889 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2890 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3363 $as_echo_n "checking how to run the C preprocessor... " >&6; }
28913364 # On Suns, sometimes $CPP names a directory.
28923365 if test -n "$CPP" && test -d "$CPP"; then
28933366 CPP=
28943367 fi
28953368 if test -z "$CPP"; then
2896 if test "${ac_cv_prog_CPP+set}" = set; then
2897 echo $ECHO_N "(cached) $ECHO_C" >&6
3369 if test "${ac_cv_prog_CPP+set}" = set; then :
3370 $as_echo_n "(cached) " >&6
28983371 else
28993372 # Double quotes because CPP needs to be expanded
29003373 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
29083381 # <limits.h> exists even on freestanding compilers.
29093382 # On the NeXT, cc -E runs the code through the compiler's parser,
29103383 # not just through cpp. "Syntax error" is here to catch this case.
2911 cat >conftest.$ac_ext <<_ACEOF
2912 /* confdefs.h. */
2913 _ACEOF
2914 cat confdefs.h >>conftest.$ac_ext
2915 cat >>conftest.$ac_ext <<_ACEOF
3384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29163385 /* end confdefs.h. */
29173386 #ifdef __STDC__
29183387 # include <limits.h>
29213390 #endif
29223391 Syntax error
29233392 _ACEOF
2924 if { (ac_try="$ac_cpp conftest.$ac_ext"
2925 case "(($ac_try" in
2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2928 esac
2929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2930 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2931 ac_status=$?
2932 grep -v '^ *+' conftest.er1 >conftest.err
2933 rm -f conftest.er1
2934 cat conftest.err >&5
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); } >/dev/null && {
2937 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2938 test ! -s conftest.err
2939 }; then
2940 :
2941 else
2942 echo "$as_me: failed program was:" >&5
2943 sed 's/^/| /' conftest.$ac_ext >&5
2944
3393 if ac_fn_c_try_cpp "$LINENO"; then :
3394
3395 else
29453396 # Broken: fails on valid input.
29463397 continue
29473398 fi
2948
29493399 rm -f conftest.err conftest.$ac_ext
29503400
29513401 # OK, works on sane cases. Now check whether nonexistent headers
29523402 # can be detected and how.
2953 cat >conftest.$ac_ext <<_ACEOF
2954 /* confdefs.h. */
2955 _ACEOF
2956 cat confdefs.h >>conftest.$ac_ext
2957 cat >>conftest.$ac_ext <<_ACEOF
3403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29583404 /* end confdefs.h. */
29593405 #include <ac_nonexistent.h>
29603406 _ACEOF
2961 if { (ac_try="$ac_cpp conftest.$ac_ext"
2962 case "(($ac_try" in
2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2965 esac
2966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2967 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2968 ac_status=$?
2969 grep -v '^ *+' conftest.er1 >conftest.err
2970 rm -f conftest.er1
2971 cat conftest.err >&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); } >/dev/null && {
2974 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2975 test ! -s conftest.err
2976 }; then
3407 if ac_fn_c_try_cpp "$LINENO"; then :
29773408 # Broken: success on invalid input.
29783409 continue
29793410 else
2980 echo "$as_me: failed program was:" >&5
2981 sed 's/^/| /' conftest.$ac_ext >&5
2982
29833411 # Passes both tests.
29843412 ac_preproc_ok=:
29853413 break
29863414 fi
2987
29883415 rm -f conftest.err conftest.$ac_ext
29893416
29903417 done
29913418 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
29923419 rm -f conftest.err conftest.$ac_ext
2993 if $ac_preproc_ok; then
3420 if $ac_preproc_ok; then :
29943421 break
29953422 fi
29963423
30023429 else
30033430 ac_cv_prog_CPP=$CPP
30043431 fi
3005 { echo "$as_me:$LINENO: result: $CPP" >&5
3006 echo "${ECHO_T}$CPP" >&6; }
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3433 $as_echo "$CPP" >&6; }
30073434 ac_preproc_ok=false
30083435 for ac_c_preproc_warn_flag in '' yes
30093436 do
30133440 # <limits.h> exists even on freestanding compilers.
30143441 # On the NeXT, cc -E runs the code through the compiler's parser,
30153442 # not just through cpp. "Syntax error" is here to catch this case.
3016 cat >conftest.$ac_ext <<_ACEOF
3017 /* confdefs.h. */
3018 _ACEOF
3019 cat confdefs.h >>conftest.$ac_ext
3020 cat >>conftest.$ac_ext <<_ACEOF
3443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30213444 /* end confdefs.h. */
30223445 #ifdef __STDC__
30233446 # include <limits.h>
30263449 #endif
30273450 Syntax error
30283451 _ACEOF
3029 if { (ac_try="$ac_cpp conftest.$ac_ext"
3030 case "(($ac_try" in
3031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3032 *) ac_try_echo=$ac_try;;
3033 esac
3034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3035 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3036 ac_status=$?
3037 grep -v '^ *+' conftest.er1 >conftest.err
3038 rm -f conftest.er1
3039 cat conftest.err >&5
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); } >/dev/null && {
3042 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3043 test ! -s conftest.err
3044 }; then
3045 :
3046 else
3047 echo "$as_me: failed program was:" >&5
3048 sed 's/^/| /' conftest.$ac_ext >&5
3049
3452 if ac_fn_c_try_cpp "$LINENO"; then :
3453
3454 else
30503455 # Broken: fails on valid input.
30513456 continue
30523457 fi
3053
30543458 rm -f conftest.err conftest.$ac_ext
30553459
30563460 # OK, works on sane cases. Now check whether nonexistent headers
30573461 # can be detected and how.
3058 cat >conftest.$ac_ext <<_ACEOF
3059 /* confdefs.h. */
3060 _ACEOF
3061 cat confdefs.h >>conftest.$ac_ext
3062 cat >>conftest.$ac_ext <<_ACEOF
3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30633463 /* end confdefs.h. */
30643464 #include <ac_nonexistent.h>
30653465 _ACEOF
3066 if { (ac_try="$ac_cpp conftest.$ac_ext"
3067 case "(($ac_try" in
3068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3069 *) ac_try_echo=$ac_try;;
3070 esac
3071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3072 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3073 ac_status=$?
3074 grep -v '^ *+' conftest.er1 >conftest.err
3075 rm -f conftest.er1
3076 cat conftest.err >&5
3077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078 (exit $ac_status); } >/dev/null && {
3079 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3080 test ! -s conftest.err
3081 }; then
3466 if ac_fn_c_try_cpp "$LINENO"; then :
30823467 # Broken: success on invalid input.
30833468 continue
30843469 else
3085 echo "$as_me: failed program was:" >&5
3086 sed 's/^/| /' conftest.$ac_ext >&5
3087
30883470 # Passes both tests.
30893471 ac_preproc_ok=:
30903472 break
30913473 fi
3092
30933474 rm -f conftest.err conftest.$ac_ext
30943475
30953476 done
30963477 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
30973478 rm -f conftest.err conftest.$ac_ext
3098 if $ac_preproc_ok; then
3099 :
3100 else
3101 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3102 See \`config.log' for more details." >&5
3103 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3104 See \`config.log' for more details." >&2;}
3105 { (exit 1); exit 1; }; }
3479 if $ac_preproc_ok; then :
3480
3481 else
3482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3484 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3485 See \`config.log' for more details." "$LINENO" 5; }
31063486 fi
31073487
31083488 ac_ext=c
31123492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31133493
31143494
3115 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3116 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3117 if test "${ac_cv_path_GREP+set}" = set; then
3118 echo $ECHO_N "(cached) $ECHO_C" >&6
3119 else
3120 # Extract the first word of "grep ggrep" to use in msg output
3121 if test -z "$GREP"; then
3122 set dummy grep ggrep; ac_prog_name=$2
3123 if test "${ac_cv_path_GREP+set}" = set; then
3124 echo $ECHO_N "(cached) $ECHO_C" >&6
3125 else
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3496 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3497 if test "${ac_cv_path_GREP+set}" = set; then :
3498 $as_echo_n "(cached) " >&6
3499 else
3500 if test -z "$GREP"; then
31263501 ac_path_GREP_found=false
3127 # Loop through the user's path and test for each of PROGNAME-LIST
3128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3502 # Loop through the user's path and test for each of PROGNAME-LIST
3503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31293504 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
31303505 do
31313506 IFS=$as_save_IFS
31323507 test -z "$as_dir" && as_dir=.
3133 for ac_prog in grep ggrep; do
3134 for ac_exec_ext in '' $ac_executable_extensions; do
3135 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3136 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3137 # Check for GNU ac_path_GREP and select it if it is found.
3508 for ac_prog in grep ggrep; do
3509 for ac_exec_ext in '' $ac_executable_extensions; do
3510 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3511 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3512 # Check for GNU ac_path_GREP and select it if it is found.
31383513 # Check for GNU $ac_path_GREP
31393514 case `"$ac_path_GREP" --version 2>&1` in
31403515 *GNU*)
31413516 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
31423517 *)
31433518 ac_count=0
3144 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3519 $as_echo_n 0123456789 >"conftest.in"
31453520 while :
31463521 do
31473522 cat "conftest.in" "conftest.in" >"conftest.tmp"
31483523 mv "conftest.tmp" "conftest.in"
31493524 cp "conftest.in" "conftest.nl"
3150 echo 'GREP' >> "conftest.nl"
3525 $as_echo 'GREP' >> "conftest.nl"
31513526 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
31523527 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3153 ac_count=`expr $ac_count + 1`
3528 as_fn_arith $ac_count + 1 && ac_count=$as_val
31543529 if test $ac_count -gt ${ac_path_GREP_max-0}; then
31553530 # Best one so far, save it but keep looking for a better one
31563531 ac_cv_path_GREP="$ac_path_GREP"
31623537 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
31633538 esac
31643539
3165
3166 $ac_path_GREP_found && break 3
3540 $ac_path_GREP_found && break 3
3541 done
31673542 done
3168 done
3169
3170 done
3543 done
31713544 IFS=$as_save_IFS
3172
3173
3174 fi
3175
3176 GREP="$ac_cv_path_GREP"
3177 if test -z "$GREP"; then
3178 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3179 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3180 { (exit 1); exit 1; }; }
3181 fi
3182
3545 if test -z "$ac_cv_path_GREP"; then
3546 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3547 fi
31833548 else
31843549 ac_cv_path_GREP=$GREP
31853550 fi
31863551
3187
3188 fi
3189 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3190 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3552 fi
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3554 $as_echo "$ac_cv_path_GREP" >&6; }
31913555 GREP="$ac_cv_path_GREP"
31923556
31933557
3194 { echo "$as_me:$LINENO: checking for egrep" >&5
3195 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3196 if test "${ac_cv_path_EGREP+set}" = set; then
3197 echo $ECHO_N "(cached) $ECHO_C" >&6
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3559 $as_echo_n "checking for egrep... " >&6; }
3560 if test "${ac_cv_path_EGREP+set}" = set; then :
3561 $as_echo_n "(cached) " >&6
31983562 else
31993563 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
32003564 then ac_cv_path_EGREP="$GREP -E"
32013565 else
3202 # Extract the first word of "egrep" to use in msg output
3203 if test -z "$EGREP"; then
3204 set dummy egrep; ac_prog_name=$2
3205 if test "${ac_cv_path_EGREP+set}" = set; then
3206 echo $ECHO_N "(cached) $ECHO_C" >&6
3207 else
3566 if test -z "$EGREP"; then
32083567 ac_path_EGREP_found=false
3209 # Loop through the user's path and test for each of PROGNAME-LIST
3210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 # Loop through the user's path and test for each of PROGNAME-LIST
3569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32113570 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
32123571 do
32133572 IFS=$as_save_IFS
32143573 test -z "$as_dir" && as_dir=.
3215 for ac_prog in egrep; do
3216 for ac_exec_ext in '' $ac_executable_extensions; do
3217 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3218 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3219 # Check for GNU ac_path_EGREP and select it if it is found.
3574 for ac_prog in egrep; do
3575 for ac_exec_ext in '' $ac_executable_extensions; do
3576 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3577 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3578 # Check for GNU ac_path_EGREP and select it if it is found.
32203579 # Check for GNU $ac_path_EGREP
32213580 case `"$ac_path_EGREP" --version 2>&1` in
32223581 *GNU*)
32233582 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
32243583 *)
32253584 ac_count=0
3226 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3585 $as_echo_n 0123456789 >"conftest.in"
32273586 while :
32283587 do
32293588 cat "conftest.in" "conftest.in" >"conftest.tmp"
32303589 mv "conftest.tmp" "conftest.in"
32313590 cp "conftest.in" "conftest.nl"
3232 echo 'EGREP' >> "conftest.nl"
3591 $as_echo 'EGREP' >> "conftest.nl"
32333592 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
32343593 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3235 ac_count=`expr $ac_count + 1`
3594 as_fn_arith $ac_count + 1 && ac_count=$as_val
32363595 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
32373596 # Best one so far, save it but keep looking for a better one
32383597 ac_cv_path_EGREP="$ac_path_EGREP"
32443603 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
32453604 esac
32463605
3247
3248 $ac_path_EGREP_found && break 3
3606 $ac_path_EGREP_found && break 3
3607 done
32493608 done
3250 done
3251
3252 done
3609 done
32533610 IFS=$as_save_IFS
3254
3255
3256 fi
3257
3258 EGREP="$ac_cv_path_EGREP"
3259 if test -z "$EGREP"; then
3260 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3261 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3262 { (exit 1); exit 1; }; }
3263 fi
3264
3611 if test -z "$ac_cv_path_EGREP"; then
3612 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3613 fi
32653614 else
32663615 ac_cv_path_EGREP=$EGREP
32673616 fi
32683617
3269
32703618 fi
32713619 fi
3272 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3273 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3621 $as_echo "$ac_cv_path_EGREP" >&6; }
32743622 EGREP="$ac_cv_path_EGREP"
32753623
32763624
3277
3278 { echo "$as_me:$LINENO: checking for AIX" >&5
3279 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3280 cat >conftest.$ac_ext <<_ACEOF
3281 /* confdefs.h. */
3282 _ACEOF
3283 cat confdefs.h >>conftest.$ac_ext
3284 cat >>conftest.$ac_ext <<_ACEOF
3285 /* end confdefs.h. */
3286 #ifdef _AIX
3287 yes
3288 #endif
3289
3290 _ACEOF
3291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3292 $EGREP "yes" >/dev/null 2>&1; then
3293 { echo "$as_me:$LINENO: result: yes" >&5
3294 echo "${ECHO_T}yes" >&6; }
3295 cat >>confdefs.h <<\_ACEOF
3296 #define _ALL_SOURCE 1
3297 _ACEOF
3298
3299 else
3300 { echo "$as_me:$LINENO: result: no" >&5
3301 echo "${ECHO_T}no" >&6; }
3302 fi
3303 rm -f conftest*
3304
3305
3306 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3307 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3308 if test "${ac_cv_header_stdc+set}" = set; then
3309 echo $ECHO_N "(cached) $ECHO_C" >&6
3310 else
3311 cat >conftest.$ac_ext <<_ACEOF
3312 /* confdefs.h. */
3313 _ACEOF
3314 cat confdefs.h >>conftest.$ac_ext
3315 cat >>conftest.$ac_ext <<_ACEOF
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3626 $as_echo_n "checking for ANSI C header files... " >&6; }
3627 if test "${ac_cv_header_stdc+set}" = set; then :
3628 $as_echo_n "(cached) " >&6
3629 else
3630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33163631 /* end confdefs.h. */
33173632 #include <stdlib.h>
33183633 #include <stdarg.h>
33273642 return 0;
33283643 }
33293644 _ACEOF
3330 rm -f conftest.$ac_objext
3331 if { (ac_try="$ac_compile"
3332 case "(($ac_try" in
3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3335 esac
3336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3337 (eval "$ac_compile") 2>conftest.er1
3338 ac_status=$?
3339 grep -v '^ *+' conftest.er1 >conftest.err
3340 rm -f conftest.er1
3341 cat conftest.err >&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); } && {
3344 test -z "$ac_c_werror_flag" ||
3345 test ! -s conftest.err
3346 } && test -s conftest.$ac_objext; then
3645 if ac_fn_c_try_compile "$LINENO"; then :
33473646 ac_cv_header_stdc=yes
33483647 else
3349 echo "$as_me: failed program was:" >&5
3350 sed 's/^/| /' conftest.$ac_ext >&5
3351
3352 ac_cv_header_stdc=no
3353 fi
3354
3648 ac_cv_header_stdc=no
3649 fi
33553650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33563651
33573652 if test $ac_cv_header_stdc = yes; then
33583653 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3359 cat >conftest.$ac_ext <<_ACEOF
3360 /* confdefs.h. */
3361 _ACEOF
3362 cat confdefs.h >>conftest.$ac_ext
3363 cat >>conftest.$ac_ext <<_ACEOF
3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33643655 /* end confdefs.h. */
33653656 #include <string.h>
33663657
33673658 _ACEOF
33683659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3369 $EGREP "memchr" >/dev/null 2>&1; then
3370 :
3660 $EGREP "memchr" >/dev/null 2>&1; then :
3661
33713662 else
33723663 ac_cv_header_stdc=no
33733664 fi
33773668
33783669 if test $ac_cv_header_stdc = yes; then
33793670 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3380 cat >conftest.$ac_ext <<_ACEOF
3381 /* confdefs.h. */
3382 _ACEOF
3383 cat confdefs.h >>conftest.$ac_ext
3384 cat >>conftest.$ac_ext <<_ACEOF
3671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33853672 /* end confdefs.h. */
33863673 #include <stdlib.h>
33873674
33883675 _ACEOF
33893676 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3390 $EGREP "free" >/dev/null 2>&1; then
3391 :
3677 $EGREP "free" >/dev/null 2>&1; then :
3678
33923679 else
33933680 ac_cv_header_stdc=no
33943681 fi
33983685
33993686 if test $ac_cv_header_stdc = yes; then
34003687 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3401 if test "$cross_compiling" = yes; then
3688 if test "$cross_compiling" = yes; then :
34023689 :
34033690 else
3404 cat >conftest.$ac_ext <<_ACEOF
3405 /* confdefs.h. */
3406 _ACEOF
3407 cat confdefs.h >>conftest.$ac_ext
3408 cat >>conftest.$ac_ext <<_ACEOF
3691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34093692 /* end confdefs.h. */
34103693 #include <ctype.h>
34113694 #include <stdlib.h>
34323715 return 0;
34333716 }
34343717 _ACEOF
3435 rm -f conftest$ac_exeext
3436 if { (ac_try="$ac_link"
3437 case "(($ac_try" in
3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439 *) ac_try_echo=$ac_try;;
3440 esac
3441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3442 (eval "$ac_link") 2>&5
3443 ac_status=$?
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3446 { (case "(($ac_try" in
3447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3448 *) ac_try_echo=$ac_try;;
3449 esac
3450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3451 (eval "$ac_try") 2>&5
3452 ac_status=$?
3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454 (exit $ac_status); }; }; then
3455 :
3456 else
3457 echo "$as_me: program exited with status $ac_status" >&5
3458 echo "$as_me: failed program was:" >&5
3459 sed 's/^/| /' conftest.$ac_ext >&5
3460
3461 ( exit $ac_status )
3462 ac_cv_header_stdc=no
3463 fi
3464 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3465 fi
3466
3467
3468 fi
3469 fi
3470 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3471 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3718 if ac_fn_c_try_run "$LINENO"; then :
3719
3720 else
3721 ac_cv_header_stdc=no
3722 fi
3723 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3724 conftest.$ac_objext conftest.beam conftest.$ac_ext
3725 fi
3726
3727 fi
3728 fi
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3730 $as_echo "$ac_cv_header_stdc" >&6; }
34723731 if test $ac_cv_header_stdc = yes; then
34733732
3474 cat >>confdefs.h <<\_ACEOF
3475 #define STDC_HEADERS 1
3476 _ACEOF
3733 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
34773734
34783735 fi
34793736
34803737 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3481
3482
3483
3484
3485
3486
3487
3488
3489
34903738 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
34913739 inttypes.h stdint.h unistd.h
3492 do
3493 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3494 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3496 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3497 echo $ECHO_N "(cached) $ECHO_C" >&6
3498 else
3499 cat >conftest.$ac_ext <<_ACEOF
3500 /* confdefs.h. */
3501 _ACEOF
3502 cat confdefs.h >>conftest.$ac_ext
3503 cat >>conftest.$ac_ext <<_ACEOF
3504 /* end confdefs.h. */
3505 $ac_includes_default
3506
3507 #include <$ac_header>
3508 _ACEOF
3509 rm -f conftest.$ac_objext
3510 if { (ac_try="$ac_compile"
3511 case "(($ac_try" in
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3514 esac
3515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3516 (eval "$ac_compile") 2>conftest.er1
3517 ac_status=$?
3518 grep -v '^ *+' conftest.er1 >conftest.err
3519 rm -f conftest.er1
3520 cat conftest.err >&5
3521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522 (exit $ac_status); } && {
3523 test -z "$ac_c_werror_flag" ||
3524 test ! -s conftest.err
3525 } && test -s conftest.$ac_objext; then
3526 eval "$as_ac_Header=yes"
3527 else
3528 echo "$as_me: failed program was:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3530
3531 eval "$as_ac_Header=no"
3532 fi
3533
3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3535 fi
3536 ac_res=`eval echo '${'$as_ac_Header'}'`
3537 { echo "$as_me:$LINENO: result: $ac_res" >&5
3538 echo "${ECHO_T}$ac_res" >&6; }
3539 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3740 do :
3741 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3742 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3743 "
3744 eval as_val=\$$as_ac_Header
3745 if test "x$as_val" = x""yes; then :
35403746 cat >>confdefs.h <<_ACEOF
3541 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
35423748 _ACEOF
35433749
35443750 fi
35463752 done
35473753
35483754
3549 if test "${ac_cv_header_minix_config_h+set}" = set; then
3550 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3551 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3552 if test "${ac_cv_header_minix_config_h+set}" = set; then
3553 echo $ECHO_N "(cached) $ECHO_C" >&6
3554 fi
3555 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3556 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3557 else
3558 # Is the header compilable?
3559 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3560 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3561 cat >conftest.$ac_ext <<_ACEOF
3562 /* confdefs.h. */
3563 _ACEOF
3564 cat confdefs.h >>conftest.$ac_ext
3565 cat >>conftest.$ac_ext <<_ACEOF
3566 /* end confdefs.h. */
3567 $ac_includes_default
3568 #include <minix/config.h>
3569 _ACEOF
3570 rm -f conftest.$ac_objext
3571 if { (ac_try="$ac_compile"
3572 case "(($ac_try" in
3573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3574 *) ac_try_echo=$ac_try;;
3575 esac
3576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3577 (eval "$ac_compile") 2>conftest.er1
3578 ac_status=$?
3579 grep -v '^ *+' conftest.er1 >conftest.err
3580 rm -f conftest.er1
3581 cat conftest.err >&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); } && {
3584 test -z "$ac_c_werror_flag" ||
3585 test ! -s conftest.err
3586 } && test -s conftest.$ac_objext; then
3587 ac_header_compiler=yes
3588 else
3589 echo "$as_me: failed program was:" >&5
3590 sed 's/^/| /' conftest.$ac_ext >&5
3591
3592 ac_header_compiler=no
3593 fi
3594
3595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3596 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3597 echo "${ECHO_T}$ac_header_compiler" >&6; }
3598
3599 # Is the header present?
3600 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3601 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
3602 cat >conftest.$ac_ext <<_ACEOF
3603 /* confdefs.h. */
3604 _ACEOF
3605 cat confdefs.h >>conftest.$ac_ext
3606 cat >>conftest.$ac_ext <<_ACEOF
3607 /* end confdefs.h. */
3608 #include <minix/config.h>
3609 _ACEOF
3610 if { (ac_try="$ac_cpp conftest.$ac_ext"
3611 case "(($ac_try" in
3612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3613 *) ac_try_echo=$ac_try;;
3614 esac
3615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3616 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3617 ac_status=$?
3618 grep -v '^ *+' conftest.er1 >conftest.err
3619 rm -f conftest.er1
3620 cat conftest.err >&5
3621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622 (exit $ac_status); } >/dev/null && {
3623 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3624 test ! -s conftest.err
3625 }; then
3626 ac_header_preproc=yes
3627 else
3628 echo "$as_me: failed program was:" >&5
3629 sed 's/^/| /' conftest.$ac_ext >&5
3630
3631 ac_header_preproc=no
3632 fi
3633
3634 rm -f conftest.err conftest.$ac_ext
3635 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3636 echo "${ECHO_T}$ac_header_preproc" >&6; }
3637
3638 # So? What about this header?
3639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3640 yes:no: )
3641 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3642 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3643 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3644 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3645 ac_header_preproc=yes
3646 ;;
3647 no:yes:* )
3648 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3649 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3650 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3651 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3652 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3653 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3654 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3655 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3656 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3657 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3658 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3659 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3660
3661 ;;
3662 esac
3663 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3664 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3665 if test "${ac_cv_header_minix_config_h+set}" = set; then
3666 echo $ECHO_N "(cached) $ECHO_C" >&6
3667 else
3668 ac_cv_header_minix_config_h=$ac_header_preproc
3669 fi
3670 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3671 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3672
3673 fi
3674 if test $ac_cv_header_minix_config_h = yes; then
3755
3756 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3757 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
36753758 MINIX=yes
36763759 else
36773760 MINIX=
36783761 fi
36793762
36803763
3681 if test "$MINIX" = yes; then
3682
3683 cat >>confdefs.h <<\_ACEOF
3684 #define _POSIX_SOURCE 1
3685 _ACEOF
3686
3687
3688 cat >>confdefs.h <<\_ACEOF
3689 #define _POSIX_1_SOURCE 2
3690 _ACEOF
3691
3692
3693 cat >>confdefs.h <<\_ACEOF
3694 #define _MINIX 1
3695 _ACEOF
3696
3697 fi
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3710 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
3711 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3712 echo $ECHO_N "(cached) $ECHO_C" >&6
3713 else
3714 cat >conftest.$ac_ext <<_ACEOF
3715 /* confdefs.h. */
3716 _ACEOF
3717 cat confdefs.h >>conftest.$ac_ext
3718 cat >>conftest.$ac_ext <<_ACEOF
3764 if test "$MINIX" = yes; then
3765
3766 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3767
3768
3769 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3770
3771
3772 $as_echo "#define _MINIX 1" >>confdefs.h
3773
3774 fi
3775
3776
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3778 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3779 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3780 $as_echo_n "(cached) " >&6
3781 else
3782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37193783 /* end confdefs.h. */
37203784
37213785 # define __EXTENSIONS__ 1
37283792 return 0;
37293793 }
37303794 _ACEOF
3731 rm -f conftest.$ac_objext
3732 if { (ac_try="$ac_compile"
3733 case "(($ac_try" in
3734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3735 *) ac_try_echo=$ac_try;;
3736 esac
3737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3738 (eval "$ac_compile") 2>conftest.er1
3739 ac_status=$?
3740 grep -v '^ *+' conftest.er1 >conftest.err
3741 rm -f conftest.er1
3742 cat conftest.err >&5
3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); } && {
3745 test -z "$ac_c_werror_flag" ||
3746 test ! -s conftest.err
3747 } && test -s conftest.$ac_objext; then
3795 if ac_fn_c_try_compile "$LINENO"; then :
37483796 ac_cv_safe_to_define___extensions__=yes
37493797 else
3750 echo "$as_me: failed program was:" >&5
3751 sed 's/^/| /' conftest.$ac_ext >&5
3752
3753 ac_cv_safe_to_define___extensions__=no
3754 fi
3755
3798 ac_cv_safe_to_define___extensions__=no
3799 fi
37563800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37573801 fi
3758 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3759 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3803 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
37603804 test $ac_cv_safe_to_define___extensions__ = yes &&
3761 cat >>confdefs.h <<\_ACEOF
3762 #define __EXTENSIONS__ 1
3763 _ACEOF
3764
3765 cat >>confdefs.h <<\_ACEOF
3766 #define _POSIX_PTHREAD_SEMANTICS 1
3767 _ACEOF
3768
3769 cat >>confdefs.h <<\_ACEOF
3770 #define _TANDEM_SOURCE 1
3771 _ACEOF
3805 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3806
3807 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3808
3809 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3810
3811 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3812
3813 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
37723814
37733815
37743816
37893831 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37903832 # OS/2's system install, which has a completely different semantic
37913833 # ./install, which can be erroneously created by make from ./install.sh.
3792 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3793 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3834 # Reject install programs that cannot install multiple files.
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3836 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37943837 if test -z "$INSTALL"; then
3795 if test "${ac_cv_path_install+set}" = set; then
3796 echo $ECHO_N "(cached) $ECHO_C" >&6
3838 if test "${ac_cv_path_install+set}" = set; then :
3839 $as_echo_n "(cached) " >&6
37973840 else
37983841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37993842 for as_dir in $PATH
38003843 do
38013844 IFS=$as_save_IFS
38023845 test -z "$as_dir" && as_dir=.
3803 # Account for people who put trailing slashes in PATH elements.
3804 case $as_dir/ in
3805 ./ | .// | /cC/* | \
3846 # Account for people who put trailing slashes in PATH elements.
3847 case $as_dir/ in #((
3848 ./ | .// | /[cC]/* | \
38063849 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3807 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3850 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
38083851 /usr/ucb/* ) ;;
38093852 *)
38103853 # OSF1 and SCO ODT 3.0 have their own names for install.
38223865 # program-specific install script used by HP pwplus--don't use.
38233866 :
38243867 else
3825 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3826 break 3
3868 rm -rf conftest.one conftest.two conftest.dir
3869 echo one > conftest.one
3870 echo two > conftest.two
3871 mkdir conftest.dir
3872 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3873 test -s conftest.one && test -s conftest.two &&
3874 test -s conftest.dir/conftest.one &&
3875 test -s conftest.dir/conftest.two
3876 then
3877 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3878 break 3
3879 fi
38273880 fi
38283881 fi
38293882 done
38303883 done
38313884 ;;
38323885 esac
3833 done
3886
3887 done
38343888 IFS=$as_save_IFS
38353889
3890 rm -rf conftest.one conftest.two conftest.dir
38363891
38373892 fi
38383893 if test "${ac_cv_path_install+set}" = set; then
38453900 INSTALL=$ac_install_sh
38463901 fi
38473902 fi
3848 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3849 echo "${ECHO_T}$INSTALL" >&6; }
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3904 $as_echo "$INSTALL" >&6; }
38503905
38513906 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38523907 # It thinks the first close brace ends the variable substitution.
38563911
38573912 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38583913
3859 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3860 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3915 $as_echo_n "checking whether build environment is sane... " >&6; }
38613916 # Just in case
38623917 sleep 1
38633918 echo timestamp > conftest.file
38803935 # if, for instance, CONFIG_SHELL is bash and it inherits a
38813936 # broken ls alias from the environment. This has actually
38823937 # happened. Such a system could not be considered "sane".
3883 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3884 alias in your environment" >&5
3885 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3886 alias in your environment" >&2;}
3887 { (exit 1); exit 1; }; }
3938 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3939 alias in your environment" "$LINENO" 5
38883940 fi
38893941
38903942 test "$2" = conftest.file
38933945 # Ok.
38943946 :
38953947 else
3896 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3897 Check your system clock" >&5
3898 echo "$as_me: error: newly created file is older than distributed files!
3899 Check your system clock" >&2;}
3900 { (exit 1); exit 1; }; }
3901 fi
3902 { echo "$as_me:$LINENO: result: yes" >&5
3903 echo "${ECHO_T}yes" >&6; }
3948 as_fn_error "newly created file is older than distributed files!
3949 Check your system clock" "$LINENO" 5
3950 fi
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3952 $as_echo "yes" >&6; }
39043953 test "$program_prefix" != NONE &&
39053954 program_transform_name="s&^&$program_prefix&;$program_transform_name"
39063955 # Use a double $ so make ignores it.
39073956 test "$program_suffix" != NONE &&
39083957 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3909 # Double any \ or $. echo might interpret backslashes.
3958 # Double any \ or $.
39103959 # By default was `s,x,x', remove it if useless.
3911 cat <<\_ACEOF >conftest.sed
3912 s/[\\$]/&&/g;s/;s,x,x,$//
3913 _ACEOF
3914 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
3915 rm -f conftest.sed
3960 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3961 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
39163962
39173963 # expand $ac_aux_dir to an absolute path
39183964 am_aux_dir=`cd $ac_aux_dir && pwd`
39233969 am_missing_run="$MISSING --run "
39243970 else
39253971 am_missing_run=
3926 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3927 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3973 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
39283974 fi
39293975
39303976 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
39644010 do
39654011 # Extract the first word of "$ac_prog", so it can be a program name with args.
39664012 set dummy $ac_prog; ac_word=$2
3967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3969 if test "${ac_cv_prog_AWK+set}" = set; then
3970 echo $ECHO_N "(cached) $ECHO_C" >&6
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4014 $as_echo_n "checking for $ac_word... " >&6; }
4015 if test "${ac_cv_prog_AWK+set}" = set; then :
4016 $as_echo_n "(cached) " >&6
39714017 else
39724018 if test -n "$AWK"; then
39734019 ac_cv_prog_AWK="$AWK" # Let the user override the test.
39774023 do
39784024 IFS=$as_save_IFS
39794025 test -z "$as_dir" && as_dir=.
3980 for ac_exec_ext in '' $ac_executable_extensions; do
4026 for ac_exec_ext in '' $ac_executable_extensions; do
39814027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39824028 ac_cv_prog_AWK="$ac_prog"
3983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39844030 break 2
39854031 fi
39864032 done
3987 done
4033 done
39884034 IFS=$as_save_IFS
39894035
39904036 fi
39914037 fi
39924038 AWK=$ac_cv_prog_AWK
39934039 if test -n "$AWK"; then
3994 { echo "$as_me:$LINENO: result: $AWK" >&5
3995 echo "${ECHO_T}$AWK" >&6; }
3996 else
3997 { echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6; }
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4041 $as_echo "$AWK" >&6; }
4042 else
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4044 $as_echo "no" >&6; }
39994045 fi
40004046
40014047
40024048 test -n "$AWK" && break
40034049 done
40044050
4005 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4006 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4007 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4008 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4009 echo $ECHO_N "(cached) $ECHO_C" >&6
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4052 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4053 set x ${MAKE-make}
4054 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4055 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4056 $as_echo_n "(cached) " >&6
40104057 else
40114058 cat >conftest.make <<\_ACEOF
40124059 SHELL = /bin/sh
40234070 rm -f conftest.make
40244071 fi
40254072 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4026 { echo "$as_me:$LINENO: result: yes" >&5
4027 echo "${ECHO_T}yes" >&6; }
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4074 $as_echo "yes" >&6; }
40284075 SET_MAKE=
40294076 else
4030 { echo "$as_me:$LINENO: result: no" >&5
4031 echo "${ECHO_T}no" >&6; }
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078 $as_echo "no" >&6; }
40324079 SET_MAKE="MAKE=${MAKE-make}"
40334080 fi
40344081
40534100 .PHONY: am__doit
40544101 END
40554102 # If we don't find an include directive, just comment out the code.
4056 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
4057 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4104 $as_echo_n "checking for style of include used by $am_make... " >&6; }
40584105 am__include="#"
40594106 am__quote=
40604107 _am_result=none
40814128 fi
40824129
40834130
4084 { echo "$as_me:$LINENO: result: $_am_result" >&5
4085 echo "${ECHO_T}$_am_result" >&6; }
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4132 $as_echo "$_am_result" >&6; }
40864133 rm -f confinc confmf
40874134
40884135 # Check whether --enable-dependency-tracking was given.
4089 if test "${enable_dependency_tracking+set}" = set; then
4136 if test "${enable_dependency_tracking+set}" = set; then :
40904137 enableval=$enable_dependency_tracking;
40914138 fi
40924139
41094156 # test to see if srcdir already configured
41104157 if test "`cd $srcdir && pwd`" != "`pwd`" &&
41114158 test -f $srcdir/config.status; then
4112 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
4113 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
4114 { (exit 1); exit 1; }; }
4159 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
41154160 fi
41164161
41174162 # test whether we have cygpath
41264171
41274172 # Define the identity of the package.
41284173 PACKAGE=lbreakout2
4129 VERSION=2.6
4174 VERSION=2.6.1
41304175
41314176
41324177 cat >>confdefs.h <<_ACEOF
41644209 if test -n "$ac_tool_prefix"; then
41654210 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41664211 set dummy ${ac_tool_prefix}strip; ac_word=$2
4167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4169 if test "${ac_cv_prog_STRIP+set}" = set; then
4170 echo $ECHO_N "(cached) $ECHO_C" >&6
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4213 $as_echo_n "checking for $ac_word... " >&6; }
4214 if test "${ac_cv_prog_STRIP+set}" = set; then :
4215 $as_echo_n "(cached) " >&6
41714216 else
41724217 if test -n "$STRIP"; then
41734218 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
41774222 do
41784223 IFS=$as_save_IFS
41794224 test -z "$as_dir" && as_dir=.
4180 for ac_exec_ext in '' $ac_executable_extensions; do
4225 for ac_exec_ext in '' $ac_executable_extensions; do
41814226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41824227 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41844229 break 2
41854230 fi
41864231 done
4187 done
4232 done
41884233 IFS=$as_save_IFS
41894234
41904235 fi
41914236 fi
41924237 STRIP=$ac_cv_prog_STRIP
41934238 if test -n "$STRIP"; then
4194 { echo "$as_me:$LINENO: result: $STRIP" >&5
4195 echo "${ECHO_T}$STRIP" >&6; }
4196 else
4197 { echo "$as_me:$LINENO: result: no" >&5
4198 echo "${ECHO_T}no" >&6; }
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4240 $as_echo "$STRIP" >&6; }
4241 else
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4243 $as_echo "no" >&6; }
41994244 fi
42004245
42014246
42044249 ac_ct_STRIP=$STRIP
42054250 # Extract the first word of "strip", so it can be a program name with args.
42064251 set dummy strip; ac_word=$2
4207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4209 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4210 echo $ECHO_N "(cached) $ECHO_C" >&6
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4253 $as_echo_n "checking for $ac_word... " >&6; }
4254 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4255 $as_echo_n "(cached) " >&6
42114256 else
42124257 if test -n "$ac_ct_STRIP"; then
42134258 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
42174262 do
42184263 IFS=$as_save_IFS
42194264 test -z "$as_dir" && as_dir=.
4220 for ac_exec_ext in '' $ac_executable_extensions; do
4265 for ac_exec_ext in '' $ac_executable_extensions; do
42214266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42224267 ac_cv_prog_ac_ct_STRIP="strip"
4223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
42244269 break 2
42254270 fi
42264271 done
4227 done
4272 done
42284273 IFS=$as_save_IFS
42294274
42304275 fi
42314276 fi
42324277 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
42334278 if test -n "$ac_ct_STRIP"; then
4234 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4235 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
4236 else
4237 { echo "$as_me:$LINENO: result: no" >&5
4238 echo "${ECHO_T}no" >&6; }
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4280 $as_echo "$ac_ct_STRIP" >&6; }
4281 else
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4283 $as_echo "no" >&6; }
42394284 fi
42404285
42414286 if test "x$ac_ct_STRIP" = x; then
42434288 else
42444289 case $cross_compiling:$ac_tool_warned in
42454290 yes:)
4246 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4247 whose name does not start with the host triplet. If you think this
4248 configuration is useful to you, please write to autoconf@gnu.org." >&5
4249 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4250 whose name does not start with the host triplet. If you think this
4251 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4292 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
42524293 ac_tool_warned=yes ;;
42534294 esac
42544295 STRIP=$ac_ct_STRIP
42734314
42744315 depcc="$CC" am_compiler_list=
42754316
4276 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4277 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4278 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4279 echo $ECHO_N "(cached) $ECHO_C" >&6
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4318 $as_echo_n "checking dependency style of $depcc... " >&6; }
4319 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4320 $as_echo_n "(cached) " >&6
42804321 else
42814322 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
42824323 # We make a subdir and do the tests there. Otherwise we can end up
43634404 fi
43644405
43654406 fi
4366 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4367 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4408 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
43684409 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
43694410
43704411
43964437
43974438
43984439
4399 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4400 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4441 $as_echo_n "checking whether NLS is requested... " >&6; }
44014442 # Check whether --enable-nls was given.
4402 if test "${enable_nls+set}" = set; then
4443 if test "${enable_nls+set}" = set; then :
44034444 enableval=$enable_nls; USE_NLS=$enableval
44044445 else
44054446 USE_NLS=yes
44064447 fi
44074448
4408 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
4409 echo "${ECHO_T}$USE_NLS" >&6; }
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4450 $as_echo "$USE_NLS" >&6; }
44104451
44114452
44124453
44434484
44444485 # Extract the first word of "msgfmt", so it can be a program name with args.
44454486 set dummy msgfmt; ac_word=$2
4446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4448 if test "${ac_cv_path_MSGFMT+set}" = set; then
4449 echo $ECHO_N "(cached) $ECHO_C" >&6
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4488 $as_echo_n "checking for $ac_word... " >&6; }
4489 if test "${ac_cv_path_MSGFMT+set}" = set; then :
4490 $as_echo_n "(cached) " >&6
44504491 else
44514492 case "$MSGFMT" in
44524493 [\\/]* | ?:[\\/]*)
44744515 fi
44754516 MSGFMT="$ac_cv_path_MSGFMT"
44764517 if test "$MSGFMT" != ":"; then
4477 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
4478 echo "${ECHO_T}$MSGFMT" >&6; }
4479 else
4480 { echo "$as_me:$LINENO: result: no" >&5
4481 echo "${ECHO_T}no" >&6; }
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4519 $as_echo "$MSGFMT" >&6; }
4520 else
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522 $as_echo "no" >&6; }
44824523 fi
44834524
44844525 # Extract the first word of "gmsgfmt", so it can be a program name with args.
44854526 set dummy gmsgfmt; ac_word=$2
4486 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4488 if test "${ac_cv_path_GMSGFMT+set}" = set; then
4489 echo $ECHO_N "(cached) $ECHO_C" >&6
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4528 $as_echo_n "checking for $ac_word... " >&6; }
4529 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4530 $as_echo_n "(cached) " >&6
44904531 else
44914532 case $GMSGFMT in
44924533 [\\/]* | ?:[\\/]*)
44984539 do
44994540 IFS=$as_save_IFS
45004541 test -z "$as_dir" && as_dir=.
4501 for ac_exec_ext in '' $ac_executable_extensions; do
4542 for ac_exec_ext in '' $ac_executable_extensions; do
45024543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45034544 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
45054546 break 2
45064547 fi
45074548 done
4508 done
4549 done
45094550 IFS=$as_save_IFS
45104551
45114552 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
45144555 fi
45154556 GMSGFMT=$ac_cv_path_GMSGFMT
45164557 if test -n "$GMSGFMT"; then
4517 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4518 echo "${ECHO_T}$GMSGFMT" >&6; }
4519 else
4520 { echo "$as_me:$LINENO: result: no" >&5
4521 echo "${ECHO_T}no" >&6; }
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4559 $as_echo "$GMSGFMT" >&6; }
4560 else
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4562 $as_echo "no" >&6; }
45224563 fi
45234564
45244565
45544595
45554596 # Extract the first word of "xgettext", so it can be a program name with args.
45564597 set dummy xgettext; ac_word=$2
4557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4559 if test "${ac_cv_path_XGETTEXT+set}" = set; then
4560 echo $ECHO_N "(cached) $ECHO_C" >&6
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4599 $as_echo_n "checking for $ac_word... " >&6; }
4600 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4601 $as_echo_n "(cached) " >&6
45614602 else
45624603 case "$XGETTEXT" in
45634604 [\\/]* | ?:[\\/]*)
45854626 fi
45864627 XGETTEXT="$ac_cv_path_XGETTEXT"
45874628 if test "$XGETTEXT" != ":"; then
4588 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4589 echo "${ECHO_T}$XGETTEXT" >&6; }
4590 else
4591 { echo "$as_me:$LINENO: result: no" >&5
4592 echo "${ECHO_T}no" >&6; }
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4630 $as_echo "$XGETTEXT" >&6; }
4631 else
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4633 $as_echo "no" >&6; }
45934634 fi
45944635
45954636 rm -f messages.po
46254666
46264667 # Extract the first word of "msgmerge", so it can be a program name with args.
46274668 set dummy msgmerge; ac_word=$2
4628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4630 if test "${ac_cv_path_MSGMERGE+set}" = set; then
4631 echo $ECHO_N "(cached) $ECHO_C" >&6
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4670 $as_echo_n "checking for $ac_word... " >&6; }
4671 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4672 $as_echo_n "(cached) " >&6
46324673 else
46334674 case "$MSGMERGE" in
46344675 [\\/]* | ?:[\\/]*)
46554696 fi
46564697 MSGMERGE="$ac_cv_path_MSGMERGE"
46574698 if test "$MSGMERGE" != ":"; then
4658 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4659 echo "${ECHO_T}$MSGMERGE" >&6; }
4660 else
4661 { echo "$as_me:$LINENO: result: no" >&5
4662 echo "${ECHO_T}no" >&6; }
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4700 $as_echo "$MSGMERGE" >&6; }
4701 else
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4703 $as_echo "no" >&6; }
46634704 fi
46644705
46654706
46694710 : ;
46704711 else
46714712 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4672 { echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4673 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4714 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
46744715 GMSGFMT=":"
46754716 fi
46764717 fi
46804721 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
46814722 : ;
46824723 else
4683 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
4684 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
4725 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
46854726 XGETTEXT=":"
46864727 fi
46874728 rm -f messages.po
46934734 if test -n "$ac_tool_prefix"; then
46944735 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46954736 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4698 if test "${ac_cv_prog_RANLIB+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4738 $as_echo_n "checking for $ac_word... " >&6; }
4739 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4740 $as_echo_n "(cached) " >&6
47004741 else
47014742 if test -n "$RANLIB"; then
47024743 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47064747 do
47074748 IFS=$as_save_IFS
47084749 test -z "$as_dir" && as_dir=.
4709 for ac_exec_ext in '' $ac_executable_extensions; do
4750 for ac_exec_ext in '' $ac_executable_extensions; do
47104751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47114752 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
47134754 break 2
47144755 fi
47154756 done
4716 done
4757 done
47174758 IFS=$as_save_IFS
47184759
47194760 fi
47204761 fi
47214762 RANLIB=$ac_cv_prog_RANLIB
47224763 if test -n "$RANLIB"; then
4723 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4724 echo "${ECHO_T}$RANLIB" >&6; }
4725 else
4726 { echo "$as_me:$LINENO: result: no" >&5
4727 echo "${ECHO_T}no" >&6; }
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4765 $as_echo "$RANLIB" >&6; }
4766 else
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 $as_echo "no" >&6; }
47284769 fi
47294770
47304771
47334774 ac_ct_RANLIB=$RANLIB
47344775 # Extract the first word of "ranlib", so it can be a program name with args.
47354776 set dummy ranlib; ac_word=$2
4736 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4738 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4778 $as_echo_n "checking for $ac_word... " >&6; }
4779 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4780 $as_echo_n "(cached) " >&6
47404781 else
47414782 if test -n "$ac_ct_RANLIB"; then
47424783 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47464787 do
47474788 IFS=$as_save_IFS
47484789 test -z "$as_dir" && as_dir=.
4749 for ac_exec_ext in '' $ac_executable_extensions; do
4790 for ac_exec_ext in '' $ac_executable_extensions; do
47504791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47514792 ac_cv_prog_ac_ct_RANLIB="ranlib"
4752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
47534794 break 2
47544795 fi
47554796 done
4756 done
4797 done
47574798 IFS=$as_save_IFS
47584799
47594800 fi
47604801 fi
47614802 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47624803 if test -n "$ac_ct_RANLIB"; then
4763 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4764 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4765 else
4766 { echo "$as_me:$LINENO: result: no" >&5
4767 echo "${ECHO_T}no" >&6; }
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4805 $as_echo "$ac_ct_RANLIB" >&6; }
4806 else
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 $as_echo "no" >&6; }
47684809 fi
47694810
47704811 if test "x$ac_ct_RANLIB" = x; then
47724813 else
47734814 case $cross_compiling:$ac_tool_warned in
47744815 yes:)
4775 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4776 whose name does not start with the host triplet. If you think this
4777 configuration is useful to you, please write to autoconf@gnu.org." >&5
4778 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4779 whose name does not start with the host triplet. If you think this
4780 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
47814818 ac_tool_warned=yes ;;
47824819 esac
47834820 RANLIB=$ac_ct_RANLIB
47874824 fi
47884825
47894826
4790 { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
4791 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
4792 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
4793 echo $ECHO_N "(cached) $ECHO_C" >&6
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
4828 $as_echo_n "checking for strerror in -lcposix... " >&6; }
4829 if test "${ac_cv_lib_cposix_strerror+set}" = set; then :
4830 $as_echo_n "(cached) " >&6
47944831 else
47954832 ac_check_lib_save_LIBS=$LIBS
47964833 LIBS="-lcposix $LIBS"
4797 cat >conftest.$ac_ext <<_ACEOF
4798 /* confdefs.h. */
4799 _ACEOF
4800 cat confdefs.h >>conftest.$ac_ext
4801 cat >>conftest.$ac_ext <<_ACEOF
4834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48024835 /* end confdefs.h. */
48034836
48044837 /* Override any GCC internal prototype to avoid an error.
48164849 return 0;
48174850 }
48184851 _ACEOF
4819 rm -f conftest.$ac_objext conftest$ac_exeext
4820 if { (ac_try="$ac_link"
4821 case "(($ac_try" in
4822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4823 *) ac_try_echo=$ac_try;;
4824 esac
4825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4826 (eval "$ac_link") 2>conftest.er1
4827 ac_status=$?
4828 grep -v '^ *+' conftest.er1 >conftest.err
4829 rm -f conftest.er1
4830 cat conftest.err >&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); } && {
4833 test -z "$ac_c_werror_flag" ||
4834 test ! -s conftest.err
4835 } && test -s conftest$ac_exeext &&
4836 $as_test_x conftest$ac_exeext; then
4852 if ac_fn_c_try_link "$LINENO"; then :
48374853 ac_cv_lib_cposix_strerror=yes
48384854 else
4839 echo "$as_me: failed program was:" >&5
4840 sed 's/^/| /' conftest.$ac_ext >&5
4841
4842 ac_cv_lib_cposix_strerror=no
4843 fi
4844
4845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4846 conftest$ac_exeext conftest.$ac_ext
4855 ac_cv_lib_cposix_strerror=no
4856 fi
4857 rm -f core conftest.err conftest.$ac_objext \
4858 conftest$ac_exeext conftest.$ac_ext
48474859 LIBS=$ac_check_lib_save_LIBS
48484860 fi
4849 { echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
4850 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
4851 if test $ac_cv_lib_cposix_strerror = yes; then
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
4862 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
4863 if test "x$ac_cv_lib_cposix_strerror" = x""yes; then :
48524864 LIBS="$LIBS -lcposix"
48534865 fi
48544866
48554867
48564868
4857 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4858 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4859 if test "${ac_cv_c_const+set}" = set; then
4860 echo $ECHO_N "(cached) $ECHO_C" >&6
4861 else
4862 cat >conftest.$ac_ext <<_ACEOF
4863 /* confdefs.h. */
4864 _ACEOF
4865 cat confdefs.h >>conftest.$ac_ext
4866 cat >>conftest.$ac_ext <<_ACEOF
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4870 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4871 if test "${ac_cv_c_const+set}" = set; then :
4872 $as_echo_n "(cached) " >&6
4873 else
4874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48674875 /* end confdefs.h. */
48684876
48694877 int
49234931 return 0;
49244932 }
49254933 _ACEOF
4926 rm -f conftest.$ac_objext
4927 if { (ac_try="$ac_compile"
4928 case "(($ac_try" in
4929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4930 *) ac_try_echo=$ac_try;;
4931 esac
4932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4933 (eval "$ac_compile") 2>conftest.er1
4934 ac_status=$?
4935 grep -v '^ *+' conftest.er1 >conftest.err
4936 rm -f conftest.er1
4937 cat conftest.err >&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); } && {
4940 test -z "$ac_c_werror_flag" ||
4941 test ! -s conftest.err
4942 } && test -s conftest.$ac_objext; then
4934 if ac_fn_c_try_compile "$LINENO"; then :
49434935 ac_cv_c_const=yes
49444936 else
4945 echo "$as_me: failed program was:" >&5
4946 sed 's/^/| /' conftest.$ac_ext >&5
4947
4948 ac_cv_c_const=no
4949 fi
4950
4937 ac_cv_c_const=no
4938 fi
49514939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49524940 fi
4953 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4954 echo "${ECHO_T}$ac_cv_c_const" >&6; }
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4942 $as_echo "$ac_cv_c_const" >&6; }
49554943 if test $ac_cv_c_const = no; then
49564944
4957 cat >>confdefs.h <<\_ACEOF
4958 #define const
4959 _ACEOF
4960
4961 fi
4962
4963
4964 { echo "$as_me:$LINENO: checking for signed" >&5
4965 echo $ECHO_N "checking for signed... $ECHO_C" >&6; }
4966 if test "${bh_cv_c_signed+set}" = set; then
4967 echo $ECHO_N "(cached) $ECHO_C" >&6
4968 else
4969 cat >conftest.$ac_ext <<_ACEOF
4970 /* confdefs.h. */
4971 _ACEOF
4972 cat confdefs.h >>conftest.$ac_ext
4973 cat >>conftest.$ac_ext <<_ACEOF
4945 $as_echo "#define const /**/" >>confdefs.h
4946
4947 fi
4948
4949
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signed" >&5
4951 $as_echo_n "checking for signed... " >&6; }
4952 if test "${bh_cv_c_signed+set}" = set; then :
4953 $as_echo_n "(cached) " >&6
4954 else
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49744956 /* end confdefs.h. */
49754957
49764958 int
49814963 return 0;
49824964 }
49834965 _ACEOF
4984 rm -f conftest.$ac_objext
4985 if { (ac_try="$ac_compile"
4986 case "(($ac_try" in
4987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4988 *) ac_try_echo=$ac_try;;
4989 esac
4990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4991 (eval "$ac_compile") 2>conftest.er1
4992 ac_status=$?
4993 grep -v '^ *+' conftest.er1 >conftest.err
4994 rm -f conftest.er1
4995 cat conftest.err >&5
4996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4997 (exit $ac_status); } && {
4998 test -z "$ac_c_werror_flag" ||
4999 test ! -s conftest.err
5000 } && test -s conftest.$ac_objext; then
4966 if ac_fn_c_try_compile "$LINENO"; then :
50014967 bh_cv_c_signed=yes
50024968 else
5003 echo "$as_me: failed program was:" >&5
5004 sed 's/^/| /' conftest.$ac_ext >&5
5005
5006 bh_cv_c_signed=no
5007 fi
5008
4969 bh_cv_c_signed=no
4970 fi
50094971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50104972 fi
5011 { echo "$as_me:$LINENO: result: $bh_cv_c_signed" >&5
5012 echo "${ECHO_T}$bh_cv_c_signed" >&6; }
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bh_cv_c_signed" >&5
4974 $as_echo "$bh_cv_c_signed" >&6; }
50134975 if test $bh_cv_c_signed = no; then
50144976
5015 cat >>confdefs.h <<\_ACEOF
5016 #define signed
5017 _ACEOF
5018
5019 fi
5020
5021 { echo "$as_me:$LINENO: checking for inline" >&5
5022 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
5023 if test "${ac_cv_c_inline+set}" = set; then
5024 echo $ECHO_N "(cached) $ECHO_C" >&6
4977 $as_echo "#define signed /**/" >>confdefs.h
4978
4979 fi
4980
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4982 $as_echo_n "checking for inline... " >&6; }
4983 if test "${ac_cv_c_inline+set}" = set; then :
4984 $as_echo_n "(cached) " >&6
50254985 else
50264986 ac_cv_c_inline=no
50274987 for ac_kw in inline __inline__ __inline; do
5028 cat >conftest.$ac_ext <<_ACEOF
5029 /* confdefs.h. */
5030 _ACEOF
5031 cat confdefs.h >>conftest.$ac_ext
5032 cat >>conftest.$ac_ext <<_ACEOF
4988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50334989 /* end confdefs.h. */
50344990 #ifndef __cplusplus
50354991 typedef int foo_t;
50384994 #endif
50394995
50404996 _ACEOF
5041 rm -f conftest.$ac_objext
5042 if { (ac_try="$ac_compile"
5043 case "(($ac_try" in
5044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5045 *) ac_try_echo=$ac_try;;
5046 esac
5047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5048 (eval "$ac_compile") 2>conftest.er1
5049 ac_status=$?
5050 grep -v '^ *+' conftest.er1 >conftest.err
5051 rm -f conftest.er1
5052 cat conftest.err >&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); } && {
5055 test -z "$ac_c_werror_flag" ||
5056 test ! -s conftest.err
5057 } && test -s conftest.$ac_objext; then
4997 if ac_fn_c_try_compile "$LINENO"; then :
50584998 ac_cv_c_inline=$ac_kw
5059 else
5060 echo "$as_me: failed program was:" >&5
5061 sed 's/^/| /' conftest.$ac_ext >&5
5062
5063
5064 fi
5065
4999 fi
50665000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50675001 test "$ac_cv_c_inline" != no && break
50685002 done
50695003
50705004 fi
5071 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5072 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
5073
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5006 $as_echo "$ac_cv_c_inline" >&6; }
50745007
50755008 case $ac_cv_c_inline in
50765009 inline | yes) ;;
50875020 ;;
50885021 esac
50895022
5090 { echo "$as_me:$LINENO: checking for off_t" >&5
5091 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
5092 if test "${ac_cv_type_off_t+set}" = set; then
5093 echo $ECHO_N "(cached) $ECHO_C" >&6
5094 else
5095 cat >conftest.$ac_ext <<_ACEOF
5096 /* confdefs.h. */
5097 _ACEOF
5098 cat confdefs.h >>conftest.$ac_ext
5099 cat >>conftest.$ac_ext <<_ACEOF
5100 /* end confdefs.h. */
5101 $ac_includes_default
5102 typedef off_t ac__type_new_;
5103 int
5104 main ()
5105 {
5106 if ((ac__type_new_ *) 0)
5107 return 0;
5108 if (sizeof (ac__type_new_))
5109 return 0;
5110 ;
5111 return 0;
5112 }
5113 _ACEOF
5114 rm -f conftest.$ac_objext
5115 if { (ac_try="$ac_compile"
5116 case "(($ac_try" in
5117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5118 *) ac_try_echo=$ac_try;;
5119 esac
5120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5121 (eval "$ac_compile") 2>conftest.er1
5122 ac_status=$?
5123 grep -v '^ *+' conftest.er1 >conftest.err
5124 rm -f conftest.er1
5125 cat conftest.err >&5
5126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127 (exit $ac_status); } && {
5128 test -z "$ac_c_werror_flag" ||
5129 test ! -s conftest.err
5130 } && test -s conftest.$ac_objext; then
5131 ac_cv_type_off_t=yes
5132 else
5133 echo "$as_me: failed program was:" >&5
5134 sed 's/^/| /' conftest.$ac_ext >&5
5135
5136 ac_cv_type_off_t=no
5137 fi
5138
5139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5140 fi
5141 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5142 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
5143 if test $ac_cv_type_off_t = yes; then
5144 :
5023 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
5024 if test "x$ac_cv_type_off_t" = x""yes; then :
5025
51455026 else
51465027
51475028 cat >>confdefs.h <<_ACEOF
51505031
51515032 fi
51525033
5153 { echo "$as_me:$LINENO: checking for size_t" >&5
5154 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5155 if test "${ac_cv_type_size_t+set}" = set; then
5156 echo $ECHO_N "(cached) $ECHO_C" >&6
5157 else
5158 cat >conftest.$ac_ext <<_ACEOF
5159 /* confdefs.h. */
5160 _ACEOF
5161 cat confdefs.h >>conftest.$ac_ext
5162 cat >>conftest.$ac_ext <<_ACEOF
5163 /* end confdefs.h. */
5164 $ac_includes_default
5165 typedef size_t ac__type_new_;
5166 int
5167 main ()
5168 {
5169 if ((ac__type_new_ *) 0)
5170 return 0;
5171 if (sizeof (ac__type_new_))
5172 return 0;
5173 ;
5174 return 0;
5175 }
5176 _ACEOF
5177 rm -f conftest.$ac_objext
5178 if { (ac_try="$ac_compile"
5179 case "(($ac_try" in
5180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5181 *) ac_try_echo=$ac_try;;
5182 esac
5183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5184 (eval "$ac_compile") 2>conftest.er1
5185 ac_status=$?
5186 grep -v '^ *+' conftest.er1 >conftest.err
5187 rm -f conftest.er1
5188 cat conftest.err >&5
5189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190 (exit $ac_status); } && {
5191 test -z "$ac_c_werror_flag" ||
5192 test ! -s conftest.err
5193 } && test -s conftest.$ac_objext; then
5194 ac_cv_type_size_t=yes
5195 else
5196 echo "$as_me: failed program was:" >&5
5197 sed 's/^/| /' conftest.$ac_ext >&5
5198
5199 ac_cv_type_size_t=no
5200 fi
5201
5202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5203 fi
5204 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5205 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5206 if test $ac_cv_type_size_t = yes; then
5207 :
5034 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5035 if test "x$ac_cv_type_size_t" = x""yes; then :
5036
52085037 else
52095038
52105039 cat >>confdefs.h <<_ACEOF
52145043 fi
52155044
52165045
5217 { echo "$as_me:$LINENO: checking for long long" >&5
5218 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
5219 if test "${ac_cv_type_long_long+set}" = set; then
5220 echo $ECHO_N "(cached) $ECHO_C" >&6
5221 else
5222 cat >conftest.$ac_ext <<_ACEOF
5223 /* confdefs.h. */
5224 _ACEOF
5225 cat confdefs.h >>conftest.$ac_ext
5226 cat >>conftest.$ac_ext <<_ACEOF
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long" >&5
5047 $as_echo_n "checking for long long... " >&6; }
5048 if test "${ac_cv_type_long_long+set}" = set; then :
5049 $as_echo_n "(cached) " >&6
5050 else
5051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52275052 /* end confdefs.h. */
52285053 long long ll = 1LL; int i = 63;
52295054 int
52355060 return 0;
52365061 }
52375062 _ACEOF
5238 rm -f conftest.$ac_objext conftest$ac_exeext
5239 if { (ac_try="$ac_link"
5240 case "(($ac_try" in
5241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5242 *) ac_try_echo=$ac_try;;
5243 esac
5244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5245 (eval "$ac_link") 2>conftest.er1
5246 ac_status=$?
5247 grep -v '^ *+' conftest.er1 >conftest.err
5248 rm -f conftest.er1
5249 cat conftest.err >&5
5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251 (exit $ac_status); } && {
5252 test -z "$ac_c_werror_flag" ||
5253 test ! -s conftest.err
5254 } && test -s conftest$ac_exeext &&
5255 $as_test_x conftest$ac_exeext; then
5063 if ac_fn_c_try_link "$LINENO"; then :
52565064 ac_cv_type_long_long=yes
52575065 else
5258 echo "$as_me: failed program was:" >&5
5259 sed 's/^/| /' conftest.$ac_ext >&5
5260
5261 ac_cv_type_long_long=no
5262 fi
5263
5264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5265 conftest$ac_exeext conftest.$ac_ext
5266 fi
5267 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
5268 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
5066 ac_cv_type_long_long=no
5067 fi
5068 rm -f core conftest.err conftest.$ac_objext \
5069 conftest$ac_exeext conftest.$ac_ext
5070 fi
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long" >&5
5072 $as_echo "$ac_cv_type_long_long" >&6; }
52695073 if test $ac_cv_type_long_long = yes; then
52705074
5271 cat >>confdefs.h <<\_ACEOF
5272 #define HAVE_LONG_LONG 1
5273 _ACEOF
5274
5275 fi
5276
5277
5278 { echo "$as_me:$LINENO: checking for long double" >&5
5279 echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
5280 if test "${gt_cv_c_long_double+set}" = set; then
5281 echo $ECHO_N "(cached) $ECHO_C" >&6
5075 $as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h
5076
5077 fi
5078
5079
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
5081 $as_echo_n "checking for long double... " >&6; }
5082 if test "${gt_cv_c_long_double+set}" = set; then :
5083 $as_echo_n "(cached) " >&6
52825084 else
52835085 if test "$GCC" = yes; then
52845086 gt_cv_c_long_double=yes
52855087 else
5286 cat >conftest.$ac_ext <<_ACEOF
5287 /* confdefs.h. */
5288 _ACEOF
5289 cat confdefs.h >>conftest.$ac_ext
5290 cat >>conftest.$ac_ext <<_ACEOF
5088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52915089 /* end confdefs.h. */
52925090
52935091 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
53035101 return 0;
53045102 }
53055103 _ACEOF
5306 rm -f conftest.$ac_objext
5307 if { (ac_try="$ac_compile"
5308 case "(($ac_try" in
5309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5310 *) ac_try_echo=$ac_try;;
5311 esac
5312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5313 (eval "$ac_compile") 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 test -z "$ac_c_werror_flag" ||
5321 test ! -s conftest.err
5322 } && test -s conftest.$ac_objext; then
5104 if ac_fn_c_try_compile "$LINENO"; then :
53235105 gt_cv_c_long_double=yes
53245106 else
5325 echo "$as_me: failed program was:" >&5
5326 sed 's/^/| /' conftest.$ac_ext >&5
5327
5328 gt_cv_c_long_double=no
5329 fi
5330
5107 gt_cv_c_long_double=no
5108 fi
53315109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53325110 fi
53335111 fi
5334 { echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
5335 echo "${ECHO_T}$gt_cv_c_long_double" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_long_double" >&5
5113 $as_echo "$gt_cv_c_long_double" >&6; }
53365114 if test $gt_cv_c_long_double = yes; then
53375115
5338 cat >>confdefs.h <<\_ACEOF
5339 #define HAVE_LONG_DOUBLE 1
5340 _ACEOF
5341
5342 fi
5343
5344
5345 { echo "$as_me:$LINENO: checking for wchar_t" >&5
5346 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
5347 if test "${gt_cv_c_wchar_t+set}" = set; then
5348 echo $ECHO_N "(cached) $ECHO_C" >&6
5349 else
5350 cat >conftest.$ac_ext <<_ACEOF
5351 /* confdefs.h. */
5352 _ACEOF
5353 cat confdefs.h >>conftest.$ac_ext
5354 cat >>conftest.$ac_ext <<_ACEOF
5116 $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
5117
5118 fi
5119
5120
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
5122 $as_echo_n "checking for wchar_t... " >&6; }
5123 if test "${gt_cv_c_wchar_t+set}" = set; then :
5124 $as_echo_n "(cached) " >&6
5125 else
5126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53555127 /* end confdefs.h. */
53565128 #include <stddef.h>
53575129 wchar_t foo = (wchar_t)'\0';
53635135 return 0;
53645136 }
53655137 _ACEOF
5366 rm -f conftest.$ac_objext
5367 if { (ac_try="$ac_compile"
5368 case "(($ac_try" in
5369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5370 *) ac_try_echo=$ac_try;;
5371 esac
5372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5373 (eval "$ac_compile") 2>conftest.er1
5374 ac_status=$?
5375 grep -v '^ *+' conftest.er1 >conftest.err
5376 rm -f conftest.er1
5377 cat conftest.err >&5
5378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379 (exit $ac_status); } && {
5380 test -z "$ac_c_werror_flag" ||
5381 test ! -s conftest.err
5382 } && test -s conftest.$ac_objext; then
5138 if ac_fn_c_try_compile "$LINENO"; then :
53835139 gt_cv_c_wchar_t=yes
53845140 else
5385 echo "$as_me: failed program was:" >&5
5386 sed 's/^/| /' conftest.$ac_ext >&5
5387
5388 gt_cv_c_wchar_t=no
5389 fi
5390
5141 gt_cv_c_wchar_t=no
5142 fi
53915143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53925144 fi
5393 { echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5
5394 echo "${ECHO_T}$gt_cv_c_wchar_t" >&6; }
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
5146 $as_echo "$gt_cv_c_wchar_t" >&6; }
53955147 if test $gt_cv_c_wchar_t = yes; then
53965148
5397 cat >>confdefs.h <<\_ACEOF
5398 #define HAVE_WCHAR_T 1
5399 _ACEOF
5400
5401 fi
5402
5403
5404 { echo "$as_me:$LINENO: checking for wint_t" >&5
5405 echo $ECHO_N "checking for wint_t... $ECHO_C" >&6; }
5406 if test "${gt_cv_c_wint_t+set}" = set; then
5407 echo $ECHO_N "(cached) $ECHO_C" >&6
5408 else
5409 cat >conftest.$ac_ext <<_ACEOF
5410 /* confdefs.h. */
5411 _ACEOF
5412 cat confdefs.h >>conftest.$ac_ext
5413 cat >>conftest.$ac_ext <<_ACEOF
5149 $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
5150
5151 fi
5152
5153
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
5155 $as_echo_n "checking for wint_t... " >&6; }
5156 if test "${gt_cv_c_wint_t+set}" = set; then :
5157 $as_echo_n "(cached) " >&6
5158 else
5159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54145160 /* end confdefs.h. */
54155161 #include <wchar.h>
54165162 wint_t foo = (wchar_t)'\0';
54225168 return 0;
54235169 }
54245170 _ACEOF
5425 rm -f conftest.$ac_objext
5426 if { (ac_try="$ac_compile"
5427 case "(($ac_try" in
5428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5429 *) ac_try_echo=$ac_try;;
5430 esac
5431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5432 (eval "$ac_compile") 2>conftest.er1
5433 ac_status=$?
5434 grep -v '^ *+' conftest.er1 >conftest.err
5435 rm -f conftest.er1
5436 cat conftest.err >&5
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); } && {
5439 test -z "$ac_c_werror_flag" ||
5440 test ! -s conftest.err
5441 } && test -s conftest.$ac_objext; then
5171 if ac_fn_c_try_compile "$LINENO"; then :
54425172 gt_cv_c_wint_t=yes
54435173 else
5444 echo "$as_me: failed program was:" >&5
5445 sed 's/^/| /' conftest.$ac_ext >&5
5446
5447 gt_cv_c_wint_t=no
5448 fi
5449
5174 gt_cv_c_wint_t=no
5175 fi
54505176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54515177 fi
5452 { echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5
5453 echo "${ECHO_T}$gt_cv_c_wint_t" >&6; }
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
5179 $as_echo "$gt_cv_c_wint_t" >&6; }
54545180 if test $gt_cv_c_wint_t = yes; then
54555181
5456 cat >>confdefs.h <<\_ACEOF
5457 #define HAVE_WINT_T 1
5458 _ACEOF
5459
5460 fi
5461
5462
5463 { echo "$as_me:$LINENO: checking for inttypes.h" >&5
5464 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6; }
5465 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
5466 echo $ECHO_N "(cached) $ECHO_C" >&6
5467 else
5468 cat >conftest.$ac_ext <<_ACEOF
5469 /* confdefs.h. */
5470 _ACEOF
5471 cat confdefs.h >>conftest.$ac_ext
5472 cat >>conftest.$ac_ext <<_ACEOF
5182 $as_echo "#define HAVE_WINT_T 1" >>confdefs.h
5183
5184 fi
5185
5186
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
5188 $as_echo_n "checking for inttypes.h... " >&6; }
5189 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then :
5190 $as_echo_n "(cached) " >&6
5191 else
5192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54735193 /* end confdefs.h. */
54745194 #include <sys/types.h>
54755195 #include <inttypes.h>
54815201 return 0;
54825202 }
54835203 _ACEOF
5484 rm -f conftest.$ac_objext
5485 if { (ac_try="$ac_compile"
5486 case "(($ac_try" in
5487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5488 *) ac_try_echo=$ac_try;;
5489 esac
5490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5491 (eval "$ac_compile") 2>conftest.er1
5492 ac_status=$?
5493 grep -v '^ *+' conftest.er1 >conftest.err
5494 rm -f conftest.er1
5495 cat conftest.err >&5
5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 (exit $ac_status); } && {
5498 test -z "$ac_c_werror_flag" ||
5499 test ! -s conftest.err
5500 } && test -s conftest.$ac_objext; then
5204 if ac_fn_c_try_compile "$LINENO"; then :
55015205 jm_ac_cv_header_inttypes_h=yes
55025206 else
5503 echo "$as_me: failed program was:" >&5
5504 sed 's/^/| /' conftest.$ac_ext >&5
5505
5506 jm_ac_cv_header_inttypes_h=no
5507 fi
5508
5207 jm_ac_cv_header_inttypes_h=no
5208 fi
55095209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55105210 fi
5511 { echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
5512 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6; }
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
5212 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
55135213 if test $jm_ac_cv_header_inttypes_h = yes; then
55145214
55155215 cat >>confdefs.h <<_ACEOF
55195219 fi
55205220
55215221
5522 { echo "$as_me:$LINENO: checking for stdint.h" >&5
5523 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; }
5524 if test "${jm_ac_cv_header_stdint_h+set}" = set; then
5525 echo $ECHO_N "(cached) $ECHO_C" >&6
5526 else
5527 cat >conftest.$ac_ext <<_ACEOF
5528 /* confdefs.h. */
5529 _ACEOF
5530 cat confdefs.h >>conftest.$ac_ext
5531 cat >>conftest.$ac_ext <<_ACEOF
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
5223 $as_echo_n "checking for stdint.h... " >&6; }
5224 if test "${jm_ac_cv_header_stdint_h+set}" = set; then :
5225 $as_echo_n "(cached) " >&6
5226 else
5227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55325228 /* end confdefs.h. */
55335229 #include <sys/types.h>
55345230 #include <stdint.h>
55405236 return 0;
55415237 }
55425238 _ACEOF
5543 rm -f conftest.$ac_objext
5544 if { (ac_try="$ac_compile"
5545 case "(($ac_try" in
5546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5547 *) ac_try_echo=$ac_try;;
5548 esac
5549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5550 (eval "$ac_compile") 2>conftest.er1
5551 ac_status=$?
5552 grep -v '^ *+' conftest.er1 >conftest.err
5553 rm -f conftest.er1
5554 cat conftest.err >&5
5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556 (exit $ac_status); } && {
5557 test -z "$ac_c_werror_flag" ||
5558 test ! -s conftest.err
5559 } && test -s conftest.$ac_objext; then
5239 if ac_fn_c_try_compile "$LINENO"; then :
55605240 jm_ac_cv_header_stdint_h=yes
55615241 else
5562 echo "$as_me: failed program was:" >&5
5563 sed 's/^/| /' conftest.$ac_ext >&5
5564
5565 jm_ac_cv_header_stdint_h=no
5566 fi
5567
5242 jm_ac_cv_header_stdint_h=no
5243 fi
55685244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55695245 fi
5570 { echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
5571 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6; }
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
5247 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
55725248 if test $jm_ac_cv_header_stdint_h = yes; then
55735249
55745250 cat >>confdefs.h <<_ACEOF
55805256
55815257
55825258
5583 { echo "$as_me:$LINENO: checking for intmax_t" >&5
5584 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; }
5585 if test "${gt_cv_c_intmax_t+set}" = set; then
5586 echo $ECHO_N "(cached) $ECHO_C" >&6
5587 else
5588 cat >conftest.$ac_ext <<_ACEOF
5589 /* confdefs.h. */
5590 _ACEOF
5591 cat confdefs.h >>conftest.$ac_ext
5592 cat >>conftest.$ac_ext <<_ACEOF
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
5260 $as_echo_n "checking for intmax_t... " >&6; }
5261 if test "${gt_cv_c_intmax_t+set}" = set; then :
5262 $as_echo_n "(cached) " >&6
5263 else
5264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55935265 /* end confdefs.h. */
55945266
55955267 #include <stddef.h>
56095281 return 0;
56105282 }
56115283 _ACEOF
5612 rm -f conftest.$ac_objext
5613 if { (ac_try="$ac_compile"
5614 case "(($ac_try" in
5615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5616 *) ac_try_echo=$ac_try;;
5617 esac
5618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5619 (eval "$ac_compile") 2>conftest.er1
5620 ac_status=$?
5621 grep -v '^ *+' conftest.er1 >conftest.err
5622 rm -f conftest.er1
5623 cat conftest.err >&5
5624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625 (exit $ac_status); } && {
5626 test -z "$ac_c_werror_flag" ||
5627 test ! -s conftest.err
5628 } && test -s conftest.$ac_objext; then
5284 if ac_fn_c_try_compile "$LINENO"; then :
56295285 gt_cv_c_intmax_t=yes
56305286 else
5631 echo "$as_me: failed program was:" >&5
5632 sed 's/^/| /' conftest.$ac_ext >&5
5633
5634 gt_cv_c_intmax_t=no
5635 fi
5636
5287 gt_cv_c_intmax_t=no
5288 fi
56375289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56385290 fi
5639 { echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5
5640 echo "${ECHO_T}$gt_cv_c_intmax_t" >&6; }
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5
5292 $as_echo "$gt_cv_c_intmax_t" >&6; }
56415293 if test $gt_cv_c_intmax_t = yes; then
56425294
5643 cat >>confdefs.h <<\_ACEOF
5644 #define HAVE_INTMAX_T 1
5645 _ACEOF
5646
5647 fi
5648
5649
5650
5651 { echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5
5652 echo $ECHO_N "checking whether printf() supports POSIX/XSI format strings... $ECHO_C" >&6; }
5653 if test "${gt_cv_func_printf_posix+set}" = set; then
5654 echo $ECHO_N "(cached) $ECHO_C" >&6
5655 else
5656
5657 if test "$cross_compiling" = yes; then
5658
5659 cat >conftest.$ac_ext <<_ACEOF
5660 /* confdefs.h. */
5661 _ACEOF
5662 cat confdefs.h >>conftest.$ac_ext
5663 cat >>conftest.$ac_ext <<_ACEOF
5295 $as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
5296
5297 fi
5298
5299
5300
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf() supports POSIX/XSI format strings" >&5
5302 $as_echo_n "checking whether printf() supports POSIX/XSI format strings... " >&6; }
5303 if test "${gt_cv_func_printf_posix+set}" = set; then :
5304 $as_echo_n "(cached) " >&6
5305 else
5306
5307 if test "$cross_compiling" = yes; then :
5308
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56645310 /* end confdefs.h. */
56655311
56665312 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
56695315
56705316 _ACEOF
56715317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5672 $EGREP "notposix" >/dev/null 2>&1; then
5318 $EGREP "notposix" >/dev/null 2>&1; then :
56735319 gt_cv_func_printf_posix="guessing no"
56745320 else
56755321 gt_cv_func_printf_posix="guessing yes"
56785324
56795325
56805326 else
5681 cat >conftest.$ac_ext <<_ACEOF
5682 /* confdefs.h. */
5683 _ACEOF
5684 cat confdefs.h >>conftest.$ac_ext
5685 cat >>conftest.$ac_ext <<_ACEOF
5327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56865328 /* end confdefs.h. */
56875329
56885330 #include <stdio.h>
56975339 return (strcmp (buf, "55 33") != 0);
56985340 }
56995341 _ACEOF
5700 rm -f conftest$ac_exeext
5701 if { (ac_try="$ac_link"
5702 case "(($ac_try" in
5703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5704 *) ac_try_echo=$ac_try;;
5705 esac
5706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5707 (eval "$ac_link") 2>&5
5708 ac_status=$?
5709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5711 { (case "(($ac_try" in
5712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5713 *) ac_try_echo=$ac_try;;
5714 esac
5715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5716 (eval "$ac_try") 2>&5
5717 ac_status=$?
5718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719 (exit $ac_status); }; }; then
5342 if ac_fn_c_try_run "$LINENO"; then :
57205343 gt_cv_func_printf_posix=yes
57215344 else
5722 echo "$as_me: program exited with status $ac_status" >&5
5723 echo "$as_me: failed program was:" >&5
5724 sed 's/^/| /' conftest.$ac_ext >&5
5725
5726 ( exit $ac_status )
5727 gt_cv_func_printf_posix=no
5728 fi
5729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5730 fi
5731
5732
5733
5734 fi
5735 { echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5
5736 echo "${ECHO_T}$gt_cv_func_printf_posix" >&6; }
5345 gt_cv_func_printf_posix=no
5346 fi
5347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5348 conftest.$ac_objext conftest.beam conftest.$ac_ext
5349 fi
5350
5351
5352 fi
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_printf_posix" >&5
5354 $as_echo "$gt_cv_func_printf_posix" >&6; }
57375355 case $gt_cv_func_printf_posix in
57385356 *yes)
57395357
5740 cat >>confdefs.h <<\_ACEOF
5741 #define HAVE_POSIX_PRINTF 1
5742 _ACEOF
5358 $as_echo "#define HAVE_POSIX_PRINTF 1" >>confdefs.h
57435359
57445360 ;;
57455361 esac
57465362
57475363 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
57485364 # for constant arguments. Useless!
5749 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
5750 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
5751 if test "${ac_cv_working_alloca_h+set}" = set; then
5752 echo $ECHO_N "(cached) $ECHO_C" >&6
5753 else
5754 cat >conftest.$ac_ext <<_ACEOF
5755 /* confdefs.h. */
5756 _ACEOF
5757 cat confdefs.h >>conftest.$ac_ext
5758 cat >>conftest.$ac_ext <<_ACEOF
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5366 $as_echo_n "checking for working alloca.h... " >&6; }
5367 if test "${ac_cv_working_alloca_h+set}" = set; then :
5368 $as_echo_n "(cached) " >&6
5369 else
5370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57595371 /* end confdefs.h. */
57605372 #include <alloca.h>
57615373 int
57675379 return 0;
57685380 }
57695381 _ACEOF
5770 rm -f conftest.$ac_objext conftest$ac_exeext
5771 if { (ac_try="$ac_link"
5772 case "(($ac_try" in
5773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5774 *) ac_try_echo=$ac_try;;
5775 esac
5776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5777 (eval "$ac_link") 2>conftest.er1
5778 ac_status=$?
5779 grep -v '^ *+' conftest.er1 >conftest.err
5780 rm -f conftest.er1
5781 cat conftest.err >&5
5782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5783 (exit $ac_status); } && {
5784 test -z "$ac_c_werror_flag" ||
5785 test ! -s conftest.err
5786 } && test -s conftest$ac_exeext &&
5787 $as_test_x conftest$ac_exeext; then
5382 if ac_fn_c_try_link "$LINENO"; then :
57885383 ac_cv_working_alloca_h=yes
57895384 else
5790 echo "$as_me: failed program was:" >&5
5791 sed 's/^/| /' conftest.$ac_ext >&5
5792
5793 ac_cv_working_alloca_h=no
5794 fi
5795
5796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5797 conftest$ac_exeext conftest.$ac_ext
5798 fi
5799 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5800 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
5385 ac_cv_working_alloca_h=no
5386 fi
5387 rm -f core conftest.err conftest.$ac_objext \
5388 conftest$ac_exeext conftest.$ac_ext
5389 fi
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5391 $as_echo "$ac_cv_working_alloca_h" >&6; }
58015392 if test $ac_cv_working_alloca_h = yes; then
58025393
5803 cat >>confdefs.h <<\_ACEOF
5804 #define HAVE_ALLOCA_H 1
5805 _ACEOF
5806
5807 fi
5808
5809 { echo "$as_me:$LINENO: checking for alloca" >&5
5810 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
5811 if test "${ac_cv_func_alloca_works+set}" = set; then
5812 echo $ECHO_N "(cached) $ECHO_C" >&6
5813 else
5814 cat >conftest.$ac_ext <<_ACEOF
5815 /* confdefs.h. */
5816 _ACEOF
5817 cat confdefs.h >>conftest.$ac_ext
5818 cat >>conftest.$ac_ext <<_ACEOF
5394 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5395
5396 fi
5397
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5399 $as_echo_n "checking for alloca... " >&6; }
5400 if test "${ac_cv_func_alloca_works+set}" = set; then :
5401 $as_echo_n "(cached) " >&6
5402 else
5403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58195404 /* end confdefs.h. */
58205405 #ifdef __GNUC__
58215406 # define alloca __builtin_alloca
58475432 return 0;
58485433 }
58495434 _ACEOF
5850 rm -f conftest.$ac_objext conftest$ac_exeext
5851 if { (ac_try="$ac_link"
5852 case "(($ac_try" in
5853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5854 *) ac_try_echo=$ac_try;;
5855 esac
5856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5857 (eval "$ac_link") 2>conftest.er1
5858 ac_status=$?
5859 grep -v '^ *+' conftest.er1 >conftest.err
5860 rm -f conftest.er1
5861 cat conftest.err >&5
5862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863 (exit $ac_status); } && {
5864 test -z "$ac_c_werror_flag" ||
5865 test ! -s conftest.err
5866 } && test -s conftest$ac_exeext &&
5867 $as_test_x conftest$ac_exeext; then
5435 if ac_fn_c_try_link "$LINENO"; then :
58685436 ac_cv_func_alloca_works=yes
58695437 else
5870 echo "$as_me: failed program was:" >&5
5871 sed 's/^/| /' conftest.$ac_ext >&5
5872
5873 ac_cv_func_alloca_works=no
5874 fi
5875
5876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5877 conftest$ac_exeext conftest.$ac_ext
5878 fi
5879 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5880 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
5438 ac_cv_func_alloca_works=no
5439 fi
5440 rm -f core conftest.err conftest.$ac_objext \
5441 conftest$ac_exeext conftest.$ac_ext
5442 fi
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5444 $as_echo "$ac_cv_func_alloca_works" >&6; }
58815445
58825446 if test $ac_cv_func_alloca_works = yes; then
58835447
5884 cat >>confdefs.h <<\_ACEOF
5885 #define HAVE_ALLOCA 1
5886 _ACEOF
5448 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
58875449
58885450 else
58895451 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
58935455
58945456 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
58955457
5896 cat >>confdefs.h <<\_ACEOF
5897 #define C_ALLOCA 1
5898 _ACEOF
5899
5900
5901 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5902 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
5903 if test "${ac_cv_os_cray+set}" = set; then
5904 echo $ECHO_N "(cached) $ECHO_C" >&6
5905 else
5906 cat >conftest.$ac_ext <<_ACEOF
5907 /* confdefs.h. */
5908 _ACEOF
5909 cat confdefs.h >>conftest.$ac_ext
5910 cat >>conftest.$ac_ext <<_ACEOF
5458 $as_echo "#define C_ALLOCA 1" >>confdefs.h
5459
5460
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5462 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5463 if test "${ac_cv_os_cray+set}" = set; then :
5464 $as_echo_n "(cached) " >&6
5465 else
5466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59115467 /* end confdefs.h. */
59125468 #if defined CRAY && ! defined CRAY2
59135469 webecray
59175473
59185474 _ACEOF
59195475 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5920 $EGREP "webecray" >/dev/null 2>&1; then
5476 $EGREP "webecray" >/dev/null 2>&1; then :
59215477 ac_cv_os_cray=yes
59225478 else
59235479 ac_cv_os_cray=no
59255481 rm -f conftest*
59265482
59275483 fi
5928 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5929 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5485 $as_echo "$ac_cv_os_cray" >&6; }
59305486 if test $ac_cv_os_cray = yes; then
59315487 for ac_func in _getb67 GETB67 getb67; do
5932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5933 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5935 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5936 echo $ECHO_N "(cached) $ECHO_C" >&6
5937 else
5938 cat >conftest.$ac_ext <<_ACEOF
5939 /* confdefs.h. */
5940 _ACEOF
5941 cat confdefs.h >>conftest.$ac_ext
5942 cat >>conftest.$ac_ext <<_ACEOF
5943 /* end confdefs.h. */
5944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5946 #define $ac_func innocuous_$ac_func
5947
5948 /* System header to define __stub macros and hopefully few prototypes,
5949 which can conflict with char $ac_func (); below.
5950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5951 <limits.h> exists even on freestanding compilers. */
5952
5953 #ifdef __STDC__
5954 # include <limits.h>
5955 #else
5956 # include <assert.h>
5957 #endif
5958
5959 #undef $ac_func
5960
5961 /* Override any GCC internal prototype to avoid an error.
5962 Use char because int might match the return type of a GCC
5963 builtin and then its argument prototype would still apply. */
5964 #ifdef __cplusplus
5965 extern "C"
5966 #endif
5967 char $ac_func ();
5968 /* The GNU C library defines this for functions which it implements
5969 to always fail with ENOSYS. Some functions are actually named
5970 something starting with __ and the normal name is an alias. */
5971 #if defined __stub_$ac_func || defined __stub___$ac_func
5972 choke me
5973 #endif
5974
5975 int
5976 main ()
5977 {
5978 return $ac_func ();
5979 ;
5980 return 0;
5981 }
5982 _ACEOF
5983 rm -f conftest.$ac_objext conftest$ac_exeext
5984 if { (ac_try="$ac_link"
5985 case "(($ac_try" in
5986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5987 *) ac_try_echo=$ac_try;;
5988 esac
5989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5990 (eval "$ac_link") 2>conftest.er1
5991 ac_status=$?
5992 grep -v '^ *+' conftest.er1 >conftest.err
5993 rm -f conftest.er1
5994 cat conftest.err >&5
5995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996 (exit $ac_status); } && {
5997 test -z "$ac_c_werror_flag" ||
5998 test ! -s conftest.err
5999 } && test -s conftest$ac_exeext &&
6000 $as_test_x conftest$ac_exeext; then
6001 eval "$as_ac_var=yes"
6002 else
6003 echo "$as_me: failed program was:" >&5
6004 sed 's/^/| /' conftest.$ac_ext >&5
6005
6006 eval "$as_ac_var=no"
6007 fi
6008
6009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6010 conftest$ac_exeext conftest.$ac_ext
6011 fi
6012 ac_res=`eval echo '${'$as_ac_var'}'`
6013 { echo "$as_me:$LINENO: result: $ac_res" >&5
6014 echo "${ECHO_T}$ac_res" >&6; }
6015 if test `eval echo '${'$as_ac_var'}'` = yes; then
5488 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5489 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5490 eval as_val=\$$as_ac_var
5491 if test "x$as_val" = x""yes; then :
60165492
60175493 cat >>confdefs.h <<_ACEOF
60185494 #define CRAY_STACKSEG_END $ac_func
60245500 done
60255501 fi
60265502
6027 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6028 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
6029 if test "${ac_cv_c_stack_direction+set}" = set; then
6030 echo $ECHO_N "(cached) $ECHO_C" >&6
6031 else
6032 if test "$cross_compiling" = yes; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5504 $as_echo_n "checking stack direction for C alloca... " >&6; }
5505 if test "${ac_cv_c_stack_direction+set}" = set; then :
5506 $as_echo_n "(cached) " >&6
5507 else
5508 if test "$cross_compiling" = yes; then :
60335509 ac_cv_c_stack_direction=0
60345510 else
6035 cat >conftest.$ac_ext <<_ACEOF
6036 /* confdefs.h. */
6037 _ACEOF
6038 cat confdefs.h >>conftest.$ac_ext
6039 cat >>conftest.$ac_ext <<_ACEOF
5511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60405512 /* end confdefs.h. */
60415513 $ac_includes_default
60425514 int
60595531 return find_stack_direction () < 0;
60605532 }
60615533 _ACEOF
6062 rm -f conftest$ac_exeext
6063 if { (ac_try="$ac_link"
6064 case "(($ac_try" in
6065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6066 *) ac_try_echo=$ac_try;;
6067 esac
6068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6069 (eval "$ac_link") 2>&5
6070 ac_status=$?
6071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6073 { (case "(($ac_try" in
6074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6075 *) ac_try_echo=$ac_try;;
6076 esac
6077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6078 (eval "$ac_try") 2>&5
6079 ac_status=$?
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); }; }; then
5534 if ac_fn_c_try_run "$LINENO"; then :
60825535 ac_cv_c_stack_direction=1
60835536 else
6084 echo "$as_me: program exited with status $ac_status" >&5
6085 echo "$as_me: failed program was:" >&5
6086 sed 's/^/| /' conftest.$ac_ext >&5
6087
6088 ( exit $ac_status )
6089 ac_cv_c_stack_direction=-1
6090 fi
6091 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6092 fi
6093
6094
6095 fi
6096 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6097 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
6098
5537 ac_cv_c_stack_direction=-1
5538 fi
5539 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5540 conftest.$ac_objext conftest.beam conftest.$ac_ext
5541 fi
5542
5543 fi
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5545 $as_echo "$ac_cv_c_stack_direction" >&6; }
60995546 cat >>confdefs.h <<_ACEOF
61005547 #define STACK_DIRECTION $ac_cv_c_stack_direction
61015548 _ACEOF
61055552
61065553
61075554
6108 for ac_header in stdlib.h unistd.h
6109 do
6110 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6111 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6112 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6115 echo $ECHO_N "(cached) $ECHO_C" >&6
6116 fi
6117 ac_res=`eval echo '${'$as_ac_Header'}'`
6118 { echo "$as_me:$LINENO: result: $ac_res" >&5
6119 echo "${ECHO_T}$ac_res" >&6; }
6120 else
6121 # Is the header compilable?
6122 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6123 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6124 cat >conftest.$ac_ext <<_ACEOF
6125 /* confdefs.h. */
6126 _ACEOF
6127 cat confdefs.h >>conftest.$ac_ext
6128 cat >>conftest.$ac_ext <<_ACEOF
6129 /* end confdefs.h. */
6130 $ac_includes_default
6131 #include <$ac_header>
6132 _ACEOF
6133 rm -f conftest.$ac_objext
6134 if { (ac_try="$ac_compile"
6135 case "(($ac_try" in
6136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6137 *) ac_try_echo=$ac_try;;
6138 esac
6139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6140 (eval "$ac_compile") 2>conftest.er1
6141 ac_status=$?
6142 grep -v '^ *+' conftest.er1 >conftest.err
6143 rm -f conftest.er1
6144 cat conftest.err >&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); } && {
6147 test -z "$ac_c_werror_flag" ||
6148 test ! -s conftest.err
6149 } && test -s conftest.$ac_objext; then
6150 ac_header_compiler=yes
6151 else
6152 echo "$as_me: failed program was:" >&5
6153 sed 's/^/| /' conftest.$ac_ext >&5
6154
6155 ac_header_compiler=no
6156 fi
6157
6158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6159 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6160 echo "${ECHO_T}$ac_header_compiler" >&6; }
6161
6162 # Is the header present?
6163 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6164 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6165 cat >conftest.$ac_ext <<_ACEOF
6166 /* confdefs.h. */
6167 _ACEOF
6168 cat confdefs.h >>conftest.$ac_ext
6169 cat >>conftest.$ac_ext <<_ACEOF
6170 /* end confdefs.h. */
6171 #include <$ac_header>
6172 _ACEOF
6173 if { (ac_try="$ac_cpp conftest.$ac_ext"
6174 case "(($ac_try" in
6175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6176 *) ac_try_echo=$ac_try;;
6177 esac
6178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6179 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6180 ac_status=$?
6181 grep -v '^ *+' conftest.er1 >conftest.err
6182 rm -f conftest.er1
6183 cat conftest.err >&5
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); } >/dev/null && {
6186 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6187 test ! -s conftest.err
6188 }; then
6189 ac_header_preproc=yes
6190 else
6191 echo "$as_me: failed program was:" >&5
6192 sed 's/^/| /' conftest.$ac_ext >&5
6193
6194 ac_header_preproc=no
6195 fi
6196
6197 rm -f conftest.err conftest.$ac_ext
6198 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6199 echo "${ECHO_T}$ac_header_preproc" >&6; }
6200
6201 # So? What about this header?
6202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6203 yes:no: )
6204 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6205 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6207 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6208 ac_header_preproc=yes
6209 ;;
6210 no:yes:* )
6211 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6213 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6214 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6215 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6216 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6217 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6218 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6221 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6222 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6223
6224 ;;
6225 esac
6226 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6228 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6229 echo $ECHO_N "(cached) $ECHO_C" >&6
6230 else
6231 eval "$as_ac_Header=\$ac_header_preproc"
6232 fi
6233 ac_res=`eval echo '${'$as_ac_Header'}'`
6234 { echo "$as_me:$LINENO: result: $ac_res" >&5
6235 echo "${ECHO_T}$ac_res" >&6; }
6236
6237 fi
6238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5555
5556 for ac_header in $ac_header_list
5557 do :
5558 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5559 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5560 "
5561 eval as_val=\$$as_ac_Header
5562 if test "x$as_val" = x""yes; then :
62395563 cat >>confdefs.h <<_ACEOF
6240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5564 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
62415565 _ACEOF
62425566
62435567 fi
62455569 done
62465570
62475571
5572
5573
5574
5575
5576
5577
62485578 for ac_func in getpagesize
6249 do
6250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6251 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6253 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6254 echo $ECHO_N "(cached) $ECHO_C" >&6
6255 else
6256 cat >conftest.$ac_ext <<_ACEOF
6257 /* confdefs.h. */
6258 _ACEOF
6259 cat confdefs.h >>conftest.$ac_ext
6260 cat >>conftest.$ac_ext <<_ACEOF
6261 /* end confdefs.h. */
6262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6264 #define $ac_func innocuous_$ac_func
6265
6266 /* System header to define __stub macros and hopefully few prototypes,
6267 which can conflict with char $ac_func (); below.
6268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6269 <limits.h> exists even on freestanding compilers. */
6270
6271 #ifdef __STDC__
6272 # include <limits.h>
6273 #else
6274 # include <assert.h>
6275 #endif
6276
6277 #undef $ac_func
6278
6279 /* Override any GCC internal prototype to avoid an error.
6280 Use char because int might match the return type of a GCC
6281 builtin and then its argument prototype would still apply. */
6282 #ifdef __cplusplus
6283 extern "C"
6284 #endif
6285 char $ac_func ();
6286 /* The GNU C library defines this for functions which it implements
6287 to always fail with ENOSYS. Some functions are actually named
6288 something starting with __ and the normal name is an alias. */
6289 #if defined __stub_$ac_func || defined __stub___$ac_func
6290 choke me
6291 #endif
6292
6293 int
6294 main ()
6295 {
6296 return $ac_func ();
6297 ;
6298 return 0;
6299 }
6300 _ACEOF
6301 rm -f conftest.$ac_objext conftest$ac_exeext
6302 if { (ac_try="$ac_link"
6303 case "(($ac_try" in
6304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6305 *) ac_try_echo=$ac_try;;
6306 esac
6307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6308 (eval "$ac_link") 2>conftest.er1
6309 ac_status=$?
6310 grep -v '^ *+' conftest.er1 >conftest.err
6311 rm -f conftest.er1
6312 cat conftest.err >&5
6313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 (exit $ac_status); } && {
6315 test -z "$ac_c_werror_flag" ||
6316 test ! -s conftest.err
6317 } && test -s conftest$ac_exeext &&
6318 $as_test_x conftest$ac_exeext; then
6319 eval "$as_ac_var=yes"
6320 else
6321 echo "$as_me: failed program was:" >&5
6322 sed 's/^/| /' conftest.$ac_ext >&5
6323
6324 eval "$as_ac_var=no"
6325 fi
6326
6327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6328 conftest$ac_exeext conftest.$ac_ext
6329 fi
6330 ac_res=`eval echo '${'$as_ac_var'}'`
6331 { echo "$as_me:$LINENO: result: $ac_res" >&5
6332 echo "${ECHO_T}$ac_res" >&6; }
6333 if test `eval echo '${'$as_ac_var'}'` = yes; then
5579 do :
5580 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
5581 if test "x$ac_cv_func_getpagesize" = x""yes; then :
63345582 cat >>confdefs.h <<_ACEOF
6335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5583 #define HAVE_GETPAGESIZE 1
63365584 _ACEOF
63375585
63385586 fi
63395587 done
63405588
6341 { echo "$as_me:$LINENO: checking for working mmap" >&5
6342 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
6343 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6344 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 else
6346 if test "$cross_compiling" = yes; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
5590 $as_echo_n "checking for working mmap... " >&6; }
5591 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
5592 $as_echo_n "(cached) " >&6
5593 else
5594 if test "$cross_compiling" = yes; then :
63475595 ac_cv_func_mmap_fixed_mapped=no
63485596 else
6349 cat >conftest.$ac_ext <<_ACEOF
6350 /* confdefs.h. */
6351 _ACEOF
6352 cat confdefs.h >>conftest.$ac_ext
6353 cat >>conftest.$ac_ext <<_ACEOF
5597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63545598 /* end confdefs.h. */
63555599 $ac_includes_default
63565600 /* malloc might have been renamed as rpl_malloc. */
63875631
63885632 /* This mess was copied from the GNU getpagesize.h. */
63895633 #ifndef HAVE_GETPAGESIZE
6390 /* Assume that all systems that can run configure have sys/param.h. */
6391 # ifndef HAVE_SYS_PARAM_H
6392 # define HAVE_SYS_PARAM_H 1
6393 # endif
6394
63955634 # ifdef _SC_PAGESIZE
63965635 # define getpagesize() sysconf(_SC_PAGESIZE)
63975636 # else /* no _SC_PAGESIZE */
64265665 main ()
64275666 {
64285667 char *data, *data2, *data3;
5668 const char *cdata2;
64295669 int i, pagesize;
6430 int fd;
5670 int fd, fd2;
64315671
64325672 pagesize = getpagesize ();
64335673
64405680 umask (0);
64415681 fd = creat ("conftest.mmap", 0600);
64425682 if (fd < 0)
6443 return 1;
5683 return 2;
64445684 if (write (fd, data, pagesize) != pagesize)
6445 return 1;
5685 return 3;
64465686 close (fd);
5687
5688 /* Next, check that the tail of a page is zero-filled. File must have
5689 non-zero length, otherwise we risk SIGBUS for entire page. */
5690 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
5691 if (fd2 < 0)
5692 return 4;
5693 cdata2 = "";
5694 if (write (fd2, cdata2, 1) != 1)
5695 return 5;
5696 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
5697 if (data2 == MAP_FAILED)
5698 return 6;
5699 for (i = 0; i < pagesize; ++i)
5700 if (*(data2 + i))
5701 return 7;
5702 close (fd2);
5703 if (munmap (data2, pagesize))
5704 return 8;
64475705
64485706 /* Next, try to mmap the file at a fixed address which already has
64495707 something else allocated at it. If we can, also make sure that
64505708 we see the same garbage. */
64515709 fd = open ("conftest.mmap", O_RDWR);
64525710 if (fd < 0)
6453 return 1;
6454 data2 = (char *) malloc (2 * pagesize);
6455 if (!data2)
6456 return 1;
6457 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
5711 return 9;
64585712 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
64595713 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6460 return 1;
5714 return 10;
64615715 for (i = 0; i < pagesize; ++i)
64625716 if (*(data + i) != *(data2 + i))
6463 return 1;
5717 return 11;
64645718
64655719 /* Finally, make sure that changes to the mapped area do not
64665720 percolate back to the file as seen by read(). (This is a bug on
64695723 *(data2 + i) = *(data2 + i) + 1;
64705724 data3 = (char *) malloc (pagesize);
64715725 if (!data3)
6472 return 1;
5726 return 12;
64735727 if (read (fd, data3, pagesize) != pagesize)
6474 return 1;
5728 return 13;
64755729 for (i = 0; i < pagesize; ++i)
64765730 if (*(data + i) != *(data3 + i))
6477 return 1;
5731 return 14;
64785732 close (fd);
64795733 return 0;
64805734 }
64815735 _ACEOF
6482 rm -f conftest$ac_exeext
6483 if { (ac_try="$ac_link"
6484 case "(($ac_try" in
6485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6486 *) ac_try_echo=$ac_try;;
6487 esac
6488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6489 (eval "$ac_link") 2>&5
6490 ac_status=$?
6491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6493 { (case "(($ac_try" in
6494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6495 *) ac_try_echo=$ac_try;;
6496 esac
6497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6498 (eval "$ac_try") 2>&5
6499 ac_status=$?
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); }; }; then
5736 if ac_fn_c_try_run "$LINENO"; then :
65025737 ac_cv_func_mmap_fixed_mapped=yes
65035738 else
6504 echo "$as_me: program exited with status $ac_status" >&5
6505 echo "$as_me: failed program was:" >&5
6506 sed 's/^/| /' conftest.$ac_ext >&5
6507
6508 ( exit $ac_status )
6509 ac_cv_func_mmap_fixed_mapped=no
6510 fi
6511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6512 fi
6513
6514
6515 fi
6516 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6517 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
5739 ac_cv_func_mmap_fixed_mapped=no
5740 fi
5741 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5742 conftest.$ac_objext conftest.beam conftest.$ac_ext
5743 fi
5744
5745 fi
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
5747 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
65185748 if test $ac_cv_func_mmap_fixed_mapped = yes; then
65195749
6520 cat >>confdefs.h <<\_ACEOF
6521 #define HAVE_MMAP 1
6522 _ACEOF
6523
6524 fi
6525 rm -f conftest.mmap
6526
6527
6528 { echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
6529 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6; }
6530 if test "${ac_cv_gnu_library_2_1+set}" = set; then
6531 echo $ECHO_N "(cached) $ECHO_C" >&6
6532 else
6533 cat >conftest.$ac_ext <<_ACEOF
6534 /* confdefs.h. */
6535 _ACEOF
6536 cat confdefs.h >>conftest.$ac_ext
6537 cat >>conftest.$ac_ext <<_ACEOF
5750 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
5751
5752 fi
5753 rm -f conftest.mmap conftest.txt
5754
5755
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
5757 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
5758 if test "${ac_cv_gnu_library_2_1+set}" = set; then :
5759 $as_echo_n "(cached) " >&6
5760 else
5761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65385762 /* end confdefs.h. */
65395763
65405764 #include <features.h>
65465770
65475771 _ACEOF
65485772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6549 $EGREP "Lucky GNU user" >/dev/null 2>&1; then
5773 $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
65505774 ac_cv_gnu_library_2_1=yes
65515775 else
65525776 ac_cv_gnu_library_2_1=no
65565780
65575781
65585782 fi
6559 { echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
6560 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6; }
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
5784 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
65615785
65625786 GLIBC21="$ac_cv_gnu_library_2_1"
65635787
65645788
65655789
65665790
6567 { echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
6568 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6; }
6569 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
6570 echo $ECHO_N "(cached) $ECHO_C" >&6
6571 else
6572
6573 if test "$cross_compiling" = yes; then
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
5792 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
5793 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then :
5794 $as_echo_n "(cached) " >&6
5795 else
5796
5797 if test "$cross_compiling" = yes; then :
65745798
65755799 # Guess based on the CPU.
65765800 case "$host_cpu" in
65815805 esac
65825806
65835807 else
6584 cat >conftest.$ac_ext <<_ACEOF
6585 /* confdefs.h. */
6586 _ACEOF
6587 cat confdefs.h >>conftest.$ac_ext
6588 cat >>conftest.$ac_ext <<_ACEOF
5808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65895809 /* end confdefs.h. */
65905810
65915811 #include <stdlib.h>
66255845 }
66265846
66275847 _ACEOF
6628 rm -f conftest$ac_exeext
6629 if { (ac_try="$ac_link"
6630 case "(($ac_try" in
6631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6632 *) ac_try_echo=$ac_try;;
6633 esac
6634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6635 (eval "$ac_link") 2>&5
6636 ac_status=$?
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6639 { (case "(($ac_try" in
6640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6641 *) ac_try_echo=$ac_try;;
6642 esac
6643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6644 (eval "$ac_try") 2>&5
6645 ac_status=$?
6646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647 (exit $ac_status); }; }; then
5848 if ac_fn_c_try_run "$LINENO"; then :
66485849 gt_cv_int_divbyzero_sigfpe=yes
66495850 else
6650 echo "$as_me: program exited with status $ac_status" >&5
6651 echo "$as_me: failed program was:" >&5
6652 sed 's/^/| /' conftest.$ac_ext >&5
6653
6654 ( exit $ac_status )
6655 gt_cv_int_divbyzero_sigfpe=no
6656 fi
6657 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6658 fi
6659
6660
6661
6662 fi
6663 { echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
6664 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6; }
5851 gt_cv_int_divbyzero_sigfpe=no
5852 fi
5853 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5854 conftest.$ac_objext conftest.beam conftest.$ac_ext
5855 fi
5856
5857
5858 fi
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
5860 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
66655861 case "$gt_cv_int_divbyzero_sigfpe" in
66665862 *yes) value=1;;
66675863 *) value=0;;
66735869
66745870
66755871
6676 { echo "$as_me:$LINENO: checking for unsigned long long" >&5
6677 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; }
6678 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
6679 echo $ECHO_N "(cached) $ECHO_C" >&6
6680 else
6681 cat >conftest.$ac_ext <<_ACEOF
6682 /* confdefs.h. */
6683 _ACEOF
6684 cat confdefs.h >>conftest.$ac_ext
6685 cat >>conftest.$ac_ext <<_ACEOF
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
5873 $as_echo_n "checking for unsigned long long... " >&6; }
5874 if test "${ac_cv_type_unsigned_long_long+set}" = set; then :
5875 $as_echo_n "(cached) " >&6
5876 else
5877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66865878 /* end confdefs.h. */
66875879 unsigned long long ull = 1ULL; int i = 63;
66885880 int
66945886 return 0;
66955887 }
66965888 _ACEOF
6697 rm -f conftest.$ac_objext conftest$ac_exeext
6698 if { (ac_try="$ac_link"
6699 case "(($ac_try" in
6700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6701 *) ac_try_echo=$ac_try;;
6702 esac
6703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6704 (eval "$ac_link") 2>conftest.er1
6705 ac_status=$?
6706 grep -v '^ *+' conftest.er1 >conftest.err
6707 rm -f conftest.er1
6708 cat conftest.err >&5
6709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710 (exit $ac_status); } && {
6711 test -z "$ac_c_werror_flag" ||
6712 test ! -s conftest.err
6713 } && test -s conftest$ac_exeext &&
6714 $as_test_x conftest$ac_exeext; then
5889 if ac_fn_c_try_link "$LINENO"; then :
67155890 ac_cv_type_unsigned_long_long=yes
67165891 else
6717 echo "$as_me: failed program was:" >&5
6718 sed 's/^/| /' conftest.$ac_ext >&5
6719
6720 ac_cv_type_unsigned_long_long=no
6721 fi
6722
6723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6724 conftest$ac_exeext conftest.$ac_ext
6725 fi
6726 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
6727 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; }
5892 ac_cv_type_unsigned_long_long=no
5893 fi
5894 rm -f core conftest.err conftest.$ac_objext \
5895 conftest$ac_exeext conftest.$ac_ext
5896 fi
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
5898 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
67285899 if test $ac_cv_type_unsigned_long_long = yes; then
67295900
6730 cat >>confdefs.h <<\_ACEOF
6731 #define HAVE_UNSIGNED_LONG_LONG 1
6732 _ACEOF
5901 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
67335902
67345903 fi
67355904
67485917
67495918 else
67505919
6751 cat >>confdefs.h <<\_ACEOF
6752 #define HAVE_UINTMAX_T 1
6753 _ACEOF
6754
6755 fi
6756
6757
6758 { echo "$as_me:$LINENO: checking for inttypes.h" >&5
6759 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6; }
6760 if test "${gt_cv_header_inttypes_h+set}" = set; then
6761 echo $ECHO_N "(cached) $ECHO_C" >&6
6762 else
6763
6764 cat >conftest.$ac_ext <<_ACEOF
6765 /* confdefs.h. */
6766 _ACEOF
6767 cat confdefs.h >>conftest.$ac_ext
6768 cat >>conftest.$ac_ext <<_ACEOF
5920 $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
5921
5922 fi
5923
5924
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
5926 $as_echo_n "checking for inttypes.h... " >&6; }
5927 if test "${gt_cv_header_inttypes_h+set}" = set; then :
5928 $as_echo_n "(cached) " >&6
5929 else
5930
5931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67695932 /* end confdefs.h. */
67705933 #include <sys/types.h>
67715934 #include <inttypes.h>
67775940 return 0;
67785941 }
67795942 _ACEOF
6780 rm -f conftest.$ac_objext
6781 if { (ac_try="$ac_compile"
6782 case "(($ac_try" in
6783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6784 *) ac_try_echo=$ac_try;;
6785 esac
6786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6787 (eval "$ac_compile") 2>conftest.er1
6788 ac_status=$?
6789 grep -v '^ *+' conftest.er1 >conftest.err
6790 rm -f conftest.er1
6791 cat conftest.err >&5
6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793 (exit $ac_status); } && {
6794 test -z "$ac_c_werror_flag" ||
6795 test ! -s conftest.err
6796 } && test -s conftest.$ac_objext; then
5943 if ac_fn_c_try_compile "$LINENO"; then :
67975944 gt_cv_header_inttypes_h=yes
67985945 else
6799 echo "$as_me: failed program was:" >&5
6800 sed 's/^/| /' conftest.$ac_ext >&5
6801
6802 gt_cv_header_inttypes_h=no
6803 fi
6804
5946 gt_cv_header_inttypes_h=no
5947 fi
68055948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68065949
68075950 fi
6808 { echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
6809 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6; }
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
5952 $as_echo "$gt_cv_header_inttypes_h" >&6; }
68105953 if test $gt_cv_header_inttypes_h = yes; then
68115954
68125955 cat >>confdefs.h <<_ACEOF
68185961
68195962
68205963 if test $gt_cv_header_inttypes_h = yes; then
6821 { echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
6822 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6; }
6823 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
6824 echo $ECHO_N "(cached) $ECHO_C" >&6
6825 else
6826
6827 cat >conftest.$ac_ext <<_ACEOF
6828 /* confdefs.h. */
6829 _ACEOF
6830 cat confdefs.h >>conftest.$ac_ext
6831 cat >>conftest.$ac_ext <<_ACEOF
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
5965 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
5966 if test "${gt_cv_inttypes_pri_broken+set}" = set; then :
5967 $as_echo_n "(cached) " >&6
5968 else
5969
5970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68325971 /* end confdefs.h. */
68335972 #include <inttypes.h>
68345973 #ifdef PRId32
68435982 return 0;
68445983 }
68455984 _ACEOF
6846 rm -f conftest.$ac_objext
6847 if { (ac_try="$ac_compile"
6848 case "(($ac_try" in
6849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6850 *) ac_try_echo=$ac_try;;
6851 esac
6852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6853 (eval "$ac_compile") 2>conftest.er1
6854 ac_status=$?
6855 grep -v '^ *+' conftest.er1 >conftest.err
6856 rm -f conftest.er1
6857 cat conftest.err >&5
6858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); } && {
6860 test -z "$ac_c_werror_flag" ||
6861 test ! -s conftest.err
6862 } && test -s conftest.$ac_objext; then
5985 if ac_fn_c_try_compile "$LINENO"; then :
68635986 gt_cv_inttypes_pri_broken=no
68645987 else
6865 echo "$as_me: failed program was:" >&5
6866 sed 's/^/| /' conftest.$ac_ext >&5
6867
6868 gt_cv_inttypes_pri_broken=yes
6869 fi
6870
5988 gt_cv_inttypes_pri_broken=yes
5989 fi
68715990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68725991
68735992 fi
6874 { echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
6875 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6; }
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
5994 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
68765995 fi
68775996 if test "$gt_cv_inttypes_pri_broken" = yes; then
68785997
68836002 fi
68846003
68856004
6886
6887 for ac_header in stdint.h
6888 do
6889 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6891 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6893 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6894 echo $ECHO_N "(cached) $ECHO_C" >&6
6895 fi
6896 ac_res=`eval echo '${'$as_ac_Header'}'`
6897 { echo "$as_me:$LINENO: result: $ac_res" >&5
6898 echo "${ECHO_T}$ac_res" >&6; }
6899 else
6900 # Is the header compilable?
6901 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6902 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6903 cat >conftest.$ac_ext <<_ACEOF
6904 /* confdefs.h. */
6905 _ACEOF
6906 cat confdefs.h >>conftest.$ac_ext
6907 cat >>conftest.$ac_ext <<_ACEOF
6908 /* end confdefs.h. */
6909 $ac_includes_default
6910 #include <$ac_header>
6911 _ACEOF
6912 rm -f conftest.$ac_objext
6913 if { (ac_try="$ac_compile"
6914 case "(($ac_try" in
6915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6916 *) ac_try_echo=$ac_try;;
6917 esac
6918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6919 (eval "$ac_compile") 2>conftest.er1
6920 ac_status=$?
6921 grep -v '^ *+' conftest.er1 >conftest.err
6922 rm -f conftest.er1
6923 cat conftest.err >&5
6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); } && {
6926 test -z "$ac_c_werror_flag" ||
6927 test ! -s conftest.err
6928 } && test -s conftest.$ac_objext; then
6929 ac_header_compiler=yes
6930 else
6931 echo "$as_me: failed program was:" >&5
6932 sed 's/^/| /' conftest.$ac_ext >&5
6933
6934 ac_header_compiler=no
6935 fi
6936
6937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6938 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6939 echo "${ECHO_T}$ac_header_compiler" >&6; }
6940
6941 # Is the header present?
6942 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6943 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6944 cat >conftest.$ac_ext <<_ACEOF
6945 /* confdefs.h. */
6946 _ACEOF
6947 cat confdefs.h >>conftest.$ac_ext
6948 cat >>conftest.$ac_ext <<_ACEOF
6949 /* end confdefs.h. */
6950 #include <$ac_header>
6951 _ACEOF
6952 if { (ac_try="$ac_cpp conftest.$ac_ext"
6953 case "(($ac_try" in
6954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6955 *) ac_try_echo=$ac_try;;
6956 esac
6957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6958 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6959 ac_status=$?
6960 grep -v '^ *+' conftest.er1 >conftest.err
6961 rm -f conftest.er1
6962 cat conftest.err >&5
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); } >/dev/null && {
6965 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6966 test ! -s conftest.err
6967 }; then
6968 ac_header_preproc=yes
6969 else
6970 echo "$as_me: failed program was:" >&5
6971 sed 's/^/| /' conftest.$ac_ext >&5
6972
6973 ac_header_preproc=no
6974 fi
6975
6976 rm -f conftest.err conftest.$ac_ext
6977 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6978 echo "${ECHO_T}$ac_header_preproc" >&6; }
6979
6980 # So? What about this header?
6981 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6982 yes:no: )
6983 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6984 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6986 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6987 ac_header_preproc=yes
6988 ;;
6989 no:yes:* )
6990 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6991 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6992 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6993 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6994 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6995 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6996 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6997 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6999 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7000 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7001 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7002
7003 ;;
7004 esac
7005 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7007 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7008 echo $ECHO_N "(cached) $ECHO_C" >&6
7009 else
7010 eval "$as_ac_Header=\$ac_header_preproc"
7011 fi
7012 ac_res=`eval echo '${'$as_ac_Header'}'`
7013 { echo "$as_me:$LINENO: result: $ac_res" >&5
7014 echo "${ECHO_T}$ac_res" >&6; }
7015
7016 fi
7017 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6005 for ac_header in stdint.h
6006 do :
6007 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
6008 if test "x$ac_cv_header_stdint_h" = x""yes; then :
70186009 cat >>confdefs.h <<_ACEOF
7019 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6010 #define HAVE_STDINT_H 1
70206011 _ACEOF
70216012
70226013 fi
70236014
70246015 done
70256016
7026 { echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
7027 echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6; }
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
6018 $as_echo_n "checking for SIZE_MAX... " >&6; }
70286019 result=
7029 cat >conftest.$ac_ext <<_ACEOF
7030 /* confdefs.h. */
7031 _ACEOF
7032 cat confdefs.h >>conftest.$ac_ext
7033 cat >>conftest.$ac_ext <<_ACEOF
6020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70346021 /* end confdefs.h. */
70356022
70366023 #include <limits.h>
70436030
70446031 _ACEOF
70456032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7046 $EGREP "Found it" >/dev/null 2>&1; then
6033 $EGREP "Found it" >/dev/null 2>&1; then :
70476034 result=yes
70486035 fi
70496036 rm -f conftest*
70506037
70516038 if test -z "$result"; then
7052 if test "$cross_compiling" = yes; then
7053 # Depending upon the size, compute the lo and hi bounds.
7054 cat >conftest.$ac_ext <<_ACEOF
7055 /* confdefs.h. */
7056 _ACEOF
7057 cat confdefs.h >>conftest.$ac_ext
7058 cat >>conftest.$ac_ext <<_ACEOF
7059 /* end confdefs.h. */
7060 #include <stddef.h>
7061 int
7062 main ()
7063 {
7064 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= 0)];
7065 test_array [0] = 0
7066
7067 ;
7068 return 0;
7069 }
7070 _ACEOF
7071 rm -f conftest.$ac_objext
7072 if { (ac_try="$ac_compile"
7073 case "(($ac_try" in
7074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7075 *) ac_try_echo=$ac_try;;
7076 esac
7077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7078 (eval "$ac_compile") 2>conftest.er1
7079 ac_status=$?
7080 grep -v '^ *+' conftest.er1 >conftest.err
7081 rm -f conftest.er1
7082 cat conftest.err >&5
7083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7084 (exit $ac_status); } && {
7085 test -z "$ac_c_werror_flag" ||
7086 test ! -s conftest.err
7087 } && test -s conftest.$ac_objext; then
7088 ac_lo=0 ac_mid=0
7089 while :; do
7090 cat >conftest.$ac_ext <<_ACEOF
7091 /* confdefs.h. */
7092 _ACEOF
7093 cat confdefs.h >>conftest.$ac_ext
7094 cat >>conftest.$ac_ext <<_ACEOF
7095 /* end confdefs.h. */
7096 #include <stddef.h>
7097 int
7098 main ()
7099 {
7100 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
7101 test_array [0] = 0
7102
7103 ;
7104 return 0;
7105 }
7106 _ACEOF
7107 rm -f conftest.$ac_objext
7108 if { (ac_try="$ac_compile"
7109 case "(($ac_try" in
7110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7111 *) ac_try_echo=$ac_try;;
7112 esac
7113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7114 (eval "$ac_compile") 2>conftest.er1
7115 ac_status=$?
7116 grep -v '^ *+' conftest.er1 >conftest.err
7117 rm -f conftest.er1
7118 cat conftest.err >&5
7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7120 (exit $ac_status); } && {
7121 test -z "$ac_c_werror_flag" ||
7122 test ! -s conftest.err
7123 } && test -s conftest.$ac_objext; then
7124 ac_hi=$ac_mid; break
7125 else
7126 echo "$as_me: failed program was:" >&5
7127 sed 's/^/| /' conftest.$ac_ext >&5
7128
7129 ac_lo=`expr $ac_mid + 1`
7130 if test $ac_lo -le $ac_mid; then
7131 ac_lo= ac_hi=
7132 break
7133 fi
7134 ac_mid=`expr 2 '*' $ac_mid + 1`
7135 fi
7136
7137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7138 done
7139 else
7140 echo "$as_me: failed program was:" >&5
7141 sed 's/^/| /' conftest.$ac_ext >&5
7142
7143 cat >conftest.$ac_ext <<_ACEOF
7144 /* confdefs.h. */
7145 _ACEOF
7146 cat confdefs.h >>conftest.$ac_ext
7147 cat >>conftest.$ac_ext <<_ACEOF
7148 /* end confdefs.h. */
7149 #include <stddef.h>
7150 int
7151 main ()
7152 {
7153 static int test_array [1 - 2 * !((~(size_t)0 / 10) < 0)];
7154 test_array [0] = 0
7155
7156 ;
7157 return 0;
7158 }
7159 _ACEOF
7160 rm -f conftest.$ac_objext
7161 if { (ac_try="$ac_compile"
7162 case "(($ac_try" in
7163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7164 *) ac_try_echo=$ac_try;;
7165 esac
7166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7167 (eval "$ac_compile") 2>conftest.er1
7168 ac_status=$?
7169 grep -v '^ *+' conftest.er1 >conftest.err
7170 rm -f conftest.er1
7171 cat conftest.err >&5
7172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7173 (exit $ac_status); } && {
7174 test -z "$ac_c_werror_flag" ||
7175 test ! -s conftest.err
7176 } && test -s conftest.$ac_objext; then
7177 ac_hi=-1 ac_mid=-1
7178 while :; do
7179 cat >conftest.$ac_ext <<_ACEOF
7180 /* confdefs.h. */
7181 _ACEOF
7182 cat confdefs.h >>conftest.$ac_ext
7183 cat >>conftest.$ac_ext <<_ACEOF
7184 /* end confdefs.h. */
7185 #include <stddef.h>
7186 int
7187 main ()
7188 {
7189 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= $ac_mid)];
7190 test_array [0] = 0
7191
7192 ;
7193 return 0;
7194 }
7195 _ACEOF
7196 rm -f conftest.$ac_objext
7197 if { (ac_try="$ac_compile"
7198 case "(($ac_try" in
7199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7200 *) ac_try_echo=$ac_try;;
7201 esac
7202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7203 (eval "$ac_compile") 2>conftest.er1
7204 ac_status=$?
7205 grep -v '^ *+' conftest.er1 >conftest.err
7206 rm -f conftest.er1
7207 cat conftest.err >&5
7208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7209 (exit $ac_status); } && {
7210 test -z "$ac_c_werror_flag" ||
7211 test ! -s conftest.err
7212 } && test -s conftest.$ac_objext; then
7213 ac_lo=$ac_mid; break
7214 else
7215 echo "$as_me: failed program was:" >&5
7216 sed 's/^/| /' conftest.$ac_ext >&5
7217
7218 ac_hi=`expr '(' $ac_mid ')' - 1`
7219 if test $ac_mid -le $ac_hi; then
7220 ac_lo= ac_hi=
7221 break
7222 fi
7223 ac_mid=`expr 2 '*' $ac_mid`
7224 fi
7225
7226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7227 done
7228 else
7229 echo "$as_me: failed program was:" >&5
7230 sed 's/^/| /' conftest.$ac_ext >&5
7231
7232 ac_lo= ac_hi=
7233 fi
7234
7235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7236 fi
7237
7238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7239 # Binary search between lo and hi bounds.
7240 while test "x$ac_lo" != "x$ac_hi"; do
7241 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7242 cat >conftest.$ac_ext <<_ACEOF
7243 /* confdefs.h. */
7244 _ACEOF
7245 cat confdefs.h >>conftest.$ac_ext
7246 cat >>conftest.$ac_ext <<_ACEOF
7247 /* end confdefs.h. */
7248 #include <stddef.h>
7249 int
7250 main ()
7251 {
7252 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
7253 test_array [0] = 0
7254
7255 ;
7256 return 0;
7257 }
7258 _ACEOF
7259 rm -f conftest.$ac_objext
7260 if { (ac_try="$ac_compile"
7261 case "(($ac_try" in
7262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7263 *) ac_try_echo=$ac_try;;
7264 esac
7265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7266 (eval "$ac_compile") 2>conftest.er1
7267 ac_status=$?
7268 grep -v '^ *+' conftest.er1 >conftest.err
7269 rm -f conftest.er1
7270 cat conftest.err >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } && {
7273 test -z "$ac_c_werror_flag" ||
7274 test ! -s conftest.err
7275 } && test -s conftest.$ac_objext; then
7276 ac_hi=$ac_mid
7277 else
7278 echo "$as_me: failed program was:" >&5
7279 sed 's/^/| /' conftest.$ac_ext >&5
7280
7281 ac_lo=`expr '(' $ac_mid ')' + 1`
7282 fi
7283
7284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7285 done
7286 case $ac_lo in
7287 ?*) res_hi=$ac_lo;;
7288 '') result=? ;;
7289 esac
7290 else
7291 cat >conftest.$ac_ext <<_ACEOF
7292 /* confdefs.h. */
7293 _ACEOF
7294 cat confdefs.h >>conftest.$ac_ext
7295 cat >>conftest.$ac_ext <<_ACEOF
7296 /* end confdefs.h. */
7297 #include <stddef.h>
7298 static long int longval () { return ~(size_t)0 / 10; }
7299 static unsigned long int ulongval () { return ~(size_t)0 / 10; }
7300 #include <stdio.h>
7301 #include <stdlib.h>
7302 int
7303 main ()
7304 {
7305
7306 FILE *f = fopen ("conftest.val", "w");
7307 if (! f)
7308 return 1;
7309 if ((~(size_t)0 / 10) < 0)
7310 {
7311 long int i = longval ();
7312 if (i != (~(size_t)0 / 10))
7313 return 1;
7314 fprintf (f, "%ld\n", i);
7315 }
7316 else
7317 {
7318 unsigned long int i = ulongval ();
7319 if (i != (~(size_t)0 / 10))
7320 return 1;
7321 fprintf (f, "%lu\n", i);
7322 }
7323 return ferror (f) || fclose (f) != 0;
7324
7325 ;
7326 return 0;
7327 }
7328 _ACEOF
7329 rm -f conftest$ac_exeext
7330 if { (ac_try="$ac_link"
7331 case "(($ac_try" in
7332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7333 *) ac_try_echo=$ac_try;;
7334 esac
7335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7336 (eval "$ac_link") 2>&5
7337 ac_status=$?
7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7340 { (case "(($ac_try" in
7341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7342 *) ac_try_echo=$ac_try;;
7343 esac
7344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7345 (eval "$ac_try") 2>&5
7346 ac_status=$?
7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7348 (exit $ac_status); }; }; then
7349 res_hi=`cat conftest.val`
7350 else
7351 echo "$as_me: program exited with status $ac_status" >&5
7352 echo "$as_me: failed program was:" >&5
7353 sed 's/^/| /' conftest.$ac_ext >&5
7354
7355 ( exit $ac_status )
7356 result=?
7357 fi
7358 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7359 fi
7360 rm -f conftest.val
7361
7362 if test "$cross_compiling" = yes; then
7363 # Depending upon the size, compute the lo and hi bounds.
7364 cat >conftest.$ac_ext <<_ACEOF
7365 /* confdefs.h. */
7366 _ACEOF
7367 cat confdefs.h >>conftest.$ac_ext
7368 cat >>conftest.$ac_ext <<_ACEOF
7369 /* end confdefs.h. */
7370 #include <stddef.h>
7371 int
7372 main ()
7373 {
7374 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= 0)];
7375 test_array [0] = 0
7376
7377 ;
7378 return 0;
7379 }
7380 _ACEOF
7381 rm -f conftest.$ac_objext
7382 if { (ac_try="$ac_compile"
7383 case "(($ac_try" in
7384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7385 *) ac_try_echo=$ac_try;;
7386 esac
7387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7388 (eval "$ac_compile") 2>conftest.er1
7389 ac_status=$?
7390 grep -v '^ *+' conftest.er1 >conftest.err
7391 rm -f conftest.er1
7392 cat conftest.err >&5
7393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7394 (exit $ac_status); } && {
7395 test -z "$ac_c_werror_flag" ||
7396 test ! -s conftest.err
7397 } && test -s conftest.$ac_objext; then
7398 ac_lo=0 ac_mid=0
7399 while :; do
7400 cat >conftest.$ac_ext <<_ACEOF
7401 /* confdefs.h. */
7402 _ACEOF
7403 cat confdefs.h >>conftest.$ac_ext
7404 cat >>conftest.$ac_ext <<_ACEOF
7405 /* end confdefs.h. */
7406 #include <stddef.h>
7407 int
7408 main ()
7409 {
7410 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
7411 test_array [0] = 0
7412
7413 ;
7414 return 0;
7415 }
7416 _ACEOF
7417 rm -f conftest.$ac_objext
7418 if { (ac_try="$ac_compile"
7419 case "(($ac_try" in
7420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7421 *) ac_try_echo=$ac_try;;
7422 esac
7423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7424 (eval "$ac_compile") 2>conftest.er1
7425 ac_status=$?
7426 grep -v '^ *+' conftest.er1 >conftest.err
7427 rm -f conftest.er1
7428 cat conftest.err >&5
7429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7430 (exit $ac_status); } && {
7431 test -z "$ac_c_werror_flag" ||
7432 test ! -s conftest.err
7433 } && test -s conftest.$ac_objext; then
7434 ac_hi=$ac_mid; break
7435 else
7436 echo "$as_me: failed program was:" >&5
7437 sed 's/^/| /' conftest.$ac_ext >&5
7438
7439 ac_lo=`expr $ac_mid + 1`
7440 if test $ac_lo -le $ac_mid; then
7441 ac_lo= ac_hi=
7442 break
7443 fi
7444 ac_mid=`expr 2 '*' $ac_mid + 1`
7445 fi
7446
7447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7448 done
7449 else
7450 echo "$as_me: failed program was:" >&5
7451 sed 's/^/| /' conftest.$ac_ext >&5
7452
7453 cat >conftest.$ac_ext <<_ACEOF
7454 /* confdefs.h. */
7455 _ACEOF
7456 cat confdefs.h >>conftest.$ac_ext
7457 cat >>conftest.$ac_ext <<_ACEOF
7458 /* end confdefs.h. */
7459 #include <stddef.h>
7460 int
7461 main ()
7462 {
7463 static int test_array [1 - 2 * !((~(size_t)0 % 10) < 0)];
7464 test_array [0] = 0
7465
7466 ;
7467 return 0;
7468 }
7469 _ACEOF
7470 rm -f conftest.$ac_objext
7471 if { (ac_try="$ac_compile"
7472 case "(($ac_try" in
7473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7474 *) ac_try_echo=$ac_try;;
7475 esac
7476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7477 (eval "$ac_compile") 2>conftest.er1
7478 ac_status=$?
7479 grep -v '^ *+' conftest.er1 >conftest.err
7480 rm -f conftest.er1
7481 cat conftest.err >&5
7482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 (exit $ac_status); } && {
7484 test -z "$ac_c_werror_flag" ||
7485 test ! -s conftest.err
7486 } && test -s conftest.$ac_objext; then
7487 ac_hi=-1 ac_mid=-1
7488 while :; do
7489 cat >conftest.$ac_ext <<_ACEOF
7490 /* confdefs.h. */
7491 _ACEOF
7492 cat confdefs.h >>conftest.$ac_ext
7493 cat >>conftest.$ac_ext <<_ACEOF
7494 /* end confdefs.h. */
7495 #include <stddef.h>
7496 int
7497 main ()
7498 {
7499 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= $ac_mid)];
7500 test_array [0] = 0
7501
7502 ;
7503 return 0;
7504 }
7505 _ACEOF
7506 rm -f conftest.$ac_objext
7507 if { (ac_try="$ac_compile"
7508 case "(($ac_try" in
7509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7510 *) ac_try_echo=$ac_try;;
7511 esac
7512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7513 (eval "$ac_compile") 2>conftest.er1
7514 ac_status=$?
7515 grep -v '^ *+' conftest.er1 >conftest.err
7516 rm -f conftest.er1
7517 cat conftest.err >&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); } && {
7520 test -z "$ac_c_werror_flag" ||
7521 test ! -s conftest.err
7522 } && test -s conftest.$ac_objext; then
7523 ac_lo=$ac_mid; break
7524 else
7525 echo "$as_me: failed program was:" >&5
7526 sed 's/^/| /' conftest.$ac_ext >&5
7527
7528 ac_hi=`expr '(' $ac_mid ')' - 1`
7529 if test $ac_mid -le $ac_hi; then
7530 ac_lo= ac_hi=
7531 break
7532 fi
7533 ac_mid=`expr 2 '*' $ac_mid`
7534 fi
7535
7536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7537 done
7538 else
7539 echo "$as_me: failed program was:" >&5
7540 sed 's/^/| /' conftest.$ac_ext >&5
7541
7542 ac_lo= ac_hi=
7543 fi
7544
7545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7546 fi
7547
7548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7549 # Binary search between lo and hi bounds.
7550 while test "x$ac_lo" != "x$ac_hi"; do
7551 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7552 cat >conftest.$ac_ext <<_ACEOF
7553 /* confdefs.h. */
7554 _ACEOF
7555 cat confdefs.h >>conftest.$ac_ext
7556 cat >>conftest.$ac_ext <<_ACEOF
7557 /* end confdefs.h. */
7558 #include <stddef.h>
7559 int
7560 main ()
7561 {
7562 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
7563 test_array [0] = 0
7564
7565 ;
7566 return 0;
7567 }
7568 _ACEOF
7569 rm -f conftest.$ac_objext
7570 if { (ac_try="$ac_compile"
7571 case "(($ac_try" in
7572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7573 *) ac_try_echo=$ac_try;;
7574 esac
7575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7576 (eval "$ac_compile") 2>conftest.er1
7577 ac_status=$?
7578 grep -v '^ *+' conftest.er1 >conftest.err
7579 rm -f conftest.er1
7580 cat conftest.err >&5
7581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582 (exit $ac_status); } && {
7583 test -z "$ac_c_werror_flag" ||
7584 test ! -s conftest.err
7585 } && test -s conftest.$ac_objext; then
7586 ac_hi=$ac_mid
7587 else
7588 echo "$as_me: failed program was:" >&5
7589 sed 's/^/| /' conftest.$ac_ext >&5
7590
7591 ac_lo=`expr '(' $ac_mid ')' + 1`
7592 fi
7593
7594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7595 done
7596 case $ac_lo in
7597 ?*) res_lo=$ac_lo;;
7598 '') result=? ;;
7599 esac
7600 else
7601 cat >conftest.$ac_ext <<_ACEOF
7602 /* confdefs.h. */
7603 _ACEOF
7604 cat confdefs.h >>conftest.$ac_ext
7605 cat >>conftest.$ac_ext <<_ACEOF
7606 /* end confdefs.h. */
7607 #include <stddef.h>
7608 static long int longval () { return ~(size_t)0 % 10; }
7609 static unsigned long int ulongval () { return ~(size_t)0 % 10; }
7610 #include <stdio.h>
7611 #include <stdlib.h>
7612 int
7613 main ()
7614 {
7615
7616 FILE *f = fopen ("conftest.val", "w");
7617 if (! f)
7618 return 1;
7619 if ((~(size_t)0 % 10) < 0)
7620 {
7621 long int i = longval ();
7622 if (i != (~(size_t)0 % 10))
7623 return 1;
7624 fprintf (f, "%ld\n", i);
7625 }
7626 else
7627 {
7628 unsigned long int i = ulongval ();
7629 if (i != (~(size_t)0 % 10))
7630 return 1;
7631 fprintf (f, "%lu\n", i);
7632 }
7633 return ferror (f) || fclose (f) != 0;
7634
7635 ;
7636 return 0;
7637 }
7638 _ACEOF
7639 rm -f conftest$ac_exeext
7640 if { (ac_try="$ac_link"
7641 case "(($ac_try" in
7642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7643 *) ac_try_echo=$ac_try;;
7644 esac
7645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7646 (eval "$ac_link") 2>&5
7647 ac_status=$?
7648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7649 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7650 { (case "(($ac_try" in
7651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7652 *) ac_try_echo=$ac_try;;
7653 esac
7654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7655 (eval "$ac_try") 2>&5
7656 ac_status=$?
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); }; }; then
7659 res_lo=`cat conftest.val`
7660 else
7661 echo "$as_me: program exited with status $ac_status" >&5
7662 echo "$as_me: failed program was:" >&5
7663 sed 's/^/| /' conftest.$ac_ext >&5
7664
7665 ( exit $ac_status )
7666 result=?
7667 fi
7668 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7669 fi
7670 rm -f conftest.val
7671
7672 if test "$cross_compiling" = yes; then
7673 # Depending upon the size, compute the lo and hi bounds.
7674 cat >conftest.$ac_ext <<_ACEOF
7675 /* confdefs.h. */
7676 _ACEOF
7677 cat confdefs.h >>conftest.$ac_ext
7678 cat >>conftest.$ac_ext <<_ACEOF
7679 /* end confdefs.h. */
7680 #include <stddef.h>
7681 int
7682 main ()
7683 {
7684 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
7685 test_array [0] = 0
7686
7687 ;
7688 return 0;
7689 }
7690 _ACEOF
7691 rm -f conftest.$ac_objext
7692 if { (ac_try="$ac_compile"
7693 case "(($ac_try" in
7694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7695 *) ac_try_echo=$ac_try;;
7696 esac
7697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7698 (eval "$ac_compile") 2>conftest.er1
7699 ac_status=$?
7700 grep -v '^ *+' conftest.er1 >conftest.err
7701 rm -f conftest.er1
7702 cat conftest.err >&5
7703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7704 (exit $ac_status); } && {
7705 test -z "$ac_c_werror_flag" ||
7706 test ! -s conftest.err
7707 } && test -s conftest.$ac_objext; then
7708 ac_lo=0 ac_mid=0
7709 while :; do
7710 cat >conftest.$ac_ext <<_ACEOF
7711 /* confdefs.h. */
7712 _ACEOF
7713 cat confdefs.h >>conftest.$ac_ext
7714 cat >>conftest.$ac_ext <<_ACEOF
7715 /* end confdefs.h. */
7716 #include <stddef.h>
7717 int
7718 main ()
7719 {
7720 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
7721 test_array [0] = 0
7722
7723 ;
7724 return 0;
7725 }
7726 _ACEOF
7727 rm -f conftest.$ac_objext
7728 if { (ac_try="$ac_compile"
7729 case "(($ac_try" in
7730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7731 *) ac_try_echo=$ac_try;;
7732 esac
7733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7734 (eval "$ac_compile") 2>conftest.er1
7735 ac_status=$?
7736 grep -v '^ *+' conftest.er1 >conftest.err
7737 rm -f conftest.er1
7738 cat conftest.err >&5
7739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7740 (exit $ac_status); } && {
7741 test -z "$ac_c_werror_flag" ||
7742 test ! -s conftest.err
7743 } && test -s conftest.$ac_objext; then
7744 ac_hi=$ac_mid; break
7745 else
7746 echo "$as_me: failed program was:" >&5
7747 sed 's/^/| /' conftest.$ac_ext >&5
7748
7749 ac_lo=`expr $ac_mid + 1`
7750 if test $ac_lo -le $ac_mid; then
7751 ac_lo= ac_hi=
7752 break
7753 fi
7754 ac_mid=`expr 2 '*' $ac_mid + 1`
7755 fi
7756
7757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7758 done
7759 else
7760 echo "$as_me: failed program was:" >&5
7761 sed 's/^/| /' conftest.$ac_ext >&5
7762
7763 cat >conftest.$ac_ext <<_ACEOF
7764 /* confdefs.h. */
7765 _ACEOF
7766 cat confdefs.h >>conftest.$ac_ext
7767 cat >>conftest.$ac_ext <<_ACEOF
7768 /* end confdefs.h. */
7769 #include <stddef.h>
7770 int
7771 main ()
7772 {
7773 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
7774 test_array [0] = 0
7775
7776 ;
7777 return 0;
7778 }
7779 _ACEOF
7780 rm -f conftest.$ac_objext
7781 if { (ac_try="$ac_compile"
7782 case "(($ac_try" in
7783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7784 *) ac_try_echo=$ac_try;;
7785 esac
7786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7787 (eval "$ac_compile") 2>conftest.er1
7788 ac_status=$?
7789 grep -v '^ *+' conftest.er1 >conftest.err
7790 rm -f conftest.er1
7791 cat conftest.err >&5
7792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7793 (exit $ac_status); } && {
7794 test -z "$ac_c_werror_flag" ||
7795 test ! -s conftest.err
7796 } && test -s conftest.$ac_objext; then
7797 ac_hi=-1 ac_mid=-1
7798 while :; do
7799 cat >conftest.$ac_ext <<_ACEOF
7800 /* confdefs.h. */
7801 _ACEOF
7802 cat confdefs.h >>conftest.$ac_ext
7803 cat >>conftest.$ac_ext <<_ACEOF
7804 /* end confdefs.h. */
7805 #include <stddef.h>
7806 int
7807 main ()
7808 {
7809 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
7810 test_array [0] = 0
7811
7812 ;
7813 return 0;
7814 }
7815 _ACEOF
7816 rm -f conftest.$ac_objext
7817 if { (ac_try="$ac_compile"
7818 case "(($ac_try" in
7819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7820 *) ac_try_echo=$ac_try;;
7821 esac
7822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7823 (eval "$ac_compile") 2>conftest.er1
7824 ac_status=$?
7825 grep -v '^ *+' conftest.er1 >conftest.err
7826 rm -f conftest.er1
7827 cat conftest.err >&5
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); } && {
7830 test -z "$ac_c_werror_flag" ||
7831 test ! -s conftest.err
7832 } && test -s conftest.$ac_objext; then
7833 ac_lo=$ac_mid; break
7834 else
7835 echo "$as_me: failed program was:" >&5
7836 sed 's/^/| /' conftest.$ac_ext >&5
7837
7838 ac_hi=`expr '(' $ac_mid ')' - 1`
7839 if test $ac_mid -le $ac_hi; then
7840 ac_lo= ac_hi=
7841 break
7842 fi
7843 ac_mid=`expr 2 '*' $ac_mid`
7844 fi
7845
7846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7847 done
7848 else
7849 echo "$as_me: failed program was:" >&5
7850 sed 's/^/| /' conftest.$ac_ext >&5
7851
7852 ac_lo= ac_hi=
7853 fi
7854
7855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7856 fi
7857
7858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7859 # Binary search between lo and hi bounds.
7860 while test "x$ac_lo" != "x$ac_hi"; do
7861 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7862 cat >conftest.$ac_ext <<_ACEOF
7863 /* confdefs.h. */
7864 _ACEOF
7865 cat confdefs.h >>conftest.$ac_ext
7866 cat >>conftest.$ac_ext <<_ACEOF
7867 /* end confdefs.h. */
7868 #include <stddef.h>
7869 int
7870 main ()
7871 {
7872 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
7873 test_array [0] = 0
7874
7875 ;
7876 return 0;
7877 }
7878 _ACEOF
7879 rm -f conftest.$ac_objext
7880 if { (ac_try="$ac_compile"
7881 case "(($ac_try" in
7882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7883 *) ac_try_echo=$ac_try;;
7884 esac
7885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7886 (eval "$ac_compile") 2>conftest.er1
7887 ac_status=$?
7888 grep -v '^ *+' conftest.er1 >conftest.err
7889 rm -f conftest.er1
7890 cat conftest.err >&5
7891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892 (exit $ac_status); } && {
7893 test -z "$ac_c_werror_flag" ||
7894 test ! -s conftest.err
7895 } && test -s conftest.$ac_objext; then
7896 ac_hi=$ac_mid
7897 else
7898 echo "$as_me: failed program was:" >&5
7899 sed 's/^/| /' conftest.$ac_ext >&5
7900
7901 ac_lo=`expr '(' $ac_mid ')' + 1`
7902 fi
7903
7904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7905 done
7906 case $ac_lo in
7907 ?*) fits_in_uint=$ac_lo;;
7908 '') result=? ;;
7909 esac
7910 else
7911 cat >conftest.$ac_ext <<_ACEOF
7912 /* confdefs.h. */
7913 _ACEOF
7914 cat confdefs.h >>conftest.$ac_ext
7915 cat >>conftest.$ac_ext <<_ACEOF
7916 /* end confdefs.h. */
7917 #include <stddef.h>
7918 static long int longval () { return sizeof (size_t) <= sizeof (unsigned int); }
7919 static unsigned long int ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
7920 #include <stdio.h>
7921 #include <stdlib.h>
7922 int
7923 main ()
7924 {
7925
7926 FILE *f = fopen ("conftest.val", "w");
7927 if (! f)
7928 return 1;
7929 if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
7930 {
7931 long int i = longval ();
7932 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
7933 return 1;
7934 fprintf (f, "%ld\n", i);
7935 }
7936 else
7937 {
7938 unsigned long int i = ulongval ();
7939 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
7940 return 1;
7941 fprintf (f, "%lu\n", i);
7942 }
7943 return ferror (f) || fclose (f) != 0;
7944
7945 ;
7946 return 0;
7947 }
7948 _ACEOF
7949 rm -f conftest$ac_exeext
7950 if { (ac_try="$ac_link"
7951 case "(($ac_try" in
7952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7953 *) ac_try_echo=$ac_try;;
7954 esac
7955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7956 (eval "$ac_link") 2>&5
7957 ac_status=$?
7958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7960 { (case "(($ac_try" in
7961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7962 *) ac_try_echo=$ac_try;;
7963 esac
7964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7965 (eval "$ac_try") 2>&5
7966 ac_status=$?
7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968 (exit $ac_status); }; }; then
7969 fits_in_uint=`cat conftest.val`
7970 else
7971 echo "$as_me: program exited with status $ac_status" >&5
7972 echo "$as_me: failed program was:" >&5
7973 sed 's/^/| /' conftest.$ac_ext >&5
7974
7975 ( exit $ac_status )
7976 result=?
7977 fi
7978 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7979 fi
7980 rm -f conftest.val
6039 if ac_fn_c_compute_int "$LINENO" "~(size_t)0 / 10" "res_hi" "#include <stddef.h>"; then :
6040
6041 else
6042 result=?
6043 fi
6044
6045
6046 if ac_fn_c_compute_int "$LINENO" "~(size_t)0 % 10" "res_lo" "#include <stddef.h>"; then :
6047
6048 else
6049 result=?
6050 fi
6051
6052
6053 if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include <stddef.h>"; then :
6054
6055 else
6056 result=?
6057 fi
6058
79816059
79826060 if test "$fits_in_uint" = 1; then
7983 cat >conftest.$ac_ext <<_ACEOF
7984 /* confdefs.h. */
7985 _ACEOF
7986 cat confdefs.h >>conftest.$ac_ext
7987 cat >>conftest.$ac_ext <<_ACEOF
6061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79886062 /* end confdefs.h. */
79896063 #include <stddef.h>
79906064 extern size_t foo;
79986072 return 0;
79996073 }
80006074 _ACEOF
8001 rm -f conftest.$ac_objext
8002 if { (ac_try="$ac_compile"
8003 case "(($ac_try" in
8004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8005 *) ac_try_echo=$ac_try;;
8006 esac
8007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8008 (eval "$ac_compile") 2>conftest.er1
8009 ac_status=$?
8010 grep -v '^ *+' conftest.er1 >conftest.err
8011 rm -f conftest.er1
8012 cat conftest.err >&5
8013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8014 (exit $ac_status); } && {
8015 test -z "$ac_c_werror_flag" ||
8016 test ! -s conftest.err
8017 } && test -s conftest.$ac_objext; then
6075 if ac_fn_c_try_compile "$LINENO"; then :
80186076 fits_in_uint=0
8019 else
8020 echo "$as_me: failed program was:" >&5
8021 sed 's/^/| /' conftest.$ac_ext >&5
8022
8023
8024 fi
8025
6077 fi
80266078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80276079 fi
80286080 if test -z "$result"; then
80356087 result='~(size_t)0'
80366088 fi
80376089 fi
8038 { echo "$as_me:$LINENO: result: $result" >&5
8039 echo "${ECHO_T}$result" >&6; }
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6091 $as_echo "$result" >&6; }
80406092 if test "$result" != yes; then
80416093
80426094 cat >>confdefs.h <<_ACEOF
80476099
80486100
80496101
8050
8051 for ac_header in stdint.h
8052 do
8053 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8054 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8055 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8057 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8058 echo $ECHO_N "(cached) $ECHO_C" >&6
8059 fi
8060 ac_res=`eval echo '${'$as_ac_Header'}'`
8061 { echo "$as_me:$LINENO: result: $ac_res" >&5
8062 echo "${ECHO_T}$ac_res" >&6; }
8063 else
8064 # Is the header compilable?
8065 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8066 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8067 cat >conftest.$ac_ext <<_ACEOF
8068 /* confdefs.h. */
8069 _ACEOF
8070 cat confdefs.h >>conftest.$ac_ext
8071 cat >>conftest.$ac_ext <<_ACEOF
8072 /* end confdefs.h. */
8073 $ac_includes_default
8074 #include <$ac_header>
8075 _ACEOF
8076 rm -f conftest.$ac_objext
8077 if { (ac_try="$ac_compile"
8078 case "(($ac_try" in
8079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8080 *) ac_try_echo=$ac_try;;
8081 esac
8082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8083 (eval "$ac_compile") 2>conftest.er1
8084 ac_status=$?
8085 grep -v '^ *+' conftest.er1 >conftest.err
8086 rm -f conftest.er1
8087 cat conftest.err >&5
8088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8089 (exit $ac_status); } && {
8090 test -z "$ac_c_werror_flag" ||
8091 test ! -s conftest.err
8092 } && test -s conftest.$ac_objext; then
8093 ac_header_compiler=yes
8094 else
8095 echo "$as_me: failed program was:" >&5
8096 sed 's/^/| /' conftest.$ac_ext >&5
8097
8098 ac_header_compiler=no
8099 fi
8100
8101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8102 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8103 echo "${ECHO_T}$ac_header_compiler" >&6; }
8104
8105 # Is the header present?
8106 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8107 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8108 cat >conftest.$ac_ext <<_ACEOF
8109 /* confdefs.h. */
8110 _ACEOF
8111 cat confdefs.h >>conftest.$ac_ext
8112 cat >>conftest.$ac_ext <<_ACEOF
8113 /* end confdefs.h. */
8114 #include <$ac_header>
8115 _ACEOF
8116 if { (ac_try="$ac_cpp conftest.$ac_ext"
8117 case "(($ac_try" in
8118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8119 *) ac_try_echo=$ac_try;;
8120 esac
8121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8122 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8123 ac_status=$?
8124 grep -v '^ *+' conftest.er1 >conftest.err
8125 rm -f conftest.er1
8126 cat conftest.err >&5
8127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8128 (exit $ac_status); } >/dev/null && {
8129 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8130 test ! -s conftest.err
8131 }; then
8132 ac_header_preproc=yes
8133 else
8134 echo "$as_me: failed program was:" >&5
8135 sed 's/^/| /' conftest.$ac_ext >&5
8136
8137 ac_header_preproc=no
8138 fi
8139
8140 rm -f conftest.err conftest.$ac_ext
8141 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8142 echo "${ECHO_T}$ac_header_preproc" >&6; }
8143
8144 # So? What about this header?
8145 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8146 yes:no: )
8147 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8148 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8150 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8151 ac_header_preproc=yes
8152 ;;
8153 no:yes:* )
8154 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8155 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8156 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8157 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8158 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8159 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8160 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8161 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8162 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8163 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8164 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8165 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8166
8167 ;;
8168 esac
8169 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8171 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8172 echo $ECHO_N "(cached) $ECHO_C" >&6
8173 else
8174 eval "$as_ac_Header=\$ac_header_preproc"
8175 fi
8176 ac_res=`eval echo '${'$as_ac_Header'}'`
8177 { echo "$as_me:$LINENO: result: $ac_res" >&5
8178 echo "${ECHO_T}$ac_res" >&6; }
8179
8180 fi
8181 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6102 for ac_header in stdint.h
6103 do :
6104 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
6105 if test "x$ac_cv_header_stdint_h" = x""yes; then :
81826106 cat >>confdefs.h <<_ACEOF
8183 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6107 #define HAVE_STDINT_H 1
81846108 _ACEOF
81856109
81866110 fi
82066130
82076131
82086132 # Check whether --with-gnu-ld was given.
8209 if test "${with_gnu_ld+set}" = set; then
6133 if test "${with_gnu_ld+set}" = set; then :
82106134 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
82116135 else
82126136 with_gnu_ld=no
82286152 ac_prog=ld
82296153 if test "$GCC" = yes; then
82306154 # Check if gcc -print-prog-name=ld gives a path.
8231 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
8232 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
6156 $as_echo_n "checking for ld used by GCC... " >&6; }
82336157 case $host in
82346158 *-*-mingw*)
82356159 # gcc leaves a trailing carriage return which upsets mingw
82586182 ;;
82596183 esac
82606184 elif test "$with_gnu_ld" = yes; then
8261 { echo "$as_me:$LINENO: checking for GNU ld" >&5
8262 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
8263 else
8264 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8265 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
8266 fi
8267 if test "${acl_cv_path_LD+set}" = set; then
8268 echo $ECHO_N "(cached) $ECHO_C" >&6
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6186 $as_echo_n "checking for GNU ld... " >&6; }
6187 else
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6189 $as_echo_n "checking for non-GNU ld... " >&6; }
6190 fi
6191 if test "${acl_cv_path_LD+set}" = set; then :
6192 $as_echo_n "(cached) " >&6
82696193 else
82706194 if test -z "$LD"; then
82716195 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
82926216
82936217 LD="$acl_cv_path_LD"
82946218 if test -n "$LD"; then
8295 { echo "$as_me:$LINENO: result: $LD" >&5
8296 echo "${ECHO_T}$LD" >&6; }
8297 else
8298 { echo "$as_me:$LINENO: result: no" >&5
8299 echo "${ECHO_T}no" >&6; }
8300 fi
8301 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8302 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8303 { (exit 1); exit 1; }; }
8304 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8305 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
8306 if test "${acl_cv_prog_gnu_ld+set}" = set; then
8307 echo $ECHO_N "(cached) $ECHO_C" >&6
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6220 $as_echo "$LD" >&6; }
6221 else
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6223 $as_echo "no" >&6; }
6224 fi
6225 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6227 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6228 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
6229 $as_echo_n "(cached) " >&6
83086230 else
83096231 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
83106232 case `$LD -v 2>&1 </dev/null` in
83146236 acl_cv_prog_gnu_ld=no ;;
83156237 esac
83166238 fi
8317 { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
8318 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
6240 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
83196241 with_gnu_ld=$acl_cv_prog_gnu_ld
83206242
83216243
83226244
8323 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
8324 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
8325 if test "${acl_cv_rpath+set}" = set; then
8326 echo $ECHO_N "(cached) $ECHO_C" >&6
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
6246 $as_echo_n "checking for shared library run path origin... " >&6; }
6247 if test "${acl_cv_rpath+set}" = set; then :
6248 $as_echo_n "(cached) " >&6
83276249 else
83286250
83296251 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
83336255 acl_cv_rpath=done
83346256
83356257 fi
8336 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
8337 echo "${ECHO_T}$acl_cv_rpath" >&6; }
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
6259 $as_echo "$acl_cv_rpath" >&6; }
83386260 wl="$acl_cv_wl"
83396261 libext="$acl_cv_libext"
83406262 shlibext="$acl_cv_shlibext"
83436265 hardcode_direct="$acl_cv_hardcode_direct"
83446266 hardcode_minus_L="$acl_cv_hardcode_minus_L"
83456267 # Check whether --enable-rpath was given.
8346 if test "${enable_rpath+set}" = set; then
6268 if test "${enable_rpath+set}" = set; then :
83476269 enableval=$enable_rpath; :
83486270 else
83496271 enable_rpath=yes
83716293
83726294
83736295 # Check whether --with-libiconv-prefix was given.
8374 if test "${with_libiconv_prefix+set}" = set; then
6296 if test "${with_libiconv_prefix+set}" = set; then :
83756297 withval=$with_libiconv_prefix;
83766298 if test "X$withval" = "Xno"; then
83776299 use_additional=no
87396661
87406662
87416663
8742 { echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
8743 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; }
8744 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
8745 echo $ECHO_N "(cached) $ECHO_C" >&6
8746 else
8747 cat >conftest.$ac_ext <<_ACEOF
8748 /* confdefs.h. */
8749 _ACEOF
8750 cat confdefs.h >>conftest.$ac_ext
8751 cat >>conftest.$ac_ext <<_ACEOF
8752 /* end confdefs.h. */
8753 $ac_includes_default
8754 typedef ptrdiff_t ac__type_new_;
8755 int
8756 main ()
8757 {
8758 if ((ac__type_new_ *) 0)
8759 return 0;
8760 if (sizeof (ac__type_new_))
8761 return 0;
8762 ;
8763 return 0;
8764 }
8765 _ACEOF
8766 rm -f conftest.$ac_objext
8767 if { (ac_try="$ac_compile"
8768 case "(($ac_try" in
8769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8770 *) ac_try_echo=$ac_try;;
8771 esac
8772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8773 (eval "$ac_compile") 2>conftest.er1
8774 ac_status=$?
8775 grep -v '^ *+' conftest.er1 >conftest.err
8776 rm -f conftest.er1
8777 cat conftest.err >&5
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 (exit $ac_status); } && {
8780 test -z "$ac_c_werror_flag" ||
8781 test ! -s conftest.err
8782 } && test -s conftest.$ac_objext; then
8783 ac_cv_type_ptrdiff_t=yes
8784 else
8785 echo "$as_me: failed program was:" >&5
8786 sed 's/^/| /' conftest.$ac_ext >&5
8787
8788 ac_cv_type_ptrdiff_t=no
8789 fi
8790
8791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8792 fi
8793 { echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
8794 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
8795 if test $ac_cv_type_ptrdiff_t = yes; then
8796 :
8797 else
8798
8799 cat >>confdefs.h <<\_ACEOF
8800 #define ptrdiff_t long
8801 _ACEOF
8802
8803
8804 fi
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816 for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
6664 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
6665 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
6666
6667 else
6668
6669 $as_echo "#define ptrdiff_t long" >>confdefs.h
6670
6671
6672 fi
6673
6674 for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
88176675 stdlib.h string.h unistd.h sys/param.h
8818 do
8819 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8820 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8821 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8824 echo $ECHO_N "(cached) $ECHO_C" >&6
8825 fi
8826 ac_res=`eval echo '${'$as_ac_Header'}'`
8827 { echo "$as_me:$LINENO: result: $ac_res" >&5
8828 echo "${ECHO_T}$ac_res" >&6; }
8829 else
8830 # Is the header compilable?
8831 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8832 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8833 cat >conftest.$ac_ext <<_ACEOF
8834 /* confdefs.h. */
8835 _ACEOF
8836 cat confdefs.h >>conftest.$ac_ext
8837 cat >>conftest.$ac_ext <<_ACEOF
8838 /* end confdefs.h. */
8839 $ac_includes_default
8840 #include <$ac_header>
8841 _ACEOF
8842 rm -f conftest.$ac_objext
8843 if { (ac_try="$ac_compile"
8844 case "(($ac_try" in
8845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8846 *) ac_try_echo=$ac_try;;
8847 esac
8848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8849 (eval "$ac_compile") 2>conftest.er1
8850 ac_status=$?
8851 grep -v '^ *+' conftest.er1 >conftest.err
8852 rm -f conftest.er1
8853 cat conftest.err >&5
8854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8855 (exit $ac_status); } && {
8856 test -z "$ac_c_werror_flag" ||
8857 test ! -s conftest.err
8858 } && test -s conftest.$ac_objext; then
8859 ac_header_compiler=yes
8860 else
8861 echo "$as_me: failed program was:" >&5
8862 sed 's/^/| /' conftest.$ac_ext >&5
8863
8864 ac_header_compiler=no
8865 fi
8866
8867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8868 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8869 echo "${ECHO_T}$ac_header_compiler" >&6; }
8870
8871 # Is the header present?
8872 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8873 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8874 cat >conftest.$ac_ext <<_ACEOF
8875 /* confdefs.h. */
8876 _ACEOF
8877 cat confdefs.h >>conftest.$ac_ext
8878 cat >>conftest.$ac_ext <<_ACEOF
8879 /* end confdefs.h. */
8880 #include <$ac_header>
8881 _ACEOF
8882 if { (ac_try="$ac_cpp conftest.$ac_ext"
8883 case "(($ac_try" in
8884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8885 *) ac_try_echo=$ac_try;;
8886 esac
8887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8888 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8889 ac_status=$?
8890 grep -v '^ *+' conftest.er1 >conftest.err
8891 rm -f conftest.er1
8892 cat conftest.err >&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); } >/dev/null && {
8895 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8896 test ! -s conftest.err
8897 }; then
8898 ac_header_preproc=yes
8899 else
8900 echo "$as_me: failed program was:" >&5
8901 sed 's/^/| /' conftest.$ac_ext >&5
8902
8903 ac_header_preproc=no
8904 fi
8905
8906 rm -f conftest.err conftest.$ac_ext
8907 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8908 echo "${ECHO_T}$ac_header_preproc" >&6; }
8909
8910 # So? What about this header?
8911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8912 yes:no: )
8913 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8914 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8916 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8917 ac_header_preproc=yes
8918 ;;
8919 no:yes:* )
8920 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8922 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8923 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8924 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8925 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8926 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8927 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8930 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8931 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8932
8933 ;;
8934 esac
8935 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8937 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8938 echo $ECHO_N "(cached) $ECHO_C" >&6
8939 else
8940 eval "$as_ac_Header=\$ac_header_preproc"
8941 fi
8942 ac_res=`eval echo '${'$as_ac_Header'}'`
8943 { echo "$as_me:$LINENO: result: $ac_res" >&5
8944 echo "${ECHO_T}$ac_res" >&6; }
8945
8946 fi
8947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6676 do :
6677 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6678 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6679 eval as_val=\$$as_ac_Header
6680 if test "x$as_val" = x""yes; then :
89486681 cat >>confdefs.h <<_ACEOF
8949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6682 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
89506683 _ACEOF
89516684
89526685 fi
89536686
89546687 done
89556688
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979 for ac_func in asprintf fwprintf getcwd getegid geteuid getgid getuid \
6689 for ac_func in asprintf fwprintf getcwd getegid geteuid getgid getuid \
89806690 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
89816691 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
89826692 __fsetlocking
8983 do
8984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8985 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8987 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8988 echo $ECHO_N "(cached) $ECHO_C" >&6
8989 else
8990 cat >conftest.$ac_ext <<_ACEOF
8991 /* confdefs.h. */
8992 _ACEOF
8993 cat confdefs.h >>conftest.$ac_ext
8994 cat >>conftest.$ac_ext <<_ACEOF
8995 /* end confdefs.h. */
8996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8998 #define $ac_func innocuous_$ac_func
8999
9000 /* System header to define __stub macros and hopefully few prototypes,
9001 which can conflict with char $ac_func (); below.
9002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9003 <limits.h> exists even on freestanding compilers. */
9004
9005 #ifdef __STDC__
9006 # include <limits.h>
9007 #else
9008 # include <assert.h>
9009 #endif
9010
9011 #undef $ac_func
9012
9013 /* Override any GCC internal prototype to avoid an error.
9014 Use char because int might match the return type of a GCC
9015 builtin and then its argument prototype would still apply. */
9016 #ifdef __cplusplus
9017 extern "C"
9018 #endif
9019 char $ac_func ();
9020 /* The GNU C library defines this for functions which it implements
9021 to always fail with ENOSYS. Some functions are actually named
9022 something starting with __ and the normal name is an alias. */
9023 #if defined __stub_$ac_func || defined __stub___$ac_func
9024 choke me
9025 #endif
9026
9027 int
9028 main ()
9029 {
9030 return $ac_func ();
9031 ;
9032 return 0;
9033 }
9034 _ACEOF
9035 rm -f conftest.$ac_objext conftest$ac_exeext
9036 if { (ac_try="$ac_link"
9037 case "(($ac_try" in
9038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9039 *) ac_try_echo=$ac_try;;
9040 esac
9041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9042 (eval "$ac_link") 2>conftest.er1
9043 ac_status=$?
9044 grep -v '^ *+' conftest.er1 >conftest.err
9045 rm -f conftest.er1
9046 cat conftest.err >&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 (exit $ac_status); } && {
9049 test -z "$ac_c_werror_flag" ||
9050 test ! -s conftest.err
9051 } && test -s conftest$ac_exeext &&
9052 $as_test_x conftest$ac_exeext; then
9053 eval "$as_ac_var=yes"
9054 else
9055 echo "$as_me: failed program was:" >&5
9056 sed 's/^/| /' conftest.$ac_ext >&5
9057
9058 eval "$as_ac_var=no"
9059 fi
9060
9061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9062 conftest$ac_exeext conftest.$ac_ext
9063 fi
9064 ac_res=`eval echo '${'$as_ac_var'}'`
9065 { echo "$as_me:$LINENO: result: $ac_res" >&5
9066 echo "${ECHO_T}$ac_res" >&6; }
9067 if test `eval echo '${'$as_ac_var'}'` = yes; then
6693 do :
6694 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6695 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6696 eval as_val=\$$as_ac_var
6697 if test "x$as_val" = x""yes; then :
90686698 cat >>confdefs.h <<_ACEOF
9069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6699 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
90706700 _ACEOF
90716701
90726702 fi
90746704
90756705
90766706
9077 { echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5
9078 echo $ECHO_N "checking whether _snprintf is declared... $ECHO_C" >&6; }
9079 if test "${ac_cv_have_decl__snprintf+set}" = set; then
9080 echo $ECHO_N "(cached) $ECHO_C" >&6
9081 else
9082 cat >conftest.$ac_ext <<_ACEOF
9083 /* confdefs.h. */
9084 _ACEOF
9085 cat confdefs.h >>conftest.$ac_ext
9086 cat >>conftest.$ac_ext <<_ACEOF
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snprintf is declared" >&5
6708 $as_echo_n "checking whether _snprintf is declared... " >&6; }
6709 if test "${ac_cv_have_decl__snprintf+set}" = set; then :
6710 $as_echo_n "(cached) " >&6
6711 else
6712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
90876713 /* end confdefs.h. */
90886714 #include <stdio.h>
90896715 int
90986724 return 0;
90996725 }
91006726 _ACEOF
9101 rm -f conftest.$ac_objext
9102 if { (ac_try="$ac_compile"
9103 case "(($ac_try" in
9104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9105 *) ac_try_echo=$ac_try;;
9106 esac
9107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9108 (eval "$ac_compile") 2>conftest.er1
9109 ac_status=$?
9110 grep -v '^ *+' conftest.er1 >conftest.err
9111 rm -f conftest.er1
9112 cat conftest.err >&5
9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9114 (exit $ac_status); } && {
9115 test -z "$ac_c_werror_flag" ||
9116 test ! -s conftest.err
9117 } && test -s conftest.$ac_objext; then
6727 if ac_fn_c_try_compile "$LINENO"; then :
91186728 ac_cv_have_decl__snprintf=yes
91196729 else
9120 echo "$as_me: failed program was:" >&5
9121 sed 's/^/| /' conftest.$ac_ext >&5
9122
9123 ac_cv_have_decl__snprintf=no
9124 fi
9125
6730 ac_cv_have_decl__snprintf=no
6731 fi
91266732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
91276733 fi
9128 { echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5
9129 echo "${ECHO_T}$ac_cv_have_decl__snprintf" >&6; }
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snprintf" >&5
6735 $as_echo "$ac_cv_have_decl__snprintf" >&6; }
91306736 if test $ac_cv_have_decl__snprintf = yes; then
91316737 gt_value=1
91326738 else
91396745
91406746
91416747
9142 { echo "$as_me:$LINENO: checking whether _snwprintf is declared" >&5
9143 echo $ECHO_N "checking whether _snwprintf is declared... $ECHO_C" >&6; }
9144 if test "${ac_cv_have_decl__snwprintf+set}" = set; then
9145 echo $ECHO_N "(cached) $ECHO_C" >&6
9146 else
9147 cat >conftest.$ac_ext <<_ACEOF
9148 /* confdefs.h. */
9149 _ACEOF
9150 cat confdefs.h >>conftest.$ac_ext
9151 cat >>conftest.$ac_ext <<_ACEOF
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snwprintf is declared" >&5
6749 $as_echo_n "checking whether _snwprintf is declared... " >&6; }
6750 if test "${ac_cv_have_decl__snwprintf+set}" = set; then :
6751 $as_echo_n "(cached) " >&6
6752 else
6753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
91526754 /* end confdefs.h. */
91536755 #include <stdio.h>
91546756 int
91636765 return 0;
91646766 }
91656767 _ACEOF
9166 rm -f conftest.$ac_objext
9167 if { (ac_try="$ac_compile"
9168 case "(($ac_try" in
9169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9170 *) ac_try_echo=$ac_try;;
9171 esac
9172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9173 (eval "$ac_compile") 2>conftest.er1
9174 ac_status=$?
9175 grep -v '^ *+' conftest.er1 >conftest.err
9176 rm -f conftest.er1
9177 cat conftest.err >&5
9178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179 (exit $ac_status); } && {
9180 test -z "$ac_c_werror_flag" ||
9181 test ! -s conftest.err
9182 } && test -s conftest.$ac_objext; then
6768 if ac_fn_c_try_compile "$LINENO"; then :
91836769 ac_cv_have_decl__snwprintf=yes
91846770 else
9185 echo "$as_me: failed program was:" >&5
9186 sed 's/^/| /' conftest.$ac_ext >&5
9187
9188 ac_cv_have_decl__snwprintf=no
9189 fi
9190
6771 ac_cv_have_decl__snwprintf=no
6772 fi
91916773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
91926774 fi
9193 { echo "$as_me:$LINENO: result: $ac_cv_have_decl__snwprintf" >&5
9194 echo "${ECHO_T}$ac_cv_have_decl__snwprintf" >&6; }
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snwprintf" >&5
6776 $as_echo "$ac_cv_have_decl__snwprintf" >&6; }
91956777 if test $ac_cv_have_decl__snwprintf = yes; then
91966778 gt_value=1
91976779 else
92056787
92066788
92076789
9208 { echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
9209 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6; }
9210 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
9211 echo $ECHO_N "(cached) $ECHO_C" >&6
9212 else
9213 cat >conftest.$ac_ext <<_ACEOF
9214 /* confdefs.h. */
9215 _ACEOF
9216 cat confdefs.h >>conftest.$ac_ext
9217 cat >>conftest.$ac_ext <<_ACEOF
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether feof_unlocked is declared" >&5
6791 $as_echo_n "checking whether feof_unlocked is declared... " >&6; }
6792 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then :
6793 $as_echo_n "(cached) " >&6
6794 else
6795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92186796 /* end confdefs.h. */
92196797 #include <stdio.h>
92206798 int
92296807 return 0;
92306808 }
92316809 _ACEOF
9232 rm -f conftest.$ac_objext
9233 if { (ac_try="$ac_compile"
9234 case "(($ac_try" in
9235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9236 *) ac_try_echo=$ac_try;;
9237 esac
9238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9239 (eval "$ac_compile") 2>conftest.er1
9240 ac_status=$?
9241 grep -v '^ *+' conftest.er1 >conftest.err
9242 rm -f conftest.er1
9243 cat conftest.err >&5
9244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9245 (exit $ac_status); } && {
9246 test -z "$ac_c_werror_flag" ||
9247 test ! -s conftest.err
9248 } && test -s conftest.$ac_objext; then
6810 if ac_fn_c_try_compile "$LINENO"; then :
92496811 ac_cv_have_decl_feof_unlocked=yes
92506812 else
9251 echo "$as_me: failed program was:" >&5
9252 sed 's/^/| /' conftest.$ac_ext >&5
9253
9254 ac_cv_have_decl_feof_unlocked=no
9255 fi
9256
6813 ac_cv_have_decl_feof_unlocked=no
6814 fi
92576815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
92586816 fi
9259 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
9260 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6; }
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_feof_unlocked" >&5
6818 $as_echo "$ac_cv_have_decl_feof_unlocked" >&6; }
92616819 if test $ac_cv_have_decl_feof_unlocked = yes; then
92626820 gt_value=1
92636821 else
92706828
92716829
92726830
9273 { echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
9274 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6; }
9275 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
9276 echo $ECHO_N "(cached) $ECHO_C" >&6
9277 else
9278 cat >conftest.$ac_ext <<_ACEOF
9279 /* confdefs.h. */
9280 _ACEOF
9281 cat confdefs.h >>conftest.$ac_ext
9282 cat >>conftest.$ac_ext <<_ACEOF
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fgets_unlocked is declared" >&5
6832 $as_echo_n "checking whether fgets_unlocked is declared... " >&6; }
6833 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then :
6834 $as_echo_n "(cached) " >&6
6835 else
6836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92836837 /* end confdefs.h. */
92846838 #include <stdio.h>
92856839 int
92946848 return 0;
92956849 }
92966850 _ACEOF
9297 rm -f conftest.$ac_objext
9298 if { (ac_try="$ac_compile"
9299 case "(($ac_try" in
9300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9301 *) ac_try_echo=$ac_try;;
9302 esac
9303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9304 (eval "$ac_compile") 2>conftest.er1
9305 ac_status=$?
9306 grep -v '^ *+' conftest.er1 >conftest.err
9307 rm -f conftest.er1
9308 cat conftest.err >&5
9309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9310 (exit $ac_status); } && {
9311 test -z "$ac_c_werror_flag" ||
9312 test ! -s conftest.err
9313 } && test -s conftest.$ac_objext; then
6851 if ac_fn_c_try_compile "$LINENO"; then :
93146852 ac_cv_have_decl_fgets_unlocked=yes
93156853 else
9316 echo "$as_me: failed program was:" >&5
9317 sed 's/^/| /' conftest.$ac_ext >&5
9318
9319 ac_cv_have_decl_fgets_unlocked=no
9320 fi
9321
6854 ac_cv_have_decl_fgets_unlocked=no
6855 fi
93226856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93236857 fi
9324 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
9325 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6; }
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_fgets_unlocked" >&5
6859 $as_echo "$ac_cv_have_decl_fgets_unlocked" >&6; }
93266860 if test $ac_cv_have_decl_fgets_unlocked = yes; then
93276861 gt_value=1
93286862 else
93356869
93366870
93376871
9338 { echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
9339 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6; }
9340 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
9341 echo $ECHO_N "(cached) $ECHO_C" >&6
9342 else
9343 cat >conftest.$ac_ext <<_ACEOF
9344 /* confdefs.h. */
9345 _ACEOF
9346 cat confdefs.h >>conftest.$ac_ext
9347 cat >>conftest.$ac_ext <<_ACEOF
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getc_unlocked is declared" >&5
6873 $as_echo_n "checking whether getc_unlocked is declared... " >&6; }
6874 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then :
6875 $as_echo_n "(cached) " >&6
6876 else
6877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93486878 /* end confdefs.h. */
93496879 #include <stdio.h>
93506880 int
93596889 return 0;
93606890 }
93616891 _ACEOF
9362 rm -f conftest.$ac_objext
9363 if { (ac_try="$ac_compile"
9364 case "(($ac_try" in
9365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9366 *) ac_try_echo=$ac_try;;
9367 esac
9368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9369 (eval "$ac_compile") 2>conftest.er1
9370 ac_status=$?
9371 grep -v '^ *+' conftest.er1 >conftest.err
9372 rm -f conftest.er1
9373 cat conftest.err >&5
9374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9375 (exit $ac_status); } && {
9376 test -z "$ac_c_werror_flag" ||
9377 test ! -s conftest.err
9378 } && test -s conftest.$ac_objext; then
6892 if ac_fn_c_try_compile "$LINENO"; then :
93796893 ac_cv_have_decl_getc_unlocked=yes
93806894 else
9381 echo "$as_me: failed program was:" >&5
9382 sed 's/^/| /' conftest.$ac_ext >&5
9383
9384 ac_cv_have_decl_getc_unlocked=no
9385 fi
9386
6895 ac_cv_have_decl_getc_unlocked=no
6896 fi
93876897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93886898 fi
9389 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
9390 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6; }
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_getc_unlocked" >&5
6900 $as_echo "$ac_cv_have_decl_getc_unlocked" >&6; }
93916901 if test $ac_cv_have_decl_getc_unlocked = yes; then
93926902 gt_value=1
93936903 else
94546964 done
94556965
94566966
9457 { echo "$as_me:$LINENO: checking for iconv" >&5
9458 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
9459 if test "${am_cv_func_iconv+set}" = set; then
9460 echo $ECHO_N "(cached) $ECHO_C" >&6
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6968 $as_echo_n "checking for iconv... " >&6; }
6969 if test "${am_cv_func_iconv+set}" = set; then :
6970 $as_echo_n "(cached) " >&6
94616971 else
94626972
94636973 am_cv_func_iconv="no, consider installing GNU libiconv"
94646974 am_cv_lib_iconv=no
9465 cat >conftest.$ac_ext <<_ACEOF
9466 /* confdefs.h. */
9467 _ACEOF
9468 cat confdefs.h >>conftest.$ac_ext
9469 cat >>conftest.$ac_ext <<_ACEOF
6975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94706976 /* end confdefs.h. */
94716977 #include <stdlib.h>
94726978 #include <iconv.h>
94806986 return 0;
94816987 }
94826988 _ACEOF
9483 rm -f conftest.$ac_objext conftest$ac_exeext
9484 if { (ac_try="$ac_link"
9485 case "(($ac_try" in
9486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9487 *) ac_try_echo=$ac_try;;
9488 esac
9489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9490 (eval "$ac_link") 2>conftest.er1
9491 ac_status=$?
9492 grep -v '^ *+' conftest.er1 >conftest.err
9493 rm -f conftest.er1
9494 cat conftest.err >&5
9495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9496 (exit $ac_status); } && {
9497 test -z "$ac_c_werror_flag" ||
9498 test ! -s conftest.err
9499 } && test -s conftest$ac_exeext &&
9500 $as_test_x conftest$ac_exeext; then
6989 if ac_fn_c_try_link "$LINENO"; then :
95016990 am_cv_func_iconv=yes
9502 else
9503 echo "$as_me: failed program was:" >&5
9504 sed 's/^/| /' conftest.$ac_ext >&5
9505
9506
9507 fi
9508
9509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9510 conftest$ac_exeext conftest.$ac_ext
6991 fi
6992 rm -f core conftest.err conftest.$ac_objext \
6993 conftest$ac_exeext conftest.$ac_ext
95116994 if test "$am_cv_func_iconv" != yes; then
95126995 am_save_LIBS="$LIBS"
95136996 LIBS="$LIBS $LIBICONV"
9514 cat >conftest.$ac_ext <<_ACEOF
9515 /* confdefs.h. */
9516 _ACEOF
9517 cat confdefs.h >>conftest.$ac_ext
9518 cat >>conftest.$ac_ext <<_ACEOF
6997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95196998 /* end confdefs.h. */
95206999 #include <stdlib.h>
95217000 #include <iconv.h>
95297008 return 0;
95307009 }
95317010 _ACEOF
9532 rm -f conftest.$ac_objext conftest$ac_exeext
9533 if { (ac_try="$ac_link"
9534 case "(($ac_try" in
9535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9536 *) ac_try_echo=$ac_try;;
9537 esac
9538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9539 (eval "$ac_link") 2>conftest.er1
9540 ac_status=$?
9541 grep -v '^ *+' conftest.er1 >conftest.err
9542 rm -f conftest.er1
9543 cat conftest.err >&5
9544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545 (exit $ac_status); } && {
9546 test -z "$ac_c_werror_flag" ||
9547 test ! -s conftest.err
9548 } && test -s conftest$ac_exeext &&
9549 $as_test_x conftest$ac_exeext; then
7011 if ac_fn_c_try_link "$LINENO"; then :
95507012 am_cv_lib_iconv=yes
95517013 am_cv_func_iconv=yes
9552 else
9553 echo "$as_me: failed program was:" >&5
9554 sed 's/^/| /' conftest.$ac_ext >&5
9555
9556
9557 fi
9558
9559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9560 conftest$ac_exeext conftest.$ac_ext
7014 fi
7015 rm -f core conftest.err conftest.$ac_objext \
7016 conftest$ac_exeext conftest.$ac_ext
95617017 LIBS="$am_save_LIBS"
95627018 fi
95637019
95647020 fi
9565 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
9566 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
7022 $as_echo "$am_cv_func_iconv" >&6; }
95677023 if test "$am_cv_func_iconv" = yes; then
95687024
9569 cat >>confdefs.h <<\_ACEOF
9570 #define HAVE_ICONV 1
9571 _ACEOF
7025 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
95727026
95737027 fi
95747028 if test "$am_cv_lib_iconv" = yes; then
9575 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
9576 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
9577 { echo "$as_me:$LINENO: result: $LIBICONV" >&5
9578 echo "${ECHO_T}$LIBICONV" >&6; }
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
7030 $as_echo_n "checking how to link with libiconv... " >&6; }
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
7032 $as_echo "$LIBICONV" >&6; }
95797033 else
95807034 CPPFLAGS="$am_save_CPPFLAGS"
95817035 LIBICONV=
95857039
95867040
95877041 if test "$am_cv_func_iconv" = yes; then
9588 { echo "$as_me:$LINENO: checking for iconv declaration" >&5
9589 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; }
9590 if test "${am_cv_proto_iconv+set}" = set; then
9591 echo $ECHO_N "(cached) $ECHO_C" >&6
9592 else
9593
9594 cat >conftest.$ac_ext <<_ACEOF
9595 /* confdefs.h. */
9596 _ACEOF
9597 cat confdefs.h >>conftest.$ac_ext
9598 cat >>conftest.$ac_ext <<_ACEOF
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
7043 $as_echo_n "checking for iconv declaration... " >&6; }
7044 if test "${am_cv_proto_iconv+set}" = set; then :
7045 $as_echo_n "(cached) " >&6
7046 else
7047
7048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95997049 /* end confdefs.h. */
96007050
96017051 #include <stdlib.h>
96187068 return 0;
96197069 }
96207070 _ACEOF
9621 rm -f conftest.$ac_objext
9622 if { (ac_try="$ac_compile"
9623 case "(($ac_try" in
9624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9625 *) ac_try_echo=$ac_try;;
9626 esac
9627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9628 (eval "$ac_compile") 2>conftest.er1
9629 ac_status=$?
9630 grep -v '^ *+' conftest.er1 >conftest.err
9631 rm -f conftest.er1
9632 cat conftest.err >&5
9633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9634 (exit $ac_status); } && {
9635 test -z "$ac_c_werror_flag" ||
9636 test ! -s conftest.err
9637 } && test -s conftest.$ac_objext; then
7071 if ac_fn_c_try_compile "$LINENO"; then :
96387072 am_cv_proto_iconv_arg1=""
96397073 else
9640 echo "$as_me: failed program was:" >&5
9641 sed 's/^/| /' conftest.$ac_ext >&5
9642
9643 am_cv_proto_iconv_arg1="const"
9644 fi
9645
7074 am_cv_proto_iconv_arg1="const"
7075 fi
96467076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
96477077 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
96487078 fi
96497079
96507080 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
9651 { echo "$as_me:$LINENO: result: ${ac_t:-
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
96527082 }$am_cv_proto_iconv" >&5
9653 echo "${ECHO_T}${ac_t:-
7083 $as_echo "${ac_t:-
96547084 }$am_cv_proto_iconv" >&6; }
96557085
96567086 cat >>confdefs.h <<_ACEOF
96607090 fi
96617091
96627092
9663 { echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
9664 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; }
9665 if test "${am_cv_langinfo_codeset+set}" = set; then
9666 echo $ECHO_N "(cached) $ECHO_C" >&6
9667 else
9668 cat >conftest.$ac_ext <<_ACEOF
9669 /* confdefs.h. */
9670 _ACEOF
9671 cat confdefs.h >>conftest.$ac_ext
9672 cat >>conftest.$ac_ext <<_ACEOF
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
7094 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
7095 if test "${am_cv_langinfo_codeset+set}" = set; then :
7096 $as_echo_n "(cached) " >&6
7097 else
7098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
96737099 /* end confdefs.h. */
96747100 #include <langinfo.h>
96757101 int
96807106 return 0;
96817107 }
96827108 _ACEOF
9683 rm -f conftest.$ac_objext conftest$ac_exeext
9684 if { (ac_try="$ac_link"
9685 case "(($ac_try" in
9686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9687 *) ac_try_echo=$ac_try;;
9688 esac
9689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9690 (eval "$ac_link") 2>conftest.er1
9691 ac_status=$?
9692 grep -v '^ *+' conftest.er1 >conftest.err
9693 rm -f conftest.er1
9694 cat conftest.err >&5
9695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696 (exit $ac_status); } && {
9697 test -z "$ac_c_werror_flag" ||
9698 test ! -s conftest.err
9699 } && test -s conftest$ac_exeext &&
9700 $as_test_x conftest$ac_exeext; then
7109 if ac_fn_c_try_link "$LINENO"; then :
97017110 am_cv_langinfo_codeset=yes
97027111 else
9703 echo "$as_me: failed program was:" >&5
9704 sed 's/^/| /' conftest.$ac_ext >&5
9705
9706 am_cv_langinfo_codeset=no
9707 fi
9708
9709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9710 conftest$ac_exeext conftest.$ac_ext
9711
9712 fi
9713 { echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
9714 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6; }
7112 am_cv_langinfo_codeset=no
7113 fi
7114 rm -f core conftest.err conftest.$ac_objext \
7115 conftest$ac_exeext conftest.$ac_ext
7116
7117 fi
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
7119 $as_echo "$am_cv_langinfo_codeset" >&6; }
97157120 if test $am_cv_langinfo_codeset = yes; then
97167121
9717 cat >>confdefs.h <<\_ACEOF
9718 #define HAVE_LANGINFO_CODESET 1
9719 _ACEOF
7122 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
97207123
97217124 fi
97227125
97237126 if test $ac_cv_header_locale_h = yes; then
97247127
9725 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
9726 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
9727 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
9728 echo $ECHO_N "(cached) $ECHO_C" >&6
9729 else
9730 cat >conftest.$ac_ext <<_ACEOF
9731 /* confdefs.h. */
9732 _ACEOF
9733 cat confdefs.h >>conftest.$ac_ext
9734 cat >>conftest.$ac_ext <<_ACEOF
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
7129 $as_echo_n "checking for LC_MESSAGES... " >&6; }
7130 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
7131 $as_echo_n "(cached) " >&6
7132 else
7133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
97357134 /* end confdefs.h. */
97367135 #include <locale.h>
97377136 int
97427141 return 0;
97437142 }
97447143 _ACEOF
9745 rm -f conftest.$ac_objext conftest$ac_exeext
9746 if { (ac_try="$ac_link"
9747 case "(($ac_try" in
9748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9749 *) ac_try_echo=$ac_try;;
9750 esac
9751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9752 (eval "$ac_link") 2>conftest.er1
9753 ac_status=$?
9754 grep -v '^ *+' conftest.er1 >conftest.err
9755 rm -f conftest.er1
9756 cat conftest.err >&5
9757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9758 (exit $ac_status); } && {
9759 test -z "$ac_c_werror_flag" ||
9760 test ! -s conftest.err
9761 } && test -s conftest$ac_exeext &&
9762 $as_test_x conftest$ac_exeext; then
7144 if ac_fn_c_try_link "$LINENO"; then :
97637145 am_cv_val_LC_MESSAGES=yes
97647146 else
9765 echo "$as_me: failed program was:" >&5
9766 sed 's/^/| /' conftest.$ac_ext >&5
9767
9768 am_cv_val_LC_MESSAGES=no
9769 fi
9770
9771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9772 conftest$ac_exeext conftest.$ac_ext
9773 fi
9774 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
9775 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
7147 am_cv_val_LC_MESSAGES=no
7148 fi
7149 rm -f core conftest.err conftest.$ac_objext \
7150 conftest$ac_exeext conftest.$ac_ext
7151 fi
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
7153 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
97767154 if test $am_cv_val_LC_MESSAGES = yes; then
97777155
9778 cat >>confdefs.h <<\_ACEOF
9779 #define HAVE_LC_MESSAGES 1
9780 _ACEOF
7156 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
97817157
97827158 fi
97837159
97877163 do
97887164 # Extract the first word of "$ac_prog", so it can be a program name with args.
97897165 set dummy $ac_prog; ac_word=$2
9790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9792 if test "${ac_cv_prog_INTLBISON+set}" = set; then
9793 echo $ECHO_N "(cached) $ECHO_C" >&6
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7167 $as_echo_n "checking for $ac_word... " >&6; }
7168 if test "${ac_cv_prog_INTLBISON+set}" = set; then :
7169 $as_echo_n "(cached) " >&6
97947170 else
97957171 if test -n "$INTLBISON"; then
97967172 ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
98007176 do
98017177 IFS=$as_save_IFS
98027178 test -z "$as_dir" && as_dir=.
9803 for ac_exec_ext in '' $ac_executable_extensions; do
7179 for ac_exec_ext in '' $ac_executable_extensions; do
98047180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
98057181 ac_cv_prog_INTLBISON="$ac_prog"
9806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
98077183 break 2
98087184 fi
98097185 done
9810 done
7186 done
98117187 IFS=$as_save_IFS
98127188
98137189 fi
98147190 fi
98157191 INTLBISON=$ac_cv_prog_INTLBISON
98167192 if test -n "$INTLBISON"; then
9817 { echo "$as_me:$LINENO: result: $INTLBISON" >&5
9818 echo "${ECHO_T}$INTLBISON" >&6; }
9819 else
9820 { echo "$as_me:$LINENO: result: no" >&5
9821 echo "${ECHO_T}no" >&6; }
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
7194 $as_echo "$INTLBISON" >&6; }
7195 else
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7197 $as_echo "no" >&6; }
98227198 fi
98237199
98247200
98287204 if test -z "$INTLBISON"; then
98297205 ac_verc_fail=yes
98307206 else
9831 { echo "$as_me:$LINENO: checking version of bison" >&5
9832 echo $ECHO_N "checking version of bison... $ECHO_C" >&6; }
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
7208 $as_echo_n "checking version of bison... " >&6; }
98337209 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
98347210 case $ac_prog_version in
98357211 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
98377213 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
98387214 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
98397215 esac
9840 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
9841 echo "${ECHO_T}$ac_prog_version" >&6; }
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
7217 $as_echo "$ac_prog_version" >&6; }
98427218 fi
98437219 if test $ac_verc_fail = yes; then
98447220 INTLBISON=:
98597235
98607236
98617237
9862 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
9863 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
7239 $as_echo_n "checking whether NLS is requested... " >&6; }
98647240 # Check whether --enable-nls was given.
9865 if test "${enable_nls+set}" = set; then
7241 if test "${enable_nls+set}" = set; then :
98667242 enableval=$enable_nls; USE_NLS=$enableval
98677243 else
98687244 USE_NLS=yes
98697245 fi
98707246
9871 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
9872 echo "${ECHO_T}$USE_NLS" >&6; }
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7248 $as_echo "$USE_NLS" >&6; }
98737249
98747250
98757251
98847260 if test "$USE_NLS" = "yes"; then
98857261 gt_use_preinstalled_gnugettext=no
98867262
9887 { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
9888 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
7264 $as_echo_n "checking whether included gettext is requested... " >&6; }
98897265
98907266 # Check whether --with-included-gettext was given.
9891 if test "${with_included_gettext+set}" = set; then
7267 if test "${with_included_gettext+set}" = set; then :
98927268 withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
98937269 else
98947270 nls_cv_force_use_gnu_gettext=no
98957271 fi
98967272
9897 { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
9898 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
7274 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
98997275
99007276 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
99017277 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
99057281
99067282
99077283
9908 { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
9909 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
9910 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
9911 echo $ECHO_N "(cached) $ECHO_C" >&6
9912 else
9913 cat >conftest.$ac_ext <<_ACEOF
9914 /* confdefs.h. */
9915 _ACEOF
9916 cat confdefs.h >>conftest.$ac_ext
9917 cat >>conftest.$ac_ext <<_ACEOF
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
7285 $as_echo_n "checking for GNU gettext in libc... " >&6; }
7286 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then :
7287 $as_echo_n "(cached) " >&6
7288 else
7289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
99187290 /* end confdefs.h. */
99197291 #include <libintl.h>
99207292 extern int _nl_msg_cat_cntr;
99287300 return 0;
99297301 }
99307302 _ACEOF
9931 rm -f conftest.$ac_objext conftest$ac_exeext
9932 if { (ac_try="$ac_link"
9933 case "(($ac_try" in
9934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9935 *) ac_try_echo=$ac_try;;
9936 esac
9937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9938 (eval "$ac_link") 2>conftest.er1
9939 ac_status=$?
9940 grep -v '^ *+' conftest.er1 >conftest.err
9941 rm -f conftest.er1
9942 cat conftest.err >&5
9943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9944 (exit $ac_status); } && {
9945 test -z "$ac_c_werror_flag" ||
9946 test ! -s conftest.err
9947 } && test -s conftest$ac_exeext &&
9948 $as_test_x conftest$ac_exeext; then
7303 if ac_fn_c_try_link "$LINENO"; then :
99497304 gt_cv_func_gnugettext1_libc=yes
99507305 else
9951 echo "$as_me: failed program was:" >&5
9952 sed 's/^/| /' conftest.$ac_ext >&5
9953
9954 gt_cv_func_gnugettext1_libc=no
9955 fi
9956
9957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9958 conftest$ac_exeext conftest.$ac_ext
9959 fi
9960 { echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
9961 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6; }
7306 gt_cv_func_gnugettext1_libc=no
7307 fi
7308 rm -f core conftest.err conftest.$ac_objext \
7309 conftest$ac_exeext conftest.$ac_ext
7310 fi
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
7312 $as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
99627313
99637314 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
99647315
99797330
99807331
99817332 # Check whether --with-libintl-prefix was given.
9982 if test "${with_libintl_prefix+set}" = set; then
7333 if test "${with_libintl_prefix+set}" = set; then :
99837334 withval=$with_libintl_prefix;
99847335 if test "X$withval" = "Xno"; then
99857336 use_additional=no
103407691 done
103417692 fi
103427693
10343 { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
10344 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
10345 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
10346 echo $ECHO_N "(cached) $ECHO_C" >&6
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
7695 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
7696 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then :
7697 $as_echo_n "(cached) " >&6
103477698 else
103487699 gt_save_CPPFLAGS="$CPPFLAGS"
103497700 CPPFLAGS="$CPPFLAGS $INCINTL"
103507701 gt_save_LIBS="$LIBS"
103517702 LIBS="$LIBS $LIBINTL"
10352 cat >conftest.$ac_ext <<_ACEOF
10353 /* confdefs.h. */
10354 _ACEOF
10355 cat confdefs.h >>conftest.$ac_ext
10356 cat >>conftest.$ac_ext <<_ACEOF
7703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
103577704 /* end confdefs.h. */
103587705 #include <libintl.h>
103597706 extern int _nl_msg_cat_cntr;
103717718 return 0;
103727719 }
103737720 _ACEOF
10374 rm -f conftest.$ac_objext conftest$ac_exeext
10375 if { (ac_try="$ac_link"
10376 case "(($ac_try" in
10377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10378 *) ac_try_echo=$ac_try;;
10379 esac
10380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10381 (eval "$ac_link") 2>conftest.er1
10382 ac_status=$?
10383 grep -v '^ *+' conftest.er1 >conftest.err
10384 rm -f conftest.er1
10385 cat conftest.err >&5
10386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387 (exit $ac_status); } && {
10388 test -z "$ac_c_werror_flag" ||
10389 test ! -s conftest.err
10390 } && test -s conftest$ac_exeext &&
10391 $as_test_x conftest$ac_exeext; then
7721 if ac_fn_c_try_link "$LINENO"; then :
103927722 gt_cv_func_gnugettext1_libintl=yes
103937723 else
10394 echo "$as_me: failed program was:" >&5
10395 sed 's/^/| /' conftest.$ac_ext >&5
10396
10397 gt_cv_func_gnugettext1_libintl=no
10398 fi
10399
10400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10401 conftest$ac_exeext conftest.$ac_ext
7724 gt_cv_func_gnugettext1_libintl=no
7725 fi
7726 rm -f core conftest.err conftest.$ac_objext \
7727 conftest$ac_exeext conftest.$ac_ext
104027728 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
104037729 LIBS="$LIBS $LIBICONV"
10404 cat >conftest.$ac_ext <<_ACEOF
10405 /* confdefs.h. */
10406 _ACEOF
10407 cat confdefs.h >>conftest.$ac_ext
10408 cat >>conftest.$ac_ext <<_ACEOF
7730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
104097731 /* end confdefs.h. */
104107732 #include <libintl.h>
104117733 extern int _nl_msg_cat_cntr;
104237745 return 0;
104247746 }
104257747 _ACEOF
10426 rm -f conftest.$ac_objext conftest$ac_exeext
10427 if { (ac_try="$ac_link"
10428 case "(($ac_try" in
10429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10430 *) ac_try_echo=$ac_try;;
10431 esac
10432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10433 (eval "$ac_link") 2>conftest.er1
10434 ac_status=$?
10435 grep -v '^ *+' conftest.er1 >conftest.err
10436 rm -f conftest.er1
10437 cat conftest.err >&5
10438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10439 (exit $ac_status); } && {
10440 test -z "$ac_c_werror_flag" ||
10441 test ! -s conftest.err
10442 } && test -s conftest$ac_exeext &&
10443 $as_test_x conftest$ac_exeext; then
7748 if ac_fn_c_try_link "$LINENO"; then :
104447749 LIBINTL="$LIBINTL $LIBICONV"
104457750 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
104467751 gt_cv_func_gnugettext1_libintl=yes
104477752
10448 else
10449 echo "$as_me: failed program was:" >&5
10450 sed 's/^/| /' conftest.$ac_ext >&5
10451
10452
10453 fi
10454
10455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10456 conftest$ac_exeext conftest.$ac_ext
7753 fi
7754 rm -f core conftest.err conftest.$ac_objext \
7755 conftest$ac_exeext conftest.$ac_ext
104577756 fi
104587757 CPPFLAGS="$gt_save_CPPFLAGS"
104597758 LIBS="$gt_save_LIBS"
104607759 fi
10461 { echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
10462 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6; }
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
7761 $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
104637762 fi
104647763
104657764 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
104967795 if test "$gt_use_preinstalled_gnugettext" = "yes" \
104977796 || test "$nls_cv_use_gnu_gettext" = "yes"; then
104987797
10499 cat >>confdefs.h <<\_ACEOF
10500 #define ENABLE_NLS 1
10501 _ACEOF
7798 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
105027799
105037800 else
105047801 USE_NLS=no
105057802 fi
105067803 fi
105077804
10508 { echo "$as_me:$LINENO: checking whether to use NLS" >&5
10509 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; }
10510 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
10511 echo "${ECHO_T}$USE_NLS" >&6; }
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
7806 $as_echo_n "checking whether to use NLS... " >&6; }
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7808 $as_echo "$USE_NLS" >&6; }
105127809 if test "$USE_NLS" = "yes"; then
10513 { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
10514 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
7811 $as_echo_n "checking where the gettext function comes from... " >&6; }
105157812 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
105167813 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
105177814 gt_source="external libintl"
105217818 else
105227819 gt_source="included intl directory"
105237820 fi
10524 { echo "$as_me:$LINENO: result: $gt_source" >&5
10525 echo "${ECHO_T}$gt_source" >&6; }
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
7822 $as_echo "$gt_source" >&6; }
105267823 fi
105277824
105287825 if test "$USE_NLS" = "yes"; then
105297826
105307827 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
105317828 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
10532 { echo "$as_me:$LINENO: checking how to link with libintl" >&5
10533 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
10534 { echo "$as_me:$LINENO: result: $LIBINTL" >&5
10535 echo "${ECHO_T}$LIBINTL" >&6; }
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
7830 $as_echo_n "checking how to link with libintl... " >&6; }
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
7832 $as_echo "$LIBINTL" >&6; }
105367833
105377834 for element in $INCINTL; do
105387835 haveit=
105597856 fi
105607857
105617858
10562 cat >>confdefs.h <<\_ACEOF
10563 #define HAVE_GETTEXT 1
10564 _ACEOF
10565
10566
10567 cat >>confdefs.h <<\_ACEOF
10568 #define HAVE_DCGETTEXT 1
10569 _ACEOF
7859 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
7860
7861
7862 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
105707863
105717864 fi
105727865
106187911 if test -n "$ac_tool_prefix"; then
106197912 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
106207913 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10623 if test "${ac_cv_prog_CC+set}" = set; then
10624 echo $ECHO_N "(cached) $ECHO_C" >&6
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7915 $as_echo_n "checking for $ac_word... " >&6; }
7916 if test "${ac_cv_prog_CC+set}" = set; then :
7917 $as_echo_n "(cached) " >&6
106257918 else
106267919 if test -n "$CC"; then
106277920 ac_cv_prog_CC="$CC" # Let the user override the test.
106317924 do
106327925 IFS=$as_save_IFS
106337926 test -z "$as_dir" && as_dir=.
10634 for ac_exec_ext in '' $ac_executable_extensions; do
7927 for ac_exec_ext in '' $ac_executable_extensions; do
106357928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
106367929 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
106387931 break 2
106397932 fi
106407933 done
10641 done
7934 done
106427935 IFS=$as_save_IFS
106437936
106447937 fi
106457938 fi
106467939 CC=$ac_cv_prog_CC
106477940 if test -n "$CC"; then
10648 { echo "$as_me:$LINENO: result: $CC" >&5
10649 echo "${ECHO_T}$CC" >&6; }
10650 else
10651 { echo "$as_me:$LINENO: result: no" >&5
10652 echo "${ECHO_T}no" >&6; }
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7942 $as_echo "$CC" >&6; }
7943 else
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7945 $as_echo "no" >&6; }
106537946 fi
106547947
106557948
106587951 ac_ct_CC=$CC
106597952 # Extract the first word of "gcc", so it can be a program name with args.
106607953 set dummy gcc; ac_word=$2
10661 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10663 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10664 echo $ECHO_N "(cached) $ECHO_C" >&6
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7955 $as_echo_n "checking for $ac_word... " >&6; }
7956 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
7957 $as_echo_n "(cached) " >&6
106657958 else
106667959 if test -n "$ac_ct_CC"; then
106677960 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
106717964 do
106727965 IFS=$as_save_IFS
106737966 test -z "$as_dir" && as_dir=.
10674 for ac_exec_ext in '' $ac_executable_extensions; do
7967 for ac_exec_ext in '' $ac_executable_extensions; do
106757968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
106767969 ac_cv_prog_ac_ct_CC="gcc"
10677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
106787971 break 2
106797972 fi
106807973 done
10681 done
7974 done
106827975 IFS=$as_save_IFS
106837976
106847977 fi
106857978 fi
106867979 ac_ct_CC=$ac_cv_prog_ac_ct_CC
106877980 if test -n "$ac_ct_CC"; then
10688 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10689 echo "${ECHO_T}$ac_ct_CC" >&6; }
10690 else
10691 { echo "$as_me:$LINENO: result: no" >&5
10692 echo "${ECHO_T}no" >&6; }
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
7982 $as_echo "$ac_ct_CC" >&6; }
7983 else
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7985 $as_echo "no" >&6; }
106937986 fi
106947987
106957988 if test "x$ac_ct_CC" = x; then
106977990 else
106987991 case $cross_compiling:$ac_tool_warned in
106997992 yes:)
10700 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10701 whose name does not start with the host triplet. If you think this
10702 configuration is useful to you, please write to autoconf@gnu.org." >&5
10703 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10704 whose name does not start with the host triplet. If you think this
10705 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
107067995 ac_tool_warned=yes ;;
107077996 esac
107087997 CC=$ac_ct_CC
107158004 if test -n "$ac_tool_prefix"; then
107168005 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
107178006 set dummy ${ac_tool_prefix}cc; ac_word=$2
10718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10720 if test "${ac_cv_prog_CC+set}" = set; then
10721 echo $ECHO_N "(cached) $ECHO_C" >&6
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8008 $as_echo_n "checking for $ac_word... " >&6; }
8009 if test "${ac_cv_prog_CC+set}" = set; then :
8010 $as_echo_n "(cached) " >&6
107228011 else
107238012 if test -n "$CC"; then
107248013 ac_cv_prog_CC="$CC" # Let the user override the test.
107288017 do
107298018 IFS=$as_save_IFS
107308019 test -z "$as_dir" && as_dir=.
10731 for ac_exec_ext in '' $ac_executable_extensions; do
8020 for ac_exec_ext in '' $ac_executable_extensions; do
107328021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
107338022 ac_cv_prog_CC="${ac_tool_prefix}cc"
10734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
107358024 break 2
107368025 fi
107378026 done
10738 done
8027 done
107398028 IFS=$as_save_IFS
107408029
107418030 fi
107428031 fi
107438032 CC=$ac_cv_prog_CC
107448033 if test -n "$CC"; then
10745 { echo "$as_me:$LINENO: result: $CC" >&5
10746 echo "${ECHO_T}$CC" >&6; }
10747 else
10748 { echo "$as_me:$LINENO: result: no" >&5
10749 echo "${ECHO_T}no" >&6; }
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8035 $as_echo "$CC" >&6; }
8036 else
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8038 $as_echo "no" >&6; }
107508039 fi
107518040
107528041
107558044 if test -z "$CC"; then
107568045 # Extract the first word of "cc", so it can be a program name with args.
107578046 set dummy cc; ac_word=$2
10758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10760 if test "${ac_cv_prog_CC+set}" = set; then
10761 echo $ECHO_N "(cached) $ECHO_C" >&6
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8048 $as_echo_n "checking for $ac_word... " >&6; }
8049 if test "${ac_cv_prog_CC+set}" = set; then :
8050 $as_echo_n "(cached) " >&6
107628051 else
107638052 if test -n "$CC"; then
107648053 ac_cv_prog_CC="$CC" # Let the user override the test.
107698058 do
107708059 IFS=$as_save_IFS
107718060 test -z "$as_dir" && as_dir=.
10772 for ac_exec_ext in '' $ac_executable_extensions; do
8061 for ac_exec_ext in '' $ac_executable_extensions; do
107738062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
107748063 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
107758064 ac_prog_rejected=yes
107768065 continue
107778066 fi
107788067 ac_cv_prog_CC="cc"
10779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
107808069 break 2
107818070 fi
107828071 done
10783 done
8072 done
107848073 IFS=$as_save_IFS
107858074
107868075 if test $ac_prog_rejected = yes; then
107998088 fi
108008089 CC=$ac_cv_prog_CC
108018090 if test -n "$CC"; then
10802 { echo "$as_me:$LINENO: result: $CC" >&5
10803 echo "${ECHO_T}$CC" >&6; }
10804 else
10805 { echo "$as_me:$LINENO: result: no" >&5
10806 echo "${ECHO_T}no" >&6; }
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8092 $as_echo "$CC" >&6; }
8093 else
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8095 $as_echo "no" >&6; }
108078096 fi
108088097
108098098
108148103 do
108158104 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
108168105 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10819 if test "${ac_cv_prog_CC+set}" = set; then
10820 echo $ECHO_N "(cached) $ECHO_C" >&6
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8107 $as_echo_n "checking for $ac_word... " >&6; }
8108 if test "${ac_cv_prog_CC+set}" = set; then :
8109 $as_echo_n "(cached) " >&6
108218110 else
108228111 if test -n "$CC"; then
108238112 ac_cv_prog_CC="$CC" # Let the user override the test.
108278116 do
108288117 IFS=$as_save_IFS
108298118 test -z "$as_dir" && as_dir=.
10830 for ac_exec_ext in '' $ac_executable_extensions; do
8119 for ac_exec_ext in '' $ac_executable_extensions; do
108318120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
108328121 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
108348123 break 2
108358124 fi
108368125 done
10837 done
8126 done
108388127 IFS=$as_save_IFS
108398128
108408129 fi
108418130 fi
108428131 CC=$ac_cv_prog_CC
108438132 if test -n "$CC"; then
10844 { echo "$as_me:$LINENO: result: $CC" >&5
10845 echo "${ECHO_T}$CC" >&6; }
10846 else
10847 { echo "$as_me:$LINENO: result: no" >&5
10848 echo "${ECHO_T}no" >&6; }
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8134 $as_echo "$CC" >&6; }
8135 else
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8137 $as_echo "no" >&6; }
108498138 fi
108508139
108518140
108588147 do
108598148 # Extract the first word of "$ac_prog", so it can be a program name with args.
108608149 set dummy $ac_prog; ac_word=$2
10861 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10863 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10864 echo $ECHO_N "(cached) $ECHO_C" >&6
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8151 $as_echo_n "checking for $ac_word... " >&6; }
8152 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
8153 $as_echo_n "(cached) " >&6
108658154 else
108668155 if test -n "$ac_ct_CC"; then
108678156 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
108718160 do
108728161 IFS=$as_save_IFS
108738162 test -z "$as_dir" && as_dir=.
10874 for ac_exec_ext in '' $ac_executable_extensions; do
8163 for ac_exec_ext in '' $ac_executable_extensions; do
108758164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
108768165 ac_cv_prog_ac_ct_CC="$ac_prog"
10877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
108788167 break 2
108798168 fi
108808169 done
10881 done
8170 done
108828171 IFS=$as_save_IFS
108838172
108848173 fi
108858174 fi
108868175 ac_ct_CC=$ac_cv_prog_ac_ct_CC
108878176 if test -n "$ac_ct_CC"; then
10888 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10889 echo "${ECHO_T}$ac_ct_CC" >&6; }
10890 else
10891 { echo "$as_me:$LINENO: result: no" >&5
10892 echo "${ECHO_T}no" >&6; }
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
8178 $as_echo "$ac_ct_CC" >&6; }
8179 else
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8181 $as_echo "no" >&6; }
108938182 fi
108948183
108958184
109018190 else
109028191 case $cross_compiling:$ac_tool_warned in
109038192 yes:)
10904 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10905 whose name does not start with the host triplet. If you think this
10906 configuration is useful to you, please write to autoconf@gnu.org." >&5
10907 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10908 whose name does not start with the host triplet. If you think this
10909 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
109108195 ac_tool_warned=yes ;;
109118196 esac
109128197 CC=$ac_ct_CC
109168201 fi
109178202
109188203
10919 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10920 See \`config.log' for more details." >&5
10921 echo "$as_me: error: no acceptable C compiler found in \$PATH
10922 See \`config.log' for more details." >&2;}
10923 { (exit 1); exit 1; }; }
8204 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8206 as_fn_error "no acceptable C compiler found in \$PATH
8207 See \`config.log' for more details." "$LINENO" 5; }
109248208
109258209 # Provide some information about the compiler.
10926 echo "$as_me:$LINENO: checking for C compiler version" >&5
10927 ac_compiler=`set X $ac_compile; echo $2`
10928 { (ac_try="$ac_compiler --version >&5"
8210 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
8211 set X $ac_compile
8212 ac_compiler=$2
8213 for ac_option in --version -v -V -qversion; do
8214 { { ac_try="$ac_compiler $ac_option >&5"
109298215 case "(($ac_try" in
109308216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
109318217 *) ac_try_echo=$ac_try;;
109328218 esac
10933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10934 (eval "$ac_compiler --version >&5") 2>&5
8219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8220 $as_echo "$ac_try_echo"; } >&5
8221 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
109358222 ac_status=$?
10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937 (exit $ac_status); }
10938 { (ac_try="$ac_compiler -v >&5"
10939 case "(($ac_try" in
10940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10941 *) ac_try_echo=$ac_try;;
10942 esac
10943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10944 (eval "$ac_compiler -v >&5") 2>&5
10945 ac_status=$?
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); }
10948 { (ac_try="$ac_compiler -V >&5"
10949 case "(($ac_try" in
10950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10951 *) ac_try_echo=$ac_try;;
10952 esac
10953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10954 (eval "$ac_compiler -V >&5") 2>&5
10955 ac_status=$?
10956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957 (exit $ac_status); }
10958
10959 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10960 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
10961 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10962 echo $ECHO_N "(cached) $ECHO_C" >&6
10963 else
10964 cat >conftest.$ac_ext <<_ACEOF
10965 /* confdefs.h. */
10966 _ACEOF
10967 cat confdefs.h >>conftest.$ac_ext
10968 cat >>conftest.$ac_ext <<_ACEOF
8223 if test -s conftest.err; then
8224 sed '10a\
8225 ... rest of stderr output deleted ...
8226 10q' conftest.err >conftest.er1
8227 cat conftest.er1 >&5
8228 fi
8229 rm -f conftest.er1 conftest.err
8230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8231 test $ac_status = 0; }
8232 done
8233
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
8235 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
8236 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
8237 $as_echo_n "(cached) " >&6
8238 else
8239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
109698240 /* end confdefs.h. */
109708241
109718242 int
109798250 return 0;
109808251 }
109818252 _ACEOF
10982 rm -f conftest.$ac_objext
10983 if { (ac_try="$ac_compile"
10984 case "(($ac_try" in
10985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10986 *) ac_try_echo=$ac_try;;
10987 esac
10988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10989 (eval "$ac_compile") 2>conftest.er1
10990 ac_status=$?
10991 grep -v '^ *+' conftest.er1 >conftest.err
10992 rm -f conftest.er1
10993 cat conftest.err >&5
10994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995 (exit $ac_status); } && {
10996 test -z "$ac_c_werror_flag" ||
10997 test ! -s conftest.err
10998 } && test -s conftest.$ac_objext; then
8253 if ac_fn_c_try_compile "$LINENO"; then :
109998254 ac_compiler_gnu=yes
110008255 else
11001 echo "$as_me: failed program was:" >&5
11002 sed 's/^/| /' conftest.$ac_ext >&5
11003
11004 ac_compiler_gnu=no
11005 fi
11006
8256 ac_compiler_gnu=no
8257 fi
110078258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
110088259 ac_cv_c_compiler_gnu=$ac_compiler_gnu
110098260
110108261 fi
11011 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11012 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
11013 GCC=`test $ac_compiler_gnu = yes && echo yes`
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
8263 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
8264 if test $ac_compiler_gnu = yes; then
8265 GCC=yes
8266 else
8267 GCC=
8268 fi
110148269 ac_test_CFLAGS=${CFLAGS+set}
110158270 ac_save_CFLAGS=$CFLAGS
11016 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11017 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
11018 if test "${ac_cv_prog_cc_g+set}" = set; then
11019 echo $ECHO_N "(cached) $ECHO_C" >&6
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
8272 $as_echo_n "checking whether $CC accepts -g... " >&6; }
8273 if test "${ac_cv_prog_cc_g+set}" = set; then :
8274 $as_echo_n "(cached) " >&6
110208275 else
110218276 ac_save_c_werror_flag=$ac_c_werror_flag
110228277 ac_c_werror_flag=yes
110238278 ac_cv_prog_cc_g=no
110248279 CFLAGS="-g"
11025 cat >conftest.$ac_ext <<_ACEOF
11026 /* confdefs.h. */
11027 _ACEOF
11028 cat confdefs.h >>conftest.$ac_ext
11029 cat >>conftest.$ac_ext <<_ACEOF
8280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
110308281 /* end confdefs.h. */
110318282
110328283 int
110378288 return 0;
110388289 }
110398290 _ACEOF
11040 rm -f conftest.$ac_objext
11041 if { (ac_try="$ac_compile"
11042 case "(($ac_try" in
11043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11044 *) ac_try_echo=$ac_try;;
11045 esac
11046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11047 (eval "$ac_compile") 2>conftest.er1
11048 ac_status=$?
11049 grep -v '^ *+' conftest.er1 >conftest.err
11050 rm -f conftest.er1
11051 cat conftest.err >&5
11052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053 (exit $ac_status); } && {
11054 test -z "$ac_c_werror_flag" ||
11055 test ! -s conftest.err
11056 } && test -s conftest.$ac_objext; then
8291 if ac_fn_c_try_compile "$LINENO"; then :
110578292 ac_cv_prog_cc_g=yes
110588293 else
11059 echo "$as_me: failed program was:" >&5
11060 sed 's/^/| /' conftest.$ac_ext >&5
11061
11062 CFLAGS=""
11063 cat >conftest.$ac_ext <<_ACEOF
11064 /* confdefs.h. */
11065 _ACEOF
11066 cat confdefs.h >>conftest.$ac_ext
11067 cat >>conftest.$ac_ext <<_ACEOF
8294 CFLAGS=""
8295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
110688296 /* end confdefs.h. */
110698297
110708298 int
110758303 return 0;
110768304 }
110778305 _ACEOF
11078 rm -f conftest.$ac_objext
11079 if { (ac_try="$ac_compile"
11080 case "(($ac_try" in
11081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11082 *) ac_try_echo=$ac_try;;
11083 esac
11084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11085 (eval "$ac_compile") 2>conftest.er1
11086 ac_status=$?
11087 grep -v '^ *+' conftest.er1 >conftest.err
11088 rm -f conftest.er1
11089 cat conftest.err >&5
11090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11091 (exit $ac_status); } && {
11092 test -z "$ac_c_werror_flag" ||
11093 test ! -s conftest.err
11094 } && test -s conftest.$ac_objext; then
11095 :
11096 else
11097 echo "$as_me: failed program was:" >&5
11098 sed 's/^/| /' conftest.$ac_ext >&5
11099
11100 ac_c_werror_flag=$ac_save_c_werror_flag
8306 if ac_fn_c_try_compile "$LINENO"; then :
8307
8308 else
8309 ac_c_werror_flag=$ac_save_c_werror_flag
111018310 CFLAGS="-g"
11102 cat >conftest.$ac_ext <<_ACEOF
11103 /* confdefs.h. */
11104 _ACEOF
11105 cat confdefs.h >>conftest.$ac_ext
11106 cat >>conftest.$ac_ext <<_ACEOF
8311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111078312 /* end confdefs.h. */
111088313
111098314 int
111148319 return 0;
111158320 }
111168321 _ACEOF
11117 rm -f conftest.$ac_objext
11118 if { (ac_try="$ac_compile"
11119 case "(($ac_try" in
11120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11121 *) ac_try_echo=$ac_try;;
11122 esac
11123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11124 (eval "$ac_compile") 2>conftest.er1
11125 ac_status=$?
11126 grep -v '^ *+' conftest.er1 >conftest.err
11127 rm -f conftest.er1
11128 cat conftest.err >&5
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130 (exit $ac_status); } && {
11131 test -z "$ac_c_werror_flag" ||
11132 test ! -s conftest.err
11133 } && test -s conftest.$ac_objext; then
8322 if ac_fn_c_try_compile "$LINENO"; then :
111348323 ac_cv_prog_cc_g=yes
11135 else
11136 echo "$as_me: failed program was:" >&5
11137 sed 's/^/| /' conftest.$ac_ext >&5
11138
11139
11140 fi
11141
8324 fi
111428325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
111438326 fi
11144
111458327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
111468328 fi
11147
111488329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
111498330 ac_c_werror_flag=$ac_save_c_werror_flag
111508331 fi
11151 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11152 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
8333 $as_echo "$ac_cv_prog_cc_g" >&6; }
111538334 if test "$ac_test_CFLAGS" = set; then
111548335 CFLAGS=$ac_save_CFLAGS
111558336 elif test $ac_cv_prog_cc_g = yes; then
111658346 CFLAGS=
111668347 fi
111678348 fi
11168 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
11169 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
11170 if test "${ac_cv_prog_cc_c89+set}" = set; then
11171 echo $ECHO_N "(cached) $ECHO_C" >&6
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
8350 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
8351 if test "${ac_cv_prog_cc_c89+set}" = set; then :
8352 $as_echo_n "(cached) " >&6
111728353 else
111738354 ac_cv_prog_cc_c89=no
111748355 ac_save_CC=$CC
11175 cat >conftest.$ac_ext <<_ACEOF
11176 /* confdefs.h. */
11177 _ACEOF
11178 cat confdefs.h >>conftest.$ac_ext
11179 cat >>conftest.$ac_ext <<_ACEOF
8356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111808357 /* end confdefs.h. */
111818358 #include <stdarg.h>
111828359 #include <stdio.h>
112338410 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
112348411 do
112358412 CC="$ac_save_CC $ac_arg"
11236 rm -f conftest.$ac_objext
11237 if { (ac_try="$ac_compile"
11238 case "(($ac_try" in
11239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11240 *) ac_try_echo=$ac_try;;
11241 esac
11242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11243 (eval "$ac_compile") 2>conftest.er1
11244 ac_status=$?
11245 grep -v '^ *+' conftest.er1 >conftest.err
11246 rm -f conftest.er1
11247 cat conftest.err >&5
11248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249 (exit $ac_status); } && {
11250 test -z "$ac_c_werror_flag" ||
11251 test ! -s conftest.err
11252 } && test -s conftest.$ac_objext; then
8413 if ac_fn_c_try_compile "$LINENO"; then :
112538414 ac_cv_prog_cc_c89=$ac_arg
11254 else
11255 echo "$as_me: failed program was:" >&5
11256 sed 's/^/| /' conftest.$ac_ext >&5
11257
11258
11259 fi
11260
8415 fi
112618416 rm -f core conftest.err conftest.$ac_objext
112628417 test "x$ac_cv_prog_cc_c89" != "xno" && break
112638418 done
112688423 # AC_CACHE_VAL
112698424 case "x$ac_cv_prog_cc_c89" in
112708425 x)
11271 { echo "$as_me:$LINENO: result: none needed" >&5
11272 echo "${ECHO_T}none needed" >&6; } ;;
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
8427 $as_echo "none needed" >&6; } ;;
112738428 xno)
11274 { echo "$as_me:$LINENO: result: unsupported" >&5
11275 echo "${ECHO_T}unsupported" >&6; } ;;
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
8430 $as_echo "unsupported" >&6; } ;;
112768431 *)
112778432 CC="$CC $ac_cv_prog_cc_c89"
11278 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
11279 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
8434 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
112808435 esac
11281
8436 if test "x$ac_cv_prog_cc_c89" != xno; then :
8437
8438 fi
112828439
112838440 ac_ext=c
112848441 ac_cpp='$CPP $CPPFLAGS'
112898446 if test -n "$ac_tool_prefix"; then
112908447 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
112918448 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11294 if test "${ac_cv_prog_RANLIB+set}" = set; then
11295 echo $ECHO_N "(cached) $ECHO_C" >&6
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8450 $as_echo_n "checking for $ac_word... " >&6; }
8451 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8452 $as_echo_n "(cached) " >&6
112968453 else
112978454 if test -n "$RANLIB"; then
112988455 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
113028459 do
113038460 IFS=$as_save_IFS
113048461 test -z "$as_dir" && as_dir=.
11305 for ac_exec_ext in '' $ac_executable_extensions; do
8462 for ac_exec_ext in '' $ac_executable_extensions; do
113068463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
113078464 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
113098466 break 2
113108467 fi
113118468 done
11312 done
8469 done
113138470 IFS=$as_save_IFS
113148471
113158472 fi
113168473 fi
113178474 RANLIB=$ac_cv_prog_RANLIB
113188475 if test -n "$RANLIB"; then
11319 { echo "$as_me:$LINENO: result: $RANLIB" >&5
11320 echo "${ECHO_T}$RANLIB" >&6; }
11321 else
11322 { echo "$as_me:$LINENO: result: no" >&5
11323 echo "${ECHO_T}no" >&6; }
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8477 $as_echo "$RANLIB" >&6; }
8478 else
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8480 $as_echo "no" >&6; }
113248481 fi
113258482
113268483
113298486 ac_ct_RANLIB=$RANLIB
113308487 # Extract the first word of "ranlib", so it can be a program name with args.
113318488 set dummy ranlib; ac_word=$2
11332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11334 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11335 echo $ECHO_N "(cached) $ECHO_C" >&6
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8490 $as_echo_n "checking for $ac_word... " >&6; }
8491 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
8492 $as_echo_n "(cached) " >&6
113368493 else
113378494 if test -n "$ac_ct_RANLIB"; then
113388495 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
113428499 do
113438500 IFS=$as_save_IFS
113448501 test -z "$as_dir" && as_dir=.
11345 for ac_exec_ext in '' $ac_executable_extensions; do
8502 for ac_exec_ext in '' $ac_executable_extensions; do
113468503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
113478504 ac_cv_prog_ac_ct_RANLIB="ranlib"
11348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
113498506 break 2
113508507 fi
113518508 done
11352 done
8509 done
113538510 IFS=$as_save_IFS
113548511
113558512 fi
113568513 fi
113578514 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
113588515 if test -n "$ac_ct_RANLIB"; then
11359 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11360 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
11361 else
11362 { echo "$as_me:$LINENO: result: no" >&5
11363 echo "${ECHO_T}no" >&6; }
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8517 $as_echo "$ac_ct_RANLIB" >&6; }
8518 else
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8520 $as_echo "no" >&6; }
113648521 fi
113658522
113668523 if test "x$ac_ct_RANLIB" = x; then
113688525 else
113698526 case $cross_compiling:$ac_tool_warned in
113708527 yes:)
11371 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11372 whose name does not start with the host triplet. If you think this
11373 configuration is useful to you, please write to autoconf@gnu.org." >&5
11374 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11375 whose name does not start with the host triplet. If you think this
11376 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
113778530 ac_tool_warned=yes ;;
113788531 esac
113798532 RANLIB=$ac_ct_RANLIB
113848537
113858538
113868539
11387
11388 { echo "$as_me:$LINENO: checking for main in -lm" >&5
11389 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
11390 if test "${ac_cv_lib_m_main+set}" = set; then
11391 echo $ECHO_N "(cached) $ECHO_C" >&6
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
8541 $as_echo_n "checking for main in -lm... " >&6; }
8542 if test "${ac_cv_lib_m_main+set}" = set; then :
8543 $as_echo_n "(cached) " >&6
113928544 else
113938545 ac_check_lib_save_LIBS=$LIBS
113948546 LIBS="-lm $LIBS"
11395 cat >conftest.$ac_ext <<_ACEOF
11396 /* confdefs.h. */
11397 _ACEOF
11398 cat confdefs.h >>conftest.$ac_ext
11399 cat >>conftest.$ac_ext <<_ACEOF
8547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
114008548 /* end confdefs.h. */
114018549
114028550
114088556 return 0;
114098557 }
114108558 _ACEOF
11411 rm -f conftest.$ac_objext conftest$ac_exeext
11412 if { (ac_try="$ac_link"
11413 case "(($ac_try" in
11414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11415 *) ac_try_echo=$ac_try;;
11416 esac
11417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11418 (eval "$ac_link") 2>conftest.er1
11419 ac_status=$?
11420 grep -v '^ *+' conftest.er1 >conftest.err
11421 rm -f conftest.er1
11422 cat conftest.err >&5
11423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424 (exit $ac_status); } && {
11425 test -z "$ac_c_werror_flag" ||
11426 test ! -s conftest.err
11427 } && test -s conftest$ac_exeext &&
11428 $as_test_x conftest$ac_exeext; then
8559 if ac_fn_c_try_link "$LINENO"; then :
114298560 ac_cv_lib_m_main=yes
114308561 else
11431 echo "$as_me: failed program was:" >&5
11432 sed 's/^/| /' conftest.$ac_ext >&5
11433
11434 ac_cv_lib_m_main=no
11435 fi
11436
11437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11438 conftest$ac_exeext conftest.$ac_ext
8562 ac_cv_lib_m_main=no
8563 fi
8564 rm -f core conftest.err conftest.$ac_objext \
8565 conftest$ac_exeext conftest.$ac_ext
114398566 LIBS=$ac_check_lib_save_LIBS
114408567 fi
11441 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
11442 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
11443 if test $ac_cv_lib_m_main = yes; then
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
8569 $as_echo "$ac_cv_lib_m_main" >&6; }
8570 if test "x$ac_cv_lib_m_main" = x""yes; then :
114448571 cat >>confdefs.h <<_ACEOF
114458572 #define HAVE_LIBM 1
114468573 _ACEOF
114488575 LIBS="-lm $LIBS"
114498576
114508577 else
11451 { { echo "$as_me:$LINENO: error: lib math is needed" >&5
11452 echo "$as_me: error: lib math is needed" >&2;}
11453 { (exit 1); exit 1; }; }
11454 fi
11455
11456
11457 { echo "$as_me:$LINENO: checking for main in -lz" >&5
11458 echo $ECHO_N "checking for main in -lz... $ECHO_C" >&6; }
11459 if test "${ac_cv_lib_z_main+set}" = set; then
11460 echo $ECHO_N "(cached) $ECHO_C" >&6
8578 as_fn_error "lib math is needed" "$LINENO" 5
8579 fi
8580
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lz" >&5
8582 $as_echo_n "checking for main in -lz... " >&6; }
8583 if test "${ac_cv_lib_z_main+set}" = set; then :
8584 $as_echo_n "(cached) " >&6
114618585 else
114628586 ac_check_lib_save_LIBS=$LIBS
114638587 LIBS="-lz $LIBS"
11464 cat >conftest.$ac_ext <<_ACEOF
11465 /* confdefs.h. */
11466 _ACEOF
11467 cat confdefs.h >>conftest.$ac_ext
11468 cat >>conftest.$ac_ext <<_ACEOF
8588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
114698589 /* end confdefs.h. */
114708590
114718591
114778597 return 0;
114788598 }
114798599 _ACEOF
11480 rm -f conftest.$ac_objext conftest$ac_exeext
11481 if { (ac_try="$ac_link"
11482 case "(($ac_try" in
11483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11484 *) ac_try_echo=$ac_try;;
11485 esac
11486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11487 (eval "$ac_link") 2>conftest.er1
11488 ac_status=$?
11489 grep -v '^ *+' conftest.er1 >conftest.err
11490 rm -f conftest.er1
11491 cat conftest.err >&5
11492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11493 (exit $ac_status); } && {
11494 test -z "$ac_c_werror_flag" ||
11495 test ! -s conftest.err
11496 } && test -s conftest$ac_exeext &&
11497 $as_test_x conftest$ac_exeext; then
8600 if ac_fn_c_try_link "$LINENO"; then :
114988601 ac_cv_lib_z_main=yes
114998602 else
11500 echo "$as_me: failed program was:" >&5
11501 sed 's/^/| /' conftest.$ac_ext >&5
11502
11503 ac_cv_lib_z_main=no
11504 fi
11505
11506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11507 conftest$ac_exeext conftest.$ac_ext
8603 ac_cv_lib_z_main=no
8604 fi
8605 rm -f core conftest.err conftest.$ac_objext \
8606 conftest$ac_exeext conftest.$ac_ext
115088607 LIBS=$ac_check_lib_save_LIBS
115098608 fi
11510 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_main" >&5
11511 echo "${ECHO_T}$ac_cv_lib_z_main" >&6; }
11512 if test $ac_cv_lib_z_main = yes; then
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_main" >&5
8610 $as_echo "$ac_cv_lib_z_main" >&6; }
8611 if test "x$ac_cv_lib_z_main" = x""yes; then :
115138612 cat >>confdefs.h <<_ACEOF
115148613 #define HAVE_LIBZ 1
115158614 _ACEOF
115178616 LIBS="-lz $LIBS"
115188617
115198618 else
11520 { { echo "$as_me:$LINENO: error: libz is needed" >&5
11521 echo "$as_me: error: libz is needed" >&2;}
11522 { (exit 1); exit 1; }; }
11523 fi
11524
11525
11526 { echo "$as_me:$LINENO: checking for main in -lpng" >&5
11527 echo $ECHO_N "checking for main in -lpng... $ECHO_C" >&6; }
11528 if test "${ac_cv_lib_png_main+set}" = set; then
11529 echo $ECHO_N "(cached) $ECHO_C" >&6
8619 as_fn_error "libz is needed" "$LINENO" 5
8620 fi
8621
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpng" >&5
8623 $as_echo_n "checking for main in -lpng... " >&6; }
8624 if test "${ac_cv_lib_png_main+set}" = set; then :
8625 $as_echo_n "(cached) " >&6
115308626 else
115318627 ac_check_lib_save_LIBS=$LIBS
115328628 LIBS="-lpng $LIBS"
11533 cat >conftest.$ac_ext <<_ACEOF
11534 /* confdefs.h. */
11535 _ACEOF
11536 cat confdefs.h >>conftest.$ac_ext
11537 cat >>conftest.$ac_ext <<_ACEOF
8629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
115388630 /* end confdefs.h. */
115398631
115408632
115468638 return 0;
115478639 }
115488640 _ACEOF
11549 rm -f conftest.$ac_objext conftest$ac_exeext
11550 if { (ac_try="$ac_link"
11551 case "(($ac_try" in
11552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11553 *) ac_try_echo=$ac_try;;
11554 esac
11555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11556 (eval "$ac_link") 2>conftest.er1
11557 ac_status=$?
11558 grep -v '^ *+' conftest.er1 >conftest.err
11559 rm -f conftest.er1
11560 cat conftest.err >&5
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); } && {
11563 test -z "$ac_c_werror_flag" ||
11564 test ! -s conftest.err
11565 } && test -s conftest$ac_exeext &&
11566 $as_test_x conftest$ac_exeext; then
8641 if ac_fn_c_try_link "$LINENO"; then :
115678642 ac_cv_lib_png_main=yes
115688643 else
11569 echo "$as_me: failed program was:" >&5
11570 sed 's/^/| /' conftest.$ac_ext >&5
11571
11572 ac_cv_lib_png_main=no
11573 fi
11574
11575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11576 conftest$ac_exeext conftest.$ac_ext
8644 ac_cv_lib_png_main=no
8645 fi
8646 rm -f core conftest.err conftest.$ac_objext \
8647 conftest$ac_exeext conftest.$ac_ext
115778648 LIBS=$ac_check_lib_save_LIBS
115788649 fi
11579 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_main" >&5
11580 echo "${ECHO_T}$ac_cv_lib_png_main" >&6; }
11581 if test $ac_cv_lib_png_main = yes; then
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_main" >&5
8651 $as_echo "$ac_cv_lib_png_main" >&6; }
8652 if test "x$ac_cv_lib_png_main" = x""yes; then :
115828653 cat >>confdefs.h <<_ACEOF
115838654 #define HAVE_LIBPNG 1
115848655 _ACEOF
115868657 LIBS="-lpng $LIBS"
115878658
115888659 else
11589 { { echo "$as_me:$LINENO: error: libpng is needed" >&5
11590 echo "$as_me: error: libpng is needed" >&2;}
11591 { (exit 1); exit 1; }; }
8660 as_fn_error "libpng is needed" "$LINENO" 5
115928661 fi
115938662
115948663
115958664
115968665 # Check whether --with-sdl-prefix was given.
11597 if test "${with_sdl_prefix+set}" = set; then
8666 if test "${with_sdl_prefix+set}" = set; then :
115988667 withval=$with_sdl_prefix; sdl_prefix="$withval"
115998668 else
116008669 sdl_prefix=""
116028671
116038672
116048673 # Check whether --with-sdl-exec-prefix was given.
11605 if test "${with_sdl_exec_prefix+set}" = set; then
8674 if test "${with_sdl_exec_prefix+set}" = set; then :
116068675 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
116078676 else
116088677 sdl_exec_prefix=""
116098678 fi
116108679
116118680 # Check whether --enable-sdltest was given.
11612 if test "${enable_sdltest+set}" = set; then
8681 if test "${enable_sdltest+set}" = set; then :
116138682 enableval=$enable_sdltest;
116148683 else
116158684 enable_sdltest=yes
116338702 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
116348703 # Extract the first word of "sdl-config", so it can be a program name with args.
116358704 set dummy sdl-config; ac_word=$2
11636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11638 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
11639 echo $ECHO_N "(cached) $ECHO_C" >&6
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8706 $as_echo_n "checking for $ac_word... " >&6; }
8707 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
8708 $as_echo_n "(cached) " >&6
116408709 else
116418710 case $SDL_CONFIG in
116428711 [\\/]* | ?:[\\/]*)
116488717 do
116498718 IFS=$as_save_IFS
116508719 test -z "$as_dir" && as_dir=.
11651 for ac_exec_ext in '' $ac_executable_extensions; do
8720 for ac_exec_ext in '' $ac_executable_extensions; do
116528721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
116538722 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
116558724 break 2
116568725 fi
116578726 done
11658 done
8727 done
116598728 IFS=$as_save_IFS
116608729
116618730 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
116648733 fi
116658734 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
116668735 if test -n "$SDL_CONFIG"; then
11667 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
11668 echo "${ECHO_T}$SDL_CONFIG" >&6; }
11669 else
11670 { echo "$as_me:$LINENO: result: no" >&5
11671 echo "${ECHO_T}no" >&6; }
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
8737 $as_echo "$SDL_CONFIG" >&6; }
8738 else
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8740 $as_echo "no" >&6; }
116728741 fi
116738742
116748743
116758744 min_sdl_version=1.2.0
11676 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
11677 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
8746 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
116788747 no_sdl=""
116798748 if test "$SDL_CONFIG" = "no" ; then
116808749 no_sdl=yes
116948763 CFLAGS="$CFLAGS $SDL_CFLAGS"
116958764 LIBS="$LIBS $SDL_LIBS"
116968765 rm -f conf.sdltest
11697 if test "$cross_compiling" = yes; then
8766 if test "$cross_compiling" = yes; then :
116988767 echo $ac_n "cross compiling; assumed OK... $ac_c"
116998768 else
11700 cat >conftest.$ac_ext <<_ACEOF
11701 /* confdefs.h. */
11702 _ACEOF
11703 cat confdefs.h >>conftest.$ac_ext
11704 cat >>conftest.$ac_ext <<_ACEOF
8769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
117058770 /* end confdefs.h. */
117068771
117078772 #include <stdio.h>
117628827
117638828
117648829 _ACEOF
11765 rm -f conftest$ac_exeext
11766 if { (ac_try="$ac_link"
11767 case "(($ac_try" in
11768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11769 *) ac_try_echo=$ac_try;;
11770 esac
11771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11772 (eval "$ac_link") 2>&5
11773 ac_status=$?
11774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11775 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11776 { (case "(($ac_try" in
11777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11778 *) ac_try_echo=$ac_try;;
11779 esac
11780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11781 (eval "$ac_try") 2>&5
11782 ac_status=$?
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); }; }; then
11785 :
11786 else
11787 echo "$as_me: program exited with status $ac_status" >&5
11788 echo "$as_me: failed program was:" >&5
11789 sed 's/^/| /' conftest.$ac_ext >&5
11790
11791 ( exit $ac_status )
11792 no_sdl=yes
11793 fi
11794 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11795 fi
11796
8830 if ac_fn_c_try_run "$LINENO"; then :
8831
8832 else
8833 no_sdl=yes
8834 fi
8835 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8836 conftest.$ac_objext conftest.beam conftest.$ac_ext
8837 fi
117978838
117988839 CFLAGS="$ac_save_CFLAGS"
117998840 LIBS="$ac_save_LIBS"
118008841 fi
118018842 fi
118028843 if test "x$no_sdl" = x ; then
11803 { echo "$as_me:$LINENO: result: yes" >&5
11804 echo "${ECHO_T}yes" >&6; }
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8845 $as_echo "yes" >&6; }
118058846 :
118068847 else
11807 { echo "$as_me:$LINENO: result: no" >&5
11808 echo "${ECHO_T}no" >&6; }
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8849 $as_echo "no" >&6; }
118098850 if test "$SDL_CONFIG" = "no" ; then
118108851 echo "*** The sdl-config script installed by SDL could not be found"
118118852 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
118188859 echo "*** Could not run SDL test program, checking why..."
118198860 CFLAGS="$CFLAGS $SDL_CFLAGS"
118208861 LIBS="$LIBS $SDL_LIBS"
11821 cat >conftest.$ac_ext <<_ACEOF
11822 /* confdefs.h. */
11823 _ACEOF
11824 cat confdefs.h >>conftest.$ac_ext
11825 cat >>conftest.$ac_ext <<_ACEOF
8862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
118268863 /* end confdefs.h. */
118278864
118288865 #include <stdio.h>
118418878 return 0;
118428879 }
118438880 _ACEOF
11844 rm -f conftest.$ac_objext conftest$ac_exeext
11845 if { (ac_try="$ac_link"
11846 case "(($ac_try" in
11847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11848 *) ac_try_echo=$ac_try;;
11849 esac
11850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11851 (eval "$ac_link") 2>conftest.er1
11852 ac_status=$?
11853 grep -v '^ *+' conftest.er1 >conftest.err
11854 rm -f conftest.er1
11855 cat conftest.err >&5
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 (exit $ac_status); } && {
11858 test -z "$ac_c_werror_flag" ||
11859 test ! -s conftest.err
11860 } && test -s conftest$ac_exeext &&
11861 $as_test_x conftest$ac_exeext; then
8881 if ac_fn_c_try_link "$LINENO"; then :
118628882 echo "*** The test program compiled, but did not run. This usually means"
118638883 echo "*** that the run-time linker is not finding SDL or finding the wrong"
118648884 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
118698889 echo "*** If you have an old version installed, it is best to remove it, although"
118708890 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
118718891 else
11872 echo "$as_me: failed program was:" >&5
11873 sed 's/^/| /' conftest.$ac_ext >&5
11874
11875 echo "*** The test program failed to compile or link. See the file config.log for the"
8892 echo "*** The test program failed to compile or link. See the file config.log for the"
118768893 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
118778894 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
118788895 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
118798896 fi
11880
11881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11882 conftest$ac_exeext conftest.$ac_ext
8897 rm -f core conftest.err conftest.$ac_objext \
8898 conftest$ac_exeext conftest.$ac_ext
118838899 CFLAGS="$ac_save_CFLAGS"
118848900 LIBS="$ac_save_LIBS"
118858901 fi
118868902 fi
118878903 SDL_CFLAGS=""
118888904 SDL_LIBS=""
11889 { { echo "$as_me:$LINENO: error: lib SDL is needed" >&5
11890 echo "$as_me: error: lib SDL is needed" >&2;}
11891 { (exit 1); exit 1; }; }
8905 as_fn_error "lib SDL is needed" "$LINENO" 5
118928906 fi
118938907
118948908
118998913
119008914 warp_flag=""
119018915 # Check whether --enable-warp was given.
11902 if test "${enable_warp+set}" = set; then
8916 if test "${enable_warp+set}" = set; then :
119038917 enableval=$enable_warp; warp_flag="-DMOUSE_WARP"
119048918 fi
119058919
119088922 audio_flag="-DAUDIO_ENABLED"
119098923 mixer_flag="-lSDL_mixer"
119108924 # Check whether --enable-audio was given.
11911 if test "${enable_audio+set}" = set; then
8925 if test "${enable_audio+set}" = set; then :
119128926 enableval=$enable_audio; audio_flag=""; mixer_flag=""
119138927 fi
119148928
119158929
11916 { echo "$as_me:$LINENO: checking for main in -lSDL_mixer" >&5
11917 echo $ECHO_N "checking for main in -lSDL_mixer... $ECHO_C" >&6; }
11918 if test "${ac_cv_lib_SDL_mixer_main+set}" = set; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lSDL_mixer" >&5
8931 $as_echo_n "checking for main in -lSDL_mixer... " >&6; }
8932 if test "${ac_cv_lib_SDL_mixer_main+set}" = set; then :
8933 $as_echo_n "(cached) " >&6
119208934 else
119218935 ac_check_lib_save_LIBS=$LIBS
119228936 LIBS="-lSDL_mixer $LIBS"
11923 cat >conftest.$ac_ext <<_ACEOF
11924 /* confdefs.h. */
11925 _ACEOF
11926 cat confdefs.h >>conftest.$ac_ext
11927 cat >>conftest.$ac_ext <<_ACEOF
8937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119288938 /* end confdefs.h. */
119298939
119308940
119368946 return 0;
119378947 }
119388948 _ACEOF
11939 rm -f conftest.$ac_objext conftest$ac_exeext
11940 if { (ac_try="$ac_link"
11941 case "(($ac_try" in
11942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11943 *) ac_try_echo=$ac_try;;
11944 esac
11945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11946 (eval "$ac_link") 2>conftest.er1
11947 ac_status=$?
11948 grep -v '^ *+' conftest.er1 >conftest.err
11949 rm -f conftest.er1
11950 cat conftest.err >&5
11951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11952 (exit $ac_status); } && {
11953 test -z "$ac_c_werror_flag" ||
11954 test ! -s conftest.err
11955 } && test -s conftest$ac_exeext &&
11956 $as_test_x conftest$ac_exeext; then
8949 if ac_fn_c_try_link "$LINENO"; then :
119578950 ac_cv_lib_SDL_mixer_main=yes
119588951 else
11959 echo "$as_me: failed program was:" >&5
11960 sed 's/^/| /' conftest.$ac_ext >&5
11961
11962 ac_cv_lib_SDL_mixer_main=no
11963 fi
11964
11965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11966 conftest$ac_exeext conftest.$ac_ext
8952 ac_cv_lib_SDL_mixer_main=no
8953 fi
8954 rm -f core conftest.err conftest.$ac_objext \
8955 conftest$ac_exeext conftest.$ac_ext
119678956 LIBS=$ac_check_lib_save_LIBS
119688957 fi
11969 { echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_main" >&5
11970 echo "${ECHO_T}$ac_cv_lib_SDL_mixer_main" >&6; }
11971 if test $ac_cv_lib_SDL_mixer_main = yes; then
11972 { echo "$as_me:$LINENO: result: \"SDL_Mixer found\"" >&5
11973 echo "${ECHO_T}\"SDL_Mixer found\"" >&6; }
11974 else
11975 { echo "$as_me:$LINENO: result: \"SDL_Mixer NOT found \(http://libsdl.org\): Audio disabled\"" >&5
11976 echo "${ECHO_T}\"SDL_Mixer NOT found \(http://libsdl.org\): Audio disabled\"" >&6; }; audio_flag=""; mixer_flag=""
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_mixer_main" >&5
8959 $as_echo "$ac_cv_lib_SDL_mixer_main" >&6; }
8960 if test "x$ac_cv_lib_SDL_mixer_main" = x""yes; then :
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"SDL_Mixer found\"" >&5
8962 $as_echo "\"SDL_Mixer found\"" >&6; }
8963 else
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"SDL_Mixer NOT found \(http://libsdl.org\): Audio disabled\"" >&5
8965 $as_echo "\"SDL_Mixer NOT found \(http://libsdl.org\): Audio disabled\"" >&6; }; audio_flag=""; mixer_flag=""
119778966 fi
119788967
119798968
119838972 doc_dir="/usr/doc"
119848973
119858974 # Check whether --with-docdir was given.
11986 if test "${with_docdir+set}" = set; then
8975 if test "${with_docdir+set}" = set; then :
119878976 withval=$with_docdir; doc_dir="$withval"
119888977 fi
119898978
119918980
119928981 network_flag="-DNETWORK_ENABLED"
119938982 # Check whether --enable-network was given.
11994 if test "${enable_network+set}" = set; then
8983 if test "${enable_network+set}" = set; then :
119958984 enableval=$enable_network; network_flag=""
119968985 fi
119978986
120008989 sdlnet_flag=""
120018990 sdlnet_lib_flag=""
120028991 # Check whether --enable-sdl-net was given.
12003 if test "${enable_sdl_net+set}" = set; then
8992 if test "${enable_sdl_net+set}" = set; then :
120048993 enableval=$enable_sdl_net; sdlnet_flag="-DSDL_NET_ENABLED"; sdlnet_lib_flag="-lSDL_net"
120058994 fi
120068995
120078996
120088997
120098998 if test "$sdlnet_flag" == "-DSDL_NET_ENABLED" ; then
12010 { echo "$as_me:$LINENO: checking for main in -lSDL_net" >&5
12011 echo $ECHO_N "checking for main in -lSDL_net... $ECHO_C" >&6; }
12012 if test "${ac_cv_lib_SDL_net_main+set}" = set; then
12013 echo $ECHO_N "(cached) $ECHO_C" >&6
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lSDL_net" >&5
9000 $as_echo_n "checking for main in -lSDL_net... " >&6; }
9001 if test "${ac_cv_lib_SDL_net_main+set}" = set; then :
9002 $as_echo_n "(cached) " >&6
120149003 else
120159004 ac_check_lib_save_LIBS=$LIBS
120169005 LIBS="-lSDL_net $LIBS"
12017 cat >conftest.$ac_ext <<_ACEOF
12018 /* confdefs.h. */
12019 _ACEOF
12020 cat confdefs.h >>conftest.$ac_ext
12021 cat >>conftest.$ac_ext <<_ACEOF
9006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
120229007 /* end confdefs.h. */
120239008
120249009
120309015 return 0;
120319016 }
120329017 _ACEOF
12033 rm -f conftest.$ac_objext conftest$ac_exeext
12034 if { (ac_try="$ac_link"
12035 case "(($ac_try" in
12036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12037 *) ac_try_echo=$ac_try;;
12038 esac
12039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12040 (eval "$ac_link") 2>conftest.er1
12041 ac_status=$?
12042 grep -v '^ *+' conftest.er1 >conftest.err
12043 rm -f conftest.er1
12044 cat conftest.err >&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); } && {
12047 test -z "$ac_c_werror_flag" ||
12048 test ! -s conftest.err
12049 } && test -s conftest$ac_exeext &&
12050 $as_test_x conftest$ac_exeext; then
9018 if ac_fn_c_try_link "$LINENO"; then :
120519019 ac_cv_lib_SDL_net_main=yes
120529020 else
12053 echo "$as_me: failed program was:" >&5
12054 sed 's/^/| /' conftest.$ac_ext >&5
12055
12056 ac_cv_lib_SDL_net_main=no
12057 fi
12058
12059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12060 conftest$ac_exeext conftest.$ac_ext
9021 ac_cv_lib_SDL_net_main=no
9022 fi
9023 rm -f core conftest.err conftest.$ac_objext \
9024 conftest$ac_exeext conftest.$ac_ext
120619025 LIBS=$ac_check_lib_save_LIBS
120629026 fi
12063 { echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_net_main" >&5
12064 echo "${ECHO_T}$ac_cv_lib_SDL_net_main" >&6; }
12065 if test $ac_cv_lib_SDL_net_main = yes; then
12066 { echo "$as_me:$LINENO: result: \"SDL_net found\"" >&5
12067 echo "${ECHO_T}\"SDL_net found\"" >&6; }
12068 else
12069 { echo "$as_me:$LINENO: result: \"SDL_net NOT found \(http://libsdl.org\): Networking disabled\"" >&5
12070 echo "${ECHO_T}\"SDL_net NOT found \(http://libsdl.org\): Networking disabled\"" >&6; }; sdlnet_flag=""; sdlnet_lib_flag=""; network_flag=""
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_net_main" >&5
9028 $as_echo "$ac_cv_lib_SDL_net_main" >&6; }
9029 if test "x$ac_cv_lib_SDL_net_main" = x""yes; then :
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"SDL_net found\"" >&5
9031 $as_echo "\"SDL_net found\"" >&6; }
9032 else
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"SDL_net NOT found \(http://libsdl.org\): Networking disabled\"" >&5
9034 $as_echo "\"SDL_net NOT found \(http://libsdl.org\): Networking disabled\"" >&6; }; sdlnet_flag=""; sdlnet_lib_flag=""; network_flag=""
120719035 fi
120729036
120739037 fi
120749038
120759039 netdebug_flag=""
120769040 # Check whether --enable-netdebug was given.
12077 if test "${enable_netdebug+set}" = set; then
9041 if test "${enable_netdebug+set}" = set; then :
120789042 enableval=$enable_netdebug; netdebug_flag="-DNET_DEBUG_MSG"
120799043 fi
120809044
120879051 hi_dir=$localstatedir
120889052
120899053 # Check whether --enable-install was given.
12090 if test "${enable_install+set}" = set; then
9054 if test "${enable_install+set}" = set; then :
120919055 enableval=$enable_install; inst_dir="." hi_dir="."
120929056 locdir_flag="-DLOCALEDIR=\\\"../dict\\\""
120939057 rm -rf dict; mkdir dict
121299093 do
121309094 # Extract the first word of "$ac_prog", so it can be a program name with args.
121319095 set dummy $ac_prog; ac_word=$2
12132 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12134 if test "${ac_cv_prog_AWK+set}" = set; then
12135 echo $ECHO_N "(cached) $ECHO_C" >&6
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9097 $as_echo_n "checking for $ac_word... " >&6; }
9098 if test "${ac_cv_prog_AWK+set}" = set; then :
9099 $as_echo_n "(cached) " >&6
121369100 else
121379101 if test -n "$AWK"; then
121389102 ac_cv_prog_AWK="$AWK" # Let the user override the test.
121429106 do
121439107 IFS=$as_save_IFS
121449108 test -z "$as_dir" && as_dir=.
12145 for ac_exec_ext in '' $ac_executable_extensions; do
9109 for ac_exec_ext in '' $ac_executable_extensions; do
121469110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
121479111 ac_cv_prog_AWK="$ac_prog"
12148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
121499113 break 2
121509114 fi
121519115 done
12152 done
9116 done
121539117 IFS=$as_save_IFS
121549118
121559119 fi
121569120 fi
121579121 AWK=$ac_cv_prog_AWK
121589122 if test -n "$AWK"; then
12159 { echo "$as_me:$LINENO: result: $AWK" >&5
12160 echo "${ECHO_T}$AWK" >&6; }
12161 else
12162 { echo "$as_me:$LINENO: result: no" >&5
12163 echo "${ECHO_T}no" >&6; }
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
9124 $as_echo "$AWK" >&6; }
9125 else
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9127 $as_echo "no" >&6; }
121649128 fi
121659129
121669130
122029166 case $ac_val in #(
122039167 *${as_nl}*)
122049168 case $ac_var in #(
12205 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12206 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
9169 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9170 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
122079171 esac
122089172 case $ac_var in #(
122099173 _ | IFS | as_nl) ;; #(
12210 *) $as_unset $ac_var ;;
9174 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9175 *) { eval $ac_var=; unset $ac_var;} ;;
122119176 esac ;;
122129177 esac
122139178 done
122159180 (set) 2>&1 |
122169181 case $as_nl`(ac_space=' '; set) 2>&1` in #(
122179182 *${as_nl}ac_space=\ *)
12218 # `set' does not quote correctly, so add quotes (double-quote
12219 # substitution turns \\\\ into \\, and sed turns \\ into \).
9183 # `set' does not quote correctly, so add quotes: double-quote
9184 # substitution turns \\\\ into \\, and sed turns \\ into \.
122209185 sed -n \
122219186 "s/'/'\\\\''/g;
122229187 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
122399204 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
122409205 if test -w "$cache_file"; then
122419206 test "x$cache_file" != "x/dev/null" &&
12242 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12243 echo "$as_me: updating cache $cache_file" >&6;}
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9208 $as_echo "$as_me: updating cache $cache_file" >&6;}
122449209 cat confcache >$cache_file
122459210 else
12246 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12247 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9212 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
122489213 fi
122499214 fi
122509215 rm -f confcache
122609225 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
122619226 # 1. Remove the extension, and $U if already installed.
122629227 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12263 ac_i=`echo "$ac_i" | sed "$ac_script"`
9228 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
122649229 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
122659230 # will be set to the directory where LIBOBJS objects are built.
12266 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12267 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9231 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9232 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
122689233 done
122699234 LIBOBJS=$ac_libobjs
122709235
122729237
122739238
122749239 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12275 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12276 Usually this means the macro was only invoked conditionally." >&5
12277 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12278 Usually this means the macro was only invoked conditionally." >&2;}
12279 { (exit 1); exit 1; }; }
9240 as_fn_error "conditional \"AMDEP\" was never defined.
9241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
122809242 fi
122819243 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12282 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12283 Usually this means the macro was only invoked conditionally." >&5
12284 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12285 Usually this means the macro was only invoked conditionally." >&2;}
12286 { (exit 1); exit 1; }; }
9244 as_fn_error "conditional \"am__fastdepCC\" was never defined.
9245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
122879246 fi
122889247
122899248 : ${CONFIG_STATUS=./config.status}
9249 ac_write_fail=0
122909250 ac_clean_files_save=$ac_clean_files
122919251 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12292 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12293 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12294 cat >$CONFIG_STATUS <<_ACEOF
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9253 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9254 as_write_fail=0
9255 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
122959256 #! $SHELL
122969257 # Generated by $as_me.
122979258 # Run this file to recreate the current configuration.
123019262 debug=false
123029263 ac_cs_recheck=false
123039264 ac_cs_silent=false
9265
123049266 SHELL=\${CONFIG_SHELL-$SHELL}
12305 _ACEOF
12306
12307 cat >>$CONFIG_STATUS <<\_ACEOF
12308 ## --------------------- ##
12309 ## M4sh Initialization. ##
12310 ## --------------------- ##
9267 export SHELL
9268 _ASEOF
9269 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9270 ## -------------------- ##
9271 ## M4sh Initialization. ##
9272 ## -------------------- ##
123119273
123129274 # Be more Bourne compatible
123139275 DUALCASE=1; export DUALCASE # for MKS sh
12314 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9276 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
123159277 emulate sh
123169278 NULLCMD=:
12317 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9279 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
123189280 # is contrary to our usage. Disable this feature.
123199281 alias -g '${1+"$@"}'='"$@"'
123209282 setopt NO_GLOB_SUBST
123219283 else
12322 case `(set -o) 2>/dev/null` in
12323 *posix*) set -o posix ;;
9284 case `(set -o) 2>/dev/null` in #(
9285 *posix*) :
9286 set -o posix ;; #(
9287 *) :
9288 ;;
123249289 esac
12325
12326 fi
12327
12328
12329
12330
12331 # PATH needs CR
12332 # Avoid depending upon Character Ranges.
12333 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12334 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12335 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12336 as_cr_digits='0123456789'
12337 as_cr_alnum=$as_cr_Letters$as_cr_digits
9290 fi
9291
9292
9293 as_nl='
9294 '
9295 export as_nl
9296 # Printing a long string crashes Solaris 7 /usr/bin/printf.
9297 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9298 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9299 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9300 # Prefer a ksh shell builtin over an external printf program on Solaris,
9301 # but without wasting forks for bash or zsh.
9302 if test -z "$BASH_VERSION$ZSH_VERSION" \
9303 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9304 as_echo='print -r --'
9305 as_echo_n='print -rn --'
9306 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9307 as_echo='printf %s\n'
9308 as_echo_n='printf %s'
9309 else
9310 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9311 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9312 as_echo_n='/usr/ucb/echo -n'
9313 else
9314 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9315 as_echo_n_body='eval
9316 arg=$1;
9317 case $arg in #(
9318 *"$as_nl"*)
9319 expr "X$arg" : "X\\(.*\\)$as_nl";
9320 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9321 esac;
9322 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9323 '
9324 export as_echo_n_body
9325 as_echo_n='sh -c $as_echo_n_body as_echo'
9326 fi
9327 export as_echo_body
9328 as_echo='sh -c $as_echo_body as_echo'
9329 fi
123389330
123399331 # The user is always right.
123409332 if test "${PATH_SEPARATOR+set}" != set; then
12341 echo "#! /bin/sh" >conf$$.sh
12342 echo "exit 0" >>conf$$.sh
12343 chmod +x conf$$.sh
12344 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12345 PATH_SEPARATOR=';'
12346 else
12347 PATH_SEPARATOR=:
12348 fi
12349 rm -f conf$$.sh
12350 fi
12351
12352 # Support unset when possible.
12353 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12354 as_unset=unset
12355 else
12356 as_unset=false
9333 PATH_SEPARATOR=:
9334 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9335 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9336 PATH_SEPARATOR=';'
9337 }
123579338 fi
123589339
123599340
123629343 # there to prevent editors from complaining about space-tab.
123639344 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
123649345 # splitting by setting IFS to empty value.)
12365 as_nl='
12366 '
123679346 IFS=" "" $as_nl"
123689347
123699348 # Find who we are. Look in the path if we contain no directory separator.
12370 case $0 in
9349 case $0 in #((
123719350 *[\\/]* ) as_myself=$0 ;;
123729351 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
123739352 for as_dir in $PATH
123749353 do
123759354 IFS=$as_save_IFS
123769355 test -z "$as_dir" && as_dir=.
12377 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12378 done
9356 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9357 done
123799358 IFS=$as_save_IFS
123809359
123819360 ;;
123869365 as_myself=$0
123879366 fi
123889367 if test ! -f "$as_myself"; then
12389 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12390 { (exit 1); exit 1; }
12391 fi
12392
12393 # Work around bugs in pre-3.0 UWIN ksh.
12394 for as_var in ENV MAIL MAILPATH
12395 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9368 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9369 exit 1
9370 fi
9371
9372 # Unset variables that we do not need and which cause bugs (e.g. in
9373 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9374 # suppresses any "Segmentation fault" message there. '((' could
9375 # trigger a bug in pdksh 5.2.14.
9376 for as_var in BASH_ENV ENV MAIL MAILPATH
9377 do eval test x\${$as_var+set} = xset \
9378 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123969379 done
123979380 PS1='$ '
123989381 PS2='> '
123999382 PS4='+ '
124009383
124019384 # NLS nuisances.
12402 for as_var in \
12403 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12404 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12405 LC_TELEPHONE LC_TIME
12406 do
12407 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12408 eval $as_var=C; export $as_var
12409 else
12410 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12411 fi
12412 done
12413
12414 # Required to use basename.
9385 LC_ALL=C
9386 export LC_ALL
9387 LANGUAGE=C
9388 export LANGUAGE
9389
9390 # CDPATH.
9391 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9392
9393
9394 # as_fn_error ERROR [LINENO LOG_FD]
9395 # ---------------------------------
9396 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9397 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9398 # script with status $?, using 1 if that was 0.
9399 as_fn_error ()
9400 {
9401 as_status=$?; test $as_status -eq 0 && as_status=1
9402 if test "$3"; then
9403 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9404 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
9405 fi
9406 $as_echo "$as_me: error: $1" >&2
9407 as_fn_exit $as_status
9408 } # as_fn_error
9409
9410
9411 # as_fn_set_status STATUS
9412 # -----------------------
9413 # Set $? to STATUS, without forking.
9414 as_fn_set_status ()
9415 {
9416 return $1
9417 } # as_fn_set_status
9418
9419 # as_fn_exit STATUS
9420 # -----------------
9421 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9422 as_fn_exit ()
9423 {
9424 set +e
9425 as_fn_set_status $1
9426 exit $1
9427 } # as_fn_exit
9428
9429 # as_fn_unset VAR
9430 # ---------------
9431 # Portably unset VAR.
9432 as_fn_unset ()
9433 {
9434 { eval $1=; unset $1;}
9435 }
9436 as_unset=as_fn_unset
9437 # as_fn_append VAR VALUE
9438 # ----------------------
9439 # Append the text in VALUE to the end of the definition contained in VAR. Take
9440 # advantage of any shell optimizations that allow amortized linear growth over
9441 # repeated appends, instead of the typical quadratic growth present in naive
9442 # implementations.
9443 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9444 eval 'as_fn_append ()
9445 {
9446 eval $1+=\$2
9447 }'
9448 else
9449 as_fn_append ()
9450 {
9451 eval $1=\$$1\$2
9452 }
9453 fi # as_fn_append
9454
9455 # as_fn_arith ARG...
9456 # ------------------
9457 # Perform arithmetic evaluation on the ARGs, and store the result in the
9458 # global $as_val. Take advantage of shells that can avoid forks. The arguments
9459 # must be portable across $(()) and expr.
9460 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9461 eval 'as_fn_arith ()
9462 {
9463 as_val=$(( $* ))
9464 }'
9465 else
9466 as_fn_arith ()
9467 {
9468 as_val=`expr "$@" || test $? -eq 1`
9469 }
9470 fi # as_fn_arith
9471
9472
124159473 if expr a : '\(a\)' >/dev/null 2>&1 &&
124169474 test "X`expr 00001 : '.*\(...\)'`" = X001; then
124179475 as_expr=expr
124259483 as_basename=false
124269484 fi
124279485
12428
12429 # Name of the executable.
9486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9487 as_dirname=dirname
9488 else
9489 as_dirname=false
9490 fi
9491
124309492 as_me=`$as_basename -- "$0" ||
124319493 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
124329494 X"$0" : 'X\(//\)$' \| \
124339495 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12434 echo X/"$0" |
9496 $as_echo X/"$0" |
124359497 sed '/^.*\/\([^/][^/]*\)\/*$/{
124369498 s//\1/
124379499 q
124469508 }
124479509 s/.*/./; q'`
124489510
12449 # CDPATH.
12450 $as_unset CDPATH
12451
12452
12453
12454 as_lineno_1=$LINENO
12455 as_lineno_2=$LINENO
12456 test "x$as_lineno_1" != "x$as_lineno_2" &&
12457 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
12458
12459 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12460 # uniformly replaced by the line number. The first 'sed' inserts a
12461 # line-number line after each line using $LINENO; the second 'sed'
12462 # does the real work. The second script uses 'N' to pair each
12463 # line-number line with the line containing $LINENO, and appends
12464 # trailing '-' during substitution so that $LINENO is not a special
12465 # case at line end.
12466 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12467 # scripts with optimization help from Paolo Bonzini. Blame Lee
12468 # E. McMahon (1931-1989) for sed's syntax. :-)
12469 sed -n '
12470 p
12471 /[$]LINENO/=
12472 ' <$as_myself |
12473 sed '
12474 s/[$]LINENO.*/&-/
12475 t lineno
12476 b
12477 :lineno
12478 N
12479 :loop
12480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12481 t loop
12482 s/-\n.*//
12483 ' >$as_me.lineno &&
12484 chmod +x "$as_me.lineno" ||
12485 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12486 { (exit 1); exit 1; }; }
12487
12488 # Don't try to exec as it changes $[0], causing all sort of problems
12489 # (the dirname of $[0] is not the place where we might find the
12490 # original and so on. Autoconf is especially sensitive to this).
12491 . "./$as_me.lineno"
12492 # Exit status is that of the last command.
12493 exit
12494 }
12495
12496
12497 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12498 as_dirname=dirname
12499 else
12500 as_dirname=false
12501 fi
9511 # Avoid depending upon Character Ranges.
9512 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9513 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9514 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9515 as_cr_digits='0123456789'
9516 as_cr_alnum=$as_cr_Letters$as_cr_digits
125029517
125039518 ECHO_C= ECHO_N= ECHO_T=
12504 case `echo -n x` in
9519 case `echo -n x` in #(((((
125059520 -n*)
12506 case `echo 'x\c'` in
9521 case `echo 'xy\c'` in
125079522 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12508 *) ECHO_C='\c';;
9523 xy) ECHO_C='\c';;
9524 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9525 ECHO_T=' ';;
125099526 esac;;
125109527 *)
125119528 ECHO_N='-n';;
125129529 esac
125139530
12514 if expr a : '\(a\)' >/dev/null 2>&1 &&
12515 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12516 as_expr=expr
12517 else
12518 as_expr=false
12519 fi
12520
125219531 rm -f conf$$ conf$$.exe conf$$.file
125229532 if test -d conf$$.dir; then
125239533 rm -f conf$$.dir/conf$$.file
125249534 else
125259535 rm -f conf$$.dir
12526 mkdir conf$$.dir
12527 fi
12528 echo >conf$$.file
12529 if ln -s conf$$.file conf$$ 2>/dev/null; then
12530 as_ln_s='ln -s'
12531 # ... but there are two gotchas:
12532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12534 # In both cases, we have to default to `cp -p'.
12535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9536 mkdir conf$$.dir 2>/dev/null
9537 fi
9538 if (echo >conf$$.file) 2>/dev/null; then
9539 if ln -s conf$$.file conf$$ 2>/dev/null; then
9540 as_ln_s='ln -s'
9541 # ... but there are two gotchas:
9542 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9543 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9544 # In both cases, we have to default to `cp -p'.
9545 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9546 as_ln_s='cp -p'
9547 elif ln conf$$.file conf$$ 2>/dev/null; then
9548 as_ln_s=ln
9549 else
125369550 as_ln_s='cp -p'
12537 elif ln conf$$.file conf$$ 2>/dev/null; then
12538 as_ln_s=ln
9551 fi
125399552 else
125409553 as_ln_s='cp -p'
125419554 fi
125429555 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
125439556 rmdir conf$$.dir 2>/dev/null
125449557
9558
9559 # as_fn_mkdir_p
9560 # -------------
9561 # Create "$as_dir" as a directory, including parents if necessary.
9562 as_fn_mkdir_p ()
9563 {
9564
9565 case $as_dir in #(
9566 -*) as_dir=./$as_dir;;
9567 esac
9568 test -d "$as_dir" || eval $as_mkdir_p || {
9569 as_dirs=
9570 while :; do
9571 case $as_dir in #(
9572 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9573 *) as_qdir=$as_dir;;
9574 esac
9575 as_dirs="'$as_qdir' $as_dirs"
9576 as_dir=`$as_dirname -- "$as_dir" ||
9577 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9578 X"$as_dir" : 'X\(//\)[^/]' \| \
9579 X"$as_dir" : 'X\(//\)$' \| \
9580 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9581 $as_echo X"$as_dir" |
9582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9583 s//\1/
9584 q
9585 }
9586 /^X\(\/\/\)[^/].*/{
9587 s//\1/
9588 q
9589 }
9590 /^X\(\/\/\)$/{
9591 s//\1/
9592 q
9593 }
9594 /^X\(\/\).*/{
9595 s//\1/
9596 q
9597 }
9598 s/.*/./; q'`
9599 test -d "$as_dir" && break
9600 done
9601 test -z "$as_dirs" || eval "mkdir $as_dirs"
9602 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
9603
9604
9605 } # as_fn_mkdir_p
125459606 if mkdir -p . 2>/dev/null; then
12546 as_mkdir_p=:
9607 as_mkdir_p='mkdir -p "$as_dir"'
125479608 else
125489609 test -d ./-p && rmdir ./-p
125499610 as_mkdir_p=false
125609621 as_test_x='
125619622 eval sh -c '\''
125629623 if test -d "$1"; then
12563 test -d "$1/.";
9624 test -d "$1/.";
125649625 else
12565 case $1 in
12566 -*)set "./$1";;
9626 case $1 in #(
9627 -*)set "./$1";;
125679628 esac;
12568 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9629 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
125699630 ???[sx]*):;;*)false;;esac;fi
125709631 '\'' sh
125719632 '
125809641
125819642
125829643 exec 6>&1
12583
12584 # Save the log message, to keep $[0] and so on meaningful, and to
9644 ## ----------------------------------- ##
9645 ## Main body of $CONFIG_STATUS script. ##
9646 ## ----------------------------------- ##
9647 _ASEOF
9648 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9649
9650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9651 # Save the log message, to keep $0 and so on meaningful, and to
125859652 # report actual input values of CONFIG_FILES etc. instead of their
125869653 # values after options handling.
125879654 ac_log="
125889655 This file was extended by $as_me, which was
12589 generated by GNU Autoconf 2.61. Invocation command line was
9656 generated by GNU Autoconf 2.65. Invocation command line was
125909657
125919658 CONFIG_FILES = $CONFIG_FILES
125929659 CONFIG_HEADERS = $CONFIG_HEADERS
125999666
126009667 _ACEOF
126019668
12602 cat >>$CONFIG_STATUS <<_ACEOF
9669 case $ac_config_files in *"
9670 "*) set x $ac_config_files; shift; ac_config_files=$*;;
9671 esac
9672
9673 case $ac_config_headers in *"
9674 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9675 esac
9676
9677
9678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
126039679 # Files that config.status was made for.
126049680 config_files="$ac_config_files"
126059681 config_headers="$ac_config_headers"
126079683
126089684 _ACEOF
126099685
12610 cat >>$CONFIG_STATUS <<\_ACEOF
9686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
126119687 ac_cs_usage="\
12612 \`$as_me' instantiates files from templates according to the
12613 current configuration.
12614
12615 Usage: $0 [OPTIONS] [FILE]...
9688 \`$as_me' instantiates files and other configuration actions
9689 from templates according to the current configuration. Unless the files
9690 and actions are specified as TAGs, all are instantiated by default.
9691
9692 Usage: $0 [OPTION]... [TAG]...
126169693
126179694 -h, --help print this help, then exit
126189695 -V, --version print version number and configuration settings, then exit
12619 -q, --quiet do not print progress messages
9696 --config print configuration, then exit
9697 -q, --quiet, --silent
9698 do not print progress messages
126209699 -d, --debug don't remove temporary files
126219700 --recheck update $as_me by reconfiguring in the same conditions
12622 --file=FILE[:TEMPLATE]
12623 instantiate the configuration file FILE
12624 --header=FILE[:TEMPLATE]
12625 instantiate the configuration header FILE
9701 --file=FILE[:TEMPLATE]
9702 instantiate the configuration file FILE
9703 --header=FILE[:TEMPLATE]
9704 instantiate the configuration header FILE
126269705
126279706 Configuration files:
126289707 $config_files
126339712 Configuration commands:
126349713 $config_commands
126359714
12636 Report bugs to <bug-autoconf@gnu.org>."
12637
12638 _ACEOF
12639 cat >>$CONFIG_STATUS <<_ACEOF
9715 Report bugs to the package provider."
9716
9717 _ACEOF
9718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9719 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
126409720 ac_cs_version="\\
126419721 config.status
12642 configured by $0, generated by GNU Autoconf 2.61,
12643 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12644
12645 Copyright (C) 2006 Free Software Foundation, Inc.
9722 configured by $0, generated by GNU Autoconf 2.65,
9723 with options \\"\$ac_cs_config\\"
9724
9725 Copyright (C) 2009 Free Software Foundation, Inc.
126469726 This config.status script is free software; the Free Software Foundation
126479727 gives unlimited permission to copy, distribute and modify it."
126489728
126499729 ac_pwd='$ac_pwd'
126509730 srcdir='$srcdir'
126519731 INSTALL='$INSTALL'
12652 _ACEOF
12653
12654 cat >>$CONFIG_STATUS <<\_ACEOF
12655 # If no file are specified by the user, then we need to provide default
12656 # value. By we need to know if files were specified by the user.
9732 AWK='$AWK'
9733 test -n "\$AWK" || AWK=awk
9734 _ACEOF
9735
9736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9737 # The default lists apply if the user does not specify any file.
126579738 ac_need_defaults=:
126589739 while test $# != 0
126599740 do
126759756 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
126769757 ac_cs_recheck=: ;;
126779758 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12678 echo "$ac_cs_version"; exit ;;
9759 $as_echo "$ac_cs_version"; exit ;;
9760 --config | --confi | --conf | --con | --co | --c )
9761 $as_echo "$ac_cs_config"; exit ;;
126799762 --debug | --debu | --deb | --de | --d | -d )
126809763 debug=: ;;
126819764 --file | --fil | --fi | --f )
126829765 $ac_shift
12683 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
9766 case $ac_optarg in
9767 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9768 esac
9769 as_fn_append CONFIG_FILES " '$ac_optarg'"
126849770 ac_need_defaults=false;;
126859771 --header | --heade | --head | --hea )
126869772 $ac_shift
12687 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9773 case $ac_optarg in
9774 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9775 esac
9776 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
126889777 ac_need_defaults=false;;
126899778 --he | --h)
126909779 # Conflict between --help and --header
12691 { echo "$as_me: error: ambiguous option: $1
12692 Try \`$0 --help' for more information." >&2
12693 { (exit 1); exit 1; }; };;
9780 as_fn_error "ambiguous option: \`$1'
9781 Try \`$0 --help' for more information.";;
126949782 --help | --hel | -h )
12695 echo "$ac_cs_usage"; exit ;;
9783 $as_echo "$ac_cs_usage"; exit ;;
126969784 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
126979785 | -silent | --silent | --silen | --sile | --sil | --si | --s)
126989786 ac_cs_silent=: ;;
126999787
127009788 # This is an error.
12701 -*) { echo "$as_me: error: unrecognized option: $1
12702 Try \`$0 --help' for more information." >&2
12703 { (exit 1); exit 1; }; } ;;
12704
12705 *) ac_config_targets="$ac_config_targets $1"
9789 -*) as_fn_error "unrecognized option: \`$1'
9790 Try \`$0 --help' for more information." ;;
9791
9792 *) as_fn_append ac_config_targets " $1"
127069793 ac_need_defaults=false ;;
127079794
127089795 esac
127179804 fi
127189805
127199806 _ACEOF
12720 cat >>$CONFIG_STATUS <<_ACEOF
9807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
127219808 if \$ac_cs_recheck; then
12722 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12723 CONFIG_SHELL=$SHELL
9809 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9810 shift
9811 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9812 CONFIG_SHELL='$SHELL'
127249813 export CONFIG_SHELL
12725 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12726 fi
12727
12728 _ACEOF
12729 cat >>$CONFIG_STATUS <<\_ACEOF
9814 exec "\$@"
9815 fi
9816
9817 _ACEOF
9818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
127309819 exec 5>>config.log
127319820 {
127329821 echo
127339822 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
127349823 ## Running $as_me. ##
127359824 _ASBOX
12736 echo "$ac_log"
9825 $as_echo "$ac_log"
127379826 } >&5
127389827
127399828 _ACEOF
12740 cat >>$CONFIG_STATUS <<_ACEOF
9829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
127419830 #
127429831 # INIT-COMMANDS
127439832 #
127529841
127539842 _ACEOF
127549843
12755 cat >>$CONFIG_STATUS <<\_ACEOF
9844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
127569845
127579846 # Handling of arguments.
127589847 for ac_config_target in $ac_config_targets
127819870 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
127829871 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
127839872
12784 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12785 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12786 { (exit 1); exit 1; }; };;
9873 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
127879874 esac
127889875 done
127899876
128109897 trap 'exit_status=$?
128119898 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
128129899 ' 0
12813 trap '{ (exit 1); exit 1; }' 1 2 13 15
9900 trap 'as_fn_exit 1' 1 2 13 15
128149901 }
128159902 # Create a (secure) tmp directory for tmp files.
128169903
128219908 {
128229909 tmp=./conf$$-$RANDOM
128239910 (umask 077 && mkdir "$tmp")
12824 } ||
9911 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
9912
9913 # Set up the scripts for CONFIG_FILES section.
9914 # No need to generate them if there are no CONFIG_FILES.
9915 # This happens for instance with `./config.status config.h'.
9916 if test -n "$CONFIG_FILES"; then
9917
9918
9919 ac_cr=`echo X | tr X '\015'`
9920 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9921 # But we know of no other shell where ac_cr would be empty at this
9922 # point, so we can use a bashism as a fallback.
9923 if test "x$ac_cr" = x; then
9924 eval ac_cr=\$\'\\r\'
9925 fi
9926 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9927 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9928 ac_cs_awk_cr='\r'
9929 else
9930 ac_cs_awk_cr=$ac_cr
9931 fi
9932
9933 echo 'BEGIN {' >"$tmp/subs1.awk" &&
9934 _ACEOF
9935
9936
128259937 {
12826 echo "$me: cannot create a temporary directory in ." >&2
12827 { (exit 1); exit 1; }
12828 }
12829
12830 #
12831 # Set up the sed scripts for CONFIG_FILES section.
12832 #
12833
12834 # No need to generate the scripts if there are no CONFIG_FILES.
12835 # This happens for instance when ./config.status config.h
12836 if test -n "$CONFIG_FILES"; then
12837
12838 _ACEOF
12839
12840
12841
9938 echo "cat >conf$$subs.awk <<_ACEOF" &&
9939 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9940 echo "_ACEOF"
9941 } >conf$$subs.sh ||
9942 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9943 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
128429944 ac_delim='%!_!# '
128439945 for ac_last_try in false false false false false :; do
12844 cat >conf$$subs.sed <<_ACEOF
12845 SHELL!$SHELL$ac_delim
12846 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
12847 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
12848 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
12849 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
12850 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
12851 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
12852 exec_prefix!$exec_prefix$ac_delim
12853 prefix!$prefix$ac_delim
12854 program_transform_name!$program_transform_name$ac_delim
12855 bindir!$bindir$ac_delim
12856 sbindir!$sbindir$ac_delim
12857 libexecdir!$libexecdir$ac_delim
12858 datarootdir!$datarootdir$ac_delim
12859 datadir!$datadir$ac_delim
12860 sysconfdir!$sysconfdir$ac_delim
12861 sharedstatedir!$sharedstatedir$ac_delim
12862 localstatedir!$localstatedir$ac_delim
12863 includedir!$includedir$ac_delim
12864 oldincludedir!$oldincludedir$ac_delim
12865 docdir!$docdir$ac_delim
12866 infodir!$infodir$ac_delim
12867 htmldir!$htmldir$ac_delim
12868 dvidir!$dvidir$ac_delim
12869 pdfdir!$pdfdir$ac_delim
12870 psdir!$psdir$ac_delim
12871 libdir!$libdir$ac_delim
12872 localedir!$localedir$ac_delim
12873 mandir!$mandir$ac_delim
12874 DEFS!$DEFS$ac_delim
12875 ECHO_C!$ECHO_C$ac_delim
12876 ECHO_N!$ECHO_N$ac_delim
12877 ECHO_T!$ECHO_T$ac_delim
12878 LIBS!$LIBS$ac_delim
12879 build_alias!$build_alias$ac_delim
12880 host_alias!$host_alias$ac_delim
12881 target_alias!$target_alias$ac_delim
12882 build!$build$ac_delim
12883 build_cpu!$build_cpu$ac_delim
12884 build_vendor!$build_vendor$ac_delim
12885 build_os!$build_os$ac_delim
12886 host!$host$ac_delim
12887 host_cpu!$host_cpu$ac_delim
12888 host_vendor!$host_vendor$ac_delim
12889 host_os!$host_os$ac_delim
12890 target!$target$ac_delim
12891 target_cpu!$target_cpu$ac_delim
12892 target_vendor!$target_vendor$ac_delim
12893 target_os!$target_os$ac_delim
12894 CC!$CC$ac_delim
12895 CFLAGS!$CFLAGS$ac_delim
12896 LDFLAGS!$LDFLAGS$ac_delim
12897 CPPFLAGS!$CPPFLAGS$ac_delim
12898 ac_ct_CC!$ac_ct_CC$ac_delim
12899 EXEEXT!$EXEEXT$ac_delim
12900 OBJEXT!$OBJEXT$ac_delim
12901 CPP!$CPP$ac_delim
12902 GREP!$GREP$ac_delim
12903 EGREP!$EGREP$ac_delim
12904 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
12905 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
12906 INSTALL_DATA!$INSTALL_DATA$ac_delim
12907 CYGPATH_W!$CYGPATH_W$ac_delim
12908 PACKAGE!$PACKAGE$ac_delim
12909 VERSION!$VERSION$ac_delim
12910 ACLOCAL!$ACLOCAL$ac_delim
12911 AUTOCONF!$AUTOCONF$ac_delim
12912 AUTOMAKE!$AUTOMAKE$ac_delim
12913 AUTOHEADER!$AUTOHEADER$ac_delim
12914 MAKEINFO!$MAKEINFO$ac_delim
12915 install_sh!$install_sh$ac_delim
12916 STRIP!$STRIP$ac_delim
12917 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
12918 mkdir_p!$mkdir_p$ac_delim
12919 AWK!$AWK$ac_delim
12920 SET_MAKE!$SET_MAKE$ac_delim
12921 am__leading_dot!$am__leading_dot$ac_delim
12922 AMTAR!$AMTAR$ac_delim
12923 am__tar!$am__tar$ac_delim
12924 am__untar!$am__untar$ac_delim
12925 DEPDIR!$DEPDIR$ac_delim
12926 am__include!$am__include$ac_delim
12927 am__quote!$am__quote$ac_delim
12928 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
12929 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
12930 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
12931 CCDEPMODE!$CCDEPMODE$ac_delim
12932 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
12933 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
12934 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
12935 USE_NLS!$USE_NLS$ac_delim
12936 MSGFMT!$MSGFMT$ac_delim
12937 GMSGFMT!$GMSGFMT$ac_delim
12938 XGETTEXT!$XGETTEXT$ac_delim
12939 MSGMERGE!$MSGMERGE$ac_delim
12940 RANLIB!$RANLIB$ac_delim
12941 ALLOCA!$ALLOCA$ac_delim
12942 _ACEOF
12943
12944 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
9946 . ./conf$$subs.sh ||
9947 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9948
9949 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9950 if test $ac_delim_n = $ac_delim_num; then
129459951 break
129469952 elif $ac_last_try; then
12947 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12948 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12949 { (exit 1); exit 1; }; }
9953 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
129509954 else
129519955 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
129529956 fi
129539957 done
12954
12955 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12956 if test -n "$ac_eof"; then
12957 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
12958 ac_eof=`expr $ac_eof + 1`
12959 fi
12960
12961 cat >>$CONFIG_STATUS <<_ACEOF
12962 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
12963 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12964 _ACEOF
12965 sed '
12966 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12967 s/^/s,@/; s/!/@,|#_!!_#|/
12968 :n
12969 t n
12970 s/'"$ac_delim"'$/,g/; t
12971 s/$/\\/; p
12972 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12973 ' >>$CONFIG_STATUS <conf$$subs.sed
12974 rm -f conf$$subs.sed
12975 cat >>$CONFIG_STATUS <<_ACEOF
12976 CEOF$ac_eof
12977 _ACEOF
12978
12979
12980 ac_delim='%!_!# '
12981 for ac_last_try in false false false false false :; do
12982 cat >conf$$subs.sed <<_ACEOF
12983 GLIBC21!$GLIBC21$ac_delim
12984 HAVE_POSIX_PRINTF!$HAVE_POSIX_PRINTF$ac_delim
12985 HAVE_ASPRINTF!$HAVE_ASPRINTF$ac_delim
12986 HAVE_SNPRINTF!$HAVE_SNPRINTF$ac_delim
12987 HAVE_WPRINTF!$HAVE_WPRINTF$ac_delim
12988 LIBICONV!$LIBICONV$ac_delim
12989 LTLIBICONV!$LTLIBICONV$ac_delim
12990 INTLBISON!$INTLBISON$ac_delim
12991 BUILD_INCLUDED_LIBINTL!$BUILD_INCLUDED_LIBINTL$ac_delim
12992 USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
12993 CATOBJEXT!$CATOBJEXT$ac_delim
12994 DATADIRNAME!$DATADIRNAME$ac_delim
12995 INSTOBJEXT!$INSTOBJEXT$ac_delim
12996 GENCAT!$GENCAT$ac_delim
12997 INTLOBJS!$INTLOBJS$ac_delim
12998 INTL_LIBTOOL_SUFFIX_PREFIX!$INTL_LIBTOOL_SUFFIX_PREFIX$ac_delim
12999 INTLLIBS!$INTLLIBS$ac_delim
13000 LIBINTL!$LIBINTL$ac_delim
13001 LTLIBINTL!$LTLIBINTL$ac_delim
13002 POSUB!$POSUB$ac_delim
13003 SDL_CONFIG!$SDL_CONFIG$ac_delim
13004 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
13005 SDL_LIBS!$SDL_LIBS$ac_delim
13006 warp_flag!$warp_flag$ac_delim
13007 audio_flag!$audio_flag$ac_delim
13008 mixer_flag!$mixer_flag$ac_delim
13009 doc_dir!$doc_dir$ac_delim
13010 network_flag!$network_flag$ac_delim
13011 sdlnet_flag!$sdlnet_flag$ac_delim
13012 sdlnet_lib_flag!$sdlnet_lib_flag$ac_delim
13013 netdebug_flag!$netdebug_flag$ac_delim
13014 inst_flag!$inst_flag$ac_delim
13015 hi_inst_flag!$hi_inst_flag$ac_delim
13016 inst_dir!$inst_dir$ac_delim
13017 hi_dir!$hi_dir$ac_delim
13018 locdir_flag!$locdir_flag$ac_delim
13019 win32_deps!$win32_deps$ac_delim
13020 arch_flag!$arch_flag$ac_delim
13021 win32_inst_script!$win32_inst_script$ac_delim
13022 appname!$appname$ac_delim
13023 LIBOBJS!$LIBOBJS$ac_delim
13024 LTLIBOBJS!$LTLIBOBJS$ac_delim
13025 _ACEOF
13026
13027 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 42; then
13028 break
13029 elif $ac_last_try; then
13030 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13031 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13032 { (exit 1); exit 1; }; }
13033 else
13034 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13035 fi
13036 done
13037
13038 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13039 if test -n "$ac_eof"; then
13040 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13041 ac_eof=`expr $ac_eof + 1`
13042 fi
13043
13044 cat >>$CONFIG_STATUS <<_ACEOF
13045 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13046 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13047 _ACEOF
13048 sed '
13049 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13050 s/^/s,@/; s/!/@,|#_!!_#|/
13051 :n
13052 t n
13053 s/'"$ac_delim"'$/,g/; t
13054 s/$/\\/; p
13055 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13056 ' >>$CONFIG_STATUS <conf$$subs.sed
13057 rm -f conf$$subs.sed
13058 cat >>$CONFIG_STATUS <<_ACEOF
13059 :end
13060 s/|#_!!_#|//g
13061 CEOF$ac_eof
13062 _ACEOF
13063
9958 rm -f conf$$subs.sh
9959
9960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9961 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
9962 _ACEOF
9963 sed -n '
9964 h
9965 s/^/S["/; s/!.*/"]=/
9966 p
9967 g
9968 s/^[^!]*!//
9969 :repl
9970 t repl
9971 s/'"$ac_delim"'$//
9972 t delim
9973 :nl
9974 h
9975 s/\(.\{148\}\)..*/\1/
9976 t more1
9977 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9978 p
9979 n
9980 b repl
9981 :more1
9982 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9983 p
9984 g
9985 s/.\{148\}//
9986 t nl
9987 :delim
9988 h
9989 s/\(.\{148\}\)..*/\1/
9990 t more2
9991 s/["\\]/\\&/g; s/^/"/; s/$/"/
9992 p
9993 b
9994 :more2
9995 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9996 p
9997 g
9998 s/.\{148\}//
9999 t delim
10000 ' <conf$$subs.awk | sed '
10001 /^[^""]/{
10002 N
10003 s/\n//
10004 }
10005 ' >>$CONFIG_STATUS || ac_write_fail=1
10006 rm -f conf$$subs.awk
10007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10008 _ACAWK
10009 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
10010 for (key in S) S_is_set[key] = 1
10011 FS = ""
10012
10013 }
10014 {
10015 line = $ 0
10016 nfields = split(line, field, "@")
10017 substed = 0
10018 len = length(field[1])
10019 for (i = 2; i < nfields; i++) {
10020 key = field[i]
10021 keylen = length(key)
10022 if (S_is_set[key]) {
10023 value = S[key]
10024 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10025 len += length(value) + length(field[++i])
10026 substed = 1
10027 } else
10028 len += 1 + keylen
10029 }
10030
10031 print line
10032 }
10033
10034 _ACAWK
10035 _ACEOF
10036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10037 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10038 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10039 else
10040 cat
10041 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
10042 || as_fn_error "could not setup config files machinery" "$LINENO" 5
10043 _ACEOF
1306410044
1306510045 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1306610046 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1307710057 }'
1307810058 fi
1307910059
13080 cat >>$CONFIG_STATUS <<\_ACEOF
10060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1308110061 fi # test -n "$CONFIG_FILES"
1308210062
13083
13084 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
10063 # Set up the scripts for CONFIG_HEADERS section.
10064 # No need to generate them if there are no CONFIG_HEADERS.
10065 # This happens for instance with `./config.status Makefile'.
10066 if test -n "$CONFIG_HEADERS"; then
10067 cat >"$tmp/defines.awk" <<\_ACAWK ||
10068 BEGIN {
10069 _ACEOF
10070
10071 # Transform confdefs.h into an awk script `defines.awk', embedded as
10072 # here-document in config.status, that substitutes the proper values into
10073 # config.h.in to produce config.h.
10074
10075 # Create a delimiter string that does not exist in confdefs.h, to ease
10076 # handling of long lines.
10077 ac_delim='%!_!# '
10078 for ac_last_try in false false :; do
10079 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
10080 if test -z "$ac_t"; then
10081 break
10082 elif $ac_last_try; then
10083 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
10084 else
10085 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10086 fi
10087 done
10088
10089 # For the awk script, D is an array of macro values keyed by name,
10090 # likewise P contains macro parameters if any. Preserve backslash
10091 # newline sequences.
10092
10093 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10094 sed -n '
10095 s/.\{148\}/&'"$ac_delim"'/g
10096 t rset
10097 :rset
10098 s/^[ ]*#[ ]*define[ ][ ]*/ /
10099 t def
10100 d
10101 :def
10102 s/\\$//
10103 t bsnl
10104 s/["\\]/\\&/g
10105 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10106 D["\1"]=" \3"/p
10107 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
10108 d
10109 :bsnl
10110 s/["\\]/\\&/g
10111 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10112 D["\1"]=" \3\\\\\\n"\\/p
10113 t cont
10114 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10115 t cont
10116 d
10117 :cont
10118 n
10119 s/.\{148\}/&'"$ac_delim"'/g
10120 t clear
10121 :clear
10122 s/\\$//
10123 t bsnlc
10124 s/["\\]/\\&/g; s/^/"/; s/$/"/p
10125 d
10126 :bsnlc
10127 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10128 b cont
10129 ' <confdefs.h | sed '
10130 s/'"$ac_delim"'/"\\\
10131 "/g' >>$CONFIG_STATUS || ac_write_fail=1
10132
10133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10134 for (key in D) D_is_set[key] = 1
10135 FS = ""
10136 }
10137 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10138 line = \$ 0
10139 split(line, arg, " ")
10140 if (arg[1] == "#") {
10141 defundef = arg[2]
10142 mac1 = arg[3]
10143 } else {
10144 defundef = substr(arg[1], 2)
10145 mac1 = arg[2]
10146 }
10147 split(mac1, mac2, "(") #)
10148 macro = mac2[1]
10149 prefix = substr(line, 1, index(line, defundef) - 1)
10150 if (D_is_set[macro]) {
10151 # Preserve the white space surrounding the "#".
10152 print prefix "define", macro P[macro] D[macro]
10153 next
10154 } else {
10155 # Replace #undef with comments. This is necessary, for example,
10156 # in the case of _POSIX_SOURCE, which is predefined and required
10157 # on some systems where configure will not decide to define it.
10158 if (defundef == "undef") {
10159 print "/*", prefix defundef, macro, "*/"
10160 next
10161 }
10162 }
10163 }
10164 { print }
10165 _ACAWK
10166 _ACEOF
10167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10168 as_fn_error "could not setup config headers machinery" "$LINENO" 5
10169 fi # test -n "$CONFIG_HEADERS"
10170
10171
10172 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10173 shift
10174 for ac_tag
1308510175 do
1308610176 case $ac_tag in
1308710177 :[FHLC]) ac_mode=$ac_tag; continue;;
1308810178 esac
1308910179 case $ac_mode$ac_tag in
1309010180 :[FHL]*:*);;
13091 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13092 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13093 { (exit 1); exit 1; }; };;
10181 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
1309410182 :[FH]-) ac_tag=-:-;;
1309510183 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1309610184 esac
1311810206 [\\/$]*) false;;
1311910207 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1312010208 esac ||
13121 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13122 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13123 { (exit 1); exit 1; }; };;
10209 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1312410210 esac
13125 ac_file_inputs="$ac_file_inputs $ac_f"
10211 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10212 as_fn_append ac_file_inputs " '$ac_f'"
1312610213 done
1312710214
1312810215 # Let's still pretend it is `configure' which instantiates (i.e., don't
1312910216 # use $as_me), people would be surprised to read:
1313010217 # /* config.h. Generated by config.status. */
13131 configure_input="Generated from "`IFS=:
13132 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10218 configure_input='Generated from '`
10219 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10220 `' by configure.'
1313310221 if test x"$ac_file" != x-; then
1313410222 configure_input="$ac_file. $configure_input"
13135 { echo "$as_me:$LINENO: creating $ac_file" >&5
13136 echo "$as_me: creating $ac_file" >&6;}
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10224 $as_echo "$as_me: creating $ac_file" >&6;}
1313710225 fi
10226 # Neutralize special characters interpreted by sed in replacement strings.
10227 case $configure_input in #(
10228 *\&* | *\|* | *\\* )
10229 ac_sed_conf_input=`$as_echo "$configure_input" |
10230 sed 's/[\\\\&|]/\\\\&/g'`;; #(
10231 *) ac_sed_conf_input=$configure_input;;
10232 esac
1313810233
1313910234 case $ac_tag in
13140 *:-:* | *:-) cat >"$tmp/stdin";;
10235 *:-:* | *:-) cat >"$tmp/stdin" \
10236 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
1314110237 esac
1314210238 ;;
1314310239 esac
1314710243 X"$ac_file" : 'X\(//\)[^/]' \| \
1314810244 X"$ac_file" : 'X\(//\)$' \| \
1314910245 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13150 echo X"$ac_file" |
10246 $as_echo X"$ac_file" |
1315110247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1315210248 s//\1/
1315310249 q
1316510261 q
1316610262 }
1316710263 s/.*/./; q'`
13168 { as_dir="$ac_dir"
13169 case $as_dir in #(
13170 -*) as_dir=./$as_dir;;
13171 esac
13172 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13173 as_dirs=
13174 while :; do
13175 case $as_dir in #(
13176 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13177 *) as_qdir=$as_dir;;
13178 esac
13179 as_dirs="'$as_qdir' $as_dirs"
13180 as_dir=`$as_dirname -- "$as_dir" ||
13181 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13182 X"$as_dir" : 'X\(//\)[^/]' \| \
13183 X"$as_dir" : 'X\(//\)$' \| \
13184 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13185 echo X"$as_dir" |
13186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13187 s//\1/
13188 q
13189 }
13190 /^X\(\/\/\)[^/].*/{
13191 s//\1/
13192 q
13193 }
13194 /^X\(\/\/\)$/{
13195 s//\1/
13196 q
13197 }
13198 /^X\(\/\).*/{
13199 s//\1/
13200 q
13201 }
13202 s/.*/./; q'`
13203 test -d "$as_dir" && break
13204 done
13205 test -z "$as_dirs" || eval "mkdir $as_dirs"
13206 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13207 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13208 { (exit 1); exit 1; }; }; }
10264 as_dir="$ac_dir"; as_fn_mkdir_p
1320910265 ac_builddir=.
1321010266
1321110267 case "$ac_dir" in
1321210268 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1321310269 *)
13214 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10270 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1321510271 # A ".." for each directory in $ac_dir_suffix.
13216 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10272 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1321710273 case $ac_top_builddir_sub in
1321810274 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1321910275 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1325310309 esac
1325410310 _ACEOF
1325510311
13256 cat >>$CONFIG_STATUS <<\_ACEOF
10312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1325710313 # If the template does not know about datarootdir, expand it.
1325810314 # FIXME: This hack should be removed a few years after 2.60.
1325910315 ac_datarootdir_hack=; ac_datarootdir_seen=
13260
13261 case `sed -n '/datarootdir/ {
10316 ac_sed_dataroot='
10317 /datarootdir/ {
1326210318 p
1326310319 q
1326410320 }
1326610322 /@docdir@/p
1326710323 /@infodir@/p
1326810324 /@localedir@/p
13269 /@mandir@/p
13270 ' $ac_file_inputs` in
10325 /@mandir@/p'
10326 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1327110327 *datarootdir*) ac_datarootdir_seen=yes;;
1327210328 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13273 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13274 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13275 _ACEOF
13276 cat >>$CONFIG_STATUS <<_ACEOF
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10330 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10331 _ACEOF
10332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1327710333 ac_datarootdir_hack='
1327810334 s&@datadir@&$datadir&g
1327910335 s&@docdir@&$docdir&g
1328010336 s&@infodir@&$infodir&g
1328110337 s&@localedir@&$localedir&g
1328210338 s&@mandir@&$mandir&g
13283 s&\\\${datarootdir}&$datarootdir&g' ;;
10339 s&\\\${datarootdir}&$datarootdir&g' ;;
1328410340 esac
1328510341 _ACEOF
1328610342
1328710343 # Neutralize VPATH when `$srcdir' = `.'.
1328810344 # Shell code in configure.ac might set extrasub.
1328910345 # FIXME: do we really want to maintain this feature?
13290 cat >>$CONFIG_STATUS <<_ACEOF
13291 sed "$ac_vpsub
10346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10347 ac_sed_extra="$ac_vpsub
1329210348 $extrasub
1329310349 _ACEOF
13294 cat >>$CONFIG_STATUS <<\_ACEOF
10350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1329510351 :t
1329610352 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13297 s&@configure_input@&$configure_input&;t t
10353 s|@configure_input@|$ac_sed_conf_input|;t t
1329810354 s&@top_builddir@&$ac_top_builddir_sub&;t t
10355 s&@top_build_prefix@&$ac_top_build_prefix&;t t
1329910356 s&@srcdir@&$ac_srcdir&;t t
1330010357 s&@abs_srcdir@&$ac_abs_srcdir&;t t
1330110358 s&@top_srcdir@&$ac_top_srcdir&;t t
1330510362 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1330610363 s&@INSTALL@&$ac_INSTALL&;t t
1330710364 $ac_datarootdir_hack
13308 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
10365 "
10366 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
10367 || as_fn_error "could not create $ac_file" "$LINENO" 5
1330910368
1331010369 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1331110370 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
1331210371 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13313 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1331410373 which seems to be undefined. Please make sure it is defined." >&5
13315 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10374 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1331610375 which seems to be undefined. Please make sure it is defined." >&2;}
1331710376
1331810377 rm -f "$tmp/stdin"
1331910378 case $ac_file in
13320 -) cat "$tmp/out"; rm -f "$tmp/out";;
13321 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
13322 esac
10379 -) cat "$tmp/out" && rm -f "$tmp/out";;
10380 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10381 esac \
10382 || as_fn_error "could not create $ac_file" "$LINENO" 5
1332310383 ;;
1332410384 :H)
1332510385 #
1332610386 # CONFIG_HEADER
1332710387 #
13328 _ACEOF
13329
13330 # Transform confdefs.h into a sed script `conftest.defines', that
13331 # substitutes the proper values into config.h.in to produce config.h.
13332 rm -f conftest.defines conftest.tail
13333 # First, append a space to every undef/define line, to ease matching.
13334 echo 's/$/ /' >conftest.defines
13335 # Then, protect against being on the right side of a sed subst, or in
13336 # an unquoted here document, in config.status. If some macros were
13337 # called several times there might be several #defines for the same
13338 # symbol, which is useless. But do not sort them, since the last
13339 # AC_DEFINE must be honored.
13340 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13341 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13342 # NAME is the cpp macro being defined, VALUE is the value it is being given.
13343 # PARAMS is the parameter list in the macro definition--in most cases, it's
13344 # just an empty string.
13345 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
13346 ac_dB='\\)[ (].*,\\1define\\2'
13347 ac_dC=' '
13348 ac_dD=' ,'
13349
13350 uniq confdefs.h |
13351 sed -n '
13352 t rset
13353 :rset
13354 s/^[ ]*#[ ]*define[ ][ ]*//
13355 t ok
13356 d
13357 :ok
13358 s/[\\&,]/\\&/g
13359 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13360 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13361 ' >>conftest.defines
13362
13363 # Remove the space that was appended to ease matching.
13364 # Then replace #undef with comments. This is necessary, for
13365 # example, in the case of _POSIX_SOURCE, which is predefined and required
13366 # on some systems where configure will not decide to define it.
13367 # (The regexp can be short, since the line contains either #define or #undef.)
13368 echo 's/ $//
13369 s,^[ #]*u.*,/* & */,' >>conftest.defines
13370
13371 # Break up conftest.defines:
13372 ac_max_sed_lines=50
13373
13374 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
13375 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
13376 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
13377 # et cetera.
13378 ac_in='$ac_file_inputs'
13379 ac_out='"$tmp/out1"'
13380 ac_nxt='"$tmp/out2"'
13381
13382 while :
13383 do
13384 # Write a here document:
13385 cat >>$CONFIG_STATUS <<_ACEOF
13386 # First, check the format of the line:
13387 cat >"\$tmp/defines.sed" <<\\CEOF
13388 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
13389 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
13390 b
13391 :def
13392 _ACEOF
13393 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
13394 echo 'CEOF
13395 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
13396 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
13397 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
13398 grep . conftest.tail >/dev/null || break
13399 rm -f conftest.defines
13400 mv conftest.tail conftest.defines
13401 done
13402 rm -f conftest.defines conftest.tail
13403
13404 echo "ac_result=$ac_in" >>$CONFIG_STATUS
13405 cat >>$CONFIG_STATUS <<\_ACEOF
1340610388 if test x"$ac_file" != x-; then
13407 echo "/* $configure_input */" >"$tmp/config.h"
13408 cat "$ac_result" >>"$tmp/config.h"
13409 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
13410 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13411 echo "$as_me: $ac_file is unchanged" >&6;}
10389 {
10390 $as_echo "/* $configure_input */" \
10391 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10392 } >"$tmp/config.h" \
10393 || as_fn_error "could not create $ac_file" "$LINENO" 5
10394 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10396 $as_echo "$as_me: $ac_file is unchanged" >&6;}
1341210397 else
13413 rm -f $ac_file
13414 mv "$tmp/config.h" $ac_file
10398 rm -f "$ac_file"
10399 mv "$tmp/config.h" "$ac_file" \
10400 || as_fn_error "could not create $ac_file" "$LINENO" 5
1341510401 fi
1341610402 else
13417 echo "/* $configure_input */"
13418 cat "$ac_result"
13419 fi
13420 rm -f "$tmp/out12"
13421 # Compute $ac_file's index in $config_headers.
10403 $as_echo "/* $configure_input */" \
10404 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10405 || as_fn_error "could not create -" "$LINENO" 5
10406 fi
10407 # Compute "$ac_file"'s index in $config_headers.
1342210408 _am_stamp_count=1
1342310409 for _am_header in $config_headers :; do
1342410410 case $_am_header in
13425 $ac_file | $ac_file:* )
10411 "$ac_file" | "$ac_file":* )
1342610412 break ;;
1342710413 * )
1342810414 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1342910415 esac
1343010416 done
13431 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
13432 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13433 X$ac_file : 'X\(//\)[^/]' \| \
13434 X$ac_file : 'X\(//\)$' \| \
13435 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
13436 echo X$ac_file |
10417 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
10418 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10419 X"$ac_file" : 'X\(//\)[^/]' \| \
10420 X"$ac_file" : 'X\(//\)$' \| \
10421 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10422 $as_echo X"$ac_file" |
1343710423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1343810424 s//\1/
1343910425 q
1345310439 s/.*/./; q'`/stamp-h$_am_stamp_count
1345410440 ;;
1345510441
13456 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
13457 echo "$as_me: executing $ac_file commands" >&6;}
10442 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10443 $as_echo "$as_me: executing $ac_file commands" >&6;}
1345810444 ;;
1345910445 esac
1346010446
1347510461 X"$mf" : 'X\(//\)[^/]' \| \
1347610462 X"$mf" : 'X\(//\)$' \| \
1347710463 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13478 echo X"$mf" |
10464 $as_echo X"$mf" |
1347910465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348010466 s//\1/
1348110467 q
1351910505 X"$file" : 'X\(//\)[^/]' \| \
1352010506 X"$file" : 'X\(//\)$' \| \
1352110507 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13522 echo X"$file" |
10508 $as_echo X"$file" |
1352310509 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1352410510 s//\1/
1352510511 q
1353710523 q
1353810524 }
1353910525 s/.*/./; q'`
13540 { as_dir=$dirpart/$fdir
13541 case $as_dir in #(
13542 -*) as_dir=./$as_dir;;
13543 esac
13544 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13545 as_dirs=
13546 while :; do
13547 case $as_dir in #(
13548 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13549 *) as_qdir=$as_dir;;
13550 esac
13551 as_dirs="'$as_qdir' $as_dirs"
13552 as_dir=`$as_dirname -- "$as_dir" ||
13553 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13554 X"$as_dir" : 'X\(//\)[^/]' \| \
13555 X"$as_dir" : 'X\(//\)$' \| \
13556 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13557 echo X"$as_dir" |
13558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13559 s//\1/
13560 q
13561 }
13562 /^X\(\/\/\)[^/].*/{
13563 s//\1/
13564 q
13565 }
13566 /^X\(\/\/\)$/{
13567 s//\1/
13568 q
13569 }
13570 /^X\(\/\).*/{
13571 s//\1/
13572 q
13573 }
13574 s/.*/./; q'`
13575 test -d "$as_dir" && break
13576 done
13577 test -z "$as_dirs" || eval "mkdir $as_dirs"
13578 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13579 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13580 { (exit 1); exit 1; }; }; }
10526 as_dir=$dirpart/$fdir; as_fn_mkdir_p
1358110527 # echo "creating $dirpart/$file"
1358210528 echo '# dummy' > "$dirpart/$file"
1358310529 done
1369710643 done # for ac_tag
1369810644
1369910645
13700 { (exit 0); exit 0; }
13701 _ACEOF
13702 chmod +x $CONFIG_STATUS
10646 as_fn_exit 0
10647 _ACEOF
1370310648 ac_clean_files=$ac_clean_files_save
10649
10650 test $ac_write_fail = 0 ||
10651 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
1370410652
1370510653
1370610654 # configure is writing to config.log, and then calls config.status.
1372110669 exec 5>>config.log
1372210670 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
1372310671 # would make configure fail if this is the last instruction.
13724 $ac_cs_success || { (exit 1); exit 1; }
13725 fi
13726
10672 $ac_cs_success || as_fn_exit $?
10673 fi
10674 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10676 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10677 fi
10678
66
77 AM_CONFIG_HEADER(config.h)
88
9 AM_INIT_AUTOMAKE(lbreakout2,2.6)
9 AM_INIT_AUTOMAKE(lbreakout2,2.6.1)
1010
1111 dnl Checks for programs.
1212 AM_GNU_GETTEXT
0 lbreakout2 (2.6.1-1) unstable; urgency=low
1
2 * New upstream release (Closes: #342869).
3 * Remove circular dependency (Closes: #561372).
4 * Replace the -Wall CFLAGS option removed by upstream.
5 * Add a man page for lbreakout2server.
6
7 -- Colin Tuckley <colint@debian.org> Sun, 03 Jan 2010 15:34:24 +0000
8
09 lbreakout2 (2.6-2) unstable; urgency=low
110
211 * Fix various problems with duplicated and mis-placed files
77
88 Package: lbreakout2
99 Architecture: any
10 Depends: ${shlibs:Depends}, lbreakout2-data (= ${source:Version})
10 Depends: ${shlibs:Depends}, ${misc:Depends}, lbreakout2-data (= ${source:Version})
1111 Description: A ball-and-paddle game with nice graphics
1212 lbreakout2 is a game similar to the classics breakout and xboing, featuring
1313 a number of added graphical enhancements and effects. You control a paddle
1919
2020 Package: lbreakout2-data
2121 Architecture: all
22 Depends: lbreakout2 (>= ${source:Version})
22 Depends: ${misc:Depends}
2323 Description: A ball-and-paddle game with nice graphics (DATA FILES)
2424 lbreakout2 is a game similar to the classics breakout and xboing, featuring
2525 a number of added graphical enhancements and effects. You control a paddle
0 #!/bin/bash -e
1
2 if test -L /usr/share/doc/lbreakout2-data; then
3 rm /usr/share/doc/lbreakout2-data;
4 fi
5
6 #DEBHELPER#
11 .\" First parameter, NAME, should be all caps
22 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
33 .\" other parameters are allowed: see man(7), man(1)
4 .TH LBREAKOUT2 6 "October 15, 2000"
4 .TH LBREAKOUT2 6 "December 18, 2009"
55 .\" Please adjust this date whenever revising the manpage.
66 .\"
77 .\" Some roff macros, for reference:
2525 This manual page was written for the Debian GNU/Linux distribution
2626 because the original program does not have a manual page.
2727 .br
28 Further documentation is available in /usr/share/doc/lbreakout2/docs.
28 Further documentation is available in /usr/share/doc/lbreakout2.
2929 .br
3030 \fBlbreakout2\fP is a game written in the style of the games Breakout
3131 and xboing. The goal is to eliminate a series of screens of bricks by
3333 .SH OPTIONS
3434 lbreakout2 accepts no options.
3535 .SH SEE ALSO
36 /usr/share/doc/lbreakout2/docs/index.html
36 /usr/share/doc/lbreakout2/index.html
3737 .SH AUTHOR
3838 This manual page was written by Daniel Burrows <Daniel_Burrows@brown.edu>,
3939 for the Debian GNU/Linux system (but may be used by others).
0 .TH LBREAKOUT2SERVER 6 "December 18, 2009"
1 .\" Please adjust this date whenever revising the manpage.
2 .\"
3 .\" Some roff macros, for reference:
4 .\" .nh disable hyphenation
5 .\" .hy enable hyphenation
6 .\" .ad l left justify
7 .\" .ad b justify to both left and right margins
8 .\" .nf disable filling
9 .\" .fi enable filling
10 .\" .br insert line break
11 .\" .sp <n> insert n+1 empty lines
12 .\" for manpage-specific macros, see man(7)
13 .SH NAME
14 lbreakout2server \- lbreakout2 multi-player server
15 .SH SYNOPSIS
16 .B lbreakout2server
17 .SH DESCRIPTION
18 This manual page briefly documents the
19 .B lbreakout2server
20 command.
21 This manual page was written for the Debian GNU/Linux distribution
22 because the original program does not have a manual page.
23 .br
24 Further documentation is available in /usr/share/doc/lbreakout2.
25 .br
26 \fBlbreakout2\fP is a game written in the style of the games Breakout
27 and xboing. This server allows two or more players to play against each other.
28 .SH OPTIONS
29 .LP
30 .TP
31 \fB\-p <port>\fR
32 the port the server will run on (default is 2002).
33 .TP
34 \fB\-l <limit>\fR
35 maximum number of users that may connect to the server (default is 30).
36 .TP
37 \fB\-m <message>\fR
38 this message is displayed to welcome a user.
39 .TP
40 \fB\-a <password>\fR
41 a user that logs in with this name will become administrator named admin (default is no admin).
42 .TP
43 \fB\-f <framerate>\fR
44 the number of calls to the send/recv handler per second. The default is 33.
45 .SH SEE ALSO
46 /usr/share/doc/lbreakout2/index.html
47 .SH AUTHOR
48 This manual page was written by Colin Tuckley <colint@debian.org>,
49 for the Debian GNU/Linux system (but may be used by others).
00 10-ball-turbo-key-pref.dpatch
1 20-appropriate-spelling.dpatch
1 40-cflags-Wall.dpatch
+0
-58
debian/patches/20-appropriate-spelling.dpatch less more
0 #! /bin/sh /usr/share/dpatch/dpatch-run
1 ## 20-appropriate-spelling.dpatch by <colint@debian.org>
2 ##
3 ## All lines beginning with `## DP:' are a description of the patch.
4 ## DP: Fix spelling of "appropriate".
5
6 @DPATCH@
7 diff -urNad lbreakout2-2.6~/client/manager.c lbreakout2-2.6/client/manager.c
8 --- lbreakout2-2.6~/client/manager.c 2005-10-19 21:51:21.000000000 +0100
9 +++ lbreakout2-2.6/client/manager.c 2009-12-14 21:19:19.082763789 +0000
10 @@ -173,7 +173,7 @@
11 "Loosing your ball means going to the next level.")
12 #define HINT_HUNTER _("Your task is to hunt down bricks by moving a chaos brick indirectly. Therefore "\
13 "each side of the playing field has a brick color and you can hit small pads bearing these colors. "\
14 - "When you hit one, the chaos brick will move toward the appropiate side. You must not hit "\
15 + "When you hit one, the chaos brick will move toward the appropriate side. You must not hit "\
16 "the bordering bricks and you must get to the brick within a time limit, as always "\
17 "displayed in the lower right-hand side of the screen. The faster you are, the more score "\
18 "you'll gain.##"\
19 diff -urNad lbreakout2-2.6~/game/balls.c lbreakout2-2.6/game/balls.c
20 --- lbreakout2-2.6~/game/balls.c 2005-06-07 18:57:30.000000000 +0100
21 +++ lbreakout2-2.6/game/balls.c 2009-12-14 21:20:40.565590121 +0000
22 @@ -1483,7 +1483,7 @@
23 else
24 prim->side = SIDE_RIGHT;
25 #ifdef WITH_BUG_REPORT
26 - sprintf( side_str, "Had to change side as TOP wasn't appropiate!" );
27 + sprintf( side_str, "Had to change side as TOP wasn't appropriate!" );
28 #endif
29 }
30 break;
31 @@ -1494,7 +1494,7 @@
32 else
33 prim->side = SIDE_RIGHT;
34 #ifdef WITH_BUG_REPORT
35 - sprintf( side_str, "Had to change side as BOTTOM wasn't appropiate!" );
36 + sprintf( side_str, "Had to change side as BOTTOM wasn't appropriate!" );
37 #endif
38 }
39 break;
40 @@ -1505,7 +1505,7 @@
41 else
42 prim->side = SIDE_BOTTOM;
43 #ifdef WITH_BUG_REPORT
44 - sprintf( side_str, "Had to change side as LEFT wasn't appropiate!" );
45 + sprintf( side_str, "Had to change side as LEFT wasn't appropriate!" );
46 #endif
47 }
48 break;
49 @@ -1516,7 +1516,7 @@
50 else
51 prim->side = SIDE_BOTTOM;
52 #ifdef WITH_BUG_REPORT
53 - sprintf( side_str, "Had to change side as RIGHT wasn't appropiate!" );
54 + sprintf( side_str, "Had to change side as RIGHT wasn't appropriate!" );
55 #endif
56 }
57 break;
0 #! /bin/sh /usr/share/dpatch/dpatch-run
1 ## 40-cflags-Wall.dpatch by <colint@debian.org>
2 ##
3 ## All lines beginning with `## DP:' are a description of the patch.
4 ## DP: Replace the -Wall CFLAGS option removed by upstream.
5
6 @DPATCH@
7 diff -urNad lbreakout2-2.6~/configure.in lbreakout2-2.6/configure.in
8 --- lbreakout2-2.6~/configure.in 2009-10-26 15:36:45.000000000 +0000
9 +++ lbreakout2-2.6/configure.in 2009-12-16 18:36:26.180211802 +0000
10 @@ -20,6 +20,8 @@
11 AC_CHECK_LIB(z, main,, AC_MSG_ERROR(libz is needed))
12 AC_CHECK_LIB(png, main,, AC_MSG_ERROR(libpng is needed))
13
14 +CFLAGS="$CFLAGS -Wall"
15 +
16 dnl check SDL version
17 AM_PATH_SDL(1.2.0,, AC_MSG_ERROR(lib SDL is needed))
18 CFLAGS="$CFLAGS $SDL_CFLAGS"
4444 rm -f build-stamp configure-stamp
4545
4646 [ ! -f Makefile ] || $(MAKE) distclean
47 rm -f lbreakout2.desktop
4748
4849 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
4950 rm -f config.sub
6263 dh_installdirs
6364
6465 $(MAKE) install DESTDIR=`pwd`/debian/lbreakout2
65 ln -s lbreakout2 debian/lbreakout2-data/usr/share/doc/lbreakout2-data
66 mkdir -p debian/lbreakout2-data/usr/share/doc/lbreakout2-data
6667
6768 dh_install -plbreakout2-data
6869 rm -fr debian/lbreakout2/usr/share/games/lbreakout2
8384 binary-indep: build install
8485 dh_testdir -i
8586 dh_testroot -i
87 dh_installdocs -i -plbreakout2-data
88 dh_installchangelogs -i -a ChangeLog
8689 dh_compress -i
8790 dh_fixperms -i
8891
9699 dh_testroot -a
97100 dh_installdocs -plbreakout2
98101 dh_installmenu -a
99 dh_installman -a debian/lbreakout2.6
102 dh_installman -a debian/lbreakout2.6 debian/lbreakout2server.6
100103 dh_installchangelogs -a ChangeLog
101104 dh_strip -a
102105 dh_compress -a
122122 PACKAGE_NAME = @PACKAGE_NAME@
123123 PACKAGE_STRING = @PACKAGE_STRING@
124124 PACKAGE_TARNAME = @PACKAGE_TARNAME@
125 PACKAGE_URL = @PACKAGE_URL@
125126 PACKAGE_VERSION = @PACKAGE_VERSION@
126127 PATH_SEPARATOR = @PATH_SEPARATOR@
127128 POSUB = @POSUB@
220221 exit 1;; \
221222 esac; \
222223 done; \
223 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile'; \
224 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign docs/Makefile'; \
224225 cd $(top_srcdir) && \
225 $(AUTOMAKE) --gnu docs/Makefile
226 $(AUTOMAKE) --foreign docs/Makefile
226227 .PRECIOUS: Makefile
227228 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
228229 @case '$?' in \
1818 <A href="#gameplay">Game Play</A>
1919 <UL>
2020 <LI><A href="#basics">Basics</A></LI>
21 <LI><A href="#bonus">Bonus/Malus</A></LI>
21 <LI><A href="#bonus">Bonus/Penalty</A></LI>
2222 <LI><A href="#bricks">Special Bricks</A></LI>
2323 <LI><A href="#keys">Keys</A></LI>
2424 <LI><A href="#resume">Resuming A Local Game</A></LI>
6363 one restarts the level or looses all balls. The name of the current/next player is displayed
6464 in the right top corner of the screen and before each turn.
6565 </TD></TR></TABLE>
66 <!-- bonus/malus -->
67 <H3><A name="bonus">Bonus/Malus</A></H3>
66 <!-- bonus/penalty -->
67 <H3><A name="bonus">Bonus/Penalty</A></H3>
6868 <TABLE border=0 cellpadding=5 cellspacing=5>
6969 <TR><TD colspan=4>
70 A destroyed brick may release a bonus or malus which will move down slowly. It's
70 A destroyed brick may release a bonus or penalty which will move down slowly. It's
7171 used as soon as it is collected by paddle.</TD></TR>
7272 <TR bgcolor="#f2f2f2"><TD>Name</TD><TD>Time (in sec)</TD><TD>Picture</TD><TD>Description</TD></TR>
7373 <TR bgcolor="#d0f2d0"><TD>Extra Score</TD><TD>-</TD><TD><IMG src="x0.jpg"></TD><TD>Gives you the score written on it.</TD></TR>
8080 <TR bgcolor="#d0f2d0"><TD>Bonus floor</TD><TD>10</TD><TD><IMG src="x8.jpg"></TD><TD>Closes the screen so no balls can get lost.</TD></TR>
8181 <TR bgcolor="#d0f2d0"><TD>Weapon</TD><TD>5</TD><TD><IMG src="x10.jpg"></TD><TD>Adds a weapon to the paddle.</TD></TR>
8282 <TR bgcolor="#d0f2d0"><TD>Speed Down</TD><TD>20</TD><TD><IMG src="x13.jpg"></TD><TD>Deccelerates all balls to mimum speed.</TD></TR>
83 <TR bgcolor="#d0f2d0"><TD>Joker</TD><TD>-</TD><TD><IMG src="x14.jpg"></TD><TD>Collects all bonus on screen instantly and destroys all malus. Doubles score and time of the collected bonus!</TD></TR>
83 <TR bgcolor="#d0f2d0"><TD>Joker</TD><TD>-</TD><TD><IMG src="x14.jpg"></TD><TD>Collects all bonus on screen instantly and destroys all penalties. Doubles score and time of the collected bonus!</TD></TR>
8484 <TR bgcolor="#d0f2d0"><TD>Explosive Balls</TD><TD>10</TD><TD><IMG src="x20.jpg"></TD><TD>When hitting a brick balls will cause an explosion destroying all surounding bricks.</TD></TR>
8585 <TR bgcolor="#d0f2d0"><TD>Bonus Magnet</TD><TD>20</TD><TD><IMG src="x21.jpg"></TD><TD>While this bonus is active the paddle will attract other bonuses.</TD></TR>
8686
87 <TR bgcolor="#f2f2f2"><TD>Reset</TD><TD>-</TD><TD><IMG src="x18.jpg"></TD><TD>All active bonuses and maluses will be reset.</TD></TR>
88 <TR bgcolor="#f2f2f2"><TD>Time-Add</TD><TD>-</TD><TD><IMG src="x19.jpg"></TD><TD>All active bonuses and maluses will last seven seconds longer.</TD></TR>
87 <TR bgcolor="#f2f2f2"><TD>Reset</TD><TD>-</TD><TD><IMG src="x18.jpg"></TD><TD>All active bonuses and penalties will be reset.</TD></TR>
88 <TR bgcolor="#f2f2f2"><TD>Time-Add</TD><TD>-</TD><TD><IMG src="x19.jpg"></TD><TD>All active bonuses and penalties will last seven seconds longer.</TD></TR>
8989 <TR bgcolor="#f2f2f2"><TD>Random Extra</TD><TD>-</TD><TD><IMG src="x11.jpg"></TD><TD>Gives you any of the listed extras.</TD></TR>
9090
9191 <TR bgcolor="#f2d0d0"><TD>Speed Up</TD><TD>20</TD><TD><IMG src="x12.jpg"></TD><TD>Accelerates all balls to maximum speed.</TD></TR>
9494 <TR bgcolor="#f2d0d0"><TD>Lights Out!</TD><TD>20</TD><TD><IMG src="x15.jpg"></TD><TD>Total darkness. All you see is a shade of paddle, balls and extras.</TD></TR>
9595 <TR bgcolor="#f2d0d0"><TD>Chaos</TD><TD>20</TD><TD><IMG src="x16.jpg"></TD><TD>Balls are reflected randomly at bricks. (but not at paddle)</TD></TR>
9696 <TR bgcolor="#f2d0d0"><TD>Ghostly Paddle</TD><TD>20</TD><TD><IMG src="x17.jpg"></TD><TD>Paddle disappears when not moving and won't reflect any balls then. (nor does it collect bonuses)</TD></TR>
97 <TR bgcolor="#f2d0d0"><TD>Malus Magnet</TD><TD>20</TD><TD><IMG src="x22.jpg"></TD><TD>While this malus is active the paddle will attract other maluses.</TD></TR>
98 <TR bgcolor="#f2d0d0"><TD>Weak Balls</TD><TD>10</TD><TD><IMG src="x23.jpg"></TD><TD>With this malus active there is a 40% chance that a ball won't damage a brick.</TD></TR>
97 <TR bgcolor="#f2d0d0"><TD>Penalty Magnet</TD><TD>20</TD><TD><IMG src="x22.jpg"></TD><TD>While this penalty is active the paddle will attract other penalties.</TD></TR>
98 <TR bgcolor="#f2d0d0"><TD>Weak Balls</TD><TD>10</TD><TD><IMG src="x23.jpg"></TD><TD>With this penalty active there is a 40% chance that a ball won't damage a brick.</TD></TR>
9999
100100 </TD></TR></TABLE>
101101 <!-- special bricks -->
104104 <TR bgcolor="#f2f2f2"><TD>Name</TD><TD>Picture</TD><TD>Description</TD></TR>
105105 <TR bgcolor="#f2f2f2"><TD>Shielded Brick</TD><TD><IMG src="b6.jpg"></TD><TD>This brick is indestructible even for energy balls.</TD></TR>
106106 <TR bgcolor="#f2f2f2"><TD>Metal Brick</TD><TD><IMG src="b0.jpg"></TD><TD>This wall is indestructible except for energy balls.</TD></TR>
107 <TR bgcolor="#f2f2f2"><TD>Chaotic Brick</TD><TD><IMG src="b4.jpg"></TD><TD>Similiar to the Chaos Malus the ball is reflected randomly at such a brick.</TD></TR>
107 <TR bgcolor="#f2f2f2"><TD>Chaotic Brick</TD><TD><IMG src="b4.jpg"></TD><TD>Similiar to the Chaos Penalty the ball is reflected randomly at such a brick.</TD></TR>
108108 <TR bgcolor="#f2f2f2"><TD>Strong Brick</TD><TD><IMG src="b1.jpg"></TD><TD>These walls take up to three shots before destruction and grow darker with every hit. NOTE: to this series belongs a forth brick which is invisbile.</TD></TR>
109109 <TR bgcolor="#f2f2f2"><TD>Regenerating Brick</TD><TD><IMG src="b5.jpg"></TD><TD>This brick will regenerate one point durability within four seconds if not hit again.</TD></TR>
110110 <TR bgcolor="#f2f2f2"><TD>Explosive Brick</TD><TD><IMG src="b2.jpg"></TD><TD>This bricks destroys its neighbors on destruction.</TD></TR>
249249 <TR><TD bgcolor="#dddddd">menuback.png</TD><TD>background of the main menu</TD></TR>
250250 <TR><TD bgcolor="#dddddd">cr_back.png</TD><TD>background of the chatroom</TD></TR>
251251 <TR><TD bgcolor="#dddddd">explosions.png</TD><TD>normal explosions</TD></TR>
252 <TR><TD bgcolor="#dddddd">explosions_dark.png</TD><TD>explosions if darkness malus is active</TD></TR>
253 <TR><TD bgcolor="#dddddd">extras.png</TD><TD>bonuses and maluses</TD></TR>
252 <TR><TD bgcolor="#dddddd">explosions_dark.png</TD><TD>explosions if darkness penalty is active</TD></TR>
253 <TR><TD bgcolor="#dddddd">extras.png</TD><TD>bonuses and penalties</TD></TR>
254254 <TR><TD bgcolor="#dddddd">f_frame.png</TD><TD>font used for score and player name in the right upper corner of the frame</TD></TR>
255255 <TR><TD bgcolor="#dddddd">f_game.png</TD><TD>font used for level credits and confirmation</TD></TR>
256256 <TR><TD bgcolor="#dddddd">floor.png</TD><TD>bonus floor that is used to close playing field (optional)</TD></TR>
272272 <TABLE border=0 cellpadding=2 cellspacing=2>
273273 <TR><TD bgcolor="#dddddd">attach.wav</TD><TD>played if ball is attached to sticky paddle</TD><TD bgcolor="#dddddd">joker.wav</TD><TD>bonus sound</TD></TR>
274274 <TR><TD bgcolor="#dddddd">bonus_magnet.wav</TD><TD>bonus sound</TD><TD bgcolor="#dddddd">looselife.wav</TD><TD>played if you loose a life</TD></TR>
275 <TR><TD bgcolor="#dddddd">chaos.wav</TD><TD>malus sound</TD><TD bgcolor="#dddddd">malus_magnet.wav</TD><TD>malus sound</TD></TR>
275 <TR><TD bgcolor="#dddddd">chaos.wav</TD><TD>penalty sound</TD><TD bgcolor="#dddddd">malus_magnet.wav</TD><TD>penalty sound</TD></TR>
276276 <TR><TD bgcolor="#dddddd">click.wav</TD><TD>played if key was pressed (e.g. confirmation)</TD><TD bgcolor="#dddddd">metal.wav</TD><TD>enery ball sound</TD></TR>
277277 <TR><TD bgcolor="#dddddd">dammit.wav</TD><TD><I>Dammit!</I> speech sample</TD><TD bgcolor="#dddddd">reflect.wav</TD><TD>ball reflection sound</TD></TR>
278278 <TR><TD bgcolor="#dddddd">damn.wav</TD><TD><i>Damn!</I> speech sample</TD><TD bgcolor="#dddddd">score.wav</TD><TD>bonus sound</TD></TR>
279 <TR><TD bgcolor="#dddddd" bgcolor="#dddddd">darkness.wav</TD><TD>malus sound</TD><TD bgcolor="#dddddd">shot.wav</TD><TD>weapon's firing noise</TD></TR>
280 <TR><TD bgcolor="#dddddd">disable.wav</TD><TD>malus sound</TD><TD bgcolor="#dddddd">shrink.wav</TD><TD>malus sound</TD></TR>
279 <TR><TD bgcolor="#dddddd" bgcolor="#dddddd">darkness.wav</TD><TD>penalty sound</TD><TD bgcolor="#dddddd">shot.wav</TD><TD>weapon's firing noise</TD></TR>
280 <TR><TD bgcolor="#dddddd">disable.wav</TD><TD>penalty sound</TD><TD bgcolor="#dddddd">shrink.wav</TD><TD>penalty sound</TD></TR>
281281 <TR><TD bgcolor="#dddddd" bgcolor="#dddddd">excellent.wav</TD><TD><I>Excellent!</I> speech sample</TD><TD bgcolor="#dddddd">speeddown.wav</TD><TD>bonus sound</TD></TR>
282 <TR><TD bgcolor="#dddddd">exp.wav</TD><TD>brick explosion sound</TD><TD bgcolor="#dddddd">speedup.wav</TD><TD>malus sound</TD></TR>
282 <TR><TD bgcolor="#dddddd">exp.wav</TD><TD>brick explosion sound</TD><TD bgcolor="#dddddd">speedup.wav</TD><TD>penalty sound</TD></TR>
283283 <TR><TD bgcolor="#dddddd">expand.wav</TD><TD>bonus sound</TD><TD bgcolor="#dddddd">standard.wav</TD><TD>standard sound for collecting an extra </TD></TR>
284284 <TR><TD bgcolor="#dddddd">expl_ball.wav</TD><TD>bonus sound</TD><TD bgcolor="#dddddd">timeadd.wav</TD><TD>bonus sound</TD></TR>
285285 <TR><TD bgcolor="#dddddd">extraball.wav</TD><TD>bonus sound</TD><TD bgcolor="#dddddd">verygood.wav</TD><TD><I>Very Good!</I> speech sample</TD></TR>
286 <TR><TD bgcolor="#dddddd">freeze.wav</TD><TD>malus sound</TD><TD bgcolor="#dddddd">wall.wav</TD><TD>bonus sound</TD></TR>
287 <TR><TD bgcolor="#dddddd">gainlife.wav</TD><TD>played if you got an extralife</TD><TD bgcolor="#dddddd">weak_ball.wav</TD><TD>malus sound</TD></TR>
286 <TR><TD bgcolor="#dddddd">freeze.wav</TD><TD>penalty sound</TD><TD bgcolor="#dddddd">wall.wav</TD><TD>bonus sound</TD></TR>
287 <TR><TD bgcolor="#dddddd">gainlife.wav</TD><TD>played if you got an extralife</TD><TD bgcolor="#dddddd">weak_ball.wav</TD><TD>penalty sound</TD></TR>
288288 <TR><TD bgcolor="#dddddd">ghost.wav</TD><TD>bonus sound</TD><TD bgcolor="#dddddd">wontgiveup.wav</TD><TD><I>I won't give up!</I> speech sample</TD></TR>
289289 <TR><TD bgcolor="#dddddd" bgcolor="#dddddd">goldshower.wav</TD><TD>bonus sound</TD><TD>&nbsp;</TD></TR>
290290 </TABLE>
141141 PACKAGE_NAME = @PACKAGE_NAME@
142142 PACKAGE_STRING = @PACKAGE_STRING@
143143 PACKAGE_TARNAME = @PACKAGE_TARNAME@
144 PACKAGE_URL = @PACKAGE_URL@
144145 PACKAGE_VERSION = @PACKAGE_VERSION@
145146 PATH_SEPARATOR = @PATH_SEPARATOR@
146147 POSUB = @POSUB@
248249 exit 1;; \
249250 esac; \
250251 done; \
251 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu game/Makefile'; \
252 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign game/Makefile'; \
252253 cd $(top_srcdir) && \
253 $(AUTOMAKE) --gnu game/Makefile
254 $(AUTOMAKE) --foreign game/Makefile
254255 .PRECIOUS: Makefile
255256 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
256257 @case '$?' in \
120120 (cur_game->extra_active[EX_METAL] &&
121121 cur_game->bricks[b->target.mx][b->target.my].type != MAP_WALL ) )
122122 b->idle_time = 0;
123 /* or if it is within the last four rows and no chaotic malus is active it will
123 /* or if it is within the last four rows and no chaotic penalty is active it will
124124 hit the paddle soon so reset here too */
125125 if ( b->target.my >= MAP_HEIGHT - 4 && b->vel.y > 0 && !cur_game->extra_active[EX_CHAOS] )
126126 b->idle_time = 0;
14821482 else
14831483 prim->side = SIDE_RIGHT;
14841484 #ifdef WITH_BUG_REPORT
1485 sprintf( side_str, "Had to change side as TOP wasn't appropiate!" );
1485 sprintf( side_str, "Had to change side as TOP wasn't appropriate!" );
14861486 #endif
14871487 }
14881488 break;
14931493 else
14941494 prim->side = SIDE_RIGHT;
14951495 #ifdef WITH_BUG_REPORT
1496 sprintf( side_str, "Had to change side as BOTTOM wasn't appropiate!" );
1496 sprintf( side_str, "Had to change side as BOTTOM wasn't appropriate!" );
14971497 #endif
14981498 }
14991499 break;
15041504 else
15051505 prim->side = SIDE_BOTTOM;
15061506 #ifdef WITH_BUG_REPORT
1507 sprintf( side_str, "Had to change side as LEFT wasn't appropiate!" );
1507 sprintf( side_str, "Had to change side as LEFT wasn't appropriate!" );
15081508 #endif
15091509 }
15101510 break;
15151515 else
15161516 prim->side = SIDE_BOTTOM;
15171517 #ifdef WITH_BUG_REPORT
1518 sprintf( side_str, "Had to change side as RIGHT wasn't appropiate!" );
1518 sprintf( side_str, "Had to change side as RIGHT wasn't appropriate!" );
15191519 #endif
15201520 }
15211521 break;
148148 if ( paddle_attract_bonus( paddle ) )
149149 return 1;
150150 return 0;
151 /* malus */
151 /* penalty */
152152 case EX_SHORTEN:
153153 case EX_FAST:
154154 /*
144144 PACKAGE_NAME = @PACKAGE_NAME@
145145 PACKAGE_STRING = @PACKAGE_STRING@
146146 PACKAGE_TARNAME = @PACKAGE_TARNAME@
147 PACKAGE_URL = @PACKAGE_URL@
147148 PACKAGE_VERSION = @PACKAGE_VERSION@
148149 PATH_SEPARATOR = @PATH_SEPARATOR@
149150 POSUB = @POSUB@
248249 exit 1;; \
249250 esac; \
250251 done; \
251 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gui/Makefile'; \
252 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign gui/Makefile'; \
252253 cd $(top_srcdir) && \
253 $(AUTOMAKE) --gnu gui/Makefile
254 $(AUTOMAKE) --foreign gui/Makefile
254255 .PRECIOUS: Makefile
255256 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
256257 @case '$?' in \
+0
-7
lbreakout2.desktop less more
0 [Desktop Entry]
1 Name=LBreakout2
2 Comment=A ball-and-paddle game with nice graphics.
3 Exec=lbreakout2
4 Icon=/usr/share/games/icons/lbreakout48.gif
5 Type=Application
6 Categories=Game;
122122 PACKAGE_NAME = @PACKAGE_NAME@
123123 PACKAGE_STRING = @PACKAGE_STRING@
124124 PACKAGE_TARNAME = @PACKAGE_TARNAME@
125 PACKAGE_URL = @PACKAGE_URL@
125126 PACKAGE_VERSION = @PACKAGE_VERSION@
126127 PATH_SEPARATOR = @PATH_SEPARATOR@
127128 POSUB = @POSUB@
213214 exit 1;; \
214215 esac; \
215216 done; \
216 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu m4/Makefile'; \
217 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign m4/Makefile'; \
217218 cd $(top_srcdir) && \
218 $(AUTOMAKE) --gnu m4/Makefile
219 $(AUTOMAKE) --foreign m4/Makefile
219220 .PRECIOUS: Makefile
220221 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
221222 @case '$?' in \
Binary diff not shown
99 msgstr ""
1010 "Project-Id-Version: de\n"
1111 "Report-Msgid-Bugs-To: http://lgames.sf.net/contact.php\n"
12 "POT-Creation-Date: 2009-10-26 16:50+0100\n"
12 "POT-Creation-Date: 2009-12-24 12:16+0100\n"
1313 "PO-Revision-Date: 2005-11-14 08:32+0100\n"
1414 "Last-Translator: Ronny Standtke <Ronny.Standtke@gmx.net>\n"
1515 "Language-Team: <de@li.org>\n"
317317 "darueber, sogar die spielenden."
318318
319319 #: client/client_data.c:208
320 #, no-c-format
320 #, fuzzy, no-c-format
321321 msgid ""
322322 "Basically you play the game as in single player mode but their are some "
323323 "special things you might find useful to know.##PINGPONG:#The point here is "
331331 "some other ways as well:#1) To loose a ball means to loose 10% score. After "
332332 "five seconds penalty a new ball is created and you can continue playing.#2) "
333333 "Hitting your opponents paddle with the plasma weapon will give you 1000 "
334 "points while stealing him/her the same amount.#3) Bonus/malus magnet will "
335 "attract _all_ bonuses/maluses even those released by your opponent.##Note: "
334 "points while stealing him/her the same amount.#3) Bonus/penalty magnet will "
335 "attract _all_ bonuses/penalties even those released by your opponent.##Note: "
336336 "If you pause the game by pressing 'p' a chat will pop up and you can talk to "
337337 "your opponent."
338338 msgstr ""
851851 msgstr "1.000 Zusatzpunkte von Steinen ohne Bonus"
852852
853853 #: client/help.c:125
854 msgid "Instantly collect all bonuses and destroy all maluses"
854 #, fuzzy
855 msgid "Instantly collect all bonuses and destroy all penalties"
855856 msgstr "Sofort alle Bonusse einsammeln und alle Malusse zerstoeren"
856857
857858 #: client/help.c:126
863864 msgstr "Schlaeger zieht Bonusse an"
864865
865866 #: client/help.c:131
866 msgid "Maluses:"
867 msgid "Penalties:"
867868 msgstr "Malusse:"
868869
869870 #: client/help.c:132
887888 msgstr "Dunkelheit"
888889
889890 #: client/help.c:137
890 msgid "Paddle attracts maluses"
891 #, fuzzy
892 msgid "Paddle attracts penalties"
891893 msgstr "Schlaeger zieht Malusse an"
892894
893895 #: client/help.c:138
979981 msgstr "Neutrale Staerkungen"
980982
981983 #: client/help.c:211
982 msgid "Any of the listed bonuses/maluses."
984 #, fuzzy
985 msgid "Any of the listed bonuses/penalties."
983986 msgstr "Irgendein Bonus oder Malus"
984987
985988 #: client/help.c:212
986 msgid "Resets all active bonuses and maluses."
989 #, fuzzy
990 msgid "Resets all active bonuses and penalties."
987991 msgstr "Alle aktiven Bonusse oder Malusse abschalten"
988992
989993 #: client/help.c:213
990 msgid "Adds 7 seconds to all active bonuses/maluses."
994 #, fuzzy
995 msgid "Adds 7 seconds to all active bonuses/penalties."
991996 msgstr "Alle aktiven Bonusse oder Malusse um sieben Sekunden verlaengern"
992997
993998 #: client/help.c:217
11421147 "so gut aussehen. ;-)"
11431148
11441149 #: client/manager.c:62
1145 msgid ""
1146 "If this is enabled you'll see the time left for all bonuses and maluses at "
1150 #, fuzzy
1151 msgid ""
1152 "If this is enabled you'll see the time left for all bonuses and penalties at "
11471153 "the right side of the screen."
11481154 msgstr ""
11491155 "Wenn dies angeschaltet ist, siehst du auf der rechten Seite die verbleibende "
12171223 "verliert oder eine Ebene neu startet ist der naechste Spieler an der Reihe."
12181224
12191225 #: client/manager.c:73
1226 #, fuzzy
12201227 msgid ""
12211228 "KIDS:#Lives: 9 (max. 12)#Paddle Size: 252 (max. 396)#Ball Speed: 100-"
1222 "200#Bonus: -50% (no maluses, no bad speech)##EASY:#Lives: 6 (max. 9)#Paddle "
1223 "Size: 72 (max. 180)#Ball Speed: 240-400 pixels/sec#Bonus: -20%##MEDIUM:"
1224 "#Lives: 5 (max. 7)#Paddle Size: 54 (max. 144)#Ball Speed: 270-430 pixels/"
1225 "sec##HARD:#Lives: 4 (max. 5)#Paddle Size: 54 (max. 108)#Ball Speed: 300-450 "
1226 "pixels/sec#Bonus: +30%"
1229 "200#Bonus: -50% (no penalties, no bad speech)##EASY:#Lives: 6 (max. 9)"
1230 "#Paddle Size: 72 (max. 180)#Ball Speed: 240-400 pixels/sec#Bonus: -20%"
1231 "##MEDIUM:#Lives: 5 (max. 7)#Paddle Size: 54 (max. 144)#Ball Speed: 270-430 "
1232 "pixels/sec##HARD:#Lives: 4 (max. 5)#Paddle Size: 54 (max. 108)#Ball Speed: "
1233 "300-450 pixels/sec#Bonus: +30%"
12271234 msgstr ""
12281235 "KINDER:#Leben: 9 (max. 12)#Schlaegergroesse: 252 (max. 396)#Balltempo: 100-"
12291236 "200 Pixel/s#Bonus: -50% (Keine Malusse, keine boesen Worte)##LEICHT:#Leben: "
15791586 "Stein angezeigt.##Wenn du deinen Ball verlierst, ist das Spiel vorbei."
15801587
15811588 #: client/manager.c:174
1589 #, fuzzy
15821590 msgid ""
15831591 "Your task is to hunt down bricks by moving a chaos brick indirectly. "
15841592 "Therefore each side of the playing field has a brick color and you can hit "
15851593 "small pads bearing these colors. When you hit one, the chaos brick will move "
1586 "toward the appropiate side. You must not hit the bordering bricks and you "
1594 "toward the appropriate side. You must not hit the bordering bricks and you "
15871595 "must get to the brick within a time limit, as always displayed in the lower "
15881596 "right-hand side of the screen. The faster you are, the more score you'll "
15891597 "gain.##Loosing your ball means going to the next level.##HAVE 'ACC. BALL "
25542562 msgid "game %i: %s: state %i: invalid message %x: skipping %i bytes\n"
25552563 msgstr ""
25562564 "Spiel %i: %s: Status %i: ungueltige Nachricht %x: ueberspringe %i Bytes\n"
2565
2566 #~ msgid "Maluses:"
2567 #~ msgstr "Malusse:"
Binary diff not shown
1616 msgstr ""
1717 "Project-Id-Version: fr\n"
1818 "Report-Msgid-Bugs-To: http://lgames.sf.net/contact.php\n"
19 "POT-Creation-Date: 2009-10-26 16:50+0100\n"
19 "POT-Creation-Date: 2009-12-24 12:16+0100\n"
2020 "PO-Revision-Date: 2008-08-08 23:36+0200\n"
2121 "Last-Translator: Jose Jorge <jjorge@free.fr>\n"
2222 "Language-Team: português <pt@li.org>\n"
327327 "et en informe tout les utilisateurs, meme ceux en cour de partie. "
328328
329329 #: client/client_data.c:208
330 #, no-c-format
330 #, fuzzy, no-c-format
331331 msgid ""
332332 "Basically you play the game as in single player mode but their are some "
333333 "special things you might find useful to know.##PINGPONG:#The point here is "
341341 "some other ways as well:#1) To loose a ball means to loose 10% score. After "
342342 "five seconds penalty a new ball is created and you can continue playing.#2) "
343343 "Hitting your opponents paddle with the plasma weapon will give you 1000 "
344 "points while stealing him/her the same amount.#3) Bonus/malus magnet will "
345 "attract _all_ bonuses/maluses even those released by your opponent.##Note: "
344 "points while stealing him/her the same amount.#3) Bonus/penalty magnet will "
345 "attract _all_ bonuses/penalties even those released by your opponent.##Note: "
346346 "If you pause the game by pressing 'p' a chat will pop up and you can talk to "
347347 "your opponent."
348348 msgstr ""
860860 msgstr "1 000 points bonus des briques sans extra"
861861
862862 #: client/help.c:125
863 msgid "Instantly collect all bonuses and destroy all maluses"
863 #, fuzzy
864 msgid "Instantly collect all bonuses and destroy all penalties"
864865 msgstr "Collecte tous les bonus et detruit les malus"
865866
866867 #: client/help.c:126
872873 msgstr "Attire les bonus"
873874
874875 #: client/help.c:131
875 msgid "Maluses:"
876 msgstr "Malus:"
876 msgid "Penalties:"
877 msgstr ""
877878
878879 #: client/help.c:132
879880 msgid "Shrink paddle"
896897 msgstr "Nuit"
897898
898899 #: client/help.c:137
899 msgid "Paddle attracts maluses"
900 #, fuzzy
901 msgid "Paddle attracts penalties"
900902 msgstr "Attire les malus"
901903
902904 #: client/help.c:138
990992 msgstr "Neutralise Power-Ups"
991993
992994 #: client/help.c:211
993 msgid "Any of the listed bonuses/maluses."
995 #, fuzzy
996 msgid "Any of the listed bonuses/penalties."
994997 msgstr "N'importe quel bonus/malus."
995998
996999 #: client/help.c:212
997 msgid "Resets all active bonuses and maluses."
1000 #, fuzzy
1001 msgid "Resets all active bonuses and penalties."
9981002 msgstr "Supprime tous les bonus et malus en utilisation."
9991003
10001004 #: client/help.c:213
1001 msgid "Adds 7 seconds to all active bonuses/maluses."
1005 #, fuzzy
1006 msgid "Adds 7 seconds to all active bonuses/penalties."
10021007 msgstr "Ajoute 7 secondes a tous les bonus et malus en utilisation"
10031008
10041009 #: client/help.c:217
11551160 "l'esthetique ;-)"
11561161
11571162 #: client/manager.c:62
1158 msgid ""
1159 "If this is enabled you'll see the time left for all bonuses and maluses at "
1163 #, fuzzy
1164 msgid ""
1165 "If this is enabled you'll see the time left for all bonuses and penalties at "
11601166 "the right side of the screen."
11611167 msgstr ""
11621168 "Si cela est active, vous pourrez voir le temps restant pour chaque bonus et "
12281234 "recommence le niveau, c'est a l'autre joueur de commencer "
12291235
12301236 #: client/manager.c:73
1237 #, fuzzy
12311238 msgid ""
12321239 "KIDS:#Lives: 9 (max. 12)#Paddle Size: 252 (max. 396)#Ball Speed: 100-"
1233 "200#Bonus: -50% (no maluses, no bad speech)##EASY:#Lives: 6 (max. 9)#Paddle "
1234 "Size: 72 (max. 180)#Ball Speed: 240-400 pixels/sec#Bonus: -20%##MEDIUM:"
1235 "#Lives: 5 (max. 7)#Paddle Size: 54 (max. 144)#Ball Speed: 270-430 pixels/"
1236 "sec##HARD:#Lives: 4 (max. 5)#Paddle Size: 54 (max. 108)#Ball Speed: 300-450 "
1237 "pixels/sec#Bonus: +30%"
1240 "200#Bonus: -50% (no penalties, no bad speech)##EASY:#Lives: 6 (max. 9)"
1241 "#Paddle Size: 72 (max. 180)#Ball Speed: 240-400 pixels/sec#Bonus: -20%"
1242 "##MEDIUM:#Lives: 5 (max. 7)#Paddle Size: 54 (max. 144)#Ball Speed: 270-430 "
1243 "pixels/sec##HARD:#Lives: 4 (max. 5)#Paddle Size: 54 (max. 108)#Ball Speed: "
1244 "300-450 pixels/sec#Bonus: +30%"
12381245 msgstr ""
12391246 "ENFANT:#Vies: 9 (max. 12)#Largeur palette: 252 (max. 396)#Rapidite balle: "
12401247 "100- 200#Bonus: -50% (pas de malus)##SIMPLE:#Vie: 6 (max. 9)#Largeur "
15891596 "niveau suivant."
15901597
15911598 #: client/manager.c:174
1599 #, fuzzy
15921600 msgid ""
15931601 "Your task is to hunt down bricks by moving a chaos brick indirectly. "
15941602 "Therefore each side of the playing field has a brick color and you can hit "
15951603 "small pads bearing these colors. When you hit one, the chaos brick will move "
1596 "toward the appropiate side. You must not hit the bordering bricks and you "
1604 "toward the appropriate side. You must not hit the bordering bricks and you "
15971605 "must get to the brick within a time limit, as always displayed in the lower "
15981606 "right-hand side of the screen. The faster you are, the more score you'll "
15991607 "gain.##Loosing your ball means going to the next level.##HAVE 'ACC. BALL "
25652573 #, c-format
25662574 msgid "game %i: %s: state %i: invalid message %x: skipping %i bytes\n"
25672575 msgstr "jeu %i: %s: etat %i: Message invalide %x: Annule %i bytes\n"
2576
2577 #~ msgid "Maluses:"
2578 #~ msgstr "Malus:"
77 msgstr ""
88 "Project-Id-Version: PACKAGE VERSION\n"
99 "Report-Msgid-Bugs-To: http://lgames.sf.net/contact.php\n"
10 "POT-Creation-Date: 2009-10-26 16:50+0100\n"
10 "POT-Creation-Date: 2009-12-24 12:16+0100\n"
1111 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313 "Language-Team: LANGUAGE <LL@li.org>\n"
277277 "some other ways as well:#1) To loose a ball means to loose 10% score. After "
278278 "five seconds penalty a new ball is created and you can continue playing.#2) "
279279 "Hitting your opponents paddle with the plasma weapon will give you 1000 "
280 "points while stealing him/her the same amount.#3) Bonus/malus magnet will "
281 "attract _all_ bonuses/maluses even those released by your opponent.##Note: "
280 "points while stealing him/her the same amount.#3) Bonus/penalty magnet will "
281 "attract _all_ bonuses/penalties even those released by your opponent.##Note: "
282282 "If you pause the game by pressing 'p' a chat will pop up and you can talk to "
283283 "your opponent."
284284 msgstr ""
733733 msgstr ""
734734
735735 #: client/help.c:125
736 msgid "Instantly collect all bonuses and destroy all maluses"
736 msgid "Instantly collect all bonuses and destroy all penalties"
737737 msgstr ""
738738
739739 #: client/help.c:126
745745 msgstr ""
746746
747747 #: client/help.c:131
748 msgid "Maluses:"
748 msgid "Penalties:"
749749 msgstr ""
750750
751751 #: client/help.c:132
769769 msgstr ""
770770
771771 #: client/help.c:137
772 msgid "Paddle attracts maluses"
772 msgid "Paddle attracts penalties"
773773 msgstr ""
774774
775775 #: client/help.c:138
860860 msgstr ""
861861
862862 #: client/help.c:211
863 msgid "Any of the listed bonuses/maluses."
863 msgid "Any of the listed bonuses/penalties."
864864 msgstr ""
865865
866866 #: client/help.c:212
867 msgid "Resets all active bonuses and maluses."
867 msgid "Resets all active bonuses and penalties."
868868 msgstr ""
869869
870870 #: client/help.c:213
871 msgid "Adds 7 seconds to all active bonuses/maluses."
871 msgid "Adds 7 seconds to all active bonuses/penalties."
872872 msgstr ""
873873
874874 #: client/help.c:217
10111011
10121012 #: client/manager.c:62
10131013 msgid ""
1014 "If this is enabled you'll see the time left for all bonuses and maluses at "
1014 "If this is enabled you'll see the time left for all bonuses and penalties at "
10151015 "the right side of the screen."
10161016 msgstr ""
10171017
10661066 #: client/manager.c:73
10671067 msgid ""
10681068 "KIDS:#Lives: 9 (max. 12)#Paddle Size: 252 (max. 396)#Ball Speed: 100-"
1069 "200#Bonus: -50% (no maluses, no bad speech)##EASY:#Lives: 6 (max. 9)#Paddle "
1070 "Size: 72 (max. 180)#Ball Speed: 240-400 pixels/sec#Bonus: -20%##MEDIUM:"
1071 "#Lives: 5 (max. 7)#Paddle Size: 54 (max. 144)#Ball Speed: 270-430 pixels/"
1072 "sec##HARD:#Lives: 4 (max. 5)#Paddle Size: 54 (max. 108)#Ball Speed: 300-450 "
1073 "pixels/sec#Bonus: +30%"
1069 "200#Bonus: -50% (no penalties, no bad speech)##EASY:#Lives: 6 (max. 9)"
1070 "#Paddle Size: 72 (max. 180)#Ball Speed: 240-400 pixels/sec#Bonus: -20%"
1071 "##MEDIUM:#Lives: 5 (max. 7)#Paddle Size: 54 (max. 144)#Ball Speed: 270-430 "
1072 "pixels/sec##HARD:#Lives: 4 (max. 5)#Paddle Size: 54 (max. 108)#Ball Speed: "
1073 "300-450 pixels/sec#Bonus: +30%"
10741074 msgstr ""
10751075
10761076 #: client/manager.c:77
13051305 "Your task is to hunt down bricks by moving a chaos brick indirectly. "
13061306 "Therefore each side of the playing field has a brick color and you can hit "
13071307 "small pads bearing these colors. When you hit one, the chaos brick will move "
1308 "toward the appropiate side. You must not hit the bordering bricks and you "
1308 "toward the appropriate side. You must not hit the bordering bricks and you "
13091309 "must get to the brick within a time limit, as always displayed in the lower "
13101310 "right-hand side of the screen. The faster you are, the more score you'll "
13111311 "gain.##Loosing your ball means going to the next level.##HAVE 'ACC. BALL "
Binary diff not shown
33 msgstr ""
44 "Project-Id-Version: lbreakout\n"
55 "Report-Msgid-Bugs-To: http://lgames.sf.net/contact.php\n"
6 "POT-Creation-Date: 2009-10-26 16:50+0100\n"
6 "POT-Creation-Date: 2009-12-24 12:16+0100\n"
77 "PO-Revision-Date: 2006-10-31 10:12+0200\n"
88 "Last-Translator: Muhammet Kara <muhammet.k@gmail.com>\n"
99 "Language-Team: Turkish <yerellestirme@kde.org.tr>\n"
308308 "kullanıcıları bu konuda bilgilendir."
309309
310310 #: client/client_data.c:208
311 #, no-c-format
311 #, fuzzy, no-c-format
312312 msgid ""
313313 "Basically you play the game as in single player mode but their are some "
314314 "special things you might find useful to know.##PINGPONG:#The point here is "
322322 "some other ways as well:#1) To loose a ball means to loose 10% score. After "
323323 "five seconds penalty a new ball is created and you can continue playing.#2) "
324324 "Hitting your opponents paddle with the plasma weapon will give you 1000 "
325 "points while stealing him/her the same amount.#3) Bonus/malus magnet will "
326 "attract _all_ bonuses/maluses even those released by your opponent.##Note: "
325 "points while stealing him/her the same amount.#3) Bonus/penalty magnet will "
326 "attract _all_ bonuses/penalties even those released by your opponent.##Note: "
327327 "If you pause the game by pressing 'p' a chat will pop up and you can talk to "
328328 "your opponent."
329329 msgstr ""
833833 msgstr "İkramiyesiz tuğlalardan 10.000 puan fazladan skor"
834834
835835 #: client/help.c:125
836 msgid "Instantly collect all bonuses and destroy all maluses"
836 #, fuzzy
837 msgid "Instantly collect all bonuses and destroy all penalties"
837838 msgstr "Anında tüm ikramiyeleri topla ve tüm zararlıları yoket"
838839
839840 #: client/help.c:126
845846 msgstr "Raket ikramiyeleri çeker"
846847
847848 #: client/help.c:131
848 msgid "Maluses:"
849 msgstr "Zararlılar:"
849 msgid "Penalties:"
850 msgstr ""
850851
851852 #: client/help.c:132
852853 msgid "Shrink paddle"
869870 msgstr "Karanlık"
870871
871872 #: client/help.c:137
872 msgid "Paddle attracts maluses"
873 #, fuzzy
874 msgid "Paddle attracts penalties"
873875 msgstr "Raket zararlıları çeker"
874876
875877 #: client/help.c:138
964966 msgstr "Tarafsız Güçlendirmeler:"
965967
966968 #: client/help.c:211
967 msgid "Any of the listed bonuses/maluses."
969 #, fuzzy
970 msgid "Any of the listed bonuses/penalties."
968971 msgstr "Listelenen ikramiyelerden/zararlılardan herhangi biri."
969972
970973 #: client/help.c:212
971 msgid "Resets all active bonuses and maluses."
974 #, fuzzy
975 msgid "Resets all active bonuses and penalties."
972976 msgstr "Tüm aktif ikramiyeleri ve zararlıları sıfırlar."
973977
974978 #: client/help.c:213
975 msgid "Adds 7 seconds to all active bonuses/maluses."
979 #, fuzzy
980 msgid "Adds 7 seconds to all active bonuses/penalties."
976981 msgstr "Tüm aktif ikramiyelere/zararlılara 7 saniye ekler."
977982
978983 #: client/help.c:217
11331138 "görünmeyecektir. ;-)"
11341139
11351140 #: client/manager.c:62
1136 msgid ""
1137 "If this is enabled you'll see the time left for all bonuses and maluses at "
1141 #, fuzzy
1142 msgid ""
1143 "If this is enabled you'll see the time left for all bonuses and penalties at "
11381144 "the right side of the screen."
11391145 msgstr ""
11401146 "Eğer bu özellik etkinse, ekranın sağ tarafında tüm ikramiyeler ve zararlılar "
12061212 "da düzeye yeniden başlarsa sıra sonraki oyuncuya geçer."
12071213
12081214 #: client/manager.c:73
1215 #, fuzzy
12091216 msgid ""
12101217 "KIDS:#Lives: 9 (max. 12)#Paddle Size: 252 (max. 396)#Ball Speed: 100-"
1211 "200#Bonus: -50% (no maluses, no bad speech)##EASY:#Lives: 6 (max. 9)#Paddle "
1212 "Size: 72 (max. 180)#Ball Speed: 240-400 pixels/sec#Bonus: -20%##MEDIUM:"
1213 "#Lives: 5 (max. 7)#Paddle Size: 54 (max. 144)#Ball Speed: 270-430 pixels/"
1214 "sec##HARD:#Lives: 4 (max. 5)#Paddle Size: 54 (max. 108)#Ball Speed: 300-450 "
1215 "pixels/sec#Bonus: +30%"
1218 "200#Bonus: -50% (no penalties, no bad speech)##EASY:#Lives: 6 (max. 9)"
1219 "#Paddle Size: 72 (max. 180)#Ball Speed: 240-400 pixels/sec#Bonus: -20%"
1220 "##MEDIUM:#Lives: 5 (max. 7)#Paddle Size: 54 (max. 144)#Ball Speed: 270-430 "
1221 "pixels/sec##HARD:#Lives: 4 (max. 5)#Paddle Size: 54 (max. 108)#Ball Speed: "
1222 "300-450 pixels/sec#Bonus: +30%"
12161223 msgstr ""
12171224 "ÇOCUK:#Yaşamlar: 9 (en fazla 12)#Raket Boyutu: 252 (en fazla 396)#Top Hızı: "
12181225 "100-200#İkramiye: -50% (zararlılar yok, küfür yok)##KOLAY:#Yaşamlar: 6 (en "
15601567 "##Topu kaybetmeniz sizi sonraki düzeye götürür."
15611568
15621569 #: client/manager.c:174
1570 #, fuzzy
15631571 msgid ""
15641572 "Your task is to hunt down bricks by moving a chaos brick indirectly. "
15651573 "Therefore each side of the playing field has a brick color and you can hit "
15661574 "small pads bearing these colors. When you hit one, the chaos brick will move "
1567 "toward the appropiate side. You must not hit the bordering bricks and you "
1575 "toward the appropriate side. You must not hit the bordering bricks and you "
15681576 "must get to the brick within a time limit, as always displayed in the lower "
15691577 "right-hand side of the screen. The faster you are, the more score you'll "
15701578 "gain.##Loosing your ball means going to the next level.##HAVE 'ACC. BALL "
25342542 #, c-format
25352543 msgid "game %i: %s: state %i: invalid message %x: skipping %i bytes\n"
25362544 msgstr "oyun %i: %s: durum %i: geçersiz mesaj %x: %i bayt atlanıyor\n"
2545
2546 #~ msgid "Maluses:"
2547 #~ msgstr "Zararlılar:"
147147 PACKAGE_NAME = @PACKAGE_NAME@
148148 PACKAGE_STRING = @PACKAGE_STRING@
149149 PACKAGE_TARNAME = @PACKAGE_TARNAME@
150 PACKAGE_URL = @PACKAGE_URL@
150151 PACKAGE_VERSION = @PACKAGE_VERSION@
151152 PATH_SEPARATOR = @PATH_SEPARATOR@
152153 POSUB = @POSUB@
244245 exit 1;; \
245246 esac; \
246247 done; \
247 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu server/Makefile'; \
248 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign server/Makefile'; \
248249 cd $(top_srcdir) && \
249 $(AUTOMAKE) --gnu server/Makefile
250 $(AUTOMAKE) --foreign server/Makefile
250251 .PRECIOUS: Makefile
251252 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
252253 @case '$?' in \
122122 PACKAGE_NAME = @PACKAGE_NAME@
123123 PACKAGE_STRING = @PACKAGE_STRING@
124124 PACKAGE_TARNAME = @PACKAGE_TARNAME@
125 PACKAGE_URL = @PACKAGE_URL@
125126 PACKAGE_VERSION = @PACKAGE_VERSION@
126127 PATH_SEPARATOR = @PATH_SEPARATOR@
127128 POSUB = @POSUB@
213214 exit 1;; \
214215 esac; \
215216 done; \
216 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu server/levels/Makefile'; \
217 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign server/levels/Makefile'; \
217218 cd $(top_srcdir) && \
218 $(AUTOMAKE) --gnu server/levels/Makefile
219 $(AUTOMAKE) --foreign server/levels/Makefile
219220 .PRECIOUS: Makefile
220221 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
221222 @case '$?' in \