]> granicus.if.org Git - mutt/commitdiff
More fixes to the build process. This version was tested to build
authorThomas Roessler <roessler@does-not-exist.org>
Sun, 4 Oct 1998 09:26:12 +0000 (09:26 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Sun, 4 Oct 1998 09:26:12 +0000 (09:26 +0000)
cleanly under SuSE Linux and IRIX.

Makefile.am
configure
configure.in

index 3f8d0627240c4f6ed205800230295da8946d6e79..d004f862af4b174ab65feeb0144470402eb11a01 100644 (file)
@@ -12,9 +12,9 @@ mutt_SOURCES =        addrbook.c alias.c attach.c browser.c buffy.c color.c \
        postpone.c query.c recvattach.c rfc822.c \
        rfc1524.c rfc2047.c score.c send.c sendlib.c signal.c sort.c \
        status.c system.c thread.c charset.c history.c lib.c
-       
-mutt_LDADD = @MUTT_LIB_OBJECTS@
-mutt_DEPENDENCIES = @MUTT_LIB_OBJECTS@
+
+mutt_LDADD = @MUTT_LIB_OBJECTS@ $(INTLLIBS)
+mutt_DEPENDENCIES = @MUTT_LIB_OBJECTS@ $(INTLDEPS)
 
 EXTRA_mutt_SOURCES = pgp.c pgpinvoke.c pgpkey.c pgppubring.c sha1dgst.c \
        gnupgparse.c resize.c snprintf.c dotlock.c pop.c imap.c socket.c
index ed9e070d254047ccff6752479073c1346dabfafa..709ebf73e3b72d96f053a5d58c681e30e112cc4b 100755 (executable)
--- a/configure
+++ b/configure
@@ -5097,6 +5097,8 @@ fi
    sed -e "/^#/d" -e "/^\$/d" -e "s,.*,        $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
        < $srcdir/po/POTFILES.in > po/POTFILES
   
+CPPFLAGS="$CPPFLAGS -I \$(srcdir)/intl"
+
 MUTTLOCALEDIR=$mutt_cv_prefix/$DATADIRNAME/locale
 
 cat >> confdefs.h <<EOF
index efb49c4eda469c003b3512365c7929b32d711f7f..242f5a6b64804afe0c75b62f74c21bb4eb5fed85 100644 (file)
@@ -441,6 +441,8 @@ AC_ARG_ENABLE(exact-address, [  --enable-exact-address     enable regeneration o
 AC_SUBST(MUTT_LIB_OBJECTS)
 
 AM_GNU_GETTEXT
+CPPFLAGS="$CPPFLAGS -I \$(srcdir)/intl"
+
 MUTTLOCALEDIR=$mutt_cv_prefix/$DATADIRNAME/locale
 AC_SUBST(MUTTLOCALEDIR)
 AC_DEFINE_UNQUOTED(MUTTLOCALEDIR, "$MUTTLOCALEDIR")