summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-06-29 06:53:36 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-06-29 06:53:36 +0000
commita8690113b05faeea5ee304f336acb5fbe3e794bb (patch)
tree5ac9abb18bf82051dc127925751fb5013cc3bc02
parent57a4fff2f3b22cc8867c256ca81441e8ce44f278 (diff)
downloadnavit-a8690113b05faeea5ee304f336acb5fbe3e794bb.tar.gz
Fix:Build:Better check for availability of objc
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3444 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index dcb45e63f..995c2e44e 100644
--- a/configure.in
+++ b/configure.in
@@ -159,7 +159,7 @@ AC_USE_SYSTEM_EXTENSIONS
m4_ifdef([AC_PROG_OBJC],[AC_PROG_OBJC])
AC_PROG_CC
m4_ifdef([AC_PROG_OBJC],[AC_PROG_OBJC],[AC_SUBST([OBJC],["$CC"]);AC_SUBST([OBJCFLAGS],["$CFLAGS"])])
-m4_ifdef([_AM_DEPENENCIES],[_AM_DEPENDENCIES(OBJC)])
+m4_ifndef([AC_PROG_OBJC],[_AM_DEPENDENCIES(OBJC)])
if eval "test x`uname` = xDarwin"; then
CFLAGS="$CFLAGS -I/opt/local/include -L/opt/local/lib"