mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Merge cc135a8668 into 649aff45c7
This commit is contained in:
commit
25cceb77af
2 changed files with 5 additions and 1 deletions
|
|
@ -110,6 +110,10 @@ mountpoint (string path)
|
||||||
|
|
||||||
#else // !HAVE_GETMNTENT
|
#else // !HAVE_GETMNTENT
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
|
#error "getmntent is supported on Linux. Is this a configuration error?"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/ucred.h>
|
#include <sys/ucred.h>
|
||||||
#include <sys/mount.h>
|
#include <sys/mount.h>
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,7 @@ def configure(conf):
|
||||||
define_name='HAVE_POSIX_MEMALIGN', execute = False, mandatory=False)
|
define_name='HAVE_POSIX_MEMALIGN', execute = False, mandatory=False)
|
||||||
conf.check_cc(
|
conf.check_cc(
|
||||||
msg="Checking for function 'getmntent' in mntent.h",
|
msg="Checking for function 'getmntent' in mntent.h",
|
||||||
fragment = "#include <mntent.h>\n int main(void) { return (int)getmntent(0); }\n",
|
fragment = "#include <mntent.h>\n int main(void) { getmntent(0); }\n",
|
||||||
define_name='HAVE_GETMNTENT', execute = False, mandatory=False)
|
define_name='HAVE_GETMNTENT', execute = False, mandatory=False)
|
||||||
conf.check_cc(
|
conf.check_cc(
|
||||||
msg="Checking for function 'localtime_r' in time.h",
|
msg="Checking for function 'localtime_r' in time.h",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue