gettext 0.17 and vc11 project

This commit is contained in:
Anatoliy Belsky
2013-01-21 14:41:36 +01:00
commit 9c34b8c253
3878 changed files with 1706687 additions and 0 deletions

35
MSVC11/gettext.sln Normal file
View File

@@ -0,0 +1,35 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libintl_static", "libintl_static\libintl_static.vcxproj", "{A84D3840-B684-4129-A466-87C0DE24B6BB}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libintl_dll", "libintl_dll\libintl_dll.vcxproj", "{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A84D3840-B684-4129-A466-87C0DE24B6BB}.Debug|Win32.ActiveCfg = Debug|Win32
{A84D3840-B684-4129-A466-87C0DE24B6BB}.Debug|Win32.Build.0 = Debug|Win32
{A84D3840-B684-4129-A466-87C0DE24B6BB}.Debug|x64.ActiveCfg = Debug|x64
{A84D3840-B684-4129-A466-87C0DE24B6BB}.Debug|x64.Build.0 = Debug|x64
{A84D3840-B684-4129-A466-87C0DE24B6BB}.Release|Win32.ActiveCfg = Release|Win32
{A84D3840-B684-4129-A466-87C0DE24B6BB}.Release|Win32.Build.0 = Release|Win32
{A84D3840-B684-4129-A466-87C0DE24B6BB}.Release|x64.ActiveCfg = Release|x64
{A84D3840-B684-4129-A466-87C0DE24B6BB}.Release|x64.Build.0 = Release|x64
{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}.Debug|Win32.ActiveCfg = Debug|Win32
{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}.Debug|Win32.Build.0 = Debug|Win32
{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}.Debug|x64.ActiveCfg = Debug|x64
{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}.Debug|x64.Build.0 = Debug|x64
{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}.Release|Win32.ActiveCfg = Release|Win32
{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}.Release|Win32.Build.0 = Release|Win32
{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}.Release|x64.ActiveCfg = Release|x64
{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

40
MSVC11/libintl-x64.rc Normal file
View File

@@ -0,0 +1,40 @@
/* Resources for libintl.dll */
/* There are 4 occurrences of the version number in this file. */
#include <winver.h>
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,17,0,0
PRODUCTVERSION 0,17,0,0
FILEFLAGSMASK 0x3fL /* VS_FFI_FILEFLAGSMASK */
#ifdef _DEBUG
FILEFLAGS 0x1L /* VS_FF_DEBUG */
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x10004L /* VOS_DOS_WINDOWS32 */
FILETYPE 0x2L /* VFT_DLL */
FILESUBTYPE 0x0L /* VFT2_UNKNOWN */
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "04090000" /* Lang = US English, Charset = ASCII */
BEGIN
VALUE "Comments", "This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\0"
VALUE "CompanyName", "Free Software Foundation\0"
VALUE "FileDescription", "LGPLed libiconv for Windows XP 64 and Vista 64\0"
VALUE "FileVersion", "0.17\0"
VALUE "InternalName", "libintl\0"
VALUE "LegalCopyright", "Copyright (C) 1995-2007\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "libintl.dll\0"
VALUE "ProductName", "libintl: accessing NLS message catalogs\0"
VALUE "ProductVersion", "0.17\0"
VALUE "SpecialBuild", "Built for http://php.net with MSVC9-x64\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 0 /* US English, ASCII */
END
END

40
MSVC11/libintl.rc Normal file
View File

@@ -0,0 +1,40 @@
/* Resources for libintl.dll */
/* There are 4 occurrences of the version number in this file. */
#include <winver.h>
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,17,0,0
PRODUCTVERSION 0,17,0,0
FILEFLAGSMASK 0x3fL /* VS_FFI_FILEFLAGSMASK */
#ifdef _DEBUG
FILEFLAGS 0x1L /* VS_FF_DEBUG */
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x10004L /* VOS_DOS_WINDOWS32 */
FILETYPE 0x2L /* VFT_DLL */
FILESUBTYPE 0x0L /* VFT2_UNKNOWN */
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "04090000" /* Lang = US English, Charset = ASCII */
BEGIN
VALUE "Comments", "This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\0"
VALUE "CompanyName", "Free Software Foundation\0"
VALUE "FileDescription", "LGPLed libiconv for Windows NT/2000/XP and Windows 95/98/ME\0"
VALUE "FileVersion", "0.17\0"
VALUE "InternalName", "libintl\0"
VALUE "LegalCopyright", "Copyright (C) 1995-2007\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "libintl.dll\0"
VALUE "ProductName", "libintl: accessing NLS message catalogs\0"
VALUE "ProductVersion", "0.17\0"
VALUE "SpecialBuild", "Built for http://php.net with MSVC9\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 0 /* US English, ASCII */
END
END

View File

@@ -0,0 +1,230 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}</ProjectGuid>
<RootNamespace>libintl_dll</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v110</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v110</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v110</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v110</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>11.0.51106.1</_ProjectFileVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
<IntDir>$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
<IntDir>$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
<IntDir>$(Platform)\$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
<IntDir>$(Platform)\$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\..\..\source\gettext-runtime;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>LOCALEDIR="c:\\\\program files\\gettext";LOCALE_ALIAS_PATH="c:\\\\program files\\gettext";LIBDIR="c:\\\\program files\\gettext";BUILDING_LIBINTL;BUILDING_DLL;IN_LIBINTL;ENABLE_RELOCATABLE=1;IN_LIBRARY;INSTALLDIR="c:\\\\program files\\gettext";NO_XMALLOC;set_relocation_prefix=libintl_set_relocation_prefix;relocate=libintl_relocate;DEPENDS_ON_LIBICONV=1;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader />
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<ProgramDataBaseFileName>$(IntDir)libintl_debug.pdb</ProgramDataBaseFileName>
</ClCompile>
<Link>
<OutputFile>Debug\libintl_debug.dll</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention />
<TargetMachine>MachineX86</TargetMachine>
<ImportLibrary>$(OutDir)libintl_debug.lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>Full</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<AdditionalIncludeDirectories>.\..\..\source\gettext-runtime;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>LOCALEDIR="c:\\\\program files\\gettext";LOCALE_ALIAS_PATH="c:\\\\program files\\gettext";LIBDIR="c:\\\\program files\\gettext";BUILDING_LIBINTL;BUILDING_DLL;IN_LIBINTL;ENABLE_RELOCATABLE=1;IN_LIBRARY;INSTALLDIR="c:\\\\program files\\gettext";NO_XMALLOC;set_relocation_prefix=libintl_set_relocation_prefix;relocate=libintl_relocate;DEPENDS_ON_LIBICONV=1;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader />
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<ProgramDataBaseFileName>$(IntDir)libintl.pdb</ProgramDataBaseFileName>
</ClCompile>
<Link>
<OutputFile>Release\libintl.dll</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention />
<TargetMachine>MachineX86</TargetMachine>
<ImportLibrary>$(OutDir)libintl.lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\..\..\source\gettext-runtime;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>LOCALEDIR="c:\\\\program files\\gettext";LOCALE_ALIAS_PATH="c:\\\\program files\\gettext";LIBDIR="c:\\\\program files\\gettext";BUILDING_LIBINTL;BUILDING_DLL;IN_LIBINTL;ENABLE_RELOCATABLE=1;IN_LIBRARY;INSTALLDIR="c:\\\\program files\\gettext";NO_XMALLOC;set_relocation_prefix=libintl_set_relocation_prefix;relocate=libintl_relocate;DEPENDS_ON_LIBICONV=1;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader />
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<OutputFile>x64\Debug\libintl_debug.dll</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention />
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<Optimization>Full</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<AdditionalIncludeDirectories>.\..\..\source\gettext-runtime;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>LOCALEDIR="c:\\\\program files\\gettext";LOCALE_ALIAS_PATH="c:\\\\program files\\gettext";LIBDIR="c:\\\\program files\\gettext";BUILDING_LIBINTL;BUILDING_DLL;IN_LIBINTL;ENABLE_RELOCATABLE=1;IN_LIBRARY;INSTALLDIR="c:\\\\program files\\gettext";NO_XMALLOC;set_relocation_prefix=libintl_set_relocation_prefix;relocate=libintl_relocate;DEPENDS_ON_LIBICONV=1;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader />
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<OutputFile>x64\Release\libintl.dll</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention />
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\source\gettext-runtime\intl\bindtextdom.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\dcgettext.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\dcigettext.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\dcngettext.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\dgettext.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\dngettext.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\explodename.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\finddomain.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\gettext.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\hash-string.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\intl-compat.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\l10nflist.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\langprefs.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\loadmsgcat.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\localcharset.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\localealias.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\localename.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\lock.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\log.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\ngettext.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\osdep.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\plural-exp.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\plural.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\printf.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\relocatable.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\textdomain.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\version.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\source\gettext-runtime\config.h" />
<ClInclude Include="..\..\source\gettext-runtime\intl\libgnuintl.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\libintl-x64.rc">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
</ResourceCompile>
<ResourceCompile Include="..\libintl.rc">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ResourceCompile>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,188 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{A84D3840-B684-4129-A466-87C0DE24B6BB}</ProjectGuid>
<RootNamespace>libintl_static</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v110</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v110</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v110</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v110</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>11.0.51106.1</_ProjectFileVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
<IntDir>$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
<IntDir>$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
<IntDir>$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
<IntDir>$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\..\..\source\gettext-runtime;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>LOCALEDIR="c:\\\\program files\\gettext";LOCALE_ALIAS_PATH="c:\\\\program files\\gettext";LIBDIR="c:\\\\program files\\gettext";IN_LIBINTL;ENABLE_RELOCATABLE=1;IN_LIBRARY;INSTALLDIR="c:\\\\program files\\gettext";NO_XMALLOC;set_relocation_prefix=libintl_set_relocation_prefix;relocate=libintl_relocate;DEPENDS_ON_LIBICONV=1;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader />
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<Lib>
<OutputFile>Debug\libintl_a_debug.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>Full</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<AdditionalIncludeDirectories>.\..\..\source\gettext-runtime;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>LOCALEDIR="c:\\\\program files\\gettext";LOCALE_ALIAS_PATH="c:\\\\program files\\gettext";LIBDIR="c:\\\\program files\\gettext";IN_LIBINTL;ENABLE_RELOCATABLE=1;IN_LIBRARY;INSTALLDIR="c:\\\\program files\\gettext";NO_XMALLOC;set_relocation_prefix=libintl_set_relocation_prefix;relocate=libintl_relocate;DEPENDS_ON_LIBICONV=1;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader />
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Lib>
<OutputFile>Release\libintl_a.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\..\..\source\gettext-runtime;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>LOCALEDIR="c:\\\\program files\\gettext";LOCALE_ALIAS_PATH="c:\\\\program files\\gettext";LIBDIR="c:\\\\program files\\gettext";IN_LIBINTL;ENABLE_RELOCATABLE=1;IN_LIBRARY;INSTALLDIR="c:\\\\program files\\gettext";NO_XMALLOC;set_relocation_prefix=libintl_set_relocation_prefix;relocate=libintl_relocate;DEPENDS_ON_LIBICONV=1;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader />
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Lib>
<OutputFile>x64\Debug\libintl_a_debug.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<Optimization>Full</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<AdditionalIncludeDirectories>.\..\..\source\gettext-runtime;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>LOCALEDIR="c:\\\\program files\\gettext";LOCALE_ALIAS_PATH="c:\\\\program files\\gettext";LIBDIR="c:\\\\program files\\gettext";IN_LIBINTL;ENABLE_RELOCATABLE=1;IN_LIBRARY;INSTALLDIR="c:\\\\program files\\gettext";NO_XMALLOC;set_relocation_prefix=libintl_set_relocation_prefix;relocate=libintl_relocate;DEPENDS_ON_LIBICONV=1;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader />
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Lib>
<OutputFile>x64\Release\libintl_a.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\source\gettext-runtime\intl\bindtextdom.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\dcgettext.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\dcigettext.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\dcngettext.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\dgettext.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\dngettext.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\explodename.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\finddomain.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\gettext.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\hash-string.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\intl-compat.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\l10nflist.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\langprefs.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\loadmsgcat.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\localcharset.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\localealias.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\localename.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\lock.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\log.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\ngettext.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\osdep.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\plural-exp.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\plural.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\printf.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\relocatable.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\textdomain.c" />
<ClCompile Include="..\..\source\gettext-runtime\intl\version.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\source\gettext-runtime\config.h" />
<ClInclude Include="..\..\source\gettext-runtime\intl\libgnuintl.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

41
MSVC6/gettext.dsw Normal file
View File

@@ -0,0 +1,41 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "libintl_dll"=.\libintl_dll\libintl_dll.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "libintl_static"=.\libintl_static\libintl_static.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

BIN
MSVC6/gettext.ncb Normal file

Binary file not shown.

BIN
MSVC6/gettext.opt Normal file

Binary file not shown.

40
MSVC6/libintl.rc Normal file
View File

@@ -0,0 +1,40 @@
/* Resources for libintl.dll */
/* There are 4 occurrences of the version number in this file. */
#include <winver.h>
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,17,0,0
PRODUCTVERSION 0,17,0,0
FILEFLAGSMASK 0x3fL /* VS_FFI_FILEFLAGSMASK */
#ifdef _DEBUG
FILEFLAGS 0x1L /* VS_FF_DEBUG */
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x10004L /* VOS_DOS_WINDOWS32 */
FILETYPE 0x2L /* VFT_DLL */
FILESUBTYPE 0x0L /* VFT2_UNKNOWN */
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "04090000" /* Lang = US English, Charset = ASCII */
BEGIN
VALUE "Comments", "This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\0"
VALUE "CompanyName", "Free Software Foundation\0"
VALUE "FileDescription", "LGPLed libiconv for Windows NT/2000/XP and Windows 95/98/ME\0"
VALUE "FileVersion", "0.17\0"
VALUE "InternalName", "libintl.dll\0"
VALUE "LegalCopyright", "Copyright (C) 1995-2007\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "libintl.dll\0"
VALUE "ProductName", "libintl: accessing NLS message catalogs\0"
VALUE "ProductVersion", "0.17\0"
VALUE "SpecialBuild", "Built for http://php.net with MSVC6\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 0 /* US English, ASCII */
END
END

View File

@@ -0,0 +1,229 @@
# Microsoft Developer Studio Project File - Name="libintl_dll" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
CFG=intl - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "libintl_dll.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "libintl_dll.mak" CFG="intl - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "libintl_dll - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "libintl_dll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "libintl_dll - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "INTL_EXPORTS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I ".\..\..\MSVC6" /I ".\..\..\source\gettext-runtime" /FI"vc6.h" /D "BUILDING_LIBINTL" /D "BUILDING_DLL" /D "IN_LIBINTL" /D ENABLE_RELOCATABLE=1 /D "IN_LIBRARY" /D "NO_XMALLOC" /D set_relocation_prefix=libintl_set_relocation_prefix /D relocate=libintl_relocate /D DEPENDS_ON_LIBICONV=1 /D "HAVE_CONFIG_H" /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /pdb:"Release/libintl.pdb" /debug /machine:I386 /out:"Release/libintl.dll" /implib:"Release/libintl.lib"
# SUBTRACT LINK32 /pdb:none
!ELSEIF "$(CFG)" == "libintl_dll - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "INTL_EXPORTS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I ".\..\..\source\gettext-runtime" /I ".\..\..\MSVC6" /FI"vc6.h" /D "BUILDING_LIBINTL" /D "BUILDING_DLL" /D "IN_LIBINTL" /D ENABLE_RELOCATABLE=1 /D "IN_LIBRARY" /D "NO_XMALLOC" /D set_relocation_prefix=libintl_set_relocation_prefix /D relocate=libintl_relocate /D DEPENDS_ON_LIBICONV=1 /D "HAVE_CONFIG_H" /FD /GZ /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /pdb:"Debug/libintl_debug.pdb" /debug /machine:I386 /out:"Debug/libintl_debug.dll" /implib:"Debug/libintl_debug.lib" /pdbtype:sept
# SUBTRACT LINK32 /pdb:none
!ENDIF
# Begin Target
# Name "libintl_dll - Win32 Release"
# Name "libintl_dll - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\bindtextdom.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\dcgettext.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\dcigettext.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\dcngettext.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\dgettext.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\dngettext.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\explodename.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\finddomain.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\gettext.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\hash-string.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\intl-compat.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\l10nflist.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\langprefs.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\loadmsgcat.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\localcharset.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\localealias.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\localename.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\lock.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\log.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\ngettext.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\osdep.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\plural-exp.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\plural.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\printf.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\relocatable.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\textdomain.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\version.c"
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
SOURCE="..\..\source\gettext-runtime\config.h"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\libgnuintl.h"
# End Source File
# Begin Source File
SOURCE=..\vc6.h
# End Source File
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# Begin Source File
SOURCE=..\libintl.rc
# End Source File
# End Group
# End Target
# End Project

View File

@@ -0,0 +1,117 @@
<html>
<body>
<pre>
<h1>Build Log</h1>
<h3>
--------------------Configuration: libintl_dll - Win32 Release--------------------
</h3>
<h3>Command Lines</h3>
Creating command line "rc.exe /l 0x409 /fo"Release/libintl.res" /i "\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\MSVC6" /d "NDEBUG" "C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\MSVC6\libintl.rc""
Creating temporary file "C:\DOCUME~1\pierre\LOCALS~1\Temp\1\RSP1FA.tmp" with contents
[
/nologo /MD /W3 /GX /O2 /I ".\..\..\MSVC6" /I ".\..\..\source\gettext-runtime" /FI"vc6.h" /D "BUILDING_LIBINTL" /D "BUILDING_DLL" /D "IN_LIBINTL" /D ENABLE_RELOCATABLE=1 /D "IN_LIBRARY" /D "NO_XMALLOC" /D set_relocation_prefix=libintl_set_relocation_prefix /D relocate=libintl_relocate /D DEPENDS_ON_LIBICONV=1 /D "HAVE_CONFIG_H" /Fo"Release/" /Fd"Release/" /FD /c
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\bindtextdom.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\dcgettext.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\dcigettext.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\dcngettext.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\dgettext.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\dngettext.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\explodename.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\finddomain.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\gettext.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\hash-string.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\intl-compat.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\l10nflist.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\langprefs.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\loadmsgcat.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\localcharset.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\localealias.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\localename.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\lock.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\log.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\ngettext.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\osdep.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\plural-exp.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\plural.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\printf.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\relocatable.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\textdomain.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\version.c"
]
Creating command line "cl.exe @C:\DOCUME~1\pierre\LOCALS~1\Temp\1\RSP1FA.tmp"
Creating temporary file "C:\DOCUME~1\pierre\LOCALS~1\Temp\1\RSP1FB.tmp" with contents
[
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:no /pdb:"Release/libintl.pdb" /debug /machine:I386 /out:"Release/libintl.dll" /implib:"Release/libintl.lib"
".\Release\bindtextdom.obj"
".\Release\dcgettext.obj"
".\Release\dcigettext.obj"
".\Release\dcngettext.obj"
".\Release\dgettext.obj"
".\Release\dngettext.obj"
".\Release\explodename.obj"
".\Release\finddomain.obj"
".\Release\gettext.obj"
".\Release\hash-string.obj"
".\Release\intl-compat.obj"
".\Release\l10nflist.obj"
".\Release\langprefs.obj"
".\Release\loadmsgcat.obj"
".\Release\localcharset.obj"
".\Release\localealias.obj"
".\Release\localename.obj"
".\Release\lock.obj"
".\Release\log.obj"
".\Release\ngettext.obj"
".\Release\osdep.obj"
".\Release\plural-exp.obj"
".\Release\plural.obj"
".\Release\printf.obj"
".\Release\relocatable.obj"
".\Release\textdomain.obj"
".\Release\version.obj"
".\Release\libintl.res"
]
Creating command line "link.exe @C:\DOCUME~1\pierre\LOCALS~1\Temp\1\RSP1FB.tmp"
<h3>Output Window</h3>
Compiling resources...
Compiling...
bindtextdom.c
dcgettext.c
dcigettext.c
dcngettext.c
dgettext.c
dngettext.c
explodename.c
finddomain.c
gettext.c
hash-string.c
intl-compat.c
l10nflist.c
langprefs.c
loadmsgcat.c
localcharset.c
localealias.c
localename.c
lock.c
log.c
ngettext.c
Generating Code...
Compiling...
osdep.c
plural-exp.c
plural.c
printf.c
relocatable.c
textdomain.c
version.c
Generating Code...
Linking...
Creating library Release/libintl.lib and object Release/libintl.exp
<h3>Results</h3>
libintl.dll - 0 error(s), 0 warning(s)
</pre>
</body>
</html>

View File

@@ -0,0 +1,204 @@
# Microsoft Developer Studio Project File - Name="libintl_static" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Static Library" 0x0104
CFG=libintl - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "libintl_static.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "libintl_static.mak" CFG="libintl - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "libintl_static - Win32 Release" (based on "Win32 (x86) Static Library")
!MESSAGE "libintl_static - Win32 Debug" (based on "Win32 (x86) Static Library")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "libintl_static - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I ".\..\..\source\gettext-runtime" /I ".\..\..\MSVC6" /FI"vc6.h" /D "IN_LIBINTL" /D ENABLE_RELOCATABLE=1 /D "IN_LIBRARY" /D "NO_XMALLOC" /D set_relocation_prefix=libintl_set_relocation_prefix /D relocate=libintl_relocate /D DEPENDS_ON_LIBICONV=1 /D "HAVE_CONFIG_H" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"Release\libintl_a.lib"
!ELSEIF "$(CFG)" == "libintl_static - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I ".\..\..\source\gettext-runtime" /I ".\..\..\MSVC6" /FI"vc6.h" /D "IN_LIBINTL" /D ENABLE_RELOCATABLE=1 /D "IN_LIBRARY" /D "NO_XMALLOC" /D set_relocation_prefix=libintl_set_relocation_prefix /D relocate=libintl_relocate /D DEPENDS_ON_LIBICONV=1 /D "HAVE_CONFIG_H" /FD /GZ /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"Debug\libintl_a_debug.lib"
!ENDIF
# Begin Target
# Name "libintl_static - Win32 Release"
# Name "libintl_static - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\bindtextdom.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\dcgettext.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\dcigettext.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\dcngettext.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\dgettext.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\dngettext.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\explodename.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\finddomain.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\gettext.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\hash-string.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\intl-compat.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\l10nflist.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\langprefs.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\loadmsgcat.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\localcharset.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\localealias.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\localename.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\lock.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\log.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\ngettext.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\osdep.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\plural.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\printf.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\relocatable.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\textdomain.c"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\version.c"
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
SOURCE="..\..\source\gettext-runtime\config.h"
# End Source File
# Begin Source File
SOURCE="..\..\source\gettext-runtime\intl\libgnuintl.h"
# End Source File
# End Group
# End Target
# End Project

View File

@@ -0,0 +1,107 @@
<html>
<body>
<pre>
<h1>Build Log</h1>
<h3>
--------------------Configuration: libintl_static - Win32 Release--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "C:\DOCUME~1\pierre\LOCALS~1\Temp\1\RSP1FF.tmp" with contents
[
/nologo /MD /W3 /GX /O2 /I ".\..\..\source\gettext-runtime" /I ".\..\..\MSVC6" /FI"vc6.h" /D "IN_LIBINTL" /D ENABLE_RELOCATABLE=1 /D "IN_LIBRARY" /D "NO_XMALLOC" /D set_relocation_prefix=libintl_set_relocation_prefix /D relocate=libintl_relocate /D DEPENDS_ON_LIBICONV=1 /D "HAVE_CONFIG_H" /Fp"Release/libintl_static.pch" /YX /Fo"Release/" /Fd"Release/" /FD /c
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\bindtextdom.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\dcgettext.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\dcigettext.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\dcngettext.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\dgettext.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\dngettext.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\explodename.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\finddomain.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\gettext.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\hash-string.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\intl-compat.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\l10nflist.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\langprefs.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\loadmsgcat.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\localcharset.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\localealias.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\localename.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\lock.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\log.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\ngettext.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\osdep.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\plural.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\printf.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\relocatable.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\textdomain.c"
"C:\php-sdk\vc6\x86\libs_build\gettext-runtime-0.17-source\source\gettext-runtime\intl\version.c"
]
Creating command line "cl.exe @C:\DOCUME~1\pierre\LOCALS~1\Temp\1\RSP1FF.tmp"
Creating temporary file "C:\DOCUME~1\pierre\LOCALS~1\Temp\1\RSP200.tmp" with contents
[
/nologo /out:"Release\libintl_a.lib"
".\Release\bindtextdom.obj"
".\Release\dcgettext.obj"
".\Release\dcigettext.obj"
".\Release\dcngettext.obj"
".\Release\dgettext.obj"
".\Release\dngettext.obj"
".\Release\explodename.obj"
".\Release\finddomain.obj"
".\Release\gettext.obj"
".\Release\hash-string.obj"
".\Release\intl-compat.obj"
".\Release\l10nflist.obj"
".\Release\langprefs.obj"
".\Release\loadmsgcat.obj"
".\Release\localcharset.obj"
".\Release\localealias.obj"
".\Release\localename.obj"
".\Release\lock.obj"
".\Release\log.obj"
".\Release\ngettext.obj"
".\Release\osdep.obj"
".\Release\plural.obj"
".\Release\printf.obj"
".\Release\relocatable.obj"
".\Release\textdomain.obj"
".\Release\version.obj"
]
Creating command line "link.exe -lib @C:\DOCUME~1\pierre\LOCALS~1\Temp\1\RSP200.tmp"
<h3>Output Window</h3>
Compiling...
bindtextdom.c
dcgettext.c
dcigettext.c
dcngettext.c
dgettext.c
dngettext.c
explodename.c
finddomain.c
gettext.c
hash-string.c
intl-compat.c
l10nflist.c
langprefs.c
loadmsgcat.c
localcharset.c
localealias.c
localename.c
lock.c
log.c
ngettext.c
osdep.c
plural.c
printf.c
relocatable.c
textdomain.c
version.c
Creating library...
<h3>Results</h3>
libintl_a.lib - 0 error(s), 0 warning(s)
</pre>
</body>
</html>

7
MSVC6/vc6.h Normal file
View File

@@ -0,0 +1,7 @@
/* VC6 throws spurious errors in lock.c so we shut them up */
#pragma warning(disable: 4090)
#pragma warning(disable: 4024)
#define LOCALEDIR "c:\\\\program files\\gettext"
#define LOCALE_ALIAS_PATH "c:\\\\program files\\gettext"
#define LIBDIR "c:\\\\program files\\gettext"
#define INSTALLDIR "c:\\\\program files\\gettext"

35
MSVC9/gettext.sln Normal file
View File

