lib: append `_FUNC` to `BT_PLUGIN_{INITIALIZE,FINALIZE}*`
[babeltrace.git] / configure.ac
index c0f7edf12586b9489089135fd80147e747cba3ea..7cbe3ba72220b691074dfd5a2a5d228cc6a1dbd0 100644 (file)
@@ -1,5 +1,5 @@
-AC_PREREQ([2.50])
-AC_INIT([babeltrace],[2.0.0-rc3],[jeremie.galarneau@efficios.com],[],[https://diamon.org/babeltrace])
+dnl Process this file with autoconf to produce a configure script.
+dnl
 dnl Copyright (c) 2017 EfficiOS, Inc.
 dnl
 dnl Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -29,7 +29,7 @@ AC_PREREQ([2.50])
 m4_define([bt_version_major], [2])
 m4_define([bt_version_minor], [0])
 m4_define([bt_version_patch], [0])
-m4_define([bt_version_extra], [-rc2])
+m4_define([bt_version_extra], [-rc4])
 m4_define([bt_version], bt_version_major[.]bt_version_minor[.]bt_version_patch[]bt_version_extra)
 
 AC_INIT([babeltrace], bt_version, [jeremie dot galarneau at efficios dot com], [], [https://efficios.com/babeltrace/])
@@ -510,7 +510,10 @@ AM_PATH_PYTHON([3.0], [
 
     AS_IF([test -z "$PYTHON_LDFLAGS"], [
       AC_MSG_CHECKING([Python library flags])
-      PYTHON_LDFLAGS=`$PYTHON_CONFIG --ldflags`
+      # Python 3.8+ requires that we pass --embed to get the -lpython3.x flag.
+      AS_IF([! PYTHON_LDFLAGS=`$PYTHON_CONFIG --ldflags --embed`], [
+        PYTHON_LDFLAGS=`$PYTHON_CONFIG --ldflags`
+      ])
       AC_MSG_RESULT([$PYTHON_LDFLAGS])
     ])
   ])
@@ -780,9 +783,9 @@ AC_CONFIG_FILES([
        src/py-common/Makefile
        src/python-plugin-provider/Makefile
        src/param-parse/Makefile
+       src/string-format/Makefile
        tests/bitfield/Makefile
        tests/ctf-writer/Makefile
-       tests/argpar/Makefile
        tests/lib/Makefile
        tests/lib/test-plugin-plugins/Makefile
        tests/Makefile
This page took 0.023692 seconds and 4 git commands to generate.