For some systems with PIC as default, the test was inadvertently
skipped. Issue introduced in commit
4440d65.
Report by Roumen Petrov.
* tests/with-pic.at: Skip the test for systems that define
DLL_EXPORT.
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
[], [ignore])
eval `$LIBTOOL --config | $EGREP '^(pic_flag|FGREP)='`
-real_pic=false
+no_dlls=:
case " $pic_flag " in
-[*" "[^" "-]* | *" "-[^D]*]) real_pic=: ;;
+*" -DDLL_EXPORT "*) no_dlls=false ;;
esac
-AT_CHECK([$real_pic || exit 77])
+AT_CHECK([$no_dlls || exit 77])
AT_CHECK([test . != "$at_srcdir" || exit 77])
: ${MAKE=make}