view configure.in @ 5:fe4dc2bef842

Broke the configure script on purpose, Added files to note that: THIS_CVS_IS_NOT_UP_TO_DATE
author gqview
date Tue, 19 Sep 2000 15:04:17 +0000
parents e149abcda4eb
children 990fcf466906
line wrap: on
line source

AC_INIT(src/main.c)
AM_CONFIG_HEADER(config.h)

dnl note to CVS users:
CONFIGURE_IS_BROKEN_ON_PURPOSE()
dnl reason: This CVS is not used for GQview development, it was a test setup only.
dnl         (If CVS goes public, it will be here, though)

AM_INIT_AUTOMAKE(gqview, 0.8.1)

AM_MAINTAINER_MODE

AC_ISC_POSIX
AC_PROG_CC
AC_STDC_HEADERS
AC_ARG_PROGRAM

dnl reasonable guesses for where stuff is installed
if test "x$prefix" = "xNONE"; then
  prefix="/usr/local"
else
  prefix=$prefix
fi

AM_PATH_GTK(1.2.0,,AC_MSG_ERROR(GTK+ >= 1.2.0 not installed.))
AM_PATH_GDK_IMLIB(1.9,,AC_MSG_ERROR(Imlib >= 1.9 not installed.))

dnl CHECK_GNOME
  AC_PATH_PROG(GNOME_CONFIG,gnome-config,no)
  AM_CONDITIONAL(HAVE_GNOME, test $GNOME_CONFIG != no)
  if test "$GNOME_CONFIG" = no; then
    AC_MSG_RESULT(GNOME icon and menu entry will NOT be installed)
  else
    AC_MSG_RESULT(will install a GNOME icon and menu entry)
    AC_SUBST(GNOME_DATADIR)
    GNOME_DATADIR="`$GNOME_CONFIG --datadir`"
  fi

dnl utility conditional
AM_CONDITIONAL(FALSE, test "x" = "y")

dnl locale location for po
localedir='${prefix}/share/locale'
AC_SUBST(localedir)

ALL_LINGUAS="de es fr ja pt_BR ru sk tr zh_TW.Big5"
AM_GNU_GETTEXT

AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)

AC_OUTPUT([
Makefile
gqview.spec
intl/Makefile
po/Makefile.in
src/Makefile
src/icons/Makefile
])