From: Karsten Ballüder Date: Mon, 31 Jan 2000 16:02:31 +0000 (+0000) Subject: FreeBSD library naming fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4bdad4464ecbeca9c95420991878707ea8712455 FreeBSD library naming fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure.in b/configure.in index 36a527a432..83014388dc 100644 --- a/configure.in +++ b/configure.in @@ -1525,7 +1525,13 @@ dnl ) dnl ) TOOLKIT_INCLUDE="$GTK_CFLAGS" - GUI_TK_LIBRARY="$GTK_LIBS -lgthread" +dnl On FreeBSD, the libs are called gtk12 etc, so we must append gthread12 + echo $GTK_LIBS | fgrep -q "glib12" + if test $? = 0 ; then + GUI_TK_LIBRARY="$GTK_LIBS -gthread12" + else + GUI_TK_LIBRARY="$GTK_LIBS -lgthread" + fi TOOLKIT=GTK AFMINSTALL=afminstall