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/autogen.sh,v
31 retrieving revision 1.3
32 diff -u -r1.3 autogen.sh
33 --- autogen.sh 6 Oct 2002 09:55:42 -0000 1.3
34 +++ autogen.sh 24 Jun 2006 00:31:11 -0000
38 -export WANT_AUTOMAKE_1_6=1
39 +export WANT_AUTOMAKE_1_7=1
44 ===================================================================
45 RCS file: /cvsroot/mingw/utils/configure.ac,v
46 retrieving revision 1.6
47 diff -u -r1.6 configure.ac
48 --- configure.ac 25 Nov 2003 16:53:22 -0000 1.6
49 +++ configure.ac 24 Jun 2006 00:31:11 -0000
51 AM_CONFIG_HEADER(config.h)
54 +AC_ARG_ENABLE(drmingw,
55 + AS_HELP_STRING([--disable-drmingw],[Don't build drmingw (default is build)]),
56 + [case "${enableval}" in
57 + yes) build_drmingw=true ;;
58 + no) build_drmingw=false ;;
59 + *) AC_MSG_ERROR([--enable-drmingw argument must be yes or no, not "${enableval}"]) ;;
61 + [build_drmingw=true])
64 + AS_HELP_STRING([--disable-redir],[Don't build redir (default is build)]),
65 + [case "${enableval}" in
66 + yes) build_redir=true ;;
67 + no) build_redir=false ;;
68 + *) AC_MSG_ERROR([--enable-redir argument must be yes or no, not "${enableval}"]) ;;
72 +AC_ARG_ENABLE(res2coff,
73 + AS_HELP_STRING([--disable-res2coff],[Don't build res2coff (default is build)]),
74 + [case "${enableval}" in
75 + yes) build_res2coff=true ;;
76 + no) build_res2coff=false ;;
77 + *) AC_MSG_ERROR([--enable-res2coff argument must be yes or no, not "${enableval}"]) ;;
79 + [build_res2coff=true])
81 +AC_ARG_ENABLE(nonportable,
82 + AS_HELP_STRING([--disable-nonportable],[shortcut for --disable-drmingw, --disable-redir and --disable-res2coff]),
83 + [case "${enableval}" in
84 + yes) build_drmingw=true
88 + no) build_res2coff=false
90 + build_res2coff=false
92 + *) AC_MSG_ERROR([--enable-nonportable argument must be yes or no, not "${enableval}"]) ;;
94 + [build_res2coff=true])
96 +AM_CONDITIONAL(BUILD_DRMINGW, [test "${build_drmingw}" = "true"])
97 +AM_CONDITIONAL(BUILD_REDIR, [test "${build_redir}" = "true"])
98 +AM_CONDITIONAL(BUILD_RES2COFF, [test "${build_res2coff}" = "true"])
100 # Checks for programs.
106 AC_ARG_VAR(WINDRES, [Windows Resource compiler tool path])
107 -AC_PATH_TOOL(WINDRES,windres,
108 - [AC_MSG_WARN(Could not find a windres tool in your PATH. Will not be able to compile drmingw.)]
110 +AC_PATH_TOOL(WINDRES,windres)
112 +if test -z "${WINDRES}"; then
113 + AC_MSG_WARN([windres tool isn't in your PATH, drmingw can't be built!!])
114 + AM_CONDITIONAL(BUILD_DRMINGW, false)
119 # Checks for header files.
122 +AC_CHECK_HEADERS([windows.h])
124 where_toGet_utime_h='not found!'
125 # this part is scrambled by autoconf. phooey. so we just cannot tell the user what we are doing.
126 # AC_MSG_CHECKING([for whether utime.h is found as "utime.h" or "sys/utime.h"])
128 AC_CHECK_FUNCS(mkstemp mktemp, break)
129 AC_CHECK_FUNCS(utime)
131 +AC_CHECK_SIZEOF(_int64)
132 +AC_CHECK_SIZEOF(long long)
133 +AC_CHECK_SIZEOF(long)
134 +AC_CHECK_SIZEOF(void *)
139 Index: pexports/pexports.c
140 ===================================================================
141 RCS file: /cvsroot/mingw/utils/pexports/pexports.c,v
142 retrieving revision 1.2
143 diff -u -r1.2 pexports.c
144 --- pexports/pexports.c 8 Nov 2002 02:56:18 -0000 1.2
145 +++ pexports/pexports.c 24 Jun 2006 00:31:11 -0000
149 /* get pointer to section header n */
150 -#define IMAGE_SECTION_HDR(n) ((PIMAGE_SECTION_HEADER) ((DWORD) nt_hdr + \
151 +#define IMAGE_SECTION_HDR(n) ((PIMAGE_SECTION_HEADER) ((ULONG_PTR) nt_hdr + \
152 4 + sizeof(IMAGE_FILE_HEADER) + \
153 nt_hdr->FileHeader.SizeOfOptionalHeader + \
154 n * sizeof(IMAGE_SECTION_HEADER)))
159 - nt_hdr = (PIMAGE_NT_HEADERS) ((DWORD) dos_hdr + dos_hdr->e_lfanew);
160 + nt_hdr = (PIMAGE_NT_HEADERS) ((ULONG_PTR) dos_hdr + dos_hdr->e_lfanew);
162 exp_rva = nt_hdr->OptionalHeader.DataDirectory[0].VirtualAddress;
165 PIMAGE_EXPORT_DIRECTORY exports;
170 DWORD *function_table;
172 static int first = 1;
174 /* set up various pointers */
175 export_name = RVA_TO_PTR(exports->Name,char*);
176 ordinal_table = RVA_TO_PTR(exports->AddressOfNameOrdinals,PWORD);
177 - name_table = RVA_TO_PTR(exports->AddressOfNames,char**);
178 + name_table = RVA_TO_PTR(exports->AddressOfNames,DWORD*);
179 function_table = RVA_TO_PTR(exports->AddressOfFunctions,void*);
182 @@ -297,14 +297,14 @@
185 /* convert rva to pointer into loaded file */
188 rva_to_ptr(DWORD rva)
190 PIMAGE_SECTION_HEADER section = find_section(rva);
191 if (section->PointerToRawData == 0)
194 - return ((DWORD) dos_hdr + (DWORD) rva - (section->VirtualAddress - section->PointerToRawData));
195 + return ((ULONG_PTR) dos_hdr + (DWORD) rva - (section->VirtualAddress - section->PointerToRawData));
198 /* Load a portable executable into memory */
199 Index: pexports/pexports.h
200 ===================================================================
201 RCS file: /cvsroot/mingw/utils/pexports/pexports.h,v
202 retrieving revision 1.2
203 diff -u -r1.2 pexports.h
204 --- pexports/pexports.h 26 May 2002 10:13:58 -0000 1.2
205 +++ pexports/pexports.h 24 Jun 2006 00:31:11 -0000
209 /* These are needed */
210 -typedef unsigned short WORD;
211 -typedef unsigned int DWORD;
212 -typedef unsigned char BYTE;
214 -typedef WORD *PWORD;
215 -typedef DWORD *PDWORD;
216 +typedef unsigned short WORD, *PWORD;
217 +typedef unsigned char BYTE, *PBYTE;
219 +#if SIZEOF_LONG == 4
220 +typedef unsigned long DWORD, *PDWORD;
221 +typedef long LONG, *PLONG;
223 +typedef unsigned int DWORD, *PDWORD;
224 +typedef int LONG, *PLONG;
227 +#if SIZEOF_LONG == SIZEOF_VOID_P
228 +typedef unsigned long ULONG_PTR;
229 +#elif SIZEOF_LONG_LONG == SIZEOF_VOID_P
230 +typedef unsigned long long ULONG_PTR;
231 +#elif SIZEOF__INT64 == SIZEOF_VOID_P
232 +typedef unsigned _int64 ULONG_PTR;
234 +typedef unsigned int ULONG_PTR;
238 typedef struct _IMAGE_DATA_DIRECTORY {
241 DWORD NumberOfFunctions;
243 - PDWORD *AddressOfFunctions;
244 - PDWORD *AddressOfNames;
245 - PWORD *AddressOfNameOrdinals;
246 + DWORD AddressOfFunctions;
247 + DWORD AddressOfNames;
248 + DWORD AddressOfNameOrdinals;
249 } IMAGE_EXPORT_DIRECTORY, *PIMAGE_EXPORT_DIRECTORY;
251 typedef struct _IMAGE_DOS_HEADER {
254 load_pe_image(const char *filename);
258 rva_to_ptr(DWORD rva);
262 ===================================================================
263 RCS file: /cvsroot/mingw/utils/reimp/ar.c,v
264 retrieving revision 1.1
265 diff -u -u -r1.1 ar.c
266 --- reimp/ar.c 10 Apr 2002 13:39:07 -0000 1.1
267 +++ reimp/ar.c 29 Jun 2006 22:51:57 -0000
269 if (fread (long_names, size, 1, f) != 1)
270 error (0, "unexpected end-of-file\n");
277 ===================================================================
278 RCS file: /cvsroot/mingw/utils/reimp/reimp.h,v
279 retrieving revision 1.1
280 diff -u -u -r1.1 reimp.h
281 --- reimp/reimp.h 10 Apr 2002 13:39:07 -0000 1.1
282 +++ reimp/reimp.h 29 Jun 2006 22:51:57 -0000
285 /* we need integers of specific sizes */
287 -#define uint32 unsigned long
288 +#define uint32 unsigned int
292 Index: scripts/a2dll.in
293 ===================================================================
294 RCS file: /cvsroot/mingw/utils/scripts/a2dll.in,v
295 retrieving revision 1.2
296 diff -u -r1.2 a2dll.in
297 --- scripts/a2dll.in 26 May 2002 10:13:58 -0000 1.2
298 +++ scripts/a2dll.in 24 Jun 2006 00:31:11 -0000
303 +# Figure out where the script is located and then use that path as the location
315 /usr/bin/mkdir -p .dll
318 + ${SCRIPTDIR}/ar x ../$in
323 echo Creating shared library \'$out\'
325 -dllwrap --export-all -o ../$out `ls` $libs >../ld.err 2>&1
326 +${SCRIPTDIR}/dllwrap --export-all -o ../$out `ls` $libs >../ld.err 2>&1
329 if [ `wc ld.err|awk ' {print $1}' ` -gt 2 ]
331 # 2. I just saw that dlltool lies about assembly-sourced files, it
332 # lists their symbols as data
334 - pexports $out >$base.def
335 + ${SCRIPTDIR}/pexports $out >$base.def
337 # create import library
340 - dlltool --dllname $out --def $base.def --output-lib $in
341 + ${SCRIPTDIR}/dlltool --dllname $out --def $base.def --output-lib $in
343 # finally, we check whether dll exports data symbols
344 # if yes, we suggest user on steps to perform
346 - pexports $out | awk '/DATA/ { print $1}' >$out.data
347 + ${SCRIPTDIR}/pexports $out | awk '/DATA/ { print $1}' >$out.data
352 ===================================================================
353 --- ../../mingw-utils-0.3/configure 2003-11-25 08:31:12.000000000 -0800
354 +++ configure 2006-06-22 02:33:39.000000000 -0700
357 # Guess values for system-dependent variables and create Makefiles.
358 -# Generated by GNU Autoconf 2.58 for mingw-utils 0.3.
359 +# Generated by GNU Autoconf 2.59 for mingw-utils 0.3.
361 # Copyright (C) 2003 Free Software Foundation, Inc.
362 # This configure script is free software; the Free Software Foundation
367 -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'
368 +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'
371 # Initialize some variables set by options.
372 @@ -859,10 +859,15 @@
374 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
375 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
376 - --enable-maintainer-mode enable make rules and dependencies not useful
377 - (and sometimes confusing) to the casual installer
378 - --disable-dependency-tracking Speeds up one-time builds
379 - --enable-dependency-tracking Do not reject slow dependency extractors
380 + --enable-maintainer-mode enable make rules and dependencies not useful
381 + (and sometimes confusing) to the casual installer
382 + --disable-drmingw Don't build drmingw (default is build)
383 + --disable-redir Don't build redir (default is build)
384 + --disable-res2coff Don't build res2coff (default is build)
385 + --disable-nonportable shortcut for --disable-drmingw, --disable-redir and
387 + --disable-dependency-tracking speeds up one-time build
388 + --enable-dependency-tracking do not reject slow dependency extractors
390 Some influential environment variables:
391 CC C compiler command
394 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
402 if $ac_init_version; then
404 mingw-utils configure 0.3
405 -generated by GNU Autoconf 2.58
406 +generated by GNU Autoconf 2.59
408 Copyright (C) 2003 Free Software Foundation, Inc.
409 This configure script is free software; the Free Software Foundation
411 running configure, to aid debugging if configure makes a mistake.
413 It was created by mingw-utils $as_me 0.3, which was
414 -generated by GNU Autoconf 2.58. Invocation command line was
415 +generated by GNU Autoconf 2.59. Invocation command line was
419 @@ -1325,7 +1330,7 @@
423 -am__api_version="1.7"
424 +am__api_version="1.9"
426 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
427 if test -f $ac_dir/install-sh; then
428 @@ -1488,7 +1493,6 @@
429 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
433 # expand $ac_aux_dir to an absolute path
434 am_aux_dir=`cd $ac_aux_dir && pwd`
436 @@ -1502,6 +1506,39 @@
437 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
440 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
441 + # We used to keeping the `.' as first argument, in order to
442 + # allow $(mkdir_p) to be used without argument. As in
443 + # $(mkdir_p) $(somedir)
444 + # where $(somedir) is conditionally defined. However this is wrong
446 + # 1. if the package is installed by a user who cannot write `.'
447 + # make install will fail,
448 + # 2. the above comment should most certainly read
449 + # $(mkdir_p) $(DESTDIR)$(somedir)
450 + # so it does not work when $(somedir) is undefined and
451 + # $(DESTDIR) is not.
452 + # To support the latter case, we have to write
453 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
454 + # so the `.' trick is pointless.
455 + mkdir_p='mkdir -p --'
457 + # On NextStep and OpenStep, the `mkdir' command does not
458 + # recognize any option. It will interpret all options as
459 + # directories to create, and then abort because `.' already
461 + for d in ./-p ./--version;
463 + test -d $d && rmdir $d
465 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
466 + if test -f "$ac_aux_dir/mkinstalldirs"; then
467 + mkdir_p='$(mkinstalldirs)'
469 + mkdir_p='$(install_sh) -d'
473 for ac_prog in gawk mawk nawk awk
475 # Extract the first word of "$ac_prog", so it can be a program name with args.
476 @@ -1580,7 +1617,7 @@
478 rmdir .tst 2>/dev/null
480 - # test to see if srcdir already configured
481 +# test to see if srcdir already configured
482 if test "`cd $srcdir && pwd`" != "`pwd`" &&
483 test -f $srcdir/config.status; then
484 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
485 @@ -1619,9 +1656,6 @@
487 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
490 -AMTAR=${AMTAR-"${am_missing_run}tar"}
492 install_sh=${install_sh-"$am_aux_dir/install-sh"}
494 # Installed binaries are usually stripped using `strip' when the user
495 @@ -1714,6 +1748,13 @@
497 # We need awk for the "check" target. The system "awk" is bad on
499 +# Always define AMTAR for backward compatibility.
501 +AMTAR=${AMTAR-"${am_missing_run}tar"}
503 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
509 @@ -1745,6 +1786,99 @@
513 +# Check whether --enable-drmingw or --disable-drmingw was given.
514 +if test "${enable_drmingw+set}" = set; then
515 + enableval="$enable_drmingw"
516 + case "${enableval}" in
517 + yes) build_drmingw=true ;;
518 + no) build_drmingw=false ;;
519 + *) { { echo "$as_me:$LINENO: error: --enable-drmingw argument must be yes or no, not \"${enableval}\"" >&5
520 +echo "$as_me: error: --enable-drmingw argument must be yes or no, not \"${enableval}\"" >&2;}
521 + { (exit 1); exit 1; }; } ;;
527 +# Check whether --enable-redir or --disable-redir was given.
528 +if test "${enable_redir+set}" = set; then
529 + enableval="$enable_redir"
530 + case "${enableval}" in
531 + yes) build_redir=true ;;
532 + no) build_redir=false ;;
533 + *) { { echo "$as_me:$LINENO: error: --enable-redir argument must be yes or no, not \"${enableval}\"" >&5
534 +echo "$as_me: error: --enable-redir argument must be yes or no, not \"${enableval}\"" >&2;}
535 + { (exit 1); exit 1; }; } ;;
541 +# Check whether --enable-res2coff or --disable-res2coff was given.
542 +if test "${enable_res2coff+set}" = set; then
543 + enableval="$enable_res2coff"
544 + case "${enableval}" in
545 + yes) build_res2coff=true ;;
546 + no) build_res2coff=false ;;
547 + *) { { echo "$as_me:$LINENO: error: --enable-res2coff argument must be yes or no, not \"${enableval}\"" >&5
548 +echo "$as_me: error: --enable-res2coff argument must be yes or no, not \"${enableval}\"" >&2;}
549 + { (exit 1); exit 1; }; } ;;
552 + build_res2coff=true
555 +# Check whether --enable-nonportable or --disable-nonportable was given.
556 +if test "${enable_nonportable+set}" = set; then
557 + enableval="$enable_nonportable"
558 + case "${enableval}" in
559 + yes) build_drmingw=true
561 + build_res2coff=true
563 + no) build_res2coff=false
565 + build_res2coff=false
567 + *) { { echo "$as_me:$LINENO: error: --enable-nonportable argument must be yes or no, not \"${enableval}\"" >&5
568 +echo "$as_me: error: --enable-nonportable argument must be yes or no, not \"${enableval}\"" >&2;}
569 + { (exit 1); exit 1; }; } ;;
572 + build_res2coff=true
577 +if test "${build_drmingw}" = "true"; then
578 + BUILD_DRMINGW_TRUE=
579 + BUILD_DRMINGW_FALSE='#'
581 + BUILD_DRMINGW_TRUE='#'
582 + BUILD_DRMINGW_FALSE=
587 +if test "${build_redir}" = "true"; then
589 + BUILD_REDIR_FALSE='#'
591 + BUILD_REDIR_TRUE='#'
597 +if test "${build_res2coff}" = "true"; then
598 + BUILD_RES2COFF_TRUE=
599 + BUILD_RES2COFF_FALSE='#'
601 + BUILD_RES2COFF_TRUE='#'
602 + BUILD_RES2COFF_FALSE=
606 # Checks for programs.
608 ac_cpp='$CPP $CPPFLAGS'
609 @@ -2314,7 +2448,8 @@
611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
612 (exit $ac_status); } &&
613 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
614 + { ac_try='test -z "$ac_c_werror_flag"
615 + || test ! -s conftest.err'
616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
619 @@ -2372,7 +2507,8 @@
621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
622 (exit $ac_status); } &&
623 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
624 + { ac_try='test -z "$ac_c_werror_flag"
625 + || test ! -s conftest.err'
626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
629 @@ -2488,7 +2624,8 @@
631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
632 (exit $ac_status); } &&
633 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
634 + { ac_try='test -z "$ac_c_werror_flag"
635 + || test ! -s conftest.err'
636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
639 @@ -2542,7 +2679,8 @@
641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
642 (exit $ac_status); } &&
643 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
644 + { ac_try='test -z "$ac_c_werror_flag"
645 + || test ! -s conftest.err'
646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
649 @@ -2587,7 +2725,8 @@
651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
652 (exit $ac_status); } &&
653 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
654 + { ac_try='test -z "$ac_c_werror_flag"
655 + || test ! -s conftest.err'
656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
659 @@ -2631,7 +2770,8 @@
661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
662 (exit $ac_status); } &&
663 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
664 + { ac_try='test -z "$ac_c_werror_flag"
665 + || test ! -s conftest.err'
666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
669 @@ -2776,7 +2916,9 @@
671 for i in 1 2 3 4 5 6; do
672 echo '#include "conftst'$i'.h"' >> sub/conftest.c
673 - : > sub/conftst$i.h
674 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
675 + # Solaris 8's {/usr,}/bin/sh.
676 + touch sub/conftst$i.h
678 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
680 @@ -2804,9 +2946,14 @@
681 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
682 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
683 # icc doesn't choke on unknown options, it will just issue warnings
684 - # (even with -Werror). So we grep stderr for any message
685 - # that says an option was ignored.
686 - if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
687 + # or remarks (even with -Werror). So we grep stderr for any message
688 + # that says an option was ignored or not supported.
689 + # When given -MP, icc 7.0 and 7.1 complain thusly:
690 + # icc: Command line warning: ignoring option '-M'; no argument required
691 + # The diagnosis changed in icc 8.0:
692 + # icc: Command line remark: option '-MP' not supported
693 + if (grep 'ignoring option' conftest.err ||
694 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
695 am_cv_CC_dependencies_compiler_type=$depmode
698 @@ -2982,7 +3129,8 @@
700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
701 (exit $ac_status); } &&
702 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
703 + { ac_try='test -z "$ac_cxx_werror_flag"
704 + || test ! -s conftest.err'
705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
708 @@ -3040,7 +3188,8 @@
710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
711 (exit $ac_status); } &&
712 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
713 + { ac_try='test -z "$ac_cxx_werror_flag"
714 + || test ! -s conftest.err'
715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
718 @@ -3111,7 +3260,8 @@
720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
721 (exit $ac_status); } &&
722 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
723 + { ac_try='test -z "$ac_cxx_werror_flag"
724 + || test ! -s conftest.err'
725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
728 @@ -3155,7 +3305,8 @@
730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
731 (exit $ac_status); } &&
732 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
733 + { ac_try='test -z "$ac_cxx_werror_flag"
734 + || test ! -s conftest.err'
735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
738 @@ -3229,7 +3380,9 @@
740 for i in 1 2 3 4 5 6; do
741 echo '#include "conftst'$i'.h"' >> sub/conftest.c
742 - : > sub/conftst$i.h
743 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
744 + # Solaris 8's {/usr,}/bin/sh.
745 + touch sub/conftst$i.h
747 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
749 @@ -3257,9 +3410,14 @@
750 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
751 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
752 # icc doesn't choke on unknown options, it will just issue warnings
753 - # (even with -Werror). So we grep stderr for any message
754 - # that says an option was ignored.
755 - if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
756 + # or remarks (even with -Werror). So we grep stderr for any message
757 + # that says an option was ignored or not supported.
758 + # When given -MP, icc 7.0 and 7.1 complain thusly:
759 + # icc: Command line warning: ignoring option '-M'; no argument required
760 + # The diagnosis changed in icc 8.0:
761 + # icc: Command line remark: option '-MP' not supported
762 + if (grep 'ignoring option' conftest.err ||
763 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
764 am_cv_CXX_dependencies_compiler_type=$depmode
767 @@ -3601,7 +3759,8 @@
769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
770 (exit $ac_status); } &&
771 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
772 + { ac_try='test -z "$ac_c_werror_flag"
773 + || test ! -s conftest.err'
774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
777 @@ -3667,7 +3826,8 @@
779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
780 (exit $ac_status); } &&
781 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
782 + { ac_try='test -z "$ac_c_werror_flag"
783 + || test ! -s conftest.err'
784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
787 @@ -3756,7 +3916,8 @@
789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
790 (exit $ac_status); } &&
791 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
792 + { ac_try='test -z "$ac_c_werror_flag"
793 + || test ! -s conftest.err'
794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
797 @@ -3903,9 +4064,6 @@
801 - 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
802 -echo "$as_me: WARNING: Could not find a windres tool in your PATH. Will not be able to compile drmingw." >&2;}
807 @@ -3925,6 +4083,22 @@
811 +if test -z "${WINDRES}"; then
812 + { echo "$as_me:$LINENO: WARNING: windres tool isn't in your PATH, drmingw can't be built!!" >&5
813 +echo "$as_me: WARNING: windres tool isn't in your PATH, drmingw can't be built!!" >&2;}
817 + BUILD_DRMINGW_TRUE=
818 + BUILD_DRMINGW_FALSE='#'
820 + BUILD_DRMINGW_TRUE='#'
821 + BUILD_DRMINGW_FALSE=
828 # Checks for header files.
830 @@ -4210,7 +4384,8 @@
832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
833 (exit $ac_status); } &&
834 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
835 + { ac_try='test -z "$ac_c_werror_flag"
836 + || test ! -s conftest.err'
837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
840 @@ -4342,9 +4517,7 @@
844 -where_toGet_utime_h='not found!'
845 -# this part is scrambled by autoconf. phooey. so we just cannot tell the user what we are doing.
846 -# AC_MSG_CHECKING([for whether utime.h is found as "utime.h" or "sys/utime.h"])
848 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
851 @@ -4383,7 +4556,8 @@
853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
854 (exit $ac_status); } &&
855 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
856 + { ac_try='test -z "$ac_c_werror_flag"
857 + || test ! -s conftest.err'
858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
861 @@ -4416,6 +4590,160 @@
866 +for ac_header in windows.h
868 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
869 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
870 + echo "$as_me:$LINENO: checking for $ac_header" >&5
871 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
872 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
873 + echo $ECHO_N "(cached) $ECHO_C" >&6
875 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
876 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
878 + # Is the header compilable?
879 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
880 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
881 +cat >conftest.$ac_ext <<_ACEOF
884 +cat confdefs.h >>conftest.$ac_ext
885 +cat >>conftest.$ac_ext <<_ACEOF
886 +/* end confdefs.h. */
887 +$ac_includes_default
888 +#include <$ac_header>
890 +rm -f conftest.$ac_objext
891 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
892 + (eval $ac_compile) 2>conftest.er1
894 + grep -v '^ *+' conftest.er1 >conftest.err
896 + cat conftest.err >&5
897 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
898 + (exit $ac_status); } &&
899 + { ac_try='test -z "$ac_c_werror_flag"
900 + || test ! -s conftest.err'
901 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
902 + (eval $ac_try) 2>&5
904 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
905 + (exit $ac_status); }; } &&
906 + { ac_try='test -s conftest.$ac_objext'
907 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
908 + (eval $ac_try) 2>&5
910 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
911 + (exit $ac_status); }; }; then
912 + ac_header_compiler=yes
914 + echo "$as_me: failed program was:" >&5
915 +sed 's/^/| /' conftest.$ac_ext >&5
917 +ac_header_compiler=no
919 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
920 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
921 +echo "${ECHO_T}$ac_header_compiler" >&6
923 +# Is the header present?
924 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
925 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
926 +cat >conftest.$ac_ext <<_ACEOF
929 +cat confdefs.h >>conftest.$ac_ext
930 +cat >>conftest.$ac_ext <<_ACEOF
931 +/* end confdefs.h. */
932 +#include <$ac_header>
934 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
935 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
937 + grep -v '^ *+' conftest.er1 >conftest.err
939 + cat conftest.err >&5
940 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
941 + (exit $ac_status); } >/dev/null; then
942 + if test -s conftest.err; then
943 + ac_cpp_err=$ac_c_preproc_warn_flag
944 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
951 +if test -z "$ac_cpp_err"; then
952 + ac_header_preproc=yes
954 + echo "$as_me: failed program was:" >&5
955 +sed 's/^/| /' conftest.$ac_ext >&5
957 + ac_header_preproc=no
959 +rm -f conftest.err conftest.$ac_ext
960 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
961 +echo "${ECHO_T}$ac_header_preproc" >&6
963 +# So? What about this header?
964 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
966 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
967 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
968 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
969 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
970 + ac_header_preproc=yes
973 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
974 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
975 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
976 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
977 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
978 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
979 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
980 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
981 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
982 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
983 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
984 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
987 +## -------------------------------------- ##
988 +## Report this to the mingw-utils lists. ##
989 +## -------------------------------------- ##
992 + sed "s/^/$as_me: WARNING: /" >&2
995 +echo "$as_me:$LINENO: checking for $ac_header" >&5
996 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
997 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
998 + echo $ECHO_N "(cached) $ECHO_C" >&6
1000 + eval "$as_ac_Header=\$ac_header_preproc"
1002 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
1003 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1006 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
1007 + cat >>confdefs.h <<_ACEOF
1008 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1016 +where_toGet_utime_h='not found!'
1017 +# this part is scrambled by autoconf. phooey. so we just cannot tell the user what we are doing.
1018 +# AC_MSG_CHECKING([for whether utime.h is found as "utime.h" or "sys/utime.h"])
1019 if test "${ac_cv_header_utime_h+set}" = set; then
1020 echo "$as_me:$LINENO: checking for utime.h" >&5
1021 echo $ECHO_N "checking for utime.h... $ECHO_C" >&6
1022 @@ -4446,7 +4774,8 @@
1023 cat conftest.err >&5
1024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1025 (exit $ac_status); } &&
1026 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1027 + { ac_try='test -z "$ac_c_werror_flag"
1028 + || test ! -s conftest.err'
1029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1032 @@ -4590,7 +4919,8 @@
1033 cat conftest.err >&5
1034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1035 (exit $ac_status); } &&
1036 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1037 + { ac_try='test -z "$ac_c_werror_flag"
1038 + || test ! -s conftest.err'
1039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1042 @@ -4787,7 +5117,8 @@
1043 cat conftest.err >&5
1044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1045 (exit $ac_status); } &&
1046 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1047 + { ac_try='test -z "$ac_c_werror_flag"
1048 + || test ! -s conftest.err'
1049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1052 @@ -4888,7 +5219,8 @@
1053 cat conftest.err >&5
1054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1055 (exit $ac_status); } &&
1056 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1057 + { ac_try='test -z "$ac_c_werror_flag"
1058 + || test ! -s conftest.err'
1059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1062 @@ -4921,24 +5253,1681 @@
1066 - 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"
1067 +echo "$as_me:$LINENO: checking for _int64" >&5
1068 +echo $ECHO_N "checking for _int64... $ECHO_C" >&6
1069 +if test "${ac_cv_type__int64+set}" = set; then
1070 + echo $ECHO_N "(cached) $ECHO_C" >&6
1072 + cat >conftest.$ac_ext <<_ACEOF
1075 +cat confdefs.h >>conftest.$ac_ext
1076 +cat >>conftest.$ac_ext <<_ACEOF
1077 +/* end confdefs.h. */
1078 +$ac_includes_default
1084 +if (sizeof (_int64))
1090 +rm -f conftest.$ac_objext
1091 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1092 + (eval $ac_compile) 2>conftest.er1
1094 + grep -v '^ *+' conftest.er1 >conftest.err
1095 + rm -f conftest.er1
1096 + cat conftest.err >&5
1097 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1098 + (exit $ac_status); } &&
1099 + { ac_try='test -z "$ac_c_werror_flag"
1100 + || test ! -s conftest.err'
1101 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1102 + (eval $ac_try) 2>&5
1104 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1105 + (exit $ac_status); }; } &&
1106 + { ac_try='test -s conftest.$ac_objext'
1107 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1108 + (eval $ac_try) 2>&5
1110 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1111 + (exit $ac_status); }; }; then
1112 + ac_cv_type__int64=yes
1114 + echo "$as_me: failed program was:" >&5
1115 +sed 's/^/| /' conftest.$ac_ext >&5
1117 -cat >confcache <<\_ACEOF
1118 -# This file is a shell script that caches the results of configure
1119 -# tests run on this system so they can be shared between configure
1120 -# scripts and configure runs, see configure's option --config-cache.
1121 -# It is not useful on other systems. If it contains results you don't
1122 -# want to keep, you may remove or edit it.
1124 -# config.status only pays attention to the cache file if you give it
1125 -# the --recheck option to rerun configure.
1127 -# `ac_cv_env_foo' variables (set or unset) will be overridden when
1128 -# loading this file, other *unset* `ac_cv_foo' will be assigned the
1129 -# following values.
1130 +ac_cv_type__int64=no
1132 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1134 +echo "$as_me:$LINENO: result: $ac_cv_type__int64" >&5
1135 +echo "${ECHO_T}$ac_cv_type__int64" >&6
1137 +echo "$as_me:$LINENO: checking size of _int64" >&5
1138 +echo $ECHO_N "checking size of _int64... $ECHO_C" >&6
1139 +if test "${ac_cv_sizeof__int64+set}" = set; then
1140 + echo $ECHO_N "(cached) $ECHO_C" >&6
1142 + if test "$ac_cv_type__int64" = yes; then
1143 + # The cast to unsigned long works around a bug in the HP C Compiler
1144 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
1145 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
1146 + # This bug is HP SR number 8606223364.
1147 + if test "$cross_compiling" = yes; then
1148 + # Depending upon the size, compute the lo and hi bounds.
1149 +cat >conftest.$ac_ext <<_ACEOF
1153 +cat confdefs.h >>conftest.$ac_ext
1154 +cat >>conftest.$ac_ext <<_ACEOF
1155 +/* end confdefs.h. */
1156 +$ac_includes_default
1160 +static int test_array [1 - 2 * !(((long) (sizeof (_int64))) >= 0)];
1167 +rm -f conftest.$ac_objext
1168 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1169 + (eval $ac_compile) 2>conftest.er1
1171 + grep -v '^ *+' conftest.er1 >conftest.err
1172 + rm -f conftest.er1
1173 + cat conftest.err >&5
1174 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1175 + (exit $ac_status); } &&
1176 + { ac_try='test -z "$ac_c_werror_flag"
1177 + || test ! -s conftest.err'
1178 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1179 + (eval $ac_try) 2>&5
1181 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1182 + (exit $ac_status); }; } &&
1183 + { ac_try='test -s conftest.$ac_objext'
1184 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1185 + (eval $ac_try) 2>&5
1187 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1188 + (exit $ac_status); }; }; then
1191 + cat >conftest.$ac_ext <<_ACEOF
1194 +cat confdefs.h >>conftest.$ac_ext
1195 +cat >>conftest.$ac_ext <<_ACEOF
1196 +/* end confdefs.h. */
1197 +$ac_includes_default
1201 +static int test_array [1 - 2 * !(((long) (sizeof (_int64))) <= $ac_mid)];
1208 +rm -f conftest.$ac_objext
1209 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1210 + (eval $ac_compile) 2>conftest.er1
1212 + grep -v '^ *+' conftest.er1 >conftest.err
1213 + rm -f conftest.er1
1214 + cat conftest.err >&5
1215 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1216 + (exit $ac_status); } &&
1217 + { ac_try='test -z "$ac_c_werror_flag"
1218 + || test ! -s conftest.err'
1219 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1220 + (eval $ac_try) 2>&5
1222 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1223 + (exit $ac_status); }; } &&
1224 + { ac_try='test -s conftest.$ac_objext'
1225 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1226 + (eval $ac_try) 2>&5
1228 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1229 + (exit $ac_status); }; }; then
1230 + ac_hi=$ac_mid; break
1232 + echo "$as_me: failed program was:" >&5
1233 +sed 's/^/| /' conftest.$ac_ext >&5
1235 +ac_lo=`expr $ac_mid + 1`
1236 + if test $ac_lo -le $ac_mid; then
1240 + ac_mid=`expr 2 '*' $ac_mid + 1`
1242 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1245 + echo "$as_me: failed program was:" >&5
1246 +sed 's/^/| /' conftest.$ac_ext >&5
1248 +cat >conftest.$ac_ext <<_ACEOF
1251 +cat confdefs.h >>conftest.$ac_ext
1252 +cat >>conftest.$ac_ext <<_ACEOF
1253 +/* end confdefs.h. */
1254 +$ac_includes_default
1258 +static int test_array [1 - 2 * !(((long) (sizeof (_int64))) < 0)];
1265 +rm -f conftest.$ac_objext
1266 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1267 + (eval $ac_compile) 2>conftest.er1
1269 + grep -v '^ *+' conftest.er1 >conftest.err
1270 + rm -f conftest.er1
1271 + cat conftest.err >&5
1272 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1273 + (exit $ac_status); } &&
1274 + { ac_try='test -z "$ac_c_werror_flag"
1275 + || test ! -s conftest.err'
1276 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1277 + (eval $ac_try) 2>&5
1279 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1280 + (exit $ac_status); }; } &&
1281 + { ac_try='test -s conftest.$ac_objext'
1282 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1283 + (eval $ac_try) 2>&5
1285 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1286 + (exit $ac_status); }; }; then
1287 + ac_hi=-1 ac_mid=-1
1289 + cat >conftest.$ac_ext <<_ACEOF
1292 +cat confdefs.h >>conftest.$ac_ext
1293 +cat >>conftest.$ac_ext <<_ACEOF
1294 +/* end confdefs.h. */
1295 +$ac_includes_default
1299 +static int test_array [1 - 2 * !(((long) (sizeof (_int64))) >= $ac_mid)];
1306 +rm -f conftest.$ac_objext
1307 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1308 + (eval $ac_compile) 2>conftest.er1
1310 + grep -v '^ *+' conftest.er1 >conftest.err
1311 + rm -f conftest.er1
1312 + cat conftest.err >&5
1313 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1314 + (exit $ac_status); } &&
1315 + { ac_try='test -z "$ac_c_werror_flag"
1316 + || test ! -s conftest.err'
1317 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1318 + (eval $ac_try) 2>&5
1320 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1321 + (exit $ac_status); }; } &&
1322 + { ac_try='test -s conftest.$ac_objext'
1323 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1324 + (eval $ac_try) 2>&5
1326 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1327 + (exit $ac_status); }; }; then
1328 + ac_lo=$ac_mid; break
1330 + echo "$as_me: failed program was:" >&5
1331 +sed 's/^/| /' conftest.$ac_ext >&5
1333 +ac_hi=`expr '(' $ac_mid ')' - 1`
1334 + if test $ac_mid -le $ac_hi; then
1338 + ac_mid=`expr 2 '*' $ac_mid`
1340 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1343 + echo "$as_me: failed program was:" >&5
1344 +sed 's/^/| /' conftest.$ac_ext >&5
1348 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1350 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1351 +# Binary search between lo and hi bounds.
1352 +while test "x$ac_lo" != "x$ac_hi"; do
1353 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
1354 + cat >conftest.$ac_ext <<_ACEOF
1357 +cat confdefs.h >>conftest.$ac_ext
1358 +cat >>conftest.$ac_ext <<_ACEOF
1359 +/* end confdefs.h. */
1360 +$ac_includes_default
1364 +static int test_array [1 - 2 * !(((long) (sizeof (_int64))) <= $ac_mid)];
1371 +rm -f conftest.$ac_objext
1372 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1373 + (eval $ac_compile) 2>conftest.er1
1375 + grep -v '^ *+' conftest.er1 >conftest.err
1376 + rm -f conftest.er1
1377 + cat conftest.err >&5
1378 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1379 + (exit $ac_status); } &&
1380 + { ac_try='test -z "$ac_c_werror_flag"
1381 + || test ! -s conftest.err'
1382 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1383 + (eval $ac_try) 2>&5
1385 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1386 + (exit $ac_status); }; } &&
1387 + { ac_try='test -s conftest.$ac_objext'
1388 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1389 + (eval $ac_try) 2>&5
1391 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1392 + (exit $ac_status); }; }; then
1395 + echo "$as_me: failed program was:" >&5
1396 +sed 's/^/| /' conftest.$ac_ext >&5
1398 +ac_lo=`expr '(' $ac_mid ')' + 1`
1400 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1403 +?*) ac_cv_sizeof__int64=$ac_lo;;
1404 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (_int64), 77
1405 +See \`config.log' for more details." >&5
1406 +echo "$as_me: error: cannot compute sizeof (_int64), 77
1407 +See \`config.log' for more details." >&2;}
1408 + { (exit 1); exit 1; }; } ;;
1411 + if test "$cross_compiling" = yes; then
1412 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
1413 +See \`config.log' for more details." >&5
1414 +echo "$as_me: error: cannot run test program while cross compiling
1415 +See \`config.log' for more details." >&2;}
1416 + { (exit 1); exit 1; }; }
1418 + cat >conftest.$ac_ext <<_ACEOF
1421 +cat confdefs.h >>conftest.$ac_ext
1422 +cat >>conftest.$ac_ext <<_ACEOF
1423 +/* end confdefs.h. */
1424 +$ac_includes_default
1425 +long longval () { return (long) (sizeof (_int64)); }
1426 +unsigned long ulongval () { return (long) (sizeof (_int64)); }
1428 +#include <stdlib.h>
1433 + FILE *f = fopen ("conftest.val", "w");
1436 + if (((long) (sizeof (_int64))) < 0)
1438 + long i = longval ();
1439 + if (i != ((long) (sizeof (_int64))))
1441 + fprintf (f, "%ld\n", i);
1445 + unsigned long i = ulongval ();
1446 + if (i != ((long) (sizeof (_int64))))
1448 + fprintf (f, "%lu\n", i);
1450 + exit (ferror (f) || fclose (f) != 0);
1456 +rm -f conftest$ac_exeext
1457 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1458 + (eval $ac_link) 2>&5
1460 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1461 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1462 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1463 + (eval $ac_try) 2>&5
1465 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1466 + (exit $ac_status); }; }; then
1467 + ac_cv_sizeof__int64=`cat conftest.val`
1469 + echo "$as_me: program exited with status $ac_status" >&5
1470 +echo "$as_me: failed program was:" >&5
1471 +sed 's/^/| /' conftest.$ac_ext >&5
1473 +( exit $ac_status )
1474 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (_int64), 77
1475 +See \`config.log' for more details." >&5
1476 +echo "$as_me: error: cannot compute sizeof (_int64), 77
1477 +See \`config.log' for more details." >&2;}
1478 + { (exit 1); exit 1; }; }
1480 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1485 + ac_cv_sizeof__int64=0
1488 +echo "$as_me:$LINENO: result: $ac_cv_sizeof__int64" >&5
1489 +echo "${ECHO_T}$ac_cv_sizeof__int64" >&6
1490 +cat >>confdefs.h <<_ACEOF
1491 +#define SIZEOF__INT64 $ac_cv_sizeof__int64
1495 +echo "$as_me:$LINENO: checking for long long" >&5
1496 +echo $ECHO_N "checking for long long... $ECHO_C" >&6
1497 +if test "${ac_cv_type_long_long+set}" = set; then
1498 + echo $ECHO_N "(cached) $ECHO_C" >&6
1500 + cat >conftest.$ac_ext <<_ACEOF
1503 +cat confdefs.h >>conftest.$ac_ext
1504 +cat >>conftest.$ac_ext <<_ACEOF
1505 +/* end confdefs.h. */
1506 +$ac_includes_default
1510 +if ((long long *) 0)
1512 +if (sizeof (long long))
1518 +rm -f conftest.$ac_objext
1519 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1520 + (eval $ac_compile) 2>conftest.er1
1522 + grep -v '^ *+' conftest.er1 >conftest.err
1523 + rm -f conftest.er1
1524 + cat conftest.err >&5
1525 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1526 + (exit $ac_status); } &&
1527 + { ac_try='test -z "$ac_c_werror_flag"
1528 + || test ! -s conftest.err'
1529 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1530 + (eval $ac_try) 2>&5
1532 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1533 + (exit $ac_status); }; } &&
1534 + { ac_try='test -s conftest.$ac_objext'
1535 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1536 + (eval $ac_try) 2>&5
1538 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1539 + (exit $ac_status); }; }; then
1540 + ac_cv_type_long_long=yes
1542 + echo "$as_me: failed program was:" >&5
1543 +sed 's/^/| /' conftest.$ac_ext >&5
1545 +ac_cv_type_long_long=no
1547 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1549 +echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
1550 +echo "${ECHO_T}$ac_cv_type_long_long" >&6
1552 +echo "$as_me:$LINENO: checking size of long long" >&5
1553 +echo $ECHO_N "checking size of long long... $ECHO_C" >&6
1554 +if test "${ac_cv_sizeof_long_long+set}" = set; then
1555 + echo $ECHO_N "(cached) $ECHO_C" >&6
1557 + if test "$ac_cv_type_long_long" = yes; then
1558 + # The cast to unsigned long works around a bug in the HP C Compiler
1559 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
1560 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
1561 + # This bug is HP SR number 8606223364.
1562 + if test "$cross_compiling" = yes; then
1563 + # Depending upon the size, compute the lo and hi bounds.
1564 +cat >conftest.$ac_ext <<_ACEOF
1567 +cat confdefs.h >>conftest.$ac_ext
1568 +cat >>conftest.$ac_ext <<_ACEOF
1569 +/* end confdefs.h. */
1570 +$ac_includes_default
1574 +static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
1581 +rm -f conftest.$ac_objext
1582 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1583 + (eval $ac_compile) 2>conftest.er1
1585 + grep -v '^ *+' conftest.er1 >conftest.err
1586 + rm -f conftest.er1
1587 + cat conftest.err >&5
1588 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1589 + (exit $ac_status); } &&
1590 + { ac_try='test -z "$ac_c_werror_flag"
1591 + || test ! -s conftest.err'
1592 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1593 + (eval $ac_try) 2>&5
1595 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1596 + (exit $ac_status); }; } &&
1597 + { ac_try='test -s conftest.$ac_objext'
1598 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1599 + (eval $ac_try) 2>&5
1601 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1602 + (exit $ac_status); }; }; then
1605 + cat >conftest.$ac_ext <<_ACEOF
1608 +cat confdefs.h >>conftest.$ac_ext
1609 +cat >>conftest.$ac_ext <<_ACEOF
1610 +/* end confdefs.h. */
1611 +$ac_includes_default
1615 +static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
1622 +rm -f conftest.$ac_objext
1623 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1624 + (eval $ac_compile) 2>conftest.er1
1626 + grep -v '^ *+' conftest.er1 >conftest.err
1627 + rm -f conftest.er1
1628 + cat conftest.err >&5
1629 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1630 + (exit $ac_status); } &&
1631 + { ac_try='test -z "$ac_c_werror_flag"
1632 + || test ! -s conftest.err'
1633 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1634 + (eval $ac_try) 2>&5
1636 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1637 + (exit $ac_status); }; } &&
1638 + { ac_try='test -s conftest.$ac_objext'
1639 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1640 + (eval $ac_try) 2>&5
1642 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1643 + (exit $ac_status); }; }; then
1644 + ac_hi=$ac_mid; break
1646 + echo "$as_me: failed program was:" >&5
1647 +sed 's/^/| /' conftest.$ac_ext >&5
1649 +ac_lo=`expr $ac_mid + 1`
1650 + if test $ac_lo -le $ac_mid; then
1654 + ac_mid=`expr 2 '*' $ac_mid + 1`
1656 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1659 + echo "$as_me: failed program was:" >&5
1660 +sed 's/^/| /' conftest.$ac_ext >&5
1662 +cat >conftest.$ac_ext <<_ACEOF
1665 +cat confdefs.h >>conftest.$ac_ext
1666 +cat >>conftest.$ac_ext <<_ACEOF
1667 +/* end confdefs.h. */
1668 +$ac_includes_default
1672 +static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
1679 +rm -f conftest.$ac_objext
1680 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1681 + (eval $ac_compile) 2>conftest.er1
1683 + grep -v '^ *+' conftest.er1 >conftest.err
1684 + rm -f conftest.er1
1685 + cat conftest.err >&5
1686 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1687 + (exit $ac_status); } &&
1688 + { ac_try='test -z "$ac_c_werror_flag"
1689 + || test ! -s conftest.err'
1690 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1691 + (eval $ac_try) 2>&5
1693 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1694 + (exit $ac_status); }; } &&
1695 + { ac_try='test -s conftest.$ac_objext'
1696 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1697 + (eval $ac_try) 2>&5
1699 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1700 + (exit $ac_status); }; }; then
1701 + ac_hi=-1 ac_mid=-1
1703 + cat >conftest.$ac_ext <<_ACEOF
1706 +cat confdefs.h >>conftest.$ac_ext
1707 +cat >>conftest.$ac_ext <<_ACEOF
1708 +/* end confdefs.h. */
1709 +$ac_includes_default
1713 +static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
1720 +rm -f conftest.$ac_objext
1721 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1722 + (eval $ac_compile) 2>conftest.er1
1724 + grep -v '^ *+' conftest.er1 >conftest.err
1725 + rm -f conftest.er1
1726 + cat conftest.err >&5
1727 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1728 + (exit $ac_status); } &&
1729 + { ac_try='test -z "$ac_c_werror_flag"
1730 + || test ! -s conftest.err'
1731 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1732 + (eval $ac_try) 2>&5
1734 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1735 + (exit $ac_status); }; } &&
1736 + { ac_try='test -s conftest.$ac_objext'
1737 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1738 + (eval $ac_try) 2>&5
1740 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1741 + (exit $ac_status); }; }; then
1742 + ac_lo=$ac_mid; break
1744 + echo "$as_me: failed program was:" >&5
1745 +sed 's/^/| /' conftest.$ac_ext >&5
1747 +ac_hi=`expr '(' $ac_mid ')' - 1`
1748 + if test $ac_mid -le $ac_hi; then
1752 + ac_mid=`expr 2 '*' $ac_mid`
1754 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1757 + echo "$as_me: failed program was:" >&5
1758 +sed 's/^/| /' conftest.$ac_ext >&5
1762 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1764 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1765 +# Binary search between lo and hi bounds.
1766 +while test "x$ac_lo" != "x$ac_hi"; do
1767 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
1768 + cat >conftest.$ac_ext <<_ACEOF
1771 +cat confdefs.h >>conftest.$ac_ext
1772 +cat >>conftest.$ac_ext <<_ACEOF
1773 +/* end confdefs.h. */
1774 +$ac_includes_default
1778 +static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
1785 +rm -f conftest.$ac_objext
1786 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1787 + (eval $ac_compile) 2>conftest.er1
1789 + grep -v '^ *+' conftest.er1 >conftest.err
1790 + rm -f conftest.er1
1791 + cat conftest.err >&5
1792 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1793 + (exit $ac_status); } &&
1794 + { ac_try='test -z "$ac_c_werror_flag"
1795 + || test ! -s conftest.err'
1796 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1797 + (eval $ac_try) 2>&5
1799 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1800 + (exit $ac_status); }; } &&
1801 + { ac_try='test -s conftest.$ac_objext'
1802 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1803 + (eval $ac_try) 2>&5
1805 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1806 + (exit $ac_status); }; }; then
1809 + echo "$as_me: failed program was:" >&5
1810 +sed 's/^/| /' conftest.$ac_ext >&5
1812 +ac_lo=`expr '(' $ac_mid ')' + 1`
1814 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1817 +?*) ac_cv_sizeof_long_long=$ac_lo;;
1818 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
1819 +See \`config.log' for more details." >&5
1820 +echo "$as_me: error: cannot compute sizeof (long long), 77
1821 +See \`config.log' for more details." >&2;}
1822 + { (exit 1); exit 1; }; } ;;
1825 + if test "$cross_compiling" = yes; then
1826 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
1827 +See \`config.log' for more details." >&5
1828 +echo "$as_me: error: cannot run test program while cross compiling
1829 +See \`config.log' for more details." >&2;}
1830 + { (exit 1); exit 1; }; }
1832 + cat >conftest.$ac_ext <<_ACEOF
1835 +cat confdefs.h >>conftest.$ac_ext
1836 +cat >>conftest.$ac_ext <<_ACEOF
1837 +/* end confdefs.h. */
1838 +$ac_includes_default
1839 +long longval () { return (long) (sizeof (long long)); }
1840 +unsigned long ulongval () { return (long) (sizeof (long long)); }
1842 +#include <stdlib.h>
1847 + FILE *f = fopen ("conftest.val", "w");
1850 + if (((long) (sizeof (long long))) < 0)
1852 + long i = longval ();
1853 + if (i != ((long) (sizeof (long long))))
1855 + fprintf (f, "%ld\n", i);
1859 + unsigned long i = ulongval ();
1860 + if (i != ((long) (sizeof (long long))))
1862 + fprintf (f, "%lu\n", i);
1864 + exit (ferror (f) || fclose (f) != 0);
1870 +rm -f conftest$ac_exeext
1871 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1872 + (eval $ac_link) 2>&5
1874 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1875 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1876 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1877 + (eval $ac_try) 2>&5
1879 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1880 + (exit $ac_status); }; }; then
1881 + ac_cv_sizeof_long_long=`cat conftest.val`
1883 + echo "$as_me: program exited with status $ac_status" >&5
1884 +echo "$as_me: failed program was:" >&5
1885 +sed 's/^/| /' conftest.$ac_ext >&5
1887 +( exit $ac_status )
1888 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
1889 +See \`config.log' for more details." >&5
1890 +echo "$as_me: error: cannot compute sizeof (long long), 77
1891 +See \`config.log' for more details." >&2;}
1892 + { (exit 1); exit 1; }; }
1894 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1899 + ac_cv_sizeof_long_long=0
1902 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
1903 +echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
1904 +cat >>confdefs.h <<_ACEOF
1905 +#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
1909 +echo "$as_me:$LINENO: checking for long" >&5
1910 +echo $ECHO_N "checking for long... $ECHO_C" >&6
1911 +if test "${ac_cv_type_long+set}" = set; then
1912 + echo $ECHO_N "(cached) $ECHO_C" >&6
1914 + cat >conftest.$ac_ext <<_ACEOF
1917 +cat confdefs.h >>conftest.$ac_ext
1918 +cat >>conftest.$ac_ext <<_ACEOF
1919 +/* end confdefs.h. */
1920 +$ac_includes_default
1932 +rm -f conftest.$ac_objext
1933 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1934 + (eval $ac_compile) 2>conftest.er1
1936 + grep -v '^ *+' conftest.er1 >conftest.err
1937 + rm -f conftest.er1
1938 + cat conftest.err >&5
1939 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1940 + (exit $ac_status); } &&
1941 + { ac_try='test -z "$ac_c_werror_flag"
1942 + || test ! -s conftest.err'
1943 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1944 + (eval $ac_try) 2>&5
1946 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1947 + (exit $ac_status); }; } &&
1948 + { ac_try='test -s conftest.$ac_objext'
1949 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1950 + (eval $ac_try) 2>&5
1952 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1953 + (exit $ac_status); }; }; then
1954 + ac_cv_type_long=yes
1956 + echo "$as_me: failed program was:" >&5
1957 +sed 's/^/| /' conftest.$ac_ext >&5
1961 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1963 +echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
1964 +echo "${ECHO_T}$ac_cv_type_long" >&6
1966 +echo "$as_me:$LINENO: checking size of long" >&5
1967 +echo $ECHO_N "checking size of long... $ECHO_C" >&6
1968 +if test "${ac_cv_sizeof_long+set}" = set; then
1969 + echo $ECHO_N "(cached) $ECHO_C" >&6
1971 + if test "$ac_cv_type_long" = yes; then
1972 + # The cast to unsigned long works around a bug in the HP C Compiler
1973 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
1974 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
1975 + # This bug is HP SR number 8606223364.
1976 + if test "$cross_compiling" = yes; then
1977 + # Depending upon the size, compute the lo and hi bounds.
1978 +cat >conftest.$ac_ext <<_ACEOF
1981 +cat confdefs.h >>conftest.$ac_ext
1982 +cat >>conftest.$ac_ext <<_ACEOF
1983 +/* end confdefs.h. */
1984 +$ac_includes_default
1988 +static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
1995 +rm -f conftest.$ac_objext
1996 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1997 + (eval $ac_compile) 2>conftest.er1
1999 + grep -v '^ *+' conftest.er1 >conftest.err
2000 + rm -f conftest.er1
2001 + cat conftest.err >&5
2002 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2003 + (exit $ac_status); } &&
2004 + { ac_try='test -z "$ac_c_werror_flag"
2005 + || test ! -s conftest.err'
2006 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2007 + (eval $ac_try) 2>&5
2009 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2010 + (exit $ac_status); }; } &&
2011 + { ac_try='test -s conftest.$ac_objext'
2012 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2013 + (eval $ac_try) 2>&5
2015 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2016 + (exit $ac_status); }; }; then
2019 + cat >conftest.$ac_ext <<_ACEOF
2022 +cat confdefs.h >>conftest.$ac_ext
2023 +cat >>conftest.$ac_ext <<_ACEOF
2024 +/* end confdefs.h. */
2025 +$ac_includes_default
2029 +static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
2036 +rm -f conftest.$ac_objext
2037 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2038 + (eval $ac_compile) 2>conftest.er1
2040 + grep -v '^ *+' conftest.er1 >conftest.err
2041 + rm -f conftest.er1
2042 + cat conftest.err >&5
2043 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2044 + (exit $ac_status); } &&
2045 + { ac_try='test -z "$ac_c_werror_flag"
2046 + || test ! -s conftest.err'
2047 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2048 + (eval $ac_try) 2>&5
2050 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2051 + (exit $ac_status); }; } &&
2052 + { ac_try='test -s conftest.$ac_objext'
2053 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2054 + (eval $ac_try) 2>&5
2056 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2057 + (exit $ac_status); }; }; then
2058 + ac_hi=$ac_mid; break
2060 + echo "$as_me: failed program was:" >&5
2061 +sed 's/^/| /' conftest.$ac_ext >&5
2063 +ac_lo=`expr $ac_mid + 1`
2064 + if test $ac_lo -le $ac_mid; then
2068 + ac_mid=`expr 2 '*' $ac_mid + 1`
2070 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2073 + echo "$as_me: failed program was:" >&5
2074 +sed 's/^/| /' conftest.$ac_ext >&5
2076 +cat >conftest.$ac_ext <<_ACEOF
2079 +cat confdefs.h >>conftest.$ac_ext
2080 +cat >>conftest.$ac_ext <<_ACEOF
2081 +/* end confdefs.h. */
2082 +$ac_includes_default
2086 +static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
2093 +rm -f conftest.$ac_objext
2094 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2095 + (eval $ac_compile) 2>conftest.er1
2097 + grep -v '^ *+' conftest.er1 >conftest.err
2098 + rm -f conftest.er1
2099 + cat conftest.err >&5
2100 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2101 + (exit $ac_status); } &&
2102 + { ac_try='test -z "$ac_c_werror_flag"
2103 + || test ! -s conftest.err'
2104 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2105 + (eval $ac_try) 2>&5
2107 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2108 + (exit $ac_status); }; } &&
2109 + { ac_try='test -s conftest.$ac_objext'
2110 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2111 + (eval $ac_try) 2>&5
2113 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2114 + (exit $ac_status); }; }; then
2115 + ac_hi=-1 ac_mid=-1
2117 + cat >conftest.$ac_ext <<_ACEOF
2120 +cat confdefs.h >>conftest.$ac_ext
2121 +cat >>conftest.$ac_ext <<_ACEOF
2122 +/* end confdefs.h. */
2123 +$ac_includes_default
2127 +static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
2134 +rm -f conftest.$ac_objext
2135 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2136 + (eval $ac_compile) 2>conftest.er1
2138 + grep -v '^ *+' conftest.er1 >conftest.err
2139 + rm -f conftest.er1
2140 + cat conftest.err >&5
2141 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2142 + (exit $ac_status); } &&
2143 + { ac_try='test -z "$ac_c_werror_flag"
2144 + || test ! -s conftest.err'
2145 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2146 + (eval $ac_try) 2>&5
2148 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149 + (exit $ac_status); }; } &&
2150 + { ac_try='test -s conftest.$ac_objext'
2151 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2152 + (eval $ac_try) 2>&5
2154 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 + (exit $ac_status); }; }; then
2156 + ac_lo=$ac_mid; break
2158 + echo "$as_me: failed program was:" >&5
2159 +sed 's/^/| /' conftest.$ac_ext >&5
2161 +ac_hi=`expr '(' $ac_mid ')' - 1`
2162 + if test $ac_mid -le $ac_hi; then
2166 + ac_mid=`expr 2 '*' $ac_mid`
2168 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2171 + echo "$as_me: failed program was:" >&5
2172 +sed 's/^/| /' conftest.$ac_ext >&5
2176 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2178 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2179 +# Binary search between lo and hi bounds.
2180 +while test "x$ac_lo" != "x$ac_hi"; do
2181 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
2182 + cat >conftest.$ac_ext <<_ACEOF
2185 +cat confdefs.h >>conftest.$ac_ext
2186 +cat >>conftest.$ac_ext <<_ACEOF
2187 +/* end confdefs.h. */
2188 +$ac_includes_default
2192 +static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
2199 +rm -f conftest.$ac_objext
2200 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2201 + (eval $ac_compile) 2>conftest.er1
2203 + grep -v '^ *+' conftest.er1 >conftest.err
2204 + rm -f conftest.er1
2205 + cat conftest.err >&5
2206 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207 + (exit $ac_status); } &&
2208 + { ac_try='test -z "$ac_c_werror_flag"
2209 + || test ! -s conftest.err'
2210 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2211 + (eval $ac_try) 2>&5
2213 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 + (exit $ac_status); }; } &&
2215 + { ac_try='test -s conftest.$ac_objext'
2216 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2217 + (eval $ac_try) 2>&5
2219 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 + (exit $ac_status); }; }; then
2223 + echo "$as_me: failed program was:" >&5
2224 +sed 's/^/| /' conftest.$ac_ext >&5
2226 +ac_lo=`expr '(' $ac_mid ')' + 1`
2228 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2231 +?*) ac_cv_sizeof_long=$ac_lo;;
2232 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
2233 +See \`config.log' for more details." >&5
2234 +echo "$as_me: error: cannot compute sizeof (long), 77
2235 +See \`config.log' for more details." >&2;}
2236 + { (exit 1); exit 1; }; } ;;
2239 + if test "$cross_compiling" = yes; then
2240 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
2241 +See \`config.log' for more details." >&5
2242 +echo "$as_me: error: cannot run test program while cross compiling
2243 +See \`config.log' for more details." >&2;}
2244 + { (exit 1); exit 1; }; }
2246 + cat >conftest.$ac_ext <<_ACEOF
2249 +cat confdefs.h >>conftest.$ac_ext
2250 +cat >>conftest.$ac_ext <<_ACEOF
2251 +/* end confdefs.h. */
2252 +$ac_includes_default
2253 +long longval () { return (long) (sizeof (long)); }
2254 +unsigned long ulongval () { return (long) (sizeof (long)); }
2256 +#include <stdlib.h>
2261 + FILE *f = fopen ("conftest.val", "w");
2264 + if (((long) (sizeof (long))) < 0)
2266 + long i = longval ();
2267 + if (i != ((long) (sizeof (long))))
2269 + fprintf (f, "%ld\n", i);
2273 + unsigned long i = ulongval ();
2274 + if (i != ((long) (sizeof (long))))
2276 + fprintf (f, "%lu\n", i);
2278 + exit (ferror (f) || fclose (f) != 0);
2284 +rm -f conftest$ac_exeext
2285 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2286 + (eval $ac_link) 2>&5
2288 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2290 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2291 + (eval $ac_try) 2>&5
2293 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2294 + (exit $ac_status); }; }; then
2295 + ac_cv_sizeof_long=`cat conftest.val`
2297 + echo "$as_me: program exited with status $ac_status" >&5
2298 +echo "$as_me: failed program was:" >&5
2299 +sed 's/^/| /' conftest.$ac_ext >&5
2301 +( exit $ac_status )
2302 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
2303 +See \`config.log' for more details." >&5
2304 +echo "$as_me: error: cannot compute sizeof (long), 77
2305 +See \`config.log' for more details." >&2;}
2306 + { (exit 1); exit 1; }; }
2308 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2313 + ac_cv_sizeof_long=0
2316 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
2317 +echo "${ECHO_T}$ac_cv_sizeof_long" >&6
2318 +cat >>confdefs.h <<_ACEOF
2319 +#define SIZEOF_LONG $ac_cv_sizeof_long
2323 +echo "$as_me:$LINENO: checking for void *" >&5
2324 +echo $ECHO_N "checking for void *... $ECHO_C" >&6
2325 +if test "${ac_cv_type_void_p+set}" = set; then
2326 + echo $ECHO_N "(cached) $ECHO_C" >&6
2328 + cat >conftest.$ac_ext <<_ACEOF
2331 +cat confdefs.h >>conftest.$ac_ext
2332 +cat >>conftest.$ac_ext <<_ACEOF
2333 +/* end confdefs.h. */
2334 +$ac_includes_default
2340 +if (sizeof (void *))
2346 +rm -f conftest.$ac_objext
2347 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2348 + (eval $ac_compile) 2>conftest.er1
2350 + grep -v '^ *+' conftest.er1 >conftest.err
2351 + rm -f conftest.er1
2352 + cat conftest.err >&5
2353 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 + (exit $ac_status); } &&
2355 + { ac_try='test -z "$ac_c_werror_flag"
2356 + || test ! -s conftest.err'
2357 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2358 + (eval $ac_try) 2>&5
2360 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 + (exit $ac_status); }; } &&
2362 + { ac_try='test -s conftest.$ac_objext'
2363 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2364 + (eval $ac_try) 2>&5
2366 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 + (exit $ac_status); }; }; then
2368 + ac_cv_type_void_p=yes
2370 + echo "$as_me: failed program was:" >&5
2371 +sed 's/^/| /' conftest.$ac_ext >&5
2373 +ac_cv_type_void_p=no
2375 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2377 +echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
2378 +echo "${ECHO_T}$ac_cv_type_void_p" >&6
2380 +echo "$as_me:$LINENO: checking size of void *" >&5
2381 +echo $ECHO_N "checking size of void *... $ECHO_C" >&6
2382 +if test "${ac_cv_sizeof_void_p+set}" = set; then
2383 + echo $ECHO_N "(cached) $ECHO_C" >&6
2385 + if test "$ac_cv_type_void_p" = yes; then
2386 + # The cast to unsigned long works around a bug in the HP C Compiler
2387 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
2388 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
2389 + # This bug is HP SR number 8606223364.
2390 + if test "$cross_compiling" = yes; then
2391 + # Depending upon the size, compute the lo and hi bounds.
2392 +cat >conftest.$ac_ext <<_ACEOF
2395 +cat confdefs.h >>conftest.$ac_ext
2396 +cat >>conftest.$ac_ext <<_ACEOF
2397 +/* end confdefs.h. */
2398 +$ac_includes_default
2402 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
2409 +rm -f conftest.$ac_objext
2410 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2411 + (eval $ac_compile) 2>conftest.er1
2413 + grep -v '^ *+' conftest.er1 >conftest.err
2414 + rm -f conftest.er1
2415 + cat conftest.err >&5
2416 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 + (exit $ac_status); } &&
2418 + { ac_try='test -z "$ac_c_werror_flag"
2419 + || test ! -s conftest.err'
2420 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2421 + (eval $ac_try) 2>&5
2423 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 + (exit $ac_status); }; } &&
2425 + { ac_try='test -s conftest.$ac_objext'
2426 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2427 + (eval $ac_try) 2>&5
2429 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 + (exit $ac_status); }; }; then
2433 + cat >conftest.$ac_ext <<_ACEOF
2436 +cat confdefs.h >>conftest.$ac_ext
2437 +cat >>conftest.$ac_ext <<_ACEOF
2438 +/* end confdefs.h. */
2439 +$ac_includes_default
2443 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
2450 +rm -f conftest.$ac_objext
2451 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2452 + (eval $ac_compile) 2>conftest.er1
2454 + grep -v '^ *+' conftest.er1 >conftest.err
2455 + rm -f conftest.er1
2456 + cat conftest.err >&5
2457 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 + (exit $ac_status); } &&
2459 + { ac_try='test -z "$ac_c_werror_flag"
2460 + || test ! -s conftest.err'
2461 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2462 + (eval $ac_try) 2>&5
2464 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 + (exit $ac_status); }; } &&
2466 + { ac_try='test -s conftest.$ac_objext'
2467 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2468 + (eval $ac_try) 2>&5
2470 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 + (exit $ac_status); }; }; then
2472 + ac_hi=$ac_mid; break
2474 + echo "$as_me: failed program was:" >&5
2475 +sed 's/^/| /' conftest.$ac_ext >&5
2477 +ac_lo=`expr $ac_mid + 1`
2478 + if test $ac_lo -le $ac_mid; then
2482 + ac_mid=`expr 2 '*' $ac_mid + 1`
2484 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2487 + echo "$as_me: failed program was:" >&5
2488 +sed 's/^/| /' conftest.$ac_ext >&5
2490 +cat >conftest.$ac_ext <<_ACEOF
2493 +cat confdefs.h >>conftest.$ac_ext
2494 +cat >>conftest.$ac_ext <<_ACEOF
2495 +/* end confdefs.h. */
2496 +$ac_includes_default
2500 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
2507 +rm -f conftest.$ac_objext
2508 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2509 + (eval $ac_compile) 2>conftest.er1
2511 + grep -v '^ *+' conftest.er1 >conftest.err
2512 + rm -f conftest.er1
2513 + cat conftest.err >&5
2514 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 + (exit $ac_status); } &&
2516 + { ac_try='test -z "$ac_c_werror_flag"
2517 + || test ! -s conftest.err'
2518 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2519 + (eval $ac_try) 2>&5
2521 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 + (exit $ac_status); }; } &&
2523 + { ac_try='test -s conftest.$ac_objext'
2524 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2525 + (eval $ac_try) 2>&5
2527 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 + (exit $ac_status); }; }; then
2529 + ac_hi=-1 ac_mid=-1
2531 + cat >conftest.$ac_ext <<_ACEOF
2534 +cat confdefs.h >>conftest.$ac_ext
2535 +cat >>conftest.$ac_ext <<_ACEOF
2536 +/* end confdefs.h. */
2537 +$ac_includes_default
2541 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
2548 +rm -f conftest.$ac_objext
2549 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2550 + (eval $ac_compile) 2>conftest.er1
2552 + grep -v '^ *+' conftest.er1 >conftest.err
2553 + rm -f conftest.er1
2554 + cat conftest.err >&5
2555 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556 + (exit $ac_status); } &&
2557 + { ac_try='test -z "$ac_c_werror_flag"
2558 + || test ! -s conftest.err'
2559 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2560 + (eval $ac_try) 2>&5
2562 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 + (exit $ac_status); }; } &&
2564 + { ac_try='test -s conftest.$ac_objext'
2565 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2566 + (eval $ac_try) 2>&5
2568 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569 + (exit $ac_status); }; }; then
2570 + ac_lo=$ac_mid; break
2572 + echo "$as_me: failed program was:" >&5
2573 +sed 's/^/| /' conftest.$ac_ext >&5
2575 +ac_hi=`expr '(' $ac_mid ')' - 1`
2576 + if test $ac_mid -le $ac_hi; then
2580 + ac_mid=`expr 2 '*' $ac_mid`
2582 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2585 + echo "$as_me: failed program was:" >&5
2586 +sed 's/^/| /' conftest.$ac_ext >&5
2590 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2592 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2593 +# Binary search between lo and hi bounds.
2594 +while test "x$ac_lo" != "x$ac_hi"; do
2595 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
2596 + cat >conftest.$ac_ext <<_ACEOF
2599 +cat confdefs.h >>conftest.$ac_ext
2600 +cat >>conftest.$ac_ext <<_ACEOF
2601 +/* end confdefs.h. */
2602 +$ac_includes_default
2606 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
2613 +rm -f conftest.$ac_objext
2614 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2615 + (eval $ac_compile) 2>conftest.er1
2617 + grep -v '^ *+' conftest.er1 >conftest.err
2618 + rm -f conftest.er1
2619 + cat conftest.err >&5
2620 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 + (exit $ac_status); } &&
2622 + { ac_try='test -z "$ac_c_werror_flag"
2623 + || test ! -s conftest.err'
2624 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2625 + (eval $ac_try) 2>&5
2627 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 + (exit $ac_status); }; } &&
2629 + { ac_try='test -s conftest.$ac_objext'
2630 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2631 + (eval $ac_try) 2>&5
2633 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 + (exit $ac_status); }; }; then
2637 + echo "$as_me: failed program was:" >&5
2638 +sed 's/^/| /' conftest.$ac_ext >&5
2640 +ac_lo=`expr '(' $ac_mid ')' + 1`
2642 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2645 +?*) ac_cv_sizeof_void_p=$ac_lo;;
2646 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
2647 +See \`config.log' for more details." >&5
2648 +echo "$as_me: error: cannot compute sizeof (void *), 77
2649 +See \`config.log' for more details." >&2;}
2650 + { (exit 1); exit 1; }; } ;;
2653 + if test "$cross_compiling" = yes; then
2654 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
2655 +See \`config.log' for more details." >&5
2656 +echo "$as_me: error: cannot run test program while cross compiling
2657 +See \`config.log' for more details." >&2;}
2658 + { (exit 1); exit 1; }; }
2660 + cat >conftest.$ac_ext <<_ACEOF
2663 +cat confdefs.h >>conftest.$ac_ext
2664 +cat >>conftest.$ac_ext <<_ACEOF
2665 +/* end confdefs.h. */
2666 +$ac_includes_default
2667 +long longval () { return (long) (sizeof (void *)); }
2668 +unsigned long ulongval () { return (long) (sizeof (void *)); }
2670 +#include <stdlib.h>
2675 + FILE *f = fopen ("conftest.val", "w");
2678 + if (((long) (sizeof (void *))) < 0)
2680 + long i = longval ();
2681 + if (i != ((long) (sizeof (void *))))
2683 + fprintf (f, "%ld\n", i);
2687 + unsigned long i = ulongval ();
2688 + if (i != ((long) (sizeof (void *))))
2690 + fprintf (f, "%lu\n", i);
2692 + exit (ferror (f) || fclose (f) != 0);
2698 +rm -f conftest$ac_exeext
2699 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2700 + (eval $ac_link) 2>&5
2702 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2704 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2705 + (eval $ac_try) 2>&5
2707 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 + (exit $ac_status); }; }; then
2709 + ac_cv_sizeof_void_p=`cat conftest.val`
2711 + echo "$as_me: program exited with status $ac_status" >&5
2712 +echo "$as_me: failed program was:" >&5
2713 +sed 's/^/| /' conftest.$ac_ext >&5
2715 +( exit $ac_status )
2716 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
2717 +See \`config.log' for more details." >&5
2718 +echo "$as_me: error: cannot compute sizeof (void *), 77
2719 +See \`config.log' for more details." >&2;}
2720 + { (exit 1); exit 1; }; }
2722 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2727 + ac_cv_sizeof_void_p=0
2730 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
2731 +echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
2732 +cat >>confdefs.h <<_ACEOF
2733 +#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
2738 + 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"
2740 +cat >confcache <<\_ACEOF
2741 +# This file is a shell script that caches the results of configure
2742 +# tests run on this system so they can be shared between configure
2743 +# scripts and configure runs, see configure's option --config-cache.
2744 +# It is not useful on other systems. If it contains results you don't
2745 +# want to keep, you may remove or edit it.
2747 +# config.status only pays attention to the cache file if you give it
2748 +# the --recheck option to rerun configure.
2750 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
2751 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
2752 +# following values.
2756 # The following way of writing the cache mishandles newlines in values,
2757 # but we know of no workaround that is simple, portable, and efficient.
2758 # So, don't put newlines in cache variables' values.
2759 @@ -5021,6 +7010,27 @@
2760 Usually this means the macro was only invoked conditionally." >&2;}
2761 { (exit 1); exit 1; }; }
2763 +if test -z "${BUILD_DRMINGW_TRUE}" && test -z "${BUILD_DRMINGW_FALSE}"; then
2764 + { { echo "$as_me:$LINENO: error: conditional \"BUILD_DRMINGW\" was never defined.
2765 +Usually this means the macro was only invoked conditionally." >&5
2766 +echo "$as_me: error: conditional \"BUILD_DRMINGW\" was never defined.
2767 +Usually this means the macro was only invoked conditionally." >&2;}
2768 + { (exit 1); exit 1; }; }
2770 +if test -z "${BUILD_REDIR_TRUE}" && test -z "${BUILD_REDIR_FALSE}"; then
2771 + { { echo "$as_me:$LINENO: error: conditional \"BUILD_REDIR\" was never defined.
2772 +Usually this means the macro was only invoked conditionally." >&5
2773 +echo "$as_me: error: conditional \"BUILD_REDIR\" was never defined.
2774 +Usually this means the macro was only invoked conditionally." >&2;}
2775 + { (exit 1); exit 1; }; }
2777 +if test -z "${BUILD_RES2COFF_TRUE}" && test -z "${BUILD_RES2COFF_FALSE}"; then
2778 + { { echo "$as_me:$LINENO: error: conditional \"BUILD_RES2COFF\" was never defined.
2779 +Usually this means the macro was only invoked conditionally." >&5
2780 +echo "$as_me: error: conditional \"BUILD_RES2COFF\" was never defined.
2781 +Usually this means the macro was only invoked conditionally." >&2;}
2782 + { (exit 1); exit 1; }; }
2784 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2785 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
2786 Usually this means the macro was only invoked conditionally." >&5
2787 @@ -5042,6 +7052,13 @@
2788 Usually this means the macro was only invoked conditionally." >&2;}
2789 { (exit 1); exit 1; }; }
2791 +if test -z "${BUILD_DRMINGW_TRUE}" && test -z "${BUILD_DRMINGW_FALSE}"; then
2792 + { { echo "$as_me:$LINENO: error: conditional \"BUILD_DRMINGW\" was never defined.
2793 +Usually this means the macro was only invoked conditionally." >&5
2794 +echo "$as_me: error: conditional \"BUILD_DRMINGW\" was never defined.
2795 +Usually this means the macro was only invoked conditionally." >&2;}
2796 + { (exit 1); exit 1; }; }
2799 : ${CONFIG_STATUS=./config.status}
2800 ac_clean_files_save=$ac_clean_files
2801 @@ -5314,7 +7331,7 @@
2804 This file was extended by mingw-utils $as_me 0.3, which was
2805 -generated by GNU Autoconf 2.58. Invocation command line was
2806 +generated by GNU Autoconf 2.59. Invocation command line was
2808 CONFIG_FILES = $CONFIG_FILES
2809 CONFIG_HEADERS = $CONFIG_HEADERS
2810 @@ -5377,7 +7394,7 @@
2811 cat >>$CONFIG_STATUS <<_ACEOF
2813 mingw-utils config.status 0.3
2814 -configured by $0, generated by GNU Autoconf 2.58,
2815 +configured by $0, generated by GNU Autoconf 2.59,
2816 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2818 Copyright (C) 2003 Free Software Foundation, Inc.
2819 @@ -5595,17 +7612,26 @@
2820 s,@AUTOMAKE@,$AUTOMAKE,;t t
2821 s,@AUTOHEADER@,$AUTOHEADER,;t t
2822 s,@MAKEINFO@,$MAKEINFO,;t t
2823 -s,@AMTAR@,$AMTAR,;t t
2824 s,@install_sh@,$install_sh,;t t
2825 s,@STRIP@,$STRIP,;t t
2826 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2827 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2828 +s,@mkdir_p@,$mkdir_p,;t t
2830 s,@SET_MAKE@,$SET_MAKE,;t t
2831 s,@am__leading_dot@,$am__leading_dot,;t t
2832 +s,@AMTAR@,$AMTAR,;t t
2833 +s,@am__tar@,$am__tar,;t t
2834 +s,@am__untar@,$am__untar,;t t
2835 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
2836 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
2837 s,@MAINT@,$MAINT,;t t
2838 +s,@BUILD_DRMINGW_TRUE@,$BUILD_DRMINGW_TRUE,;t t
2839 +s,@BUILD_DRMINGW_FALSE@,$BUILD_DRMINGW_FALSE,;t t
2840 +s,@BUILD_REDIR_TRUE@,$BUILD_REDIR_TRUE,;t t
2841 +s,@BUILD_REDIR_FALSE@,$BUILD_REDIR_FALSE,;t t
2842 +s,@BUILD_RES2COFF_TRUE@,$BUILD_RES2COFF_TRUE,;t t
2843 +s,@BUILD_RES2COFF_FALSE@,$BUILD_RES2COFF_FALSE,;t t
2845 s,@CFLAGS@,$CFLAGS,;t t
2846 s,@LDFLAGS@,$LDFLAGS,;t t
2847 @@ -6262,27 +8288,21 @@
2851 - grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
2852 - # Extract the definition of DEP_FILES from the Makefile without
2854 - DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
2855 + # Extract the definition of DEPDIR, am__include, and am__quote
2856 + # from the Makefile without running `make'.
2857 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
2858 test -z "$DEPDIR" && continue
2859 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
2860 + test -z "am__include" && continue
2861 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
2862 # When using ansi2knr, U may be empty or an underscore; expand it
2863 - U=`sed -n -e '/^U = / s///p' < "$mf"`
2864 - test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
2865 - # We invoke sed twice because it is the simplest approach to
2866 - # changing $(DEPDIR) to its actual value in the expansion.
2867 - for file in `sed -n -e '
2868 - /^DEP_FILES = .*\\\\$/ {
2877 - /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
2878 + U=`sed -n 's/^U = //p' < "$mf"`
2879 + # Find all dependency output files, they are included files with
2880 + # $(DEPDIR) in their names. We invoke sed twice because it is the
2881 + # simplest approach to changing $(DEPDIR) to its actual value in the
2883 + for file in `sed -n "
2884 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
2885 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
2886 # Make sure the directory exists.
2887 test -f "$dirpart/$file" && continue
2889 ===================================================================
2890 --- ../../mingw-utils-0.3/Makefile.in 2003-11-25 08:31:11.000000000 -0800
2891 +++ Makefile.in 2006-06-22 02:35:55.000000000 -0700
2893 -# Makefile.in generated by automake 1.7.9 from Makefile.am.
2894 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
2897 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
2898 -# Free Software Foundation, Inc.
2899 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2900 +# 2003, 2004, 2005 Free Software Foundation, Inc.
2901 # This Makefile.in is free software; the Free Software Foundation
2902 # gives unlimited permission to copy and/or distribute it,
2903 # with or without modifications, as long as this notice is preserved.
2905 # PARTICULAR PURPOSE.
2910 top_srcdir = @top_srcdir@
2913 pkglibdir = $(libdir)/@PACKAGE@
2914 pkgincludedir = $(includedir)/@PACKAGE@
2917 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
2919 install_sh_DATA = $(install_sh) -c -m 644
2921 NORMAL_UNINSTALL = :
2925 +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
2926 + $(srcdir)/Makefile.in $(srcdir)/config.h.in \
2927 + $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
2928 + compile depcomp install-sh missing
2929 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
2930 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac
2931 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
2933 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
2934 + configure.lineno configure.status.lineno
2935 +mkinstalldirs = $(install_sh) -d
2936 +CONFIG_HEADER = config.h
2937 +CONFIG_CLEAN_FILES =
2940 +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
2941 + html-recursive info-recursive install-data-recursive \
2942 + install-exec-recursive install-info-recursive \
2943 + install-recursive installcheck-recursive installdirs-recursive \
2944 + pdf-recursive ps-recursive uninstall-info-recursive \
2945 + uninstall-recursive
2948 +DIST_SUBDIRS = dos2unix drmingw pexports redir reimp res2coff scripts \
2950 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
2951 +distdir = $(PACKAGE)-$(VERSION)
2952 +top_distdir = $(distdir)
2953 +am__remove_distdir = \
2954 + { test ! -d $(distdir) \
2955 + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
2956 + && rm -fr $(distdir); }; }
2957 +DIST_ARCHIVES = $(distdir).tar.gz
2959 +distuninstallcheck_listfiles = find . -type f -print
2960 +distcleancheck_listfiles = find . -type f -print
2962 AMDEP_FALSE = @AMDEP_FALSE@
2963 AMDEP_TRUE = @AMDEP_TRUE@
2965 AUTOHEADER = @AUTOHEADER@
2966 AUTOMAKE = @AUTOMAKE@
2968 +BUILD_DRMINGW_FALSE = @BUILD_DRMINGW_FALSE@
2969 +BUILD_DRMINGW_TRUE = @BUILD_DRMINGW_TRUE@
2970 +BUILD_REDIR_FALSE = @BUILD_REDIR_FALSE@
2971 +BUILD_REDIR_TRUE = @BUILD_REDIR_TRUE@
2972 +BUILD_RES2COFF_FALSE = @BUILD_RES2COFF_FALSE@
2973 +BUILD_RES2COFF_TRUE = @BUILD_RES2COFF_TRUE@
2975 CCDEPMODE = @CCDEPMODE@
2978 am__include = @am__include@
2979 am__leading_dot = @am__leading_dot@
2980 am__quote = @am__quote@
2981 +am__tar = @am__tar@
2982 +am__untar = @am__untar@
2984 build_alias = @build_alias@
2987 libexecdir = @libexecdir@
2988 localstatedir = @localstatedir@
2990 +mkdir_p = @mkdir_p@
2991 oldincludedir = @oldincludedir@
2993 program_transform_name = @program_transform_name@
2994 @@ -120,45 +164,48 @@
2995 sharedstatedir = @sharedstatedir@
2996 sysconfdir = @sysconfdir@
2997 target_alias = @target_alias@
2998 -SUBDIRS = dos2unix drmingw pexports redir reimp res2coff scripts unix2dos
3000 +@BUILD_DRMINGW_TRUE@DRMINGW = drmingw
3001 +@BUILD_REDIR_TRUE@REDIR = redir
3002 +@BUILD_RES2COFF_TRUE@RES2COFF = res2coff
3003 +SUBDIRS = dos2unix $(DRMINGW) pexports ${REDIR} reimp ${RES2COFF} scripts unix2dos
3004 +EXTRA_DIST = dos2unix/dos2unix.1 unix2dos/unix2dos.1
3005 instdir = /tmp/$(PACKAGE)-$(VERSION)
3007 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
3008 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
3009 -CONFIG_HEADER = config.h
3010 -CONFIG_CLEAN_FILES =
3013 -RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
3014 - ps-recursive install-info-recursive uninstall-info-recursive \
3015 - all-recursive install-data-recursive install-exec-recursive \
3016 - installdirs-recursive install-recursive uninstall-recursive \
3017 - check-recursive installcheck-recursive
3018 -DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
3019 - COPYING ChangeLog INSTALL Makefile.am NEWS aclocal.m4 compile \
3020 - config.h.in configure configure.ac depcomp install-sh missing \
3022 -DIST_SUBDIRS = $(SUBDIRS)
3024 $(MAKE) $(AM_MAKEFLAGS) all-recursive
3028 -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
3030 -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
3033 +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
3034 + @for dep in $?; do \
3035 + case '$(am__configure_deps)' in \
3037 + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
3038 + cd $(srcdir) && $(AUTOMAKE) --gnu \
3043 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
3044 cd $(top_srcdir) && \
3045 $(AUTOMAKE) --gnu Makefile
3046 -Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
3047 - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
3048 +.PRECIOUS: Makefile
3049 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
3051 + *config.status*) \
3052 + echo ' $(SHELL) ./config.status'; \
3053 + $(SHELL) ./config.status;; \
3055 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
3056 + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
3059 -$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
3060 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
3061 $(SHELL) ./config.status --recheck
3062 -$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
3063 - cd $(srcdir) && $(AUTOCONF)
3065 -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.ac
3066 +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
3067 + cd $(srcdir) && $(AUTOCONF)
3068 +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
3069 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
3072 @@ -170,10 +217,10 @@
3073 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
3075 cd $(top_builddir) && $(SHELL) ./config.status config.h
3077 -$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.ac $(ACLOCAL_M4)
3078 +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
3079 cd $(top_srcdir) && $(AUTOHEADER)
3080 - touch $(srcdir)/config.h.in
3085 -rm -f config.h stamp-h1
3086 @@ -186,7 +233,13 @@
3087 # (which will cause the Makefiles to be regenerated when you run `make');
3088 # (2) otherwise, pass the desired values on the `make' command line.
3089 $(RECURSIVE_TARGETS):
3090 - @set fnord $$MAKEFLAGS; amf=$$2; \
3091 + @failcom='exit 1'; \
3092 + for f in x $$MAKEFLAGS; do \
3094 + *=* | --[!k]*);; \
3095 + *k*) failcom='fail=yes';; \
3099 target=`echo $@ | sed s/-recursive//`; \
3100 list='$(SUBDIRS)'; for subdir in $$list; do \
3102 local_target="$$target"; \
3104 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
3105 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
3106 + || eval $$failcom; \
3108 if test "$$dot_seen" = "no"; then \
3109 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
3110 @@ -206,7 +259,13 @@
3112 mostlyclean-recursive clean-recursive distclean-recursive \
3113 maintainer-clean-recursive:
3114 - @set fnord $$MAKEFLAGS; amf=$$2; \
3115 + @failcom='exit 1'; \
3116 + for f in x $$MAKEFLAGS; do \
3118 + *=* | --[!k]*);; \
3119 + *k*) failcom='fail=yes';; \
3124 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
3126 local_target="$$target"; \
3128 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
3129 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
3130 + || eval $$failcom; \
3131 done && test -z "$$fail"
3133 list='$(SUBDIRS)'; for subdir in $$list; do \
3134 @@ -238,14 +297,6 @@
3135 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
3146 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
3147 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
3148 unique=`for i in $$list; do \
3149 @@ -254,19 +305,22 @@
3150 $(AWK) ' { files[$$0] = 1; } \
3151 END { for (i in files) print i; }'`; \
3155 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
3156 $(TAGS_FILES) $(LISP)
3159 - if (etags --etags-include --version) >/dev/null 2>&1; then \
3160 + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
3161 include_option=--etags-include; \
3164 include_option=--include; \
3167 list='$(SUBDIRS)'; for subdir in $$list; do \
3168 if test "$$subdir" = .; then :; else \
3169 - test -f $$subdir/TAGS && \
3170 + test ! -f $$subdir/TAGS || \
3171 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
3174 @@ -276,10 +330,11 @@
3176 $(AWK) ' { files[$$0] = 1; } \
3177 END { for (i in files) print i; }'`; \
3178 - test -z "$(ETAGS_ARGS)$$tags$$unique" \
3179 - || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
3182 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
3183 + test -n "$$unique" || unique=$$empty_fix; \
3184 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
3185 + $$tags $$unique; \
3188 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
3189 $(TAGS_FILES) $(LISP)
3190 @@ -302,24 +357,11 @@
3193 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
3194 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
3197 -distdir = $(PACKAGE)-$(VERSION)
3199 -am__remove_distdir = \
3200 - { test ! -d $(distdir) \
3201 - || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
3202 - && rm -fr $(distdir); }; }
3205 -distuninstallcheck_listfiles = find . -type f -print
3206 -distcleancheck_listfiles = find . -type f -print
3208 distdir: $(DISTFILES)
3209 $(am__remove_distdir)
3211 - $(mkinstalldirs) $(distdir)/scripts
3212 + $(mkdir_p) $(distdir)/dos2unix $(distdir)/scripts $(distdir)/unix2dos
3213 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
3214 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
3215 list='$(DISTFILES)'; for file in $$list; do \
3217 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
3218 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
3220 - $(mkinstalldirs) "$(distdir)$$dir"; \
3221 + $(mkdir_p) "$(distdir)$$dir"; \
3225 @@ -346,15 +388,17 @@
3229 - list='$(SUBDIRS)'; for subdir in $$list; do \
3230 + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
3231 if test "$$subdir" = .; then :; else \
3232 - test -d $(distdir)/$$subdir \
3233 - || mkdir $(distdir)/$$subdir \
3234 + test -d "$(distdir)/$$subdir" \
3235 + || $(mkdir_p) "$(distdir)/$$subdir" \
3237 + distdir=`$(am__cd) $(distdir) && pwd`; \
3238 + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
3240 $(MAKE) $(AM_MAKEFLAGS) \
3241 - top_distdir="$(top_distdir)" \
3242 - distdir=../$(distdir)/$$subdir \
3243 + top_distdir="$$top_distdir" \
3244 + distdir="$$distdir/$$subdir" \
3248 @@ -365,19 +409,46 @@
3249 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
3250 || chmod -R a+r $(distdir)
3252 - $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
3253 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
3254 + $(am__remove_distdir)
3256 +dist-bzip2: distdir
3257 + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
3258 + $(am__remove_distdir)
3261 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
3262 + $(am__remove_distdir)
3265 + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
3266 + $(am__remove_distdir)
3269 + -rm -f $(distdir).zip
3270 + zip -rq $(distdir).zip $(distdir)
3271 $(am__remove_distdir)
3273 dist dist-all: distdir
3274 - $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
3275 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
3276 $(am__remove_distdir)
3278 # This target untars the dist file and tries a VPATH configuration. Then
3279 # it guarantees that the distribution is self-contained by making another
3282 - $(am__remove_distdir)
3283 - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
3284 + case '$(DIST_ARCHIVES)' in \
3286 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
3288 + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
3290 + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
3292 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
3294 + unzip $(distdir).zip ;;\
3296 chmod -R a-w $(distdir); chmod a+w $(distdir)
3297 mkdir $(distdir)/_build
3298 mkdir $(distdir)/_inst
3299 @@ -397,19 +468,20 @@
3300 distuninstallcheck \
3301 && chmod -R a-w "$$dc_install_base" \
3303 - (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
3304 + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
3305 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
3306 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
3307 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
3308 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
3309 } || { rm -rf "$$dc_destdir"; exit 1; }) \
3310 && rm -rf "$$dc_destdir" \
3311 - && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
3312 - && rm -f $(distdir).tar.gz \
3313 + && $(MAKE) $(AM_MAKEFLAGS) dist \
3314 + && rm -rf $(DIST_ARCHIVES) \
3315 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
3316 $(am__remove_distdir)
3317 - @echo "$(distdir).tar.gz is ready for distribution" | \
3318 - sed 'h;s/./=/g;p;x;p;x'
3319 + @(echo "$(distdir) archives ready for distribution: "; \
3320 + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
3321 + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
3323 @cd $(distuninstallcheck_dir) \
3324 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
3326 all-am: Makefile config.h
3327 installdirs: installdirs-recursive
3330 install: install-recursive
3331 install-exec: install-exec-recursive
3332 install-data: install-data-recursive
3337 - -rm -f $(CONFIG_CLEAN_FILES)
3338 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
3340 maintainer-clean-generic:
3341 @echo "This command is intended for maintainers to use"
3346 +html: html-recursive
3348 info: info-recursive
3351 @@ -507,22 +580,20 @@
3353 uninstall-info: uninstall-info-recursive
3355 -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
3356 - clean-generic clean-recursive ctags ctags-recursive dist \
3357 - dist-all dist-gzip distcheck distclean distclean-generic \
3358 - distclean-hdr distclean-recursive distclean-tags distcleancheck \
3359 - distdir distuninstallcheck dvi dvi-am dvi-recursive info \
3360 - info-am info-recursive install install-am install-data \
3361 - install-data-am install-data-recursive install-exec \
3362 - install-exec-am install-exec-recursive install-info \
3363 - install-info-am install-info-recursive install-man \
3364 - install-recursive install-strip installcheck installcheck-am \
3365 - installdirs installdirs-am installdirs-recursive \
3366 - maintainer-clean maintainer-clean-generic \
3367 - maintainer-clean-recursive mostlyclean mostlyclean-generic \
3368 - mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \
3369 - ps-recursive tags tags-recursive uninstall uninstall-am \
3370 - uninstall-info-am uninstall-info-recursive uninstall-recursive
3371 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
3372 + check-am clean clean-generic clean-recursive ctags \
3373 + ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \
3374 + dist-tarZ dist-zip distcheck distclean distclean-generic \
3375 + distclean-hdr distclean-recursive distclean-tags \
3376 + distcleancheck distdir distuninstallcheck dvi dvi-am html \
3377 + html-am info info-am install install-am install-data \
3378 + install-data-am install-exec install-exec-am install-info \
3379 + install-info-am install-man install-strip installcheck \
3380 + installcheck-am installdirs installdirs-am maintainer-clean \
3381 + maintainer-clean-generic maintainer-clean-recursive \
3382 + mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
3383 + pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
3389 ===================================================================
3390 --- /dev/null 2006-05-26 19:54:25.455722750 -0700
3391 +++ dos2unix/dos2unix.1 2002-04-10 06:39:04.000000000 -0700
3394 +.TH dos2unix 1 "dos2unix v3.0" "1995.03.31"
3398 +dos2unix \- DOS/MAC to UNIX text file format converter
3402 +dos2unix [options] [-c convmode] [-o file ...] [-n infile outfile ...]
3406 +[-hkqV] [--help] [--keepdate] [--quiet] [--version]
3411 +This manual page documents dos2unix, the program that converts plain text
3412 +files in DOS/MAC format to UNIX format.
3416 +The following options are available:
3423 +Keep the date stamp of output file same as input file.
3427 +Quiet mode. Suppress all warning and messages.
3431 +Prints version information.
3434 +.B \-c --convmode convmode
3435 +Sets conversion mode. Simulates dos2unix under SunOS.
3438 +.B \-o --oldfile file ...
3439 +Old file mode. Convert the file and write output to it. The program
3440 +default to run in this mode. Wildcard names may be used.
3443 +.B \-n --newfile infile outfile ...
3444 +New file mode. Convert the infile and write output to outfile. File names
3445 +must be given in pairs and wildcard names should NOT be used or you WILL
3451 +Get input from stdin and write output to stdout.
3456 +Convert and replace a.txt. Convert and replace b.txt.
3458 +.B dos2unix a.txt b.txt
3460 +.B dos2unix -o a.txt b.txt
3463 +Convert and replace a.txt in ASCII conversion mode.
3464 +Convert and replace b.txt in ISO conversion mode.
3465 +Convert c.txt from Mac to Unix ascii format.
3467 +.B dos2unix a.txt -c iso b.txt
3469 +.B dos2unix -c ascii a.txt -c iso b.txt
3471 +.B dos2unix -c mac a.txt b.txt
3474 +Convert and replace a.txt while keeping original date stamp.
3476 +.B dos2unix -k a.txt
3478 +.B dos2unix -k -o a.txt
3481 +Convert a.txt and write to e.txt.
3483 +.B dos2unix -n a.txt e.txt
3486 +Convert a.txt and write to e.txt, keep date stamp of e.txt same as a.txt.
3488 +.B dos2unix -k -n a.txt e.txt
3491 +Convert and replace a.txt. Convert b.txt and write to e.txt.
3493 +.B dos2unix a.txt -n b.txt e.txt
3495 +.B dos2unix -o a.txt -n b.txt e.txt
3498 +Convert c.txt and write to e.txt. Convert and replace a.txt.
3499 +Convert and replace b.txt. Convert d.txt and write to f.txt.
3501 +.B dos2unix -n c.txt e.txt -o a.txt b.txt -n d.txt f.txt
3507 +The program does not work properly under MSDOS in stdio processing mode.
3508 +If you know why is that so, please tell me.
3513 +.B <blin@socs.uts.edu.au>
3516 +Bernd Johannes Wuebben (mac2unix mode)
3517 +.B <wuebben@kde.org>
3522 +Tested environment:
3524 +Linux 1.2.0 with GNU C 2.5.8
3526 +SunOS 4.1.3 with GNU C 2.6.3
3528 +MS-DOS 6.20 with Borland C++ 4.02
3530 +Suggestions and bug reports are welcome.
3533 +unix2dos(1) mac2unix(1)
3536 ===================================================================
3537 --- /dev/null 2006-05-26 19:54:25.455722750 -0700
3538 +++ unix2dos/unix2dos.1 2002-04-10 06:39:07.000000000 -0700
3541 +.TH unix2dos 1 "unix2dos v2.2" "1995.03.31"
3545 +unix2dos \- UNIX to DOS text file format converter
3549 +unix2dos [options] [-c convmode] [-o file ...] [-n infile outfile ...]
3553 +[-hkqV] [--help] [--keepdate] [--quiet] [--version]
3558 +This manual page documents dos2unix, the program that converts text
3559 +files in UNIX format to DOS format.
3563 +The following options are available:
3570 +Keep the date stamp of output file same as input file.
3574 +Quiet mode. Suppress all warning and messages.
3578 +Prints version information.
3581 +.B \-c --convmode convmode
3582 +Sets conversion mode. Simulates dos2unix under SunOS.
3585 +.B \-o --oldfile file ...
3586 +Old file mode. Convert the file and write output to it. The program
3587 +default to run in this mode. Wildcard names may be used.
3590 +.B \-n --newfile infile outfile ...
3591 +New file mode. Convert the infile and write output to outfile. File names
3592 +must be given in pairs and wildcard names should NOT be used or you WILL
3598 +Get input from stdin and write output to stdout.
3603 +Convert and replace a.txt. Convert and replace b.txt.
3605 +.B unix2dos a.txt b.txt
3607 +.B unix2dos -o a.txt b.txt
3610 +Convert and replace a.txt in ASCII conversion mode.
3611 +Convert and replace b.txt in ISO conversion mode.
3613 +.B dos2unix a.txt -c iso b.txt
3615 +.B dos2unix -c ascii a.txt -c iso b.txt
3618 +Convert and replace a.txt while keeping original date stamp.
3620 +.B unix2dos -k a.txt
3622 +.B unix2dos -k -o a.txt
3625 +Convert a.txt and write to e.txt.
3627 +.B unix2dos -n a.txt e.txt
3630 +Convert a.txt and write to e.txt, keep date stamp of e.txt same as a.txt.
3632 +.B unix2dos -k -n a.txt e.txt
3635 +Convert and replace a.txt. Convert b.txt and write to e.txt.
3637 +.B unix2dos a.txt -n b.txt e.txt
3639 +.B unix2dos -o a.txt -n b.txt e.txt
3642 +Convert c.txt and write to e.txt. Convert and replace a.txt.
3643 +Convert and replace b.txt. Convert d.txt and write to f.txt.
3645 +.B unix2dos -n c.txt e.txt -o a.txt b.txt -n d.txt f.txt
3651 +The program does not work properly under MSDOS in stdio processing mode.
3652 +If you know why is that so, please tell me.
3657 +.B blin@socs.uts.edu.au
3662 +Tested environment:
3664 +Linux 1.2.0 with GNU C 2.5.8
3666 +SunOS 4.1.3 with GNU C 2.6.3
3668 +MS-DOS 6.20 with Borland C++ 4.02
3670 +Suggestions and bug reports are welcome.