@@ -0,0 +1,35 @@
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libintl_static", "libintl_static\libintl_static.vcproj", "{A84D3840-B684-4129-A466-87C0DE24B6BB}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libintl_dll", "libintl_dll\libintl_dll.vcproj", "{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A84D3840-B684-4129-A466-87C0DE24B6BB}.Debug|Win32.ActiveCfg = Debug|Win32
{A84D3840-B684-4129-A466-87C0DE24B6BB}.Debug|Win32.Build.0 = Debug|Win32
{A84D3840-B684-4129-A466-87C0DE24B6BB}.Debug|x64.ActiveCfg = Debug|x64
{A84D3840-B684-4129-A466-87C0DE24B6BB}.Debug|x64.Build.0 = Debug|x64
{A84D3840-B684-4129-A466-87C0DE24B6BB}.Release|Win32.ActiveCfg = Release|Win32
{A84D3840-B684-4129-A466-87C0DE24B6BB}.Release|Win32.Build.0 = Release|Win32
{A84D3840-B684-4129-A466-87C0DE24B6BB}.Release|x64.ActiveCfg = Release|x64
{A84D3840-B684-4129-A466-87C0DE24B6BB}.Release|x64.Build.0 = Release|x64
{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}.Debug|Win32.ActiveCfg = Debug|Win32
{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}.Debug|Win32.Build.0 = Debug|Win32
{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}.Debug|x64.ActiveCfg = Debug|x64
{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}.Debug|x64.Build.0 = Debug|x64
{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}.Release|Win32.ActiveCfg = Release|Win32
{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}.Release|Win32.Build.0 = Release|Win32
{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}.Release|x64.ActiveCfg = Release|x64
{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

40
MSVC9/libintl-x64.rc Normal file
View File

@@ -0,0 +1,40 @@
/* Resources for libintl.dll */
/* There are 4 occurrences of the version number in this file. */
#include <winver.h>
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,17,0,0
PRODUCTVERSION 0,17,0,0
FILEFLAGSMASK 0x3fL /* VS_FFI_FILEFLAGSMASK */
#ifdef _DEBUG
FILEFLAGS 0x1L /* VS_FF_DEBUG */
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x10004L /* VOS_DOS_WINDOWS32 */
FILETYPE 0x2L /* VFT_DLL */
FILESUBTYPE 0x0L /* VFT2_UNKNOWN */
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "04090000" /* Lang = US English, Charset = ASCII */
BEGIN
VALUE "Comments", "This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\0"
VALUE "CompanyName", "Free Software Foundation\0"
VALUE "FileDescription", "LGPLed libiconv for Windows XP 64 and Vista 64\0"
VALUE "FileVersion", "0.17\0"
VALUE "InternalName", "libintl\0"
VALUE "LegalCopyright", "Copyright (C) 1995-2007\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "libintl.dll\0"
VALUE "ProductName", "libintl: accessing NLS message catalogs\0"
VALUE "ProductVersion", "0.17\0"
VALUE "SpecialBuild", "Built for http://php.net with MSVC9-x64\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 0 /* US English, ASCII */
END
END

40
MSVC9/libintl.rc Normal file
View File

@@ -0,0 +1,40 @@
/* Resources for libintl.dll */
/* There are 4 occurrences of the version number in this file. */
#include <winver.h>
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,17,0,0
PRODUCTVERSION 0,17,0,0
FILEFLAGSMASK 0x3fL /* VS_FFI_FILEFLAGSMASK */
#ifdef _DEBUG
FILEFLAGS 0x1L /* VS_FF_DEBUG */
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x10004L /* VOS_DOS_WINDOWS32 */
FILETYPE 0x2L /* VFT_DLL */
FILESUBTYPE 0x0L /* VFT2_UNKNOWN */
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "04090000" /* Lang = US English, Charset = ASCII */
BEGIN
VALUE "Comments", "This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\0"
VALUE "CompanyName", "Free Software Foundation\0"
VALUE "FileDescription", "LGPLed libiconv for Windows NT/2000/XP and Windows 95/98/ME\0"
VALUE "FileVersion", "0.17\0"
VALUE "InternalName", "libintl\0"
VALUE "LegalCopyright", "Copyright (C) 1995-2007\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "libintl.dll\0"
VALUE "ProductName", "libintl: accessing NLS message catalogs\0"
VALUE "ProductVersion", "0.17\0"
VALUE "SpecialBuild", "Built for http://php.net with MSVC9\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 0 /* US English, ASCII */
END
END

View File

@@ -0,0 +1,513 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="libintl_dll"
ProjectGUID="{9E3973B5-12BD-4E6F-A30A-D41D8E657A4D}"
RootNamespace="libintl_dll"
Keyword="Win32Proj"
TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
Name="Win32"
/>
<Platform
Name="x64"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=".\..\..\source\gettext-runtime"
PreprocessorDefinitions="LOCALEDIR=\&quot;c:\\\\program files\\gettext\&quot;;LOCALE_ALIAS_PATH=\&quot;c:\\\\program files\\gettext\&quot;;LIBDIR=\&quot;c:\\\\program files\\gettext\&quot;;BUILDING_LIBINTL;BUILDING_DLL;IN_LIBINTL;ENABLE_RELOCATABLE=1;IN_LIBRARY;INSTALLDIR=\&quot;c:\\\\program files\\gettext\&quot;;NO_XMALLOC;set_relocation_prefix=libintl_set_relocation_prefix;relocate=libintl_relocate;DEPENDS_ON_LIBICONV=1;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
OutputFile="Debug\libintl_debug.dll"
LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="2"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="1"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="3"
InlineFunctionExpansion="2"
AdditionalIncludeDirectories=".\..\..\source\gettext-runtime"
PreprocessorDefinitions="LOCALEDIR=\&quot;c:\\\\program files\\gettext\&quot;;LOCALE_ALIAS_PATH=\&quot;c:\\\\program files\\gettext\&quot;;LIBDIR=\&quot;c:\\\\program files\\gettext\&quot;;BUILDING_LIBINTL;BUILDING_DLL;IN_LIBINTL;ENABLE_RELOCATABLE=1;IN_LIBRARY;INSTALLDIR=\&quot;c:\\\\program files\\gettext\&quot;;NO_XMALLOC;set_relocation_prefix=libintl_set_relocation_prefix;relocate=libintl_relocate;DEPENDS_ON_LIBICONV=1;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
OutputFile="Release\libintl.dll"
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Debug|x64"
OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="3"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=".\..\..\source\gettext-runtime"
PreprocessorDefinitions="LOCALEDIR=\&quot;c:\\\\program files\\gettext\&quot;;LOCALE_ALIAS_PATH=\&quot;c:\\\\program files\\gettext\&quot;;LIBDIR=\&quot;c:\\\\program files\\gettext\&quot;;BUILDING_LIBINTL;BUILDING_DLL;IN_LIBINTL;ENABLE_RELOCATABLE=1;IN_LIBRARY;INSTALLDIR=\&quot;c:\\\\program files\\gettext\&quot;;NO_XMALLOC;set_relocation_prefix=libintl_set_relocation_prefix;relocate=libintl_relocate;DEPENDS_ON_LIBICONV=1;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
OutputFile="x64\Debug\libintl_debug.dll"
LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="2"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
TargetMachine="17"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|x64"
OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="1"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="3"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="3"
InlineFunctionExpansion="2"
AdditionalIncludeDirectories=".\..\..\source\gettext-runtime"
PreprocessorDefinitions="LOCALEDIR=\&quot;c:\\\\program files\\gettext\&quot;;LOCALE_ALIAS_PATH=\&quot;c:\\\\program files\\gettext\&quot;;LIBDIR=\&quot;c:\\\\program files\\gettext\&quot;;BUILDING_LIBINTL;BUILDING_DLL;IN_LIBINTL;ENABLE_RELOCATABLE=1;IN_LIBRARY;INSTALLDIR=\&quot;c:\\\\program files\\gettext\&quot;;NO_XMALLOC;set_relocation_prefix=libintl_set_relocation_prefix;relocate=libintl_relocate;DEPENDS_ON_LIBICONV=1;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
OutputFile="x64\Release\libintl.dll"
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
TargetMachine="17"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\..\source\gettext-runtime\intl\bindtextdom.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\dcgettext.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\dcigettext.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\dcngettext.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\dgettext.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\dngettext.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\explodename.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\finddomain.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\gettext.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\hash-string.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\intl-compat.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\l10nflist.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\langprefs.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\loadmsgcat.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\localcharset.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\localealias.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\localename.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\lock.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\log.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\ngettext.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\osdep.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\plural-exp.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\plural.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\printf.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\relocatable.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\textdomain.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\version.c"
>
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath="..\..\source\gettext-runtime\config.h"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\libgnuintl.h"
>
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
<File
RelativePath="..\libintl-x64.rc"
>
<FileConfiguration
Name="Debug|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCResourceCompilerTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCResourceCompilerTool"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\libintl.rc"
>
<FileConfiguration
Name="Debug|x64"
ExcludedFromBuild="true"
>
<Tool
Name="VCResourceCompilerTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|x64"
ExcludedFromBuild="true"
>
<Tool
Name="VCResourceCompilerTool"
/>
</FileConfiguration>
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View File

@@ -0,0 +1,421 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="libintl_static"
ProjectGUID="{A84D3840-B684-4129-A466-87C0DE24B6BB}"
RootNamespace="libintl_static"
Keyword="Win32Proj"
TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
Name="Win32"
/>
<Platform
Name="x64"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=".\..\..\source\gettext-runtime"
PreprocessorDefinitions="LOCALEDIR=\&quot;c:\\\\program files\\gettext\&quot;;LOCALE_ALIAS_PATH=\&quot;c:\\\\program files\\gettext\&quot;;LIBDIR=\&quot;c:\\\\program files\\gettext\&quot;;IN_LIBINTL;ENABLE_RELOCATABLE=1;IN_LIBRARY;INSTALLDIR=\&quot;c:\\\\program files\\gettext\&quot;;NO_XMALLOC;set_relocation_prefix=libintl_set_relocation_prefix;relocate=libintl_relocate;DEPENDS_ON_LIBICONV=1;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
OutputFile="Debug\libintl_a_debug.lib"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="3"
InlineFunctionExpansion="2"
AdditionalIncludeDirectories=".\..\..\source\gettext-runtime"
PreprocessorDefinitions="LOCALEDIR=\&quot;c:\\\\program files\\gettext\&quot;;LOCALE_ALIAS_PATH=\&quot;c:\\\\program files\\gettext\&quot;;LIBDIR=\&quot;c:\\\\program files\\gettext\&quot;;IN_LIBINTL;ENABLE_RELOCATABLE=1;IN_LIBRARY;INSTALLDIR=\&quot;c:\\\\program files\\gettext\&quot;;NO_XMALLOC;set_relocation_prefix=libintl_set_relocation_prefix;relocate=libintl_relocate;DEPENDS_ON_LIBICONV=1;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
OutputFile="Release\libintl_a.lib"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Debug|x64"
OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="3"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=".\..\..\source\gettext-runtime"
PreprocessorDefinitions="LOCALEDIR=\&quot;c:\\\\program files\\gettext\&quot;;LOCALE_ALIAS_PATH=\&quot;c:\\\\program files\\gettext\&quot;;LIBDIR=\&quot;c:\\\\program files\\gettext\&quot;;IN_LIBINTL;ENABLE_RELOCATABLE=1;IN_LIBRARY;INSTALLDIR=\&quot;c:\\\\program files\\gettext\&quot;;NO_XMALLOC;set_relocation_prefix=libintl_set_relocation_prefix;relocate=libintl_relocate;DEPENDS_ON_LIBICONV=1;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
OutputFile="x64\Debug\libintl_a_debug.lib"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|x64"
OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="3"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="3"
InlineFunctionExpansion="2"
AdditionalIncludeDirectories=".\..\..\source\gettext-runtime"
PreprocessorDefinitions="LOCALEDIR=\&quot;c:\\\\program files\\gettext\&quot;;LOCALE_ALIAS_PATH=\&quot;c:\\\\program files\\gettext\&quot;;LIBDIR=\&quot;c:\\\\program files\\gettext\&quot;;IN_LIBINTL;ENABLE_RELOCATABLE=1;IN_LIBRARY;INSTALLDIR=\&quot;c:\\\\program files\\gettext\&quot;;NO_XMALLOC;set_relocation_prefix=libintl_set_relocation_prefix;relocate=libintl_relocate;DEPENDS_ON_LIBICONV=1;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
OutputFile="x64\Release\libintl_a.lib"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\..\source\gettext-runtime\intl\bindtextdom.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\dcgettext.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\dcigettext.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\dcngettext.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\dgettext.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\dngettext.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\explodename.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\finddomain.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\gettext.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\hash-string.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\intl-compat.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\l10nflist.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\langprefs.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\loadmsgcat.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\localcharset.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\localealias.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\localename.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\lock.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\log.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\ngettext.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\osdep.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\plural-exp.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\plural.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\printf.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\relocatable.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\textdomain.c"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\version.c"
>
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath="..\..\source\gettext-runtime\config.h"
>
</File>
<File
RelativePath="..\..\source\gettext-runtime\intl\libgnuintl.h"
>
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

14
README.txt Normal file
View File

@@ -0,0 +1,14 @@
Source Version: 0.17 2007.11.06 release
Source From: http://ftp.gnu.org/pub/gnu/gettext/
In project: libintl in static library and dll versions
Naming Conventions:
libintl_a.lib is a static library
libintl.dll/libintl.lib is the dll version and stub library
All binaries have .rc files for version info specifying which compiler used and that these are 'special builds'
Required a few source changes, including a forgotten IO.h include for windows, some posix to ansi renames
an inline to make wmemcpy cooperate on vc6 (7, and 7.1), and export fixes

BIN
gettext-0.17.tar.gz Normal file

Binary file not shown.

1348
gettext-runtime.diff Normal file

File diff suppressed because it is too large Load Diff

18
source/AUTHORS Normal file
View File

@@ -0,0 +1,18 @@
Authors of GNU gettext.
The following contributions warranted legal paper exchanges with the
Free Software Foundation. Also see files ChangeLog and THANKS.
GETTEXT Ulrich Drepper
Assigns program.
GETTEXT Peter Miller
Assigns past and future changes.
GETTEXT Bruno Haible
Assigns past and future changes.
GETTEXT Karl Eichwalder
Assigns past and future changes.
GETTEXT SuSE Linux AG 2002-07-03
Disclaimer for Karl Eichwalder, in the past and for the next 5 years.

674
source/COPYING Normal file
View File

@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

1054
source/ChangeLog Normal file

File diff suppressed because it is too large Load Diff

1770
source/ChangeLog.0 Normal file

File diff suppressed because it is too large Load Diff

108
source/DEPENDENCIES Normal file
View File

@@ -0,0 +1,108 @@
The following packages should be installed before GNU gettext is installed:
* GNU libiconv
+ Not needed on systems with
- glibc 2.2 or newer, or
- MacOS X 10.3 or newer, or
- NetBSD 3.0 or newer.
But highly recommended on all other systems.
Needed for character set conversion of PO files from/to Unicode.
+ Homepage:
http://www.gnu.org/software/libiconv/
+ Download:
http://ftp.gnu.org/gnu/libiconv/
ftp://ftp.gnu.org/gnu/libiconv/
+ If it is installed in a nonstandard directory, pass the option
--with-libiconv-prefix=DIR to 'configure'.
* GNU ncurses (preferred)
or libtermcap (discouraged) or a curses library (legacy).
+ Highly recommended.
Needed for the --color option of the 'msgcat' program.
+ Homepage:
http://www.gnu.org/software/ncurses/
+ Download:
http://ftp.gnu.org/gnu/ncurses/
ftp://ftp.gnu.org/gnu/ncurses/
+ If it is installed in a nonstandard directory, pass the option
--with-ncurses-prefix=DIR or --with-libtermcap-prefix to 'configure'.
* expat 1.95 or newer
+ Recommended.
Needed for 'xgettext', so that it can parse Glade XML files.
+ Homepage:
http://expat.sourceforge.net/
+ Download:
http://sourceforge.net/project/showfiles.php?group_id=10127
+ If it is installed in a nonstandard directory, pass the option
--with-libexpat-prefix to 'configure'.
* A Java runtime and compiler (e.g. GNU gcj or kaffe).
+ Recommended.
Needed for building libintl.jar. Also needed for 'msgfmt' and
'msgunfmt', so that they can handle Java classes and properties files.
+ Homepage:
http://gcc.gnu.org/java/
http://www.kaffe.org/
+ Download:
http://ftp.gnu.org/gnu/gcc/
http://www.kaffe.org/ftp/pub/kaffe/v1.1.x-development/
* A C# runtime and compiler (e.g. pnet or mono).
+ Recommended.
Needed for building GNU.Gettext.dll. Also needed for 'msgfmt' and
'msgunfmt', so that they can handle C# resources and assemblies.
+ Homepage:
http://www.southern-storm.com.au/portable_net.html
+ Download:
http://www.southern-storm.com.au/portable_net.html#download
http://www.mono-project.com/Downloads
+ If more than one C# is installed, pass the option --enable-csharp=IMPL
to 'configure', to disambiguate.
* libxml2
+ Optional.
Needed for the --color option of the various programs.
If not present, a subset of libxml2 (included in this package) will be
compiled into libgettextlib.
+ Homepage:
http://xmlsoft.org/
+ Download:
ftp://xmlsoft.org/libxml2/
+ If it is installed in a nonstandard directory, pass the option
--with-libxml2-prefix=DIR to 'configure'.
* GNOME glib2
+ Optional.
Needed for the --color option of the various programs.
If not present, a subset of libglib2 (included in this package) will be
compiled into libgettextlib.
+ Homepage:
http://developer.gnome.org/arch/gtk/glib.html
+ Download:
http://ftp.gnome.org/pub/GNOME/sources/glib/
+ If it is installed in a nonstandard directory, pass the option
--with-libglib-2.0-prefix=DIR to 'configure'.
* GNOME libcroco 0.6.1 or newer
+ Optional.
Needed for the --color option of the various programs.
If not present, a copy of libcroco-0.6.1 (included in this package) will
be compiled into libgettextlib.
+ Homepage:
http://www.freespiders.org/projects/libcroco/
+ Download:
http://ftp.gnome.org/pub/GNOME/sources/libcroco/0.6/
+ If it is installed in a nonstandard directory, pass the option
--with-libcroco-0.6-prefix=DIR to 'configure'.
The following packages should be installed when GNU gettext is installed:
* CVS 1.11 or newer
+ Recommended.
Needed by the 'autopoint' program.
+ Homepage:
http://ximbiot.com/cvs/wiki/index.php?title=Main_Page
http://www.nongnu.org/cvs/
+ Download:
http://ftp.gnu.org/non-gnu/cvs/

69
source/HACKING Normal file
View File

@@ -0,0 +1,69 @@
All you need to know when hacking (modifying) GNU gettext or when building
it off the CVS.
Requirements
============
You will need reasonably recent versions of the build tools:
* A C compiler; on Cygwin or mingw also a C++ compiler. Such as GNU GCC.
+ Homepage:
http://gcc.gnu.org/
* GNU automake
+ Homepage:
http://www.gnu.org/software/automake/
* GNU autoconf
+ Homepage:
http://www.gnu.org/software/autoconf/
* GNU m4
+ Homepage:
http://www.gnu.org/software/m4/
* GNU bison
+ Homepage:
http://www.gnu.org/software/bison/
* GNU gperf
+ Homepage:
http://www.gnu.org/software/gperf/
* GNU groff 1.17 or newer
+ Homepage:
http://www.gnu.org/software/groff/
* GNU texinfo
+ Homepage:
http://www.gnu.org/software/texinfo/
* GNU emacs or XEmacs
+ Homepage:
http://www.gnu.org/software/emacs/
http://www.xemacs.org/
* Perl
+ Homepage:
http://www.perl.org/
* TeX (for making the doc in .dvi, .ps or .pdf format)
+ Homepage:
http://tug.org/teTeX/
* Either an internet connection or a recent copy of GNU gnulib.
+ Homepage:
http://www.gnu.org/software/gnulib/
And, of course, the packages listed in the DEPENDENCIES file.
Building off the CVS
====================
Access to the CVS is described at http://savannah.gnu.org/cvs/?group=gettext .
After fetching the sources from the CVS, peek at the comments in autogen.sh,
then run "./autogen.sh"; then you can proceed with "./configure" as usual.

285
source/INSTALL Normal file
View File

@@ -0,0 +1,285 @@
These are generic installation instructions.
Prerequisites
=============
This package depends on a few other packages. They are listed in
the file `DEPENDENCIES'. It is recommended to install the listed
packages before installing this package.
Basic Installation
==================
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, a file
`config.cache' that saves the results of its tests to speed up
reconfiguring, and a file `config.log' containing compiler output
(useful mainly for debugging `configure').
If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If at some point `config.cache'
contains results you don't want to keep, you may remove or edit it.
The file `configure.ac' is used to create `configure' by a program
called `autoconf'. You only need `configure.ac' if you want to change
it or regenerate `configure' using a newer version of `autoconf'.
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
the package.
4. Type `make install' to install the programs and any data files and
documentation.
5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.
Compilers and Options
=====================
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. You can give `configure'
initial values for variables as arguments. You can do it like this:
./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
Compiling For Multiple Architectures
====================================
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you must use a version of `make' that
supports the `VPATH' variable, such as GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.
If you have to use a `make' that does not supports the `VPATH'
variable, you have to compile the package for one architecture at a time
in the source code directory. After you have installed the package for
one architecture, use `make distclean' before reconfiguring for another
architecture.
Installation Names
==================
By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc. You can specify an
installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
give `configure' the option `--exec-prefix=PATH', the package will use
PATH as the prefix for installing programs and libraries.
Documentation and other data files will still use the regular prefix.
In addition, if you use an unusual directory layout you can give
options like `--bindir=PATH' to specify different values for particular
kinds of files. Run `configure --help' for a list of the directories
you can set and what kinds of files go in them.
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Enabling Relocatability
=======================
It has been a pain for many users of GNU packages for a long time
that packages are not relocatable. It means a user cannot copy a
program, installed by another user on the same machine, to his home
directory, and have it work correctly (including i18n). So many users
need to go through `configure; make; make install' with all its
dependencies, options, and hurdles.
Red Hat, Debian, and similar package systems solve the "ease of
installation" problem, but they hardwire path names, usually to `/usr'
or `/usr/local'. This means that users need root privileges to install
a binary package, and prevents installing two different versions of the
same binary package.
A relocatable program can be moved or copied to a different location
on the filesystem. It is possible to make symlinks to the installed
and moved programs, and invoke them through the symlink. It is possible
to do the same thing with a hard link _only_ if the hard link file is
in the same directory as the real program.
To configure a program to be relocatable, add `--enable-relocatable'
to the `configure' command line.
On some OSes the executables remember the location of shared
libraries and prefer them over any other search path. Therefore, such
an executable will look for its shared libraries first in the original
installation directory and only then in the current installation
directory. Thus, for reliability, it is best to also give a `--prefix'
option pointing to a directory that does not exist now and which never
will be created, e.g. `--prefix=/nonexistent'. You may use
`DESTDIR=DEST-DIR' on the `make' command line to avoid installing into
that directory.
We do not recommend using a prefix writable by unprivileged users
(e.g. `/tmp/inst$$') because such a directory can be recreated by an
unprivileged user after the original directory has been removed. We
also do not recommend prefixes that might be behind an automounter
(e.g. `$HOME/inst$$') because of the performance impact of directory
searching.
Here's a sample installation run that takes into account all these
recommendations:
./configure --enable-relocatable --prefix=/nonexistent
make
make install DESTDIR=/tmp/inst$$
Installation with `--enable-relocatable' will not work for setuid or
setgid executables, because such executables search only system library
paths for security reasons. Also, installation with
`--enable-relocatable' might not work on OpenBSD, when the package
contains shared libraries and libtool versions 1.5.xx are used.
The runtime penalty and size penalty are negligible on GNU/Linux
(just one system call more when an executable is launched), and small on
other systems (the wrapper program just sets an environment variable
and executes the real program).
Optional Features
=================
Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.
For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.
For packages that use the GNU libiconv library, you can use the
`configure' option `--with-libiconv-prefix' to specify the prefix you
used while installing GNU libiconv. This option is not necessary if
that other prefix is the same as the one now specified through --prefix.
For packages that use the GNU libintl library, you can use the
`configure' option `--with-libintl-prefix' to specify the prefix you
used while installing GNU gettext-runtime. This option is not necessary if
that other prefix is the same as the one now specified through --prefix.
Particular Systems
==================
On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC
is not installed, it is recommended to use the following options in order
to use an ANSI C compiler:
./configure CC="cc -Ae"
On OSF/1 a.k.a. Tru64, some versions of the default C compiler don't grok
its <wchar.h> header file. The option -nodtk can be used as a workaround.
If GNU CC is not installed, it is therefore recommended to try
./configure CC="cc"
and if that doesn't work, try
./configure CC="cc -nodtk"
On AIX 3, the C include files by default don't define some necessary
prototype declarations. If GNU CC is not installed, it is recommended to
use the following options:
./configure CC="xlc -D_ALL_SOURCE"
On BeOS, user installed software goes in /boot/home/config, not
/usr/local. It is recommended to use the following options:
./configure --prefix=/boot/home/config
Specifying the System Type
==========================
There may be some features `configure' can not figure out
automatically, but needs to determine by the type of host the package
will run on. Usually `configure' can figure that out, but if it prints
a message saying it can not guess the host type, give it the
`--host=TYPE' option. TYPE can either be a short name for the system
type, such as `sun4', or a canonical name with three fields:
CPU-COMPANY-SYSTEM
See the file `config.sub' for the possible values of each field. If
`config.sub' isn't included in this package, then this package doesn't
need to know the host type.
If you are building compiler tools for cross-compiling, you can also
use the `--target=TYPE' option to select the type of system they will
produce code for and the `--build=TYPE' option to select the type of
system on which you are compiling the package.
Sharing Defaults
================
If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists. Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.
Operation Controls
==================
`configure' recognizes the following options to control how it
operates.
`--cache-file=FILE'
Use and save the results of the tests in FILE instead of
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
debugging `configure'.
`--help'
Print a summary of the options to `configure', and exit.
`--quiet'
`--silent'
`-q'
Do not print messages saying which checks are being made. To
suppress all normal output, redirect it to `/dev/null' (any error
messages will still be shown).
`--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
`configure' can determine that directory automatically.
`--version'
Print the version of Autoconf used to generate the `configure'
script, and exit.
`configure' also accepts some other, not widely useful, options.

119
source/Makefile.am Normal file
View File

@@ -0,0 +1,119 @@
## Makefile for the toplevel directory of GNU gettext
## Copyright (C) 1995-1999, 2000-2007 Free Software Foundation, Inc.
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
## Process this file with automake to produce Makefile.in.
AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
ACLOCAL = build-aux/fixaclocal @ACLOCAL@
SUBDIRS = gnulib-local gettext-runtime gettext-tools autoconf-lib-link
EXTRA_DIST = \
version.sh DEPENDENCIES PACKAGING HACKING ChangeLog.0 autogen.sh \
build-aux/ac-help.sed build-aux/fixaclocal build-aux/moopp \
m4/fixautomake.m4 m4/woe32-dll.m4 \
m4/libtool.m4
# Additional dependencies for configure, due to the use of autoconf --trace.
$(srcdir)/configure: $(srcdir)/autoconf-lib-link/configure.ac $(srcdir)/gettext-runtime/configure.ac $(srcdir)/gettext-tools/configure.ac
# Verify that some files are the same.
distcheck-hook:
cmp -s gettext-runtime/po/Makefile.in.in gettext-tools/po/Makefile.in.in
cmp -s gettext-runtime/po/Rules-quot gettext-tools/po/Rules-quot
cmp -s gettext-runtime/po/boldquot.sed gettext-tools/po/boldquot.sed
cmp -s gettext-runtime/po/quot.sed gettext-tools/po/quot.sed
cmp -s gettext-runtime/po/en@quot.header gettext-tools/po/en@quot.header
cmp -s gettext-runtime/po/en@boldquot.header gettext-tools/po/en@boldquot.header
cmp -s gettext-runtime/po/insert-header.sin gettext-tools/po/insert-header.sin
cmp -s gettext-runtime/po/remove-potcdate.sin gettext-tools/po/remove-potcdate.sin
cmp -s gettext-runtime/po/remove-potcdate.sin gettext-tools/examples/po/remove-potcdate.sin
cmp -s gettext-runtime/m4/codeset.m4 gettext-tools/gnulib-m4/codeset.m4
cmp -s gettext-runtime/m4/gettext.m4 gettext-tools/gnulib-m4/gettext.m4
cmp -s gettext-runtime/m4/glibc2.m4 gettext-tools/gnulib-m4/glibc2.m4
cmp -s gettext-runtime/m4/glibc21.m4 gettext-tools/gnulib-m4/glibc21.m4
cmp -s gettext-runtime/m4/iconv.m4 gettext-tools/gnulib-m4/iconv.m4
cmp -s gettext-runtime/m4/intdiv0.m4 gettext-tools/gnulib-m4/intdiv0.m4
cmp -s gettext-runtime/m4/intl.m4 gettext-tools/gnulib-m4/intl.m4
cmp -s gettext-runtime/m4/intldir.m4 gettext-tools/gnulib-m4/intldir.m4
cmp -s gettext-runtime/m4/intlmacosx.m4 gettext-tools/gnulib-m4/intlmacosx.m4
cmp -s gettext-runtime/m4/intmax.m4 gettext-tools/gnulib-m4/intmax.m4
cmp -s gettext-runtime/m4/inttypes-pri.m4 gettext-tools/gnulib-m4/inttypes-pri.m4
cmp -s gettext-runtime/m4/inttypes_h.m4 gettext-tools/gnulib-m4/inttypes_h.m4
cmp -s gettext-runtime/m4/lcmessage.m4 gettext-tools/gnulib-m4/lcmessage.m4
cmp -s gettext-runtime/m4/lock.m4 gettext-tools/gnulib-m4/lock.m4
cmp -s gettext-runtime/m4/longlong.m4 gettext-tools/gnulib-m4/longlong.m4
cmp -s gettext-runtime/m4/nls.m4 gettext-tools/gnulib-m4/nls.m4
cmp -s gettext-runtime/m4/po.m4 gettext-tools/gnulib-m4/po.m4
cmp -s gettext-runtime/m4/printf-posix.m4 gettext-tools/gnulib-m4/printf-posix.m4
cmp -s gettext-runtime/m4/progtest.m4 gettext-tools/gnulib-m4/progtest.m4
cmp -s gettext-runtime/m4/size_max.m4 gettext-tools/gnulib-m4/size_max.m4
cmp -s gettext-runtime/m4/stdint_h.m4 gettext-tools/gnulib-m4/stdint_h.m4
cmp -s gettext-runtime/m4/uintmax_t.m4 gettext-tools/gnulib-m4/uintmax_t.m4
cmp -s gettext-runtime/m4/visibility.m4 gettext-tools/gnulib-m4/visibility.m4
cmp -s gettext-runtime/m4/wchar_t.m4 gettext-tools/gnulib-m4/wchar_t.m4
cmp -s gettext-runtime/m4/wint_t.m4 gettext-tools/gnulib-m4/wint_t.m4
cmp -s gettext-runtime/m4/xsize.m4 gettext-tools/gnulib-m4/xsize.m4
test "`sed 1,19d gettext-runtime/intl/config.charset | md5sum`" = "`sed 1,18d gettext-tools/gnulib-lib/config.charset | md5sum`"
test "`sed 1,18d gettext-runtime/intl/localcharset.h | md5sum`" = "`sed 1,17d gettext-tools/gnulib-lib/localcharset.h | md5sum`"
test "`sed 1,18d gettext-runtime/intl/localcharset.c | md5sum`" = "`sed 1,17d gettext-tools/gnulib-lib/localcharset.c | md5sum`"
test "`sed 1,17d gettext-runtime/intl/localename.c | md5sum`" = "`sed 1,17d gettext-tools/gnulib-lib/localename.c | md5sum`"
test "`sed 1,17d gettext-runtime/intl/lock.h | md5sum`" = "`sed 1,16d gettext-tools/gnulib-lib/lock.h | md5sum`"
test "`sed 1,17d gettext-runtime/intl/lock.c | md5sum`" = "`sed 1,16d gettext-tools/gnulib-lib/lock.c | md5sum`"
cmp -s gettext-runtime/intl/printf-args.h gettext-runtime/libasprintf/printf-args.h
cmp -s gettext-runtime/intl/printf-args.c gettext-runtime/libasprintf/printf-args.c
cmp -s gettext-runtime/intl/printf-parse.h gettext-runtime/libasprintf/printf-parse.h
cmp -s gettext-runtime/intl/printf-parse.c gettext-runtime/libasprintf/printf-parse.c
test "`sed 1,18d gettext-runtime/intl/ref-add.sin | md5sum`" = "`sed 1,17d gettext-tools/gnulib-lib/ref-add.sin | md5sum`"
test "`sed 1,18d gettext-runtime/intl/ref-del.sin | md5sum`" = "`sed 1,17d gettext-tools/gnulib-lib/ref-del.sin | md5sum`"
test "`sed 1,18d gettext-runtime/intl/relocatable.h | md5sum`" = "`sed 1,18d gettext-tools/gnulib-lib/relocatable.h | md5sum`"
test "`sed 1,18d gettext-runtime/intl/relocatable.c | md5sum`" = "`sed 1,18d gettext-tools/gnulib-lib/relocatable.c | md5sum`"
cmp -s gettext-runtime/intl/vasnprintf.h gettext-runtime/libasprintf/vasnprintf.h
test "`sed 1,18d gettext-runtime/intl/vasnprintf.c | md5sum`" = "`sed 1,17d gettext-tools/gnulib-lib/vasnprintf.c | md5sum`"
cmp -s gettext-runtime/intl/vasnprintf.c gettext-runtime/libasprintf/vasnprintf.c
cmp -s gettext-runtime/intl/xsize.h gettext-runtime/libasprintf/xsize.h
test "`sed 1,18d gettext-runtime/intl/xsize.h | md5sum`" = "`sed 1,17d gettext-tools/gnulib-lib/xsize.h | md5sum`"
cmp -s autoconf-lib-link/m4/lib-ld.m4 gettext-tools/gnulib-m4/lib-ld.m4
cmp -s autoconf-lib-link/m4/lib-link.m4 gettext-tools/gnulib-m4/lib-link.m4
cmp -s autoconf-lib-link/m4/lib-prefix.m4 gettext-tools/gnulib-m4/lib-prefix.m4
cmp -s autoconf-lib-link/config.rpath build-aux/config.rpath
cmp -s gettext-runtime/man/help2man gettext-tools/man/help2man
cmp -s gettext-runtime/man/x-to-1.in gettext-tools/man/x-to-1.in
cmp -s gettext-runtime/libasprintf/texi2html gettext-tools/doc/texi2html
cmp -s gettext-tools/examples/hello-java-awt/m4/TestAWT.java gettext-tools/examples/hello-java-swing/m4/TestAWT.java
cmp -s gettext-tools/examples/hello-java-awt/m4/TestAWT.class gettext-tools/examples/hello-java-swing/m4/TestAWT.class
test "`sed 1,15d gnulib-local/lib/alloca.in.h | md5sum`" = "`sed 1,17d gettext-runtime/libasprintf/alloca.in.h | md5sum`"
cmp -s gettext-tools/libgrep/memchr.c gettext-tools/gnulib-lib/memchr.c
cmp -s gettext-tools/libgrep/strdup.c gettext-tools/gnulib-lib/strdup.c
# DJGPP port.
EXTRA_DIST += djgpp/COPYING.DJ djgpp/Makefile.maint djgpp/README.DJ \
djgpp/README.in djgpp/README djgpp/config.bat djgpp/config.in \
djgpp/config.sed djgpp/config.site djgpp/djpwd.h \
djgpp/edtests.bat djgpp/fnchange.in djgpp/fnchange.lst \
djgpp/getpwnam.c djgpp/msginit.sed djgpp/tscript.sed \
djgpp/unsetenv.c
# OS/2 port.
EXTRA_DIST += os2/README.OS2 os2/Makefile os2/backward.def os2/configure.awk
# Woe32 support.
EXTRA_DIST += README.woe32 windows/windres-options windows/gettext.rc

681
source/Makefile.in Normal file
View File

@@ -0,0 +1,681 @@
# Makefile.in generated by automake 1.10 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
subdir = .
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
ChangeLog INSTALL NEWS THANKS build-aux/compile \
build-aux/config.guess build-aux/config.rpath \
build-aux/config.sub build-aux/depcomp build-aux/elisp-comp \
build-aux/install-sh build-aux/ltmain.sh build-aux/mdate-sh \
build-aux/missing build-aux/mkinstalldirs \
build-aux/texinfo.tex build-aux/ylwrap
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs
CONFIG_CLEAN_FILES =
depcomp =
am__depfiles_maybe =
SOURCES =
DIST_SOURCES =
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
html-recursive info-recursive install-data-recursive \
install-dvi-recursive install-exec-recursive \
install-html-recursive install-info-recursive \
install-pdf-recursive install-ps-recursive install-recursive \
installcheck-recursive installdirs-recursive pdf-recursive \
ps-recursive uninstall-recursive
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
{ test ! -d $(distdir) \
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
&& rm -fr $(distdir); }; }
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
distuninstallcheck_listfiles = find . -type f -print
distcleancheck_listfiles = find . -type f -print
ACLOCAL = build-aux/fixaclocal @ACLOCAL@
AMTAR = @AMTAR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EMACS = @EMACS@
EMACSLOADPATH = @EMACSLOADPATH@
F77 = @F77@
FFLAGS = @FFLAGS@
GCJ = @GCJ@
GCJFLAGS = @GCJFLAGS@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
YACC = @YACC@
YFLAGS = @YFLAGS@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
am__leading_dot = @am__leading_dot@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
subdirs = @subdirs@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
SUBDIRS = gnulib-local gettext-runtime gettext-tools autoconf-lib-link
# DJGPP port.
# OS/2 port.
# Woe32 support.
EXTRA_DIST = version.sh DEPENDENCIES PACKAGING HACKING ChangeLog.0 \
autogen.sh build-aux/ac-help.sed build-aux/fixaclocal \
build-aux/moopp m4/fixautomake.m4 m4/woe32-dll.m4 \
m4/libtool.m4 djgpp/COPYING.DJ djgpp/Makefile.maint \
djgpp/README.DJ djgpp/README.in djgpp/README djgpp/config.bat \
djgpp/config.in djgpp/config.sed djgpp/config.site \
djgpp/djpwd.h djgpp/edtests.bat djgpp/fnchange.in \
djgpp/fnchange.lst djgpp/getpwnam.c djgpp/msginit.sed \
djgpp/tscript.sed djgpp/unsetenv.c os2/README.OS2 os2/Makefile \
os2/backward.def os2/configure.awk README.woe32 \
windows/windres-options windows/gettext.rc
all: all-recursive
.SUFFIXES:
am--refresh:
@:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
cd $(srcdir) && $(AUTOMAKE) --gnu \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(top_srcdir)/configure: $(am__configure_deps)
cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
@failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
$(RECURSIVE_CLEAN_TARGETS):
@failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
rev=''; for subdir in $$list; do \
if test "$$subdir" = "."; then :; else \
rev="$$subdir $$rev"; \
fi; \
done; \
rev="$$rev ."; \
target=`echo $@ | sed s/-recursive//`; \
for subdir in $$rev; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
done
ctags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
done
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -fID $$unique
tags: TAGS
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
include_option=--etags-include; \
empty_fix=.; \
else \
include_option=--include; \
empty_fix=; \
fi; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test ! -f $$subdir/TAGS || \
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$tags $$unique; \
fi
ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$tags $$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& cd $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) $$here
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
$(am__remove_distdir)
test -d $(distdir) || mkdir $(distdir)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -d "$(distdir)/$$subdir" \
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|| exit 1; \
distdir=`$(am__cd) $(distdir) && pwd`; \
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
(cd $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$$top_distdir" \
distdir="$$distdir/$$subdir" \
am__remove_distdir=: \
am__skip_length_check=: \
distdir) \
|| exit 1; \
fi; \
done
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r $(distdir)
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
dist-bzip2: distdir
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
$(am__remove_distdir)
dist-tarZ: distdir
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
$(am__remove_distdir)
dist-shar: distdir
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
$(am__remove_distdir)
dist-zip: distdir
-rm -f $(distdir).zip
zip -rq $(distdir).zip $(distdir)
$(am__remove_distdir)
dist dist-all: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
esac
chmod -R a-w $(distdir); chmod a+w $(distdir)
mkdir $(distdir)/_build
mkdir $(distdir)/_inst
chmod a-w $(distdir)
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
&& $(MAKE) $(AM_MAKEFLAGS) distcheck-hook \
&& cd $(distdir)/_build \
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
$(DISTCHECK_CONFIGURE_FLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
distuninstallcheck \
&& chmod -R a-w "$$dc_install_base" \
&& ({ \
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
} || { rm -rf "$$dc_destdir"; exit 1; }) \
&& rm -rf "$$dc_destdir" \
&& $(MAKE) $(AM_MAKEFLAGS) dist \
&& rm -rf $(DIST_ARCHIVES) \
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
$(am__remove_distdir)
@(echo "$(distdir) archives ready for distribution: "; \
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
distuninstallcheck:
@cd $(distuninstallcheck_dir) \
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|| { echo "ERROR: files left after uninstall:" ; \
if test -n "$(DESTDIR)"; then \
echo " (check DESTDIR support)"; \
fi ; \
$(distuninstallcheck_listfiles) ; \
exit 1; } >&2
distcleancheck: distclean
@if test '$(srcdir)' = . ; then \
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
exit 1 ; \
fi
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left in build directory after distclean:" ; \
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am
check: check-recursive
all-am: Makefile
installdirs: installdirs-recursive
installdirs-am:
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive
clean-am: clean-generic mostlyclean-am
distclean: distclean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -f Makefile
distclean-am: clean-am distclean-generic distclean-tags
dvi: dvi-recursive
dvi-am:
html: html-recursive
info: info-recursive
info-am:
install-data-am:
install-dvi: install-dvi-recursive
install-exec-am:
install-html: install-html-recursive
install-info: install-info-recursive
install-man:
install-pdf: install-pdf-recursive
install-ps: install-ps-recursive
installcheck-am:
maintainer-clean: maintainer-clean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive
mostlyclean-am: mostlyclean-generic
pdf: pdf-recursive
pdf-am:
ps: ps-recursive
ps-am:
uninstall-am:
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
install-strip
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
all all-am am--refresh check check-am clean clean-generic \
ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
dist-shar dist-tarZ dist-zip distcheck distclean \
distclean-generic distclean-tags distcleancheck distdir \
distuninstallcheck dvi dvi-am html html-am info info-am \
install install-am install-data install-data-am install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am install-man \
install-pdf install-pdf-am install-ps install-ps-am \
install-strip installcheck installcheck-am installdirs \
installdirs-am maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
tags-recursive uninstall uninstall-am
# Additional dependencies for configure, due to the use of autoconf --trace.
$(srcdir)/configure: $(srcdir)/autoconf-lib-link/configure.ac $(srcdir)/gettext-runtime/configure.ac $(srcdir)/gettext-tools/configure.ac
# Verify that some files are the same.
distcheck-hook:
cmp -s gettext-runtime/po/Makefile.in.in gettext-tools/po/Makefile.in.in
cmp -s gettext-runtime/po/Rules-quot gettext-tools/po/Rules-quot
cmp -s gettext-runtime/po/boldquot.sed gettext-tools/po/boldquot.sed
cmp -s gettext-runtime/po/quot.sed gettext-tools/po/quot.sed
cmp -s gettext-runtime/po/en@quot.header gettext-tools/po/en@quot.header
cmp -s gettext-runtime/po/en@boldquot.header gettext-tools/po/en@boldquot.header
cmp -s gettext-runtime/po/insert-header.sin gettext-tools/po/insert-header.sin
cmp -s gettext-runtime/po/remove-potcdate.sin gettext-tools/po/remove-potcdate.sin
cmp -s gettext-runtime/po/remove-potcdate.sin gettext-tools/examples/po/remove-potcdate.sin
cmp -s gettext-runtime/m4/codeset.m4 gettext-tools/gnulib-m4/codeset.m4
cmp -s gettext-runtime/m4/gettext.m4 gettext-tools/gnulib-m4/gettext.m4
cmp -s gettext-runtime/m4/glibc2.m4 gettext-tools/gnulib-m4/glibc2.m4
cmp -s gettext-runtime/m4/glibc21.m4 gettext-tools/gnulib-m4/glibc21.m4
cmp -s gettext-runtime/m4/iconv.m4 gettext-tools/gnulib-m4/iconv.m4
cmp -s gettext-runtime/m4/intdiv0.m4 gettext-tools/gnulib-m4/intdiv0.m4
cmp -s gettext-runtime/m4/intl.m4 gettext-tools/gnulib-m4/intl.m4
cmp -s gettext-runtime/m4/intldir.m4 gettext-tools/gnulib-m4/intldir.m4
cmp -s gettext-runtime/m4/intlmacosx.m4 gettext-tools/gnulib-m4/intlmacosx.m4
cmp -s gettext-runtime/m4/intmax.m4 gettext-tools/gnulib-m4/intmax.m4
cmp -s gettext-runtime/m4/inttypes-pri.m4 gettext-tools/gnulib-m4/inttypes-pri.m4
cmp -s gettext-runtime/m4/inttypes_h.m4 gettext-tools/gnulib-m4/inttypes_h.m4
cmp -s gettext-runtime/m4/lcmessage.m4 gettext-tools/gnulib-m4/lcmessage.m4
cmp -s gettext-runtime/m4/lock.m4 gettext-tools/gnulib-m4/lock.m4
cmp -s gettext-runtime/m4/longlong.m4 gettext-tools/gnulib-m4/longlong.m4
cmp -s gettext-runtime/m4/nls.m4 gettext-tools/gnulib-m4/nls.m4
cmp -s gettext-runtime/m4/po.m4 gettext-tools/gnulib-m4/po.m4
cmp -s gettext-runtime/m4/printf-posix.m4 gettext-tools/gnulib-m4/printf-posix.m4
cmp -s gettext-runtime/m4/progtest.m4 gettext-tools/gnulib-m4/progtest.m4
cmp -s gettext-runtime/m4/size_max.m4 gettext-tools/gnulib-m4/size_max.m4
cmp -s gettext-runtime/m4/stdint_h.m4 gettext-tools/gnulib-m4/stdint_h.m4
cmp -s gettext-runtime/m4/uintmax_t.m4 gettext-tools/gnulib-m4/uintmax_t.m4
cmp -s gettext-runtime/m4/visibility.m4 gettext-tools/gnulib-m4/visibility.m4
cmp -s gettext-runtime/m4/wchar_t.m4 gettext-tools/gnulib-m4/wchar_t.m4
cmp -s gettext-runtime/m4/wint_t.m4 gettext-tools/gnulib-m4/wint_t.m4
cmp -s gettext-runtime/m4/xsize.m4 gettext-tools/gnulib-m4/xsize.m4
test "`sed 1,19d gettext-runtime/intl/config.charset | md5sum`" = "`sed 1,18d gettext-tools/gnulib-lib/config.charset | md5sum`"
test "`sed 1,18d gettext-runtime/intl/localcharset.h | md5sum`" = "`sed 1,17d gettext-tools/gnulib-lib/localcharset.h | md5sum`"
test "`sed 1,18d gettext-runtime/intl/localcharset.c | md5sum`" = "`sed 1,17d gettext-tools/gnulib-lib/localcharset.c | md5sum`"
test "`sed 1,17d gettext-runtime/intl/localename.c | md5sum`" = "`sed 1,17d gettext-tools/gnulib-lib/localename.c | md5sum`"
test "`sed 1,17d gettext-runtime/intl/lock.h | md5sum`" = "`sed 1,16d gettext-tools/gnulib-lib/lock.h | md5sum`"
test "`sed 1,17d gettext-runtime/intl/lock.c | md5sum`" = "`sed 1,16d gettext-tools/gnulib-lib/lock.c | md5sum`"
cmp -s gettext-runtime/intl/printf-args.h gettext-runtime/libasprintf/printf-args.h
cmp -s gettext-runtime/intl/printf-args.c gettext-runtime/libasprintf/printf-args.c
cmp -s gettext-runtime/intl/printf-parse.h gettext-runtime/libasprintf/printf-parse.h
cmp -s gettext-runtime/intl/printf-parse.c gettext-runtime/libasprintf/printf-parse.c
test "`sed 1,18d gettext-runtime/intl/ref-add.sin | md5sum`" = "`sed 1,17d gettext-tools/gnulib-lib/ref-add.sin | md5sum`"
test "`sed 1,18d gettext-runtime/intl/ref-del.sin | md5sum`" = "`sed 1,17d gettext-tools/gnulib-lib/ref-del.sin | md5sum`"
test "`sed 1,18d gettext-runtime/intl/relocatable.h | md5sum`" = "`sed 1,18d gettext-tools/gnulib-lib/relocatable.h | md5sum`"
test "`sed 1,18d gettext-runtime/intl/relocatable.c | md5sum`" = "`sed 1,18d gettext-tools/gnulib-lib/relocatable.c | md5sum`"
cmp -s gettext-runtime/intl/vasnprintf.h gettext-runtime/libasprintf/vasnprintf.h
test "`sed 1,18d gettext-runtime/intl/vasnprintf.c | md5sum`" = "`sed 1,17d gettext-tools/gnulib-lib/vasnprintf.c | md5sum`"
cmp -s gettext-runtime/intl/vasnprintf.c gettext-runtime/libasprintf/vasnprintf.c
cmp -s gettext-runtime/intl/xsize.h gettext-runtime/libasprintf/xsize.h
test "`sed 1,18d gettext-runtime/intl/xsize.h | md5sum`" = "`sed 1,17d gettext-tools/gnulib-lib/xsize.h | md5sum`"
cmp -s autoconf-lib-link/m4/lib-ld.m4 gettext-tools/gnulib-m4/lib-ld.m4
cmp -s autoconf-lib-link/m4/lib-link.m4 gettext-tools/gnulib-m4/lib-link.m4
cmp -s autoconf-lib-link/m4/lib-prefix.m4 gettext-tools/gnulib-m4/lib-prefix.m4
cmp -s autoconf-lib-link/config.rpath build-aux/config.rpath
cmp -s gettext-runtime/man/help2man gettext-tools/man/help2man
cmp -s gettext-runtime/man/x-to-1.in gettext-tools/man/x-to-1.in
cmp -s gettext-runtime/libasprintf/texi2html gettext-tools/doc/texi2html
cmp -s gettext-tools/examples/hello-java-awt/m4/TestAWT.java gettext-tools/examples/hello-java-swing/m4/TestAWT.java
cmp -s gettext-tools/examples/hello-java-awt/m4/TestAWT.class gettext-tools/examples/hello-java-swing/m4/TestAWT.class
test "`sed 1,15d gnulib-local/lib/alloca.in.h | md5sum`" = "`sed 1,17d gettext-runtime/libasprintf/alloca.in.h | md5sum`"
cmp -s gettext-tools/libgrep/memchr.c gettext-tools/gnulib-lib/memchr.c
cmp -s gettext-tools/libgrep/strdup.c gettext-tools/gnulib-lib/strdup.c
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

787
source/NEWS Normal file
View File

@@ -0,0 +1,787 @@
Version 0.17 - November 2007
* License:
The gettext related programs and tools are now licensed under the GPL
version 3, instead of the GPL version 2. The libintl library continues
to be licensed under LGPL.
* PO file format:
The Project-Id-Version field in the header entry may now already be filled
in the POT file. In this case, the translators don't need to fill it in.
xgettext has new options --package-name and --package-version that allow
to specify the package name and version from a Makefile.
* Colorized PO files:
The msgcat program has new options --color and --style that produce a
colorized PO file output, where keywords, strings, comments, or format
directives can be highlighted. See the documentation section
"Highlighting parts of PO files" for more info.
* gettextize now has a --po-dir option that allows several PO directories to
be updated all together.
* Programming languages support:
- Contexts (msgctxt) are now also supported for Java and C#.
- C# with Qt: The support for Qt format strings has been updated for Qt 4.
- C++ with KDE:
xgettext has a new option --kde that triggers the recognition and marking
of KDE 4 format strings.
* Autoconf macros:
- A new macro AM_XGETTEXT_OPTION can be used as an alternative to modifying
po/Makevars.
* libgettextpo library:
- New functions are available for querying the list of supported format
types.
- The functions po_message_comments and po_message_extracted_comments
return a multiline string where each line no longer starts with a redundant
space. The leading space in every comment line is now stripped while
reading the PO file.
- Conversely, when you pass a multiline string to the function
po_message_set_comments or po_message_set_extracted_comments, you normally
don't pass a space at the beginning of each line, because such spaces are
no longer trimmed during output.
* Documentation:
- The "Users" chapter has been completely rewritten.
- New section "Highlighting parts of PO files".
- A complete example showing the use of GNU gettext in Java with the Qt/Jambi
GUI toolkit has been added.
Version 0.16.1 - November 2006
* Bug fix in the gettext.m4 autoconf macros.
Version 0.16 - October 2006
* Interoperability with automake-1.10.
* msgmerge has a new option --previous that has the effect of saving the
previous msgid of message when making them fuzzy. These previous msgids are
stored in the resulting PO file, using a pseudo-comment syntax like this:
#, fuzzy
#| msgid "too many arguments"
msgid "too few arguments"
msgstr "trop d'arguments"
The translator then only needs to compare the previous and the current
msgid ("too many arguments" and "too few arguments"), and infer which
parts of the translation she needs to change.
msgattrib has a new option --clear-previous that removes these #| lines.
* msgmerge is faster now on CPUs with multiple execution units, if compiled
with GCC 4.2 or newer.
* msgcmp now ignores fuzzy and untranslated messages in the PO file.
Previously it considered fuzzy and untranslated messages the same way as
translated messages, which was hardly useful. The previous behaviour can
be obtained through the options --use-fuzzy --use-untranslated.
* gettextize, when invoked without --intl option, now installs only the .m4
files that are needed: gettext.m4, iconv.m4, lib-ld.m4, lib-link.m4,
lib-prefix.m4, nls.m4, po.m4, progtest.m4.
* gettextize no longer creates symbolic links by default; it makes file copies
instead. The option --copy is removed. You can get back the flawed
symlinking behaviour by specifying the --symlink option.
* Autoconf macros:
- The gettext autoconf macros now require autoconf 2.52 or newer and
GNU m4 1.4.5 or newer.
- A new autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is added. It allows to
specify the presence of an intl/ subdirectory outside the AM_GNU_GETTEXT
invocation.
- A new autoconf macro AM_GNU_GETTEXT_NEED is added. It allows to specify
the requirements relating to the GNU gettext implementation outside the
AM_GNU_GETTEXT invocation.
* The libgettextpo library no longer exports symbols that could clash with
symbols of the application that uses it.
* Vastly improved French translations. Thanks to Christophe Combelles.
Version 0.15 - July 2006
* GUI program support:
- PO files can now contain messages constrained to a certain context.
Most often such a context is a menu, dialog or panel identification.
The syntax in the PO file is
msgctxt "context"
msgid "original"
msgstr "translation"
- The xgettext program can be told through the --keyword flag which
function/macro argument has the role of a context. It also supports
the GNOME glib convention to specify the context and original string
in the same string literal: "context|original".
- The (non-public) include file gettext.h defines macros pgettext, dpgettext
etc. that take a context argument.
For more information, see the node "Contexts" in the manual.
* msgfmt's format string checking is now stricter in the presence of plural
forms. For example, in German, with nplurals=2 and plural=(n != 1),
the translation
#, c-format
msgid "%d fatal error"
msgid_plural "%d fatal errors"
msgstr[0] "ein fataler Fehler"
msgstr[1] "fatale Fehler"
was earlier considered valid and now gives an error when "msgfmt --check"
is used:
"number of format specifications in 'msgid' and 'msgstr[1]' does not match"
* msggrep has a new option -v/--invert-match that acts like grep's -v option.
* msggrep has a new option -X/--extracted-comment that allows to search for a
pattern in the extracted comments.
* xgettext's --keyword option now allows to specify an extracted comment on the
command line, rather than in program's source code.
* msgmerge is much faster now, when using a large compendium.
* A new program recode-sr-latin is provided, that converts Serbian text from
the Cyrillic script to the Latin script.
The command "msgfilter recode-sr-latin" can be used to convert a Serbian
Cyrillic PO file (sr.po) to a Serbian Latin PO file (sr@latin.po).
* Programming languages support:
- C++ with Boost:
xgettext has a new option --boost that triggers the recognition and marking
of boost::format strings.
- Python:
xgettext now recognizes the source encoding from a "coding:" comment
among the first two lines. The default encoding is now ASCII, no longer
ISO-8859-1.
* libgettextpo library:
- The error handler type passed to po_file_read(), po_file_write(),
po_message_check_format() has changed.
This is an incompatible change: Programs using the library *must* update
their code.
Binary compatibility is guaranteed, however.
* The 'mkinstalldirs' shell script is no longer needed and no longer installed
by gettextize.
* Portability:
- Building on mingw is now supported.
- Building shared libraries (--enable-shared) on Cygwin and mingw is now
supported.
* Interoperability with expat version 2.0.0.
* Documentation:
A complete example showing the use of GNU gettext with the wxWidgets GUI
toolkit has been added.
* The gettext autoconf macros now assume 'aclocal' from automake 1.8 or newer.
Version 0.14.6 - June 2006
* Updated the meaning of 'gcc-internal-format' to match GCC 4.1.
Version 0.14.5 - May 2005
* Updated the meaning of 'gcc-internal-format' to match GCC 4.0.
Version 0.14.4 - April 2005
* The gettext autoconf macros will now work with the forthcoming g++ 4.0.
* Fix improved detection of the locale on MacOS X.
Version 0.14.3 - March 2005
* Usability improvements in gettextize and autopoint.
* Programming languages support:
- Scheme:
Use the GNU guile definition of format strings.
Version 0.14.2 - February 2005
* Improved detection of the locale on MacOS X.
* The gettext autoconf macros now require autoconf 2.50 or newer.
* Programming languages support:
- Scheme:
xgettext now also supports Scheme. Best used with guile 1.7 or newer.
* msggrep is much faster now.
* libgettextpo library:
- New functions for constructing PO files in memory and writing them to
files.
- The error handling is now customizable.
* Documentation:
- New tutorial document, written by Gora Mohanty.
- New FAQ document.
- New documentation sections: Scheme, Release Management.
* Bug fixes for Turkish and Estonian locales.
* Security fixes.
Version 0.14 - January 2004
* Programming languages support:
- C#:
xgettext now also supports C#.
New library: GNU.Gettext.dll contains the runtime for using GNU gettext
message catalogs in C#.
msgfmt can create (and msgunfmt can dump) message catalogs for C#.
* Special feature for Farsi (Persian): Translators can insert an 'I' flag
into numeric format directives in format strings. Its effect is that, on
glibc systems, the number is generated with the locale dependent set of
special digits instead of the usual ASCII digits.
* Documentation:
- New documentation section: C#.
- Complete examples illustrating the use of gettext in C# (in text mode and
in Forms applications) have been added.
- New documentation section: Preparing Library Sources.
* Special advice for Norwegian users: The language code for Norwegian
bokmål changed from 'no' to 'nb' recently (in 2003). During the transition
period, while some message catalogs for this language are installed under
'nb' and some older ones under 'no', it's recommended for Norwegian users to
set the LANGUAGE environment variable to 'nb:no' so that both newer and
older translations are used.
Version 0.13.1 - December 2003
* Bug fixes in the testsuite and in the examples.
Version 0.13 - November 2003
* Programming languages support:
- Shell:
xgettext now also supports shell scripts. It recognizes invocations of
the programs 'gettext', 'ngettext', the functions 'eval_gettext',
'eval_ngettext', as well as the deprecated GNU bash builtin syntax $"...".
New function library:
gettext.sh - shell functions for internationalized shell scripts.
New program:
envsubst - substitutes environment variables in shell format strings.
- Perl:
xgettext now also supports Perl.
- PHP:
"xgettext --language=PHP" now supports the plural handling functions
ngettext, dngettext, dcngettext (introduced in PHP 4.2.0).
- ObjectiveC:
"xgettext --language=ObjectiveC" now supports the @"..." string syntax,
the NSLocalizedString function and the ObjectiveC specific format strings.
All the tools that manipulate PO files can work with .strings files
as well, if given the --stringtable-input and/or --stringtable-output
option. To create a .strings file from a PO or POT file, use
"msgcat --stringtable-output". To create a PO or POT file from a
.strings file, use "xgettext".
- GCC-source:
xgettext's --language option now supports the value "GCC-source". This
is like --language=C, except that in this mode, xgettext recognizes the
special kind of format strings used in the GCC sources and marks them
as 'gcc-internal-format'.
- C++ with Qt:
xgettext has a new option --qt that triggers the recognition and marking
of Qt format strings.
msgfmt has a new option --qt that generates binary message catalogs in
Qt's .qm format.
* Data formats support:
- Glade:
xgettext now also supports Glade version 2.
* xgettext has a more reliable detection of format strings. It now
recognizes format strings depending on their position, for example as the
second argument of fprintf(), regardless whether the literal string contains
format directives. This behaviour can be customized through the --flag
option.
* libgettextpo library:
- New functions for testing the obsolete/fuzzy/*-format flags of a message.
- New convenience functions for extracting and analyzing the header entry.
* Portability:
- C format strings with positions, as they arise when a translator needs to
reorder a sentence, are now supported on all platforms. On those few
platforms (NetBSD and Woe32) for which the native printf()/fprintf()/...
functions don't support such format strings, replacements are provided
through <libintl.h>.
- A new configuration option --disable-libasprintf allows to build all of
gettext except libasprintf; this is necessary on platforms for which
libtool cannot create shared libraries with C++ code.
* Documentation:
- Complete examples illustrating the use of gettext, including program
sources, Makefile and autoconf infrastructure, have been added. They
cover the following programming languages:
C (text mode, GNOME)
C++ (text mode, Qt, KDE, GNOME)
ObjectiveC (text mode, GNUstep, GNOME)
Shell (text mode)
Python (text mode)
Lisp (text mode)
librep (text mode)
Smalltalk (text mode)
Java (text mode, AWT, Swing)
awk (text mode)
Pascal (text mode)
YCP (libyui)
Tcl (text mode, Tk)
Perl (text mode)
PHP (text mode)
Version 0.12.1 - May 2003
* Bug fixes.
Version 0.12 - May 2003
* The gettext package is now separated into two subpackages:
- gettext-runtime: Runtime libraries and programs.
- gettext-tools: Tools and documentation for developers and translators.
The 'gettext-runtime' package is very small and should be installed on every
system that has users who desire to use internationalization. Whereas the
'gettext-tools' package is only for developers and translators.
* The po/Makevars file has a new field MSGID_BUGS_ADDRESS, which program
maintainers should fill in, to help feedback from the translators to the
program maintainers.
xgettext, accordingly, has a new option --msgid-bugs-address.
* Programming languages support:
- C++
A new C++ class, called gnu::autosprintf, makes it possible to use
C format strings in C++. This is needed for proper internationalization
of C++ programs.
- Java
All the tools that manipulate PO files can work with .properties files
as well, if given the --properties-input and/or --properties-output
option. To create a .properties file from a PO or POT file, use
"msgcat --properties-output".
- Smalltalk
xgettext now also supports Smalltalk.
- PHP
xgettext now also supports PHP.
- Python
"xgettext --language=Python" now supports the plural handling functions
ngettext, dngettext, ungettext (introduced in Python 2.3).
- A new autoconf macro AM_PO_SUBDIRS is added. It is like AM_GNU_GETTEXT,
for packages written in other languages than C/C++.
* A new library libgettextpo, with public header file "gettext-po.h",
provides functions for reading PO files into memory. It is useful for
applying PO files to areas not covered by the GNU gettext programs.
New documentation section:
- Writing your own programs that process PO files.
* New documentation sections:
- Prioritizing messages: How to determine which messages to translate first.
- Names: Marking Proper Names for Translation.
* xgettext now supports msgid strings in other encodings than ASCII.
xgettext has a new option --from-code that specifies the encoding of the
source files. The resulting POT files are UTF-8 encoded.
* Tools for translators:
- msgmerge has a new option -N/--no-fuzzy-matching that inhibits the fuzzy
search for untranslated messages.
- msgattrib has new options --only-file and --ignore-file that cause the
specified attribute manipulation to apply to selected messages only.
* Compatibility with automake-1.7.
* In documentation section po/LINGUAS:
- Document the optional "languages" en@quot and en@boldquot.
* New configuration option --enable-relocatable. See the INSTALL file for
details.
Version 0.11.5 - August 2002
* Bug fixes in the gettext.m4 autoconf macros.
Version 0.11.4 - July 2002
* The tools now know about the ISO C 99 <inttypes.h> format string directive
macros PRId64, PRIxMAX etc.
Version 0.11.3 - July 2002
* New program:
autopoint - copies standard gettext infrastructure
* The documentation makes it clear that 'gettextize' is a wizard and
migration tool.
* gettextize has a new option --dry-run.
* Improved portability to Solaris, OSF/1 and Linux/libc5.
* Improved interoperability with GCC 3.1.
* New documentation sections:
- CVS Issues
- mkinstalldirs
- config.h.in
Version 0.11.2 - April 2002
* Bug fixes in the gettext.m4 autoconf macros.
* New documentation section:
- Preparing Translatable Strings
Version 0.11.1 - March 2002
* xgettext now also supports Python, Tcl, Awk and Glade.
* msgfmt can create (and msgunfmt can dump) Tcl message catalogs.
* msggrep has a new option -C that allows to search for strings in translator
comments.
* Bug fixes in the gettext.m4 autoconf macros.
Version 0.11 - January 2002
* New programs:
msgattrib - attribute matching and manipulation on message catalog,
msgcat - combines several message catalogs,
msgconv - character set conversion for message catalog,
msgen - create English message catalog,
msgexec - process translations of message catalog,
msgfilter - edit translations of message catalog,
msggrep - pattern matching on message catalog,
msginit - initialize a message catalog,
msguniq - unify duplicate translations in message catalog.
* msgfmt can create (and msgunfmt can dump) Java ResourceBundles.
* xgettext now also supports Lisp, Emacs Lisp, librep, Java, ObjectPascal,
YCP.
* The tools now know about format strings in languages other than C.
They recognize new message flags named lisp-format, elisp-format,
librep-format, smalltalk-format, java-format, python-format, ycp-format.
When such a flag is present, the msgfmt program verifies the consistency
of the translated and the untranslated format string.
* The msgfmt command line options have changed. Option -c now also checks
the header entry, a check which was previously activated through -v.
Option -C corresponds to the compatibility checks previously activated
through -v -v. Option -v now only increases verbosity and doesn't
influence whether msgfmt succeeds or fails. A new option
--check-accelerators is useful for GUI menu item translations.
* msgcomm now writes its results to standard output by default. The options
-d/--default-domain and -p/--output-dir have been removed.
* Manual pages for all the programs have been added.
* PO mode changes:
- New key bindings for 'po-previous-fuzzy-entry',
'po-previous-obsolete-entry', 'po-previous-translated-entry',
'po-previous-untranslated', 'po-undo', 'po-other-window', and
'po-select-auxiliary'.
- Support for merging two message catalogs, based on msgcat and ediff.
* A fuzzy attribute of the header entry of a message catalog is now ignored
by the tools, i.e. it is used even if marked fuzzy.
* gettextize has a new option --intl which determines whether a copy of the
intl directory is included in the package.
* The Makefile variable @INTLLIBS@ is deprecated. It is replaced with
@LIBINTL@ (in projects without libtool) or @LTLIBINTL@ (in projects with
libtool).
* New packaging hints for binary package distributors. See file PACKAGING.
* New documentation sections:
- Manipulating
- po/LINGUAS
- po/Makevars
- lib/gettext.h
- autoconf macros
- Other Programming Languages
Version 0.10.40 - September 2001
* The libintl library is now covered by the GNU LGPL. The tools are still
covered by the GNU GPL.
Version 0.10.39 - July 2001
* This is a bug-fix release.
* Now uses libtool-1.4. Linking with the libintl shared library is easier.
* The autoconf macros now work with both autoconf-2.13 and autoconf-2.50.
Version 0.10.38 - May 2001
* This is a bug-fix release.
* Manual pages for the GNU libintl library functions have been added.
Version 0.10.37 - April 2001
This is a bug-fix release.
Version 0.10.36 - March 2001, by Ulrich Drepper and Bruno Haible
* General plural handling. New functions ngettext, dngettext, dcngettext.
* Locales which differ only in the character encoding, for example ja_JP and
ja_JP.UTF-8, can now share the same message catalogs. gettext converts
the messages to the appropriate character encoding on the fly.
* The tools now correctly process PO files in CJK encodings.
* Support for non-GNU gettext has been dropped. Previously, on Solaris, the
system's gettext was used (unless --with-included-gettext was specified),
which led to problems with PO files that were not 100% translated.
* Support for the catgets wrapper has been dropped. This means that gettext
now always supports the LANGUAGE environment variable, message inheritance,
automatic charset conversion etc.
* Support for the old Linux specific .msg catalog format has been dropped.
* When the included GNU libintl is installed (i.e. on GNU platforms, when
the configure option --with-included-gettext is given, or on non-GNU
platforms, when the configure option --disable-nls is not given), it is
also installed as a shared library, unless the configure option
--disable-shared is given.
* PO mode changes:
** PO mode does not use recursive edit anymore, many edits may be worked on
simultaneously in a single PO file.
** PO mode may handle many translation files at once while correlating related
entries, for helping multilingual or cultured translators.
** On recent Emacses, PO mode automatically use proper fonts when available.
** PO mode supports marking of C++ sources.
** highlights original message while editing the translation
** PO mode has commands to mail messages to teams or to the translation
coordinator, with automatic inclusion of the current PO file.
Version 0.10.35 - April 1998, by Ulrich Drepper
* by default the emulation of gettext using the catgets() functions of
the C library is not selected anymore. GNU gettext has so many nice
extensions that this became unreasonable. Using --with-catgets the
emulation still can be requested.
* extend xgettext program to handle other file formats other than C/C++.
For now it also handles PO file. Using this feature one can concatenate
arbitrary PO files.
* Tcl module with gettext interface
* Korean translation by Bang Jun Young
* xgettext writes to stdout when default domain name is set to -
* codeset name normalization
* msgmerge program now has all features tupdate has (and more).
tupdate itself will be removed soon
* po/Makefile.in.in now uses msgmerge instead of tupdate
* escape notation in .po files are only used when explicitly selected
* changed interface of msgunfmt to conform to GNU coding standard
* msgmerge now knows how to handle obsolete entries. If a formerly obsolete
entry is used again msgmerge will find it
* better implementation of comment extraction in xgettext.
* better C format string implementation. The xgettext will classify
strings as being a format string, or not, in the .po file. The
programmer can override the decision explicitly for each string
by specifying `xgettext:c-format' and `xgettext:no-c-format'
respectively in a C comment preceding the string.
* msgmerge program now always produces output. Fuzzy or non-existing
translations are no reason for holding back the result.
* reasonable header entry format implemented
* Norwegian translation by Karl Anders <20>gard
* Configure command line option `--with-gnu-gettext' is renamed to
`--with-included-gettext'
* gettextize now can determine whether the aclocal.m4 of the project
is sufficent
* use automake for Makefile.in generation
* by default now only c-format is emitted in xgettext. If using the new
--debug option one can enable printing possible-c-format to see who
decided about the string: xgettext or the programmer
* the installed libintl.h file no longer depends on HAVE_LOCALE_H being
defined. After running configure we know whether this file exists.
* wrapping of lines in PO file output finally enabled.
A new special comment no-wrap prevents wrapping.
* add --statistics option to msgfmt to get information about number of
translated, untranslated, and fuzzy messages
* change behaviour of --verbose option to msgfmt. This no longer
causes the check on the messages to be performed. The check for leading
and trailing \n is always performed and the check of the format specifiers
is performed when --check is given.
* shared library support based On Gord Matzigkeit's libtool package
* msgcomm program by Peter Miller to extract messages shared by input
files
* many more translations.
Version 0.10 - December 1995, by Ulrich Drepper
* implement --shell-script option for gettext program
* implement object-oriented, lazy message handling :-)
Consult the manual for more/any information
* implement locale name aliasing, similar to the one used
in the X Window System
* support for GNU gettext sources in central place to support
use in development environments of other projects
* implement CEN syntax for environment variable values
* msgcmp program to find matches in two .po files
* programs now have exit status != 0 if errors occured
* libintl.a is now selfcontained and can be used without context in
other projects (even on systems missing alloca)
* gettextize now automatically runs config.status
* swedish message catalog
* new options for xgettext: -D/--directory to change in specified directory
before processing the input files and -f/--files-from to specify file from
which the names of the input files are read.
The later option in necessary for large projects such as GNU C Library.
* new programs msgmerge and msgunfmt by Peter Miller. The code of the other
programs is now also much cleaner.
Version 0.9 - August 1995, by Ulrich Drepper
* again many improvements on the manual
* norwegian message catalog
* compilation now works with --disable-nls
* better checks
Version 0.8 - July 1995, by Ulrich Drepper
* much improved manual (although still far from being complete)
* improved PO mode; it now can prepare C sources for use with gettext
by marking translatable strings
* better support for sparse System V systems
* check goal (kind of)
* more input tests and warnings
* better support for integration in other packages
* many bugs fixed
Version 0.7 - June 1995, by Ulrich Drepper
* New GNU package providing functionality to internationalize and
localize other programs.
* Implementation of the Uniforum(*) proposal for internationalization
on top of X/Open(*) style catgets functions.
* Complete implementation of the Uniforum functions for system
lacking either of them or those who which to have a different
implementation with many advantages.
* Implementation of the three tools for message catalog handling
described in the Uniforum.
* Emacs po-mode for handling portable message object files which are
the basis of the work of the package.
(*) Some history: The POSIX working groups have so far been unable to
agree on one set of message catalog handling functions for the C Library.
For now there are competing proposals, one by the Uniforum group, led by
Sun, and the other by X/Open. Although the latter is surely implemented
on more systems, it is not perceived as the clear leader.

177
source/PACKAGING Normal file
View File

@@ -0,0 +1,177 @@
Packaging hints for binary package distributors
===============================================
Although the source of the gettext package comes as a single package,
I recommend that in distributions of binary packages the installed files
be split into two packages:
gettext-runtime
Contents: Runtime libraries and programs.
Audience: Anyone who wants to run internationalized programs.
gettext-tools
Contents: Tools and documentation for developers and translators.
Audience: Anyone who wants to develop or localize internationalized
programs, i.e. developers and translators.
Dependencies: requires gettext-runtime.
The 'gettext-runtime' binary package is much smaller than the 'gettext-tools'
binary package (420 KB versus 5.5 MB). I recommend to include it in the default
installation list, like GNU 'coreutils'; in fact, the runtime programs are
utilities for sh programs.
The 'gettext-runtime' binary package can be installed by doing
cd gettext-runtime
./configure
make
make install
The 'gettext-tools' binary package can be installed by doing
cd gettext-tools
./configure
make
make install
If you want to install both at the same time, you simply do at the toplevel
directory:
./configure
make
make install
The precise split between gettext and gettext-tools is according to the
following file list.
gettext-runtime
$prefix/share/gettext/ABOUT-NLS
$prefix/bin/gettext
$prefix/bin/ngettext
$prefix/bin/envsubst
$prefix/bin/gettext.sh
$prefix/share/man/man1/gettext.1
$prefix/share/man/man1/ngettext.1
$prefix/share/man/man1/envsubst.1
$prefix/share/doc/gettext/gettext.1.html
$prefix/share/doc/gettext/ngettext.1.html
$prefix/share/doc/gettext/envsubst.1.html
$prefix/share/locale/*/LC_MESSAGES/gettext-runtime.mo
$prefix/lib/libintl.* (not installed on glibc systems)
$prefix/lib/charset.alias (not installed on glibc systems)
$prefix/share/locale/locale.alias (not installed on glibc systems)
$prefix/include/libintl.h (not installed on glibc systems)
$prefix/share/man/man3/*
$prefix/share/doc/gettext/*.3.html
$prefix/share/gettext/libintl.jar
$prefix/share/doc/gettext/javadoc2/*
$prefix/lib/GNU.Gettext.dll
$prefix/share/doc/gettext/csharpdoc/*
$prefix/lib/libasprintf.*
$prefix/include/autosprintf.h
$prefix/share/doc/libasprintf/autosprintf.html
$prefix/info/autosprintf.info
gettext-tools
Everything else, i.e. currently:
$prefix/bin/msg*
$prefix/bin/xgettext
$prefix/bin/gettextize
$prefix/bin/autopoint
$prefix/bin/recode*
$prefix/share/man/man1/msg*.1
$prefix/share/man/man1/xgettext.1
$prefix/share/man/man1/gettextize.1
$prefix/share/man/man1/autopoint.1
$prefix/share/doc/gettext/msg*.1.html
$prefix/share/doc/gettext/xgettext.1.html
$prefix/share/doc/gettext/gettextize.1.html
$prefix/share/doc/gettext/autopoint.1.html
$prefix/share/doc/gettext/gettext_*.html
$prefix/share/doc/gettext/FAQ.html
$prefix/share/doc/gettext/examples/*
$prefix/info/gettext.info*
$prefix/include/gettext-po.h
$prefix/lib/libgettextlib*
$prefix/lib/libgettextsrc*
$prefix/lib/libgettextpo*
$prefix/lib/preloadable_libintl.so (only installed on glibc systems)
$prefix/lib/gettext/*
$prefix/share/locale/*/LC_MESSAGES/gettext-tools.mo
$prefix/share/gettext/config.rpath
$prefix/share/gettext/intl/*
$prefix/share/gettext/po/*
$prefix/share/gettext/projects/*
$prefix/share/gettext/gettext.h
$prefix/share/gettext/gettext.jar (only installed if gcj is not present)
$prefix/share/gettext/msgunfmt.tcl
$prefix/share/gettext/archive.tar.gz
$prefix/share/aclocal/codeset.m4
$prefix/share/aclocal/gettext.m4
$prefix/share/aclocal/glibc2.m4
$prefix/share/aclocal/glibc21.m4
$prefix/share/aclocal/iconv.m4
$prefix/share/aclocal/intdiv0.m4
$prefix/share/aclocal/intl.m4
$prefix/share/aclocal/intldir.m4
$prefix/share/aclocal/intlmacosx.m4
$prefix/share/aclocal/intmax.m4
$prefix/share/aclocal/inttypes_h.m4
$prefix/share/aclocal/inttypes-pri.m4
$prefix/share/aclocal/lcmessage.m4
$prefix/share/aclocal/lib-ld.m4
$prefix/share/aclocal/lib-link.m4
$prefix/share/aclocal/lib-prefix.m4
$prefix/share/aclocal/lock.m4
$prefix/share/aclocal/longlong.m4
$prefix/share/aclocal/nls.m4
$prefix/share/aclocal/po.m4
$prefix/share/aclocal/printf-posix.m4
$prefix/share/aclocal/progtest.m4
$prefix/share/aclocal/size_max.m4
$prefix/share/aclocal/stdint_h.m4
$prefix/share/aclocal/uintmax_t.m4
$prefix/share/aclocal/visibility.m4
$prefix/share/aclocal/wchar_t.m4
$prefix/share/aclocal/wint_t.m4
$prefix/share/aclocal/xsize.m4
$prefix/share/emacs/site-lisp/po-compat.el
$prefix/share/emacs/site-lisp/po-compat.elc
$prefix/share/emacs/site-lisp/po-mode.el
$prefix/share/emacs/site-lisp/po-mode.elc
$prefix/share/emacs/site-lisp/start-po.el
$prefix/share/emacs/site-lisp/start-po.elc
Java support:
-------------
If GNU gcj is available at build time, two programs will be built as native
executables:
$prefix/lib/gettext/gnu.gettext.*
and the gettext-tools package will therefore have a runtime dependency to
libgcj.so.
If GNU gcj is not available at build time but another Java implementation is
available instead, the two programs will be compiled to Java bytecode only:
$prefix/share/gettext/gettext.jar
and the gettext-tools package will therefore have a runtime dependency to
the Java virtual machine (Sun Java2, IBM Java2, GNU libgcj.jar, or other).
C# support:
-----------
For C# support, one of pnet or mono must be available at build time; it must
also be available at run time. If you have both available, choose the desired
one through the configure option. Note there is no interoperability currently
between pnet and mono: Programs compiled with pnet don't run with mono, and
vice versa.

132
source/README Normal file
View File

@@ -0,0 +1,132 @@
This is the GNU gettext package. It is interesting for authors or
maintainers of other packages or programs which they want to see
internationalized. As one step the handling of messages in different
languages should be implemented. For this task GNU gettext provides
the needed tools and library functions.
Users of GNU packages should also install GNU gettext because some
other GNU packages will use the gettext program included in this
package to internationalize the messages given by shell scripts.
Another good reason to install GNU gettext is to make sure the
here included functions compile ok. This helps to prevent errors
when installing other packages which use this library. The message
handling functions are not yet part of POSIX and ISO/IEC standards
and therefore it is not possible to rely on facts about their
implementation in the local C library. For this reason, GNU gettext
tries using the system's functionality only if it is a GNU gettext
implementation (possibly a different version); otherwise, compatibility
problems would occur.
We felt that the Uniforum proposals has the much more flexible interface
and, what is more important, does not burden the programmers as much as
the other possibility does.
Please share your results with us. If this package compiles ok for
you future GNU release will likely also not fail, at least for reasons
found in message handling. Send comments and bug reports to
bug-gnu-gettext@gnu.org
The goal of this library was to give a unique interface to message
handling functions. At least the same level of importance was to give
the programmer/maintainer the needed tools to maintain the message
catalogs. The interface is designed after the proposals of the
Uniforum group.
The homepage of this package is at
http://www.gnu.org/software/gettext/
The primary FTP site for its distribution is
ftp://ftp.gnu.org/pub/gnu/gettext/
The configure script provides two non-standard options. These will
also be available in other packages if they use the functionality of
GNU gettext. Use
--disable-nls
if you absolutely don't want to have messages handling code. You will
always get the original messages (mostly English). You could consider
using NLS support even when you do not need other tongues. If you do
not install any messages catalogs or do not specify to use another but
the C locale you will not get translations.
The set of languages for which catalogs should be installed can also be
specified while configuring. Of course they must be available but the
intersection of these two sets are computed automatically. You could
once and for all define in your profile/cshrc the variable LINGUAS:
(Bourne Shell) LINGUAS="de fr nl"; export LINGUAS
(C Shell) setenv LINGUAS "de fr nl"
or specify it directly while configuring
env LINGUAS="de fr nl" ./configure
Consult the manual for more information on language names.
The second configure option is
--with-included-gettext
This forces to use the GNU implementation of the message handling library
regardless what the local C library provides. This possibility is
useful if the local C library is a glibc 2.1.x or older, which didn't
have all the features the included libintl has.
Other files you might look into:
`ABOUT-NLS' - current state of the GNU internationalization effort
`COPYING' - copying conditions
`DEPENDENCIES' - list of prerequisite packages, to be installed before this one
`INSTALL' - general compilation and installation rules
`NEWS' - major changes in the current version
`THANKS' - list of contributors
Some points you might be interested in before installing the package:
1. If your system's C library already provides the gettext interface
and its associated tools don't come from this package, it might be
a good idea to configure the package with
--program-transform-name='s/^gettext$/g&/;s/^msgfmt$/g&/;s/^xgettext$/g&/'
Systems affected by this are:
Solaris 2.x
2. Some system have a very dumb^H^H^H^Hstrange version of msgfmt, the
one which comes with xview. This one is *not* usable. It's best
you delete^H^H^H^H^H^Hrename it or install this package as in the
point above with
--program-transform-name='s/^gettext$/g&/;s/^msgfmt$/g&/;s/^xgettext$/g&/'
3. The locale name alias scheme implemented here is in a similar form
implemented in the X Window System. Especially the alias data base
file can be shared. Normally this file is found at something like
/usr/lib/X11/locale/locale.alias
If you have the X Window System installed try to find this file and
specify the path at the make run:
make aliaspath='/usr/lib/X11/locale:/usr/local/lib/locale'
(or whatever is appropriate for you). The file name is always
locale.alias.
In the misc/ subdirectory you find an example for an alias database file.
4. The msgmerge program performs fuzzy search in the message sets. It
might run a long time on slow systems. I saw this problem when running
it on my old i386DX25. The time can really be several minutes,
especially if you have long messages and/or a great number of
them.
If you have a faster implementation of the fstrcmp() function and
want to share it with the rest of us, please contact me.

34
source/README.woe32 Normal file
View File

@@ -0,0 +1,34 @@
Installation on Woe32 (WinNT/2000/XP, Win95/98/ME):
This file explains how to create binaries for the mingw execution environment.
For how to create binaries for the cygwin environment, please see the normal
INSTALL file. MS Visual C/C++ with "nmake" is no longer supported.
I recommend to use the cygwin environment as the development environment
and mingw only as the target (runtime, deployment) environment.
For this, you need to install
- cygwin,
- the mingw runtime package, also from the cygwin site.
You must not install cygwin programs directly under /usr/local -
because the mingw compiler and linker would pick up the include files
and libraries from there, thus introducing an undesired dependency to
cygwin. You can for example achieve this by using the
configure option --prefix=/usr/local/cygwin each time you build a
program for cygwin.
Building for mingw is then achieved through the following preparation
and configure commands:
PATH=/usr/local/mingw/bin:$PATH
export PATH
./configure --host=i586-pc-mingw32 --prefix=/usr/local/mingw \
CPPFLAGS="-mno-cygwin -Wall -I/usr/local/mingw/include" \
CFLAGS="-mno-cygwin -O2 -g" \
CXXFLAGS="-mno-cygwin -O2 -g" \
LDFLAGS="-mno-cygwin -L/usr/local/mingw/lib"
The -mno-cygwin tells the cygwin compiler and linker to build for mingw.
The -I and -L option are so that packages previously built for the
same environment are found. The --host option tells the various
tools that you are building for mingw, not cygwin.

335
source/THANKS Normal file
View File

@@ -0,0 +1,335 @@
The GNU gettext package is the first full featured package
directed to NLS support in the GNU packages. It has its roots in the
GNU C Library development and of course the (never officially
released) GNU locale package, mostly written by Jim Meyering.
Therefore a lot of people participated in the process of creating this
software.
Written in April-June 1995 by
Ulrich Drepper drepper@ipd.info.uni-karlsruhe.de
Special thanks to François Pinard <pinard@iro.umontreal.ca>, who did a
major part of the testing, provided the Emacs PO mode, and wrote major
parts of the manual.
Peter Miller <millerp@canb.auug.org.au> invested a lot of his time in making
gettext usable in other GNU projects and wrote the msgmerge, msgcmp, and
msgunfmt programs.
Guido Flohr <guido@imperia.net> wrote the Perl backend of xgettext and
the libintl-perl package.
Gora Mohanty <gora_mohanty@yahoo.co.in> wrote the tutorial.
Thanks to all of the following for their valuable
hints/fixes/discussions/contributions:
Aaron Stone aaron@serendipity.cx
Aaron Williams aaron_williams@net.com
Abel Cheung abelcheung@gmail.com
Adam Heath doogie@debian.org
Adrian Bunk bunk@fs.tum.de
Akim Demaille akim@epita.fr
Alain Bench messtic@oreka.com
Alain Guibert derogaton+bggt@oreka.com, alguibert@free.fr
Albert Chin-A-Young china@thewrittenword.com
Alexander V. Lukyanov lav@yars.free.net
Alexander Turbov AVTurbov@gwise.eltech.ru
Alexandre Duret-Lutz aduret@enst.fr
Alfred M. Szmidt ams@kemisten.nu
Alfredo alfredio@ciaoweb.it
Amos Batto amosbatto@yahoo.com
Andreas Buening andreas.buening@nexgo.de
Andreas Fischer a.fischer@asentics.de
Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Andrew Suffield asuffield@debian.org
Andrew V. Samoilov kai@cmail.ru
Andrew Walrond andrew@walrond.org
Andrew Zabolotny zap@cobra.ru
Andries Brouwer andries.brouwer@cwi.nl
Andriy Gapon avg@icyb.net.ua
Arkadiusz Miśkiewicz arekm@pld-linux.org
Arpad Biro biro_arpad@yahoo.com
Artem Vakhitov temcat@mail.ru
Arto C. Nirkko anirkko@insel.ch
Asgeir Frimannsson asgeirf@redhat.com
A. Sopicki a.sopicki@gmx.de
? atras-ch@mail.msiu.ru
Bang Jun Young bangjy@nownuri.nowcom.co.kr
Barry A. Warsaw barry@zope.com
Behdad Esfahbod behdad@cs.toronto.edu
Ben Elliston bje@redhat.com
Benoît Sibaud benoit.sibaud@rd.francetelecom.com
Bernard Massot bmassot@free.fr
Bernhard Herzog bernhard@users.sourceforge.net
Bethor bethor@gmx.li
Bill Perry wmperry@aventail.com
Bjoern Voigt bjoern@cs.tu-berlin.de
Bob Rossi bob_rossi@cox.net
Bram Moolenaar bram@moolenaar.net
Bruno Haible haible@ma2s2.mathematik.uni-karlsruhe.de
Carlo Wood carlo@alinoe.com
Carlos Perelló Marín carlos@gnome.org
Cary Farah cfarah@jjkeller.com
Charles Wilson cwilson@ece.gatech.edu
Chris Pickett chris.pickett@mail.mcgill.ca
Chris Zubrzycki beren@mac.com
Christian Casteyde casteyde.christian@free.fr
Christian Neumair chris@gnome-de.org
Christian von Roques roques@pond.sub.org
Christoph Thielecke u15119@hs-harz.de
Christopher Seip chris.seip@hp.com
Chuck Berg chuckhberg@yahoo.com
Chusslove Illich (Часлав Илић) caslav.ilic@gmx.net
Claudio Fontana claudio@gnu.org
Clytie Siddall clytie@riverland.net.au
Colin Marquardt colin@marquardt-home.de
Colin Watson cjwatson@debian.org
Crispin Flowerday cflowerday@zeus.com
Dalibor Topic robilad@kaffe.org
Daniel Burrows dburrows@debian.org
Daniel Leidert daniel.leidert@wgdd.de
Daniel Schepler schepler@math.berkeley.edu
Danilo Šegan (Данило Шеган) danilo@gnome.org
Dave Patton dpatton@confluence.org
David Faure faure@kde.org
David Fraser davidf@sjsoft.com
Denis Barbier barbier@linuxfr.org
Denis Excoffier Denis.Excoffier@free.fr
Deniz Akkus deniz@arayan.com
Dennis Bjorklund db@zigo.dhs.org
Dennis Schridde devurandom@gmx.net
Derek Clegg derek_clegg@next.com
Derek Robert Price derek@ximbiot.com
Dwayne Bailey dwayne@obsidian.co.za
Earnie Boyd earnie_boyd@yahoo.com
Ed Avis avised@kbcfp.com
Eddy Petrişor eddy.petrisor@gmail.com
Edmund Grimley Evans edmundo@rano.org
Egmont Koblinger egmont@uhulinux.hu
Eli Zaretskii eliz@is.elta.co.il
Enrico Scholz enrico.scholz@informatik.tu-chemnitz.de
Enrique Melero Gómez justine@iprolink.ch
Eric Backus ericb@lsid.hp.com
Eric Blake ebb9@byu.net
Eric Botcazou ebotcazou@libertysurf.fr
Erik Sigra sigra@home.se
Farzaneh Sarafraz farzaneh@farsiweb.info
Fatih Demir kabalak@gtranslator.org
Felipe Contreras al593181@mail.mty.itesm.mx
Felix Natter f.natter@ndh.net
Finlay Dobbie finlay.dobbie@gmail.com
Francesco Potortì pot@fly.cnuce.cnr.it
Frank Donahoe fdonahoe@wilkes1.wilkes.edu
Frédéric L. W. Meunier 0@pervalidus.tk
Gabor Kelemen kelemeng@gnome.hu
Gabriele Stilli superenzima@libero.it
Gaëtan Frenoy gaetan@frenoy.net
Gary V. Vaughan gary@gnu.org
Gerald Combs gerald@ethereal.com
Glenn Popelka gpp@mail.gpopelka.com
Golubev I. N. gin@mo.msk.ru
Greg McGary gkm@magilla.cichlid.com
Göran Uddeborg gvran@uddeborg.pp.se
Hagen Fritsch itooktheredpill@gmx.de
Haibin Zhang dragzhb@yahoo.com.cn
Han Boetes han@mijncomputer.nl
Hans Ulrich Niedermann debian@n-dimensional.de
Henry Nelson netb@yuba.ne.jp
H. J. Lu hjl@lucon.org
Hrvoje Niksic hniksic@srce.hr
Igor Brezac igor@ipass.net
I. Thomas Cundiff tcundiff@eclipse.net
Jacob (=Jouk) Jansen joukj@hrem.stm.tudelft.nl
Jakub Bogusz qboosh@pld-linux.org
Jakub Jelinek jj@sunsite.ms.mff.cuni.cz
James A Baker jabaker@mac.com
James Henstridge james@daa.com.au
James Youngman jay@gnu.org
Jan Djärv jan.djarv@mbox200.swipnet.se
Jan-Marek Glogowski glogow@stud.fbi.fh-darmstadt.de
Jan Schneider jan@horde.org
Jason Keltz jas@cs.yorku.ca
Javier Fernández-Sanguino Peña jfs@computer.org
Jeff Bonggren jbon@cfl.rr.com
Jeff Rizzo riz@netbsd.org
Jens A. Tkotz jens@peino.de
Jens Petersen petersen@redhat.com
Jim Meyering meyering@na-net.ornl.gov
Jochen Hein jochen@jochen.org
Joel Reicher joel@panacea.null.org
Jörg Schilling schilling@fokus.fraunhofer.de
Joey Hess joeyh@debian.org
Jonas Koch Bentzen jonas@understroem.dk
Joosep-Georg Järvemaa joosep-georg.jarvemaa_4898@eesti.ee
Jorn Baayen jbaayen@dds.nl
Josep Puigdemont baldrick@terra.es
Joshua R. Poulson jrp@plaza.ds.adp.com
Jouko Orava joorava@pcu.helsinki.fi
Jozef Riha jose1711@gmail.com
Juan Manuel Guerrero st001906@hrz1.hrz.tu-darmstadt.de
Jürgen A. Erhard jae+debian@jerhard.org
Julien Chiron julien.chiron@univ.u-3mrs.fr
Jun Sawataishi jsawa@attglobal.net
Kalle Niemitalo tosi@ees2.oulu.fi
Karl Berry kb@cs.umb.edu
Karl Chen quarl@hkn.eecs.berkeley.edu
Karl Eichwalder ke@suse.de
Kaveh R. Ghazi ghazi@caip.rutgers.edu
Kenichi Handa handa@etl.go.jp
Ken Y. Clark kclark@logsoft.com
Kevin Ryde user42@zip.com.au
Kingpin mthurn@copper.dulles.tasc.com
Kiyotaka Sakai ksakai@isr.co.jp
Kouichi Hashikawa z01a7ksy@cs.ecip.tohoku.ac.jp
Larry Schwimmer rosebud@cyclone.stanford.edu
Lars Hecking lhecking@nmrc.ie
Laurent Bourbeau bourbeau@progiciels-bpi.ca
Len Makin len@hpc.csiro.au
Leonard den Ottolander leonard@den.ottolander.nl
Leonardo Fontenelle leo.fontenelle@gmail.com
Liu Garfield jackliu9999@hotmail.com
Lorenzo Gil Sanchez lgs@sicem.biz
Luke Schierer lschiere@rackspace.com
Maciej W. Rozycki macro@ds2.pg.gda.pl
Mads Martin Joergensen mmj@suse.de
Marc Prior MarcPrior@compuserve.com
Marcel Telka marcel@telka.sk
Marcus Daniels marcus@sysc.pdx.edu
Marcus Meissner meissner@suse.de
Marin Purgar pmc@asgard.hr
Marius Schamschula mschamschula@gmail.com
Mark A. Wicks mwicks@kettering.edu
Mark D. Baushke mdb@cvshome.org
Mark Detrick Mark.Detrick@mcdata.com
Mark Eichin eichin@thok.org
Mark Junker mjscod@gmx.de
Martin Mokrejš mmokrejs@natur.cuni.cz
Martin Pitt mpitt@debian.org
Martin Quinson martin.quinson@ens-lyon.fr
Martin v. Löwis martin@loewis.home.cs.tu-berlin.de
Matt Dreezer matthew.dreezer@edl.uk.eds.com
Matthew McGillis matthew@jenika.com
Matthias Clasen mclasen@redhat.com
Mattias Ellert mattias.ellert@tsl.uu.se
Matthias Kiefer kiefer@kde.org
Max de Mendizabal max@acer.com.mx
Michael C. Toren mct@toren.net
Michael Opdenacker m-opdenacker@ti.com
Michael Schloh von Bennewitz michael.schloh@cw.com
Michael Stather michaelstather@nuzi.de
Michal Černoevič Michal.Cernoevic@pvt.cz
Michel Robitaille robitail@iro.umontreal.ca
Michelle Konzack linux4michelle@freenet.de
Mike Frysinger vapier@gentoo.org
Miroslaw Dobrzanski-Neumann mne@mosaic-ag.com
? mus1876@gmx.info
Nelson H. F. Beebe beebe@math.utah.edu
Nick Clifton nickc@redhat.com
Nicolas François nicolas.francois@centraliens.net
Niki Waibel niki.waibel@newlogic.com
Nils Magnus Larsgard nmlarsgaard@atmel.no
Nils Naumann naumann@unileoben.ac.at
Nina Kusnetsova nina@ns.kinetics.nsc.ru
Noah Friedman friedman@splode.com
Noah Slater nslater@gmail.com
Olly Betts olly@survex.com
O'Riva oriva@earthlink.net
Owen Taylor otaylor@redhat.com
Pablo Saratxaga pablo@mandrakesoft.com
Paolo Bonzini bonzini@gnu.org
Paul D. Smith psmith@gnu.org
Paul Eggert eggert@twinsun.com
Paul Jarc prj@po.cwru.edu
Paul Martinolich martinol@nrlssc.navy.mil
Pavel Roskin proski@gnu.org
Pekka Järveläinen pj@csc.fi
Pepa cerna.zelva@seznam.cz
Perry Rapp prapp@erols.com, lifelines_3_0_18@hotmail.com
Perry Smith pedz@easesoftware.com
Peter Breitenlohner peb@mppmu.mpg.de
Pierre pierre42d@9online.fr
Philipp Thomas pthomas@suse.de
Primoz Peterlin primoz.peterlin@biofiz.mf.uni-lj.si
Rafał Maszkowski rzm@icm.edu.pl
Ralf Corsepius rc040203@freenet.de
Ralf Menzel menzel@ls6.cs.uni-dortmund.de
Ralf Wildenhues Ralf.Wildenhues@gmx.de
Raphaël Zhou xzhou@tlmcom.fr
Recai Oktaş roktas@omu.edu.tr
Reinout van Schouwen reinout@cs.vu.nl
Rhys Weatherley rweather@zip.com.au
Richard Lloyd richard.lloyd@connectinternetsolutions.com
Richard S. Blake blakers@presence-group.com
Richard Stallman rms@gnu.org
Rob Landley rob@landley.net
Rob Leslie rob@mars.org
Robert Millan rmh@aybabtu.com
Robert Vock RobertVock@gmx.de
Roberto Bagnara bagnara@cs.unipr.it
Rodrigo Stulzer Lopes rodrigo@conectiva.com.br
Roger Leigh rl117@york.ac.uk
Roland McGrath roland@gnu.ai.mit.edu
Ron Lee ron@debian.org
Roozbeh Pournader roozbeh@sharif.edu
Ross Golder ross@golder.org
Ryan Anderson ryan@autoweb.net
Ryan Schmidt gettext-2007b@ryandesign.com
Sakai Kiyotaka ksakai@netwk.ntt-at.co.jp
Sam Hocevar sam@zoy.org
Sam Steingold sds@gnu.org
Santiago Vila Doncel sanvila@unex.es
Sebastian Günther sguenther@gmx.de
Sergey Poznyakoff gray@mirddin.farlep.net
Sergio Talens-Oliag sto@debian.org
Simon Josefsson jas@extundo.com
Simon Watts swatts@ngms.eu.com
Simos Xenitellis simos74@gmx.net
Stanislav Brabec sbrabec@suse.cz
Stanislav Visnovsky visnovsky@nenya.ms.mff.cuni.cz
Stefan Hundhammer sh@suse.de
Stefan Kost kost@imn.htwk-leipzig.de
Stefan Kowski stefan.kowski@parks-informatik.de
Stefan Nordhausen nordhaus@informatik.hu-berlin.de
Steffen Macke sdteffen@gmail.com
Stepan Kasal kasal@math.cas.cz
Stephan Kulow coolo@kde.org
Stephane Matamontero stephane.matamontero@gemodek.de
Stephen Cartwright sgcartwr@ucalgary.ca
Stephen Gildea gildea@stop.mail-abuse.org
Steven Edwards Steven_Ed4153@yahoo.com
Svante Seleborg svante@axantum.com
Sven Joachim sven_joachim@web.de
Sven Utcke utcke@informatik.uni-hamburg.de
Sylvain Beucler beuc@gnu.org
Thomas E. Dickey dickey@clark.net
Thomas Vander Stichele thomas@apestaart.org
Thorsten Kukuk kukuk@suse.de
Thorsten Maerz torte@netztorte.de
Tim Mooney mooney@dogbert.cc.ndsu.nodak.edu
Tim Van Holder tim.van.holder@pandora.be
Tom Tromey tromey@cygnus.com
Tommy Johansson tommy@kanalen.org
Tor Lillqvist tml@iki.fi
Trond Eivind Glomsrød teg@redhat.com
Uwe Ohse uwe@tirka.gun.de
Vaclav Haisman V.Haisman@sh.cvut.cz
Valery Beaud valery.beaud@art.alcatel.fr
Vera Mickael vera.mickael@free.fr
Veronica Loell info@nakawe.se
Vincent Torri vtorri@univ-evry.fr
Volodymyr M. Lisivka lvm@mystery.lviv.net
Wang Jian lark@linux.net.cn
Warren L Dodge warrend@mdhost.cse.tek.com
Werner Koch wk@gnupg.org
Werner Lemberg wl@gnu.org
Wesley J. Landaker wjl@icecavern.net
William J Poser wjposer@ldc.upenn.edu
Wojciech Polak polak@gnu.org
Xiong Jiang jxiong@offtopic.org
Yann Dirson ydirson@altern.org
Yves Codet ycodet@club-internet.fr
Thanks to all members of the translation teams for the different
languages.

544
source/aclocal.m4 vendored Normal file
View File

@@ -0,0 +1,544 @@
# generated automatically by aclocal 1.10 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005, 2006 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_AUTOMAKE_VERSION(VERSION)
# ----------------------------
# Automake X.Y traces this macro to ensure aclocal.m4 has been
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
[am__api_version='1.10'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
m4_if([$1], [1.10], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
# _AM_AUTOCONF_VERSION(VERSION)
# -----------------------------
# aclocal traces this macro to find the Autoconf version.
# This is a private macro too. Using m4_define simplifies
# the logic in aclocal, which can simply ignore this definition.
m4_define([_AM_AUTOCONF_VERSION], [])
# AM_SET_CURRENT_AUTOMAKE_VERSION
# -------------------------------
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
[AM_AUTOMAKE_VERSION([1.10])dnl
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
#
# Of course, Automake must honor this variable whenever it calls a
# tool from the auxiliary directory. The problem is that $srcdir (and
# therefore $ac_aux_dir as well) can be either absolute or relative,
# depending on how configure is run. This is pretty annoying, since
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
# source directory, any form will work fine, but in subdirectories a
# relative path needs to be adjusted first.
#
# $ac_aux_dir/missing
# fails when called from a subdirectory if $ac_aux_dir is relative
# $top_srcdir/$ac_aux_dir/missing
# fails if $ac_aux_dir is absolute,
# fails when called from a subdirectory in a VPATH build with
# a relative $ac_aux_dir
#
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
# are both prefixed by $srcdir. In an in-source build this is usually
# harmless because $srcdir is `.', but things will broke when you
# start a VPATH build or use an absolute $srcdir.
#
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
# and then we would define $MISSING as
# MISSING="\${SHELL} $am_aux_dir/missing"
# This will work as long as MISSING is not called from configure, because
# unfortunately $(top_srcdir) has no meaning in configure.
# However there are other variables, like CC, which are often used in
# configure, and could therefore not use this "fixed" $ac_aux_dir.
#
# Another solution, used here, is to always expand $ac_aux_dir to an
# absolute PATH. The drawback is that using absolute paths prevent a
# configured tree to be moved without reconfiguration.
AC_DEFUN([AM_AUX_DIR_EXPAND],
[dnl Rely on autoconf to set up CDPATH properly.
AC_PREREQ([2.50])dnl
# expand $ac_aux_dir to an absolute path
am_aux_dir=`cd $ac_aux_dir && pwd`
])
# Do all the work for Automake. -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005, 2006 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 12
# This macro actually does too much. Some checks are only needed if
# your package does certain things. But this isn't really a big deal.
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
# AM_INIT_AUTOMAKE([OPTIONS])
# -----------------------------------------------
# The call with PACKAGE and VERSION arguments is the old style
# call (pre autoconf-2.50), which is being phased out. PACKAGE
# and VERSION should now be passed to AC_INIT and removed from
# the call to AM_INIT_AUTOMAKE.
# We support both call styles for the transition. After
# the next Automake release, Autoconf can make the AC_INIT
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
[AC_PREREQ([2.60])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
AC_REQUIRE([AC_PROG_INSTALL])dnl
if test "`cd $srcdir && pwd`" != "`pwd`"; then
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
# is not polluted with repeated "-I."
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
# test to see if srcdir already configured
if test -f $srcdir/config.status; then
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
fi
fi
# test whether we have cygpath
if test -z "$CYGPATH_W"; then
if (cygpath --version) >/dev/null 2>/dev/null; then
CYGPATH_W='cygpath -w'
else
CYGPATH_W=echo
fi
fi
AC_SUBST([CYGPATH_W])
# Define the identity of the package.
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
[_AM_SET_OPTIONS([$1])dnl
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
_AM_IF_OPTION([no-define],,
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
# Some tools Automake needs.
AC_REQUIRE([AM_SANITY_CHECK])dnl
AC_REQUIRE([AC_ARG_PROGRAM])dnl
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
AM_MISSING_PROG(AUTOCONF, autoconf)
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
AM_MISSING_PROG(AUTOHEADER, autoheader)
AM_MISSING_PROG(MAKEINFO, makeinfo)
AM_PROG_INSTALL_SH
AM_PROG_INSTALL_STRIP
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
AC_REQUIRE([AC_PROG_AWK])dnl
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
[_AM_PROG_TAR([v7])])])
_AM_IF_OPTION([no-dependencies],,
[AC_PROVIDE_IFELSE([AC_PROG_CC],
[_AM_DEPENDENCIES(CC)],
[define([AC_PROG_CC],
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
AC_PROVIDE_IFELSE([AC_PROG_CXX],
[_AM_DEPENDENCIES(CXX)],
[define([AC_PROG_CXX],
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES(OBJC)],
[define([AC_PROG_OBJC],
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
])
])
# When config.status generates a header, we must update the stamp-h file.
# This file resides in the same directory as the config header
# that is generated. The stamp files are numbered to have different names.
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
# loop where config.status creates the headers, so we can generate
# our stamp files there.
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
[# Compute $1's index in $config_headers.
_am_stamp_count=1
for _am_header in $config_headers :; do
case $_am_header in
$1 | $1:* )
break ;;
* )
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
esac
done
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_PROG_INSTALL_SH
# ------------------
# Define $install_sh.
AC_DEFUN([AM_PROG_INSTALL_SH],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
AC_SUBST(install_sh)])
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 2
# Check whether the underlying file-system supports filenames
# with a leading dot. For instance MS-DOS doesn't.
AC_DEFUN([AM_SET_LEADING_DOT],
[rm -rf .tst 2>/dev/null
mkdir .tst 2>/dev/null
if test -d .tst; then
am__leading_dot=.
else
am__leading_dot=_
fi
rmdir .tst 2>/dev/null
AC_SUBST([am__leading_dot])])
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 5
# AM_MISSING_PROG(NAME, PROGRAM)
# ------------------------------
AC_DEFUN([AM_MISSING_PROG],
[AC_REQUIRE([AM_MISSING_HAS_RUN])
$1=${$1-"${am_missing_run}$2"}
AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
# Define MISSING if not defined so far and test if it supports --run.
# If it does, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
# Use eval to expand $SHELL
if eval "$MISSING --run true"; then
am_missing_run="$MISSING --run "
else
am_missing_run=
AC_MSG_WARN([`missing' script is too old or missing])
fi
])
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_PROG_MKDIR_P
# ---------------
# Check for `mkdir -p'.
AC_DEFUN([AM_PROG_MKDIR_P],
[AC_PREREQ([2.60])dnl
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
dnl while keeping a definition of mkdir_p for backward compatibility.
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
dnl Makefile.ins that do not define MKDIR_P, so we do our own
dnl adjustment using top_builddir (which is defined more often than
dnl MKDIR_P).
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
case $mkdir_p in
[[\\/$]]* | ?:[[\\/]]*) ;;
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
esac
])
# Helper functions for option handling. -*- Autoconf -*-
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 3
# _AM_MANGLE_OPTION(NAME)
# -----------------------
AC_DEFUN([_AM_MANGLE_OPTION],
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
# _AM_SET_OPTION(NAME)
# ------------------------------
# Set option NAME. Presently that only means defining a flag for this option.
AC_DEFUN([_AM_SET_OPTION],
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
# _AM_SET_OPTIONS(OPTIONS)
# ----------------------------------
# OPTIONS is a space-separated list of Automake options.
AC_DEFUN([_AM_SET_OPTIONS],
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
# -------------------------------------------
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
# Check to make sure that the build environment is sane. -*- Autoconf -*-
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 4
# AM_SANITY_CHECK
# ---------------
AC_DEFUN([AM_SANITY_CHECK],
[AC_MSG_CHECKING([whether build environment is sane])
# Just in case
sleep 1
echo timestamp > conftest.file
# Do `set' in a subshell so we don't clobber the current shell's
# arguments. Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
if test "$[*]" = "X"; then
# -L didn't work.
set X `ls -t $srcdir/configure conftest.file`
fi
rm -f conftest.file
if test "$[*]" != "X $srcdir/configure conftest.file" \
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
# If neither matched, then we have a broken ls. This can happen
# if, for instance, CONFIG_SHELL is bash and it inherits a
# broken ls alias from the environment. This has actually
# happened. Such a system could not be considered "sane".
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
alias in your environment])
fi
test "$[2]" = conftest.file
)
then
# Ok.
:
else
AC_MSG_ERROR([newly created file is older than distributed files!
Check your system clock])
fi
AC_MSG_RESULT(yes)])
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_PROG_INSTALL_STRIP
# ---------------------
# One issue with vendor `install' (even GNU) is that you can't
# specify the program used to strip binaries. This is especially
# annoying in cross-compiling environments, where the build's strip
# is unlikely to handle the host's binaries.
# Fortunately install-sh will honor a STRIPPROG variable, so we
# always use install-sh in `make install-strip', and initialize
# STRIPPROG with the value of the STRIP variable (set by the user).
AC_DEFUN([AM_PROG_INSTALL_STRIP],
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
# Installed binaries are usually stripped using `strip' when the user
# run `make install-strip'. However `strip' might not be the right
# tool to use in cross-compilation environments, therefore Automake
# will honor the `STRIP' environment variable to overrule this program.
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
if test "$cross_compiling" != no; then
AC_CHECK_TOOL([STRIP], [strip], :)
fi
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
# Copyright (C) 2006 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# _AM_SUBST_NOTMAKE(VARIABLE)
# ---------------------------
# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
# This macro is traced by Automake.
AC_DEFUN([_AM_SUBST_NOTMAKE])
# Check how to create a tarball. -*- Autoconf -*-
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 2
# _AM_PROG_TAR(FORMAT)
# --------------------
# Check how to create a tarball in format FORMAT.
# FORMAT should be one of `v7', `ustar', or `pax'.
#
# Substitute a variable $(am__tar) that is a command
# writing to stdout a FORMAT-tarball containing the directory
# $tardir.
# tardir=directory && $(am__tar) > result.tar
#
# Substitute a variable $(am__untar) that extract such
# a tarball read from stdin.
# $(am__untar) < result.tar
AC_DEFUN([_AM_PROG_TAR],
[# Always define AMTAR for backward compatibility.
AM_MISSING_PROG([AMTAR], [tar])
m4_if([$1], [v7],
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
[m4_case([$1], [ustar],, [pax],,
[m4_fatal([Unknown tar format])])
AC_MSG_CHECKING([how to create a $1 tar archive])
# Loop over all known methods to create a tar archive until one works.
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
# Do not fold the above two line into one, because Tru64 sh and
# Solaris sh will not grok spaces in the rhs of `-'.
for _am_tool in $_am_tools
do
case $_am_tool in
gnutar)
for _am_tar in tar gnutar gtar;
do
AM_RUN_LOG([$_am_tar --version]) && break
done
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
am__untar="$_am_tar -xf -"
;;
plaintar)
# Must skip GNU tar: if it does not support --format= it doesn't create
# ustar tarball either.
(tar --version) >/dev/null 2>&1 && continue
am__tar='tar chf - "$$tardir"'
am__tar_='tar chf - "$tardir"'
am__untar='tar xf -'
;;
pax)
am__tar='pax -L -x $1 -w "$$tardir"'
am__tar_='pax -L -x $1 -w "$tardir"'
am__untar='pax -r'
;;
cpio)
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
am__untar='cpio -i -H $1 -d'
;;
none)
am__tar=false
am__tar_=false
am__untar=false
;;
esac
# If the value was cached, stop now. We just wanted to have am__tar
# and am__untar set.
test -n "${am_cv_prog_tar_$1}" && break
# tar/untar a dummy directory, and stop if the command works
rm -rf conftest.dir
mkdir conftest.dir
echo GrepMe > conftest.dir/file
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
rm -rf conftest.dir
if test -s conftest.tar; then
AM_RUN_LOG([$am__untar <conftest.tar])
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
fi
done
rm -rf conftest.dir
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
AC_SUBST([am__tar])
AC_SUBST([am__untar])
]) # _AM_PROG_TAR

View File

@@ -0,0 +1 @@
Bruno Haible wrote these autoconf macros.

View File

@@ -0,0 +1 @@
This subpackage is under the GPL, see file COPYING in the toplevel directory.

View File

@@ -0,0 +1,265 @@
2007-11-07 Bruno Haible <bruno@clisp.org>
* gettext-0.17 released.
2007-06-27 Bruno Haible <bruno@clisp.org>
* config.rpath: Upgrade to libtool-1.5.24.
2006-12-24 Bruno Haible <bruno@clisp.org>
Improve support for OpenBSD.
* config.rpath (libname_spec): Export.
(library_names_spec): New variable. Export.
2006-10-27 Bruno Haible <bruno@clisp.org>
Work around automake-1.10 annoyance.
* Makefile.am (ACLOCAL): New macro.
(tests/*/aclocal.m4): Use fixaclocal.
2006-11-27 Bruno Haible <bruno@clisp.org>
* gettext-0.16.1 released.
2006-10-26 Bruno Haible <bruno@clisp.org>
* gettext-0.16 released.
2006-07-21 Bruno Haible <bruno@clisp.org>
* gettext-0.15 released.
2006-06-23 Bruno Haible <bruno@clisp.org>
Biarch support.
* configure.ac: Invoke AC_LIB_PREPARE_MULTILIB. Set LIBDIRSTEM.
* tests/Makefile.am (TESTS_ENVIRONMENT): Set LIBDIRSTEM.
* tests/rpath-1: Pass --libdir to all configure invocations.
* tests/rpath-2_a: Likewise.
* tests/rpath-2_b: Likewise.
* tests/rpath-3_a: Likewise.
* tests/rpath-3_b: Likewise.
* tests/rpathcfg.sh: Likewise.
2006-05-15 Bruno Haible <bruno@clisp.org>
* config.rpath: Improve support for Sun C 5.9 on Linux, based on
libtool patch by Ralf Wildenhues.
2006-05-05 Bruno Haible <bruno@clisp.org>
* config.rpath: Add support for Sun C 5.9 on Linux.
2006-04-17 Bruno Haible <bruno@clisp.org>
* Makefile.am (all-local): Remove dependency on build-aux/mkinstalldirs.
(build-aux/mkinstalldirs): Remove rule.
(DISTCLEANFILES): Remove build-aux/mkinstalldirs.
* tests/rpathlx/Makefile.am (mkinstalldirs): Remove variable.
* tests/rpathly/Makefile.am (mkinstalldirs): Remove variable.
* tests/rpathlyx/Makefile.am (mkinstalldirs): Remove variable.
* tests/rpathlz/Makefile.am (mkinstalldirs): Remove variable.
* tests/rpathlzyx/Makefile.am (mkinstalldirs): Remove variable.
* tests/rpathx/Makefile.am (mkinstalldirs): Remove variable.
* tests/rpathy/Makefile.am (mkinstalldirs): Remove variable.
* tests/rpathz/Makefile.am (mkinstalldirs): Remove variable.
2005-12-27 Bruno Haible <bruno@clisp.org>
* config.rpath: Upgrade to libtool-1.5.22.
2005-11-23 Bruno Haible <bruno@clisp.org>
Cygwin portability.
* configure.ac: Invoke gl_WOE32_DLL.
2005-09-18 Bruno Haible <bruno@clisp.org>
* config.rpath: Upgrade to libtool-1.5.20.
2005-09-18 Bruno Haible <bruno@clisp.org>
* config.rpath: Complete upgrade to libtool-1.5.16.
2005-05-01 Bruno Haible <bruno@clisp.org>
* config.rpath: Upgrade to libtool-1.5.16.
2006-06-21 Bruno Haible <bruno@clisp.org>
* gettext-0.14.6 released.
2006-06-21 Bruno Haible <bruno@clisp.org>
* tests/Makefile.am (TESTS): Remove those tests that fail on x86_64.
2005-05-23 Bruno Haible <bruno@clisp.org>
* gettext-0.14.5 released.
2005-04-11 Bruno Haible <bruno@clisp.org>
* gettext-0.14.4 released.
2005-04-11 Bruno Haible <bruno@clisp.org>
* tests/rpath-1, tests/rpath-2_a, tests/rpath-2_b, tests/rpath-3_a:
* tests/rpath-3_b, tests/rpathcfg.sh: Use build-aux instead of config.
2005-03-22 Bruno Haible <bruno@clisp.org>
* configure.ac (AC_CONFIG_AUX_DIR): Use ../build-aux.
* tests/rpath*/configure.ac (AC_CONFIG_AUX_DIR): Use ../../../build-aux.
* Makefile.am: Replace config/m4 with m4 and config/ with build-aux/.
(build-aux-dir): Renamed from config-dir.
2005-03-14 Bruno Haible <bruno@clisp.org>
* gettext-0.14.3 released.
2005-02-24 Bruno Haible <bruno@clisp.org>
* gettext-0.14.2 released.
2005-02-07 Bruno Haible <bruno@clisp.org>
* config.rpath: Upgrade to libtool-1.5.12: support for Portland Group
compiler, support for DragonFly BSD, relaxed copyright permissions.
2005-02-07 Bruno Haible <bruno@clisp.org>
* config.rpath: Use 'sed' with ranges only in C locale. Needed because
in the et_EE locale, the letters T U V W C Y come after Z.
Reported by Mike Frysinger <vapier@gentoo.org>.
2005-01-09 Bruno Haible <bruno@clisp.org>
Adaptation to automake-1.9.
* Makefile.am (tests/rpath*/aclocal.m4): Turn the m4 directories
into absolute pathnames, so that aclocal-1.9 includes the files
literally into the created aclocal.m4 file, instead of putting
m4_include(...) statements that don't work after the directory has
been copied to a different location.
2005-01-05 Bruno Haible <bruno@clisp.org>
* config.rpath: Upgrade to libtool-1.5.10.
2004-11-11 Bruno Haible <bruno@clisp.org>
* config.rpath: Upgrade to libtool-1.5.8 and libtool-1.5.10.
2004-11-11 Bruno Haible <bruno@clisp.org>
* config.rpath: Upgrade to libtool-1.5.6.
2004-10-30 James Youngman <jay@gnu.org>
* config.rpath: Modify comment to be consistent with the code.
2004-02-22 Bruno Haible <bruno@clisp.org>
* config.rpath: Add support for Comeau C++ on Linux.
Patch by Prof. Roberto Bagnara <bagnara@cs.unipr.it>.
2004-02-21 Bruno Haible <bruno@clisp.org>
* config.rpath: Upgrade to libtool-1.5.2.
2004-01-29 Bruno Haible <bruno@clisp.org>
* gettext-0.14.1 released.
2004-01-28 Bruno Haible <bruno@clisp.org>
* gettext-0.14 released.
2003-12-12 Bruno Haible <bruno@clisp.org>
Assume automake-1.8.
* Makefile.am (html): Remove rule.
(distclean-local): Renamed from distclean-am.
* tests/Makefile.am (distclean-local): Renamed from distclean-am.
2003-12-17 Bruno Haible <bruno@clisp.org>
* gettext-0.13.1 released.
2003-11-30 Bruno Haible <bruno@clisp.org>
* gettext-0.13 released.
2003-10-31 Bruno Haible <bruno@clisp.org>
* configure.ac: Remove argument of FIX_MAKEFILE_DISTRIB.
2003-06-17 Paul Eggert <eggert@twinsun.com>
* config.rpath: Use grep instead of egrep, since POSIX 1003.1-2001 no
longer requires egrep.
2003-05-22 Bruno Haible <bruno@clisp.org>
* gettext-0.12.1 released.
2003-05-20 Bruno Haible <bruno@clisp.org>
* Makefile.am (config-dir): New target.
(config/config.guess, config/config.sub, config/install-sh,
config/ltmain.sh, config/mkinstalldirs, config/missing,
config/config.rpath): Depend on it.
(distclean-am): Remove config-dir as well.
Reported by Frédéric L. W. Meunier <0@pervalidus.tk>.
2003-05-17 Bruno Haible <bruno@clisp.org>
* gettext-0.12 released.
2003-05-02 Bruno Haible <bruno@clisp.org>
* config.rpath: Document limitation on IRIX.
2003-04-24 Bruno Haible <bruno@clisp.org>
* config.rpath: Update to libtool-1.5. Small changes for AIX, HP-UX,
Irix, Linux, MacOS X, Windows.
2003-04-24 Bruno Haible <bruno@clisp.org>
* config.rpath: Don't set sys_lib_search_path_spec and
sys_lib_dlsearch_path_spec.
2003-02-28 Bruno Haible <bruno@clisp.org>
Support for relocatable installation.
* INSTALL: Document --enable-relocatable and --with-libintl-prefix.
2003-02-22 Bruno Haible <bruno@clisp.org>
* Makefile.am (ps, pdf): Remove rules, redundant with automake 1.7.2.
2003-02-12 Bruno Haible <bruno@clisp.org>
Extracted from gettext package.
* configure.ac: New file.
* Makefile.am: New file.
* AUTHORS, COPYING, INSTALL, NEWS, README: New files.
* m4/Makefile.am: New file.
* tests/Makefile.am: New file.
* tests/rpath-1: Move temporary directories down under tstdir.
Rename global_top_srcdir to global_top_auxdir.
* tests/rpath-2_a: Likewise.
* tests/rpath-2_b: Likewise.
* tests/rpath-3_a: Likewise.
* tests/rpath-3_b: Likewise.
* tests/rpath-2???: Use $srcdir instead of $top_srcdir/tests.
* tests/rpath-3???: Likewise.
* tests/rpathcfg.sh: Move temporary directories down under tstdir.
Use $srcdir instead of $top_srcdir/tests.
* tests/rpath*/Makefile.am: Use global_top_auxdir instead of
global_top_srcdir.
* tests/rpath*/configure.ac: Use AC_CONFIG_AUX_DIR instead of
AC_CONFIG_AUX_DIRS; the latter is undocumented and doesn't work
with automake-1.7.2.

View File

@@ -0,0 +1,251 @@
Basic Installation
==================
These are generic installation instructions.
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, a file
`config.cache' that saves the results of its tests to speed up
reconfiguring, and a file `config.log' containing compiler output
(useful mainly for debugging `configure').
If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If at some point `config.cache'
contains results you don't want to keep, you may remove or edit it.
The file `configure.ac' is used to create `configure' by a program
called `autoconf'. You only need `configure.ac' if you want to change
it or regenerate `configure' using a newer version of `autoconf'.
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
the package.
4. Type `make install' to install the programs and any data files and
documentation.
5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.
Compilers and Options
=====================
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. You can give `configure'
initial values for variables as arguments. You can do it like this:
./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
Compiling For Multiple Architectures
====================================
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you must use a version of `make' that
supports the `VPATH' variable, such as GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.
If you have to use a `make' that does not supports the `VPATH'
variable, you have to compile the package for one architecture at a time
in the source code directory. After you have installed the package for
one architecture, use `make distclean' before reconfiguring for another
architecture.
Installation Names
==================
By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc. You can specify an
installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
give `configure' the option `--exec-prefix=PATH', the package will use
PATH as the prefix for installing programs and libraries.
Documentation and other data files will still use the regular prefix.
In addition, if you use an unusual directory layout you can give
options like `--bindir=PATH' to specify different values for particular
kinds of files. Run `configure --help' for a list of the directories
you can set and what kinds of files go in them.
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Relocatable Installation
========================
By default, `make install' will install a package with hardwired
file names, and the package will not work correctly when copied or
moved to a different location in the filesystem.
Some packages pay attention to the `--enable-relocatable' option to
`configure'. This option makes the entire installed package
relocatable. This means, it can be moved or copied to a different
location on the filesystem. It is possible to make symlinks to the
installed and moved programs, and invoke them through the symlink. It
is possible to do the same thing with a hard link _only_ if the hard
linked file is in the same directory as the real program.
For reliability it is best to give together with --enable-relocatable
a `--prefix' option pointing to an otherwise unused (and never used
again) directory, for example, `--prefix=/tmp/inst$$'. This is
recommended because on some OSes the executables remember the location
of shared libraries (and prefer them over LD_LIBRARY_PATH !), therefore
such an executable will look for its shared libraries first in the
original installation directory and only then in the current
installation directory.
Installation with `--enable-relocatable' will not work for setuid /
setgid executables. (This is because such an executable kills its
LD_LIBRARY_PATH variable when it is launched.)
The runtime penalty and size penalty are nearly zero on Linux 2.2 or
newer (just one system call more when an executable is launched), and
small on other systems (the wrapper program just sets an environment
variable and execs the real program).
Optional Features
=================
Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.
For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.
For packages that use the GNU libiconv library, you can use the
`configure' option `--with-libiconv-prefix' to specify the prefix you
used while installing GNU libiconv. This option is not necessary if
that other prefix is the same as the one now specified through --prefix.
For packages that use the GNU libintl library, you can use the
`configure' option `--with-libintl-prefix' to specify the prefix you
used while installing GNU gettext-runtime. This option is not necessary if
that other prefix is the same as the one now specified through --prefix.
Particular Systems
==================
On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC
is not installed, it is recommended to use the following options in order
to use an ANSI C compiler:
./configure CC="cc -Ae"
On OSF/1 a.k.a. Tru64, some versions of the default C compiler don't grok
its <wchar.h> header file. The option -nodtk can be used as a workaround.
If GNU CC is not installed, it is therefore recommended to try
./configure CC="cc"
and if that doesn't work, try
./configure CC="cc -nodtk"
On AIX 3, the C include files by default don't define some necessary
prototype declarations. If GNU CC is not installed, it is recommended to
use the following options:
./configure CC="xlc -D_ALL_SOURCE"
On BeOS, user installed software goes in /boot/home/config, not
/usr/local. It is recommended to use the following options:
./configure --prefix=/boot/home/config
Specifying the System Type
==========================
There may be some features `configure' can not figure out
automatically, but needs to determine by the type of host the package
will run on. Usually `configure' can figure that out, but if it prints
a message saying it can not guess the host type, give it the
`--host=TYPE' option. TYPE can either be a short name for the system
type, such as `sun4', or a canonical name with three fields:
CPU-COMPANY-SYSTEM
See the file `config.sub' for the possible values of each field. If
`config.sub' isn't included in this package, then this package doesn't
need to know the host type.
If you are building compiler tools for cross-compiling, you can also
use the `--target=TYPE' option to select the type of system they will
produce code for and the `--build=TYPE' option to select the type of
system on which you are compiling the package.
Sharing Defaults
================
If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists. Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.
Operation Controls
==================
`configure' recognizes the following options to control how it
operates.
`--cache-file=FILE'
Use and save the results of the tests in FILE instead of
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
debugging `configure'.
`--help'
Print a summary of the options to `configure', and exit.
`--quiet'
`--silent'
`-q'
Do not print messages saying which checks are being made. To
suppress all normal output, redirect it to `/dev/null' (any error
messages will still be shown).
`--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
`configure' can determine that directory automatically.
`--version'
Print the version of Autoconf used to generate the `configure'
script, and exit.
`configure' also accepts some other, not widely useful, options.

View File

@@ -0,0 +1,149 @@
## Makefile for the autoconf-lib-link directory of GNU gettext
## Copyright (C) 1995-1999, 2000-2003, 2005-2006 Free Software Foundation, Inc.
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
## Process this file with automake to produce Makefile.in.
AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
ACLOCAL = ../build-aux/fixaclocal @ACLOCAL@
ACLOCAL_AMFLAGS = -I m4 -I ../m4
EXTRA_DIST =
DISTCLEANFILES =
SUBDIRS = m4 tests
EXTRA_DIST += config.rpath
# We want to maintain only one copy of config.rpath. The one in this directory
# is the source.
all-local: $(srcdir)/../build-aux/config.rpath
$(srcdir)/../build-aux/config.rpath: $(srcdir)/config.rpath
cp $(srcdir)/config.rpath $(srcdir)/../build-aux/config.rpath
# The AC_CONFIG_AUX_DIR argument in the tests/rpath*/configure.ac files is
# interpreted in two different contexts:
# 1. at "make distrib" time, when we call automake, relative to
# SRCDIR/tests/rpath*/,
# 2. at "make check" time, when the directory is copied and configured,
# relative to BUILDDIR/tests/tstdir/rp-*/.
# We choose this argument to be '../../../build-aux', for case 1, and therefore
# we need to make a local copy of the build-aux directory, for case 2.
all-local: build-aux/config.guess build-aux/config.sub build-aux/install-sh build-aux/ltmain.sh build-aux/missing build-aux/config.rpath
build-aux-dir:
test -d build-aux || mkdir build-aux
touch build-aux-dir
build-aux/config.guess: $(srcdir)/../build-aux/config.guess build-aux-dir
cp $(srcdir)/../build-aux/config.guess build-aux/config.guess
build-aux/config.sub: $(srcdir)/../build-aux/config.sub build-aux-dir
cp $(srcdir)/../build-aux/config.sub build-aux/config.sub
build-aux/install-sh: $(srcdir)/../build-aux/install-sh build-aux-dir
cp $(srcdir)/../build-aux/install-sh build-aux/install-sh
build-aux/ltmain.sh: $(srcdir)/../build-aux/ltmain.sh build-aux-dir
cp $(srcdir)/../build-aux/ltmain.sh build-aux/ltmain.sh
build-aux/missing: $(srcdir)/../build-aux/missing build-aux-dir
cp $(srcdir)/../build-aux/missing build-aux/missing
build-aux/config.rpath: $(srcdir)/config.rpath build-aux-dir
cp $(srcdir)/config.rpath build-aux/config.rpath
DISTCLEANFILES += build-aux/config.guess build-aux/config.sub build-aux/install-sh build-aux/ltmain.sh build-aux/missing build-aux/config.rpath
distclean-local:
rm -rf build-aux build-aux-dir
# Subdirectories with separate autoconfiguration.
CONFIGURES_RPATHX = $(srcdir)/tests/rpathx/Makefile.in $(srcdir)/tests/rpathx/aclocal.m4 $(srcdir)/tests/rpathx/configure
$(srcdir)/tests/rpathx/Makefile.in: $(srcdir)/tests/rpathx/Makefile.am $(srcdir)/tests/rpathx/configure.ac $(srcdir)/tests/rpathx/aclocal.m4
cd $(srcdir)/tests/rpathx && automake Makefile
$(srcdir)/tests/rpathx/aclocal.m4: $(srcdir)/tests/rpathx/configure.ac $(srcdir)/../m4/libtool.m4
cd $(srcdir)/tests/rpathx && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd` -I `cd ../../../m4 && pwd`
$(srcdir)/tests/rpathx/configure: $(srcdir)/tests/rpathx/configure.ac $(srcdir)/tests/rpathx/aclocal.m4
cd $(srcdir)/tests/rpathx && autoconf
CONFIGURES_RPATHY = $(srcdir)/tests/rpathy/Makefile.in $(srcdir)/tests/rpathy/aclocal.m4 $(srcdir)/tests/rpathy/configure
$(srcdir)/tests/rpathy/Makefile.in: $(srcdir)/tests/rpathy/Makefile.am $(srcdir)/tests/rpathy/configure.ac $(srcdir)/tests/rpathy/aclocal.m4
cd $(srcdir)/tests/rpathy && automake Makefile
$(srcdir)/tests/rpathy/aclocal.m4: $(srcdir)/tests/rpathy/configure.ac $(srcdir)/../m4/libtool.m4 $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
cd $(srcdir)/tests/rpathy && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd` -I `cd ../../../m4 && pwd`
$(srcdir)/tests/rpathy/configure: $(srcdir)/tests/rpathy/configure.ac $(srcdir)/tests/rpathy/aclocal.m4
cd $(srcdir)/tests/rpathy && autoconf
CONFIGURES_RPATHZ = $(srcdir)/tests/rpathz/Makefile.in $(srcdir)/tests/rpathz/aclocal.m4 $(srcdir)/tests/rpathz/configure
$(srcdir)/tests/rpathz/Makefile.in: $(srcdir)/tests/rpathz/Makefile.am $(srcdir)/tests/rpathz/configure.ac $(srcdir)/tests/rpathz/aclocal.m4
cd $(srcdir)/tests/rpathz && automake Makefile
$(srcdir)/tests/rpathz/aclocal.m4: $(srcdir)/tests/rpathz/configure.ac $(srcdir)/../m4/libtool.m4 $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
cd $(srcdir)/tests/rpathz && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd` -I `cd ../../../m4 && pwd`
$(srcdir)/tests/rpathz/configure: $(srcdir)/tests/rpathz/configure.ac $(srcdir)/tests/rpathz/aclocal.m4
cd $(srcdir)/tests/rpathz && autoconf
CONFIGURES_RPATHLX = $(srcdir)/tests/rpathlx/Makefile.in $(srcdir)/tests/rpathlx/aclocal.m4 $(srcdir)/tests/rpathlx/configure
$(srcdir)/tests/rpathlx/Makefile.in: $(srcdir)/tests/rpathlx/Makefile.am $(srcdir)/tests/rpathlx/configure.ac $(srcdir)/tests/rpathlx/aclocal.m4
cd $(srcdir)/tests/rpathlx && automake Makefile
$(srcdir)/tests/rpathlx/aclocal.m4: $(srcdir)/tests/rpathlx/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
cd $(srcdir)/tests/rpathlx && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd`
$(srcdir)/tests/rpathlx/configure: $(srcdir)/tests/rpathlx/configure.ac $(srcdir)/tests/rpathlx/aclocal.m4
cd $(srcdir)/tests/rpathlx && autoconf
CONFIGURES_RPATHLY = $(srcdir)/tests/rpathly/Makefile.in $(srcdir)/tests/rpathly/aclocal.m4 $(srcdir)/tests/rpathly/configure
$(srcdir)/tests/rpathly/Makefile.in: $(srcdir)/tests/rpathly/Makefile.am $(srcdir)/tests/rpathly/configure.ac $(srcdir)/tests/rpathly/aclocal.m4
cd $(srcdir)/tests/rpathly && automake Makefile
$(srcdir)/tests/rpathly/aclocal.m4: $(srcdir)/tests/rpathly/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
cd $(srcdir)/tests/rpathly && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd`
$(srcdir)/tests/rpathly/configure: $(srcdir)/tests/rpathly/configure.ac $(srcdir)/tests/rpathly/aclocal.m4
cd $(srcdir)/tests/rpathly && autoconf
CONFIGURES_RPATHLYX = $(srcdir)/tests/rpathlyx/Makefile.in $(srcdir)/tests/rpathlyx/aclocal.m4 $(srcdir)/tests/rpathlyx/configure
$(srcdir)/tests/rpathlyx/Makefile.in: $(srcdir)/tests/rpathlyx/Makefile.am $(srcdir)/tests/rpathlyx/configure.ac $(srcdir)/tests/rpathlyx/aclocal.m4
cd $(srcdir)/tests/rpathlyx && automake Makefile
$(srcdir)/tests/rpathlyx/aclocal.m4: $(srcdir)/tests/rpathlyx/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
cd $(srcdir)/tests/rpathlyx && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd`
$(srcdir)/tests/rpathlyx/configure: $(srcdir)/tests/rpathlyx/configure.ac $(srcdir)/tests/rpathlyx/aclocal.m4
cd $(srcdir)/tests/rpathlyx && autoconf
CONFIGURES_RPATHLZ = $(srcdir)/tests/rpathlz/Makefile.in $(srcdir)/tests/rpathlz/aclocal.m4 $(srcdir)/tests/rpathlz/configure
$(srcdir)/tests/rpathlz/Makefile.in: $(srcdir)/tests/rpathlz/Makefile.am $(srcdir)/tests/rpathlz/configure.ac $(srcdir)/tests/rpathlz/aclocal.m4
cd $(srcdir)/tests/rpathlz && automake Makefile
$(srcdir)/tests/rpathlz/aclocal.m4: $(srcdir)/tests/rpathlz/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
cd $(srcdir)/tests/rpathlz && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd`
$(srcdir)/tests/rpathlz/configure: $(srcdir)/tests/rpathlz/configure.ac $(srcdir)/tests/rpathlz/aclocal.m4
cd $(srcdir)/tests/rpathlz && autoconf
CONFIGURES_RPATHLZYX = $(srcdir)/tests/rpathlzyx/Makefile.in $(srcdir)/tests/rpathlzyx/aclocal.m4 $(srcdir)/tests/rpathlzyx/configure
$(srcdir)/tests/rpathlzyx/Makefile.in: $(srcdir)/tests/rpathlzyx/Makefile.am $(srcdir)/tests/rpathlzyx/configure.ac $(srcdir)/tests/rpathlzyx/aclocal.m4
cd $(srcdir)/tests/rpathlzyx && automake Makefile
$(srcdir)/tests/rpathlzyx/aclocal.m4: $(srcdir)/tests/rpathlzyx/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
cd $(srcdir)/tests/rpathlzyx && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd`
$(srcdir)/tests/rpathlzyx/configure: $(srcdir)/tests/rpathlzyx/configure.ac $(srcdir)/tests/rpathlzyx/aclocal.m4
cd $(srcdir)/tests/rpathlzyx && autoconf
SUBCONFIGURES = $(CONFIGURES_RPATHX) $(CONFIGURES_RPATHY) $(CONFIGURES_RPATHZ) $(CONFIGURES_RPATHLX) $(CONFIGURES_RPATHLY) $(CONFIGURES_RPATHLYX) $(CONFIGURES_RPATHLZ) $(CONFIGURES_RPATHLZYX)
subconfigures: $(SUBCONFIGURES)
# Hidden from automake, but really activated. Works around an automake-1.5 bug.
#distdir: subconfigures

View File

@@ -0,0 +1,746 @@
# Makefile.in generated by automake 1.10 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
subdir = .
DIST_COMMON = README $(am__configure_deps) \
$(srcdir)/../build-aux/config.guess \
$(srcdir)/../build-aux/config.sub \
$(srcdir)/../build-aux/install-sh \
$(srcdir)/../build-aux/ltmain.sh \
$(srcdir)/../build-aux/missing \
$(srcdir)/../build-aux/mkinstalldirs $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(top_srcdir)/configure \
../build-aux/compile ../build-aux/config.guess \
../build-aux/config.rpath ../build-aux/config.sub \
../build-aux/depcomp ../build-aux/elisp-comp \
../build-aux/install-sh ../build-aux/ltmain.sh \
../build-aux/mdate-sh ../build-aux/missing \
../build-aux/mkinstalldirs ../build-aux/texinfo.tex \
../build-aux/ylwrap AUTHORS COPYING ChangeLog INSTALL NEWS \
config.rpath
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../m4/fixautomake.m4 \
$(top_srcdir)/../m4/libtool.m4 \
$(top_srcdir)/../m4/woe32-dll.m4 \
$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(SHELL) $(top_srcdir)/../build-aux/mkinstalldirs
CONFIG_CLEAN_FILES =
depcomp =
am__depfiles_maybe =
SOURCES =
DIST_SOURCES =
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
html-recursive info-recursive install-data-recursive \
install-dvi-recursive install-exec-recursive \
install-html-recursive install-info-recursive \
install-pdf-recursive install-ps-recursive install-recursive \
installcheck-recursive installdirs-recursive pdf-recursive \
ps-recursive uninstall-recursive
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
{ test ! -d $(distdir) \
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
&& rm -fr $(distdir); }; }
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
distuninstallcheck_listfiles = find . -type f -print
distcleancheck_listfiles = find . -type f -print
ACLOCAL = ../build-aux/fixaclocal @ACLOCAL@
AMTAR = @AMTAR@
AR = @AR@
AS = @AS@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
ECHO = @ECHO@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
F77 = @F77@
FFLAGS = @FFLAGS@
GCC = @GCC@
GREP = @GREP@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LD = @LD@
LDFLAGS = @LDFLAGS@
LIBDIRSTEM = @LIBDIRSTEM@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
RANLIB = @RANLIB@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_F77 = @ac_ct_F77@
aclocaldir = @aclocaldir@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
with_gnu_ld = @with_gnu_ld@
AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
ACLOCAL_AMFLAGS = -I m4 -I ../m4
EXTRA_DIST = config.rpath
DISTCLEANFILES = build-aux/config.guess build-aux/config.sub \
build-aux/install-sh build-aux/ltmain.sh build-aux/missing \
build-aux/config.rpath
SUBDIRS = m4 tests
# Subdirectories with separate autoconfiguration.
CONFIGURES_RPATHX = $(srcdir)/tests/rpathx/Makefile.in $(srcdir)/tests/rpathx/aclocal.m4 $(srcdir)/tests/rpathx/configure
CONFIGURES_RPATHY = $(srcdir)/tests/rpathy/Makefile.in $(srcdir)/tests/rpathy/aclocal.m4 $(srcdir)/tests/rpathy/configure
CONFIGURES_RPATHZ = $(srcdir)/tests/rpathz/Makefile.in $(srcdir)/tests/rpathz/aclocal.m4 $(srcdir)/tests/rpathz/configure
CONFIGURES_RPATHLX = $(srcdir)/tests/rpathlx/Makefile.in $(srcdir)/tests/rpathlx/aclocal.m4 $(srcdir)/tests/rpathlx/configure
CONFIGURES_RPATHLY = $(srcdir)/tests/rpathly/Makefile.in $(srcdir)/tests/rpathly/aclocal.m4 $(srcdir)/tests/rpathly/configure
CONFIGURES_RPATHLYX = $(srcdir)/tests/rpathlyx/Makefile.in $(srcdir)/tests/rpathlyx/aclocal.m4 $(srcdir)/tests/rpathlyx/configure
CONFIGURES_RPATHLZ = $(srcdir)/tests/rpathlz/Makefile.in $(srcdir)/tests/rpathlz/aclocal.m4 $(srcdir)/tests/rpathlz/configure
CONFIGURES_RPATHLZYX = $(srcdir)/tests/rpathlzyx/Makefile.in $(srcdir)/tests/rpathlzyx/aclocal.m4 $(srcdir)/tests/rpathlzyx/configure
SUBCONFIGURES = $(CONFIGURES_RPATHX) $(CONFIGURES_RPATHY) $(CONFIGURES_RPATHZ) $(CONFIGURES_RPATHLX) $(CONFIGURES_RPATHLY) $(CONFIGURES_RPATHLYX) $(CONFIGURES_RPATHLZ) $(CONFIGURES_RPATHLZYX)
all: all-recursive
.SUFFIXES:
am--refresh:
@:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
cd $(srcdir) && $(AUTOMAKE) --gnu \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(top_srcdir)/configure: $(am__configure_deps)
cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
distclean-libtool:
-rm -f libtool
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
@failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
$(RECURSIVE_CLEAN_TARGETS):
@failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
rev=''; for subdir in $$list; do \
if test "$$subdir" = "."; then :; else \
rev="$$subdir $$rev"; \
fi; \
done; \
rev="$$rev ."; \
target=`echo $@ | sed s/-recursive//`; \
for subdir in $$rev; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
done
ctags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
done
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -fID $$unique
tags: TAGS
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
include_option=--etags-include; \
empty_fix=.; \
else \
include_option=--include; \
empty_fix=; \
fi; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test ! -f $$subdir/TAGS || \
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$tags $$unique; \
fi
ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$tags $$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& cd $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) $$here
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
$(am__remove_distdir)
test -d $(distdir) || mkdir $(distdir)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -d "$(distdir)/$$subdir" \
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|| exit 1; \
distdir=`$(am__cd) $(distdir) && pwd`; \
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
(cd $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$$top_distdir" \
distdir="$$distdir/$$subdir" \
am__remove_distdir=: \
am__skip_length_check=: \
distdir) \
|| exit 1; \
fi; \
done
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r $(distdir)
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
dist-bzip2: distdir
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
$(am__remove_distdir)
dist-tarZ: distdir
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
$(am__remove_distdir)
dist-shar: distdir
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
$(am__remove_distdir)
dist-zip: distdir
-rm -f $(distdir).zip
zip -rq $(distdir).zip $(distdir)
$(am__remove_distdir)
dist dist-all: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
esac
chmod -R a-w $(distdir); chmod a+w $(distdir)
mkdir $(distdir)/_build
mkdir $(distdir)/_inst
chmod a-w $(distdir)
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
&& cd $(distdir)/_build \
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
$(DISTCHECK_CONFIGURE_FLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
distuninstallcheck \
&& chmod -R a-w "$$dc_install_base" \
&& ({ \
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
} || { rm -rf "$$dc_destdir"; exit 1; }) \
&& rm -rf "$$dc_destdir" \
&& $(MAKE) $(AM_MAKEFLAGS) dist \
&& rm -rf $(DIST_ARCHIVES) \
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
$(am__remove_distdir)
@(echo "$(distdir) archives ready for distribution: "; \
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
distuninstallcheck:
@cd $(distuninstallcheck_dir) \
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|| { echo "ERROR: files left after uninstall:" ; \
if test -n "$(DESTDIR)"; then \
echo " (check DESTDIR support)"; \
fi ; \
$(distuninstallcheck_listfiles) ; \
exit 1; } >&2
distcleancheck: distclean
@if test '$(srcdir)' = . ; then \
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
exit 1 ; \
fi
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left in build directory after distclean:" ; \
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am
check: check-recursive
all-am: Makefile all-local
installdirs: installdirs-recursive
installdirs-am:
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive
clean-am: clean-generic clean-libtool mostlyclean-am
distclean: distclean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -f Makefile
distclean-am: clean-am distclean-generic distclean-libtool \
distclean-local distclean-tags
dvi: dvi-recursive
dvi-am:
html: html-recursive
info: info-recursive
info-am:
install-data-am:
install-dvi: install-dvi-recursive
install-exec-am:
install-html: install-html-recursive
install-info: install-info-recursive
install-man:
install-pdf: install-pdf-recursive
install-ps: install-ps-recursive
installcheck-am:
maintainer-clean: maintainer-clean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
pdf: pdf-recursive
pdf-am:
ps: ps-recursive
ps-am:
uninstall-am:
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
install-strip
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
all all-am all-local am--refresh check check-am clean \
clean-generic clean-libtool ctags ctags-recursive dist \
dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \
distcheck distclean distclean-generic distclean-libtool \
distclean-local distclean-tags distcleancheck distdir \
distuninstallcheck dvi dvi-am html html-am info info-am \
install install-am install-data install-data-am install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am install-man \
install-pdf install-pdf-am install-ps install-ps-am \
install-strip installcheck installcheck-am installdirs \
installdirs-am maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
ps ps-am tags tags-recursive uninstall uninstall-am
# We want to maintain only one copy of config.rpath. The one in this directory
# is the source.
all-local: $(srcdir)/../build-aux/config.rpath
$(srcdir)/../build-aux/config.rpath: $(srcdir)/config.rpath
cp $(srcdir)/config.rpath $(srcdir)/../build-aux/config.rpath
# The AC_CONFIG_AUX_DIR argument in the tests/rpath*/configure.ac files is
# interpreted in two different contexts:
# 1. at "make distrib" time, when we call automake, relative to
# SRCDIR/tests/rpath*/,
# 2. at "make check" time, when the directory is copied and configured,
# relative to BUILDDIR/tests/tstdir/rp-*/.
# We choose this argument to be '../../../build-aux', for case 1, and therefore
# we need to make a local copy of the build-aux directory, for case 2.
all-local: build-aux/config.guess build-aux/config.sub build-aux/install-sh build-aux/ltmain.sh build-aux/missing build-aux/config.rpath
build-aux-dir:
test -d build-aux || mkdir build-aux
touch build-aux-dir
build-aux/config.guess: $(srcdir)/../build-aux/config.guess build-aux-dir
cp $(srcdir)/../build-aux/config.guess build-aux/config.guess
build-aux/config.sub: $(srcdir)/../build-aux/config.sub build-aux-dir
cp $(srcdir)/../build-aux/config.sub build-aux/config.sub
build-aux/install-sh: $(srcdir)/../build-aux/install-sh build-aux-dir
cp $(srcdir)/../build-aux/install-sh build-aux/install-sh
build-aux/ltmain.sh: $(srcdir)/../build-aux/ltmain.sh build-aux-dir
cp $(srcdir)/../build-aux/ltmain.sh build-aux/ltmain.sh
build-aux/missing: $(srcdir)/../build-aux/missing build-aux-dir
cp $(srcdir)/../build-aux/missing build-aux/missing
build-aux/config.rpath: $(srcdir)/config.rpath build-aux-dir
cp $(srcdir)/config.rpath build-aux/config.rpath
distclean-local:
rm -rf build-aux build-aux-dir
$(srcdir)/tests/rpathx/Makefile.in: $(srcdir)/tests/rpathx/Makefile.am $(srcdir)/tests/rpathx/configure.ac $(srcdir)/tests/rpathx/aclocal.m4
cd $(srcdir)/tests/rpathx && automake Makefile
$(srcdir)/tests/rpathx/aclocal.m4: $(srcdir)/tests/rpathx/configure.ac $(srcdir)/../m4/libtool.m4
cd $(srcdir)/tests/rpathx && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd` -I `cd ../../../m4 && pwd`
$(srcdir)/tests/rpathx/configure: $(srcdir)/tests/rpathx/configure.ac $(srcdir)/tests/rpathx/aclocal.m4
cd $(srcdir)/tests/rpathx && autoconf
$(srcdir)/tests/rpathy/Makefile.in: $(srcdir)/tests/rpathy/Makefile.am $(srcdir)/tests/rpathy/configure.ac $(srcdir)/tests/rpathy/aclocal.m4
cd $(srcdir)/tests/rpathy && automake Makefile
$(srcdir)/tests/rpathy/aclocal.m4: $(srcdir)/tests/rpathy/configure.ac $(srcdir)/../m4/libtool.m4 $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
cd $(srcdir)/tests/rpathy && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd` -I `cd ../../../m4 && pwd`
$(srcdir)/tests/rpathy/configure: $(srcdir)/tests/rpathy/configure.ac $(srcdir)/tests/rpathy/aclocal.m4
cd $(srcdir)/tests/rpathy && autoconf
$(srcdir)/tests/rpathz/Makefile.in: $(srcdir)/tests/rpathz/Makefile.am $(srcdir)/tests/rpathz/configure.ac $(srcdir)/tests/rpathz/aclocal.m4
cd $(srcdir)/tests/rpathz && automake Makefile
$(srcdir)/tests/rpathz/aclocal.m4: $(srcdir)/tests/rpathz/configure.ac $(srcdir)/../m4/libtool.m4 $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
cd $(srcdir)/tests/rpathz && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd` -I `cd ../../../m4 && pwd`
$(srcdir)/tests/rpathz/configure: $(srcdir)/tests/rpathz/configure.ac $(srcdir)/tests/rpathz/aclocal.m4
cd $(srcdir)/tests/rpathz && autoconf
$(srcdir)/tests/rpathlx/Makefile.in: $(srcdir)/tests/rpathlx/Makefile.am $(srcdir)/tests/rpathlx/configure.ac $(srcdir)/tests/rpathlx/aclocal.m4
cd $(srcdir)/tests/rpathlx && automake Makefile
$(srcdir)/tests/rpathlx/aclocal.m4: $(srcdir)/tests/rpathlx/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
cd $(srcdir)/tests/rpathlx && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd`
$(srcdir)/tests/rpathlx/configure: $(srcdir)/tests/rpathlx/configure.ac $(srcdir)/tests/rpathlx/aclocal.m4
cd $(srcdir)/tests/rpathlx && autoconf
$(srcdir)/tests/rpathly/Makefile.in: $(srcdir)/tests/rpathly/Makefile.am $(srcdir)/tests/rpathly/configure.ac $(srcdir)/tests/rpathly/aclocal.m4
cd $(srcdir)/tests/rpathly && automake Makefile
$(srcdir)/tests/rpathly/aclocal.m4: $(srcdir)/tests/rpathly/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
cd $(srcdir)/tests/rpathly && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd`
$(srcdir)/tests/rpathly/configure: $(srcdir)/tests/rpathly/configure.ac $(srcdir)/tests/rpathly/aclocal.m4
cd $(srcdir)/tests/rpathly && autoconf
$(srcdir)/tests/rpathlyx/Makefile.in: $(srcdir)/tests/rpathlyx/Makefile.am $(srcdir)/tests/rpathlyx/configure.ac $(srcdir)/tests/rpathlyx/aclocal.m4
cd $(srcdir)/tests/rpathlyx && automake Makefile
$(srcdir)/tests/rpathlyx/aclocal.m4: $(srcdir)/tests/rpathlyx/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
cd $(srcdir)/tests/rpathlyx && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd`
$(srcdir)/tests/rpathlyx/configure: $(srcdir)/tests/rpathlyx/configure.ac $(srcdir)/tests/rpathlyx/aclocal.m4
cd $(srcdir)/tests/rpathlyx && autoconf
$(srcdir)/tests/rpathlz/Makefile.in: $(srcdir)/tests/rpathlz/Makefile.am $(srcdir)/tests/rpathlz/configure.ac $(srcdir)/tests/rpathlz/aclocal.m4
cd $(srcdir)/tests/rpathlz && automake Makefile
$(srcdir)/tests/rpathlz/aclocal.m4: $(srcdir)/tests/rpathlz/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
cd $(srcdir)/tests/rpathlz && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd`
$(srcdir)/tests/rpathlz/configure: $(srcdir)/tests/rpathlz/configure.ac $(srcdir)/tests/rpathlz/aclocal.m4
cd $(srcdir)/tests/rpathlz && autoconf
$(srcdir)/tests/rpathlzyx/Makefile.in: $(srcdir)/tests/rpathlzyx/Makefile.am $(srcdir)/tests/rpathlzyx/configure.ac $(srcdir)/tests/rpathlzyx/aclocal.m4
cd $(srcdir)/tests/rpathlzyx && automake Makefile
$(srcdir)/tests/rpathlzyx/aclocal.m4: $(srcdir)/tests/rpathlzyx/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
cd $(srcdir)/tests/rpathlzyx && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd`
$(srcdir)/tests/rpathlzyx/configure: $(srcdir)/tests/rpathlzyx/configure.ac $(srcdir)/tests/rpathlzyx/aclocal.m4
cd $(srcdir)/tests/rpathlzyx && autoconf
subconfigures: $(SUBCONFIGURES)
# Hidden from automake, but really activated. Works around an automake-1.5 bug.
#distdir: subconfigures
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

View File

@@ -0,0 +1 @@
This subpackage defines autoconf macros for linking with shared libraries.

862
source/autoconf-lib-link/aclocal.m4 vendored Normal file
View File

@@ -0,0 +1,862 @@
# generated automatically by aclocal 1.10 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005, 2006 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_AUTOMAKE_VERSION(VERSION)
# ----------------------------
# Automake X.Y traces this macro to ensure aclocal.m4 has been
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
[am__api_version='1.10'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
m4_if([$1], [1.10], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
# _AM_AUTOCONF_VERSION(VERSION)
# -----------------------------
# aclocal traces this macro to find the Autoconf version.
# This is a private macro too. Using m4_define simplifies
# the logic in aclocal, which can simply ignore this definition.
m4_define([_AM_AUTOCONF_VERSION], [])
# AM_SET_CURRENT_AUTOMAKE_VERSION
# -------------------------------
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
[AM_AUTOMAKE_VERSION([1.10])dnl
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
#
# Of course, Automake must honor this variable whenever it calls a
# tool from the auxiliary directory. The problem is that $srcdir (and
# therefore $ac_aux_dir as well) can be either absolute or relative,
# depending on how configure is run. This is pretty annoying, since
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
# source directory, any form will work fine, but in subdirectories a
# relative path needs to be adjusted first.
#
# $ac_aux_dir/missing
# fails when called from a subdirectory if $ac_aux_dir is relative
# $top_srcdir/$ac_aux_dir/missing
# fails if $ac_aux_dir is absolute,
# fails when called from a subdirectory in a VPATH build with
# a relative $ac_aux_dir
#
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
# are both prefixed by $srcdir. In an in-source build this is usually
# harmless because $srcdir is `.', but things will broke when you
# start a VPATH build or use an absolute $srcdir.
#
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
# and then we would define $MISSING as
# MISSING="\${SHELL} $am_aux_dir/missing"
# This will work as long as MISSING is not called from configure, because
# unfortunately $(top_srcdir) has no meaning in configure.
# However there are other variables, like CC, which are often used in
# configure, and could therefore not use this "fixed" $ac_aux_dir.
#
# Another solution, used here, is to always expand $ac_aux_dir to an
# absolute PATH. The drawback is that using absolute paths prevent a
# configured tree to be moved without reconfiguration.
AC_DEFUN([AM_AUX_DIR_EXPAND],
[dnl Rely on autoconf to set up CDPATH properly.
AC_PREREQ([2.50])dnl
# expand $ac_aux_dir to an absolute path
am_aux_dir=`cd $ac_aux_dir && pwd`
])
# AM_CONDITIONAL -*- Autoconf -*-
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 8
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
# -------------------------------------
# Define a conditional.
AC_DEFUN([AM_CONDITIONAL],
[AC_PREREQ(2.52)dnl
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
AC_SUBST([$1_TRUE])dnl
AC_SUBST([$1_FALSE])dnl
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
if $2; then
$1_TRUE=
$1_FALSE='#'
else
$1_TRUE='#'
$1_FALSE=
fi
AC_CONFIG_COMMANDS_PRE(
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
AC_MSG_ERROR([[conditional "$1" was never defined.
Usually this means the macro was only invoked conditionally.]])
fi])])
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 9
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
# written in clear, in which case automake, when reading aclocal.m4,
# will think it sees a *use*, and therefore will trigger all it's
# C support machinery. Also note that it means that autoscan, seeing
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
# _AM_DEPENDENCIES(NAME)
# ----------------------
# See how the compiler implements dependency checking.
# NAME is "CC", "CXX", "GCJ", or "OBJC".
# We try a few techniques and use that to set a single cache variable.
#
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
# dependency, and given that the user is not expected to run this macro,
# just rely on AC_PROG_CC.
AC_DEFUN([_AM_DEPENDENCIES],
[AC_REQUIRE([AM_SET_DEPDIR])dnl
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
AC_REQUIRE([AM_DEP_TRACK])dnl
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
[$1], CXX, [depcc="$CXX" am_compiler_list=],
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
[$1], UPC, [depcc="$UPC" am_compiler_list=],
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
[depcc="$$1" am_compiler_list=])
AC_CACHE_CHECK([dependency style of $depcc],
[am_cv_$1_dependencies_compiler_type],
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# We make a subdir and do the tests there. Otherwise we can end up
# making bogus files that we don't know about and never remove. For
# instance it was reported that on HP-UX the gcc test will end up
# making a dummy file named `D' -- because `-MD' means `put the output
# in D'.
mkdir conftest.dir
# Copy depcomp to subdir because otherwise we won't find it if we're
# using a relative directory.
cp "$am_depcomp" conftest.dir
cd conftest.dir
# We will build objects and dependencies in a subdirectory because
# it helps to detect inapplicable dependency modes. For instance
# both Tru64's cc and ICC support -MD to output dependencies as a
# side effect of compilation, but ICC will put the dependencies in
# the current directory while Tru64 will put them in the object
# directory.
mkdir sub
am_cv_$1_dependencies_compiler_type=none
if test "$am_compiler_list" = ""; then
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
fi
for depmode in $am_compiler_list; do
# Setup a source with many dependencies, because some compilers
# like to wrap large dependency lists on column 80 (with \), and
# we should not choose a depcomp mode which is confused by this.
#
# We need to recreate these files for each test, as the compiler may
# overwrite some of them when testing with obscure command lines.
# This happens at least with the AIX C compiler.
: > sub/conftest.c
for i in 1 2 3 4 5 6; do
echo '#include "conftst'$i'.h"' >> sub/conftest.c
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
# Solaris 8's {/usr,}/bin/sh.
touch sub/conftst$i.h
done
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
case $depmode in
nosideeffect)
# after this tag, mechanisms are not by side-effect, so they'll
# only be used when explicitly requested
if test "x$enable_dependency_tracking" = xyes; then
continue
else
break
fi
;;
none) break ;;
esac
# We check with `-c' and `-o' for the sake of the "dashmstdout"
# mode. It turns out that the SunPro C++ compiler does not properly
# handle `-M -o', and we need to detect this.
if depmode=$depmode \
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
>/dev/null 2>conftest.err &&
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
# icc doesn't choke on unknown options, it will just issue warnings
# or remarks (even with -Werror). So we grep stderr for any message
# that says an option was ignored or not supported.
# When given -MP, icc 7.0 and 7.1 complain thusly:
# icc: Command line warning: ignoring option '-M'; no argument required
# The diagnosis changed in icc 8.0:
# icc: Command line remark: option '-MP' not supported
if (grep 'ignoring option' conftest.err ||
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
am_cv_$1_dependencies_compiler_type=$depmode
break
fi
fi
done
cd ..
rm -rf conftest.dir
else
am_cv_$1_dependencies_compiler_type=none
fi
])
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
AM_CONDITIONAL([am__fastdep$1], [
test "x$enable_dependency_tracking" != xno \
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
])
# AM_SET_DEPDIR
# -------------
# Choose a directory name for dependency files.
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
AC_DEFUN([AM_SET_DEPDIR],
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
])
# AM_DEP_TRACK
# ------------
AC_DEFUN([AM_DEP_TRACK],
[AC_ARG_ENABLE(dependency-tracking,
[ --disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors])
if test "x$enable_dependency_tracking" != xno; then
am_depcomp="$ac_aux_dir/depcomp"
AMDEPBACKSLASH='\'
fi
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
AC_SUBST([AMDEPBACKSLASH])dnl
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
])
# Generate code to set up dependency tracking. -*- Autoconf -*-
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
#serial 3
# _AM_OUTPUT_DEPENDENCY_COMMANDS
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[for mf in $CONFIG_FILES; do
# Strip MF so we end up with the name of the file.
mf=`echo "$mf" | sed -e 's/:.*$//'`
# Check whether this is an Automake generated Makefile or not.
# We used to match only the files named `Makefile.in', but
# some people rename them; so instead we look at the file content.
# Grep'ing the first line is not enough: some people post-process
# each Makefile.in and add a new line on top of each file to say so.
# Grep'ing the whole file is not good either: AIX grep has a line
# limit of 2048, but all sed's we know have understand at least 4000.
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
dirpart=`AS_DIRNAME("$mf")`
else
continue
fi
# Extract the definition of DEPDIR, am__include, and am__quote
# from the Makefile without running `make'.
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
test -z "$DEPDIR" && continue
am__include=`sed -n 's/^am__include = //p' < "$mf"`
test -z "am__include" && continue
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
# When using ansi2knr, U may be empty or an underscore; expand it
U=`sed -n 's/^U = //p' < "$mf"`
# Find all dependency output files, they are included files with
# $(DEPDIR) in their names. We invoke sed twice because it is the
# simplest approach to changing $(DEPDIR) to its actual value in the
# expansion.
for file in `sed -n "
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
fdir=`AS_DIRNAME(["$file"])`
AS_MKDIR_P([$dirpart/$fdir])
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
done
done
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
# AM_OUTPUT_DEPENDENCY_COMMANDS
# -----------------------------
# This macro should only be invoked once -- use via AC_REQUIRE.
#
# This code is only required when automatic dependency tracking
# is enabled. FIXME. This creates each `.P' file that we will
# need in order to bootstrap the dependency handling code.
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
[AC_CONFIG_COMMANDS([depfiles],
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
])
# Do all the work for Automake. -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005, 2006 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 12
# This macro actually does too much. Some checks are only needed if
# your package does certain things. But this isn't really a big deal.
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
# AM_INIT_AUTOMAKE([OPTIONS])
# -----------------------------------------------
# The call with PACKAGE and VERSION arguments is the old style
# call (pre autoconf-2.50), which is being phased out. PACKAGE
# and VERSION should now be passed to AC_INIT and removed from
# the call to AM_INIT_AUTOMAKE.
# We support both call styles for the transition. After
# the next Automake release, Autoconf can make the AC_INIT
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
[AC_PREREQ([2.60])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
AC_REQUIRE([AC_PROG_INSTALL])dnl
if test "`cd $srcdir && pwd`" != "`pwd`"; then
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
# is not polluted with repeated "-I."
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
# test to see if srcdir already configured
if test -f $srcdir/config.status; then
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
fi
fi
# test whether we have cygpath
if test -z "$CYGPATH_W"; then
if (cygpath --version) >/dev/null 2>/dev/null; then
CYGPATH_W='cygpath -w'
else
CYGPATH_W=echo
fi
fi
AC_SUBST([CYGPATH_W])
# Define the identity of the package.
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
[_AM_SET_OPTIONS([$1])dnl
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
_AM_IF_OPTION([no-define],,
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
# Some tools Automake needs.
AC_REQUIRE([AM_SANITY_CHECK])dnl
AC_REQUIRE([AC_ARG_PROGRAM])dnl
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
AM_MISSING_PROG(AUTOCONF, autoconf)
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
AM_MISSING_PROG(AUTOHEADER, autoheader)
AM_MISSING_PROG(MAKEINFO, makeinfo)
AM_PROG_INSTALL_SH
AM_PROG_INSTALL_STRIP
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
AC_REQUIRE([AC_PROG_AWK])dnl
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
[_AM_PROG_TAR([v7])])])
_AM_IF_OPTION([no-dependencies],,
[AC_PROVIDE_IFELSE([AC_PROG_CC],
[_AM_DEPENDENCIES(CC)],
[define([AC_PROG_CC],
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
AC_PROVIDE_IFELSE([AC_PROG_CXX],
[_AM_DEPENDENCIES(CXX)],
[define([AC_PROG_CXX],
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES(OBJC)],
[define([AC_PROG_OBJC],
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
])
])
# When config.status generates a header, we must update the stamp-h file.
# This file resides in the same directory as the config header
# that is generated. The stamp files are numbered to have different names.
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
# loop where config.status creates the headers, so we can generate
# our stamp files there.
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
[# Compute $1's index in $config_headers.
_am_stamp_count=1
for _am_header in $config_headers :; do
case $_am_header in
$1 | $1:* )
break ;;
* )
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
esac
done
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_PROG_INSTALL_SH
# ------------------
# Define $install_sh.
AC_DEFUN([AM_PROG_INSTALL_SH],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
AC_SUBST(install_sh)])
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 2
# Check whether the underlying file-system supports filenames
# with a leading dot. For instance MS-DOS doesn't.
AC_DEFUN([AM_SET_LEADING_DOT],
[rm -rf .tst 2>/dev/null
mkdir .tst 2>/dev/null
if test -d .tst; then
am__leading_dot=.
else
am__leading_dot=_
fi
rmdir .tst 2>/dev/null
AC_SUBST([am__leading_dot])])
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 3
# AM_MAKE_INCLUDE()
# -----------------
# Check to see how make treats includes.
AC_DEFUN([AM_MAKE_INCLUDE],
[am_make=${MAKE-make}
cat > confinc << 'END'
am__doit:
@echo done
.PHONY: am__doit
END
# If we don't find an include directive, just comment out the code.
AC_MSG_CHECKING([for style of include used by $am_make])
am__include="#"
am__quote=
_am_result=none
# First try GNU make style include.
echo "include confinc" > confmf
# We grep out `Entering directory' and `Leaving directory'
# messages which can occur if `w' ends up in MAKEFLAGS.
# In particular we don't look at `^make:' because GNU make might
# be invoked under some other name (usually "gmake"), in which
# case it prints its new name instead of `make'.
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
am__include=include
am__quote=
_am_result=GNU
fi
# Now try BSD make style include.
if test "$am__include" = "#"; then
echo '.include "confinc"' > confmf
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
am__include=.include
am__quote="\""
_am_result=BSD
fi
fi
AC_SUBST([am__include])
AC_SUBST([am__quote])
AC_MSG_RESULT([$_am_result])
rm -f confinc confmf
])
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 5
# AM_MISSING_PROG(NAME, PROGRAM)
# ------------------------------
AC_DEFUN([AM_MISSING_PROG],
[AC_REQUIRE([AM_MISSING_HAS_RUN])
$1=${$1-"${am_missing_run}$2"}
AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
# Define MISSING if not defined so far and test if it supports --run.
# If it does, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
# Use eval to expand $SHELL
if eval "$MISSING --run true"; then
am_missing_run="$MISSING --run "
else
am_missing_run=
AC_MSG_WARN([`missing' script is too old or missing])
fi
])
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_PROG_MKDIR_P
# ---------------
# Check for `mkdir -p'.
AC_DEFUN([AM_PROG_MKDIR_P],
[AC_PREREQ([2.60])dnl
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
dnl while keeping a definition of mkdir_p for backward compatibility.
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
dnl Makefile.ins that do not define MKDIR_P, so we do our own
dnl adjustment using top_builddir (which is defined more often than
dnl MKDIR_P).
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
case $mkdir_p in
[[\\/$]]* | ?:[[\\/]]*) ;;
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
esac
])
# Helper functions for option handling. -*- Autoconf -*-
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 3
# _AM_MANGLE_OPTION(NAME)
# -----------------------
AC_DEFUN([_AM_MANGLE_OPTION],
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
# _AM_SET_OPTION(NAME)
# ------------------------------
# Set option NAME. Presently that only means defining a flag for this option.
AC_DEFUN([_AM_SET_OPTION],
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
# _AM_SET_OPTIONS(OPTIONS)
# ----------------------------------
# OPTIONS is a space-separated list of Automake options.
AC_DEFUN([_AM_SET_OPTIONS],
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
# -------------------------------------------
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
# Check to make sure that the build environment is sane. -*- Autoconf -*-
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 4
# AM_SANITY_CHECK
# ---------------
AC_DEFUN([AM_SANITY_CHECK],
[AC_MSG_CHECKING([whether build environment is sane])
# Just in case
sleep 1
echo timestamp > conftest.file
# Do `set' in a subshell so we don't clobber the current shell's
# arguments. Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
if test "$[*]" = "X"; then
# -L didn't work.
set X `ls -t $srcdir/configure conftest.file`
fi
rm -f conftest.file
if test "$[*]" != "X $srcdir/configure conftest.file" \
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
# If neither matched, then we have a broken ls. This can happen
# if, for instance, CONFIG_SHELL is bash and it inherits a
# broken ls alias from the environment. This has actually
# happened. Such a system could not be considered "sane".
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
alias in your environment])
fi
test "$[2]" = conftest.file
)
then
# Ok.
:
else
AC_MSG_ERROR([newly created file is older than distributed files!
Check your system clock])
fi
AC_MSG_RESULT(yes)])
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_PROG_INSTALL_STRIP
# ---------------------
# One issue with vendor `install' (even GNU) is that you can't
# specify the program used to strip binaries. This is especially
# annoying in cross-compiling environments, where the build's strip
# is unlikely to handle the host's binaries.
# Fortunately install-sh will honor a STRIPPROG variable, so we
# always use install-sh in `make install-strip', and initialize
# STRIPPROG with the value of the STRIP variable (set by the user).
AC_DEFUN([AM_PROG_INSTALL_STRIP],
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
# Installed binaries are usually stripped using `strip' when the user
# run `make install-strip'. However `strip' might not be the right
# tool to use in cross-compilation environments, therefore Automake
# will honor the `STRIP' environment variable to overrule this program.
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
if test "$cross_compiling" != no; then
AC_CHECK_TOOL([STRIP], [strip], :)
fi
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
# Copyright (C) 2006 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# _AM_SUBST_NOTMAKE(VARIABLE)
# ---------------------------
# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
# This macro is traced by Automake.
AC_DEFUN([_AM_SUBST_NOTMAKE])
# Check how to create a tarball. -*- Autoconf -*-
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 2
# _AM_PROG_TAR(FORMAT)
# --------------------
# Check how to create a tarball in format FORMAT.
# FORMAT should be one of `v7', `ustar', or `pax'.
#
# Substitute a variable $(am__tar) that is a command
# writing to stdout a FORMAT-tarball containing the directory
# $tardir.
# tardir=directory && $(am__tar) > result.tar
#
# Substitute a variable $(am__untar) that extract such
# a tarball read from stdin.
# $(am__untar) < result.tar
AC_DEFUN([_AM_PROG_TAR],
[# Always define AMTAR for backward compatibility.
AM_MISSING_PROG([AMTAR], [tar])
m4_if([$1], [v7],
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
[m4_case([$1], [ustar],, [pax],,
[m4_fatal([Unknown tar format])])
AC_MSG_CHECKING([how to create a $1 tar archive])
# Loop over all known methods to create a tar archive until one works.
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
# Do not fold the above two line into one, because Tru64 sh and
# Solaris sh will not grok spaces in the rhs of `-'.
for _am_tool in $_am_tools
do
case $_am_tool in
gnutar)
for _am_tar in tar gnutar gtar;
do
AM_RUN_LOG([$_am_tar --version]) && break
done
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
am__untar="$_am_tar -xf -"
;;
plaintar)
# Must skip GNU tar: if it does not support --format= it doesn't create
# ustar tarball either.
(tar --version) >/dev/null 2>&1 && continue
am__tar='tar chf - "$$tardir"'
am__tar_='tar chf - "$tardir"'
am__untar='tar xf -'
;;
pax)
am__tar='pax -L -x $1 -w "$$tardir"'
am__tar_='pax -L -x $1 -w "$tardir"'
am__untar='pax -r'
;;
cpio)
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
am__untar='cpio -i -H $1 -d'
;;
none)
am__tar=false
am__tar_=false
am__untar=false
;;
esac
# If the value was cached, stop now. We just wanted to have am__tar
# and am__untar set.
test -n "${am_cv_prog_tar_$1}" && break
# tar/untar a dummy directory, and stop if the command works
rm -rf conftest.dir
mkdir conftest.dir
echo GrepMe > conftest.dir/file
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
rm -rf conftest.dir
if test -s conftest.tar; then
AM_RUN_LOG([$am__untar <conftest.tar])
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
fi
done
rm -rf conftest.dir
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
AC_SUBST([am__tar])
AC_SUBST([am__untar])
]) # _AM_PROG_TAR
m4_include([../m4/fixautomake.m4])
m4_include([../m4/libtool.m4])
m4_include([../m4/woe32-dll.m4])
m4_include([m4/lib-prefix.m4])

View File

@@ -0,0 +1,666 @@
#! /bin/sh
# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.
#
# Copyright 1996-2007 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# The first argument passed to this file is the canonical host specification,
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
# or
# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld
# should be set by the caller.
#
# The set of defined variables is at the end of this script.
# Known limitations:
# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
# than 256 bytes, otherwise the compiler driver will dump core. The only
# known workaround is to choose shorter directory names for the build
# directory and/or the installation directory.
# All known linkers require a `.a' archive for static linking (except MSVC,
# which needs '.lib').
libext=a
shrext=.so
host="$1"
host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
# Code taken from libtool.m4's _LT_CC_BASENAME.
for cc_temp in $CC""; do
case $cc_temp in
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
\-*) ;;
*) break;;
esac
done
cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC.
wl=
if test "$GCC" = yes; then
wl='-Wl,'
else
case "$host_os" in
aix*)
wl='-Wl,'
;;
darwin*)
case $cc_basename in
xlc*)
wl='-Wl,'
;;
esac
;;
mingw* | cygwin* | pw32* | os2*)
;;
hpux9* | hpux10* | hpux11*)
wl='-Wl,'
;;
irix5* | irix6* | nonstopux*)
wl='-Wl,'
;;
newsos6)
;;
linux* | k*bsd*-gnu)
case $cc_basename in
icc* | ecc*)
wl='-Wl,'
;;
pgcc | pgf77 | pgf90)
wl='-Wl,'
;;
ccc*)
wl='-Wl,'
;;
como)
wl='-lopt='
;;
*)
case `$CC -V 2>&1 | sed 5q` in
*Sun\ C*)
wl='-Wl,'
;;
esac
;;
esac
;;
osf3* | osf4* | osf5*)
wl='-Wl,'
;;
rdos*)
;;
solaris*)
wl='-Wl,'
;;
sunos4*)
wl='-Qoption ld '
;;
sysv4 | sysv4.2uw2* | sysv4.3*)
wl='-Wl,'
;;
sysv4*MP*)
;;
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
wl='-Wl,'
;;
unicos*)
wl='-Wl,'
;;
uts4*)
;;
esac
fi
# Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS.
hardcode_libdir_flag_spec=
hardcode_libdir_separator=
hardcode_direct=no
hardcode_minus_L=no
case "$host_os" in
cygwin* | mingw* | pw32*)
# FIXME: the MSVC++ port hasn't been tested in a loooong time
# When not using gcc, we currently assume that we are using
# Microsoft Visual C++.
if test "$GCC" != yes; then
with_gnu_ld=no
fi
;;
interix*)
# we just hope/assume this is gcc and not c89 (= MSVC++)
with_gnu_ld=yes
;;
openbsd*)
with_gnu_ld=no
;;
esac
ld_shlibs=yes
if test "$with_gnu_ld" = yes; then
# Set some defaults for GNU ld with shared library support. These
# are reset later if shared libraries are not supported. Putting them
# here allows them to be overridden if necessary.
# Unlike libtool, we use -rpath here, not --rpath, since the documented
# option of GNU ld is called -rpath, not --rpath.
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
case "$host_os" in
aix3* | aix4* | aix5*)
# On AIX/PPC, the GNU linker is very broken
if test "$host_cpu" != ia64; then
ld_shlibs=no
fi
;;
amigaos*)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
# that the semantics of dynamic libraries on AmigaOS, at least up
# to version 4, is to share data among multiple programs linked
# with the same dynamic library. Since this doesn't match the
# behavior of shared libraries on other platforms, we cannot use
# them.
ld_shlibs=no
;;
beos*)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
:
else
ld_shlibs=no
fi
;;
cygwin* | mingw* | pw32*)
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
hardcode_libdir_flag_spec='-L$libdir'
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
:
else
ld_shlibs=no
fi
;;
interix[3-9]*)
hardcode_direct=no
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
gnu* | linux* | k*bsd*-gnu)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
:
else
ld_shlibs=no
fi
;;
netbsd*)
;;
solaris*)
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
ld_shlibs=no
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
:
else
ld_shlibs=no
fi
;;
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
case `$LD -v 2>&1` in
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
ld_shlibs=no
;;
*)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
else
ld_shlibs=no
fi
;;
esac
;;
sunos4*)
hardcode_direct=yes
;;
*)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
:
else
ld_shlibs=no
fi
;;
esac
if test "$ld_shlibs" = no; then
hardcode_libdir_flag_spec=
fi
else
case "$host_os" in
aix3*)
# Note: this linker hardcodes the directories in LIBPATH if there
# are no directories specified by -L.
hardcode_minus_L=yes
if test "$GCC" = yes; then
# Neither direct hardcoding nor static linking is supported with a
# broken collect2.
hardcode_direct=unsupported
fi
;;
aix4* | aix5*)
if test "$host_cpu" = ia64; then
# On IA64, the linker does run time linking by default, so we don't
# have to do anything special.
aix_use_runtimelinking=no
else
aix_use_runtimelinking=no
# Test if we are trying to use run time linking or normal
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
# need to do runtime linking.
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
for ld_flag in $LDFLAGS; do
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
aix_use_runtimelinking=yes
break
fi
done
;;
esac
fi
hardcode_direct=yes
hardcode_libdir_separator=':'
if test "$GCC" = yes; then
case $host_os in aix4.[012]|aix4.[012].*)
collect2name=`${CC} -print-prog-name=collect2`
if test -f "$collect2name" && \
strings "$collect2name" | grep resolve_lib_name >/dev/null
then
# We have reworked collect2
:
else
# We have old collect2
hardcode_direct=unsupported
hardcode_minus_L=yes
hardcode_libdir_flag_spec='-L$libdir'
hardcode_libdir_separator=
fi
;;
esac
fi
# Begin _LT_AC_SYS_LIBPATH_AIX.
echo 'int main () { return 0; }' > conftest.c
${CC} ${LDFLAGS} conftest.c -o conftest
aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
}'`
if test -z "$aix_libpath"; then
aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
}'`
fi
if test -z "$aix_libpath"; then
aix_libpath="/usr/lib:/lib"
fi
rm -f conftest.c conftest
# End _LT_AC_SYS_LIBPATH_AIX.
if test "$aix_use_runtimelinking" = yes; then
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
else
if test "$host_cpu" = ia64; then
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
else
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
fi
fi
;;
amigaos*)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
# see comment about different semantics on the GNU ld section
ld_shlibs=no
;;
bsdi[45]*)
;;
cygwin* | mingw* | pw32*)
# When not using gcc, we currently assume that we are using
# Microsoft Visual C++.
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
hardcode_libdir_flag_spec=' '
libext=lib
;;
darwin* | rhapsody*)
hardcode_direct=no
if test "$GCC" = yes ; then
:
else
case $cc_basename in
xlc*)
;;
*)
ld_shlibs=no
;;
esac
fi
;;
dgux*)
hardcode_libdir_flag_spec='-L$libdir'
;;
freebsd1*)
ld_shlibs=no
;;
freebsd2.2*)
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
;;
freebsd2*)
hardcode_direct=yes
hardcode_minus_L=yes
;;
freebsd* | dragonfly*)
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
;;
hpux9*)
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
hardcode_libdir_separator=:
hardcode_direct=yes
# hardcode_minus_L: Not really in the search PATH,
# but as the default location of the library.
hardcode_minus_L=yes
;;
hpux10*)
if test "$with_gnu_ld" = no; then
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
hardcode_libdir_separator=:
hardcode_direct=yes
# hardcode_minus_L: Not really in the search PATH,
# but as the default location of the library.
hardcode_minus_L=yes
fi
;;
hpux11*)
if test "$with_gnu_ld" = no; then
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
hardcode_libdir_separator=:
case $host_cpu in
hppa*64*|ia64*)
hardcode_direct=no
;;
*)
hardcode_direct=yes
# hardcode_minus_L: Not really in the search PATH,
# but as the default location of the library.
hardcode_minus_L=yes
;;
esac
fi
;;
irix5* | irix6* | nonstopux*)
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator=:
;;
netbsd*)
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
;;
newsos6)
hardcode_direct=yes
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator=:
;;
openbsd*)
if test -f /usr/libexec/ld.so; then
hardcode_direct=yes
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
else
case "$host_os" in
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
hardcode_libdir_flag_spec='-R$libdir'
;;
*)
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
esac
fi
else
ld_shlibs=no
fi
;;
os2*)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
;;
osf3*)
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator=:
;;
osf4* | osf5*)
if test "$GCC" = yes; then
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
else
# Both cc and cxx compiler support -rpath directly
hardcode_libdir_flag_spec='-rpath $libdir'
fi
hardcode_libdir_separator=:
;;
solaris*)
hardcode_libdir_flag_spec='-R$libdir'
;;
sunos4*)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_direct=yes
hardcode_minus_L=yes
;;
sysv4)
case $host_vendor in
sni)
hardcode_direct=yes # is this really true???
;;
siemens)
hardcode_direct=no
;;
motorola)
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
;;
esac
;;
sysv4.3*)
;;
sysv4*MP*)
if test -d /usr/nec; then
ld_shlibs=yes
fi
;;
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
;;
sysv5* | sco3.2v5* | sco5v6*)
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
hardcode_libdir_separator=':'
;;
uts4*)
hardcode_libdir_flag_spec='-L$libdir'
;;
*)
ld_shlibs=no
;;
esac
fi
# Check dynamic linker characteristics
# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER.
# Unlike libtool.m4, here we don't care about _all_ names of the library, but
# only about the one the linker finds when passed -lNAME. This is the last
# element of library_names_spec in libtool.m4, or possibly two of them if the
# linker has special search rules.
library_names_spec= # the last element of library_names_spec in libtool.m4
libname_spec='lib$name'
case "$host_os" in
aix3*)
library_names_spec='$libname.a'
;;
aix4* | aix5*)
library_names_spec='$libname$shrext'
;;
amigaos*)
library_names_spec='$libname.a'
;;
beos*)
library_names_spec='$libname$shrext'
;;
bsdi[45]*)
library_names_spec='$libname$shrext'
;;
cygwin* | mingw* | pw32*)
shrext=.dll
library_names_spec='$libname.dll.a $libname.lib'
;;
darwin* | rhapsody*)
shrext=.dylib
library_names_spec='$libname$shrext'
;;
dgux*)
library_names_spec='$libname$shrext'
;;
freebsd1*)
;;
freebsd* | dragonfly*)
case "$host_os" in
freebsd[123]*)
library_names_spec='$libname$shrext$versuffix' ;;
*)
library_names_spec='$libname$shrext' ;;
esac
;;
gnu*)
library_names_spec='$libname$shrext'
;;
hpux9* | hpux10* | hpux11*)
case $host_cpu in
ia64*)
shrext=.so
;;
hppa*64*)
shrext=.sl
;;
*)
shrext=.sl
;;
esac
library_names_spec='$libname$shrext'
;;
interix[3-9]*)
library_names_spec='$libname$shrext'
;;
irix5* | irix6* | nonstopux*)
library_names_spec='$libname$shrext'
case "$host_os" in
irix5* | nonstopux*)
libsuff= shlibsuff=
;;
*)
case $LD in
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
*) libsuff= shlibsuff= ;;
esac
;;
esac
;;
linux*oldld* | linux*aout* | linux*coff*)
;;
linux* | k*bsd*-gnu)
library_names_spec='$libname$shrext'
;;
knetbsd*-gnu)
library_names_spec='$libname$shrext'
;;
netbsd*)
library_names_spec='$libname$shrext'
;;
newsos6)
library_names_spec='$libname$shrext'
;;
nto-qnx*)
library_names_spec='$libname$shrext'
;;
openbsd*)
library_names_spec='$libname$shrext$versuffix'
;;
os2*)
libname_spec='$name'
shrext=.dll
library_names_spec='$libname.a'
;;
osf3* | osf4* | osf5*)
library_names_spec='$libname$shrext'
;;
rdos*)
;;
solaris*)
library_names_spec='$libname$shrext'
;;
sunos4*)
library_names_spec='$libname$shrext$versuffix'
;;
sysv4 | sysv4.3*)
library_names_spec='$libname$shrext'
;;
sysv4*MP*)
library_names_spec='$libname$shrext'
;;
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
library_names_spec='$libname$shrext'
;;
uts4*)
library_names_spec='$libname$shrext'
;;
esac
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
# How to pass a linker flag through the compiler.
wl="$escaped_wl"
# Static library suffix (normally "a").
libext="$libext"
# Shared library suffix (normally "so").
shlibext="$shlibext"
# Format of library name prefix.
libname_spec="$escaped_libname_spec"
# Library names that the linker finds when passed -lNAME.
library_names_spec="$escaped_library_names_spec"
# Flag to hardcode \$libdir into a binary during linking.
# This must work even if \$libdir does not exist.
hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"
# Whether we need a single -rpath flag with a separated argument.
hardcode_libdir_separator="$hardcode_libdir_separator"
# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
# resulting binary.
hardcode_direct="$hardcode_direct"
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
# resulting binary.
hardcode_minus_L="$hardcode_minus_L"
EOF

