1999-12-02 18:07:38 -05:00
|
|
|
# process this file with autoconf to get a configure script
|
|
|
|
|
2012-06-17 20:07:31 -04:00
|
|
|
AC_INIT(libraw1394, 2.1.0)
|
2004-10-30 18:49:27 -04:00
|
|
|
AC_CONFIG_SRCDIR(src/raw1394.h)
|
2000-05-28 17:00:56 -04:00
|
|
|
AM_CONFIG_HEADER(config.h)
|
|
|
|
|
2004-10-30 18:49:27 -04:00
|
|
|
dnl Checking if the NEWS file has been updated to reflect the current version.
|
|
|
|
AM_INIT_AUTOMAKE(check-news)
|
|
|
|
|
1999-12-02 18:07:38 -05:00
|
|
|
AC_PROG_CC
|
2004-10-30 18:49:27 -04:00
|
|
|
AC_PROG_LIBTOOL
|
2000-06-11 13:48:43 -04:00
|
|
|
AC_PROG_INSTALL
|
1999-12-02 18:07:38 -05:00
|
|
|
|
2000-09-10 18:18:49 -04:00
|
|
|
AC_CHECK_SIZEOF(void *, 8)
|
2001-01-18 20:11:48 -05:00
|
|
|
AC_C_CONST
|
|
|
|
AC_C_BIGENDIAN
|
2000-09-10 18:18:49 -04:00
|
|
|
|
2000-06-22 12:22:00 -04:00
|
|
|
# set the libtool so version numbers
|
2012-06-17 20:07:31 -04:00
|
|
|
lt_major=12
|
|
|
|
lt_revision=0
|
|
|
|
lt_age=1
|
2000-06-22 12:22:00 -04:00
|
|
|
|
|
|
|
AC_SUBST(lt_major)
|
|
|
|
AC_SUBST(lt_revision)
|
|
|
|
AC_SUBST(lt_age)
|
|
|
|
|
2007-05-30 01:11:30 -04:00
|
|
|
dnl Check to see if valgrind is available
|
|
|
|
AC_ARG_WITH(valgrind, AC_HELP_STRING([--with-valgrind],[compile with valgrind support]))
|
|
|
|
if test x$with_valgrind = xyes ; then
|
|
|
|
AC_CHECK_HEADERS(valgrind/valgrind.h)
|
2008-04-22 13:54:00 -04:00
|
|
|
fi
|
2008-04-22 13:51:50 -04:00
|
|
|
|
2007-03-26 16:49:12 -04:00
|
|
|
AC_ARG_WITH(fw-device-prefix,
|
|
|
|
[ --with-fw-device-prefix=<prefix> Prefix of firewire device file names (default "fw").],
|
|
|
|
[FW_DEVICE_PREFIX="\"$withval\""], [FW_DEVICE_PREFIX="\"fw\""])
|
|
|
|
AC_ARG_WITH(fw-device-dir,
|
|
|
|
[ --with-fw-device-dir=<dir> Directory to watch for firewire device files (default "/dev").],
|
|
|
|
[FW_DEVICE_DIR="\"$withval\""], [FW_DEVICE_DIR="\"/dev\""])
|
|
|
|
|
|
|
|
AC_DEFINE_UNQUOTED(FW_DEVICE_PREFIX, $FW_DEVICE_PREFIX,
|
|
|
|
[Prefix of firewire device file names.])
|
|
|
|
AC_DEFINE_UNQUOTED(FW_DEVICE_DIR, $FW_DEVICE_DIR,
|
|
|
|
[Directory to watch for firewire device files.])
|
2000-06-22 12:22:00 -04:00
|
|
|
|
2004-11-10 22:31:20 -05:00
|
|
|
#CFLAGS=${CFLAGS:-"-Wall"}
|
2001-02-27 20:21:15 -05:00
|
|
|
AC_OUTPUT([
|
|
|
|
Makefile
|
2003-07-17 13:28:56 -04:00
|
|
|
libraw1394.pc
|
2004-10-30 18:49:27 -04:00
|
|
|
libraw1394.spec
|
2001-02-27 20:21:15 -05:00
|
|
|
src/Makefile
|
2001-06-07 20:31:12 -04:00
|
|
|
tools/Makefile
|
2001-02-27 20:21:15 -05:00
|
|
|
doc/Makefile
|
|
|
|
doc/testlibraw.1
|
2001-06-07 20:31:12 -04:00
|
|
|
doc/sendiso.1
|
|
|
|
doc/dumpiso.1
|
2001-06-17 11:19:20 -04:00
|
|
|
doc/isodump.5
|
2001-02-27 20:21:15 -05:00
|
|
|
])
|