Re: Hi! This is a patch for AbiWord on FreeBSD.

Ming-I Hsieh (mihs@wm28.csie.ncu.edu.tw)
Tue, 15 Jun 1999 12:21:17 +0800


Shaw Terwilliger wrote:

> Ming-I Hsieh wrote:
> >
> > This is a patch for AbiWord-CURRENT. There are some difference on
> > FreeBSD & Linux.
> > The ``#include <sys/types.h>'' should appear before ``#include
> > <sys/stat.h>''.
> > The "glib-config'' should change to ``glib12-config'' (In FreeBSD
> > port/package)
> > The ``gtk-config'' should change to ``gtk12-config'' (In FreeBSD
> > port/package)
> > FYI! :)
> > Above testing under FreeBSD 3.2-RELEASE
>
> I've applied the patch with a small change. Since the require/unix
> files should work across all Unixes, I made it do "glib-config ||
> glib12-config || echo not found". Same for gtk.
>
> I don't expect the include of types.h before stat.h to cause
> a problem on many Unixes. Linux and Solaris 7 handle this fine.
>
> --
> Shaw Terwilliger

Ok! But it should be
-- (src/config/require/unix/Makefile)
@glib-config --version >/dev/null 2>&1 \
|| glib12-config --version >/dev/null 2>&1
\
|| (echo glib not found; exit 1)
@echo TODO verify glib version is greater than 1.1.??
-- Not
@glib-config --version >/dev/null 2>&1 \
|| @glib12-config --version >/dev/null 2>&1
\
|| (echo glib not found; exit 1)
@echo TODO verify glib version is greater than 1.1.??

--
Same for gtk.


This archive was generated by hypermail 1.03b2.