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 Thu, 05 Jun 2003 11:52:35 GMT
blautenb    2003/06/05 04:52:35

  Modified:    c/src    configure configure.ac
  Log:
  FreeBSD compile
  
  Revision  Changes    Path
  1.14      +22 -0     xml-security/c/src/configure
  
  Index: configure
  ===================================================================
  RCS file: /home/cvs/xml-security/c/src/configure,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- configure	3 Jun 2003 11:58:28 -0000	1.13
  +++ configure	5 Jun 2003 11:52:34 -0000	1.14
  @@ -3530,6 +3530,28 @@
   
   						;;
   
  +        *-*-freebsd*)   platform=FREEBSD
  +						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} -DFREEBSD"
  +						CC1="${CXX} ${CXXFLAGS} ${PLATFORM_OPTIONS}"
  +						CC4="${CC} ${CXXFLAGS} ${PLATFORM_OPTIONS}"
  +						MAKE_SHARED="${CXX} ${CXXFLAGS} -DFREEBSD -shared ${PIC}"
  +						LINK="${CXX} ${CXXFLAGS} -DFREEBSD ${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.14      +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.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- configure.ac	3 Jun 2003 11:58:28 -0000	1.13
  +++ configure.ac	5 Jun 2003 11:52:35 -0000	1.14
  @@ -218,6 +218,28 @@
   
   						;;
   
  +        *-*-freebsd*)   platform=FREEBSD 
  +						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} -DFREEBSD"]
  +						CC1=["${CXX} ${CXXFLAGS} ${PLATFORM_OPTIONS}"]
  +						CC4=["${CC} ${CXXFLAGS} ${PLATFORM_OPTIONS}"]
  +						MAKE_SHARED=["${CXX} ${CXXFLAGS} -DFREEBSD -shared ${PIC}"]
  +						LINK=["${CXX} ${CXXFLAGS} -DFREEBSD ${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