debian/0000755000000000000000000000000012212404145007161 5ustar debian/dopewars-data.install0000644000000000000000000000010412212374611013303 0ustar usr/share/doc usr/share/dopewars usr/share/locale usr/share/pixmaps debian/patches/0000755000000000000000000000000012212374611010614 5ustar debian/patches/doc_dopewars.6.in.patch0000644000000000000000000000104612212374611015060 0ustar Description: Correct the path to the score file in the manpage. Author: Dean Evans Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642073 --- a/doc/dopewars.6.in +++ b/doc/dopewars.6.in @@ -23,7 +23,7 @@ original version. .TP \fB\-f\fR, \fB\-\-scorefile\fR=\fIFILE\fR -Specify a file to use as high score table (defaults to @DPDATADIR@/dopewars.sco) +Specify a file to use as high score table (defaults to /var/games/dopewars.sco) .TP \fB\-o\fR, \fB\-\-hostname\fR=\fIADDR\fR Specify a multiplayer hostname debian/patches/src_gtkport_gtkport.c_format.patch0000644000000000000000000000121212212374611017535 0ustar Description: Fix formatting so it can build cleanly with -Werror=format-security set. Author: Julian Taylor --- a/src/gtkport/gtkport.c +++ b/src/gtkport/gtkport.c @@ -5636,7 +5636,7 @@ dialog = gtk_message_dialog_new(GTK_WINDOW(parent), GTK_DIALOG_MODAL, - type, buttons, Text); + type, buttons, "%s", Text); if (Title) gtk_window_set_title(GTK_WINDOW(dialog), Title); retval = gtk_dialog_run(GTK_DIALOG(dialog)); debian/patches/po_de.po.patch0000644000000000000000000030411412212374611013343 0ustar Description: Patch to update the translations in po/de.po. Origin: other --- a/po/de.po +++ b/po/de.po @@ -1,17 +1,17 @@ # German translation for dopewars # Copyright (C) 2000 Free Software Foundation, Inc. -# Created by Ben Webb , Sep 2000, based on -# Eric Steiner' translated dopewars client - For translation Errors mail me at eric_st@aon.at or fix the Code yourself -# Fixed Grammatical Errors and other Stuff on Tobias Mathes tobi@ideenpark.de Translation -# So this is based on his translation but i corrected Grammar Bugs and added new Translations to the File -# This is still far away from done, guess there are lots of bugs still in it, you are encouraged to fix it ;-) +# Created by Ben Webb , Sep 2000, based on "Drug Wars" by John E. Dell. +# Translation by Benjamin Karaca , 04/2006. +# This translation is based on the translations by Eric Steiner . +# and Tobias Mathes . It's quite some text to edit. Probably there are still lots of mistakes in it. +# Some passages are still not fully translated. msgid "" msgstr "" "Project-Id-Version: dopewars-1.5.3\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-12-30 13:30-0800\n" "PO-Revision-Date: 2001-04-08 15:48+0100\n" -"Last-Translator: Eric Steiner \n" +"Last-Translator: Benjamin Karaca \n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" @@ -70,30 +70,30 @@ #: src/dopewars.c:196 msgid "Dan's House of Guns" -msgstr "Otto's Haus der Waffen" +msgstr "Dan's Haus der Waffen" #: src/dopewars.c:196 msgid "the pub" -msgstr "den Irish Pub" +msgstr "die Kneipe" #. The following strings are the helptexts for all the options that can #. * be set in a dopewars configuration file, or in the server. See #. * doc/configfile.html for more detailed explanations. #: src/dopewars.c:236 msgid "Network port to connect to" -msgstr "Netzwerk-Port" +msgstr "Netzwerk-Port zu dem verbunden werden soll" #: src/dopewars.c:239 msgid "Name of the high score file" -msgstr "Name der Highscore Datei" +msgstr "Name der Highscore-Datei" #: src/dopewars.c:242 msgid "Name of the server to connect to" -msgstr "Verbinde zu Server [Name]" +msgstr "Server zu dem verbunden werden soll" #: src/dopewars.c:245 msgid "Server's welcome message of the day" -msgstr "" +msgstr "Begrüßungsnachricht (MOTD) des Servers" #: src/dopewars.c:248 msgid "Network address for the server to listen on" @@ -101,119 +101,119 @@ #: src/dopewars.c:252 msgid "TRUE if a SOCKS server should be used for networking" -msgstr "" +msgstr "TRUE, wenn ein SOCKS-Server für das Netzwerkspiel genutzt werden soll" #: src/dopewars.c:256 msgid "TRUE if numeric user IDs should be used for SOCKS4" -msgstr "" +msgstr "TRUE, wenn numerische Benutzer-IDs für SOCKS4 benutzt werden sollen" #: src/dopewars.c:260 msgid "If not blank, the username to use for SOCKS4" -msgstr "Leer lassen wenn kein Benutzername für SOCKS4 benutzt wird" +msgstr "Der Benutzername für SOCKS4, wenn nicht leer" #: src/dopewars.c:263 msgid "The hostname of a SOCKS server to use" -msgstr "Der Rechnername des SOCKS Server" +msgstr "Der Hostname eines SOCKS-Servers, der benutzt werden soll" #: src/dopewars.c:266 msgid "The port number of a SOCKS server to use" -msgstr "Die Port Adresse des SOCKS Server" +msgstr "Die Port-Adresse eines SOCKS-Servers, der benutzt werden soll" #: src/dopewars.c:269 msgid "The version of the SOCKS protocol to use (4 or 5)" -msgstr "Die Version des SOCKS Protokolls (4 oder 5)" +msgstr "Die Version des zu verwendenden SOCKS-Protokolls (4 oder 5)" #: src/dopewars.c:272 msgid "Username for SOCKS5 authentication" -msgstr "Benutzername SOCKS5 Authentifizierung" +msgstr "Benutzername für die Bestätigung von SOCKS5" #: src/dopewars.c:275 msgid "Password for SOCKS5 authentication" -msgstr "Passwort SOCKS5 Authentifizierung" +msgstr "Passwort für die Bestätigung von SOCKS5" #: src/dopewars.c:278 msgid "TRUE if server should report to a metaserver" -msgstr "\"TRUE\" = Lokaler Server meldet sich beim MetaServer an." +msgstr "TRUE wenn der Server bei einem MetaServer Meldung erstatten soll" #: src/dopewars.c:281 msgid "Metaserver name to report/get server details to/from" -msgstr "Metaserver Name um Server Details zu senden/erhalten" +msgstr "Name des Metaservers, zu/von dem Server-Details gesendet/erhalten werden sollen" #: src/dopewars.c:284 msgid "Port for metaserver communication" -msgstr "Port für MetaServer Kommunikation" +msgstr "Port für Metaserver-Kommunikation" #: src/dopewars.c:287 msgid "Name of a proxy for metaserver communication" -msgstr "Proxyname für Metaserver Kommunikation" +msgstr "Proxyname für Metaserver-Kommunikation" #: src/dopewars.c:290 msgid "Port for communicating with the proxy server" -msgstr "Port für die Kommunikation mit dem Proxy" +msgstr "Port für die Kommunikation mit dem Proxyserver" #: src/dopewars.c:293 msgid "Path of the script on the metaserver" -msgstr "Pfad des CGI-Skriptes auf dem MetaServer" +msgstr "Pfad des Skriptes auf dem Metaserver" #: src/dopewars.c:296 msgid "Preferred hostname of your server machine" -msgstr "Bevorzugter ServerName" +msgstr "Bevorzugter Hostname deines Servers" #: src/dopewars.c:299 msgid "Authentication for LocalName with the metaserver" -msgstr "Authentifizierung für LocalName mit MetaServer" +msgstr "Bestätigung für LocalName mit dem Metaserver" #: src/dopewars.c:302 msgid "Server description, reported to the metaserver" -msgstr "Server Beschreibung, die an den Metaserver gemeldet wird" +msgstr "Server-Beschreibung, die an den Metaserver gemeldet wird" #: src/dopewars.c:305 msgid "If TRUE, use SOCKS for metaserver communication" -msgstr "TRUE = Socks für Metaserver Kommunikation benutzen" +msgstr "TRUE, wenn SOCKS für die Kommunikation mit dem Metaserver benutzt werden sollen" #: src/dopewars.c:308 msgid "Username for HTTP Basic authentication" -msgstr "Benutzername für HTTP Basis Authentifizierung" +msgstr "Benutzername für HTTP-Basis-Bestätigung" #: src/dopewars.c:312 msgid "Password for HTTP Basic authentication" -msgstr "Passwort für HTTP Basis Authentifizierung" +msgstr "Passwort für HTTP-Basis-Bestätigung" #: src/dopewars.c:315 msgid "Username for HTTP Basic proxy authentication" -msgstr "Benutzername für HTTP Basis Proxy Authentifizierung" +msgstr "Benutzername für HTTP-Basis-Proxy-Bestätigung" #: src/dopewars.c:319 msgid "Password for HTTP Basic proxy authentication" -msgstr "Passwort für HTTP Basis Proxy Authentifizierung" +msgstr "Passwort für HTTP-Basis-Proxy-Bestätigung" #: src/dopewars.c:324 msgid "If TRUE, the server minimizes to the System Tray" -msgstr "Wenn TRUE minimiert der Server in der Taskleiste" +msgstr "Wenn TRUE wird der Server zur Taskleiste minimiert" #: src/dopewars.c:328 msgid "If TRUE, the server runs in the background" -msgstr "TRUE = Server läuft im Hintergrund" +msgstr "Wenn TRUE läuft der Server im Hintergrund" #: src/dopewars.c:331 msgid "The command used to start your web browser" -msgstr "Das Kommando zum Starten Ihres Web Browsers" +msgstr "Das Kommando, welches zum Starten deines Web-Browsers benutzt wird" #: src/dopewars.c:335 msgid "No. of game turns (if 0, game never ends)" -msgstr "Anzahl der Spielrunden (0 = unendlich)" +msgstr "Anzahl der Spielrunden (0 = unbegrenzt)" #: src/dopewars.c:338 msgid "Day of the month on which the game starts" -msgstr "Tag des Monats an dem das Spiel startet" +msgstr "Tag des Monats an dem das Spiel beginnt" #: src/dopewars.c:341 msgid "Month in which the game starts" -msgstr "Monat in dem das Spiel startet" +msgstr "Monat in dem das Spiel beginnt" #: src/dopewars.c:344 msgid "Year in which the game starts" -msgstr "Jahr in dem das Spiel starten" +msgstr "Jahr in dem das Spiel beginnt" #: src/dopewars.c:347 msgid "The currency symbol (e.g. $)" @@ -221,27 +221,27 @@ #: src/dopewars.c:350 msgid "If TRUE, the currency symbol precedes prices" -msgstr "Wenn TRUE Währungssymbol dem Preis voranstellen" +msgstr "Wenn TRUE wird das Währungssymbol dem Preis vorangestellt" #: src/dopewars.c:353 msgid "File to write log messages to" -msgstr "Dateiname in welche die Logs geschrieben werden sollen" +msgstr "Datei in welche die Log-Nachrichten geschrieben werden sollen" #: src/dopewars.c:356 msgid "Controls the number of log messages produced" -msgstr "Kontrolliert die Anzahl der erzeugten Log Nachrichten" +msgstr "Kontrolliert die Anzahl der erzeugten Log-Nachrichten" #: src/dopewars.c:359 msgid "strftime() format string for log timestamps" -msgstr "" +msgstr "strftime() Format-String für Zeitstempel in den Log-Nachrichten" #: src/dopewars.c:362 msgid "Random events are sanitized" -msgstr "Zufallsereignisse" +msgstr "Zufallsereignisse sind entschärft" #: src/dopewars.c:365 msgid "TRUE if the value of bought drugs should be saved" -msgstr "Wenn TRUE Wert der gekauften Drogen speichern" +msgstr "TRUE wenn der Wert gekaufter Drogen gespeichert werden soll" #: src/dopewars.c:368 msgid "Be verbose in processing config file" @@ -265,27 +265,27 @@ #: src/dopewars.c:387 msgid "Location of the Loan Shark" -msgstr "Aufenthaltsort des Kredithais" +msgstr "Position des Kredithais" #: src/dopewars.c:389 msgid "Location of the bank" -msgstr "Aufenthaltsort der Bank" +msgstr "Position der Bank" #: src/dopewars.c:392 msgid "Location of the gun shop" -msgstr "Aufenthaltsort des Waffenladens" +msgstr "Position des Waffenladens" #: src/dopewars.c:395 msgid "Location of the pub" -msgstr "Aufenthaltsort des Pubs" +msgstr "Position des Pubs" #: src/dopewars.c:398 msgid "Daily interest rate on the loan shark debt" -msgstr "Täglicher Zins Satz ihres Kredites" +msgstr "Täglicher Zinssatz beim Kredithai" #: src/dopewars.c:401 msgid "Daily interest rate on your bank balance" -msgstr "Täglicher Zins Satz ihres Bankguthabens" +msgstr "Täglicher Zinssatz deines Bankguthabens" #: src/dopewars.c:404 msgid "Name of the loan shark" @@ -305,87 +305,87 @@ #: src/dopewars.c:412 msgid "TRUE if sounds should be enabled" -msgstr "Wenn TRUE Sounds aktiviert" +msgstr "TRUE wenn Sounds aktiviert werden sollen" #: src/dopewars.c:415 msgid "Sound file played for a gun \"hit\"" -msgstr "Sound Datei TREFFER" +msgstr "Sound-Datei für einen Treffer" #: src/dopewars.c:418 msgid "Sound file played for a gun \"miss\"" -msgstr "Sound Datei MISSLUNGENDER SCHUSS" +msgstr "Sound-Datei für einen verfehlten Schuss" #: src/dopewars.c:421 msgid "Sound file played when guns are reloaded" -msgstr "Sound Datei NACHLADEN" +msgstr "Sound-Datei für das Nachladen einer Waffe" #: src/dopewars.c:424 msgid "Sound file played when an enemy bitch/deputy is killed" -msgstr "Sound Datei wenn feindl. Hure/Deputy getötet wurde" +msgstr "Sound-Datei für das Ableben einer/s feindlichen Hure/Hilfssheriffs" #: src/dopewars.c:427 msgid "Sound file played when one of your bitches is killed" -msgstr "Sound Datei wenn eigene Hure getötet wurde" +msgstr "Sound-Datei für das Ableben einer eigenen Hure" #: src/dopewars.c:430 msgid "Sound file played when another player or cop is killed" -msgstr "Sound Datei wenn anderer Spieler oder Cop getötet wird" +msgstr "Sound-Datei für das Ableben eines anderen Spielers oder Polizisten" #: src/dopewars.c:433 msgid "Sound file played when you are killed" -msgstr "Sound Datei wenn Spieler getötet wird" +msgstr "Sound-Datei für DEIN Ableben" #: src/dopewars.c:436 msgid "Sound file played when a player tries to escape, but fails" -msgstr "Sound Datei ERFOLGLOSE FLUCHT eines Spielers" +msgstr "Sound-Datei für eine erfolglose Flucht eines anderen Spielers" #: src/dopewars.c:439 msgid "Sound file played when you try to escape, but fail" -msgstr "Sound Datei ERFOLGLOSE FLUCHT des Spielers" +msgstr "Sound-Datei für eine erfolglose Flucht von dir" #: src/dopewars.c:442 msgid "Sound file played when a player successfully escapes" -msgstr "Sound Datei ERFOLGREICHE FLUCHT eines Spielers" +msgstr "Sound-Datei für eine gelungene Flucht eines anderen Spielers" #: src/dopewars.c:445 msgid "Sound file played when you successfully escape" -msgstr "Sound Datei ERFOLGREICHE FLUCHT des Spielers" +msgstr "Sound-Datei für eine gelungene Flucht von dir" #: src/dopewars.c:448 msgid "Sound file played on arriving at a new location" -msgstr "Sound Datei ANKUNFT NEUER ORT" +msgstr "Sound-Datei für die Ankunft an einem neuen Ort" #: src/dopewars.c:451 msgid "Sound file played when a player sends a public chat message" -msgstr "Sound Datei ÖFFENTLICHE CHAT NACHRICHT" +msgstr "Sound-Datei für eine Öffentliche Chat-Nachricht" #: src/dopewars.c:454 msgid "Sound file played when a player sends a private chat message" -msgstr "Sound Datei PRIVATE CHAT NACHRICHT" +msgstr "Sound-Datei für eine private Chat-Nachricht" #: src/dopewars.c:457 msgid "Sound file played when a player joins the game" -msgstr "Sound Datei SPIELER BEITRITT" +msgstr "Sound-Datei für den Beitritt eines Spielers zu einem Spiel" #: src/dopewars.c:460 msgid "Sound file played when a player leaves the game" -msgstr "Sound Datei SPIELER AUSSTIEG" +msgstr "Sound-Datei für den Ausstieg eines Spielers aus einem Spiel" #: src/dopewars.c:463 msgid "Sound file played at the start of the game" -msgstr "Sound Datei SPIELSTART" +msgstr "Sound-Datei für den Start des Spieles" #: src/dopewars.c:466 msgid "Sound file played at the end of the game" -msgstr "Sound Datei SPIEL ENDE" +msgstr "Sound-Datei für das Ende des Spieles" #: src/dopewars.c:469 msgid "Sort key for listing available drugs" -msgstr "Taste für Auflistung vorhandener Drogen" +msgstr "Taste für das Sortieren der Liste der vorhandenen Drogen" #: src/dopewars.c:472 msgid "No. of seconds in which to return fire" -msgstr "Sekundenanzahl für Erwiedern des Feuers" +msgstr "Sekundenanzahl in denen zurückgeschossen werden muss" #: src/dopewars.c:475 msgid "Players are disconnected after this many seconds" @@ -397,83 +397,83 @@ #: src/dopewars.c:481 msgid "Maximum number of TCP/IP connections" -msgstr "Maximale Anzahl der TCP/IP Verbindungen" +msgstr "Maximale Anzahl der TCP/IP-Verbindungen" #: src/dopewars.c:484 msgid "Seconds between turns of AI players" -msgstr "Rundenabstand in Sekunden für KI Spieler" +msgstr "Sekundenanzahl zwischen den Runden der KI-Spieler" #: src/dopewars.c:487 msgid "Amount of cash that each player starts with" -msgstr "Startkapital der Spieler" +msgstr "Startkapital der einzelnen Spieler" #: src/dopewars.c:490 msgid "Amount of debt that each player starts with" -msgstr "Anfangsschulden der Spieler" +msgstr "Startschulden der einzelnen Spieler" #: src/dopewars.c:493 msgid "Name of each location" -msgstr "Namen der Orte" +msgstr "Namen der einzelnen Orte" #: src/dopewars.c:497 msgid "Police presence at each location (%)" -msgstr "Polizeipräsenz (Orte) (%)" +msgstr "Polizeipräsenz an den einzelnen Orten (%)" #: src/dopewars.c:501 msgid "Minimum number of drugs at each location" -msgstr "Mindest Anzahl der Drogen an jedem Ort" +msgstr "Mindestanzahl an Drogen an jedem Ort" #: src/dopewars.c:505 msgid "Maximum number of drugs at each location" -msgstr "Maximal Anzahl der Drogen an jedem Ort" +msgstr "Maximale Anzahl an Drogen an jedem Ort" #: src/dopewars.c:509 msgid "% resistance to gunshots of each player" -msgstr "% Treffer Wiederstandsfähigkeit der Spieler" +msgstr "% Trefferresistenz jedes Spielers" #: src/dopewars.c:512 msgid "% resistance to gunshots of each bitch" -msgstr "% Treffer Wiederstandsfähigkeit der Huren" +msgstr "% Trefferresistenz jeder Huren" #: src/dopewars.c:515 msgid "Name of each cop" -msgstr "Name der Polizisten" +msgstr "Namen der einzelnen Polizisten" #: src/dopewars.c:519 msgid "Name of each cop's deputy" -msgstr "Name des Deputies" +msgstr "Name des Hilfssheriffs jedes einzelnen Polizisten" #: src/dopewars.c:523 msgid "Name of each cop's deputies" -msgstr "Name der Deputies" +msgstr "Name der Hilfssheriffs jedes einzelnen Polizisten" #: src/dopewars.c:527 msgid "% resistance to gunshots of each cop" -msgstr "% Treffer Wiederstandsfähigkeit jedes Polizisten" +msgstr "% Trefferresistenz jedes Polizisten" #: src/dopewars.c:531 msgid "% resistance to gunshots of each deputy" -msgstr "% Treffer Wiederstandsfähigkeit jedes Deputies" +msgstr "% Trefferresistenz jedes Hilfssheriffs" #: src/dopewars.c:535 msgid "Attack penalty relative to a player" -msgstr "Angriffsstrafe im Verhältnis zu einem Spieler" +msgstr "Angriffserschwernis im Verhältnis zu einem Spieler" #: src/dopewars.c:539 msgid "Defend penalty relative to a player" -msgstr "Verteidigungsstrafe im Verhältnis zu einem Spieler" +msgstr "Verteidigungserschwernis im Verhältnis zu einem Spieler" #: src/dopewars.c:543 msgid "Minimum number of accompanying deputies" -msgstr "Minimale Anzahl der begleitenden Deputies" +msgstr "Minimale Anzahl der begleitenden Hilfssheriffs" #: src/dopewars.c:547 msgid "Maximum number of accompanying deputies" -msgstr "Maximale Anzahl der begleitenden Deputies" +msgstr "Maximale Anzahl der begleitenden Hilfssheriffs" #: src/dopewars.c:551 msgid "Zero-based index of the gun that cops are armed with" -msgstr "" +msgstr "Index der Waffe mit der Polizisten bewaffnet sind (Null-basiert)" #: src/dopewars.c:555 msgid "Number of guns that each cop carries" @@ -481,7 +481,7 @@ #: src/dopewars.c:559 msgid "Number of guns that each deputy carries" -msgstr "Anzahl der Waffen die jeder Deputie trägt" +msgstr "Anzahl der Waffen die jeder Hilfssheriff trägt" #: src/dopewars.c:563 msgid "Name of each drug" @@ -489,36 +489,32 @@ #: src/dopewars.c:567 msgid "Minimum normal price of each drug" -msgstr "Mindest Standard Preis jeder Droge" +msgstr "Minimaler Standardpreis jeder Droge" #: src/dopewars.c:571 msgid "Maximum normal price of each drug" -msgstr "Maximal Standard Preis jeder Droge" +msgstr "Maximaler Standardpreis jeder Droge" #: src/dopewars.c:575 msgid "TRUE if this drug can be specially cheap" -msgstr "TRUE wenn diese Droge extrem billig sein darf" +msgstr "TRUE wenn diese Droge extrem billig sein kann" #: src/dopewars.c:579 msgid "TRUE if this drug can be specially expensive" -msgstr "TRUE wenn diese Droge extrem teuer sein darf" +msgstr "TRUE wenn diese Droge extrem teuer sein kann" #: src/dopewars.c:583 msgid "Message displayed when this drug is specially cheap" -msgstr "" -"Nachricht die angezeigt wird wenn diese Droge besonders billig erhältlich ist" +msgstr "Nachricht die angezeigt wird wenn diese Droge extrem billig ist" #: src/dopewars.c:587 src/dopewars.c:590 #, c-format msgid "Format string used for expensive drugs 50% of time" -msgstr "" -"Format String der für teure Drogen mit 50%iger Wahrscheinlichkeit benutzt " -"wird" +msgstr "Format-String der mit 50%-iger Wahrscheinlichkeit für teure Drogen benutzt wird " #: src/dopewars.c:593 msgid "Divider for drug price when it's specially cheap" -msgstr "" -"Teiler der für den Drogenpreis benutzt wird wenn dieser besonders billig ist" +msgstr "Teiler der für den Drogenpreis benutzt wird wenn dieser extrem billig ist" #: src/dopewars.c:597 msgid "Multiplier for specially expensive drug prices" @@ -546,63 +542,59 @@ #: src/dopewars.c:619 msgid "Word used to denote two or more \"bitches\"" -msgstr "Wie sollen 2 oder mehrere Huren bezeichnet werden?" +msgstr "Wie sollen zwei oder mehrere Huren bezeichnet werden?" #: src/dopewars.c:622 msgid "Word used to denote a single gun or equivalent" -msgstr "Wie soll eine einzelne oder gleichwertige Waffe bezeichnet werden?" +msgstr "Wie soll eine einzelne Waffe oder Ähnliches bezeichnet werden?" #: src/dopewars.c:625 msgid "Word used to denote two or more guns" -msgstr "Wie sollen 2 oder mehrere Waffen bezeichnet werden?" +msgstr "Wie sollen zwei oder mehrere Waffen bezeichnet werden?" #: src/dopewars.c:628 msgid "Word used to denote a single drug or equivalent" -msgstr "Wie soll eine einzelne oder gleichwertige Droge bezeichnet werden?" +msgstr "Wie soll eine einzelne Droge oder Ähnliches bezeichnet werden?" #: src/dopewars.c:631 msgid "Word used to denote two or more drugs" -msgstr "Wie sollen 2 oder mehrere Drogen bezeichnet werden?" +msgstr "Wie sollen zwei oder mehrere Drogen bezeichnet werden?" #: src/dopewars.c:634 msgid "strftime() format string for displaying the game turn" -msgstr "strftime() Format String um den Spiel Zug anzuzeigen" +msgstr "strftime() Format-String für das Anzeigen der Spielrunden" #: src/dopewars.c:637 msgid "Cost for a bitch to spy on the enemy" -msgstr "Geldbetrag den eine Hure verlangt damit sie demFeind nachspioniert" +msgstr "Kosten für das Ausspionieren eines Feindes mit einer Hure" #: src/dopewars.c:640 msgid "Cost for a bitch to tipoff the cops to an enemy" -msgstr "" -"Geldbetrag den eine Hure verlangt um die Polizei auf einen Feind aufmerksam " -"zu machen" +msgstr "Kosten um einen Spieler mit Hilfe einer Hure an die Polizei zu verraten" #: src/dopewars.c:643 msgid "Minimum price to hire a bitch" -msgstr "" -"Minimaler Geldbetrag den eine Hure verlangt um angeheuert werden zu können" +msgstr "Minimaler Geldbetrag für das Anheuern einer Hure" #: src/dopewars.c:646 msgid "Maximum price to hire a bitch" -msgstr "" -"Maximaler Geldbetrag den eine Hure verlangt um angeheuert werden zu können" +msgstr "Minimaler Geldbetrag fuer das Anheuern einer Hure" #: src/dopewars.c:649 msgid "List of things which you overhear on the subway" -msgstr "Liste der U-Bahn Ansagen" +msgstr "Liste der Dinge die du in der U-Bahn aufschnappen kannst" #: src/dopewars.c:652 msgid "Number of subway sayings" -msgstr "Anzahl der U-Bahn Ansagen" +msgstr "Anzahl der Dinge" #: src/dopewars.c:655 msgid "List of songs which you can hear playing" -msgstr "Liste der Lieder die Du hören kannst" +msgstr "Liste der Lieder die du spielen hören kannst" #: src/dopewars.c:658 msgid "Number of playing songs" -msgstr "Anzahl der spielbaren Lieder" +msgstr "Anzahl der Lieder" #: src/dopewars.c:661 msgid "List of things which you can stop to do" @@ -629,7 +621,7 @@ #: src/dopewars.c:677 msgid "`Commercial` by Spanky and Our Gang" -msgstr "" +msgstr "`Commercial` von Spanky and Our Gang" #: src/dopewars.c:678 msgid "`Late in the Evening` by Paul Simon" @@ -661,15 +653,15 @@ #: src/dopewars.c:685 msgid "`White Punks on Dope` by the Tubes" -msgstr "`White Punks on Dope` von den Tubes" +msgstr "`White Punks on Dope` von the Tubes" #: src/dopewars.c:686 msgid "`Legend of a Mind` by the Moody Blues" -msgstr "`Legend of a Mind` von Moody Blues" +msgstr "`Legend of a Mind` von the Moody Blues" #: src/dopewars.c:687 msgid "`Eight Miles High` by the Byrds" -msgstr "`Eight Miles High` von den Byrds" +msgstr "`Eight Miles High` von the Byrds" #: src/dopewars.c:688 msgid "`Acapulco Gold` by Riders of the Purple Sage" @@ -677,11 +669,11 @@ #: src/dopewars.c:689 msgid "`Kicks` by Paul Revere & the Raiders" -msgstr "`Kicks` von Paul Revere & den Raiders" +msgstr "`Kicks` von Paul Revere & the Raiders" #: src/dopewars.c:690 msgid "the Nixon tapes" -msgstr "" +msgstr "Die Nixon-Kassetten" #: src/dopewars.c:691 msgid "`Legalize It` by Mojo Nixon & Skid Roper" @@ -693,47 +685,47 @@ #. * to %s." to see how these strings are used. #: src/dopewars.c:700 msgid "have a beer" -msgstr "dein Bier zu trinken" +msgstr "ein schönes, kaltes Bier zu trinken" #: src/dopewars.c:701 msgid "smoke a joint" -msgstr "den Joint zu rauchen" +msgstr "einen Joint zu rauchen" #: src/dopewars.c:702 msgid "smoke a cigar" -msgstr "deine Zigarre zu rauchen" +msgstr "eine dicke Zigarre zu rauchen" #: src/dopewars.c:703 msgid "smoke a Djarum" -msgstr "deine Bong zu rauchen" +msgstr "eine Bong zu rauchen" #: src/dopewars.c:704 msgid "smoke a cigarette" -msgstr "deine Zigarette zu rauchen" +msgstr "eine Kippe zu rauchen" #. Name of the first police officer to attack you #: src/dopewars.c:709 msgid "Officer Hardass" -msgstr "Hauptmann Schleifer" +msgstr "Officer Hardass" #. Name of a single deputy of the first police officer #: src/dopewars.c:711 src/dopewars.c:715 msgid "deputy" -msgstr "Deputy" +msgstr "Hilfssheriff" #. Word used for more than one deputy of the first police officer #: src/dopewars.c:713 src/dopewars.c:715 msgid "deputies" -msgstr "Deputies" +msgstr "Hilfssheriffs" #. Ditto, for the other police officers #: src/dopewars.c:715 msgid "Officer Bob" -msgstr "Hauptmann Steiner" +msgstr "Officer Bob" #: src/dopewars.c:717 msgid "Agent Smith" -msgstr "Agent Schmidt" +msgstr "Agent Smith" #: src/dopewars.c:717 msgid "cop" @@ -750,7 +742,7 @@ #: src/dopewars.c:723 msgid ".38 Special" -msgstr "38er Spezial" +msgstr ".38er Special" #: src/dopewars.c:724 msgid "Ruger" @@ -768,8 +760,7 @@ #: src/dopewars.c:732 msgid "The market is flooded with cheap home-made acid!" -msgstr "" -"Der Markt wird mit billigem selbst hergestelltem Acid geradezu überflutet" +msgstr "Der Markt wird mit billigem, selbst hergestelltem Acid geradezu überflutet!" #: src/dopewars.c:733 msgid "Cocaine" @@ -781,7 +772,7 @@ #: src/dopewars.c:735 msgid "The Marrakesh Express has arrived!" -msgstr "Der Marrakesch Express ist da!" +msgstr "Der Marrakesch-Express ist angekommen!" #: src/dopewars.c:736 msgid "Heroin" @@ -793,9 +784,7 @@ #: src/dopewars.c:738 msgid "Rival drug dealers raided a pharmacy and are selling cheap ludes!" -msgstr "" -"Alter, gerade haben Drogen Dealer ne Apotheke geplündert und verschneiden " -"den Stoff nun ziemlich billig" +msgstr "Gerade haben ein paar Dealer 'ne Apotheke ausgeraubt und verscheuern jetzt billige Medikamente!" #: src/dopewars.c:739 msgid "MDA" @@ -826,10 +815,8 @@ msgstr "Weed" #: src/dopewars.c:746 -msgid "" -"Columbian freighter dusted the Coast Guard! Weed prices have bottomed out!" -msgstr "" -"Kolumbianischer Frachter abgefangen. Weedpreise haben Tiefpunkt erreicht." +msgid "Columbian freighter dusted the Coast Guard! Weed prices have bottomed out!" +msgstr "Ein kolumbianischer Frachter hat die Küstenwache umschippert. Der Preis für Weed ist ins bodenlose gefallen!" #. The names of the default locations #: src/dopewars.c:754 @@ -869,13 +856,12 @@ #, c-format msgid "Cops made a big %tde bust! Prices are outrageous!" msgstr "" -"Die Polizei hat %tde-Lieferung an der Grenze abgepasst. Preise schießen in " -"die Höhe." +"Die Polizei hat eine große Menge %tde konfisziert! Die Preise schießen in die Höhe!" #: src/dopewars.c:768 #, c-format msgid "Addicts are buying %tde at ridiculous prices!" -msgstr "Süchtige reißen dir %tde förmlich aus den Händen" +msgstr "Junkies kaufen %tde für horrende Summen!" #. Default list of things which the "lady on the subway" can tell you #. * (N.B. can be overridden with the "SubwaySaying" config. file @@ -883,139 +869,133 @@ #. * are used. #: src/dopewars.c:778 msgid "Wouldn't it be funny if everyone suddenly quacked at once?" -msgstr "Morgens ein Joint, und der Tag ist dein Freund" +msgstr "Wäre es nicht cool, wenn alle plötzlich mal zittern würden?" #: src/dopewars.c:779 msgid "The Pope was once Jewish, you know" -msgstr "Der Papst war mal Jude, weißte?" +msgstr "Der Papst war mal jüdisch, weißte?" #: src/dopewars.c:780 msgid "I'll bet you have some really interesting dreams" -msgstr "Ich möchte wetten das du interessante Träume hast." +msgstr "Ich möchte wetten, dass du interessante Träume hast." #: src/dopewars.c:781 msgid "So I think I'm going to Amsterdam this year" -msgstr "Ich denk ich besuch dieses Jahr mal wieder Amsterdam" +msgstr "Ich glaub' ich fahr' dieses Jahr mal wieder nach Amsterdam." #: src/dopewars.c:782 msgid "Son, you need a yellow haircut" -msgstr "Mein Sohn, du brauchst mal nen neuen Haarschnitt" +msgstr "Mein Sohn, du brauchst 'nen gelben Haarschnitt." #: src/dopewars.c:783 msgid "I think it's wonderful what they're doing with incense these days" -msgstr "Ist es nicht wundervoll was man heutzutage mit Düften anstellt?" +msgstr "Ich finde es wundervoll was man heutzutage mit Düften alles anstellt." #: src/dopewars.c:784 msgid "I wasn't always a woman, you know" -msgstr "Weißte, ich war nicht immer ne Frau." +msgstr "Ich war nicht immer ne Frau, weißte?" #: src/dopewars.c:785 msgid "Does your mother know you're a dope dealer?" -msgstr "Weiß Mami dass du mit Drogen handelst?" +msgstr "Weiß deine Mami, dass du'n Dealer bist" #: src/dopewars.c:786 msgid "Are you high on something?" -msgstr "Stehst du auf irgendwas?" +msgstr "Bist du bekifft?" #: src/dopewars.c:787 msgid "Oh, you must be from California" -msgstr "Oh, du musst aus Kalifornien kommen" +msgstr "Oh, du musst aus Kalifornien kommen." #: src/dopewars.c:788 msgid "I used to be a hippie, myself" -msgstr "I hab versucht ein Hippie zu sein" +msgstr "Ich war selber mal 'n Hippie." #: src/dopewars.c:789 msgid "There's nothing like having lots of money" -msgstr "Es gibt kein befriedigenderes Gefühl als im Geld zu schwimmen nicht?" +msgstr "Es geht einfach nichts über 'nen riesen Haufen Zaster!" #: src/dopewars.c:790 msgid "You look like an aardvark!" -msgstr "Du siehst aus wie ein Erdferkel!" +msgstr "Du siehst aus wie 'n Erdferkel!" #: src/dopewars.c:791 msgid "I don't believe in Ronald Reagan" -msgstr "Ich glaube nicht an Ronald Reagan" +msgstr "Ich glaube nicht an Ronald Reagan!" #: src/dopewars.c:792 msgid "Courage! Bush is a noodle!" -msgstr "Verbreite die Wahrheit! Bush ist ein Schimpanse!" +msgstr "Verbreitet die Wahrheit! Bush ist eine Nudel!" #: src/dopewars.c:793 msgid "Haven't I seen you on TV?" -msgstr "" -"Was Gott durch Berge trennt, soll der Mensch durch Tunnel nicht verbinden!" +msgstr "Hab' ich dich nich' mal im Fernsehen gesehen?" #: src/dopewars.c:794 msgid "I think hemorrhoid commercials are really neat!" -msgstr "Willst du eine Schokoladenzigarette mein Junge?" +msgstr "Ich finde, Hämorrhoiden-Werbung haben 'was für sich!" #: src/dopewars.c:795 msgid "We're winning the war for drugs!" -msgstr "Wir werden die Sieger im Krieg der Drogen sein." +msgstr "Wir gewinnen den Kampf um die Drogen!" #: src/dopewars.c:796 msgid "A day without dope is like night" -msgstr "Ein Tag ohne Drogen ist so dunkel wie die Nacht" +msgstr "Ein Tag ohne Drogen ist so dunkel wie die Nacht." #: src/dopewars.c:798 #, no-c-format msgid "We only use 20% of our brains, so why not burn out the other 80%" -msgstr "" -"Wir benutzen ohne hin nur 20% unseres Gehirns, darum dröhnen wir uns auch " -"die restlichen 80% zu" +msgstr "Man benutzt ohnehin nur 20% seines Gehirns, warum soll man sich da nicht die restlichen 80% zudröhnen?!" #: src/dopewars.c:799 msgid "I'm soliciting contributions for Zombies for Christ" -msgstr "Ich bin .... dein Vater!" +msgstr "Ich erbitte Spenden für Zombies... für Jesus!" #: src/dopewars.c:800 msgid "I'd like to sell you an edible poodle" -msgstr "Darf ich dir diesen hochgestylten Pudel andrehn?" +msgstr "Darf ich dir diesen hochgestylten Pudel verkaufen?" #: src/dopewars.c:801 msgid "Winners don't do drugs... unless they do" -msgstr "Gewinner nehmen keine Drogen .... solange sie eben keine nehmen" +msgstr "Gewinner nehmen keine Drogen... es sei denn, sie nehmen welche!" #: src/dopewars.c:802 msgid "Kill a cop for Christ!" -msgstr "Bringe Thor ein Opfer, häute einen Polizisten" +msgstr "Bringe Gott ein Opfer! Töte einen Polizisten!!" #: src/dopewars.c:803 msgid "I am the walrus!" -msgstr "Ich bin ein Walross!" +msgstr "Ich bin das Walross!" #: src/dopewars.c:804 msgid "Jesus loves you more than you will know" -msgstr "Thor liebt dich mehr als Du glaubst." +msgstr "Jesus liebt dich mehr als du glaubst." #: src/dopewars.c:805 msgid "I feel an unaccountable urge to dye my hair blue" -msgstr "" -"Mich überkommt das unbeschreibliche Verlangen meine Haare blau zu färben" +msgstr "Mich überkommt das unbeschreibliche Verlangen meine Haare blau zu färben" #: src/dopewars.c:806 msgid "Wasn't Jane Fonda wonderful in Barbarella" -msgstr "Gibs Aids keine Chance." +msgstr "War Jane Fonda nicht unglaublich in Barbella?" #: src/dopewars.c:807 msgid "Just say No... well, maybe... ok, what the hell!" -msgstr "Trau dich NEIN zu sagen .. naja vielleicht .. ok was solls!" +msgstr "Sag' einfach NEIN... naja, vielleicht... ach, zum Teufel!" #: src/dopewars.c:808 msgid "Would you like a jelly baby?" -msgstr "Keine Macht den Drogen. ;)" +msgstr "Magst du ein Gummibärchen?" #: src/dopewars.c:809 msgid "Drugs can be your friend!" -msgstr "" -"Drogen können Deine Freunde sein .. wenn du sonst keine hast ...ach da ist " -"ja auch noch der Alkohol" +msgstr "Drogen können deine Freunde sein..." #: src/dopewars.c:1880 #, c-format msgid "Unable to process configuration file %s, line %d" -msgstr "Ausführen der Configdatei %s in Zeile %d abgebrochen" +msgstr "Ausführen der Konfigurationsdatei %s in Zeile %d abgebrochen" #: src/dopewars.c:1916 #, c-format @@ -1030,12 +1010,12 @@ msgstr "" "Einstellungen können nur interaktiv geändert werden wenn keine\n" "Spieler eingeloggt sind. Warte bis alle Spieler ausgeloggt sind\n" -"oder entferne sie mit dem push oder kill Kommando und versuche es dannnochmal" +"oder entferne sie mit dem push oder kill Kommando und versuche es dann noch mal" #: src/dopewars.c:2093 #, c-format msgid "Index into %s array should be between 1 and %d" -msgstr "Index in array %s muss zwischen 1 und %d sein" +msgstr "Index in Array %s sollte zwischen 1 und %d sein" #. Display of a numeric config. file variable - e.g. "NumDrug is 6" #: src/dopewars.c:2118 @@ -1081,26 +1061,26 @@ #: src/dopewars.c:2204 #, c-format msgid "%s can be no smaller than %d - ignoring!" -msgstr "" +msgstr "%s kann nicht kleiner sein als &d – ignorieren!" #: src/dopewars.c:2210 #, c-format msgid "%s can be no larger than %d - ignoring!" -msgstr "" +msgstr "%s kann nicht größer sein als %d – ignorieren!" #: src/dopewars.c:2219 #, c-format msgid "Resized structure list to %d elements\n" -msgstr "" +msgstr "Optimierte Struktur-Liste von %d Elementen\n" #: src/dopewars.c:2257 msgid "expected a boolean value (one of 0, FALSE, 1, TRUE)" -msgstr "" +msgstr "Erwarteter Boolean-Wert (0, FALSE, 1, TRUE" #. The currency symbol #: src/dopewars.c:2436 msgid "$" -msgstr "" +msgstr "$" #. Translate this to "Currency.Prefix=FALSE" if you want your currency #. * symbol to follow all prices. @@ -1178,8 +1158,8 @@ msgstr "" "Verwende: dopewars [OPTION]...\n" "Drug dealing game based on \"Drug Wars\" by John E. Dell\n" -" -b \"schwarz und weiß\" - benutze keine Farben\n" -" -n verbinde zu keinem verfügbaren dopewars server\n" +" -b \"schwarz und wei?\" - benutze keine Farben\n" +" -n verbinde zu keinem verf?gbaren dopewars server\n" " (z.B. Einzelspieler-Modus)\n" " -a \"antik\" dopewars - emuliere original version \n" " -f datei spezifiziere Bestenlisten-Datei \n" @@ -1201,9 +1181,9 @@ " -v Zeige Version und beende\n" "\n" "dopewars steht unter dem Copyright (C) von Ben Webb 1998-2005 und ist " -"veröffentlicht unter der GNU GPL\n" +"ver?ffentlicht unter der GNU GPL\n" "Melde Programmierfehler dem Autor Ben Webb, benwebb@users.sf.net\n" -"Melde Übersetzungsfehler an Eric Steiner, eric_st@aon.at\n" +"Melde ?bersetzungsfehler an Benjamin Karaca, mister-freeze@web.de\n" #: src/dopewars.c:2619 msgid "" @@ -1252,8 +1232,8 @@ msgstr "" "Verwende: dopewars [OPTION]...\n" "Drug dealing game based on \"Drug Wars\" by John E. Dell\n" -" -b \"schwarz und weiß\" - benutzt keine Farben\n" -" -n verbinde zu keinem verfügbaren dopewars server\n" +" -b \"schwarz und wei?\" - benutzt keine Farben\n" +" -n verbinde zu keinem verf?gbaren dopewars server\n" " (z.B. Einzelspieler-Modus)\n" " -a \"antik\" dopewars - emuliere original version \n" " -f datei spezifiziere Bestenlisten-Datei \n" @@ -1274,9 +1254,9 @@ " -v Zeige Version und beende\n" "\n" "dopewars steht unter dem Copyright (C) von Ben Webb 1998-2005 und ist " -"veröffentlicht unter der GNU GPL\n" +"ver?ffentlicht unter der GNU GPL\n" "Melde Programmierfehler dem Autor Ben Webb, benwebb@users.sf.net\n" -"Melde Übersetzungsfehler an Eric Steiner, eric_st@aon.at\n" +"Melde übersetzungsfehler an Benjamin Karaca, mister-freeze@web.de\n" #: src/dopewars.c:2655 msgid "" @@ -1294,9 +1274,9 @@ "--enable-curses-client option to configure, or use a windowed\n" "client (if available) instead!\n" msgstr "" -"Es ist kein curses-Klient verfügbar - Du musst das binary mit der \n" +"Es ist kein curses-Klient verf?gbar - Du musst das binary mit der \n" "Option \"--enable-curses-client\" mit dem Programm \"configure\"\n" -"neu kompilieren oder Du benutzt den GTK+-Klient falls er verfügbar ist.\n" +"neu kompilieren oder Du benutzt den GTK+-Klient falls er verf?gbar ist.\n" #: src/dopewars.c:2937 msgid "" @@ -1304,9 +1284,9 @@ "passing the --enable-gui-client option to configure, or\n" "use the curses client (if available) instead!\n" msgstr "" -"Es ist kein GTK+-Klient verfügbar - Du musst das binary mit der \n" +"Es ist kein GTK+-Klient verf?gbar - Du musst das binary mit der \n" "Option \"--enable-gui-client\" mit dem Programm \"configure\"\n" -"neu kompilieren oder Du benutzt den curses-Klient falls er verfügbar ist.\n" +"neu kompilieren oder Du benutzt den curses-Klient falls er verf?gbar ist.\n" #: src/dopewars.c:2983 #, fuzzy @@ -1316,7 +1296,7 @@ "in admin mode. Recompile passing --enable-networking to the configure " "script.\n" msgstr "" -"Dieses Programm wurde ohne Netzwerkunterstützung kompiliert \n" +"Dieses Programm wurde ohne Netzwerkunterst?tzung kompiliert \n" " und kann dadurch nicht als KI Spieler eingesetzt werden.\n" "Neu kompilieren und --enable-networking bei ./configure angeben" @@ -1330,7 +1310,7 @@ #: src/curses_client/curses_client.c:272 msgid "English Translation Ben Webb" -msgstr "Deutsche Übersetzung Eric Steiner" +msgstr "Deutsche ?bersetzung Benjamin Karaca" #. Curses client introduction screen #: src/curses_client/curses_client.c:280 @@ -1340,12 +1320,11 @@ #: src/curses_client/curses_client.c:285 msgid "" "Based on John E. Dell's old Drug Wars game, dopewars is a simulation of an" -msgstr "" -"Dieses Spiel basiert auf dem alten Drug Wars Game von John E. Dell und ist" +msgstr "Dieses Spiel basiert auf dem alten Spiel Drug Wars von John E. Dell und" #: src/curses_client/curses_client.c:287 msgid "imaginary drug market. dopewars is an All-American game which features" -msgstr "eine Simulation eines imaginären Drogen Marktes. Das Ziel ist es" +msgstr "simuliert einen imaginären Drogenmarktes. Das Ziel ist es" #: src/curses_client/curses_client.c:289 msgid "buying, selling, and trying to get past the cops!" @@ -1355,20 +1334,20 @@ msgid "" "The first thing you need to do is pay off your debt to the Loan Shark. After" msgstr "" -"Zuerst solltest du beim örtlichen Kredithai deine Schulden begleichen. Danach" +"Zuerst solltest du beim Örtlichen Kredithai deine Schulden begleichen. Danach" #: src/curses_client/curses_client.c:293 msgid "that, your goal is to make as much money as possible (and stay alive)!" -msgstr "solltest du dir in der Szene einen Namen machen indem du soviel Geld " +msgstr "musst du versuchen möglichst viel Geld zu verdienen (und zu überleben)!" #: src/curses_client/curses_client.c:295 msgid "You have one month of game time to make your fortune." -msgstr "wie möglichst scheffelst und am Leben bleibst." +msgstr "Dir bleibt ein ganzer Monat Spielzeit um dein Glück zu machen." #: src/curses_client/curses_client.c:297 #, fuzzy, c-format msgid "Version %-8s Copyright (C) 1998-2005 Ben Webb benwebb@users.sf.net" -msgstr "Copyright (C) 1998-2005 Ben Webb benwebb@users.sf.net" +msgstr "Version %-8s Copyright (C) 1998-2005 Ben Webb benwebb@users.sf.net" #: src/curses_client/curses_client.c:300 msgid "dopewars is released under the GNU General Public Licence" @@ -1376,51 +1355,51 @@ #: src/curses_client/curses_client.c:308 msgid "Icons and Graphics Ocelot Mantis" -msgstr "Ikons und Grafiken Ocelot Mantis" +msgstr "Symbole und Grafiken Ocelot Mantis" #: src/curses_client/curses_client.c:309 msgid "Sounds Robin Kohli, 19.5degs.com" -msgstr "Sounds Robin Kohli, 19.5degs.com" +msgstr "Sounds Robin Kohli, 19.5degs.com" #: src/curses_client/curses_client.c:310 msgid "Drug Dealing and Research Dan Wolf" -msgstr "Drogen Handel und Nachforschung Dan Wolf" +msgstr "Drogenhandel und Infos Dan Wolf" #: src/curses_client/curses_client.c:311 msgid "Play Testing Phil Davis Owen Walsh" -msgstr "Spieltests Phil Davis Owen Walsh" +msgstr "Testspieler Phil Davis Owen Walsh" #: src/curses_client/curses_client.c:313 msgid "Extensive Play Testing Katherine Holt Caroline Moore" -msgstr "Exessive Testspielen Katherine Holt Caroline Moore" +msgstr "Exzessives Testspielen Katherine Holt Caroline Moore" #: src/curses_client/curses_client.c:315 msgid "Constructive Criticism Andrea Elliot-Smith Pete Winn" -msgstr "Konstruktive Kritk Andrea Elliot-Smith Pete Winn" +msgstr "Konstruktive Kritk Andrea Elliot-Smith Pete Winn" #: src/curses_client/curses_client.c:317 msgid "Unconstructive Criticism James Matthews" -msgstr "Unkonstruktive Kritk James Matthews" +msgstr "Unkonstruktive Kritk James Matthews" #: src/curses_client/curses_client.c:319 msgid "For information on the command line options, type dopewars -h at your" -msgstr "Für Informationen über die Startparameter gib dopewars -h an" +msgstr "Für Informationen über die Startparameter tipp dopewars -h in" #: src/curses_client/curses_client.c:321 msgid "" "Unix prompt. This will display a help screen, listing the available options." msgstr "" -"deinem Unix Prompt ein. Dies listet dir alle verfügbaren Parameter auf." +"deiner Unix Prompt ein. Dies listet dir alle verfügbaren Parameter auf." #. Prompts for hostname and port when selecting a server #. * manually #: src/curses_client/curses_client.c:347 msgid "Please enter the hostname and port of a dopewars server:-" -msgstr "Bitte trage den Hostname und Port des Dopewars servers ein:-" +msgstr "Bitte gib den Hostnamen und Port des Dopewars servers an:-" #: src/curses_client/curses_client.c:348 msgid "Hostname: " -msgstr "Rechnername: " +msgstr "Hostname: " #: src/curses_client/curses_client.c:352 msgid "Port: " @@ -1481,7 +1460,7 @@ #: src/curses_client/curses_client.c:516 #, c-format msgid "Connected to SOCKS server %s..." -msgstr "Verbinde zu SOCKS Server %s..." +msgstr "Verbinde zu SOCKS-Server %s..." #: src/curses_client/curses_client.c:520 msgid "Authenticating with SOCKS server" @@ -1490,21 +1469,21 @@ #: src/curses_client/curses_client.c:523 #, c-format msgid "Asking SOCKS for connect to %s..." -msgstr "Frage SOCKS für Verbindung zu %s..." +msgstr "Frage SOCKS nach Verbindung zu %s..." #: src/curses_client/curses_client.c:546 #, c-format msgid "Proxy authentication required for realm %s" -msgstr "Proxy Authentifzierung wird für Realm %s benötigt" +msgstr "Proxy Bestätigung wird für Realm %s benötigt" #: src/curses_client/curses_client.c:550 #, c-format msgid "Authentication required for realm %s" -msgstr "Authentifzierung wird für Realm %s benötigt" +msgstr "Bestätigung wird für Realm %s benötigt" #: src/curses_client/curses_client.c:553 msgid "(Enter a blank username to cancel)" -msgstr "(Benutzername für Abbrechen leer lassen)" +msgstr "(Benutzername leer lassen um abzubrechen)" #: src/curses_client/curses_client.c:556 src/curses_client/curses_client.c:575 msgid "User name: " @@ -1517,11 +1496,11 @@ #: src/curses_client/curses_client.c:572 msgid "SOCKS authentication required (enter a blank username to cancel)" msgstr "" -"SOCKS Authentifizierung benötigt (Benutzername für Abbrechen leer lassen)" +"SOCKS Authentifizierung benötigt (Benutzername leer lassen um abzubrechen)" #: src/curses_client/curses_client.c:671 msgid "Please wait... attempting to contact dopewars server..." -msgstr "Bitten warten... Baue Verbindung zu Server auf..." +msgstr "Bitten warten... versuche Dopewars-Server zu kontaktieren..." #. Display of an error while contacting the metaserver #: src/curses_client/curses_client.c:682 @@ -1541,7 +1520,7 @@ #: src/curses_client/curses_client.c:700 msgid " L>ist the servers on the metaserver, and select one" -msgstr "L>iste Server des Metaserver auf," +msgstr "L>iste Server des Metaserver auf und wähle einen aus" #: src/curses_client/curses_client.c:703 msgid "" @@ -1562,13 +1541,13 @@ #: src/curses_client/curses_client.c:803 #, c-format msgid "%d. %tde" -msgstr "" +msgstr "%d. %tde" #. Prompt when the player chooses to "jet" to a new location #. Prompt in 'Jet' dialog #: src/curses_client/curses_client.c:810 src/gui_client/gtk_client.c:1464 msgid "Where to, dude ? " -msgstr "Wohin, Kleiner ? " +msgstr "Wohin soll's gehen, Kumpel? " #: src/curses_client/curses_client.c:816 msgid "%/Location display/%tde" @@ -1579,37 +1558,37 @@ #: src/curses_client/curses_client.c:852 #, c-format msgid "You can't get any cash for the following carried %tde :" -msgstr "Du kannst kein Geld für die folgenden Drogen kriegen %tde :" +msgstr "Du kannst keine Kohle für die folgenden Drogen kriegen %tde :" #: src/curses_client/curses_client.c:865 msgid "What do you want to drop? " -msgstr "Was willst Du wegwerfen? " +msgstr "Was willst du wegwerfen? " #: src/curses_client/curses_client.c:875 msgid "How many do you drop? " -msgstr "Und wieviel davon? " +msgstr "Wie viel schmeißt du weg? " #. Buy and sell prompts for dealing drugs or guns #: src/curses_client/curses_client.c:911 #: src/curses_client/curses_client.c:1395 msgid "What do you wish to buy? " -msgstr "Was möchtest Du kaufen? " +msgstr "Was willst du kaufen? " #: src/curses_client/curses_client.c:913 #: src/curses_client/curses_client.c:1347 msgid "What do you wish to sell? " -msgstr "Was möchtest Du verkaufen? " +msgstr "Was möchtest du verscherbeln? " #. Display of number of drugs you could buy and/or carry, when #. * buying drugs #: src/curses_client/curses_client.c:931 #, c-format msgid "You can afford %d, and can carry %d. " -msgstr "Du kannst %d kaufen, und %d tragen. " +msgstr "Du kannst dir %d leisten, und %d tragen. " #: src/curses_client/curses_client.c:934 msgid "How many do you buy? " -msgstr "Wieviel möchtest Du kaufen? " +msgstr "Wie viel kaufst du? " #: src/curses_client/curses_client.c:947 #, c-format @@ -1618,47 +1597,47 @@ #: src/curses_client/curses_client.c:950 msgid "How many do you sell? " -msgstr "Wieviel willste verkaufen?" +msgstr "Wieviel verkaufst du? " #: src/curses_client/curses_client.c:983 #, c-format msgid "Choose an errand to give one of your %tde..." -msgstr "Wähle einen Auftrag für deine %tde..." +msgstr "Wähle einen Auftrag für eine deiner %tde..." #: src/curses_client/curses_client.c:989 msgid " S>py on another dealer (cost: %P)" -msgstr " S>chicke Spion zu einem anderem Dealer (kosten: %P)" +msgstr " S>chicke Spion zu einem anderem Dealer (Kosten: %P)" #: src/curses_client/curses_client.c:993 msgid " T>ip off the cops to another dealer (cost: %P)" -msgstr " V>erpfeife ein anderen Dealer an die Cops (kosten: %P)" +msgstr " V>erpfeife ein anderen Dealer an die Cops (Kosten: %P)" #: src/curses_client/curses_client.c:996 msgid " G>et stuffed" -msgstr " B>edröhn dich" +msgstr " D>röhn dich voll" #: src/curses_client/curses_client.c:999 msgid "or C>ontact your spies and receive reports" -msgstr "oder K>ontaktiere Spion" +msgstr "oder K>ontaktiere deine Spione um Meldung zu erhalten" #: src/curses_client/curses_client.c:1001 msgid "or N>o errand ? " -msgstr "oder tue N>ichts ? " +msgstr "oder mach N>ichts ? " #. Translate these 5 keys to match the above options, keeping the #. * original order the same (S>py, T>ip off, G>et stuffed, C>ontact spy, #. * N>o errand) #: src/curses_client/curses_client.c:1008 msgid "STGCN" -msgstr "SVBKN" +msgstr "SVDKN" #: src/curses_client/curses_client.c:1013 msgid "Whom do you want to spy on? " -msgstr "Über wen möchtest Du mehr erfahren? " +msgstr "Wen willst du bespitzeln? " #: src/curses_client/curses_client.c:1019 msgid "Whom do you want to tip the cops off to? " -msgstr "Wen möchtest Du los werden? " +msgstr "Wen möchtest du verpfeifen? " #. Prompt for confirmation of sacking a bitch #: src/curses_client/curses_client.c:1026 @@ -1676,7 +1655,7 @@ #: src/curses_client/curses_client.c:1052 msgid "Are you sure you want to quit? " -msgstr "Willst Du wirklich schon gehen? " +msgstr "Willst du wirklich aufhören? " #. Prompt for player to change his/her name #: src/curses_client/curses_client.c:1065 @@ -1689,8 +1668,7 @@ #: src/curses_client/curses_client.c:1142 msgid "The server has terminated. Reverting to single player mode." -msgstr "" -"Verbindung zum Server unterbrochen! Kehre zum Einzelspieler-Modus zurück" +msgstr "Verbindung zum Server unterbrochen! Kehre zum Einzelspieler-Modus zurück" #: src/curses_client/curses_client.c:1162 src/gui_client/gtk_client.c:505 #: src/serverside.c:450 @@ -1701,7 +1679,7 @@ #: src/curses_client/curses_client.c:1169 src/gui_client/gtk_client.c:514 #, c-format msgid "%s has left the game." -msgstr "%s hat das Spiel verlassen" +msgstr "%s hat das Spiel verlassen." #. Displayed when a player changes his/her name #: src/curses_client/curses_client.c:1177 @@ -1733,12 +1711,12 @@ #: src/curses_client/curses_client.c:1339 src/gui_client/gtk_client.c:1827 #, c-format msgid "You don't have any %tde to sell!" -msgstr "Du hast keine %tde zum verkaufen!" +msgstr "Du hast keine %tde die du verkaufen könntest!" #. Error - player tried to sell some guns that he/she doesn't have #: src/curses_client/curses_client.c:1358 src/gui_client/gtk_client.c:1848 msgid "You don't have any to sell!" -msgstr "Du hast nix zum verkaufen!" +msgstr "Du hast keine %tde die du verkaufen könntest!" #. Error - player tried to buy more guns #. * than his/her bitches can carry (1st @@ -1747,26 +1725,26 @@ #: src/curses_client/curses_client.c:1386 src/gui_client/gtk_client.c:1833 #, c-format msgid "You'll need more %tde to carry any more %tde!" -msgstr "Du brauchst mehr %tde Platz um noch was zu tragen %tde!" +msgstr "Du brauchst mehr %tde Platz um noch mehr %tde tragen zu können!" #. Error - player tried to buy a gun that he/she doesn't have #. * space for (%tde="gun" by default) #: src/curses_client/curses_client.c:1407 src/gui_client/gtk_client.c:1839 #, c-format msgid "You don't have enough space to carry that %tde!" -msgstr "Du hast nicht genug Platz um die %tde zu tragen!" +msgstr "Du hast nicht genug Platz um eine %tde zu tragen!" #. Error - player tried to buy a gun that he/she can't afford #. * (%tde="gun" by default) #: src/curses_client/curses_client.c:1417 src/gui_client/gtk_client.c:1844 #, c-format msgid "You don't have enough cash to buy that %tde!" -msgstr "Du hast nicht genug Kohle für die %tde!" +msgstr "Du hast nicht genug Kohle für eine %tde!" #. Prompt for actions in the gun shop #: src/curses_client/curses_client.c:1457 msgid "Will you B>uy, S>ell, or L>eave? " -msgstr "Willst Du E>inkaufen, V>erkaufen, oder G>ehen? " +msgstr "Willst du E>inkaufen, V>erkaufen, oder G>ehen? " #. Translate these three keys in line with the above options, keeping #. * the order (B>uy, S>ell, L>eave) the same - you can change the @@ -1802,13 +1780,13 @@ #. Prompt for putting money in or taking money out of the bank #: src/curses_client/curses_client.c:1536 msgid "How much money? " -msgstr "Wieviel Moneten?" +msgstr "Wie viel Kohle?" #. Error - player has tried to withdraw more money from the bank #. * than there is in the account #: src/curses_client/curses_client.c:1552 msgid "There isn't that much money in the bank..." -msgstr "Ein Bänker spricht: \"Soviel Geld haben Sie nicht.\"" +msgstr "So viel Knete hast du gar nicht..." #. Expansions of the single-letter keypresses for the benefit of the #. * user. i.e. "Yes" is printed for the key "Y" etc. You should indicate @@ -1840,12 +1818,12 @@ #: src/curses_client/curses_client.c:1700 msgid "Press any key..." -msgstr "Drück mal 'ne Taste..." +msgstr "Drück irgend'ne Taste..." #. Title of the "Messages" window in the curses client #: src/curses_client/curses_client.c:1963 msgid "Messages (-/+ scrolls up/down)" -msgstr "" +msgstr "Nachrichten (-/+ zum Scrollen)" #. Title of the "Stats" window in the curses client #: src/curses_client/curses_client.c:1973 src/gui_client/gtk_client.c:2300 @@ -1861,7 +1839,7 @@ #. Display of the total number of guns carried (%Tde="Guns" by default) #: src/curses_client/curses_client.c:1983 msgid "%-19Tde%3d" -msgstr "" +msgstr "%-19Tde%3d" #. Display of the player's health #: src/curses_client/curses_client.c:1988 @@ -1910,7 +1888,7 @@ #: src/curses_client/curses_client.c:2042 #, c-format msgid "%-7tde %3d" -msgstr "" +msgstr "%-7tde %3d" #. Title of the "guns" window (the only important bit in this string #. * is the "%Tde" which is "Guns" by default) @@ -1922,12 +1900,12 @@ #: src/curses_client/curses_client.c:2057 #, c-format msgid "%-22tde %3d" -msgstr "" +msgstr "%-22tde %3d" #: src/curses_client/curses_client.c:2082 #, c-format msgid "Spy reports for %s" -msgstr "Spion berichtet %s" +msgstr "Spion berichtet für %s" #. Message displayed with a spy's list of drugs (%Tde="Drugs" by #. * default) @@ -1946,7 +1924,7 @@ #: src/curses_client/curses_client.c:2129 msgid "Players currently logged on:-" -msgstr "Eingeloggte Mitspieler -+>" +msgstr "Eingeloggte Mitspieler:-" #. Display of drug prices (%tde="drugs" by default) #: src/curses_client/curses_client.c:2279 @@ -1958,15 +1936,15 @@ #. * by default) #: src/curses_client/curses_client.c:2288 msgid "%c. %-10tde %8P" -msgstr "" +msgstr "%c. %-10tde %8P" #: src/curses_client/curses_client.c:2332 msgid "Cannot install SIGWINCH interrupt handler!" -msgstr "" +msgstr "Kann den SIGWINCH Interrupt Handler nicht installieren" #: src/curses_client/curses_client.c:2349 msgid "Hey dude, what's your name? " -msgstr "Hey Kleiner, wie heißt Du? " +msgstr "Hey Kleiner, wie lautet dein Name? " #. Prompts for "normal" actions in curses client #: src/curses_client/curses_client.c:2393 @@ -2026,7 +2004,7 @@ #: src/curses_client/curses_client.c:2431 #, c-format msgid "D>eal %tde, " -msgstr "H>andeln %tde, " +msgstr "mit %tde H>andeln, " #: src/curses_client/curses_client.c:2432 msgid "or Q>uit? " @@ -2034,8 +2012,7 @@ #: src/curses_client/curses_client.c:2497 msgid "Connection to server lost! Reverting to single player mode" -msgstr "" -"Verbindung zum Server unterbrochen! Kehre zurück in Einzelspieler-Modus" +msgstr "Verbindung zum Server unterbrochen! Kehre in den Einzelspieler-Modus zurück" #. N.B. You must keep the order of these keys the same as the #. * original when you translate (B>uy, S>ell, D>rop, T>alk, P>age, @@ -2062,7 +2039,7 @@ #: src/curses_client/curses_client.c:2575 msgid "Whom do you want to page (talk privately to) ? " -msgstr "Wen möchtest Du etwas zuflüstern ? " +msgstr "Wem möchtest du etwas zuflüstern ? " #. Prompt for sending player-player messages #: src/curses_client/curses_client.c:2581 @@ -2072,7 +2049,7 @@ #: src/curses_client/curses_client.c:2710 msgid "Play again? " -msgstr "Möchtest Du nochmal spielen? " +msgstr "Möchtest du noch mal spielen? " #. The names of the the menus and their items in the GTK+ client #: src/gui_client/gtk_client.c:159 @@ -2141,7 +2118,7 @@ #: src/gui_client/gtk_client.c:178 msgid "/Errands/_Get spy reports..." -msgstr "/Aktionen/_Lese Spionagereport..." +msgstr "/Aktionen/_Spionagebericht lesen..." #: src/gui_client/gtk_client.c:179 msgid "/_Help" @@ -2173,12 +2150,12 @@ #. Title of 'quit game' dialog #: src/gui_client/gtk_client.c:232 src/gui_client/gtk_client.c:247 msgid "Quit Game" -msgstr "Verlasse Spiel" +msgstr "Spiel verlassen" #. Title of 'stop game to start a new game' dialog #: src/gui_client/gtk_client.c:257 msgid "Start new game" -msgstr "Starte neues Spiel" +msgstr "Neues Spiel starten" #. Title of 'abandon game' dialog #: src/gui_client/gtk_client.c:279 @@ -2210,15 +2187,14 @@ msgid "" "The server has terminated.\n" "Switching to single player mode." -msgstr "" -"Verbindung zu Server unterbrochen!\n" -"Kehre zurück in Einzelspieler-Modus" +msgstr "Verbindung zu Server unterbrochen!\n" +"Kehre zurück in den Einzelspieler-Modus" #. Message displayed when the player "jets" to a new location #: src/gui_client/gtk_client.c:532 #, c-format msgid "Jetting to %tde" -msgstr "Reise => %tde" +msgstr "Reise zu %tde" #. Text for the Errands/Sack Bitch menu item #: src/gui_client/gtk_client.c:543 @@ -2255,7 +2231,7 @@ #. * (%Tde = "Drugs" by default) #: src/gui_client/gtk_client.c:953 msgid "_Deal %Tde" -msgstr "_Dealen %Tde" +msgstr "_%Tde dealen" #. Button for shooting at other players in the "Fight" dialog, or for #. * popping up the "Fight" dialog from the main window @@ -2275,7 +2251,7 @@ msgstr "_Rennen" #. Display of number of bitches or deputies during combat -#. * (%tde="bitches" or "deputies" (etc.) by default) +#. * (%tde="bitches" or "deputies" (etc.) by default) #: src/gui_client/gtk_client.c:1034 msgid "%/Combat: Bitches/%d %tde" msgstr "%/Kampf: Huren/%d %tde" @@ -2339,20 +2315,20 @@ #. * dialog #: src/gui_client/gtk_client.c:1539 msgid "at %P" -msgstr "für %P" +msgstr "f?r %P" #. Display of current inventory of the selected drug in 'Deal Drugs' #. * dialog (%tde="Opium" etc. by default) #: src/gui_client/gtk_client.c:1546 #, c-format msgid "You are currently carrying %d %tde" -msgstr "Zur Zeit trägst Du %d %tde" +msgstr "Zur Zeit tr?gst Du %d %tde" #. Available space for drugs in 'Deal Drugs' dialog #: src/gui_client/gtk_client.c:1553 #, c-format msgid "Available space: %d" -msgstr "Verfügbarer Platz: %d" +msgstr "Verf?gbarer Platz: %d" #. Number of the selected drug that you can afford in 'Deal Drugs' #. * dialog @@ -2470,15 +2446,15 @@ #: src/gui_client/gtk_client.c:2394 msgid "Ben Webb" -msgstr "Eric Steiner" +msgstr "Benjamin Karaca" #: src/gui_client/gtk_client.c:2395 msgid "Icons and graphics" -msgstr "Icons und Grafiken" +msgstr "Symbole und Grafiken" #: src/gui_client/gtk_client.c:2396 src/gui_client/optdialog.c:1003 msgid "Sounds" -msgstr "" +msgstr "Sounds" #: src/gui_client/gtk_client.c:2397 msgid "Drug Dealing and Research" @@ -2486,11 +2462,11 @@ #: src/gui_client/gtk_client.c:2398 msgid "Play Testing" -msgstr "Spiel Test" +msgstr "Testspieler" #: src/gui_client/gtk_client.c:2399 msgid "Extensive Play Testing" -msgstr "Exzessives Spiel Testen" +msgstr "Exzessives Testspielen" #: src/gui_client/gtk_client.c:2401 msgid "Constructive Criticism" @@ -2503,7 +2479,7 @@ #. Title of GTK+ 'about' dialog #: src/gui_client/gtk_client.c:2411 msgid "About dopewars" -msgstr "Über Dopewars" +msgstr "?ber Dopewars" #. Main content of GTK+ 'about' dialog #: src/gui_client/gtk_client.c:2422 @@ -2517,15 +2493,15 @@ "that, your goal is to make as much money as possible (and stay alive)! You\n" "have one month of game time to make your fortune.\n" msgstr "" -"Drogenkrieg basiert auf John E. Dell's Spiel 'Drug Wars'.\n" +"Basiert auf John E. Dell's altem Spiel 'Drug Wars'.\n" "Das Spiel simuliert einen imaginären Drogenmarkt, mit allen\n" -"Dingen die man so gerne macht, wie zum Beispiel: \n" -"Einkaufen, Verkaufen und versuchen nicht von der Polizei erwischt zu " +"Dingen die man so gerne macht: \n" +"Einkaufen, Verkaufen und versuchen, nicht von der Polizei erwischt zu " "werden.\n" "\n" "Als erstes sollte man seine Schulden beim Kredithai begleichen.\n" "Danach ist es das Ziel soviel Geld wie möglich zu verdienen und\n" -"natürlich am Leben zu bleiben. Man hat dafür _nur_ einen Monat Zeit.\n" +"natürlich am Leben zu bleiben. Man hat dafür einen ganzen Monat Zeit.\n" #. Version and copyright notice in GTK+ 'about' dialog #: src/gui_client/gtk_client.c:2435 @@ -2535,7 +2511,7 @@ "dopewars is released under the GNU General Public Licence\n" msgstr "" "Version %s Copyright (C) 1998-2005 Ben Webb benwebb@users.sf.net\n" -"Dopewars wurde unter der GNU General Public Licence veröffentlicht.\n" +"Dopewars wurde unter der GNU General Public Licence ver?ffentlicht.\n" #. Label at the bottom of GTK+ 'about' dialog #: src/gui_client/gtk_client.c:2465 @@ -2546,12 +2522,12 @@ "options.\n" msgstr "" "\n" -"Für Informationen über Kommando Optionen, gib 'dopewars -h' in deiner \n" -"UNIX-shell ein. Die Hilfe Übersicht wird dir dann angezeigt.\n" +"F?r Informationen ?ber Kommandozeilen-Parameter, gib 'dopewars -h' in deiner \n" +"UNIX-shell ein. Alle verfügbaren Kommandos werden dann angezeigt.\n" #: src/gui_client/gtk_client.c:2472 msgid "Local HTML documentation" -msgstr "" +msgstr "Lokale HTML Dokumentation" #. Title of loan shark dialog - (%Tde="The Loan Shark" by default) #: src/gui_client/gtk_client.c:2528 src/gui_client/gtk_client.c:2580 @@ -2565,11 +2541,11 @@ #: src/gui_client/gtk_client.c:2544 msgid "You must enter a positive amount of money!" -msgstr "Sie müssen einen positiven Geldbetrag eingeben!" +msgstr "Sie m?ßen einen positiven Geldbetrag eingeben!" #: src/gui_client/gtk_client.c:2547 msgid "There isn't that much money available..." -msgstr "Ein Bänker spricht: \"Soviel Geld haben Sie nicht.\"" +msgstr "Ein B?nker spricht: \"Soviel Geld haben Sie nicht.\"" #. Display of player's cash in bank or loan shark dialog #: src/gui_client/gtk_client.c:2600 @@ -2589,7 +2565,7 @@ #. Prompt for paying back a loan #: src/gui_client/gtk_client.c:2617 msgid "Pay back:" -msgstr "Zurückzahlen:" +msgstr "Zur?ckzahlen:" #. Radio button selected if you want to pay money into the bank #: src/gui_client/gtk_client.c:2621 @@ -2647,7 +2623,7 @@ "\"Get spy reports\" menu. Remember that the %tde will leave\n" "you, so any %tde or %tde that he's carrying may be lost!" msgstr "" -"Bitte wähle einen Spieler aus den Du ausspionieren möchtest.\n" +"Bitte w?hle einen Spieler aus den Du ausspionieren m?chtest.\n" "Deine %tde wird dann dem anderen Spieler ihre Dienste anbieten,\n" "und wenn sie erfolgreich ist, kannst du Dir die Statistik deines\n" "Kontrahenten im \"Spion Report\" Menu anschauen\n" @@ -2668,9 +2644,9 @@ "on the encounter. Remember that the %tde will leave you temporarily,\n" "so any %tde or %tde that he's carrying may be lost!" msgstr "" -"Bitte wähle einen Spieler den Du an die Bullen verpfeiffen möchtest.\n" +"Bitte w?hle einen Spieler den Du an die Bullen verpfeiffen m?chtest.\n" "Deine %tde wird der Polizei helfen Deinen Kontrahenten zu finden,\n" -"aber keine Angst sie wird nach getaner Arbeit zurückkehren." +"aber keine Angst sie wird nach getaner Arbeit zur?ckkehren." #. Title of dialog to sack a bitch (%Tde = "Bitch" by default) #: src/gui_client/gtk_client.c:3008 @@ -2730,14 +2706,14 @@ #. Title of dialog for changing a player's name #: src/gui_client/gtk_client.c:3161 msgid "Change Name" -msgstr "Ändere Name" +msgstr "?ndere Name" #. Informational text to prompt the player to change his/her name #: src/gui_client/gtk_client.c:3174 msgid "" "Unfortunately, somebody else is already using \"your\" name. Please change " "it:-" -msgstr "Leider benutzt schon jemand anders \"deinen\" Namen, ändere Ihn bitte." +msgstr "Leider benutzt schon jemand anders \"deinen\" Namen, ?ndere Ihn bitte." #. Title of 'gun shop' dialog in GTK+ client (%Tde="Dan's House of Guns" #. * by default) @@ -2757,7 +2733,7 @@ #: src/gui_client/optdialog.c:560 msgid "Select sound file" -msgstr "Sound Datei auswählen" +msgstr "Sound-Datei ausw?hlen" #: src/gui_client/optdialog.c:674 msgid "New" @@ -2765,7 +2741,7 @@ #: src/gui_client/optdialog.c:680 msgid "Delete" -msgstr "Löschen" +msgstr "L?schen" #: src/gui_client/optdialog.c:690 msgid "Up" @@ -2777,15 +2753,15 @@ #: src/gui_client/optdialog.c:753 msgid "Police presence" -msgstr "Polizei Presenz" +msgstr "Polizeipr?senz" #: src/gui_client/optdialog.c:754 msgid "Minimum no. of drugs" -msgstr "Minimale Drogenanzahl" +msgstr "Minimale Menge an Drogen" #: src/gui_client/optdialog.c:755 msgid "Maximum no. of drugs" -msgstr "Maximale Drogenanzahl" +msgstr "Maximale Menge an Drogen" #: src/gui_client/optdialog.c:759 msgid "Minimum normal price" @@ -2797,47 +2773,47 @@ #: src/gui_client/optdialog.c:761 msgid "Can be specially cheap" -msgstr "Preis kann extrem fallen" +msgstr "Kann ?u?erst billig sein" #: src/gui_client/optdialog.c:762 msgid "Cheap string" -msgstr "" +msgstr "Nachricht f?r g?nstigen Preis" #: src/gui_client/optdialog.c:763 msgid "Can be specially expensive" -msgstr "Preis kann extrem steigen" +msgstr "Kann ?u?erst teuer sein" #: src/gui_client/optdialog.c:768 msgid "Inventory space" -msgstr "Inventar" +msgstr "Platz im Inventar" #: src/gui_client/optdialog.c:769 msgid "Damage" -msgstr "" +msgstr "Schaden" #: src/gui_client/optdialog.c:773 msgid "Name of one deputy" -msgstr "" +msgstr "Name f?r einen Hilfssheriffs" #: src/gui_client/optdialog.c:774 msgid "Name of several deputies" -msgstr "" +msgstr "Name f?r mehrere Hilfssheriffs" #: src/gui_client/optdialog.c:775 msgid "Minimum no. of deputies" -msgstr "" +msgstr "Mindestanzahl an Hilfssheriffs" #: src/gui_client/optdialog.c:776 msgid "Maximum no. of deputies" -msgstr "" +msgstr "Maximale Anzahl an Hilfssheriffs" #: src/gui_client/optdialog.c:777 msgid "Cop armour" -msgstr "" +msgstr "R?stung des Polizisten" #: src/gui_client/optdialog.c:778 msgid "Deputy armour" -msgstr "" +msgstr "R?stung des Hilfssheriffs" #: src/gui_client/optdialog.c:786 msgid "Options" @@ -2845,19 +2821,19 @@ #: src/gui_client/optdialog.c:802 msgid "Remove drug references" -msgstr "Entferne Drogen Referenzen" +msgstr "Drogenreferenzen entfernen" #: src/gui_client/optdialog.c:806 msgid "Unicode config file" -msgstr "" +msgstr "Unicode Konfigurationsdatei" #: src/gui_client/optdialog.c:812 msgid "Game length (turns)" -msgstr "Spiellänge (Runde)" +msgstr "Spiell?nge (Runden)" #: src/gui_client/optdialog.c:818 msgid "Starting cash" -msgstr "Startgeld" +msgstr "Startkapital" #: src/gui_client/optdialog.c:824 msgid "Starting debt" @@ -2865,39 +2841,39 @@ #: src/gui_client/optdialog.c:830 msgid "Currency symbol" -msgstr "Währungssymbol" +msgstr "W?hrungssymbol" #: src/gui_client/optdialog.c:835 msgid "Symbol prefixes prices" -msgstr "" +msgstr "W?hrungssymbol dem Preis voranstellen" #: src/gui_client/optdialog.c:838 msgid "Name of one bitch" -msgstr "" +msgstr "Name f?r eine Hure" #: src/gui_client/optdialog.c:844 msgid "Name of several bitches" -msgstr "" +msgstr "Name f?r mehrere Huren" #: src/gui_client/optdialog.c:851 msgid "Web browser" -msgstr "" +msgstr "Web-Browser" #: src/gui_client/optdialog.c:859 msgid "General" -msgstr "" +msgstr "Allgemein" #: src/gui_client/optdialog.c:865 msgid "Locations" -msgstr "" +msgstr "Orte" #: src/gui_client/optdialog.c:880 msgid "Expensive string 1" -msgstr "" +msgstr "Nachricht f?r teuren Preis 1" #: src/gui_client/optdialog.c:886 msgid "Expensive string 2" -msgstr "" +msgstr "Nachricht f?r teuren Preis 2" #: src/gui_client/optdialog.c:893 msgid "Drugs" @@ -2913,15 +2889,15 @@ #: src/gui_client/optdialog.c:911 msgid "Server reports to metaserver" -msgstr "" +msgstr "Server meldet sich beim Metaserver" #: src/gui_client/optdialog.c:915 msgid "Minimize to System Tray" -msgstr "" +msgstr "Zur Taskleiste minimieren" #: src/gui_client/optdialog.c:919 msgid "Metaserver hostname" -msgstr "" +msgstr "Hostname des Metaservers" #: src/gui_client/optdialog.c:925 src/gui_client/optdialog.c:937 #: src/gui_client/newgamedia.c:463 src/gui_client/newgamedia.c:542 @@ -2930,11 +2906,11 @@ #: src/gui_client/optdialog.c:931 msgid "Web proxy hostname" -msgstr "" +msgstr "Hostname der Web-Proxy" #: src/gui_client/optdialog.c:943 msgid "Script path" -msgstr "" +msgstr "Pfad des Skriptes" #: src/gui_client/optdialog.c:949 src/gui_client/newgamedia.c:466 msgid "Comment" @@ -2942,7 +2918,7 @@ #: src/gui_client/optdialog.c:955 msgid "MOTD (welcome message)" -msgstr "" +msgstr "Begr??ungsnachricht" #. Column titles of metaserver information #: src/gui_client/optdialog.c:962 src/gui_client/newgamedia.c:462 @@ -2956,11 +2932,11 @@ #: src/gui_client/optdialog.c:969 msgid "Description" -msgstr "" +msgstr "Beschreibung" #: src/gui_client/optdialog.c:984 msgid "Sound file" -msgstr "" +msgstr "Sound-Datei" #: src/gui_client/optdialog.c:991 msgid "Browse..." @@ -2968,11 +2944,11 @@ #: src/gui_client/optdialog.c:996 msgid "Play" -msgstr "" +msgstr "Abspielen" #: src/gui_client/newgamedia.c:75 msgid "You can't start the game without giving a name first!" -msgstr "" +msgstr "Du kannst kein Spiel starten, ohne vorher einen Namen anzugeben!" #. Title of 'New Game' dialog #: src/gui_client/newgamedia.c:76 src/gui_client/newgamedia.c:487 @@ -2985,17 +2961,17 @@ #: src/gui_client/newgamedia.c:104 src/AIPlayer.c:72 msgid "Connection closed by remote host" -msgstr "Verbindung wurde durch remote Rechner geschlossen" +msgstr "Verbindung wurde durch remote Host geschlossen" #: src/gui_client/newgamedia.c:110 #, c-format msgid "Status: Could not connect to metaserver (%s)" -msgstr "Status: Kann auf Metaserver (%s) nicht zugreifen" +msgstr "Status: Konnte nicht zu Metaserver (%s) verbinden." #: src/gui_client/newgamedia.c:115 #, c-format msgid "Status: Could not connect (%s)" -msgstr "Status: Kann keine Verbindung zu %s herstellen" +msgstr "Status: Konnte keine Verbindung zu %s herstellen" #. Message displayed during the attempted connect to a dopewars server #. Message displayed during the attempted connect to the metaserver @@ -3054,7 +3030,7 @@ #. * Game' dialog #: src/gui_client/newgamedia.c:500 msgid "Hey dude, what's your _name?" -msgstr "Hey Kleiner, wie heißt Du? " +msgstr "Hey Kleiner, wie hei?t Du? " #. Prompt for hostname to connect to in GTK+ new game dialog #: src/gui_client/newgamedia.c:523 @@ -3090,16 +3066,16 @@ #. * proxy server #: src/gui_client/newgamedia.c:717 msgid "Proxy Authentication Required" -msgstr "Proxy Authentifizierung benötigt" +msgstr "Proxy Authentifizierung ben?tigt" #. Title of dialog for authenticating with a web server #: src/gui_client/newgamedia.c:720 msgid "Authentication Required" -msgstr "Authentifizierung benötigt" +msgstr "Authentifizierung ben?tigt" #: src/gui_client/newgamedia.c:836 msgid "SOCKS Authentication Required" -msgstr "SOCKS Authentifizierung benötigt" +msgstr "SOCKS Authentifizierung ben?tigt" #: src/gtkport/gtkport.c:46 msgid "_OK" @@ -3107,7 +3083,7 @@ #: src/gtkport/gtkport.c:47 msgid "_Close" -msgstr "_Schließen" +msgstr "_Schlie?en" #: src/gtkport/gtkport.c:48 msgid "_Cancel" @@ -3140,7 +3116,7 @@ #. Title of the Windows window used for AI player output #: src/winmain.c:352 msgid "dopewars AI" -msgstr "Drogenkrieg AI" +msgstr "dopewars AI" #. Things that can "happen" to your spies - look for strings containing #. * "The spy %s!" to see how these strings are used. @@ -3189,19 +3165,19 @@ "Dopewars Server - Version %s Kommandos und Einstellungen\n" "\n" "help Zeigt den Hilfebildschirm an\n" -"list Listet alle Spiele die gerade Online sind auf.\n" +"list Listet alle eingeloggten Spieler an.\n" "push Bittet den Spieler zu gehen.\n" -"kill Zwingt den Spieler den Server zu verlassen\n" +"kill Unterbricht die Verbindung zum genannten Spieler\n" "msg: Sende Nachricht an alle Spieler\n" "quit Freundliches Ende, nach Benachrichtigung aller " "Spieler\n" -"= Setzt Variable nach Inhalt \n" -" Zeigt den Inhalt der Variable an\n" -"[x].= Sets the named variable in the given list,\n" -" index x, to the given value\n" -"[x]. Displays the value of the named list variable\n" +"= Weist die genannte Variable dem gegebenen Wert zu\n" +" Zeigt den Wert der genannten Variable an\n" +"[x].= Weist der genannten Variable in der Liste,\n" +" Index x, den gegebenen Wert zu\n" +"[x]. Zeigt den Wert der genannten Listen Variable an\n" "\n" -"Verfügbare Variablen werden hier aufgelistet :-\n" +"Verf?gbare Variablen werden hier aufgelistet :-\n" "\n" #: src/serverside.c:166 @@ -3213,7 +3189,7 @@ msgid "" "Using MetaServer.Proxy.User and MetaServer.Proxy.Password for HTTP proxy " "authentication" -msgstr "Benutzen Metaserver.Proxy Daten zur HTTP Proxy Authentifizierung" +msgstr "Benutze Metaserver.Proxy.User Daten zur HTTP Proxy Bestätigung" #: src/serverside.c:186 msgid "" @@ -3273,7 +3249,7 @@ "Sorry, but this server has a limit of 1 player, which has been reached." "^Please try connecting again later." msgstr "" -"Sorry, aber hier dürfen max. %d %s spielen.^Bitte versuchs später nochmal." +"Sorry, aber hier d?rfen max. %d %s spielen.^Bitte versuchs sp?ter nochmal." #. Message sent to a player if the #. * server is full @@ -3283,7 +3259,7 @@ "Sorry, but this server has a limit of %d players, which has been reached." "^Please try connecting again later." msgstr "" -"Sorry, aber hier dürfen max. %d %s spielen.^Bitte versuchs später nochmal." +"Sorry, aber hier d?rfen max. %d %s spielen.^Bitte versuchs sp?ter nochmal." #. A player changed their name during the game (unusual, and not #. * really properly supported anyway) - notify all players of the @@ -3400,7 +3376,7 @@ #: src/serverside.c:1023 #, c-format msgid "Pushing %s\n" -msgstr "Drücke %s\n" +msgstr "Dr?cke %s\n" #: src/serverside.c:1026 src/serverside.c:1037 msgid "No such user!\n" @@ -3411,11 +3387,11 @@ #: src/serverside.c:1032 #, c-format msgid "%s killed\n" -msgstr "%s getötet\n" +msgstr "%s get?tet\n" #: src/serverside.c:1039 msgid "Unknown command - try \"help\" for help...\n" -msgstr "Unbekanntes Kommando - versuch mal \"help\" für Hilfe...\n" +msgstr "Unbekanntes Kommando - versuch mal \"help\" f?r Hilfe...\n" #: src/serverside.c:1058 #, c-format @@ -3463,7 +3439,7 @@ #: src/serverside.c:1605 msgid "Failed to post service notification message" -msgstr "" +msgstr "Konnte Service Benachrichtigung nicht senden" #: src/serverside.c:1614 msgid "Failed to register service handler" @@ -3480,7 +3456,7 @@ #: src/serverside.c:1937 #, c-format msgid "Error reading scores from %s." -msgstr "Fehler: Kann die Bestenliste %s nicht lesen" +msgstr "Fehler beim Lesen der Punkte aus %s." #: src/serverside.c:1942 #, c-format @@ -3488,6 +3464,8 @@ "The high score file %s has been converted to the new format.\n" "A backup of the old file has been created as %s.\n" msgstr "" +"Die Bestenliste-Datei %s wurde in das neue Format konvertiert.\n" +"Ein Backup der alten Datei wurde als %s erstellt.\n" #: src/serverside.c:1950 #, c-format @@ -3495,13 +3473,13 @@ "Cannot create backup (%s) of the\n" "high score file: %s." msgstr "" -"Kann keine Sicherheitskopie (%s) der\n" -"Bestenlistendatei (%s) erstellen." +"Kann kein Backup (%s) der\n" +"Bestenliste-Datei %s erstellen." #: src/serverside.c:1959 #, c-format msgid "Cannot open high score file %s: %s." -msgstr "Kann Bestenlistendatei nicht öffnen %s: %s." +msgstr "Kann die Bestenliste-Datei nicht öffnen %s: %s." #: src/serverside.c:2064 #, c-format @@ -3511,10 +3489,10 @@ "this file and directory, or specify an alternate high score file with the\n" "-f command line option." msgstr "" -"Kann Bestenliste %s nicht öffnen. (%s)\n" -"Bitte prüfe nach ob Du überhaupt die Rechte für die Datei hast oder\n" -"spezifiziere ein alternative 'Bestenlisten' Datei mit der -f kommandozeilen " -"option." +"Kann Bestenliste-Datei %s nicht öffnen. (%s)\n" +"(%s). Stell sicher, dass du die Berechtigung für den Zugriff\n" +"auf die Datei/das Verzeichnis hast oder gib eine andere Bestenliste-Datei\n" +"mit derm -f Kommandozeilen-Parameter an." #: src/serverside.c:2078 #, c-format @@ -3524,39 +3502,47 @@ "from an older version of dopewars, then first convert it to the\n" "new format by running \"dopewars -C %s\"\n" "from the command line." -msgstr "" +msgstr "%s scheint keine gültige Bestenliste-Datei zu sein -\n" +"bitte nachprüfen! Wenn es eine Datei von einer älteren Version\n" +"von Dopewars ist, dann konvertiere sie zuerst in das neue Format\n" +"mit Hilfe des Parameters \"dopewars -C %s\"\n" +"in der Kommandozeile." #: src/serverside.c:2088 msgid "" "Errors were encountered during the reading of the configuration file.\n" "As as result, some settings may not work as expected. Please consult the\n" "file \"dopewars-log.txt\" for further details." -msgstr "" +msgstr "Beim Lesen der Konfigurationsdatei traten Fehler auf. Als Folge\n" +"werden einige Einstellungen vielleicht nicht wie erwartet funktionieren.\n" +"Ziehe die Datei \"dopewars-log.txt\" für weitere Details zu Rate." #: src/serverside.c:2093 msgid "" "Errors were encountered during the reading of the configuration\n" "file. As a result, some settings may not work as expected. Please see the\n" "messages on standard output for further details." -msgstr "" +msgstr "Beim Lesen der Konfigurationsdatei traten Fehler auf. Als Folge\n" +"werden einige Einstellungen vielleicht nicht wie erwartet funktionieren.\n" +"Schau dir die Nachrichten unter Standard Output für weitere Details an." #: src/serverside.c:2166 #, c-format msgid "Unable to read high score file %s" -msgstr "Fehler: Kann die Bestenliste %s nicht lesen" +msgstr "Kann die Bestenliste-Datei %s nicht lesen." #: src/serverside.c:2192 msgid "Congratulations! You made the high scores!" -msgstr "Fantastisch! Du hast Dir einen Platz auf der Bestenliste verdient!" +msgstr "Glückwunsch! Du hast Dir einen Platz in der Bestenliste erkämpft!" #: src/serverside.c:2205 msgid "You didn't even make the high score table..." -msgstr "Tja, besser spielen dann gibs auch nen Eintrag." +msgstr "Tja, besser spielen, dann gibt's auch 'nen Highscore..." #: src/serverside.c:2226 #, c-format msgid "Unable to write high score file %s" -msgstr "Kann Bestenliste %s nicht schreiben" +msgstr "Kann Bestenliste-Datei %s nicht schreiben." #: src/serverside.c:2253 msgid "(R.I.P.)" @@ -3570,26 +3556,26 @@ #: src/serverside.c:2304 #, c-format msgid "%s: Spy offered by %s" -msgstr "%s: Spion angeboten durch %s" +msgstr "%s: Spion angeboten von %s" #: src/serverside.c:2318 #, c-format msgid "One of your %tde was spying for %s.^The spy %s!" -msgstr "Einer deiner %tde hat für %s gearbeitet.^%s, der Verräter !" +msgstr "Eine deiner %tde hat für %s spioniert.^Der Spion %s!" #: src/serverside.c:2327 #, c-format msgid "Your spy working with %s has been discovered!^The spy %s!" -msgstr "Dein Spion der für %s arbeitete wurde aufgedeckt!^Der Spion %s!" +msgstr "Dein Spion der für %s arbeitete wurde enttarnt!^Der Spion %s!" #: src/serverside.c:2361 #, c-format msgid "The lady next to you on the subway said,^ \"%s\"%s" -msgstr "Die Lady neben Dir in der U-Bahn spricht,^\"%s\"%s" +msgstr "Die Lady neben dir in der U-Bahn sagte,^ \"%s\"%s" #: src/serverside.c:2365 msgid "^ (at least, you -think- that's what she said)" -msgstr "^ (Zumindest kam es dir so vor als hätte Sie das gesagt)" +msgstr "^ (Zumindest -glaubst- du, sie hätte das gesagt)" #: src/serverside.c:2368 #, c-format @@ -3600,24 +3586,24 @@ #: src/serverside.c:2404 #, c-format msgid "YN^Would you like to visit %tde?" -msgstr "YN^Möchtest Du %tde besuchen?" +msgstr "YN^Möchtest du %tde besuchen?" #: src/serverside.c:2416 msgid "YN^^Would you like to hire a %tde for %P?" -msgstr "YN^^Willst Du eine %tde für %P anheuern?" +msgstr "YN^^Willst Du eine %tde für %P anwerben?" #: src/serverside.c:2429 #, c-format msgid "%s^%s is already here!^Do you Attack, or Evade?" -msgstr "%s^%s ist anwesend!^Willst Du Angreifen, oder Ausweichen?" +msgstr "%s^%s ist schon hier!^Willst du angreifen, oder dich verdrücken?" #: src/serverside.c:2498 msgid "No cops or guns!" -msgstr "Keine Polizei oder Waffen!" +msgstr "Keine Bullen oder Waffen!" #: src/serverside.c:2504 msgid "Cops cannot attack other cops!" -msgstr "Cops können keine anderen Cops angreifen" +msgstr "Polizisten können sich nicht gegenseitig angreifen." #: src/serverside.c:2546 msgid "Players are already in a fight!" @@ -3625,15 +3611,15 @@ #: src/serverside.c:2548 msgid "Players are already in separate fights!" -msgstr "Spieler sind bereits in verschieden Kämpfen!" +msgstr "Spieler kämpfen bereits in verschieden Kämpfen!" #: src/serverside.c:2553 msgid "Cannot start fight - no guns to use!" -msgstr "Kann nicht kämpfen - Keine Waffen verfügbar!" +msgstr "Kann nicht kämpfen - keine Waffen vorhanden!" #: src/serverside.c:2782 src/serverside.c:3045 msgid "You're dead! Game over." -msgstr "Du hauchst dein Leben aus! Game over." +msgstr "Du bist tot! Game over." #: src/serverside.c:2977 #, c-format @@ -3643,23 +3629,20 @@ #: src/serverside.c:2983 #, c-format msgid "Following your tipoff, the cops ambushed %s, who was shot dead!" -msgstr "" -"Nach deinem Tip haben die Cops %s gefunden, er wurde leider erschossen." +msgstr "Deinem Tipp folgend haben die Cops %s in einen Hinterhalt gelockt und abgeknallt." #: src/serverside.c:2987 #, c-format msgid "Following your tipoff, the cops ambushed %s, who escaped with %d %tde. " -msgstr "" -"Nach deinem Tip haben die Cops %s gefunden, Leider, konnte %d entkommen mit %" -"tde." +msgstr "Deinem Tipp folgend haben die Cops %s in einen Hinterhalt gelockt; leider, konnte %d mit %tde entkommen." #: src/serverside.c:3053 msgid "YN^Do you pay a doctor %P to sew you up?" -msgstr "YN^Willst du dem Doktor %P bezahlen um Dich zu heilen?" +msgstr "YN^Willst du einem Doktor %P blechen, damit er dich wieder zusammenflickt?" #: src/serverside.c:3082 msgid "You were mugged in the subway!" -msgstr "Du wurdest in der U-Bahn ausgeraubt!" +msgstr "Du wurdest in der U-Bahn bestohlen!" #: src/serverside.c:3094 #, c-format @@ -3683,7 +3666,7 @@ "Police dogs chase you for %d blocks! You dropped some %tde! That's a drag, " "man!" msgstr "" -"Polizeihunde verfolgen dich für %d block! Du hast ein wenig %tde weggeworfen!" +"Polizeihunde jagend dich %d Blocks entlang! Du hast ein wenig %tde weggeworfen! So'n Scheiß." #: src/serverside.c:3135 #, c-format @@ -3693,30 +3676,30 @@ #: src/serverside.c:3150 #, c-format msgid "Your mama made brownies with some of your %tde! They were great!" -msgstr "Deine Ma hat aus deinem %tde Brownies gemacht! Die waren super!" +msgstr "Deine Mama hat aus deinem %tde Brownies gemacht! Die waren super!" #: src/serverside.c:3160 msgid "" "YN^There is some weed that smells like paraquat here!^It looks good! Will " "you smoke it? " -msgstr "YN^Irgendwas riecht hier gut!^Sieht gut aus! Willst Du es rauchen?" +msgstr "YN^Du findest etwas Weed, das wie wie übelstes Rattengift stinkt!^Sieht aber sonst ganz gut aus! Willst Du es rauchen?" #: src/serverside.c:3167 #, c-format msgid "You stopped to %s." -msgstr "Plötzlich hörst du auf %s." +msgstr "Du machst eine kleine Pause um %s." #: src/serverside.c:3192 msgid "YN^Would you like to buy a bigger trenchcoat for %P?" -msgstr "YN^Möchtest Du einen größeren Trenchcoat für %P kaufen?" +msgstr "YN^Möchtest Du einen größeren Mantel für %P kaufen?" #: src/serverside.c:3199 msgid "YN^Hey dude! I'll help carry your %tde for a mere %P. Yes or no?" -msgstr "YN^Hey Kumpel! Ich trage %tde für %P. Ya oder Nein" +msgstr "YN^Hey Kumpel! Ich trage dir %tde für %P. Wie wär's? Ja oder Nein?" #: src/serverside.c:3212 msgid "YN^Would you like to buy a %tde for %P?" -msgstr "YN^Willst Du eine %tde für %P kaufen?" +msgstr "YN^Willst Du eine %tde f?r %P kaufen?" #: src/serverside.c:3355 src/serverside.c:3465 #, c-format @@ -3726,20 +3709,19 @@ #: src/serverside.c:3358 #, c-format msgid "%s has accepted your %tde!^Use the G key to contact your spy." -msgstr "%s hat deine %tde angenommen !^Kontaktiere deinen Spion." +msgstr "%s hat deine %tde angenommen !^Benutz die Taste G um deinen Spion zu kontaktieren." #: src/serverside.c:3410 msgid "" "You hallucinated for three days on the wildest trip you ever imagined!^Then " "you died because your brain disintegrated!" msgstr "" -"Du hast den wildesten Trip deines Lebens. Und dann bist du gestorben, weil " -"Dein Gehirn es nicht mehr ausghalten hat. ;)" +"Du hattes den geilsten Trip deines Lebens. Er dauerte drei Tage und übertraf alles, was du bisher erlebt hast. Dann bist du abgekratzt, weil dein Gehirn in tausend Teile zersprungen ist." #: src/serverside.c:3436 #, c-format msgid "Too late - %s has just left!" -msgstr "Zu Spät - %s hat sich verpisst!" +msgstr "Zu spät - %s hat sich verpisst!" #: src/serverside.c:3468 #, c-format @@ -3749,11 +3731,11 @@ #: src/serverside.c:3523 #, c-format msgid "The cops spot you dropping %tde!" -msgstr "Die Cops haben dich gesehen als du %tde wegwerfen wolltest" +msgstr "Die Cops haben dich gesehen als du %tde wegwerfen wolltest!" #: src/serverside.c:3756 msgid "Sending pending updates to the metaserver..." -msgstr "Sende update an Metaserver..." +msgstr "Sende Update an Metaserver..." #: src/serverside.c:3761 msgid "Sending reminder message to the metaserver..." @@ -3761,19 +3743,19 @@ #: src/serverside.c:3770 msgid "Player removed due to idle timeout" -msgstr "Spieler entfernt, Idle Timeout" +msgstr "Spieler entfernt aufgrund von Idle Timeout" #: src/serverside.c:3783 msgid "Player removed due to connect timeout" -msgstr "Spieler entfernt, Timeout bei Verbindungsaufbau" +msgstr "Spieler entfernt aufgrund von Timeout bei Verbindungsaufbau" #: src/error.c:68 msgid "(Error cannot be displayed in UTF-8)" -msgstr "" +msgstr "(Fehler kann in UTF-8 nicht angezeigt werden)" #: src/error.c:126 msgid "Connection dropped due to full buffer" -msgstr "" +msgstr "Verbindung abgebrochen aufgrund eines vollen Buffers" #: src/error.c:133 #, c-format @@ -3784,11 +3766,11 @@ #. * Windows Sockets error codes #: src/error.c:158 msgid "WinSock has not been properly initialised" -msgstr "WinSock wurde nicht initialisiert" +msgstr "WinSock wurde nicht richtig initialisiert" #: src/error.c:159 msgid "Network subsystem is not ready" -msgstr "Netzwerksubsysten ist nicht bereit" +msgstr "Netzwerk-Subsysten ist nicht bereit" #: src/error.c:160 msgid "WinSock version not supported" @@ -3808,27 +3790,27 @@ #: src/error.c:164 msgid "The connection timed out" -msgstr "Verbindungstimeout" +msgstr "Verbindungs-Timeout" #: src/error.c:165 msgid "Out of file descriptors" -msgstr "" +msgstr "Keine Datei-Beschreiber mehr" #: src/error.c:166 msgid "Out of buffer space" -msgstr "" +msgstr "Kein Platz im Buffer mehr" #: src/error.c:167 msgid "Operation not supported" -msgstr "" +msgstr "Operation nicht unterstützt" #: src/error.c:168 msgid "Connection aborted due to failure" -msgstr "Verbindung wegen eines Fehlers abgebrochen" +msgstr "Verbindung aufgrund eines Fehlschlages abgebrochen" #: src/error.c:169 msgid "Connection reset by remote host" -msgstr "Verbindung durch Remote Rechner beendet" +msgstr "Verbindung von Remote Host beendet" #: src/error.c:170 msgid "Connection refused" @@ -3849,15 +3831,15 @@ #. These are the explanations of the various name server error codes #: src/error.c:174 src/error.c:212 msgid "Host not found" -msgstr "Rechner nicht gefunden" +msgstr "Host nicht gefunden" #: src/error.c:175 src/error.c:213 msgid "Temporary name server error - try again later" -msgstr "Temporärer DNS Fehler - Versuchen sie es später nochmal" +msgstr "Temporärer DNS Fehler – Versuch es es später nochmal" #: src/error.c:176 msgid "Failed to contact nameserver" -msgstr "Kann mit Metaserver nicht verbinden" +msgstr "Kann Nameserver nicht erreichen" #: src/error.c:177 msgid "Valid name, but no DNS data record present" @@ -3881,7 +3863,7 @@ #: src/message.c:424 #, c-format msgid "Bad metaserver reply \"%s\"" -msgstr "Falsche Metaserverantwort \"%s\"" +msgstr "Falsche Antwort des Metaservers \"%s\"" #: src/message.c:428 #, c-format @@ -3890,15 +3872,15 @@ #: src/message.c:1167 msgid "Do you run?" -msgstr "Willst Du wegrennen?" +msgstr "Willst Du abhauen?" #: src/message.c:1170 msgid "Do you run, or fight?" -msgstr "Willst Du Rennen, oder Fighten?" +msgstr "Willst Du Rennen, oder Kämpfen?" #: src/message.c:1369 msgid "pitifully armed" -msgstr "kaum bewaffnet" +msgstr "ärmlich bewaffnet" #: src/message.c:1370 msgid "lightly armed" @@ -3906,7 +3888,7 @@ #: src/message.c:1371 msgid "moderately well armed" -msgstr "gut bewaffnet" +msgstr "recht gut bewaffnet" #: src/message.c:1372 msgid "heavily armed" @@ -3924,21 +3906,21 @@ #: src/message.c:1380 #, c-format msgid "%s and %d %tde - %s - are chasing you, man!" -msgstr "%s und %d %tde - %s - verfolgen dich Mann!" +msgstr "%s und %d %tde - %s - verfolgen dich, Mann!" #: src/message.c:1384 #, c-format msgid "%s arrives with %d %tde, %s!" -msgstr "%s trifft ein mit %d %tde, %s!" +msgstr "%s trifft mit %d %tde ein, %s!" #: src/message.c:1391 #, c-format msgid "%s stands and takes it" -msgstr "%s steht rum und kriegts voll ab." +msgstr "%s steht rum und kriegt's voll ab." #: src/message.c:1393 msgid "You stand there like a dummy." -msgstr "Du bleibst stehen und spielst Zielscheibe" +msgstr "Du bleibst stehen und fängst die Kugeln" #: src/message.c:1398 #, c-format @@ -3947,7 +3929,7 @@ #: src/message.c:1401 msgid "Panic! You can't get away!" -msgstr "Oh Gott! Du kommst nicht weg!" +msgstr "Verdammt! Du wirst sie nicht los!" #: src/message.c:1410 #, c-format @@ -3970,7 +3952,7 @@ #: src/message.c:1427 #, c-format msgid "%s shoots at %s... and misses!" -msgstr "%s schießt auf %s... und verfehlt!" +msgstr "%s schiesst auf %s... und verfehlt!" #: src/message.c:1430 #, c-format @@ -3985,7 +3967,7 @@ #: src/message.c:1439 #, c-format msgid "%s shoots %s dead." -msgstr "%s erschießt %s." +msgstr "%s erledigt %s." #: src/message.c:1442 #, c-format @@ -4000,7 +3982,7 @@ #: src/message.c:1450 #, c-format msgid "%s wasted you, man! What a drag!" -msgstr "" +msgstr "%s hat dich erledigt, Mann! So'n Scheiß!" #: src/message.c:1454 #, c-format @@ -4010,7 +3992,7 @@ #: src/message.c:1457 #, c-format msgid "%s hits you, man!" -msgstr "%s trifft Dich!" +msgstr "%s trifft dich, Mann!" #: src/message.c:1461 #, c-format @@ -4020,7 +4002,7 @@ #: src/message.c:1463 #, c-format msgid "You hit %s, and killed a %tde!" -msgstr "Du triffst %s und tötest %tde!" +msgstr "Du triffst %s und tötest eine %tde!" #: src/message.c:1466 #, c-format @@ -4038,164 +4020,165 @@ #: src/network.c:103 #, c-format msgid "Cannot initialise WinSock (%s)!" -msgstr "" +msgstr "Kann WinSock nicht initialisieren" #. SOCKS version 5 error messages #: src/network.c:379 msgid "SOCKS server general failure" -msgstr "" +msgstr "SOCKS-Server allgemeiner Fehler" #: src/network.c:380 msgid "Connection denied by SOCKS ruleset" -msgstr "" +msgstr "Verbindung von SOCKS ruleset abgelehnt" #: src/network.c:381 msgid "SOCKS: Network unreachable" -msgstr "" +msgstr "SOCKS: Netzwerk unerreichbar" #: src/network.c:382 msgid "SOCKS: Host unreachable" -msgstr "" +msgstr "SOCKS: Host unerreichbar" #: src/network.c:383 msgid "SOCKS: Connection refused" -msgstr "" +msgstr "SOCKS: Verbindung abgelehnt" #: src/network.c:384 msgid "SOCKS: TTL expired" -msgstr "" +msgstr "SOCKS: TTL abgelaufen" #: src/network.c:385 msgid "SOCKS: Command not supported" -msgstr "" +msgstr "SOCKS: Befehl nicht unterstützt" #: src/network.c:386 msgid "SOCKS: Address type not supported" -msgstr "" +msgstr "SOCKS: Addressen-Typ nicht unterstützt" #: src/network.c:387 msgid "SOCKS server rejected all offered methods" -msgstr "" +msgstr "SOCKS: Server hat alle angebotenen Methoden abgelehnt" #: src/network.c:388 msgid "Unknown SOCKS address type returned" -msgstr "" +msgstr "Unbekannter SOCKS Addressentyp zurückgekehrt" #: src/network.c:389 msgid "SOCKS authentication failed" -msgstr "" +msgstr "SOCKS-Bestätigung fehlgeschlagen" #: src/network.c:390 msgid "SOCKS authentication cancelled by user" -msgstr "" +msgstr "SOCKS-Bestätigung vom Benutzer abgebrochen" #. SOCKS version 4 error messages #: src/network.c:393 msgid "SOCKS: Request rejected or failed" -msgstr "" +msgstr "SOCKS: Nachfrage abgelehnt oder fehlgeschlagen" #: src/network.c:394 msgid "SOCKS: Rejected - unable to contact identd" -msgstr "" +msgstr "SOCKS: Abgelehnt unmöglich identd zu kontaktieren" #: src/network.c:396 msgid "SOCKS: Rejected - identd reports different user-id" -msgstr "" +msgstr "SOCKS: Abgelehnt identd meldet andere Benutzer-ID" #. SOCKS errors due to protocol violations #: src/network.c:399 msgid "Unknown SOCKS reply code" -msgstr "" +msgstr "Unbekannter SOCKS Antwort-Code" #: src/network.c:400 msgid "Unknown SOCKS reply version code" -msgstr "" +msgstr "Unbekannter SOCKS Antwort-Version-Code" #: src/network.c:401 msgid "Unknown SOCKS server version" -msgstr "" +msgstr "Unbekannte SOCKS Server-Version" #: src/network.c:407 #, c-format msgid "SOCKS error code %d" -msgstr "" +msgstr "SOCKS Fehler Code %d" #. Various HTTP error messages #: src/network.c:434 msgid "Number of tries exceeded" -msgstr "" +msgstr "Anzahl an Versuchen überschritten" #: src/network.c:437 #, c-format msgid "Bad auth header: %s" -msgstr "" +msgstr "Fehlerhafter auth Header: %s" #: src/network.c:440 #, c-format msgid "Bad redirect: %s" -msgstr "" +msgstr "Fehlerhafte Weiterleitung: %s" #: src/network.c:443 #, c-format msgid "Invalid HTTP status line: %s" -msgstr "" +msgstr "Ungültige HTTP Statuslinie: %s" #: src/network.c:447 msgid "403: forbidden" -msgstr "" +msgstr "403: forbidden" #: src/network.c:450 msgid "404: page not found" -msgstr "" +msgstr "404: page not found" #: src/network.c:453 msgid "401: HTTP authentication failed" -msgstr "" +msgstr "401: HTTP authentication failed" #: src/network.c:456 msgid "407: HTTP proxy authentication failed" -msgstr "" +msgstr "407: HTTP proxy authentication failed" #: src/network.c:460 msgid "Bad redirect message from server" -msgstr "" +msgstr "Fehlerhafte Weiterleitungs-Nachricht vom Server" #: src/network.c:464 #, c-format msgid "Unknown HTTP error %d" -msgstr "" +msgstr "Unbekannter HTTP Fehler %d" #: src/network.c:466 #, c-format msgid "%d: redirect error" -msgstr "" +msgstr "%d: Weiterleitungsfehler" #: src/network.c:468 #, c-format msgid "%d: HTTP client error" -msgstr "" +msgstr "%d: HTTP Client Fehler" #: src/network.c:470 #, c-format msgid "%d: HTTP server error" -msgstr "" +msgstr "%d: http Server Fehler" #: src/admin.c:52 #, c-format msgid "" "Attempting to connect to local dopewars server via Unix domain\n" " socket %s...\n" -msgstr "" +msgstr "Versuche, lokalen dopewars Server via Unix Domänen Socket\n" +"%s zu kontaktieren...\n" #: src/admin.c:70 msgid "" "Connection established; use Ctrl-D to close your session.\n" "\n" -msgstr "" +msgstr "Verbindung hergestellt. Beende deine Session mit Strg+D.\n" #: src/configfile.c:238 msgid "Could not determine local config file to write to" -msgstr "Kann lokale Konfigurationsdatei nicht finden" +msgstr "Konnte lokale Konfigurationsdatei nicht bestimmen" #: src/configfile.c:250 #, c-format @@ -4214,31 +4197,31 @@ #: src/AIPlayer.c:89 msgid "Connection established\n" -msgstr "Verbindung erstellt.\n" +msgstr "Verbindung hergestellt.\n" #: src/AIPlayer.c:109 #, c-format msgid "Connected to SOCKS server %s...\n" -msgstr "" +msgstr "Zu SOCKS Server %s verbunden...\n" #: src/AIPlayer.c:112 msgid "Authenticating with SOCKS server\n" -msgstr "" +msgstr "Bestätigung mit SOCKS Server\n" #: src/AIPlayer.c:115 #, c-format msgid "Asking SOCKS for connect to %s...\n" -msgstr "" +msgstr "Frage SOCKS um zu %s... zu verbinden\n" #: src/AIPlayer.c:126 msgid "" "Using Socks.Auth.User and Socks.Auth.Password for SOCKS5 authentication\n" -msgstr "" +msgstr "Benutze Socks.Auth.User und Socks.Auth.Password für SOCK5-Bestätigung\n" #: src/AIPlayer.c:153 #, c-format msgid "AI Player started; attempting to contact server at %s:%d..." -msgstr "KI Spieler gestartet; erstelle Verbindung zu Server %s auf port %d ..." +msgstr "KI Spieler gestartet; erstelle Verbindung zu Server bei %s:%d ..." #: src/AIPlayer.c:214 msgid "AI Player terminated OK.\n" @@ -4265,7 +4248,7 @@ #: src/AIPlayer.c:356 #, c-format msgid "%s has left the game.\n" -msgstr "%s verlässt das Spiel.\n" +msgstr "%s verlassst das Spiel.\n" #: src/AIPlayer.c:360 msgid "Jetting to %tde with %P cash and %P debt\n" @@ -4293,15 +4276,15 @@ #: src/AIPlayer.c:495 msgid "Buying %d %tde at %P\n" -msgstr "Kaufe %d %tde für %P\n" +msgstr "Kaufe %d %tde f?r %P\n" #: src/AIPlayer.c:528 msgid "Buying a %tde for %P at the gun shop\n" -msgstr "Kaufe eine %tde für %P im Waffenladen\n" +msgstr "Kaufe eine %tde f?r %P im Waffenladen\n" #: src/AIPlayer.c:579 msgid "Debt of %P paid off to loan shark\n" -msgstr "%P Schulden an den Kredithai zurück gezahlt.\n" +msgstr "%P Schulden an den Kredithai zurückgezahlt.\n" #: src/AIPlayer.c:611 #, c-format @@ -4326,7 +4309,7 @@ #. Random messages to send from the AI player to other players #: src/AIPlayer.c:671 msgid "Call yourselves drug dealers?" -msgstr "Ihr wollt Drogendealer sein?" +msgstr "Ihr nennt euch Drogendealer?" #: src/AIPlayer.c:672 msgid "A trained monkey could do better..." @@ -4334,15 +4317,15 @@ #: src/AIPlayer.c:673 msgid "Think you're hard enough to deal with the likes of me?" -msgstr "Denkste Du bist hart genug um mit mir zu handeln?" +msgstr "Denkste Du bist hart genug um mit Leuten wie mir zu handeln?" #: src/AIPlayer.c:674 msgid "Zzzzz... are you dealing in candy or what?" -msgstr "Zzzzz... Handelst du mit Schokoriegeln oder was?" +msgstr "Zzzzz... handelst du mit Schokoriegeln oder was?" #: src/AIPlayer.c:675 msgid "Reckon I'll just have to shoot you for your own good." -msgstr "Kleiner, ich werde dich töten. Es ist ja nur zu deinem besten." +msgstr "Kleiner, ich muss dich töten - zu deinem eigenen Besten!" #: src/AIPlayer.c:690 msgid "" @@ -4350,7 +4333,7 @@ "act as an AI player.\n" "Recompile passing --enable-networking to the configure script." msgstr "" -"Dieses Programm wurde ohne Netzwerkunterstützung kompiliert \n" +"Dieses Programm wurde ohne Netzwerkunterst?tzung kompiliert \n" " und kann dadurch nicht als KI Spieler eingesetzt werden.\n" "Neu kompilieren und --enable-networking bei ./configure angeben" @@ -4359,4 +4342,5 @@ msgid "" "Invalid plugin \"%s\" selected.\n" "(%s available; now using \"%s\".)" -msgstr "" +msgstr "Ungültiges Plugin \"%s\" ausgewählt.\n" +"(%s verfügbar; verwende nun \"%s\".)" debian/patches/doc_i18n.patch0000644000000000000000000000436012212374611013244 0ustar Description: Patch to update the i18n.html file. Origin: other --- a/doc/i18n.html +++ b/doc/i18n.html @@ -173,53 +173,49 @@
  • French (fr.po)
      -
    • Maintained by: leonard
    • +
    • Maintained by: leonard
    • Version required: 1.5.2 or later
  • French (Canada) (fr_CA.po)
      -
    • Maintained by: François Marier
    • +
    • Maintained by: François Marier
    • Version required: 1.5.11 or later
  • German (de.po)
      -
    • Maintained by: Eric Steiner, - Tobias Mathes
    • +
    • Maintained by: Benjamin Karaca, Eric Steiner, Tobias Mathes
    • Version required: 1.5.0 or later
  • Polish (pl.po)
      -
    • Maintained by: Slawomir - Molenda
    • +
    • Maintained by: Slawomir Molenda
    • Version required: 1.5.0 or later
  • Portuguese (Brazil) (pt_BR.po)
  • Norwegian Nynorsk (nn.po)
      -
    • Maintained by: - Åsmund Skjæveland
    • +
    • Maintained by: Åsmund Skjæveland
    • Version required: 1.5.7 or later
  • Spanish (es.po or es_ES.po)
      -
    • Maintained by: Quique
    • +
    • Maintained by: Quique
    • Version required: 1.5.8 or later
  • @@ -230,7 +226,7 @@
  • Main index

