build-sys: remember to restore LDFLAGS after done with AC_LINK_* tests.
authorKrisztian Litkey <kli@iki.fi>
Tue, 26 Feb 2013 12:28:38 +0000 (14:28 +0200)
committerKrisztian Litkey <kli@iki.fi>
Tue, 26 Feb 2013 12:28:38 +0000 (14:28 +0200)
m4/websockets.m4

index ebfc827..441e7b4 100644 (file)
@@ -63,6 +63,7 @@ if test "$enable_websockets" != "no"; then
         if test "$old_websockets" = "yes"; then
             WEBSOCKETS_CFLAGS="$WEBSOCKET_CFLAGS -DWEBSOCKETS_OLD"
         fi
+        LDFLAGS="$saved_LDFLAGS"
     fi
 else
     AC_MSG_NOTICE([libwebsockets support is disabled.])
@@ -99,4 +100,4 @@ AC_SUBST(WEBSOCKETS_LIBS)
 AC_SUBST(WEBSOCKETS_OLD)
 
 AC_LANG_POP
-])
\ No newline at end of file
+])