Commit Graph

11 Commits

Author SHA1 Message Date
Florian Weimer
323d555c82 cf: Do not use headers and argument lists in AC_FIND_FUNC_NO_LIBS2
The callers of this macro generally do not supply this information.
Without it, the checks rely on compiler support for implicit function
declarations.  It would be possible to supply this information in
the callers.  But even then, with the existing macro interface, it
would be necessary to pass eg. null pointers where they trigger
undefined behavior.  Therefore, use the same kludge that autoconf
uses to make up prototypes, avoiding those implicit function
declarations.

The includes/arguments macro parameters are now ignored, but preserved
for interface compatibility.
2024-09-03 11:12:23 -04:00
Nicolas Williams
3422afb291 Fix -ldb-5 discovery (#215) 2016-12-08 18:30:58 -06:00
Johan Danielsson
c8f892953b correct some AC_LANG_SOURCE/AC_LANG_PROGRAM snafu
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 12:35:42 +00:00
Johan Danielsson
94711445ee replace AC_TRY_LINK with AC_LINK_IFELSE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-25 16:17:05 +00:00
Love Hörnquist Åstrand
f32ed23aa8 overquote to pacify automake1.8
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13338 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-12 14:21:14 +00:00
Assar Westerlund
6c1f11c1d6 ignore "no" as a library - another special case to make it easy to
send the result from this macro into another invocation


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10618 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-01 10:57:32 +00:00
Assar Westerlund
63f0fd9afc handle both -llib and lib in the second argument
also yes -> "" as a library, to ease callers that send in results from
this macro (this might be a little bit unclean)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-29 00:07:57 +00:00
Johan Danielsson
9ef25327d7 use cleaner autoheader trick
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8679 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-15 18:10:19 +00:00
Assar Westerlund
773e673e05 add yet another argument to allow specify linker flags that will be
added _before_ the library when trying to link


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7289 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-30 21:09:53 +00:00
Assar Westerlund
a71b26dbba (AC_FIND_FUNC_NO_LIBS2): new argument `extra libs'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7136 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-11 23:05:23 +00:00
Assar Westerlund
bd8303c111 new file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5017 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-04 02:07:12 +00:00