X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=configure;h=f38e9c75684b84b11d35db8a6203ee55553150f1;hp=aefd5bb08c0539747378542233a3fc1141e66154;hb=971caeb177d3bc4f65fa31381bbfb83710bfc690;hpb=c922e0b0cb917a7a47265e76ff13b8911e0e497a;ds=sidebyside diff --git a/configure b/configure index aefd5bb0..f38e9c75 100755 --- a/configure +++ b/configure @@ -252,6 +252,8 @@ elif check_define __linux__ ; then targetos="Linux" elif check_define __OpenBSD__ ; then targetos='OpenBSD' +elif check_define __NetBSD__ ; then + targetos='NetBSD' elif check_define __sun__ ; then targetos='SunOS' CFLAGS="$CFLAGS -D_REENTRANT" @@ -280,7 +282,7 @@ fi # cross-compiling to one of these OSes then you'll need to specify # the correct CPU with the --cpu option. case $targetos in -AIX|OpenBSD) +AIX|OpenBSD|NetBSD) # Unless explicitly enabled, turn off lex. # OpenBSD will hit syntax error when enabled. if test -z "$disable_lex" ; then