diff options
author | axel <axel@liljencrantz.se> | 2007-04-22 20:03:12 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2007-04-22 20:03:12 +1000 |
commit | 2872df66d70556b9f655c4a33ee3538674f554df (patch) | |
tree | bb34779292284827135f4148ba511a1ae2645c46 /configure.ac | |
parent | 45412f2b1f9b1b97fce85533a9d3fe0309e5c090 (diff) |
Add source code prettyfier program called fish_indent
darcs-hash:20070422100312-ac50b-a073999b7dc172259c8200f3e740c921647222a0.gz
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index 0d044bc1..d410f2d5 100644 --- a/configure.ac +++ b/configure.ac @@ -20,6 +20,7 @@ AC_SUBST( docdir ) AC_SUBST( HAVE_GETTEXT ) AC_SUBST( LDFLAGS_FISH ) AC_SUBST( LIBS_FISH ) +AC_SUBST( LIBS_FISH_INDENT ) AC_SUBST( LIBS_FISH_PAGER ) AC_SUBST( LIBS_FISHD ) AC_SUBST( LIBS_MIMEDB ) @@ -481,9 +482,20 @@ AC_SEARCH_LIBS( iconv_open, iconv, , [AC_MSG_ERROR([Could not find an iconv impl LIBS_FISH=$LIBS LIBS=$LIBS_COMMON +# +# Check for libraries needed by fish_indent. +# + +LIBS_COMMON=$LIBS +LIBS="" +if test x$local_gettext != xno; then + AC_SEARCH_LIBS( gettext, intl,,) +fi +LIBS_FISH_INDENT=$LIBS +LIBS=$LIBS_COMMON # -# Check for libraries needed by fishd. +# Check for libraries needed by fish_pager. # LIBS_COMMON=$LIBS @@ -492,12 +504,12 @@ if test x$local_gettext != xno; then AC_SEARCH_LIBS( gettext, intl,,) fi AC_SEARCH_LIBS( connect, socket, , [AC_MSG_ERROR([Cannot find the socket library, needed to build this package.] )] ) -LIBS_FISHD=$LIBS +AC_SEARCH_LIBS( setupterm, [ncurses curses], , [AC_MSG_ERROR([Could not find a curses implementation, needed to build fish])] ) +LIBS_FISH_PAGER=$LIBS LIBS=$LIBS_COMMON - # -# Check for libraries needed by mimedb. +# Check for libraries needed by fishd. # LIBS_COMMON=$LIBS @@ -505,12 +517,12 @@ LIBS="" if test x$local_gettext != xno; then AC_SEARCH_LIBS( gettext, intl,,) fi +AC_SEARCH_LIBS( connect, socket, , [AC_MSG_ERROR([Cannot find the socket library, needed to build this package.] )] ) LIBS_FISHD=$LIBS LIBS=$LIBS_COMMON - # -# Check for libraries needed by fish_pager. +# Check for libraries needed by mimedb. # LIBS_COMMON=$LIBS @@ -518,9 +530,7 @@ LIBS="" if test x$local_gettext != xno; then AC_SEARCH_LIBS( gettext, intl,,) fi -AC_SEARCH_LIBS( connect, socket, , [AC_MSG_ERROR([Cannot find the socket library, needed to build this package.] )] ) -AC_SEARCH_LIBS( setupterm, [ncurses curses], , [AC_MSG_ERROR([Could not find a curses implementation, needed to build fish])] ) -LIBS_FISH_PAGER=$LIBS +LIBS_FISHD=$LIBS LIBS=$LIBS_COMMON |