21110
source/autoconf-lib-link/configure vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,71 @@
dnl Configuration for the autoconf-lib-link directory of GNU gettext
dnl Copyright (C) 1995-1999, 2000-2003, 2005 Free Software Foundation, Inc.
dnl
dnl This program is free software: you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 3 of the License, or
dnl (at your option) any later version.
dnl
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dnl GNU General Public License for more details.
dnl
dnl You should have received a copy of the GNU General Public License
dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
AC_INIT
AC_CONFIG_SRCDIR(tests/rpath-1a)
AC_CONFIG_AUX_DIR(../build-aux)
. $srcdir/../version.sh
AM_INIT_AUTOMAKE(autoconf-lib-link, $VERSION_NUMBER)
dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
dnl Check for host type.
AC_CANONICAL_HOST
dnl Checks for UNIX variants that set DEFS,
dnl Checks for compiler output filename suffixes.
AC_OBJEXT
AC_EXEEXT
dnl Check for build configuration.
gl_WOE32_DLL
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
dnl Checks for libraries.
dnl Checks for header files.
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions.
dnl Checks for tests/rpathcfg.
AC_SUBST(GCC)
AC_SUBST(LD)
AC_SUBST(with_gnu_ld)
aclocaldir='${datadir}/aclocal'
AC_SUBST(aclocaldir)
AC_LIB_PREPARE_MULTILIB
LIBDIRSTEM=$acl_libdirstem
AC_SUBST(LIBDIRSTEM)
AC_CONFIG_FILES([Makefile],
[FIX_MAKEFILE_DISTRIB])
AC_CONFIG_FILES([m4/Makefile])
AC_CONFIG_FILES([tests/Makefile])
AC_OUTPUT

