mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-04-22 12:55:44 +00:00
Added logic to try to use gnustep-config to determine the value of
GNUSTEP_MAKEFILES if it is not already set. * configure.ac, GNUmakefile.in In the event that GNUSTEP_MAKEFILES is not set, attempt to obtain its value by executing gnustep-config. * configure Regenerated. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26554 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
750c4a5f8d
commit
3011c2e575
4 changed files with 2403 additions and 1890 deletions
|
@ -4,6 +4,9 @@
|
|||
DBModeler/MainModelEditor.m: Added preprocessor directives to wrap methods
|
||||
deprecated on OS X and to use recently introduced methods that yield a
|
||||
better NSTableView display.
|
||||
* configure.ac, GNUmakefile.in: Added logic to try to use gnustep-config
|
||||
to determine the value of GNUSTEP_MAKEFILES if it is not already set.
|
||||
* configure: Regenerated.
|
||||
|
||||
2008-05-13 Blake Nicholson <blaken@umich.edu>
|
||||
|
||||
|
|
|
@ -23,6 +23,14 @@
|
|||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
|
||||
ifeq ($(GNUSTEP_MAKEFILES),)
|
||||
GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null)
|
||||
endif
|
||||
|
||||
ifeq ($(GNUSTEP_MAKEFILES),)
|
||||
$(error You need to set GNUSTEP_MAKEFILES before compiling!)
|
||||
endif
|
||||
|
||||
include $(GNUSTEP_MAKEFILES)/common.make
|
||||
|
||||
include ./Version
|
||||
|
|
|
@ -26,6 +26,11 @@ builtin(include, config/postgres.m4)dnl
|
|||
builtin(include, config/sqlite3.m4)dnl
|
||||
AC_INIT
|
||||
|
||||
# If GNUSTEP_MAKEFILES is undefined, try to use gnustep-config to determine it.
|
||||
if test -z "$GNUSTEP_MAKEFILES"; then
|
||||
GNUSTEP_MAKEFILES=`gnustep-config --variable=GNUSTEP_MAKEFILES 2>&5`
|
||||
fi
|
||||
|
||||
if test -z "$GNUSTEP_MAKEFILES"; then
|
||||
AC_MSG_ERROR([You must set GNUSTEP_MAKEFILES or run the GNUstep initialization script first!])
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue