grim/guifications3

some updates that'll hopefully get us closer to working on bsd...
org.guifications.gf3
2009-09-08, Gary Kramlich
62c092345f05
Parents 1d7f423156dc
Children f187520df7fd
some updates that'll hopefully get us closer to working on bsd...
--- a/gflib/gflib-autogen.sh Tue Sep 08 03:40:19 2009 -0500
+++ b/gflib/gflib-autogen.sh Tue Sep 08 18:57:05 2009 -0500
@@ -16,6 +16,11 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
###############################################################################
+# Globals
+###############################################################################
+SEQ_COMMAND="seq"
+
+###############################################################################
# Some helper functions
###############################################################################
add_command () {
@@ -153,9 +158,18 @@
###############################################################################
# Platform specific stuff
###############################################################################
+platform_bsd () {
+ SEQ_COMMAND="jot -"
+}
+
platform_osx () {
+ # run the bsd platform specific stuff too
+ platform_bsd
+
+ # change libtoolize to glibtoolize
update_command "libtoolize" "glibtoolize"
+ # look for fink and add it's aclocal dir to the aclocal flags
FLAGS=""
test -d /sw/share/aclocal && FLAGS="-I /sw/share/aclocal"
update_command "aclocal" "aclocal" "${FLAGS}"
@@ -167,6 +181,9 @@
printf "adjusting for platform '%s' ... " ${PLATFORM}
case ${PLATFORM} in
+ *BSD*)
+ platform_bsd
+ ;;
Darwin*)
platform_osx
;;