"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure.ac" between
libgphoto2-2.5.26.tar.bz2 and libgphoto2-2.5.27.tar.bz2

About: libgphoto2 is a library that can be used by applications to access various digital cameras.

configure.ac  (libgphoto2-2.5.26.tar.bz2):configure.ac  (libgphoto2-2.5.27.tar.bz2)
dnl Process this file with autoreconf to produce a configure script. dnl Process this file with autoreconf to produce a configure script.
AC_PREREQ(2.62) AC_PREREQ(2.62)
dnl NOTE: Be version style _higher_ than the last release. dnl NOTE: Be version style _higher_ than the last release.
dnl So lastversion.X.trunk for instance. Bump X if necessary. dnl So lastversion.X.trunk for instance. Bump X if necessary.
dnl ******* THE NEXT RELEASE VERSION MUST BE 2.5.26 at least or higher! dnl ******* THE NEXT RELEASE VERSION MUST BE 2.5.28 at least or higher!
AC_INIT([libgphoto2 photo camera library], [2.5.26], [gphoto-devel@lists.sourcef AC_INIT([libgphoto2 photo camera library], [2.5.27], [gphoto-devel@lists.sourcef
orge.net], [libgphoto2]) orge.net], [libgphoto2])
AC_CONFIG_SRCDIR([libgphoto2/gphoto2-version.c]) AC_CONFIG_SRCDIR([libgphoto2/gphoto2-version.c])
AC_CONFIG_HEADERS([config.h]) AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([auto-m4]) AC_CONFIG_MACRO_DIR([auto-m4])
AC_CONFIG_AUX_DIR([auto-aux]) AC_CONFIG_AUX_DIR([auto-aux])
dnl Working around bug in automake <= 1.9.6: dnl Working around bug in automake <= 1.9.6:
dnl - Please do not add filename-length-max=99 here. dnl - Please do not add filename-length-max=99 here.
dnl - Otherwise "make distdir" will fail in gphoto-suite dnl - Otherwise "make distdir" will fail in gphoto-suite
dnl The generated Makefile rule fails to remove the absolute part at dnl The generated Makefile rule fails to remove the absolute part at
dnl the beginning of the /path/to/buildroot/PACKAGE-VERSION/foo/bar dnl the beginning of the /path/to/buildroot/PACKAGE-VERSION/foo/bar
dnl before determining the string length. However, the only relevant dnl before determining the string length. However, the only relevant
dnl string to determine the length of would be PACKAGE-VERSION/foo/bar dnl string to determine the length of would be PACKAGE-VERSION/foo/bar
AM_INIT_AUTOMAKE([-Wall foreign 1.9 dist-bzip2 check-news subdir-objects]) AM_INIT_AUTOMAKE([-Wall foreign 1.9 dist-bzip2 dist-xz check-news subdir-objects ])
# Use the silent-rules feature when possible. # Use the silent-rules feature when possible.
m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])]) m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])
AM_SILENT_RULES([no]) AM_SILENT_RULES([no])
GP_CHECK_SHELL_ENVIRONMENT GP_CHECK_SHELL_ENVIRONMENT
GP_CONFIG_MSG([Build]) GP_CONFIG_MSG([Build])
GP_CONFIG_MSG([Source code location],[${srcdir}]) GP_CONFIG_MSG([Source code location],[${srcdir}])
dnl --------------------------------------------------------------------------- dnl ---------------------------------------------------------------------------
skipping to change at line 311 skipping to change at line 311
AC_CHECK_HEADER(jpeglib.h,[ AC_CHECK_HEADER(jpeglib.h,[
AC_DEFINE(HAVE_LIBJPEG,1,[define if we found LIBJPEG and its headers]) AC_DEFINE(HAVE_LIBJPEG,1,[define if we found LIBJPEG and its headers])
LIBJPEG="-ljpeg" LIBJPEG="-ljpeg"
libjpeg_msg="yes" libjpeg_msg="yes"
]) ])
]) ])
]) ])
GP_CONFIG_MSG([JPEG mangling support],[${libjpeg_msg}]) GP_CONFIG_MSG([JPEG mangling support],[${libjpeg_msg}])
dnl --------------------------------------------------------------------------- dnl ---------------------------------------------------------------------------
dnl check for ws2_32
dnl ---------------------------------------------------------------------------
LIBWS232=""
libws232_msg="no"
AC_SUBST(LIBWS232)
AC_ARG_WITH([ws232], AS_HELP_STRING([--without-ws232], [Build without ws2_32 lib
rary (default: no)]))
AS_IF([test "x$with_ws232" != "xno"], [
AC_CHECK_LIB(ws2_32,WSAStartup,[
AC_CHECK_HEADER(winsock.h,[
AC_DEFINE(HAVE_LIBWS232,1,[define if we found LIBWS232 an
d its headers])
LIBWS232="-lws2_32"
libws232_msg="yes"
])
])
])
GP_CONFIG_MSG([Winsocket support (for PTP/IP)],[${libws232_msg}])
dnl ---------------------------------------------------------------------------
dnl check for libxml2 dnl check for libxml2
dnl --------------------------------------------------------------------------- dnl ---------------------------------------------------------------------------
GP_CHECK_LIBRARY([LIBXML2],[libxml-2.0],[>= 2.0], GP_CHECK_LIBRARY([LIBXML2],[libxml-2.0],[>= 2.0],
[libxml/parser.h],[xmlFirstElementChild],[],[], [libxml/parser.h],[xmlFirstElementChild],[],[],
[default-on], [default-on],
[http://xmlsoft.org] [http://xmlsoft.org]
) )
GP_CONFIG_MSG([XML support for Olympus E series],[${have_LIBXML2}]) GP_CONFIG_MSG([XML support for Olympus E series],[${have_LIBXML2}])
GP_CHECK_LIBRARY([LIBCURL],[libcurl],[>= 7.1], GP_CHECK_LIBRARY([LIBCURL],[libcurl],[>= 7.1],
skipping to change at line 363 skipping to change at line 381
dnl FIXME: AC_STRUCT_TIMEZONE dnl FIXME: AC_STRUCT_TIMEZONE
dnl --------------------------------------------------------------------------- dnl ---------------------------------------------------------------------------
dnl more header/function/def checks dnl more header/function/def checks
dnl --------------------------------------------------------------------------- dnl ---------------------------------------------------------------------------
dnl Checks for typedefs, structures, and compiler characteristics. dnl Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T AC_TYPE_SIZE_T
dnl Checks for library functions. dnl Checks for library functions.
AC_CHECK_FUNCS([getenv getopt getopt_long mkdir setenv strdup strncpy strcpy snp rintf sprintf vsnprintf gmtime_r statfs localtime_r lstat inet_aton rand_r]) AC_CHECK_FUNCS([getenv getopt getopt_long mkdir setenv strdup strncpy strcpy snp rintf sprintf vsnprintf gmtime_r statvfs localtime_r lstat inet_aton rand_r])
dnl Find out how to get struct tm dnl Find out how to get struct tm
AC_STRUCT_TM AC_STRUCT_TM
dnl Check for tm_gmtoff in struct tm dnl Check for tm_gmtoff in struct tm
AC_MSG_CHECKING([for tm_gmtoff in struct tm]) AC_MSG_CHECKING([for tm_gmtoff in struct tm])
AC_COMPILE_IFELSE([dnl AC_COMPILE_IFELSE([dnl
AC_LANG_PROGRAM([[ AC_LANG_PROGRAM([[
#include <sys/types.h> #include <sys/types.h>
#include <$ac_cv_struct_tm> #include <$ac_cv_struct_tm>
skipping to change at line 385 skipping to change at line 403
struct tm tm; struct tm tm;
tm.tm_gmtoff; tm.tm_gmtoff;
]])dnl ]])dnl
],[ ],[
AC_DEFINE(HAVE_TM_GMTOFF,1,whether struct tm has tm_gmtoff field) AC_DEFINE(HAVE_TM_GMTOFF,1,whether struct tm has tm_gmtoff field)
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
],[ ],[
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
]) ])
AC_CHECK_HEADERS([sys/mount.h sys/statfs.h sys/user.h sys/vfs.h],,,[ AC_CHECK_HEADERS([sys/mount.h sys/statvfs.h sys/user.h sys/vfs.h],,,[
#include <sys/types.h> #include <sys/types.h>
#if HAVE_SYS_PARAM_H #if HAVE_SYS_PARAM_H
# include <sys/param.h> # include <sys/param.h>
#endif #endif
]) ])
dnl Check for statfs members
AC_CHECK_MEMBERS([struct statfs.f_bfree, struct statfs.f_bavail, struct statfs.f
_favail],,,[
#include <sys/types.h>
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif
#ifdef HAVE_SYS_MOUNT_H
# include <sys/mount.h>
#endif
#ifdef HAVE_SYS_VFS_H
# include <sys/vfs.h>
#endif
#ifdef HAVE_SYS_STATFS_H
# include <sys/statfs.h>
#endif
])
AC_CHECK_MEMBERS([struct statvfs.f_blocks],,,[ AC_CHECK_MEMBERS([struct statvfs.f_blocks],,,[
#ifdef HAVE_SYS_STATVFS_H #ifdef HAVE_SYS_STATVFS_H
# include <sys/statvfs.h> # include <sys/statvfs.h>
#endif #endif
]) ])
dnl --------------------------------------------------------------------------- dnl ---------------------------------------------------------------------------
dnl Checks for integer types. dnl Checks for integer types.
dnl --------------------------------------------------------------------------- dnl ---------------------------------------------------------------------------
dnl dnl
 End of changes. 6 change blocks. 
24 lines changed or deleted 26 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)