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:
blaken 2008-05-23 02:19:02 +00:00
parent 750c4a5f8d
commit 3011c2e575
4 changed files with 2403 additions and 1890 deletions

View file

@ -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>

View file

@ -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

4277
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -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