santuario-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blaut...@apache.org
Subject cvs commit: xml-security/c/src configure configure.ac
Date Tue, 03 Jun 2003 11:58:28 GMT
blautenb    2003/06/03 04:58:28

  Modified:    c/src    configure configure.ac
  Log:
  NetBSD compile
  
  Revision  Changes    Path
  1.13      +22 -0     xml-security/c/src/configure
  
  Index: configure
  ===================================================================
  RCS file: /home/cvs/xml-security/c/src/configure,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- configure	31 May 2003 23:41:04 -0000	1.12
  +++ configure	3 Jun 2003 11:58:28 -0000	1.13
  @@ -3508,6 +3508,28 @@
   
   						;;
   
  +        *-*-netbsd*)   platform=NETBSD
  +						shlibsuffix=.so
  +						lib_name="lib${PACKAGE_TARNAME}.so.${PACKAGE_VERSION}"
  +					    lib_major_name="lib${PACKAGE_TARNAME}.so.${package_version_major}"
  +						lib_short_name="lib${PACKAGE_TARNAME}.so"
  +						PLATFORM_OPTIONS="-Wall"
  +						PIC="-fPIC"
  +
  +						# Should use -D_REENTRANT - but not yet OK
  +						PLATFORM_OPTIONS="${PLATFORM_OPTIONS} ${PIC} -DNETBSD"
  +						CC1="${CXX} ${CXXFLAGS} ${PLATFORM_OPTIONS}"
  +						CC4="${CC} ${CXXFLAGS} ${PLATFORM_OPTIONS}"
  +						MAKE_SHARED="${CXX} ${CXXFLAGS} -DNETBSD -shared ${PIC}"
  +						LINK="${CXX} ${CXXFLAGS} -DNETBSD ${PIC}"
  +						LINK_COMMAND_1="(cd \$(LIB_DIR) ; rm -f \$(LIBMAJORNAME) ; \$(LN_S) \$(LIBNAME) \$(LIBMAJORNAME))"
  +						LINK_COMMAND_2="(cd \$(LIB_DIR) ; rm -f \$(LIBSHORTNAME) ; \$(LN_S) \$(LIBNAME) \$(LIBSHORTNAME))"
  +						INSTALL_COMMAND_1="\$(INSTALL) \${THISLIB} \${libdir}"
  +						INSTALL_COMMAND_2="\$(RM) \${libdir}/\${LIBMAJORNAME} && \$(LN_S) \${LIBNAME}
\${libdir}/\${LIBMAJORNAME}"
  +						INSTALL_COMMAND_3="\$(RM) \${libdir}/\${LIBSHORTNAME} && \$(LN_S) \${LIBNAME}
\${libdir}/\${LIBSHORTNAME}"
  +
  +						;;
  +
           *-*-linux*)     platform=LINUX ;
   						shlibsuffix=.so
   						lib_name="lib${PACKAGE_TARNAME}.so.${PACKAGE_VERSION}"
  
  
  
  1.13      +22 -0     xml-security/c/src/configure.ac
  
  Index: configure.ac
  ===================================================================
  RCS file: /home/cvs/xml-security/c/src/configure.ac,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- configure.ac	31 May 2003 23:41:04 -0000	1.12
  +++ configure.ac	3 Jun 2003 11:58:28 -0000	1.13
  @@ -196,6 +196,28 @@
   
   						;;
   
  +        *-*-netbsd*)   platform=NETBSD 
  +						shlibsuffix=.so
  +						lib_name="lib${PACKAGE_TARNAME}.so.${PACKAGE_VERSION}"
  +					    lib_major_name="lib${PACKAGE_TARNAME}.so.${package_version_major}"
  +						lib_short_name="lib${PACKAGE_TARNAME}.so"
  +						PLATFORM_OPTIONS=["-Wall"]
  +						PIC=["-fPIC"]
  +
  +						# Should use -D_REENTRANT - but not yet OK
  +						PLATFORM_OPTIONS=["${PLATFORM_OPTIONS} ${PIC} -DNETBSD"]
  +						CC1=["${CXX} ${CXXFLAGS} ${PLATFORM_OPTIONS}"]
  +						CC4=["${CC} ${CXXFLAGS} ${PLATFORM_OPTIONS}"]
  +						MAKE_SHARED=["${CXX} ${CXXFLAGS} -DNETBSD -shared ${PIC}"]
  +						LINK=["${CXX} ${CXXFLAGS} -DNETBSD ${PIC}"]
  +						LINK_COMMAND_1=["(cd \$(LIB_DIR) ; rm -f \$(LIBMAJORNAME) ; \$(LN_S) \$(LIBNAME)
\$(LIBMAJORNAME))"]
  +						LINK_COMMAND_2=["(cd \$(LIB_DIR) ; rm -f \$(LIBSHORTNAME) ; \$(LN_S) \$(LIBNAME)
\$(LIBSHORTNAME))"]
  +						INSTALL_COMMAND_1=["\$(INSTALL) \${THISLIB} \${libdir}"]
  +						INSTALL_COMMAND_2=["\$(RM) \${libdir}/\${LIBMAJORNAME} && \$(LN_S) \${LIBNAME}
\${libdir}/\${LIBMAJORNAME}"]
  +						INSTALL_COMMAND_3=["\$(RM) \${libdir}/\${LIBSHORTNAME} && \$(LN_S) \${LIBNAME}
\${libdir}/\${LIBSHORTNAME}"]
  +
  +						;;
  +
           *-*-linux*)     platform=LINUX ;
   						shlibsuffix=.so
   						lib_name="lib${PACKAGE_TARNAME}.so.${PACKAGE_VERSION}"
  
  
  

Mime
View raw message