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