[openrtm-commit:02783] r3026 - trunk/OpenRTM-aist

openrtm @ openrtm.org openrtm @ openrtm.org
2017年 8月 30日 (水) 11:24:59 JST


Author: n-ando
Date: 2017-08-30 11:24:59 +0900 (Wed, 30 Aug 2017)
New Revision: 3026

Modified:
   trunk/OpenRTM-aist/configure.ac
Log:
[compat,build] Adding -C/-p option to header install command. refs #4032

Modified: trunk/OpenRTM-aist/configure.ac
===================================================================
--- trunk/OpenRTM-aist/configure.ac	2017-08-30 02:03:08 UTC (rev 3025)
+++ trunk/OpenRTM-aist/configure.ac	2017-08-30 02:24:59 UTC (rev 3026)
@@ -1472,6 +1472,14 @@
 AC_SUBST(LDSOLIBS)
 AC_SUBST(pkgconfigdir)
 
+dnl Adding -C/-p option to header install command
+install_exists=`which install`
+if test "x$install_exists" = "x" ; then
+   AC_SUBST([INSTALL_HEADER], ['${INSTALL} -c -C -m 644'])
+else
+   AC_SUBST([INSTALL_HEADER], ['${INSTALL} -c -p -m 644'])
+fi
+
 dnl RTM version related options
 AC_SUBST(RTM_VERSION)
 AC_SUBST(RTM_MAJOR_VERSION)



More information about the openrtm-commit mailing list