Rogue V5: remove troublesome automatic platform detection.
configure.ac used AC_CANONICAL_SYSTEM to guess the GNU system description triplets. The target description was substituted into the Makefile and formatted into the filename for the binary distribution tarball. But 'target' is only intended for cross-compilers. 'host_os' might have been a better choice. The tarball filename can still be changed manually, by running make with an argument of 'DESTSYS=systemname'. Cross-compiling may be more difficult now, but I am not certain that it worked properly previously, and due to pending autoconf changes, it was likely to break anyway. The top-level config.guess and config.sub are no longer needed, but they may reappear if better support for cross-compilation is added.
This commit is contained in:
parent
b937606ef8
commit
c4365554c4
4 changed files with 1 additions and 3113 deletions
1500
config.guess
vendored
1500
config.guess
vendored
File diff suppressed because it is too large
Load diff
1608
config.sub
vendored
1608
config.sub
vendored
File diff suppressed because it is too large
Load diff
|
|
@ -68,7 +68,7 @@ GROUPOWNER = @GROUPOWNER@
|
||||||
CPPFLAGS =@DEFS@ @CPPFLAGS@
|
CPPFLAGS =@DEFS@ @CPPFLAGS@
|
||||||
|
|
||||||
#DISTFILE = $(PROGRAM)
|
#DISTFILE = $(PROGRAM)
|
||||||
DISTFILE = $(DISTNAME)-@TARGET@
|
DISTFILE = $(DISTNAME)-@DISTSYS@
|
||||||
|
|
||||||
INSTALL=@INSTALL@
|
INSTALL=@INSTALL@
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@ AC_INIT([Rogue],[5.4.5], [yendor@rogueforge.net])
|
||||||
AC_CONFIG_SRCDIR([armor.c])
|
AC_CONFIG_SRCDIR([armor.c])
|
||||||
AC_CONFIG_HEADER([config.h])
|
AC_CONFIG_HEADER([config.h])
|
||||||
AC_CONFIG_FILES([Makefile rogue.6 rogue.cat rogue.doc rogue.html rogue.me])
|
AC_CONFIG_FILES([Makefile rogue.6 rogue.cat rogue.doc rogue.html rogue.me])
|
||||||
AC_CANONICAL_SYSTEM([])
|
|
||||||
|
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
|
@ -276,9 +275,6 @@ AC_DEFINE_UNQUOTED([UTMP], [$enable_ucount], [utmp like file to pass to ucount()
|
||||||
AC_MSG_RESULT([$enable_ucount])
|
AC_MSG_RESULT([$enable_ucount])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
TARGET=$target
|
|
||||||
AC_SUBST(TARGET)
|
|
||||||
|
|
||||||
AC_MSG_CHECKING([whether to docdir is defined])
|
AC_MSG_CHECKING([whether to docdir is defined])
|
||||||
if test "x$docdir" = "x" ; then
|
if test "x$docdir" = "x" ; then
|
||||||
AC_MSG_RESULT([docdir undefined])
|
AC_MSG_RESULT([docdir undefined])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue