diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2020-02-17 06:38:37 +0100 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2020-02-17 06:38:37 +0100 |
commit | 1bc508235a400f08f3a9ef2e6c41455d086bd747 (patch) | |
tree | ace0543c30687b76d02d3c80c69c0a6e4093fb1b | |
parent | 2dfe9d288a9b13f9d41602e01826c1434c57c528 (diff) | |
download | libgphoto2-1bc508235a400f08f3a9ef2e6c41455d086bd747.tar.gz |
travis-ci: try finding out why configure aborts silently
-rw-r--r-- | .travis-script.sh | 6 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/.travis-script.sh b/.travis-script.sh index 96f92c85d..bea347023 100644 --- a/.travis-script.sh +++ b/.travis-script.sh @@ -18,6 +18,12 @@ cd "_build-${buildid}" abs_prefixdir="${abs_topsrcdir}/_root-${buildid}" +pkg-config --short-errors --print-errors --cflags --libs 'libexif >= 0.6.13' + +LIBEXIF_PKG_ERRORS="$(pkg-config --short-errors --print-errors --cflags --libs "libexif >= 0.6.13" 2>&1)" + +LIBEXIF_PKG_ERRORS=`pkg-config --short-errors --print-errors --cflags --libs "libexif >= 0.6.13" 2>&1` + if ../configure SLEEP=/bin/true --prefix="$abs_prefixdir" "$@" then echo "Configure successful." diff --git a/configure.ac b/configure.ac index b1f5d8151..255088981 100644 --- a/configure.ac +++ b/configure.ac @@ -602,6 +602,10 @@ dnl a file. dnl libexif is available from dnl http://www.sourceforge.net/projects/libexif dnl --------------------------------------------------------------------------- +LIBEXIF_PKG_ERRORS=`pkg-config --short-errors --print-errors --cflags --libs "libexif >= 0.6.13" 2>&1` +AC_MSG_CHECKING([test def of LIBEXIF_PKG_ERRORS]) +AC_MSG_RESULT([${LIBEXIF_PKG_ERRORS}]) + have_LIBEXIF=yes PKG_CHECK_MODULES([LIBEXIF], [libexif >= 0.6.13], [], [have_LIBEXIF=no]) |