@@ -1543,7 +1543,6 @@ NL_WITH_OPTIONAL_INTERNAL_PACKAGE(
1543
1543
NLFAULTINJECTION_CPPFLAGS="-I\${abs_top_srcdir}/third_party/nlfaultinjection/repo/include"
1544
1544
NLFAULTINJECTION_LDFLAGS="-L${ac_pwd}/third_party/nlfaultinjection/repo/src"
1545
1545
NLFAULTINJECTION_LIBS="-lnlfaultinjection"
1546
- NLFAULTINJECTION_MAKEDIR=${ac_pwd}/third_party/nlfaultinjection/repo
1547
1546
] ,
1548
1547
[
1549
1548
# Check for required nlfaultinjection headers.
@@ -1614,7 +1613,6 @@ if test "${nl_cv_build_tests}" = "yes"; then
1614
1613
NLUNIT_TEST_CPPFLAGS="-I\${abs_top_srcdir}/third_party/nlunit-test/repo/src"
1615
1614
NLUNIT_TEST_LDFLAGS="-L${ac_pwd}/third_party/nlunit-test/repo/src"
1616
1615
NLUNIT_TEST_LIBS="-lnlunit-test"
1617
- NLUNIT_TEST_MAKEDIR=${ac_pwd}/third_party/nlunit-test/repo
1618
1616
] ,
1619
1617
[
1620
1618
# Check for required nlunit-test headers.
@@ -1858,32 +1856,6 @@ CPPFLAGS="${CPPFLAGS} ${MBEDTLS_CPPFLAGS}"
1858
1856
LDFLAGS="${LDFLAGS} ${MBEDTLS_LDFLAGS}"
1859
1857
LIBS="${LIBS} ${MBEDTLS_LIBS}"
1860
1858
1861
- # Add any nlunit-test CPPFLAGS, LDFLAGS, and LIBS
1862
-
1863
- CPPFLAGS="${CPPFLAGS} ${NLUNIT_TEST_CPPFLAGS}"
1864
- LDFLAGS="${LDFLAGS} ${NLUNIT_TEST_LDFLAGS}"
1865
- LIBS="${LIBS} ${NLUNIT_TEST_LIBS}"
1866
- MAKEDIRS="${MAKEDIRS} ${NLUNIT_TEST_MAKEDIR}"
1867
-
1868
- # Add any nlio CPPFLAGS, LDFLAGS, and LIBS
1869
-
1870
- CPPFLAGS="${CPPFLAGS} ${NLIO_CPPFLAGS}"
1871
- LDFLAGS="${LDFLAGS} ${NLIO_LDFLAGS}"
1872
- LIBS="${LIBS} ${NLIO_LIBS}"
1873
-
1874
- # Add any nlassert CPPFLAGS, LDFLAGS, and LIBS
1875
-
1876
- CPPFLAGS="${CPPFLAGS} ${NLASSERT_CPPFLAGS}"
1877
- LDFLAGS="${LDFLAGS} ${NLASSERT_LDFLAGS}"
1878
- LIBS="${LIBS} ${NLASSERT_LIBS}"
1879
-
1880
- # Add any nlfaultinjection CPPFLAGS, LDFLAGS, and LIBS
1881
-
1882
- CPPFLAGS="${CPPFLAGS} ${NLFAULTINJECTION_CPPFLAGS}"
1883
- LDFLAGS="${LDFLAGS} ${NLFAULTINJECTION_LDFLAGS}"
1884
- LIBS="${LIBS} ${NLFAULTINJECTION_LIBS}"
1885
- MAKEDIRS="${MAKEDIRS} ${NLFAULTINJECTION_MAKEDIR}"
1886
-
1887
1859
# Add any code coverage CPPFLAGS, LDFLAGS, and LIBS
1888
1860
1889
1861
CPPFLAGS="${CPPFLAGS} ${NL_COVERAGE_CPPFLAGS}"
@@ -1896,9 +1868,6 @@ if test "${nl_had_CPPFLAGS_werror}" = "no"; then
1896
1868
CPPFLAGS="${CPPFLAGS} ${NL_WERROR_CPPFLAGS}"
1897
1869
fi
1898
1870
1899
- # Export MAKEDIRS
1900
-
1901
- AC_SUBST ( MAKEDIRS , [ ${MAKEDIRS}] )
1902
1871
1903
1872
# At this point, we can restore the compiler flags to whatever the
1904
1873
# user passed in, now that we're clear of an -Werror issues by
@@ -1918,14 +1887,17 @@ AC_SUBST(PRETTY_CHECK_ARGS, [""])
1918
1887
# Configure any autotools-based subdirectories
1919
1888
if test "${nl_with_nlunit_test}" = "internal"; then
1920
1889
AC_CONFIG_SUBDIRS ( [ third_party/nlunit-test/repo] )
1890
+ AC_SUBST ( NLUNIT_TEST_MAKEDIR ,[ "${ac_pwd}/third_party/nlunit-test/repo"] )
1921
1891
fi
1922
1892
1923
1893
if test "${nl_with_nlio}" = "internal"; then
1924
1894
AC_CONFIG_SUBDIRS ( [ third_party/nlio/repo] )
1895
+ AC_SUBST ( NLIO_MAKEDIR ,[ "${ac_pwd}/third_party/nlunio/repo"] )
1925
1896
fi
1926
1897
1927
1898
if test "${nl_with_nlassert}" = "internal"; then
1928
1899
AC_CONFIG_SUBDIRS ( [ third_party/nlassert/repo] )
1900
+ AC_SUBST ( NLASSERT_MAKEDIR ,[ "${ac_pwd}/third_party/nlassert/repo"] )
1929
1901
fi
1930
1902
1931
1903
if test "${nl_with_mbedtls}" = "internal"; then
1934
1906
1935
1907
if test "${nl_with_nlfaultinjection}" = "internal"; then
1936
1908
AC_CONFIG_SUBDIRS ( [ third_party/nlfaultinjection/repo] )
1909
+ AC_SUBST ( NLFAULTINJECTION_MAKEDIR ,[ "${ac_pwd}/third_party/nlfaultinjection/repo"] )
1937
1910
fi
1938
1911
1939
1912
#
@@ -2051,18 +2024,22 @@ AC_MSG_NOTICE([
2051
2024
Nlunit-test compile flags : ${NLUNIT_TEST_CPPFLAGS:--}
2052
2025
Nlunit-test link flags : ${NLUNIT_TEST_LDFLAGS:--}
2053
2026
Nlunit-test link libraries : ${NLUNIT_TEST_LIBS:--}
2027
+ Nlunit-test makedir : ${NLUNIT_TEST_MAKEDIR:--}
2054
2028
Nlio source : ${nl_with_nlio:--}
2055
2029
Nlio compile flags : ${NLIO_CPPFLAGS:--}
2056
2030
Nlio link flags : ${NLIO_LDFLAGS:--}
2057
2031
Nlio link libraries : ${NLIO_LIBS:--}
2032
+ Nlio makedir : ${NLIO_MAKDIR:--}
2058
2033
Nlassert source : ${nl_with_nlassert:--}
2059
2034
Nlassert compile flags : ${NLASSERT_CPPFLAGS:--}
2060
2035
Nlassert link flags : ${NLASSERT_LDFLAGS:--}
2061
2036
Nlassert link libraries : ${NLASSERT_LIBS:--}
2037
+ Nlassert makedir : ${NLASSERT_MAKEDIR:--}
2062
2038
Nlfaultinjection source : ${nl_with_nlfaultinjection:--}
2063
2039
Nlfaultinjection compile flags : ${NLFAULTINJECTION_CPPFLAGS:--}
2064
2040
Nlfaultinjection link flags : ${NLFAULTINJECTION_LDFLAGS:--}
2065
2041
Nlfaultinjection link libraries : ${NLFAULTINJECTION_LIBS:--}
2042
+ Nlfaultinjection makedir : ${NLFAULTINJECTION_MAKEDIR:--}
2066
2043
Sockets compile flags : ${SOCKETS_CPPFLAGS:--}
2067
2044
Sockets link flags : ${SOCKETS_LDFLAGS:--}
2068
2045
Sockets link libraries : ${SOCKETS_LIBS:--}
@@ -2090,5 +2067,4 @@ AC_MSG_NOTICE([
2090
2067
Link flags : ${LDFLAGS:--}
2091
2068
Link libraries : ${LIBS}
2092
2069
Fuzzing Enabled : ${enable_fuzzing}
2093
- Make Dirs : ${MAKEDIRS:--}
2094
2070
] )
0 commit comments