• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1dnl Example for use of GNU gettext.
2dnl This file is in the public domain.
3dnl
4dnl Configuration file - processed by autoconf.
5
6AC_INIT([hello-ycp], [0])
7AC_CONFIG_SRCDIR([hello.ycp])
8AM_INIT_AUTOMAKE([1.11])
9
10dnl Check for availability of YaST's engine.
11test -f /usr/lib/YaST2/bin/y2base || {
12  echo "*** Essential program y2base not found" 1>&2
13  exit 1
14}
15
16dnl The installed program must know where to find its message catalogs.
17dnl Unfortunately, YaST hard codes the message catalog directory.
18localedir=/usr/share/YaST2/locale
19AC_SUBST([localedir])
20
21dnl Support for the po directory.
22AM_PO_SUBDIRS
23
24AC_CONFIG_FILES([Makefile])
25AC_CONFIG_FILES([m4/Makefile])
26AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
27AC_OUTPUT
28