efl: minor AC_CHECK_LIB() cleanup.
authorGustavo Sverzut Barbieri <barbieri@gmail.com>
Sun, 30 Dec 2012 19:05:18 +0000 (19:05 +0000)
committerGustavo Sverzut Barbieri <barbieri@gmail.com>
Sun, 30 Dec 2012 19:05:18 +0000 (19:05 +0000)
SVN revision: 81908

configure.ac

index 05fa67b..2b1a3d5 100644 (file)
@@ -1601,11 +1601,7 @@ AC_CHECK_TYPES([struct sigaction], [], [],
 
 AC_CHECK_FUNCS([siglongjmp])
 
-res=no
-AC_CHECK_LIB([m], [lround], [res=yes], [res=no])
-if test "x${res}" = "xyes" ; then
-  AC_DEFINE([HAVE_LROUND], [1], [C99 lround function exists])
-fi
+AC_CHECK_LIB([m], [lround], [AC_DEFINE([HAVE_LROUND], [1], [C99 lround function exists])])
 
 if test "x${want_evas_image_loader_generic}" = "xyes" || test "x${want_evas_cserve2}" = "xyes" ; then
    EFL_CHECK_FUNC([EVAS], [shm_open])