View File

@@ -0,0 +1,152 @@
2007-11-07 Bruno Haible <bruno@clisp.org>
* gettext-0.17 released.
2007-01-08 Bruno Haible <bruno@clisp.org>
Avoid variable names that conflict with those from libtool.
* lib-link.m4 (AC_LIB_RPATH, AC_LIB_LINKFLAGS_BODY,
AC_LIB_LINKFLAGS_FROM_LIBS): Rename libext to acl_libext,
shlibext to acl_shlibext, libname_spec to acl_libname_spec,
library_names_spec to acl_library_names_spec, hardcode_* to
acl_hardcode_*.
Reported by Ralf Wildenhues.
2007-01-08 Bruno Haible <bruno@clisp.org>
* lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Simplify the sorting command.
2006-12-24 Bruno Haible <bruno@clisp.org>
Improve support for OpenBSD.
* lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Extract libname_spec and
library_names_spec from the config.rpath output. Locate shared library
through the name pattern in library_names_spec.
2006-11-12 Bruno Haible <bruno@clisp.org>
* lib-link.m4 (AC_LIB_LINKFLAGS, AC_LIB_HAVE_LINKFLAGS,
AC_LIB_LINKFLAGS_BODY): Also set a LIB${NAME}_PREFIX variable. Needed
for GNOME libraries, for which the include files are installed in
subdirectories of $prefix/include.
2006-11-12 Bruno Haible <bruno@clisp.org>
* lib-link.m4: Require at least autoconf-2.54.
(AC_LIB_LINKFLAGS_BODY) [autoconf < 2.61]: Turn dots into the library
name to underscores for the --with option.
2006-11-27 Bruno Haible <bruno@clisp.org>
* gettext-0.16.1 released.
2006-10-26 Bruno Haible <bruno@clisp.org>
* gettext-0.16 released.
2006-09-03 Bruno Haible <bruno@clisp.org>
* lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Locate mingw shared libraries
correctly.
2006-07-21 Bruno Haible <bruno@clisp.org>
* gettext-0.15 released.
2006-03-25 Bruno Haible <bruno@clisp.org>
* lib-link.m4 (AC_LIB_LINKFLAGS_FROM_LIBS): New macro.
2005-08-27 Bruno Haible <bruno@clisp.org>
Support for lib vs. lib64 distinction on biarch platforms.
* lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): New macro.
(AC_LIB_PREFIX): Require it. Use $acl_libdirstem instead of 'lib'.
* lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Likewise.
2006-06-21 Bruno Haible <bruno@clisp.org>
* gettext-0.14.6 released.
2005-05-23 Bruno Haible <bruno@clisp.org>
* gettext-0.14.5 released.
2005-04-11 Bruno Haible <bruno@clisp.org>
* gettext-0.14.4 released.
2005-03-14 Bruno Haible <bruno@clisp.org>
* gettext-0.14.3 released.
2005-03-05 Bruno Haible <bruno@clisp.org>
* lib-link.m4: Require autoconf >= 2.50.
(AC_LIB_RPATH): Use AC_REQUIRE_AUX_FILE conditionally.
2005-02-24 Bruno Haible <bruno@clisp.org>
* gettext-0.14.2 released.
2005-01-19 Bruno Haible <bruno@clisp.org>
* lib-ld.m4, lib-link.m4, lib-prefix.m4: Use an all-permissive
copyright notice, recommended by RMS.
2004-07-13 Robert Millan <robertmh@gnu.org>
* lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Same /usr/local/include handling
on Hurd and on GNU/k*BSD as on Linux.
* lib-prefix.m4 (AC_LIB_PREFIX): Likewise.
2004-01-29 Bruno Haible <bruno@clisp.org>
* gettext-0.14.1 released.
2004-01-28 Bruno Haible <bruno@clisp.org>
* gettext-0.14 released.
2003-12-17 Bruno Haible <bruno@clisp.org>
* gettext-0.13.1 released.
2003-11-30 Bruno Haible <bruno@clisp.org>
* gettext-0.13 released.
2003-07-01 Bruno Haible <bruno@clisp.org>
* lib-prefix.m4 (AC_LIB_ARG_WITH): Avoid "duplicated macro" error from
aclocal-1.4-p4.
Reported by Luke Schierer <lschiere@rackspace.com> and
Michael C. Toren <mct@toren.net>.
2003-06-17 Paul Eggert <eggert@twinsun.com>
* lib-ld.m4 (AC_LIB_PROG_LD_GNU, AC_LIB_PROG_LD): Don't use egrep, for
portability to POSIX 1003.1-2001. Backported from libtool-1.5.
2003-05-22 Bruno Haible <bruno@clisp.org>
* gettext-0.12.1 released.
2003-05-17 Bruno Haible <bruno@clisp.org>
* gettext-0.12 released.
2003-04-24 Bruno Haible <bruno@clisp.org>
* lib-link.m4 (AC_LIB_RPATH): Don't set sys_lib_search_path_spec and
sys_lib_dlsearch_path_spec.
2003-02-16 Bruno Haible <bruno@clisp.org>
Workaround autoconf >= 2.52 breakage.
* lib-prefix.m4 (AC_LIB_ARG_WITH): New macro.
(AC_LIB_PREFIX): Use it instead of AC_ARG_WITH.
* lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Likewise.
See ../../gettext-tools/m4/ChangeLog.0 for earlier changes.

