]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/lablgtk/lablgtk_20000829-0.1.0/lablgtk.in
Initial revision
[helm.git] / helm / DEVEL / lablgtk / lablgtk_20000829-0.1.0 / lablgtk.in
diff --git a/helm/DEVEL/lablgtk/lablgtk_20000829-0.1.0/lablgtk.in b/helm/DEVEL/lablgtk/lablgtk_20000829-0.1.0/lablgtk.in
new file mode 100644 (file)
index 0000000..9801514
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+thread="no"
+
+case $1 in
+-help)
+    echo "Usage: lablgtk [-thread] <options> [script-file]"
+    echo "  -thread  use the threaded version of the toplevel"
+    ;;
+-thread)
+    thread=yes
+    shift
+    ;;
+esac
+
+if test $thread = yes; then
+    toplevel="@INSTALLDIR@/lablgtktop_t -I @LIBDIR@/threads"
+else
+    toplevel=@INSTALLDIR@/lablgtktop
+fi
+
+exec $toplevel -w s \
+               -I @LABLGLDIR@ \
+               -I @INSTALLDIR@ $*