dnl configure.in for yast2-CASA dnl dnl -- This file is generated by y2autoconf 2.13.18 - DO NOT EDIT! -- dnl (edit configure.in.in instead) AC_INIT(yast2-CASA, 1.6.0, http://bugs.opensuse.org/, yast2-CASA) dnl Check for presence of file 'RPMNAME' AC_CONFIG_SRCDIR([RPMNAME]) dnl Checking host/target/build systems, for make, install etc. AC_CANONICAL_TARGET dnl Perform program name transformation AC_ARG_PROGRAM AC_PREFIX_DEFAULT(/usr) AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs dnl Important YaST2 variables VERSION="1.6.0" RPMNAME="yast2-CASA" MAINTAINER="casa " dnl pkgconfig honors lib64 pkgconfigdir=\${libdir}/pkgconfig pkgconfigdatadir=\${datadir}/pkgconfig yast2dir=\${prefix}/share/YaST2 ybindir=\${prefix}/lib/YaST2/bin # FIXME duplicates execcompdir ystartupdir=\${prefix}/lib/YaST2 plugindir=\${libdir}/YaST2/plugin includedir=\${prefix}/include/YaST2 potdir=\${docdir}/pot docdir=\${prefix}/share/doc/packages/$RPMNAME mandir=\${prefix}/share/man execcompdir=\${prefix}/lib/YaST2 agentdir=${execcompdir}/servers_non_y2 ydatadir=${yast2dir}/data imagedir=${yast2dir}/images themedir=${yast2dir}/theme localedir=${yast2dir}/locale clientdir=${yast2dir}/clients moduledir=${yast2dir}/modules yncludedir=${yast2dir}/include schemadir=${yast2dir}/schema scrconfdir=${yast2dir}/scrconf desktopdir=\${prefix}/share/applications/YaST2 AC_SUBST(VERSION) AC_SUBST(RPMNAME) AC_SUBST(MAINTAINER) AC_SUBST(pkgconfigdir) AC_SUBST(pkgconfigdatadir) AC_SUBST(yast2dir) AC_SUBST(ybindir) AC_SUBST(ystartupdir) AC_SUBST(plugindir) AC_SUBST(includedir) AC_SUBST(potdir) AC_SUBST(execcompdir) AC_SUBST(docdir) AC_SUBST(mandir) AC_SUBST(ydatadir) AC_SUBST(imagedir) AC_SUBST(themedir) AC_SUBST(localedir) AC_SUBST(clientdir) AC_SUBST(moduledir) AC_SUBST(yncludedir) AC_SUBST(schemadir) AC_SUBST(scrconfdir) AC_SUBST(agentdir) AC_SUBST(desktopdir) fillupdir_d="/var/adm/fillup-templates" AC_ARG_WITH(fillupdir, AS_HELP_STRING([--with-fillupdir=DIR], [where to place fillup templates (default $fillupdir_d.]), [ fillupdir="$withval" ], [ fillupdir="$fillupdir_d" ]) AC_SUBST(fillupdir) dnl Checks for programs. AC_PROG_INSTALL dnl The YCP interpreter checks whether dependent ybc files are older dnl so we must preserve their timestamps INSTALL="${INSTALL} -p" AC_PROG_LN_S AC_PROG_MAKE_SET dnl pkgconfig AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) dnl devtools dnl ... dnl no need for AC_ARG_VAR AC_PATH_PROG(XGETTEXT, xgettext) if test -z "$XGETTEXT" ; then AC_MSG_ERROR(xgettext is missing; please install gettext-devel.) fi devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` dnl producing pkg-config for others? AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) dbdir=${devtools_yast2dir}/data/docbook STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl STYLESHEET_CSS=${dbdir}/css/yast2docs.css STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl AC_SUBST(STYLESHEET_HTML) AC_SUBST(STYLESHEET_PDF) AC_SUBST(STYLESHEET_CSS) AC_SUBST(STYLESHEET_YDOC) AC_SUBST(STYLESHEET_YCPDOC) AC_PATH_PROG(YCPDOC, ycpdoc, false, $PATH:$devtools_ybindir) if test "$YCPDOC" = "false"; then AC_MSG_ERROR([ycpdoc is not installed]) fi AC_PATH_PROG(YCPMAKEDEP, ycpmakedep, false, $PATH:$devtools_ybindir) if test "$YCPMAKEDEP" = "false"; then AC_MSG_ERROR([ycpmakedep is not installed]) fi AC_PATH_PROG(YCPC, ycpc, false, $PATH:$bindir) if test "$YCPC" = "false"; then AC_MSG_ERROR([ycpc is not installed]) fi AC_CONFIG_FILES(Makefile agents/Makefile src/Makefile pofiles/Makefile) AC_OUTPUT