Add --with-archflags option.

Add datarootdir definition to silence new autoconf's brain damaged new
datarootdir variable (which as far as I can see is the same as the old
datadir, which is set to datarootdir all the time...)
This commit is contained in:
Michael R Sweet 2007-07-20 23:52:25 +00:00
parent 3fcd4256a7
commit a50d089c23
4 changed files with 2278 additions and 1977 deletions

View File

@ -22,12 +22,13 @@
AR = @AR@
ARFLAGS = @ARFLAGS@
ARCHFLAGS = @ARCHFLAGS@
CC = @CC@
CFLAGS = $(OPTIM) @CFLAGS@ @CPPFLAGS@
CFLAGS = $(OPTIM) $(ARCHFLAGS) @CFLAGS@ @CPPFLAGS@
CP = @CP@
DSO = @DSO@
DSOFLAGS = @DSOFLAGS@
LDFLAGS = $(OPTIM) @LDFLAGS@
LDFLAGS = $(OPTIM) $(ARCHFLAGS) @LDFLAGS@
INSTALL = @INSTALL@
LIBMXML = @LIBMXML@
LN = @LN@ -s
@ -45,6 +46,7 @@ SHELL = /bin/sh
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
datarootdir = @datarootdir@
includedir = @includedir@
libdir = @libdir@
mandir = @mandir@

4243
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -40,6 +40,11 @@ AC_ARG_WITH(ansi, [ --with-ansi set full ANSI C mode, default=no],
use_ansi="$withval",
use_ansi="no")
AC_ARG_WITH(archflags, [ --with-archflags set additional architecture flags, default=none],
ARCHFLAGS="$withval",
ARCHFLAGS="")
AC_SUBST(ARCHFLAGS)
AC_ARG_ENABLE(debug, [ --enable-debug turn on debugging, default=no],
if eval "test x$enable_debug = xyes"; then
OPTIM="-g"

View File

@ -20,6 +20,7 @@
$prefix=@prefix@
$exec_prefix=@exec_prefix@
$bindir=@bindir@
$datarootdir=@datarootdir@
$docdir=@docdir@
$includedir=@includedir@
$libdir=@libdir@