Skip to content

Commit

Permalink
Adjust to 6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
olofhagsand committed Dec 18, 2023
1 parent b97f382 commit 3d51fa6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -4794,9 +4794,9 @@ else $as_nop
fi

done
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clicon_log_init in -lclixon" >&5
printf %s "checking for clicon_log_init in -lclixon... " >&6; }
if test ${ac_cv_lib_clixon_clicon_log_init+y}
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clixon_log_init in -lclixon" >&5
printf %s "checking for clixon_log_init in -lclixon... " >&6; }
if test ${ac_cv_lib_clixon_clixon_log_init+y}
then :
printf %s "(cached) " >&6
else $as_nop
Expand All @@ -4808,28 +4808,28 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
char clicon_log_init ();
char clixon_log_init ();
int
main (void)
{
return clicon_log_init ();
return clixon_log_init ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_clixon_clicon_log_init=yes
ac_cv_lib_clixon_clixon_log_init=yes
else $as_nop
ac_cv_lib_clixon_clicon_log_init=no
ac_cv_lib_clixon_clixon_log_init=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clixon_clicon_log_init" >&5
printf "%s\n" "$ac_cv_lib_clixon_clicon_log_init" >&6; }
if test "x$ac_cv_lib_clixon_clicon_log_init" = xyes
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clixon_clixon_log_init" >&5
printf "%s\n" "$ac_cv_lib_clixon_clixon_log_init" >&6; }
if test "x$ac_cv_lib_clixon_clixon_log_init" = xyes
then :
printf "%s\n" "#define HAVE_LIBCLIXON 1" >>confdefs.h

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ if test "$enable_native_compile" = "yes"; then

AC_CHECK_HEADERS(clixon/clixon.h,, AC_MSG_ERROR(Clixon missing. Try: git clone https://github.com/clicon/clixon.git), [[#include <signal.h>
#include <cligen/cligen.h>]])
AC_CHECK_LIB(clixon, clicon_log_init,, AC_MSG_ERROR([Clixon missing. Try: git clone https://github.com/clicon/clixon.git]),)
AC_CHECK_LIB(clixon, clixon_log_init,, AC_MSG_ERROR([Clixon missing. Try: git clone https://github.com/clicon/clixon.git]),)

fi # native-compile

Expand Down

0 comments on commit 3d51fa6

Please sign in to comment.