- Last update: 29-10-2004
+ Last update: 11-05-2006
Valid XHTML 1.1

debian/patches/CVE-2009-3591.patch0000644000000000000000000000141512212374611013242 0ustar Author: Ben Webb Description: Fix for a Denial of Service against the server Origin: upstream, http://dopewars.svn.sourceforge.net/viewvc/dopewars/dopewars/trunk/src/serverside.c?r1=1023&r2=1033&pathrev=1033 Bug-Debian: http://bugs.debian.org/550913 --- a/src/serverside.c 2008/08/20 16:33:30 1023 +++ b/src/serverside.c 2009/10/05 04:11:32 1033 @@ -504,6 +504,12 @@ break; case C_REQUESTJET: i = atoi(Data); + /* Make sure value is within range */ + if (i < 0 || i >= NumLocation) { + dopelog(3, LF_SERVER, _("%s: DENIED jet to invalid location %s"), + GetPlayerName(Play), Data); + break; + } if (Play->EventNum == E_FIGHT || Play->EventNum == E_FIGHTASK) { if (CanRunHere(Play)) { break; debian/patches/doc_help_Makefile.am.patch0000644000000000000000000000063212212374611015604 0ustar Description: Patch to correct the path in doc/help/Makefile.am. Origin: other --- a/doc/help/Makefile.am +++ b/doc/help/Makefile.am @@ -1,4 +1,4 @@ -DOCPATH = ${DESTDIR}${datadir}/doc/${PACKAGE}-${VERSION}/help +DOCPATH = ${DESTDIR}${datadir}/doc/${PACKAGE}/html/help DOCS = cops.html general.html locations.html sounds.html \ drugs.html guns.html server.html EXTRA_DIST = ${DOCS} debian/patches/po_fr_CA.po.patch0000644000000000000000000002775112212374611013736 0ustar Description: Patch to update the translations in po/fr_CA.po. Origin: other --- a/po/fr_CA.po +++ b/po/fr_CA.po @@ -6,7 +6,7 @@ "Project-Id-Version: dopewars 1.5.10\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-12-30 13:30-0800\n" -"PO-Revision-Date: 2004-10-29 19:55-0400\n" +"PO-Revision-Date: 2007-10-25 16:37+1300\n" "Last-Translator: François Marier \n" "Language-Team: French\n" "MIME-Version: 1.0\n" @@ -157,7 +157,7 @@ #: src/dopewars.c:299 msgid "Authentication for LocalName with the metaserver" -msgstr "Authentification du nom local avec le metaserveur " +msgstr "Authentification du nom local avec le metaserveur" #: src/dopewars.c:302 msgid "Server description, reported to the metaserver" @@ -556,7 +556,7 @@ #: src/dopewars.c:628 msgid "Word used to denote a single drug or equivalent" -msgstr "Mot utilisé pour décrire une drogue " +msgstr "Mot utilisé pour décrire une drogue" #: src/dopewars.c:631 msgid "Word used to denote two or more drugs" @@ -998,7 +998,8 @@ #: src/dopewars.c:807 msgid "Just say No... well, maybe... ok, what the hell!" -msgstr "Dis-lui non, tout simplement... ouin, peut-être... ah pis d'la marde!" +msgstr "" +"Dis-lui non, tout simplement... ouin, peut-être... ah pis d'la marde!" #: src/dopewars.c:808 msgid "Would you like a jelly baby?" @@ -1369,7 +1370,8 @@ "Basé sur le jeu Drug Wars par John E. Dell, dopewars est une simulation d'un" #: src/curses_client/curses_client.c:287 -msgid "imaginary drug market. dopewars is an All-American game which features" +msgid "" +"imaginary drug market. dopewars is an All-American game which features" msgstr "marché de la drogue imaginaire. Dopewars est un jeu qui comprend" #: src/curses_client/curses_client.c:289 @@ -1383,7 +1385,8 @@ "La première chose à faire est de rembourser votre dette au prêteur. Après," #: src/curses_client/curses_client.c:293 -msgid "that, your goal is to make as much money as possible (and stay alive)!" +msgid "" +"that, your goal is to make as much money as possible (and stay alive)!" msgstr "" "votre but est de faire le plus d'argent possible (tout en restant vivant)!" @@ -1394,7 +1397,7 @@ #: src/curses_client/curses_client.c:297 #, c-format msgid "Version %-8s Copyright (C) 1998-2005 Ben Webb benwebb@users.sf.net" -msgstr "Version·%-8s·Copyright·(C)·1998-2005··Ben·Webb·benwebb@users.sf.net" +msgstr "Version·%-8s Copyright (C) 1998-2005 Ben Webb benwebb@users.sf.net" #: src/curses_client/curses_client.c:300 msgid "dopewars is released under the GNU General Public Licence" @@ -1494,7 +1497,7 @@ #: src/curses_client/curses_client.c:457 msgid "N>ext server; P>revious server; S>elect this server... " -msgstr "S>erveur suivant; P>récedent; C>hoisir ce serveur..." +msgstr "S>erveur suivant; P>récedent; C>hoisir ce serveur... " #. The three keys that are valid responses to the previous question - #. * if you translate them, keep the keys in the same order (N>ext, @@ -1566,18 +1569,18 @@ #: src/curses_client/curses_client.c:700 msgid " L>ist the servers on the metaserver, and select one" -msgstr " L>iste des serveurs sur le méta, et en sélectionner un" +msgstr " L>iste des serveurs sur le méta, et en sélectionner un" #: src/curses_client/curses_client.c:703 msgid "" " Q>uit (where you can start a server by typing \"dopewars -s\")" msgstr "" -" Q>uitter (vous pouvez alors démarrer un server " -"en tapant \"dopewars -s\")" +" Q>uitter (vous pouvez alors démarrer un server " +"en tapant \"dopewars -s\")" #: src/curses_client/curses_client.c:705 msgid " or P>lay single-player ? " -msgstr " ou J>ouer en solo ? " +msgstr " ou J>ouer en solo ? " #. Translate these 4 keys in line with the above options, keeping #. * the order the same (C>onnect, L>ist, Q>uit, P>lay single-player) @@ -1636,7 +1639,7 @@ #: src/curses_client/curses_client.c:934 msgid "How many do you buy? " -msgstr "Combien que t'en prends ?" +msgstr "Combien que t'en prends ? " #: src/curses_client/curses_client.c:947 #, c-format @@ -1681,11 +1684,11 @@ #: src/curses_client/curses_client.c:1013 msgid "Whom do you want to spy on? " -msgstr "Qui c'est que tu veux espionner ?" +msgstr "Qui c'est que tu veux espionner ? " #: src/curses_client/curses_client.c:1019 msgid "Whom do you want to tip the cops off to? " -msgstr "Qui c'est que tu veux donner aux flics ?" +msgstr "Qui c'est que tu veux donner aux flics ? " #. Prompt for confirmation of sacking a bitch #: src/curses_client/curses_client.c:1026 @@ -1711,8 +1714,9 @@ msgstr "Nouveau nom: " #: src/curses_client/curses_client.c:1132 -msgid "You have been pushed from the server. Reverting to single player mode." -msgstr "Vous avez ete flushé du serveur. Mode solo." +msgid "" +"You have been pushed from the server. Reverting to single player mode." +msgstr "La connexion avec le serveur a été terminée. Mode solo." #: src/curses_client/curses_client.c:1142 msgid "The server has terminated. Reverting to single player mode." @@ -1748,7 +1752,7 @@ msgid "" "Unfortunately, somebody else is already using \"your\" name. Please change " "it." -msgstr "Malheureusement, quelqu'un d'autre utilise déjà ton nom. Change-le " +msgstr "Malheureusement, quelqu'un d'autre utilise déjà ton nom. Change-le." #: src/curses_client/curses_client.c:1275 msgid "H I G H S C O R E S" @@ -1792,7 +1796,7 @@ #. Prompt for actions in the gun shop #: src/curses_client/curses_client.c:1457 msgid "Will you B>uy, S>ell, or L>eave? " -msgstr "Veux tu A>cheter, V>endre, ou P>artir?" +msgstr "Veux tu A>cheter, V>endre, ou P>artir? " #. Translate these three keys in line with the above options, keeping #. * the order (B>uy, S>ell, L>eave) the same - you can change the @@ -1804,7 +1808,7 @@ #: src/curses_client/curses_client.c:1490 msgid "How much money do you pay back? " -msgstr "Combien de cash tu rends ?" +msgstr "Combien de cash tu rends ? " #. Error - player doesn't have enough money to pay back the loan #. Error - player has tried to put more money into the bank than @@ -1818,7 +1822,7 @@ #: src/curses_client/curses_client.c:1526 msgid "Do you want to D>eposit money, W>ithdraw money, or L>eave ? " msgstr "" -"Tu veux D>époser de l'argent, R>etirer de l'argents, ou S>acrer ton camp ?" +"Tu veux D>époser de l'argent, R>etirer de l'argents, ou S>acrer ton camp ? " #. Make sure you keep the order the same if you translate these keys! #. * (D>eposit, W>ithdraw, L>eave) @@ -1829,7 +1833,7 @@ #. Prompt for putting money in or taking money out of the bank #: src/curses_client/curses_client.c:1536 msgid "How much money? " -msgstr "Combien d'argent?" +msgstr "Combien d'argent? " #. Error - player has tried to withdraw more money from the bank #. * than there is in the account @@ -3048,7 +3052,8 @@ #. * and password #: src/gui_client/newgamedia.c:270 msgid "Status: Authenticating with SOCKS server" -msgstr "Status: En cours d'authentification avec le serveur SOCKS" +msgstr "" +"Status: En cours d'authentification avec le serveur SOCKS" #. Tell the user that all necessary SOCKS authentication has been #. * completed, and now we're going to try to have it connect to @@ -3268,7 +3273,8 @@ "variables MetaServer.Auth.User et MetaServer.Auth.Password." #: src/serverside.c:210 -msgid "Using Socks.Auth.User and Socks.Auth.Password for SOCKS5 authentication" +msgid "" +"Using Socks.Auth.User and Socks.Auth.Password for SOCKS5 authentication" msgstr "" "Utilisation de Socks.Auth.User et Socks.Auth.Password pour " "l'authentification SOCKS5." @@ -3276,7 +3282,8 @@ #: src/serverside.c:241 msgid "" "Attempt to connect to metaserver too frequently - waiting for next timeout" -msgstr "Connexion au méta-serveur trop fréquente, attente du prochain timeout" +msgstr "" +"Connexion au méta-serveur trop fréquente, attente du prochain timeout" #: src/serverside.c:301 #, c-format @@ -3313,8 +3320,8 @@ #. * server is full #: src/serverside.c:471 msgid "" -"Sorry, but this server has a limit of 1 player, which has been reached." -"^Please try connecting again later." +"Sorry, but this server has a limit of 1 player, which has been " +"reached.^Please try connecting again later." msgstr "" "Désolé, ce serveur a une limite d'un seul joueur et cette limite a été " "^atteinte. Merci de réessayer plus tard." @@ -3324,8 +3331,8 @@ #: src/serverside.c:478 #, c-format msgid "" -"Sorry, but this server has a limit of %d players, which has been reached." -"^Please try connecting again later." +"Sorry, but this server has a limit of %d players, which has been " +"reached.^Please try connecting again later." msgstr "" "Désolé, ce serveur a une limite de %d joueurs et cette limite a été " "^atteinte. Merci de réessayer plus tard." @@ -3498,7 +3505,7 @@ #: src/serverside.c:1291 #, c-format msgid "Admin command: %s" -msgstr "Command administrative" +msgstr "Commande administrative: %s" #: src/serverside.c:1297 msgid "Admin connection closed" @@ -3703,15 +3710,18 @@ #: src/serverside.c:2983 #, c-format -msgid "Following your tipoff, the cops ambushed %s, who was shot dead!" -msgstr "Suivant votre indice, les boeufs ont pogné %s, qui est mort par balle!" +msgid "" +"Following your tipoff, the cops ambushed %s, who was shot dead!" +msgstr "" +"Suivant votre indice, les boeufs ont pogné %s, qui est mort par balle!" #: src/serverside.c:2987 #, c-format -msgid "Following your tipoff, the cops ambushed %s, who escaped with %d %tde. " +msgid "" +"Following your tipoff, the cops ambushed %s, who escaped with %d %tde. " msgstr "" -"Suivant votre indice, les boeufs ont attaqué %s, qui s'est échappé avec %d %" -"tde. " +"Suivant votre indice, les boeufs ont attaqué %s, qui s'est échappé avec %d " +"%tde. " #: src/serverside.c:3053 msgid "YN^Do you pay a doctor %P to sew you up?" @@ -3743,7 +3753,7 @@ "Police dogs chase you for %d blocks! You dropped some %tde! That's a drag, " "man!" msgstr "" -"Les chiens de police te courent après sur %d blocs! T'as échappé: %tde! " +"Les chiens de police te courent après sur %d blocs! T'as échappé: %tde!" #: src/serverside.c:3135 #, c-format @@ -3762,7 +3772,7 @@ "you smoke it? " msgstr "" "YN^Il y a une sorte d'herbe qui sent bizarre ici!^Ça a l'air bon! Veux-tu la " -"fumer?" +"fumer? " #: src/serverside.c:3167 #, c-format @@ -3805,21 +3815,21 @@ #: src/serverside.c:3436 #, c-format msgid "Too late - %s has just left!" -msgstr "Trop tard - %s vient juste de partir!" +msgstr "Trop tard, %s vient juste de partir!" #: src/serverside.c:3468 #, c-format msgid "%s has rejected your %tde!" -msgstr "%s a rejeté votre %tde!" +msgstr "%s a rejeté ton %tde!" #: src/serverside.c:3523 #, c-format msgid "The cops spot you dropping %tde!" -msgstr "Les boeufs t'ont vu jeter ton stock!" +msgstr "Les boeufs t'ont vu jeter ton stock (%tde)!" #: src/serverside.c:3756 msgid "Sending pending updates to the metaserver..." -msgstr "Envoi des mise-à-jours au méta-serveur..." +msgstr "Envoi des mise à jours au méta-serveur..." #: src/serverside.c:3761 msgid "Sending reminder message to the metaserver..." @@ -3831,7 +3841,7 @@ #: src/serverside.c:3783 msgid "Player removed due to connect timeout" -msgstr "Joueur éjecté à d'un temps de connexion trop long" +msgstr "Joueur éjecté à cause d'un temps de connexion trop long" #: src/error.c:68 msgid "(Error cannot be displayed in UTF-8)" @@ -3839,7 +3849,7 @@ #: src/error.c:126 msgid "Connection dropped due to full buffer" -msgstr "La connexion est brisée à cause d'un buffer plein" +msgstr "La connexion est brisée à cause d'un tampon plein" #: src/error.c:133 #, c-format @@ -4095,7 +4105,7 @@ #: src/message.c:1469 msgid " You find %P on the body!" -msgstr "Tu trouves %P sur le corps!" +msgstr " Tu trouves %P sur le corps!" #: src/message.c:1471 msgid " You loot the body!" @@ -4229,7 +4239,7 @@ #: src/network.c:464 #, c-format msgid "Unknown HTTP error %d" -msgstr "Erreur HTTP inconnue" +msgstr "Erreur HTTP inconnue %d" #: src/network.c:466 #, c-format debian/patches/doc_Makefile.am.patch0000644000000000000000000000073612212374611014601 0ustar Description: Patch to correct the path in doc/Makefile.am. Origin: other --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -DOCPATH = ${DESTDIR}${datadir}/doc/${PACKAGE}-${VERSION}/ +DOCPATH = ${DESTDIR}${datadir}/doc/${PACKAGE}/html DOCS = aiplayer.html configfile.html index.html i18n.html \ server.html clientplay.html credits.html example-cfg \ installation.html servercommands.html commandline.html \ debian/patches/src_sound.c_format.patch0000644000000000000000000000100112212374611015415 0ustar Description: Fix formatting so it can build cleanly with -Werror=format-security set. Author: Julian Taylor --- a/src/sound.c +++ b/src/sound.c @@ -190,7 +190,7 @@ err = g_strdup_printf(_("Invalid plugin \"%s\" selected.\n" "(%s available; now using \"%s\".)"), drivername, plugins, NOPLUGIN); - g_log(NULL, G_LOG_LEVEL_CRITICAL, err); + g_log(NULL, G_LOG_LEVEL_CRITICAL, "%s", err); g_free(plugins); g_free(err); } debian/patches/dopewars.desktop.patch0000644000000000000000000000061612212374611015134 0ustar Description: Patch to correct the dopewars.desktop file. Origin: other --- a/dopewars.desktop +++ b/dopewars.desktop @@ -1,5 +1,5 @@ [Desktop Entry] -Name=dopewars +Name=Dopewars Name[de]=Drogenkrieg Name[pl]=Wojny narkotykowe Comment=dopewars drug dealing game @@ -10,5 +10,3 @@ Terminal=false Type=Application Categories=Application;Game;ArcadeGame; -Encoding=UTF-8 -# vi: encoding=utf-8 debian/patches/acinclude.m4.patch0000644000000000000000000065242712212374611014123 0ustar Description: Remove the libtool macro's from acinclude.m4 to stop the libtool version mismatch when using dh-autoreconf. Author: Dean Evans --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1900,6017 +1900,7 @@ [Define if your file defines LC_MESSAGES.]) fi fi]) -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- -## Copyright 1996, 1997, 1998, 1999, 2000, 2001 -## Free Software Foundation, Inc. -## Originally by Gordon Matzigkeit , 1996 -## -## 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 2 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, write to the Free Software -## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -## -## As a special exception to the GNU General Public License, if you -## distribute this file as part of a program that contains a -## configuration script generated by Autoconf, you may include it under -## the same distribution terms that you use for the rest of that program. -# serial 47 AC_PROG_LIBTOOL - - -# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) -# ----------------------------------------------------------- -# If this macro is not defined by Autoconf, define it here. -m4_ifdef([AC_PROVIDE_IFELSE], - [], - [m4_define([AC_PROVIDE_IFELSE], - [m4_ifdef([AC_PROVIDE_$1], - [$2], [$3])])]) - - -# AC_PROG_LIBTOOL -# --------------- -AC_DEFUN([AC_PROG_LIBTOOL], -[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl -dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX -dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. - AC_PROVIDE_IFELSE([AC_PROG_CXX], - [AC_LIBTOOL_CXX], - [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX - ])]) -dnl And a similar setup for Fortran 77 support - AC_PROVIDE_IFELSE([AC_PROG_F77], - [AC_LIBTOOL_F77], - [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 -])]) - -dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. -dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run -dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. - AC_PROVIDE_IFELSE([AC_PROG_GCJ], - [AC_LIBTOOL_GCJ], - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], - [AC_LIBTOOL_GCJ], - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], - [AC_LIBTOOL_GCJ], - [ifdef([AC_PROG_GCJ], - [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) - ifdef([A][M_PROG_GCJ], - [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) - ifdef([LT_AC_PROG_GCJ], - [define([LT_AC_PROG_GCJ], - defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) -])])# AC_PROG_LIBTOOL - - -# _AC_PROG_LIBTOOL -# ---------------- -AC_DEFUN([_AC_PROG_LIBTOOL], -[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl -AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl -AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl -AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl - -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" - -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' -AC_SUBST(LIBTOOL)dnl - -# Prevent multiple expansion -define([AC_PROG_LIBTOOL], []) -])# _AC_PROG_LIBTOOL - - -# AC_LIBTOOL_SETUP -# ---------------- -AC_DEFUN([AC_LIBTOOL_SETUP], -[AC_PREREQ(2.50)dnl -AC_REQUIRE([AC_ENABLE_SHARED])dnl -AC_REQUIRE([AC_ENABLE_STATIC])dnl -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_PROG_LD])dnl -AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl -AC_REQUIRE([AC_PROG_NM])dnl - -AC_REQUIRE([AC_PROG_LN_S])dnl -AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! -AC_REQUIRE([AC_OBJEXT])dnl -AC_REQUIRE([AC_EXEEXT])dnl -dnl - -AC_LIBTOOL_SYS_MAX_CMD_LEN -AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -AC_LIBTOOL_OBJDIR - -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl -_LT_AC_PROG_ECHO_BACKSLASH - -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES - fi - ;; -esac - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='sed -e s/^X//' -[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] - -# Same as above, but do not quote variable references. -[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] - -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' - -# Sed substitution to avoid accidental globbing in evaled expressions -no_glob_subst='s/\*/\\\*/g' - -# Constants: -rm="rm -f" - -# Global variables: -default_ofile=libtool -can_build_shared=yes - -# All known linkers require a `.a' archive for static linking (except M$VC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" - -AC_CHECK_TOOL(AR, ar, false) -AC_CHECK_TOOL(RANLIB, ranlib, :) -AC_CHECK_TOOL(STRIP, strip, :) - -old_CC="$CC" -old_CFLAGS="$CFLAGS" - -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$LTCC" && LTCC=$CC -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$SED" && SED=sed -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o - -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= - -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" - ;; - *) - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi - -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - AC_PATH_MAGIC - fi - ;; -esac - -AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], -enable_win32_dll=yes, enable_win32_dll=no) - -AC_ARG_ENABLE([libtool-lock], - [AC_HELP_STRING([--disable-libtool-lock], - [avoid locking (might break parallel builds)])]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - -AC_ARG_WITH([pic], - [AC_HELP_STRING([--with-pic], - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], - [pic_mode="$withval"], - [pic_mode=default]) -test -z "$pic_mode" && pic_mode=default - -# Use C for the default configuration in the libtool script -tagname= -AC_LIBTOOL_LANG_C_CONFIG -_LT_AC_TAGCONFIG -])# AC_LIBTOOL_SETUP - - -# _LT_AC_SYS_COMPILER -# ------------------- -AC_DEFUN([_LT_AC_SYS_COMPILER], -[AC_REQUIRE([AC_PROG_CC])dnl - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# Allow CC to be a program name with arguments. -compiler=$CC -])# _LT_AC_SYS_COMPILER - - -# _LT_AC_SYS_LIBPATH_AIX -# ---------------------- -# Links a minimal program and checks the executable -# for the system default hardcoded library path. In most cases, -# this is /usr/lib:/lib, but when the MPI compilers are used -# the location of the communication and MPI libs are included too. -# If we don't find anything, use the default library path according -# to the aix ld manual. -AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], -[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } -}'` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 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 -])# _LT_AC_SYS_LIBPATH_AIX - - -# _LT_AC_SHELL_INIT(ARG) -# ---------------------- -AC_DEFUN([_LT_AC_SHELL_INIT], -[ifdef([AC_DIVERSION_NOTICE], - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], - [AC_DIVERT_PUSH(NOTICE)]) -$1 -AC_DIVERT_POP -])# _LT_AC_SHELL_INIT - - -# _LT_AC_PROG_ECHO_BACKSLASH -# -------------------------- -# Add some code to the start of the generated configure script which -# will find an echo command which doesn't interpret backslashes. -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], -[_LT_AC_SHELL_INIT([ -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` - ;; -esac - -echo=${ECHO-echo} -if test "X[$]1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X[$]1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then - # Yippee, $echo works! - : -else - # Restart under the correct shell. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} -fi - -if test "X[$]1" = X--fallback-echo; then - # used as fallback echo - shift - cat </dev/null && - echo_test_string="`eval $cmd`" && - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null - then - break - fi - done -fi - -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - : -else - # The Solaris, AIX, and Digital Unix default echo programs unquote - # backslashes. This makes it impossible to quote backslashes using - # echo "$something" | sed 's/\\/\\\\/g' - # - # So, first we look for a working echo in the user's PATH. - - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for dir in $PATH /usr/ucb; do - IFS="$lt_save_ifs" - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - echo="$dir/echo" - break - fi - done - IFS="$lt_save_ifs" - - if test "X$echo" = Xecho; then - # We didn't find a better echo, so look for alternatives. - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # This shell has a builtin print -r that does the trick. - echo='print -r' - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && - test "X$CONFIG_SHELL" != X/bin/ksh; then - # If we have ksh, try running configure again with it. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} - export ORIGINAL_CONFIG_SHELL - CONFIG_SHELL=/bin/ksh - export CONFIG_SHELL - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} - else - # Try using printf. - echo='printf %s\n' - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # Cool, printf works - : - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL - export CONFIG_SHELL - SHELL="$CONFIG_SHELL" - export SHELL - echo="$CONFIG_SHELL [$]0 --fallback-echo" - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - echo="$CONFIG_SHELL [$]0 --fallback-echo" - else - # maybe with a smaller string... - prev=: - - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null - then - break - fi - prev="$cmd" - done - - if test "$prev" != 'sed 50q "[$]0"'; then - echo_test_string=`eval $prev` - export echo_test_string - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} - else - # Oops. We lost completely, so just stick with echo. - echo=echo - fi - fi - fi - fi -fi -fi - -# Copy echo and quote the copy suitably for passing to libtool from -# the Makefile, instead of quoting the original, which is used later. -ECHO=$echo -if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then - ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" -fi - -AC_SUBST(ECHO) -])])# _LT_AC_PROG_ECHO_BACKSLASH - - -# _LT_AC_LOCK -# ----------- -AC_DEFUN([_LT_AC_LOCK], -[AC_ARG_ENABLE([libtool-lock], - [AC_HELP_STRING([--disable-libtool-lock], - [avoid locking (might break parallel builds)])]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -ia64-*-hpux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *ELF-32*) - HPUX_IA64_MODE="32" - ;; - *ELF-64*) - HPUX_IA64_MODE="64" - ;; - esac - fi - rm -rf conftest* - ;; -*-*-irix6*) - # Find out which ABI we are using. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - if test "$lt_cv_prog_gnu_ld" = yes; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -melf32bsmip" - ;; - *N32*) - LD="${LD-ld} -melf32bmipn32" - ;; - *64-bit*) - LD="${LD-ld} -melf64bmip" - ;; - esac - else - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - fi - rm -rf conftest* - ;; - -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case "`/usr/bin/file conftest.o`" in - *32-bit*) - case $host in - x86_64-*linux*) - LD="${LD-ld} -m elf_i386" - ;; - ppc64-*linux*|powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" - ;; - s390x-*linux*) - LD="${LD-ld} -m elf_s390" - ;; - sparc64-*linux*) - LD="${LD-ld} -m elf32_sparc" - ;; - esac - ;; - *64-bit*) - case $host in - x86_64-*linux*) - LD="${LD-ld} -m elf_x86_64" - ;; - ppc*-*linux*|powerpc*-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; - s390*-*linux*) - LD="${LD-ld} -m elf64_s390" - ;; - sparc*-*linux*) - LD="${LD-ld} -m elf64_sparc" - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; - -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, - [AC_LANG_PUSH(C) - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) - AC_LANG_POP]) - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], -[*-*-cygwin* | *-*-mingw* | *-*-pw32*) - AC_CHECK_TOOL(DLLTOOL, dlltool, false) - AC_CHECK_TOOL(AS, as, false) - AC_CHECK_TOOL(OBJDUMP, objdump, false) - ;; - ]) -esac - -need_locks="$enable_libtool_lock" - -])# _LT_AC_LOCK - - -# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, -# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) -# ---------------------------------------------------------------- -# Check whether the given compiler option works -AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], -[AC_REQUIRE([LT_AC_PROG_SED]) -AC_CACHE_CHECK([$1], [$2], - [$2=no - ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) - printf "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$3" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test ! -s conftest.err; then - $2=yes - fi - fi - $rm conftest* -]) - -if test x"[$]$2" = xyes; then - ifelse([$5], , :, [$5]) -else - ifelse([$6], , :, [$6]) -fi -])# AC_LIBTOOL_COMPILER_OPTION - - -# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, -# [ACTION-SUCCESS], [ACTION-FAILURE]) -# ------------------------------------------------------------ -# Check whether the given compiler option works -AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], -[AC_CACHE_CHECK([$1], [$2], - [$2=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $3" - printf "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&AS_MESSAGE_LOG_FD - else - $2=yes - fi - fi - $rm conftest* - LDFLAGS="$save_LDFLAGS" -]) - -if test x"[$]$2" = xyes; then - ifelse([$4], , :, [$4]) -else - ifelse([$5], , :, [$5]) -fi -])# AC_LIBTOOL_LINKER_OPTION - - -# AC_LIBTOOL_SYS_MAX_CMD_LEN -# -------------------------- -AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], -[# find the maximum length of command line arguments -AC_MSG_CHECKING([the maximum length of command line arguments]) -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl - i=0 - teststring="ABCD" - - case $build_os in - msdosdjgpp*) - # On DJGPP, this test can blow up pretty badly due to problems in libc - # (any single argument exceeding 2000 bytes causes a buffer overrun - # during glob expansion). Even if it were fixed, the result of this - # check would be larger than it should be. - lt_cv_sys_max_cmd_len=12288; # 12K is about right - ;; - - gnu*) - # Under GNU Hurd, this test is not required because there is - # no limit to the length of command line arguments. - # Libtool will interpret -1 as no limit whatsoever - lt_cv_sys_max_cmd_len=-1; - ;; - - cygwin* | mingw*) - # On Win9x/ME, this test blows up -- it succeeds, but takes - # about 5 minutes as the teststring grows exponentially. - # Worse, since 9x/ME are not pre-emptively multitasking, - # you end up with a "frozen" computer, even though with patience - # the test eventually succeeds (with a max line length of 256k). - # Instead, let's just punt: use the minimum linelength reported by - # all of the supported platforms: 8192 (on NT/2K/XP). - lt_cv_sys_max_cmd_len=8192; - ;; - - amigaos*) - # On AmigaOS with pdksh, this test takes hours, literally. - # So we just punt and use a minimum line length of 8192. - lt_cv_sys_max_cmd_len=8192; - ;; - - *) - # If test is not a shell built-in, we'll probably end up computing a - # maximum length that is only half of the actual maximum length, but - # we can't tell. - while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ - = "XX$teststring") >/dev/null 2>&1 && - new_result=`expr "X$teststring" : ".*" 2>&1` && - lt_cv_sys_max_cmd_len=$new_result && - test $i != 17 # 1/2 MB should be enough - do - i=`expr $i + 1` - teststring=$teststring$teststring - done - teststring= - # Add a significant safety factor because C++ compilers can tack on massive - # amounts of additional arguments before passing them to the linker. - # It appears as though 1/2 is a usable value. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` - ;; - esac -]) -if test -n $lt_cv_sys_max_cmd_len ; then - AC_MSG_RESULT($lt_cv_sys_max_cmd_len) -else - AC_MSG_RESULT(none) -fi -])# AC_LIBTOOL_SYS_MAX_CMD_LEN - - -# _LT_AC_CHECK_DLFCN -# -------------------- -AC_DEFUN([_LT_AC_CHECK_DLFCN], -[AC_CHECK_HEADERS(dlfcn.h)dnl -])# _LT_AC_CHECK_DLFCN - - -# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) -# ------------------------------------------------------------------ -AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl -if test "$cross_compiling" = yes; then : - [$4] -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext < -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -#ifdef __cplusplus -extern "C" void exit (int); -#endif - -void fnord() { int i=42;} -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } - - exit (status); -}] -EOF - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) $1 ;; - x$lt_dlneed_uscore) $2 ;; - x$lt_unknown|x*) $3 ;; - esac - else : - # compilation failed - $3 - fi -fi -rm -fr conftest* -])# _LT_AC_TRY_DLOPEN_SELF - - -# AC_LIBTOOL_DLOPEN_SELF -# ------------------- -AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl -if test "x$enable_dlopen" != xyes; then - enable_dlopen=unknown - enable_dlopen_self=unknown - enable_dlopen_self_static=unknown -else - lt_cv_dlopen=no - lt_cv_dlopen_libs= - - case $host_os in - beos*) - lt_cv_dlopen="load_add_on" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ;; - - mingw* | pw32*) - lt_cv_dlopen="LoadLibrary" - lt_cv_dlopen_libs= - ;; - - cygwin*) - lt_cv_dlopen="dlopen" - lt_cv_dlopen_libs= - ;; - - darwin*) - # if libdl is installed we need to link against it - AC_CHECK_LIB([dl], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ - lt_cv_dlopen="dyld" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ]) - ;; - - *) - AC_CHECK_FUNC([shl_load], - [lt_cv_dlopen="shl_load"], - [AC_CHECK_LIB([dld], [shl_load], - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], - [AC_CHECK_FUNC([dlopen], - [lt_cv_dlopen="dlopen"], - [AC_CHECK_LIB([dl], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], - [AC_CHECK_LIB([svld], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], - [AC_CHECK_LIB([dld], [dld_link], - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) - ]) - ]) - ]) - ]) - ]) - ;; - esac - - if test "x$lt_cv_dlopen" != xno; then - enable_dlopen=yes - else - enable_dlopen=no - fi - - case $lt_cv_dlopen in - dlopen) - save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" - - save_LDFLAGS="$LDFLAGS" - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" - - save_LIBS="$LIBS" - LIBS="$lt_cv_dlopen_libs $LIBS" - - AC_CACHE_CHECK([whether a program can dlopen itself], - lt_cv_dlopen_self, [dnl - _LT_AC_TRY_DLOPEN_SELF( - lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, - lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) - ]) - - if test "x$lt_cv_dlopen_self" = xyes; then - LDFLAGS="$LDFLAGS $link_static_flag" - AC_CACHE_CHECK([whether a statically linked program can dlopen itself], - lt_cv_dlopen_self_static, [dnl - _LT_AC_TRY_DLOPEN_SELF( - lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, - lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) - ]) - fi - - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - ;; - esac - - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac - - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac -fi -])# AC_LIBTOOL_DLOPEN_SELF - - -# AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) -# --------------------------------- -# Check to see if options -c and -o are simultaneously supported by compiler -AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no - $rm -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - printf "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - if test ! -s out/conftest.err; then - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes - fi - fi - chmod u+w . - $rm conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files - $rm out/* && rmdir out - cd .. - rmdir conftest - $rm conftest* -]) -])# AC_LIBTOOL_PROG_CC_C_O - - -# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) -# ----------------------------------------- -# Check to see if we can do hard links to lock some files if needed -AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], -[AC_REQUIRE([_LT_AC_LOCK])dnl - -hard_links="nottested" -if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - AC_MSG_CHECKING([if we can lock with hard links]) - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - AC_MSG_RESULT([$hard_links]) - if test "$hard_links" = no; then - AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) - need_locks=warn - fi -else - need_locks=no -fi -])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS - - -# AC_LIBTOOL_OBJDIR -# ----------------- -AC_DEFUN([AC_LIBTOOL_OBJDIR], -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], -[rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - lt_cv_objdir=.libs -else - # MS-DOS does not allow filenames that begin with a dot. - lt_cv_objdir=_libs -fi -rmdir .libs 2>/dev/null]) -objdir=$lt_cv_objdir -])# AC_LIBTOOL_OBJDIR - - -# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) -# ---------------------------------------------- -# Check hardcoding attributes. -AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], -[AC_MSG_CHECKING([how to hardcode library paths into programs]) -_LT_AC_TAGVAR(hardcode_action, $1)= -if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ - test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \ - test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then - - # We can hardcode non-existant directories. - if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && - test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then - # Linking always hardcodes the temporary library directory. - _LT_AC_TAGVAR(hardcode_action, $1)=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - _LT_AC_TAGVAR(hardcode_action, $1)=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - _LT_AC_TAGVAR(hardcode_action, $1)=unsupported -fi -AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) - -if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi -])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH - - -# AC_LIBTOOL_SYS_LIB_STRIP -# ------------------------ -AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], -[striplib= -old_striplib= -AC_MSG_CHECKING([whether stripping libraries is possible]) -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - AC_MSG_RESULT([yes]) -else -# FIXME - insert some real tests, host_os isn't really good enough - case $host_os in - darwin*) - if test -n "$STRIP" ; then - striplib="$STRIP -x" - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) -fi - ;; - *) - AC_MSG_RESULT([no]) - ;; - esac -fi -])# AC_LIBTOOL_SYS_LIB_STRIP - - -# AC_LIBTOOL_SYS_DYNAMIC_LINKER -# ----------------------------- -# PORTME Fill in your ld.so characteristics -AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], -[AC_MSG_CHECKING([dynamic linker characteristics]) -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -if test "$GCC" = yes; then - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then - # if the path contains ";" then we assume it to be the separator - # otherwise default to the standard path separator (i.e. ":") - it is - # assumed that no part of a normal pathname contains ";" but that should - # okay in the real world where ";" in dirpaths is itself problematic. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi -else - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -fi -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; - -aix4* | aix5*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[[01]] | aix4.[[01]].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi4*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; - mingw*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - ;; - esac - ;; - - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. - if test "$GCC" = yes; then - sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` - else - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' - fi - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -kfreebsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='GNU ld.so' - ;; - -freebsd*) - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[01]* | freebsdelf3.[01]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - *) # from 3.2 on - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - esac - ;; - -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case "$host_cpu" in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -# This must be Linux ELF. -linux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # find out which ABI we are using - libsuff= - case "$host_cpu" in - x86_64*|s390x*|powerpc64*) - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *64-bit*) - libsuff=64 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" - ;; - esac - fi - rm -rf conftest* - ;; - esac - - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -knetbsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='GNU ld.so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -nto-qnx*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -openbsd*) - version_type=sunos - need_lib_prefix=no - need_version=yes - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[[89]] | openbsd2.[[89]].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - ;; - -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; - -sco3.2v5*) - version_type=osf - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - ;; - -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -AC_MSG_RESULT([$dynamic_linker]) -test "$dynamic_linker" = no && can_build_shared=no -])# AC_LIBTOOL_SYS_DYNAMIC_LINKER - - -# _LT_AC_TAGCONFIG -# ---------------- -AC_DEFUN([_LT_AC_TAGCONFIG], -[AC_ARG_WITH([tags], - [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], - [include additional configurations @<:@automatic@:>@])], - [tagnames="$withval"]) - -if test -f "$ltmain" && test -n "$tagnames"; then - if test ! -f "${ofile}"; then - AC_MSG_WARN([output file `$ofile' does not exist]) - fi - - if test -z "$LTCC"; then - eval "`$SHELL ${ofile} --config | grep '^LTCC='`" - if test -z "$LTCC"; then - AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) - else - AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) - fi - fi - - # Extract list of available tagged configurations in $ofile. - # Note that this assumes the entire list is on one line. - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` - - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for tagname in $tagnames; do - IFS="$lt_save_ifs" - # Check whether tagname contains only valid characters - case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in - "") ;; - *) AC_MSG_ERROR([invalid tag name: $tagname]) - ;; - esac - - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null - then - AC_MSG_ERROR([tag name \"$tagname\" already exists]) - fi - - # Update the list of available tags. - if test -n "$tagname"; then - echo appending configuration tag \"$tagname\" to $ofile - - case $tagname in - CXX) - if test -n "$CXX" && test "X$CXX" != "Xno"; then - AC_LIBTOOL_LANG_CXX_CONFIG - else - tagname="" - fi - ;; - - F77) - if test -n "$F77" && test "X$F77" != "Xno"; then - AC_LIBTOOL_LANG_F77_CONFIG - else - tagname="" - fi - ;; - - GCJ) - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then - AC_LIBTOOL_LANG_GCJ_CONFIG - else - tagname="" - fi - ;; - - RC) - AC_LIBTOOL_LANG_RC_CONFIG - ;; - - *) - AC_MSG_ERROR([Unsupported tag name: $tagname]) - ;; - esac - - # Append the new tag name to the list of available tags. - if test -n "$tagname" ; then - available_tags="$available_tags $tagname" - fi - fi - done - IFS="$lt_save_ifs" - - # Now substitute the updated list of available tags. - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then - mv "${ofile}T" "$ofile" - chmod +x "$ofile" - else - rm -f "${ofile}T" - AC_MSG_ERROR([unable to update list of available tagged configurations.]) - fi -fi -])# _LT_AC_TAGCONFIG - - -# AC_LIBTOOL_DLOPEN -# ----------------- -# enable checks for dlopen support -AC_DEFUN([AC_LIBTOOL_DLOPEN], - [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) -])# AC_LIBTOOL_DLOPEN - - -# AC_LIBTOOL_WIN32_DLL -# -------------------- -# declare package support for building win32 dll's -AC_DEFUN([AC_LIBTOOL_WIN32_DLL], -[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) -])# AC_LIBTOOL_WIN32_DLL - - -# AC_ENABLE_SHARED([DEFAULT]) -# --------------------------- -# implement the --enable-shared flag -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -AC_DEFUN([AC_ENABLE_SHARED], -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE([shared], - [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], - [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_shared=yes ;; - no) enable_shared=no ;; - *) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_shared=]AC_ENABLE_SHARED_DEFAULT) -])# AC_ENABLE_SHARED - - -# AC_DISABLE_SHARED -# ----------------- -#- set the default shared flag to --disable-shared -AC_DEFUN([AC_DISABLE_SHARED], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_SHARED(no) -])# AC_DISABLE_SHARED - - -# AC_ENABLE_STATIC([DEFAULT]) -# --------------------------- -# implement the --enable-static flag -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -AC_DEFUN([AC_ENABLE_STATIC], -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE([static], - [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], - [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_static=yes ;; - no) enable_static=no ;; - *) - enable_static=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_static=]AC_ENABLE_STATIC_DEFAULT) -])# AC_ENABLE_STATIC - - -# AC_DISABLE_STATIC -# ----------------- -# set the default static flag to --disable-static -AC_DEFUN([AC_DISABLE_STATIC], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_STATIC(no) -])# AC_DISABLE_STATIC - - -# AC_ENABLE_FAST_INSTALL([DEFAULT]) -# --------------------------------- -# implement the --enable-fast-install flag -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -AC_DEFUN([AC_ENABLE_FAST_INSTALL], -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE([fast-install], - [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], - [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_fast_install=yes ;; - no) enable_fast_install=no ;; - *) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) -])# AC_ENABLE_FAST_INSTALL - - -# AC_DISABLE_FAST_INSTALL -# ----------------------- -# set the default to --disable-fast-install -AC_DEFUN([AC_DISABLE_FAST_INSTALL], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_FAST_INSTALL(no) -])# AC_DISABLE_FAST_INSTALL - - -# AC_LIBTOOL_PICMODE([MODE]) -# -------------------------- -# implement the --with-pic flag -# MODE is either `yes' or `no'. If omitted, it defaults to `both'. -AC_DEFUN([AC_LIBTOOL_PICMODE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -pic_mode=ifelse($#,1,$1,default) -])# AC_LIBTOOL_PICMODE - - -# AC_PROG_EGREP -# ------------- -# This is predefined starting with Autoconf 2.54, so this conditional -# definition can be removed once we require Autoconf 2.54 or later. -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], -[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], - [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 - then ac_cv_prog_egrep='grep -E' - else ac_cv_prog_egrep='egrep' - fi]) - EGREP=$ac_cv_prog_egrep - AC_SUBST([EGREP]) -])]) - - -# AC_PATH_TOOL_PREFIX -# ------------------- -# find a file program which can recognise shared library -AC_DEFUN([AC_PATH_TOOL_PREFIX], -[AC_REQUIRE([AC_PROG_EGREP])dnl -AC_MSG_CHECKING([for $1]) -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, -[case $MAGIC_CMD in -[[\\/*] | ?:[\\/]*]) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD="$MAGIC_CMD" - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -dnl $ac_dummy forces splitting on constant user-supplied paths. -dnl POSIX.2 word splitting is done only on the output of word expansions, -dnl not every word. This closes a longstanding sh security hole. - ac_dummy="ifelse([$2], , $PATH, [$2])" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$1; then - lt_cv_path_MAGIC_CMD="$ac_dir/$1" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac]) -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - AC_MSG_RESULT($MAGIC_CMD) -else - AC_MSG_RESULT(no) -fi -])# AC_PATH_TOOL_PREFIX - - -# AC_PATH_MAGIC -# ------------- -# find a file program which can recognise a shared library -AC_DEFUN([AC_PATH_MAGIC], -[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) - else - MAGIC_CMD=: - fi -fi -])# AC_PATH_MAGIC - - -# AC_PROG_LD -# ---------- -# find the pathname to the GNU or non-GNU linker -AC_DEFUN([AC_PROG_LD], -[AC_ARG_WITH([gnu-ld], - [AC_HELP_STRING([--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([LT_AC_PROG_SED])dnl -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -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 $CC]) - 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. - [[\\/]]* | ?:[[\\/]]*) - re_direlt='/[[^/]][[^/]]*/\.\./' - # Canonicalize the pathname 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(lt_cv_path_LD, -[if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_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 `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - ;; - esac - else - lt_cv_deplibs_check_method=pass_all - fi - ;; - -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; - -hpux10.20* | hpux11*) - lt_cv_file_magic_cmd=/usr/bin/file - case "$host_cpu" in - ia64*) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so - ;; - hppa*64*) - [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl - ;; - *) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; - esac - ;; - -irix5* | irix6* | nonstopux*) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - lt_cv_deplibs_check_method=pass_all - ;; - -# This must be Linux ELF. -linux*) - case $host_cpu in - alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*) - lt_cv_deplibs_check_method=pass_all ;; - *) - # glibc up to 2.1.1 does not perform some relocations on ARM - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; - esac - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` - lt_cv_deplibs_check_method=pass_all - ;; - -netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' - fi - ;; - -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; - -nto-qnx*) - lt_cv_deplibs_check_method=unknown - ;; - -openbsd*) - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' - else - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' - fi - ;; - -osf3* | osf4* | osf5*) - lt_cv_deplibs_check_method=pass_all - ;; - -sco3.2v5*) - lt_cv_deplibs_check_method=pass_all - ;; - -solaris*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; - -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; -esac -]) -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -test -z "$deplibs_check_method" && deplibs_check_method=unknown -])# AC_DEPLIBS_CHECK_METHOD - - -# AC_PROG_NM -# ---------- -# find the pathname to a BSD-compatible name lister -AC_DEFUN([AC_PROG_NM], -[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, -[if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" -else - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - tmp_nm="$ac_dir/${ac_tool_prefix}nm" - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in - */dev/null* | *'Invalid file or object type'*) - lt_cv_path_NM="$tmp_nm -B" - break - ;; - *) - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in - */dev/null*) - lt_cv_path_NM="$tmp_nm -p" - break - ;; - *) - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - ;; - esac - esac - fi - done - IFS="$lt_save_ifs" - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm -fi]) -NM="$lt_cv_path_NM" -])# AC_PROG_NM - - -# AC_CHECK_LIBM -# ------------- -# check for math library -AC_DEFUN([AC_CHECK_LIBM], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -LIBM= -case $host in -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) - # These system don't have libm, or don't need it - ;; -*-ncr-sysv4.3*) - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") - AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") - ;; -*) - AC_CHECK_LIB(m, cos, LIBM="-lm") - ;; -esac -])# AC_CHECK_LIBM - - -# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) -# ----------------------------------- -# sets LIBLTDL to the link flags for the libltdl convenience library and -# LTDLINCL to the include flags for the libltdl header and adds -# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If -# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with -# '${top_srcdir}/' (note the single quotes!). If your package is not -# flat and you're not using automake, define top_builddir and -# top_srcdir appropriately in the Makefiles. -AC_DEFUN([AC_LIBLTDL_CONVENIENCE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - case $enable_ltdl_convenience in - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; - "") enable_ltdl_convenience=yes - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; - esac - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -])# AC_LIBLTDL_CONVENIENCE - - -# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) -# ----------------------------------- -# sets LIBLTDL to the link flags for the libltdl installable library and -# LTDLINCL to the include flags for the libltdl header and adds -# --enable-ltdl-install to the configure arguments. Note that LIBLTDL -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If -# DIRECTORY is not provided and an installed libltdl is not found, it is -# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/' -# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single -# quotes!). If your package is not flat and you're not using automake, -# define top_builddir and top_srcdir appropriately in the Makefiles. -# In the future, this macro may have to be called after AC_PROG_LIBTOOL. -AC_DEFUN([AC_LIBLTDL_INSTALLABLE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - AC_CHECK_LIB(ltdl, lt_dlinit, - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], - [if test x"$enable_ltdl_install" = xno; then - AC_MSG_WARN([libltdl not installed, but installation disabled]) - else - enable_ltdl_install=yes - fi - ]) - if test x"$enable_ltdl_install" = x"yes"; then - ac_configure_args="$ac_configure_args --enable-ltdl-install" - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - else - ac_configure_args="$ac_configure_args --enable-ltdl-install=no" - LIBLTDL="-lltdl" - LTDLINCL= - fi - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -])# AC_LIBLTDL_INSTALLABLE - - -# AC_LIBTOOL_CXX -# -------------- -# enable support for C++ libraries -AC_DEFUN([AC_LIBTOOL_CXX], -[AC_REQUIRE([_LT_AC_LANG_CXX]) -])# AC_LIBTOOL_CXX - - -# _LT_AC_LANG_CXX -# --------------- -AC_DEFUN([_LT_AC_LANG_CXX], -[AC_REQUIRE([AC_PROG_CXX]) -AC_REQUIRE([AC_PROG_CXXCPP]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) -])# _LT_AC_LANG_CXX - - -# AC_LIBTOOL_F77 -# -------------- -# enable support for Fortran 77 libraries -AC_DEFUN([AC_LIBTOOL_F77], -[AC_REQUIRE([_LT_AC_LANG_F77]) -])# AC_LIBTOOL_F77 - - -# _LT_AC_LANG_F77 -# --------------- -AC_DEFUN([_LT_AC_LANG_F77], -[AC_REQUIRE([AC_PROG_F77]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) -])# _LT_AC_LANG_F77 - - -# AC_LIBTOOL_GCJ -# -------------- -# enable support for GCJ libraries -AC_DEFUN([AC_LIBTOOL_GCJ], -[AC_REQUIRE([_LT_AC_LANG_GCJ]) -])# AC_LIBTOOL_GCJ - - -# _LT_AC_LANG_GCJ -# --------------- -AC_DEFUN([_LT_AC_LANG_GCJ], -[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], - [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], - [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], - [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) -])# _LT_AC_LANG_GCJ - - -# AC_LIBTOOL_RC -# -------------- -# enable support for Windows resource files -AC_DEFUN([AC_LIBTOOL_RC], -[AC_REQUIRE([LT_AC_PROG_RC]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) -])# AC_LIBTOOL_RC - - -# AC_LIBTOOL_LANG_C_CONFIG -# ------------------------ -# Ensure that the configuration vars for the C compiler are -# suitably defined. Those variables are subsequently used by -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. -AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) -AC_DEFUN([_LT_AC_LANG_C_CONFIG], -[lt_save_CC="$CC" -AC_LANG_PUSH(C) - -# Source file extension for C test sources. -ac_ext=c - -# Object file extension for compiled C test sources. -objext=o -_LT_AC_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;\n" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(){return(0);}\n' - -_LT_AC_SYS_COMPILER - -# -# Check for any special shared library compilation flags. -# -_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)= -if test "$GCC" = no; then - case $host_os in - sco3.2v5*) - _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf' - ;; - esac -fi -if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then - AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) - if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then : - else - AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) - _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no - fi -fi - - -# -# Check to make sure the static flag actually works. -# -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works], - _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), - $_LT_AC_TAGVAR(lt_prog_compiler_static, $1), - [], - [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) - - -## CAVEAT EMPTOR: -## There is no encapsulation within the following macros, do not change -## the running order or otherwise move them around unless you know exactly -## what you are doing... -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) -AC_LIBTOOL_PROG_COMPILER_PIC($1) -AC_LIBTOOL_PROG_CC_C_O($1) -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) -AC_LIBTOOL_PROG_LD_SHLIBS($1) -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) -AC_LIBTOOL_SYS_LIB_STRIP -AC_LIBTOOL_DLOPEN_SELF($1) - -# Report which librarie types wil actually be built -AC_MSG_CHECKING([if libtool supports shared libraries]) -AC_MSG_RESULT([$can_build_shared]) - -AC_MSG_CHECKING([whether to build shared libraries]) -test "$can_build_shared" = "no" && enable_shared=no - -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case "$host_os" in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - -aix4* | aix5*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; - darwin* | rhapsody*) - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - case "$host_os" in - rhapsody* | darwin1.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' - ;; - 10.*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' - ;; - esac - fi - ;; - esac - output_verbose_link_cmd='echo' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; -esac -AC_MSG_RESULT([$enable_shared]) - -AC_MSG_CHECKING([whether to build static libraries]) -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -AC_MSG_RESULT([$enable_static]) - -AC_LIBTOOL_CONFIG($1) - -AC_LANG_POP -CC="$lt_save_CC" -])# AC_LIBTOOL_LANG_C_CONFIG - - -# AC_LIBTOOL_LANG_CXX_CONFIG -# -------------------------- -# Ensure that the configuration vars for the C compiler are -# suitably defined. Those variables are subsequently used by -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. -AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) -AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], -[AC_LANG_PUSH(C++) -AC_REQUIRE([AC_PROG_CXX]) -AC_REQUIRE([AC_PROG_CXXCPP]) - -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_AC_TAGVAR(allow_undefined_flag, $1)= -_LT_AC_TAGVAR(always_export_symbols, $1)=no -_LT_AC_TAGVAR(archive_expsym_cmds, $1)= -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_AC_TAGVAR(hardcode_direct, $1)=no -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no -_LT_AC_TAGVAR(hardcode_automatic, $1)=no -_LT_AC_TAGVAR(module_cmds, $1)= -_LT_AC_TAGVAR(module_expsym_cmds, $1)= -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_AC_TAGVAR(no_undefined_flag, $1)= -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no - -# Dependencies to place before and after the object being linked: -_LT_AC_TAGVAR(predep_objects, $1)= -_LT_AC_TAGVAR(postdep_objects, $1)= -_LT_AC_TAGVAR(predeps, $1)= -_LT_AC_TAGVAR(postdeps, $1)= -_LT_AC_TAGVAR(compiler_lib_search_path, $1)= - -# Source file extension for C++ test sources. -ac_ext=cc - -# Object file extension for compiled C++ test sources. -objext=o -_LT_AC_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;\n" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_AC_SYS_COMPILER - -# Allow CC to be a program name with arguments. -lt_save_CC=$CC -lt_save_LD=$LD -lt_save_GCC=$GCC -GCC=$GXX -lt_save_with_gnu_ld=$with_gnu_ld -lt_save_path_LD=$lt_cv_path_LD -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx -else - unset lt_cv_prog_gnu_ld -fi -if test -n "${lt_cv_path_LDCXX+set}"; then - lt_cv_path_LD=$lt_cv_path_LDCXX -else - unset lt_cv_path_LD -fi -test -z "${LDCXX+set}" || LD=$LDCXX -CC=${CXX-"c++"} -compiler=$CC -_LT_AC_TAGVAR(compiler, $1)=$CC -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` - -# We don't want -fno-exception wen compiling C++ code, so set the -# no_builtin_flag separately -if test "$GXX" = yes; then - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' -else - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= -fi - -if test "$GXX" = yes; then - # Set up default GNU C++ configuration - - AC_PROG_LD - - # Check if GNU C++ uses GNU ld as the underlying linker, since the - # archiving commands below assume that GNU ld is being used. - if test "$with_gnu_ld" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - - # If archive_cmds runs LD, not CC, wlarc should be empty - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to - # investigate it a little bit more. (MM) - wlarc='${wl}' - - # ancient GNU ld didn't support --whole-archive et. al. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ - grep 'no-whole-archive' > /dev/null; then - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= - fi - else - with_gnu_ld=no - wlarc= - - # A generic and very simple default shared library creation - # command for GNU C++ for the case where it uses the native - # linker, instead of GNU ld. If possible, this setting should - # overridden to take advantage of the native linker features on - # the platform it is being used on. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - fi - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' - -else - GXX=no - with_gnu_ld=no - wlarc= -fi - -# PORTME: fill in a description of your system's C++ link characteristics -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) -_LT_AC_TAGVAR(ld_shlibs, $1)=yes -case $host_os in - aix3*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - 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 - exp_sym_flag='-Bexport' - no_entry_flag="" - 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 - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - _LT_AC_TAGVAR(archive_cmds, $1)='' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - - if test "$GXX" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - else - # We have old collect2 - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= - fi - esac - shared_flag='-shared' - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - _LT_AC_TAGVAR(always_export_symbols, $1)=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # -bexpall does not export symbols beginning with underscore (_) - _LT_AC_TAGVAR(always_export_symbols, $1)=yes - # Exported symbols can be pulled into shared objects from archives - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes - # This is similar to how AIX traditionally builds it's shared libraries. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - chorus*) - case $cc_basename in - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - cygwin* | mingw* | pw32*) - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(always_export_symbols, $1)=no - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - darwin* | rhapsody*) - if test "$GXX" = yes; then - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - case "$host_os" in - rhapsody* | darwin1.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' - ;; - 10.*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' - ;; - esac - fi - ;; - esac - lt_int_apple_cc_single_mod=no - output_verbose_link_cmd='echo' - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then - lt_int_apple_cc_single_mod=yes - fi - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - fi - _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - fi - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - dgux*) - case $cc_basename in - ec++) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - ghcx) - # Green Hills C++ Compiler - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - freebsd[12]*) - # C++ shared libraries reported to be fairly broken before switch to ELF - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - freebsd-elf*) - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - ;; - freebsd* | kfreebsd*-gnu) - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF - # conventions - _LT_AC_TAGVAR(ld_shlibs, $1)=yes - ;; - gnu*) - ;; - hpux9*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - - case $cc_basename in - CC) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - aCC) - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - hpux10*|hpux11*) - if test $with_gnu_ld = no; then - case "$host_cpu" in - hppa*64*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - ia64*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - ;; - *) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - ;; - esac - fi - case "$host_cpu" in - hppa*64*) - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - ia64*) - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - ;; - *) - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - ;; - esac - - case $cc_basename in - CC) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - aCC) - case "$host_cpu" in - hppa*64*|ia64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes; then - if test $with_gnu_ld = no; then - case "$host_cpu" in - ia64*|hppa*64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - fi - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - irix5* | irix6*) - case $cc_basename in - CC) - # SGI C++ - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' - - # Archives containing C++ object files must be created using - # "CC -ar", where "CC" is the IRIX C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' - ;; - *) - if test "$GXX" = yes; then - if test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' - fi - fi - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - ;; - esac - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - linux*) - case $cc_basename in - KCC) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' - ;; - icpc) - # Intel C++ - with_gnu_ld=yes - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' - ;; - cxx) - # Compaq C++ - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' - - runpath_var=LD_RUN_PATH - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - esac - ;; - lynxos*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - m88k*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - mvs*) - case $cc_basename in - cxx) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' - wlarc= - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - fi - # Workaround some broken pre-1.5 toolchains - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' - ;; - osf3*) - case $cc_basename in - KCC) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' - - ;; - RCC) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - cxx) - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' - - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - osf4* | osf5*) - case $cc_basename in - KCC) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Archives containing C++ object files must be created using - # the KAI C++ compiler. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' - ;; - RCC) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - cxx) - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ - echo "-hidden">> $lib.exp~ - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ - $rm $lib.exp' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' - - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - psos*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - sco*) - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - case $cc_basename in - CC) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - sunos4*) - case $cc_basename in - CC) - # Sun C++ 4.x - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - lcc) - # Lucid - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - solaris*) - case $cc_basename in - CC) - # Sun C++ 4.2, 5.x and Centerline C++ - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - # The C++ compiler is used as linker so we must use $wl - # flag to pass the commands to the underlying system - # linker. - # Supported since Solaris 2.6 (maybe 2.5.1?) - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - ;; - esac - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' - ;; - gcx) - # Green Hills C++ Compiler - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - - # The C++ compiler must be used to create the archive. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' - ;; - *) - # GNU C++ compiler with Solaris linker - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' - if $CC --version | grep -v '^2\.7' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" - else - # g++ 2.7 appears to require `-G' NOT `-shared' on this - # platform. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" - fi - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' - fi - ;; - esac - ;; - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - ;; - tandem*) - case $cc_basename in - NCC) - # NonStop-UX NCC 3.20 - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - vxworks*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; -esac -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no - -_LT_AC_TAGVAR(GCC, $1)="$GXX" -_LT_AC_TAGVAR(LD, $1)="$LD" - -## CAVEAT EMPTOR: -## There is no encapsulation within the following macros, do not change -## the running order or otherwise move them around unless you know exactly -## what you are doing... -AC_LIBTOOL_POSTDEP_PREDEP($1) -AC_LIBTOOL_PROG_COMPILER_PIC($1) -AC_LIBTOOL_PROG_CC_C_O($1) -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) -AC_LIBTOOL_PROG_LD_SHLIBS($1) -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) -AC_LIBTOOL_SYS_LIB_STRIP -AC_LIBTOOL_DLOPEN_SELF($1) - -AC_LIBTOOL_CONFIG($1) - -AC_LANG_POP -CC=$lt_save_CC -LDCXX=$LD -LD=$lt_save_LD -GCC=$lt_save_GCC -with_gnu_ldcxx=$with_gnu_ld -with_gnu_ld=$lt_save_with_gnu_ld -lt_cv_path_LDCXX=$lt_cv_path_LD -lt_cv_path_LD=$lt_save_path_LD -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld -])# AC_LIBTOOL_LANG_CXX_CONFIG - -# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) -# ------------------------ -# Figure out "hidden" library dependencies from verbose -# compiler output when linking a shared library. -# Parse the compiler output and extract the necessary -# objects, libraries and library flags. -AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ -dnl we can't use the lt_simple_compile_test_code here, -dnl because it contains code intended for an executable, -dnl not a library. It's possible we should let each -dnl tag define a new lt_????_link_test_code variable, -dnl but it's only used here... -ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <> "$cfgfile" -ifelse([$1], [], -[#! $SHELL - -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 -# Free Software Foundation, Inc. -# -# This file is part of GNU Libtool: -# Originally by Gordon Matzigkeit , 1996 -# -# 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 2 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, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# A sed program that does not truncate output. -SED=$lt_SED - -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="$SED -e s/^X//" - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi - -# The names of the tagged configurations supported by this script. -available_tags= - -# ### BEGIN LIBTOOL CONFIG], -[# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) - -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) - -# Whether or not to disallow shared libs when runtime libs are static -allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# The host system. -host_alias=$host_alias -host=$host - -# An echo program that does not interpret backslashes. -echo=$lt_echo - -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS - -# A C compiler. -LTCC=$lt_LTCC - -# A language-specific compiler. -CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) - -# Is the compiler the GNU C compiler? -with_gcc=$_LT_AC_TAGVAR(GCC, $1) - -# An ERE matcher. -EGREP=$lt_EGREP - -# The linker used to build libraries. -LD=$lt_[]_LT_AC_TAGVAR(LD, $1) - -# Whether we need hard or soft links. -LN_S=$lt_LN_S - -# A BSD-compatible nm program. -NM=$lt_NM - -# A symbol stripping program -STRIP=$lt_STRIP - -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD - -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" - -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" - -# Used on cygwin: assembler. -AS="$AS" - -# The name of the directory that contains temporary libtool files. -objdir=$objdir - -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds - -# How to pass a linker flag through the compiler. -wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) - -# Object file suffix (normally "o"). -objext="$ac_objext" - -# Old archive suffix (normally "a"). -libext="$libext" - -# Shared library suffix (normally ".so"). -shrext_cmds='$shrext_cmds' - -# Executable file suffix (normally ""). -exeext="$exeext" - -# Additional compiler flags for building library objects. -pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) -pic_mode=$pic_mode - -# What is the maximum length of a command? -max_cmd_len=$lt_cv_sys_max_cmd_len - -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) - -# Must we lock files when doing compilation ? -need_locks=$lt_need_locks - -# Do we need the lib prefix for modules? -need_lib_prefix=$need_lib_prefix - -# Do we need a version for libraries? -need_version=$need_version - -# Whether dlopen is supported. -dlopen_support=$enable_dlopen - -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self - -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static - -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) - -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) - -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) - -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) - -# Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) - -# Library versioning type. -version_type=$version_type - -# Format of library name prefix. -libname_spec=$lt_libname_spec - -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME. -library_names_spec=$lt_library_names_spec - -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec - -# Commands used to build and install an old-style archive. -RANLIB=$lt_RANLIB -old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds - -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) - -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) - -# Commands used to build and install a shared archive. -archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) -archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) -postinstall_cmds=$lt_postinstall_cmds -postuninstall_cmds=$lt_postuninstall_cmds - -# Commands used to build a loadable module (assumed same as above if empty) -module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) -module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) - -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib - -# Dependencies to place before the objects being linked to create a -# shared library. -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) - -# Dependencies to place after the objects being linked to create a -# shared library. -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) - -# Dependencies to place before the objects being linked to create a -# shared library. -predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) - -# Dependencies to place after the objects being linked to create a -# shared library. -postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) - -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) - -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method - -# Command to use when deplibs_check_method == file_magic. -file_magic_cmd=$lt_file_magic_cmd - -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) - -# Flag that forces no undefined symbols. -no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) - -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds - -# Same as above, but a single script fragment to be evaled but not shown. -finish_eval=$lt_finish_eval - -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe - -# Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl - -# Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address - -# This is the shared library runtime path variable. -runpath_var=$runpath_var - -# This is the shared library path variable. -shlibpath_var=$shlibpath_var - -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath - -# How to hardcode a shared library path into an executable. -hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) - -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) - -# If ld is used when linking, flag to hardcode \$libdir into -# a binary during linking. This must work even if \$libdir does -# not exist. -hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) - -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) - -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) - -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) - -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into -# the resulting binary. -hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) - -# Set to yes if building a shared library automatically hardcodes DIR into the library -# and all subsequent libraries and executables linked against it. -hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) - -# Variables whose values should be saved in libtool wrapper scripts and -# restored at relink time. -variables_saved_for_relink="$variables_saved_for_relink" - -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) - -# Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec - -# Run-time system search path for libraries -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec - -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" - -# Set to yes if exported symbols are required. -always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) - -# The commands to list exported symbols. -export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) - -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds - -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) - -# Symbols that must always be exported. -include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) - -ifelse([$1],[], -[# ### END LIBTOOL CONFIG], -[# ### END LIBTOOL TAG CONFIG: $tagname]) - -__EOF__ - -ifelse([$1],[], [ - case $host_os in - aix3*) - cat <<\EOF >> "$cfgfile" - -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES -fi -EOF - ;; - esac - - # We use sed instead of cat because bash on DJGPP gets confused if - # if finds mixed CR/LF and LF-only lines. Since sed operates in - # text mode, it properly converts lines to CR/LF. This bash problem - # is reportedly fixed, but why not run on old versions too? - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) - - mv -f "$cfgfile" "$ofile" || \ - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") - chmod +x "$ofile" -]) -else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` - if test -f "$ltmain_in"; then - test -f Makefile && make "$ltmain" - fi -fi -])# AC_LIBTOOL_CONFIG - - -# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) -# ------------------------------------------- -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl - -_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= - -if test "$GCC" = yes; then - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' - - AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], - lt_cv_prog_compiler_rtti_exceptions, - [-fno-rtti -fno-exceptions], [], - [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) -fi -])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI - - -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -# --------------------------------- -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], -[AC_REQUIRE([AC_CANONICAL_HOST]) -AC_REQUIRE([AC_PROG_NM]) -AC_REQUIRE([AC_OBJEXT]) -# Check for command to grab the raw symbol name followed by C symbol from nm. -AC_MSG_CHECKING([command to parse $NM output from $compiler object]) -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], -[ -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[[BCDEGRST]]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' - -# Transform the above into a raw symbol and a C symbol. -symxfrm='\1 \2\3 \3' - -# Transform an extracted symbol line into a proper C declaration -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - -# Define system-specific variables. -case $host_os in -aix*) - symcode='[[BCDT]]' - ;; -cygwin* | mingw* | pw32*) - symcode='[[ABCDGISTW]]' - ;; -hpux*) # Its linker distinguishes data from code symbols - if test "$host_cpu" = ia64; then - symcode='[[ABCDEGRST]]' - fi - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -irix* | nonstopux*) - symcode='[[BCDEGRST]]' - ;; -osf*) - symcode='[[BCDEGQRST]]' - ;; -solaris* | sysv5*) - symcode='[[BDRT]]' - ;; -sysv4) - symcode='[[DFNSTU]]' - ;; -esac - -# Handle CRLF in mingw tool chain -opt_cr= -case $build_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -case `$NM -V 2>&1` in -*GNU* | *'with BFD'*) - symcode='[[ABCDGIRSTW]]' ;; -esac - -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do - - # Write the raw and C identifiers. - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" - - # Check to see that the pipe works correctly. - pipe_works=no - - rm -f conftest* - cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if grep ' nm_test_var$' "$nlist" >/dev/null; then - if grep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -EOF - # Now generate the symbol file. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' - - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr_t void * -#else -# define lt_ptr_t char * -# define const -#endif - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr_t address; -} -lt_preloaded_symbols[[]] = -{ -EOF - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr_t) 0} -}; - -#ifdef __cplusplus -} -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - lt_save_LIBS="$LIBS" - lt_save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then - pipe_works=yes - fi - LIBS="$lt_save_LIBS" - CFLAGS="$lt_save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD - fi - else - echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD - fi - else - echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD - cat conftest.$ac_ext >&5 - fi - rm -f conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done -]) -if test -z "$lt_cv_sys_global_symbol_pipe"; then - lt_cv_sys_global_symbol_to_cdecl= -fi -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then - AC_MSG_RESULT(failed) -else - AC_MSG_RESULT(ok) -fi -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE - - -# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) -# --------------------------------------- -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], -[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= -_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= -_LT_AC_TAGVAR(lt_prog_compiler_static, $1)= - -AC_MSG_CHECKING([for $compiler option to produce PIC]) - ifelse([$1],[CXX],[ - # C++ specific cases for pic, static, wl, etc. - if test "$GXX" = yes; then - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' - ;; - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - mingw* | os2* | pw32*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' - ;; - *djgpp*) - # DJGPP does not support shared libraries at all - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - ;; - sysv4*MP*) - if test -d /usr/nec; then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic - fi - ;; - hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case "$host_cpu" in - hppa*64*|ia64*) - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - else - case $host_os in - aix4* | aix5*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - else - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' - fi - ;; - chorus*) - case $cc_basename in - cxch68) - # Green Hills C++ Compiler - # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" - ;; - esac - ;; - dgux*) - case $cc_basename in - ec++) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - ;; - ghcx) - # Green Hills C++ Compiler - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - *) - ;; - esac - ;; - freebsd* | kfreebsd*-gnu) - # FreeBSD uses GNU C++ - ;; - hpux9* | hpux10* | hpux11*) - case $cc_basename in - CC) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" - if test "$host_cpu" != ia64; then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - fi - ;; - aCC) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" - case "$host_cpu" in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - ;; - esac - ;; - *) - ;; - esac - ;; - irix5* | irix6* | nonstopux*) - case $cc_basename in - CC) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - # CC pic flag -KPIC is the default. - ;; - *) - ;; - esac - ;; - linux*) - case $cc_basename in - KCC) - # KAI C++ Compiler - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - icpc) - # Intel C++ - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - cxx) - # Compaq C++ - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - *) - ;; - esac - ;; - lynxos*) - ;; - m88k*) - ;; - mvs*) - case $cc_basename in - cxx) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' - ;; - *) - ;; - esac - ;; - netbsd*) - ;; - osf3* | osf4* | osf5*) - case $cc_basename in - KCC) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' - ;; - RCC) - # Rational C++ 2.4.1 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - cxx) - # Digital/Compaq C++ - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - *) - ;; - esac - ;; - psos*) - ;; - sco*) - case $cc_basename in - CC) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - *) - ;; - esac - ;; - solaris*) - case $cc_basename in - CC) - # Sun C++ 4.2, 5.x and Centerline C++ - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - ;; - gcx) - # Green Hills C++ Compiler - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - ;; - *) - ;; - esac - ;; - sunos4*) - case $cc_basename in - CC) - # Sun C++ 4.x - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - lcc) - # Lucid - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - *) - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC) - # NonStop-UX NCC 3.20 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - ;; - *) - ;; - esac - ;; - unixware*) - ;; - vxworks*) - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - esac - fi -], -[ - if test "$GCC" = yes; then - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' - ;; - - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - - mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' - ;; - - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' - ;; - - msdosdjgpp*) - # Just because we use GCC doesn't mean we suddenly get shared libraries - # on systems that don't support them. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - enable_shared=no - ;; - - sysv4*MP*) - if test -d /usr/nec; then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic - fi - ;; - - hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case "$host_cpu" in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - ;; - - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - else - # PORTME Check for flag to pass linker flags through the system compiler. - case $host_os in - aix*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - else - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' - fi - ;; - - mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' - ;; - - hpux9* | hpux10* | hpux11*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case "$host_cpu" in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - ;; - esac - # Is there a better lt_prog_compiler_static that works with the bundled CC? - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - ;; - - irix5* | irix6* | nonstopux*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # PIC (with -KPIC) is the default. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - newsos6) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - linux*) - case $CC in - icc* | ecc*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - ccc*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # All Alpha code is PIC. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - esac - ;; - - osf3* | osf4* | osf5*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # All OSF/1 code is PIC. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - sco3.2v5*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn' - ;; - - solaris*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - sunos4*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - sysv4*MP*) - if test -d /usr/nec ;then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - - uts4*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - *) - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - esac - fi -]) -AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then - AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], - _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), - [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], - [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in - "" | " "*) ;; - *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; - esac], - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) -fi -case "$host_os" in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" - ;; -esac -]) - - -# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) -# ------------------------------------ -# See if the linker supports building shared libraries. -AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], -[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) -ifelse([$1],[CXX],[ - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - case $host_os in - aix4* | aix5*) - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - else - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - fi - ;; - pw32*) - _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" - ;; - cygwin* | mingw*) - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' - ;; - *) - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - ;; - esac -],[ - runpath_var= - _LT_AC_TAGVAR(allow_undefined_flag, $1)= - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no - _LT_AC_TAGVAR(archive_cmds, $1)= - _LT_AC_TAGVAR(archive_expsym_cmds, $1)= - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= - _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown - _LT_AC_TAGVAR(hardcode_automatic, $1)=no - _LT_AC_TAGVAR(module_cmds, $1)= - _LT_AC_TAGVAR(module_expsym_cmds, $1)= - _LT_AC_TAGVAR(always_export_symbols, $1)=no - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - # include_expsyms should be a list of space-separated symbols to be *always* - # included in the symbol list - _LT_AC_TAGVAR(include_expsyms, $1)= - # exclude_expsyms can be an extended regexp of symbols to exclude - # it will be wrapped by ` (' and `)$', so one must not match beginning or - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', - # as well as any symbol that contains `d'. - _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out - # platforms (ab)use it in PIC code, but their linkers get confused if - # the symbol is explicitly referenced. Since portable code cannot - # rely on this symbol name, it's probably fine to never include it in - # preloaded symbol tables. - extract_expsyms_cmds= - - 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 - ;; - openbsd*) - with_gnu_ld=no - ;; - esac - - _LT_AC_TAGVAR(ld_shlibs, $1)=yes - if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX/PPC, the GNU linker is very broken - if test "$host_cpu" != ia64; then - _LT_AC_TAGVAR(ld_shlibs, $1)=no - cat <&2 - -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. - -EOF - fi - ;; - - amigaos*) - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - - # Samuel A. Falvo II 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 can't use - # them. - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - - beos*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - cygwin* | mingw* | pw32*) - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(always_export_symbols, $1)=no - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' - - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' - else - ld_shlibs=no - fi - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; - - solaris* | sysv5*) - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then - _LT_AC_TAGVAR(ld_shlibs, $1)=no - cat <&2 - -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -EOF - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - sunos4*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - linux*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds" - supports_anon_versioning=no - case `$LD -v 2>/dev/null` in - *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... - *\ 2.11.*) ;; # other 2.11 versions - *) supports_anon_versioning=yes ;; - esac - if test $supports_anon_versioning = yes; then - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ -$echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - else - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds" - fi - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - - if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then - runpath_var=LD_RUN_PATH - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= - fi - fi - else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(always_export_symbols, $1)=yes - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - if test "$GCC" = yes && test -z "$link_static_flag"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - _LT_AC_TAGVAR(hardcode_direct, $1)=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 - exp_sym_flag='-Bexport' - no_entry_flag="" - else - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - else - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - fi - 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 - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - _LT_AC_TAGVAR(archive_cmds, $1)='' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - - if test "$GCC" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - else - # We have old collect2 - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= - fi - esac - shared_flag='-shared' - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - _LT_AC_TAGVAR(always_export_symbols, $1)=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # -bexpall does not export symbols beginning with underscore (_) - _LT_AC_TAGVAR(always_export_symbols, $1)=yes - # Exported symbols can be pulled into shared objects from archives - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes - # This is similar to how AIX traditionally builds it's shared libraries. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - amigaos*) - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - # see comment about different semantics on the GNU ld section - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - - bsdi4*) - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic - ;; - - 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. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=".dll" - # FIXME: Setting linknames here is a bad hack. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' - # FIXME: Should let the user specify the lib program. - _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - ;; - - darwin* | rhapsody*) - if test "$GXX" = yes ; then - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - case "$host_os" in - rhapsody* | darwin1.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' - ;; - 10.*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' - ;; - esac - fi - ;; - esac - lt_int_apple_cc_single_mod=no - output_verbose_link_cmd='echo' - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then - lt_int_apple_cc_single_mod=yes - fi - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - fi - _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - fi - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - dgux*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - freebsd1*) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | kfreebsd*-gnu) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - hpux9*) - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - ;; - - hpux10* | hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - case "$host_cpu" in - hppa*64*|ia64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - else - case "$host_cpu" in - hppa*64*|ia64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' - ;; - esac - fi - if test "$with_gnu_ld" = no; then - case "$host_cpu" in - hppa*64*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - ia64*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - ;; - *) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - ;; - esac - fi - ;; - - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - newsos6) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - openbsd*) - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - else - case $host_os in - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - ;; - esac - fi - ;; - - os2*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; - - osf3*) - if test "$GCC" = yes; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - else - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' - - # Both c and cxx compiler support -rpath directly - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - fi - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - - sco3.2v5*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ;; - - solaris*) - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) # Supported since Solaris 2.6 (maybe 2.5.1?) - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; - esac - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - ;; - - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - sysv4) - case $host_vendor in - sni) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' - _LT_AC_TAGVAR(hardcode_direct, $1)=no - ;; - motorola) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - sysv4.3*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - _LT_AC_TAGVAR(ld_shlibs, $1)=yes - fi - ;; - - sysv4.2uw2*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - hardcode_runpath_var=yes - runpath_var=LD_RUN_PATH - ;; - - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text' - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - runpath_var='LD_RUN_PATH' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - sysv5*) - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var='LD_RUN_PATH' - ;; - - uts4*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - *) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - fi -]) -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - -# -# Do we need to explicitly link libc? -# -case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in -x|xyes) - # Assume -lc should be added - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes - - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $_LT_AC_TAGVAR(archive_cmds, $1) in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - AC_MSG_CHECKING([whether -lc should be explicitly linked in]) - $rm conftest* - printf "$lt_simple_compile_test_code" > conftest.$ac_ext - - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) - _LT_AC_TAGVAR(allow_undefined_flag, $1)= - if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) - then - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - else - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes - fi - _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* - AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) - ;; - esac - fi - ;; -esac -])# AC_LIBTOOL_PROG_LD_SHLIBS - - -# _LT_AC_FILE_LTDLL_C -# ------------------- -# Be careful that the start marker always follows a newline. -AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ -# /* ltdll.c starts here */ -# #define WIN32_LEAN_AND_MEAN -# #include -# #undef WIN32_LEAN_AND_MEAN -# #include -# -# #ifndef __CYGWIN__ -# # ifdef __CYGWIN32__ -# # define __CYGWIN__ __CYGWIN32__ -# # endif -# #endif -# -# #ifdef __cplusplus -# extern "C" { -# #endif -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); -# #ifdef __cplusplus -# } -# #endif -# -# #ifdef __CYGWIN__ -# #include -# DECLARE_CYGWIN_DLL( DllMain ); -# #endif -# HINSTANCE __hDllInstance_base; -# -# BOOL APIENTRY -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) -# { -# __hDllInstance_base = hInst; -# return TRUE; -# } -# /* ltdll.c ends here */ -])# _LT_AC_FILE_LTDLL_C - - -# _LT_AC_TAGVAR(VARNAME, [TAGNAME]) -# --------------------------------- -AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) - - -# old names -AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) -AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) -AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) -AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) -AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) -AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) -AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) - -# This is just to silence aclocal about the macro not being used -ifelse([AC_DISABLE_FAST_INSTALL]) - -AC_DEFUN([LT_AC_PROG_GCJ], -[AC_CHECK_TOOL(GCJ, gcj, no) - test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" - AC_SUBST(GCJFLAGS) -]) - -AC_DEFUN([LT_AC_PROG_RC], -[AC_CHECK_TOOL(RC, windres, no) -]) - -############################################################ -# NOTE: This macro has been submitted for inclusion into # -# GNU Autoconf as AC_PROG_SED. When it is available in # -# a released version of Autoconf we should remove this # -# macro and use it instead. # -############################################################ -# LT_AC_PROG_SED -# -------------- -# Check for a fully-functional sed program, that truncates -# as few characters as possible. Prefer GNU sed if found. -AC_DEFUN([LT_AC_PROG_SED], -[AC_MSG_CHECKING([for a sed that does not truncate output]) -AC_CACHE_VAL(lt_cv_path_SED, -[# Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for lt_ac_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" - fi - done - done -done -lt_ac_max=0 -lt_ac_count=0 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris -# along with /bin/sed that truncates output. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do - test ! -f $lt_ac_sed && break - cat /dev/null > conftest.in - lt_ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in - # Check for GNU sed and select it if it is found. - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then - lt_cv_path_SED=$lt_ac_sed - break - fi - while true; do - cat conftest.in conftest.in >conftest.tmp - mv conftest.tmp conftest.in - cp conftest.in conftest.nl - echo >>conftest.nl - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break - cmp -s conftest.out conftest.nl || break - # 10000 chars as input seems more than enough - test $lt_ac_count -gt 10 && break - lt_ac_count=`expr $lt_ac_count + 1` - if test $lt_ac_count -gt $lt_ac_max; then - lt_ac_max=$lt_ac_count - lt_cv_path_SED=$lt_ac_sed - fi - done -done -SED=$lt_cv_path_SED -]) -AC_MSG_RESULT([$SED]) -]) -# Search path for a program which passes the given test. -# Ulrich Drepper , 1996. -# -# This file can be copied and used freely without restrictions. It can -# be used in projects which are not available under the GNU General Public -# License or the GNU Library General Public License but which still want -# to provide support for the GNU gettext functionality. -# Please note that the actual code of the GNU gettext library is covered -# by the GNU Library General Public License, and the rest of the GNU -# gettext package package is covered by the GNU General Public License. -# They are *not* in the public domain. - -# serial 2 - -dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, -dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) -AC_DEFUN([AM_PATH_PROG_WITH_TEST], -[# Extract the first word of "$2", so it can be a program name with args. -set dummy $2; ac_word=[$]2 -AC_MSG_CHECKING([for $ac_word]) -AC_CACHE_VAL(ac_cv_path_$1, -[case "[$]$1" in - /*) - ac_cv_path_$1="[$]$1" # Let the user override the test with a path. - ;; - *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in ifelse([$5], , $PATH, [$5]); do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if [$3]; then - ac_cv_path_$1="$ac_dir/$ac_word" - break - fi - fi - done - IFS="$ac_save_ifs" -dnl If no 4th arg is given, leave the cache variable unset, -dnl so AC_PATH_PROGS will keep looking. -ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" -])dnl - ;; -esac])dnl -$1="$ac_cv_path_$1" -if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then - AC_MSG_RESULT([$]$1) -else - AC_MSG_RESULT(no) -fi -AC_SUBST($1)dnl -]) # Configure paths for SDL # Sam Lantinga 9/21/99 # stolen from Manish Singh debian/patches/src_dopewars.patch0000644000000000000000000000221412212374611014327 0ustar Description: Fix default drugs, correct pathing for html help, change the web browser to /usr/bin/sensible-browser in dopewars.c. Origin: other --- a/src/dopewars.c +++ b/src/dopewars.c @@ -742,6 +742,7 @@ {N_("Peyote"), 220, 700, FALSE, FALSE, ""}, {N_("Shrooms"), 630, 1300, FALSE, FALSE, ""}, {N_("Speed"), 90, 250, FALSE, TRUE, ""}, + {N_("Viagra"), 30, 80, TRUE, FALSE, ""}, {N_("Weed"), 315, 890, TRUE, FALSE, N_("Columbian freighter dusted the Coast Guard! " "Weed prices have bottomed out!")} @@ -2356,7 +2357,7 @@ path = g_strdup_printf("file://%s\\", bindir); g_free(bindir); #else - path = g_strdup_printf("file://%s/doc/%s-%s/", DPDATADIR, PACKAGE, VERSION); + path = g_strdup_printf("file://%s/doc/%s/html/", DPDATADIR, PACKAGE, VERSION); #endif return path; } @@ -2443,7 +2444,7 @@ AssignName(&ServerName, "localhost"); AssignName(&ServerMOTD, ""); AssignName(&BindAddress, ""); - AssignName(&WebBrowser, "/usr/bin/mozilla"); + AssignName(&WebBrowser, "/usr/bin/sensible-browser"); AssignName(&Sounds.FightHit, SNDPATH"colt.wav"); AssignName(&Sounds.EnemyBitchKilled, SNDPATH"shotdown.wav"); debian/patches/buy_sell_quantities.patch0000644000000000000000000000302112212374611015715 0ustar Author: Francois Marier Description: Fix buy/sell quantity selectors Bug: http://sourceforge.net/tracker/?func=detail&aid=2787591&group_id=11128&atid=111128 Bug-Debian: http://bugs.debian.org/526235 Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/dopewars/+bug/372498 --- a/src/gui_client/gtk_client.c +++ b/src/gui_client/gtk_client.c @@ -1570,8 +1570,8 @@ static void UpdateDealDialog(void) MaxDrug = CanDrop; } - spin_adj = (GtkAdjustment *)gtk_adjustment_new(MaxDrug, 1.0, MaxDrug, - 1.0, 10.0, 10.0); + spin_adj = (GtkAdjustment *)gtk_adjustment_new(MaxDrug, 0.0, MaxDrug, + 1.0, 10.0, 0.0); gtk_spin_button_set_adjustment(GTK_SPIN_BUTTON(DealDialog.amount), spin_adj); gtk_spin_button_set_value(GTK_SPIN_BUTTON(DealDialog.amount), MaxDrug); @@ -1745,8 +1745,8 @@ void DealDrugs(GtkWidget *widget, gpointer data) } label = gtk_label_new(text->str); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); - spin_adj = (GtkAdjustment *)gtk_adjustment_new(1.0, 1.0, 2.0, - 1.0, 10.0, 10.0); + spin_adj = (GtkAdjustment *)gtk_adjustment_new(1.0, 0.0, 2.0, + 1.0, 10.0, 0.0); spinner = DealDialog.amount = gtk_spin_button_new(spin_adj, 1.0, 0); gtk_signal_connect(GTK_OBJECT(spinner), "activate", GTK_SIGNAL_FUNC(DealOKCallback), data); debian/patches/series0000644000000000000000000000044012212374611012027 0ustar doc_dopewars.6.in.patch doc_help_Makefile.am.patch buy_sell_quantities.patch CVE-2009-3591.patch doc_i18n.patch dopewars.desktop.patch doc_Makefile.am.patch po_de.po.patch po_fr_CA.po.patch src_dopewars.patch acinclude.m4.patch src_gtkport_gtkport.c_format.patch src_sound.c_format.patch debian/watch0000644000000000000000000000014012212374611010211 0ustar version=3 opts=dversionmangle=s/\+svn\d+// \ http://sf.net/dopewars/dopewars-([\d.]*).tar.gz debian/dopewars-data.doc-base0000644000000000000000000000040112212374611013312 0ustar Document: dopewars Title: Debian dopewars Manual Author: Ben Webb Abstract: How to play the Dopewars game Section: Games/Strategy Format: HTML Index: /usr/share/doc/dopewars/html/index.html Files: /usr/share/doc/dopewars/html/*.html debian/dopewars.postinst0000644000000000000000000000210112212374611012610 0ustar #!/bin/sh # postinst script for postinst # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in configure) mkdir -p /var/games touch /var/games/dopewars.sco chown root:games /var/games/dopewars.sco chmod g+w /var/games/dopewars.sco ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/copyright0000644000000000000000000000230712212374611011122 0ustar This package was debianized by Shane Wegner on Mon, 17 Jan 2000 22:35:06 -0800. It was downloaded from http://dopewars.sourceforge.net Upstream Author: Ben Webb Copyright: 1998-2003 Ben Webb 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 2 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 with the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL-2; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA You are free to distribute this software under the terms of the GNU General Public License. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2 file. debian/dopewars.dirs0000644000000000000000000000002612212374611011672 0ustar /usr/games /var/games debian/clean0000644000000000000000000000044012212374611010170 0ustar Makefile.in aclocal.m4 configure doc/Makefile.in doc/help/Makefile.in sounds/19.5degs/Makefile.in sounds/Makefile.in src/Makefile.in src/curses_client/Makefile.in src/cursesport/Makefile.in src/gtkport/Makefile.in src/gui_client/Makefile.in src/plugins/Makefile.in po/*.gmo intl/libintl.hdebian/dopewars.menu0000644000000000000000000000053512212374611011702 0ustar ?package(dopewars):needs="X11" section="Games/Strategy"\ title="Dopewars (GTK)" command="/usr/games/dopewars -w" ?package(dopewars):needs="text" section="Games/Strategy"\ title="Dopewars (text)" command="/usr/games/dopewars -t" ?package(dopewars):needs="text" section="Games/Strategy"\ title="Dopewars server" command="/usr/games/dopewars -s" debian/changelog0000644000000000000000000002770512212403672011052 0ustar dopewars (1.5.12-14) unstable; urgency=low * Team upload. * properly find the default automake path instead of hardcoding it Closes: #713188 -- Evgeni Golov Fri, 06 Sep 2013 18:49:39 +0200 dopewars (1.5.12-13) unstable; urgency=low * Created quilt patches for locally changed files and reverted the changed files to their source originals. * Add patch to remove the libtool macro's to stop the libtool version mismatch error when using dh-autoreconf. * Removed executable permission from the patch files. * Bump compat to 9 to automatically get hardening buildflags. * Add patches to fix two -Werror=format-security errors. * Add my self to Uploaders. (Closes: #657575) * Bump Standards-Version to 3.9.3 with out change. * Modify the Build-depends for the simplified rules file and autoreconf. * Rewrite with a simplified debhelper v9 rules file. (Closes: #643097) * Use 'clean' to remove unnecessary files. * Install files with *.install files now we are using a simplified rules file. * Install the manpage with dopewars.manpages. * Add a patch to correct the path to the score file in the manpage. (Closes: #642073) * Tidied formatting with wrap-and-sort -s. -- Dean Evans Mon, 12 Mar 2012 19:57:31 +1300 dopewars (1.5.12-12) unstable; urgency=low * Remove myself from the uploaders field * Remove unnecessary breaks/replaces from debian/control -- Francois Marier Sat, 12 Mar 2011 12:50:26 +1300 dopewars (1.5.12-11) unstable; urgency=low * Remove old conflicts on suidmanager * Replace Conflicts/Replaces with Breaks/Replaces (lintian notice) * Add a doc-base entry for the dopewars manual * Bump Standards-Version up to 3.9.1 * Bump debhelper compatibility to 8 -- Francois Marier Wed, 22 Dec 2010 16:04:52 +1300 dopewars (1.5.12-10) unstable; urgency=low * Bump Standards-Version to 3.8.4 * Add dependency on ${misc:Depends} * Switch to 3.0 (quilt) source format * Remove dpatch * Convert patches to DEP-3 -- Francois Marier Thu, 11 Feb 2010 09:28:22 +1300 dopewars (1.5.12-9) unstable; urgency=high * Fix a denial of service (CVE-2009-3591, closes: #550913) * debian/control: bump Standards-Version to 3.8.3 * Add a README.source referring to the dpatch README -- Francois Marier Sat, 07 Nov 2009 16:53:46 +1300 dopewars (1.5.12-8) unstable; urgency=low * Add patch fixing buy/sell quantities (closes: #526235) * Improve short description of package * debian/control: switch VCS from svn to git * debian/control: bump Standards-Version to 3.8.2 * debian/copyright: refer to GPL-2 directly * Bump debhelper compatibility to 7: use dh_prep and remove dh_desktop -- Francois Marier Mon, 29 Jun 2009 00:10:49 +1200 dopewars (1.5.12-7) unstable; urgency=medium * Create the score file in the postinst only if it doesn't already exist. This preserves the scores between upgrades (hence the urgency) and fixes the md5sums problem (closes: #222846) * Remove linda and lintian override files * Bump Standards-Version up to 3.8.0 (no other changes) -- Francois Marier Tue, 17 Jun 2008 15:05:50 +1200 dopewars (1.5.12-6) unstable; urgency=low * Switch to collaborative maintenance with the Games Team (update vcs, maintainer and uploader fields) -- Francois Marier Sat, 26 Apr 2008 15:01:17 +1200 dopewars (1.5.12-5) unstable; urgency=low * debian/rules: add call to dh_desktop * Add a new modern drug to the game (closes: #469032) -- Francois Marier Mon, 21 Apr 2008 23:09:03 +1200 dopewars (1.5.12-4) unstable; urgency=low * Add pulseaudio-esound-compat as an alternative to esound * Move the menu file to the right place * Remove Encoding from the desktop file * Make a dopewars-data package for arch-independent files -- Francois Marier Tue, 26 Feb 2008 16:55:27 +1300 dopewars (1.5.12-3) unstable; urgency=low * Add the homepage and VCS fields to debian/control * Bump Standards-Version to 3.7.3 and debhelper compatibility to 6 * Update the watch file to point to sf.net and add a dversionmangle option (closes: #449851) * Fix the typo in the download URL in debian/copyright * Sync fr_CA.po with Rosetta (http://translations.launchpad.net/ubuntu/breezy/+source/dopewars/+p ots/dopewars/fr_CA/) * Add "esound" to the recommends list and make a note in README.Debian (closes: #412411) * New German translation from upstream svn * Check for the existence of the Makefile in debian/rules * Remove rpath from the binaries -- Francois Marier Tue, 05 Feb 2008 15:19:18 +1300 dopewars (1.5.12-2) unstable; urgency=low * Set the default web browser to sensible-browser * Remove the misc:depends dependencies -- Francois Marier Thu, 19 Jan 2006 00:30:22 -0500 dopewars (1.5.12-1) unstable; urgency=low * New upstream release (closes: #336347) -- Francois Marier Wed, 4 Jan 2006 23:30:06 -0500 dopewars (1.5.10-4) unstable; urgency=low * Bump Standards-Version up to 3.6.2 (no changes) * Fix FSF address * Fix watch file -- Francois Marier Sat, 26 Nov 2005 00:19:06 -0500 dopewars (1.5.10-3) unstable; urgency=low * Update german translation (closes: #314129) * Add watch file * Rename menu to dopewars.menu -- Francois Marier Sun, 19 Jun 2005 22:06:36 -0400 dopewars (1.5.10-2) unstable; urgency=medium * Fixed a lintian warning * Cleaned-up acinclude.m4 and ran autoreconf (Closes: #279288) -- Francois Marier Fri, 5 Nov 2004 01:23:14 -0500 dopewars (1.5.10-1) unstable; urgency=high * New upstream version: - Fixed a server DOS - Fixed some minor bugs in the text-mode client * Updated upstream's email address * Updated fr_CA translation -- Francois Marier Fri, 29 Oct 2004 20:33:56 -0400 dopewars (1.5.9-6) unstable; urgency=medium * Cleaned-up acinclude.m4 and reran the autotools (Closes: #246513) Thanks to Luk Claes for his help! * Removed the automake and autoconf build dependencies -- Francois Marier Wed, 9 Jun 2004 15:09:27 -0400 dopewars (1.5.9-5) unstable; urgency=medium * Added libaudiofile-dev build dependency to fix a buildd warning * Reran the autotools using automake1.8 this time, this will hopefully fix the build problem on arm (Closes: #246513) -- Francois Marier Sun, 16 May 2004 03:00:51 -0400 dopewars (1.5.9-4) unstable; urgency=medium * Hopefuly really fix the problem on arm this time by adding automake and autoconf to the build dependencies * Create the high score file properly on a new install * Added lintian and linda override files for the score file permissions -- Francois Marier Fri, 30 Apr 2004 14:09:38 -0400 dopewars (1.5.9-3) unstable; urgency=low * Re-ran the autotools to fix configure problem on arm (Closes: #246513) -- Francois Marier Thu, 29 Apr 2004 13:22:07 -0400 dopewars (1.5.9-2) unstable; urgency=low * Changed maintainer's email address * Minor fixes to the copyright file * Removed the TODO file from /usr/share/doc/dopewars (users have no use for it, developers can see it in the source package) * Bump Standards-Version up to 3.6.1 (no changes required) * Re-ran libtoolize as per bug #242950 * Replaced out-of-date "fr" translation by a new "fr_CA" translation * Only set the group of the binary (that's what gnome-games do) -- Francois Marier Thu, 29 Apr 2004 02:27:05 -0400 dopewars (1.5.9-1) unstable; urgency=high * New maintainer, thanks for your great work Michael! * Acknowledging my previous NMUs (Closes: #183336, #161704, #161705, #190300, #190299) * New upstream release (Closes: #199558): - Mostly a bug fix release - Upstream refreshed autoconf files and that will hopefully fix the build problems on mips and mipsel (Closes: #192319) * Bump Standards-Version up to 3.5.10 (no changes required) -- Francois Marier Sun, 6 Jul 2003 23:03:17 -0700 dopewars (1.5.8-0.1) unstable; urgency=medium * NMU * New upstream release (Closes: #183336, #161704) - GTK+ 2.0 - Full Unicode support - Sound effects * Bump Standards-Version up to 3.5.9 * Necessary changes to the build depends to accomodate GTK+ 2.0 * Removed the /usr/doc symmlink from postinst * Updated the website link in debian/copyright * Moved the score file from /var/games/dopewars to /var/games * Remove /var/games/dopewars.sco* on purge (Closes: #161705) * Documentation (Closes: #190299) and GNOME menu entry (Closes: #190300) are now in the right place * debian/compat now sets debconf compatibility to version 4 * debian/rules now updates config.sub and config.guess automatically * debian/rules now sets the target architecture properly -- Francois Marier Wed, 23 Apr 2003 04:49:01 -0400 dopewars (1.5.7-1) unstable; urgency=low * New upstream release (Closes: #158776) * Deleted README.debian (Closes: #136391) -- Michael D. Ivey Thu, 12 Sep 2002 16:15:08 +0000 dopewars (1.5.3-4) unstable; urgency=high * Added patch to fix high score conversion problem on PPC (Closes: #136203) * Added patch to fix 'Run Away' crashes on PPC (Closes: #136242) * Thanks to Brian Campbell for both patches -- Michael D. Ivey Thu, 28 Feb 2002 22:37:52 +0000 dopewars (1.5.3-3) unstable; urgency=high * Fixed problem with building when not root (Closes: #135927) -- Michael D. Ivey Tue, 26 Feb 2002 17:59:33 +0000 dopewars (1.5.3-2) unstable; urgency=low * Fix build-depends (Closes: #135553) -- Michael D. Ivey Mon, 25 Feb 2002 04:42:57 +0000 dopewars (1.5.3-1) unstable; urgency=low * New upstream release (Closes: #118154) -- Michael D. Ivey Fri, 22 Feb 2002 21:50:55 +0000 dopewars (1.5.2-1) unstable; urgency=low * New upstream release * User reports that this fixes the segfault (Closes: #115683) -- michael d. ivey Thu, 18 Oct 2001 14:39:22 +0000 dopewars (1.5.1-1) unstable; urgency=low * New upstream release (Closes: Bug#113165) -- michael d. ivey Fri, 28 Sep 2001 18:39:30 +0000 dopewars (1.5.0-3) unstable; urgency=low * Added build-depends (Closes: Bug#102501) -- michael d. ivey Tue, 17 Jul 2001 15:55:06 +0000 dopewars (1.5.0-2) unstable; urgency=low * Changed arch to any (Closes: #99650) * Added menus (Closes: #99775) ... thanks to Jeronimo Pellegrini for taking the time to send a patch -- michael d. ivey Mon, 4 Jun 2001 14:28:24 +0000 dopewars (1.5.0-1) unstable; urgency=low * New upstream release -- michael d. ivey Wed, 30 May 2001 22:36:11 +0000 dopewars (1.4.8-5) unstable; urgency=low * New maintainer -- michael d. ivey Thu, 10 May 2001 18:31:47 +0000 dopewars (1.4.8-4) unstable; urgency=low * Fix md5 problem in dsc file. -- Shane Wegner Sun, 11 Feb 2001 14:09:17 -0800 dopewars (1.4.8-3) unstable; urgency=low * Remove suidregister code. * Add debhelper to Build-Depends. * Include AUTHORS file in docs. -- Shane Wegner Wed, 17 Jan 2001 13:47:29 -0800 dopewars (1.4.8-2) unstable; urgency=low * Move dopewars binary to /usr/games per debian policy. -- Shane Wegner Tue, 16 Jan 2001 09:48:54 -0800 dopewars (1.4.8-1) unstable; urgency=low * New upstream version. * Standards version 3.2.1. * Change priority to extra. -- Shane Wegner Mon, 15 Jan 2001 13:35:29 -0800 dopewars (1.4.7-1) unstable; urgency=low * Initial Release. -- Shane Wegner Mon, 17 Jan 2000 22:35:06 -0800 debian/dopewars.install0000644000000000000000000000010312212374611012373 0ustar dopewars.desktop usr/share/applications usr/games usr/lib/dopewars debian/source/0000755000000000000000000000000012212374611010465 5ustar debian/source/format0000644000000000000000000000001412212374611011673 0ustar 3.0 (quilt) debian/control0000644000000000000000000000345012212374611010572 0ustar Source: dopewars Section: games Priority: extra Build-Depends: automake, debhelper (>= 9), dh-autoreconf, libaudiofile-dev, libesd0-dev, libglib2.0-dev, libgtk2.0-dev, libncurses5-dev, libsdl1.2-dev, pkg-config Maintainer: Debian Games Team Uploaders: Dean Evans Standards-Version: 3.9.3 Homepage: http://dopewars.sourceforge.net Vcs-git: git://git.debian.org/git/pkg-games/dopewars.git Vcs-Browser: http://git.debian.org/?p=pkg-games/dopewars.git Package: dopewars Architecture: any Depends: dopewars-data (= ${source:Version}), ${misc:Depends}, ${shlibs:Depends} Recommends: pulseaudio-esound-compat | esound Description: drug-dealing game set in streets of New York City UNIX rewrite of the MS-DOS program of the same name, which in turn was inspired by John E. Dell's "Drug Wars" game. You have one month to buy and sell drugs on the streets of New York, the aim being first to pay off your debt to the loan shark and then to make a fortune. And if you have to shoot a few cops in the process, well... The game includes TCP networking allowing you to meet (and shoot) other human drug dealers. Package: dopewars-data Architecture: all Depends: ${misc:Depends} Description: drug-dealing game set in streets of New York City - data files UNIX rewrite of the MS-DOS program of the same name, which in turn was inspired by John E. Dell's "Drug Wars" game. You have one month to buy and sell drugs on the streets of New York, the aim being first to pay off your debt to the loan shark and then to make a fortune. And if you have to shoot a few cops in the process, well... The game includes TCP networking allowing you to meet (and shoot) other human drug dealers. . This package contains the required data files common to all architectures. debian/docs0000644000000000000000000000002412212374611010034 0ustar AUTHORS NEWS README debian/rules0000755000000000000000000000141112212374611010242 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 override_dh_auto_configure: dh_auto_configure -- --prefix=/usr --datadir=/usr/share --bindir=/usr/games --localstatedir=/var/games --libdir=/usr/lib --libexecdir=/usr/lib override_dh_autoreconf: cp -f $(shell automake --print-libdir)/mkinstalldirs . dh_autoreconf override_dh_autoreconf_clean: rm -f mkinstalldirs dh_autoreconf_clean override_dh_install: dh_install rm -f $(CURDIR)/debian/dopewars-data/usr/share/doc/dopewars/html/LICENCE rm -rf $(CURDIR)/debian/dopewars/var override_dh_fixperms: dh_fixperms chgrp games $(CURDIR)/debian/dopewars/usr/games/dopewars chmod 2755 $(CURDIR)/debian/dopewars/usr/games/dopewars override_dh_makeshlibs: dh_makeshlibs -Xusr/lib/dopewars %: dh $@ --with autoreconf --paralleldebian/dopewars.postrm0000644000000000000000000000172112212374611012260 0ustar #!/bin/sh # postrm script for dopewars # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in purge) rm -f /var/games/dopewars.sco ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/compat0000644000000000000000000000000212212374611010363 0ustar 9 debian/dopewars.manpages0000644000000000000000000000001612212374611012523 0ustar doc/dopewars.6debian/README.Debian0000644000000000000000000000071212212374611011226 0ustar Sound effects ------------- In order to have sound effects in Dopewars, you must have the Enlightened Sound Daemon ("esound package) installed and running. GNOME users can have the daemon automatically started when they log in (see the relevant option in the GNOME control panel under "Sound"). Alternatively, running the "esd" command before starting dopewars should also work. -- Francois Marier , Thu, 1 Mar 2007 14:04:47 -0500 debian/dopewars-data.dirs0000644000000000000000000000000512212374611012576 0ustar /usr