View File

@@ -0,0 +1,16 @@
## Process this file with automake to produce Makefile.in -*-Makefile-*-
# Files installed for use by aclocal.
aclocaldir = @aclocaldir@
aclocal_DATA = \
lib-ld.m4 \
lib-link.m4 \
lib-prefix.m4
# Generate this list with
# find . -type f -name '*.m4' -printf '%f\n' | sort | tr '\012' @ | sed 's/@$/%/;s/@/ \\@/g' | tr @% '\012\012'
EXTRA_DIST = README \
lib-ld.m4 \
lib-link.m4 \
lib-prefix.m4

View File

@@ -0,0 +1,377 @@
# Makefile.in generated by automake 1.10 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
# Files installed for use by aclocal.
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
subdir = m4
DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
ChangeLog
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../m4/fixautomake.m4 \
$(top_srcdir)/../m4/libtool.m4 \
$(top_srcdir)/../m4/woe32-dll.m4 \
$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/../build-aux/mkinstalldirs
CONFIG_CLEAN_FILES =
SOURCES =
DIST_SOURCES =
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
am__installdirs = "$(DESTDIR)$(aclocaldir)"
aclocalDATA_INSTALL = $(INSTALL_DATA)
DATA = $(aclocal_DATA)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AR = @AR@
AS = @AS@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
ECHO = @ECHO@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
F77 = @F77@
FFLAGS = @FFLAGS@
GCC = @GCC@
GREP = @GREP@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LD = @LD@
LDFLAGS = @LDFLAGS@
LIBDIRSTEM = @LIBDIRSTEM@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
RANLIB = @RANLIB@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_F77 = @ac_ct_F77@
aclocaldir = @aclocaldir@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
with_gnu_ld = @with_gnu_ld@
aclocal_DATA = \
lib-ld.m4 \
lib-link.m4 \
lib-prefix.m4
# Generate this list with
# find . -type f -name '*.m4' -printf '%f\n' | sort | tr '\012' @ | sed 's/@$/%/;s/@/ \\@/g' | tr @% '\012\012'
EXTRA_DIST = README \
lib-ld.m4 \
lib-link.m4 \
lib-prefix.m4
all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu m4/Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu m4/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
install-aclocalDATA: $(aclocal_DATA)
@$(NORMAL_INSTALL)
test -z "$(aclocaldir)" || $(MKDIR_P) "$(DESTDIR)$(aclocaldir)"
@list='$(aclocal_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=$(am__strip_dir) \
echo " $(aclocalDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(aclocaldir)/$$f'"; \
$(aclocalDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(aclocaldir)/$$f"; \
done
uninstall-aclocalDATA:
@$(NORMAL_UNINSTALL)
@list='$(aclocal_DATA)'; for p in $$list; do \
f=$(am__strip_dir) \
echo " rm -f '$(DESTDIR)$(aclocaldir)/$$f'"; \
rm -f "$(DESTDIR)$(aclocaldir)/$$f"; \
done
tags: TAGS
TAGS:
ctags: CTAGS
CTAGS:
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile $(DATA)
installdirs:
for dir in "$(DESTDIR)$(aclocaldir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-generic clean-libtool mostlyclean-am
distclean: distclean-am
-rm -f Makefile
distclean-am: clean-am distclean-generic
dvi: dvi-am
dvi-am:
html: html-am
info: info-am
info-am:
install-data-am: install-aclocalDATA
install-dvi: install-dvi-am
install-exec-am:
install-html: install-html-am
install-info: install-info-am
install-man:
install-pdf: install-pdf-am
install-ps: install-ps-am
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-aclocalDATA
.MAKE: install-am install-strip
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
distclean distclean-generic distclean-libtool distdir dvi \
dvi-am html html-am info info-am install install-aclocalDATA \
install-am install-data install-data-am install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am install-man \
install-pdf install-pdf-am install-ps install-ps-am \
install-strip installcheck installcheck-am installdirs \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
uninstall uninstall-aclocalDATA uninstall-am
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@@ -0,0 +1,4 @@
These files are used by a program called aclocal (part of the GNU automake
package). aclocal uses these files to create aclocal.m4 which is in turn
used by autoconf to create the configure script at the the top level in
this distribution.

