summaryrefslogtreecommitdiff
path: root/configure.in
blob: 69617825a4fd14db08269b0fe0f75a6f849eac55 (plain)
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
38
39
40
41
42
43
44
AC_PREREQ(2.52)
dnl ==============================================================
dnl Process this file with autoconf to produce a configure script.
dnl ==============================================================
AC_INIT(setup-tools-backends, 0.26.0, http://bugzilla.gnome.org/enter_bug.cgi?product=GNOME%20System%20Tools)
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)

AC_ISC_POSIX
AC_PROG_CC
AM_PROG_CC_STDC
AM_PROG_LIBTOOL
AC_HEADER_STDC

dnl ==============================================================
dnl Set SCRIPTS_DIR & FILES_DIR
dnl ==============================================================
if test "x${prefix}" = "xNONE"; then
  scriptsdir="${ac_default_prefix}/share/setup-tool-backends/scripts"
  filesdir="${ac_default_prefix}/share/setup-tool-backends/files"
else
  scriptsdir="${prefix}/share/setup-tool-backends/scripts"
  filesdir="${prefix}/share/setup-tool-backends/files"
fi

dnl ==============================================================
dnl END: Set SCRIPTS_DIR & FILES_DIR
dnl ==============================================================

AC_SUBST(scriptsdir)
AC_SUBST(filesdir)

AC_OUTPUT([
Makefile
files/Makefile
])


echo "

Configuration (BACKENDS):

	The backends will be installed in : ${scriptsdir}
	The files will be installed in    : ${filesdir}
"