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...)
pull/193/head
Michael R Sweet 17 years ago
parent 3fcd4256a7
commit a50d089c23
  1. 6
      Makefile.in
  2. 4125
      configure
  3. 5
      configure.in
  4. 1
      mxml.list.in

@ -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@

4125
configure vendored

File diff suppressed because it is too large Load Diff

@ -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"

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

Loading…
Cancel
Save