X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fwscript;h=7d8155c712067ddb82d828c18d449b3587245560;hb=2f10fb5b96afc66410b884b7e201f7f1a38b1620;hp=27617adfa9a6ec04855af4716ef681d84fbd76f8;hpb=6410aa896f974002f8539ee3ca2f70bf66c0a0af;p=ardour.git diff --git a/libs/pbd/wscript b/libs/pbd/wscript index 27617adfa9..7d8155c712 100644 --- a/libs/pbd/wscript +++ b/libs/pbd/wscript @@ -96,7 +96,8 @@ def configure(conf): conf.check(function_name='getmntent', header_name='mntent.h', define_name='HAVE_GETMNTENT',mandatory=False) conf.check(header_name='execinfo.h', define_name='HAVE_EXECINFO',mandatory=False) conf.check(header_name='unistd.h', define_name='HAVE_UNISTD',mandatory=False) - conf.check_cc(function_name='posix_memalign', header_name='stdlib.h', cflags='-D_XOPEN_SOURCE=600', define_name='HAVE_POSIX_MEMALIGN', mandatory=False) + if not Options.options.ppc: + conf.check_cc(function_name='posix_memalign', header_name='stdlib.h', cflags='-D_XOPEN_SOURCE=600', define_name='HAVE_POSIX_MEMALIGN', mandatory=False) conf.check(function_name='localtime_r', header_name='time.h', define_name='HAVE_LOCALTIME_R',mandatory=False) conf.write_config_header('libpbd-config.h', remove=False)