Magik AM/AC potrzebny

Tomasz Trojanowski tomek w uninet.com.pl
Pon, 22 Gru 2003, 13:01:58 CET


On Mon, 22 Dec 2003, Jarosław Kamper wrote:

> Użytkownik Tomasz Trojanowski napisał:
> > On Mon, 22 Dec 2003, Tomasz Trojanowski wrote:
> Help! ;)
> 
> [jack w prezes SPECS]$ cvs diff -u omta.spec omta.spec
> Index: omta.spec
> ===================================================================
> RCS file: /cvsroot/SPECS/omta.spec,v
> retrieving revision 1.37
> diff -u -r1.37 omta.spec
> --- omta.spec   29 Sep 2003 23:27:46 -0000      1.37
> +++ omta.spec   22 Dec 2003 11:49:10 -0000
> @@ -13,6 +13,7 @@
>   Patch1:                %{name}-config.patch
>   Patch2:                %{name}-%{name}.conf_path.patch
>   Patch3:                %{name}-configure.patch
> +Patch4:                %{name}-ac_am.patch
>   URL:           http://omta.runlevel.net/
>   BuildRequires: autoconf
>   BuildRequires: automake
> @@ -79,6 +80,7 @@
>   %patch1 -p1
>   %patch2 -p1
>   %patch3 -p1
> +%patch4 -p0
> 
>   %build
>   rm -f {,libgetconf/}missing
> 
> [jack w prezes SPECS]$ cat ../SOURCES/omta-ac_am.patch
> --- configure.in.orig   2000-04-17 21:24:53.000000000 +0200
> +++ configure.in        2003-12-22 12:45:49.436088080 +0100
> @@ -104,14 +104,14 @@
>          LIBOBJS="$LIBOBJS getopt.o getopt1.o")
>   AC_CHECK_FUNC(herror,
>          AC_MSG_RESULT(using libc's herror),
> -       AC_CHECK_LIB(resolv,herror))
> +       [AC_CHECK_LIB(resolv,herror)])
>   AC_CHECK_FUNC(socket,
>          AC_MSG_RESULT(using libc's socket),
> -       AC_CHECK_LIB(socket,socket)
> -       AC_CHECK_LIB(inet,socket))
> +       [AC_CHECK_LIB(socket,socket)]
> +       [AC_CHECK_LIB(inet,socket)])
>   AC_CHECK_FUNC(inet_ntoa,
>          AC_MSG_RESULT(using libc's inet_ntoa),
> -       AC_CHECK_LIB(nsl,inet_ntoa))
> +       [AC_CHECK_LIB(nsl,inet_ntoa)])
> 
>   # Handle debug option
>   mailer_cv_debug=no
> 
> I dupa! :(

--- configure.in.orig   2003-12-22 12:51:58.000000000 +0100
+++ configure.in        2003-12-22 13:00:37.706984720 +0100
@@ -98,10 +98,10 @@
                        /usr/include/dirent.h,
                        mailer_cv_scandir_const=yes,
                        mailer_cv_scandir_const=no)),
-       AC_LIBOBJ(scandir))
+       [AC_LIBOBJ(scandir)])

 AC_CHECK_FUNCS(getopt_long, ,
-       [AC_LIBOBJ(getopt), AC_LIBOBJ(getopt1)])
+       [AC_LIBOBJ(getopt) AC_LIBOBJ(getopt1)])
 AC_CHECK_FUNC(herror,
        AC_MSG_RESULT(using libc's herror),
        AC_CHECK_LIB(resolv,herror))


Powinno pomóc

Pozdrawiam

-- 
Tomasz Trojanowski (tomek w uninet.com.pl)

"Between depriving a man of one hour from his life and depriving him of
his life there exist only a difference of degree." (FH, Dune Messiah)



Więcej informacji o liście dyskusyjnej pld-devel-pl