heimdal w curl.spec
Kacper Kornet
kornet w camk.edu.pl
Nie, 16 Paź 2005, 20:59:14 CEST
Witam,
Skrypt configure w curl.spec najpierw szuka gss, a dopiero jak go nie
znajdzie to heimdal. W rezultacie wynik budowania zależy od tego czy na
builderze jest zainstalowene gss-devel, czy też nie. Załączam łatki
poprawiające to.
Pozdrawiam,
--
Kacper
-------------- następna część ---------
--- configure.ac.old 2005-10-15 22:33:18.000000000 +0200
+++ configure.ac 2005-10-15 22:51:37.000000000 +0200
@@ -729,13 +729,6 @@
fi
CPPFLAGS="$CPPFLAGS $GSSAPI_INCS"
- AC_CHECK_HEADER(gss.h,
- [
- dnl found in the given dirs
- AC_DEFINE(HAVE_GSSGNU, 1, [if you have the GNU gssapi libraries])
- gnu_gss=yes
- ],
- [
dnl not found, check Heimdal
AC_CHECK_HEADER(gssapi.h,
[
@@ -757,8 +750,6 @@
)
]
)
- ]
- )
else
AC_MSG_RESULT(no)
fi
-------------- następna część ---------
Index: curl.spec
===================================================================
RCS file: /cvsroot/SPECS/curl.spec,v
retrieving revision 1.105
diff -u -r1.105 curl.spec
--- curl.spec 13 Oct 2005 09:25:15 -0000 1.105
+++ curl.spec 16 Oct 2005 18:52:00 -0000
@@ -20,6 +20,7 @@
# Source0-md5: e3b130320d3704af375c097606f49c01
Patch0: %{name}-no_strip.patch
Patch1: %{name}-ac.patch
+Patch2: %{name}-heimdal.patch
URL: http://curl.haxx.se/
BuildRequires: autoconf >= 2.57
BuildRequires: automake
@@ -141,6 +142,7 @@
%setup -q
%patch0 -p1
%patch1 -p1
+%{?with_heimdal:%patch2}
%build
%{__libtoolize}
Więcej informacji o liście dyskusyjnej pld-devel-pl