353
363
dnl gives unlimited permission to copy and/or distribute it,
354
364
dnl with or without modifications, as long as this notice is preserved.
361
367
m4_define([ovs_cv_name], [ovs_cv_[]m4_translit([$1], [-], [_])])dnl
362
368
AC_CACHE_CHECK([whether $CC accepts $1], [ovs_cv_name],
363
369
[ovs_save_CFLAGS="$CFLAGS"
365
375
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(,)], [ovs_cv_name[]=yes], [ovs_cv_name[]=no])
366
376
CFLAGS="$ovs_save_CFLAGS"])
367
377
if test $ovs_cv_name = yes; then