diff options
author | jbj <jbj> | 2005-01-17 17:10:32 +0000 |
---|---|---|
committer | jbj <jbj> | 2005-01-17 17:10:32 +0000 |
commit | d7160ae70a39a6fb97103dd7e63c0c52fee8cc20 (patch) | |
tree | 0e55fd9929ea06a25076a23fcaccbec1e7a2d4da | |
parent | 63dbd62fd1c4cd4b4acc5a5eb818833e5e129f55 (diff) | |
download | libpopt-d7160ae70a39a6fb97103dd7e63c0c52fee8cc20.tar.gz |
Mac OS X fiddles.
-rw-r--r-- | Makefile.am | 2 | ||||
-rwxr-xr-x | autogen.sh | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 3c2e618..59414db 100644 --- a/Makefile.am +++ b/Makefile.am @@ -37,7 +37,9 @@ include_HEADERS = popt.h usrlibdir = $(libdir)@MARK64@ usrlib_LTLIBRARIES = libpopt.la + libpopt_la_SOURCES = popt.c findme.c poptparse.c poptconfig.c popthelp.c +libpopt_la_LDFLAGS = @INTLLIBS@ man_MANS = popt.3 @@ -5,8 +5,18 @@ test -z "$srcdir" && srcdir=. THEDIR="`pwd`" +libtoolize=`which glibtoolize` +case $libtoolize in +/*) ;; +*) libtoolize=`which libtoolize` + case $libtoolize in + /*) ;; + *) libtoolize=libtoolize + esac +esac + cd "$srcdir" -libtoolize --copy --force +$libtoolize --copy --force aclocal autoheader automake -a -c |