View File

@@ -0,0 +1,110 @@
# lib-ld.m4 serial 3 (gettext-0.13)
dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl Subroutines of libtool.m4,
dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
dnl with libtool.m4.
dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
AC_DEFUN([AC_LIB_PROG_LD_GNU],
[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
case `$LD -v 2>&1 </dev/null` in
*GNU* | *'with BFD'*)
acl_cv_prog_gnu_ld=yes ;;
*)
acl_cv_prog_gnu_ld=no ;;
esac])
with_gnu_ld=$acl_cv_prog_gnu_ld
])
dnl From libtool-1.4. Sets the variable LD.
AC_DEFUN([AC_LIB_PROG_LD],
[AC_ARG_WITH(gnu-ld,
[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([AC_CANONICAL_HOST])dnl
# Prepare PATH_SEPARATOR.
# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
echo "#! /bin/sh" >conf$$.sh
echo "exit 0" >>conf$$.sh
chmod +x conf$$.sh
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
PATH_SEPARATOR=';'
else
PATH_SEPARATOR=:
fi
rm -f conf$$.sh
fi
ac_prog=ld
if test "$GCC" = yes; then
# Check if gcc -print-prog-name=ld gives a path.
AC_MSG_CHECKING([for ld used by GCC])
case $host in
*-*-mingw*)
# gcc leaves a trailing carriage return which upsets mingw
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
*)
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
esac
case $ac_prog in
# Accept absolute paths.
[[\\/]* | [A-Za-z]:[\\/]*)]
[re_direlt='/[^/][^/]*/\.\./']
# Canonicalize the path of ld
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
done
test -z "$LD" && LD="$ac_prog"
;;
"")
# If it fails, then pretend we aren't using GCC.
ac_prog=ld
;;
*)
# If it is relative, then search for the first ld in PATH.
with_gnu_ld=unknown
;;
esac
elif test "$with_gnu_ld" = yes; then
AC_MSG_CHECKING([for GNU ld])
else
AC_MSG_CHECKING([for non-GNU ld])
fi
AC_CACHE_VAL(acl_cv_path_LD,
[if test -z "$LD"; then
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
for ac_dir in $PATH; do
test -z "$ac_dir" && ac_dir=.
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
acl_cv_path_LD="$ac_dir/$ac_prog"
# Check to see if the program is GNU ld. I'd rather use --version,
# but apparently some GNU ld's only accept -v.
# Break only if it was the GNU/non-GNU ld that we prefer.
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
*GNU* | *'with BFD'*)
test "$with_gnu_ld" != no && break ;;
*)
test "$with_gnu_ld" != yes && break ;;
esac
fi
done
IFS="$ac_save_ifs"
else
acl_cv_path_LD="$LD" # Let the user override the test with a path.
fi])
LD="$acl_cv_path_LD"
if test -n "$LD"; then
AC_MSG_RESULT($LD)
else
AC_MSG_RESULT(no)
fi
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
AC_LIB_PROG_LD_GNU
])

