summaryrefslogtreecommitdiff
path: root/ltconfig
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-09-08 04:08:17 +0000
committerTim Janik <timj@src.gnome.org>1998-09-08 04:08:17 +0000
commite33741aed6ba496d959eb81de177717167349500 (patch)
treee77281ab4f35e74a783cb5c5ac07f50a2f096994 /ltconfig
parentf830dc3f36863a1bc3a9dfec4c85afdba911cecc (diff)
downloadgtk+-e33741aed6ba496d959eb81de177717167349500.tar.gz
use g_atexit() instead of ATEXIT.
Tue Sep 8 05:19:51 1998 Tim Janik <timj@gtk.org> * gdk/gdk.c (gdk_init): use g_atexit() instead of ATEXIT. * gtk/gtkmain.c (gtk_init): use g_atexit() instead of ATEXIT. * gtk/gtkobject.c (gtk_object_init_type): use g_atexit() instead of ATEXIT. * ltconfig: use GLib's ltconfig which honours lcc.
Diffstat (limited to 'ltconfig')
-rwxr-xr-xltconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/ltconfig b/ltconfig
index 4cd5626387..8d9d4e35f7 100755
--- a/ltconfig
+++ b/ltconfig
@@ -549,6 +549,22 @@ else
link_static_flag='-Bstatic'
;;
+ linux*aout)
+ can_build_shared=no
+ ;;
+
+ linux*)
+ case "$CC" in
+ *lcc | *lcc\ *)
+ wl=-Wl
+ link_static_flag='-static'
+ pic_flag=
+ ;;
+ *)
+ can_build_shared=no
+ esac
+ ;;
+
*)
can_build_shared=no
;;