1 dnl Example for use of GNU gettext. 2 dnl Copyright (C) 2003-2004, 2006 Free Software Foundation, Inc. 3 dnl This file is in the public domain. 4 dnl 5 dnl Configuration file - processed by autoconf. 6 7 AC_INIT 8 AC_CONFIG_SRCDIR(hello.m) 9 AM_INIT_AUTOMAKE(hello-objc-gnome, 0) 10 11 AC_PROG_CC 12 AC_SUBST([OBJC],["$CC"]) 13 AC_SUBST([OBJCFLAGS],["$CFLAGS"]) 14 15 GNOME_INIT 16 OBGNOME_INCLUDES= 17 obgnome_prefix=`obgnome-config --prefix` 18 if test -n "$obgnome_prefix"; then 19 OBGNOME_INCLUDES="-I $obgnome_prefix/include" 20 fi 21 AC_SUBST([OBGNOME_INCLUDES]) 22 23 AC_CHECK_HEADERS([unistd.h]) 24 AM_GNU_GETTEXT([external]) 25 AM_GNU_GETTEXT_VERSION(0.15) 26 27 AC_CONFIG_FILES([Makefile]) 28 AC_CONFIG_FILES([m4/Makefile]) 29 AC_CONFIG_FILES([po/Makefile.in]) 30 AC_OUTPUT 31