Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix automake to help compilation on FreeBSD #2

Open
xbeaudouin opened this issue Jul 10, 2012 · 0 comments
Open

Fix automake to help compilation on FreeBSD #2

xbeaudouin opened this issue Jul 10, 2012 · 0 comments

Comments

@xbeaudouin
Copy link

Hi !

I have updated the automake stuff to add :

  • dependency on Judy unless it will not compile
  • dependency on libexecinfo that implement backtrace stuff needed by your software.

Here is the diff against configure.ac to add this :
diff -u --recursive pcaputils.orig/configure.ac pcaputils/configure.ac
--- pcaputils.orig/configure.ac 2012-07-09 16:45:25.000000000 +0200
+++ pcaputils/configure.ac 2012-07-09 18:04:52.000000000 +0200
@@ -14,10 +14,13 @@
AC_SUBST([EXTRA_CFLAGS])

Checks for libraries.

+AC_SEARCH_LIBS([JudyLGet], [Judy], [], [AC_MSG_ERROR([Cannot find libJudy])])
+AC_SEARCH_LIBS([backtrace], [execinfo])

Checks for header files.

AC_CHECK_HEADERS([fcntl.h inttypes.h netdb.h netinet/in.h stdint.h stdlib.h string.h sys/param.h sys/socket.h sys/time.h syslog.h unistd.h], [], [AC_MSG_ERROR([required header not found])])
AC_CHECK_HEADERS([endian.h sys/endian.h execinfo.h])
+AC_CHECK_HEADERS([Judy.h])

Checks for typedefs, structures, and compiler characteristics.

AC_HEADER_STDBOOL

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant