summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCDT 1999 Shawn T. Amundson <amundson@gtk.org>1999-05-12 08:06:07 +0000
committerShawn Amundson <amundson@src.gnome.org>1999-05-12 08:06:07 +0000
commit45dc3bcf82734647e4e6de1ba01b67dfd02adda8 (patch)
tree8f8b47c989b55e3cfc9e486b1ae9f0570eb9843b
parentbf21aecc9144456aa66cb0ebadd974159c23cc9e (diff)
downloadgdk-pixbuf-45dc3bcf82734647e4e6de1ba01b67dfd02adda8.tar.gz
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
-rw-r--r--ChangeLog9
-rw-r--r--ChangeLog.pre-2-09
-rw-r--r--ChangeLog.pre-2-109
-rw-r--r--ChangeLog.pre-2-29
-rw-r--r--ChangeLog.pre-2-49
-rw-r--r--ChangeLog.pre-2-69
-rw-r--r--ChangeLog.pre-2-89
-rw-r--r--configure.in14
-rw-r--r--gtk-config.in2
-rw-r--r--gtk/Makefile.am3
-rwxr-xr-xltconfig1
-rw-r--r--ltmain.sh3
12 files changed, 85 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5d82374b6..d26bec35a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 5d82374b6..d26bec35a 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -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
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 5d82374b6..d26bec35a 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -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
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 5d82374b6..d26bec35a 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -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
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 5d82374b6..d26bec35a 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -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
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 5d82374b6..d26bec35a 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -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
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 5d82374b6..d26bec35a 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -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
diff --git a/configure.in b/configure.in
index 84e46f9ad..9f6bd513c 100644
--- a/configure.in
+++ b/configure.in
@@ -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;],
diff --git a/gtk-config.in b/gtk-config.in
index 7783db73a..846f82678 100644
--- a/gtk-config.in
+++ b/gtk-config.in
@@ -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
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 12472feda..ffc635c68 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -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
diff --git a/ltconfig b/ltconfig
index e3c5a9544..a11c55717 100755
--- a/ltconfig
+++ b/ltconfig
@@ -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
diff --git a/ltmain.sh b/ltmain.sh
index f1b998611..8d2678acc 100644
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -788,6 +788,9 @@ compiler."
# }
# /* impgen.c ends here */
;;
+ *-*-beos*)
+ allow_undefined=no
+ ;;
*)
allow_undefined=yes
;;