230 |
[ |
[ |
231 |
if test "$enableval" = "yes" ; then |
if test "$enableval" = "yes" ; then |
232 |
AC_MSG_RESULT(yes) |
AC_MSG_RESULT(yes) |
233 |
CFLAGS="$CFLAGS -pg -fprofile-arcs" |
AC_CHECK_PROG(FC_OK, fc-config, yes, no) |
234 |
|
if test x$FC_OK = xyes; then |
235 |
|
CFLAGS="${CFLAGS} `fc-config --cflags`" |
236 |
|
LIBS="$LIBS `fc-config --libs`" |
237 |
|
else |
238 |
|
AC_MSG_WARN(*** |
239 |
|
*** You must install libfc in order to enable profiling. http://www710.univ-lyon1.fr/~yperret/fnccheck/profiler.html |
240 |
|
) |
241 |
|
fi |
242 |
else |
else |
243 |
AC_MSG_RESULT(no) |
AC_MSG_RESULT(no) |
244 |
fi |
fi |