comparison configure.in @ 375:a300bb07d72d r21-2b3

Import from CVS: tag r21-2b3
author cvs
date Mon, 13 Aug 2007 11:04:51 +0200
parents 6240c7796c7a
children d883f39b8495
comparison
equal deleted inserted replaced
374:4ebeb1a5388b 375:a300bb07d72d
2440 AC_CHECK_LIB(gdi32,main,with_msw=yes) 2440 AC_CHECK_LIB(gdi32,main,with_msw=yes)
2441 if test "$with_msw" = "yes"; then 2441 if test "$with_msw" = "yes"; then
2442 AC_DEFINE(HAVE_MS_WINDOWS) 2442 AC_DEFINE(HAVE_MS_WINDOWS)
2443 install_pp="$blddir/lib-src/installexe.sh" 2443 install_pp="$blddir/lib-src/installexe.sh"
2444 XE_APPEND(-lshell32 -lgdi32 -luser32 -lcomctl32, libs_system) 2444 XE_APPEND(-lshell32 -lgdi32 -luser32 -lcomctl32, libs_system)
2445 test "$with_dragndrop" != no && XE_APPEND(msw, dragndrop_proto)
2445 if test "$window_system" != x11; then 2446 if test "$window_system" != x11; then
2446 window_system=msw 2447 window_system=msw
2447 test "$with_scrollbars" != "no" && with_scrollbars=msw \ 2448 test "$with_scrollbars" != "no" && with_scrollbars=msw \
2448 && XE_ADD_OBJS(scrollbar-msw.o) 2449 && XE_ADD_OBJS(scrollbar-msw.o)
2449 test "$with_menubars" != "no" && with_menubars=msw \ 2450 test "$with_menubars" != "no" && with_menubars=msw \
3555 if test "$usage_tracking" = "yes"; then 3556 if test "$usage_tracking" = "yes"; then
3556 AC_DEFINE(USAGE_TRACKING) 3557 AC_DEFINE(USAGE_TRACKING)
3557 XE_PREPEND(-Bstatic -lut -Bdynamic, LIBS) 3558 XE_PREPEND(-Bstatic -lut -Bdynamic, LIBS)
3558 fi 3559 fi
3559 3560
3561 dnl cygwin can't cope with dlfcn at the moment
3562 test -z "$with_shlib" && test "$opsys $machine" = "cygwin32 intel386" && with_shlib=no
3563
3560 dnl autodetect dll support 3564 dnl autodetect dll support
3561 AC_CHECK_HEADERS(dlfcn.h, have_dlfcn=yes) 3565 AC_CHECK_HEADERS(dlfcn.h, have_dlfcn=yes)
3562 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { AC_CHECK_LIB(dl, dlopen, [ AC_DEFINE(HAVE_DLOPEN) DLL_LIB=dl; with_shlib=yes]) } 3566 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { AC_CHECK_LIB(dl, dlopen, [ AC_DEFINE(HAVE_DLOPEN) DLL_LIB=dl; with_shlib=yes]) }
3563 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { AC_CHECK_LIB(c, _dlopen, [ AC_DEFINE(HAVE_DLOPEN) DLL_LIB=; with_shlib=yes]) } 3567 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { AC_CHECK_LIB(c, _dlopen, [ AC_DEFINE(HAVE_DLOPEN) DLL_LIB=; with_shlib=yes]) }
3564 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { AC_CHECK_LIB(c, dlopen, [ AC_DEFINE(HAVE_DLOPEN) DLL_LIB=; with_shlib=yes]) } 3568 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { AC_CHECK_LIB(c, dlopen, [ AC_DEFINE(HAVE_DLOPEN) DLL_LIB=; with_shlib=yes]) }