1999-12-02 18:07:38 -05:00
|
|
|
# process this file with autoconf to get a configure script
|
|
|
|
|
2007-02-14 00:29:18 -05:00
|
|
|
AC_INIT(libraw1394, 1.3.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
|
2007-02-14 00:29:18 -05:00
|
|
|
lt_major=10
|
|
|
|
lt_revision=0
|
|
|
|
lt_age=2
|
2000-06-22 12:22:00 -04:00
|
|
|
|
|
|
|
AC_SUBST(lt_major)
|
|
|
|
AC_SUBST(lt_revision)
|
|
|
|
AC_SUBST(lt_age)
|
|
|
|
|
2007-03-26 16:49:12 -04:00
|
|
|
AC_ARG_WITH(juju-dir,[ --with-juju-dir=<dir> Path to juju include files])
|
|
|
|
if ! test -z "$with_juju_dir" ; then
|
|
|
|
JUJU_DIR="$with_juju_dir"
|
|
|
|
LIB_SUBDIR=juju
|
|
|
|
AC_SUBST(JUJU_DIR)
|
|
|
|
else
|
|
|
|
LIB_SUBDIR=src
|
|
|
|
fi
|
|
|
|
AC_SUBST(LIB_SUBDIR)
|
|
|
|
|
|
|
|
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
|
2007-03-26 16:49:12 -04:00
|
|
|
juju/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
|
|
|
debian/Makefile
|
|
|
|
])
|