ObjFW  Check-in [08f61f1f18]

Overview
Comment:configure: Move substitution of LINKLIB to later

This was happening before the check.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | amiga-library
Files: files | file ages | folders
SHA3-256: 08f61f1f1871c09fc4b9cfeb30501ccf70d28aa24c222941de138f2f2b7e8b5f
User & Date: js on 2020-06-05 00:24:05
Other Links: branch diff | manifest | tags
Context
2020-06-05
00:29
Add missing nullability specifiers check-in: 547abb97a0 user: js tags: amiga-library
00:24
configure: Move substitution of LINKLIB to later check-in: 08f61f1f18 user: js tags: amiga-library
00:17
Add of_init() for Amiga .library check-in: 964b5ed33c user: js tags: amiga-library
Changes

Modified configure.ac from [a06396f052] to [9f7ae83b02].

378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
378
379
380
381
382
383
384




385
386
387
388
389
390
391







-
-
-
-







	TESTS_LIBS="-F../src -F../src/runtime $TESTS_LIBS"
], [
	TESTS_LIBS="\${RUNTIME_LIBS} $TESTS_LIBS"
	TESTS_LIBS="-L../src/runtime -L../src/runtime/linklib $TESTS_LIBS"
	TESTS_LIBS="-L../src -lobjfw $TESTS_LIBS"
])

AS_IF([test x"$enable_amiga_lib" != x"no"], [
	AC_SUBST(LINKLIB, linklib)
])

AC_ARG_ENABLE(amiga-lib,
	AS_HELP_STRING([--disable-amiga-lib], [do not build Amiga library]))
AS_IF([test x"$supports_amiga_lib" != x"yes"], [enable_amiga_lib="no"])

AS_IF([test x"$enable_shared" = x"no" -a x"$enable_amiga_lib" = x"no"], [
	enable_static="yes"
])
419
420
421
422
423
424
425




426
427
428
429
430
431
432
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432







+
+
+
+







		TESTPLUGIN_LIBS="$TESTPLUGIN_LIBS \${RUNTIME_FRAMEWORK_LIBS}"
	], [
		TESTPLUGIN_LIBS="-L../../src -L../../src/runtime"
		TESTPLUGIN_LIBS="$TESTPLUGIN_LIBS -lobjfw \${RUNTIME_LIBS}"
	])
	AC_SUBST(TESTPLUGIN_LIBS)
])

AS_IF([test x"$enable_amiga_lib" != x"no"], [
	AC_SUBST(LINKLIB, linklib)
])

AC_MSG_CHECKING(whether we need -D_GNU_SOURCE)
AC_EGREP_CPP(egrep_cpp_yes, [
	#include <stdlib.h>

	#if defined(__GLIBC__) || defined(__MINGW32__) || \
	    defined(__NEWLIB__) || defined(__MORPHOS__)