]> rtime.felk.cvut.cz Git - orte.git/commitdiff
Apply configure.(in|ac) fixes suggested by autoreconf
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 9 Sep 2013 22:20:42 +0000 (00:20 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 9 Sep 2013 22:21:57 +0000 (00:21 +0200)
Also prepare for checking for sys/stat.h.

configure.ac [moved from configure.in with 97% similarity]

similarity index 97%
rename from configure.in
rename to configure.ac
index fe076bd8b1a662e8865f703d090dc91fd5ba46fd..7aeede73f8b70104d0e6e0b2abd9ba823ea2c732 100644 (file)
@@ -6,7 +6,7 @@
 
 AC_PREREQ([2.56])
 
-AC_INIT([orte],[0.3.3],[petr.smolik@wo.cz])
+AC_INIT([orte],[0.3.3],[orte@rtime.felk.cvut.cz], [], [http://orte.sf.net])
 AC_CONFIG_AUX_DIR(admin)
 
 ###############################
@@ -44,8 +44,8 @@ echo
 #Check for CPU / vendor / OS
 AC_CANONICAL_HOST
 AC_CANONICAL_TARGET
-AM_CONFIG_HEADER(orte/include/orte/orte_config.h)
-AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)
+AC_CONFIG_HEADER(orte/include/orte/orte_config.h)
+AM_INIT_AUTOMAKE(no-define)
 
 
 # Activate maintainer mode
@@ -116,6 +116,7 @@ fi
 # Checks for programs.
 # Initialize libtool
 AC_PROG_CC
+AM_PROG_CC_C_O
 AC_PROG_LIBTOOL
 
 ###############################
@@ -160,7 +161,7 @@ if test ${UNIX} == 'yes' -o ${WIN} == 'yes' ; then
     AC_HEADER_STDC
     AC_CHECK_HEADERS([\
     arpa/inet.h fcntl.h stdio.h netdb.h stdlib.h \
-    string.h sys/ioctl.h sys/time.h unistd.h pthread.h \
+    string.h sys/ioctl.h sys/stat.h sys/time.h unistd.h pthread.h \
     sys/types.h sys/sockio.h stdarg.h byteswap.h getopt.h \
     ctype.h signal.h stdint.h errno.h],,,[[]])
     AC_CHECK_HEADERS([sys/socket.h], [], [],