[BACK]Return to apple.m4 CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gnuplot / m4

Annotation of OpenXM_contrib/gnuplot/m4/apple.m4, Revision 1.1.1.1

1.1       ohara       1: ## ------------------------------- ##
                      2: ## Check for Apple MacOS X         ##
                      3: ## From Leigh Smith                ##
                      4: ## ------------------------------- ##
                      5:
                      6: # serial 1
                      7:
                      8: AC_DEFUN(GP_APPLE,
                      9: [AC_MSG_CHECKING(for Apple MacOS X)
                     10: AC_EGREP_CPP(yes,
                     11: [#if defined(__APPLE__) && defined(__MACH__)
                     12:   yes
                     13: #endif
                     14: ], AC_MSG_RESULT(yes)
                     15:    LIBS="$LIBS -framework Foundation -framework AppKit"
                     16:    CFLAGS="$CFLAGS -ObjC",
                     17:    AC_MSG_RESULT(no))
                     18: ])
                     19:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>