This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhuzhenjun-libosfp/configure.ac

23 lines
646 B
Plaintext
Raw Normal View History

2023-09-27 15:43:32 +08:00
AC_INIT([libosfp],[0.0.4],[zhuzhenjun@geedgenetworks.com])
2023-09-15 10:40:22 +08:00
AM_INIT_AUTOMAKE([foreign])
#m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])AM_SILENT_RULES([yes])
AC_CONFIG_MACRO_DIR([m4])
AC_ARG_ENABLE([debug], [AS_HELP_STRING([--enable-debug], [enable debug info])], [enable_debug=$enableval], [enable_debug=no])
AS_IF([test "x$enable_debug" = xyes],
2023-09-27 15:43:32 +08:00
[CFLAGS="-DDEBUGLOG -ggdb3 -O0 -fsanitize=address -fno-omit-frame-pointer"],
2023-09-16 10:43:06 +08:00
[CFLAGS="-g -O2"])
2023-09-15 10:40:22 +08:00
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_LIBTOOL
2023-09-15 15:27:22 +08:00
AC_CONFIG_FILES([libosfp-config Makefile src/Makefile example/Makefile])
2023-09-15 10:40:22 +08:00
AC_OUTPUT