summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorScott Fritzinger <scottf@unr.edu>2001-01-22 19:19:02 +0000
committerScott Fritzinger <scottf@unr.edu>2001-01-22 19:19:02 +0000
commit3dd042f1501e97af442c34310b50423b11e01312 (patch)
treee484a9422ef2e92d6ecdaeca1dbd9221c31e2837 /configure.in
parent00b15183476d549bbafe9cb6999bf93dd0ca4009 (diff)
downloadlibgphoto2-3dd042f1501e97af442c34310b50423b11e01312.tar.gz
added libgphoto2_port into tree. ouch.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1526 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in21
1 files changed, 11 insertions, 10 deletions
diff --git a/configure.in b/configure.in
index 4ba061b10..484277c1e 100644
--- a/configure.in
+++ b/configure.in
@@ -50,19 +50,20 @@ AC_TYPE_SIZE_T
dnl Checks for library functions.
AC_CHECK_FUNCS(mkdir strdup strncpy strcpy snprintf sprintf)
-AC_PATH_PROG(LIBGPIO_CONFIG,gpio-config)
-if test -n "${LIBGPIO_CONFIG}"; then
- CFLAGS="$CFLAGS `$LIBGPIO_CONFIG --cflags`"
- LIBS="$LIBS `$LIBGPIO_CONFIG --libs`"
-else
+AC_PATH_PROG(LIBGPPORT_CONFIG,gphoto2-port-config)
+if test -n "${LIBGPPORT_CONFIG}"; then
+ CFLAGS="$CFLAGS `$LIBGPPORT_CONFIG --cflags`"
+ LIBS="$LIBS `$LIBGPPORT_CONFIG --libs`"
+ else
AC_MSG_ERROR([
-***
-*** libgpio is required. Available from gPhoto's SourceForge CVS.
-*** Check http://www.gphoto.net/download.html for details.
-***])
- exit 1
+ ***
+ *** libgphoto2-port is not installed properly.
+ *** Type "cd libgphoto2_port; make; make install" to see what is wrong
+ ***])
+ exit 1
fi
+
LIBGPHOTO2_INCLUDEDIR='-I${includedir}'
LIBGPHOTO2_LIBDIR='-L${libdir}'
LIBGPHOTO2_LIBS="-lgphoto2"