From 71943895e4c1e9dfe9eb9c67a001046b27236177 Mon Sep 17 00:00:00 2001 From: "cantab.net!aia21" Date: Fri, 5 Mar 2004 23:19:25 +0000 Subject: [PATCH] Update (Logical change 1.298) --- ChangeLog | 3 +++ configure | 16 ++++++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6ea8ce4c..17a180fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -25,6 +25,9 @@ xx/xx/2004 - 1.8.6-WIP Fledel) - In attribute lookup code in libntfs/attrib.c, check type against AT_UNUSED and not zero. + - Add AC_CANONICAL_HOST([]) to configure.ac and after AC_PROG_CC add + manual provision of CC=gcc, AR=ar, and LD=ld if they are not set and + the target is *-*-*djgpp. (Requested by Christophe Grenier) 27/02/2004 - 1.8.5 - Springclean of the build process, cleanups, bug fixes - Fixup ntfsinfo a little bit and give its manpage a small update to diff --git a/configure b/configure index b824233f..79fe4950 100755 --- a/configure +++ b/configure @@ -2050,14 +2050,14 @@ fi; # but doesn't. So this sets host and erases nonopt effectively moving the # standalone command line option into the --host= form. if test "x$nonopt" != "xNONE"; then - host="$nonopt" - nonopt="NONE" + host="$nonopt" + nonopt="NONE" fi if test "x$prefix" = "xNONE"; then - prefix=$ac_default_prefix - ac_configure_args="$ac_configure_args --prefix $prefix" + prefix=$ac_default_prefix + ac_configure_args="$ac_configure_args --prefix $prefix" fi # Command-line options. @@ -18509,6 +18509,14 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool' + +case "$target" in +*-*-*djgpp) + if test -z "$CC"; then CC=gcc; fi + if test -z "$AR"; then AR=ar; fi + if test -z "$LD"; then LD=ld; fi +;; +esac # Enable large file support. # Check whether --enable-largefile or --disable-largefile was given.