2000-11-22 Oliver Rauch <Oliver.Rauch@Wolfsburg.DE>

* changed configure.in, configure frontend/Makefile.in
          and backend/Makfile.in:
          The shared libraries required by the backends are linked to
          the backends (they have been linked to the frontends before).
          Only libintl is linked to the frontend.
        * changed tool/sane-config.in, sane-config --libs => "-lsane",
          all other libraries are linked to the backend libs now
DEVEL_2_0_BRANCH-1
Oliver Rauch 2000-11-24 15:24:55 +00:00
rodzic c0faabae14
commit 64e2bdf50d
2 zmienionych plików z 440 dodań i 450 usunięć

854
configure vendored

Plik diff jest za duży Load Diff

Wyświetl plik

@ -105,13 +105,27 @@ fi
SANE_V4L_VERSION
dnl Checks for libraries.
AC_CHECK_LIB(scsi, scsireq_enter) # FreeBSD needs this
AC_CHECK_LIB(cam, cam_open_device) # FreeBSD 3+ needs this
AC_CHECK_LIB(m,sqrt)
dnl Checks for Frontend libraries: intl
AC_CHECK_LIB(intl, gettext, INTLLIBS=-lintl)
AC_SUBST(INTLLIBS)
dnl Checks for dll libraries: dl
if test "${enable_dynamic}" != "no"; then
AC_CHECK_HEADERS(dlfcn.h,
[AC_CHECK_LIB(dl,dlopen, DL_LIB=-ldl)
AC_CHECK_FUNCS(dlopen, enable_dynamic=yes,)],)
# HP/UX DLL handling
AC_CHECK_HEADERS(dl.h,
[AC_CHECK_LIB(dld,shl_load, DL_LIB=-ldld)
AC_CHECK_FUNCS(shl_load, enable_dynamic=yes,)],)
fi
AC_SUBST(DL_LIB)
dnl Checks for Backend libraries.
AC_CHECK_LIB(m,sqrt)
AC_CHECK_LIB(scsi, scsireq_enter) # FreeBSD needs this
AC_CHECK_LIB(cam, cam_open_device) # FreeBSD 3+ needs this
AC_CHECK_LIB(syslog, syslog) # OS/2 needs this
AC_CHECK_LIB(jpeg, jpeg_start_decompress)
@ -139,18 +153,6 @@ dnl initialize libtool
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
dnl Checks for libraries.
if test "${enable_dynamic}" != "no"; then
AC_CHECK_HEADERS(dlfcn.h,
[AC_CHECK_LIB(dl,dlopen)
AC_CHECK_FUNCS(dlopen, enable_dynamic=yes,)],)
# HP/UX DLL handling
AC_CHECK_HEADERS(dl.h,
[AC_CHECK_LIB(dld,shl_load)
AC_CHECK_FUNCS(shl_load, enable_dynamic=yes,)],)
fi
AC_SUBST(INCLUDES)
CPPFLAGS="${CPPFLAGS} -DPATH_SANE_CONFIG_DIR=\$(configdir) \