- release 2 (by relup.sh)
[packages/gdal.git] / gdal-fyba.patch
1 --- gdal-1.11.0/configure.in.orig       2014-05-12 21:49:57.910679098 +0200
2 +++ gdal-1.11.0/configure.in    2014-05-18 11:22:22.873992206 +0200
3 @@ -1480,23 +1480,11 @@
4  
5  elif test "$with_sosi" = "yes" -o "$with_sosi" = "" ; then
6  
7 -    AC_MSG_CHECKING([for libfyba.a, libfygm.a and libfyut.a in /usr/local/lib])
8 -    if test -r /usr/local/lib/libfyba.a -a -r /usr/local/lib/libfygm.a -a -r /usr/local/lib/libfyut.a ; then
9 -        AC_MSG_RESULT([found])
10 +    AC_CHECK_LIB([fyba], [main], [
11          SOSI_ENABLED=yes
12 -        SOSI_LIB="/usr/local/lib/libfyba.a /usr/local/lib/libfygm.a /usr/local/lib/libfyut.a"
13 -    else
14 -        AC_MSG_ERROR([not found.])
15 -    fi
16 -
17 -    AC_MSG_CHECKING([for fyba.h, fygm.h and fyut.h in /usr/local/include/fyba])
18 -    if test -r /usr/local/include/fyba/fyba.h -a -r /usr/local/include/fyba/fygm.h -a -r /usr/local/include/fyba/fyut.h ; then
19 -        AC_MSG_RESULT([found])
20 -        SOSI_ENABLED=yes
21 -        SOSI_INC="-I/usr/local/include/fyba"
22 -    else
23 -        AC_MSG_ERROR([not found.])
24 -    fi
25 +        SOSI_INC="-I/usr/include/fyba"
26 +        SOSI_LIB="-lfyba -lfygm -lfyut"
27 +    ], [AC_MSG_ERROR([not found.])])
28  
29  else
30  
This page took 0.064667 seconds and 3 git commands to generate.