Commit 94dc435a authored by David Llewellyn-Jones's avatar David Llewellyn-Jones

Added boost dependency and forced header checks to error

parent 8253c021
......@@ -3,6 +3,9 @@
/* Define if building universal (internal helper macro) */
#undef AC_APPLE_UNIVERSAL_BUILD
/* Define to 1 if you have the <boost/cstdint.hpp> header file. */
#undef HAVE_BOOST_CSTDINT_HPP
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
#undef HAVE_DIRENT_H
......
......@@ -5332,7 +5332,7 @@ fi
done
for ac_header in stdlib.h string.h sys/timeb.h GLee.h openvdb/openvdb.h
for ac_header in stdlib.h string.h sys/timeb.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
......@@ -5346,6 +5346,49 @@ fi
done
for ac_header in GLee.h
do :
ac_fn_cxx_check_header_mongrel "$LINENO" "GLee.h" "ac_cv_header_GLee_h" "$ac_includes_default"
if test "x$ac_cv_header_GLee_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_GLEE_H 1
_ACEOF
else
as_fn_error $? "Glee is missing." "$LINENO" 5
fi
done
for ac_header in boost/cstdint.hpp
do :
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/cstdint.hpp" "ac_cv_header_boost_cstdint_hpp" "$ac_includes_default"
if test "x$ac_cv_header_boost_cstdint_hpp" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_BOOST_CSTDINT_HPP 1
_ACEOF
else
as_fn_error $? "Boost is missing." "$LINENO" 5
fi
done
for ac_header in openvdb/openvdb.h
do :
ac_fn_cxx_check_header_mongrel "$LINENO" "openvdb/openvdb.h" "ac_cv_header_openvdb_openvdb_h" "$ac_includes_default"
if test "x$ac_cv_header_openvdb_openvdb_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_OPENVDB_OPENVDB_H 1
_ACEOF
else
as_fn_error $? "OpenVDB is missing." "$LINENO" 5
fi
done
# Checks for compiler characteristics
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
......
......@@ -37,7 +37,11 @@ OPENVDB_CFLAGS="$OPENVDB_CFLAGS"
# Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h string.h sys/timeb.h GLee.h openvdb/openvdb.h])
AC_CHECK_HEADERS([stdlib.h string.h sys/timeb.h])
AC_CHECK_HEADERS([GLee.h], [], AC_MSG_ERROR([Glee is missing.]))
AC_CHECK_HEADERS([boost/cstdint.hpp], [], AC_MSG_ERROR([Boost is missing.]))
AC_CHECK_HEADERS([openvdb/openvdb.h], [], AC_MSG_ERROR([OpenVDB is missing.]))
# Checks for compiler characteristics
AC_C_BIGENDIAN
......
......@@ -2,7 +2,7 @@ Source: functy
Section: math
Priority: extra
Maintainer: David Llewellyn-Jones <david@flypig.co.uk>
Build-Depends: debhelper (>= 7), autotools-dev, libgtkglext1-dev, freeglut3-dev, libgtk2.0-dev, libpango1.0-dev, libglib2.0-dev, libcairo2-dev, zlib1g-dev, libzip-dev, libpng12-dev, libtbb-dev, glee-dev, libopenvdb-dev, libopenexr-dev, libsymbolic-dev
Build-Depends: debhelper (>= 7), autotools-dev, libgtkglext1-dev, freeglut3-dev, libgtk2.0-dev, libpango1.0-dev, libglib2.0-dev, libcairo2-dev, zlib1g-dev, libzip-dev, libpng12-dev, libtbb-dev, glee-dev, libopenvdb-dev, libopenexr-dev, libsymbolic-dev libboost-dev
Standards-Version: 3.8.0
Package: functy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment