Opened 15 years ago
Closed 15 years ago
#431 closed discussion (fixed)
AC_CHECK_HEADERS([unistd.h])
Reported by: | Peter | Owned by: | Jari Häkkinen |
---|---|---|---|
Priority: | minor | Milestone: | yat 0.5 |
Component: | build | Version: | trunk |
Keywords: | Cc: |
Description
what is that macro doing?
It is checking if that header is available, and defines a PP macro in config.h. BUT we are not using config.h in any file, and shouldn't we at least define a ACTION-IF-NOT-FOUND. Or why are we doing this check?
Change History (2)
comment:1 Changed 15 years ago by
Milestone: | yat 0.x+ → yat 0.5 |
---|
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [1459]) Cleaning up in configure.ac. Removed a couple of macros that were C specific or obsolete. Possibly we could keep tests for sqrt but then we need to use the test somehow (see discussion in ticket:430. Closes #430 and #431.
Note: See
TracTickets for help on using
tickets.
This actually includes all these macros (except AC_PROG_LIBTOOL)
Can I just remove them, or should we make configure complain if something is missing? I think it is stupid to have macros that just add info tho config.h which is never used. According to
svn praise
the macros were added in r71 and as far as I can see there was no reason but inexperience.