From 4f6cbf3b3a751fdb42dc9fd9eb3fdca6e2dc3d4a Mon Sep 17 00:00:00 2001 From: Gus Hartmann Date: Fri, 27 Oct 2000 03:50:27 +0000 Subject: [PATCH] Put the camera libraries in alphabetical order in the --help message. Added checks for snprintf, sprintf, strncpy, and strcpy. It never hurts to check for these functions; it will improve portability. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1263 67ed7778-7388-44ab-90cf-0a291f65f57c --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index f3cc6b3e5..72e3c43a7 100644 --- a/configure.in +++ b/configure.in @@ -44,7 +44,7 @@ dnl Checks for typedefs, structures, and compiler characteristics. AC_TYPE_SIZE_T dnl Checks for library functions. -AC_CHECK_FUNCS(mkdir strdup) +AC_CHECK_FUNCS(mkdir strdup strncpy strcpy snprintf sprintf) AC_PATH_PROG(LIBGPIO_CONFIG,gpio-config) if test -n "${LIBGPIO_CONFIG}"; then @@ -89,7 +89,7 @@ AC_ARG_WITH(drivers, [ 'all' compiles all drivers; ] [ possible drivers are: ] [ barbie, canon, digita, directory, kodak, ] - [ konica, panasonic, sierra sonydscf1, minolta ], + [ konica, minolta, panasonic, sierra sonydscf1 ], drivers="$withval", drivers="all") if test "$drivers" = "all"; then for i in $camlibs; do