d8f9d1a448
Fix warning (and problem?) if AC_DISABLE_STATIC occurs after AM_PROG_LIBTOOL. svn path=/trunk/; revision=43
39 lines
744 B
Plaintext
39 lines
744 B
Plaintext
AC_INIT(gnome-shell, 0.0.1)
|
|
|
|
AC_CONFIG_AUX_DIR(config)
|
|
|
|
AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip])
|
|
AM_MAINTAINER_MODE
|
|
|
|
AC_CONFIG_HEADERS(config.h)
|
|
|
|
AC_DISABLE_STATIC
|
|
AC_PROG_CC
|
|
AM_PROG_LIBTOOL
|
|
|
|
GETTEXT_PACKAGE=gnome-shell
|
|
AC_SUBST(GETTEXT_PACKAGE)
|
|
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
|
|
[The prefix for our gettext translation domains.])
|
|
|
|
PKG_CHECK_MODULES(MUTTER_PLUGIN, gtk+-2.0 metacity-plugins gjs-gi-1.0)
|
|
|
|
changequote(,)dnl
|
|
if test "x$GCC" = "xyes"; then
|
|
case " $CFLAGS " in
|
|
*[\ \ ]-Wall[\ \ ]*) ;;
|
|
*) CFLAGS="$CFLAGS -Wall" ;;
|
|
esac
|
|
|
|
case " $OBJCFLAGS " in
|
|
*[\ \ ]-Wall[\ \ ]*) ;;
|
|
*) OBJCFLAGS="$OBJCFLAGS -Wall" ;;
|
|
esac
|
|
fi
|
|
changequote([,])dnl
|
|
|
|
AC_OUTPUT([
|
|
Makefile
|
|
src/Makefile
|
|
])
|