mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-13 23:35:30 +00:00
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:
parent
3fcd4256a7
commit
a50d089c23
@ -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@
|
||||||
|
@ -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"
|
||||||
|
@ -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@
|
||||||
|
Loading…
Reference in New Issue
Block a user