2 ===================================================================
3 RCS file: /cvsroot/mingw/utils/Makefile.am,v
4 retrieving revision 1.3
5 diff -u -r1.3 Makefile.am
6 --- Makefile.am 4 Dec 2002 12:15:22 -0000 1.3
7 +++ Makefile.am 24 Jun 2006 00:31:11 -0000
9 -SUBDIRS = dos2unix drmingw pexports redir reimp res2coff scripts unix2dos
22 +SUBDIRS = dos2unix $(DRMINGW) pexports ${REDIR} reimp ${RES2COFF} scripts unix2dos
24 +EXTRA_DIST = dos2unix/dos2unix.1 unix2dos/unix2dos.1
26 instdir = /tmp/$(PACKAGE)-$(VERSION)
29 ===================================================================
30 RCS file: /cvsroot/mingw/utils/configure.ac,v
31 retrieving revision 1.6
32 diff -u -r1.6 configure.ac
33 --- configure.ac 25 Nov 2003 16:53:22 -0000 1.6
34 +++ configure.ac 24 Jun 2006 00:31:11 -0000
36 AM_CONFIG_HEADER(config.h)
39 +AC_ARG_ENABLE(drmingw,
40 + AS_HELP_STRING([--disable-drmingw],[Don't build drmingw (default is build)]),
41 + [case "${enableval}" in
42 + yes) build_drmingw=true ;;
43 + no) build_drmingw=false ;;
44 + *) AC_MSG_ERROR([--enable-drmingw argument must be yes or no, not "${enableval}"]) ;;
46 + [build_drmingw=true])
49 + AS_HELP_STRING([--disable-redir],[Don't build redir (default is build)]),
50 + [case "${enableval}" in
51 + yes) build_redir=true ;;
52 + no) build_redir=false ;;
53 + *) AC_MSG_ERROR([--enable-redir argument must be yes or no, not "${enableval}"]) ;;
57 +AC_ARG_ENABLE(res2coff,
58 + AS_HELP_STRING([--disable-res2coff],[Don't build res2coff (default is build)]),
59 + [case "${enableval}" in
60 + yes) build_res2coff=true ;;
61 + no) build_res2coff=false ;;
62 + *) AC_MSG_ERROR([--enable-res2coff argument must be yes or no, not "${enableval}"]) ;;
64 + [build_res2coff=true])
66 +AC_ARG_ENABLE(nonportable,
67 + AS_HELP_STRING([--disable-nonportable],[shortcut for --disable-drmingw, --disable-redir and --disable-res2coff]),
68 + [case "${enableval}" in
69 + yes) build_drmingw=true
73 + no) build_res2coff=false
75 + build_res2coff=false
77 + *) AC_MSG_ERROR([--enable-nonportable argument must be yes or no, not "${enableval}"]) ;;
79 + [build_res2coff=true])
81 +AM_CONDITIONAL(BUILD_DRMINGW, [test "${build_drmingw}" = "true"])
82 +AM_CONDITIONAL(BUILD_REDIR, [test "${build_redir}" = "true"])
83 +AM_CONDITIONAL(BUILD_RES2COFF, [test "${build_res2coff}" = "true"])
85 # Checks for programs.
91 AC_ARG_VAR(WINDRES, [Windows Resource compiler tool path])
92 -AC_PATH_TOOL(WINDRES,windres,
93 - [AC_MSG_WARN(Could not find a windres tool in your PATH. Will not be able to compile drmingw.)]
95 +AC_PATH_TOOL(WINDRES,windres)
97 +if test -z "${WINDRES}"; then
98 + AC_MSG_WARN([windres tool isn't in your PATH, drmingw can't be built!!])
99 + AM_CONDITIONAL(BUILD_DRMINGW, false)
104 # Checks for header files.
107 +AC_CHECK_HEADERS([windows.h])
109 where_toGet_utime_h='not found!'
110 # this part is scrambled by autoconf. phooey. so we just cannot tell the user what we are doing.
111 # AC_MSG_CHECKING([for whether utime.h is found as "utime.h" or "sys/utime.h"])
113 AC_CHECK_FUNCS(mkstemp mktemp, break)
114 AC_CHECK_FUNCS(utime)
116 +AC_CHECK_SIZEOF(_int64)
117 +AC_CHECK_SIZEOF(long long)
118 +AC_CHECK_SIZEOF(long)
119 +AC_CHECK_SIZEOF(void *)
124 Index: pexports/pexports.c
125 ===================================================================
126 RCS file: /cvsroot/mingw/utils/pexports/pexports.c,v
127 retrieving revision 1.2
128 diff -u -r1.2 pexports.c
129 --- pexports/pexports.c 8 Nov 2002 02:56:18 -0000 1.2
130 +++ pexports/pexports.c 24 Jun 2006 00:31:11 -0000
134 /* get pointer to section header n */
135 -#define IMAGE_SECTION_HDR(n) ((PIMAGE_SECTION_HEADER) ((DWORD) nt_hdr + \
136 +#define IMAGE_SECTION_HDR(n) ((PIMAGE_SECTION_HEADER) ((ULONG_PTR) nt_hdr + \
137 4 + sizeof(IMAGE_FILE_HEADER) + \
138 nt_hdr->FileHeader.SizeOfOptionalHeader + \
139 n * sizeof(IMAGE_SECTION_HEADER)))
144 - nt_hdr = (PIMAGE_NT_HEADERS) ((DWORD) dos_hdr + dos_hdr->e_lfanew);
145 + nt_hdr = (PIMAGE_NT_HEADERS) ((ULONG_PTR) dos_hdr + dos_hdr->e_lfanew);
147 exp_rva = nt_hdr->OptionalHeader.DataDirectory[0].VirtualAddress;
150 PIMAGE_EXPORT_DIRECTORY exports;
155 DWORD *function_table;
157 static int first = 1;
159 /* set up various pointers */
160 export_name = RVA_TO_PTR(exports->Name,char*);
161 ordinal_table = RVA_TO_PTR(exports->AddressOfNameOrdinals,PWORD);
162 - name_table = RVA_TO_PTR(exports->AddressOfNames,char**);
163 + name_table = RVA_TO_PTR(exports->AddressOfNames,DWORD*);
164 function_table = RVA_TO_PTR(exports->AddressOfFunctions,void*);
167 @@ -297,14 +297,14 @@
170 /* convert rva to pointer into loaded file */
173 rva_to_ptr(DWORD rva)
175 PIMAGE_SECTION_HEADER section = find_section(rva);
176 if (section->PointerToRawData == 0)
179 - return ((DWORD) dos_hdr + (DWORD) rva - (section->VirtualAddress - section->PointerToRawData));
180 + return ((ULONG_PTR) dos_hdr + (DWORD) rva - (section->VirtualAddress - section->PointerToRawData));
183 /* Load a portable executable into memory */
184 Index: pexports/pexports.h
185 ===================================================================
186 RCS file: /cvsroot/mingw/utils/pexports/pexports.h,v
187 retrieving revision 1.2
188 diff -u -r1.2 pexports.h
189 --- pexports/pexports.h 26 May 2002 10:13:58 -0000 1.2
190 +++ pexports/pexports.h 24 Jun 2006 00:31:11 -0000
194 /* These are needed */
195 -typedef unsigned short WORD;
196 -typedef unsigned int DWORD;
197 -typedef unsigned char BYTE;
199 -typedef WORD *PWORD;
200 -typedef DWORD *PDWORD;
201 +typedef unsigned short WORD, *PWORD;
202 +typedef unsigned char BYTE, *PBYTE;
204 +#if SIZEOF_LONG == 4
205 +typedef unsigned long DWORD, *PDWORD;
206 +typedef long LONG, *PLONG;
208 +typedef unsigned int DWORD, *PDWORD;
209 +typedef int LONG, *PLONG;
212 +#if SIZEOF_LONG == SIZEOF_VOID_P
213 +typedef unsigned long ULONG_PTR;
214 +#elif SIZEOF_LONG_LONG == SIZEOF_VOID_P
215 +typedef unsigned long long ULONG_PTR;
216 +#elif SIZEOF__INT64 == SIZEOF_VOID_P
217 +typedef unsigned _int64 ULONG_PTR;
219 +typedef unsigned int ULONG_PTR;
223 typedef struct _IMAGE_DATA_DIRECTORY {
226 DWORD NumberOfFunctions;
228 - PDWORD *AddressOfFunctions;
229 - PDWORD *AddressOfNames;
230 - PWORD *AddressOfNameOrdinals;
231 + DWORD AddressOfFunctions;
232 + DWORD AddressOfNames;
233 + DWORD AddressOfNameOrdinals;
234 } IMAGE_EXPORT_DIRECTORY, *PIMAGE_EXPORT_DIRECTORY;
236 typedef struct _IMAGE_DOS_HEADER {
239 load_pe_image(const char *filename);
243 rva_to_ptr(DWORD rva);
247 ===================================================================
248 RCS file: /cvsroot/mingw/utils/reimp/ar.c,v
249 retrieving revision 1.1
250 diff -u -u -r1.1 ar.c
251 --- reimp/ar.c 10 Apr 2002 13:39:07 -0000 1.1
252 +++ reimp/ar.c 29 Jun 2006 22:51:57 -0000
254 if (fread (long_names, size, 1, f) != 1)
255 error (0, "unexpected end-of-file\n");
262 ===================================================================
263 RCS file: /cvsroot/mingw/utils/reimp/reimp.h,v
264 retrieving revision 1.1
265 diff -u -u -r1.1 reimp.h
266 --- reimp/reimp.h 10 Apr 2002 13:39:07 -0000 1.1
267 +++ reimp/reimp.h 29 Jun 2006 22:51:57 -0000
270 /* we need integers of specific sizes */
272 -#define uint32 unsigned long
273 +#define uint32 unsigned int
277 Index: scripts/a2dll.in
278 ===================================================================
279 RCS file: /cvsroot/mingw/utils/scripts/a2dll.in,v
280 retrieving revision 1.2
281 diff -u -r1.2 a2dll.in
282 --- scripts/a2dll.in 26 May 2002 10:13:58 -0000 1.2
283 +++ scripts/a2dll.in 24 Jun 2006 00:31:11 -0000
288 +# Figure out where the script is located and then use that path as the location
300 /usr/bin/mkdir -p .dll
303 + ${SCRIPTDIR}/ar x ../$in
308 echo Creating shared library \'$out\'
310 -dllwrap --export-all -o ../$out `ls` $libs >../ld.err 2>&1
311 +${SCRIPTDIR}/dllwrap --export-all -o ../$out `ls` $libs >../ld.err 2>&1
314 if [ `wc ld.err|awk ' {print $1}' ` -gt 2 ]
316 # 2. I just saw that dlltool lies about assembly-sourced files, it
317 # lists their symbols as data
319 - pexports $out >$base.def
320 + ${SCRIPTDIR}/pexports $out >$base.def
322 # create import library
325 - dlltool --dllname $out --def $base.def --output-lib $in
326 + ${SCRIPTDIR}/dlltool --dllname $out --def $base.def --output-lib $in
328 # finally, we check whether dll exports data symbols
329 # if yes, we suggest user on steps to perform
331 - pexports $out | awk '/DATA/ { print $1}' >$out.data
332 + ${SCRIPTDIR}/pexports $out | awk '/DATA/ { print $1}' >$out.data
337 ===================================================================
338 --- ../../mingw-utils-0.3/configure 2003-11-25 08:31:12.000000000 -0800
339 +++ configure 2006-06-22 02:33:39.000000000 -0700
342 # Guess values for system-dependent variables and create Makefiles.
343 -# Generated by GNU Autoconf 2.58 for mingw-utils 0.3.
344 +# Generated by GNU Autoconf 2.59 for mingw-utils 0.3.
346 # Copyright (C) 2003 Free Software Foundation, Inc.
347 # This configure script is free software; the Free Software Foundation
352 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB LEX LEXLIB LEX_OUTPUT_ROOT YACC WINDRES ac_pt_WINDRES CPP EGREP LIBOBJS LTLIBOBJS'
353 +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT BUILD_DRMINGW_TRUE BUILD_DRMINGW_FALSE BUILD_REDIR_TRUE BUILD_REDIR_FALSE BUILD_RES2COFF_TRUE BUILD_RES2COFF_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB LEX LEXLIB LEX_OUTPUT_ROOT YACC WINDRES ac_pt_WINDRES CPP EGREP LIBOBJS LTLIBOBJS'
356 # Initialize some variables set by options.
357 @@ -859,10 +859,15 @@
359 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
360 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
361 - --enable-maintainer-mode enable make rules and dependencies not useful
362 - (and sometimes confusing) to the casual installer
363 - --disable-dependency-tracking Speeds up one-time builds
364 - --enable-dependency-tracking Do not reject slow dependency extractors
365 + --enable-maintainer-mode enable make rules and dependencies not useful
366 + (and sometimes confusing) to the casual installer
367 + --disable-drmingw Don't build drmingw (default is build)
368 + --disable-redir Don't build redir (default is build)
369 + --disable-res2coff Don't build res2coff (default is build)
370 + --disable-nonportable shortcut for --disable-drmingw, --disable-redir and
372 + --disable-dependency-tracking speeds up one-time build
373 + --enable-dependency-tracking do not reject slow dependency extractors
375 Some influential environment variables:
376 CC C compiler command
379 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
387 if $ac_init_version; then
389 mingw-utils configure 0.3
390 -generated by GNU Autoconf 2.58
391 +generated by GNU Autoconf 2.59
393 Copyright (C) 2003 Free Software Foundation, Inc.
394 This configure script is free software; the Free Software Foundation
396 running configure, to aid debugging if configure makes a mistake.
398 It was created by mingw-utils $as_me 0.3, which was
399 -generated by GNU Autoconf 2.58. Invocation command line was
400 +generated by GNU Autoconf 2.59. Invocation command line was
404 @@ -1325,7 +1330,7 @@
408 -am__api_version="1.7"
409 +am__api_version="1.9"
411 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
412 if test -f $ac_dir/install-sh; then
413 @@ -1488,7 +1493,6 @@
414 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
418 # expand $ac_aux_dir to an absolute path
419 am_aux_dir=`cd $ac_aux_dir && pwd`
421 @@ -1502,6 +1506,39 @@
422 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
425 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
426 + # We used to keeping the `.' as first argument, in order to
427 + # allow $(mkdir_p) to be used without argument. As in
428 + # $(mkdir_p) $(somedir)
429 + # where $(somedir) is conditionally defined. However this is wrong
431 + # 1. if the package is installed by a user who cannot write `.'
432 + # make install will fail,
433 + # 2. the above comment should most certainly read
434 + # $(mkdir_p) $(DESTDIR)$(somedir)
435 + # so it does not work when $(somedir) is undefined and
436 + # $(DESTDIR) is not.
437 + # To support the latter case, we have to write
438 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
439 + # so the `.' trick is pointless.
440 + mkdir_p='mkdir -p --'
442 + # On NextStep and OpenStep, the `mkdir' command does not
443 + # recognize any option. It will interpret all options as
444 + # directories to create, and then abort because `.' already
446 + for d in ./-p ./--version;
448 + test -d $d && rmdir $d
450 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
451 + if test -f "$ac_aux_dir/mkinstalldirs"; then
452 + mkdir_p='$(mkinstalldirs)'
454 + mkdir_p='$(install_sh) -d'
458 for ac_prog in gawk mawk nawk awk
460 # Extract the first word of "$ac_prog", so it can be a program name with args.
461 @@ -1580,7 +1617,7 @@
463 rmdir .tst 2>/dev/null
465 - # test to see if srcdir already configured
466 +# test to see if srcdir already configured
467 if test "`cd $srcdir && pwd`" != "`pwd`" &&
468 test -f $srcdir/config.status; then
469 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
470 @@ -1619,9 +1656,6 @@
472 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
475 -AMTAR=${AMTAR-"${am_missing_run}tar"}
477 install_sh=${install_sh-"$am_aux_dir/install-sh"}
479 # Installed binaries are usually stripped using `strip' when the user
480 @@ -1714,6 +1748,13 @@
482 # We need awk for the "check" target. The system "awk" is bad on
484 +# Always define AMTAR for backward compatibility.
486 +AMTAR=${AMTAR-"${am_missing_run}tar"}
488 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
494 @@ -1745,6 +1786,99 @@
498 +# Check whether --enable-drmingw or --disable-drmingw was given.
499 +if test "${enable_drmingw+set}" = set; then
500 + enableval="$enable_drmingw"
501 + case "${enableval}" in
502 + yes) build_drmingw=true ;;
503 + no) build_drmingw=false ;;
504 + *) { { echo "$as_me:$LINENO: error: --enable-drmingw argument must be yes or no, not \"${enableval}\"" >&5
505 +echo "$as_me: error: --enable-drmingw argument must be yes or no, not \"${enableval}\"" >&2;}
506 + { (exit 1); exit 1; }; } ;;
512 +# Check whether --enable-redir or --disable-redir was given.
513 +if test "${enable_redir+set}" = set; then
514 + enableval="$enable_redir"
515 + case "${enableval}" in
516 + yes) build_redir=true ;;
517 + no) build_redir=false ;;
518 + *) { { echo "$as_me:$LINENO: error: --enable-redir argument must be yes or no, not \"${enableval}\"" >&5
519 +echo "$as_me: error: --enable-redir argument must be yes or no, not \"${enableval}\"" >&2;}
520 + { (exit 1); exit 1; }; } ;;
526 +# Check whether --enable-res2coff or --disable-res2coff was given.
527 +if test "${enable_res2coff+set}" = set; then
528 + enableval="$enable_res2coff"
529 + case "${enableval}" in
530 + yes) build_res2coff=true ;;
531 + no) build_res2coff=false ;;
532 + *) { { echo "$as_me:$LINENO: error: --enable-res2coff argument must be yes or no, not \"${enableval}\"" >&5
533 +echo "$as_me: error: --enable-res2coff argument must be yes or no, not \"${enableval}\"" >&2;}
534 + { (exit 1); exit 1; }; } ;;
537 + build_res2coff=true
540 +# Check whether --enable-nonportable or --disable-nonportable was given.
541 +if test "${enable_nonportable+set}" = set; then
542 + enableval="$enable_nonportable"
543 + case "${enableval}" in
544 + yes) build_drmingw=true
546 + build_res2coff=true
548 + no) build_res2coff=false
550 + build_res2coff=false
552 + *) { { echo "$as_me:$LINENO: error: --enable-nonportable argument must be yes or no, not \"${enableval}\"" >&5
553 +echo "$as_me: error: --enable-nonportable argument must be yes or no, not \"${enableval}\"" >&2;}
554 + { (exit 1); exit 1; }; } ;;
557 + build_res2coff=true
562 +if test "${build_drmingw}" = "true"; then
563 + BUILD_DRMINGW_TRUE=
564 + BUILD_DRMINGW_FALSE='#'
566 + BUILD_DRMINGW_TRUE='#'
567 + BUILD_DRMINGW_FALSE=
572 +if test "${build_redir}" = "true"; then
574 + BUILD_REDIR_FALSE='#'
576 + BUILD_REDIR_TRUE='#'
582 +if test "${build_res2coff}" = "true"; then
583 + BUILD_RES2COFF_TRUE=
584 + BUILD_RES2COFF_FALSE='#'
586 + BUILD_RES2COFF_TRUE='#'
587 + BUILD_RES2COFF_FALSE=
591 # Checks for programs.
593 ac_cpp='$CPP $CPPFLAGS'
594 @@ -2314,7 +2448,8 @@
596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
597 (exit $ac_status); } &&
598 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
599 + { ac_try='test -z "$ac_c_werror_flag"
600 + || test ! -s conftest.err'
601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
604 @@ -2372,7 +2507,8 @@
606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
607 (exit $ac_status); } &&
608 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
609 + { ac_try='test -z "$ac_c_werror_flag"
610 + || test ! -s conftest.err'
611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
614 @@ -2488,7 +2624,8 @@
616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
617 (exit $ac_status); } &&
618 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
619 + { ac_try='test -z "$ac_c_werror_flag"
620 + || test ! -s conftest.err'
621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
624 @@ -2542,7 +2679,8 @@
626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
627 (exit $ac_status); } &&
628 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
629 + { ac_try='test -z "$ac_c_werror_flag"
630 + || test ! -s conftest.err'
631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
634 @@ -2587,7 +2725,8 @@
636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
637 (exit $ac_status); } &&
638 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
639 + { ac_try='test -z "$ac_c_werror_flag"
640 + || test ! -s conftest.err'
641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
644 @@ -2631,7 +2770,8 @@
646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
647 (exit $ac_status); } &&
648 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
649 + { ac_try='test -z "$ac_c_werror_flag"
650 + || test ! -s conftest.err'
651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
654 @@ -2776,7 +2916,9 @@
656 for i in 1 2 3 4 5 6; do
657 echo '#include "conftst'$i'.h"' >> sub/conftest.c
658 - : > sub/conftst$i.h
659 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
660 + # Solaris 8's {/usr,}/bin/sh.
661 + touch sub/conftst$i.h
663 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
665 @@ -2804,9 +2946,14 @@
666 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
667 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
668 # icc doesn't choke on unknown options, it will just issue warnings
669 - # (even with -Werror). So we grep stderr for any message
670 - # that says an option was ignored.
671 - if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
672 + # or remarks (even with -Werror). So we grep stderr for any message
673 + # that says an option was ignored or not supported.
674 + # When given -MP, icc 7.0 and 7.1 complain thusly:
675 + # icc: Command line warning: ignoring option '-M'; no argument required
676 + # The diagnosis changed in icc 8.0:
677 + # icc: Command line remark: option '-MP' not supported
678 + if (grep 'ignoring option' conftest.err ||
679 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
680 am_cv_CC_dependencies_compiler_type=$depmode
683 @@ -2982,7 +3129,8 @@
685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
686 (exit $ac_status); } &&
687 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
688 + { ac_try='test -z "$ac_cxx_werror_flag"
689 + || test ! -s conftest.err'
690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
693 @@ -3040,7 +3188,8 @@
695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
696 (exit $ac_status); } &&
697 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
698 + { ac_try='test -z "$ac_cxx_werror_flag"
699 + || test ! -s conftest.err'
700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
703 @@ -3111,7 +3260,8 @@
705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
706 (exit $ac_status); } &&
707 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
708 + { ac_try='test -z "$ac_cxx_werror_flag"
709 + || test ! -s conftest.err'
710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
713 @@ -3155,7 +3305,8 @@
715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
716 (exit $ac_status); } &&
717 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
718 + { ac_try='test -z "$ac_cxx_werror_flag"
719 + || test ! -s conftest.err'
720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
723 @@ -3229,7 +3380,9 @@
725 for i in 1 2 3 4 5 6; do
726 echo '#include "conftst'$i'.h"' >> sub/conftest.c
727 - : > sub/conftst$i.h
728 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
729 + # Solaris 8's {/usr,}/bin/sh.
730 + touch sub/conftst$i.h
732 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
734 @@ -3257,9 +3410,14 @@
735 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
736 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
737 # icc doesn't choke on unknown options, it will just issue warnings
738 - # (even with -Werror). So we grep stderr for any message
739 - # that says an option was ignored.
740 - if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
741 + # or remarks (even with -Werror). So we grep stderr for any message
742 + # that says an option was ignored or not supported.
743 + # When given -MP, icc 7.0 and 7.1 complain thusly:
744 + # icc: Command line warning: ignoring option '-M'; no argument required
745 + # The diagnosis changed in icc 8.0:
746 + # icc: Command line remark: option '-MP' not supported
747 + if (grep 'ignoring option' conftest.err ||
748 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
749 am_cv_CXX_dependencies_compiler_type=$depmode
752 @@ -3601,7 +3759,8 @@
754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
755 (exit $ac_status); } &&
756 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
757 + { ac_try='test -z "$ac_c_werror_flag"
758 + || test ! -s conftest.err'
759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
762 @@ -3667,7 +3826,8 @@
764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
765 (exit $ac_status); } &&
766 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
767 + { ac_try='test -z "$ac_c_werror_flag"
768 + || test ! -s conftest.err'
769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
772 @@ -3756,7 +3916,8 @@
774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
775 (exit $ac_status); } &&
776 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
777 + { ac_try='test -z "$ac_c_werror_flag"
778 + || test ! -s conftest.err'
779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
782 @@ -3903,9 +4064,6 @@
786 - test -z "$ac_cv_path_ac_pt_WINDRES" && ac_cv_path_ac_pt_WINDRES="{ echo "$as_me:$LINENO: WARNING: Could not find a windres tool in your PATH. Will not be able to compile drmingw." >&5
787 -echo "$as_me: WARNING: Could not find a windres tool in your PATH. Will not be able to compile drmingw." >&2;}
792 @@ -3925,6 +4083,22 @@
796 +if test -z "${WINDRES}"; then
797 + { echo "$as_me:$LINENO: WARNING: windres tool isn't in your PATH, drmingw can't be built!!" >&5
798 +echo "$as_me: WARNING: windres tool isn't in your PATH, drmingw can't be built!!" >&2;}
802 + BUILD_DRMINGW_TRUE=
803 + BUILD_DRMINGW_FALSE='#'
805 + BUILD_DRMINGW_TRUE='#'
806 + BUILD_DRMINGW_FALSE=
813 # Checks for header files.
815 @@ -4210,7 +4384,8 @@
817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
818 (exit $ac_status); } &&
819 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
820 + { ac_try='test -z "$ac_c_werror_flag"
821 + || test ! -s conftest.err'
822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
825 @@ -4342,9 +4517,7 @@
829 -where_toGet_utime_h='not found!'
830 -# this part is scrambled by autoconf. phooey. so we just cannot tell the user what we are doing.
831 -# AC_MSG_CHECKING([for whether utime.h is found as "utime.h" or "sys/utime.h"])
833 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
836 @@ -4383,7 +4556,8 @@
838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
839 (exit $ac_status); } &&
840 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
841 + { ac_try='test -z "$ac_c_werror_flag"
842 + || test ! -s conftest.err'
843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
846 @@ -4416,6 +4590,160 @@
851 +for ac_header in windows.h
853 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
854 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
855 + echo "$as_me:$LINENO: checking for $ac_header" >&5
856 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
857 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
858 + echo $ECHO_N "(cached) $ECHO_C" >&6
860 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
861 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
863 + # Is the header compilable?
864 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
865 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
866 +cat >conftest.$ac_ext <<_ACEOF
869 +cat confdefs.h >>conftest.$ac_ext
870 +cat >>conftest.$ac_ext <<_ACEOF
871 +/* end confdefs.h. */
872 +$ac_includes_default
873 +#include <$ac_header>
875 +rm -f conftest.$ac_objext
876 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
877 + (eval $ac_compile) 2>conftest.er1
879 + grep -v '^ *+' conftest.er1 >conftest.err
881 + cat conftest.err >&5
882 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
883 + (exit $ac_status); } &&
884 + { ac_try='test -z "$ac_c_werror_flag"
885 + || test ! -s conftest.err'
886 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
887 + (eval $ac_try) 2>&5
889 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
890 + (exit $ac_status); }; } &&
891 + { ac_try='test -s conftest.$ac_objext'
892 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
893 + (eval $ac_try) 2>&5
895 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
896 + (exit $ac_status); }; }; then
897 + ac_header_compiler=yes
899 + echo "$as_me: failed program was:" >&5
900 +sed 's/^/| /' conftest.$ac_ext >&5
902 +ac_header_compiler=no
904 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
905 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
906 +echo "${ECHO_T}$ac_header_compiler" >&6
908 +# Is the header present?
909 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
910 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
911 +cat >conftest.$ac_ext <<_ACEOF
914 +cat confdefs.h >>conftest.$ac_ext
915 +cat >>conftest.$ac_ext <<_ACEOF
916 +/* end confdefs.h. */
917 +#include <$ac_header>
919 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
920 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
922 + grep -v '^ *+' conftest.er1 >conftest.err
924 + cat conftest.err >&5
925 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
926 + (exit $ac_status); } >/dev/null; then
927 + if test -s conftest.err; then
928 + ac_cpp_err=$ac_c_preproc_warn_flag
929 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
936 +if test -z "$ac_cpp_err"; then
937 + ac_header_preproc=yes
939 + echo "$as_me: failed program was:" >&5
940 +sed 's/^/| /' conftest.$ac_ext >&5
942 + ac_header_preproc=no
944 +rm -f conftest.err conftest.$ac_ext
945 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
946 +echo "${ECHO_T}$ac_header_preproc" >&6
948 +# So? What about this header?
949 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
951 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
952 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
953 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
954 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
955 + ac_header_preproc=yes
958 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
959 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
960 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
961 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
962 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
963 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
964 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
965 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
966 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
967 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
968 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
969 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
972 +## -------------------------------------- ##
973 +## Report this to the mingw-utils lists. ##
974 +## -------------------------------------- ##
977 + sed "s/^/$as_me: WARNING: /" >&2
980 +echo "$as_me:$LINENO: checking for $ac_header" >&5
981 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
982 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
983 + echo $ECHO_N "(cached) $ECHO_C" >&6
985 + eval "$as_ac_Header=\$ac_header_preproc"
987 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
988 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
991 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
992 + cat >>confdefs.h <<_ACEOF
993 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1001 +where_toGet_utime_h='not found!'
1002 +# this part is scrambled by autoconf. phooey. so we just cannot tell the user what we are doing.
1003 +# AC_MSG_CHECKING([for whether utime.h is found as "utime.h" or "sys/utime.h"])
1004 if test "${ac_cv_header_utime_h+set}" = set; then
1005 echo "$as_me:$LINENO: checking for utime.h" >&5
1006 echo $ECHO_N "checking for utime.h... $ECHO_C" >&6
1007 @@ -4446,7 +4774,8 @@
1008 cat conftest.err >&5
1009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1010 (exit $ac_status); } &&
1011 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1012 + { ac_try='test -z "$ac_c_werror_flag"
1013 + || test ! -s conftest.err'
1014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1017 @@ -4590,7 +4919,8 @@
1018 cat conftest.err >&5
1019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1020 (exit $ac_status); } &&
1021 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1022 + { ac_try='test -z "$ac_c_werror_flag"
1023 + || test ! -s conftest.err'
1024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1027 @@ -4787,7 +5117,8 @@
1028 cat conftest.err >&5
1029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1030 (exit $ac_status); } &&
1031 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1032 + { ac_try='test -z "$ac_c_werror_flag"
1033 + || test ! -s conftest.err'
1034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1037 @@ -4888,7 +5219,8 @@
1038 cat conftest.err >&5
1039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1040 (exit $ac_status); } &&
1041 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1042 + { ac_try='test -z "$ac_c_werror_flag"
1043 + || test ! -s conftest.err'
1044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1047 @@ -4921,24 +5253,1681 @@
1051 - ac_config_files="$ac_config_files Makefile dos2unix/Makefile drmingw/Makefile pexports/Makefile redir/Makefile reimp/Makefile res2coff/Makefile scripts/Makefile scripts/a2dll scripts/dsw2mak unix2dos/Makefile"
1052 +echo "$as_me:$LINENO: checking for _int64" >&5
1053 +echo $ECHO_N "checking for _int64... $ECHO_C" >&6
1054 +if test "${ac_cv_type__int64+set}" = set; then
1055 + echo $ECHO_N "(cached) $ECHO_C" >&6
1057 + cat >conftest.$ac_ext <<_ACEOF
1060 +cat confdefs.h >>conftest.$ac_ext
1061 +cat >>conftest.$ac_ext <<_ACEOF
1062 +/* end confdefs.h. */
1063 +$ac_includes_default
1069 +if (sizeof (_int64))
1075 +rm -f conftest.$ac_objext
1076 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1077 + (eval $ac_compile) 2>conftest.er1
1079 + grep -v '^ *+' conftest.er1 >conftest.err
1080 + rm -f conftest.er1
1081 + cat conftest.err >&5
1082 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1083 + (exit $ac_status); } &&
1084 + { ac_try='test -z "$ac_c_werror_flag"
1085 + || test ! -s conftest.err'
1086 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1087 + (eval $ac_try) 2>&5
1089 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1090 + (exit $ac_status); }; } &&
1091 + { ac_try='test -s conftest.$ac_objext'
1092 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1093 + (eval $ac_try) 2>&5
1095 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1096 + (exit $ac_status); }; }; then
1097 + ac_cv_type__int64=yes
1099 + echo "$as_me: failed program was:" >&5
1100 +sed 's/^/| /' conftest.$ac_ext >&5
1102 -cat >confcache <<\_ACEOF
1103 -# This file is a shell script that caches the results of configure
1104 -# tests run on this system so they can be shared between configure
1105 -# scripts and configure runs, see configure's option --config-cache.
1106 -# It is not useful on other systems. If it contains results you don't
1107 -# want to keep, you may remove or edit it.
1109 -# config.status only pays attention to the cache file if you give it
1110 -# the --recheck option to rerun configure.
1112 -# `ac_cv_env_foo' variables (set or unset) will be overridden when
1113 -# loading this file, other *unset* `ac_cv_foo' will be assigned the
1114 -# following values.
1115 +ac_cv_type__int64=no
1117 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1119 +echo "$as_me:$LINENO: result: $ac_cv_type__int64" >&5
1120 +echo "${ECHO_T}$ac_cv_type__int64" >&6
1122 +echo "$as_me:$LINENO: checking size of _int64" >&5
1123 +echo $ECHO_N "checking size of _int64... $ECHO_C" >&6
1124 +if test "${ac_cv_sizeof__int64+set}" = set; then
1125 + echo $ECHO_N "(cached) $ECHO_C" >&6
1127 + if test "$ac_cv_type__int64" = yes; then
1128 + # The cast to unsigned long works around a bug in the HP C Compiler
1129 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
1130 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
1131 + # This bug is HP SR number 8606223364.
1132 + if test "$cross_compiling" = yes; then
1133 + # Depending upon the size, compute the lo and hi bounds.
1134 +cat >conftest.$ac_ext <<_ACEOF
1138 +cat confdefs.h >>conftest.$ac_ext
1139 +cat >>conftest.$ac_ext <<_ACEOF
1140 +/* end confdefs.h. */
1141 +$ac_includes_default
1145 +static int test_array [1 - 2 * !(((long) (sizeof (_int64))) >= 0)];
1152 +rm -f conftest.$ac_objext
1153 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1154 + (eval $ac_compile) 2>conftest.er1
1156 + grep -v '^ *+' conftest.er1 >conftest.err
1157 + rm -f conftest.er1
1158 + cat conftest.err >&5
1159 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1160 + (exit $ac_status); } &&
1161 + { ac_try='test -z "$ac_c_werror_flag"
1162 + || test ! -s conftest.err'
1163 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1164 + (eval $ac_try) 2>&5
1166 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1167 + (exit $ac_status); }; } &&
1168 + { ac_try='test -s conftest.$ac_objext'
1169 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1170 + (eval $ac_try) 2>&5
1172 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1173 + (exit $ac_status); }; }; then
1176 + cat >conftest.$ac_ext <<_ACEOF
1179 +cat confdefs.h >>conftest.$ac_ext
1180 +cat >>conftest.$ac_ext <<_ACEOF
1181 +/* end confdefs.h. */
1182 +$ac_includes_default
1186 +static int test_array [1 - 2 * !(((long) (sizeof (_int64))) <= $ac_mid)];
1193 +rm -f conftest.$ac_objext
1194 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1195 + (eval $ac_compile) 2>conftest.er1
1197 + grep -v '^ *+' conftest.er1 >conftest.err
1198 + rm -f conftest.er1
1199 + cat conftest.err >&5
1200 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1201 + (exit $ac_status); } &&
1202 + { ac_try='test -z "$ac_c_werror_flag"
1203 + || test ! -s conftest.err'
1204 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1205 + (eval $ac_try) 2>&5
1207 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1208 + (exit $ac_status); }; } &&
1209 + { ac_try='test -s conftest.$ac_objext'
1210 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1211 + (eval $ac_try) 2>&5
1213 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1214 + (exit $ac_status); }; }; then
1215 + ac_hi=$ac_mid; break
1217 + echo "$as_me: failed program was:" >&5
1218 +sed 's/^/| /' conftest.$ac_ext >&5
1220 +ac_lo=`expr $ac_mid + 1`
1221 + if test $ac_lo -le $ac_mid; then
1225 + ac_mid=`expr 2 '*' $ac_mid + 1`
1227 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1230 + echo "$as_me: failed program was:" >&5
1231 +sed 's/^/| /' conftest.$ac_ext >&5
1233 +cat >conftest.$ac_ext <<_ACEOF
1236 +cat confdefs.h >>conftest.$ac_ext
1237 +cat >>conftest.$ac_ext <<_ACEOF
1238 +/* end confdefs.h. */
1239 +$ac_includes_default
1243 +static int test_array [1 - 2 * !(((long) (sizeof (_int64))) < 0)];
1250 +rm -f conftest.$ac_objext
1251 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1252 + (eval $ac_compile) 2>conftest.er1
1254 + grep -v '^ *+' conftest.er1 >conftest.err
1255 + rm -f conftest.er1
1256 + cat conftest.err >&5
1257 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1258 + (exit $ac_status); } &&
1259 + { ac_try='test -z "$ac_c_werror_flag"
1260 + || test ! -s conftest.err'
1261 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1262 + (eval $ac_try) 2>&5
1264 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1265 + (exit $ac_status); }; } &&
1266 + { ac_try='test -s conftest.$ac_objext'
1267 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1268 + (eval $ac_try) 2>&5
1270 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1271 + (exit $ac_status); }; }; then
1272 + ac_hi=-1 ac_mid=-1
1274 + cat >conftest.$ac_ext <<_ACEOF
1277 +cat confdefs.h >>conftest.$ac_ext
1278 +cat >>conftest.$ac_ext <<_ACEOF
1279 +/* end confdefs.h. */
1280 +$ac_includes_default
1284 +static int test_array [1 - 2 * !(((long) (sizeof (_int64))) >= $ac_mid)];
1291 +rm -f conftest.$ac_objext
1292 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1293 + (eval $ac_compile) 2>conftest.er1
1295 + grep -v '^ *+' conftest.er1 >conftest.err
1296 + rm -f conftest.er1
1297 + cat conftest.err >&5
1298 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1299 + (exit $ac_status); } &&
1300 + { ac_try='test -z "$ac_c_werror_flag"
1301 + || test ! -s conftest.err'
1302 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1303 + (eval $ac_try) 2>&5
1305 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1306 + (exit $ac_status); }; } &&
1307 + { ac_try='test -s conftest.$ac_objext'
1308 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1309 + (eval $ac_try) 2>&5
1311 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1312 + (exit $ac_status); }; }; then
1313 + ac_lo=$ac_mid; break
1315 + echo "$as_me: failed program was:" >&5
1316 +sed 's/^/| /' conftest.$ac_ext >&5
1318 +ac_hi=`expr '(' $ac_mid ')' - 1`
1319 + if test $ac_mid -le $ac_hi; then
1323 + ac_mid=`expr 2 '*' $ac_mid`
1325 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1328 + echo "$as_me: failed program was:" >&5
1329 +sed 's/^/| /' conftest.$ac_ext >&5
1333 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1335 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1336 +# Binary search between lo and hi bounds.
1337 +while test "x$ac_lo" != "x$ac_hi"; do
1338 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
1339 + cat >conftest.$ac_ext <<_ACEOF
1342 +cat confdefs.h >>conftest.$ac_ext
1343 +cat >>conftest.$ac_ext <<_ACEOF
1344 +/* end confdefs.h. */
1345 +$ac_includes_default
1349 +static int test_array [1 - 2 * !(((long) (sizeof (_int64))) <= $ac_mid)];
1356 +rm -f conftest.$ac_objext
1357 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1358 + (eval $ac_compile) 2>conftest.er1
1360 + grep -v '^ *+' conftest.er1 >conftest.err
1361 + rm -f conftest.er1
1362 + cat conftest.err >&5
1363 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1364 + (exit $ac_status); } &&
1365 + { ac_try='test -z "$ac_c_werror_flag"
1366 + || test ! -s conftest.err'
1367 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1368 + (eval $ac_try) 2>&5
1370 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1371 + (exit $ac_status); }; } &&
1372 + { ac_try='test -s conftest.$ac_objext'
1373 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1374 + (eval $ac_try) 2>&5
1376 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1377 + (exit $ac_status); }; }; then
1380 + echo "$as_me: failed program was:" >&5
1381 +sed 's/^/| /' conftest.$ac_ext >&5
1383 +ac_lo=`expr '(' $ac_mid ')' + 1`
1385 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1388 +?*) ac_cv_sizeof__int64=$ac_lo;;
1389 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (_int64), 77
1390 +See \`config.log' for more details." >&5
1391 +echo "$as_me: error: cannot compute sizeof (_int64), 77
1392 +See \`config.log' for more details." >&2;}
1393 + { (exit 1); exit 1; }; } ;;
1396 + if test "$cross_compiling" = yes; then
1397 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
1398 +See \`config.log' for more details." >&5
1399 +echo "$as_me: error: cannot run test program while cross compiling
1400 +See \`config.log' for more details." >&2;}
1401 + { (exit 1); exit 1; }; }
1403 + cat >conftest.$ac_ext <<_ACEOF
1406 +cat confdefs.h >>conftest.$ac_ext
1407 +cat >>conftest.$ac_ext <<_ACEOF
1408 +/* end confdefs.h. */
1409 +$ac_includes_default
1410 +long longval () { return (long) (sizeof (_int64)); }
1411 +unsigned long ulongval () { return (long) (sizeof (_int64)); }
1413 +#include <stdlib.h>
1418 + FILE *f = fopen ("conftest.val", "w");
1421 + if (((long) (sizeof (_int64))) < 0)
1423 + long i = longval ();
1424 + if (i != ((long) (sizeof (_int64))))
1426 + fprintf (f, "%ld\n", i);
1430 + unsigned long i = ulongval ();
1431 + if (i != ((long) (sizeof (_int64))))
1433 + fprintf (f, "%lu\n", i);
1435 + exit (ferror (f) || fclose (f) != 0);
1441 +rm -f conftest$ac_exeext
1442 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1443 + (eval $ac_link) 2>&5
1445 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1446 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1447 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1448 + (eval $ac_try) 2>&5
1450 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1451 + (exit $ac_status); }; }; then
1452 + ac_cv_sizeof__int64=`cat conftest.val`
1454 + echo "$as_me: program exited with status $ac_status" >&5
1455 +echo "$as_me: failed program was:" >&5
1456 +sed 's/^/| /' conftest.$ac_ext >&5
1458 +( exit $ac_status )
1459 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (_int64), 77
1460 +See \`config.log' for more details." >&5
1461 +echo "$as_me: error: cannot compute sizeof (_int64), 77
1462 +See \`config.log' for more details." >&2;}
1463 + { (exit 1); exit 1; }; }
1465 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1470 + ac_cv_sizeof__int64=0
1473 +echo "$as_me:$LINENO: result: $ac_cv_sizeof__int64" >&5
1474 +echo "${ECHO_T}$ac_cv_sizeof__int64" >&6
1475 +cat >>confdefs.h <<_ACEOF
1476 +#define SIZEOF__INT64 $ac_cv_sizeof__int64
1480 +echo "$as_me:$LINENO: checking for long long" >&5
1481 +echo $ECHO_N "checking for long long... $ECHO_C" >&6
1482 +if test "${ac_cv_type_long_long+set}" = set; then
1483 + echo $ECHO_N "(cached) $ECHO_C" >&6
1485 + cat >conftest.$ac_ext <<_ACEOF
1488 +cat confdefs.h >>conftest.$ac_ext
1489 +cat >>conftest.$ac_ext <<_ACEOF
1490 +/* end confdefs.h. */
1491 +$ac_includes_default
1495 +if ((long long *) 0)
1497 +if (sizeof (long long))
1503 +rm -f conftest.$ac_objext
1504 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1505 + (eval $ac_compile) 2>conftest.er1
1507 + grep -v '^ *+' conftest.er1 >conftest.err
1508 + rm -f conftest.er1
1509 + cat conftest.err >&5
1510 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1511 + (exit $ac_status); } &&
1512 + { ac_try='test -z "$ac_c_werror_flag"
1513 + || test ! -s conftest.err'
1514 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1515 + (eval $ac_try) 2>&5
1517 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1518 + (exit $ac_status); }; } &&
1519 + { ac_try='test -s conftest.$ac_objext'
1520 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1521 + (eval $ac_try) 2>&5
1523 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1524 + (exit $ac_status); }; }; then
1525 + ac_cv_type_long_long=yes
1527 + echo "$as_me: failed program was:" >&5
1528 +sed 's/^/| /' conftest.$ac_ext >&5
1530 +ac_cv_type_long_long=no
1532 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1534 +echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
1535 +echo "${ECHO_T}$ac_cv_type_long_long" >&6
1537 +echo "$as_me:$LINENO: checking size of long long" >&5
1538 +echo $ECHO_N "checking size of long long... $ECHO_C" >&6
1539 +if test "${ac_cv_sizeof_long_long+set}" = set; then
1540 + echo $ECHO_N "(cached) $ECHO_C" >&6
1542 + if test "$ac_cv_type_long_long" = yes; then
1543 + # The cast to unsigned long works around a bug in the HP C Compiler
1544 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
1545 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
1546 + # This bug is HP SR number 8606223364.
1547 + if test "$cross_compiling" = yes; then
1548 + # Depending upon the size, compute the lo and hi bounds.
1549 +cat >conftest.$ac_ext <<_ACEOF
1552 +cat confdefs.h >>conftest.$ac_ext
1553 +cat >>conftest.$ac_ext <<_ACEOF
1554 +/* end confdefs.h. */
1555 +$ac_includes_default
1559 +static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
1566 +rm -f conftest.$ac_objext
1567 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1568 + (eval $ac_compile) 2>conftest.er1
1570 + grep -v '^ *+' conftest.er1 >conftest.err
1571 + rm -f conftest.er1
1572 + cat conftest.err >&5
1573 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1574 + (exit $ac_status); } &&
1575 + { ac_try='test -z "$ac_c_werror_flag"
1576 + || test ! -s conftest.err'
1577 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1578 + (eval $ac_try) 2>&5
1580 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1581 + (exit $ac_status); }; } &&
1582 + { ac_try='test -s conftest.$ac_objext'
1583 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1584 + (eval $ac_try) 2>&5
1586 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1587 + (exit $ac_status); }; }; then
1590 + cat >conftest.$ac_ext <<_ACEOF
1593 +cat confdefs.h >>conftest.$ac_ext
1594 +cat >>conftest.$ac_ext <<_ACEOF
1595 +/* end confdefs.h. */
1596 +$ac_includes_default
1600 +static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
1607 +rm -f conftest.$ac_objext
1608 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1609 + (eval $ac_compile) 2>conftest.er1
1611 + grep -v '^ *+' conftest.er1 >conftest.err
1612 + rm -f conftest.er1
1613 + cat conftest.err >&5
1614 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1615 + (exit $ac_status); } &&
1616 + { ac_try='test -z "$ac_c_werror_flag"
1617 + || test ! -s conftest.err'
1618 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1619 + (eval $ac_try) 2>&5
1621 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1622 + (exit $ac_status); }; } &&
1623 + { ac_try='test -s conftest.$ac_objext'
1624 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1625 + (eval $ac_try) 2>&5
1627 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1628 + (exit $ac_status); }; }; then
1629 + ac_hi=$ac_mid; break
1631 + echo "$as_me: failed program was:" >&5
1632 +sed 's/^/| /' conftest.$ac_ext >&5
1634 +ac_lo=`expr $ac_mid + 1`
1635 + if test $ac_lo -le $ac_mid; then
1639 + ac_mid=`expr 2 '*' $ac_mid + 1`
1641 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1644 + echo "$as_me: failed program was:" >&5
1645 +sed 's/^/| /' conftest.$ac_ext >&5
1647 +cat >conftest.$ac_ext <<_ACEOF
1650 +cat confdefs.h >>conftest.$ac_ext
1651 +cat >>conftest.$ac_ext <<_ACEOF
1652 +/* end confdefs.h. */
1653 +$ac_includes_default
1657 +static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
1664 +rm -f conftest.$ac_objext
1665 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1666 + (eval $ac_compile) 2>conftest.er1
1668 + grep -v '^ *+' conftest.er1 >conftest.err
1669 + rm -f conftest.er1
1670 + cat conftest.err >&5
1671 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1672 + (exit $ac_status); } &&
1673 + { ac_try='test -z "$ac_c_werror_flag"
1674 + || test ! -s conftest.err'
1675 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1676 + (eval $ac_try) 2>&5
1678 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1679 + (exit $ac_status); }; } &&
1680 + { ac_try='test -s conftest.$ac_objext'
1681 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1682 + (eval $ac_try) 2>&5
1684 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1685 + (exit $ac_status); }; }; then
1686 + ac_hi=-1 ac_mid=-1
1688 + cat >conftest.$ac_ext <<_ACEOF
1691 +cat confdefs.h >>conftest.$ac_ext
1692 +cat >>conftest.$ac_ext <<_ACEOF
1693 +/* end confdefs.h. */
1694 +$ac_includes_default
1698 +static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
1705 +rm -f conftest.$ac_objext
1706 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1707 + (eval $ac_compile) 2>conftest.er1
1709 + grep -v '^ *+' conftest.er1 >conftest.err
1710 + rm -f conftest.er1
1711 + cat conftest.err >&5
1712 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1713 + (exit $ac_status); } &&
1714 + { ac_try='test -z "$ac_c_werror_flag"
1715 + || test ! -s conftest.err'
1716 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1717 + (eval $ac_try) 2>&5
1719 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1720 + (exit $ac_status); }; } &&
1721 + { ac_try='test -s conftest.$ac_objext'
1722 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1723 + (eval $ac_try) 2>&5
1725 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1726 + (exit $ac_status); }; }; then
1727 + ac_lo=$ac_mid; break
1729 + echo "$as_me: failed program was:" >&5
1730 +sed 's/^/| /' conftest.$ac_ext >&5
1732 +ac_hi=`expr '(' $ac_mid ')' - 1`
1733 + if test $ac_mid -le $ac_hi; then
1737 + ac_mid=`expr 2 '*' $ac_mid`
1739 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1742 + echo "$as_me: failed program was:" >&5
1743 +sed 's/^/| /' conftest.$ac_ext >&5
1747 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1749 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1750 +# Binary search between lo and hi bounds.
1751 +while test "x$ac_lo" != "x$ac_hi"; do
1752 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
1753 + cat >conftest.$ac_ext <<_ACEOF
1756 +cat confdefs.h >>conftest.$ac_ext
1757 +cat >>conftest.$ac_ext <<_ACEOF
1758 +/* end confdefs.h. */
1759 +$ac_includes_default
1763 +static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
1770 +rm -f conftest.$ac_objext
1771 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1772 + (eval $ac_compile) 2>conftest.er1
1774 + grep -v '^ *+' conftest.er1 >conftest.err
1775 + rm -f conftest.er1
1776 + cat conftest.err >&5
1777 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1778 + (exit $ac_status); } &&
1779 + { ac_try='test -z "$ac_c_werror_flag"
1780 + || test ! -s conftest.err'
1781 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1782 + (eval $ac_try) 2>&5
1784 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1785 + (exit $ac_status); }; } &&
1786 + { ac_try='test -s conftest.$ac_objext'
1787 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1788 + (eval $ac_try) 2>&5
1790 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1791 + (exit $ac_status); }; }; then
1794 + echo "$as_me: failed program was:" >&5
1795 +sed 's/^/| /' conftest.$ac_ext >&5
1797 +ac_lo=`expr '(' $ac_mid ')' + 1`
1799 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1802 +?*) ac_cv_sizeof_long_long=$ac_lo;;
1803 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
1804 +See \`config.log' for more details." >&5
1805 +echo "$as_me: error: cannot compute sizeof (long long), 77
1806 +See \`config.log' for more details." >&2;}
1807 + { (exit 1); exit 1; }; } ;;
1810 + if test "$cross_compiling" = yes; then
1811 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
1812 +See \`config.log' for more details." >&5
1813 +echo "$as_me: error: cannot run test program while cross compiling
1814 +See \`config.log' for more details." >&2;}
1815 + { (exit 1); exit 1; }; }
1817 + cat >conftest.$ac_ext <<_ACEOF
1820 +cat confdefs.h >>conftest.$ac_ext
1821 +cat >>conftest.$ac_ext <<_ACEOF
1822 +/* end confdefs.h. */
1823 +$ac_includes_default
1824 +long longval () { return (long) (sizeof (long long)); }
1825 +unsigned long ulongval () { return (long) (sizeof (long long)); }
1827 +#include <stdlib.h>
1832 + FILE *f = fopen ("conftest.val", "w");
1835 + if (((long) (sizeof (long long))) < 0)
1837 + long i = longval ();
1838 + if (i != ((long) (sizeof (long long))))
1840 + fprintf (f, "%ld\n", i);
1844 + unsigned long i = ulongval ();
1845 + if (i != ((long) (sizeof (long long))))
1847 + fprintf (f, "%lu\n", i);
1849 + exit (ferror (f) || fclose (f) != 0);
1855 +rm -f conftest$ac_exeext
1856 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1857 + (eval $ac_link) 2>&5
1859 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1860 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1861 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1862 + (eval $ac_try) 2>&5
1864 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1865 + (exit $ac_status); }; }; then
1866 + ac_cv_sizeof_long_long=`cat conftest.val`
1868 + echo "$as_me: program exited with status $ac_status" >&5
1869 +echo "$as_me: failed program was:" >&5
1870 +sed 's/^/| /' conftest.$ac_ext >&5
1872 +( exit $ac_status )
1873 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
1874 +See \`config.log' for more details." >&5
1875 +echo "$as_me: error: cannot compute sizeof (long long), 77
1876 +See \`config.log' for more details." >&2;}
1877 + { (exit 1); exit 1; }; }
1879 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1884 + ac_cv_sizeof_long_long=0
1887 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
1888 +echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
1889 +cat >>confdefs.h <<_ACEOF
1890 +#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
1894 +echo "$as_me:$LINENO: checking for long" >&5
1895 +echo $ECHO_N "checking for long... $ECHO_C" >&6
1896 +if test "${ac_cv_type_long+set}" = set; then
1897 + echo $ECHO_N "(cached) $ECHO_C" >&6
1899 + cat >conftest.$ac_ext <<_ACEOF
1902 +cat confdefs.h >>conftest.$ac_ext
1903 +cat >>conftest.$ac_ext <<_ACEOF
1904 +/* end confdefs.h. */
1905 +$ac_includes_default
1917 +rm -f conftest.$ac_objext
1918 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1919 + (eval $ac_compile) 2>conftest.er1
1921 + grep -v '^ *+' conftest.er1 >conftest.err
1922 + rm -f conftest.er1
1923 + cat conftest.err >&5
1924 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1925 + (exit $ac_status); } &&
1926 + { ac_try='test -z "$ac_c_werror_flag"
1927 + || test ! -s conftest.err'
1928 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1929 + (eval $ac_try) 2>&5
1931 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1932 + (exit $ac_status); }; } &&
1933 + { ac_try='test -s conftest.$ac_objext'
1934 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1935 + (eval $ac_try) 2>&5
1937 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1938 + (exit $ac_status); }; }; then
1939 + ac_cv_type_long=yes
1941 + echo "$as_me: failed program was:" >&5
1942 +sed 's/^/| /' conftest.$ac_ext >&5
1946 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1948 +echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
1949 +echo "${ECHO_T}$ac_cv_type_long" >&6
1951 +echo "$as_me:$LINENO: checking size of long" >&5
1952 +echo $ECHO_N "checking size of long... $ECHO_C" >&6
1953 +if test "${ac_cv_sizeof_long+set}" = set; then
1954 + echo $ECHO_N "(cached) $ECHO_C" >&6
1956 + if test "$ac_cv_type_long" = yes; then
1957 + # The cast to unsigned long works around a bug in the HP C Compiler
1958 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
1959 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
1960 + # This bug is HP SR number 8606223364.
1961 + if test "$cross_compiling" = yes; then
1962 + # Depending upon the size, compute the lo and hi bounds.
1963 +cat >conftest.$ac_ext <<_ACEOF
1966 +cat confdefs.h >>conftest.$ac_ext
1967 +cat >>conftest.$ac_ext <<_ACEOF
1968 +/* end confdefs.h. */
1969 +$ac_includes_default
1973 +static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
1980 +rm -f conftest.$ac_objext
1981 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1982 + (eval $ac_compile) 2>conftest.er1
1984 + grep -v '^ *+' conftest.er1 >conftest.err
1985 + rm -f conftest.er1
1986 + cat conftest.err >&5
1987 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1988 + (exit $ac_status); } &&
1989 + { ac_try='test -z "$ac_c_werror_flag"
1990 + || test ! -s conftest.err'
1991 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1992 + (eval $ac_try) 2>&5
1994 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1995 + (exit $ac_status); }; } &&
1996 + { ac_try='test -s conftest.$ac_objext'
1997 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1998 + (eval $ac_try) 2>&5
2000 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2001 + (exit $ac_status); }; }; then
2004 + cat >conftest.$ac_ext <<_ACEOF
2007 +cat confdefs.h >>conftest.$ac_ext
2008 +cat >>conftest.$ac_ext <<_ACEOF
2009 +/* end confdefs.h. */
2010 +$ac_includes_default
2014 +static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
2021 +rm -f conftest.$ac_objext
2022 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2023 + (eval $ac_compile) 2>conftest.er1
2025 + grep -v '^ *+' conftest.er1 >conftest.err
2026 + rm -f conftest.er1
2027 + cat conftest.err >&5
2028 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2029 + (exit $ac_status); } &&
2030 + { ac_try='test -z "$ac_c_werror_flag"
2031 + || test ! -s conftest.err'
2032 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2033 + (eval $ac_try) 2>&5
2035 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2036 + (exit $ac_status); }; } &&
2037 + { ac_try='test -s conftest.$ac_objext'
2038 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2039 + (eval $ac_try) 2>&5
2041 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2042 + (exit $ac_status); }; }; then
2043 + ac_hi=$ac_mid; break
2045 + echo "$as_me: failed program was:" >&5
2046 +sed 's/^/| /' conftest.$ac_ext >&5
2048 +ac_lo=`expr $ac_mid + 1`
2049 + if test $ac_lo -le $ac_mid; then
2053 + ac_mid=`expr 2 '*' $ac_mid + 1`
2055 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2058 + echo "$as_me: failed program was:" >&5
2059 +sed 's/^/| /' conftest.$ac_ext >&5
2061 +cat >conftest.$ac_ext <<_ACEOF
2064 +cat confdefs.h >>conftest.$ac_ext
2065 +cat >>conftest.$ac_ext <<_ACEOF
2066 +/* end confdefs.h. */
2067 +$ac_includes_default
2071 +static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
2078 +rm -f conftest.$ac_objext
2079 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2080 + (eval $ac_compile) 2>conftest.er1
2082 + grep -v '^ *+' conftest.er1 >conftest.err
2083 + rm -f conftest.er1
2084 + cat conftest.err >&5
2085 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2086 + (exit $ac_status); } &&
2087 + { ac_try='test -z "$ac_c_werror_flag"
2088 + || test ! -s conftest.err'
2089 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2090 + (eval $ac_try) 2>&5
2092 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2093 + (exit $ac_status); }; } &&
2094 + { ac_try='test -s conftest.$ac_objext'
2095 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2096 + (eval $ac_try) 2>&5
2098 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2099 + (exit $ac_status); }; }; then
2100 + ac_hi=-1 ac_mid=-1
2102 + cat >conftest.$ac_ext <<_ACEOF
2105 +cat confdefs.h >>conftest.$ac_ext
2106 +cat >>conftest.$ac_ext <<_ACEOF
2107 +/* end confdefs.h. */
2108 +$ac_includes_default
2112 +static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
2119 +rm -f conftest.$ac_objext
2120 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2121 + (eval $ac_compile) 2>conftest.er1
2123 + grep -v '^ *+' conftest.er1 >conftest.err
2124 + rm -f conftest.er1
2125 + cat conftest.err >&5
2126 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2127 + (exit $ac_status); } &&
2128 + { ac_try='test -z "$ac_c_werror_flag"
2129 + || test ! -s conftest.err'
2130 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2131 + (eval $ac_try) 2>&5
2133 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134 + (exit $ac_status); }; } &&
2135 + { ac_try='test -s conftest.$ac_objext'
2136 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2137 + (eval $ac_try) 2>&5
2139 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2140 + (exit $ac_status); }; }; then
2141 + ac_lo=$ac_mid; break
2143 + echo "$as_me: failed program was:" >&5
2144 +sed 's/^/| /' conftest.$ac_ext >&5
2146 +ac_hi=`expr '(' $ac_mid ')' - 1`
2147 + if test $ac_mid -le $ac_hi; then
2151 + ac_mid=`expr 2 '*' $ac_mid`
2153 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2156 + echo "$as_me: failed program was:" >&5
2157 +sed 's/^/| /' conftest.$ac_ext >&5
2161 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2163 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2164 +# Binary search between lo and hi bounds.
2165 +while test "x$ac_lo" != "x$ac_hi"; do
2166 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
2167 + cat >conftest.$ac_ext <<_ACEOF
2170 +cat confdefs.h >>conftest.$ac_ext
2171 +cat >>conftest.$ac_ext <<_ACEOF
2172 +/* end confdefs.h. */
2173 +$ac_includes_default
2177 +static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
2184 +rm -f conftest.$ac_objext
2185 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2186 + (eval $ac_compile) 2>conftest.er1
2188 + grep -v '^ *+' conftest.er1 >conftest.err
2189 + rm -f conftest.er1
2190 + cat conftest.err >&5
2191 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2192 + (exit $ac_status); } &&
2193 + { ac_try='test -z "$ac_c_werror_flag"
2194 + || test ! -s conftest.err'
2195 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2196 + (eval $ac_try) 2>&5
2198 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199 + (exit $ac_status); }; } &&
2200 + { ac_try='test -s conftest.$ac_objext'
2201 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2202 + (eval $ac_try) 2>&5
2204 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 + (exit $ac_status); }; }; then
2208 + echo "$as_me: failed program was:" >&5
2209 +sed 's/^/| /' conftest.$ac_ext >&5
2211 +ac_lo=`expr '(' $ac_mid ')' + 1`
2213 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2216 +?*) ac_cv_sizeof_long=$ac_lo;;
2217 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
2218 +See \`config.log' for more details." >&5
2219 +echo "$as_me: error: cannot compute sizeof (long), 77
2220 +See \`config.log' for more details." >&2;}
2221 + { (exit 1); exit 1; }; } ;;
2224 + if test "$cross_compiling" = yes; then
2225 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
2226 +See \`config.log' for more details." >&5
2227 +echo "$as_me: error: cannot run test program while cross compiling
2228 +See \`config.log' for more details." >&2;}
2229 + { (exit 1); exit 1; }; }
2231 + cat >conftest.$ac_ext <<_ACEOF
2234 +cat confdefs.h >>conftest.$ac_ext
2235 +cat >>conftest.$ac_ext <<_ACEOF
2236 +/* end confdefs.h. */
2237 +$ac_includes_default
2238 +long longval () { return (long) (sizeof (long)); }
2239 +unsigned long ulongval () { return (long) (sizeof (long)); }
2241 +#include <stdlib.h>
2246 + FILE *f = fopen ("conftest.val", "w");
2249 + if (((long) (sizeof (long))) < 0)
2251 + long i = longval ();
2252 + if (i != ((long) (sizeof (long))))
2254 + fprintf (f, "%ld\n", i);
2258 + unsigned long i = ulongval ();
2259 + if (i != ((long) (sizeof (long))))
2261 + fprintf (f, "%lu\n", i);
2263 + exit (ferror (f) || fclose (f) != 0);
2269 +rm -f conftest$ac_exeext
2270 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2271 + (eval $ac_link) 2>&5
2273 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2275 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2276 + (eval $ac_try) 2>&5
2278 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 + (exit $ac_status); }; }; then
2280 + ac_cv_sizeof_long=`cat conftest.val`
2282 + echo "$as_me: program exited with status $ac_status" >&5
2283 +echo "$as_me: failed program was:" >&5
2284 +sed 's/^/| /' conftest.$ac_ext >&5
2286 +( exit $ac_status )
2287 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
2288 +See \`config.log' for more details." >&5
2289 +echo "$as_me: error: cannot compute sizeof (long), 77
2290 +See \`config.log' for more details." >&2;}
2291 + { (exit 1); exit 1; }; }
2293 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2298 + ac_cv_sizeof_long=0
2301 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
2302 +echo "${ECHO_T}$ac_cv_sizeof_long" >&6
2303 +cat >>confdefs.h <<_ACEOF
2304 +#define SIZEOF_LONG $ac_cv_sizeof_long
2308 +echo "$as_me:$LINENO: checking for void *" >&5
2309 +echo $ECHO_N "checking for void *... $ECHO_C" >&6
2310 +if test "${ac_cv_type_void_p+set}" = set; then
2311 + echo $ECHO_N "(cached) $ECHO_C" >&6
2313 + cat >conftest.$ac_ext <<_ACEOF
2316 +cat confdefs.h >>conftest.$ac_ext
2317 +cat >>conftest.$ac_ext <<_ACEOF
2318 +/* end confdefs.h. */
2319 +$ac_includes_default
2325 +if (sizeof (void *))
2331 +rm -f conftest.$ac_objext
2332 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2333 + (eval $ac_compile) 2>conftest.er1
2335 + grep -v '^ *+' conftest.er1 >conftest.err
2336 + rm -f conftest.er1
2337 + cat conftest.err >&5
2338 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339 + (exit $ac_status); } &&
2340 + { ac_try='test -z "$ac_c_werror_flag"
2341 + || test ! -s conftest.err'
2342 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2343 + (eval $ac_try) 2>&5
2345 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 + (exit $ac_status); }; } &&
2347 + { ac_try='test -s conftest.$ac_objext'
2348 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2349 + (eval $ac_try) 2>&5
2351 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 + (exit $ac_status); }; }; then
2353 + ac_cv_type_void_p=yes
2355 + echo "$as_me: failed program was:" >&5
2356 +sed 's/^/| /' conftest.$ac_ext >&5
2358 +ac_cv_type_void_p=no
2360 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2362 +echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
2363 +echo "${ECHO_T}$ac_cv_type_void_p" >&6
2365 +echo "$as_me:$LINENO: checking size of void *" >&5
2366 +echo $ECHO_N "checking size of void *... $ECHO_C" >&6
2367 +if test "${ac_cv_sizeof_void_p+set}" = set; then
2368 + echo $ECHO_N "(cached) $ECHO_C" >&6
2370 + if test "$ac_cv_type_void_p" = yes; then
2371 + # The cast to unsigned long works around a bug in the HP C Compiler
2372 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
2373 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
2374 + # This bug is HP SR number 8606223364.
2375 + if test "$cross_compiling" = yes; then
2376 + # Depending upon the size, compute the lo and hi bounds.
2377 +cat >conftest.$ac_ext <<_ACEOF
2380 +cat confdefs.h >>conftest.$ac_ext
2381 +cat >>conftest.$ac_ext <<_ACEOF
2382 +/* end confdefs.h. */
2383 +$ac_includes_default
2387 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
2394 +rm -f conftest.$ac_objext
2395 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2396 + (eval $ac_compile) 2>conftest.er1
2398 + grep -v '^ *+' conftest.er1 >conftest.err
2399 + rm -f conftest.er1
2400 + cat conftest.err >&5
2401 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402 + (exit $ac_status); } &&
2403 + { ac_try='test -z "$ac_c_werror_flag"
2404 + || test ! -s conftest.err'
2405 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2406 + (eval $ac_try) 2>&5
2408 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409 + (exit $ac_status); }; } &&
2410 + { ac_try='test -s conftest.$ac_objext'
2411 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412 + (eval $ac_try) 2>&5
2414 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415 + (exit $ac_status); }; }; then
2418 + cat >conftest.$ac_ext <<_ACEOF
2421 +cat confdefs.h >>conftest.$ac_ext
2422 +cat >>conftest.$ac_ext <<_ACEOF
2423 +/* end confdefs.h. */
2424 +$ac_includes_default
2428 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
2435 +rm -f conftest.$ac_objext
2436 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2437 + (eval $ac_compile) 2>conftest.er1
2439 + grep -v '^ *+' conftest.er1 >conftest.err
2440 + rm -f conftest.er1
2441 + cat conftest.err >&5
2442 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443 + (exit $ac_status); } &&
2444 + { ac_try='test -z "$ac_c_werror_flag"
2445 + || test ! -s conftest.err'
2446 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2447 + (eval $ac_try) 2>&5
2449 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 + (exit $ac_status); }; } &&
2451 + { ac_try='test -s conftest.$ac_objext'
2452 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2453 + (eval $ac_try) 2>&5
2455 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 + (exit $ac_status); }; }; then
2457 + ac_hi=$ac_mid; break
2459 + echo "$as_me: failed program was:" >&5
2460 +sed 's/^/| /' conftest.$ac_ext >&5
2462 +ac_lo=`expr $ac_mid + 1`
2463 + if test $ac_lo -le $ac_mid; then
2467 + ac_mid=`expr 2 '*' $ac_mid + 1`
2469 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2472 + echo "$as_me: failed program was:" >&5
2473 +sed 's/^/| /' conftest.$ac_ext >&5
2475 +cat >conftest.$ac_ext <<_ACEOF
2478 +cat confdefs.h >>conftest.$ac_ext
2479 +cat >>conftest.$ac_ext <<_ACEOF
2480 +/* end confdefs.h. */
2481 +$ac_includes_default
2485 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
2492 +rm -f conftest.$ac_objext
2493 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2494 + (eval $ac_compile) 2>conftest.er1
2496 + grep -v '^ *+' conftest.er1 >conftest.err
2497 + rm -f conftest.er1
2498 + cat conftest.err >&5
2499 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500 + (exit $ac_status); } &&
2501 + { ac_try='test -z "$ac_c_werror_flag"
2502 + || test ! -s conftest.err'
2503 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2504 + (eval $ac_try) 2>&5
2506 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 + (exit $ac_status); }; } &&
2508 + { ac_try='test -s conftest.$ac_objext'
2509 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2510 + (eval $ac_try) 2>&5
2512 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513 + (exit $ac_status); }; }; then
2514 + ac_hi=-1 ac_mid=-1
2516 + cat >conftest.$ac_ext <<_ACEOF
2519 +cat confdefs.h >>conftest.$ac_ext
2520 +cat >>conftest.$ac_ext <<_ACEOF
2521 +/* end confdefs.h. */
2522 +$ac_includes_default
2526 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
2533 +rm -f conftest.$ac_objext
2534 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2535 + (eval $ac_compile) 2>conftest.er1
2537 + grep -v '^ *+' conftest.er1 >conftest.err
2538 + rm -f conftest.er1
2539 + cat conftest.err >&5
2540 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 + (exit $ac_status); } &&
2542 + { ac_try='test -z "$ac_c_werror_flag"
2543 + || test ! -s conftest.err'
2544 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2545 + (eval $ac_try) 2>&5
2547 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 + (exit $ac_status); }; } &&
2549 + { ac_try='test -s conftest.$ac_objext'
2550 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2551 + (eval $ac_try) 2>&5
2553 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 + (exit $ac_status); }; }; then
2555 + ac_lo=$ac_mid; break
2557 + echo "$as_me: failed program was:" >&5
2558 +sed 's/^/| /' conftest.$ac_ext >&5
2560 +ac_hi=`expr '(' $ac_mid ')' - 1`
2561 + if test $ac_mid -le $ac_hi; then
2565 + ac_mid=`expr 2 '*' $ac_mid`
2567 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2570 + echo "$as_me: failed program was:" >&5
2571 +sed 's/^/| /' conftest.$ac_ext >&5
2575 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2577 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2578 +# Binary search between lo and hi bounds.
2579 +while test "x$ac_lo" != "x$ac_hi"; do
2580 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
2581 + cat >conftest.$ac_ext <<_ACEOF
2584 +cat confdefs.h >>conftest.$ac_ext
2585 +cat >>conftest.$ac_ext <<_ACEOF
2586 +/* end confdefs.h. */
2587 +$ac_includes_default
2591 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
2598 +rm -f conftest.$ac_objext
2599 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2600 + (eval $ac_compile) 2>conftest.er1
2602 + grep -v '^ *+' conftest.er1 >conftest.err
2603 + rm -f conftest.er1
2604 + cat conftest.err >&5
2605 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606 + (exit $ac_status); } &&
2607 + { ac_try='test -z "$ac_c_werror_flag"
2608 + || test ! -s conftest.err'
2609 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2610 + (eval $ac_try) 2>&5
2612 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 + (exit $ac_status); }; } &&
2614 + { ac_try='test -s conftest.$ac_objext'
2615 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2616 + (eval $ac_try) 2>&5
2618 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2619 + (exit $ac_status); }; }; then
2622 + echo "$as_me: failed program was:" >&5
2623 +sed 's/^/| /' conftest.$ac_ext >&5
2625 +ac_lo=`expr '(' $ac_mid ')' + 1`
2627 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2630 +?*) ac_cv_sizeof_void_p=$ac_lo;;
2631 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
2632 +See \`config.log' for more details." >&5
2633 +echo "$as_me: error: cannot compute sizeof (void *), 77
2634 +See \`config.log' for more details." >&2;}
2635 + { (exit 1); exit 1; }; } ;;
2638 + if test "$cross_compiling" = yes; then
2639 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
2640 +See \`config.log' for more details." >&5
2641 +echo "$as_me: error: cannot run test program while cross compiling
2642 +See \`config.log' for more details." >&2;}
2643 + { (exit 1); exit 1; }; }
2645 + cat >conftest.$ac_ext <<_ACEOF
2648 +cat confdefs.h >>conftest.$ac_ext
2649 +cat >>conftest.$ac_ext <<_ACEOF
2650 +/* end confdefs.h. */
2651 +$ac_includes_default
2652 +long longval () { return (long) (sizeof (void *)); }
2653 +unsigned long ulongval () { return (long) (sizeof (void *)); }
2655 +#include <stdlib.h>
2660 + FILE *f = fopen ("conftest.val", "w");
2663 + if (((long) (sizeof (void *))) < 0)
2665 + long i = longval ();
2666 + if (i != ((long) (sizeof (void *))))
2668 + fprintf (f, "%ld\n", i);
2672 + unsigned long i = ulongval ();
2673 + if (i != ((long) (sizeof (void *))))
2675 + fprintf (f, "%lu\n", i);
2677 + exit (ferror (f) || fclose (f) != 0);
2683 +rm -f conftest$ac_exeext
2684 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2685 + (eval $ac_link) 2>&5
2687 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2689 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690 + (eval $ac_try) 2>&5
2692 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 + (exit $ac_status); }; }; then
2694 + ac_cv_sizeof_void_p=`cat conftest.val`
2696 + echo "$as_me: program exited with status $ac_status" >&5
2697 +echo "$as_me: failed program was:" >&5
2698 +sed 's/^/| /' conftest.$ac_ext >&5
2700 +( exit $ac_status )
2701 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
2702 +See \`config.log' for more details." >&5
2703 +echo "$as_me: error: cannot compute sizeof (void *), 77
2704 +See \`config.log' for more details." >&2;}
2705 + { (exit 1); exit 1; }; }
2707 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2712 + ac_cv_sizeof_void_p=0
2715 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
2716 +echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
2717 +cat >>confdefs.h <<_ACEOF
2718 +#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
2723 + ac_config_files="$ac_config_files Makefile dos2unix/Makefile drmingw/Makefile pexports/Makefile redir/Makefile reimp/Makefile res2coff/Makefile scripts/Makefile scripts/a2dll scripts/dsw2mak unix2dos/Makefile"
2725 +cat >confcache <<\_ACEOF
2726 +# This file is a shell script that caches the results of configure
2727 +# tests run on this system so they can be shared between configure
2728 +# scripts and configure runs, see configure's option --config-cache.
2729 +# It is not useful on other systems. If it contains results you don't
2730 +# want to keep, you may remove or edit it.
2732 +# config.status only pays attention to the cache file if you give it
2733 +# the --recheck option to rerun configure.
2735 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
2736 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
2737 +# following values.
2741 # The following way of writing the cache mishandles newlines in values,
2742 # but we know of no workaround that is simple, portable, and efficient.
2743 # So, don't put newlines in cache variables' values.
2744 @@ -5021,6 +7010,27 @@
2745 Usually this means the macro was only invoked conditionally." >&2;}
2746 { (exit 1); exit 1; }; }
2748 +if test -z "${BUILD_DRMINGW_TRUE}" && test -z "${BUILD_DRMINGW_FALSE}"; then
2749 + { { echo "$as_me:$LINENO: error: conditional \"BUILD_DRMINGW\" was never defined.
2750 +Usually this means the macro was only invoked conditionally." >&5
2751 +echo "$as_me: error: conditional \"BUILD_DRMINGW\" was never defined.
2752 +Usually this means the macro was only invoked conditionally." >&2;}
2753 + { (exit 1); exit 1; }; }
2755 +if test -z "${BUILD_REDIR_TRUE}" && test -z "${BUILD_REDIR_FALSE}"; then
2756 + { { echo "$as_me:$LINENO: error: conditional \"BUILD_REDIR\" was never defined.
2757 +Usually this means the macro was only invoked conditionally." >&5
2758 +echo "$as_me: error: conditional \"BUILD_REDIR\" was never defined.
2759 +Usually this means the macro was only invoked conditionally." >&2;}
2760 + { (exit 1); exit 1; }; }
2762 +if test -z "${BUILD_RES2COFF_TRUE}" && test -z "${BUILD_RES2COFF_FALSE}"; then
2763 + { { echo "$as_me:$LINENO: error: conditional \"BUILD_RES2COFF\" was never defined.
2764 +Usually this means the macro was only invoked conditionally." >&5
2765 +echo "$as_me: error: conditional \"BUILD_RES2COFF\" was never defined.
2766 +Usually this means the macro was only invoked conditionally." >&2;}
2767 + { (exit 1); exit 1; }; }
2769 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2770 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
2771 Usually this means the macro was only invoked conditionally." >&5
2772 @@ -5042,6 +7052,13 @@
2773 Usually this means the macro was only invoked conditionally." >&2;}
2774 { (exit 1); exit 1; }; }
2776 +if test -z "${BUILD_DRMINGW_TRUE}" && test -z "${BUILD_DRMINGW_FALSE}"; then
2777 + { { echo "$as_me:$LINENO: error: conditional \"BUILD_DRMINGW\" was never defined.
2778 +Usually this means the macro was only invoked conditionally." >&5
2779 +echo "$as_me: error: conditional \"BUILD_DRMINGW\" was never defined.
2780 +Usually this means the macro was only invoked conditionally." >&2;}
2781 + { (exit 1); exit 1; }; }
2784 : ${CONFIG_STATUS=./config.status}
2785 ac_clean_files_save=$ac_clean_files
2786 @@ -5314,7 +7331,7 @@
2789 This file was extended by mingw-utils $as_me 0.3, which was
2790 -generated by GNU Autoconf 2.58. Invocation command line was
2791 +generated by GNU Autoconf 2.59. Invocation command line was
2793 CONFIG_FILES = $CONFIG_FILES
2794 CONFIG_HEADERS = $CONFIG_HEADERS
2795 @@ -5377,7 +7394,7 @@
2796 cat >>$CONFIG_STATUS <<_ACEOF
2798 mingw-utils config.status 0.3
2799 -configured by $0, generated by GNU Autoconf 2.58,
2800 +configured by $0, generated by GNU Autoconf 2.59,
2801 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2803 Copyright (C) 2003 Free Software Foundation, Inc.
2804 @@ -5595,17 +7612,26 @@
2805 s,@AUTOMAKE@,$AUTOMAKE,;t t
2806 s,@AUTOHEADER@,$AUTOHEADER,;t t
2807 s,@MAKEINFO@,$MAKEINFO,;t t
2808 -s,@AMTAR@,$AMTAR,;t t
2809 s,@install_sh@,$install_sh,;t t
2810 s,@STRIP@,$STRIP,;t t
2811 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2812 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2813 +s,@mkdir_p@,$mkdir_p,;t t
2815 s,@SET_MAKE@,$SET_MAKE,;t t
2816 s,@am__leading_dot@,$am__leading_dot,;t t
2817 +s,@AMTAR@,$AMTAR,;t t
2818 +s,@am__tar@,$am__tar,;t t
2819 +s,@am__untar@,$am__untar,;t t
2820 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
2821 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
2822 s,@MAINT@,$MAINT,;t t
2823 +s,@BUILD_DRMINGW_TRUE@,$BUILD_DRMINGW_TRUE,;t t
2824 +s,@BUILD_DRMINGW_FALSE@,$BUILD_DRMINGW_FALSE,;t t
2825 +s,@BUILD_REDIR_TRUE@,$BUILD_REDIR_TRUE,;t t
2826 +s,@BUILD_REDIR_FALSE@,$BUILD_REDIR_FALSE,;t t
2827 +s,@BUILD_RES2COFF_TRUE@,$BUILD_RES2COFF_TRUE,;t t
2828 +s,@BUILD_RES2COFF_FALSE@,$BUILD_RES2COFF_FALSE,;t t
2830 s,@CFLAGS@,$CFLAGS,;t t
2831 s,@LDFLAGS@,$LDFLAGS,;t t
2832 @@ -6262,27 +8288,21 @@
2836 - grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
2837 - # Extract the definition of DEP_FILES from the Makefile without
2839 - DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
2840 + # Extract the definition of DEPDIR, am__include, and am__quote
2841 + # from the Makefile without running `make'.
2842 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
2843 test -z "$DEPDIR" && continue
2844 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
2845 + test -z "am__include" && continue
2846 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
2847 # When using ansi2knr, U may be empty or an underscore; expand it
2848 - U=`sed -n -e '/^U = / s///p' < "$mf"`
2849 - test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
2850 - # We invoke sed twice because it is the simplest approach to
2851 - # changing $(DEPDIR) to its actual value in the expansion.
2852 - for file in `sed -n -e '
2853 - /^DEP_FILES = .*\\\\$/ {
2862 - /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
2863 + U=`sed -n 's/^U = //p' < "$mf"`
2864 + # Find all dependency output files, they are included files with
2865 + # $(DEPDIR) in their names. We invoke sed twice because it is the
2866 + # simplest approach to changing $(DEPDIR) to its actual value in the
2868 + for file in `sed -n "
2869 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
2870 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
2871 # Make sure the directory exists.
2872 test -f "$dirpart/$file" && continue
2874 ===================================================================
2875 --- ../../mingw-utils-0.3/Makefile.in 2003-11-25 08:31:11.000000000 -0800
2876 +++ Makefile.in 2006-06-22 02:35:55.000000000 -0700
2878 -# Makefile.in generated by automake 1.7.9 from Makefile.am.
2879 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
2882 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
2883 -# Free Software Foundation, Inc.
2884 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2885 +# 2003, 2004, 2005 Free Software Foundation, Inc.
2886 # This Makefile.in is free software; the Free Software Foundation
2887 # gives unlimited permission to copy and/or distribute it,
2888 # with or without modifications, as long as this notice is preserved.
2890 # PARTICULAR PURPOSE.
2895 top_srcdir = @top_srcdir@
2898 pkglibdir = $(libdir)/@PACKAGE@
2899 pkgincludedir = $(includedir)/@PACKAGE@
2902 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
2904 install_sh_DATA = $(install_sh) -c -m 644
2906 NORMAL_UNINSTALL = :
2910 +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
2911 + $(srcdir)/Makefile.in $(srcdir)/config.h.in \
2912 + $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
2913 + compile depcomp install-sh missing
2914 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
2915 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac
2916 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
2918 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
2919 + configure.lineno configure.status.lineno
2920 +mkinstalldirs = $(install_sh) -d
2921 +CONFIG_HEADER = config.h
2922 +CONFIG_CLEAN_FILES =
2925 +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
2926 + html-recursive info-recursive install-data-recursive \
2927 + install-exec-recursive install-info-recursive \
2928 + install-recursive installcheck-recursive installdirs-recursive \
2929 + pdf-recursive ps-recursive uninstall-info-recursive \
2930 + uninstall-recursive
2933 +DIST_SUBDIRS = dos2unix drmingw pexports redir reimp res2coff scripts \
2935 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
2936 +distdir = $(PACKAGE)-$(VERSION)
2937 +top_distdir = $(distdir)
2938 +am__remove_distdir = \
2939 + { test ! -d $(distdir) \
2940 + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
2941 + && rm -fr $(distdir); }; }
2942 +DIST_ARCHIVES = $(distdir).tar.gz
2944 +distuninstallcheck_listfiles = find . -type f -print
2945 +distcleancheck_listfiles = find . -type f -print
2947 AMDEP_FALSE = @AMDEP_FALSE@
2948 AMDEP_TRUE = @AMDEP_TRUE@
2950 AUTOHEADER = @AUTOHEADER@
2951 AUTOMAKE = @AUTOMAKE@
2953 +BUILD_DRMINGW_FALSE = @BUILD_DRMINGW_FALSE@
2954 +BUILD_DRMINGW_TRUE = @BUILD_DRMINGW_TRUE@
2955 +BUILD_REDIR_FALSE = @BUILD_REDIR_FALSE@
2956 +BUILD_REDIR_TRUE = @BUILD_REDIR_TRUE@
2957 +BUILD_RES2COFF_FALSE = @BUILD_RES2COFF_FALSE@
2958 +BUILD_RES2COFF_TRUE = @BUILD_RES2COFF_TRUE@
2960 CCDEPMODE = @CCDEPMODE@
2963 am__include = @am__include@
2964 am__leading_dot = @am__leading_dot@
2965 am__quote = @am__quote@
2966 +am__tar = @am__tar@
2967 +am__untar = @am__untar@
2969 build_alias = @build_alias@
2972 libexecdir = @libexecdir@
2973 localstatedir = @localstatedir@
2975 +mkdir_p = @mkdir_p@
2976 oldincludedir = @oldincludedir@
2978 program_transform_name = @program_transform_name@
2979 @@ -120,45 +164,48 @@
2980 sharedstatedir = @sharedstatedir@
2981 sysconfdir = @sysconfdir@
2982 target_alias = @target_alias@
2983 -SUBDIRS = dos2unix drmingw pexports redir reimp res2coff scripts unix2dos
2985 +@BUILD_DRMINGW_TRUE@DRMINGW = drmingw
2986 +@BUILD_REDIR_TRUE@REDIR = redir
2987 +@BUILD_RES2COFF_TRUE@RES2COFF = res2coff
2988 +SUBDIRS = dos2unix $(DRMINGW) pexports ${REDIR} reimp ${RES2COFF} scripts unix2dos
2989 +EXTRA_DIST = dos2unix/dos2unix.1 unix2dos/unix2dos.1
2990 instdir = /tmp/$(PACKAGE)-$(VERSION)
2992 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
2993 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
2994 -CONFIG_HEADER = config.h
2995 -CONFIG_CLEAN_FILES =
2998 -RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
2999 - ps-recursive install-info-recursive uninstall-info-recursive \
3000 - all-recursive install-data-recursive install-exec-recursive \
3001 - installdirs-recursive install-recursive uninstall-recursive \
3002 - check-recursive installcheck-recursive
3003 -DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
3004 - COPYING ChangeLog INSTALL Makefile.am NEWS aclocal.m4 compile \
3005 - config.h.in configure configure.ac depcomp install-sh missing \
3007 -DIST_SUBDIRS = $(SUBDIRS)
3009 $(MAKE) $(AM_MAKEFLAGS) all-recursive
3013 -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
3015 -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
3018 +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
3019 + @for dep in $?; do \
3020 + case '$(am__configure_deps)' in \
3022 + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
3023 + cd $(srcdir) && $(AUTOMAKE) --gnu \
3028 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
3029 cd $(top_srcdir) && \
3030 $(AUTOMAKE) --gnu Makefile
3031 -Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
3032 - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
3033 +.PRECIOUS: Makefile
3034 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
3036 + *config.status*) \
3037 + echo ' $(SHELL) ./config.status'; \
3038 + $(SHELL) ./config.status;; \
3040 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
3041 + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
3044 -$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
3045 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
3046 $(SHELL) ./config.status --recheck
3047 -$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
3048 - cd $(srcdir) && $(AUTOCONF)
3050 -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.ac
3051 +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
3052 + cd $(srcdir) && $(AUTOCONF)
3053 +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
3054 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
3057 @@ -170,10 +217,10 @@
3058 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
3060 cd $(top_builddir) && $(SHELL) ./config.status config.h
3062 -$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.ac $(ACLOCAL_M4)
3063 +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
3064 cd $(top_srcdir) && $(AUTOHEADER)
3065 - touch $(srcdir)/config.h.in
3070 -rm -f config.h stamp-h1
3071 @@ -186,7 +233,13 @@
3072 # (which will cause the Makefiles to be regenerated when you run `make');
3073 # (2) otherwise, pass the desired values on the `make' command line.
3074 $(RECURSIVE_TARGETS):
3075 - @set fnord $$MAKEFLAGS; amf=$$2; \
3076 + @failcom='exit 1'; \
3077 + for f in x $$MAKEFLAGS; do \
3079 + *=* | --[!k]*);; \
3080 + *k*) failcom='fail=yes';; \
3084 target=`echo $@ | sed s/-recursive//`; \
3085 list='$(SUBDIRS)'; for subdir in $$list; do \
3087 local_target="$$target"; \
3089 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
3090 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
3091 + || eval $$failcom; \
3093 if test "$$dot_seen" = "no"; then \
3094 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
3095 @@ -206,7 +259,13 @@
3097 mostlyclean-recursive clean-recursive distclean-recursive \
3098 maintainer-clean-recursive:
3099 - @set fnord $$MAKEFLAGS; amf=$$2; \
3100 + @failcom='exit 1'; \
3101 + for f in x $$MAKEFLAGS; do \
3103 + *=* | --[!k]*);; \
3104 + *k*) failcom='fail=yes';; \
3109 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
3111 local_target="$$target"; \
3113 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
3114 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
3115 + || eval $$failcom; \
3116 done && test -z "$$fail"
3118 list='$(SUBDIRS)'; for subdir in $$list; do \
3119 @@ -238,14 +297,6 @@
3120 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
3131 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
3132 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
3133 unique=`for i in $$list; do \
3134 @@ -254,19 +305,22 @@
3135 $(AWK) ' { files[$$0] = 1; } \
3136 END { for (i in files) print i; }'`; \
3140 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
3141 $(TAGS_FILES) $(LISP)
3144 - if (etags --etags-include --version) >/dev/null 2>&1; then \
3145 + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
3146 include_option=--etags-include; \
3149 include_option=--include; \
3152 list='$(SUBDIRS)'; for subdir in $$list; do \
3153 if test "$$subdir" = .; then :; else \
3154 - test -f $$subdir/TAGS && \
3155 + test ! -f $$subdir/TAGS || \
3156 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
3159 @@ -276,10 +330,11 @@
3161 $(AWK) ' { files[$$0] = 1; } \
3162 END { for (i in files) print i; }'`; \
3163 - test -z "$(ETAGS_ARGS)$$tags$$unique" \
3164 - || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
3167 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
3168 + test -n "$$unique" || unique=$$empty_fix; \
3169 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
3170 + $$tags $$unique; \
3173 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
3174 $(TAGS_FILES) $(LISP)
3175 @@ -302,24 +357,11 @@
3178 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
3179 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
3182 -distdir = $(PACKAGE)-$(VERSION)
3184 -am__remove_distdir = \
3185 - { test ! -d $(distdir) \
3186 - || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
3187 - && rm -fr $(distdir); }; }
3190 -distuninstallcheck_listfiles = find . -type f -print
3191 -distcleancheck_listfiles = find . -type f -print
3193 distdir: $(DISTFILES)
3194 $(am__remove_distdir)
3196 - $(mkinstalldirs) $(distdir)/scripts
3197 + $(mkdir_p) $(distdir)/dos2unix $(distdir)/scripts $(distdir)/unix2dos
3198 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
3199 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
3200 list='$(DISTFILES)'; for file in $$list; do \
3202 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
3203 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
3205 - $(mkinstalldirs) "$(distdir)$$dir"; \
3206 + $(mkdir_p) "$(distdir)$$dir"; \
3210 @@ -346,15 +388,17 @@
3214 - list='$(SUBDIRS)'; for subdir in $$list; do \
3215 + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
3216 if test "$$subdir" = .; then :; else \
3217 - test -d $(distdir)/$$subdir \
3218 - || mkdir $(distdir)/$$subdir \
3219 + test -d "$(distdir)/$$subdir" \
3220 + || $(mkdir_p) "$(distdir)/$$subdir" \
3222 + distdir=`$(am__cd) $(distdir) && pwd`; \
3223 + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
3225 $(MAKE) $(AM_MAKEFLAGS) \
3226 - top_distdir="$(top_distdir)" \
3227 - distdir=../$(distdir)/$$subdir \
3228 + top_distdir="$$top_distdir" \
3229 + distdir="$$distdir/$$subdir" \
3233 @@ -365,19 +409,46 @@
3234 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
3235 || chmod -R a+r $(distdir)
3237 - $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
3238 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
3239 + $(am__remove_distdir)
3241 +dist-bzip2: distdir
3242 + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
3243 + $(am__remove_distdir)
3246 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
3247 + $(am__remove_distdir)
3250 + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
3251 + $(am__remove_distdir)
3254 + -rm -f $(distdir).zip
3255 + zip -rq $(distdir).zip $(distdir)
3256 $(am__remove_distdir)
3258 dist dist-all: distdir
3259 - $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
3260 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
3261 $(am__remove_distdir)
3263 # This target untars the dist file and tries a VPATH configuration. Then
3264 # it guarantees that the distribution is self-contained by making another
3267 - $(am__remove_distdir)
3268 - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
3269 + case '$(DIST_ARCHIVES)' in \
3271 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
3273 + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
3275 + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
3277 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
3279 + unzip $(distdir).zip ;;\
3281 chmod -R a-w $(distdir); chmod a+w $(distdir)
3282 mkdir $(distdir)/_build
3283 mkdir $(distdir)/_inst
3284 @@ -397,19 +468,20 @@
3285 distuninstallcheck \
3286 && chmod -R a-w "$$dc_install_base" \
3288 - (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
3289 + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
3290 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
3291 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
3292 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
3293 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
3294 } || { rm -rf "$$dc_destdir"; exit 1; }) \
3295 && rm -rf "$$dc_destdir" \
3296 - && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
3297 - && rm -f $(distdir).tar.gz \
3298 + && $(MAKE) $(AM_MAKEFLAGS) dist \
3299 + && rm -rf $(DIST_ARCHIVES) \
3300 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
3301 $(am__remove_distdir)
3302 - @echo "$(distdir).tar.gz is ready for distribution" | \
3303 - sed 'h;s/./=/g;p;x;p;x'
3304 + @(echo "$(distdir) archives ready for distribution: "; \
3305 + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
3306 + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
3308 @cd $(distuninstallcheck_dir) \
3309 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
3311 all-am: Makefile config.h
3312 installdirs: installdirs-recursive
3315 install: install-recursive
3316 install-exec: install-exec-recursive
3317 install-data: install-data-recursive
3322 - -rm -f $(CONFIG_CLEAN_FILES)
3323 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
3325 maintainer-clean-generic:
3326 @echo "This command is intended for maintainers to use"
3331 +html: html-recursive
3333 info: info-recursive
3336 @@ -507,22 +580,20 @@
3338 uninstall-info: uninstall-info-recursive
3340 -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
3341 - clean-generic clean-recursive ctags ctags-recursive dist \
3342 - dist-all dist-gzip distcheck distclean distclean-generic \
3343 - distclean-hdr distclean-recursive distclean-tags distcleancheck \
3344 - distdir distuninstallcheck dvi dvi-am dvi-recursive info \
3345 - info-am info-recursive install install-am install-data \
3346 - install-data-am install-data-recursive install-exec \
3347 - install-exec-am install-exec-recursive install-info \
3348 - install-info-am install-info-recursive install-man \
3349 - install-recursive install-strip installcheck installcheck-am \
3350 - installdirs installdirs-am installdirs-recursive \
3351 - maintainer-clean maintainer-clean-generic \
3352 - maintainer-clean-recursive mostlyclean mostlyclean-generic \
3353 - mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \
3354 - ps-recursive tags tags-recursive uninstall uninstall-am \
3355 - uninstall-info-am uninstall-info-recursive uninstall-recursive
3356 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
3357 + check-am clean clean-generic clean-recursive ctags \
3358 + ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \
3359 + dist-tarZ dist-zip distcheck distclean distclean-generic \
3360 + distclean-hdr distclean-recursive distclean-tags \
3361 + distcleancheck distdir distuninstallcheck dvi dvi-am html \
3362 + html-am info info-am install install-am install-data \
3363 + install-data-am install-exec install-exec-am install-info \
3364 + install-info-am install-man install-strip installcheck \
3365 + installcheck-am installdirs installdirs-am maintainer-clean \
3366 + maintainer-clean-generic maintainer-clean-recursive \
3367 + mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
3368 + pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
3374 ===================================================================
3375 --- /dev/null 2006-05-26 19:54:25.455722750 -0700
3376 +++ dos2unix/dos2unix.1 2002-04-10 06:39:04.000000000 -0700
3379 +.TH dos2unix 1 "dos2unix v3.0" "1995.03.31"
3383 +dos2unix \- DOS/MAC to UNIX text file format converter
3387 +dos2unix [options] [-c convmode] [-o file ...] [-n infile outfile ...]
3391 +[-hkqV] [--help] [--keepdate] [--quiet] [--version]
3396 +This manual page documents dos2unix, the program that converts plain text
3397 +files in DOS/MAC format to UNIX format.
3401 +The following options are available:
3408 +Keep the date stamp of output file same as input file.
3412 +Quiet mode. Suppress all warning and messages.
3416 +Prints version information.
3419 +.B \-c --convmode convmode
3420 +Sets conversion mode. Simulates dos2unix under SunOS.
3423 +.B \-o --oldfile file ...
3424 +Old file mode. Convert the file and write output to it. The program
3425 +default to run in this mode. Wildcard names may be used.
3428 +.B \-n --newfile infile outfile ...
3429 +New file mode. Convert the infile and write output to outfile. File names
3430 +must be given in pairs and wildcard names should NOT be used or you WILL
3436 +Get input from stdin and write output to stdout.
3441 +Convert and replace a.txt. Convert and replace b.txt.
3443 +.B dos2unix a.txt b.txt
3445 +.B dos2unix -o a.txt b.txt
3448 +Convert and replace a.txt in ASCII conversion mode.
3449 +Convert and replace b.txt in ISO conversion mode.
3450 +Convert c.txt from Mac to Unix ascii format.
3452 +.B dos2unix a.txt -c iso b.txt
3454 +.B dos2unix -c ascii a.txt -c iso b.txt
3456 +.B dos2unix -c mac a.txt b.txt
3459 +Convert and replace a.txt while keeping original date stamp.
3461 +.B dos2unix -k a.txt
3463 +.B dos2unix -k -o a.txt
3466 +Convert a.txt and write to e.txt.
3468 +.B dos2unix -n a.txt e.txt
3471 +Convert a.txt and write to e.txt, keep date stamp of e.txt same as a.txt.
3473 +.B dos2unix -k -n a.txt e.txt
3476 +Convert and replace a.txt. Convert b.txt and write to e.txt.
3478 +.B dos2unix a.txt -n b.txt e.txt
3480 +.B dos2unix -o a.txt -n b.txt e.txt
3483 +Convert c.txt and write to e.txt. Convert and replace a.txt.
3484 +Convert and replace b.txt. Convert d.txt and write to f.txt.
3486 +.B dos2unix -n c.txt e.txt -o a.txt b.txt -n d.txt f.txt
3492 +The program does not work properly under MSDOS in stdio processing mode.
3493 +If you know why is that so, please tell me.
3498 +.B <blin@socs.uts.edu.au>
3501 +Bernd Johannes Wuebben (mac2unix mode)
3502 +.B <wuebben@kde.org>
3507 +Tested environment:
3509 +Linux 1.2.0 with GNU C 2.5.8
3511 +SunOS 4.1.3 with GNU C 2.6.3
3513 +MS-DOS 6.20 with Borland C++ 4.02
3515 +Suggestions and bug reports are welcome.
3518 +unix2dos(1) mac2unix(1)
3521 ===================================================================
3522 --- /dev/null 2006-05-26 19:54:25.455722750 -0700
3523 +++ unix2dos/unix2dos.1 2002-04-10 06:39:07.000000000 -0700
3526 +.TH unix2dos 1 "unix2dos v2.2" "1995.03.31"
3530 +unix2dos \- UNIX to DOS text file format converter
3534 +unix2dos [options] [-c convmode] [-o file ...] [-n infile outfile ...]
3538 +[-hkqV] [--help] [--keepdate] [--quiet] [--version]
3543 +This manual page documents dos2unix, the program that converts text
3544 +files in UNIX format to DOS format.
3548 +The following options are available:
3555 +Keep the date stamp of output file same as input file.
3559 +Quiet mode. Suppress all warning and messages.
3563 +Prints version information.
3566 +.B \-c --convmode convmode
3567 +Sets conversion mode. Simulates dos2unix under SunOS.
3570 +.B \-o --oldfile file ...
3571 +Old file mode. Convert the file and write output to it. The program
3572 +default to run in this mode. Wildcard names may be used.
3575 +.B \-n --newfile infile outfile ...
3576 +New file mode. Convert the infile and write output to outfile. File names
3577 +must be given in pairs and wildcard names should NOT be used or you WILL
3583 +Get input from stdin and write output to stdout.
3588 +Convert and replace a.txt. Convert and replace b.txt.
3590 +.B unix2dos a.txt b.txt
3592 +.B unix2dos -o a.txt b.txt
3595 +Convert and replace a.txt in ASCII conversion mode.
3596 +Convert and replace b.txt in ISO conversion mode.
3598 +.B dos2unix a.txt -c iso b.txt
3600 +.B dos2unix -c ascii a.txt -c iso b.txt
3603 +Convert and replace a.txt while keeping original date stamp.
3605 +.B unix2dos -k a.txt
3607 +.B unix2dos -k -o a.txt
3610 +Convert a.txt and write to e.txt.
3612 +.B unix2dos -n a.txt e.txt
3615 +Convert a.txt and write to e.txt, keep date stamp of e.txt same as a.txt.
3617 +.B unix2dos -k -n a.txt e.txt
3620 +Convert and replace a.txt. Convert b.txt and write to e.txt.
3622 +.B unix2dos a.txt -n b.txt e.txt
3624 +.B unix2dos -o a.txt -n b.txt e.txt
3627 +Convert c.txt and write to e.txt. Convert and replace a.txt.
3628 +Convert and replace b.txt. Convert d.txt and write to f.txt.
3630 +.B unix2dos -n c.txt e.txt -o a.txt b.txt -n d.txt f.txt
3636 +The program does not work properly under MSDOS in stdio processing mode.
3637 +If you know why is that so, please tell me.
3642 +.B blin@socs.uts.edu.au
3647 +Tested environment:
3649 +Linux 1.2.0 with GNU C 2.5.8
3651 +SunOS 4.1.3 with GNU C 2.6.3
3653 +MS-DOS 6.20 with Borland C++ 4.02
3655 +Suggestions and bug reports are welcome.