View File

@@ -0,0 +1,709 @@
# lib-link.m4 serial 13 (gettext-0.17)
dnl Copyright (C) 2001-2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl From Bruno Haible.
AC_PREREQ(2.54)
dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
dnl the libraries corresponding to explicit and implicit dependencies.
dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
dnl augments the CPPFLAGS variable.
dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
AC_DEFUN([AC_LIB_LINKFLAGS],
[
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
AC_REQUIRE([AC_LIB_RPATH])
define([Name],[translit([$1],[./-], [___])])
define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
AC_LIB_LINKFLAGS_BODY([$1], [$2])
ac_cv_lib[]Name[]_libs="$LIB[]NAME"
ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX"
])
LIB[]NAME="$ac_cv_lib[]Name[]_libs"
LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix"
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
AC_SUBST([LIB]NAME)
AC_SUBST([LTLIB]NAME)
AC_SUBST([LIB]NAME[_PREFIX])
dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
dnl results of this search when this library appears as a dependency.
HAVE_LIB[]NAME=yes
undefine([Name])
undefine([NAME])
])
dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
dnl searches for libname and the libraries corresponding to explicit and
dnl implicit dependencies, together with the specified include files and
dnl the ability to compile and link the specified testcode. If found, it
dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
[
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
AC_REQUIRE([AC_LIB_RPATH])
define([Name],[translit([$1],[./-], [___])])
define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
dnl accordingly.
AC_LIB_LINKFLAGS_BODY([$1], [$2])
dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
dnl because if the user has installed lib[]Name and not disabled its use
dnl via --without-lib[]Name-prefix, he wants to use it.
ac_save_CPPFLAGS="$CPPFLAGS"
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
ac_save_LIBS="$LIBS"
LIBS="$LIBS $LIB[]NAME"
AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
LIBS="$ac_save_LIBS"
])
if test "$ac_cv_lib[]Name" = yes; then
HAVE_LIB[]NAME=yes
AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
AC_MSG_CHECKING([how to link with lib[]$1])
AC_MSG_RESULT([$LIB[]NAME])
else
HAVE_LIB[]NAME=no
dnl If $LIB[]NAME didn't lead to a usable library, we don't need
dnl $INC[]NAME either.
CPPFLAGS="$ac_save_CPPFLAGS"
LIB[]NAME=
LTLIB[]NAME=
LIB[]NAME[]_PREFIX=
fi
AC_SUBST([HAVE_LIB]NAME)
AC_SUBST([LIB]NAME)
AC_SUBST([LTLIB]NAME)
AC_SUBST([LIB]NAME[_PREFIX])
undefine([Name])
undefine([NAME])
])
dnl Determine the platform dependent parameters needed to use rpath:
dnl acl_libext,
dnl acl_shlibext,
dnl acl_hardcode_libdir_flag_spec,
dnl acl_hardcode_libdir_separator,
dnl acl_hardcode_direct,
dnl acl_hardcode_minus_L.
AC_DEFUN([AC_LIB_RPATH],
[
dnl Tell automake >= 1.10 to complain if config.rpath is missing.
m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
. ./conftest.sh
rm -f ./conftest.sh
acl_cv_rpath=done
])
wl="$acl_cv_wl"
acl_libext="$acl_cv_libext"
acl_shlibext="$acl_cv_shlibext"
acl_libname_spec="$acl_cv_libname_spec"
acl_library_names_spec="$acl_cv_library_names_spec"
acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
acl_hardcode_direct="$acl_cv_hardcode_direct"
acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
dnl Determine whether the user wants rpath handling at all.
AC_ARG_ENABLE(rpath,
[ --disable-rpath do not hardcode runtime library paths],
:, enable_rpath=yes)
])
dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
dnl the libraries corresponding to explicit and implicit dependencies.
dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found
dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
[
AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
dnl Autoconf >= 2.61 supports dots in --with options.
define([N_A_M_E],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit([$1],[.],[_])],[$1])])
dnl By default, look in $includedir and $libdir.
use_additional=yes
AC_LIB_WITH_FINAL_PREFIX([
eval additional_includedir=\"$includedir\"
eval additional_libdir=\"$libdir\"
])
AC_LIB_ARG_WITH([lib]N_A_M_E[-prefix],
[ --with-lib]N_A_M_E[-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
--without-lib]N_A_M_E[-prefix don't search for lib$1 in includedir and libdir],
[
if test "X$withval" = "Xno"; then
use_additional=no
else
if test "X$withval" = "X"; then
AC_LIB_WITH_FINAL_PREFIX([
eval additional_includedir=\"$includedir\"
eval additional_libdir=\"$libdir\"
])
else
additional_includedir="$withval/include"
additional_libdir="$withval/$acl_libdirstem"
fi
fi
])
dnl Search the library and its dependencies in $additional_libdir and
dnl $LDFLAGS. Using breadth-first-seach.
LIB[]NAME=
LTLIB[]NAME=
INC[]NAME=
LIB[]NAME[]_PREFIX=
rpathdirs=
ltrpathdirs=
names_already_handled=
names_next_round='$1 $2'
while test -n "$names_next_round"; do
names_this_round="$names_next_round"
names_next_round=
for name in $names_this_round; do
already_handled=
for n in $names_already_handled; do
if test "$n" = "$name"; then
already_handled=yes
break
fi
done
if test -z "$already_handled"; then
names_already_handled="$names_already_handled $name"
dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
dnl or AC_LIB_HAVE_LINKFLAGS call.
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
eval value=\"\$HAVE_LIB$uppername\"
if test -n "$value"; then
if test "$value" = yes; then
eval value=\"\$LIB$uppername\"
test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
eval value=\"\$LTLIB$uppername\"
test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
else
dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
dnl that this library doesn't exist. So just drop it.
:
fi
else
dnl Search the library lib$name in $additional_libdir and $LDFLAGS
dnl and the already constructed $LIBNAME/$LTLIBNAME.
found_dir=
found_la=
found_so=
found_a=
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
if test -n "$acl_shlibext"; then
shrext=".$acl_shlibext" # typically: shrext=.so
else
shrext=
fi
if test $use_additional = yes; then
dir="$additional_libdir"
dnl The same code as in the loop below:
dnl First look for a shared library.
if test -n "$acl_shlibext"; then
if test -f "$dir/$libname$shrext"; then
found_dir="$dir"
found_so="$dir/$libname$shrext"
else
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
ver=`(cd "$dir" && \
for f in "$libname$shrext".*; do echo "$f"; done \
| sed -e "s,^$libname$shrext\\\\.,," \
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
| sed 1q ) 2>/dev/null`
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
found_dir="$dir"
found_so="$dir/$libname$shrext.$ver"
fi
else
eval library_names=\"$acl_library_names_spec\"
for f in $library_names; do
if test -f "$dir/$f"; then
found_dir="$dir"
found_so="$dir/$f"
break
fi
done
fi
fi
fi
dnl Then look for a static library.
if test "X$found_dir" = "X"; then
if test -f "$dir/$libname.$acl_libext"; then
found_dir="$dir"
found_a="$dir/$libname.$acl_libext"
fi
fi
if test "X$found_dir" != "X"; then
if test -f "$dir/$libname.la"; then
found_la="$dir/$libname.la"
fi
fi
fi
if test "X$found_dir" = "X"; then
for x in $LDFLAGS $LTLIB[]NAME; do
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
case "$x" in
-L*)
dir=`echo "X$x" | sed -e 's/^X-L//'`
dnl First look for a shared library.
if test -n "$acl_shlibext"; then
if test -f "$dir/$libname$shrext"; then
found_dir="$dir"
found_so="$dir/$libname$shrext"
else
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
ver=`(cd "$dir" && \
for f in "$libname$shrext".*; do echo "$f"; done \
| sed -e "s,^$libname$shrext\\\\.,," \
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
| sed 1q ) 2>/dev/null`
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
found_dir="$dir"
found_so="$dir/$libname$shrext.$ver"
fi
else
eval library_names=\"$acl_library_names_spec\"
for f in $library_names; do
if test -f "$dir/$f"; then
found_dir="$dir"
found_so="$dir/$f"
break
fi
done
fi
fi
fi
dnl Then look for a static library.
if test "X$found_dir" = "X"; then
if test -f "$dir/$libname.$acl_libext"; then
found_dir="$dir"
found_a="$dir/$libname.$acl_libext"
fi
fi
if test "X$found_dir" != "X"; then
if test -f "$dir/$libname.la"; then
found_la="$dir/$libname.la"
fi
fi
;;
esac
if test "X$found_dir" != "X"; then
break
fi
done
fi
if test "X$found_dir" != "X"; then
dnl Found the library.
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
if test "X$found_so" != "X"; then
dnl Linking with a shared library. We attempt to hardcode its
dnl directory into the executable's runpath, unless it's the
dnl standard /usr/lib.
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
dnl No hardcoding is needed.
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
else
dnl Use an explicit option to hardcode DIR into the resulting
dnl binary.
dnl Potentially add DIR to ltrpathdirs.
dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
haveit=
for x in $ltrpathdirs; do
if test "X$x" = "X$found_dir"; then
haveit=yes
break
fi
done
if test -z "$haveit"; then
ltrpathdirs="$ltrpathdirs $found_dir"
fi
dnl The hardcoding into $LIBNAME is system dependent.
if test "$acl_hardcode_direct" = yes; then
dnl Using DIR/libNAME.so during linking hardcodes DIR into the
dnl resulting binary.
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
else
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
dnl Use an explicit option to hardcode DIR into the resulting
dnl binary.
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
dnl Potentially add DIR to rpathdirs.
dnl The rpathdirs will be appended to $LIBNAME at the end.
haveit=
for x in $rpathdirs; do
if test "X$x" = "X$found_dir"; then
haveit=yes
break
fi
done
if test -z "$haveit"; then
rpathdirs="$rpathdirs $found_dir"
fi
else
dnl Rely on "-L$found_dir".
dnl But don't add it if it's already contained in the LDFLAGS
dnl or the already constructed $LIBNAME
haveit=
for x in $LDFLAGS $LIB[]NAME; do
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
if test "X$x" = "X-L$found_dir"; then
haveit=yes
break
fi
done
if test -z "$haveit"; then
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
fi
if test "$acl_hardcode_minus_L" != no; then
dnl FIXME: Not sure whether we should use
dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
dnl here.
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
else
dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH
dnl here, because this doesn't fit in flags passed to the
dnl compiler. So give up. No hardcoding. This affects only
dnl very old systems.
dnl FIXME: Not sure whether we should use
dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
dnl here.
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
fi
fi
fi
fi
else
if test "X$found_a" != "X"; then
dnl Linking with a static library.
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
else
dnl We shouldn't come here, but anyway it's good to have a
dnl fallback.
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
fi
fi
dnl Assume the include files are nearby.
additional_includedir=
case "$found_dir" in
*/$acl_libdirstem | */$acl_libdirstem/)
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
LIB[]NAME[]_PREFIX="$basedir"
additional_includedir="$basedir/include"
;;
esac
if test "X$additional_includedir" != "X"; then
dnl Potentially add $additional_includedir to $INCNAME.
dnl But don't add it
dnl 1. if it's the standard /usr/include,
dnl 2. if it's /usr/local/include and we are using GCC on Linux,
dnl 3. if it's already present in $CPPFLAGS or the already
dnl constructed $INCNAME,
dnl 4. if it doesn't exist as a directory.
if test "X$additional_includedir" != "X/usr/include"; then
haveit=
if test "X$additional_includedir" = "X/usr/local/include"; then
if test -n "$GCC"; then
case $host_os in
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
esac
fi
fi
if test -z "$haveit"; then
for x in $CPPFLAGS $INC[]NAME; do
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
if test "X$x" = "X-I$additional_includedir"; then
haveit=yes
break
fi
done
if test -z "$haveit"; then
if test -d "$additional_includedir"; then
dnl Really add $additional_includedir to $INCNAME.
INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
fi
fi
fi
fi
fi
dnl Look for dependencies.
if test -n "$found_la"; then
dnl Read the .la file. It defines the variables
dnl dlname, library_names, old_library, dependency_libs, current,
dnl age, revision, installed, dlopen, dlpreopen, libdir.
save_libdir="$libdir"
case "$found_la" in
*/* | *\\*) . "$found_la" ;;
*) . "./$found_la" ;;
esac
libdir="$save_libdir"
dnl We use only dependency_libs.
for dep in $dependency_libs; do
case "$dep" in
-L*)
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
dnl But don't add it
dnl 1. if it's the standard /usr/lib,
dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
dnl 3. if it's already present in $LDFLAGS or the already
dnl constructed $LIBNAME,
dnl 4. if it doesn't exist as a directory.
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
haveit=
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
if test -n "$GCC"; then
case $host_os in
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
esac
fi
fi
if test -z "$haveit"; then
haveit=
for x in $LDFLAGS $LIB[]NAME; do
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
if test "X$x" = "X-L$additional_libdir"; then
haveit=yes
break
fi
done
if test -z "$haveit"; then
if test -d "$additional_libdir"; then
dnl Really add $additional_libdir to $LIBNAME.
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
fi
fi
haveit=
for x in $LDFLAGS $LTLIB[]NAME; do
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
if test "X$x" = "X-L$additional_libdir"; then
haveit=yes
break
fi
done
if test -z "$haveit"; then
if test -d "$additional_libdir"; then
dnl Really add $additional_libdir to $LTLIBNAME.
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
fi
fi
fi
fi
;;
-R*)
dir=`echo "X$dep" | sed -e 's/^X-R//'`
if test "$enable_rpath" != no; then
dnl Potentially add DIR to rpathdirs.
dnl The rpathdirs will be appended to $LIBNAME at the end.
haveit=
for x in $rpathdirs; do
if test "X$x" = "X$dir"; then
haveit=yes
break
fi
done
if test -z "$haveit"; then
rpathdirs="$rpathdirs $dir"
fi
dnl Potentially add DIR to ltrpathdirs.
dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
haveit=
for x in $ltrpathdirs; do
if test "X$x" = "X$dir"; then
haveit=yes
break
fi
done
if test -z "$haveit"; then
ltrpathdirs="$ltrpathdirs $dir"
fi
fi
;;
-l*)
dnl Handle this in the next round.
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
;;
*.la)
dnl Handle this in the next round. Throw away the .la's
dnl directory; it is already contained in a preceding -L
dnl option.
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
;;
*)
dnl Most likely an immediate library name.
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
;;
esac
done
fi
else
dnl Didn't find the library; assume it is in the system directories
dnl known to the linker and runtime loader. (All the system
dnl directories known to the linker should also be known to the
dnl runtime loader, otherwise the system is severely misconfigured.)
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
fi
fi
fi
done
done
if test "X$rpathdirs" != "X"; then
if test -n "$acl_hardcode_libdir_separator"; then
dnl Weird platform: only the last -rpath option counts, the user must
dnl pass all path elements in one option. We can arrange that for a
dnl single library, but not when more than one $LIBNAMEs are used.
alldirs=
for found_dir in $rpathdirs; do
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
done
dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl.
acl_save_libdir="$libdir"
libdir="$alldirs"
eval flag=\"$acl_hardcode_libdir_flag_spec\"
libdir="$acl_save_libdir"
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
else
dnl The -rpath options are cumulative.
for found_dir in $rpathdirs; do
acl_save_libdir="$libdir"
libdir="$found_dir"
eval flag=\"$acl_hardcode_libdir_flag_spec\"
libdir="$acl_save_libdir"
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
done
fi
fi
if test "X$ltrpathdirs" != "X"; then
dnl When using libtool, the option that works for both libraries and
dnl executables is -R. The -R options are cumulative.
for found_dir in $ltrpathdirs; do
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
done
fi
])
dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
dnl unless already present in VAR.
dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
dnl contains two or three consecutive elements that belong together.
AC_DEFUN([AC_LIB_APPENDTOVAR],
[
for element in [$2]; do
haveit=
for x in $[$1]; do
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
if test "X$x" = "X$element"; then
haveit=yes
break
fi
done
if test -z "$haveit"; then
[$1]="${[$1]}${[$1]:+ }$element"
fi
done
])
dnl For those cases where a variable contains several -L and -l options
dnl referring to unknown libraries and directories, this macro determines the
dnl necessary additional linker options for the runtime path.
dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL])
dnl sets LDADDVAR to linker options needed together with LIBSVALUE.
dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed,
dnl otherwise linking without libtool is assumed.
AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS],
[
AC_REQUIRE([AC_LIB_RPATH])
AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
$1=
if test "$enable_rpath" != no; then
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
dnl Use an explicit option to hardcode directories into the resulting
dnl binary.
rpathdirs=
next=
for opt in $2; do
if test -n "$next"; then
dir="$next"
dnl No need to hardcode the standard /usr/lib.
if test "X$dir" != "X/usr/$acl_libdirstem"; then
rpathdirs="$rpathdirs $dir"
fi
next=
else
case $opt in
-L) next=yes ;;
-L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
dnl No need to hardcode the standard /usr/lib.
if test "X$dir" != "X/usr/$acl_libdirstem"; then
rpathdirs="$rpathdirs $dir"
fi
next= ;;
*) next= ;;
esac
fi
done
if test "X$rpathdirs" != "X"; then
if test -n ""$3""; then
dnl libtool is used for linking. Use -R options.
for dir in $rpathdirs; do
$1="${$1}${$1:+ }-R$dir"
done
else
dnl The linker is used for linking directly.
if test -n "$acl_hardcode_libdir_separator"; then
dnl Weird platform: only the last -rpath option counts, the user
dnl must pass all path elements in one option.
alldirs=
for dir in $rpathdirs; do
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir"
done
acl_save_libdir="$libdir"
libdir="$alldirs"
eval flag=\"$acl_hardcode_libdir_flag_spec\"
libdir="$acl_save_libdir"
$1="$flag"
else
dnl The -rpath options are cumulative.
for dir in $rpathdirs; do
acl_save_libdir="$libdir"
libdir="$dir"
eval flag=\"$acl_hardcode_libdir_flag_spec\"
libdir="$acl_save_libdir"
$1="${$1}${$1:+ }$flag"
done
fi
fi
fi
fi
fi
AC_SUBST([$1])
])

View File

@@ -0,0 +1,185 @@
# lib-prefix.m4 serial 5 (gettext-0.15)
dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl From Bruno Haible.
dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
dnl require excessive bracketing.
ifdef([AC_HELP_STRING],
[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
dnl to access previously installed libraries. The basic assumption is that
dnl a user will want packages to use other packages he previously installed
dnl with the same --prefix option.
dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
dnl libraries, but is otherwise very convenient.
AC_DEFUN([AC_LIB_PREFIX],
[
AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([AC_CANONICAL_HOST])
AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
dnl By default, look in $includedir and $libdir.
use_additional=yes
AC_LIB_WITH_FINAL_PREFIX([
eval additional_includedir=\"$includedir\"
eval additional_libdir=\"$libdir\"
])
AC_LIB_ARG_WITH([lib-prefix],
[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
--without-lib-prefix don't search for libraries in includedir and libdir],
[
if test "X$withval" = "Xno"; then
use_additional=no
else
if test "X$withval" = "X"; then
AC_LIB_WITH_FINAL_PREFIX([
eval additional_includedir=\"$includedir\"
eval additional_libdir=\"$libdir\"
])
else
additional_includedir="$withval/include"
additional_libdir="$withval/$acl_libdirstem"
fi
fi
])
if test $use_additional = yes; then
dnl Potentially add $additional_includedir to $CPPFLAGS.
dnl But don't add it
dnl 1. if it's the standard /usr/include,
dnl 2. if it's already present in $CPPFLAGS,
dnl 3. if it's /usr/local/include and we are using GCC on Linux,
dnl 4. if it doesn't exist as a directory.
if test "X$additional_includedir" != "X/usr/include"; then
haveit=
for x in $CPPFLAGS; do
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
if test "X$x" = "X-I$additional_includedir"; then
haveit=yes
break
fi
done
if test -z "$haveit"; then
if test "X$additional_includedir" = "X/usr/local/include"; then
if test -n "$GCC"; then
case $host_os in
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
esac
fi
fi
if test -z "$haveit"; then
if test -d "$additional_includedir"; then
dnl Really add $additional_includedir to $CPPFLAGS.
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
fi
fi
fi
fi
dnl Potentially add $additional_libdir to $LDFLAGS.
dnl But don't add it
dnl 1. if it's the standard /usr/lib,
dnl 2. if it's already present in $LDFLAGS,
dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
dnl 4. if it doesn't exist as a directory.
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
haveit=
for x in $LDFLAGS; do
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
if test "X$x" = "X-L$additional_libdir"; then
haveit=yes
break
fi
done
if test -z "$haveit"; then
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
if test -n "$GCC"; then
case $host_os in
linux*) haveit=yes;;
esac
fi
fi
if test -z "$haveit"; then
if test -d "$additional_libdir"; then
dnl Really add $additional_libdir to $LDFLAGS.
LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
fi
fi
fi
fi
fi
])
dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
dnl acl_final_exec_prefix, containing the values to which $prefix and
dnl $exec_prefix will expand at the end of the configure script.
AC_DEFUN([AC_LIB_PREPARE_PREFIX],
[
dnl Unfortunately, prefix and exec_prefix get only finally determined
dnl at the end of configure.
if test "X$prefix" = "XNONE"; then
acl_final_prefix="$ac_default_prefix"
else
acl_final_prefix="$prefix"
fi
if test "X$exec_prefix" = "XNONE"; then
acl_final_exec_prefix='${prefix}'
else
acl_final_exec_prefix="$exec_prefix"
fi
acl_save_prefix="$prefix"
prefix="$acl_final_prefix"
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
prefix="$acl_save_prefix"
])
dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
dnl variables prefix and exec_prefix bound to the values they will have
dnl at the end of the configure script.
AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
[
acl_save_prefix="$prefix"
prefix="$acl_final_prefix"
acl_save_exec_prefix="$exec_prefix"
exec_prefix="$acl_final_exec_prefix"
$1
exec_prefix="$acl_save_exec_prefix"
prefix="$acl_save_prefix"
])
dnl AC_LIB_PREPARE_MULTILIB creates a variable acl_libdirstem, containing
dnl the basename of the libdir, either "lib" or "lib64".
AC_DEFUN([AC_LIB_PREPARE_MULTILIB],
[
dnl There is no formal standard regarding lib and lib64. The current
dnl practice is that on a system supporting 32-bit and 64-bit instruction
dnl sets or ABIs, 64-bit libraries go under $prefix/lib64 and 32-bit
dnl libraries go under $prefix/lib. We determine the compiler's default
dnl mode by looking at the compiler's library search path. If at least
dnl of its elements ends in /lib64 or points to a directory whose absolute
dnl pathname ends in /lib64, we assume a 64-bit ABI. Otherwise we use the
dnl default, namely "lib".
acl_libdirstem=lib
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
if test -n "$searchpath"; then
acl_save_IFS="${IFS= }"; IFS=":"
for searchdir in $searchpath; do
if test -d "$searchdir"; then
case "$searchdir" in
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
*) searchdir=`cd "$searchdir" && pwd`
case "$searchdir" in
*/lib64 ) acl_libdirstem=lib64 ;;
esac ;;
esac
fi
done
IFS="$acl_save_IFS"
fi
])

View File

@@ -0,0 +1,79 @@
## Makefile for the autoconf-lib-link/tests subdirectory of GNU gettext
## Copyright (C) 1995-1997, 2001-2003, 2006 Free Software Foundation, Inc.
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
## Process this file with automake to produce Makefile.in.
AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies
MOSTLYCLEANFILES =
TESTS = rpath-1a rpath-1b \
rpath-2aaa rpath-2aab rpath-2aad \
rpath-2aba rpath-2abb rpath-2abd \
rpath-2baa rpath-2bab rpath-2bad \
rpath-2bba rpath-2bbb rpath-2bbd \
rpath-3aaa rpath-3aab rpath-3aad \
rpath-3aah \
rpath-3aba rpath-3abb rpath-3abd \
rpath-3abh \
rpath-3baa rpath-3bab rpath-3bad \
rpath-3bah \
rpath-3bba rpath-3bbb rpath-3bbd \
rpath-3bbh
EXTRA_DIST = $(TESTS) \
rpathx/configure.ac rpathx/aclocal.m4 rpathx/configure \
rpathx/Makefile.am rpathx/Makefile.in rpathx/rpathx.c \
rpathy/configure.ac rpathy/aclocal.m4 rpathy/configure \
rpathy/Makefile.am rpathy/Makefile.in rpathy/rpathy.c \
rpathz/configure.ac rpathz/aclocal.m4 rpathz/configure \
rpathz/Makefile.am rpathz/Makefile.in rpathz/rpathz.c \
rpathlx/configure.ac rpathlx/aclocal.m4 rpathlx/configure \
rpathlx/Makefile.am rpathlx/Makefile.in rpathlx/usex.c \
rpathly/configure.ac rpathly/aclocal.m4 rpathly/configure \
rpathly/Makefile.am rpathly/Makefile.in rpathly/usey.c \
rpathlyx/configure.ac rpathlyx/aclocal.m4 rpathlyx/configure \
rpathlyx/Makefile.am rpathlyx/Makefile.in rpathlyx/usey.c \
rpathlz/configure.ac rpathlz/aclocal.m4 rpathlz/configure \
rpathlz/Makefile.am rpathlz/Makefile.in rpathlz/usez.c \
rpathlzyx/configure.ac rpathlzyx/aclocal.m4 rpathlzyx/configure \
rpathlzyx/Makefile.am rpathlzyx/Makefile.in rpathlzyx/usez.c \
rpath-1 rpath-2_a rpath-2_b rpath-3_a rpath-3_b rpath.README \
rpath-3aae rpath-3aag rpath-3abe rpath-3abg \
rpathcfg.sh
TESTS_ENVIRONMENT = top_srcdir=$(srcdir)/../.. srcdir=$(srcdir) \
OBJEXT='@OBJEXT@' EXEEXT='@EXEEXT@' \
LIBTOOL='@LIBTOOL@' \
CC='@CC@' CFLAGS='@CFLAGS@' \
CPPFLAGS='@CPPFLAGS@' LDFLAGS='@LDFLAGS@' \
LIBDIRSTEM='@LIBDIRSTEM@' \
CONFIG_SHELL='$(SHELL)' \
$(SHELL)
# Help maintaining config.rpath.
rpathcfg: rpathcfg.sh
top_srcdir=$(srcdir)/../.. srcdir=$(srcdir) \
CONFIG_SHELL='$(SHELL)' \
CC='@CC@' GCC='@GCC@' \
LDFLAGS='@LDFLAGS@' \
LD='@LD@' with_gnu_ld='@with_gnu_ld@' \
host='@host@' \
$(SHELL) $(srcdir)/rpathcfg.sh > rpathcfg 2> rpathcfg.log
MOSTLYCLEANFILES += rpathcfg rpathcfg.log
# Clean up the intermediate directory created by running the tests.
distclean-local:
rm -rf tstdir

View File

