Skip to content

Commit

Permalink
AC_SUBST => AC_ARG_VAR adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeclerck committed Sep 17, 2024
1 parent 8713792 commit 6da9719
Showing 1 changed file with 6 additions and 22 deletions.
28 changes: 6 additions & 22 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,6 @@ case "$DIFF_FLAGS" in
fi
;;
esac
AC_SUBST(DIFF_FLAGS)

# Stop tests for C++ and Fortran
AC_DEFUN([AC_PROG_F77], [])
Expand Down Expand Up @@ -1777,6 +1776,9 @@ dnl AC_MSG_ERROR([sqlcli1.h, sqlca.h, and sqludf.h are required for ODBC (DB2)]
fi ],
[])
AC_ARG_VAR([OCI_CFLAGS], [compiler flags necessary to preprocess/compile for Oracle OCI])
AC_ARG_VAR([OCI_LIBS], [linker flags for Oracle OCI, overriding automatic lookup])
AC_ARG_WITH([oci],
[AS_HELP_STRING([--with-oci],
[Optionally use Oracle OCI for INDEXED/RELATIVE I/O])],
Expand Down Expand Up @@ -1936,6 +1938,9 @@ if test "$with_db" = "yes" -o "$with_db" = "check"; then
LIBS="$curr_libs"
fi
AC_ARG_VAR([LMDB_CFLAGS], [compiler flags necessary to preprocess/compile for LMDB])
AC_ARG_VAR([LMDB_LIBS], [linker flags for LMDB, overriding automatic lookup])
AC_ARG_WITH([lmdb],
[AS_HELP_STRING([--with-lmdb],
[Use Lightning Memory-Mapped Database (LMDB) for INDEXED I/O (experimental, no locking or shared storage, write is extremely slow)])],
Expand Down Expand Up @@ -2703,28 +2708,7 @@ AC_SUBST([COB_LIBRARY_PATH])
AC_SUBST([COB_OBJECT_EXT])
AC_SUBST([COB_MODULE_EXT])
AC_SUBST([COB_EXE_EXT])
AC_SUBST([QUOTE_INCLUDE_FLAG])
AC_SUBST([COBC_CPPFLAGS])
AC_SUBST([PROGRAMS_LIBS])
AC_SUBST([LIBCOB_LIBS])
AC_SUBST([LIBCOB_CPPFLAGS])
AC_SUBST([LIBCOB_VER])
AC_SUBST([CISAM_LIBS])
AC_SUBST([DISAM_LIBS])
AC_SUBST([VBISAM_LIBS])
AC_SUBST([VISAM_LIBS])
AC_SUBST([ODBC_LIBS])
AC_SUBST([OCI_LIBS])
AC_SUBST([BDB_LIBS])
AC_SUBST([LMDB_LIBS])
AC_SUBST([CISAM_CFLAGS])
AC_SUBST([DISAM_CFLAGS])
AC_SUBST([VBISAM_CFLAGS])
AC_SUBST([VISAM_CFLAGS])
AC_SUBST([ODBC_CFLAGS])
AC_SUBST([OCI_CFLAGS])
AC_SUBST([BDB_CFLAGS])
AC_SUBST([LMDB_CFLAGS])
dnl was used in bin/Makefile.am - seems not to be needed
dnl AC_SUBST([COB_EXPORT_DYN])
Expand Down

0 comments on commit 6da9719

Please sign in to comment.