Lines 58-68
Link Here
|
58 |
ar_WITH_LIB_LIBFFI([have_libffi=yes], [have_libffi=no]) |
58 |
ar_WITH_LIB_LIBFFI([have_libffi=yes], [have_libffi=no]) |
59 |
LIBFFI_CFLAGS_INSTALLED="$LIBFFI_CFLAGS" |
59 |
LIBFFI_CFLAGS_INSTALLED="$LIBFFI_CFLAGS" |
60 |
LIBFFI_LIBS_INSTALLED="$LIBFFI_LIBS" |
60 |
LIBFFI_LIBS_INSTALLED="$LIBFFI_LIBS" |
|
|
61 |
AC_CONFIG_SUBDIRS(libffi) |
61 |
if test "$have_libffi" = no; then |
62 |
if test "$have_libffi" = no; then |
62 |
if ! test -d $srcdir/libffi; then |
63 |
if ! test -d $srcdir/libffi; then |
63 |
AC_MSG_ERROR([G-Wrap needs libffi installed]) |
64 |
AC_MSG_ERROR([G-Wrap needs libffi installed]) |
64 |
else |
65 |
else |
65 |
AC_CONFIG_SUBDIRS(libffi) |
|
|
66 |
LIBFFI_CFLAGS='-I$(top_builddir)/libffi/include' |
66 |
LIBFFI_CFLAGS='-I$(top_builddir)/libffi/include' |
67 |
LIBFFI_LIBS='$(top_builddir)/libffi/libffi.la' |
67 |
LIBFFI_LIBS='$(top_builddir)/libffi/libffi.la' |
68 |
LIBFFI_CFLAGS_INSTALLED="" |
68 |
LIBFFI_CFLAGS_INSTALLED="" |