Use -ldl when testing whether -m32 and -m64 builds work
authorKeith Packard <keithp@keithp.com>
Mon, 18 Aug 2014 03:56:22 +0000 (20:56 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 18 Aug 2014 03:56:22 +0000 (20:56 -0700)
We only need -ldl, and not -lbluetooth now that libaltos uses dlopen
on the bluetooth library

Signed-off-by: Keith Packard <keithp@keithp.com>
configure.ac

index c2b8b55cd00afe9909e293aaf3fa4c97be7e650e..38bab8e12126dfc5bd38ad5e13b4f7eb173270b2 100644 (file)
@@ -459,7 +459,7 @@ xauto)
        xx86_64|xi*86)
                save_CFLAGS="$CFLAGS"
                save_LIBS="$LIBS"
        xx86_64|xi*86)
                save_CFLAGS="$CFLAGS"
                save_LIBS="$LIBS"
-               LIBS="-lbluetooth"
+               LIBS="-ldl"
                CFLAGS="-m64"
                AC_MSG_CHECKING([if ]$CC[ ]$CFLAGS[ can link programs])
                AC_LINK_IFELSE([AC_LANG_PROGRAM([])],
                CFLAGS="-m64"
                AC_MSG_CHECKING([if ]$CC[ ]$CFLAGS[ can link programs])
                AC_LINK_IFELSE([AC_LANG_PROGRAM([])],