]> granicus.if.org Git - postgis/commitdiff
test for termios.h in case we want to do password prompting in the future
authorPaul Ramsey <pramsey@cleverelephant.ca>
Wed, 8 Feb 2012 21:08:27 +0000 (21:08 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Wed, 8 Feb 2012 21:08:27 +0000 (21:08 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9116 b70326c6-7e19-0410-871a-916f4a2858ee

configure.ac

index 6edb4f218f72a307c91108ce14d3cfadeb72b226..dcbe808849c5b04497121f12a553a0fe75890fcf 100644 (file)
@@ -82,6 +82,9 @@ dnl Search for OS-specific headers
 dnl
 AC_CHECK_HEADER([ieeefp.h], [HAVE_IEEEFP_H=1], [HAVE_IEEEFP_H=0])
 AC_DEFINE_UNQUOTED([HAVE_IEEEFP_H], [$HAVE_IEEEFP_H], [ieeefp.h header])
+AC_CHECK_HEADER([termios.h], [HAVE_TERMIOS_H=1], [HAVE_TERMIOS_H=0])
+AC_DEFINE_UNQUOTED([HAVE_TERMIOS_H], [$HAVE_TERMIOS_H], [termios.h header])
+
 
 dnl
 dnl Check for platform-specific functions