configure.ac revision 1.1 1 dnl Example for use of GNU gettext.
2 dnl Copyright (C) 2003 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.ycp)
9 AM_INIT_AUTOMAKE(hello-ycp, 0)
10
11 dnl Check for availability of YaST's engine.
12 test -f /usr/lib/YaST2/bin/y2base || {
13 echo "*** Essential program y2base not found" 1>&2
14 exit 1
15 }
16
17 dnl The installed program must know where to find its message catalogs.
18 dnl Unfortunately, YaST hard codes the message catalog directory.
19 localedir=/usr/share/YaST2/locale
20 AC_SUBST(localedir)
21
22 dnl Support for the po directory.
23 AM_PO_SUBDIRS
24
25 AC_CONFIG_FILES([Makefile])
26 AC_CONFIG_FILES([m4/Makefile])
27 AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
28 AC_OUTPUT
29