mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 00:21:11 +02:00
Use the standard autoconf macros to help with cross-compile
This commit is contained in:
parent
1b83e0e0e9
commit
4bbee2c3b5
12
configure.ac
12
configure.ac
|
@ -4,19 +4,11 @@ dnl> Do not add anything above
|
|||
|
||||
AC_DEFINE([PACKAGE_BUILDDATE], "[m4_esyscmd([scripts/version.sh date | tr -d '\n'])]", [Last change date])
|
||||
|
||||
if test "${CC+set}" != set; then
|
||||
CC=gcc
|
||||
fi
|
||||
if test "${AR+set}" != set; then
|
||||
AR=ar
|
||||
fi
|
||||
if test "${WINDRES+set}" != set; then
|
||||
WINDRES=windres
|
||||
fi
|
||||
|
||||
N2N_LIBS_EXTRA=
|
||||
|
||||
AC_PROG_CC
|
||||
AC_CHECK_TOOL([AR], [ar], [false])
|
||||
AC_CHECK_TOOL([WINDRES], [windres], [false])
|
||||
|
||||
# TODO: ideally, should use AC_ARG_ENABLE
|
||||
AC_ARG_WITH([edgex],
|
||||
|
|
Loading…
Reference in New Issue
Block a user