Fixed typo which could break linking
[claws.git] / ac / aspell.m4
index d0435b9..f5c2171 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=""