Package: xastir / 2.1.4-1

geotiff_directory.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Debian put geotiff headers into subdirectory
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -36,6 +36,8 @@
 [
 AC_MSG_CHECKING([for search paths])
 
+test -d /usr/include/geotiff && CPPFLAGS="-I/usr/include/geotiff $CPPFLAGS"
+
 test -d /usr/local/include && CPPFLAGS="-I/usr/local/include $CPPFLAGS"
 test -d /usr/local/lib && LDFLAGS="-L/usr/local/lib $LDFLAGS"
 
--- a/configure
+++ b/configure
@@ -6080,6 +6080,8 @@
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for search paths" >&5
 $as_echo_n "checking for search paths... " >&6; }
 
+test -d /usr/include/geotiff && CPPFLAGS="-I/usr/include/geotiff $CPPFLAGS"
+
 test -d /usr/local/include && CPPFLAGS="-I/usr/local/include $CPPFLAGS"
 test -d /usr/local/lib && LDFLAGS="-L/usr/local/lib $LDFLAGS"