File: configure.in

package info (click to toggle)
multisync 0.82-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 17,240 kB
  • ctags: 5,497
  • sloc: ansic: 36,431; sh: 17,141; yacc: 1,377; makefile: 858
file content (33 lines) | stat: -rw-r--r-- 868 bytes parent folder | download | duplicates (4)
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
dnl Process this file with autoconf to produce a configure script.

AC_INIT(configure.in)
AM_INIT_AUTOMAKE(palm_sync, 0.82)
AM_CONFIG_HEADER(config.h)

pkg_modules="libgnomeui-2.0 glib-2.0"
PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
AC_SUBST(PACKAGE_CFLAGS)
AC_SUBST(PACKAGE_LIBS)

AC_ISC_POSIX
AC_PROG_CC
AM_PROG_CC_STDC
AC_HEADER_STDC
AC_DISABLE_STATIC
AC_PROG_LIBTOOL

AC_CHECK_LIB(pisock,pi_socket,,AC_MSG_ERROR(You must have libpisock libraries installed.))
AC_CHECK_HEADER(pi-socket.h,, AC_MSG_ERROR(You must have the libpisock-dev package installed.))

dnl Info for the RPM
MULTISYNC_TOP="../.."
AC_SUBST(VERSION)
AC_SUBST(prefix)
MULTISYNC_VERSION=`grep "#define VERSION" ${MULTISYNC_TOP}/config.h | sed -e 's/#define VERSION //g' | sed -e 's/\"//g'`
AC_SUBST(MULTISYNC_VERSION)

AC_OUTPUT([
Makefile
src/Makefile
${MULTISYNC_TOP}/specs/multisync-palm.spec
])