Fixed typo which could break linking
[claws.git] / ac / aspell.m4
index d0435b9e6e7aab3865e66423e15a8047c082f0d8..f5c21711e6984d58cf1af86c61b670f5a4c235b3 100644 (file)
@@ -106,6 +106,8 @@ main()
  return 0;
 }
            ],, aspell_failure=yes,)
+          CFLAGS="$ac_save_CFLAGS"
+           LIBS="$ac_save_LIBS"
            if test "x$aspell_failure" = x ; then     
               AC_MSG_RESULT(yes)
               ifelse([$2], , :, [$2])
@@ -123,8 +125,6 @@ main()
              ASPELL_PATH=""
              ifelse([$3], , :, [$3])
           fi
-          CFLAGS="$ac_save_CFLAGS"
-           LIBS="$ac_save_CFLAGS"
        else
            ASPELL_CFLAGS=""
            ASPELL_LIBS=""