File: configure.in

package info (click to toggle)
xdelta 1.0.0-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 876 kB
  • ctags: 696
  • sloc: ansic: 5,154; sh: 4,717; lisp: 777; makefile: 64
file content (57 lines) | stat: -rw-r--r-- 1,133 bytes parent folder | download
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
45
46
47
48
49
50
51
52
53
54
55
56
57
dnl -*-Mode: C; comment-start: "dnl "-*-
dnl Process this file with autoconf to produce a configure script.
AC_REVISION([configure.in,v 1.2 1998/10/03 00:17:50 jmacd Exp])dnl
AC_INIT(xdelta.c)

dnl $Format: "AM_INIT_AUTOMAKE(xdelta, $ReleaseVersion$)" $
AM_INIT_AUTOMAKE(xdelta, 1.0.0)

AM_MAINTAINER_MODE

DEBUGFLAG=

AC_ARG_ENABLE(debug, [  --enable-debug          turn on debugging [default=no]],
if eval "test x$enable_debug = xyes"; then
  DEBUGFLAG="-g"
fi)

if test -n "$DEBUGFLAG"; then
  CFLAGS="$DEBUGFLAG $CFLAGS"
else
  if echo "$CFLAGS" | grep "\-O" > /dev/null 2> /dev/null; then
    CFLAGS="$CFLAGS"
  else
    CFLAGS="$CFLAGS -O3"
  fi
fi

AC_PROG_CC

if eval "test x$GCC = xyes"; then
  if echo "$CFLAGS" | grep "\-Wall" > /dev/null 2> /dev/null; then
    CFLAGS="$CFLAGS"
  else
    CFLAGS="$CFLAGS -Wall"
  fi
fi

AM_PROG_LIBTOOL
AC_HEADER_STDC
AC_PROG_MAKE_SET

AC_PATH_PROGS(EMACS, emacs xemacs, emacs)

top_srcdir_absolute=`pwd`
AC_SUBST(top_srcdir_absolute)

AM_PATH_GLIB(1.1.3)

CFLAGS="$CFLAGS $GLIB_CFLAGS"
LIBS="$LIBS $GLIB_LIBS"

AC_OUTPUT(Makefile
	  doc/Makefile
	  ser-comp,

	  chmod +x ser-comp
	  )