File: xstd_common.ac

package info (click to toggle)
libecap 1.0.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,728 kB
  • sloc: sh: 10,170; cpp: 740; makefile: 91
file content (22 lines) | stat: -rw-r--r-- 490 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
dnl generally useful checks

dnl check for programs
AC_PROG_INSTALL

dnl these should be removed since they are not needed for libtool projects
AC_PROG_RANLIB
AC_PATH_PROG(AR, ar, ar)
AR_R="$AR r"
AC_SUBST(AR_R)

if test -z "$prefix" -o "$prefix" = "NONE"
then
	install_prefix="${ac_default_prefix}"
else
	install_prefix="${prefix}"
fi
echo "remembering installation prefix as $install_prefix"
AC_DEFINE_UNQUOTED(INSTALL_PREFIX, "$install_prefix", "installation prefix")


AC_PROG_MAKE_SET