Commit 8c015810 authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

oops: AC_RUN_IFELSE gets offended if I don't give it a AC_LANG_PROGRAM

parent adbdeafa
Loading
Loading
Loading
Loading
+6 −8
Original line number Diff line number Diff line
@@ -71,9 +71,7 @@ AC_DEFUN([TOR_CHECK_LDFLAGS], [
    CFLAGS="$CFLAGS -pedantic -Werror"
    LDFLAGS="$LDFLAGS $2 $1"
    LIBS="$LIBS $3"
    AC_RUN_IFELSE([
#include <stdio.h>
int main(int argc, char **argv) { fputs("", stdout); return 0; }],
    AC_RUN_IFELSE([AC_LANG_PROGRAM([#include <stdio.h>], [fputs("", stdout)])],
                  [AS_VAR_SET(VAR,yes)],
                  [AS_VAR_SET(VAR,no)],
	          [AC_TRY_LINK([], [return 0;],