changeset 2978:a68a51138f4d

Updated buildsys. Supports FreeBSD & OpenBSD make now.
author Jonathan Schleifer <js-audacious@webkeks.org>
date Sat, 01 Nov 2008 20:02:40 +0100
parents 3c869249f732
children 0910d4d2714d
files buildsys.mk.in configure.ac m4/buildsys.m4
diffstat 3 files changed, 11 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/buildsys.mk.in	Sat Nov 01 20:01:57 2008 +0100
+++ b/buildsys.mk.in	Sat Nov 01 20:02:40 2008 +0100
@@ -443,4 +443,4 @@
 DELETE_OK = printf "\033[K\033[0;34mDeleted \033[1;34m$$i\033[0;34m.\033[0m\n"
 DELETE_FAILED = printf "\033[K\033[0;31mFailed to delete \033[1;31m$$i\033[0;31m!\033[0m\n"; exit 1
 
--include .deps
+include .deps
--- a/configure.ac	Sat Nov 01 20:01:57 2008 +0100
+++ b/configure.ac	Sat Nov 01 20:02:40 2008 +0100
@@ -1675,9 +1675,9 @@
 	po/Makefile.in
 ])
 
+BUILDSYS_TOUCH_DEPS
 AC_OUTPUT
 
-
 echo
 echo "Configuration:"
 echo
--- a/m4/buildsys.m4	Sat Nov 01 20:01:57 2008 +0100
+++ b/m4/buildsys.m4	Sat Nov 01 20:02:40 2008 +0100
@@ -1,5 +1,5 @@
 dnl
-dnl Copyright (c) 2007, Jonathan Schleifer <js-buildsys@webkeks.org>
+dnl Copyright (c) 2007 - 2008, Jonathan Schleifer <js-buildsys@webkeks.org>
 dnl
 dnl https://webkeks.org/hg/buildsys/
 dnl
@@ -103,7 +103,7 @@
 			CLEAN_LIB='${LIB}.a'
 			;;
 		*)
-			AC_MSG_RESULT(POSIX)
+			AC_MSG_RESULT(GNU)
 			LIB_CPPFLAGS='-DPIC'
 			LIB_CFLAGS='-fPIC'
 			LIB_LDFLAGS='-shared -fPIC -Wl,-soname=${LIB}.${LIB_MAJOR}'
@@ -132,3 +132,10 @@
 	AC_SUBST(UNINSTALL_LIB)
 	AC_SUBST(CLEAN_LIB)
 ])
+
+AC_DEFUN([BUILDSYS_TOUCH_DEPS], [
+	$as_echo "$as_me: Touching .deps files"
+	for i in $(find . -name Makefile); do
+		touch $(dirname $i)/.deps
+	done
+])