Commit 45dc3bcf authored by CDT 1999 Shawn T. Amundson's avatar CDT 1999 Shawn T. Amundson Committed by Shawn Amundson

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
parent bf21aecc
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> Sat May 1 15:04:42 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4 * acinclude.m4
......
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> Sat May 1 15:04:42 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4 * acinclude.m4
......
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> Sat May 1 15:04:42 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4 * acinclude.m4
......
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> Sat May 1 15:04:42 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4 * acinclude.m4
......
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> Sat May 1 15:04:42 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4 * acinclude.m4
......
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> Sat May 1 15:04:42 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4 * acinclude.m4
......
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> Sat May 1 15:04:42 PDT 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4 * acinclude.m4
......
...@@ -196,6 +196,20 @@ AC_TRY_RUN([#include <math.h> ...@@ -196,6 +196,20 @@ AC_TRY_RUN([#include <math.h>
) )
LIBS=$gtk_save_LIBS 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 dnl NeXTStep cc seems to need this
AC_MSG_CHECKING([for extra flags for POSIX compliance]) AC_MSG_CHECKING([for extra flags for POSIX compliance])
AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;], AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;],
......
...@@ -115,6 +115,6 @@ if test "$echo_libs" = "yes"; then ...@@ -115,6 +115,6 @@ if test "$echo_libs" = "yes"; then
fi fi
done 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 fi
### Process this file with automake to produce Makefile.in ### Process this file with automake to produce Makefile.in
top_builddir_full=`cd \$(top_builddir); pwd`
gtkincludedir = $(includedir)/gtk gtkincludedir = $(includedir)/gtk
lib_LTLIBRARIES = libgtk.la lib_LTLIBRARIES = libgtk.la
...@@ -307,6 +309,7 @@ libgtk_la_LDFLAGS = \ ...@@ -307,6 +309,7 @@ libgtk_la_LDFLAGS = \
@GLIB_DEPLIBS@ \ @GLIB_DEPLIBS@ \
@x_ldflags@ \ @x_ldflags@ \
@x_libs@ \ @x_libs@ \
@GTK_LIBS_EXTRA@ \
-lm -lm
# $(top_builddir)/gdk/libgdk.la # $(top_builddir)/gdk/libgdk.la
......
...@@ -1694,6 +1694,7 @@ beos*) ...@@ -1694,6 +1694,7 @@ beos*)
library_names_spec='${libname}.so' library_names_spec='${libname}.so'
dynamic_linker="$host_os ld.so" dynamic_linker="$host_os ld.so"
shlibpath_var=LIBRARY_PATH shlibpath_var=LIBRARY_PATH
deplibs_check_method=pass_all
lt_cv_dlopen="load_add_on" lt_cv_dlopen="load_add_on"
lt_cv_dlopen_libs= lt_cv_dlopen_libs=
lt_cv_dlopen_self=yes lt_cv_dlopen_self=yes
......
...@@ -788,6 +788,9 @@ compiler." ...@@ -788,6 +788,9 @@ compiler."
# } # }
# /* impgen.c ends here */ # /* impgen.c ends here */
;; ;;
*-*-beos*)
allow_undefined=no
;;
*) *)
allow_undefined=yes allow_undefined=yes
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment