nomius / ktsuss

ktsuss stands for "keep the su simple, stupid", and as the name says, is a graphical version of su written in C and GTK+ 2. The idea of the project is to remain simple and bug free...

This URL has Read+Write access

ktsuss / configure.ac
100644 37 lines (35 sloc) 0.754 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
dnl vim: set sw=8 sts=8 noet :
 
AC_INIT([ktsuss], [1.314], [dcortarello@gmail.com])
AC_PREREQ(2.5)
AM_INIT_AUTOMAKE(1.9)
AC_PROG_CC
AC_CONFIG_HEADER(config.h)
AC_PROG_CC_C_O
dnl check for required programs
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_RANLIB
AC_PROG_MAKE_SET
AC_TYPE_SIZE_T
AC_TYPE_PID_T
AC_C_BIGENDIAN
AC_C_INLINE
AC_CHECK_SIZEOF(int, 32)
PKG_CHECK_MODULES(DEPS, gtk+-2.0 >= 2.2 glib-2.0 >= 2.2)
AC_SUBST(DEPS_CFLAGS)
AC_SUBST(DEPS_LIBS)
AC_MSG_CHECKING([whether we can locate the su program])
supath=`which su 2>/dev/null`
if test "x$supath" = "x"; then
echo
AC_MSG_ERROR([Could not find su in PATH])
else
AC_DEFINE_UNQUOTED([SUPATH], "$supath", [su path])
echo $supath
fi
dnl output
AC_OUTPUT(
Makefile
src/Makefile
pixmaps/Makefile
)