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) (Logical change 1.298)edge.strict_endians
parent
0260c6db9c
commit
2658aaa398
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
AC_PREREQ(2.57)
|
||||
AC_INIT([ntfsprogs],[1.8.6-WIP],[linux-ntfs-dev@lists.sourceforge.net])
|
||||
AC_CANONICAL_HOST([])
|
||||
AC_CANONICAL_TARGET([])
|
||||
AC_CONFIG_SRCDIR([config.h.in])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
|
|
@ -98,6 +99,14 @@ AC_PROG_LN_S
|
|||
AC_PROG_MAKE_SET
|
||||
AC_PROG_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.
|
||||
AC_SYS_LARGEFILE
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue