/usr/share/aclocal/tulip.m4 is in libtulip-dev 3.1.2-2.3ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | dnl check for tulip
AC_DEFUN([AC_PATH_TULIP],
[
AC_ARG_WITH(tulip-config,
[ --with-tulip-config=DIR optional path list where to prepend to $PATH to find tulip-config],
[ac_tulip_config="$withval:$PATH"],
[ac_tulip_config="$PATH"])
AC_MSG_CHECKING(for tulip-config)
AC_PATH_PROG([TULIP_CONFIG], [tulip-config], [no], [$ac_tulip_config:$PATH])
if test "x$TULIP_CONFIG" = "xno" ; then
AC_MSG_ERROR([tulip-config was not found. Verify tulip is installed])
fi
TULIP_INCLUDE=`$TULIP_CONFIG --cxxflags`
TULIP_LDFLAGS=`$TULIP_CONFIG --libs`
TULIP_OGL_INCLUDE=""
TULIP_OGL_LDFLAGS=""
TULIP_QT_INCLUDE=""
TULIP_QT_LDFLAGS=""
TULIP_PLUGINPATH=`$TULIP_CONFIG --pluginpath`
TULIP_QTDESIGNERPLUGIN="$TULIP_PLUGINPATH/designer"
AC_SUBST(TULIP_INCLUDE)
AC_SUBST(TULIP_LDFLAGS)
AC_SUBST(TULIP_OGL_INCLUDE)
AC_SUBST(TULIP_OGL_LDFLAGS)
AC_SUBST(TULIP_QT_INCLUDE)
AC_SUBST(TULIP_QT_LDFLAGS)
AC_SUBST(TULIP_PLUGINPATH)
AC_SUBST(TULIP_QTDESIGNERPLUGIN)
])
|