changes to compile nicely (with xlib) on BeOS

Wed May 12 03:00:56 CDT 1999 Shawn T. Amundson <amundson@gtk.org>

        * configure.in
          gtk-config.in
          ltconfig
          ltmain.sh
          gtk/Makefile.am: changes to compile nicely (with xlib)
          on BeOS
This commit is contained in:
CDT 1999 Shawn T. Amundson 1999-05-12 08:06:07 +00:00 committed by Shawn Amundson
parent bf21aecc91
commit 45dc3bcf82
12 changed files with 85 additions and 1 deletions

View File

@ -1,3 +1,12 @@
Wed May 12 03:00:56 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in
gtk-config.in
ltconfig
ltmain.sh
gtk/Makefile.am: changes to compile nicely (with xlib)
on BeOS
Sat May 1 15:04:42 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4

View File

@ -1,3 +1,12 @@
Wed May 12 03:00:56 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in
gtk-config.in
ltconfig
ltmain.sh
gtk/Makefile.am: changes to compile nicely (with xlib)
on BeOS
Sat May 1 15:04:42 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4

View File

@ -1,3 +1,12 @@
Wed May 12 03:00:56 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in
gtk-config.in
ltconfig
ltmain.sh
gtk/Makefile.am: changes to compile nicely (with xlib)
on BeOS
Sat May 1 15:04:42 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4

View File

@ -1,3 +1,12 @@
Wed May 12 03:00:56 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in
gtk-config.in
ltconfig
ltmain.sh
gtk/Makefile.am: changes to compile nicely (with xlib)
on BeOS
Sat May 1 15:04:42 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4

View File

@ -1,3 +1,12 @@
Wed May 12 03:00:56 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in
gtk-config.in
ltconfig
ltmain.sh
gtk/Makefile.am: changes to compile nicely (with xlib)
on BeOS
Sat May 1 15:04:42 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4

View File

@ -1,3 +1,12 @@
Wed May 12 03:00:56 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in
gtk-config.in
ltconfig
ltmain.sh
gtk/Makefile.am: changes to compile nicely (with xlib)
on BeOS
Sat May 1 15:04:42 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4

View File

@ -1,3 +1,12 @@
Wed May 12 03:00:56 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
* configure.in
gtk-config.in
ltconfig
ltmain.sh
gtk/Makefile.am: changes to compile nicely (with xlib)
on BeOS
Sat May 1 15:04:42 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4

View File

@ -196,6 +196,20 @@ AC_TRY_RUN([#include <math.h>
)
LIBS=$gtk_save_LIBS
MATH_LIB=-lm
GTK_LIBS_EXTRA=
AC_MSG_CHECKING(for the BeOS)
case $host in
*-*-beos*)
GTK_LIBS_EXTRA="-L\$(top_builddir_full)/gdk/.libs -lgdk"
MATH_LIB=
;;
default)
;;
esac
AC_SUBST(MATH_LIB)
AC_SUBST(GTK_LIBS_EXTRA)
dnl NeXTStep cc seems to need this
AC_MSG_CHECKING([for extra flags for POSIX compliance])
AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;],

View File

@ -115,6 +115,6 @@ if test "$echo_libs" = "yes"; then
fi
done
echo $libdirs @x_ldflags@ -lgtk -lgdk $my_glib_libs @INTLLIBS@ @x_libs@ @GDK_WLIBS@ -lm
echo $libdirs @x_ldflags@ -lgtk -lgdk $my_glib_libs @INTLLIBS@ @x_libs@ @GDK_WLIBS@ @MATH_LIB@
fi

View File

@ -1,5 +1,7 @@
### Process this file with automake to produce Makefile.in
top_builddir_full=`cd \$(top_builddir); pwd`
gtkincludedir = $(includedir)/gtk
lib_LTLIBRARIES = libgtk.la
@ -307,6 +309,7 @@ libgtk_la_LDFLAGS = \
@GLIB_DEPLIBS@ \
@x_ldflags@ \
@x_libs@ \
@GTK_LIBS_EXTRA@ \
-lm
# $(top_builddir)/gdk/libgdk.la

View File

@ -1694,6 +1694,7 @@ beos*)
library_names_spec='${libname}.so'
dynamic_linker="$host_os ld.so"
shlibpath_var=LIBRARY_PATH
deplibs_check_method=pass_all
lt_cv_dlopen="load_add_on"
lt_cv_dlopen_libs=
lt_cv_dlopen_self=yes

View File

@ -788,6 +788,9 @@ compiler."
# }
# /* impgen.c ends here */
;;
*-*-beos*)
allow_undefined=no
;;
*)
allow_undefined=yes
;;