build: add check for experimental/filesystem

Add check for experimental/filesystem to configure_ac.

Change-Id: I394540f1bc01154b7a4d9ad4821f195e3a7348ec
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/configure.ac b/configure.ac
index 6eec985..5ecdab0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,6 +20,9 @@
 
 # Check for libraries
 AX_CHECK_OPENSSL([], [AC_MSG_ERROR(["openssl required and not found"])])
+AC_CHECK_HEADER(experimental/filesystem, [],
+    [AC_MSG_ERROR([Could not find experimental/filesystem...libstdc++fs development package required])]
+)
 PKG_CHECK_MODULES([PHOSPHOR_DBUS_INTERFACES], [phosphor-dbus-interfaces],,\
     AC_MSG_ERROR(["Requires phosphor-dbus-interfaces package."]))
 PKG_CHECK_MODULES([SDBUSPLUS], [sdbusplus],,