]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - configure.ac
Check /dev/rtc or /dev/rtc0 existence.
[projects/rc-scripts.git] / configure.ac
index ee1fe339c9c629b2ab1f837a7197fff1550bec50..f8b80f68342c8cf986da584652590115a4628b25 100644 (file)
@@ -1,6 +1,6 @@
 dnl $Id$
 
-AC_INIT(["rc-scripts"], [0.4.0.17], [pld-rc-scripts@pld-linux.org], [rc-scripts])
+AC_INIT(["rc-scripts"], [0.4.3.8], [pld-rc-scripts@lists.pld-linux.org], [rc-scripts])
 AM_INIT_AUTOMAKE
 
 ALL_LINGUAS="pl de"
@@ -9,7 +9,7 @@ echo -n "Finding shell scripts"
 SHSCRIPTS=""
 for shfile in $(find ${srcdir}/rc.d ${srcdir}/sysconfig ! -path "*/\.*/*" ! -name "*~" -type f); do
     echo -n "."
-    if (LANG=C file ${shfile} | grep -q 'shell script'); then
+    if (LC_ALL=C file ${shfile} | grep -q 'shell script'); then
        SHSCRIPTS="${SHSCRIPTS} ${shfile}"
     fi
 done
@@ -28,6 +28,8 @@ updir='${sysconfigdir}/interfaces/up.d'
 downdir='${sysconfigdir}/interfaces/down.d'
 networkscriptsdir='${sysconfigdir}/network-scripts'
 rcdir='${sysconfdir}/rc.d'
+initdir='${sysconfdir}/init'
+firmwaredir='${exec_prefix}/lib/firmware'
 docdir="${prefix}/doc/$PACKAGE-$VERSION"
 
 dnl i18n support
@@ -90,7 +92,7 @@ DPKG_C_GCC_ATTRIBUTE([,,],supported,[int x],[,,],ATTRIB,[Define if function attr
   DPKG_C_GCC_ATTRIBUTE(format...,format,[char *y, ...],[format(printf,1,2)],PRINTFFORMAT,[Define if printf-format argument lists a la GCC are available.]))
 
 AC_CHECK_TYPE(ptrdiff_t,int)
-AC_CHECK_HEADERS([stddef.h])
+AC_CHECK_HEADERS([stddef.h sys/capability.h])
 
 dnl Output
 AC_SUBST(BASHSCRIPTS)
@@ -106,7 +108,9 @@ AC_SUBST(sysconfigdir)
 AC_SUBST(updir)
 AC_SUBST(downdir)
 AC_SUBST(rcdir)
+AC_SUBST(initdir)
 AC_SUBST(docdir)
+AC_SUBST(firmwaredir)
 AC_SUBST(GLIBDIR)
 AC_SUBST(GLIBNAME)
 AC_SUBST(GCFLAGS)
@@ -203,6 +207,7 @@ AC_CONFIG_FILES([Makefile \
        ppp/Makefile \
        isapnp/Makefile \
        sysconfig/Makefile \
+       sysconfig/cpusets/Makefile \
        sysconfig/hwprofiles/Makefile \
        sysconfig/network-scripts/Makefile \
        sysconfig/interfaces/Makefile \
@@ -221,5 +226,6 @@ AC_CONFIG_FILES([Makefile \
        sysconfig/interfaces/down.d/tnl/Makefile \
        rc.d/Makefile rc.d/init.d/Makefile \
        po/Makefile \
-       rc-scripts.spec])
+       init/Makefile \
+       ])
 AC_OUTPUT
This page took 0.088163 seconds and 4 git commands to generate.