@@ -0,0 +1,468 @@
# Makefile.in generated by automake 1.10 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
subdir = tests
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../m4/fixautomake.m4 \
$(top_srcdir)/../m4/libtool.m4 \
$(top_srcdir)/../m4/woe32-dll.m4 \
$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/../build-aux/mkinstalldirs
CONFIG_CLEAN_FILES =
depcomp =
am__depfiles_maybe =
SOURCES =
DIST_SOURCES =
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AR = @AR@
AS = @AS@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
ECHO = @ECHO@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
F77 = @F77@
FFLAGS = @FFLAGS@
GCC = @GCC@
GREP = @GREP@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LD = @LD@
LDFLAGS = @LDFLAGS@
LIBDIRSTEM = @LIBDIRSTEM@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
RANLIB = @RANLIB@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_F77 = @ac_ct_F77@
aclocaldir = @aclocaldir@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
with_gnu_ld = @with_gnu_ld@
AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies
MOSTLYCLEANFILES = rpathcfg rpathcfg.log
TESTS = rpath-1a rpath-1b \
rpath-2aaa rpath-2aab rpath-2aad \
rpath-2aba rpath-2abb rpath-2abd \
rpath-2baa rpath-2bab rpath-2bad \
rpath-2bba rpath-2bbb rpath-2bbd \
rpath-3aaa rpath-3aab rpath-3aad \
rpath-3aah \
rpath-3aba rpath-3abb rpath-3abd \
rpath-3abh \
rpath-3baa rpath-3bab rpath-3bad \
rpath-3bah \
rpath-3bba rpath-3bbb rpath-3bbd \
rpath-3bbh
EXTRA_DIST = $(TESTS) \
rpathx/configure.ac rpathx/aclocal.m4 rpathx/configure \
rpathx/Makefile.am rpathx/Makefile.in rpathx/rpathx.c \
rpathy/configure.ac rpathy/aclocal.m4 rpathy/configure \
rpathy/Makefile.am rpathy/Makefile.in rpathy/rpathy.c \
rpathz/configure.ac rpathz/aclocal.m4 rpathz/configure \
rpathz/Makefile.am rpathz/Makefile.in rpathz/rpathz.c \
rpathlx/configure.ac rpathlx/aclocal.m4 rpathlx/configure \
rpathlx/Makefile.am rpathlx/Makefile.in rpathlx/usex.c \
rpathly/configure.ac rpathly/aclocal.m4 rpathly/configure \
rpathly/Makefile.am rpathly/Makefile.in rpathly/usey.c \
rpathlyx/configure.ac rpathlyx/aclocal.m4 rpathlyx/configure \
rpathlyx/Makefile.am rpathlyx/Makefile.in rpathlyx/usey.c \
rpathlz/configure.ac rpathlz/aclocal.m4 rpathlz/configure \
rpathlz/Makefile.am rpathlz/Makefile.in rpathlz/usez.c \
rpathlzyx/configure.ac rpathlzyx/aclocal.m4 rpathlzyx/configure \
rpathlzyx/Makefile.am rpathlzyx/Makefile.in rpathlzyx/usez.c \
rpath-1 rpath-2_a rpath-2_b rpath-3_a rpath-3_b rpath.README \
rpath-3aae rpath-3aag rpath-3abe rpath-3abg \
rpathcfg.sh
TESTS_ENVIRONMENT = top_srcdir=$(srcdir)/../.. srcdir=$(srcdir) \
OBJEXT='@OBJEXT@' EXEEXT='@EXEEXT@' \
LIBTOOL='@LIBTOOL@' \
CC='@CC@' CFLAGS='@CFLAGS@' \
CPPFLAGS='@CPPFLAGS@' LDFLAGS='@LDFLAGS@' \
LIBDIRSTEM='@LIBDIRSTEM@' \
CONFIG_SHELL='$(SHELL)' \
$(SHELL)
all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnits tests/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
tags: TAGS
TAGS:
ctags: CTAGS
CTAGS:
check-TESTS: $(TESTS)
@failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
srcdir=$(srcdir); export srcdir; \
list=' $(TESTS) '; \
if test -n "$$list"; then \
for tst in $$list; do \
if test -f ./$$tst; then dir=./; \
elif test -f $$tst; then dir=; \
else dir="$(srcdir)/"; fi; \
if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
all=`expr $$all + 1`; \
case " $(XFAIL_TESTS) " in \
*$$ws$$tst$$ws*) \
xpass=`expr $$xpass + 1`; \
failed=`expr $$failed + 1`; \
echo "XPASS: $$tst"; \
;; \
*) \
echo "PASS: $$tst"; \
;; \
esac; \
elif test $$? -ne 77; then \
all=`expr $$all + 1`; \
case " $(XFAIL_TESTS) " in \
*$$ws$$tst$$ws*) \
xfail=`expr $$xfail + 1`; \
echo "XFAIL: $$tst"; \
;; \
*) \
failed=`expr $$failed + 1`; \
echo "FAIL: $$tst"; \
;; \
esac; \
else \
skip=`expr $$skip + 1`; \
echo "SKIP: $$tst"; \
fi; \
done; \
if test "$$failed" -eq 0; then \
if test "$$xfail" -eq 0; then \
banner="All $$all tests passed"; \
else \
banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
fi; \
else \
if test "$$xpass" -eq 0; then \
banner="$$failed of $$all tests failed"; \
else \
banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
fi; \
fi; \
dashes="$$banner"; \
skipped=""; \
if test "$$skip" -ne 0; then \
skipped="($$skip tests were not run)"; \
test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
dashes="$$skipped"; \
fi; \
report=""; \
if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
report="Please report to $(PACKAGE_BUGREPORT)"; \
test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
dashes="$$report"; \
fi; \
dashes=`echo "$$dashes" | sed s/./=/g`; \
echo "$$dashes"; \
echo "$$banner"; \
test -z "$$skipped" || echo "$$skipped"; \
test -z "$$report" || echo "$$report"; \
echo "$$dashes"; \
test "$$failed" -eq 0; \
else :; fi
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
check-am: all-am
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
check: check-am
all-am: Makefile
installdirs:
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-generic clean-libtool mostlyclean-am
distclean: distclean-am
-rm -f Makefile
distclean-am: clean-am distclean-generic distclean-local
dvi: dvi-am
dvi-am:
html: html-am
info: info-am
info-am:
install-data-am:
install-dvi: install-dvi-am
install-exec-am:
install-html: install-html-am
install-info: install-info-am
install-man:
install-pdf: install-pdf-am
install-ps: install-ps-am
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am:
.MAKE: install-am install-strip
.PHONY: all all-am check check-TESTS check-am clean clean-generic \
clean-libtool distclean distclean-generic distclean-libtool \
distclean-local distdir dvi dvi-am html html-am info info-am \
install install-am install-data install-data-am install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am install-man \
install-pdf install-pdf-am install-ps install-ps-am \
install-strip installcheck installcheck-am installdirs \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
uninstall uninstall-am
# Help maintaining config.rpath.
rpathcfg: rpathcfg.sh
top_srcdir=$(srcdir)/../.. srcdir=$(srcdir) \
CONFIG_SHELL='$(SHELL)' \
CC='@CC@' GCC='@GCC@' \
LDFLAGS='@LDFLAGS@' \
LD='@LD@' with_gnu_ld='@with_gnu_ld@' \
host='@host@' \
$(SHELL) $(srcdir)/rpathcfg.sh > rpathcfg 2> rpathcfg.log
# Clean up the intermediate directory created by running the tests.
distclean-local:
rm -rf tstdir
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@@ -0,0 +1,39 @@
# Common portion of all rpath-1* tests.
tmpfiles=""
trap 'rm -fr $tmpfiles' 1 2 3 15
builddir=`pwd`
global_top_auxdir=`cd "$top_srcdir"/build-aux && pwd`
export global_top_auxdir
test -d tstdir || mkdir tstdir
tmpfiles="$tmpfiles $rp-prefix"
rm -rf $rp-prefix
mkdir $rp-prefix
tmpfiles="$tmpfiles tstdir/$rp-build1"
rm -rf tstdir/$rp-build1
mkdir tstdir/$rp-build1
(cd $srcdir/rpathx && tar cf - *) | (cd tstdir/$rp-build1 && tar xf -)
(cd tstdir/$rp-build1
${CONFIG_SHELL-/bin/sh} ./configure $build1_configure_flags --prefix=$builddir/$rp-prefix --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1
make > make.log 2>&1
make install > install.log 2>&1
)
tmpfiles="$tmpfiles tstdir/$rp-build2"
rm -rf tstdir/$rp-build2
mkdir tstdir/$rp-build2
(cd $srcdir/rpathlx && tar cf - *) | (cd tstdir/$rp-build2 && tar xf -)
(cd tstdir/$rp-build2
${CONFIG_SHELL-/bin/sh} ./configure --prefix=$builddir/$rp-prefix --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1
make > make.log 2>&1
make check >> make.log
)
result=$?
rm -rf $tmpfiles
exit $result

View File

@@ -0,0 +1,9 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# Simple case: a static library.
rp=rp1a
build1_configure_flags=--disable-shared
. $srcdir/rpath-1

View File

@@ -0,0 +1,9 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# Simple case: a shared library.
rp=rp1b
build1_configure_flags=
. $srcdir/rpath-1

View File

@@ -0,0 +1,55 @@
# Common portion of all rpath-2?a? tests.
tmpfiles=""
trap 'rm -fr $tmpfiles' 1 2 3 15
builddir=`pwd`
global_top_auxdir=`cd "$top_srcdir"/build-aux && pwd`
export global_top_auxdir
test -d tstdir || mkdir tstdir
tmpfiles="$tmpfiles $rp-prefix"
rm -rf $rp-prefix
mkdir $rp-prefix
tmpfiles="$tmpfiles tstdir/$rp-build1"
rm -rf tstdir/$rp-build1
mkdir tstdir/$rp-build1
(cd $srcdir/rpathx && tar cf - *) | (cd tstdir/$rp-build1 && tar xf -)
(cd tstdir/$rp-build1
${CONFIG_SHELL-/bin/sh} ./configure $build1_configure_flags --prefix=$builddir/$rp-prefix --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1
make > make.log 2>&1
make install > install.log 2>&1
)
if test $remove_la = yes; then
rm -f $rp-prefix/lib/librpathx.la
fi
tmpfiles="$tmpfiles tstdir/$rp-build2"
rm -rf tstdir/$rp-build2
mkdir tstdir/$rp-build2
(cd $srcdir/rpathy && tar cf - *) | (cd tstdir/$rp-build2 && tar xf -)
(cd tstdir/$rp-build2
${CONFIG_SHELL-/bin/sh} ./configure $build2_configure_flags --prefix=$builddir/$rp-prefix --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1
make > make.log 2>&1
make install > install.log 2>&1
)
if test $remove_la = yes; then
rm -f $rp-prefix/lib/librpathy.la
fi
tmpfiles="$tmpfiles tstdir/$rp-build3"
rm -rf tstdir/$rp-build3
mkdir tstdir/$rp-build3
(cd $srcdir/$build3_package && tar cf - *) | (cd tstdir/$rp-build3 && tar xf -)
(cd tstdir/$rp-build3
${CONFIG_SHELL-/bin/sh} ./configure --prefix=$builddir/$rp-prefix --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1
make > make.log 2>&1
make check >> make.log
)
result=$?
rm -rf $tmpfiles
exit $result

View File

@@ -0,0 +1,68 @@
# Common portion of all rpath-2?b? tests.
tmpfiles=""
trap 'rm -fr $tmpfiles' 1 2 3 15
builddir=`pwd`
global_top_auxdir=`cd "$top_srcdir"/build-aux && pwd`
export global_top_auxdir
test -d tstdir || mkdir tstdir
tmpfiles="$tmpfiles $rp-prefix1"
rm -rf $rp-prefix1
mkdir $rp-prefix1
tmpfiles="$tmpfiles $rp-prefix2"
rm -rf $rp-prefix2
mkdir $rp-prefix2
tmpfiles="$tmpfiles $rp-prefix"
rm -rf $rp-prefix
mkdir $rp-prefix
tmpfiles="$tmpfiles tstdir/$rp-build1"
rm -rf tstdir/$rp-build1
mkdir tstdir/$rp-build1
(cd $srcdir/rpathx && tar cf - *) | (cd tstdir/$rp-build1 && tar xf -)
(cd tstdir/$rp-build1
${CONFIG_SHELL-/bin/sh} ./configure $build1_configure_flags --prefix=$builddir/$rp-prefix1 --libdir=$builddir/$rp-prefix1/$LIBDIRSTEM > configure.log 2>&1
make > make.log 2>&1
make install > install.log 2>&1
)
if test $remove_la = yes; then
rm -f $rp-prefix1/lib/librpathx.la
fi
tmpfiles="$tmpfiles tstdir/$rp-build2"
rm -rf tstdir/$rp-build2
mkdir tstdir/$rp-build2
(cd $srcdir/rpathy && tar cf - *) | (cd tstdir/$rp-build2 && tar xf -)
(cd tstdir/$rp-build2
${CONFIG_SHELL-/bin/sh} ./configure $build2_configure_flags --prefix=$builddir/$rp-prefix2 --libdir=$builddir/$rp-prefix2/$LIBDIRSTEM --with-librpathx-prefix=$builddir/$rp-prefix1 > configure.log 2>&1
make > make.log 2>&1
make install > install.log 2>&1
)
if test $remove_la = yes; then
rm -f $rp-prefix2/lib/librpathy.la
fi
tmpfiles="$tmpfiles tstdir/$rp-build3"
rm -rf tstdir/$rp-build3
mkdir tstdir/$rp-build3
(cd $srcdir/$build3_package && tar cf - *) | (cd tstdir/$rp-build3 && tar xf -)
(cd tstdir/$rp-build3
if test $remove_la = yes; then
build3_configure_flags=--with-librpathx-prefix=$builddir/$rp-prefix1
else
build3_configure_flags=
fi
${CONFIG_SHELL-/bin/sh} ./configure --prefix=$builddir/$rp-prefix --libdir=$builddir/$rp-prefix/$LIBDIRSTEM --with-librpathy-prefix=$builddir/$rp-prefix2 $build3_configure_flags > configure.log 2>&1
make > make.log 2>&1
make check >> make.log
)
result=$?
rm -rf $tmpfiles
exit $result

View File

@@ -0,0 +1,12 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a static library depending on a static library.
rp=rp2aaa
build1_configure_flags=--disable-shared
build2_configure_flags=--disable-shared
build3_package=rpathly
remove_la=no
. $srcdir/rpath-2_a

View File

@@ -0,0 +1,12 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a static library depending on a shared library.
rp=rp2aab
build1_configure_flags=
build2_configure_flags=--disable-shared
build3_package=rpathly
remove_la=no
. $srcdir/rpath-2_a

View File

@@ -0,0 +1,12 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a shared library depending on a shared library.
rp=rp2aad
build1_configure_flags=
build2_configure_flags=
build3_package=rpathly
remove_la=no
. $srcdir/rpath-2_a

View File

@@ -0,0 +1,13 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a static library depending on a static library.
# Each library installed with a different prefix.
rp=rp2aba
build1_configure_flags=--disable-shared
build2_configure_flags=--disable-shared
build3_package=rpathly
remove_la=no
. $srcdir/rpath-2_b

View File

@@ -0,0 +1,13 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a static library depending on a shared library.
# Each library installed with a different prefix.
rp=rp2abb
build1_configure_flags=
build2_configure_flags=--disable-shared
build3_package=rpathly
remove_la=no
. $srcdir/rpath-2_b

View File

@@ -0,0 +1,13 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a shared library depending on a shared library.
# Each library installed with a different prefix.
rp=rp2abd
build1_configure_flags=
build2_configure_flags=
build3_package=rpathly
remove_la=no
. $srcdir/rpath-2_b

View File

@@ -0,0 +1,14 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a static library depending on a static library.
# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS
# argument instead.
rp=rp2baa
build1_configure_flags=--disable-shared
build2_configure_flags=--disable-shared
build3_package=rpathlyx
remove_la=yes
. $srcdir/rpath-2_a

View File

@@ -0,0 +1,14 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a static library depending on a shared library.
# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS
# argument instead.
rp=rp2bab
build1_configure_flags=
build2_configure_flags=--disable-shared
build3_package=rpathlyx
remove_la=yes
. $srcdir/rpath-2_a

View File

@@ -0,0 +1,14 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a shared library depending on a shared library.
# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS
# argument instead.
rp=rp2bad
build1_configure_flags=
build2_configure_flags=
build3_package=rpathlyx
remove_la=yes
. $srcdir/rpath-2_a

View File

@@ -0,0 +1,15 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a static library depending on a static library.
# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS
# argument instead.
# Each library installed with a different prefix.
rp=rp2bba
build1_configure_flags=--disable-shared
build2_configure_flags=--disable-shared
build3_package=rpathlyx
remove_la=yes
. $srcdir/rpath-2_b

View File

@@ -0,0 +1,15 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a static library depending on a shared library.
# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS
# argument instead.
# Each library installed with a different prefix.
rp=rp2bbb
build1_configure_flags=
build2_configure_flags=--disable-shared
build3_package=rpathlyx
remove_la=yes
. $srcdir/rpath-2_b

View File

@@ -0,0 +1,15 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a shared library depending on a shared library.
# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS
# argument instead.
# Each library installed with a different prefix.
rp=rp2bbd
build1_configure_flags=
build2_configure_flags=
build3_package=rpathlyx
remove_la=yes
. $srcdir/rpath-2_b

View File

@@ -0,0 +1,68 @@
# Common portion of all rpath-3?a? tests.
tmpfiles=""
trap 'rm -fr $tmpfiles' 1 2 3 15
builddir=`pwd`
global_top_auxdir=`cd "$top_srcdir"/build-aux && pwd`
export global_top_auxdir
test -d tstdir || mkdir tstdir
tmpfiles="$tmpfiles $rp-prefix"
rm -rf $rp-prefix
mkdir $rp-prefix
tmpfiles="$tmpfiles tstdir/$rp-build1"
rm -rf tstdir/$rp-build1
mkdir tstdir/$rp-build1
(cd $srcdir/rpathx && tar cf - *) | (cd tstdir/$rp-build1 && tar xf -)
(cd tstdir/$rp-build1
${CONFIG_SHELL-/bin/sh} ./configure $build1_configure_flags --prefix=$builddir/$rp-prefix --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1
make > make.log 2>&1
make install > install.log 2>&1
)
if test $remove_la = yes; then
rm -f $rp-prefix/lib/librpathx.la
fi
tmpfiles="$tmpfiles tstdir/$rp-build2"
rm -rf tstdir/$rp-build2
mkdir tstdir/$rp-build2
(cd $srcdir/rpathy && tar cf - *) | (cd tstdir/$rp-build2 && tar xf -)
(cd tstdir/$rp-build2
${CONFIG_SHELL-/bin/sh} ./configure $build2_configure_flags --prefix=$builddir/$rp-prefix --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1
make > make.log 2>&1
make install > install.log 2>&1
)
if test $remove_la = yes; then
rm -f $rp-prefix/lib/librpathy.la
fi
tmpfiles="$tmpfiles tstdir/$rp-build3"
rm -rf tstdir/$rp-build3
mkdir tstdir/$rp-build3
(cd $srcdir/rpathz && tar cf - *) | (cd tstdir/$rp-build3 && tar xf -)
(cd tstdir/$rp-build3
${CONFIG_SHELL-/bin/sh} ./configure $build3_configure_flags --prefix=$builddir/$rp-prefix --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1
make > make.log 2>&1
make install > install.log 2>&1
)
if test $remove_la = yes; then
rm -f $rp-prefix/lib/librpathz.la
fi
tmpfiles="$tmpfiles tstdir/$rp-build4"
rm -rf tstdir/$rp-build4
mkdir tstdir/$rp-build4
(cd $srcdir/$build4_package && tar cf - *) | (cd tstdir/$rp-build4 && tar xf -)
(cd tstdir/$rp-build4
${CONFIG_SHELL-/bin/sh} ./configure --prefix=$builddir/$rp-prefix --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1
make > make.log 2>&1
make check >> make.log
)
result=$?
rm -rf $tmpfiles
exit $result

View File

@@ -0,0 +1,85 @@
# Common portion of all rpath-3?b? tests.
tmpfiles=""
trap 'rm -fr $tmpfiles' 1 2 3 15
builddir=`pwd`
global_top_auxdir=`cd "$top_srcdir"/build-aux && pwd`
export global_top_auxdir
test -d tstdir || mkdir tstdir
tmpfiles="$tmpfiles $rp-prefix1"
rm -rf $rp-prefix1
mkdir $rp-prefix1
tmpfiles="$tmpfiles $rp-prefix2"
rm -rf $rp-prefix2
mkdir $rp-prefix2
tmpfiles="$tmpfiles $rp-prefix3"
rm -rf $rp-prefix3
mkdir $rp-prefix3
tmpfiles="$tmpfiles $rp-prefix"
rm -rf $rp-prefix
mkdir $rp-prefix
tmpfiles="$tmpfiles tstdir/$rp-build1"
rm -rf tstdir/$rp-build1
mkdir tstdir/$rp-build1
(cd $srcdir/rpathx && tar cf - *) | (cd tstdir/$rp-build1 && tar xf -)
(cd tstdir/$rp-build1
${CONFIG_SHELL-/bin/sh} ./configure $build1_configure_flags --prefix=$builddir/$rp-prefix1 --libdir=$builddir/$rp-prefix1/$LIBDIRSTEM > configure.log 2>&1
make > make.log 2>&1
make install > install.log 2>&1
)
if test $remove_la = yes; then
rm -f $rp-prefix1/lib/librpathx.la
fi
tmpfiles="$tmpfiles tstdir/$rp-build2"
rm -rf tstdir/$rp-build2
mkdir tstdir/$rp-build2
(cd $srcdir/rpathy && tar cf - *) | (cd tstdir/$rp-build2 && tar xf -)
(cd tstdir/$rp-build2
${CONFIG_SHELL-/bin/sh} ./configure $build2_configure_flags --prefix=$builddir/$rp-prefix2 --libdir=$builddir/$rp-prefix2/$LIBDIRSTEM --with-librpathx-prefix=$builddir/$rp-prefix1 > configure.log 2>&1
make > make.log 2>&1
make install > install.log 2>&1
)
if test $remove_la = yes; then
rm -f $rp-prefix2/lib/librpathy.la
fi
tmpfiles="$tmpfiles tstdir/$rp-build3"
rm -rf tstdir/$rp-build3
mkdir tstdir/$rp-build3
(cd $srcdir/rpathz && tar cf - *) | (cd tstdir/$rp-build3 && tar xf -)
(cd tstdir/$rp-build3
${CONFIG_SHELL-/bin/sh} ./configure $build3_configure_flags --prefix=$builddir/$rp-prefix3 --libdir=$builddir/$rp-prefix3/$LIBDIRSTEM --with-librpathx-prefix=$builddir/$rp-prefix1 --with-librpathy-prefix=$builddir/$rp-prefix2 > configure.log 2>&1
make > make.log 2>&1
make install > install.log 2>&1
)
if test $remove_la = yes; then
rm -f $rp-prefix3/lib/librpathz.la
fi
tmpfiles="$tmpfiles tstdir/$rp-build4"
rm -rf tstdir/$rp-build4
mkdir tstdir/$rp-build4
(cd $srcdir/$build4_package && tar cf - *) | (cd tstdir/$rp-build4 && tar xf -)
(cd tstdir/$rp-build4
if test $remove_la = yes; then
build4_configure_flags="--with-librpathx-prefix=$builddir/$rp-prefix1 --with-librpathy-prefix=$builddir/$rp-prefix2"
else
build4_configure_flags=
fi
${CONFIG_SHELL-/bin/sh} ./configure --prefix=$builddir/$rp-prefix --libdir=$builddir/$rp-prefix/$LIBDIRSTEM --with-librpathz-prefix=$builddir/$rp-prefix3 $build4_configure_flags > configure.log 2>&1
make > make.log 2>&1
make check >> make.log
)
result=$?
rm -rf $tmpfiles
exit $result

View File

@@ -0,0 +1,14 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a static library depending on a static library,
# and a static library depending on both.
rp=rp3aaa
build1_configure_flags=--disable-shared
build2_configure_flags=--disable-shared
build3_configure_flags=--disable-shared
build4_package=rpathlz
remove_la=no
. $srcdir/rpath-3_a

View File

@@ -0,0 +1,14 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a static library depending on a shared library,
# and a static library depending on both.
rp=rp3aab
build1_configure_flags=
build2_configure_flags=--disable-shared
build3_configure_flags=--disable-shared
build4_package=rpathlz
remove_la=no
. $srcdir/rpath-3_a

View File

@@ -0,0 +1,14 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a shared library depending on a shared library,
# and a static library depending on both.
rp=rp3aad
build1_configure_flags=
build2_configure_flags=
build3_configure_flags=--disable-shared
build4_package=rpathlz
remove_la=no
. $srcdir/rpath-3_a

View File

@@ -0,0 +1,14 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a static library depending on a static library,
# and a shared library depending on both.
rp=rp3aae
build1_configure_flags=--disable-shared
build2_configure_flags=--disable-shared
build3_configure_flags=
build4_package=rpathlz
remove_la=no
. $srcdir/rpath-3_a

View File

@@ -0,0 +1,14 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a shared library depending on a static library,
# and a shared library depending on both.
rp=rp3aag
build1_configure_flags=--disable-shared
build2_configure_flags=
build3_configure_flags=
build4_package=rpathlz
remove_la=no
. $srcdir/rpath-3_a

View File

@@ -0,0 +1,14 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a shared library depending on a shared library,
# and a shared library depending on both.
rp=rp3aah
build1_configure_flags=
build2_configure_flags=
build3_configure_flags=
build4_package=rpathlz
remove_la=no
. $srcdir/rpath-3_a

View File

@@ -0,0 +1,15 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a static library depending on a static library,
# and a static library depending on both.
# Each library installed with a different prefix.
rp=rp3aba
build1_configure_flags=--disable-shared
build2_configure_flags=--disable-shared
build3_configure_flags=--disable-shared
build4_package=rpathlz
remove_la=no
. $srcdir/rpath-3_b

View File

@@ -0,0 +1,15 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a static library depending on a shared library,
# and a static library depending on both.
# Each library installed with a different prefix.
rp=rp3abb
build1_configure_flags=
build2_configure_flags=--disable-shared
build3_configure_flags=--disable-shared
build4_package=rpathlz
remove_la=no
. $srcdir/rpath-3_b

View File

@@ -0,0 +1,15 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a shared library depending on a shared library,
# and a static library depending on both.
# Each library installed with a different prefix.
rp=rp3abd
build1_configure_flags=
build2_configure_flags=
build3_configure_flags=--disable-shared
build4_package=rpathlz
remove_la=no
. $srcdir/rpath-3_b

View File

@@ -0,0 +1,15 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a static library depending on a static library,
# and a shared library depending on both.
# Each library installed with a different prefix.
rp=rp3abe
build1_configure_flags=--disable-shared
build2_configure_flags=--disable-shared
build3_configure_flags=
build4_package=rpathlz
remove_la=no
. $srcdir/rpath-3_b

View File

@@ -0,0 +1,15 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a shared library depending on a static library,
# and a shared library depending on both.
# Each library installed with a different prefix.
rp=rp3abg
build1_configure_flags=--disable-shared
build2_configure_flags=
build3_configure_flags=
build4_package=rpathlz
remove_la=no
. $srcdir/rpath-3_b

View File

@@ -0,0 +1,15 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a shared library depending on a shared library,
# and a shared library depending on both.
# Each library installed with a different prefix.
rp=rp3abh
build1_configure_flags=
build2_configure_flags=
build3_configure_flags=
build4_package=rpathlz
remove_la=no
. $srcdir/rpath-3_b

View File

@@ -0,0 +1,16 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a static library depending on a static library,
# and a static library depending on both.
# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS
# argument instead.
rp=rp3baa
build1_configure_flags=--disable-shared
build2_configure_flags=--disable-shared
build3_configure_flags=--disable-shared
build4_package=rpathlzyx
remove_la=yes
. $srcdir/rpath-3_a

View File

@@ -0,0 +1,16 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a static library depending on a shared library,
# and a static library depending on both.
# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS
# argument instead.
rp=rp3bab
build1_configure_flags=
build2_configure_flags=--disable-shared
build3_configure_flags=--disable-shared
build4_package=rpathlzyx
remove_la=yes
. $srcdir/rpath-3_a

View File

@@ -0,0 +1,16 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a shared library depending on a shared library,
# and a static library depending on both.
# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS
# argument instead.
rp=rp3bad
build1_configure_flags=
build2_configure_flags=
build3_configure_flags=--disable-shared
build4_package=rpathlzyx
remove_la=yes
. $srcdir/rpath-3_a

View File

@@ -0,0 +1,16 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a shared library depending on a shared library,
# and a shared library depending on both.
# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS
# argument instead.
rp=rp3bah
build1_configure_flags=
build2_configure_flags=
build3_configure_flags=
build4_package=rpathlzyx
remove_la=yes
. $srcdir/rpath-3_a

View File

@@ -0,0 +1,17 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a static library depending on a static library,
# and a static library depending on both.
# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS
# argument instead.
# Each library installed with a different prefix.
rp=rp3bba
build1_configure_flags=--disable-shared
build2_configure_flags=--disable-shared
build3_configure_flags=--disable-shared
build4_package=rpathlzyx
remove_la=yes
. $srcdir/rpath-3_b

View File

@@ -0,0 +1,17 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a static library depending on a shared library,
# and a static library depending on both.
# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS
# argument instead.
# Each library installed with a different prefix.
rp=rp3bbb
build1_configure_flags=
build2_configure_flags=--disable-shared
build3_configure_flags=--disable-shared
build4_package=rpathlzyx
remove_la=yes
. $srcdir/rpath-3_b

View File

@@ -0,0 +1,17 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a shared library depending on a shared library,
# and a static library depending on both.
# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS
# argument instead.
# Each library installed with a different prefix.
rp=rp3bbd
build1_configure_flags=
build2_configure_flags=
build3_configure_flags=--disable-shared
build4_package=rpathlzyx
remove_la=yes
. $srcdir/rpath-3_b

View File

@@ -0,0 +1,17 @@
#!/bin/sh
# Test config.rpath and AC_LIB_LINKFLAGS macro.
# With dependencies: a shared library depending on a shared library,
# and a shared library depending on both.
# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS
# argument instead.
# Each library installed with a different prefix.
rp=rp3bbh
build1_configure_flags=
build2_configure_flags=
build3_configure_flags=
build4_package=rpathlzyx
remove_la=yes
. $srcdir/rpath-3_b

View File

@@ -0,0 +1,78 @@
Tests for config.rpath and lib-link.m4.
rpath-1 w
|
+---- a = static, b = shared
rpath-2 u v w
| | |
| | +---- a = static/static, b = static/shared,
| | c = shared/static, d = shared/shared.
| |
| +------ a = all libraries and the program have the same prefix,
| b = the libraries are in different directories.
|
+-------- a = all shared libraries use the libtool *.la files for
resolving dependencies, b = dependencies are given as
AC_LIB_LINKFLAGS argument instead.
rpath-3 u v w
| | |
| | +---- a = static/static/static, b = static/static/shared,
| | c = static/shared/static, d = static/shared/shared,
| | e = shared/static/static, f = shared/static/shared,
| | g = shared/shared/static, h = shared/shared/shared.
| |
| +------ a = all libraries and the program have the same prefix,
| b = the libraries are in different directories.
|
+-------- a = all shared libraries use the libtool *.la files for
resolving dependencies, b = dependencies are given as
AC_LIB_LINKFLAGS argument instead.
The rpath-2* tests are sensitive to
- incomplete shared library support in the system,
- bugs in libtool that creates the shared libraries,
- bugs in lib-link.m4.
The rpath-3* tests are sensitive to
- incomplete shared library support in the system,
- bugs in libtool that creates the shared libraries.
Known failures:
* On all platforms supporting shared libraries,
rpath-3aae rpath-3aag
rpath-3abe rpath-3abg
fail. This is a libtool 1.4.2 bug: When a shared library depends on a
static library indirectly through two different dependency paths,
libtool attempts to link together invalid sets of object files.
* OSF/1 4.0: the tests
rpath-2bbd
rpath-3bbd rpath-3bbf rpath-3bbg rpath-3bbh
fail, because -rpath options are not cumulative:
The last -rpath option overrides all previous ones. One would need to
pass all directories, separated by colons, in a single -rpath option.
* On Linux/x86_64: the tests
rpath-2aac rpath-2abc rpath-2bac rpath-2bbc
rpath-3aac rpath-3aaf rpath-3abc rpath-3abf
rpath-3bac rpath-3bae rpath-3baf rpath-3bag
rpath-3bbc rpath-3bbe rpath-3bbf rpath-3bbg
fail, because code from static libraries not compiled with -fPIC cannot
be integrated into shared libraries: linker error about relocations.
* Solaris: the tests
rpath-3bae rpath-3bbe
rpath-3aaf rpath-3abf
rpath-3baf rpath-3bbf
fail, because code from static libraries not compiled with -fPIC cannot
be integrated into shared libraries: linker error "Text relocation remains".
* Cygwin: The tests
rpath-2aac rpath-2abc
rpath-3aac rpath-3aaf
rpath-3abc rpath-3abf
fail.

View File

@@ -0,0 +1,225 @@
#!/bin/sh
# Prints information for maintaining config.rpath.
# The caller should set the environment variables
# top_srcdir, srcdir, CONFIG_SHELL, CC, GCC, LDFLAGS, LD, LIBDIRSTEM, with_gnu_ld, host.
echo "=============== rpathcfg for $host ==============="
echo
echo "--------------- config.rpath output ---------------"
${CONFIG_SHELL-/bin/sh} $srcdir/../config.rpath "$host" | sed -e 's/^acl_cv_//'
echo "--------------- experimentally determined ---------------"
builddir=`pwd`
global_top_auxdir=`cd "$top_srcdir"/build-aux && pwd`
export global_top_auxdir
test -d tstdir || mkdir tstdir
rm -rf tstprefix tstdir/build tstlib
eval `${CONFIG_SHELL-/bin/sh} $srcdir/../config.rpath "$host" | grep '^acl_cv_wl='`
wl="$acl_cv_wl"
# Static library suffix (normally "a").
mkdir tstprefix
mkdir tstdir/build
(cd $srcdir/rpathx && tar cf - *) | (cd tstdir/build && tar xf -)
(cd tstdir/build
${CONFIG_SHELL-/bin/sh} ./configure --disable-shared --prefix=$builddir/tstprefix --libdir=$builddir/tstprefix/${LIBDIRSTEM-lib} > configure.log 2>&1
make > make.log 2>&1
make install > install.log 2>&1
)
rm -rf tstdir/build
libext=
cd tstprefix/lib
for f in *; do
case $f in
*.la) ;;
*[0-9]) ;;
*) libext=`echo $f | sed -e 's/^.*\.//'`;;
esac
if test -n "$libext"; then
break
fi
done
cd ../..
rm -rf tstprefix
# Shared library suffix (normally "so").
mkdir tstprefix
mkdir tstdir/build
(cd $srcdir/rpathx && tar cf - *) | (cd tstdir/build && tar xf -)
(cd tstdir/build
${CONFIG_SHELL-/bin/sh} ./configure --disable-static --prefix=$builddir/tstprefix --libdir=$builddir/tstprefix/${LIBDIRSTEM-lib} > configure.log 2>&1
make > make.log 2>&1
make install > install.log 2>&1
)
rm -rf tstdir/build
shlibext=
cd tstprefix/lib || exit 1
for f in *; do
case $f in
*.la) ;;
*[0-9]) ;;
*) shlibext=`echo $f | sed -e 's/^.*\.//'`;;
esac
if test -n "$shlibext"; then
break
fi
done
cd ../..
rm -rf tstprefix
# Prepare hardcoding tests.
mkdir tstprefix
mkdir tstdir/build
(cd $srcdir/rpathx && tar cf - *) | (cd tstdir/build && tar xf -)
(cd tstdir/build
${CONFIG_SHELL-/bin/sh} ./configure --disable-static --prefix=$builddir/tstprefix --libdir=$builddir/tstprefix/${LIBDIRSTEM-lib} > configure.log 2>&1
make > make.log 2>&1
make install > install.log 2>&1
)
rm -rf tstdir/build
# Flag to hardcode \$libdir into a binary during linking.
# This must work even if \$libdir does not exist.
hardcode_libdir_flag_spec=
for spec in \
'-L$libdir' \
'-R$libdir' \
'-rpath $libdir' '${wl}-rpath ${wl}$libdir' \
'${wl}+b ${wl}$libdir' \
'${wl}-R $libdir:/usr/lib:/lib' \
'${wl}-blibpath:$libdir:/usr/lib:/lib' \
'${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' \
; do
mv tstprefix/lib tstlib
libdir=`pwd`/tstprefix/lib
eval flag=\"$spec\"
echo 1>&2
echo "$CC $LDFLAGS $srcdir/rpathlx/usex.c tstlib/librpathx.$shlibext $flag -o a.out" 1>&2
$CC $LDFLAGS $srcdir/rpathlx/usex.c tstlib/librpathx.$shlibext $flag -o a.out
if test $? = 0; then
mv tstlib tstprefix/lib
echo "ok, running created a.out." 1>&2
if ./a.out; then
hardcode_libdir_flag_spec="$hardcode_libdir_flag_spec$spec
"
fi
else
mv tstlib tstprefix/lib
fi
rm -f a.out
done
# Whether we need a single -rpath flag with a separated argument.
hardcode_libdir_separator=
if test -n "$hardcode_libdir_flag_spec"; then
spec=`echo "$hardcode_libdir_flag_spec" | sed -e '2,$d'`
# Try with multiple -rpath flags.
mv tstprefix/lib tstlib
libdir=`pwd`/tstprefix/lib
eval flag1=\"$spec\"
libdir=/tmp
eval flag2=\"$spec\"
echo 1>&2
echo "$CC $LDFLAGS $srcdir/rpathlx/usex.c tstlib/librpathx.$shlibext $flag1 $flag2 -o a.out" 1>&2
$CC $LDFLAGS $srcdir/rpathlx/usex.c tstlib/librpathx.$shlibext $flag1 $flag2 -o a.out
if test $? = 0; then
mv tstlib tstprefix/lib
echo "ok, running created a.out." 1>&2
if ./a.out; then
hardcode_libdir_separator=NONE
fi
else
mv tstlib tstprefix/lib
fi
rm -f a.out
if test -z "$hardcode_libdir_separator"; then
# Try with a single -rpath flag.
mv tstprefix/lib tstlib
libdir=`pwd`/tstprefix/lib:/tmp
eval flag=\"$spec\"
echo 1>&2
echo "$CC $LDFLAGS $srcdir/rpathlx/usex.c tstlib/librpathx.$shlibext $flag -o a.out" 1>&2
$CC $LDFLAGS $srcdir/rpathlx/usex.c tstlib/librpathx.$shlibext $flag -o a.out
if test $? = 0; then
mv tstlib tstprefix/lib
echo "ok, running created a.out." 1>&2
if ./a.out; then
hardcode_libdir_separator=:
fi
else
mv tstlib tstprefix/lib
fi
rm -f a.out
fi
if test -z "$hardcode_libdir_separator"; then
echo "hardcode_libdir_separator test failed!" 1>&2
else
if test "$hardcode_libdir_separator" = NONE; then
hardcode_libdir_separator=
fi
fi
fi
# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
# resulting binary.
hardcode_direct=no
echo 1>&2
echo "$CC $LDFLAGS $srcdir/rpathlx/usex.c tstprefix/lib/librpathx.$shlibext -o a.out" 1>&2
$CC $LDFLAGS $srcdir/rpathlx/usex.c tstprefix/lib/librpathx.$shlibext -o a.out
if test $? = 0; then
echo "ok, running created a.out." 1>&2
if ./a.out; then
hardcode_direct=yes
fi
fi
rm -f a.out
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
# resulting binary.
hardcode_minus_L=no
echo 1>&2
echo "$CC $LDFLAGS $srcdir/rpathlx/usex.c -Ltstprefix/lib -lrpathx -o a.out" 1>&2
$CC $LDFLAGS $srcdir/rpathlx/usex.c -Ltstprefix/lib -lrpathx -o a.out
if test $? = 0; then
echo "ok, running created a.out." 1>&2
if ./a.out; then
hardcode_minus_L=yes
fi
fi
rm -f a.out
# Clean up.
rm -rf tstprefix tstdir
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
escaped_sys_lib_search_path_spec=`echo "X$sys_lib_search_path_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
escaped_sys_lib_dlsearch_path_spec=`echo "X$sys_lib_dlsearch_path_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
cat <<EOF
# Static library suffix (normally "a").
libext="$libext"
# Shared library suffix (normally "so").
shlibext="$shlibext"
# Flag to hardcode \$libdir into a binary during linking.
# This must work even if \$libdir does not exist.
hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"
# Whether we need a single -rpath flag with a separated argument.
hardcode_libdir_separator="$hardcode_libdir_separator"
# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
# resulting binary.
hardcode_direct="$hardcode_direct"
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
# resulting binary.
hardcode_minus_L="$hardcode_minus_L"
EOF

View File

@@ -0,0 +1,7 @@
AUTOMAKE_OPTIONS = 1.5 foreign no-dependencies
bin_PROGRAMS = usex
usex_SOURCES = usex.c
LDADD = @LIBRPATHX@
check: all
./usex

Some files were not shown because too many files have changed in this diff Show More