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@ AR = @AR@
ARFLAGS = @ARFLAGS@ ARFLAGS = @ARFLAGS@
ARCHFLAGS = @ARCHFLAGS@
CC = @CC@ CC = @CC@
CFLAGS = $(OPTIM) @CFLAGS@ @CPPFLAGS@ CFLAGS = $(OPTIM) $(ARCHFLAGS) @CFLAGS@ @CPPFLAGS@
CP = @CP@ CP = @CP@
DSO = @DSO@ DSO = @DSO@
DSOFLAGS = @DSOFLAGS@ DSOFLAGS = @DSOFLAGS@
LDFLAGS = $(OPTIM) @LDFLAGS@ LDFLAGS = $(OPTIM) $(ARCHFLAGS) @LDFLAGS@
INSTALL = @INSTALL@ INSTALL = @INSTALL@
LIBMXML = @LIBMXML@ LIBMXML = @LIBMXML@
LN = @LN@ -s LN = @LN@ -s
@ -45,6 +46,7 @@ SHELL = /bin/sh
prefix = @prefix@ prefix = @prefix@
exec_prefix = @exec_prefix@ exec_prefix = @exec_prefix@
bindir = @bindir@ bindir = @bindir@
datarootdir = @datarootdir@
includedir = @includedir@ includedir = @includedir@
libdir = @libdir@ libdir = @libdir@
mandir = @mandir@ 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="$withval",
use_ansi="no") 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], AC_ARG_ENABLE(debug, [ --enable-debug turn on debugging, default=no],
if eval "test x$enable_debug = xyes"; then if eval "test x$enable_debug = xyes"; then
OPTIM="-g" OPTIM="-g"

View File

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