]> granicus.if.org Git - pdns/commitdiff
Log when we don't know how to link relro
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 20 Feb 2015 16:47:23 +0000 (16:47 +0000)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 20 Feb 2015 16:47:23 +0000 (16:47 +0000)
m4/pdns_relro.m4

index 3b51bd3c7abd9191d42b75fb4e19fb8e2db092bb..3493d72a1274695cb390d5f6ac5525e44a3e0f46 100644 (file)
@@ -30,6 +30,8 @@ AC_DEFUN([AC_LD_RELRO],[
         *"-z now"*) RELRO_LDFLAGS="$RELRO_LDFLAGS -Wl,-z -Wl,now" ;;
     esac
     AC_SUBST([RELRO_LDFLAGS])
-
-    AC_MSG_RESULT([$RELRO_LDFLAGS])
+    AS_IF([test "x$RELRO_LDFLAGS" != "x"],
+      [AC_MSG_RESULT([$RELRO_LDFLAGS])],
+      [AC_MSG_RESULT([unknown])]
+    )
 ])