"Fossies" - the Fresh Open Source Software Archive

Member "dehtml-1.8/configure.in" (11 Jan 2011, 945 Bytes) of package /linux/www/old/dehtml-1.8.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 AC_INIT(dehtml.c)
    2 AC_CONFIG_HEADER(config.h)
    3 AC_CANONICAL_HOST
    4 VERSION=1.8
    5 UPDATED_EN='January 11, 2011'
    6 UPDATED_DE='11. Januar 2011'
    7 
    8 ALL_LINGUAS="de"
    9 
   10 if test "$prefix" = NONE
   11 then
   12   case $host in
   13     *-linux-*)
   14       PIPE="-pipe "
   15     ;;
   16   esac
   17 fi
   18 
   19 AC_PROG_CC
   20 if test "$GCC" = yes
   21 then
   22   CFLAGS="${CFLAGS} ${PIPE}-Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common"
   23   LDFLAGS="${LDFLAGS} -g"
   24 fi
   25 
   26 AC_PROG_INSTALL
   27 
   28 USE_NLS=no
   29 AC_CHECK_PROG(MSGFMT,msgfmt,yes,no)
   30 if test "$MSGFMT" = yes
   31 then
   32   AC_CHECK_HEADERS(libintl.h,[LIBINTL=yes])
   33   if test "$LIBINTL" = yes
   34   then
   35     AC_SEARCH_LIBS(gettext,intl,[AC_DEFINE(HAVE_GETTEXT) USE_NLS=yes])
   36   fi
   37 fi
   38 
   39 AC_SYS_LARGEFILE
   40 
   41 AC_DEFINE_UNQUOTED(VERSION,"$VERSION")
   42 AC_SUBST(VERSION)
   43 AC_SUBST(UPDATED_EN)
   44 AC_SUBST(UPDATED_DE)
   45 AC_SUBST(USE_NLS)
   46 AC_OUTPUT(Makefile dehtml.1.en dehtml.1.de)