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