diff -Nru dpkg-1.18.4ubuntu1/ABOUT-NLS dpkg-1.17.5ubuntu5/ABOUT-NLS --- dpkg-1.18.4ubuntu1/ABOUT-NLS 2015-12-25 12:47:52.000000000 +0000 +++ dpkg-1.17.5ubuntu5/ABOUT-NLS 2013-12-12 07:46:22.000000000 +0000 @@ -141,1237 +141,1109 @@ PO files have been submitted to translation coordination, with a translation percentage of at least 50%. - Ready PO files af am an ar as ast az be bg bn bn_IN bs ca crh cs - +---------------------------------------------------+ - a2ps | [] [] [] | - aegis | | - anubis | | - aspell | [] [] [] | - bash | [] [] [] | - bfd | | - binutils | [] | - bison | | - bison-runtime | [] | - buzztrax | [] | - ccd2cue | | - ccide | | - cflow | | - clisp | | - coreutils | [] [] | - cpio | | - cppi | | - cpplib | [] | - cryptsetup | [] | - datamash | | - denemo | [] [] | - dfarc | [] | - dialog | [] [] [] | - dico | | - diffutils | [] | - dink | [] | - direvent | | - doodle | [] | - dos2unix | | - dos2unix-man | | - e2fsprogs | [] [] | - enscript | [] | - exif | [] | - fetchmail | [] [] | - findutils | [] | - flex | [] | - freedink | [] [] | - fusionforge | | - gas | | - gawk | [] | - gcal | [] | - gcc | | - gdbm | | - gettext-examples | [] [] [] [] [] | - gettext-runtime | [] [] [] | - gettext-tools | [] [] | - gip | [] [] | - gjay | | - glunarclock | [] [] [] | - gnubiff | [] | - gnubik | [] | - gnucash | () () [] | - gnuchess | | - gnulib | [] | - gnunet | | - gnunet-gtk | | - gold | | - gphoto2 | [] | - gprof | [] | - gpsdrive | | - gramadoir | | - grep | [] [] | - grub | [] | - gsasl | | - gss | | - gst-plugins-bad | [] | - gst-plugins-base | [] [] [] | - gst-plugins-good | [] [] [] | - gst-plugins-ugly | [] [] [] | - gstreamer | [] [] [] [] | - gtick | [] | - gtkam | [] [] | - gtkorphan | [] [] | - gtkspell | [] [] [] [] [] | - guix | | - guix-packages | | - gutenprint | [] | - hello | [] | - help2man | | - help2man-texi | | - hylafax | | - idutils | | - iso_15924 | [] | - iso_3166 | [] [] [] [] [] [] [] [] [] [] | - iso_3166_2 | | - iso_4217 | [] | - iso_639 | [] [] [] [] [] [] [] [] [] | - iso_639_3 | [] [] | - iso_639_5 | | - jwhois | | - kbd | [] | - klavaro | [] [] [] [] [] | - latrine | | - ld | [] | - leafpad | [] [] [] [] | - libc | [] [] [] | - libexif | () | - libextractor | | - libgnutls | [] | - libgpg-error | [] | - libgphoto2 | [] | - libgphoto2_port | [] | - libgsasl | | - libiconv | [] [] | - libidn | [] | - liferea | [] [] [] [] | - lilypond | [] [] | - lordsawar | [] | - lprng | | - lynx | [] [] | - m4 | [] | - mailfromd | | - mailutils | | - make | [] | - man-db | [] [] | - man-db-manpages | | - midi-instruments | [] [] [] | - minicom | [] | - mkisofs | [] | - myserver | [] | - nano | [] [] [] | - opcodes | | - parted | [] | - pies | | - popt | [] | - procps-ng | | - procps-ng-man | | - psmisc | [] | - pspp | [] | - pushover | [] | - pwdutils | | - pyspread | | - radius | [] | - recode | [] [] [] | - recutils | | - rpm | | - rush | | - sarg | | - sed | [] [] [] | - sharutils | [] | - shishi | | - skribilo | | - solfege | [] | - solfege-manual | | - spotmachine | | - sudo | [] [] | - sudoers | [] [] | - sysstat | [] | - tar | [] [] [] | - texinfo | [] [] | - texinfo_document | [] | - tigervnc | [] | - tin | | - tin-man | | - tracgoogleappsa... | | - trader | | - util-linux | [] | - ve | | - vice | | - vmm | | - vorbis-tools | [] | - wastesedge | | - wcd | | - wcd-man | | - wdiff | [] [] | - wget | [] [] | - wyslij-po | | - xboard | | - xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] | - xkeyboard-config | [] [] [] | - +---------------------------------------------------+ - af am an ar as ast az be bg bn bn_IN bs ca crh cs - 4 0 2 4 3 11 0 8 24 3 3 1 55 4 76 - - da de el en en_GB en_ZA eo es et eu fa fi fr - +--------------------------------------------------+ - a2ps | [] [] [] [] [] [] [] [] [] | - aegis | [] [] [] [] | - anubis | [] [] [] [] [] | - aspell | [] [] [] [] [] [] [] | - bash | [] [] [] [] [] | - bfd | [] [] [] [] | - binutils | [] [] [] | - bison | [] [] [] [] [] [] [] [] | - bison-runtime | [] [] [] [] [] [] [] [] | - buzztrax | [] [] [] [] | - ccd2cue | [] [] [] | - ccide | [] [] [] [] [] [] | - cflow | [] [] [] [] [] | - clisp | [] [] [] [] [] | - coreutils | [] [] [] [] [] | - cpio | [] [] [] [] [] | - cppi | [] [] [] [] [] | - cpplib | [] [] [] [] [] [] | - cryptsetup | [] [] [] [] [] | - datamash | [] [] [] [] | - denemo | | - dfarc | [] [] [] [] [] [] | - dialog | [] [] [] [] [] [] [] [] [] | - dico | [] [] [] [] | - diffutils | [] [] [] [] [] [] | - dink | [] [] [] [] [] [] | - direvent | [] [] [] [] | - doodle | [] [] [] [] | - dos2unix | [] [] [] [] [] | - dos2unix-man | [] [] [] | - e2fsprogs | [] [] [] [] [] | - enscript | [] [] [] [] [] [] | - exif | [] [] [] [] [] [] | - fetchmail | [] () [] [] [] [] [] | - findutils | [] [] [] [] [] [] [] [] | - flex | [] [] [] [] [] [] | - freedink | [] [] [] [] [] [] [] [] | - fusionforge | [] [] [] | - gas | [] [] [] | - gawk | [] [] [] [] [] | - gcal | [] [] [] [] | - gcc | [] [] | - gdbm | [] [] [] [] [] | - gettext-examples | [] [] [] [] [] [] [] | - gettext-runtime | [] [] [] [] [] [] | - gettext-tools | [] [] [] [] [] | - gip | [] [] [] [] [] [] [] | - gjay | [] [] [] [] | - glunarclock | [] [] [] [] [] | - gnubiff | () [] [] () | - gnubik | [] [] [] [] [] | - gnucash | [] () () () () () () | - gnuchess | [] [] [] [] | - gnulib | [] [] [] [] [] [] [] | - gnunet | [] | - gnunet-gtk | [] | - gold | [] [] [] | - gphoto2 | [] () [] [] | - gprof | [] [] [] [] [] [] | - gpsdrive | [] [] [] [] | - gramadoir | [] [] [] [] [] | - grep | [] [] [] [] [] [] [] | - grub | [] [] [] [] [] | - gsasl | [] [] [] [] [] | - gss | [] [] [] [] [] | - gst-plugins-bad | [] [] | - gst-plugins-base | [] [] [] [] [] [] | - gst-plugins-good | [] [] [] [] [] [] [] | - gst-plugins-ugly | [] [] [] [] [] [] [] [] | - gstreamer | [] [] [] [] [] [] [] | - gtick | [] () [] [] [] | - gtkam | [] () [] [] [] [] | - gtkorphan | [] [] [] [] [] | - gtkspell | [] [] [] [] [] [] [] [] | - guix | [] [] [] | - guix-packages | | - gutenprint | [] [] [] [] | - hello | [] [] [] [] [] [] [] [] | - help2man | [] [] [] [] [] [] [] | - help2man-texi | [] [] [] | - hylafax | [] [] | - idutils | [] [] [] [] [] | - iso_15924 | [] () [] [] () [] () | - iso_3166 | [] () [] [] [] [] () [] () | - iso_3166_2 | [] () () () | - iso_4217 | [] () [] [] [] () [] () | - iso_639 | [] () [] [] () [] () | - iso_639_3 | () () () | - iso_639_5 | () () () | - jwhois | [] [] [] [] [] | - kbd | [] [] [] [] [] [] | - klavaro | [] [] [] [] [] [] [] | - latrine | [] () [] [] | - ld | [] [] [] [] | - leafpad | [] [] [] [] [] [] [] [] | - libc | [] [] [] [] [] | - libexif | [] [] () [] [] | - libextractor | [] | - libgnutls | [] [] [] [] | - libgpg-error | [] [] [] | - libgphoto2 | [] () [] | - libgphoto2_port | [] () [] [] [] [] | - libgsasl | [] [] [] [] [] | - libiconv | [] [] [] [] [] [] [] | - libidn | [] [] [] [] [] | - liferea | [] () [] [] [] [] [] | - lilypond | [] [] [] [] [] [] | - lordsawar | [] [] | - lprng | | - lynx | [] [] [] [] [] [] | - m4 | [] [] [] [] [] [] | - mailfromd | [] | - mailutils | [] [] [] [] | - make | [] [] [] [] [] | - man-db | [] [] [] [] | - man-db-manpages | [] [] | - midi-instruments | [] [] [] [] [] [] [] [] [] | - minicom | [] [] [] [] [] | - mkisofs | [] [] [] | - myserver | [] [] [] [] | - nano | [] [] [] [] [] [] [] | - opcodes | [] [] [] [] [] | - parted | [] [] [] | - pies | [] | - popt | [] [] [] [] [] [] | - procps-ng | [] [] | - procps-ng-man | [] [] | - psmisc | [] [] [] [] [] [] [] | - pspp | [] [] [] | - pushover | () [] [] [] | - pwdutils | [] [] [] | - pyspread | [] [] | - radius | [] [] | - recode | [] [] [] [] [] [] [] | - recutils | [] [] [] [] | - rpm | [] [] [] [] [] | - rush | [] [] [] | - sarg | [] [] | - sed | [] [] [] [] [] [] [] [] | - sharutils | [] [] [] [] | - shishi | [] [] [] | - skribilo | [] [] | - solfege | [] [] [] [] [] [] [] [] | - solfege-manual | [] [] [] [] [] | - spotmachine | [] [] [] [] | - sudo | [] [] [] [] [] [] | - sudoers | [] [] [] [] [] [] | - sysstat | [] [] [] [] [] [] | - tar | [] [] [] [] [] [] [] | - texinfo | [] [] [] [] [] | - texinfo_document | [] [] [] [] | - tigervnc | [] [] [] [] [] [] | - tin | [] [] [] [] | - tin-man | [] | - tracgoogleappsa... | [] [] [] [] [] | - trader | [] [] [] [] [] [] | - util-linux | [] [] [] [] | - ve | [] [] [] [] [] | - vice | () () () | - vmm | [] [] | - vorbis-tools | [] [] [] [] | - wastesedge | [] () | - wcd | [] [] [] [] | - wcd-man | [] | - wdiff | [] [] [] [] [] [] [] | - wget | [] [] [] [] [] [] | - wyslij-po | [] [] [] [] | - xboard | [] [] [] [] | - xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] | - xkeyboard-config | [] [] [] [] [] [] [] | + Ready PO files af am an ar as ast az be be@latin bg bn_IN bs ca +--------------------------------------------------+ - da de el en en_GB en_ZA eo es et eu fa fi fr - 123 134 32 1 6 0 97 97 23 14 4 106 139 - - ga gd gl gu he hi hr hu hy ia id is it ja ka kk - +-------------------------------------------------+ - a2ps | [] [] [] [] | - aegis | [] | - anubis | [] [] [] [] | - aspell | [] [] [] [] [] | - bash | [] [] [] [] | - bfd | [] [] | - binutils | [] [] [] | - bison | [] | - bison-runtime | [] [] [] [] [] [] [] [] | - buzztrax | | - ccd2cue | [] | - ccide | [] [] | - cflow | [] [] [] | - clisp | | - coreutils | [] [] [] | - cpio | [] [] [] [] [] [] | - cppi | [] [] [] [] [] | - cpplib | [] [] | - cryptsetup | [] | - datamash | | - denemo | [] | - dfarc | [] [] [] | - dialog | [] [] [] [] [] [] [] [] [] [] | - dico | | - diffutils | [] [] [] [] | - dink | [] | - direvent | [] | - doodle | [] [] | - dos2unix | [] [] | - dos2unix-man | | - e2fsprogs | [] | - enscript | [] [] [] | - exif | [] [] [] [] [] [] | - fetchmail | [] [] [] | - findutils | [] [] [] [] [] [] [] | - flex | [] | - freedink | [] [] [] [] | - fusionforge | | - gas | [] | - gawk | [] () [] | - gcal | | - gcc | | - gdbm | | - gettext-examples | [] [] [] [] [] [] [] | - gettext-runtime | [] [] [] [] [] [] [] | - gettext-tools | [] [] [] | - gip | [] [] [] [] [] [] | - gjay | [] | - glunarclock | [] [] [] [] [] [] | - gnubiff | [] [] () | - gnubik | [] [] [] | - gnucash | () () () () () [] | - gnuchess | | - gnulib | [] [] [] [] [] | - gnunet | | - gnunet-gtk | | - gold | [] [] | - gphoto2 | [] [] [] [] | - gprof | [] [] [] [] | - gpsdrive | [] [] [] [] | - gramadoir | [] [] [] | - grep | [] [] [] [] [] [] [] | - grub | [] [] [] | - gsasl | [] [] [] [] [] | - gss | [] [] [] [] [] | - gst-plugins-bad | [] | - gst-plugins-base | [] [] [] [] | - gst-plugins-good | [] [] [] [] [] [] | - gst-plugins-ugly | [] [] [] [] [] [] | - gstreamer | [] [] [] [] [] | - gtick | [] [] [] [] [] | - gtkam | [] [] [] [] [] | - gtkorphan | [] [] [] [] | - gtkspell | [] [] [] [] [] [] [] [] [] [] | - guix | [] | - guix-packages | | - gutenprint | [] [] [] | - hello | [] [] [] [] [] | - help2man | [] [] [] | - help2man-texi | | - hylafax | [] | - idutils | [] [] | - iso_15924 | [] [] [] [] [] [] | - iso_3166 | [] [] [] [] [] [] [] [] [] [] [] [] [] | - iso_3166_2 | [] [] | - iso_4217 | [] [] [] [] [] [] | - iso_639 | [] [] [] [] [] [] [] [] [] | - iso_639_3 | [] [] | - iso_639_5 | | - jwhois | [] [] [] [] | - kbd | [] [] [] | - klavaro | [] [] [] [] | - latrine | [] | - ld | [] [] [] [] | - leafpad | [] [] [] [] [] [] [] () | - libc | [] [] [] [] [] | - libexif | [] | - libextractor | | - libgnutls | [] | - libgpg-error | [] [] [] | - libgphoto2 | [] [] | - libgphoto2_port | [] [] | - libgsasl | [] [] [] [] | - libiconv | [] [] [] [] [] [] [] | - libidn | [] [] [] [] | - liferea | [] [] [] [] [] | - lilypond | [] | - lordsawar | | - lprng | [] | - lynx | [] [] [] [] | - m4 | [] [] [] [] [] | - mailfromd | | - mailutils | | - make | [] [] [] [] | - man-db | [] [] | - man-db-manpages | [] [] | - midi-instruments | [] [] [] [] [] [] [] [] [] | - minicom | [] [] [] | - mkisofs | [] [] | - myserver | [] | - nano | [] [] [] [] [] | - opcodes | [] [] [] | - parted | [] [] [] [] | - pies | | - popt | [] [] [] [] [] [] [] [] [] [] | - procps-ng | | - procps-ng-man | | - psmisc | [] [] [] [] | - pspp | [] [] | - pushover | [] | - pwdutils | [] | - pyspread | | - radius | [] | - recode | [] [] [] [] [] [] [] | - recutils | | - rpm | [] | - rush | [] | - sarg | | - sed | [] [] [] [] [] [] [] | - sharutils | | - shishi | | - skribilo | [] | - solfege | [] [] | - solfege-manual | | - spotmachine | | - sudo | [] [] [] [] | - sudoers | [] [] [] | - sysstat | [] [] [] | - tar | [] [] [] [] [] [] | - texinfo | [] [] [] | - texinfo_document | [] [] | - tigervnc | | - tin | | - tin-man | | - tracgoogleappsa... | [] [] [] [] | - trader | [] [] | - util-linux | [] | - ve | [] | - vice | () () | - vmm | | - vorbis-tools | [] [] | - wastesedge | () | - wcd | | - wcd-man | | - wdiff | [] [] [] | - wget | [] [] [] [] | - wyslij-po | [] [] [] | - xboard | | - xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] [] | - xkeyboard-config | [] [] [] [] [] | - +-------------------------------------------------+ - ga gd gl gu he hi hr hu hy ia id is it ja ka kk - 36 2 49 4 8 2 54 75 2 6 84 11 89 60 0 3 - - kn ko ku ky lg lt lv mk ml mn mr ms mt nb ne nl - +--------------------------------------------------+ - a2ps | [] [] | - aegis | [] | - anubis | [] [] [] | - aspell | [] [] | - bash | [] [] | + a2ps | [] [] | + aegis | | + ant-phone | | + anubis | | + aspell | [] [] | + bash | | bfd | | + bibshelf | [] | binutils | | - bison | [] | - bison-runtime | [] [] [] [] [] [] | - buzztrax | | - ccd2cue | | - ccide | [] [] | - cflow | [] | - clisp | [] | - coreutils | [] [] | - cpio | [] | + bison | | + bison-runtime | [] | + bluez-pin | [] [] | + bombono-dvd | | + buzztard | | + cflow | | + clisp | | + coreutils | [] [] | + cpio | | cppi | | - cpplib | [] | - cryptsetup | [] | - datamash | [] [] | - denemo | | - dfarc | [] [] | - dialog | [] [] [] [] [] [] | + cpplib | [] | + cryptsetup | | + dfarc | | + dialog | [] [] | dico | | - diffutils | [] [] [] | - dink | [] | - direvent | [] | - doodle | [] | - dos2unix | [] [] | - dos2unix-man | [] | - e2fsprogs | [] | - enscript | [] | - exif | [] [] | - fetchmail | [] | - findutils | [] [] | - flex | [] | - freedink | [] [] | - fusionforge | | + diffutils | [] | + dink | | + doodle | | + e2fsprogs | [] | + enscript | [] | + exif | | + fetchmail | [] | + findutils | [] | + flex | [] | + freedink | | gas | | - gawk | [] | - gcal | | + gawk | [] [] | + gcal | [] | gcc | | - gdbm | | - gettext-examples | [] [] [] [] [] [] | - gettext-runtime | [] [] | - gettext-tools | [] | - gip | [] [] [] | + gettext-examples | [] [] [] [] | + gettext-runtime | [] [] | + gettext-tools | [] [] | + gip | [] | gjay | | - glunarclock | [] [] | - gnubiff | [] | - gnubik | [] [] | - gnucash | () () () () () () () [] | - gnuchess | [] [] | - gnulib | [] | + gliv | [] | + glunarclock | [] [] | + gnubiff | | + gnucash | [] | + gnuedu | | + gnulib | | gnunet | | gnunet-gtk | | + gnutls | | gold | | - gphoto2 | [] | - gprof | [] [] | - gpsdrive | [] | - gramadoir | [] | - grep | [] [] | - grub | [] [] [] | - gsasl | [] | + gpe-aerial | | + gpe-beam | | + gpe-bluetooth | | + gpe-calendar | | + gpe-clock | [] | + gpe-conf | | + gpe-contacts | | + gpe-edit | | + gpe-filemanager | | + gpe-go | | + gpe-login | | + gpe-ownerinfo | [] | + gpe-package | | + gpe-sketchbook | | + gpe-su | [] | + gpe-taskmanager | [] | + gpe-timesheet | [] | + gpe-today | [] | + gpe-todo | | + gphoto2 | | + gprof | [] | + gpsdrive | | + gramadoir | | + grep | | + grub | [] [] | + gsasl | | gss | | - gst-plugins-bad | [] | - gst-plugins-base | [] [] [] | - gst-plugins-good | [] [] [] [] | - gst-plugins-ugly | [] [] [] [] [] | - gstreamer | [] [] | - gtick | [] | - gtkam | [] [] | - gtkorphan | [] [] | - gtkspell | [] [] [] [] [] [] [] | - guix | | - guix-packages | | - gutenprint | [] | - hello | [] [] [] | - help2man | [] | - help2man-texi | | - hylafax | [] | - idutils | [] | - iso_15924 | () [] [] | - iso_3166 | [] [] [] () [] [] [] [] [] [] | - iso_3166_2 | () [] | - iso_4217 | () [] [] [] | - iso_639 | [] [] () [] [] [] [] | - iso_639_3 | [] () [] | - iso_639_5 | () | - jwhois | [] [] | - kbd | [] | - klavaro | [] [] | + gst-plugins-bad | [] | + gst-plugins-base | [] | + gst-plugins-good | [] | + gst-plugins-ugly | [] | + gstreamer | [] [] [] | + gtick | | + gtkam | [] | + gtkorphan | [] | + gtkspell | [] [] [] | + gutenprint | | + hello | [] | + help2man | | + hylafax | | + idutils | | + indent | [] [] | + iso_15924 | | + iso_3166 | [] [] [] [] [] [] [] | + iso_3166_2 | | + iso_4217 | | + iso_639 | [] [] [] [] | + iso_639_3 | | + jwhois | | + kbd | | + keytouch | [] | + keytouch-editor | | + keytouch-keyboa... | [] | + klavaro | [] | latrine | | - ld | | - leafpad | [] [] [] [] [] | - libc | [] [] | - libexif | [] | - libextractor | [] | - libgnutls | [] [] | - libgpg-error | [] | - libgphoto2 | [] | - libgphoto2_port | [] | - libgsasl | [] | - libiconv | [] [] | - libidn | [] | - liferea | [] [] [] | + ld | [] | + leafpad | [] [] | + libc | [] [] | + libexif | () | + libextractor | | + libgnutls | | + libgpewidget | | + libgpg-error | | + libgphoto2 | | + libgphoto2_port | | + libgsasl | | + libiconv | [] | + libidn | | + lifelines | | + liferea | [] [] | lilypond | | + linkdr | [] | lordsawar | | lprng | | - lynx | [] | - m4 | [] | + lynx | [] | + m4 | | mailfromd | | mailutils | | - make | [] [] | - man-db | [] | - man-db-manpages | [] | - midi-instruments | [] [] [] [] [] [] [] | - minicom | [] | - mkisofs | [] | + make | | + man-db | | + man-db-manpages | | + minicom | | + mkisofs | | myserver | | - nano | [] [] [] | - opcodes | [] | - parted | [] | + nano | [] [] | + opcodes | | + parted | | pies | | - popt | [] [] [] [] [] | - procps-ng | | - procps-ng-man | | - psmisc | [] | - pspp | [] [] | - pushover | | - pwdutils | [] | - pyspread | | - radius | [] | - recode | [] [] | - recutils | [] | - rpm | [] | - rush | [] | + popt | | + psmisc | | + pspp | [] | + pwdutils | | + radius | [] | + recode | [] [] | + rosegarden | | + rpm | | + rush | | sarg | | - sed | [] [] | - sharutils | [] | + screem | | + scrollkeeper | [] [] [] | + sed | [] [] | + sharutils | [] [] | shishi | | - skribilo | | - solfege | [] [] | - solfege-manual | [] | - spotmachine | [] | - sudo | [] [] | - sudoers | [] [] | - sysstat | [] [] | - tar | [] [] [] | - texinfo | [] | - texinfo_document | [] | - tigervnc | [] | + skencil | | + solfege | | + solfege-manual | | + soundtracker | | + sp | | + sysstat | | + tar | [] | + texinfo | | tin | | - tin-man | | - tracgoogleappsa... | [] [] [] | - trader | [] | - util-linux | [] | - ve | [] | - vice | [] | - vmm | [] | - vorbis-tools | [] | - wastesedge | [] | - wcd | [] | - wcd-man | [] | - wdiff | [] | - wget | [] [] | - wyslij-po | [] | - xboard | [] | - xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] | - xkeyboard-config | [] [] [] | - +--------------------------------------------------+ - kn ko ku ky lg lt lv mk ml mn mr ms mt nb ne nl - 5 11 4 6 0 13 24 3 3 3 4 12 2 40 1 126 - - nn or os pa pl ps pt pt_BR ro ru rw sk sl sq sr - +--------------------------------------------------+ - a2ps | [] [] [] [] [] [] [] | - aegis | [] [] | - anubis | [] [] [] | - aspell | [] [] [] [] [] [] [] | - bash | [] [] [] [] [] | - bfd | [] | - binutils | [] [] | - bison | [] [] [] | - bison-runtime | [] [] [] [] [] [] [] [] | - buzztrax | | - ccd2cue | [] | - ccide | [] [] [] | - cflow | [] [] | - clisp | [] | - coreutils | [] [] [] [] | - cpio | [] [] [] | - cppi | [] [] [] | - cpplib | [] [] [] | - cryptsetup | [] [] | - datamash | [] [] | - denemo | | - dfarc | [] [] [] | - dialog | [] [] [] [] [] [] [] | - dico | [] | - diffutils | [] [] | - dink | | - direvent | [] [] | - doodle | [] [] | - dos2unix | [] [] [] [] | - dos2unix-man | [] [] | - e2fsprogs | [] | - enscript | [] [] [] [] [] [] | - exif | [] [] [] [] [] [] | - fetchmail | [] [] [] | - findutils | [] [] [] [] [] | - flex | [] [] [] [] [] | - freedink | [] [] [] [] [] | - fusionforge | | - gas | | - gawk | [] | - gcal | | - gcc | | - gdbm | [] [] [] | - gettext-examples | [] [] [] [] [] [] [] [] | - gettext-runtime | [] [] [] [] [] [] [] [] [] | - gettext-tools | [] [] [] [] [] [] [] | - gip | [] [] [] [] [] | - gjay | [] | - glunarclock | [] [] [] [] [] [] | - gnubiff | [] | - gnubik | [] [] [] [] | - gnucash | () () () () [] | - gnuchess | [] [] | - gnulib | [] [] [] [] [] | - gnunet | | - gnunet-gtk | | - gold | | - gphoto2 | [] [] [] [] [] | - gprof | [] [] [] [] | - gpsdrive | [] | - gramadoir | [] [] | - grep | [] [] [] [] [] [] | - grub | [] [] [] [] [] | - gsasl | [] [] [] | - gss | [] [] [] [] | - gst-plugins-bad | [] [] [] [] | - gst-plugins-base | [] [] [] [] [] [] | - gst-plugins-good | [] [] [] [] [] [] [] | - gst-plugins-ugly | [] [] [] [] [] [] [] | - gstreamer | [] [] [] [] [] [] [] | - gtick | [] [] [] [] [] | - gtkam | [] [] [] [] [] [] | - gtkorphan | [] [] [] [] | - gtkspell | [] [] [] [] [] [] [] [] [] | - guix | | - guix-packages | | - gutenprint | [] | - hello | [] [] [] [] [] [] | - help2man | [] [] [] [] | - help2man-texi | [] | - hylafax | | - idutils | [] [] [] | - iso_15924 | [] () [] [] [] [] | - iso_3166 | [] [] [] [] () [] [] [] [] [] [] [] [] | - iso_3166_2 | [] () [] | - iso_4217 | [] [] () [] [] [] [] [] | - iso_639 | [] [] [] () [] [] [] [] [] [] | - iso_639_3 | [] () | - iso_639_5 | () [] | - jwhois | [] [] [] [] | - kbd | [] [] | - klavaro | [] [] [] [] [] | - latrine | [] | - ld | | - leafpad | [] [] [] [] [] [] [] [] [] | - libc | [] [] [] | - libexif | [] () [] | - libextractor | [] | - libgnutls | [] | - libgpg-error | [] [] [] | - libgphoto2 | [] | - libgphoto2_port | [] [] [] [] [] | - libgsasl | [] [] [] [] | - libiconv | [] [] [] [] [] | - libidn | [] [] [] | - liferea | [] [] [] [] () [] [] | - lilypond | | - lordsawar | | - lprng | [] | - lynx | [] [] | - m4 | [] [] [] [] [] | - mailfromd | [] | - mailutils | [] | - make | [] [] [] | - man-db | [] [] [] | - man-db-manpages | [] [] [] | - midi-instruments | [] [] [] [] [] [] [] [] | - minicom | [] [] [] [] | - mkisofs | [] [] [] | - myserver | [] [] | - nano | [] [] [] [] [] [] | - opcodes | | - parted | [] [] [] [] [] [] | - pies | [] | - popt | [] [] [] [] [] [] | - procps-ng | [] | - procps-ng-man | [] | - psmisc | [] [] [] [] | - pspp | [] [] | - pushover | | - pwdutils | [] | - pyspread | [] [] | - radius | [] [] | - recode | [] [] [] [] [] [] [] [] | - recutils | [] | - rpm | [] | - rush | [] [] [] | - sarg | [] [] | - sed | [] [] [] [] [] [] [] [] | - sharutils | [] [] [] | - shishi | [] [] | - skribilo | | - solfege | [] [] [] | - solfege-manual | [] [] | - spotmachine | [] [] | - sudo | [] [] [] [] [] | - sudoers | [] [] [] [] | - sysstat | [] [] [] [] [] | - tar | [] [] [] [] [] | - texinfo | [] [] [] | - texinfo_document | [] [] | - tigervnc | | - tin | [] | - tin-man | | - tracgoogleappsa... | [] [] [] [] | - trader | [] | - util-linux | [] [] | - ve | [] [] [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux-ng | [] | vice | | vmm | | - vorbis-tools | [] [] [] | + vorbis-tools | | wastesedge | | - wcd | | - wcd-man | | - wdiff | [] [] [] [] [] | - wget | [] [] [] [] [] | - wyslij-po | [] [] [] [] | - xboard | [] [] | - xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] | - xkeyboard-config | [] [] [] [] | + wdiff | | + wget | [] [] | + wyslij-po | | + xchat | [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] | +--------------------------------------------------+ - nn or os pa pl ps pt pt_BR ro ru rw sk sl sq sr - 7 3 1 6 117 1 12 84 33 82 3 37 45 7 98 + af am an ar as ast az be be@latin bg bn_IN bs ca + 6 0 1 2 3 19 1 10 3 28 3 1 38 - sv sw ta te tg th tr uk ur vi wa wo zh_CN zh_HK + crh cs da de el en en_GB en_ZA eo es et eu fa + +-------------------------------------------------+ + a2ps | [] [] [] [] [] [] [] | + aegis | [] [] [] | + ant-phone | [] () | + anubis | [] [] | + aspell | [] [] [] [] [] | + bash | [] [] [] | + bfd | [] | + bibshelf | [] [] [] | + binutils | [] | + bison | [] [] | + bison-runtime | [] [] [] [] | + bluez-pin | [] [] [] [] [] [] | + bombono-dvd | [] | + buzztard | [] [] [] | + cflow | [] [] | + clisp | [] [] [] [] | + coreutils | [] [] [] [] | + cpio | | + cppi | | + cpplib | [] [] [] | + cryptsetup | [] | + dfarc | [] [] [] | + dialog | [] [] [] [] [] | + dico | | + diffutils | [] [] [] [] [] [] | + dink | [] [] [] | + doodle | [] | + e2fsprogs | [] [] [] | + enscript | [] [] [] | + exif | () [] [] | + fetchmail | [] [] () [] [] [] | + findutils | [] [] [] | + flex | [] [] | + freedink | [] [] [] | + gas | [] | + gawk | [] [] [] | + gcal | [] | + gcc | [] [] | + gettext-examples | [] [] [] [] | + gettext-runtime | [] [] [] [] | + gettext-tools | [] [] [] | + gip | [] [] [] [] | + gjay | [] | + gliv | [] [] [] | + glunarclock | [] [] | + gnubiff | () | + gnucash | [] () () () () | + gnuedu | [] [] | + gnulib | [] [] | + gnunet | | + gnunet-gtk | [] | + gnutls | [] [] | + gold | [] | + gpe-aerial | [] [] [] [] | + gpe-beam | [] [] [] [] | + gpe-bluetooth | [] [] | + gpe-calendar | [] | + gpe-clock | [] [] [] [] | + gpe-conf | [] [] [] | + gpe-contacts | [] [] [] | + gpe-edit | [] [] | + gpe-filemanager | [] [] [] | + gpe-go | [] [] [] [] | + gpe-login | [] [] | + gpe-ownerinfo | [] [] [] [] | + gpe-package | [] [] [] | + gpe-sketchbook | [] [] [] [] | + gpe-su | [] [] [] [] | + gpe-taskmanager | [] [] [] [] | + gpe-timesheet | [] [] [] [] | + gpe-today | [] [] [] [] | + gpe-todo | [] [] [] | + gphoto2 | [] [] () [] [] [] | + gprof | [] [] [] | + gpsdrive | [] [] [] | + gramadoir | [] [] [] | + grep | [] | + grub | [] [] | + gsasl | [] | + gss | | + gst-plugins-bad | [] [] [] [] [] | + gst-plugins-base | [] [] [] [] [] | + gst-plugins-good | [] [] [] [] [] [] | + gst-plugins-ugly | [] [] [] [] [] [] | + gstreamer | [] [] [] [] [] | + gtick | [] () [] | + gtkam | [] [] () [] [] | + gtkorphan | [] [] [] [] | + gtkspell | [] [] [] [] [] [] [] | + gutenprint | [] [] [] | + hello | [] [] [] [] | + help2man | [] | + hylafax | [] [] | + idutils | [] [] | + indent | [] [] [] [] [] [] [] | + iso_15924 | [] () [] [] | + iso_3166 | [] [] [] [] () [] [] [] () | + iso_3166_2 | () | + iso_4217 | [] [] [] () [] [] | + iso_639 | [] [] [] [] () [] [] | + iso_639_3 | [] | + jwhois | [] | + kbd | [] [] [] [] [] | + keytouch | [] [] | + keytouch-editor | [] [] | + keytouch-keyboa... | [] | + klavaro | [] [] [] [] | + latrine | [] () | + ld | [] [] | + leafpad | [] [] [] [] [] [] | + libc | [] [] [] [] | + libexif | [] [] () | + libextractor | | + libgnutls | [] | + libgpewidget | [] [] | + libgpg-error | [] [] | + libgphoto2 | [] () | + libgphoto2_port | [] () [] | + libgsasl | | + libiconv | [] [] [] [] [] | + libidn | [] [] [] | + lifelines | [] () | + liferea | [] [] [] [] [] | + lilypond | [] [] [] | + linkdr | [] [] [] | + lordsawar | [] | + lprng | | + lynx | [] [] [] [] | + m4 | [] [] [] [] | + mailfromd | | + mailutils | [] | + make | [] [] [] | + man-db | | + man-db-manpages | | + minicom | [] [] [] [] | + mkisofs | | + myserver | | + nano | [] [] [] | + opcodes | [] [] | + parted | [] [] | + pies | | + popt | [] [] [] [] [] | + psmisc | [] [] [] | + pspp | [] | + pwdutils | [] | + radius | [] | + recode | [] [] [] [] [] [] | + rosegarden | () () () | + rpm | [] [] [] | + rush | | + sarg | | + screem | | + scrollkeeper | [] [] [] [] [] | + sed | [] [] [] [] [] [] | + sharutils | [] [] [] [] | + shishi | | + skencil | [] () [] | + solfege | [] [] [] | + solfege-manual | [] [] | + soundtracker | [] [] [] | + sp | [] | + sysstat | [] [] [] | + tar | [] [] [] [] | + texinfo | [] [] [] | + tin | [] [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux-ng | [] [] [] [] | + vice | () () | + vmm | [] | + vorbis-tools | [] [] | + wastesedge | [] | + wdiff | [] [] | + wget | [] [] [] | + wyslij-po | | + xchat | [] [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] [] [] [] | + +-------------------------------------------------+ + crh cs da de el en en_GB en_ZA eo es et eu fa + 5 64 105 117 18 1 8 0 28 89 18 19 0 + + fi fr ga gl gu he hi hr hu hy id is it ja ka kn + +----------------------------------------------------+ + a2ps | [] [] [] [] | + aegis | [] [] | + ant-phone | [] [] | + anubis | [] [] [] [] | + aspell | [] [] [] [] | + bash | [] [] [] [] | + bfd | [] [] [] | + bibshelf | [] [] [] [] [] | + binutils | [] [] [] | + bison | [] [] [] [] | + bison-runtime | [] [] [] [] [] [] | + bluez-pin | [] [] [] [] [] [] [] [] | + bombono-dvd | [] | + buzztard | [] | + cflow | [] [] [] | + clisp | [] | + coreutils | [] [] [] [] [] | + cpio | [] [] [] [] | + cppi | [] [] | + cpplib | [] [] [] | + cryptsetup | [] [] [] | + dfarc | [] [] [] | + dialog | [] [] [] [] [] [] [] | + dico | | + diffutils | [] [] [] [] [] [] [] [] [] | + dink | [] | + doodle | [] [] | + e2fsprogs | [] [] | + enscript | [] [] [] [] | + exif | [] [] [] [] [] [] | + fetchmail | [] [] [] [] | + findutils | [] [] [] [] [] [] | + flex | [] [] [] | + freedink | [] [] [] | + gas | [] [] | + gawk | [] [] [] [] () [] | + gcal | [] | + gcc | [] | + gettext-examples | [] [] [] [] [] [] [] | + gettext-runtime | [] [] [] [] [] [] | + gettext-tools | [] [] [] [] | + gip | [] [] [] [] [] [] | + gjay | [] | + gliv | [] () | + glunarclock | [] [] [] [] | + gnubiff | () [] () | + gnucash | () () () () () [] | + gnuedu | [] [] | + gnulib | [] [] [] [] [] [] | + gnunet | | + gnunet-gtk | [] | + gnutls | [] [] | + gold | [] [] | + gpe-aerial | [] [] [] | + gpe-beam | [] [] [] [] | + gpe-bluetooth | [] [] [] [] | + gpe-calendar | [] [] | + gpe-clock | [] [] [] [] [] | + gpe-conf | [] [] [] [] | + gpe-contacts | [] [] [] [] | + gpe-edit | [] [] [] | + gpe-filemanager | [] [] [] [] | + gpe-go | [] [] [] [] [] | + gpe-login | [] [] [] | + gpe-ownerinfo | [] [] [] [] [] | + gpe-package | [] [] [] | + gpe-sketchbook | [] [] [] [] | + gpe-su | [] [] [] [] [] [] | + gpe-taskmanager | [] [] [] [] [] | + gpe-timesheet | [] [] [] [] [] | + gpe-today | [] [] [] [] [] [] [] | + gpe-todo | [] [] [] | + gphoto2 | [] [] [] [] [] [] | + gprof | [] [] [] [] | + gpsdrive | [] [] [] | + gramadoir | [] [] [] | + grep | [] [] | + grub | [] [] [] [] | + gsasl | [] [] [] [] [] | + gss | [] [] [] [] [] | + gst-plugins-bad | [] [] [] [] [] [] | + gst-plugins-base | [] [] [] [] [] [] | + gst-plugins-good | [] [] [] [] [] [] | + gst-plugins-ugly | [] [] [] [] [] [] | + gstreamer | [] [] [] [] [] | + gtick | [] [] [] [] [] | + gtkam | [] [] [] [] [] | + gtkorphan | [] [] [] | + gtkspell | [] [] [] [] [] [] [] [] [] | + gutenprint | [] [] [] [] | + hello | [] [] [] | + help2man | [] [] | + hylafax | [] | + idutils | [] [] [] [] [] [] | + indent | [] [] [] [] [] [] [] [] | + iso_15924 | [] () [] [] | + iso_3166 | [] () [] [] [] [] [] [] [] [] [] [] | + iso_3166_2 | () [] [] [] | + iso_4217 | [] () [] [] [] [] | + iso_639 | [] () [] [] [] [] [] [] [] | + iso_639_3 | () [] [] | + jwhois | [] [] [] [] [] | + kbd | [] [] | + keytouch | [] [] [] [] [] [] | + keytouch-editor | [] [] [] [] [] | + keytouch-keyboa... | [] [] [] [] [] | + klavaro | [] [] | + latrine | [] [] [] | + ld | [] [] [] [] | + leafpad | [] [] [] [] [] [] [] () | + libc | [] [] [] [] [] | + libexif | [] | + libextractor | | + libgnutls | [] [] | + libgpewidget | [] [] [] [] | + libgpg-error | [] [] | + libgphoto2 | [] [] [] | + libgphoto2_port | [] [] [] | + libgsasl | [] [] [] [] [] | + libiconv | [] [] [] [] [] [] | + libidn | [] [] [] [] | + lifelines | () | + liferea | [] [] [] [] | + lilypond | [] [] | + linkdr | [] [] [] [] [] | + lordsawar | | + lprng | [] | + lynx | [] [] [] [] [] | + m4 | [] [] [] [] [] [] | + mailfromd | | + mailutils | [] [] | + make | [] [] [] [] [] [] [] [] [] | + man-db | [] [] | + man-db-manpages | [] | + minicom | [] [] [] [] [] | + mkisofs | [] [] [] [] | + myserver | | + nano | [] [] [] [] [] [] | + opcodes | [] [] [] [] | + parted | [] [] [] [] | + pies | | + popt | [] [] [] [] [] [] [] [] [] | + psmisc | [] [] [] | + pspp | | + pwdutils | [] [] | + radius | [] [] | + recode | [] [] [] [] [] [] [] [] | + rosegarden | () () () () () | + rpm | [] [] | + rush | | + sarg | [] | + screem | [] [] | + scrollkeeper | [] [] [] [] | + sed | [] [] [] [] [] [] [] [] | + sharutils | [] [] [] [] [] [] [] | + shishi | [] | + skencil | [] | + solfege | [] [] [] [] | + solfege-manual | [] [] | + soundtracker | [] [] | + sp | [] () | + sysstat | [] [] [] [] [] | + tar | [] [] [] [] [] [] [] | + texinfo | [] [] [] [] | + tin | [] | + unicode-han-tra... | | + unicode-transla... | [] [] | + util-linux-ng | [] [] [] [] [] [] | + vice | () () () | + vmm | [] | + vorbis-tools | [] | + wastesedge | () () | + wdiff | [] | + wget | [] [] [] [] [] [] [] [] | + wyslij-po | [] [] [] | + xchat | [] [] [] [] [] [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] [] [] | + +----------------------------------------------------+ + fi fr ga gl gu he hi hr hu hy id is it ja ka kn + 105 121 53 20 4 8 3 5 53 2 120 5 84 67 0 4 + + ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne + +-----------------------------------------------+ + a2ps | [] | + aegis | | + ant-phone | | + anubis | [] [] | + aspell | [] | + bash | | + bfd | | + bibshelf | [] [] | + binutils | | + bison | [] | + bison-runtime | [] [] [] [] [] | + bluez-pin | [] [] [] [] [] | + bombono-dvd | | + buzztard | | + cflow | | + clisp | | + coreutils | [] | + cpio | | + cppi | | + cpplib | | + cryptsetup | | + dfarc | [] | + dialog | [] [] [] [] [] | + dico | | + diffutils | [] [] | + dink | | + doodle | | + e2fsprogs | | + enscript | | + exif | [] | + fetchmail | | + findutils | | + flex | | + freedink | [] | + gas | | + gawk | | + gcal | | + gcc | | + gettext-examples | [] [] [] [] | + gettext-runtime | [] | + gettext-tools | [] | + gip | [] [] | + gjay | | + gliv | | + glunarclock | [] | + gnubiff | | + gnucash | () () () () | + gnuedu | | + gnulib | | + gnunet | | + gnunet-gtk | | + gnutls | [] | + gold | | + gpe-aerial | [] | + gpe-beam | [] | + gpe-bluetooth | [] [] | + gpe-calendar | [] | + gpe-clock | [] [] [] [] [] | + gpe-conf | [] [] | + gpe-contacts | [] [] | + gpe-edit | [] | + gpe-filemanager | [] [] | + gpe-go | [] [] [] | + gpe-login | [] | + gpe-ownerinfo | [] [] | + gpe-package | [] [] | + gpe-sketchbook | [] [] | + gpe-su | [] [] [] [] [] [] | + gpe-taskmanager | [] [] [] [] [] [] | + gpe-timesheet | [] [] | + gpe-today | [] [] [] [] | + gpe-todo | [] [] | + gphoto2 | | + gprof | [] | + gpsdrive | | + gramadoir | | + grep | | + grub | | + gsasl | | + gss | | + gst-plugins-bad | [] [] [] [] | + gst-plugins-base | [] [] | + gst-plugins-good | [] [] | + gst-plugins-ugly | [] [] [] [] [] | + gstreamer | | + gtick | | + gtkam | [] | + gtkorphan | [] [] | + gtkspell | [] [] [] [] [] [] [] | + gutenprint | | + hello | [] [] [] | + help2man | | + hylafax | | + idutils | | + indent | | + iso_15924 | [] [] | + iso_3166 | [] [] () [] [] [] [] [] | + iso_3166_2 | | + iso_4217 | [] [] | + iso_639 | [] [] | + iso_639_3 | [] | + jwhois | [] | + kbd | | + keytouch | [] | + keytouch-editor | [] | + keytouch-keyboa... | [] | + klavaro | [] | + latrine | [] | + ld | | + leafpad | [] [] [] | + libc | [] | + libexif | | + libextractor | | + libgnutls | [] | + libgpewidget | [] [] | + libgpg-error | | + libgphoto2 | | + libgphoto2_port | | + libgsasl | | + libiconv | | + libidn | | + lifelines | | + liferea | | + lilypond | | + linkdr | | + lordsawar | | + lprng | | + lynx | | + m4 | | + mailfromd | | + mailutils | | + make | [] | + man-db | | + man-db-manpages | | + minicom | [] | + mkisofs | | + myserver | | + nano | [] [] | + opcodes | | + parted | | + pies | | + popt | [] [] [] | + psmisc | | + pspp | | + pwdutils | | + radius | | + recode | | + rosegarden | | + rpm | | + rush | | + sarg | | + screem | | + scrollkeeper | [] [] | + sed | | + sharutils | | + shishi | | + skencil | | + solfege | [] | + solfege-manual | | + soundtracker | | + sp | | + sysstat | [] | + tar | [] | + texinfo | [] | + tin | | + unicode-han-tra... | | + unicode-transla... | | + util-linux-ng | | + vice | | + vmm | | + vorbis-tools | | + wastesedge | | + wdiff | | + wget | [] | + wyslij-po | | + xchat | [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] | + +-----------------------------------------------+ + ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne + 20 5 10 1 13 48 4 2 2 4 24 10 20 3 1 + + nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr +---------------------------------------------------+ - a2ps | [] [] [] [] [] | - aegis | [] | - anubis | [] [] [] [] | - aspell | [] [] [] [] | - bash | [] [] [] [] [] | - bfd | [] [] | - binutils | [] [] [] | - bison | [] [] [] [] | - bison-runtime | [] [] [] [] [] [] | - buzztrax | [] [] [] | - ccd2cue | [] [] | - ccide | [] [] [] | - cflow | [] [] [] [] | - clisp | | - coreutils | [] [] [] [] | - cpio | [] [] [] [] [] | - cppi | [] [] [] | - cpplib | [] [] [] [] [] | - cryptsetup | [] [] [] | - datamash | [] [] [] | - denemo | | - dfarc | [] | - dialog | [] [] [] [] [] [] | - dico | [] | - diffutils | [] [] [] [] [] | - dink | | - direvent | [] [] | - doodle | [] [] | - dos2unix | [] [] [] | - dos2unix-man | [] [] | - e2fsprogs | [] [] [] [] | - enscript | [] [] [] [] | - exif | [] [] [] [] [] | - fetchmail | [] [] [] [] | - findutils | [] [] [] [] [] | - flex | [] [] [] | - freedink | [] [] | - fusionforge | | - gas | [] | - gawk | [] [] | - gcal | [] [] | - gcc | [] [] | - gdbm | [] [] | - gettext-examples | [] [] [] [] [] [] | - gettext-runtime | [] [] [] [] [] [] | - gettext-tools | [] [] [] [] [] | - gip | [] [] [] [] | - gjay | [] [] | - glunarclock | [] [] [] [] | - gnubiff | [] [] | - gnubik | [] [] [] | - gnucash | () () () () [] | - gnuchess | [] [] | - gnulib | [] [] [] [] | + a2ps | [] [] [] [] [] [] [] [] | + aegis | [] [] [] | + ant-phone | [] [] | + anubis | [] [] [] | + aspell | [] [] [] [] [] | + bash | [] [] | + bfd | [] | + bibshelf | [] [] | + binutils | [] [] | + bison | [] [] [] | + bison-runtime | [] [] [] [] [] [] [] | + bluez-pin | [] [] [] [] [] [] [] [] | + bombono-dvd | [] () | + buzztard | [] [] | + cflow | [] | + clisp | [] [] | + coreutils | [] [] [] [] [] [] | + cpio | [] [] [] | + cppi | [] | + cpplib | [] | + cryptsetup | [] | + dfarc | [] | + dialog | [] [] [] [] | + dico | [] | + diffutils | [] [] [] [] [] [] | + dink | () | + doodle | [] [] | + e2fsprogs | [] [] | + enscript | [] [] [] [] [] | + exif | [] [] [] () [] | + fetchmail | [] [] [] [] | + findutils | [] [] [] [] [] | + flex | [] [] [] [] [] | + freedink | [] [] | + gas | | + gawk | [] [] [] [] | + gcal | | + gcc | [] | + gettext-examples | [] [] [] [] [] [] [] [] | + gettext-runtime | [] [] [] [] [] [] [] [] [] | + gettext-tools | [] [] [] [] [] [] | + gip | [] [] [] [] [] | + gjay | | + gliv | [] [] [] [] [] [] | + glunarclock | [] [] [] [] [] | + gnubiff | [] () | + gnucash | [] () () () | + gnuedu | [] | + gnulib | [] [] [] [] | gnunet | | gnunet-gtk | | - gold | [] [] | - gphoto2 | [] [] [] [] | - gprof | [] [] [] [] | - gpsdrive | [] [] [] | - gramadoir | [] [] [] | - grep | [] [] [] [] [] | - grub | [] [] [] [] | - gsasl | [] [] [] [] | - gss | [] [] [] | - gst-plugins-bad | [] [] [] [] | - gst-plugins-base | [] [] [] [] [] | - gst-plugins-good | [] [] [] [] [] | - gst-plugins-ugly | [] [] [] [] [] | - gstreamer | [] [] [] [] [] | - gtick | [] [] [] | - gtkam | [] [] [] [] | - gtkorphan | [] [] [] | - gtkspell | [] [] [] [] [] [] [] [] | - guix | [] | - guix-packages | | - gutenprint | [] [] [] | - hello | [] [] [] [] [] | - help2man | [] [] [] | - help2man-texi | [] | - hylafax | [] | - idutils | [] [] [] | - iso_15924 | [] () [] [] () [] | - iso_3166 | [] [] () [] [] () [] [] [] | - iso_3166_2 | () [] [] () [] | - iso_4217 | [] () [] [] () [] [] | - iso_639 | [] [] [] () [] [] () [] [] [] | - iso_639_3 | [] () [] [] () | - iso_639_5 | () [] () | - jwhois | [] [] [] [] | - kbd | [] [] [] | - klavaro | [] [] [] [] [] [] | - latrine | [] [] | - ld | [] [] [] [] [] | - leafpad | [] [] [] [] [] [] | - libc | [] [] [] [] [] | - libexif | [] () | - libextractor | [] [] | - libgnutls | [] [] [] [] | - libgpg-error | [] [] [] [] | - libgphoto2 | [] [] | - libgphoto2_port | [] [] [] [] | - libgsasl | [] [] [] [] | - libiconv | [] [] [] [] [] | - libidn | () [] [] [] | - liferea | [] [] [] [] [] | - lilypond | [] | + gnutls | [] [] | + gold | | + gpe-aerial | [] [] [] [] [] [] [] | + gpe-beam | [] [] [] [] [] [] [] | + gpe-bluetooth | [] [] | + gpe-calendar | [] [] [] [] | + gpe-clock | [] [] [] [] [] [] [] [] | + gpe-conf | [] [] [] [] [] [] [] | + gpe-contacts | [] [] [] [] [] | + gpe-edit | [] [] [] | + gpe-filemanager | [] [] [] | + gpe-go | [] [] [] [] [] [] [] [] | + gpe-login | [] [] | + gpe-ownerinfo | [] [] [] [] [] [] [] [] | + gpe-package | [] [] | + gpe-sketchbook | [] [] [] [] [] [] [] | + gpe-su | [] [] [] [] [] [] [] [] | + gpe-taskmanager | [] [] [] [] [] [] [] [] | + gpe-timesheet | [] [] [] [] [] [] [] [] | + gpe-today | [] [] [] [] [] [] [] [] | + gpe-todo | [] [] [] [] [] | + gphoto2 | [] [] [] [] [] [] [] [] | + gprof | [] [] [] | + gpsdrive | [] [] | + gramadoir | [] [] | + grep | [] [] [] [] | + grub | [] [] [] | + gsasl | [] [] [] [] | + gss | [] [] [] | + gst-plugins-bad | [] [] [] [] [] [] | + gst-plugins-base | [] [] [] [] [] | + gst-plugins-good | [] [] [] [] [] | + gst-plugins-ugly | [] [] [] [] [] [] | + gstreamer | [] [] [] [] [] | + gtick | [] [] [] | + gtkam | [] [] [] [] [] [] | + gtkorphan | [] | + gtkspell | [] [] [] [] [] [] [] [] [] [] | + gutenprint | [] [] | + hello | [] [] [] [] | + help2man | [] [] | + hylafax | [] | + idutils | [] [] [] [] [] | + indent | [] [] [] [] [] [] [] | + iso_15924 | [] [] [] [] | + iso_3166 | [] [] [] [] [] () [] [] [] [] [] [] [] [] | + iso_3166_2 | [] [] [] | + iso_4217 | [] [] [] [] [] [] [] [] | + iso_639 | [] [] [] [] [] [] [] [] [] | + iso_639_3 | [] [] | + jwhois | [] [] [] [] | + kbd | [] [] [] | + keytouch | [] [] [] | + keytouch-editor | [] [] [] | + keytouch-keyboa... | [] [] [] | + klavaro | [] [] | + latrine | [] [] | + ld | | + leafpad | [] [] [] [] [] [] [] [] [] | + libc | [] [] [] [] | + libexif | [] [] () [] | + libextractor | | + libgnutls | [] [] | + libgpewidget | [] [] [] | + libgpg-error | [] [] | + libgphoto2 | [] [] | + libgphoto2_port | [] [] [] [] [] | + libgsasl | [] [] [] [] [] | + libiconv | [] [] [] [] [] | + libidn | [] [] | + lifelines | [] [] | + liferea | [] [] [] [] [] () () [] | + lilypond | [] | + linkdr | [] [] [] | lordsawar | | - lprng | [] | - lynx | [] [] [] [] | - m4 | [] [] [] | - mailfromd | [] [] | - mailutils | [] | - make | [] [] [] | - man-db | [] [] | - man-db-manpages | [] | - midi-instruments | [] [] [] [] [] [] | - minicom | [] [] | - mkisofs | [] [] [] | - myserver | [] | - nano | [] [] [] [] | - opcodes | [] [] | - parted | [] [] [] [] [] | - pies | [] [] | - popt | [] [] [] [] [] [] [] | - procps-ng | [] [] | - procps-ng-man | [] | - psmisc | [] [] [] | - pspp | [] [] [] | - pushover | [] | - pwdutils | [] [] | - pyspread | [] | - radius | [] [] | - recode | [] [] [] [] | - recutils | [] [] [] | - rpm | [] [] [] [] | - rush | [] [] | + lprng | [] | + lynx | [] [] [] | + m4 | [] [] [] [] [] | + mailfromd | [] | + mailutils | [] | + make | [] [] [] [] | + man-db | [] [] [] | + man-db-manpages | [] [] [] | + minicom | [] [] [] [] | + mkisofs | [] [] [] | + myserver | | + nano | [] [] [] [] | + opcodes | [] [] | + parted | [] [] [] [] | + pies | [] | + popt | [] [] [] [] | + psmisc | [] [] [] | + pspp | [] [] | + pwdutils | [] | + radius | [] [] [] | + recode | [] [] [] [] [] [] [] [] | + rosegarden | () () | + rpm | [] [] [] | + rush | [] [] | sarg | | - sed | [] [] [] [] [] | - sharutils | [] [] [] | - shishi | [] | - skribilo | | - solfege | [] [] [] | - solfege-manual | [] | - spotmachine | [] [] | - sudo | [] [] [] [] | - sudoers | [] [] [] | - sysstat | [] [] [] [] | - tar | [] [] [] [] [] | - texinfo | [] [] [] | - texinfo_document | [] | - tigervnc | [] [] | - tin | [] | - tin-man | | - tracgoogleappsa... | [] [] [] [] [] | - trader | [] | - util-linux | [] [] [] | - ve | [] [] [] [] | - vice | () () | - vmm | | - vorbis-tools | [] [] | - wastesedge | | - wcd | [] [] | - wcd-man | [] | - wdiff | [] [] [] | - wget | [] [] [] | - wyslij-po | [] [] | - xboard | [] | - xdg-user-dirs | [] [] [] [] [] [] [] [] [] | - xkeyboard-config | [] [] [] [] | + screem | | + scrollkeeper | [] [] [] [] [] [] [] [] | + sed | [] [] [] [] [] [] [] [] [] | + sharutils | [] [] [] [] | + shishi | [] | + skencil | [] [] | + solfege | [] [] [] [] | + solfege-manual | [] [] [] | + soundtracker | [] | + sp | | + sysstat | [] [] [] [] | + tar | [] [] [] [] | + texinfo | [] [] [] [] | + tin | [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux-ng | [] [] [] [] [] | + vice | [] | + vmm | [] | + vorbis-tools | [] [] | + wastesedge | [] | + wdiff | [] [] | + wget | [] [] [] [] [] [] [] | + wyslij-po | [] [] [] | + xchat | [] [] [] [] [] [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] | +---------------------------------------------------+ - sv sw ta te tg th tr uk ur vi wa wo zh_CN zh_HK - 87 1 4 3 0 14 52 114 1 130 7 1 88 7 + nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr + 135 10 4 7 105 1 29 62 47 91 3 54 46 9 37 - zh_TW - +-------+ - a2ps | | 30 - aegis | | 9 - anubis | | 19 - aspell | | 28 - bash | [] | 25 - bfd | | 9 - binutils | | 12 - bison | [] | 18 - bison-runtime | [] | 38 - buzztrax | | 8 - ccd2cue | | 7 - ccide | | 16 - cflow | | 15 - clisp | | 10 - coreutils | | 20 - cpio | [] | 21 - cppi | | 16 - cpplib | [] | 19 - cryptsetup | | 13 - datamash | | 11 - denemo | | 3 - dfarc | | 16 - dialog | [] | 42 - dico | | 6 - diffutils | | 21 - dink | | 9 - direvent | | 10 - doodle | | 12 - dos2unix | [] | 17 - dos2unix-man | | 8 - e2fsprogs | | 14 - enscript | | 21 - exif | | 26 - fetchmail | | 19 - findutils | | 28 - flex | [] | 18 - freedink | | 23 - fusionforge | | 3 - gas | | 5 - gawk | | 12 - gcal | | 7 - gcc | | 4 - gdbm | | 10 - gettext-examples | [] | 40 - gettext-runtime | [] | 34 - gettext-tools | [] | 24 - gip | [] | 28 - gjay | | 8 - glunarclock | [] | 27 - gnubiff | | 9 - gnubik | | 18 - gnucash | () | 6 - gnuchess | | 10 - gnulib | | 23 - gnunet | | 1 - gnunet-gtk | | 1 - gold | | 7 - gphoto2 | [] | 19 - gprof | | 21 - gpsdrive | | 13 - gramadoir | | 14 - grep | [] | 30 - grub | | 21 - gsasl | [] | 19 - gss | | 17 - gst-plugins-bad | | 13 - gst-plugins-base | | 27 - gst-plugins-good | | 32 - gst-plugins-ugly | | 34 - gstreamer | [] | 31 - gtick | | 19 - gtkam | | 24 - gtkorphan | | 20 - gtkspell | [] | 48 - guix | | 5 - guix-packages | | 0 - gutenprint | | 13 - hello | [] | 29 - help2man | | 18 - help2man-texi | | 5 - hylafax | | 5 - idutils | | 14 - iso_15924 | [] | 23 - iso_3166 | [] | 58 - iso_3166_2 | | 9 - iso_4217 | [] | 28 - iso_639 | [] | 46 - iso_639_3 | | 10 - iso_639_5 | | 2 - jwhois | [] | 20 - kbd | | 16 - klavaro | | 29 - latrine | | 7 - ld | [] | 15 - leafpad | [] | 40 - libc | [] | 24 - libexif | | 9 - libextractor | | 5 - libgnutls | | 13 - libgpg-error | | 15 - libgphoto2 | | 9 - libgphoto2_port | [] | 19 - libgsasl | | 18 - libiconv | [] | 29 - libidn | | 17 - liferea | | 29 - lilypond | | 10 - lordsawar | | 3 - lprng | | 3 - lynx | | 19 - m4 | [] | 22 - mailfromd | | 4 - mailutils | | 6 - make | | 18 - man-db | | 14 - man-db-manpages | | 9 - midi-instruments | [] | 43 - minicom | [] | 17 - mkisofs | | 13 - myserver | | 9 - nano | [] | 29 - opcodes | | 11 - parted | [] | 21 - pies | | 4 - popt | [] | 36 - procps-ng | | 5 - procps-ng-man | | 4 - psmisc | [] | 21 - pspp | | 13 - pushover | | 6 - pwdutils | | 8 - pyspread | | 5 - radius | | 9 - recode | | 31 - recutils | | 9 - rpm | [] | 13 - rush | | 10 - sarg | | 4 - sed | [] | 34 - sharutils | | 12 - shishi | | 6 - skribilo | | 3 - solfege | | 19 - solfege-manual | | 9 - spotmachine | | 9 - sudo | | 23 - sudoers | | 20 - sysstat | | 21 - tar | [] | 30 - texinfo | | 17 - texinfo_document | | 11 - tigervnc | | 10 - tin | [] | 7 - tin-man | | 1 - tracgoogleappsa... | [] | 22 - trader | | 11 - util-linux | | 12 - ve | | 14 - vice | | 1 - vmm | | 3 - vorbis-tools | | 13 - wastesedge | | 2 - wcd | | 7 - wcd-man | | 3 - wdiff | [] | 22 - wget | | 22 - wyslij-po | | 14 - xboard | | 8 - xdg-user-dirs | [] | 68 - xkeyboard-config | [] | 27 - +-------+ - 90 teams zh_TW - 170 domains 44 2805 + sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW + +---------------------------------------------------+ + a2ps | [] [] [] [] [] | 27 + aegis | [] | 9 + ant-phone | [] [] [] [] | 9 + anubis | [] [] [] [] | 15 + aspell | [] [] [] | 20 + bash | [] [] [] | 12 + bfd | [] | 6 + bibshelf | [] [] [] | 16 + binutils | [] [] | 8 + bison | [] [] | 12 + bison-runtime | [] [] [] [] [] [] | 29 + bluez-pin | [] [] [] [] [] [] [] [] | 37 + bombono-dvd | [] | 4 + buzztard | [] | 7 + cflow | [] [] [] | 9 + clisp | | 10 + coreutils | [] [] [] [] | 22 + cpio | [] [] [] [] [] [] | 13 + cppi | [] [] | 5 + cpplib | [] [] [] [] [] [] | 14 + cryptsetup | [] [] | 7 + dfarc | [] | 9 + dialog | [] [] [] [] [] [] [] | 30 + dico | [] | 2 + diffutils | [] [] [] [] [] [] | 30 + dink | | 4 + doodle | [] [] | 7 + e2fsprogs | [] [] [] | 11 + enscript | [] [] [] [] | 17 + exif | [] [] [] | 16 + fetchmail | [] [] [] | 17 + findutils | [] [] [] [] [] | 20 + flex | [] [] [] [] | 15 + freedink | [] | 10 + gas | [] | 4 + gawk | [] [] [] [] | 18 + gcal | [] [] | 5 + gcc | [] [] [] | 7 + gettext-examples | [] [] [] [] [] [] [] | 34 + gettext-runtime | [] [] [] [] [] [] [] | 29 + gettext-tools | [] [] [] [] [] [] | 22 + gip | [] [] [] [] | 22 + gjay | [] | 3 + gliv | [] [] [] | 14 + glunarclock | [] [] [] [] [] | 19 + gnubiff | [] [] | 4 + gnucash | () [] () [] () | 10 + gnuedu | [] [] | 7 + gnulib | [] [] [] [] | 16 + gnunet | [] | 1 + gnunet-gtk | [] [] [] | 5 + gnutls | [] [] [] | 10 + gold | [] | 4 + gpe-aerial | [] [] [] | 18 + gpe-beam | [] [] [] | 19 + gpe-bluetooth | [] [] [] | 13 + gpe-calendar | [] [] [] [] | 12 + gpe-clock | [] [] [] [] [] | 28 + gpe-conf | [] [] [] [] | 20 + gpe-contacts | [] [] [] | 17 + gpe-edit | [] [] [] | 12 + gpe-filemanager | [] [] [] [] | 16 + gpe-go | [] [] [] [] [] | 25 + gpe-login | [] [] [] | 11 + gpe-ownerinfo | [] [] [] [] [] | 25 + gpe-package | [] [] [] | 13 + gpe-sketchbook | [] [] [] | 20 + gpe-su | [] [] [] [] [] | 30 + gpe-taskmanager | [] [] [] [] [] | 29 + gpe-timesheet | [] [] [] [] [] | 25 + gpe-today | [] [] [] [] [] [] | 30 + gpe-todo | [] [] [] [] | 17 + gphoto2 | [] [] [] [] [] | 24 + gprof | [] [] [] | 15 + gpsdrive | [] [] [] | 11 + gramadoir | [] [] [] | 11 + grep | [] [] [] | 10 + grub | [] [] [] | 14 + gsasl | [] [] [] [] | 14 + gss | [] [] [] | 11 + gst-plugins-bad | [] [] [] [] | 26 + gst-plugins-base | [] [] [] [] [] | 24 + gst-plugins-good | [] [] [] [] | 24 + gst-plugins-ugly | [] [] [] [] [] | 29 + gstreamer | [] [] [] [] | 22 + gtick | [] [] [] | 13 + gtkam | [] [] [] | 20 + gtkorphan | [] [] [] | 14 + gtkspell | [] [] [] [] [] [] [] [] [] | 45 + gutenprint | [] | 10 + hello | [] [] [] [] [] [] | 21 + help2man | [] [] | 7 + hylafax | [] | 5 + idutils | [] [] [] [] | 17 + indent | [] [] [] [] [] [] | 30 + iso_15924 | () [] () [] [] | 16 + iso_3166 | [] [] () [] [] () [] [] [] () | 53 + iso_3166_2 | () [] () [] | 9 + iso_4217 | [] () [] [] () [] [] | 26 + iso_639 | [] [] [] () [] () [] [] [] [] | 38 + iso_639_3 | [] () | 8 + jwhois | [] [] [] [] [] | 16 + kbd | [] [] [] [] [] | 15 + keytouch | [] [] [] | 16 + keytouch-editor | [] [] [] | 14 + keytouch-keyboa... | [] [] [] | 14 + klavaro | [] | 11 + latrine | [] [] [] | 10 + ld | [] [] [] [] | 11 + leafpad | [] [] [] [] [] [] | 33 + libc | [] [] [] [] [] | 21 + libexif | [] () | 7 + libextractor | [] | 1 + libgnutls | [] [] [] | 9 + libgpewidget | [] [] [] | 14 + libgpg-error | [] [] [] | 9 + libgphoto2 | [] [] | 8 + libgphoto2_port | [] [] [] [] | 14 + libgsasl | [] [] [] | 13 + libiconv | [] [] [] [] | 21 + libidn | () [] [] | 11 + lifelines | [] | 4 + liferea | [] [] [] | 21 + lilypond | [] | 7 + linkdr | [] [] [] [] [] | 17 + lordsawar | | 1 + lprng | [] | 3 + lynx | [] [] [] [] | 17 + m4 | [] [] [] [] | 19 + mailfromd | [] [] | 3 + mailutils | [] | 5 + make | [] [] [] [] | 21 + man-db | [] [] [] | 8 + man-db-manpages | | 4 + minicom | [] [] | 16 + mkisofs | [] [] | 9 + myserver | | 0 + nano | [] [] [] [] | 21 + opcodes | [] [] [] | 11 + parted | [] [] [] [] [] | 15 + pies | [] [] | 3 + popt | [] [] [] [] [] [] | 27 + psmisc | [] [] | 11 + pspp | | 4 + pwdutils | [] [] | 6 + radius | [] [] | 9 + recode | [] [] [] [] | 28 + rosegarden | () | 0 + rpm | [] [] [] | 11 + rush | [] [] | 4 + sarg | | 1 + screem | [] | 3 + scrollkeeper | [] [] [] [] [] | 27 + sed | [] [] [] [] [] | 30 + sharutils | [] [] [] [] [] | 22 + shishi | [] | 3 + skencil | [] [] | 7 + solfege | [] [] [] [] | 16 + solfege-manual | [] | 8 + soundtracker | [] [] [] | 9 + sp | [] | 3 + sysstat | [] [] | 15 + tar | [] [] [] [] [] [] | 23 + texinfo | [] [] [] [] [] | 17 + tin | | 4 + unicode-han-tra... | | 0 + unicode-transla... | | 2 + util-linux-ng | [] [] [] [] | 20 + vice | () () | 1 + vmm | [] | 4 + vorbis-tools | [] | 6 + wastesedge | | 2 + wdiff | [] [] | 7 + wget | [] [] [] [] [] | 26 + wyslij-po | [] [] | 8 + xchat | [] [] [] [] [] [] | 36 + xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] | 63 + xkeyboard-config | [] [] [] | 22 + +---------------------------------------------------+ + 85 teams sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW + 178 domains 119 1 3 3 0 10 65 51 155 17 98 7 41 2618 Some counters in the preceding matrix are higher than the number of visible blocks let us expect. This is because a few extra PO files are diff -Nru dpkg-1.18.4ubuntu1/aclocal.m4 dpkg-1.17.5ubuntu5/aclocal.m4 --- dpkg-1.18.4ubuntu1/aclocal.m4 2015-12-25 12:48:03.000000000 +0000 +++ dpkg-1.17.5ubuntu5/aclocal.m4 2013-12-12 07:46:27.000000000 +0000 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.15 -*- Autoconf -*- +# generated automatically by aclocal 1.14 -*- Autoconf -*- -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2013 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -20,63 +20,32 @@ If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) -dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- -dnl serial 11 (pkg-config-0.29) -dnl -dnl Copyright © 2004 Scott James Remnant . -dnl Copyright © 2012-2015 Dan Nicholson -dnl -dnl This program is free software; you can redistribute it and/or modify -dnl it under the terms of the GNU General Public License as published by -dnl the Free Software Foundation; either version 2 of the License, or -dnl (at your option) any later version. -dnl -dnl This program is distributed in the hope that it will be useful, but -dnl WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -dnl General Public License for more details. -dnl -dnl You should have received a copy of the GNU General Public License -dnl along with this program; if not, write to the Free Software -dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -dnl 02111-1307, USA. -dnl -dnl As a special exception to the GNU General Public License, if you -dnl distribute this file as part of a program that contains a -dnl configuration script generated by Autoconf, you may include it under -dnl the same distribution terms that you use for the rest of that -dnl program. - -dnl PKG_PREREQ(MIN-VERSION) -dnl ----------------------- -dnl Since: 0.29 -dnl -dnl Verify that the version of the pkg-config macros are at least -dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's -dnl installed version of pkg-config, this checks the developer's version -dnl of pkg.m4 when generating configure. -dnl -dnl To ensure that this macro is defined, also add: -dnl m4_ifndef([PKG_PREREQ], -dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) -dnl -dnl See the "Since" comment for each macro you use to see what version -dnl of the macros you require. -m4_defun([PKG_PREREQ], -[m4_define([PKG_MACROS_VERSION], [0.29]) -m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, - [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) -])dnl PKG_PREREQ - -dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) -dnl ---------------------------------- -dnl Since: 0.16 -dnl -dnl Search for the pkg-config tool and set the PKG_CONFIG variable to -dnl first found in the path. Checks that the version of pkg-config found -dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is -dnl used since that's the first version where most current features of -dnl pkg-config existed. +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- +# serial 1 (pkg-config-0.24) +# +# Copyright © 2004 Scott James Remnant . +# +# 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. + +# PKG_PROG_PKG_CONFIG([MIN-VERSION]) +# ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) @@ -98,19 +67,18 @@ PKG_CONFIG="" fi fi[]dnl -])dnl PKG_PROG_PKG_CONFIG +])# PKG_PROG_PKG_CONFIG -dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -dnl ------------------------------------------------------------------- -dnl Since: 0.18 -dnl -dnl Check to see whether a particular set of modules exists. Similar to -dnl PKG_CHECK_MODULES(), but does not set variables or print errors. -dnl -dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -dnl only at the first occurence in configure.ac, so if the first place -dnl it's called might be skipped (such as if it is within an "if", you -dnl have to call PKG_CHECK_EXISTS manually +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# +# Check to see whether a particular set of modules exists. Similar +# to PKG_CHECK_MODULES(), but does not set variables or print errors. +# +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +# only at the first occurence in configure.ac, so if the first place +# it's called might be skipped (such as if it is within an "if", you +# have to call PKG_CHECK_EXISTS manually +# -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ @@ -120,10 +88,8 @@ $3])dnl fi]) -dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) -dnl --------------------------------------------- -dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting -dnl pkg_failed based on the result. +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) +# --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$$1"; then pkg_cv_[]$1="$$1" @@ -135,11 +101,10 @@ else pkg_failed=untried fi[]dnl -])dnl _PKG_CONFIG +])# _PKG_CONFIG -dnl _PKG_SHORT_ERRORS_SUPPORTED -dnl --------------------------- -dnl Internal check to see if pkg-config supports short errors. +# _PKG_SHORT_ERRORS_SUPPORTED +# ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then @@ -147,17 +112,19 @@ else _pkg_short_errors_supported=no fi[]dnl -])dnl _PKG_SHORT_ERRORS_SUPPORTED +])# _PKG_SHORT_ERRORS_SUPPORTED -dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], -dnl [ACTION-IF-NOT-FOUND]) -dnl -------------------------------------------------------------- -dnl Since: 0.4.0 -dnl -dnl Note that if there is a possibility the first call to -dnl PKG_CHECK_MODULES might not happen, you should be sure to include an -dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], +# [ACTION-IF-NOT-FOUND]) +# +# +# Note that if there is a possibility the first call to +# PKG_CHECK_MODULES might not happen, you should be sure to include an +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac +# +# +# -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl @@ -211,92 +178,9 @@ AC_MSG_RESULT([yes]) $3 fi[]dnl -])dnl PKG_CHECK_MODULES - - -dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], -dnl [ACTION-IF-NOT-FOUND]) -dnl --------------------------------------------------------------------- -dnl Since: 0.29 -dnl -dnl Checks for existence of MODULES and gathers its build flags with -dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags -dnl and VARIABLE-PREFIX_LIBS from --libs. -dnl -dnl Note that if there is a possibility the first call to -dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to -dnl include an explicit call to PKG_PROG_PKG_CONFIG in your -dnl configure.ac. -AC_DEFUN([PKG_CHECK_MODULES_STATIC], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -_save_PKG_CONFIG=$PKG_CONFIG -PKG_CONFIG="$PKG_CONFIG --static" -PKG_CHECK_MODULES($@) -PKG_CONFIG=$_save_PKG_CONFIG[]dnl -])dnl PKG_CHECK_MODULES_STATIC - +])# PKG_CHECK_MODULES -dnl PKG_INSTALLDIR([DIRECTORY]) -dnl ------------------------- -dnl Since: 0.27 -dnl -dnl Substitutes the variable pkgconfigdir as the location where a module -dnl should install pkg-config .pc files. By default the directory is -dnl $libdir/pkgconfig, but the default can be changed by passing -dnl DIRECTORY. The user can override through the --with-pkgconfigdir -dnl parameter. -AC_DEFUN([PKG_INSTALLDIR], -[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) -m4_pushdef([pkg_description], - [pkg-config installation directory @<:@]pkg_default[@:>@]) -AC_ARG_WITH([pkgconfigdir], - [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, - [with_pkgconfigdir=]pkg_default) -AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) -m4_popdef([pkg_default]) -m4_popdef([pkg_description]) -])dnl PKG_INSTALLDIR - - -dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) -dnl -------------------------------- -dnl Since: 0.27 -dnl -dnl Substitutes the variable noarch_pkgconfigdir as the location where a -dnl module should install arch-independent pkg-config .pc files. By -dnl default the directory is $datadir/pkgconfig, but the default can be -dnl changed by passing DIRECTORY. The user can override through the -dnl --with-noarch-pkgconfigdir parameter. -AC_DEFUN([PKG_NOARCH_INSTALLDIR], -[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) -m4_pushdef([pkg_description], - [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) -AC_ARG_WITH([noarch-pkgconfigdir], - [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, - [with_noarch_pkgconfigdir=]pkg_default) -AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) -m4_popdef([pkg_default]) -m4_popdef([pkg_description]) -])dnl PKG_NOARCH_INSTALLDIR - - -dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, -dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -dnl ------------------------------------------- -dnl Since: 0.28 -dnl -dnl Retrieves the value of the pkg-config variable for the given module. -AC_DEFUN([PKG_CHECK_VAR], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl - -_PKG_CONFIG([$1], [variable="][$3]["], [$2]) -AS_VAR_COPY([$1], [pkg_cv_][$1]) - -AS_VAR_IF([$1], [""], [$5], [$4])dnl -])dnl PKG_CHECK_VAR - -# Copyright (C) 2002-2014 Free Software Foundation, Inc. +# Copyright (C) 2002-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -308,10 +192,10 @@ # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], -[am__api_version='1.15' +[am__api_version='1.14' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.15], [], +m4_if([$1], [1.14], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -327,74 +211,14 @@ # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.15])dnl +[AM_AUTOMAKE_VERSION([1.14])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) -# Copyright (C) 2011-2014 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_AR([ACT-IF-FAIL]) -# ------------------------- -# Try to determine the archiver interface, and trigger the ar-lib wrapper -# if it is needed. If the detection of archiver interface fails, run -# ACT-IF-FAIL (default is to abort configure with a proper error message). -AC_DEFUN([AM_PROG_AR], -[AC_BEFORE([$0], [LT_INIT])dnl -AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl -AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -AC_REQUIRE_AUX_FILE([ar-lib])dnl -AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false]) -: ${AR=ar} - -AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface], - [AC_LANG_PUSH([C]) - am_cv_ar_interface=ar - AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])], - [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD' - AC_TRY_EVAL([am_ar_try]) - if test "$ac_status" -eq 0; then - am_cv_ar_interface=ar - else - am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD' - AC_TRY_EVAL([am_ar_try]) - if test "$ac_status" -eq 0; then - am_cv_ar_interface=lib - else - am_cv_ar_interface=unknown - fi - fi - rm -f conftest.lib libconftest.a - ]) - AC_LANG_POP([C])]) - -case $am_cv_ar_interface in -ar) - ;; -lib) - # Microsoft lib, so override with the ar-lib wrapper script. - # FIXME: It is wrong to rewrite AR. - # But if we don't then we get into trouble of one sort or another. - # A longer-term fix would be to have automake use am__AR in this case, - # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something - # similar. - AR="$am_aux_dir/ar-lib $AR" - ;; -unknown) - m4_default([$1], - [AC_MSG_ERROR([could not determine $AR interface])]) - ;; -esac -AC_SUBST([AR])dnl -]) - # AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -439,14 +263,15 @@ # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], -[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl -# Expand $ac_aux_dir to an absolute path. -am_aux_dir=`cd "$ac_aux_dir" && pwd` +[dnl Rely on autoconf to set up CDPATH properly. +AC_PREREQ([2.50])dnl +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997-2014 Free Software Foundation, Inc. +# Copyright (C) 1997-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -477,7 +302,7 @@ Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -668,7 +493,7 @@ # Generate code to set up dependency tracking. -*- Autoconf -*- -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -744,7 +569,7 @@ # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -834,8 +659,8 @@ # # AC_SUBST([mkdir_p], ['$(MKDIR_P)']) -# We need awk for the "check" target (and possibly the TAP driver). The -# system "awk" is bad on some platforms. +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl @@ -908,11 +733,7 @@ END AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) fi -fi -dnl The trailing newline in this macro's definition is deliberate, for -dnl backward compatibility and to allow trailing 'dnl'-style comments -dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. -]) +fi]) dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further @@ -941,7 +762,7 @@ done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -952,7 +773,7 @@ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -if test x"${install_sh+set}" != xset; then +if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; @@ -962,7 +783,7 @@ fi AC_SUBST([install_sh])]) -# Copyright (C) 2003-2014 Free Software Foundation, Inc. +# Copyright (C) 2003-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -983,7 +804,7 @@ # Check to see how 'make' treats includes. -*- Autoconf -*- -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1033,7 +854,7 @@ # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997-2014 Free Software Foundation, Inc. +# Copyright (C) 1997-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1072,7 +893,7 @@ # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1101,7 +922,7 @@ AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1148,7 +969,7 @@ # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1167,7 +988,7 @@ # Check to make sure that the build environment is sane. -*- Autoconf -*- -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1248,7 +1069,7 @@ rm -f conftest.file ]) -# Copyright (C) 2009-2014 Free Software Foundation, Inc. +# Copyright (C) 2009-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1308,7 +1129,7 @@ _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1336,7 +1157,7 @@ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006-2014 Free Software Foundation, Inc. +# Copyright (C) 2006-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1355,7 +1176,7 @@ # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004-2014 Free Software Foundation, Inc. +# Copyright (C) 2004-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1502,11 +1323,6 @@ m4_include([m4/lib-ld.m4]) m4_include([m4/lib-link.m4]) m4_include([m4/lib-prefix.m4]) -m4_include([m4/libtool.m4]) -m4_include([m4/ltoptions.m4]) -m4_include([m4/ltsugar.m4]) -m4_include([m4/ltversion.m4]) -m4_include([m4/lt~obsolete.m4]) m4_include([m4/nls.m4]) m4_include([m4/po.m4]) m4_include([m4/progtest.m4]) diff -Nru dpkg-1.18.4ubuntu1/AUTHORS dpkg-1.17.5ubuntu5/AUTHORS --- dpkg-1.18.4ubuntu1/AUTHORS 2015-12-25 03:53:50.000000000 +0000 +++ dpkg-1.17.5ubuntu5/AUTHORS 2013-06-13 02:58:17.000000000 +0000 @@ -1,6 +1,6 @@ The C implementation of dpkg was originally written by: - Ian Jackson + Ian Jackson based on the Perl implementation by: @@ -12,11 +12,11 @@ It is currently maintained by: Guillem Jover + Raphaël Hertzog + Christian Perrier (translation coordinator) and has previously been maintained by: - Raphaël Hertzog (2008-2015) - Christian Perrier (2006-2008) Frank Lichtenheld (2006-2009) Brendan O'Dea (2006-2007) Scott James Remnant (2004-2005) @@ -29,7 +29,7 @@ Nils Rennebarth (1998) Klee Dienes (1997) Guy Maor (1997) - Heiko Schlittermann (1996) + Heiko Schlittermann (1996) Countless other people have contributed to dpkg (see THANKS) and provided diff -Nru dpkg-1.18.4ubuntu1/build-aux/ar-lib dpkg-1.17.5ubuntu5/build-aux/ar-lib --- dpkg-1.18.4ubuntu1/build-aux/ar-lib 2015-12-25 12:48:06.000000000 +0000 +++ dpkg-1.17.5ubuntu5/build-aux/ar-lib 1970-01-01 00:00:00.000000000 +0000 @@ -1,270 +0,0 @@ -#! /bin/sh -# Wrapper for Microsoft lib.exe - -me=ar-lib -scriptversion=2012-03-01.08; # UTC - -# Copyright (C) 2010-2014 Free Software Foundation, Inc. -# Written by Peter Rosin . -# -# 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, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# 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. - -# This file is maintained in Automake, please report -# bugs to or send patches to -# . - - -# func_error message -func_error () -{ - echo "$me: $1" 1>&2 - exit 1 -} - -file_conv= - -# func_file_conv build_file -# Convert a $build file to $host form and store it in $file -# Currently only supports Windows hosts. -func_file_conv () -{ - file=$1 - case $file in - / | /[!/]*) # absolute file, and not a UNC file - if test -z "$file_conv"; then - # lazily determine how to convert abs files - case `uname -s` in - MINGW*) - file_conv=mingw - ;; - CYGWIN*) - file_conv=cygwin - ;; - *) - file_conv=wine - ;; - esac - fi - case $file_conv in - mingw) - file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` - ;; - cygwin) - file=`cygpath -m "$file" || echo "$file"` - ;; - wine) - file=`winepath -w "$file" || echo "$file"` - ;; - esac - ;; - esac -} - -# func_at_file at_file operation archive -# Iterate over all members in AT_FILE performing OPERATION on ARCHIVE -# for each of them. -# When interpreting the content of the @FILE, do NOT use func_file_conv, -# since the user would need to supply preconverted file names to -# binutils ar, at least for MinGW. -func_at_file () -{ - operation=$2 - archive=$3 - at_file_contents=`cat "$1"` - eval set x "$at_file_contents" - shift - - for member - do - $AR -NOLOGO $operation:"$member" "$archive" || exit $? - done -} - -case $1 in - '') - func_error "no command. Try '$0 --help' for more information." - ;; - -h | --h*) - cat <. # # This program is free software; you can redistribute it and/or modify diff -Nru dpkg-1.18.4ubuntu1/build-aux/config.guess dpkg-1.17.5ubuntu5/build-aux/config.guess --- dpkg-1.18.4ubuntu1/build-aux/config.guess 2015-12-25 12:48:06.000000000 +0000 +++ dpkg-1.17.5ubuntu5/build-aux/config.guess 2013-12-12 07:46:30.000000000 +0000 @@ -1,8 +1,8 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright 1992-2015 Free Software Foundation, Inc. +# Copyright 1992-2013 Free Software Foundation, Inc. -timestamp='2015-08-20' +timestamp='2013-06-10' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -24,12 +24,12 @@ # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # -# Originally written by Per Bothner; maintained since 2000 by Ben Elliston. +# Originally written by Per Bothner. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD # -# Please send patches to . +# Please send patches with a ChangeLog entry to config-patches@gnu.org. me=`echo "$0" | sed -e 's,.*/,,'` @@ -50,7 +50,7 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright 1992-2015 Free Software Foundation, Inc. +Copyright 1992-2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -149,7 +149,7 @@ LIBC=gnu #endif EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` ;; esac @@ -168,27 +168,20 @@ # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" - UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ - /sbin/$sysctl 2>/dev/null || \ - /usr/sbin/$sysctl 2>/dev/null || \ - echo unknown)` + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; - earmv*) - arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'` - endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'` - machine=${arch}${endian}-unknown - ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in - arm*|earm*|i386|m68k|ns32k|sh3*|sparc|vax) + arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ @@ -204,13 +197,6 @@ os=netbsd ;; esac - # Determine ABI tags. - case "${UNAME_MACHINE_ARCH}" in - earm*) - expr='s/^earmv[0-9]/-eabi/;s/eb$//' - abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"` - ;; - esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need @@ -221,13 +207,13 @@ release='-gnu' ;; *) - release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2` + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. - echo "${machine}-${os}${release}${abi}" + echo "${machine}-${os}${release}" exit ;; *:Bitrig:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` @@ -249,9 +235,6 @@ *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; - *:Sortix:*:*) - echo ${UNAME_MACHINE}-unknown-sortix - exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) @@ -596,9 +579,8 @@ else IBM_ARCH=powerpc fi - if [ -x /usr/bin/lslpp ] ; then - IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | - awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi @@ -844,7 +826,7 @@ *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; - *:MSYS*:*) + i*:MSYS*:*) echo ${UNAME_MACHINE}-pc-msys exit ;; i*:windows32*:*) @@ -950,9 +932,6 @@ crisv32:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; - e2k:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} - exit ;; frv:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; @@ -990,10 +969,10 @@ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } ;; - openrisc*:Linux:*:*) - echo or1k-unknown-linux-${LIBC} + or1k:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; - or32:Linux:*:* | or1k*:Linux:*:*) + or32:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; padre:Linux:*:*) @@ -1041,7 +1020,7 @@ echo ${UNAME_MACHINE}-dec-linux-${LIBC} exit ;; x86_64:Linux:*:*) - echo ${UNAME_MACHINE}-pc-linux-${LIBC} + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} @@ -1281,26 +1260,16 @@ if test "$UNAME_PROCESSOR" = unknown ; then UNAME_PROCESSOR=powerpc fi - if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then - if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null - then - case $UNAME_PROCESSOR in - i386) UNAME_PROCESSOR=x86_64 ;; - powerpc) UNAME_PROCESSOR=powerpc64 ;; - esac - fi + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + case $UNAME_PROCESSOR in + i386) UNAME_PROCESSOR=x86_64 ;; + powerpc) UNAME_PROCESSOR=powerpc64 ;; + esac fi - elif test "$UNAME_PROCESSOR" = i386 ; then - # Avoid executing cc on OS X 10.9, as it ships with a stub - # that puts up a graphical alert prompting to install - # developer tools. Any system running Mac OS X 10.7 or - # later (Darwin 11 and later) is required to have a 64-bit - # processor. This is not true of the ARM version of Darwin - # that Apple uses in portable devices. - UNAME_PROCESSOR=x86_64 fi echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; @@ -1392,6 +1361,154 @@ exit ;; esac +eval $set_cc_for_build +cat >$dummy.c < +# include +#endif +main () +{ +#if defined (sony) +#if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); +#else +#include + printf ("m68k-sony-newsos%s\n", +#ifdef NEWSOS4 + "4" +#else + "" +#endif + ); exit (0); +#endif +#endif + +#if defined (__arm) && defined (__acorn) && defined (__unix) + printf ("arm-acorn-riscix\n"); exit (0); +#endif + +#if defined (hp300) && !defined (hpux) + printf ("m68k-hp-bsd\n"); exit (0); +#endif + +#if defined (NeXT) +#if !defined (__ARCHITECTURE__) +#define __ARCHITECTURE__ "m68k" +#endif + int version; + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; + if (version < 4) + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); + else + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); + exit (0); +#endif + +#if defined (MULTIMAX) || defined (n16) +#if defined (UMAXV) + printf ("ns32k-encore-sysv\n"); exit (0); +#else +#if defined (CMU) + printf ("ns32k-encore-mach\n"); exit (0); +#else + printf ("ns32k-encore-bsd\n"); exit (0); +#endif +#endif +#endif + +#if defined (__386BSD__) + printf ("i386-pc-bsd\n"); exit (0); +#endif + +#if defined (sequent) +#if defined (i386) + printf ("i386-sequent-dynix\n"); exit (0); +#endif +#if defined (ns32000) + printf ("ns32k-sequent-dynix\n"); exit (0); +#endif +#endif + +#if defined (_SEQUENT_) + struct utsname un; + + uname(&un); + + if (strncmp(un.version, "V2", 2) == 0) { + printf ("i386-sequent-ptx2\n"); exit (0); + } + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ + printf ("i386-sequent-ptx1\n"); exit (0); + } + printf ("i386-sequent-ptx\n"); exit (0); + +#endif + +#if defined (vax) +# if !defined (ultrix) +# include +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif +#endif + +#if defined (alliant) && defined (i860) + printf ("i860-alliant-bsd\n"); exit (0); +#endif + + exit (1); +} +EOF + +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + +# Apollos put the system type in the environment. + +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } + +# Convex versions that predate uname can use getsysinfo(1) + +if [ -x /usr/convex/getsysinfo ] +then + case `getsysinfo -f cpu_type` in + c1*) + echo c1-convex-bsd + exit ;; + c2*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + c34*) + echo c34-convex-bsd + exit ;; + c38*) + echo c38-convex-bsd + exit ;; + c4*) + echo c4-convex-bsd + exit ;; + esac +fi + cat >&2 <, 1996 # @@ -367,7 +367,11 @@ dgux*) hardcode_libdir_flag_spec='-L$libdir' ;; - freebsd2.[01]*) + freebsd2.2*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + freebsd2*) hardcode_direct=yes hardcode_minus_L=yes ;; @@ -544,11 +548,13 @@ dgux*) library_names_spec='$libname$shrext' ;; - freebsd[23].*) - library_names_spec='$libname$shrext$versuffix' - ;; freebsd* | dragonfly*) - library_names_spec='$libname$shrext' + case "$host_os" in + freebsd[123]*) + library_names_spec='$libname$shrext$versuffix' ;; + *) + library_names_spec='$libname$shrext' ;; + esac ;; gnu*) library_names_spec='$libname$shrext' diff -Nru dpkg-1.18.4ubuntu1/build-aux/config.sub dpkg-1.17.5ubuntu5/build-aux/config.sub --- dpkg-1.18.4ubuntu1/build-aux/config.sub 2015-12-25 12:48:06.000000000 +0000 +++ dpkg-1.17.5ubuntu5/build-aux/config.sub 2013-12-12 07:46:30.000000000 +0000 @@ -1,8 +1,8 @@ #! /bin/sh # Configuration validation subroutine script. -# Copyright 1992-2015 Free Software Foundation, Inc. +# Copyright 1992-2013 Free Software Foundation, Inc. -timestamp='2015-08-20' +timestamp='2013-08-10' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -25,7 +25,7 @@ # of the GNU General Public License, version 3 ("GPLv3"). -# Please send patches to . +# Please send patches with a ChangeLog entry to config-patches@gnu.org. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. @@ -68,7 +68,7 @@ version="\ GNU config.sub ($timestamp) -Copyright 1992-2015 Free Software Foundation, Inc. +Copyright 1992-2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -117,7 +117,7 @@ case $maybe_os in nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ - knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ + knetbsd*-gnu* | netbsd*-gnu* | \ kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os @@ -255,18 +255,16 @@ | arc | arceb \ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | avr | avr32 \ - | ba \ | be32 | be64 \ | bfin \ | c4x | c8051 | clipper \ | d10v | d30v | dlx | dsp16xx \ - | e2k | epiphany \ - | fido | fr30 | frv | ft32 \ + | epiphany \ + | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ - | k1om \ | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ @@ -284,10 +282,8 @@ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ - | mipsisa32r6 | mipsisa32r6el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ - | mipsisa64r6 | mipsisa64r6el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipsr5900 | mipsr5900el \ @@ -299,14 +295,14 @@ | nds32 | nds32le | nds32be \ | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ - | open8 | or1k | or1knd | or32 \ + | open8 \ + | or1k | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ - | riscv32 | riscv64 \ | rl78 | rx \ | score \ - | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ @@ -314,7 +310,6 @@ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | ubicom32 \ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ - | visium \ | we32k \ | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) @@ -329,10 +324,7 @@ c6x) basic_machine=tic6x-unknown ;; - leon|leon[3-9]) - basic_machine=sparc-$basic_machine - ;; - m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) basic_machine=$basic_machine-unknown os=-none ;; @@ -377,20 +369,18 @@ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ - | ba-* \ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ | c8051-* | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ - | e2k-* | elxsi-* \ + | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hexagon-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ - | k1om-* \ | le32-* | le64-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ @@ -410,10 +400,8 @@ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ - | mipsisa32r6-* | mipsisa32r6el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ - | mipsisa64r6-* | mipsisa64r6el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipsr5900-* | mipsr5900el-* \ @@ -425,18 +413,16 @@ | nios-* | nios2-* | nios2eb-* | nios2el-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ - | or1k*-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pyramid-* \ - | riscv32-* | riscv64-* \ | rl78-* | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ | tahoe-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tile*-* \ @@ -444,7 +430,6 @@ | ubicom32-* \ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | vax-* \ - | visium-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ @@ -521,9 +506,6 @@ basic_machine=i386-pc os=-aros ;; - asmjs) - basic_machine=asmjs-unknown - ;; aux) basic_machine=m68k-apple os=-aux @@ -785,9 +767,6 @@ basic_machine=m68k-isi os=-sysv ;; - leon-*|leon[3-9]-*) - basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'` - ;; m68knommu) basic_machine=m68k-unknown os=-linux @@ -843,10 +822,6 @@ basic_machine=powerpc-unknown os=-morphos ;; - moxiebox) - basic_machine=moxie-unknown - os=-moxiebox - ;; msdos) basic_machine=i386-pc os=-msdos @@ -1379,7 +1354,7 @@ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | -sym* | -kopensolaris* | -plan9* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* | -aros* | -cloudabi* | -sortix* \ + | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ @@ -1392,14 +1367,14 @@ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-musl* | -linux-uclibc* \ - | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*) + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1617,6 +1592,9 @@ mips*-*) os=-elf ;; + or1k-*) + os=-elf + ;; or32-*) os=-coff ;; diff -Nru dpkg-1.18.4ubuntu1/build-aux/depcomp dpkg-1.17.5ubuntu5/build-aux/depcomp --- dpkg-1.18.4ubuntu1/build-aux/depcomp 2015-12-25 12:48:07.000000000 +0000 +++ dpkg-1.17.5ubuntu5/build-aux/depcomp 2013-12-12 07:46:33.000000000 +0000 @@ -3,7 +3,7 @@ scriptversion=2013-05-30.07; # UTC -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2013 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff -Nru dpkg-1.18.4ubuntu1/build-aux/install-sh dpkg-1.17.5ubuntu5/build-aux/install-sh --- dpkg-1.18.4ubuntu1/build-aux/install-sh 2015-12-25 12:48:06.000000000 +0000 +++ dpkg-1.17.5ubuntu5/build-aux/install-sh 2013-12-12 07:46:30.000000000 +0000 @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2014-09-12.12; # UTC +scriptversion=2011-11-20.07; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -41,15 +41,19 @@ # This script is compatible with the BSD install script, but was written # from scratch. -tab=' ' nl=' ' -IFS=" $tab$nl" +IFS=" "" $nl" -# Set DOITPROG to "echo" to test this script. +# set DOITPROG to echo to test this script +# Don't use :- since 4.3BSD and earlier shells don't like it. doit=${DOITPROG-} -doit_exec=${doit:-exec} +if test -z "$doit"; then + doit_exec=exec +else + doit_exec=$doit +fi # Put in absolute file names if you don't have them in your path; # or use environment vars. @@ -64,6 +68,17 @@ rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} +posix_glob='?' +initialize_posix_glob=' + test "$posix_glob" != "?" || { + if (set -f) 2>/dev/null; then + posix_glob= + else + posix_glob=: + fi + } +' + posix_mkdir= # Desired mode of installed file. @@ -82,7 +97,7 @@ dst_arg= copy_on_change=false -is_target_a_directory=possibly +no_target_directory= usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE @@ -122,57 +137,46 @@ -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" - shift;; + shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 - case $mode in - *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) - echo "$0: invalid mode: $mode" >&2 - exit 1;; - esac - shift;; + case $mode in + *' '* | *' '* | *' +'* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac + shift;; -o) chowncmd="$chownprog $2" - shift;; + shift;; -s) stripcmd=$stripprog;; - -t) - is_target_a_directory=always - dst_arg=$2 - # Protect names problematic for 'test' and other utilities. - case $dst_arg in - -* | [=\(\)!]) dst_arg=./$dst_arg;; - esac - shift;; + -t) dst_arg=$2 + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac + shift;; - -T) is_target_a_directory=never;; + -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; - --) shift - break;; + --) shift + break;; - -*) echo "$0: invalid option: $1" >&2 - exit 1;; + -*) echo "$0: invalid option: $1" >&2 + exit 1;; *) break;; esac shift done -# We allow the use of options -d and -T together, by making -d -# take the precedence; this is for compatibility with GNU install. - -if test -n "$dir_arg"; then - if test -n "$dst_arg"; then - echo "$0: target directory not allowed when installing a directory." >&2 - exit 1 - fi -fi - if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. @@ -204,15 +208,6 @@ fi if test -z "$dir_arg"; then - if test $# -gt 1 || test "$is_target_a_directory" = always; then - if test ! -d "$dst_arg"; then - echo "$0: $dst_arg: Is not a directory." >&2 - exit 1 - fi - fi -fi - -if test -z "$dir_arg"; then do_exit='(exit $ret); exit $ret' trap "ret=129; $do_exit" 1 trap "ret=130; $do_exit" 2 @@ -228,16 +223,16 @@ *[0-7]) if test -z "$stripcmd"; then - u_plus_rw= + u_plus_rw= else - u_plus_rw='% 200' + u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then - u_plus_rw= + u_plus_rw= else - u_plus_rw=,u+rw + u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac @@ -274,15 +269,41 @@ # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then - if test "$is_target_a_directory" = never; then - echo "$0: $dst_arg: Is a directory" >&2 - exit 1 + if test -n "$no_target_directory"; then + echo "$0: $dst_arg: Is a directory" >&2 + exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else - dstdir=`dirname "$dst"` + # Prefer dirname, but fall back on a substitute if dirname fails. + dstdir=` + (dirname "$dst") 2>/dev/null || + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$dst" : 'X\(//\)[^/]' \| \ + X"$dst" : 'X\(//\)$' \| \ + X"$dst" : 'X\(/\)' \| . 2>/dev/null || + echo X"$dst" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q' + ` + test -d "$dstdir" dstdir_status=$? fi @@ -293,81 +314,74 @@ if test $dstdir_status != 0; then case $posix_mkdir in '') - # Create intermediate dirs using mode 755 as modified by the umask. - # This is like FreeBSD 'install' as of 1997-10-28. - umask=`umask` - case $stripcmd.$umask in - # Optimize common cases. - *[2367][2367]) mkdir_umask=$umask;; - .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; - - *[0-7]) - mkdir_umask=`expr $umask + 22 \ - - $umask % 100 % 40 + $umask % 20 \ - - $umask % 10 % 4 + $umask % 2 - `;; - *) mkdir_umask=$umask,go-w;; - esac - - # With -d, create the new directory with the user-specified mode. - # Otherwise, rely on $mkdir_umask. - if test -n "$dir_arg"; then - mkdir_mode=-m$mode - else - mkdir_mode= - fi - - posix_mkdir=false - case $umask in - *[123567][0-7][0-7]) - # POSIX mkdir -p sets u+wx bits regardless of umask, which - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. - ;; - *) - # $RANDOM is not portable (e.g. dash); use it when possible to - # lower collision chance - tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ - trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 - - # As "mkdir -p" follows symlinks and we work in /tmp possibly; so - # create the $tmpdir first (and fail if unsuccessful) to make sure - # that nobody tries to guess the $tmpdir name. - if (umask $mkdir_umask && - $mkdirprog $mkdir_mode "$tmpdir" && - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 - then - if test -z "$dir_arg" || { - # Check for POSIX incompatibilities with -m. - # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or - # other-writable bit of parent directory when it shouldn't. - # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. - test_tmpdir="$tmpdir/a" - ls_ld_tmpdir=`ls -ld "$test_tmpdir"` - case $ls_ld_tmpdir in - d????-?r-*) different_mode=700;; - d????-?--*) different_mode=755;; - *) false;; - esac && - $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { - ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` - test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" - } - } - then posix_mkdir=: - fi - rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" - else - # Remove any dirs left behind by ancient mkdir implementations. - rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null - fi - trap '' 0;; - esac;; + # Create intermediate dirs using mode 755 as modified by the umask. + # This is like FreeBSD 'install' as of 1997-10-28. + umask=`umask` + case $stripcmd.$umask in + # Optimize common cases. + *[2367][2367]) mkdir_umask=$umask;; + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; + + *[0-7]) + mkdir_umask=`expr $umask + 22 \ + - $umask % 100 % 40 + $umask % 20 \ + - $umask % 10 % 4 + $umask % 2 + `;; + *) mkdir_umask=$umask,go-w;; + esac + + # With -d, create the new directory with the user-specified mode. + # Otherwise, rely on $mkdir_umask. + if test -n "$dir_arg"; then + mkdir_mode=-m$mode + else + mkdir_mode= + fi + + posix_mkdir=false + case $umask in + *[123567][0-7][0-7]) + # POSIX mkdir -p sets u+wx bits regardless of umask, which + # is incompatible with FreeBSD 'install' when (umask & 300) != 0. + ;; + *) + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + + if (umask $mkdir_umask && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + ls_ld_tmpdir=`ls -ld "$tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/d" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null + fi + trap '' 0;; + esac;; esac if $posix_mkdir && ( - umask $mkdir_umask && - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else @@ -377,51 +391,53 @@ # directory the slow way, step by step, checking for races as we go. case $dstdir in - /*) prefix='/';; - [-=\(\)!]*) prefix='./';; - *) prefix='';; + /*) prefix='/';; + [-=\(\)!]*) prefix='./';; + *) prefix='';; esac + eval "$initialize_posix_glob" + oIFS=$IFS IFS=/ - set -f + $posix_glob set -f set fnord $dstdir shift - set +f + $posix_glob set +f IFS=$oIFS prefixes= for d do - test X"$d" = X && continue + test X"$d" = X && continue - prefix=$prefix$d - if test -d "$prefix"; then - prefixes= - else - if $posix_mkdir; then - (umask=$mkdir_umask && - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break - # Don't fail if two instances are running concurrently. - test -d "$prefix" || exit 1 - else - case $prefix in - *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; - *) qprefix=$prefix;; - esac - prefixes="$prefixes '$qprefix'" - fi - fi - prefix=$prefix/ + prefix=$prefix$d + if test -d "$prefix"; then + prefixes= + else + if $posix_mkdir; then + (umask=$mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break + # Don't fail if two instances are running concurrently. + test -d "$prefix" || exit 1 + else + case $prefix in + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; + *) qprefix=$prefix;; + esac + prefixes="$prefixes '$qprefix'" + fi + fi + prefix=$prefix/ done if test -n "$prefixes"; then - # Don't fail if two instances are running concurrently. - (umask $mkdir_umask && - eval "\$doit_exec \$mkdirprog $prefixes") || - test -d "$dstdir" || exit 1 - obsolete_mkdir_used=true + # Don't fail if two instances are running concurrently. + (umask $mkdir_umask && + eval "\$doit_exec \$mkdirprog $prefixes") || + test -d "$dstdir" || exit 1 + obsolete_mkdir_used=true fi fi fi @@ -456,12 +472,15 @@ # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && - old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && - new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && - set -f && + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && + + eval "$initialize_posix_glob" && + $posix_glob set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && - set +f && + $posix_glob set +f && + test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then @@ -474,24 +493,24 @@ # to itself, or perhaps because mv is so ancient that it does not # support -f. { - # Now remove or move aside any old file at destination location. - # We try this two ways since rm can't unlink itself on some - # systems and the destination file might be busy for other - # reasons. In this case, the final cleanup might fail but the new - # file should still install successfully. - { - test ! -f "$dst" || - $doit $rmcmd -f "$dst" 2>/dev/null || - { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && - { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } - } || - { echo "$0: cannot unlink or rename $dst" >&2 - (exit 1); exit 1 - } - } && + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + test ! -f "$dst" || + $doit $rmcmd -f "$dst" 2>/dev/null || + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } + } || + { echo "$0: cannot unlink or rename $dst" >&2 + (exit 1); exit 1 + } + } && - # Now rename the file to the real destination. - $doit $mvcmd "$dsttmp" "$dst" + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 diff -Nru dpkg-1.18.4ubuntu1/build-aux/ltmain.sh dpkg-1.17.5ubuntu5/build-aux/ltmain.sh --- dpkg-1.18.4ubuntu1/build-aux/ltmain.sh 2015-12-25 12:47:58.000000000 +0000 +++ dpkg-1.17.5ubuntu5/build-aux/ltmain.sh 1970-01-01 00:00:00.000000000 +0000 @@ -1,9661 +0,0 @@ - -# libtool (GNU libtool) 2.4.2 -# Written by Gordon Matzigkeit , 1996 - -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, -# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. -# This is free software; see the source for copying conditions. There is NO -# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -# GNU Libtool 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. -# -# As a special exception to the GNU General Public License, -# if you distribute this file as part of a program or library that -# is built using GNU Libtool, you may include this file under the -# same distribution terms that you use for the rest of that program. -# -# GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy -# can be downloaded from http://www.gnu.org/licenses/gpl.html, -# or obtained by writing to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -# Usage: $progname [OPTION]... [MODE-ARG]... -# -# Provide generalized library-building support services. -# -# --config show all configuration variables -# --debug enable verbose shell tracing -# -n, --dry-run display commands without modifying any files -# --features display basic configuration information and exit -# --mode=MODE use operation mode MODE -# --preserve-dup-deps don't remove duplicate dependency libraries -# --quiet, --silent don't print informational messages -# --no-quiet, --no-silent -# print informational messages (default) -# --no-warn don't display warning messages -# --tag=TAG use configuration variables from tag TAG -# -v, --verbose print more informational messages than default -# --no-verbose don't print the extra informational messages -# --version print version information -# -h, --help, --help-all print short, long, or detailed help message -# -# MODE must be one of the following: -# -# clean remove files from the build directory -# compile compile a source file into a libtool object -# execute automatically set library path, then run a program -# finish complete the installation of libtool libraries -# install install libraries or executables -# link create a library or an executable -# uninstall remove libraries from an installed directory -# -# MODE-ARGS vary depending on the MODE. When passed as first option, -# `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that. -# Try `$progname --help --mode=MODE' for a more detailed description of MODE. -# -# When reporting a bug, please describe a test case to reproduce it and -# include the following information: -# -# host-triplet: $host -# shell: $SHELL -# compiler: $LTCC -# compiler flags: $LTCFLAGS -# linker: $LD (gnu? $with_gnu_ld) -# $progname: (GNU libtool) 2.4.2 Debian-2.4.2-1.11 -# automake: $automake_version -# autoconf: $autoconf_version -# -# Report bugs to . -# GNU libtool home page: . -# General help using GNU software: . - -PROGRAM=libtool -PACKAGE=libtool -VERSION="2.4.2 Debian-2.4.2-1.11" -TIMESTAMP="" -package_revision=1.3337 - -# Be Bourne compatible -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac -fi -BIN_SH=xpg4; export BIN_SH # for Tru64 -DUALCASE=1; export DUALCASE # for MKS sh - -# A function that is used when there is no print builtin or printf. -func_fallback_echo () -{ - eval 'cat <<_LTECHO_EOF -$1 -_LTECHO_EOF' -} - -# NLS nuisances: We save the old values to restore during execute mode. -lt_user_locale= -lt_safe_locale= -for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES -do - eval "if test \"\${$lt_var+set}\" = set; then - save_$lt_var=\$$lt_var - $lt_var=C - export $lt_var - lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\" - lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" - fi" -done -LC_ALL=C -LANGUAGE=C -export LANGUAGE LC_ALL - -$lt_unset CDPATH - - -# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh -# is ksh but when the shell is invoked as "sh" and the current value of -# the _XPG environment variable is not equal to 1 (one), the special -# positional parameter $0, within a function call, is the name of the -# function. -progpath="$0" - - - -: ${CP="cp -f"} -test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} -: ${MAKE="make"} -: ${MKDIR="mkdir"} -: ${MV="mv -f"} -: ${RM="rm -f"} -: ${SHELL="${CONFIG_SHELL-/bin/sh}"} -: ${Xsed="$SED -e 1s/^X//"} - -# Global variables: -EXIT_SUCCESS=0 -EXIT_FAILURE=1 -EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. -EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. - -exit_status=$EXIT_SUCCESS - -# Make sure IFS has a sensible default -lt_nl=' -' -IFS=" $lt_nl" - -dirname="s,/[^/]*$,," -basename="s,^.*/,," - -# func_dirname file append nondir_replacement -# Compute the dirname of FILE. If nonempty, add APPEND to the result, -# otherwise set result to NONDIR_REPLACEMENT. -func_dirname () -{ - func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` - if test "X$func_dirname_result" = "X${1}"; then - func_dirname_result="${3}" - else - func_dirname_result="$func_dirname_result${2}" - fi -} # func_dirname may be replaced by extended shell implementation - - -# func_basename file -func_basename () -{ - func_basename_result=`$ECHO "${1}" | $SED "$basename"` -} # func_basename may be replaced by extended shell implementation - - -# func_dirname_and_basename file append nondir_replacement -# perform func_basename and func_dirname in a single function -# call: -# dirname: Compute the dirname of FILE. If nonempty, -# add APPEND to the result, otherwise set result -# to NONDIR_REPLACEMENT. -# value returned in "$func_dirname_result" -# basename: Compute filename of FILE. -# value retuned in "$func_basename_result" -# Implementation must be kept synchronized with func_dirname -# and func_basename. For efficiency, we do not delegate to -# those functions but instead duplicate the functionality here. -func_dirname_and_basename () -{ - # Extract subdirectory from the argument. - func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"` - if test "X$func_dirname_result" = "X${1}"; then - func_dirname_result="${3}" - else - func_dirname_result="$func_dirname_result${2}" - fi - func_basename_result=`$ECHO "${1}" | $SED -e "$basename"` -} # func_dirname_and_basename may be replaced by extended shell implementation - - -# func_stripname prefix suffix name -# strip PREFIX and SUFFIX off of NAME. -# PREFIX and SUFFIX must not contain globbing or regex special -# characters, hashes, percent signs, but SUFFIX may contain a leading -# dot (in which case that matches only a dot). -# func_strip_suffix prefix name -func_stripname () -{ - case ${2} in - .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; - *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; - esac -} # func_stripname may be replaced by extended shell implementation - - -# These SED scripts presuppose an absolute path with a trailing slash. -pathcar='s,^/\([^/]*\).*$,\1,' -pathcdr='s,^/[^/]*,,' -removedotparts=':dotsl - s@/\./@/@g - t dotsl - s,/\.$,/,' -collapseslashes='s@/\{1,\}@/@g' -finalslash='s,/*$,/,' - -# func_normal_abspath PATH -# Remove doubled-up and trailing slashes, "." path components, -# and cancel out any ".." path components in PATH after making -# it an absolute path. -# value returned in "$func_normal_abspath_result" -func_normal_abspath () -{ - # Start from root dir and reassemble the path. - func_normal_abspath_result= - func_normal_abspath_tpath=$1 - func_normal_abspath_altnamespace= - case $func_normal_abspath_tpath in - "") - # Empty path, that just means $cwd. - func_stripname '' '/' "`pwd`" - func_normal_abspath_result=$func_stripname_result - return - ;; - # The next three entries are used to spot a run of precisely - # two leading slashes without using negated character classes; - # we take advantage of case's first-match behaviour. - ///*) - # Unusual form of absolute path, do nothing. - ;; - //*) - # Not necessarily an ordinary path; POSIX reserves leading '//' - # and for example Cygwin uses it to access remote file shares - # over CIFS/SMB, so we conserve a leading double slash if found. - func_normal_abspath_altnamespace=/ - ;; - /*) - # Absolute path, do nothing. - ;; - *) - # Relative path, prepend $cwd. - func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath - ;; - esac - # Cancel out all the simple stuff to save iterations. We also want - # the path to end with a slash for ease of parsing, so make sure - # there is one (and only one) here. - func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ - -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"` - while :; do - # Processed it all yet? - if test "$func_normal_abspath_tpath" = / ; then - # If we ascended to the root using ".." the result may be empty now. - if test -z "$func_normal_abspath_result" ; then - func_normal_abspath_result=/ - fi - break - fi - func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ - -e "$pathcar"` - func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ - -e "$pathcdr"` - # Figure out what to do with it - case $func_normal_abspath_tcomponent in - "") - # Trailing empty path component, ignore it. - ;; - ..) - # Parent dir; strip last assembled component from result. - func_dirname "$func_normal_abspath_result" - func_normal_abspath_result=$func_dirname_result - ;; - *) - # Actual path component, append it. - func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent - ;; - esac - done - # Restore leading double-slash if one was found on entry. - func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result -} - -# func_relative_path SRCDIR DSTDIR -# generates a relative path from SRCDIR to DSTDIR, with a trailing -# slash if non-empty, suitable for immediately appending a filename -# without needing to append a separator. -# value returned in "$func_relative_path_result" -func_relative_path () -{ - func_relative_path_result= - func_normal_abspath "$1" - func_relative_path_tlibdir=$func_normal_abspath_result - func_normal_abspath "$2" - func_relative_path_tbindir=$func_normal_abspath_result - - # Ascend the tree starting from libdir - while :; do - # check if we have found a prefix of bindir - case $func_relative_path_tbindir in - $func_relative_path_tlibdir) - # found an exact match - func_relative_path_tcancelled= - break - ;; - $func_relative_path_tlibdir*) - # found a matching prefix - func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" - func_relative_path_tcancelled=$func_stripname_result - if test -z "$func_relative_path_result"; then - func_relative_path_result=. - fi - break - ;; - *) - func_dirname $func_relative_path_tlibdir - func_relative_path_tlibdir=${func_dirname_result} - if test "x$func_relative_path_tlibdir" = x ; then - # Have to descend all the way to the root! - func_relative_path_result=../$func_relative_path_result - func_relative_path_tcancelled=$func_relative_path_tbindir - break - fi - func_relative_path_result=../$func_relative_path_result - ;; - esac - done - - # Now calculate path; take care to avoid doubling-up slashes. - func_stripname '' '/' "$func_relative_path_result" - func_relative_path_result=$func_stripname_result - func_stripname '/' '/' "$func_relative_path_tcancelled" - if test "x$func_stripname_result" != x ; then - func_relative_path_result=${func_relative_path_result}/${func_stripname_result} - fi - - # Normalisation. If bindir is libdir, return empty string, - # else relative path ending with a slash; either way, target - # file name can be directly appended. - if test ! -z "$func_relative_path_result"; then - func_stripname './' '' "$func_relative_path_result/" - func_relative_path_result=$func_stripname_result - fi -} - -# The name of this program: -func_dirname_and_basename "$progpath" -progname=$func_basename_result - -# Make sure we have an absolute path for reexecution: -case $progpath in - [\\/]*|[A-Za-z]:\\*) ;; - *[\\/]*) - progdir=$func_dirname_result - progdir=`cd "$progdir" && pwd` - progpath="$progdir/$progname" - ;; - *) - save_IFS="$IFS" - IFS=${PATH_SEPARATOR-:} - for progdir in $PATH; do - IFS="$save_IFS" - test -x "$progdir/$progname" && break - done - IFS="$save_IFS" - test -n "$progdir" || progdir=`pwd` - progpath="$progdir/$progname" - ;; -esac - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed="${SED}"' -e 1s/^X//' -sed_quote_subst='s/\([`"$\\]\)/\\\1/g' - -# Same as above, but do not quote variable references. -double_quote_subst='s/\(["`\\]\)/\\\1/g' - -# Sed substitution that turns a string into a regex matching for the -# string literally. -sed_make_literal_regex='s,[].[^$\\*\/],\\&,g' - -# Sed substitution that converts a w32 file name or path -# which contains forward slashes, into one that contains -# (escaped) backslashes. A very naive implementation. -lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' - -# Re-`\' parameter expansions in output of double_quote_subst that were -# `\'-ed in input to the same. If an odd number of `\' preceded a '$' -# in input to double_quote_subst, that '$' was protected from expansion. -# Since each input `\' is now two `\'s, look for any number of runs of -# four `\'s followed by two `\'s and then a '$'. `\' that '$'. -bs='\\' -bs2='\\\\' -bs4='\\\\\\\\' -dollar='\$' -sed_double_backslash="\ - s/$bs4/&\\ -/g - s/^$bs2$dollar/$bs&/ - s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g - s/\n//g" - -# Standard options: -opt_dry_run=false -opt_help=false -opt_quiet=false -opt_verbose=false -opt_warning=: - -# func_echo arg... -# Echo program name prefixed message, along with the current mode -# name if it has been set yet. -func_echo () -{ - $ECHO "$progname: ${opt_mode+$opt_mode: }$*" -} - -# func_verbose arg... -# Echo program name prefixed message in verbose mode only. -func_verbose () -{ - $opt_verbose && func_echo ${1+"$@"} - - # A bug in bash halts the script if the last line of a function - # fails when set -e is in force, so we need another command to - # work around that: - : -} - -# func_echo_all arg... -# Invoke $ECHO with all args, space-separated. -func_echo_all () -{ - $ECHO "$*" -} - -# func_error arg... -# Echo program name prefixed message to standard error. -func_error () -{ - $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2 -} - -# func_warning arg... -# Echo program name prefixed warning message to standard error. -func_warning () -{ - $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2 - - # bash bug again: - : -} - -# func_fatal_error arg... -# Echo program name prefixed message to standard error, and exit. -func_fatal_error () -{ - func_error ${1+"$@"} - exit $EXIT_FAILURE -} - -# func_fatal_help arg... -# Echo program name prefixed message to standard error, followed by -# a help hint, and exit. -func_fatal_help () -{ - func_error ${1+"$@"} - func_fatal_error "$help" -} -help="Try \`$progname --help' for more information." ## default - - -# func_grep expression filename -# Check whether EXPRESSION matches any line of FILENAME, without output. -func_grep () -{ - $GREP "$1" "$2" >/dev/null 2>&1 -} - - -# func_mkdir_p directory-path -# Make sure the entire path to DIRECTORY-PATH is available. -func_mkdir_p () -{ - my_directory_path="$1" - my_dir_list= - - if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then - - # Protect directory names starting with `-' - case $my_directory_path in - -*) my_directory_path="./$my_directory_path" ;; - esac - - # While some portion of DIR does not yet exist... - while test ! -d "$my_directory_path"; do - # ...make a list in topmost first order. Use a colon delimited - # list incase some portion of path contains whitespace. - my_dir_list="$my_directory_path:$my_dir_list" - - # If the last portion added has no slash in it, the list is done - case $my_directory_path in */*) ;; *) break ;; esac - - # ...otherwise throw away the child directory and loop - my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"` - done - my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'` - - save_mkdir_p_IFS="$IFS"; IFS=':' - for my_dir in $my_dir_list; do - IFS="$save_mkdir_p_IFS" - # mkdir can fail with a `File exist' error if two processes - # try to create one of the directories concurrently. Don't - # stop in that case! - $MKDIR "$my_dir" 2>/dev/null || : - done - IFS="$save_mkdir_p_IFS" - - # Bail out if we (or some other process) failed to create a directory. - test -d "$my_directory_path" || \ - func_fatal_error "Failed to create \`$1'" - fi -} - - -# func_mktempdir [string] -# Make a temporary directory that won't clash with other running -# libtool processes, and avoids race conditions if possible. If -# given, STRING is the basename for that directory. -func_mktempdir () -{ - my_template="${TMPDIR-/tmp}/${1-$progname}" - - if test "$opt_dry_run" = ":"; then - # Return a directory name, but don't create it in dry-run mode - my_tmpdir="${my_template}-$$" - else - - # If mktemp works, use that first and foremost - my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` - - if test ! -d "$my_tmpdir"; then - # Failing that, at least try and use $RANDOM to avoid a race - my_tmpdir="${my_template}-${RANDOM-0}$$" - - save_mktempdir_umask=`umask` - umask 0077 - $MKDIR "$my_tmpdir" - umask $save_mktempdir_umask - fi - - # If we're not in dry-run mode, bomb out on failure - test -d "$my_tmpdir" || \ - func_fatal_error "cannot create temporary directory \`$my_tmpdir'" - fi - - $ECHO "$my_tmpdir" -} - - -# func_quote_for_eval arg -# Aesthetically quote ARG to be evaled later. -# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT -# is double-quoted, suitable for a subsequent eval, whereas -# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters -# which are still active within double quotes backslashified. -func_quote_for_eval () -{ - case $1 in - *[\\\`\"\$]*) - func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;; - *) - func_quote_for_eval_unquoted_result="$1" ;; - esac - - case $func_quote_for_eval_unquoted_result in - # Double-quote args containing shell metacharacters to delay - # word splitting, command substitution and and variable - # expansion for a subsequent eval. - # Many Bourne shells cannot handle close brackets correctly - # in scan sets, so we specify it separately. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\"" - ;; - *) - func_quote_for_eval_result="$func_quote_for_eval_unquoted_result" - esac -} - - -# func_quote_for_expand arg -# Aesthetically quote ARG to be evaled later; same as above, -# but do not quote variable references. -func_quote_for_expand () -{ - case $1 in - *[\\\`\"]*) - my_arg=`$ECHO "$1" | $SED \ - -e "$double_quote_subst" -e "$sed_double_backslash"` ;; - *) - my_arg="$1" ;; - esac - - case $my_arg in - # Double-quote args containing shell metacharacters to delay - # word splitting and command substitution for a subsequent eval. - # Many Bourne shells cannot handle close brackets correctly - # in scan sets, so we specify it separately. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - my_arg="\"$my_arg\"" - ;; - esac - - func_quote_for_expand_result="$my_arg" -} - - -# func_show_eval cmd [fail_exp] -# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is -# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP -# is given, then evaluate it. -func_show_eval () -{ - my_cmd="$1" - my_fail_exp="${2-:}" - - ${opt_silent-false} || { - func_quote_for_expand "$my_cmd" - eval "func_echo $func_quote_for_expand_result" - } - - if ${opt_dry_run-false}; then :; else - eval "$my_cmd" - my_status=$? - if test "$my_status" -eq 0; then :; else - eval "(exit $my_status); $my_fail_exp" - fi - fi -} - - -# func_show_eval_locale cmd [fail_exp] -# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is -# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP -# is given, then evaluate it. Use the saved locale for evaluation. -func_show_eval_locale () -{ - my_cmd="$1" - my_fail_exp="${2-:}" - - ${opt_silent-false} || { - func_quote_for_expand "$my_cmd" - eval "func_echo $func_quote_for_expand_result" - } - - if ${opt_dry_run-false}; then :; else - eval "$lt_user_locale - $my_cmd" - my_status=$? - eval "$lt_safe_locale" - if test "$my_status" -eq 0; then :; else - eval "(exit $my_status); $my_fail_exp" - fi - fi -} - -# func_tr_sh -# Turn $1 into a string suitable for a shell variable name. -# Result is stored in $func_tr_sh_result. All characters -# not in the set a-zA-Z0-9_ are replaced with '_'. Further, -# if $1 begins with a digit, a '_' is prepended as well. -func_tr_sh () -{ - case $1 in - [0-9]* | *[!a-zA-Z0-9_]*) - func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'` - ;; - * ) - func_tr_sh_result=$1 - ;; - esac -} - - -# func_version -# Echo version message to standard output and exit. -func_version () -{ - $opt_debug - - $SED -n '/(C)/!b go - :more - /\./!{ - N - s/\n# / / - b more - } - :go - /^# '$PROGRAM' (GNU /,/# warranty; / { - s/^# // - s/^# *$// - s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ - p - }' < "$progpath" - exit $? -} - -# func_usage -# Echo short help message to standard output and exit. -func_usage () -{ - $opt_debug - - $SED -n '/^# Usage:/,/^# *.*--help/ { - s/^# // - s/^# *$// - s/\$progname/'$progname'/ - p - }' < "$progpath" - echo - $ECHO "run \`$progname --help | more' for full usage" - exit $? -} - -# func_help [NOEXIT] -# Echo long help message to standard output and exit, -# unless 'noexit' is passed as argument. -func_help () -{ - $opt_debug - - $SED -n '/^# Usage:/,/# Report bugs to/ { - :print - s/^# // - s/^# *$// - s*\$progname*'$progname'* - s*\$host*'"$host"'* - s*\$SHELL*'"$SHELL"'* - s*\$LTCC*'"$LTCC"'* - s*\$LTCFLAGS*'"$LTCFLAGS"'* - s*\$LD*'"$LD"'* - s/\$with_gnu_ld/'"$with_gnu_ld"'/ - s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/ - s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/ - p - d - } - /^# .* home page:/b print - /^# General help using/b print - ' < "$progpath" - ret=$? - if test -z "$1"; then - exit $ret - fi -} - -# func_missing_arg argname -# Echo program name prefixed message to standard error and set global -# exit_cmd. -func_missing_arg () -{ - $opt_debug - - func_error "missing argument for $1." - exit_cmd=exit -} - - -# func_split_short_opt shortopt -# Set func_split_short_opt_name and func_split_short_opt_arg shell -# variables after splitting SHORTOPT after the 2nd character. -func_split_short_opt () -{ - my_sed_short_opt='1s/^\(..\).*$/\1/;q' - my_sed_short_rest='1s/^..\(.*\)$/\1/;q' - - func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"` - func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"` -} # func_split_short_opt may be replaced by extended shell implementation - - -# func_split_long_opt longopt -# Set func_split_long_opt_name and func_split_long_opt_arg shell -# variables after splitting LONGOPT at the `=' sign. -func_split_long_opt () -{ - my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q' - my_sed_long_arg='1s/^--[^=]*=//' - - func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"` - func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"` -} # func_split_long_opt may be replaced by extended shell implementation - -exit_cmd=: - - - - - -magic="%%%MAGIC variable%%%" -magic_exe="%%%MAGIC EXE variable%%%" - -# Global variables. -nonopt= -preserve_args= -lo2o="s/\\.lo\$/.${objext}/" -o2lo="s/\\.${objext}\$/.lo/" -extracted_archives= -extracted_serial=0 - -# If this variable is set in any of the actions, the command in it -# will be execed at the end. This prevents here-documents from being -# left over by shells. -exec_cmd= - -# func_append var value -# Append VALUE to the end of shell variable VAR. -func_append () -{ - eval "${1}=\$${1}\${2}" -} # func_append may be replaced by extended shell implementation - -# func_append_quoted var value -# Quote VALUE and append to the end of shell variable VAR, separated -# by a space. -func_append_quoted () -{ - func_quote_for_eval "${2}" - eval "${1}=\$${1}\\ \$func_quote_for_eval_result" -} # func_append_quoted may be replaced by extended shell implementation - - -# func_arith arithmetic-term... -func_arith () -{ - func_arith_result=`expr "${@}"` -} # func_arith may be replaced by extended shell implementation - - -# func_len string -# STRING may not start with a hyphen. -func_len () -{ - func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len` -} # func_len may be replaced by extended shell implementation - - -# func_lo2o object -func_lo2o () -{ - func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` -} # func_lo2o may be replaced by extended shell implementation - - -# func_xform libobj-or-source -func_xform () -{ - func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` -} # func_xform may be replaced by extended shell implementation - - -# func_fatal_configuration arg... -# Echo program name prefixed message to standard error, followed by -# a configuration failure hint, and exit. -func_fatal_configuration () -{ - func_error ${1+"$@"} - func_error "See the $PACKAGE documentation for more information." - func_fatal_error "Fatal configuration error." -} - - -# func_config -# Display the configuration for all the tags in this script. -func_config () -{ - re_begincf='^# ### BEGIN LIBTOOL' - re_endcf='^# ### END LIBTOOL' - - # Default configuration. - $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath" - - # Now print the configurations for the tags. - for tagname in $taglist; do - $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath" - done - - exit $? -} - -# func_features -# Display the features supported by this script. -func_features () -{ - echo "host: $host" - if test "$build_libtool_libs" = yes; then - echo "enable shared libraries" - else - echo "disable shared libraries" - fi - if test "$build_old_libs" = yes; then - echo "enable static libraries" - else - echo "disable static libraries" - fi - - exit $? -} - -# func_enable_tag tagname -# Verify that TAGNAME is valid, and either flag an error and exit, or -# enable the TAGNAME tag. We also add TAGNAME to the global $taglist -# variable here. -func_enable_tag () -{ - # Global variable: - tagname="$1" - - re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$" - re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$" - sed_extractcf="/$re_begincf/,/$re_endcf/p" - - # Validate tagname. - case $tagname in - *[!-_A-Za-z0-9,/]*) - func_fatal_error "invalid tag name: $tagname" - ;; - esac - - # Don't test for the "default" C tag, as we know it's - # there but not specially marked. - case $tagname in - CC) ;; - *) - if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then - taglist="$taglist $tagname" - - # Evaluate the configuration. Be careful to quote the path - # and the sed script, to avoid splitting on whitespace, but - # also don't use non-portable quotes within backquotes within - # quotes we have to do it in 2 steps: - extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` - eval "$extractedcf" - else - func_error "ignoring unknown tag $tagname" - fi - ;; - esac -} - -# func_check_version_match -# Ensure that we are using m4 macros, and libtool script from the same -# release of libtool. -func_check_version_match () -{ - if test "$package_revision" != "$macro_revision"; then - if test "$VERSION" != "$macro_version"; then - if test -z "$macro_version"; then - cat >&2 <<_LT_EOF -$progname: Version mismatch error. This is $PACKAGE $VERSION, but the -$progname: definition of this LT_INIT comes from an older release. -$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION -$progname: and run autoconf again. -_LT_EOF - else - cat >&2 <<_LT_EOF -$progname: Version mismatch error. This is $PACKAGE $VERSION, but the -$progname: definition of this LT_INIT comes from $PACKAGE $macro_version. -$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION -$progname: and run autoconf again. -_LT_EOF - fi - else - cat >&2 <<_LT_EOF -$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, -$progname: but the definition of this LT_INIT comes from revision $macro_revision. -$progname: You should recreate aclocal.m4 with macros from revision $package_revision -$progname: of $PACKAGE $VERSION and run autoconf again. -_LT_EOF - fi - - exit $EXIT_MISMATCH - fi -} - - -# Shorthand for --mode=foo, only valid as the first argument -case $1 in -clean|clea|cle|cl) - shift; set dummy --mode clean ${1+"$@"}; shift - ;; -compile|compil|compi|comp|com|co|c) - shift; set dummy --mode compile ${1+"$@"}; shift - ;; -execute|execut|execu|exec|exe|ex|e) - shift; set dummy --mode execute ${1+"$@"}; shift - ;; -finish|finis|fini|fin|fi|f) - shift; set dummy --mode finish ${1+"$@"}; shift - ;; -install|instal|insta|inst|ins|in|i) - shift; set dummy --mode install ${1+"$@"}; shift - ;; -link|lin|li|l) - shift; set dummy --mode link ${1+"$@"}; shift - ;; -uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) - shift; set dummy --mode uninstall ${1+"$@"}; shift - ;; -esac - - - -# Option defaults: -opt_debug=: -opt_dry_run=false -opt_config=false -opt_preserve_dup_deps=false -opt_features=false -opt_finish=false -opt_help=false -opt_help_all=false -opt_silent=: -opt_warning=: -opt_verbose=: -opt_silent=false -opt_verbose=false - - -# Parse options once, thoroughly. This comes as soon as possible in the -# script to make things like `--version' happen as quickly as we can. -{ - # this just eases exit handling - while test $# -gt 0; do - opt="$1" - shift - case $opt in - --debug|-x) opt_debug='set -x' - func_echo "enabling shell trace mode" - $opt_debug - ;; - --dry-run|--dryrun|-n) - opt_dry_run=: - ;; - --config) - opt_config=: -func_config - ;; - --dlopen|-dlopen) - optarg="$1" - opt_dlopen="${opt_dlopen+$opt_dlopen -}$optarg" - shift - ;; - --preserve-dup-deps) - opt_preserve_dup_deps=: - ;; - --features) - opt_features=: -func_features - ;; - --finish) - opt_finish=: -set dummy --mode finish ${1+"$@"}; shift - ;; - --help) - opt_help=: - ;; - --help-all) - opt_help_all=: -opt_help=': help-all' - ;; - --mode) - test $# = 0 && func_missing_arg $opt && break - optarg="$1" - opt_mode="$optarg" -case $optarg in - # Valid mode arguments: - clean|compile|execute|finish|install|link|relink|uninstall) ;; - - # Catch anything else as an error - *) func_error "invalid argument for $opt" - exit_cmd=exit - break - ;; -esac - shift - ;; - --no-silent|--no-quiet) - opt_silent=false -func_append preserve_args " $opt" - ;; - --no-warning|--no-warn) - opt_warning=false -func_append preserve_args " $opt" - ;; - --no-verbose) - opt_verbose=false -func_append preserve_args " $opt" - ;; - --silent|--quiet) - opt_silent=: -func_append preserve_args " $opt" - opt_verbose=false - ;; - --verbose|-v) - opt_verbose=: -func_append preserve_args " $opt" -opt_silent=false - ;; - --tag) - test $# = 0 && func_missing_arg $opt && break - optarg="$1" - opt_tag="$optarg" -func_append preserve_args " $opt $optarg" -func_enable_tag "$optarg" - shift - ;; - - -\?|-h) func_usage ;; - --help) func_help ;; - --version) func_version ;; - - # Separate optargs to long options: - --*=*) - func_split_long_opt "$opt" - set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"} - shift - ;; - - # Separate non-argument short options: - -\?*|-h*|-n*|-v*) - func_split_short_opt "$opt" - set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"} - shift - ;; - - --) break ;; - -*) func_fatal_help "unrecognized option \`$opt'" ;; - *) set dummy "$opt" ${1+"$@"}; shift; break ;; - esac - done - - # Validate options: - - # save first non-option argument - if test "$#" -gt 0; then - nonopt="$opt" - shift - fi - - # preserve --debug - test "$opt_debug" = : || func_append preserve_args " --debug" - - case $host in - *cygwin* | *mingw* | *pw32* | *cegcc*) - # don't eliminate duplications in $postdeps and $predeps - opt_duplicate_compiler_generated_deps=: - ;; - *) - opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps - ;; - esac - - $opt_help || { - # Sanity checks first: - func_check_version_match - - if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then - func_fatal_configuration "not configured to build any kind of library" - fi - - # Darwin sucks - eval std_shrext=\"$shrext_cmds\" - - # Only execute mode is allowed to have -dlopen flags. - if test -n "$opt_dlopen" && test "$opt_mode" != execute; then - func_error "unrecognized option \`-dlopen'" - $ECHO "$help" 1>&2 - exit $EXIT_FAILURE - fi - - # Change the help message to a mode-specific one. - generic_help="$help" - help="Try \`$progname --help --mode=$opt_mode' for more information." - } - - - # Bail if the options were screwed - $exit_cmd $EXIT_FAILURE -} - - - - -## ----------- ## -## Main. ## -## ----------- ## - -# func_lalib_p file -# True iff FILE is a libtool `.la' library or `.lo' object file. -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_lalib_p () -{ - test -f "$1" && - $SED -e 4q "$1" 2>/dev/null \ - | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 -} - -# func_lalib_unsafe_p file -# True iff FILE is a libtool `.la' library or `.lo' object file. -# This function implements the same check as func_lalib_p without -# resorting to external programs. To this end, it redirects stdin and -# closes it afterwards, without saving the original file descriptor. -# As a safety measure, use it only where a negative result would be -# fatal anyway. Works if `file' does not exist. -func_lalib_unsafe_p () -{ - lalib_p=no - if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then - for lalib_p_l in 1 2 3 4 - do - read lalib_p_line - case "$lalib_p_line" in - \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; - esac - done - exec 0<&5 5<&- - fi - test "$lalib_p" = yes -} - -# func_ltwrapper_script_p file -# True iff FILE is a libtool wrapper script -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_ltwrapper_script_p () -{ - func_lalib_p "$1" -} - -# func_ltwrapper_executable_p file -# True iff FILE is a libtool wrapper executable -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_ltwrapper_executable_p () -{ - func_ltwrapper_exec_suffix= - case $1 in - *.exe) ;; - *) func_ltwrapper_exec_suffix=.exe ;; - esac - $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 -} - -# func_ltwrapper_scriptname file -# Assumes file is an ltwrapper_executable -# uses $file to determine the appropriate filename for a -# temporary ltwrapper_script. -func_ltwrapper_scriptname () -{ - func_dirname_and_basename "$1" "" "." - func_stripname '' '.exe' "$func_basename_result" - func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" -} - -# func_ltwrapper_p file -# True iff FILE is a libtool wrapper script or wrapper executable -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_ltwrapper_p () -{ - func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" -} - - -# func_execute_cmds commands fail_cmd -# Execute tilde-delimited COMMANDS. -# If FAIL_CMD is given, eval that upon failure. -# FAIL_CMD may read-access the current command in variable CMD! -func_execute_cmds () -{ - $opt_debug - save_ifs=$IFS; IFS='~' - for cmd in $1; do - IFS=$save_ifs - eval cmd=\"$cmd\" - func_show_eval "$cmd" "${2-:}" - done - IFS=$save_ifs -} - - -# func_source file -# Source FILE, adding directory component if necessary. -# Note that it is not necessary on cygwin/mingw to append a dot to -# FILE even if both FILE and FILE.exe exist: automatic-append-.exe -# behavior happens only for exec(3), not for open(2)! Also, sourcing -# `FILE.' does not work on cygwin managed mounts. -func_source () -{ - $opt_debug - case $1 in - */* | *\\*) . "$1" ;; - *) . "./$1" ;; - esac -} - - -# func_resolve_sysroot PATH -# Replace a leading = in PATH with a sysroot. Store the result into -# func_resolve_sysroot_result -func_resolve_sysroot () -{ - func_resolve_sysroot_result=$1 - case $func_resolve_sysroot_result in - =*) - func_stripname '=' '' "$func_resolve_sysroot_result" - func_resolve_sysroot_result=$lt_sysroot$func_stripname_result - ;; - esac -} - -# func_replace_sysroot PATH -# If PATH begins with the sysroot, replace it with = and -# store the result into func_replace_sysroot_result. -func_replace_sysroot () -{ - case "$lt_sysroot:$1" in - ?*:"$lt_sysroot"*) - func_stripname "$lt_sysroot" '' "$1" - func_replace_sysroot_result="=$func_stripname_result" - ;; - *) - # Including no sysroot. - func_replace_sysroot_result=$1 - ;; - esac -} - -# func_infer_tag arg -# Infer tagged configuration to use if any are available and -# if one wasn't chosen via the "--tag" command line option. -# Only attempt this if the compiler in the base compile -# command doesn't match the default compiler. -# arg is usually of the form 'gcc ...' -func_infer_tag () -{ - $opt_debug - if test -n "$available_tags" && test -z "$tagname"; then - CC_quoted= - for arg in $CC; do - func_append_quoted CC_quoted "$arg" - done - CC_expanded=`func_echo_all $CC` - CC_quoted_expanded=`func_echo_all $CC_quoted` - case $@ in - # Blanks in the command may have been stripped by the calling shell, - # but not from the CC environment variable when configure was run. - " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ - " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; - # Blanks at the start of $base_compile will cause this to fail - # if we don't check for them as well. - *) - for z in $available_tags; do - if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then - # Evaluate the configuration. - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" - CC_quoted= - for arg in $CC; do - # Double-quote args containing other shell metacharacters. - func_append_quoted CC_quoted "$arg" - done - CC_expanded=`func_echo_all $CC` - CC_quoted_expanded=`func_echo_all $CC_quoted` - case "$@ " in - " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ - " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) - # The compiler in the base compile command matches - # the one in the tagged configuration. - # Assume this is the tagged configuration we want. - tagname=$z - break - ;; - esac - fi - done - # If $tagname still isn't set, then no tagged configuration - # was found and let the user know that the "--tag" command - # line option must be used. - if test -z "$tagname"; then - func_echo "unable to infer tagged configuration" - func_fatal_error "specify a tag with \`--tag'" -# else -# func_verbose "using $tagname tagged configuration" - fi - ;; - esac - fi -} - - - -# func_write_libtool_object output_name pic_name nonpic_name -# Create a libtool object file (analogous to a ".la" file), -# but don't create it if we're doing a dry run. -func_write_libtool_object () -{ - write_libobj=${1} - if test "$build_libtool_libs" = yes; then - write_lobj=\'${2}\' - else - write_lobj=none - fi - - if test "$build_old_libs" = yes; then - write_oldobj=\'${3}\' - else - write_oldobj=none - fi - - $opt_dry_run || { - cat >${write_libobj}T </dev/null` - if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then - func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | - $SED -e "$lt_sed_naive_backslashify"` - else - func_convert_core_file_wine_to_w32_result= - fi - fi -} -# end: func_convert_core_file_wine_to_w32 - - -# func_convert_core_path_wine_to_w32 ARG -# Helper function used by path conversion functions when $build is *nix, and -# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly -# configured wine environment available, with the winepath program in $build's -# $PATH. Assumes ARG has no leading or trailing path separator characters. -# -# ARG is path to be converted from $build format to win32. -# Result is available in $func_convert_core_path_wine_to_w32_result. -# Unconvertible file (directory) names in ARG are skipped; if no directory names -# are convertible, then the result may be empty. -func_convert_core_path_wine_to_w32 () -{ - $opt_debug - # unfortunately, winepath doesn't convert paths, only file names - func_convert_core_path_wine_to_w32_result="" - if test -n "$1"; then - oldIFS=$IFS - IFS=: - for func_convert_core_path_wine_to_w32_f in $1; do - IFS=$oldIFS - func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" - if test -n "$func_convert_core_file_wine_to_w32_result" ; then - if test -z "$func_convert_core_path_wine_to_w32_result"; then - func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result" - else - func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" - fi - fi - done - IFS=$oldIFS - fi -} -# end: func_convert_core_path_wine_to_w32 - - -# func_cygpath ARGS... -# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when -# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) -# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or -# (2), returns the Cygwin file name or path in func_cygpath_result (input -# file name or path is assumed to be in w32 format, as previously converted -# from $build's *nix or MSYS format). In case (3), returns the w32 file name -# or path in func_cygpath_result (input file name or path is assumed to be in -# Cygwin format). Returns an empty string on error. -# -# ARGS are passed to cygpath, with the last one being the file name or path to -# be converted. -# -# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH -# environment variable; do not put it in $PATH. -func_cygpath () -{ - $opt_debug - if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then - func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` - if test "$?" -ne 0; then - # on failure, ensure result is empty - func_cygpath_result= - fi - else - func_cygpath_result= - func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'" - fi -} -#end: func_cygpath - - -# func_convert_core_msys_to_w32 ARG -# Convert file name or path ARG from MSYS format to w32 format. Return -# result in func_convert_core_msys_to_w32_result. -func_convert_core_msys_to_w32 () -{ - $opt_debug - # awkward: cmd appends spaces to result - func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | - $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"` -} -#end: func_convert_core_msys_to_w32 - - -# func_convert_file_check ARG1 ARG2 -# Verify that ARG1 (a file name in $build format) was converted to $host -# format in ARG2. Otherwise, emit an error message, but continue (resetting -# func_to_host_file_result to ARG1). -func_convert_file_check () -{ - $opt_debug - if test -z "$2" && test -n "$1" ; then - func_error "Could not determine host file name corresponding to" - func_error " \`$1'" - func_error "Continuing, but uninstalled executables may not work." - # Fallback: - func_to_host_file_result="$1" - fi -} -# end func_convert_file_check - - -# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH -# Verify that FROM_PATH (a path in $build format) was converted to $host -# format in TO_PATH. Otherwise, emit an error message, but continue, resetting -# func_to_host_file_result to a simplistic fallback value (see below). -func_convert_path_check () -{ - $opt_debug - if test -z "$4" && test -n "$3"; then - func_error "Could not determine the host path corresponding to" - func_error " \`$3'" - func_error "Continuing, but uninstalled executables may not work." - # Fallback. This is a deliberately simplistic "conversion" and - # should not be "improved". See libtool.info. - if test "x$1" != "x$2"; then - lt_replace_pathsep_chars="s|$1|$2|g" - func_to_host_path_result=`echo "$3" | - $SED -e "$lt_replace_pathsep_chars"` - else - func_to_host_path_result="$3" - fi - fi -} -# end func_convert_path_check - - -# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG -# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT -# and appending REPL if ORIG matches BACKPAT. -func_convert_path_front_back_pathsep () -{ - $opt_debug - case $4 in - $1 ) func_to_host_path_result="$3$func_to_host_path_result" - ;; - esac - case $4 in - $2 ) func_append func_to_host_path_result "$3" - ;; - esac -} -# end func_convert_path_front_back_pathsep - - -################################################## -# $build to $host FILE NAME CONVERSION FUNCTIONS # -################################################## -# invoked via `$to_host_file_cmd ARG' -# -# In each case, ARG is the path to be converted from $build to $host format. -# Result will be available in $func_to_host_file_result. - - -# func_to_host_file ARG -# Converts the file name ARG from $build format to $host format. Return result -# in func_to_host_file_result. -func_to_host_file () -{ - $opt_debug - $to_host_file_cmd "$1" -} -# end func_to_host_file - - -# func_to_tool_file ARG LAZY -# converts the file name ARG from $build format to toolchain format. Return -# result in func_to_tool_file_result. If the conversion in use is listed -# in (the comma separated) LAZY, no conversion takes place. -func_to_tool_file () -{ - $opt_debug - case ,$2, in - *,"$to_tool_file_cmd",*) - func_to_tool_file_result=$1 - ;; - *) - $to_tool_file_cmd "$1" - func_to_tool_file_result=$func_to_host_file_result - ;; - esac -} -# end func_to_tool_file - - -# func_convert_file_noop ARG -# Copy ARG to func_to_host_file_result. -func_convert_file_noop () -{ - func_to_host_file_result="$1" -} -# end func_convert_file_noop - - -# func_convert_file_msys_to_w32 ARG -# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic -# conversion to w32 is not available inside the cwrapper. Returns result in -# func_to_host_file_result. -func_convert_file_msys_to_w32 () -{ - $opt_debug - func_to_host_file_result="$1" - if test -n "$1"; then - func_convert_core_msys_to_w32 "$1" - func_to_host_file_result="$func_convert_core_msys_to_w32_result" - fi - func_convert_file_check "$1" "$func_to_host_file_result" -} -# end func_convert_file_msys_to_w32 - - -# func_convert_file_cygwin_to_w32 ARG -# Convert file name ARG from Cygwin to w32 format. Returns result in -# func_to_host_file_result. -func_convert_file_cygwin_to_w32 () -{ - $opt_debug - func_to_host_file_result="$1" - if test -n "$1"; then - # because $build is cygwin, we call "the" cygpath in $PATH; no need to use - # LT_CYGPATH in this case. - func_to_host_file_result=`cygpath -m "$1"` - fi - func_convert_file_check "$1" "$func_to_host_file_result" -} -# end func_convert_file_cygwin_to_w32 - - -# func_convert_file_nix_to_w32 ARG -# Convert file name ARG from *nix to w32 format. Requires a wine environment -# and a working winepath. Returns result in func_to_host_file_result. -func_convert_file_nix_to_w32 () -{ - $opt_debug - func_to_host_file_result="$1" - if test -n "$1"; then - func_convert_core_file_wine_to_w32 "$1" - func_to_host_file_result="$func_convert_core_file_wine_to_w32_result" - fi - func_convert_file_check "$1" "$func_to_host_file_result" -} -# end func_convert_file_nix_to_w32 - - -# func_convert_file_msys_to_cygwin ARG -# Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. -# Returns result in func_to_host_file_result. -func_convert_file_msys_to_cygwin () -{ - $opt_debug - func_to_host_file_result="$1" - if test -n "$1"; then - func_convert_core_msys_to_w32 "$1" - func_cygpath -u "$func_convert_core_msys_to_w32_result" - func_to_host_file_result="$func_cygpath_result" - fi - func_convert_file_check "$1" "$func_to_host_file_result" -} -# end func_convert_file_msys_to_cygwin - - -# func_convert_file_nix_to_cygwin ARG -# Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed -# in a wine environment, working winepath, and LT_CYGPATH set. Returns result -# in func_to_host_file_result. -func_convert_file_nix_to_cygwin () -{ - $opt_debug - func_to_host_file_result="$1" - if test -n "$1"; then - # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. - func_convert_core_file_wine_to_w32 "$1" - func_cygpath -u "$func_convert_core_file_wine_to_w32_result" - func_to_host_file_result="$func_cygpath_result" - fi - func_convert_file_check "$1" "$func_to_host_file_result" -} -# end func_convert_file_nix_to_cygwin - - -############################################# -# $build to $host PATH CONVERSION FUNCTIONS # -############################################# -# invoked via `$to_host_path_cmd ARG' -# -# In each case, ARG is the path to be converted from $build to $host format. -# The result will be available in $func_to_host_path_result. -# -# Path separators are also converted from $build format to $host format. If -# ARG begins or ends with a path separator character, it is preserved (but -# converted to $host format) on output. -# -# All path conversion functions are named using the following convention: -# file name conversion function : func_convert_file_X_to_Y () -# path conversion function : func_convert_path_X_to_Y () -# where, for any given $build/$host combination the 'X_to_Y' value is the -# same. If conversion functions are added for new $build/$host combinations, -# the two new functions must follow this pattern, or func_init_to_host_path_cmd -# will break. - - -# func_init_to_host_path_cmd -# Ensures that function "pointer" variable $to_host_path_cmd is set to the -# appropriate value, based on the value of $to_host_file_cmd. -to_host_path_cmd= -func_init_to_host_path_cmd () -{ - $opt_debug - if test -z "$to_host_path_cmd"; then - func_stripname 'func_convert_file_' '' "$to_host_file_cmd" - to_host_path_cmd="func_convert_path_${func_stripname_result}" - fi -} - - -# func_to_host_path ARG -# Converts the path ARG from $build format to $host format. Return result -# in func_to_host_path_result. -func_to_host_path () -{ - $opt_debug - func_init_to_host_path_cmd - $to_host_path_cmd "$1" -} -# end func_to_host_path - - -# func_convert_path_noop ARG -# Copy ARG to func_to_host_path_result. -func_convert_path_noop () -{ - func_to_host_path_result="$1" -} -# end func_convert_path_noop - - -# func_convert_path_msys_to_w32 ARG -# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic -# conversion to w32 is not available inside the cwrapper. Returns result in -# func_to_host_path_result. -func_convert_path_msys_to_w32 () -{ - $opt_debug - func_to_host_path_result="$1" - if test -n "$1"; then - # Remove leading and trailing path separator characters from ARG. MSYS - # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; - # and winepath ignores them completely. - func_stripname : : "$1" - func_to_host_path_tmp1=$func_stripname_result - func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" - func_to_host_path_result="$func_convert_core_msys_to_w32_result" - func_convert_path_check : ";" \ - "$func_to_host_path_tmp1" "$func_to_host_path_result" - func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" - fi -} -# end func_convert_path_msys_to_w32 - - -# func_convert_path_cygwin_to_w32 ARG -# Convert path ARG from Cygwin to w32 format. Returns result in -# func_to_host_file_result. -func_convert_path_cygwin_to_w32 () -{ - $opt_debug - func_to_host_path_result="$1" - if test -n "$1"; then - # See func_convert_path_msys_to_w32: - func_stripname : : "$1" - func_to_host_path_tmp1=$func_stripname_result - func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` - func_convert_path_check : ";" \ - "$func_to_host_path_tmp1" "$func_to_host_path_result" - func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" - fi -} -# end func_convert_path_cygwin_to_w32 - - -# func_convert_path_nix_to_w32 ARG -# Convert path ARG from *nix to w32 format. Requires a wine environment and -# a working winepath. Returns result in func_to_host_file_result. -func_convert_path_nix_to_w32 () -{ - $opt_debug - func_to_host_path_result="$1" - if test -n "$1"; then - # See func_convert_path_msys_to_w32: - func_stripname : : "$1" - func_to_host_path_tmp1=$func_stripname_result - func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" - func_to_host_path_result="$func_convert_core_path_wine_to_w32_result" - func_convert_path_check : ";" \ - "$func_to_host_path_tmp1" "$func_to_host_path_result" - func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" - fi -} -# end func_convert_path_nix_to_w32 - - -# func_convert_path_msys_to_cygwin ARG -# Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. -# Returns result in func_to_host_file_result. -func_convert_path_msys_to_cygwin () -{ - $opt_debug - func_to_host_path_result="$1" - if test -n "$1"; then - # See func_convert_path_msys_to_w32: - func_stripname : : "$1" - func_to_host_path_tmp1=$func_stripname_result - func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" - func_cygpath -u -p "$func_convert_core_msys_to_w32_result" - func_to_host_path_result="$func_cygpath_result" - func_convert_path_check : : \ - "$func_to_host_path_tmp1" "$func_to_host_path_result" - func_convert_path_front_back_pathsep ":*" "*:" : "$1" - fi -} -# end func_convert_path_msys_to_cygwin - - -# func_convert_path_nix_to_cygwin ARG -# Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a -# a wine environment, working winepath, and LT_CYGPATH set. Returns result in -# func_to_host_file_result. -func_convert_path_nix_to_cygwin () -{ - $opt_debug - func_to_host_path_result="$1" - if test -n "$1"; then - # Remove leading and trailing path separator characters from - # ARG. msys behavior is inconsistent here, cygpath turns them - # into '.;' and ';.', and winepath ignores them completely. - func_stripname : : "$1" - func_to_host_path_tmp1=$func_stripname_result - func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" - func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" - func_to_host_path_result="$func_cygpath_result" - func_convert_path_check : : \ - "$func_to_host_path_tmp1" "$func_to_host_path_result" - func_convert_path_front_back_pathsep ":*" "*:" : "$1" - fi -} -# end func_convert_path_nix_to_cygwin - - -# func_mode_compile arg... -func_mode_compile () -{ - $opt_debug - # Get the compilation command and the source file. - base_compile= - srcfile="$nonopt" # always keep a non-empty value in "srcfile" - suppress_opt=yes - suppress_output= - arg_mode=normal - libobj= - later= - pie_flag= - - for arg - do - case $arg_mode in - arg ) - # do not "continue". Instead, add this to base_compile - lastarg="$arg" - arg_mode=normal - ;; - - target ) - libobj="$arg" - arg_mode=normal - continue - ;; - - normal ) - # Accept any command-line options. - case $arg in - -o) - test -n "$libobj" && \ - func_fatal_error "you cannot specify \`-o' more than once" - arg_mode=target - continue - ;; - - -pie | -fpie | -fPIE) - func_append pie_flag " $arg" - continue - ;; - - -shared | -static | -prefer-pic | -prefer-non-pic) - func_append later " $arg" - continue - ;; - - -no-suppress) - suppress_opt=no - continue - ;; - - -Xcompiler) - arg_mode=arg # the next one goes into the "base_compile" arg list - continue # The current "srcfile" will either be retained or - ;; # replaced later. I would guess that would be a bug. - - -Wc,*) - func_stripname '-Wc,' '' "$arg" - args=$func_stripname_result - lastarg= - save_ifs="$IFS"; IFS=',' - for arg in $args; do - IFS="$save_ifs" - func_append_quoted lastarg "$arg" - done - IFS="$save_ifs" - func_stripname ' ' '' "$lastarg" - lastarg=$func_stripname_result - - # Add the arguments to base_compile. - func_append base_compile " $lastarg" - continue - ;; - - *) - # Accept the current argument as the source file. - # The previous "srcfile" becomes the current argument. - # - lastarg="$srcfile" - srcfile="$arg" - ;; - esac # case $arg - ;; - esac # case $arg_mode - - # Aesthetically quote the previous argument. - func_append_quoted base_compile "$lastarg" - done # for arg - - case $arg_mode in - arg) - func_fatal_error "you must specify an argument for -Xcompile" - ;; - target) - func_fatal_error "you must specify a target with \`-o'" - ;; - *) - # Get the name of the library object. - test -z "$libobj" && { - func_basename "$srcfile" - libobj="$func_basename_result" - } - ;; - esac - - # Recognize several different file suffixes. - # If the user specifies -o file.o, it is replaced with file.lo - case $libobj in - *.[cCFSifmso] | \ - *.ada | *.adb | *.ads | *.asm | \ - *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ - *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup) - func_xform "$libobj" - libobj=$func_xform_result - ;; - esac - - case $libobj in - *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;; - *) - func_fatal_error "cannot determine name of library object from \`$libobj'" - ;; - esac - - func_infer_tag $base_compile - - for arg in $later; do - case $arg in - -shared) - test "$build_libtool_libs" != yes && \ - func_fatal_configuration "can not build a shared library" - build_old_libs=no - continue - ;; - - -static) - build_libtool_libs=no - build_old_libs=yes - continue - ;; - - -prefer-pic) - pic_mode=yes - continue - ;; - - -prefer-non-pic) - pic_mode=no - continue - ;; - esac - done - - func_quote_for_eval "$libobj" - test "X$libobj" != "X$func_quote_for_eval_result" \ - && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \ - && func_warning "libobj name \`$libobj' may not contain shell special characters." - func_dirname_and_basename "$obj" "/" "" - objname="$func_basename_result" - xdir="$func_dirname_result" - lobj=${xdir}$objdir/$objname - - test -z "$base_compile" && \ - func_fatal_help "you must specify a compilation command" - - # Delete any leftover library objects. - if test "$build_old_libs" = yes; then - removelist="$obj $lobj $libobj ${libobj}T" - else - removelist="$lobj $libobj ${libobj}T" - fi - - # On Cygwin there's no "real" PIC flag so we must build both object types - case $host_os in - cygwin* | mingw* | pw32* | os2* | cegcc*) - pic_mode=default - ;; - esac - if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then - # non-PIC code in shared libraries is not supported - pic_mode=default - fi - - # Calculate the filename of the output object if compiler does - # not support -o with -c - if test "$compiler_c_o" = no; then - output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext} - lockfile="$output_obj.lock" - else - output_obj= - need_locks=no - lockfile= - fi - - # Lock this critical section if it is needed - # We use this script file to make the link, it avoids creating a new file - if test "$need_locks" = yes; then - until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do - func_echo "Waiting for $lockfile to be removed" - sleep 2 - done - elif test "$need_locks" = warn; then - if test -f "$lockfile"; then - $ECHO "\ -*** ERROR, $lockfile exists and contains: -`cat $lockfile 2>/dev/null` - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support \`-c' and \`-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $opt_dry_run || $RM $removelist - exit $EXIT_FAILURE - fi - func_append removelist " $output_obj" - $ECHO "$srcfile" > "$lockfile" - fi - - $opt_dry_run || $RM $removelist - func_append removelist " $lockfile" - trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 - - func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 - srcfile=$func_to_tool_file_result - func_quote_for_eval "$srcfile" - qsrcfile=$func_quote_for_eval_result - - # Only build a PIC object if we are building libtool libraries. - if test "$build_libtool_libs" = yes; then - # Without this assignment, base_compile gets emptied. - fbsd_hideous_sh_bug=$base_compile - - if test "$pic_mode" != no; then - command="$base_compile $qsrcfile $pic_flag" - else - # Don't build PIC code - command="$base_compile $qsrcfile" - fi - - func_mkdir_p "$xdir$objdir" - - if test -z "$output_obj"; then - # Place PIC objects in $objdir - func_append command " -o $lobj" - fi - - func_show_eval_locale "$command" \ - 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' - - if test "$need_locks" = warn && - test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then - $ECHO "\ -*** ERROR, $lockfile contains: -`cat $lockfile 2>/dev/null` - -but it should contain: -$srcfile - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support \`-c' and \`-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $opt_dry_run || $RM $removelist - exit $EXIT_FAILURE - fi - - # Just move the object if needed, then go on to compile the next one - if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then - func_show_eval '$MV "$output_obj" "$lobj"' \ - 'error=$?; $opt_dry_run || $RM $removelist; exit $error' - fi - - # Allow error messages only from the first compilation. - if test "$suppress_opt" = yes; then - suppress_output=' >/dev/null 2>&1' - fi - fi - - # Only build a position-dependent object if we build old libraries. - if test "$build_old_libs" = yes; then - if test "$pic_mode" != yes; then - # Don't build PIC code - command="$base_compile $qsrcfile$pie_flag" - else - command="$base_compile $qsrcfile $pic_flag" - fi - if test "$compiler_c_o" = yes; then - func_append command " -o $obj" - fi - - # Suppress compiler output if we already did a PIC compilation. - func_append command "$suppress_output" - func_show_eval_locale "$command" \ - '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' - - if test "$need_locks" = warn && - test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then - $ECHO "\ -*** ERROR, $lockfile contains: -`cat $lockfile 2>/dev/null` - -but it should contain: -$srcfile - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support \`-c' and \`-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $opt_dry_run || $RM $removelist - exit $EXIT_FAILURE - fi - - # Just move the object if needed - if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then - func_show_eval '$MV "$output_obj" "$obj"' \ - 'error=$?; $opt_dry_run || $RM $removelist; exit $error' - fi - fi - - $opt_dry_run || { - func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" - - # Unlock the critical section if it was locked - if test "$need_locks" != no; then - removelist=$lockfile - $RM "$lockfile" - fi - } - - exit $EXIT_SUCCESS -} - -$opt_help || { - test "$opt_mode" = compile && func_mode_compile ${1+"$@"} -} - -func_mode_help () -{ - # We need to display help for each of the modes. - case $opt_mode in - "") - # Generic help is extracted from the usage comments - # at the start of this file. - func_help - ;; - - clean) - $ECHO \ -"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... - -Remove files from the build directory. - -RM is the name of the program to use to delete files associated with each FILE -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed -to RM. - -If FILE is a libtool library, object or program, all the files associated -with it are deleted. Otherwise, only FILE itself is deleted using RM." - ;; - - compile) - $ECHO \ -"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE - -Compile a source file into a libtool library object. - -This mode accepts the following additional options: - - -o OUTPUT-FILE set the output file name to OUTPUT-FILE - -no-suppress do not suppress compiler output for multiple passes - -prefer-pic try to build PIC objects only - -prefer-non-pic try to build non-PIC objects only - -shared do not build a \`.o' file suitable for static linking - -static only build a \`.o' file suitable for static linking - -Wc,FLAG pass FLAG directly to the compiler - -COMPILE-COMMAND is a command to be used in creating a \`standard' object file -from the given SOURCEFILE. - -The output file name is determined by removing the directory component from -SOURCEFILE, then substituting the C source code suffix \`.c' with the -library object suffix, \`.lo'." - ;; - - execute) - $ECHO \ -"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... - -Automatically set library path, then run a program. - -This mode accepts the following additional options: - - -dlopen FILE add the directory containing FILE to the library path - -This mode sets the library path environment variable according to \`-dlopen' -flags. - -If any of the ARGS are libtool executable wrappers, then they are translated -into their corresponding uninstalled binary, and any of their required library -directories are added to the library path. - -Then, COMMAND is executed, with ARGS as arguments." - ;; - - finish) - $ECHO \ -"Usage: $progname [OPTION]... --mode=finish [LIBDIR]... - -Complete the installation of libtool libraries. - -Each LIBDIR is a directory that contains libtool libraries. - -The commands that this mode executes may require superuser privileges. Use -the \`--dry-run' option if you just want to see what would be executed." - ;; - - install) - $ECHO \ -"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... - -Install executables or libraries. - -INSTALL-COMMAND is the installation command. The first component should be -either the \`install' or \`cp' program. - -The following components of INSTALL-COMMAND are treated specially: - - -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation - -The rest of the components are interpreted as arguments to that command (only -BSD-compatible install options are recognized)." - ;; - - link) - $ECHO \ -"Usage: $progname [OPTION]... --mode=link LINK-COMMAND... - -Link object files or libraries together to form another library, or to -create an executable program. - -LINK-COMMAND is a command using the C compiler that you would use to create -a program from several object files. - -The following components of LINK-COMMAND are treated specially: - - -all-static do not do any dynamic linking at all - -avoid-version do not add a version suffix if possible - -bindir BINDIR specify path to binaries directory (for systems where - libraries must be found in the PATH setting at runtime) - -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime - -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols - -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) - -export-symbols SYMFILE - try to export only the symbols listed in SYMFILE - -export-symbols-regex REGEX - try to export only the symbols matching REGEX - -LLIBDIR search LIBDIR for required installed libraries - -lNAME OUTPUT-FILE requires the installed library libNAME - -module build a library that can dlopened - -no-fast-install disable the fast-install mode - -no-install link a not-installable executable - -no-undefined declare that a library does not refer to external symbols - -o OUTPUT-FILE create OUTPUT-FILE from the specified objects - -objectlist FILE Use a list of object files found in FILE to specify objects - -precious-files-regex REGEX - don't remove output files matching REGEX - -release RELEASE specify package release information - -rpath LIBDIR the created library will eventually be installed in LIBDIR - -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries - -shared only do dynamic linking of libtool libraries - -shrext SUFFIX override the standard shared library file extension - -static do not do any dynamic linking of uninstalled libtool libraries - -static-libtool-libs - do not do any dynamic linking of libtool libraries - -version-info CURRENT[:REVISION[:AGE]] - specify library version info [each variable defaults to 0] - -weak LIBNAME declare that the target provides the LIBNAME interface - -Wc,FLAG - -Xcompiler FLAG pass linker-specific FLAG directly to the compiler - -Wl,FLAG - -Xlinker FLAG pass linker-specific FLAG directly to the linker - -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) - -All other options (arguments beginning with \`-') are ignored. - -Every other argument is treated as a filename. Files ending in \`.la' are -treated as uninstalled libtool libraries, other files are standard or library -object files. - -If the OUTPUT-FILE ends in \`.la', then a libtool library is created, -only library objects (\`.lo' files) may be specified, and \`-rpath' is -required, except when creating a convenience library. - -If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created -using \`ar' and \`ranlib', or on Windows using \`lib'. - -If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file -is created, otherwise an executable program is created." - ;; - - uninstall) - $ECHO \ -"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... - -Remove libraries from an installation directory. - -RM is the name of the program to use to delete files associated with each FILE -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed -to RM. - -If FILE is a libtool library, all the files associated with it are deleted. -Otherwise, only FILE itself is deleted using RM." - ;; - - *) - func_fatal_help "invalid operation mode \`$opt_mode'" - ;; - esac - - echo - $ECHO "Try \`$progname --help' for more information about other modes." -} - -# Now that we've collected a possible --mode arg, show help if necessary -if $opt_help; then - if test "$opt_help" = :; then - func_mode_help - else - { - func_help noexit - for opt_mode in compile link execute install finish uninstall clean; do - func_mode_help - done - } | sed -n '1p; 2,$s/^Usage:/ or: /p' - { - func_help noexit - for opt_mode in compile link execute install finish uninstall clean; do - echo - func_mode_help - done - } | - sed '1d - /^When reporting/,/^Report/{ - H - d - } - $x - /information about other modes/d - /more detailed .*MODE/d - s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' - fi - exit $? -fi - - -# func_mode_execute arg... -func_mode_execute () -{ - $opt_debug - # The first argument is the command name. - cmd="$nonopt" - test -z "$cmd" && \ - func_fatal_help "you must specify a COMMAND" - - # Handle -dlopen flags immediately. - for file in $opt_dlopen; do - test -f "$file" \ - || func_fatal_help "\`$file' is not a file" - - dir= - case $file in - *.la) - func_resolve_sysroot "$file" - file=$func_resolve_sysroot_result - - # Check to see that this really is a libtool archive. - func_lalib_unsafe_p "$file" \ - || func_fatal_help "\`$lib' is not a valid libtool archive" - - # Read the libtool library. - dlname= - library_names= - func_source "$file" - - # Skip this library if it cannot be dlopened. - if test -z "$dlname"; then - # Warn if it was a shared library. - test -n "$library_names" && \ - func_warning "\`$file' was not linked with \`-export-dynamic'" - continue - fi - - func_dirname "$file" "" "." - dir="$func_dirname_result" - - if test -f "$dir/$objdir/$dlname"; then - func_append dir "/$objdir" - else - if test ! -f "$dir/$dlname"; then - func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" - fi - fi - ;; - - *.lo) - # Just add the directory containing the .lo file. - func_dirname "$file" "" "." - dir="$func_dirname_result" - ;; - - *) - func_warning "\`-dlopen' is ignored for non-libtool libraries and objects" - continue - ;; - esac - - # Get the absolute pathname. - absdir=`cd "$dir" && pwd` - test -n "$absdir" && dir="$absdir" - - # Now add the directory to shlibpath_var. - if eval "test -z \"\$$shlibpath_var\""; then - eval "$shlibpath_var=\"\$dir\"" - else - eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" - fi - done - - # This variable tells wrapper scripts just to set shlibpath_var - # rather than running their programs. - libtool_execute_magic="$magic" - - # Check if any of the arguments is a wrapper script. - args= - for file - do - case $file in - -* | *.la | *.lo ) ;; - *) - # Do a test to see if this is really a libtool program. - if func_ltwrapper_script_p "$file"; then - func_source "$file" - # Transform arg to wrapped name. - file="$progdir/$program" - elif func_ltwrapper_executable_p "$file"; then - func_ltwrapper_scriptname "$file" - func_source "$func_ltwrapper_scriptname_result" - # Transform arg to wrapped name. - file="$progdir/$program" - fi - ;; - esac - # Quote arguments (to preserve shell metacharacters). - func_append_quoted args "$file" - done - - if test "X$opt_dry_run" = Xfalse; then - if test -n "$shlibpath_var"; then - # Export the shlibpath_var. - eval "export $shlibpath_var" - fi - - # Restore saved environment variables - for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES - do - eval "if test \"\${save_$lt_var+set}\" = set; then - $lt_var=\$save_$lt_var; export $lt_var - else - $lt_unset $lt_var - fi" - done - - # Now prepare to actually exec the command. - exec_cmd="\$cmd$args" - else - # Display what would be done. - if test -n "$shlibpath_var"; then - eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" - echo "export $shlibpath_var" - fi - $ECHO "$cmd$args" - exit $EXIT_SUCCESS - fi -} - -test "$opt_mode" = execute && func_mode_execute ${1+"$@"} - - -# func_mode_finish arg... -func_mode_finish () -{ - $opt_debug - libs= - libdirs= - admincmds= - - for opt in "$nonopt" ${1+"$@"} - do - if test -d "$opt"; then - func_append libdirs " $opt" - - elif test -f "$opt"; then - if func_lalib_unsafe_p "$opt"; then - func_append libs " $opt" - else - func_warning "\`$opt' is not a valid libtool archive" - fi - - else - func_fatal_error "invalid argument \`$opt'" - fi - done - - if test -n "$libs"; then - if test -n "$lt_sysroot"; then - sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` - sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" - else - sysroot_cmd= - fi - - # Remove sysroot references - if $opt_dry_run; then - for lib in $libs; do - echo "removing references to $lt_sysroot and \`=' prefixes from $lib" - done - else - tmpdir=`func_mktempdir` - for lib in $libs; do - sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ - > $tmpdir/tmp-la - mv -f $tmpdir/tmp-la $lib - done - ${RM}r "$tmpdir" - fi - fi - - if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then - for libdir in $libdirs; do - if test -n "$finish_cmds"; then - # Do each command in the finish commands. - func_execute_cmds "$finish_cmds" 'admincmds="$admincmds -'"$cmd"'"' - fi - if test -n "$finish_eval"; then - # Do the single finish_eval. - eval cmds=\"$finish_eval\" - $opt_dry_run || eval "$cmds" || func_append admincmds " - $cmds" - fi - done - fi - - # Exit here if they wanted silent mode. - $opt_silent && exit $EXIT_SUCCESS - - if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then - echo "----------------------------------------------------------------------" - echo "Libraries have been installed in:" - for libdir in $libdirs; do - $ECHO " $libdir" - done - echo - echo "If you ever happen to want to link against installed libraries" - echo "in a given directory, LIBDIR, you must either use libtool, and" - echo "specify the full pathname of the library, or use the \`-LLIBDIR'" - echo "flag during linking and do at least one of the following:" - if test -n "$shlibpath_var"; then - echo " - add LIBDIR to the \`$shlibpath_var' environment variable" - echo " during execution" - fi - if test -n "$runpath_var"; then - echo " - add LIBDIR to the \`$runpath_var' environment variable" - echo " during linking" - fi - if test -n "$hardcode_libdir_flag_spec"; then - libdir=LIBDIR - eval flag=\"$hardcode_libdir_flag_spec\" - - $ECHO " - use the \`$flag' linker flag" - fi - if test -n "$admincmds"; then - $ECHO " - have your system administrator run these commands:$admincmds" - fi - if test -f /etc/ld.so.conf; then - echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" - fi - echo - - echo "See any operating system documentation about shared libraries for" - case $host in - solaris2.[6789]|solaris2.1[0-9]) - echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" - echo "pages." - ;; - *) - echo "more information, such as the ld(1) and ld.so(8) manual pages." - ;; - esac - echo "----------------------------------------------------------------------" - fi - exit $EXIT_SUCCESS -} - -test "$opt_mode" = finish && func_mode_finish ${1+"$@"} - - -# func_mode_install arg... -func_mode_install () -{ - $opt_debug - # There may be an optional sh(1) argument at the beginning of - # install_prog (especially on Windows NT). - if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || - # Allow the use of GNU shtool's install command. - case $nonopt in *shtool*) :;; *) false;; esac; then - # Aesthetically quote it. - func_quote_for_eval "$nonopt" - install_prog="$func_quote_for_eval_result " - arg=$1 - shift - else - install_prog= - arg=$nonopt - fi - - # The real first argument should be the name of the installation program. - # Aesthetically quote it. - func_quote_for_eval "$arg" - func_append install_prog "$func_quote_for_eval_result" - install_shared_prog=$install_prog - case " $install_prog " in - *[\\\ /]cp\ *) install_cp=: ;; - *) install_cp=false ;; - esac - - # We need to accept at least all the BSD install flags. - dest= - files= - opts= - prev= - install_type= - isdir=no - stripme= - no_mode=: - for arg - do - arg2= - if test -n "$dest"; then - func_append files " $dest" - dest=$arg - continue - fi - - case $arg in - -d) isdir=yes ;; - -f) - if $install_cp; then :; else - prev=$arg - fi - ;; - -g | -m | -o) - prev=$arg - ;; - -s) - stripme=" -s" - continue - ;; - -*) - ;; - *) - # If the previous option needed an argument, then skip it. - if test -n "$prev"; then - if test "x$prev" = x-m && test -n "$install_override_mode"; then - arg2=$install_override_mode - no_mode=false - fi - prev= - else - dest=$arg - continue - fi - ;; - esac - - # Aesthetically quote the argument. - func_quote_for_eval "$arg" - func_append install_prog " $func_quote_for_eval_result" - if test -n "$arg2"; then - func_quote_for_eval "$arg2" - fi - func_append install_shared_prog " $func_quote_for_eval_result" - done - - test -z "$install_prog" && \ - func_fatal_help "you must specify an install program" - - test -n "$prev" && \ - func_fatal_help "the \`$prev' option requires an argument" - - if test -n "$install_override_mode" && $no_mode; then - if $install_cp; then :; else - func_quote_for_eval "$install_override_mode" - func_append install_shared_prog " -m $func_quote_for_eval_result" - fi - fi - - if test -z "$files"; then - if test -z "$dest"; then - func_fatal_help "no file or destination specified" - else - func_fatal_help "you must specify a destination" - fi - fi - - # Strip any trailing slash from the destination. - func_stripname '' '/' "$dest" - dest=$func_stripname_result - - # Check to see that the destination is a directory. - test -d "$dest" && isdir=yes - if test "$isdir" = yes; then - destdir="$dest" - destname= - else - func_dirname_and_basename "$dest" "" "." - destdir="$func_dirname_result" - destname="$func_basename_result" - - # Not a directory, so check to see that there is only one file specified. - set dummy $files; shift - test "$#" -gt 1 && \ - func_fatal_help "\`$dest' is not a directory" - fi - case $destdir in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - for file in $files; do - case $file in - *.lo) ;; - *) - func_fatal_help "\`$destdir' must be an absolute directory name" - ;; - esac - done - ;; - esac - - # This variable tells wrapper scripts just to set variables rather - # than running their programs. - libtool_install_magic="$magic" - - staticlibs= - future_libdirs= - current_libdirs= - for file in $files; do - - # Do each installation. - case $file in - *.$libext) - # Do the static libraries later. - func_append staticlibs " $file" - ;; - - *.la) - func_resolve_sysroot "$file" - file=$func_resolve_sysroot_result - - # Check to see that this really is a libtool archive. - func_lalib_unsafe_p "$file" \ - || func_fatal_help "\`$file' is not a valid libtool archive" - - library_names= - old_library= - relink_command= - func_source "$file" - - # Add the libdir to current_libdirs if it is the destination. - if test "X$destdir" = "X$libdir"; then - case "$current_libdirs " in - *" $libdir "*) ;; - *) func_append current_libdirs " $libdir" ;; - esac - else - # Note the libdir as a future libdir. - case "$future_libdirs " in - *" $libdir "*) ;; - *) func_append future_libdirs " $libdir" ;; - esac - fi - - func_dirname "$file" "/" "" - dir="$func_dirname_result" - func_append dir "$objdir" - - if test -n "$relink_command"; then - # Determine the prefix the user has applied to our future dir. - inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` - - # Don't allow the user to place us outside of our expected - # location b/c this prevents finding dependent libraries that - # are installed to the same prefix. - # At present, this check doesn't affect windows .dll's that - # are installed into $libdir/../bin (currently, that works fine) - # but it's something to keep an eye on. - test "$inst_prefix_dir" = "$destdir" && \ - func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir" - - if test -n "$inst_prefix_dir"; then - # Stick the inst_prefix_dir data into the link command. - relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` - else - relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` - fi - - func_warning "relinking \`$file'" - func_show_eval "$relink_command" \ - 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"' - fi - - # See the names of the shared library. - set dummy $library_names; shift - if test -n "$1"; then - realname="$1" - shift - - srcname="$realname" - test -n "$relink_command" && srcname="$realname"T - - # Install the shared library and build the symlinks. - func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ - 'exit $?' - tstripme="$stripme" - case $host_os in - cygwin* | mingw* | pw32* | cegcc*) - case $realname in - *.dll.a) - tstripme="" - ;; - esac - ;; - esac - if test -n "$tstripme" && test -n "$striplib"; then - func_show_eval "$striplib $destdir/$realname" 'exit $?' - fi - - if test "$#" -gt 0; then - # Delete the old symlinks, and create new ones. - # Try `ln -sf' first, because the `ln' binary might depend on - # the symlink we replace! Solaris /bin/ln does not understand -f, - # so we also need to try rm && ln -s. - for linkname - do - test "$linkname" != "$realname" \ - && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" - done - fi - - # Do each command in the postinstall commands. - lib="$destdir/$realname" - func_execute_cmds "$postinstall_cmds" 'exit $?' - fi - - # Install the pseudo-library for information purposes. - func_basename "$file" - name="$func_basename_result" - instname="$dir/$name"i - func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' - - # Maybe install the static library, too. - test -n "$old_library" && func_append staticlibs " $dir/$old_library" - ;; - - *.lo) - # Install (i.e. copy) a libtool object. - - # Figure out destination file name, if it wasn't already specified. - if test -n "$destname"; then - destfile="$destdir/$destname" - else - func_basename "$file" - destfile="$func_basename_result" - destfile="$destdir/$destfile" - fi - - # Deduce the name of the destination old-style object file. - case $destfile in - *.lo) - func_lo2o "$destfile" - staticdest=$func_lo2o_result - ;; - *.$objext) - staticdest="$destfile" - destfile= - ;; - *) - func_fatal_help "cannot copy a libtool object to \`$destfile'" - ;; - esac - - # Install the libtool object if requested. - test -n "$destfile" && \ - func_show_eval "$install_prog $file $destfile" 'exit $?' - - # Install the old object if enabled. - if test "$build_old_libs" = yes; then - # Deduce the name of the old-style object file. - func_lo2o "$file" - staticobj=$func_lo2o_result - func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' - fi - exit $EXIT_SUCCESS - ;; - - *) - # Figure out destination file name, if it wasn't already specified. - if test -n "$destname"; then - destfile="$destdir/$destname" - else - func_basename "$file" - destfile="$func_basename_result" - destfile="$destdir/$destfile" - fi - - # If the file is missing, and there is a .exe on the end, strip it - # because it is most likely a libtool script we actually want to - # install - stripped_ext="" - case $file in - *.exe) - if test ! -f "$file"; then - func_stripname '' '.exe' "$file" - file=$func_stripname_result - stripped_ext=".exe" - fi - ;; - esac - - # Do a test to see if this is really a libtool program. - case $host in - *cygwin* | *mingw*) - if func_ltwrapper_executable_p "$file"; then - func_ltwrapper_scriptname "$file" - wrapper=$func_ltwrapper_scriptname_result - else - func_stripname '' '.exe' "$file" - wrapper=$func_stripname_result - fi - ;; - *) - wrapper=$file - ;; - esac - if func_ltwrapper_script_p "$wrapper"; then - notinst_deplibs= - relink_command= - - func_source "$wrapper" - - # Check the variables that should have been set. - test -z "$generated_by_libtool_version" && \ - func_fatal_error "invalid libtool wrapper script \`$wrapper'" - - finalize=yes - for lib in $notinst_deplibs; do - # Check to see that each library is installed. - libdir= - if test -f "$lib"; then - func_source "$lib" - fi - libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test - if test -n "$libdir" && test ! -f "$libfile"; then - func_warning "\`$lib' has not been installed in \`$libdir'" - finalize=no - fi - done - - relink_command= - func_source "$wrapper" - - outputname= - if test "$fast_install" = no && test -n "$relink_command"; then - $opt_dry_run || { - if test "$finalize" = yes; then - tmpdir=`func_mktempdir` - func_basename "$file$stripped_ext" - file="$func_basename_result" - outputname="$tmpdir/$file" - # Replace the output file specification. - relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` - - $opt_silent || { - func_quote_for_expand "$relink_command" - eval "func_echo $func_quote_for_expand_result" - } - if eval "$relink_command"; then : - else - func_error "error: relink \`$file' with the above command before installing it" - $opt_dry_run || ${RM}r "$tmpdir" - continue - fi - file="$outputname" - else - func_warning "cannot relink \`$file'" - fi - } - else - # Install the binary that we compiled earlier. - file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` - fi - fi - - # remove .exe since cygwin /usr/bin/install will append another - # one anyway - case $install_prog,$host in - */usr/bin/install*,*cygwin*) - case $file:$destfile in - *.exe:*.exe) - # this is ok - ;; - *.exe:*) - destfile=$destfile.exe - ;; - *:*.exe) - func_stripname '' '.exe' "$destfile" - destfile=$func_stripname_result - ;; - esac - ;; - esac - func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' - $opt_dry_run || if test -n "$outputname"; then - ${RM}r "$tmpdir" - fi - ;; - esac - done - - for file in $staticlibs; do - func_basename "$file" - name="$func_basename_result" - - # Set up the ranlib parameters. - oldlib="$destdir/$name" - func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 - tool_oldlib=$func_to_tool_file_result - - func_show_eval "$install_prog \$file \$oldlib" 'exit $?' - - if test -n "$stripme" && test -n "$old_striplib"; then - func_show_eval "$old_striplib $tool_oldlib" 'exit $?' - fi - - # Do each command in the postinstall commands. - func_execute_cmds "$old_postinstall_cmds" 'exit $?' - done - - test -n "$future_libdirs" && \ - func_warning "remember to run \`$progname --finish$future_libdirs'" - - if test -n "$current_libdirs"; then - # Maybe just do a dry run. - $opt_dry_run && current_libdirs=" -n$current_libdirs" - exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' - else - exit $EXIT_SUCCESS - fi -} - -test "$opt_mode" = install && func_mode_install ${1+"$@"} - - -# func_generate_dlsyms outputname originator pic_p -# Extract symbols from dlprefiles and create ${outputname}S.o with -# a dlpreopen symbol table. -func_generate_dlsyms () -{ - $opt_debug - my_outputname="$1" - my_originator="$2" - my_pic_p="${3-no}" - my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'` - my_dlsyms= - - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then - if test -n "$NM" && test -n "$global_symbol_pipe"; then - my_dlsyms="${my_outputname}S.c" - else - func_error "not configured to extract global symbols from dlpreopened files" - fi - fi - - if test -n "$my_dlsyms"; then - case $my_dlsyms in - "") ;; - *.c) - # Discover the nlist of each of the dlfiles. - nlist="$output_objdir/${my_outputname}.nm" - - func_show_eval "$RM $nlist ${nlist}S ${nlist}T" - - # Parse the name list into a source file. - func_verbose "creating $output_objdir/$my_dlsyms" - - $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ -/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */ -/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */ - -#ifdef __cplusplus -extern \"C\" { -#endif - -#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) -#pragma GCC diagnostic ignored \"-Wstrict-prototypes\" -#endif - -/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ -#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) -/* DATA imports from DLLs on WIN32 con't be const, because runtime - relocations are performed -- see ld's documentation on pseudo-relocs. */ -# define LT_DLSYM_CONST -#elif defined(__osf__) -/* This system does not cope well with relocations in const data. */ -# define LT_DLSYM_CONST -#else -# define LT_DLSYM_CONST const -#endif - -/* External symbol declarations for the compiler. */\ -" - - if test "$dlself" = yes; then - func_verbose "generating symbol list for \`$output'" - - $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" - - # Add our own program objects to the symbol list. - progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` - for progfile in $progfiles; do - func_to_tool_file "$progfile" func_convert_file_msys_to_w32 - func_verbose "extracting global C symbols from \`$func_to_tool_file_result'" - $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'" - done - - if test -n "$exclude_expsyms"; then - $opt_dry_run || { - eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' - eval '$MV "$nlist"T "$nlist"' - } - fi - - if test -n "$export_symbols_regex"; then - $opt_dry_run || { - eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' - eval '$MV "$nlist"T "$nlist"' - } - fi - - # Prepare the list of exported symbols - if test -z "$export_symbols"; then - export_symbols="$output_objdir/$outputname.exp" - $opt_dry_run || { - $RM $export_symbols - eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' - case $host in - *cygwin* | *mingw* | *cegcc* ) - eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' - eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' - ;; - esac - } - else - $opt_dry_run || { - eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' - eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' - eval '$MV "$nlist"T "$nlist"' - case $host in - *cygwin* | *mingw* | *cegcc* ) - eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' - eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' - ;; - esac - } - fi - fi - - for dlprefile in $dlprefiles; do - func_verbose "extracting global C symbols from \`$dlprefile'" - func_basename "$dlprefile" - name="$func_basename_result" - case $host in - *cygwin* | *mingw* | *cegcc* ) - # if an import library, we need to obtain dlname - if func_win32_import_lib_p "$dlprefile"; then - func_tr_sh "$dlprefile" - eval "curr_lafile=\$libfile_$func_tr_sh_result" - dlprefile_dlbasename="" - if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then - # Use subshell, to avoid clobbering current variable values - dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` - if test -n "$dlprefile_dlname" ; then - func_basename "$dlprefile_dlname" - dlprefile_dlbasename="$func_basename_result" - else - # no lafile. user explicitly requested -dlpreopen . - $sharedlib_from_linklib_cmd "$dlprefile" - dlprefile_dlbasename=$sharedlib_from_linklib_result - fi - fi - $opt_dry_run || { - if test -n "$dlprefile_dlbasename" ; then - eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' - else - func_warning "Could not compute DLL name from $name" - eval '$ECHO ": $name " >> "$nlist"' - fi - func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 - eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | - $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" - } - else # not an import lib - $opt_dry_run || { - eval '$ECHO ": $name " >> "$nlist"' - func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 - eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" - } - fi - ;; - *) - $opt_dry_run || { - eval '$ECHO ": $name " >> "$nlist"' - func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 - eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" - } - ;; - esac - done - - $opt_dry_run || { - # Make sure we have at least an empty file. - test -f "$nlist" || : > "$nlist" - - if test -n "$exclude_expsyms"; then - $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T - $MV "$nlist"T "$nlist" - fi - - # Try sorting and uniquifying the output. - if $GREP -v "^: " < "$nlist" | - if sort -k 3 /dev/null 2>&1; then - sort -k 3 - else - sort +2 - fi | - uniq > "$nlist"S; then - : - else - $GREP -v "^: " < "$nlist" > "$nlist"S - fi - - if test -f "$nlist"S; then - eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' - else - echo '/* NONE */' >> "$output_objdir/$my_dlsyms" - fi - - echo >> "$output_objdir/$my_dlsyms" "\ - -/* The mapping between symbol names and symbols. */ -typedef struct { - const char *name; - void *address; -} lt_dlsymlist; -extern LT_DLSYM_CONST lt_dlsymlist -lt_${my_prefix}_LTX_preloaded_symbols[]; -LT_DLSYM_CONST lt_dlsymlist -lt_${my_prefix}_LTX_preloaded_symbols[] = -{\ - { \"$my_originator\", (void *) 0 }," - - case $need_lib_prefix in - no) - eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" - ;; - *) - eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" - ;; - esac - echo >> "$output_objdir/$my_dlsyms" "\ - {0, (void *) 0} -}; - -/* This works around a problem in FreeBSD linker */ -#ifdef FREEBSD_WORKAROUND -static const void *lt_preloaded_setup() { - return lt_${my_prefix}_LTX_preloaded_symbols; -} -#endif - -#ifdef __cplusplus -} -#endif\ -" - } # !$opt_dry_run - - pic_flag_for_symtable= - case "$compile_command " in - *" -static "*) ;; - *) - case $host in - # compiling the symbol table file with pic_flag works around - # a FreeBSD bug that causes programs to crash when -lm is - # linked before any other PIC object. But we must not use - # pic_flag when linking with -static. The problem exists in - # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. - *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) - pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; - *-*-hpux*) - pic_flag_for_symtable=" $pic_flag" ;; - *) - if test "X$my_pic_p" != Xno; then - pic_flag_for_symtable=" $pic_flag" - fi - ;; - esac - ;; - esac - symtab_cflags= - for arg in $LTCFLAGS; do - case $arg in - -pie | -fpie | -fPIE) ;; - *) func_append symtab_cflags " $arg" ;; - esac - done - - # Now compile the dynamic symbol file. - func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' - - # Clean up the generated files. - func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"' - - # Transform the symbol file into the correct name. - symfileobj="$output_objdir/${my_outputname}S.$objext" - case $host in - *cygwin* | *mingw* | *cegcc* ) - if test -f "$output_objdir/$my_outputname.def"; then - compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` - finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` - else - compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` - finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` - fi - ;; - *) - compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` - finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` - ;; - esac - ;; - *) - func_fatal_error "unknown suffix for \`$my_dlsyms'" - ;; - esac - else - # We keep going just in case the user didn't refer to - # lt_preloaded_symbols. The linker will fail if global_symbol_pipe - # really was required. - - # Nullify the symbol file. - compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` - finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` - fi -} - -# func_win32_libid arg -# return the library type of file 'arg' -# -# Need a lot of goo to handle *both* DLLs and import libs -# Has to be a shell function in order to 'eat' the argument -# that is supplied when $file_magic_command is called. -# Despite the name, also deal with 64 bit binaries. -func_win32_libid () -{ - $opt_debug - win32_libid_type="unknown" - win32_fileres=`file -L $1 2>/dev/null` - case $win32_fileres in - *ar\ archive\ import\ library*) # definitely import - win32_libid_type="x86 archive import" - ;; - *ar\ archive*) # could be an import, or static - # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. - if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | - $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then - func_to_tool_file "$1" func_convert_file_msys_to_w32 - win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" | - $SED -n -e ' - 1,100{ - / I /{ - s,.*,import, - p - q - } - }'` - case $win32_nmres in - import*) win32_libid_type="x86 archive import";; - *) win32_libid_type="x86 archive static";; - esac - fi - ;; - *DLL*) - win32_libid_type="x86 DLL" - ;; - *executable*) # but shell scripts are "executable" too... - case $win32_fileres in - *MS\ Windows\ PE\ Intel*) - win32_libid_type="x86 DLL" - ;; - esac - ;; - esac - $ECHO "$win32_libid_type" -} - -# func_cygming_dll_for_implib ARG -# -# Platform-specific function to extract the -# name of the DLL associated with the specified -# import library ARG. -# Invoked by eval'ing the libtool variable -# $sharedlib_from_linklib_cmd -# Result is available in the variable -# $sharedlib_from_linklib_result -func_cygming_dll_for_implib () -{ - $opt_debug - sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"` -} - -# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs -# -# The is the core of a fallback implementation of a -# platform-specific function to extract the name of the -# DLL associated with the specified import library LIBNAME. -# -# SECTION_NAME is either .idata$6 or .idata$7, depending -# on the platform and compiler that created the implib. -# -# Echos the name of the DLL associated with the -# specified import library. -func_cygming_dll_for_implib_fallback_core () -{ - $opt_debug - match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"` - $OBJDUMP -s --section "$1" "$2" 2>/dev/null | - $SED '/^Contents of section '"$match_literal"':/{ - # Place marker at beginning of archive member dllname section - s/.*/====MARK====/ - p - d - } - # These lines can sometimes be longer than 43 characters, but - # are always uninteresting - /:[ ]*file format pe[i]\{,1\}-/d - /^In archive [^:]*:/d - # Ensure marker is printed - /^====MARK====/p - # Remove all lines with less than 43 characters - /^.\{43\}/!d - # From remaining lines, remove first 43 characters - s/^.\{43\}//' | - $SED -n ' - # Join marker and all lines until next marker into a single line - /^====MARK====/ b para - H - $ b para - b - :para - x - s/\n//g - # Remove the marker - s/^====MARK====// - # Remove trailing dots and whitespace - s/[\. \t]*$// - # Print - /./p' | - # we now have a list, one entry per line, of the stringified - # contents of the appropriate section of all members of the - # archive which possess that section. Heuristic: eliminate - # all those which have a first or second character that is - # a '.' (that is, objdump's representation of an unprintable - # character.) This should work for all archives with less than - # 0x302f exports -- but will fail for DLLs whose name actually - # begins with a literal '.' or a single character followed by - # a '.'. - # - # Of those that remain, print the first one. - $SED -e '/^\./d;/^.\./d;q' -} - -# func_cygming_gnu_implib_p ARG -# This predicate returns with zero status (TRUE) if -# ARG is a GNU/binutils-style import library. Returns -# with nonzero status (FALSE) otherwise. -func_cygming_gnu_implib_p () -{ - $opt_debug - func_to_tool_file "$1" func_convert_file_msys_to_w32 - func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'` - test -n "$func_cygming_gnu_implib_tmp" -} - -# func_cygming_ms_implib_p ARG -# This predicate returns with zero status (TRUE) if -# ARG is an MS-style import library. Returns -# with nonzero status (FALSE) otherwise. -func_cygming_ms_implib_p () -{ - $opt_debug - func_to_tool_file "$1" func_convert_file_msys_to_w32 - func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'` - test -n "$func_cygming_ms_implib_tmp" -} - -# func_cygming_dll_for_implib_fallback ARG -# Platform-specific function to extract the -# name of the DLL associated with the specified -# import library ARG. -# -# This fallback implementation is for use when $DLLTOOL -# does not support the --identify-strict option. -# Invoked by eval'ing the libtool variable -# $sharedlib_from_linklib_cmd -# Result is available in the variable -# $sharedlib_from_linklib_result -func_cygming_dll_for_implib_fallback () -{ - $opt_debug - if func_cygming_gnu_implib_p "$1" ; then - # binutils import library - sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"` - elif func_cygming_ms_implib_p "$1" ; then - # ms-generated import library - sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"` - else - # unknown - sharedlib_from_linklib_result="" - fi -} - - -# func_extract_an_archive dir oldlib -func_extract_an_archive () -{ - $opt_debug - f_ex_an_ar_dir="$1"; shift - f_ex_an_ar_oldlib="$1" - if test "$lock_old_archive_extraction" = yes; then - lockfile=$f_ex_an_ar_oldlib.lock - until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do - func_echo "Waiting for $lockfile to be removed" - sleep 2 - done - fi - func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ - 'stat=$?; rm -f "$lockfile"; exit $stat' - if test "$lock_old_archive_extraction" = yes; then - $opt_dry_run || rm -f "$lockfile" - fi - if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then - : - else - func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" - fi -} - - -# func_extract_archives gentop oldlib ... -func_extract_archives () -{ - $opt_debug - my_gentop="$1"; shift - my_oldlibs=${1+"$@"} - my_oldobjs="" - my_xlib="" - my_xabs="" - my_xdir="" - - for my_xlib in $my_oldlibs; do - # Extract the objects. - case $my_xlib in - [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; - *) my_xabs=`pwd`"/$my_xlib" ;; - esac - func_basename "$my_xlib" - my_xlib="$func_basename_result" - my_xlib_u=$my_xlib - while :; do - case " $extracted_archives " in - *" $my_xlib_u "*) - func_arith $extracted_serial + 1 - extracted_serial=$func_arith_result - my_xlib_u=lt$extracted_serial-$my_xlib ;; - *) break ;; - esac - done - extracted_archives="$extracted_archives $my_xlib_u" - my_xdir="$my_gentop/$my_xlib_u" - - func_mkdir_p "$my_xdir" - - case $host in - *-darwin*) - func_verbose "Extracting $my_xabs" - # Do not bother doing anything if just a dry run - $opt_dry_run || { - darwin_orig_dir=`pwd` - cd $my_xdir || exit $? - darwin_archive=$my_xabs - darwin_curdir=`pwd` - darwin_base_archive=`basename "$darwin_archive"` - darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` - if test -n "$darwin_arches"; then - darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` - darwin_arch= - func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" - for darwin_arch in $darwin_arches ; do - func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}" - $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" - cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" - func_extract_an_archive "`pwd`" "${darwin_base_archive}" - cd "$darwin_curdir" - $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" - done # $darwin_arches - ## Okay now we've a bunch of thin objects, gotta fatten them up :) - darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u` - darwin_file= - darwin_files= - for darwin_file in $darwin_filelist; do - darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` - $LIPO -create -output "$darwin_file" $darwin_files - done # $darwin_filelist - $RM -rf unfat-$$ - cd "$darwin_orig_dir" - else - cd $darwin_orig_dir - func_extract_an_archive "$my_xdir" "$my_xabs" - fi # $darwin_arches - } # !$opt_dry_run - ;; - *) - func_extract_an_archive "$my_xdir" "$my_xabs" - ;; - esac - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` - done - - func_extract_archives_result="$my_oldobjs" -} - - -# func_emit_wrapper [arg=no] -# -# Emit a libtool wrapper script on stdout. -# Don't directly open a file because we may want to -# incorporate the script contents within a cygwin/mingw -# wrapper executable. Must ONLY be called from within -# func_mode_link because it depends on a number of variables -# set therein. -# -# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR -# variable will take. If 'yes', then the emitted script -# will assume that the directory in which it is stored is -# the $objdir directory. This is a cygwin/mingw-specific -# behavior. -func_emit_wrapper () -{ - func_emit_wrapper_arg1=${1-no} - - $ECHO "\ -#! $SHELL - -# $output - temporary wrapper script for $objdir/$outputname -# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION -# -# The $output program cannot be directly executed until all the libtool -# libraries that it depends on are installed. -# -# This wrapper script should never be moved out of the build directory. -# If it is, it will not operate correctly. - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -sed_quote_subst='$sed_quote_subst' - -# Be Bourne compatible -if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. - alias -g '\${1+\"\$@\"}'='\"\$@\"' - setopt NO_GLOB_SUBST -else - case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac -fi -BIN_SH=xpg4; export BIN_SH # for Tru64 -DUALCASE=1; export DUALCASE # for MKS sh - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -relink_command=\"$relink_command\" - -# This environment variable determines our operation mode. -if test \"\$libtool_install_magic\" = \"$magic\"; then - # install mode needs the following variables: - generated_by_libtool_version='$macro_version' - notinst_deplibs='$notinst_deplibs' -else - # When we are sourced in execute mode, \$file and \$ECHO are already set. - if test \"\$libtool_execute_magic\" != \"$magic\"; then - file=\"\$0\"" - - qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` - $ECHO "\ - -# A function that is used when there is no print builtin or printf. -func_fallback_echo () -{ - eval 'cat <<_LTECHO_EOF -\$1 -_LTECHO_EOF' -} - ECHO=\"$qECHO\" - fi - -# Very basic option parsing. These options are (a) specific to -# the libtool wrapper, (b) are identical between the wrapper -# /script/ and the wrapper /executable/ which is used only on -# windows platforms, and (c) all begin with the string "--lt-" -# (application programs are unlikely to have options which match -# this pattern). -# -# There are only two supported options: --lt-debug and -# --lt-dump-script. There is, deliberately, no --lt-help. -# -# The first argument to this parsing function should be the -# script's $0 value, followed by "$@". -lt_option_debug= -func_parse_lt_options () -{ - lt_script_arg0=\$0 - shift - for lt_opt - do - case \"\$lt_opt\" in - --lt-debug) lt_option_debug=1 ;; - --lt-dump-script) - lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\` - test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=. - lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\` - cat \"\$lt_dump_D/\$lt_dump_F\" - exit 0 - ;; - --lt-*) - \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2 - exit 1 - ;; - esac - done - - # Print the debug banner immediately: - if test -n \"\$lt_option_debug\"; then - echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2 - fi -} - -# Used when --lt-debug. Prints its arguments to stdout -# (redirection is the responsibility of the caller) -func_lt_dump_args () -{ - lt_dump_args_N=1; - for lt_arg - do - \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\" - lt_dump_args_N=\`expr \$lt_dump_args_N + 1\` - done -} - -# Core function for launching the target application -func_exec_program_core () -{ -" - case $host in - # Backslashes separate directories on plain windows - *-*-mingw | *-*-os2* | *-cegcc*) - $ECHO "\ - if test -n \"\$lt_option_debug\"; then - \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2 - func_lt_dump_args \${1+\"\$@\"} 1>&2 - fi - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} -" - ;; - - *) - $ECHO "\ - if test -n \"\$lt_option_debug\"; then - \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2 - func_lt_dump_args \${1+\"\$@\"} 1>&2 - fi - exec \"\$progdir/\$program\" \${1+\"\$@\"} -" - ;; - esac - $ECHO "\ - \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 - exit 1 -} - -# A function to encapsulate launching the target application -# Strips options in the --lt-* namespace from \$@ and -# launches target application with the remaining arguments. -func_exec_program () -{ - case \" \$* \" in - *\\ --lt-*) - for lt_wr_arg - do - case \$lt_wr_arg in - --lt-*) ;; - *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; - esac - shift - done ;; - esac - func_exec_program_core \${1+\"\$@\"} -} - - # Parse options - func_parse_lt_options \"\$0\" \${1+\"\$@\"} - - # Find the directory that this script lives in. - thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` - test \"x\$thisdir\" = \"x\$file\" && thisdir=. - - # Follow symbolic links until we get to the real thisdir. - file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` - while test -n \"\$file\"; do - destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` - - # If there was a directory component, then change thisdir. - if test \"x\$destdir\" != \"x\$file\"; then - case \"\$destdir\" in - [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; - *) thisdir=\"\$thisdir/\$destdir\" ;; - esac - fi - - file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\` - file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` - done - - # Usually 'no', except on cygwin/mingw when embedded into - # the cwrapper. - WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 - if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then - # special case for '.' - if test \"\$thisdir\" = \".\"; then - thisdir=\`pwd\` - fi - # remove .libs from thisdir - case \"\$thisdir\" in - *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; - $objdir ) thisdir=. ;; - esac - fi - - # Try to get the absolute directory name. - absdir=\`cd \"\$thisdir\" && pwd\` - test -n \"\$absdir\" && thisdir=\"\$absdir\" -" - - if test "$fast_install" = yes; then - $ECHO "\ - program=lt-'$outputname'$exeext - progdir=\"\$thisdir/$objdir\" - - if test ! -f \"\$progdir/\$program\" || - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ - test \"X\$file\" != \"X\$progdir/\$program\"; }; then - - file=\"\$\$-\$program\" - - if test ! -d \"\$progdir\"; then - $MKDIR \"\$progdir\" - else - $RM \"\$progdir/\$file\" - fi" - - $ECHO "\ - - # relink executable if necessary - if test -n \"\$relink_command\"; then - if relink_command_output=\`eval \$relink_command 2>&1\`; then : - else - $ECHO \"\$relink_command_output\" >&2 - $RM \"\$progdir/\$file\" - exit 1 - fi - fi - - $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || - { $RM \"\$progdir/\$program\"; - $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } - $RM \"\$progdir/\$file\" - fi" - else - $ECHO "\ - program='$outputname' - progdir=\"\$thisdir/$objdir\" -" - fi - - $ECHO "\ - - if test -f \"\$progdir/\$program\"; then" - - # fixup the dll searchpath if we need to. - # - # Fix the DLL searchpath if we need to. Do this before prepending - # to shlibpath, because on Windows, both are PATH and uninstalled - # libraries must come first. - if test -n "$dllsearchpath"; then - $ECHO "\ - # Add the dll search path components to the executable PATH - PATH=$dllsearchpath:\$PATH -" - fi - - # Export our shlibpath_var if we have one. - if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then - $ECHO "\ - # Add our own library path to $shlibpath_var - $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" - - # Some systems cannot cope with colon-terminated $shlibpath_var - # The second colon is a workaround for a bug in BeOS R4 sed - $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\` - - export $shlibpath_var -" - fi - - $ECHO "\ - if test \"\$libtool_execute_magic\" != \"$magic\"; then - # Run the actual program with our arguments. - func_exec_program \${1+\"\$@\"} - fi - else - # The program doesn't exist. - \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 - \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 - \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 - exit 1 - fi -fi\ -" -} - - -# func_emit_cwrapperexe_src -# emit the source code for a wrapper executable on stdout -# Must ONLY be called from within func_mode_link because -# it depends on a number of variable set therein. -func_emit_cwrapperexe_src () -{ - cat < -#include -#ifdef _MSC_VER -# include -# include -# include -#else -# include -# include -# ifdef __CYGWIN__ -# include -# endif -#endif -#include -#include -#include -#include -#include -#include -#include -#include - -/* declarations of non-ANSI functions */ -#if defined(__MINGW32__) -# ifdef __STRICT_ANSI__ -int _putenv (const char *); -# endif -#elif defined(__CYGWIN__) -# ifdef __STRICT_ANSI__ -char *realpath (const char *, char *); -int putenv (char *); -int setenv (const char *, const char *, int); -# endif -/* #elif defined (other platforms) ... */ -#endif - -/* portability defines, excluding path handling macros */ -#if defined(_MSC_VER) -# define setmode _setmode -# define stat _stat -# define chmod _chmod -# define getcwd _getcwd -# define putenv _putenv -# define S_IXUSR _S_IEXEC -# ifndef _INTPTR_T_DEFINED -# define _INTPTR_T_DEFINED -# define intptr_t int -# endif -#elif defined(__MINGW32__) -# define setmode _setmode -# define stat _stat -# define chmod _chmod -# define getcwd _getcwd -# define putenv _putenv -#elif defined(__CYGWIN__) -# define HAVE_SETENV -# define FOPEN_WB "wb" -/* #elif defined (other platforms) ... */ -#endif - -#if defined(PATH_MAX) -# define LT_PATHMAX PATH_MAX -#elif defined(MAXPATHLEN) -# define LT_PATHMAX MAXPATHLEN -#else -# define LT_PATHMAX 1024 -#endif - -#ifndef S_IXOTH -# define S_IXOTH 0 -#endif -#ifndef S_IXGRP -# define S_IXGRP 0 -#endif - -/* path handling portability macros */ -#ifndef DIR_SEPARATOR -# define DIR_SEPARATOR '/' -# define PATH_SEPARATOR ':' -#endif - -#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ - defined (__OS2__) -# define HAVE_DOS_BASED_FILE_SYSTEM -# define FOPEN_WB "wb" -# ifndef DIR_SEPARATOR_2 -# define DIR_SEPARATOR_2 '\\' -# endif -# ifndef PATH_SEPARATOR_2 -# define PATH_SEPARATOR_2 ';' -# endif -#endif - -#ifndef DIR_SEPARATOR_2 -# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) -#else /* DIR_SEPARATOR_2 */ -# define IS_DIR_SEPARATOR(ch) \ - (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) -#endif /* DIR_SEPARATOR_2 */ - -#ifndef PATH_SEPARATOR_2 -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) -#else /* PATH_SEPARATOR_2 */ -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) -#endif /* PATH_SEPARATOR_2 */ - -#ifndef FOPEN_WB -# define FOPEN_WB "w" -#endif -#ifndef _O_BINARY -# define _O_BINARY 0 -#endif - -#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) -#define XFREE(stale) do { \ - if (stale) { free ((void *) stale); stale = 0; } \ -} while (0) - -#if defined(LT_DEBUGWRAPPER) -static int lt_debug = 1; -#else -static int lt_debug = 0; -#endif - -const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ - -void *xmalloc (size_t num); -char *xstrdup (const char *string); -const char *base_name (const char *name); -char *find_executable (const char *wrapper); -char *chase_symlinks (const char *pathspec); -int make_executable (const char *path); -int check_executable (const char *path); -char *strendzap (char *str, const char *pat); -void lt_debugprintf (const char *file, int line, const char *fmt, ...); -void lt_fatal (const char *file, int line, const char *message, ...); -static const char *nonnull (const char *s); -static const char *nonempty (const char *s); -void lt_setenv (const char *name, const char *value); -char *lt_extend_str (const char *orig_value, const char *add, int to_end); -void lt_update_exe_path (const char *name, const char *value); -void lt_update_lib_path (const char *name, const char *value); -char **prepare_spawn (char **argv); -void lt_dump_script (FILE *f); -EOF - - cat <= 0) - && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) - return 1; - else - return 0; -} - -int -make_executable (const char *path) -{ - int rval = 0; - struct stat st; - - lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", - nonempty (path)); - if ((!path) || (!*path)) - return 0; - - if (stat (path, &st) >= 0) - { - rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); - } - return rval; -} - -/* Searches for the full path of the wrapper. Returns - newly allocated full path name if found, NULL otherwise - Does not chase symlinks, even on platforms that support them. -*/ -char * -find_executable (const char *wrapper) -{ - int has_slash = 0; - const char *p; - const char *p_next; - /* static buffer for getcwd */ - char tmp[LT_PATHMAX + 1]; - int tmp_len; - char *concat_name; - - lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", - nonempty (wrapper)); - - if ((wrapper == NULL) || (*wrapper == '\0')) - return NULL; - - /* Absolute path? */ -#if defined (HAVE_DOS_BASED_FILE_SYSTEM) - if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') - { - concat_name = xstrdup (wrapper); - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - } - else - { -#endif - if (IS_DIR_SEPARATOR (wrapper[0])) - { - concat_name = xstrdup (wrapper); - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - } -#if defined (HAVE_DOS_BASED_FILE_SYSTEM) - } -#endif - - for (p = wrapper; *p; p++) - if (*p == '/') - { - has_slash = 1; - break; - } - if (!has_slash) - { - /* no slashes; search PATH */ - const char *path = getenv ("PATH"); - if (path != NULL) - { - for (p = path; *p; p = p_next) - { - const char *q; - size_t p_len; - for (q = p; *q; q++) - if (IS_PATH_SEPARATOR (*q)) - break; - p_len = q - p; - p_next = (*q == '\0' ? q : q + 1); - if (p_len == 0) - { - /* empty path: current directory */ - if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", - nonnull (strerror (errno))); - tmp_len = strlen (tmp); - concat_name = - XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); - memcpy (concat_name, tmp, tmp_len); - concat_name[tmp_len] = '/'; - strcpy (concat_name + tmp_len + 1, wrapper); - } - else - { - concat_name = - XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); - memcpy (concat_name, p, p_len); - concat_name[p_len] = '/'; - strcpy (concat_name + p_len + 1, wrapper); - } - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - } - } - /* not found in PATH; assume curdir */ - } - /* Relative path | not found in path: prepend cwd */ - if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", - nonnull (strerror (errno))); - tmp_len = strlen (tmp); - concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); - memcpy (concat_name, tmp, tmp_len); - concat_name[tmp_len] = '/'; - strcpy (concat_name + tmp_len + 1, wrapper); - - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - return NULL; -} - -char * -chase_symlinks (const char *pathspec) -{ -#ifndef S_ISLNK - return xstrdup (pathspec); -#else - char buf[LT_PATHMAX]; - struct stat s; - char *tmp_pathspec = xstrdup (pathspec); - char *p; - int has_symlinks = 0; - while (strlen (tmp_pathspec) && !has_symlinks) - { - lt_debugprintf (__FILE__, __LINE__, - "checking path component for symlinks: %s\n", - tmp_pathspec); - if (lstat (tmp_pathspec, &s) == 0) - { - if (S_ISLNK (s.st_mode) != 0) - { - has_symlinks = 1; - break; - } - - /* search backwards for last DIR_SEPARATOR */ - p = tmp_pathspec + strlen (tmp_pathspec) - 1; - while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) - p--; - if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) - { - /* no more DIR_SEPARATORS left */ - break; - } - *p = '\0'; - } - else - { - lt_fatal (__FILE__, __LINE__, - "error accessing file \"%s\": %s", - tmp_pathspec, nonnull (strerror (errno))); - } - } - XFREE (tmp_pathspec); - - if (!has_symlinks) - { - return xstrdup (pathspec); - } - - tmp_pathspec = realpath (pathspec, buf); - if (tmp_pathspec == 0) - { - lt_fatal (__FILE__, __LINE__, - "could not follow symlinks for %s", pathspec); - } - return xstrdup (tmp_pathspec); -#endif -} - -char * -strendzap (char *str, const char *pat) -{ - size_t len, patlen; - - assert (str != NULL); - assert (pat != NULL); - - len = strlen (str); - patlen = strlen (pat); - - if (patlen <= len) - { - str += len - patlen; - if (strcmp (str, pat) == 0) - *str = '\0'; - } - return str; -} - -void -lt_debugprintf (const char *file, int line, const char *fmt, ...) -{ - va_list args; - if (lt_debug) - { - (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line); - va_start (args, fmt); - (void) vfprintf (stderr, fmt, args); - va_end (args); - } -} - -static void -lt_error_core (int exit_status, const char *file, - int line, const char *mode, - const char *message, va_list ap) -{ - fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); - vfprintf (stderr, message, ap); - fprintf (stderr, ".\n"); - - if (exit_status >= 0) - exit (exit_status); -} - -void -lt_fatal (const char *file, int line, const char *message, ...) -{ - va_list ap; - va_start (ap, message); - lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); - va_end (ap); -} - -static const char * -nonnull (const char *s) -{ - return s ? s : "(null)"; -} - -static const char * -nonempty (const char *s) -{ - return (s && !*s) ? "(empty)" : nonnull (s); -} - -void -lt_setenv (const char *name, const char *value) -{ - lt_debugprintf (__FILE__, __LINE__, - "(lt_setenv) setting '%s' to '%s'\n", - nonnull (name), nonnull (value)); - { -#ifdef HAVE_SETENV - /* always make a copy, for consistency with !HAVE_SETENV */ - char *str = xstrdup (value); - setenv (name, str, 1); -#else - int len = strlen (name) + 1 + strlen (value) + 1; - char *str = XMALLOC (char, len); - sprintf (str, "%s=%s", name, value); - if (putenv (str) != EXIT_SUCCESS) - { - XFREE (str); - } -#endif - } -} - -char * -lt_extend_str (const char *orig_value, const char *add, int to_end) -{ - char *new_value; - if (orig_value && *orig_value) - { - int orig_value_len = strlen (orig_value); - int add_len = strlen (add); - new_value = XMALLOC (char, add_len + orig_value_len + 1); - if (to_end) - { - strcpy (new_value, orig_value); - strcpy (new_value + orig_value_len, add); - } - else - { - strcpy (new_value, add); - strcpy (new_value + add_len, orig_value); - } - } - else - { - new_value = xstrdup (add); - } - return new_value; -} - -void -lt_update_exe_path (const char *name, const char *value) -{ - lt_debugprintf (__FILE__, __LINE__, - "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", - nonnull (name), nonnull (value)); - - if (name && *name && value && *value) - { - char *new_value = lt_extend_str (getenv (name), value, 0); - /* some systems can't cope with a ':'-terminated path #' */ - int len = strlen (new_value); - while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) - { - new_value[len-1] = '\0'; - } - lt_setenv (name, new_value); - XFREE (new_value); - } -} - -void -lt_update_lib_path (const char *name, const char *value) -{ - lt_debugprintf (__FILE__, __LINE__, - "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", - nonnull (name), nonnull (value)); - - if (name && *name && value && *value) - { - char *new_value = lt_extend_str (getenv (name), value, 0); - lt_setenv (name, new_value); - XFREE (new_value); - } -} - -EOF - case $host_os in - mingw*) - cat <<"EOF" - -/* Prepares an argument vector before calling spawn(). - Note that spawn() does not by itself call the command interpreter - (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : - ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); - GetVersionEx(&v); - v.dwPlatformId == VER_PLATFORM_WIN32_NT; - }) ? "cmd.exe" : "command.com"). - Instead it simply concatenates the arguments, separated by ' ', and calls - CreateProcess(). We must quote the arguments since Win32 CreateProcess() - interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a - special way: - - Space and tab are interpreted as delimiters. They are not treated as - delimiters if they are surrounded by double quotes: "...". - - Unescaped double quotes are removed from the input. Their only effect is - that within double quotes, space and tab are treated like normal - characters. - - Backslashes not followed by double quotes are not special. - - But 2*n+1 backslashes followed by a double quote become - n backslashes followed by a double quote (n >= 0): - \" -> " - \\\" -> \" - \\\\\" -> \\" - */ -#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" -#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" -char ** -prepare_spawn (char **argv) -{ - size_t argc; - char **new_argv; - size_t i; - - /* Count number of arguments. */ - for (argc = 0; argv[argc] != NULL; argc++) - ; - - /* Allocate new argument vector. */ - new_argv = XMALLOC (char *, argc + 1); - - /* Put quoted arguments into the new argument vector. */ - for (i = 0; i < argc; i++) - { - const char *string = argv[i]; - - if (string[0] == '\0') - new_argv[i] = xstrdup ("\"\""); - else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) - { - int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); - size_t length; - unsigned int backslashes; - const char *s; - char *quoted_string; - char *p; - - length = 0; - backslashes = 0; - if (quote_around) - length++; - for (s = string; *s != '\0'; s++) - { - char c = *s; - if (c == '"') - length += backslashes + 1; - length++; - if (c == '\\') - backslashes++; - else - backslashes = 0; - } - if (quote_around) - length += backslashes + 1; - - quoted_string = XMALLOC (char, length + 1); - - p = quoted_string; - backslashes = 0; - if (quote_around) - *p++ = '"'; - for (s = string; *s != '\0'; s++) - { - char c = *s; - if (c == '"') - { - unsigned int j; - for (j = backslashes + 1; j > 0; j--) - *p++ = '\\'; - } - *p++ = c; - if (c == '\\') - backslashes++; - else - backslashes = 0; - } - if (quote_around) - { - unsigned int j; - for (j = backslashes; j > 0; j--) - *p++ = '\\'; - *p++ = '"'; - } - *p = '\0'; - - new_argv[i] = quoted_string; - } - else - new_argv[i] = (char *) string; - } - new_argv[argc] = NULL; - - return new_argv; -} -EOF - ;; - esac - - cat <<"EOF" -void lt_dump_script (FILE* f) -{ -EOF - func_emit_wrapper yes | - $SED -n -e ' -s/^\(.\{79\}\)\(..*\)/\1\ -\2/ -h -s/\([\\"]\)/\\\1/g -s/$/\\n/ -s/\([^\n]*\).*/ fputs ("\1", f);/p -g -D' - cat <<"EOF" -} -EOF -} -# end: func_emit_cwrapperexe_src - -# func_win32_import_lib_p ARG -# True if ARG is an import lib, as indicated by $file_magic_cmd -func_win32_import_lib_p () -{ - $opt_debug - case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in - *import*) : ;; - *) false ;; - esac -} - -# func_mode_link arg... -func_mode_link () -{ - $opt_debug - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - # It is impossible to link a dll without this setting, and - # we shouldn't force the makefile maintainer to figure out - # which system we are compiling for in order to pass an extra - # flag for every libtool invocation. - # allow_undefined=no - - # FIXME: Unfortunately, there are problems with the above when trying - # to make a dll which has undefined symbols, in which case not - # even a static library is built. For now, we need to specify - # -no-undefined on the libtool link line when we can be certain - # that all symbols are satisfied, otherwise we get a static library. - allow_undefined=yes - ;; - *) - allow_undefined=yes - ;; - esac - libtool_args=$nonopt - base_compile="$nonopt $@" - compile_command=$nonopt - finalize_command=$nonopt - - compile_rpath= - finalize_rpath= - compile_shlibpath= - finalize_shlibpath= - convenience= - old_convenience= - deplibs= - old_deplibs= - compiler_flags= - linker_flags= - dllsearchpath= - lib_search_path=`pwd` - inst_prefix_dir= - new_inherited_linker_flags= - - avoid_version=no - bindir= - dlfiles= - dlprefiles= - dlself=no - export_dynamic=no - export_symbols= - export_symbols_regex= - generated= - libobjs= - ltlibs= - module=no - no_install=no - objs= - non_pic_objects= - precious_files_regex= - prefer_static_libs=no - preload=no - prev= - prevarg= - release= - rpath= - xrpath= - perm_rpath= - temp_rpath= - thread_safe=no - vinfo= - vinfo_number=no - weak_libs= - single_module="${wl}-single_module" - func_infer_tag $base_compile - - # We need to know -static, to get the right output filenames. - for arg - do - case $arg in - -shared) - test "$build_libtool_libs" != yes && \ - func_fatal_configuration "can not build a shared library" - build_old_libs=no - break - ;; - -all-static | -static | -static-libtool-libs) - case $arg in - -all-static) - if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then - func_warning "complete static linking is impossible in this configuration" - fi - if test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=yes - ;; - -static) - if test -z "$pic_flag" && test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=built - ;; - -static-libtool-libs) - if test -z "$pic_flag" && test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=yes - ;; - esac - build_libtool_libs=no - build_old_libs=yes - break - ;; - esac - done - - # See if our shared archives depend on static archives. - test -n "$old_archive_from_new_cmds" && build_old_libs=yes - - # Go through the arguments, transforming them on the way. - while test "$#" -gt 0; do - arg="$1" - shift - func_quote_for_eval "$arg" - qarg=$func_quote_for_eval_unquoted_result - func_append libtool_args " $func_quote_for_eval_result" - - # If the previous option needs an argument, assign it. - if test -n "$prev"; then - case $prev in - output) - func_append compile_command " @OUTPUT@" - func_append finalize_command " @OUTPUT@" - ;; - esac - - case $prev in - bindir) - bindir="$arg" - prev= - continue - ;; - dlfiles|dlprefiles) - if test "$preload" = no; then - # Add the symbol object into the linking commands. - func_append compile_command " @SYMFILE@" - func_append finalize_command " @SYMFILE@" - preload=yes - fi - case $arg in - *.la | *.lo) ;; # We handle these cases below. - force) - if test "$dlself" = no; then - dlself=needless - export_dynamic=yes - fi - prev= - continue - ;; - self) - if test "$prev" = dlprefiles; then - dlself=yes - elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then - dlself=yes - else - dlself=needless - export_dynamic=yes - fi - prev= - continue - ;; - *) - if test "$prev" = dlfiles; then - func_append dlfiles " $arg" - else - func_append dlprefiles " $arg" - fi - prev= - continue - ;; - esac - ;; - expsyms) - export_symbols="$arg" - test -f "$arg" \ - || func_fatal_error "symbol file \`$arg' does not exist" - prev= - continue - ;; - expsyms_regex) - export_symbols_regex="$arg" - prev= - continue - ;; - framework) - case $host in - *-*-darwin*) - case "$deplibs " in - *" $qarg.ltframework "*) ;; - *) func_append deplibs " $qarg.ltframework" # this is fixed later - ;; - esac - ;; - esac - prev= - continue - ;; - inst_prefix) - inst_prefix_dir="$arg" - prev= - continue - ;; - objectlist) - if test -f "$arg"; then - save_arg=$arg - moreargs= - for fil in `cat "$save_arg"` - do -# func_append moreargs " $fil" - arg=$fil - # A libtool-controlled object. - - # Check to see that this really is a libtool object. - if func_lalib_unsafe_p "$arg"; then - pic_object= - non_pic_object= - - # Read the .lo file - func_source "$arg" - - if test -z "$pic_object" || - test -z "$non_pic_object" || - test "$pic_object" = none && - test "$non_pic_object" = none; then - func_fatal_error "cannot find name of object for \`$arg'" - fi - - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir="$func_dirname_result" - - if test "$pic_object" != none; then - # Prepend the subdirectory the object is found in. - pic_object="$xdir$pic_object" - - if test "$prev" = dlfiles; then - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then - func_append dlfiles " $pic_object" - prev= - continue - else - # If libtool objects are unsupported, then we need to preload. - prev=dlprefiles - fi - fi - - # CHECK ME: I think I busted this. -Ossama - if test "$prev" = dlprefiles; then - # Preload the old-style object. - func_append dlprefiles " $pic_object" - prev= - fi - - # A PIC object. - func_append libobjs " $pic_object" - arg="$pic_object" - fi - - # Non-PIC object. - if test "$non_pic_object" != none; then - # Prepend the subdirectory the object is found in. - non_pic_object="$xdir$non_pic_object" - - # A standard non-PIC object - func_append non_pic_objects " $non_pic_object" - if test -z "$pic_object" || test "$pic_object" = none ; then - arg="$non_pic_object" - fi - else - # If the PIC object exists, use it instead. - # $xdir was prepended to $pic_object above. - non_pic_object="$pic_object" - func_append non_pic_objects " $non_pic_object" - fi - else - # Only an error if not doing a dry-run. - if $opt_dry_run; then - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir="$func_dirname_result" - - func_lo2o "$arg" - pic_object=$xdir$objdir/$func_lo2o_result - non_pic_object=$xdir$func_lo2o_result - func_append libobjs " $pic_object" - func_append non_pic_objects " $non_pic_object" - else - func_fatal_error "\`$arg' is not a valid libtool object" - fi - fi - done - else - func_fatal_error "link input file \`$arg' does not exist" - fi - arg=$save_arg - prev= - continue - ;; - precious_regex) - precious_files_regex="$arg" - prev= - continue - ;; - release) - release="-$arg" - prev= - continue - ;; - rpath | xrpath) - # We need an absolute path. - case $arg in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - func_fatal_error "only absolute run-paths are allowed" - ;; - esac - if test "$prev" = rpath; then - case "$rpath " in - *" $arg "*) ;; - *) func_append rpath " $arg" ;; - esac - else - case "$xrpath " in - *" $arg "*) ;; - *) func_append xrpath " $arg" ;; - esac - fi - prev= - continue - ;; - shrext) - shrext_cmds="$arg" - prev= - continue - ;; - weak) - func_append weak_libs " $arg" - prev= - continue - ;; - xcclinker) - func_append linker_flags " $qarg" - func_append compiler_flags " $qarg" - prev= - func_append compile_command " $qarg" - func_append finalize_command " $qarg" - continue - ;; - xcompiler) - func_append compiler_flags " $qarg" - prev= - func_append compile_command " $qarg" - func_append finalize_command " $qarg" - continue - ;; - xlinker) - func_append linker_flags " $qarg" - func_append compiler_flags " $wl$qarg" - prev= - func_append compile_command " $wl$qarg" - func_append finalize_command " $wl$qarg" - continue - ;; - *) - eval "$prev=\"\$arg\"" - prev= - continue - ;; - esac - fi # test -n "$prev" - - prevarg="$arg" - - case $arg in - -all-static) - if test -n "$link_static_flag"; then - # See comment for -static flag below, for more details. - func_append compile_command " $link_static_flag" - func_append finalize_command " $link_static_flag" - fi - continue - ;; - - -allow-undefined) - # FIXME: remove this flag sometime in the future. - func_fatal_error "\`-allow-undefined' must not be used because it is the default" - ;; - - -avoid-version) - avoid_version=yes - continue - ;; - - -bindir) - prev=bindir - continue - ;; - - -dlopen) - prev=dlfiles - continue - ;; - - -dlpreopen) - prev=dlprefiles - continue - ;; - - -export-dynamic) - export_dynamic=yes - continue - ;; - - -export-symbols | -export-symbols-regex) - if test -n "$export_symbols" || test -n "$export_symbols_regex"; then - func_fatal_error "more than one -exported-symbols argument is not allowed" - fi - if test "X$arg" = "X-export-symbols"; then - prev=expsyms - else - prev=expsyms_regex - fi - continue - ;; - - -framework) - prev=framework - continue - ;; - - -inst-prefix-dir) - prev=inst_prefix - continue - ;; - - # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* - # so, if we see these flags be careful not to treat them like -L - -L[A-Z][A-Z]*:*) - case $with_gcc/$host in - no/*-*-irix* | /*-*-irix*) - func_append compile_command " $arg" - func_append finalize_command " $arg" - ;; - esac - continue - ;; - - -L*) - func_stripname "-L" '' "$arg" - if test -z "$func_stripname_result"; then - if test "$#" -gt 0; then - func_fatal_error "require no space between \`-L' and \`$1'" - else - func_fatal_error "need path for \`-L' option" - fi - fi - func_resolve_sysroot "$func_stripname_result" - dir=$func_resolve_sysroot_result - # We need an absolute path. - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - absdir=`cd "$dir" && pwd` - test -z "$absdir" && \ - func_fatal_error "cannot determine absolute directory name of \`$dir'" - dir="$absdir" - ;; - esac - case "$deplibs " in - *" -L$dir "* | *" $arg "*) - # Will only happen for absolute or sysroot arguments - ;; - *) - # Preserve sysroot, but never include relative directories - case $dir in - [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;; - *) func_append deplibs " -L$dir" ;; - esac - func_append lib_search_path " $dir" - ;; - esac - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` - case :$dllsearchpath: in - *":$dir:"*) ;; - ::) dllsearchpath=$dir;; - *) func_append dllsearchpath ":$dir";; - esac - case :$dllsearchpath: in - *":$testbindir:"*) ;; - ::) dllsearchpath=$testbindir;; - *) func_append dllsearchpath ":$testbindir";; - esac - ;; - esac - continue - ;; - - -l*) - if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) - # These systems don't actually have a C or math library (as such) - continue - ;; - *-*-os2*) - # These systems don't actually have a C library (as such) - test "X$arg" = "X-lc" && continue - ;; - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) - # Do not include libc due to us having libc/libc_r. - test "X$arg" = "X-lc" && continue - ;; - *-*-rhapsody* | *-*-darwin1.[012]) - # Rhapsody C and math libraries are in the System framework - func_append deplibs " System.ltframework" - continue - ;; - *-*-sco3.2v5* | *-*-sco5v6*) - # Causes problems with __ctype - test "X$arg" = "X-lc" && continue - ;; - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) - # Compiler inserts libc in the correct place for threads to work - test "X$arg" = "X-lc" && continue - ;; - esac - elif test "X$arg" = "X-lc_r"; then - case $host in - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) - # Do not include libc_r directly, use -pthread flag. - continue - ;; - esac - fi - func_append deplibs " $arg" - continue - ;; - - -module) - module=yes - continue - ;; - - # Tru64 UNIX uses -model [arg] to determine the layout of C++ - # classes, name mangling, and exception handling. - # Darwin uses the -arch flag to determine output architecture. - -model|-arch|-isysroot|--sysroot) - func_append compiler_flags " $arg" - func_append compile_command " $arg" - func_append finalize_command " $arg" - prev=xcompiler - continue - ;; - - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ - |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) - func_append compiler_flags " $arg" - func_append compile_command " $arg" - func_append finalize_command " $arg" - case "$new_inherited_linker_flags " in - *" $arg "*) ;; - * ) func_append new_inherited_linker_flags " $arg" ;; - esac - continue - ;; - - -multi_module) - single_module="${wl}-multi_module" - continue - ;; - - -no-fast-install) - fast_install=no - continue - ;; - - -no-install) - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) - # The PATH hackery in wrapper scripts is required on Windows - # and Darwin in order for the loader to find any dlls it needs. - func_warning "\`-no-install' is ignored for $host" - func_warning "assuming \`-no-fast-install' instead" - fast_install=no - ;; - *) no_install=yes ;; - esac - continue - ;; - - -no-undefined) - allow_undefined=no - continue - ;; - - -objectlist) - prev=objectlist - continue - ;; - - -o) prev=output ;; - - -precious-files-regex) - prev=precious_regex - continue - ;; - - -release) - prev=release - continue - ;; - - -rpath) - prev=rpath - continue - ;; - - -R) - prev=xrpath - continue - ;; - - -R*) - func_stripname '-R' '' "$arg" - dir=$func_stripname_result - # We need an absolute path. - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) ;; - =*) - func_stripname '=' '' "$dir" - dir=$lt_sysroot$func_stripname_result - ;; - *) - func_fatal_error "only absolute run-paths are allowed" - ;; - esac - case "$xrpath " in - *" $dir "*) ;; - *) func_append xrpath " $dir" ;; - esac - continue - ;; - - -shared) - # The effects of -shared are defined in a previous loop. - continue - ;; - - -shrext) - prev=shrext - continue - ;; - - -static | -static-libtool-libs) - # The effects of -static are defined in a previous loop. - # We used to do the same as -all-static on platforms that - # didn't have a PIC flag, but the assumption that the effects - # would be equivalent was wrong. It would break on at least - # Digital Unix and AIX. - continue - ;; - - -thread-safe) - thread_safe=yes - continue - ;; - - -version-info) - prev=vinfo - continue - ;; - - -version-number) - prev=vinfo - vinfo_number=yes - continue - ;; - - -weak) - prev=weak - continue - ;; - - -Wc,*) - func_stripname '-Wc,' '' "$arg" - args=$func_stripname_result - arg= - save_ifs="$IFS"; IFS=',' - for flag in $args; do - IFS="$save_ifs" - func_quote_for_eval "$flag" - func_append arg " $func_quote_for_eval_result" - func_append compiler_flags " $func_quote_for_eval_result" - done - IFS="$save_ifs" - func_stripname ' ' '' "$arg" - arg=$func_stripname_result - ;; - - -Wl,*) - func_stripname '-Wl,' '' "$arg" - args=$func_stripname_result - arg= - save_ifs="$IFS"; IFS=',' - for flag in $args; do - IFS="$save_ifs" - func_quote_for_eval "$flag" - func_append arg " $wl$func_quote_for_eval_result" - func_append compiler_flags " $wl$func_quote_for_eval_result" - func_append linker_flags " $func_quote_for_eval_result" - done - IFS="$save_ifs" - func_stripname ' ' '' "$arg" - arg=$func_stripname_result - ;; - - -Xcompiler) - prev=xcompiler - continue - ;; - - -Xlinker) - prev=xlinker - continue - ;; - - -XCClinker) - prev=xcclinker - continue - ;; - - # -msg_* for osf cc - -msg_*) - func_quote_for_eval "$arg" - arg="$func_quote_for_eval_result" - ;; - - # Flags to be passed through unchanged, with rationale: - # -64, -mips[0-9] enable 64-bit mode for the SGI compiler - # -r[0-9][0-9]* specify processor for the SGI compiler - # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler - # +DA*, +DD* enable 64-bit mode for the HP compiler - # -q* compiler args for the IBM compiler - # -m*, -t[45]*, -txscale* architecture-specific flags for GCC - # -F/path path to uninstalled frameworks, gcc on darwin - # -p, -pg, --coverage, -fprofile-* profiling flags for GCC - # @file GCC response files - # -tp=* Portland pgcc target processor selection - # --sysroot=* for sysroot support - # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ - -O*|-flto*|-fwhopr*|-fuse-linker-plugin) - func_quote_for_eval "$arg" - arg="$func_quote_for_eval_result" - func_append compile_command " $arg" - func_append finalize_command " $arg" - func_append compiler_flags " $arg" - continue - ;; - - # Some other compiler flag. - -* | +*) - func_quote_for_eval "$arg" - arg="$func_quote_for_eval_result" - ;; - - *.$objext) - # A standard object. - func_append objs " $arg" - ;; - - *.lo) - # A libtool-controlled object. - - # Check to see that this really is a libtool object. - if func_lalib_unsafe_p "$arg"; then - pic_object= - non_pic_object= - - # Read the .lo file - func_source "$arg" - - if test -z "$pic_object" || - test -z "$non_pic_object" || - test "$pic_object" = none && - test "$non_pic_object" = none; then - func_fatal_error "cannot find name of object for \`$arg'" - fi - - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir="$func_dirname_result" - - if test "$pic_object" != none; then - # Prepend the subdirectory the object is found in. - pic_object="$xdir$pic_object" - - if test "$prev" = dlfiles; then - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then - func_append dlfiles " $pic_object" - prev= - continue - else - # If libtool objects are unsupported, then we need to preload. - prev=dlprefiles - fi - fi - - # CHECK ME: I think I busted this. -Ossama - if test "$prev" = dlprefiles; then - # Preload the old-style object. - func_append dlprefiles " $pic_object" - prev= - fi - - # A PIC object. - func_append libobjs " $pic_object" - arg="$pic_object" - fi - - # Non-PIC object. - if test "$non_pic_object" != none; then - # Prepend the subdirectory the object is found in. - non_pic_object="$xdir$non_pic_object" - - # A standard non-PIC object - func_append non_pic_objects " $non_pic_object" - if test -z "$pic_object" || test "$pic_object" = none ; then - arg="$non_pic_object" - fi - else - # If the PIC object exists, use it instead. - # $xdir was prepended to $pic_object above. - non_pic_object="$pic_object" - func_append non_pic_objects " $non_pic_object" - fi - else - # Only an error if not doing a dry-run. - if $opt_dry_run; then - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir="$func_dirname_result" - - func_lo2o "$arg" - pic_object=$xdir$objdir/$func_lo2o_result - non_pic_object=$xdir$func_lo2o_result - func_append libobjs " $pic_object" - func_append non_pic_objects " $non_pic_object" - else - func_fatal_error "\`$arg' is not a valid libtool object" - fi - fi - ;; - - *.$libext) - # An archive. - func_append deplibs " $arg" - func_append old_deplibs " $arg" - continue - ;; - - *.la) - # A libtool-controlled library. - - func_resolve_sysroot "$arg" - if test "$prev" = dlfiles; then - # This library was specified with -dlopen. - func_append dlfiles " $func_resolve_sysroot_result" - prev= - elif test "$prev" = dlprefiles; then - # The library was specified with -dlpreopen. - func_append dlprefiles " $func_resolve_sysroot_result" - prev= - else - func_append deplibs " $func_resolve_sysroot_result" - fi - continue - ;; - - # Some other compiler argument. - *) - # Unknown arguments in both finalize_command and compile_command need - # to be aesthetically quoted because they are evaled later. - func_quote_for_eval "$arg" - arg="$func_quote_for_eval_result" - ;; - esac # arg - - # Now actually substitute the argument into the commands. - if test -n "$arg"; then - func_append compile_command " $arg" - func_append finalize_command " $arg" - fi - done # argument parsing loop - - test -n "$prev" && \ - func_fatal_help "the \`$prevarg' option requires an argument" - - if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then - eval arg=\"$export_dynamic_flag_spec\" - func_append compile_command " $arg" - func_append finalize_command " $arg" - fi - - oldlibs= - # calculate the name of the file, without its directory - func_basename "$output" - outputname="$func_basename_result" - libobjs_save="$libobjs" - - if test -n "$shlibpath_var"; then - # get the directories listed in $shlibpath_var - eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\` - else - shlib_search_path= - fi - eval sys_lib_search_path=\"$sys_lib_search_path_spec\" - eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" - - func_dirname "$output" "/" "" - output_objdir="$func_dirname_result$objdir" - func_to_tool_file "$output_objdir/" - tool_output_objdir=$func_to_tool_file_result - # Create the object directory. - func_mkdir_p "$output_objdir" - - # Determine the type of output - case $output in - "") - func_fatal_help "you must specify an output file" - ;; - *.$libext) linkmode=oldlib ;; - *.lo | *.$objext) linkmode=obj ;; - *.la) linkmode=lib ;; - *) linkmode=prog ;; # Anything else should be a program. - esac - - specialdeplibs= - - libs= - # Find all interdependent deplibs by searching for libraries - # that are linked more than once (e.g. -la -lb -la) - for deplib in $deplibs; do - if $opt_preserve_dup_deps ; then - case "$libs " in - *" $deplib "*) func_append specialdeplibs " $deplib" ;; - esac - fi - func_append libs " $deplib" - done - - if test "$linkmode" = lib; then - libs="$predeps $libs $compiler_lib_search_path $postdeps" - - # Compute libraries that are listed more than once in $predeps - # $postdeps and mark them as special (i.e., whose duplicates are - # not to be eliminated). - pre_post_deps= - if $opt_duplicate_compiler_generated_deps; then - for pre_post_dep in $predeps $postdeps; do - case "$pre_post_deps " in - *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;; - esac - func_append pre_post_deps " $pre_post_dep" - done - fi - pre_post_deps= - fi - - deplibs= - newdependency_libs= - newlib_search_path= - need_relink=no # whether we're linking any uninstalled libtool libraries - notinst_deplibs= # not-installed libtool libraries - notinst_path= # paths that contain not-installed libtool libraries - - case $linkmode in - lib) - passes="conv dlpreopen link" - for file in $dlfiles $dlprefiles; do - case $file in - *.la) ;; - *) - func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file" - ;; - esac - done - ;; - prog) - compile_deplibs= - finalize_deplibs= - alldeplibs=no - newdlfiles= - newdlprefiles= - passes="conv scan dlopen dlpreopen link" - ;; - *) passes="conv" - ;; - esac - - for pass in $passes; do - # The preopen pass in lib mode reverses $deplibs; put it back here - # so that -L comes before libs that need it for instance... - if test "$linkmode,$pass" = "lib,link"; then - ## FIXME: Find the place where the list is rebuilt in the wrong - ## order, and fix it there properly - tmp_deplibs= - for deplib in $deplibs; do - tmp_deplibs="$deplib $tmp_deplibs" - done - deplibs="$tmp_deplibs" - fi - - if test "$linkmode,$pass" = "lib,link" || - test "$linkmode,$pass" = "prog,scan"; then - libs="$deplibs" - deplibs= - fi - if test "$linkmode" = prog; then - case $pass in - dlopen) libs="$dlfiles" ;; - dlpreopen) libs="$dlprefiles" ;; - link) - libs="$deplibs %DEPLIBS%" - test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" - ;; - esac - fi - if test "$linkmode,$pass" = "lib,dlpreopen"; then - # Collect and forward deplibs of preopened libtool libs - for lib in $dlprefiles; do - # Ignore non-libtool-libs - dependency_libs= - func_resolve_sysroot "$lib" - case $lib in - *.la) func_source "$func_resolve_sysroot_result" ;; - esac - - # Collect preopened libtool deplibs, except any this library - # has declared as weak libs - for deplib in $dependency_libs; do - func_basename "$deplib" - deplib_base=$func_basename_result - case " $weak_libs " in - *" $deplib_base "*) ;; - *) func_append deplibs " $deplib" ;; - esac - done - done - libs="$dlprefiles" - fi - if test "$pass" = dlopen; then - # Collect dlpreopened libraries - save_deplibs="$deplibs" - deplibs= - fi - - for deplib in $libs; do - lib= - found=no - case $deplib in - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ - |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - func_append compiler_flags " $deplib" - if test "$linkmode" = lib ; then - case "$new_inherited_linker_flags " in - *" $deplib "*) ;; - * ) func_append new_inherited_linker_flags " $deplib" ;; - esac - fi - fi - continue - ;; - -l*) - if test "$linkmode" != lib && test "$linkmode" != prog; then - func_warning "\`-l' is ignored for archives/objects" - continue - fi - func_stripname '-l' '' "$deplib" - name=$func_stripname_result - if test "$linkmode" = lib; then - searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" - else - searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" - fi - for searchdir in $searchdirs; do - for search_ext in .la $std_shrext .so .a; do - # Search the libtool library - lib="$searchdir/lib${name}${search_ext}" - if test -f "$lib"; then - if test "$search_ext" = ".la"; then - found=yes - else - found=no - fi - break 2 - fi - done - done - if test "$found" != yes; then - # deplib doesn't seem to be a libtool library - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - deplibs="$deplib $deplibs" - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" - fi - continue - else # deplib is a libtool library - # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, - # We need to do some special things here, and not later. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - case " $predeps $postdeps " in - *" $deplib "*) - if func_lalib_p "$lib"; then - library_names= - old_library= - func_source "$lib" - for l in $old_library $library_names; do - ll="$l" - done - if test "X$ll" = "X$old_library" ; then # only static version available - found=no - func_dirname "$lib" "" "." - ladir="$func_dirname_result" - lib=$ladir/$old_library - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - deplibs="$deplib $deplibs" - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" - fi - continue - fi - fi - ;; - *) ;; - esac - fi - fi - ;; # -l - *.ltframework) - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - deplibs="$deplib $deplibs" - if test "$linkmode" = lib ; then - case "$new_inherited_linker_flags " in - *" $deplib "*) ;; - * ) func_append new_inherited_linker_flags " $deplib" ;; - esac - fi - fi - continue - ;; - -L*) - case $linkmode in - lib) - deplibs="$deplib $deplibs" - test "$pass" = conv && continue - newdependency_libs="$deplib $newdependency_libs" - func_stripname '-L' '' "$deplib" - func_resolve_sysroot "$func_stripname_result" - func_append newlib_search_path " $func_resolve_sysroot_result" - ;; - prog) - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - continue - fi - if test "$pass" = scan; then - deplibs="$deplib $deplibs" - else - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - fi - func_stripname '-L' '' "$deplib" - func_resolve_sysroot "$func_stripname_result" - func_append newlib_search_path " $func_resolve_sysroot_result" - ;; - *) - func_warning "\`-L' is ignored for archives/objects" - ;; - esac # linkmode - continue - ;; # -L - -R*) - if test "$pass" = link; then - func_stripname '-R' '' "$deplib" - func_resolve_sysroot "$func_stripname_result" - dir=$func_resolve_sysroot_result - # Make sure the xrpath contains only unique directories. - case "$xrpath " in - *" $dir "*) ;; - *) func_append xrpath " $dir" ;; - esac - fi - deplibs="$deplib $deplibs" - continue - ;; - *.la) - func_resolve_sysroot "$deplib" - lib=$func_resolve_sysroot_result - ;; - *.$libext) - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - continue - fi - case $linkmode in - lib) - # Linking convenience modules into shared libraries is allowed, - # but linking other static libraries is non-portable. - case " $dlpreconveniencelibs " in - *" $deplib "*) ;; - *) - valid_a_lib=no - case $deplibs_check_method in - match_pattern*) - set dummy $deplibs_check_method; shift - match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` - if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ - | $EGREP "$match_pattern_regex" > /dev/null; then - valid_a_lib=yes - fi - ;; - pass_all) - valid_a_lib=yes - ;; - esac - if test "$valid_a_lib" != yes; then - echo - $ECHO "*** Warning: Trying to link with static lib archive $deplib." - echo "*** I have the capability to make that library automatically link in when" - echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have" - echo "*** because the file extensions .$libext of this argument makes me believe" - echo "*** that it is just a static archive that I should not use here." - else - echo - $ECHO "*** Warning: Linking the shared library $output against the" - $ECHO "*** static library $deplib is not portable!" - deplibs="$deplib $deplibs" - fi - ;; - esac - continue - ;; - prog) - if test "$pass" != link; then - deplibs="$deplib $deplibs" - else - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - fi - continue - ;; - esac # linkmode - ;; # *.$libext - *.lo | *.$objext) - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - elif test "$linkmode" = prog; then - if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then - # If there is no dlopen support or we're linking statically, - # we need to preload. - func_append newdlprefiles " $deplib" - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - func_append newdlfiles " $deplib" - fi - fi - continue - ;; - %DEPLIBS%) - alldeplibs=yes - continue - ;; - esac # case $deplib - - if test "$found" = yes || test -f "$lib"; then : - else - func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'" - fi - - # Check to see that this really is a libtool archive. - func_lalib_unsafe_p "$lib" \ - || func_fatal_error "\`$lib' is not a valid libtool archive" - - func_dirname "$lib" "" "." - ladir="$func_dirname_result" - - dlname= - dlopen= - dlpreopen= - libdir= - library_names= - old_library= - inherited_linker_flags= - # If the library was installed with an old release of libtool, - # it will not redefine variables installed, or shouldnotlink - installed=yes - shouldnotlink=no - avoidtemprpath= - - - # Read the .la file - func_source "$lib" - - # Convert "-framework foo" to "foo.ltframework" - if test -n "$inherited_linker_flags"; then - tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` - for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do - case " $new_inherited_linker_flags " in - *" $tmp_inherited_linker_flag "*) ;; - *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";; - esac - done - fi - dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` - if test "$linkmode,$pass" = "lib,link" || - test "$linkmode,$pass" = "prog,scan" || - { test "$linkmode" != prog && test "$linkmode" != lib; }; then - test -n "$dlopen" && func_append dlfiles " $dlopen" - test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" - fi - - if test "$pass" = conv; then - # Only check for convenience libraries - deplibs="$lib $deplibs" - if test -z "$libdir"; then - if test -z "$old_library"; then - func_fatal_error "cannot find name of link library for \`$lib'" - fi - # It is a libtool convenience library, so add in its objects. - func_append convenience " $ladir/$objdir/$old_library" - func_append old_convenience " $ladir/$objdir/$old_library" - tmp_libs= - for deplib in $dependency_libs; do - deplibs="$deplib $deplibs" - if $opt_preserve_dup_deps ; then - case "$tmp_libs " in - *" $deplib "*) func_append specialdeplibs " $deplib" ;; - esac - fi - func_append tmp_libs " $deplib" - done - elif test "$linkmode" != prog && test "$linkmode" != lib; then - func_fatal_error "\`$lib' is not a convenience library" - fi - continue - fi # $pass = conv - - - # Get the name of the library we link against. - linklib= - if test -n "$old_library" && - { test "$prefer_static_libs" = yes || - test "$prefer_static_libs,$installed" = "built,no"; }; then - linklib=$old_library - else - for l in $old_library $library_names; do - linklib="$l" - done - fi - if test -z "$linklib"; then - func_fatal_error "cannot find name of link library for \`$lib'" - fi - - # This library was specified with -dlopen. - if test "$pass" = dlopen; then - if test -z "$libdir"; then - func_fatal_error "cannot -dlopen a convenience library: \`$lib'" - fi - if test -z "$dlname" || - test "$dlopen_support" != yes || - test "$build_libtool_libs" = no; then - # If there is no dlname, no dlopen support or we're linking - # statically, we need to preload. We also need to preload any - # dependent libraries so libltdl's deplib preloader doesn't - # bomb out in the load deplibs phase. - func_append dlprefiles " $lib $dependency_libs" - else - func_append newdlfiles " $lib" - fi - continue - fi # $pass = dlopen - - # We need an absolute path. - case $ladir in - [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; - *) - abs_ladir=`cd "$ladir" && pwd` - if test -z "$abs_ladir"; then - func_warning "cannot determine absolute directory name of \`$ladir'" - func_warning "passing it literally to the linker, although it might fail" - abs_ladir="$ladir" - fi - ;; - esac - func_basename "$lib" - laname="$func_basename_result" - - # Find the relevant object directory and library name. - if test "X$installed" = Xyes; then - if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then - func_warning "library \`$lib' was moved." - dir="$ladir" - absdir="$abs_ladir" - libdir="$abs_ladir" - else - dir="$lt_sysroot$libdir" - absdir="$lt_sysroot$libdir" - fi - test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes - else - if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then - dir="$ladir" - absdir="$abs_ladir" - # Remove this search path later - func_append notinst_path " $abs_ladir" - else - dir="$ladir/$objdir" - absdir="$abs_ladir/$objdir" - # Remove this search path later - func_append notinst_path " $abs_ladir" - fi - fi # $installed = yes - func_stripname 'lib' '.la' "$laname" - name=$func_stripname_result - - # This library was specified with -dlpreopen. - if test "$pass" = dlpreopen; then - if test -z "$libdir" && test "$linkmode" = prog; then - func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'" - fi - case "$host" in - # special handling for platforms with PE-DLLs. - *cygwin* | *mingw* | *cegcc* ) - # Linker will automatically link against shared library if both - # static and shared are present. Therefore, ensure we extract - # symbols from the import library if a shared library is present - # (otherwise, the dlopen module name will be incorrect). We do - # this by putting the import library name into $newdlprefiles. - # We recover the dlopen module name by 'saving' the la file - # name in a special purpose variable, and (later) extracting the - # dlname from the la file. - if test -n "$dlname"; then - func_tr_sh "$dir/$linklib" - eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" - func_append newdlprefiles " $dir/$linklib" - else - func_append newdlprefiles " $dir/$old_library" - # Keep a list of preopened convenience libraries to check - # that they are being used correctly in the link pass. - test -z "$libdir" && \ - func_append dlpreconveniencelibs " $dir/$old_library" - fi - ;; - * ) - # Prefer using a static library (so that no silly _DYNAMIC symbols - # are required to link). - if test -n "$old_library"; then - func_append newdlprefiles " $dir/$old_library" - # Keep a list of preopened convenience libraries to check - # that they are being used correctly in the link pass. - test -z "$libdir" && \ - func_append dlpreconveniencelibs " $dir/$old_library" - # Otherwise, use the dlname, so that lt_dlopen finds it. - elif test -n "$dlname"; then - func_append newdlprefiles " $dir/$dlname" - else - func_append newdlprefiles " $dir/$linklib" - fi - ;; - esac - fi # $pass = dlpreopen - - if test -z "$libdir"; then - # Link the convenience library - if test "$linkmode" = lib; then - deplibs="$dir/$old_library $deplibs" - elif test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$dir/$old_library $compile_deplibs" - finalize_deplibs="$dir/$old_library $finalize_deplibs" - else - deplibs="$lib $deplibs" # used for prog,scan pass - fi - continue - fi - - - if test "$linkmode" = prog && test "$pass" != link; then - func_append newlib_search_path " $ladir" - deplibs="$lib $deplibs" - - linkalldeplibs=no - if test "$link_all_deplibs" != no || test -z "$library_names" || - test "$build_libtool_libs" = no; then - linkalldeplibs=yes - fi - - tmp_libs= - for deplib in $dependency_libs; do - case $deplib in - -L*) func_stripname '-L' '' "$deplib" - func_resolve_sysroot "$func_stripname_result" - func_append newlib_search_path " $func_resolve_sysroot_result" - ;; - esac - # Need to link against all dependency_libs? - if test "$linkalldeplibs" = yes; then - deplibs="$deplib $deplibs" - else - # Need to hardcode shared library paths - # or/and link against static libraries - newdependency_libs="$deplib $newdependency_libs" - fi - if $opt_preserve_dup_deps ; then - case "$tmp_libs " in - *" $deplib "*) func_append specialdeplibs " $deplib" ;; - esac - fi - func_append tmp_libs " $deplib" - done # for deplib - continue - fi # $linkmode = prog... - - if test "$linkmode,$pass" = "prog,link"; then - if test -n "$library_names" && - { { test "$prefer_static_libs" = no || - test "$prefer_static_libs,$installed" = "built,yes"; } || - test -z "$old_library"; }; then - # We need to hardcode the library path - if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then - # Make sure the rpath contains only unique directories. - case "$temp_rpath:" in - *"$absdir:"*) ;; - *) func_append temp_rpath "$absdir:" ;; - esac - fi - - # Hardcode the library path. - # Skip directories that are in the system default run-time - # search path. - case " $sys_lib_dlsearch_path " in - *" $absdir "*) ;; - *) - case "$compile_rpath " in - *" $absdir "*) ;; - *) func_append compile_rpath " $absdir" ;; - esac - ;; - esac - case " $sys_lib_dlsearch_path " in - *" $libdir "*) ;; - *) - case "$finalize_rpath " in - *" $libdir "*) ;; - *) func_append finalize_rpath " $libdir" ;; - esac - ;; - esac - fi # $linkmode,$pass = prog,link... - - if test "$alldeplibs" = yes && - { test "$deplibs_check_method" = pass_all || - { test "$build_libtool_libs" = yes && - test -n "$library_names"; }; }; then - # We only need to search for static libraries - continue - fi - fi - - link_static=no # Whether the deplib will be linked statically - use_static_libs=$prefer_static_libs - if test "$use_static_libs" = built && test "$installed" = yes; then - use_static_libs=no - fi - if test -n "$library_names" && - { test "$use_static_libs" = no || test -z "$old_library"; }; then - case $host in - *cygwin* | *mingw* | *cegcc*) - # No point in relinking DLLs because paths are not encoded - func_append notinst_deplibs " $lib" - need_relink=no - ;; - *) - if test "$installed" = no; then - func_append notinst_deplibs " $lib" - need_relink=yes - fi - ;; - esac - # This is a shared library - - # Warn about portability, can't link against -module's on some - # systems (darwin). Don't bleat about dlopened modules though! - dlopenmodule="" - for dlpremoduletest in $dlprefiles; do - if test "X$dlpremoduletest" = "X$lib"; then - dlopenmodule="$dlpremoduletest" - break - fi - done - if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then - echo - if test "$linkmode" = prog; then - $ECHO "*** Warning: Linking the executable $output against the loadable module" - else - $ECHO "*** Warning: Linking the shared library $output against the loadable module" - fi - $ECHO "*** $linklib is not portable!" - fi - if test "$linkmode" = lib && - test "$hardcode_into_libs" = yes; then - # Hardcode the library path. - # Skip directories that are in the system default run-time - # search path. - case " $sys_lib_dlsearch_path " in - *" $absdir "*) ;; - *) - case "$compile_rpath " in - *" $absdir "*) ;; - *) func_append compile_rpath " $absdir" ;; - esac - ;; - esac - case " $sys_lib_dlsearch_path " in - *" $libdir "*) ;; - *) - case "$finalize_rpath " in - *" $libdir "*) ;; - *) func_append finalize_rpath " $libdir" ;; - esac - ;; - esac - fi - - if test -n "$old_archive_from_expsyms_cmds"; then - # figure out the soname - set dummy $library_names - shift - realname="$1" - shift - libname=`eval "\\$ECHO \"$libname_spec\""` - # use dlname if we got it. it's perfectly good, no? - if test -n "$dlname"; then - soname="$dlname" - elif test -n "$soname_spec"; then - # bleh windows - case $host in - *cygwin* | mingw* | *cegcc*) - func_arith $current - $age - major=$func_arith_result - versuffix="-$major" - ;; - esac - eval soname=\"$soname_spec\" - else - soname="$realname" - fi - - # Make a new name for the extract_expsyms_cmds to use - soroot="$soname" - func_basename "$soroot" - soname="$func_basename_result" - func_stripname 'lib' '.dll' "$soname" - newlib=libimp-$func_stripname_result.a - - # If the library has no export list, then create one now - if test -f "$output_objdir/$soname-def"; then : - else - func_verbose "extracting exported symbol list from \`$soname'" - func_execute_cmds "$extract_expsyms_cmds" 'exit $?' - fi - - # Create $newlib - if test -f "$output_objdir/$newlib"; then :; else - func_verbose "generating import library for \`$soname'" - func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' - fi - # make sure the library variables are pointing to the new library - dir=$output_objdir - linklib=$newlib - fi # test -n "$old_archive_from_expsyms_cmds" - - if test "$linkmode" = prog || test "$opt_mode" != relink; then - add_shlibpath= - add_dir= - add= - lib_linked=yes - case $hardcode_action in - immediate | unsupported) - if test "$hardcode_direct" = no; then - add="$dir/$linklib" - case $host in - *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; - *-*-sysv4*uw2*) add_dir="-L$dir" ;; - *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ - *-*-unixware7*) add_dir="-L$dir" ;; - *-*-darwin* ) - # if the lib is a (non-dlopened) module then we can not - # link against it, someone is ignoring the earlier warnings - if /usr/bin/file -L $add 2> /dev/null | - $GREP ": [^:]* bundle" >/dev/null ; then - if test "X$dlopenmodule" != "X$lib"; then - $ECHO "*** Warning: lib $linklib is a module, not a shared library" - if test -z "$old_library" ; then - echo - echo "*** And there doesn't seem to be a static archive available" - echo "*** The link will probably fail, sorry" - else - add="$dir/$old_library" - fi - elif test -n "$old_library"; then - add="$dir/$old_library" - fi - fi - esac - elif test "$hardcode_minus_L" = no; then - case $host in - *-*-sunos*) add_shlibpath="$dir" ;; - esac - add_dir="-L$dir" - add="-l$name" - elif test "$hardcode_shlibpath_var" = no; then - add_shlibpath="$dir" - add="-l$name" - else - lib_linked=no - fi - ;; - relink) - if test "$hardcode_direct" = yes && - test "$hardcode_direct_absolute" = no; then - add="$dir/$linklib" - elif test "$hardcode_minus_L" = yes; then - add_dir="-L$absdir" - # Try looking first in the location we're being installed to. - if test -n "$inst_prefix_dir"; then - case $libdir in - [\\/]*) - func_append add_dir " -L$inst_prefix_dir$libdir" - ;; - esac - fi - add="-l$name" - elif test "$hardcode_shlibpath_var" = yes; then - add_shlibpath="$dir" - add="-l$name" - else - lib_linked=no - fi - ;; - *) lib_linked=no ;; - esac - - if test "$lib_linked" != yes; then - func_fatal_configuration "unsupported hardcode properties" - fi - - if test -n "$add_shlibpath"; then - case :$compile_shlibpath: in - *":$add_shlibpath:"*) ;; - *) func_append compile_shlibpath "$add_shlibpath:" ;; - esac - fi - if test "$linkmode" = prog; then - test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" - test -n "$add" && compile_deplibs="$add $compile_deplibs" - else - test -n "$add_dir" && deplibs="$add_dir $deplibs" - test -n "$add" && deplibs="$add $deplibs" - if test "$hardcode_direct" != yes && - test "$hardcode_minus_L" != yes && - test "$hardcode_shlibpath_var" = yes; then - case :$finalize_shlibpath: in - *":$libdir:"*) ;; - *) func_append finalize_shlibpath "$libdir:" ;; - esac - fi - fi - fi - - if test "$linkmode" = prog || test "$opt_mode" = relink; then - add_shlibpath= - add_dir= - add= - # Finalize command for both is simple: just hardcode it. - if test "$hardcode_direct" = yes && - test "$hardcode_direct_absolute" = no; then - add="$libdir/$linklib" - elif test "$hardcode_minus_L" = yes; then - add_dir="-L$libdir" - add="-l$name" - elif test "$hardcode_shlibpath_var" = yes; then - case :$finalize_shlibpath: in - *":$libdir:"*) ;; - *) func_append finalize_shlibpath "$libdir:" ;; - esac - add="-l$name" - elif test "$hardcode_automatic" = yes; then - if test -n "$inst_prefix_dir" && - test -f "$inst_prefix_dir$libdir/$linklib" ; then - add="$inst_prefix_dir$libdir/$linklib" - else - add="$libdir/$linklib" - fi - else - # We cannot seem to hardcode it, guess we'll fake it. - add_dir="-L$libdir" - # Try looking first in the location we're being installed to. - if test -n "$inst_prefix_dir"; then - case $libdir in - [\\/]*) - func_append add_dir " -L$inst_prefix_dir$libdir" - ;; - esac - fi - add="-l$name" - fi - - if test "$linkmode" = prog; then - test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" - test -n "$add" && finalize_deplibs="$add $finalize_deplibs" - else - test -n "$add_dir" && deplibs="$add_dir $deplibs" - test -n "$add" && deplibs="$add $deplibs" - fi - fi - elif test "$linkmode" = prog; then - # Here we assume that one of hardcode_direct or hardcode_minus_L - # is not unsupported. This is valid on all known static and - # shared platforms. - if test "$hardcode_direct" != unsupported; then - test -n "$old_library" && linklib="$old_library" - compile_deplibs="$dir/$linklib $compile_deplibs" - finalize_deplibs="$dir/$linklib $finalize_deplibs" - else - compile_deplibs="-l$name -L$dir $compile_deplibs" - finalize_deplibs="-l$name -L$dir $finalize_deplibs" - fi - elif test "$build_libtool_libs" = yes; then - # Not a shared library - if test "$deplibs_check_method" != pass_all; then - # We're trying link a shared library against a static one - # but the system doesn't support it. - - # Just print a warning and add the library to dependency_libs so - # that the program can be linked against the static library. - echo - $ECHO "*** Warning: This system can not link to static lib archive $lib." - echo "*** I have the capability to make that library automatically link in when" - echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have." - if test "$module" = yes; then - echo "*** But as you try to build a module library, libtool will still create " - echo "*** a static module, that should work as long as the dlopening application" - echo "*** is linked with the -dlopen flag to resolve symbols at runtime." - if test -z "$global_symbol_pipe"; then - echo - echo "*** However, this would only work if libtool was able to extract symbol" - echo "*** lists from a program, using \`nm' or equivalent, but libtool could" - echo "*** not find such a program. So, this module is probably useless." - echo "*** \`nm' from GNU binutils and a full rebuild may help." - fi - if test "$build_old_libs" = no; then - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - fi - else - deplibs="$dir/$old_library $deplibs" - link_static=yes - fi - fi # link shared/static library? - - if test "$linkmode" = lib; then - if test -n "$dependency_libs" && - { test "$hardcode_into_libs" != yes || - test "$build_old_libs" = yes || - test "$link_static" = yes; }; then - # Extract -R from dependency_libs - temp_deplibs= - for libdir in $dependency_libs; do - case $libdir in - -R*) func_stripname '-R' '' "$libdir" - temp_xrpath=$func_stripname_result - case " $xrpath " in - *" $temp_xrpath "*) ;; - *) func_append xrpath " $temp_xrpath";; - esac;; - *) func_append temp_deplibs " $libdir";; - esac - done - dependency_libs="$temp_deplibs" - fi - - func_append newlib_search_path " $absdir" - # Link against this library - test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" - # ... and its dependency_libs - tmp_libs= - for deplib in $dependency_libs; do - newdependency_libs="$deplib $newdependency_libs" - case $deplib in - -L*) func_stripname '-L' '' "$deplib" - func_resolve_sysroot "$func_stripname_result";; - *) func_resolve_sysroot "$deplib" ;; - esac - if $opt_preserve_dup_deps ; then - case "$tmp_libs " in - *" $func_resolve_sysroot_result "*) - func_append specialdeplibs " $func_resolve_sysroot_result" ;; - esac - fi - func_append tmp_libs " $func_resolve_sysroot_result" - done - - if test "$link_all_deplibs" != no; then - # Add the search paths of all dependency libraries - for deplib in $dependency_libs; do - path= - case $deplib in - -L*) path="$deplib" ;; - *.la) - func_resolve_sysroot "$deplib" - deplib=$func_resolve_sysroot_result - func_dirname "$deplib" "" "." - dir=$func_dirname_result - # We need an absolute path. - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; - *) - absdir=`cd "$dir" && pwd` - if test -z "$absdir"; then - func_warning "cannot determine absolute directory name of \`$dir'" - absdir="$dir" - fi - ;; - esac - if $GREP "^installed=no" $deplib > /dev/null; then - case $host in - *-*-darwin*) - depdepl= - eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` - if test -n "$deplibrary_names" ; then - for tmp in $deplibrary_names ; do - depdepl=$tmp - done - if test -f "$absdir/$objdir/$depdepl" ; then - depdepl="$absdir/$objdir/$depdepl" - darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` - if test -z "$darwin_install_name"; then - darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` - fi - func_append compiler_flags " ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" - func_append linker_flags " -dylib_file ${darwin_install_name}:${depdepl}" - path= - fi - fi - ;; - *) - path="-L$absdir/$objdir" - ;; - esac - else - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` - test -z "$libdir" && \ - func_fatal_error "\`$deplib' is not a valid libtool archive" - test "$absdir" != "$libdir" && \ - func_warning "\`$deplib' seems to be moved" - - path="-L$absdir" - fi - ;; - esac - case " $deplibs " in - *" $path "*) ;; - *) deplibs="$path $deplibs" ;; - esac - done - fi # link_all_deplibs != no - fi # linkmode = lib - done # for deplib in $libs - if test "$pass" = link; then - if test "$linkmode" = "prog"; then - compile_deplibs="$new_inherited_linker_flags $compile_deplibs" - finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" - else - compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` - fi - fi - dependency_libs="$newdependency_libs" - if test "$pass" = dlpreopen; then - # Link the dlpreopened libraries before other libraries - for deplib in $save_deplibs; do - deplibs="$deplib $deplibs" - done - fi - if test "$pass" != dlopen; then - if test "$pass" != conv; then - # Make sure lib_search_path contains only unique directories. - lib_search_path= - for dir in $newlib_search_path; do - case "$lib_search_path " in - *" $dir "*) ;; - *) func_append lib_search_path " $dir" ;; - esac - done - newlib_search_path= - fi - - if test "$linkmode,$pass" != "prog,link"; then - vars="deplibs" - else - vars="compile_deplibs finalize_deplibs" - fi - for var in $vars dependency_libs; do - # Add libraries to $var in reverse order - eval tmp_libs=\"\$$var\" - new_libs= - for deplib in $tmp_libs; do - # FIXME: Pedantically, this is the right thing to do, so - # that some nasty dependency loop isn't accidentally - # broken: - #new_libs="$deplib $new_libs" - # Pragmatically, this seems to cause very few problems in - # practice: - case $deplib in - -L*) new_libs="$deplib $new_libs" ;; - -R*) ;; - *) - # And here is the reason: when a library appears more - # than once as an explicit dependence of a library, or - # is implicitly linked in more than once by the - # compiler, it is considered special, and multiple - # occurrences thereof are not removed. Compare this - # with having the same library being listed as a - # dependency of multiple other libraries: in this case, - # we know (pedantically, we assume) the library does not - # need to be listed more than once, so we keep only the - # last copy. This is not always right, but it is rare - # enough that we require users that really mean to play - # such unportable linking tricks to link the library - # using -Wl,-lname, so that libtool does not consider it - # for duplicate removal. - case " $specialdeplibs " in - *" $deplib "*) new_libs="$deplib $new_libs" ;; - *) - case " $new_libs " in - *" $deplib "*) ;; - *) new_libs="$deplib $new_libs" ;; - esac - ;; - esac - ;; - esac - done - tmp_libs= - for deplib in $new_libs; do - case $deplib in - -L*) - case " $tmp_libs " in - *" $deplib "*) ;; - *) func_append tmp_libs " $deplib" ;; - esac - ;; - *) func_append tmp_libs " $deplib" ;; - esac - done - eval $var=\"$tmp_libs\" - done # for var - fi - # Last step: remove runtime libs from dependency_libs - # (they stay in deplibs) - tmp_libs= - for i in $dependency_libs ; do - case " $predeps $postdeps $compiler_lib_search_path " in - *" $i "*) - i="" - ;; - esac - if test -n "$i" ; then - func_append tmp_libs " $i" - fi - done - dependency_libs=$tmp_libs - done # for pass - if test "$linkmode" = prog; then - dlfiles="$newdlfiles" - fi - if test "$linkmode" = prog || test "$linkmode" = lib; then - dlprefiles="$newdlprefiles" - fi - - case $linkmode in - oldlib) - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then - func_warning "\`-dlopen' is ignored for archives" - fi - - case " $deplibs" in - *\ -l* | *\ -L*) - func_warning "\`-l' and \`-L' are ignored for archives" ;; - esac - - test -n "$rpath" && \ - func_warning "\`-rpath' is ignored for archives" - - test -n "$xrpath" && \ - func_warning "\`-R' is ignored for archives" - - test -n "$vinfo" && \ - func_warning "\`-version-info/-version-number' is ignored for archives" - - test -n "$release" && \ - func_warning "\`-release' is ignored for archives" - - test -n "$export_symbols$export_symbols_regex" && \ - func_warning "\`-export-symbols' is ignored for archives" - - # Now set the variables for building old libraries. - build_libtool_libs=no - oldlibs="$output" - func_append objs "$old_deplibs" - ;; - - lib) - # Make sure we only generate libraries of the form `libNAME.la'. - case $outputname in - lib*) - func_stripname 'lib' '.la' "$outputname" - name=$func_stripname_result - eval shared_ext=\"$shrext_cmds\" - eval libname=\"$libname_spec\" - ;; - *) - test "$module" = no && \ - func_fatal_help "libtool library \`$output' must begin with \`lib'" - - if test "$need_lib_prefix" != no; then - # Add the "lib" prefix for modules if required - func_stripname '' '.la' "$outputname" - name=$func_stripname_result - eval shared_ext=\"$shrext_cmds\" - eval libname=\"$libname_spec\" - else - func_stripname '' '.la' "$outputname" - libname=$func_stripname_result - fi - ;; - esac - - if test -n "$objs"; then - if test "$deplibs_check_method" != pass_all; then - func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" - else - echo - $ECHO "*** Warning: Linking the shared library $output against the non-libtool" - $ECHO "*** objects $objs is not portable!" - func_append libobjs " $objs" - fi - fi - - test "$dlself" != no && \ - func_warning "\`-dlopen self' is ignored for libtool libraries" - - set dummy $rpath - shift - test "$#" -gt 1 && \ - func_warning "ignoring multiple \`-rpath's for a libtool library" - - install_libdir="$1" - - oldlibs= - if test -z "$rpath"; then - if test "$build_libtool_libs" = yes; then - # Building a libtool convenience library. - # Some compilers have problems with a `.al' extension so - # convenience libraries should have the same extension an - # archive normally would. - oldlibs="$output_objdir/$libname.$libext $oldlibs" - build_libtool_libs=convenience - build_old_libs=yes - fi - - test -n "$vinfo" && \ - func_warning "\`-version-info/-version-number' is ignored for convenience libraries" - - test -n "$release" && \ - func_warning "\`-release' is ignored for convenience libraries" - else - - # Parse the version information argument. - save_ifs="$IFS"; IFS=':' - set dummy $vinfo 0 0 0 - shift - IFS="$save_ifs" - - test -n "$7" && \ - func_fatal_help "too many parameters to \`-version-info'" - - # convert absolute version numbers to libtool ages - # this retains compatibility with .la files and attempts - # to make the code below a bit more comprehensible - - case $vinfo_number in - yes) - number_major="$1" - number_minor="$2" - number_revision="$3" - # - # There are really only two kinds -- those that - # use the current revision as the major version - # and those that subtract age and use age as - # a minor version. But, then there is irix - # which has an extra 1 added just for fun - # - case $version_type in - # correct linux to gnu/linux during the next big refactor - darwin|linux|osf|windows|none) - func_arith $number_major + $number_minor - current=$func_arith_result - age="$number_minor" - revision="$number_revision" - ;; - freebsd-aout|freebsd-elf|qnx|sunos) - current="$number_major" - revision="$number_minor" - age="0" - ;; - irix|nonstopux) - func_arith $number_major + $number_minor - current=$func_arith_result - age="$number_minor" - revision="$number_minor" - lt_irix_increment=no - ;; - *) - func_fatal_configuration "$modename: unknown library version type \`$version_type'" - ;; - esac - ;; - no) - current="$1" - revision="$2" - age="$3" - ;; - esac - - # Check that each of the things are valid numbers. - case $current in - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; - *) - func_error "CURRENT \`$current' must be a nonnegative integer" - func_fatal_error "\`$vinfo' is not valid version information" - ;; - esac - - case $revision in - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; - *) - func_error "REVISION \`$revision' must be a nonnegative integer" - func_fatal_error "\`$vinfo' is not valid version information" - ;; - esac - - case $age in - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; - *) - func_error "AGE \`$age' must be a nonnegative integer" - func_fatal_error "\`$vinfo' is not valid version information" - ;; - esac - - if test "$age" -gt "$current"; then - func_error "AGE \`$age' is greater than the current interface number \`$current'" - func_fatal_error "\`$vinfo' is not valid version information" - fi - - # Calculate the version variables. - major= - versuffix= - verstring= - case $version_type in - none) ;; - - darwin) - # Like Linux, but with the current version available in - # verstring for coding it into the library header - func_arith $current - $age - major=.$func_arith_result - versuffix="$major.$age.$revision" - # Darwin ld doesn't like 0 for these options... - func_arith $current + 1 - minor_current=$func_arith_result - xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" - verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" - ;; - - freebsd-aout) - major=".$current" - versuffix=".$current.$revision"; - ;; - - freebsd-elf) - major=".$current" - versuffix=".$current" - ;; - - irix | nonstopux) - if test "X$lt_irix_increment" = "Xno"; then - func_arith $current - $age - else - func_arith $current - $age + 1 - fi - major=$func_arith_result - - case $version_type in - nonstopux) verstring_prefix=nonstopux ;; - *) verstring_prefix=sgi ;; - esac - verstring="$verstring_prefix$major.$revision" - - # Add in all the interfaces that we are compatible with. - loop=$revision - while test "$loop" -ne 0; do - func_arith $revision - $loop - iface=$func_arith_result - func_arith $loop - 1 - loop=$func_arith_result - verstring="$verstring_prefix$major.$iface:$verstring" - done - - # Before this point, $major must not contain `.'. - major=.$major - versuffix="$major.$revision" - ;; - - linux) # correct to gnu/linux during the next big refactor - func_arith $current - $age - major=.$func_arith_result - versuffix="$major.$age.$revision" - ;; - - osf) - func_arith $current - $age - major=.$func_arith_result - versuffix=".$current.$age.$revision" - verstring="$current.$age.$revision" - - # Add in all the interfaces that we are compatible with. - loop=$age - while test "$loop" -ne 0; do - func_arith $current - $loop - iface=$func_arith_result - func_arith $loop - 1 - loop=$func_arith_result - verstring="$verstring:${iface}.0" - done - - # Make executables depend on our current version. - func_append verstring ":${current}.0" - ;; - - qnx) - major=".$current" - versuffix=".$current" - ;; - - sunos) - major=".$current" - versuffix=".$current.$revision" - ;; - - windows) - # Use '-' rather than '.', since we only want one - # extension on DOS 8.3 filesystems. - func_arith $current - $age - major=$func_arith_result - versuffix="-$major" - ;; - - *) - func_fatal_configuration "unknown library version type \`$version_type'" - ;; - esac - - # Clear the version info if we defaulted, and they specified a release. - if test -z "$vinfo" && test -n "$release"; then - major= - case $version_type in - darwin) - # we can't check for "0.0" in archive_cmds due to quoting - # problems, so we reset it completely - verstring= - ;; - *) - verstring="0.0" - ;; - esac - if test "$need_version" = no; then - versuffix= - else - versuffix=".0.0" - fi - fi - - # Remove version info from name if versioning should be avoided - if test "$avoid_version" = yes && test "$need_version" = no; then - major= - versuffix= - verstring="" - fi - - # Check to see if the archive will have undefined symbols. - if test "$allow_undefined" = yes; then - if test "$allow_undefined_flag" = unsupported; then - func_warning "undefined symbols not allowed in $host shared libraries" - build_libtool_libs=no - build_old_libs=yes - fi - else - # Don't allow undefined symbols. - allow_undefined_flag="$no_undefined_flag" - fi - - fi - - func_generate_dlsyms "$libname" "$libname" "yes" - func_append libobjs " $symfileobj" - test "X$libobjs" = "X " && libobjs= - - if test "$opt_mode" != relink; then - # Remove our outputs, but don't remove object files since they - # may have been created when compiling PIC objects. - removelist= - tempremovelist=`$ECHO "$output_objdir/*"` - for p in $tempremovelist; do - case $p in - *.$objext | *.gcno) - ;; - $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) - if test "X$precious_files_regex" != "X"; then - if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 - then - continue - fi - fi - func_append removelist " $p" - ;; - *) ;; - esac - done - test -n "$removelist" && \ - func_show_eval "${RM}r \$removelist" - fi - - # Now set the variables for building old libraries. - if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then - func_append oldlibs " $output_objdir/$libname.$libext" - - # Transform .lo files to .o files. - oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP` - fi - - # Eliminate all temporary directories. - #for path in $notinst_path; do - # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` - # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` - # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` - #done - - if test -n "$xrpath"; then - # If the user specified any rpath flags, then add them. - temp_xrpath= - for libdir in $xrpath; do - func_replace_sysroot "$libdir" - func_append temp_xrpath " -R$func_replace_sysroot_result" - case "$finalize_rpath " in - *" $libdir "*) ;; - *) func_append finalize_rpath " $libdir" ;; - esac - done - if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then - dependency_libs="$temp_xrpath $dependency_libs" - fi - fi - - # Make sure dlfiles contains only unique files that won't be dlpreopened - old_dlfiles="$dlfiles" - dlfiles= - for lib in $old_dlfiles; do - case " $dlprefiles $dlfiles " in - *" $lib "*) ;; - *) func_append dlfiles " $lib" ;; - esac - done - - # Make sure dlprefiles contains only unique files - old_dlprefiles="$dlprefiles" - dlprefiles= - for lib in $old_dlprefiles; do - case "$dlprefiles " in - *" $lib "*) ;; - *) func_append dlprefiles " $lib" ;; - esac - done - - if test "$build_libtool_libs" = yes; then - if test -n "$rpath"; then - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) - # these systems don't actually have a c library (as such)! - ;; - *-*-rhapsody* | *-*-darwin1.[012]) - # Rhapsody C library is in the System framework - func_append deplibs " System.ltframework" - ;; - *-*-netbsd*) - # Don't link with libc until the a.out ld.so is fixed. - ;; - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) - # Do not include libc due to us having libc/libc_r. - ;; - *-*-sco3.2v5* | *-*-sco5v6*) - # Causes problems with __ctype - ;; - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) - # Compiler inserts libc in the correct place for threads to work - ;; - *) - # Add libc to deplibs on all other systems if necessary. - if test "$build_libtool_need_lc" = "yes"; then - func_append deplibs " -lc" - fi - ;; - esac - fi - - # Transform deplibs into only deplibs that can be linked in shared. - name_save=$name - libname_save=$libname - release_save=$release - versuffix_save=$versuffix - major_save=$major - # I'm not sure if I'm treating the release correctly. I think - # release should show up in the -l (ie -lgmp5) so we don't want to - # add it in twice. Is that correct? - release="" - versuffix="" - major="" - newdeplibs= - droppeddeps=no - case $deplibs_check_method in - pass_all) - # Don't check for shared/static. Everything works. - # This might be a little naive. We might want to check - # whether the library exists or not. But this is on - # osf3 & osf4 and I'm not really sure... Just - # implementing what was already the behavior. - newdeplibs=$deplibs - ;; - test_compile) - # This code stresses the "libraries are programs" paradigm to its - # limits. Maybe even breaks it. We compile a program, linking it - # against the deplibs as a proxy for the library. Then we can check - # whether they linked in statically or dynamically with ldd. - $opt_dry_run || $RM conftest.c - cat > conftest.c </dev/null` - $nocaseglob - else - potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` - fi - for potent_lib in $potential_libs; do - # Follow soft links. - if ls -lLd "$potent_lib" 2>/dev/null | - $GREP " -> " >/dev/null; then - continue - fi - # The statement above tries to avoid entering an - # endless loop below, in case of cyclic links. - # We might still enter an endless loop, since a link - # loop can be closed while we follow links, - # but so what? - potlib="$potent_lib" - while test -h "$potlib" 2>/dev/null; do - potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` - case $potliblink in - [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; - *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";; - esac - done - if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | - $SED -e 10q | - $EGREP "$file_magic_regex" > /dev/null; then - func_append newdeplibs " $a_deplib" - a_deplib="" - break 2 - fi - done - done - fi - if test -n "$a_deplib" ; then - droppeddeps=yes - echo - $ECHO "*** Warning: linker path does not have real file for library $a_deplib." - echo "*** I have the capability to make that library automatically link in when" - echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have" - echo "*** because I did check the linker path looking for a file starting" - if test -z "$potlib" ; then - $ECHO "*** with $libname but no candidates were found. (...for file magic test)" - else - $ECHO "*** with $libname and none of the candidates passed a file format test" - $ECHO "*** using a file magic. Last file checked: $potlib" - fi - fi - ;; - *) - # Add a -L argument. - func_append newdeplibs " $a_deplib" - ;; - esac - done # Gone through all deplibs. - ;; - match_pattern*) - set dummy $deplibs_check_method; shift - match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` - for a_deplib in $deplibs; do - case $a_deplib in - -l*) - func_stripname -l '' "$a_deplib" - name=$func_stripname_result - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - case " $predeps $postdeps " in - *" $a_deplib "*) - func_append newdeplibs " $a_deplib" - a_deplib="" - ;; - esac - fi - if test -n "$a_deplib" ; then - libname=`eval "\\$ECHO \"$libname_spec\""` - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do - potential_libs=`ls $i/$libname[.-]* 2>/dev/null` - for potent_lib in $potential_libs; do - potlib="$potent_lib" # see symlink-check above in file_magic test - if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ - $EGREP "$match_pattern_regex" > /dev/null; then - func_append newdeplibs " $a_deplib" - a_deplib="" - break 2 - fi - done - done - fi - if test -n "$a_deplib" ; then - droppeddeps=yes - echo - $ECHO "*** Warning: linker path does not have real file for library $a_deplib." - echo "*** I have the capability to make that library automatically link in when" - echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have" - echo "*** because I did check the linker path looking for a file starting" - if test -z "$potlib" ; then - $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" - else - $ECHO "*** with $libname and none of the candidates passed a file format test" - $ECHO "*** using a regex pattern. Last file checked: $potlib" - fi - fi - ;; - *) - # Add a -L argument. - func_append newdeplibs " $a_deplib" - ;; - esac - done # Gone through all deplibs. - ;; - none | unknown | *) - newdeplibs="" - tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - for i in $predeps $postdeps ; do - # can't use Xsed below, because $i might contain '/' - tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"` - done - fi - case $tmp_deplibs in - *[!\ \ ]*) - echo - if test "X$deplibs_check_method" = "Xnone"; then - echo "*** Warning: inter-library dependencies are not supported in this platform." - else - echo "*** Warning: inter-library dependencies are not known to be supported." - fi - echo "*** All declared inter-library dependencies are being dropped." - droppeddeps=yes - ;; - esac - ;; - esac - versuffix=$versuffix_save - major=$major_save - release=$release_save - libname=$libname_save - name=$name_save - - case $host in - *-*-rhapsody* | *-*-darwin1.[012]) - # On Rhapsody replace the C library with the System framework - newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` - ;; - esac - - if test "$droppeddeps" = yes; then - if test "$module" = yes; then - echo - echo "*** Warning: libtool could not satisfy all declared inter-library" - $ECHO "*** dependencies of module $libname. Therefore, libtool will create" - echo "*** a static module, that should work as long as the dlopening" - echo "*** application is linked with the -dlopen flag." - if test -z "$global_symbol_pipe"; then - echo - echo "*** However, this would only work if libtool was able to extract symbol" - echo "*** lists from a program, using \`nm' or equivalent, but libtool could" - echo "*** not find such a program. So, this module is probably useless." - echo "*** \`nm' from GNU binutils and a full rebuild may help." - fi - if test "$build_old_libs" = no; then - oldlibs="$output_objdir/$libname.$libext" - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - else - echo "*** The inter-library dependencies that have been dropped here will be" - echo "*** automatically added whenever a program is linked with this library" - echo "*** or is declared to -dlopen it." - - if test "$allow_undefined" = no; then - echo - echo "*** Since this library must not contain undefined symbols," - echo "*** because either the platform does not support them or" - echo "*** it was explicitly requested with -no-undefined," - echo "*** libtool will only create a static version of it." - if test "$build_old_libs" = no; then - oldlibs="$output_objdir/$libname.$libext" - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - fi - fi - fi - # Done checking deplibs! - deplibs=$newdeplibs - fi - # Time to change all our "foo.ltframework" stuff back to "-framework foo" - case $host in - *-*-darwin*) - newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` - new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` - deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` - ;; - esac - - # move library search paths that coincide with paths to not yet - # installed libraries to the beginning of the library search list - new_libs= - for path in $notinst_path; do - case " $new_libs " in - *" -L$path/$objdir "*) ;; - *) - case " $deplibs " in - *" -L$path/$objdir "*) - func_append new_libs " -L$path/$objdir" ;; - esac - ;; - esac - done - for deplib in $deplibs; do - case $deplib in - -L*) - case " $new_libs " in - *" $deplib "*) ;; - *) func_append new_libs " $deplib" ;; - esac - ;; - *) func_append new_libs " $deplib" ;; - esac - done - deplibs="$new_libs" - - # All the library-specific variables (install_libdir is set above). - library_names= - old_library= - dlname= - - # Test again, we may have decided not to build it any more - if test "$build_libtool_libs" = yes; then - # Remove ${wl} instances when linking with ld. - # FIXME: should test the right _cmds variable. - case $archive_cmds in - *\$LD\ *) wl= ;; - esac - if test "$hardcode_into_libs" = yes; then - # Hardcode the library paths - hardcode_libdirs= - dep_rpath= - rpath="$finalize_rpath" - test "$opt_mode" != relink && rpath="$compile_rpath$rpath" - for libdir in $rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - func_replace_sysroot "$libdir" - libdir=$func_replace_sysroot_result - if test -z "$hardcode_libdirs"; then - hardcode_libdirs="$libdir" - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - func_append dep_rpath " $flag" - fi - elif test -n "$runpath_var"; then - case "$perm_rpath " in - *" $libdir "*) ;; - *) func_append perm_rpath " $libdir" ;; - esac - fi - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir="$hardcode_libdirs" - eval "dep_rpath=\"$hardcode_libdir_flag_spec\"" - fi - if test -n "$runpath_var" && test -n "$perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $perm_rpath; do - func_append rpath "$dir:" - done - eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" - fi - test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" - fi - - shlibpath="$finalize_shlibpath" - test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath" - if test -n "$shlibpath"; then - eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" - fi - - # Get the real and link names of the library. - eval shared_ext=\"$shrext_cmds\" - eval library_names=\"$library_names_spec\" - set dummy $library_names - shift - realname="$1" - shift - - if test -n "$soname_spec"; then - eval soname=\"$soname_spec\" - else - soname="$realname" - fi - if test -z "$dlname"; then - dlname=$soname - fi - - lib="$output_objdir/$realname" - linknames= - for link - do - func_append linknames " $link" - done - - # Use standard objects if they are pic - test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` - test "X$libobjs" = "X " && libobjs= - - delfiles= - if test -n "$export_symbols" && test -n "$include_expsyms"; then - $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" - export_symbols="$output_objdir/$libname.uexp" - func_append delfiles " $export_symbols" - fi - - orig_export_symbols= - case $host_os in - cygwin* | mingw* | cegcc*) - if test -n "$export_symbols" && test -z "$export_symbols_regex"; then - # exporting using user supplied symfile - if test "x`$SED 1q $export_symbols`" != xEXPORTS; then - # and it's NOT already a .def file. Must figure out - # which of the given symbols are data symbols and tag - # them as such. So, trigger use of export_symbols_cmds. - # export_symbols gets reassigned inside the "prepare - # the list of exported symbols" if statement, so the - # include_expsyms logic still works. - orig_export_symbols="$export_symbols" - export_symbols= - always_export_symbols=yes - fi - fi - ;; - esac - - # Prepare the list of exported symbols - if test -z "$export_symbols"; then - if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then - func_verbose "generating symbol list for \`$libname.la'" - export_symbols="$output_objdir/$libname.exp" - $opt_dry_run || $RM $export_symbols - cmds=$export_symbols_cmds - save_ifs="$IFS"; IFS='~' - for cmd1 in $cmds; do - IFS="$save_ifs" - # Take the normal branch if the nm_file_list_spec branch - # doesn't work or if tool conversion is not needed. - case $nm_file_list_spec~$to_tool_file_cmd in - *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) - try_normal_branch=yes - eval cmd=\"$cmd1\" - func_len " $cmd" - len=$func_len_result - ;; - *) - try_normal_branch=no - ;; - esac - if test "$try_normal_branch" = yes \ - && { test "$len" -lt "$max_cmd_len" \ - || test "$max_cmd_len" -le -1; } - then - func_show_eval "$cmd" 'exit $?' - skipped_export=false - elif test -n "$nm_file_list_spec"; then - func_basename "$output" - output_la=$func_basename_result - save_libobjs=$libobjs - save_output=$output - output=${output_objdir}/${output_la}.nm - func_to_tool_file "$output" - libobjs=$nm_file_list_spec$func_to_tool_file_result - func_append delfiles " $output" - func_verbose "creating $NM input file list: $output" - for obj in $save_libobjs; do - func_to_tool_file "$obj" - $ECHO "$func_to_tool_file_result" - done > "$output" - eval cmd=\"$cmd1\" - func_show_eval "$cmd" 'exit $?' - output=$save_output - libobjs=$save_libobjs - skipped_export=false - else - # The command line is too long to execute in one step. - func_verbose "using reloadable object file for export list..." - skipped_export=: - # Break out early, otherwise skipped_export may be - # set to false by a later but shorter cmd. - break - fi - done - IFS="$save_ifs" - if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then - func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' - func_show_eval '$MV "${export_symbols}T" "$export_symbols"' - fi - fi - fi - - if test -n "$export_symbols" && test -n "$include_expsyms"; then - tmp_export_symbols="$export_symbols" - test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" - $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' - fi - - if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then - # The given exports_symbols file has to be filtered, so filter it. - func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" - # FIXME: $output_objdir/$libname.filter potentially contains lots of - # 's' commands which not all seds can handle. GNU sed should be fine - # though. Also, the filter scales superlinearly with the number of - # global variables. join(1) would be nice here, but unfortunately - # isn't a blessed tool. - $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter - func_append delfiles " $export_symbols $output_objdir/$libname.filter" - export_symbols=$output_objdir/$libname.def - $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols - fi - - tmp_deplibs= - for test_deplib in $deplibs; do - case " $convenience " in - *" $test_deplib "*) ;; - *) - func_append tmp_deplibs " $test_deplib" - ;; - esac - done - deplibs="$tmp_deplibs" - - if test -n "$convenience"; then - if test -n "$whole_archive_flag_spec" && - test "$compiler_needs_object" = yes && - test -z "$libobjs"; then - # extract the archives, so we have objects to list. - # TODO: could optimize this to just extract one archive. - whole_archive_flag_spec= - fi - if test -n "$whole_archive_flag_spec"; then - save_libobjs=$libobjs - eval libobjs=\"\$libobjs $whole_archive_flag_spec\" - test "X$libobjs" = "X " && libobjs= - else - gentop="$output_objdir/${outputname}x" - func_append generated " $gentop" - - func_extract_archives $gentop $convenience - func_append libobjs " $func_extract_archives_result" - test "X$libobjs" = "X " && libobjs= - fi - fi - - if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then - eval flag=\"$thread_safe_flag_spec\" - func_append linker_flags " $flag" - fi - - # Make a backup of the uninstalled library when relinking - if test "$opt_mode" = relink; then - $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? - fi - - # Do each of the archive commands. - if test "$module" = yes && test -n "$module_cmds" ; then - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then - eval test_cmds=\"$module_expsym_cmds\" - cmds=$module_expsym_cmds - else - eval test_cmds=\"$module_cmds\" - cmds=$module_cmds - fi - else - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then - eval test_cmds=\"$archive_expsym_cmds\" - cmds=$archive_expsym_cmds - else - eval test_cmds=\"$archive_cmds\" - cmds=$archive_cmds - fi - fi - - if test "X$skipped_export" != "X:" && - func_len " $test_cmds" && - len=$func_len_result && - test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then - : - else - # The command line is too long to link in one step, link piecewise - # or, if using GNU ld and skipped_export is not :, use a linker - # script. - - # Save the value of $output and $libobjs because we want to - # use them later. If we have whole_archive_flag_spec, we - # want to use save_libobjs as it was before - # whole_archive_flag_spec was expanded, because we can't - # assume the linker understands whole_archive_flag_spec. - # This may have to be revisited, in case too many - # convenience libraries get linked in and end up exceeding - # the spec. - if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then - save_libobjs=$libobjs - fi - save_output=$output - func_basename "$output" - output_la=$func_basename_result - - # Clear the reloadable object creation command queue and - # initialize k to one. - test_cmds= - concat_cmds= - objlist= - last_robj= - k=1 - - if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then - output=${output_objdir}/${output_la}.lnkscript - func_verbose "creating GNU ld script: $output" - echo 'INPUT (' > $output - for obj in $save_libobjs - do - func_to_tool_file "$obj" - $ECHO "$func_to_tool_file_result" >> $output - done - echo ')' >> $output - func_append delfiles " $output" - func_to_tool_file "$output" - output=$func_to_tool_file_result - elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then - output=${output_objdir}/${output_la}.lnk - func_verbose "creating linker input file list: $output" - : > $output - set x $save_libobjs - shift - firstobj= - if test "$compiler_needs_object" = yes; then - firstobj="$1 " - shift - fi - for obj - do - func_to_tool_file "$obj" - $ECHO "$func_to_tool_file_result" >> $output - done - func_append delfiles " $output" - func_to_tool_file "$output" - output=$firstobj\"$file_list_spec$func_to_tool_file_result\" - else - if test -n "$save_libobjs"; then - func_verbose "creating reloadable object files..." - output=$output_objdir/$output_la-${k}.$objext - eval test_cmds=\"$reload_cmds\" - func_len " $test_cmds" - len0=$func_len_result - len=$len0 - - # Loop over the list of objects to be linked. - for obj in $save_libobjs - do - func_len " $obj" - func_arith $len + $func_len_result - len=$func_arith_result - if test "X$objlist" = X || - test "$len" -lt "$max_cmd_len"; then - func_append objlist " $obj" - else - # The command $test_cmds is almost too long, add a - # command to the queue. - if test "$k" -eq 1 ; then - # The first file doesn't have a previous command to add. - reload_objs=$objlist - eval concat_cmds=\"$reload_cmds\" - else - # All subsequent reloadable object files will link in - # the last one created. - reload_objs="$objlist $last_robj" - eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\" - fi - last_robj=$output_objdir/$output_la-${k}.$objext - func_arith $k + 1 - k=$func_arith_result - output=$output_objdir/$output_la-${k}.$objext - objlist=" $obj" - func_len " $last_robj" - func_arith $len0 + $func_len_result - len=$func_arith_result - fi - done - # Handle the remaining objects by creating one last - # reloadable object file. All subsequent reloadable object - # files will link in the last one created. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - reload_objs="$objlist $last_robj" - eval concat_cmds=\"\${concat_cmds}$reload_cmds\" - if test -n "$last_robj"; then - eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" - fi - func_append delfiles " $output" - - else - output= - fi - - if ${skipped_export-false}; then - func_verbose "generating symbol list for \`$libname.la'" - export_symbols="$output_objdir/$libname.exp" - $opt_dry_run || $RM $export_symbols - libobjs=$output - # Append the command to create the export file. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" - if test -n "$last_robj"; then - eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" - fi - fi - - test -n "$save_libobjs" && - func_verbose "creating a temporary reloadable object file: $output" - - # Loop through the commands generated above and execute them. - save_ifs="$IFS"; IFS='~' - for cmd in $concat_cmds; do - IFS="$save_ifs" - $opt_silent || { - func_quote_for_expand "$cmd" - eval "func_echo $func_quote_for_expand_result" - } - $opt_dry_run || eval "$cmd" || { - lt_exit=$? - - # Restore the uninstalled library and exit - if test "$opt_mode" = relink; then - ( cd "$output_objdir" && \ - $RM "${realname}T" && \ - $MV "${realname}U" "$realname" ) - fi - - exit $lt_exit - } - done - IFS="$save_ifs" - - if test -n "$export_symbols_regex" && ${skipped_export-false}; then - func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' - func_show_eval '$MV "${export_symbols}T" "$export_symbols"' - fi - fi - - if ${skipped_export-false}; then - if test -n "$export_symbols" && test -n "$include_expsyms"; then - tmp_export_symbols="$export_symbols" - test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" - $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' - fi - - if test -n "$orig_export_symbols"; then - # The given exports_symbols file has to be filtered, so filter it. - func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" - # FIXME: $output_objdir/$libname.filter potentially contains lots of - # 's' commands which not all seds can handle. GNU sed should be fine - # though. Also, the filter scales superlinearly with the number of - # global variables. join(1) would be nice here, but unfortunately - # isn't a blessed tool. - $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter - func_append delfiles " $export_symbols $output_objdir/$libname.filter" - export_symbols=$output_objdir/$libname.def - $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols - fi - fi - - libobjs=$output - # Restore the value of output. - output=$save_output - - if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then - eval libobjs=\"\$libobjs $whole_archive_flag_spec\" - test "X$libobjs" = "X " && libobjs= - fi - # Expand the library linking commands again to reset the - # value of $libobjs for piecewise linking. - - # Do each of the archive commands. - if test "$module" = yes && test -n "$module_cmds" ; then - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then - cmds=$module_expsym_cmds - else - cmds=$module_cmds - fi - else - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then - cmds=$archive_expsym_cmds - else - cmds=$archive_cmds - fi - fi - fi - - if test -n "$delfiles"; then - # Append the command to remove temporary files to $cmds. - eval cmds=\"\$cmds~\$RM $delfiles\" - fi - - # Add any objects from preloaded convenience libraries - if test -n "$dlprefiles"; then - gentop="$output_objdir/${outputname}x" - func_append generated " $gentop" - - func_extract_archives $gentop $dlprefiles - func_append libobjs " $func_extract_archives_result" - test "X$libobjs" = "X " && libobjs= - fi - - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $opt_silent || { - func_quote_for_expand "$cmd" - eval "func_echo $func_quote_for_expand_result" - } - $opt_dry_run || eval "$cmd" || { - lt_exit=$? - - # Restore the uninstalled library and exit - if test "$opt_mode" = relink; then - ( cd "$output_objdir" && \ - $RM "${realname}T" && \ - $MV "${realname}U" "$realname" ) - fi - - exit $lt_exit - } - done - IFS="$save_ifs" - - # Restore the uninstalled library and exit - if test "$opt_mode" = relink; then - $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? - - if test -n "$convenience"; then - if test -z "$whole_archive_flag_spec"; then - func_show_eval '${RM}r "$gentop"' - fi - fi - - exit $EXIT_SUCCESS - fi - - # Create links to the real library. - for linkname in $linknames; do - if test "$realname" != "$linkname"; then - func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' - fi - done - - # If -module or -export-dynamic was specified, set the dlname. - if test "$module" = yes || test "$export_dynamic" = yes; then - # On all known operating systems, these are identical. - dlname="$soname" - fi - fi - ;; - - obj) - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then - func_warning "\`-dlopen' is ignored for objects" - fi - - case " $deplibs" in - *\ -l* | *\ -L*) - func_warning "\`-l' and \`-L' are ignored for objects" ;; - esac - - test -n "$rpath" && \ - func_warning "\`-rpath' is ignored for objects" - - test -n "$xrpath" && \ - func_warning "\`-R' is ignored for objects" - - test -n "$vinfo" && \ - func_warning "\`-version-info' is ignored for objects" - - test -n "$release" && \ - func_warning "\`-release' is ignored for objects" - - case $output in - *.lo) - test -n "$objs$old_deplibs" && \ - func_fatal_error "cannot build library object \`$output' from non-libtool objects" - - libobj=$output - func_lo2o "$libobj" - obj=$func_lo2o_result - ;; - *) - libobj= - obj="$output" - ;; - esac - - # Delete the old objects. - $opt_dry_run || $RM $obj $libobj - - # Objects from convenience libraries. This assumes - # single-version convenience libraries. Whenever we create - # different ones for PIC/non-PIC, this we'll have to duplicate - # the extraction. - reload_conv_objs= - gentop= - # reload_cmds runs $LD directly, so let us get rid of - # -Wl from whole_archive_flag_spec and hope we can get by with - # turning comma into space.. - wl= - - if test -n "$convenience"; then - if test -n "$whole_archive_flag_spec"; then - eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" - reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` - else - gentop="$output_objdir/${obj}x" - func_append generated " $gentop" - - func_extract_archives $gentop $convenience - reload_conv_objs="$reload_objs $func_extract_archives_result" - fi - fi - - # If we're not building shared, we need to use non_pic_objs - test "$build_libtool_libs" != yes && libobjs="$non_pic_objects" - - # Create the old-style object. - reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test - - output="$obj" - func_execute_cmds "$reload_cmds" 'exit $?' - - # Exit if we aren't doing a library object file. - if test -z "$libobj"; then - if test -n "$gentop"; then - func_show_eval '${RM}r "$gentop"' - fi - - exit $EXIT_SUCCESS - fi - - if test "$build_libtool_libs" != yes; then - if test -n "$gentop"; then - func_show_eval '${RM}r "$gentop"' - fi - - # Create an invalid libtool object if no PIC, so that we don't - # accidentally link it into a program. - # $show "echo timestamp > $libobj" - # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? - exit $EXIT_SUCCESS - fi - - if test -n "$pic_flag" || test "$pic_mode" != default; then - # Only do commands if we really have different PIC objects. - reload_objs="$libobjs $reload_conv_objs" - output="$libobj" - func_execute_cmds "$reload_cmds" 'exit $?' - fi - - if test -n "$gentop"; then - func_show_eval '${RM}r "$gentop"' - fi - - exit $EXIT_SUCCESS - ;; - - prog) - case $host in - *cygwin*) func_stripname '' '.exe' "$output" - output=$func_stripname_result.exe;; - esac - test -n "$vinfo" && \ - func_warning "\`-version-info' is ignored for programs" - - test -n "$release" && \ - func_warning "\`-release' is ignored for programs" - - test "$preload" = yes \ - && test "$dlopen_support" = unknown \ - && test "$dlopen_self" = unknown \ - && test "$dlopen_self_static" = unknown && \ - func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support." - - case $host in - *-*-rhapsody* | *-*-darwin1.[012]) - # On Rhapsody replace the C library is the System framework - compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` - finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` - ;; - esac - - case $host in - *-*-darwin*) - # Don't allow lazy linking, it breaks C++ global constructors - # But is supposedly fixed on 10.4 or later (yay!). - if test "$tagname" = CXX ; then - case ${MACOSX_DEPLOYMENT_TARGET-10.0} in - 10.[0123]) - func_append compile_command " ${wl}-bind_at_load" - func_append finalize_command " ${wl}-bind_at_load" - ;; - esac - fi - # Time to change all our "foo.ltframework" stuff back to "-framework foo" - compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` - finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` - ;; - esac - - - # move library search paths that coincide with paths to not yet - # installed libraries to the beginning of the library search list - new_libs= - for path in $notinst_path; do - case " $new_libs " in - *" -L$path/$objdir "*) ;; - *) - case " $compile_deplibs " in - *" -L$path/$objdir "*) - func_append new_libs " -L$path/$objdir" ;; - esac - ;; - esac - done - for deplib in $compile_deplibs; do - case $deplib in - -L*) - case " $new_libs " in - *" $deplib "*) ;; - *) func_append new_libs " $deplib" ;; - esac - ;; - *) func_append new_libs " $deplib" ;; - esac - done - compile_deplibs="$new_libs" - - - func_append compile_command " $compile_deplibs" - func_append finalize_command " $finalize_deplibs" - - if test -n "$rpath$xrpath"; then - # If the user specified any rpath flags, then add them. - for libdir in $rpath $xrpath; do - # This is the magic to use -rpath. - case "$finalize_rpath " in - *" $libdir "*) ;; - *) func_append finalize_rpath " $libdir" ;; - esac - done - fi - - # Now hardcode the library paths - rpath= - hardcode_libdirs= - for libdir in $compile_rpath $finalize_rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - if test -z "$hardcode_libdirs"; then - hardcode_libdirs="$libdir" - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - func_append rpath " $flag" - fi - elif test -n "$runpath_var"; then - case "$perm_rpath " in - *" $libdir "*) ;; - *) func_append perm_rpath " $libdir" ;; - esac - fi - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'` - case :$dllsearchpath: in - *":$libdir:"*) ;; - ::) dllsearchpath=$libdir;; - *) func_append dllsearchpath ":$libdir";; - esac - case :$dllsearchpath: in - *":$testbindir:"*) ;; - ::) dllsearchpath=$testbindir;; - *) func_append dllsearchpath ":$testbindir";; - esac - ;; - esac - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir="$hardcode_libdirs" - eval rpath=\" $hardcode_libdir_flag_spec\" - fi - compile_rpath="$rpath" - - rpath= - hardcode_libdirs= - for libdir in $finalize_rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - if test -z "$hardcode_libdirs"; then - hardcode_libdirs="$libdir" - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - func_append rpath " $flag" - fi - elif test -n "$runpath_var"; then - case "$finalize_perm_rpath " in - *" $libdir "*) ;; - *) func_append finalize_perm_rpath " $libdir" ;; - esac - fi - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir="$hardcode_libdirs" - eval rpath=\" $hardcode_libdir_flag_spec\" - fi - finalize_rpath="$rpath" - - if test -n "$libobjs" && test "$build_old_libs" = yes; then - # Transform all the library objects into standard objects. - compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` - finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` - fi - - func_generate_dlsyms "$outputname" "@PROGRAM@" "no" - - # template prelinking step - if test -n "$prelink_cmds"; then - func_execute_cmds "$prelink_cmds" 'exit $?' - fi - - wrappers_required=yes - case $host in - *cegcc* | *mingw32ce*) - # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. - wrappers_required=no - ;; - *cygwin* | *mingw* ) - if test "$build_libtool_libs" != yes; then - wrappers_required=no - fi - ;; - *) - if test "$need_relink" = no || test "$build_libtool_libs" != yes; then - wrappers_required=no - fi - ;; - esac - if test "$wrappers_required" = no; then - # Replace the output file specification. - compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'` - link_command="$compile_command$compile_rpath" - - # We have no uninstalled library dependencies, so finalize right now. - exit_status=0 - func_show_eval "$link_command" 'exit_status=$?' - - if test -n "$postlink_cmds"; then - func_to_tool_file "$output" - postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` - func_execute_cmds "$postlink_cmds" 'exit $?' - fi - - # Delete the generated files. - if test -f "$output_objdir/${outputname}S.${objext}"; then - func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"' - fi - - exit $exit_status - fi - - if test -n "$compile_shlibpath$finalize_shlibpath"; then - compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" - fi - if test -n "$finalize_shlibpath"; then - finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" - fi - - compile_var= - finalize_var= - if test -n "$runpath_var"; then - if test -n "$perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $perm_rpath; do - func_append rpath "$dir:" - done - compile_var="$runpath_var=\"$rpath\$$runpath_var\" " - fi - if test -n "$finalize_perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $finalize_perm_rpath; do - func_append rpath "$dir:" - done - finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " - fi - fi - - if test "$no_install" = yes; then - # We don't need to create a wrapper script. - link_command="$compile_var$compile_command$compile_rpath" - # Replace the output file specification. - link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'` - # Delete the old output file. - $opt_dry_run || $RM $output - # Link the executable and exit - func_show_eval "$link_command" 'exit $?' - - if test -n "$postlink_cmds"; then - func_to_tool_file "$output" - postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` - func_execute_cmds "$postlink_cmds" 'exit $?' - fi - - exit $EXIT_SUCCESS - fi - - if test "$hardcode_action" = relink; then - # Fast installation is not supported - link_command="$compile_var$compile_command$compile_rpath" - relink_command="$finalize_var$finalize_command$finalize_rpath" - - func_warning "this platform does not like uninstalled shared libraries" - func_warning "\`$output' will be relinked during installation" - else - if test "$fast_install" != no; then - link_command="$finalize_var$compile_command$finalize_rpath" - if test "$fast_install" = yes; then - relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` - else - # fast_install is set to needless - relink_command= - fi - else - link_command="$compile_var$compile_command$compile_rpath" - relink_command="$finalize_var$finalize_command$finalize_rpath" - fi - fi - - # Replace the output file specification. - link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` - - # Delete the old output files. - $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname - - func_show_eval "$link_command" 'exit $?' - - if test -n "$postlink_cmds"; then - func_to_tool_file "$output_objdir/$outputname" - postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` - func_execute_cmds "$postlink_cmds" 'exit $?' - fi - - # Now create the wrapper script. - func_verbose "creating $output" - - # Quote the relink command for shipping. - if test -n "$relink_command"; then - # Preserve any variables that may affect compiler behavior - for var in $variables_saved_for_relink; do - if eval test -z \"\${$var+set}\"; then - relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" - elif eval var_value=\$$var; test -z "$var_value"; then - relink_command="$var=; export $var; $relink_command" - else - func_quote_for_eval "$var_value" - relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" - fi - done - relink_command="(cd `pwd`; $relink_command)" - relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` - fi - - # Only actually do things if not in dry run mode. - $opt_dry_run || { - # win32 will think the script is a binary if it has - # a .exe suffix, so we strip it off here. - case $output in - *.exe) func_stripname '' '.exe' "$output" - output=$func_stripname_result ;; - esac - # test for cygwin because mv fails w/o .exe extensions - case $host in - *cygwin*) - exeext=.exe - func_stripname '' '.exe' "$outputname" - outputname=$func_stripname_result ;; - *) exeext= ;; - esac - case $host in - *cygwin* | *mingw* ) - func_dirname_and_basename "$output" "" "." - output_name=$func_basename_result - output_path=$func_dirname_result - cwrappersource="$output_path/$objdir/lt-$output_name.c" - cwrapper="$output_path/$output_name.exe" - $RM $cwrappersource $cwrapper - trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 - - func_emit_cwrapperexe_src > $cwrappersource - - # The wrapper executable is built using the $host compiler, - # because it contains $host paths and files. If cross- - # compiling, it, like the target executable, must be - # executed on the $host or under an emulation environment. - $opt_dry_run || { - $LTCC $LTCFLAGS -o $cwrapper $cwrappersource - $STRIP $cwrapper - } - - # Now, create the wrapper script for func_source use: - func_ltwrapper_scriptname $cwrapper - $RM $func_ltwrapper_scriptname_result - trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 - $opt_dry_run || { - # note: this script will not be executed, so do not chmod. - if test "x$build" = "x$host" ; then - $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result - else - func_emit_wrapper no > $func_ltwrapper_scriptname_result - fi - } - ;; - * ) - $RM $output - trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 - - func_emit_wrapper no > $output - chmod +x $output - ;; - esac - } - exit $EXIT_SUCCESS - ;; - esac - - # See if we need to build an old-fashioned archive. - for oldlib in $oldlibs; do - - if test "$build_libtool_libs" = convenience; then - oldobjs="$libobjs_save $symfileobj" - addlibs="$convenience" - build_libtool_libs=no - else - if test "$build_libtool_libs" = module; then - oldobjs="$libobjs_save" - build_libtool_libs=no - else - oldobjs="$old_deplibs $non_pic_objects" - if test "$preload" = yes && test -f "$symfileobj"; then - func_append oldobjs " $symfileobj" - fi - fi - addlibs="$old_convenience" - fi - - if test -n "$addlibs"; then - gentop="$output_objdir/${outputname}x" - func_append generated " $gentop" - - func_extract_archives $gentop $addlibs - func_append oldobjs " $func_extract_archives_result" - fi - - # Do each command in the archive commands. - if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then - cmds=$old_archive_from_new_cmds - else - - # Add any objects from preloaded convenience libraries - if test -n "$dlprefiles"; then - gentop="$output_objdir/${outputname}x" - func_append generated " $gentop" - - func_extract_archives $gentop $dlprefiles - func_append oldobjs " $func_extract_archives_result" - fi - - # POSIX demands no paths to be encoded in archives. We have - # to avoid creating archives with duplicate basenames if we - # might have to extract them afterwards, e.g., when creating a - # static archive out of a convenience library, or when linking - # the entirety of a libtool archive into another (currently - # not supported by libtool). - if (for obj in $oldobjs - do - func_basename "$obj" - $ECHO "$func_basename_result" - done | sort | sort -uc >/dev/null 2>&1); then - : - else - echo "copying selected object files to avoid basename conflicts..." - gentop="$output_objdir/${outputname}x" - func_append generated " $gentop" - func_mkdir_p "$gentop" - save_oldobjs=$oldobjs - oldobjs= - counter=1 - for obj in $save_oldobjs - do - func_basename "$obj" - objbase="$func_basename_result" - case " $oldobjs " in - " ") oldobjs=$obj ;; - *[\ /]"$objbase "*) - while :; do - # Make sure we don't pick an alternate name that also - # overlaps. - newobj=lt$counter-$objbase - func_arith $counter + 1 - counter=$func_arith_result - case " $oldobjs " in - *[\ /]"$newobj "*) ;; - *) if test ! -f "$gentop/$newobj"; then break; fi ;; - esac - done - func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" - func_append oldobjs " $gentop/$newobj" - ;; - *) func_append oldobjs " $obj" ;; - esac - done - fi - func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 - tool_oldlib=$func_to_tool_file_result - eval cmds=\"$old_archive_cmds\" - - func_len " $cmds" - len=$func_len_result - if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then - cmds=$old_archive_cmds - elif test -n "$archiver_list_spec"; then - func_verbose "using command file archive linking..." - for obj in $oldobjs - do - func_to_tool_file "$obj" - $ECHO "$func_to_tool_file_result" - done > $output_objdir/$libname.libcmd - func_to_tool_file "$output_objdir/$libname.libcmd" - oldobjs=" $archiver_list_spec$func_to_tool_file_result" - cmds=$old_archive_cmds - else - # the command line is too long to link in one step, link in parts - func_verbose "using piecewise archive linking..." - save_RANLIB=$RANLIB - RANLIB=: - objlist= - concat_cmds= - save_oldobjs=$oldobjs - oldobjs= - # Is there a better way of finding the last object in the list? - for obj in $save_oldobjs - do - last_oldobj=$obj - done - eval test_cmds=\"$old_archive_cmds\" - func_len " $test_cmds" - len0=$func_len_result - len=$len0 - for obj in $save_oldobjs - do - func_len " $obj" - func_arith $len + $func_len_result - len=$func_arith_result - func_append objlist " $obj" - if test "$len" -lt "$max_cmd_len"; then - : - else - # the above command should be used before it gets too long - oldobjs=$objlist - if test "$obj" = "$last_oldobj" ; then - RANLIB=$save_RANLIB - fi - test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" - objlist= - len=$len0 - fi - done - RANLIB=$save_RANLIB - oldobjs=$objlist - if test "X$oldobjs" = "X" ; then - eval cmds=\"\$concat_cmds\" - else - eval cmds=\"\$concat_cmds~\$old_archive_cmds\" - fi - fi - fi - func_execute_cmds "$cmds" 'exit $?' - done - - test -n "$generated" && \ - func_show_eval "${RM}r$generated" - - # Now create the libtool archive. - case $output in - *.la) - old_library= - test "$build_old_libs" = yes && old_library="$libname.$libext" - func_verbose "creating $output" - - # Preserve any variables that may affect compiler behavior - for var in $variables_saved_for_relink; do - if eval test -z \"\${$var+set}\"; then - relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" - elif eval var_value=\$$var; test -z "$var_value"; then - relink_command="$var=; export $var; $relink_command" - else - func_quote_for_eval "$var_value" - relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" - fi - done - # Quote the link command for shipping. - relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" - relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` - if test "$hardcode_automatic" = yes ; then - relink_command= - fi - - # Only create the output if not a dry run. - $opt_dry_run || { - for installed in no yes; do - if test "$installed" = yes; then - if test -z "$install_libdir"; then - break - fi - output="$output_objdir/$outputname"i - # Replace all uninstalled libtool libraries with the installed ones - newdependency_libs= - for deplib in $dependency_libs; do - case $deplib in - *.la) - func_basename "$deplib" - name="$func_basename_result" - func_resolve_sysroot "$deplib" - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result` - test -z "$libdir" && \ - func_fatal_error "\`$deplib' is not a valid libtool archive" - func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name" - ;; - -L*) - func_stripname -L '' "$deplib" - func_replace_sysroot "$func_stripname_result" - func_append newdependency_libs " -L$func_replace_sysroot_result" - ;; - -R*) - func_stripname -R '' "$deplib" - func_replace_sysroot "$func_stripname_result" - func_append newdependency_libs " -R$func_replace_sysroot_result" - ;; - *) func_append newdependency_libs " $deplib" ;; - esac - done - dependency_libs="$newdependency_libs" - newdlfiles= - - for lib in $dlfiles; do - case $lib in - *.la) - func_basename "$lib" - name="$func_basename_result" - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` - test -z "$libdir" && \ - func_fatal_error "\`$lib' is not a valid libtool archive" - func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name" - ;; - *) func_append newdlfiles " $lib" ;; - esac - done - dlfiles="$newdlfiles" - newdlprefiles= - for lib in $dlprefiles; do - case $lib in - *.la) - # Only pass preopened files to the pseudo-archive (for - # eventual linking with the app. that links it) if we - # didn't already link the preopened objects directly into - # the library: - func_basename "$lib" - name="$func_basename_result" - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` - test -z "$libdir" && \ - func_fatal_error "\`$lib' is not a valid libtool archive" - func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name" - ;; - esac - done - dlprefiles="$newdlprefiles" - else - newdlfiles= - for lib in $dlfiles; do - case $lib in - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; - *) abs=`pwd`"/$lib" ;; - esac - func_append newdlfiles " $abs" - done - dlfiles="$newdlfiles" - newdlprefiles= - for lib in $dlprefiles; do - case $lib in - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; - *) abs=`pwd`"/$lib" ;; - esac - func_append newdlprefiles " $abs" - done - dlprefiles="$newdlprefiles" - fi - $RM $output - # place dlname in correct position for cygwin - # In fact, it would be nice if we could use this code for all target - # systems that can't hard-code library paths into their executables - # and that have no shared library path variable independent of PATH, - # but it turns out we can't easily determine that from inspecting - # libtool variables, so we have to hard-code the OSs to which it - # applies here; at the moment, that means platforms that use the PE - # object format with DLL files. See the long comment at the top of - # tests/bindir.at for full details. - tdlname=$dlname - case $host,$output,$installed,$module,$dlname in - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) - # If a -bindir argument was supplied, place the dll there. - if test "x$bindir" != x ; - then - func_relative_path "$install_libdir" "$bindir" - tdlname=$func_relative_path_result$dlname - else - # Otherwise fall back on heuristic. - tdlname=../bin/$dlname - fi - ;; - esac - $ECHO > $output "\ -# $outputname - a libtool library file -# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION -# -# Please DO NOT delete this file! -# It is necessary for linking the library. - -# The name that we can dlopen(3). -dlname='$tdlname' - -# Names of this library. -library_names='$library_names' - -# The name of the static archive. -old_library='$old_library' - -# Linker flags that can not go in dependency_libs. -inherited_linker_flags='$new_inherited_linker_flags' - -# Libraries that this one depends upon. -dependency_libs='$dependency_libs' - -# Names of additional weak libraries provided by this library -weak_library_names='$weak_libs' - -# Version information for $libname. -current=$current -age=$age -revision=$revision - -# Is this an already installed library? -installed=$installed - -# Should we warn about portability when linking against -modules? -shouldnotlink=$module - -# Files to dlopen/dlpreopen -dlopen='$dlfiles' -dlpreopen='$dlprefiles' - -# Directory that this library needs to be installed in: -libdir='$install_libdir'" - if test "$installed" = no && test "$need_relink" = yes; then - $ECHO >> $output "\ -relink_command=\"$relink_command\"" - fi - done - } - - # Do a symbolic link so that the libtool archive can be found in - # LD_LIBRARY_PATH before the program is installed. - func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' - ;; - esac - exit $EXIT_SUCCESS -} - -{ test "$opt_mode" = link || test "$opt_mode" = relink; } && - func_mode_link ${1+"$@"} - - -# func_mode_uninstall arg... -func_mode_uninstall () -{ - $opt_debug - RM="$nonopt" - files= - rmforce= - exit_status=0 - - # This variable tells wrapper scripts just to set variables rather - # than running their programs. - libtool_install_magic="$magic" - - for arg - do - case $arg in - -f) func_append RM " $arg"; rmforce=yes ;; - -*) func_append RM " $arg" ;; - *) func_append files " $arg" ;; - esac - done - - test -z "$RM" && \ - func_fatal_help "you must specify an RM program" - - rmdirs= - - for file in $files; do - func_dirname "$file" "" "." - dir="$func_dirname_result" - if test "X$dir" = X.; then - odir="$objdir" - else - odir="$dir/$objdir" - fi - func_basename "$file" - name="$func_basename_result" - test "$opt_mode" = uninstall && odir="$dir" - - # Remember odir for removal later, being careful to avoid duplicates - if test "$opt_mode" = clean; then - case " $rmdirs " in - *" $odir "*) ;; - *) func_append rmdirs " $odir" ;; - esac - fi - - # Don't error if the file doesn't exist and rm -f was used. - if { test -L "$file"; } >/dev/null 2>&1 || - { test -h "$file"; } >/dev/null 2>&1 || - test -f "$file"; then - : - elif test -d "$file"; then - exit_status=1 - continue - elif test "$rmforce" = yes; then - continue - fi - - rmfiles="$file" - - case $name in - *.la) - # Possibly a libtool archive, so verify it. - if func_lalib_p "$file"; then - func_source $dir/$name - - # Delete the libtool libraries and symlinks. - for n in $library_names; do - func_append rmfiles " $odir/$n" - done - test -n "$old_library" && func_append rmfiles " $odir/$old_library" - - case "$opt_mode" in - clean) - case " $library_names " in - *" $dlname "*) ;; - *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;; - esac - test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i" - ;; - uninstall) - if test -n "$library_names"; then - # Do each command in the postuninstall commands. - func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' - fi - - if test -n "$old_library"; then - # Do each command in the old_postuninstall commands. - func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' - fi - # FIXME: should reinstall the best remaining shared library. - ;; - esac - fi - ;; - - *.lo) - # Possibly a libtool object, so verify it. - if func_lalib_p "$file"; then - - # Read the .lo file - func_source $dir/$name - - # Add PIC object to the list of files to remove. - if test -n "$pic_object" && - test "$pic_object" != none; then - func_append rmfiles " $dir/$pic_object" - fi - - # Add non-PIC object to the list of files to remove. - if test -n "$non_pic_object" && - test "$non_pic_object" != none; then - func_append rmfiles " $dir/$non_pic_object" - fi - fi - ;; - - *) - if test "$opt_mode" = clean ; then - noexename=$name - case $file in - *.exe) - func_stripname '' '.exe' "$file" - file=$func_stripname_result - func_stripname '' '.exe' "$name" - noexename=$func_stripname_result - # $file with .exe has already been added to rmfiles, - # add $file without .exe - func_append rmfiles " $file" - ;; - esac - # Do a test to see if this is a libtool program. - if func_ltwrapper_p "$file"; then - if func_ltwrapper_executable_p "$file"; then - func_ltwrapper_scriptname "$file" - relink_command= - func_source $func_ltwrapper_scriptname_result - func_append rmfiles " $func_ltwrapper_scriptname_result" - else - relink_command= - func_source $dir/$noexename - fi - - # note $name still contains .exe if it was in $file originally - # as does the version of $file that was added into $rmfiles - func_append rmfiles " $odir/$name $odir/${name}S.${objext}" - if test "$fast_install" = yes && test -n "$relink_command"; then - func_append rmfiles " $odir/lt-$name" - fi - if test "X$noexename" != "X$name" ; then - func_append rmfiles " $odir/lt-${noexename}.c" - fi - fi - fi - ;; - esac - func_show_eval "$RM $rmfiles" 'exit_status=1' - done - - # Try to remove the ${objdir}s in the directories where we deleted files - for dir in $rmdirs; do - if test -d "$dir"; then - func_show_eval "rmdir $dir >/dev/null 2>&1" - fi - done - - exit $exit_status -} - -{ test "$opt_mode" = uninstall || test "$opt_mode" = clean; } && - func_mode_uninstall ${1+"$@"} - -test -z "$opt_mode" && { - help="$generic_help" - func_fatal_help "you must specify a MODE" -} - -test -z "$exec_cmd" && \ - func_fatal_help "invalid operation mode \`$opt_mode'" - -if test -n "$exec_cmd"; then - eval exec "$exec_cmd" - exit $EXIT_FAILURE -fi - -exit $exit_status - - -# The TAGs below are defined such that we never get into a situation -# in which we disable both kinds of libraries. Given conflicting -# choices, we go for a static library, that is the most portable, -# since we can't tell whether shared libraries were disabled because -# the user asked for that or because the platform doesn't support -# them. This is particularly important on AIX, because we don't -# support having both static and shared libraries enabled at the same -# time on that platform, so we default to a shared-only configuration. -# If a disable-shared tag is given, we'll fallback to a static-only -# configuration. But we'll never go from static-only to shared-only. - -# ### BEGIN LIBTOOL TAG CONFIG: disable-shared -build_libtool_libs=no -build_old_libs=yes -# ### END LIBTOOL TAG CONFIG: disable-shared - -# ### BEGIN LIBTOOL TAG CONFIG: disable-static -build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` -# ### END LIBTOOL TAG CONFIG: disable-static - -# Local Variables: -# mode:shell-script -# sh-indentation:2 -# End: -# vi:sw=2 - diff -Nru dpkg-1.18.4ubuntu1/build-aux/missing dpkg-1.17.5ubuntu5/build-aux/missing --- dpkg-1.18.4ubuntu1/build-aux/missing 2015-12-25 12:48:06.000000000 +0000 +++ dpkg-1.17.5ubuntu5/build-aux/missing 2013-12-12 07:46:30.000000000 +0000 @@ -1,9 +1,9 @@ #! /bin/sh # Common wrapper for a few potentially missing GNU programs. -scriptversion=2013-10-28.13; # UTC +scriptversion=2012-06-26.16; # UTC -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2013 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify @@ -160,7 +160,7 @@ ;; autom4te*) echo "You might have modified some maintainer files that require" - echo "the 'autom4te' program to be rebuilt." + echo "the 'automa4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) diff -Nru dpkg-1.18.4ubuntu1/build-aux/test-driver dpkg-1.17.5ubuntu5/build-aux/test-driver --- dpkg-1.18.4ubuntu1/build-aux/test-driver 1970-01-01 00:00:00.000000000 +0000 +++ dpkg-1.17.5ubuntu5/build-aux/test-driver 2013-12-12 07:46:32.000000000 +0000 @@ -0,0 +1,127 @@ +#! /bin/sh +# test-driver - basic testsuite driver script. + +scriptversion=2012-06-27.10; # UTC + +# Copyright (C) 2011-2013 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# 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. + +# This file is maintained in Automake, please report +# bugs to or send patches to +# . + +# Make unconditional expansion of undefined variables an error. This +# helps a lot in preventing typo-related bugs. +set -u + +usage_error () +{ + echo "$0: $*" >&2 + print_usage >&2 + exit 2 +} + +print_usage () +{ + cat <$log_file 2>&1 +estatus=$? +if test $enable_hard_errors = no && test $estatus -eq 99; then + estatus=1 +fi + +case $estatus:$expect_failure in + 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;; + 0:*) col=$grn res=PASS recheck=no gcopy=no;; + 77:*) col=$blu res=SKIP recheck=no gcopy=yes;; + 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;; + *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;; + *:*) col=$red res=FAIL recheck=yes gcopy=yes;; +esac + +# Report outcome to console. +echo "${col}${res}${std}: $test_name" + +# Register the test result, and other relevant metadata. +echo ":test-result: $res" > $trs_file +echo ":global-test-result: $res" >> $trs_file +echo ":recheck: $recheck" >> $trs_file +echo ":copy-in-global-log: $gcopy" >> $trs_file + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff -Nru dpkg-1.18.4ubuntu1/build-aux/ylwrap dpkg-1.17.5ubuntu5/build-aux/ylwrap --- dpkg-1.18.4ubuntu1/build-aux/ylwrap 2015-12-25 12:48:06.000000000 +0000 +++ dpkg-1.17.5ubuntu5/build-aux/ylwrap 2013-12-12 07:46:32.000000000 +0000 @@ -3,7 +3,7 @@ scriptversion=2013-01-12.17; # UTC -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2013 Free Software Foundation, Inc. # # Written by Tom Tromey . # diff -Nru dpkg-1.18.4ubuntu1/ChangeLog dpkg-1.17.5ubuntu5/ChangeLog --- dpkg-1.18.4ubuntu1/ChangeLog 2015-12-25 12:50:51.000000000 +0000 +++ dpkg-1.17.5ubuntu5/ChangeLog 2013-12-12 07:48:23.000000000 +0000 @@ -1,19781 +1,4 @@ -commit 39ac56b186ba3fb0082156084a86aed07562fc3a (HEAD -> master, tag: 1.18.4) -Author: Guillem Jover -Date: Fri Dec 25 13:20:42 2015 +0100 - - Release 1.18.4 - - debian/changelog | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 8a96426df61ba02e40b7e7bf306f3e240bf37634 -Author: Guillem Jover -Date: Fri Dec 25 13:46:45 2015 +0100 - - po: Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 2 +- - dselect/po/ca.po | 2 +- - dselect/po/cs.po | 2 +- - dselect/po/da.po | 2 +- - dselect/po/de.po | 2 +- - dselect/po/dselect.pot | 4 +- - dselect/po/el.po | 2 +- - dselect/po/es.po | 2 +- - dselect/po/et.po | 2 +- - dselect/po/eu.po | 2 +- - dselect/po/fr.po | 2 +- - dselect/po/gl.po | 2 +- - dselect/po/hu.po | 2 +- - dselect/po/id.po | 2 +- - dselect/po/it.po | 2 +- - dselect/po/ja.po | 2 +- - dselect/po/ko.po | 2 +- - dselect/po/nb.po | 2 +- - dselect/po/nl.po | 2 +- - dselect/po/nn.po | 2 +- - dselect/po/pl.po | 2 +- - dselect/po/pt.po | 2 +- - dselect/po/pt_BR.po | 2 +- - dselect/po/ro.po | 2 +- - dselect/po/ru.po | 2 +- - dselect/po/sk.po | 2 +- - dselect/po/sv.po | 2 +- - dselect/po/tl.po | 2 +- - dselect/po/vi.po | 2 +- - dselect/po/zh_CN.po | 2 +- - dselect/po/zh_TW.po | 2 +- - man/po/de.po | 103 ++++++++++++++++++++++----------- - man/po/dpkg-man.pot | 94 ++++++++++++++++++++++-------- - man/po/es.po | 118 +++++++++++++++++++++++++++++--------- - man/po/fr.po | 149 ++++++++++++++++++++++++++++++++++++------------ - man/po/hu.po | 94 ++++++++++++++++++++++-------- - man/po/it.po | 142 ++++++++++++++++++++++++++++++++++----------- - man/po/ja.po | 118 +++++++++++++++++++++++++++++--------- - man/po/pl.po | 121 ++++++++++++++++++++++++++++++--------- - man/po/pt_BR.po | 98 ++++++++++++++++++++++--------- - man/po/ru.po | 98 +++++++++++++++++++++++-------- - man/po/sv.po | 143 +++++++++++++++++++++++++++++++++++----------- - man/po/zh_CN.po | 96 +++++++++++++++++++++++-------- - po/ast.po | 22 +++---- - po/bs.po | 20 +++---- - po/ca.po | 20 ++++--- - po/cs.po | 20 ++++--- - po/da.po | 22 +++---- - po/de.po | 20 ++++--- - po/dpkg.pot | 20 +++---- - po/dz.po | 22 +++---- - po/el.po | 22 +++---- - po/eo.po | 20 ++++--- - po/es.po | 20 ++++--- - po/et.po | 20 +++---- - po/eu.po | 20 ++++--- - po/fr.po | 20 ++++--- - po/gl.po | 22 +++---- - po/hu.po | 22 +++---- - po/id.po | 22 +++---- - po/it.po | 20 ++++--- - po/ja.po | 20 ++++--- - po/km.po | 22 +++---- - po/ko.po | 22 +++---- - po/ku.po | 20 +++---- - po/lt.po | 22 +++---- - po/mr.po | 22 +++---- - po/nb.po | 22 +++---- - po/ne.po | 22 +++---- - po/nl.po | 20 ++++--- - po/nn.po | 22 +++---- - po/pa.po | 22 +++---- - po/pl.po | 20 ++++--- - po/pt.po | 20 ++++--- - po/pt_BR.po | 22 +++---- - po/ro.po | 22 +++---- - po/ru.po | 20 ++++--- - po/sk.po | 20 ++++--- - po/sv.po | 20 ++++--- - po/th.po | 20 ++++--- - po/tl.po | 22 +++---- - po/tr.po | 20 ++++--- - po/vi.po | 20 ++++--- - po/zh_CN.po | 20 ++++--- - po/zh_TW.po | 20 ++++--- - scripts/po/ca.po | 50 ++++++++-------- - scripts/po/de.po | 29 +++++----- - scripts/po/dpkg-dev.pot | 30 +++------- - scripts/po/es.po | 45 +++++++-------- - scripts/po/fr.po | 47 ++++++++------- - scripts/po/pl.po | 50 ++++++++-------- - scripts/po/ru.po | 50 ++++++++-------- - scripts/po/sv.po | 50 ++++++++-------- - 93 files changed, 1699 insertions(+), 966 deletions(-) - -commit 27d4807a75aa86dd608e6393e8ab2d9a739f1da9 (origin/master, origin/HEAD, hadrons/master, github/master) -Author: Guillem Jover -Date: Fri Dec 25 04:42:08 2015 +0100 - - debian: Add missing Build-Depends for restriction formula support - - Although these are really not needed, as they are available already from - Debian stable, it makes it obvious for people who might want to backport - dpkg to older suites or distributions. - - Warned-by; lintian - - debian/changelog | 2 ++ - debian/control | 3 ++- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit b027759978c6c1e44f9a73bcf641b4dbe56e9c51 -Author: Guillem Jover -Date: Fri Dec 25 04:31:19 2015 +0100 - - debian: Fix typo in copyright file - - Warned-by: lintian - - debian/copyright | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit bf9d1edb80b8b70765c6427fb289751a8c10083e -Author: Julian R -Date: Sun Dec 6 08:49:07 2015 +0100 - - po: Fix small typo in German man page translation - - Closes: #807156 - Signed-off-by: Guillem Jover - - debian/changelog | 2 +- - man/po/de.po | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit bcd050da05b79ac0c57ac8eb47746926630c44a6 -Author: Guillem Jover -Date: Tue Dec 22 02:23:31 2015 +0100 - - Dpkg::Control::FieldsCore: Add support for Build-Essential field - - Closes: #806315 - - debian/changelog | 2 ++ - man/deb-control.5 | 5 +++++ - man/deb-src-control.5 | 2 ++ - scripts/Dpkg/Control/FieldsCore.pm | 3 +++ - 4 files changed, 12 insertions(+) - -commit 0258d07b2a8adcdb524702fb6d83366191263679 -Author: Paul Wise -Date: Tue Dec 22 02:15:12 2015 +0100 - - Dpkg::Vendor::Debian: Enable timeless build flag feature by default - - Closes: #805872 - Signed-off-by: Guillem Jover - - debian/changelog | 2 ++ - man/dpkg-buildflags.1 | 2 +- - scripts/Dpkg/Vendor/Debian.pm | 2 +- - 3 files changed, 4 insertions(+), 2 deletions(-) - -commit db4f3d717895fcc2348579670a58ed95a7f0f4a7 -Author: Marek Vasut -Date: Thu Dec 24 12:32:03 2015 +0100 - - Add NIOS2 support to cputable - - NIOS2 is a little endian soft-core by Altera. - - Signed-off-by: Guillem Jover - - cputable | 1 + - debian/changelog | 1 + - scripts/t/Dpkg_Arch.t | 2 +- - 3 files changed, 3 insertions(+), 1 deletion(-) - -commit 0b15d3dfb913c2bd6ea687c4061618c58b5e2c0a -Author: Guillem Jover -Date: Sun Dec 20 21:24:12 2015 +0100 - - dpkg-architecture: Fix usage of -s after other action options - - We should always initialize the required variables, otherwise previous - action options might reset $req_vars and we get unexpected results. - - Reported-by: Niels Thykier - - debian/changelog | 2 ++ - scripts/dpkg-architecture.pl | 1 + - 2 files changed, 3 insertions(+) - -commit 9455819299d52d5bda2a12aeb8ece691472c6713 -Author: Guillem Jover -Date: Wed Dec 23 00:27:29 2015 +0100 - - man: Add a subsection separating external from internal environment variables - - debian/changelog | 2 ++ - man/dpkg.1 | 2 ++ - 2 files changed, 4 insertions(+) - -commit 90c148e2846892aab2f36c1774e4022a19299ce0 -Author: Guillem Jover -Date: Wed Dec 23 00:07:21 2015 +0100 - - man: Clarify in dpkg-query(1) when binary:Package gets arch-qualified - - In commit d658a8ec1110c9b3b20987cd903a54f59801117f the semantics of - the arch-qualifications changed, update the documentation to reflect - that. - - Closes: #801958 - - debian/changelog | 2 ++ - man/dpkg-query.1 | 6 +++--- - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit ef02d7c9450762676d470368dc50f9201e5de5ed -Author: Guillem Jover -Date: Sun Dec 20 06:55:30 2015 +0100 - - doc: Update maintainers - - AUTHORS | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 873b44e35962bf3be07c8950d768610d0a5710a5 -Author: Yuri Gribov -Date: Thu Dec 24 12:22:26 2015 +0100 - - dpkg: Fix physical file offset comparison - - The comparison function pkg_sorter_by_listfile_phys_offs passed to qsort - does not satisfy qsort symmetry requirements, for some inputs - - pkg_sorter_by_listfile_phys_offs(a, b) != - - pkg_sorter_by_listfile_phys_offs(b, a) - - This may cause various qsort misbehaviors e.g. failing to properly sort - the input array (on some platforms qsort could even abort although that - seems to not be the case for glibc-based systems). - - Closes: #808912 - Signed-off-by: Guillem Jover - Stable-Candidate: 1.16.x 1.17.x - - debian/changelog | 2 ++ - src/filesdb.c | 4 +++- - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 673e96778382fdfbbbce8130cbb95785e7abf39a -Author: Guillem Jover -Date: Sun Dec 20 05:57:02 2015 +0100 - - libdpkg: Add experimental multithreaded xz compressor support - - This should speed up compression on multicore systems. This code has - only been build tested against latest xz-utils git tree, but not run - tested, as the package in Debian is too old. Rrquires xz >= 5.2.0. - - debian/changelog | 2 ++ - lib/dpkg/compress.c | 20 +++++++++++++++++++- - m4/dpkg-libs.m4 | 3 +++ - 3 files changed, 24 insertions(+), 1 deletion(-) - -commit bc8657eda0fdde4856989385b61122eac1a4b3d9 -Author: Helge Kreutzmann -Date: Sun Dec 20 06:29:07 2015 +0100 - - Update German translation of manual pages - - Update to 2417t. - - Also include fixes noted during review on debian-l10n-german. - - man/po/de.po | 188 ++++++++++++++++++++++++++++++++++------------------------- - 1 file changed, 108 insertions(+), 80 deletions(-) - -commit 15713d12c478d25b99e952cb481063952947460c -Author: Helge Kreutzmann -Date: Sun Dec 20 06:05:04 2015 +0100 - - Update German scripts translation - - Update to 550t. - - Also includes various fixes found on debian-l10n-german - - scripts/po/de.po | 127 ++++++++++++++++++++++++++----------------------------- - 1 file changed, 60 insertions(+), 67 deletions(-) - -commit c50e8dc2e9557181676808be96ae7594bf48ce8b -Author: Hanno Böck -Date: Thu Nov 19 01:31:19 2015 +0100 - - libdpkg: Fix an off-by-one read access in ar member name variable - - The problem here is that due to the previous loop the variable ‘i’ can - be -1 and thus the expression in the conditional reads invalid memory. - - [guillem@debian.org: - - Remove surrounding parenthesis. ] - - Warned-by: afl - Signed-off-by: Guillem Jover - Stable-Candidate: 1.16.x 1.17.x - - debian/changelog | 2 ++ - lib/dpkg/ar.c | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit c66cdd38c195a44c33e73d016372ac0ef775c4de -Author: Hanno Böck -Date: Thu Nov 19 20:03:10 2015 +0100 - - dpkg-deb: Fix off-by-one write access on ctrllenbuf variable - - This affects old format .deb packages. - - Fixes: CVE-2015-0860 - Warned-by: afl - Signed-off-by: Guillem Jover - Stable-Candidate: 1.16.x 1.17.x - - debian/changelog | 5 ++++- - dpkg-deb/extract.c | 2 +- - 2 files changed, 5 insertions(+), 2 deletions(-) - -commit 77337a8b0f6f789d79032486157f6d9260c2c53e -Author: Guillem Jover -Date: Sun Nov 15 15:44:16 2015 +0100 - - build: Try to use latest gettext available - - Using AM_GNU_GETTEXT_REQUIRE_VERSION specifies the minimal required - gettext version, but tries to use tha latest supported version - available on the system, so we can take advantage of any fixes and - improvements. - - We cannot remove AM_GNU_GETTEXT_VERSION() for backwards compatibility - reasons, otherwise older autopoint and autoreconf versions would not - be able to know what is the minimal required gettext versions. - - configure.ac | 8 ++++++++ - debian/changelog | 2 ++ - 2 files changed, 10 insertions(+) - -commit a199f52ec15a4f12e5be453d77563dccbe660766 -Author: Guillem Jover -Date: Sun Nov 15 15:42:42 2015 +0100 - - po: Update Makevars from latest gettext 0.19.6 template - - dselect/po/Makevars | 25 +++++++++++++++++++++++++ - po/Makevars | 25 +++++++++++++++++++++++++ - scripts/po/Makevars | 25 +++++++++++++++++++++++++ - 3 files changed, 75 insertions(+) - -commit a1d208fa56300c8545207ddf30d2762e7bf0f5c4 -Author: Guillem Jover -Date: Sun Nov 8 03:06:20 2015 +0100 - - dpkg-checkbuilddeps: Exit with 1 on unsatisfied dependencies - - Regression introduced in commit d287060bb1a45f5de33eb27034a7d8b27b039dbb. - - We cannot rely on die's error code as it might be anything. - - Prompted-by: David Kalnischkies - - debian/changelog | 2 ++ - scripts/dpkg-checkbuilddeps.pl | 8 ++++---- - 2 files changed, 6 insertions(+), 4 deletions(-) - -commit 522a3ba2853b41602d5452be598d5ccb4d326621 -Author: Guillem Jover -Date: Tue Nov 3 15:39:30 2015 +0100 - - dpkg: Add support for DPKG_MAINTSCRIPT_DEBUG environment variable - - This variable will be set on the maintainer scripts environment to - either 0 or 1, depending on whether dpkg was called with --debug - requesting maintainer scripts debugging output. - - debian/changelog | 1 + - man/dpkg.1 | 6 ++++++ - src/script.c | 5 +++++ - 3 files changed, 12 insertions(+) - -commit d7c33d07f37d522a14eb86265cf8a3aed169b9b3 -Author: Guillem Jover -Date: Mon Nov 2 04:44:05 2015 +0100 - - scripts/t: Improve test coverage - - debian/changelog | 2 ++ - scripts/t/Dpkg_Arch.t | 30 ++++++++++++++++++++++++++++-- - scripts/t/Dpkg_BuildEnv.t | 27 +++++++++++++++++++++++++-- - scripts/t/Dpkg_BuildFlags.t | 29 +++++++++++++++++++++++++++-- - scripts/t/Dpkg_BuildProfiles.t | 16 ++++++++++++++-- - scripts/t/Dpkg_Dist_Files.t | 4 +++- - scripts/t/Dpkg_Exit.t | 35 +++++++++++++++++++++++++++++++++-- - scripts/t/Dpkg_Package.t | 4 +++- - scripts/t/Dpkg_Substvars.t | 29 ++++++++++++++++++++++++----- - scripts/t/Dpkg_Vars.t | 15 +++++++++++++-- - scripts/t/Dpkg_Version.t | 14 +++++++++++++- - 11 files changed, 185 insertions(+), 20 deletions(-) - -commit d92794f4a8db43959b06d4191860dcc27e5ddcbf -Author: Guillem Jover -Date: Fri Nov 27 20:15:35 2015 +0100 - - Dpkg::Source::Package: Add ‘.gitreview’ to the default ignore list - - debian/changelog | 1 + - scripts/Dpkg/Source/Package.pm | 3 ++- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit db5de206928c9eb6d686b83e64d31fd1cfc40915 -Author: Guillem Jover -Date: Mon Nov 2 04:44:05 2015 +0100 - - Dpkg::Arch: Make the host gnu type retrieval more compiler agnostic - - Rename get_gcc_host_gnu_type() to get_host_gnu_type(), and use a hash to - store the values per compiler name, so that we can keep track of different - output depending on the compiler selected. - - Update the warning messages to not assume that CC is pointing to gcc. - - debian/changelog | 2 ++ - scripts/Dpkg/Arch.pm | 39 +++++++++++++++++++++------------------ - scripts/dpkg-architecture.pl | 10 +++++----- - 3 files changed, 28 insertions(+), 23 deletions(-) - -commit 78b312b01d05471030f58d2c5d550fc068cb84c9 -Author: Guillem Jover -Date: Sat Nov 7 17:38:40 2015 +0100 - - Dpkg::Arch: Add a new set_host_gnu_type() - - This function makes it possible to get get_raw_host_arch() out from the - block containing the local $gcc_host_gnu_type variable, reducing the - nesting level. - - scripts/Dpkg/Arch.pm | 60 +++++++++++++++++++++++++++++----------------------- - 1 file changed, 34 insertions(+), 26 deletions(-) - -commit fd4f223dd179917ca0d7d800660e53b969c46c84 -Author: Guillem Jover -Date: Thu Nov 12 23:02:39 2015 +0100 - - Dpkg::Arch: Handle an undef architecture argument in debarch_to_debtriplet() - - scripts/Dpkg/Arch.pm | 2 ++ - 1 file changed, 2 insertions(+) - -commit 254fb06ea089d5d77d40d33b6ad8374c56ff55f6 -Author: Guillem Jover -Date: Sun Nov 1 21:32:28 2015 +0100 - - Dpkg::BuildFlags: Document supported feature areas - - debian/changelog | 1 + - scripts/Dpkg/BuildFlags.pm | 9 +++++---- - 2 files changed, 6 insertions(+), 4 deletions(-) - -commit 31257982ef24a9e7dfe66df456fcd174ab75de7b -Author: Guillem Jover -Date: Sun Nov 8 03:29:44 2015 +0100 - - man: Clarify role of Build-Depends in deb-src-control(5) - - Make it clearer when does the field apply, and what is it equivalent to. - - Prompted-by: Johannes Schauer - - debian/changelog | 2 ++ - man/deb-src-control.5 | 13 ++++++++----- - 2 files changed, 10 insertions(+), 5 deletions(-) - -commit 128ed95e865acfe99ceec1460a1513c59ad10514 -Author: Guillem Jover -Date: Mon Nov 2 19:35:00 2015 +0100 - - man: Document that dpkg-buildpacakge -nc -S implies -d - - debian/changelog | 1 + - man/dpkg-buildpackage.1 | 7 ++++--- - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit c193ca1aa220e09d6acbdea264b3f0b8a97db5d8 -Author: Guillem Jover -Date: Sun Oct 25 01:38:43 2015 +0200 - - libdpkg: Document pkg-show module - - lib/dpkg/pkg-show.c | 38 +++++++++++++++++++++++++++++++++++++- - 1 file changed, 37 insertions(+), 1 deletion(-) - -commit be3cbc2ef633524f8dac876f77a300ed4ce956f1 -Author: Guillem Jover -Date: Sun Nov 8 11:33:40 2015 +0100 - - build: Do not quote the interpreter argument - - This makes it possible again to pass options to the interpreter. - - run-script | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit f3af91bcb364140590ed3736f562dfe849bb6b72 -Author: Guillem Jover -Date: Fri Oct 30 02:35:00 2015 +0100 - - build: Add an configure option to choose the kind of documentation - - The option --disable-devel-docs can be used to override the current - default, which is to build development documentation. - - configure.ac | 2 ++ - debian/changelog | 2 ++ - doc/Doxyfile.in | 6 +++--- - m4/dpkg-build.m4 | 17 +++++++++++++++++ - 4 files changed, 24 insertions(+), 3 deletions(-) - -commit c5e8c926397056044711ee9649d74c5dda2f21dc -Author: Guillem Jover -Date: Sun Nov 1 03:55:30 2015 +0100 - - build: Descend into scripts on coverage-clean rule - - Makefile.am | 1 + - debian/changelog | 1 + - 2 files changed, 2 insertions(+) - -commit c666a362de03187d91b6076d71b0b6c101f93302 -Author: Guillem Jover -Date: Fri Oct 30 02:35:00 2015 +0100 - - doc: Update test suite directory in Doxygen configuration - - doc/Doxyfile.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6d2acde144b064a11f45cf6109a8ec003d58aecb -Author: Guillem Jover -Date: Fri Oct 30 02:13:28 2015 +0100 - - doc: Update Doxygen configuration from version 1.8.9.1 - - doc/Doxyfile.in | 238 ++++++++++++++++++++++++++++++++------------------------ - 1 file changed, 135 insertions(+), 103 deletions(-) - -commit cb55c5b4f0662d83d3df4da25f2f87373fabe11d -Author: Guillem Jover -Date: Sun Oct 25 01:29:05 2015 +0200 - - libdpkg: Rename pkg_summary to pkgbin_summary - - This makes the function name consistent with the existing coding - convention, and the other functions that require a pkgbin to operate. - - lib/dpkg/libdpkg.map | 2 +- - lib/dpkg/pkg-format.c | 2 +- - lib/dpkg/pkg-show.c | 2 +- - lib/dpkg/pkg-show.h | 4 ++-- - src/enquiry.c | 2 +- - src/querycmd.c | 4 ++-- - 6 files changed, 8 insertions(+), 8 deletions(-) - -commit df5deb4f20c96ffd573e8900de6981a2c3024b2a -Author: Guillem Jover -Date: Wed Oct 21 16:54:29 2015 +0200 - - dpkg-trigger: Move exit from command function to its call site - - This makes it explicit that the code flow stops at the call site instead - of requiring the reader to know that this specific function never returns. - - src/trigcmd.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 97a8d2695cad465a6c9d0f4469644a8ba6f778d0 -Author: Guillem Jover -Date: Wed Oct 21 16:52:56 2015 +0200 - - dpkg-divert: Return from a command function instead of directly exiting - - This makes it possible to perform any necessary normal cleanup before - exiting, and unifies the usage with all other command functions. - - debian/changelog | 2 ++ - src/divertcmd.c | 4 ++-- - 2 files changed, 4 insertions(+), 2 deletions(-) - -commit 9c311e1a445868630f8c8e4600d7539599e49ce5 -Author: Guillem Jover -Date: Wed Oct 21 16:48:47 2015 +0200 - - u-a: Merge all action handling into a single if-else-if block - - Introduce two boolean variables to track when to log the command-line - arguments when modifying anything on the system, and another one when - modifying a single alternative to initialize and update it. - - This unifies the code, and will make it easier to switch it into a - shared library in the future. - - debian/changelog | 2 ++ - utils/update-alternatives.c | 45 ++++++++++++++++++++++++++++----------------- - 2 files changed, 30 insertions(+), 17 deletions(-) - -commit e6bb801e5a30bbb4499308a81dc0c5fd25676045 -Author: Guillem Jover -Date: Sun Oct 18 15:42:38 2015 +0200 - - u-a: Switch xasprintf() to return an allocated string - - It should make the code more clear, and in many cases it avoids having - to use a temporary variable. - - utils/update-alternatives.c | 59 +++++++++++++++++++++------------------------ - 1 file changed, 27 insertions(+), 32 deletions(-) - -commit 0db77512a15877ca25384b775406323a2302c125 -Author: Guillem Jover -Date: Sun Oct 18 15:34:45 2015 +0200 - - Use new str_fmt() instead of m_asprintf() - - It should make the code more clear, and in many cases it avoids having - to use a temporary variable. - - dpkg-deb/build.c | 13 +++++-------- - dpkg-deb/extract.c | 2 +- - dpkg-deb/info.c | 4 ++-- - dpkg-split/queue.c | 6 +++--- - dpkg-split/split.c | 2 +- - lib/dpkg/atomic-file.c | 4 ++-- - lib/dpkg/dbdir.c | 6 +----- - lib/dpkg/dir.c | 2 +- - lib/dpkg/error.c | 2 +- - lib/dpkg/options.c | 8 ++++---- - lib/dpkg/path.c | 5 +---- - lib/dpkg/tarfn.c | 8 ++------ - lib/dpkg/triglib.c | 6 +----- - src/archives.c | 5 +---- - src/divertcmd.c | 12 ++++-------- - src/main.c | 10 ++-------- - src/script.c | 2 +- - 17 files changed, 33 insertions(+), 64 deletions(-) - -commit 302829039a4dba8a37fa31dfc0e06ca4a8e5a04b -Author: Guillem Jover -Date: Sun Oct 18 06:10:56 2015 +0200 - - libdpkg: Add new str_fmt() - - This function is easier and more natural to use than m_asprintf(), and - we currently never use the returned length anyway. - - lib/dpkg/dpkg.h | 1 + - lib/dpkg/libdpkg.map | 1 + - lib/dpkg/string.c | 23 ++++++++++++++++++++++- - lib/dpkg/string.h | 3 ++- - lib/dpkg/t/t-string.c | 19 +++++++++++++++++-- - 5 files changed, 43 insertions(+), 4 deletions(-) - -commit 0e50ba17b2df7d84b88567d2d82b8e83febd4f11 -Author: Helge Kreutzmann -Date: Sun Nov 15 20:31:05 2015 +0100 - - Fixes and improvements - - Noticed while proofreading the scripts translations on debian-l10n-german - - man/po/de.po | 77 ++++++++++++++++++++++++++++++------------------------------ - 1 file changed, 38 insertions(+), 39 deletions(-) - -commit 11b784200def36033925f0b5480a7f475a8c7631 -Author: Helge Kreutzmann -Date: Wed Nov 11 21:04:09 2015 +0100 - - Fixes and improvements - - Fix typo noticed by Ben Wiederhake and reported on debian-l10n-german. - Improvements stemming from proofreading of the scripts translation. - - man/po/de.po | 70 ++++++++++++++++++++++++++++++------------------------------ - 1 file changed, 35 insertions(+), 35 deletions(-) - -commit 649a1d30026029ca1744144c9b5f641e58015b71 -Author: Helge Kreutzmann -Date: Sun Nov 1 11:49:23 2015 +0100 - - Various (important) translation fixes - - Found during review on debian-l10n-german - - scripts/po/de.po | 576 +++++++++++++++++++++++++++---------------------------- - 1 file changed, 285 insertions(+), 291 deletions(-) - -commit 7a91341446851cd3594a8b752823b8c1f26d652a -Author: Guillem Jover -Date: Tue Oct 13 17:39:53 2015 +0200 - - dpkg-deb: Refactor tarball packing into a new function - - dpkg-deb/build.c | 87 ++++++++++++++++++++++++++++++++++++-------------------- - 1 file changed, 56 insertions(+), 31 deletions(-) - -commit 6559530d5e0298a57bce3b71703538d6fd225635 -Author: Guillem Jover -Date: Wed Oct 14 05:00:25 2015 +0200 - - dpkg-deb: Generate the control build dir just once - - dpkg-deb/build.c | 36 +++++++++++++++++++----------------- - 1 file changed, 19 insertions(+), 17 deletions(-) - -commit af5a9c80d49839d44c1ea87e17e50be27e09204f -Author: Guillem Jover -Date: Sat Oct 17 05:54:25 2015 +0200 - - dpkg: Fix varbuf memory leaks - - In «dpkg --verify» and the dpkg infodb format upgrade logic. - - Both are not big leaks, the first is bound by the amount of packages, - as the varbuf is reused for each file on each package, and the second - is just one instance of a leaked varbuf. - - Stable-Candidate: 1.16.x 1.17.x - - debian/changelog | 1 + - src/infodb-upgrade.c | 1 + - src/verify.c | 2 ++ - 3 files changed, 4 insertions(+) - -commit 931d9ade22f16c406769fe90e8397b3b53d15aa8 -Author: Guillem Jover -Date: Sat Oct 17 04:27:40 2015 +0200 - - libdpkg: Remove varbuf terminate() method - - The string() method already NUL terminates the buffer, so there is never - any need to explicitly terminate it beforehand. - - dselect/methlist.cc | 1 - - dselect/pkginfo.cc | 4 +--- - dselect/pkgsublist.cc | 1 - - lib/dpkg/varbuf.h | 10 +--------- - 4 files changed, 2 insertions(+), 14 deletions(-) - -commit e7a32556af38b5630412de406d2f0842150ff086 -Author: Guillem Jover -Date: Sat Oct 17 04:25:56 2015 +0200 - - libdpkg: Add new varbuf_get_str() - - lib/dpkg/t/t-varbuf.c | 34 ++++++++++++++++++++++++++++++++-- - lib/dpkg/varbuf.c | 10 +++++++++- - lib/dpkg/varbuf.h | 3 ++- - 3 files changed, 43 insertions(+), 4 deletions(-) - -commit da97e399c2ad884dbed77ccb2f960cfd354df25e -Author: Guillem Jover -Date: Sat Sep 20 02:24:37 2014 +0200 - - libdpkg: Add varbuf_snapshot() and varbuf_rollback() support - - This adds a proper interface to snapshot a varbuf state and it rollback - so that a common stem can be reused on multiple instances. - - lib/dpkg/t/t-varbuf.c | 34 +++++++++++++++++++++++++++++++++- - lib/dpkg/varbuf.c | 14 +++++++++++++- - lib/dpkg/varbuf.h | 7 +++++++ - src/archives.c | 11 ++++++----- - src/archives.h | 2 +- - src/infodb-access.c | 6 +++--- - src/infodb-upgrade.c | 8 ++++---- - src/remove.c | 25 ++++++++++++++----------- - src/unpack.c | 4 ++-- - 9 files changed, 83 insertions(+), 28 deletions(-) - -commit 10d77ba878eb998b3eede0c5ac7917a901de05b0 -Author: Guillem Jover -Date: Sat Oct 10 16:06:41 2015 +0200 - - libdpkg: Config-Version should also be initialized on triggers-pending - - A package in triggers-pending state should be considered an installed - package, by not doing so we might end up not passing the correct version - to the configure maintainer script and making it look like we are doing - a configuration for a first install, instead of an upgrade. - - Closes: #801156 - Reported-by: Andreas Beckmann - Stable-Candidate: 1.16.x 1.17.x - - debian/changelog | 4 ++++ - lib/dpkg/parse.c | 19 ++++++++++++------- - 2 files changed, 16 insertions(+), 7 deletions(-) - -commit b0f1071aaff431f68825c1b749f6c6ab58475a9d -Author: Guillem Jover -Date: Sat Oct 17 16:57:01 2015 +0200 - - build: Quote paths in run-scripts - - This makes the script more robust, although the source tree is not - really prepared to be built on paths with spaces. - - run-script | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 91d50f40621cb797a53e8df7b9f1381dd2a8915b -Author: Guillem Jover -Date: Sat Oct 17 16:51:38 2015 +0200 - - build: Add the dselect/methods directory to the TAP::Harness library paths - - This is not currently used, but it makes sure these modules are visible - for future tests. - - check.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 17aeccf7d53858900a419b924b018d0992af8fe9 -Author: Guillem Jover -Date: Sat Oct 17 16:50:29 2015 +0200 - - build: Use absolute buildir pathnames in PATH variable - - This makes sure that even if any subprocess changes directory, the PATH - environment variable will keep being correct. - - check.am | 2 +- - debian/changelog | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit f02217095bb294ab1eac879e495ffa23398ff7b6 -Author: Guillem Jover -Date: Fri Oct 9 16:55:35 2015 +0200 - - build: Set PERL5LIB globally for the test suite to the local modules directory - - Regression introduced in commit 34b26c7db232b300991df5fb6f52707b381df28f. - - Some functional tests are passing through makefile and exec barriers, - where the lib parameter for TAP::Harness is lost. Reintroduce the - explicit global setting of PERL5LIB so that it gets inherited for all - subprocesses. - - Closes: #801329 - Reported-by: Jérémy Bobbio - Stable-Candidate: 1.17.x - - Makefile.am | 1 - - check.am | 1 + - debian/changelog | 4 ++++ - 3 files changed, 5 insertions(+), 1 deletion(-) - -commit f3b8dfb3bdf030ca4ce2a1491f103fb9061b49c7 -Author: Guillem Jover -Date: Sat Oct 3 16:11:14 2015 +0200 - - Update Heiko Schlittermann's email address - - AUTHORS | 2 +- - THANKS | 2 +- - debian/copyright | 2 +- - dselect/methods/multicd/install | 2 +- - dselect/methods/multicd/setup | 2 +- - dselect/methods/multicd/update | 2 +- - 6 files changed, 6 insertions(+), 6 deletions(-) - -commit afbbf703ebdcc11b12353ccc8bca93bf901def0a -Author: Guillem Jover -Date: Sat Oct 3 16:09:05 2015 +0200 - - Update Ian Jackson's email address - - AUTHORS | 2 +- - THANKS | 2 +- - debian/copyright | 4 ++-- - dpkg-deb/build.c | 2 +- - dpkg-deb/dpkg-deb.h | 2 +- - dpkg-deb/extract.c | 2 +- - dpkg-deb/info.c | 2 +- - dpkg-deb/main.c | 2 +- - dpkg-split/dpkg-split.h | 2 +- - dpkg-split/info.c | 2 +- - dpkg-split/join.c | 2 +- - dpkg-split/main.c | 2 +- - dpkg-split/queue.c | 2 +- - dpkg-split/split.c | 2 +- - dselect/basecmds.cc | 2 +- - dselect/baselist.cc | 2 +- - dselect/basetop.cc | 2 +- - dselect/bindings.cc | 2 +- - dselect/bindings.h | 2 +- - dselect/curkeys.cc | 2 +- - dselect/dselect.h | 2 +- - dselect/helpmsgs.cc | 2 +- - dselect/helpmsgs.h | 2 +- - dselect/keyoverride | 2 +- - dselect/main.cc | 2 +- - dselect/methkeys.cc | 2 +- - dselect/methlist.cc | 2 +- - dselect/method.cc | 2 +- - dselect/method.h | 2 +- - dselect/methods/multicd/install | 2 +- - dselect/methods/multicd/setup | 4 ++-- - dselect/methods/multicd/update | 2 +- - dselect/methparse.cc | 2 +- - dselect/mkcurkeys.pl | 2 +- - dselect/pkgcmds.cc | 2 +- - dselect/pkgdepcon.cc | 2 +- - dselect/pkgdisplay.cc | 2 +- - dselect/pkginfo.cc | 2 +- - dselect/pkgkeys.cc | 2 +- - dselect/pkglist.cc | 2 +- - dselect/pkglist.h | 2 +- - dselect/pkgsublist.cc | 2 +- - dselect/pkgtop.cc | 2 +- - dselect/po/ja.po | 2 +- - lib/compat/alphasort.c | 2 +- - lib/compat/compat.h | 2 +- - lib/compat/scandir.c | 2 +- - lib/compat/snprintf.c | 2 +- - lib/compat/strerror.c | 2 +- - lib/compat/strsignal.c | 2 +- - lib/compat/unsetenv.c | 2 +- - lib/compat/vsnprintf.c | 2 +- - lib/dpkg/cleanup.c | 2 +- - lib/dpkg/dbmodify.c | 2 +- - lib/dpkg/debug.c | 2 +- - lib/dpkg/depcon.c | 2 +- - lib/dpkg/dlist.h | 2 +- - lib/dpkg/dpkg-db.h | 2 +- - lib/dpkg/dpkg.h | 2 +- - lib/dpkg/dump.c | 2 +- - lib/dpkg/ehandle.c | 2 +- - lib/dpkg/ehandle.h | 2 +- - lib/dpkg/fields.c | 2 +- - lib/dpkg/file.c | 2 +- - lib/dpkg/mlib.c | 2 +- - lib/dpkg/namevalue.h | 2 +- - lib/dpkg/nfmalloc.c | 2 +- - lib/dpkg/options.c | 2 +- - lib/dpkg/options.h | 2 +- - lib/dpkg/parse.c | 2 +- - lib/dpkg/parsedump.h | 2 +- - lib/dpkg/parsehelp.c | 2 +- - lib/dpkg/path-remove.c | 2 +- - lib/dpkg/path.c | 2 +- - lib/dpkg/pkg-array.c | 2 +- - lib/dpkg/pkg-db.c | 2 +- - lib/dpkg/pkg-namevalue.c | 2 +- - lib/dpkg/pkg-show.c | 2 +- - lib/dpkg/pkg.c | 2 +- - lib/dpkg/string.c | 2 +- - lib/dpkg/subproc.c | 2 +- - lib/dpkg/trigdeferred.h | 2 +- - lib/dpkg/trigdeferred.l | 2 +- - lib/dpkg/triglib.c | 2 +- - lib/dpkg/triglib.h | 2 +- - lib/dpkg/trigname.c | 2 +- - lib/dpkg/trignote.c | 2 +- - lib/dpkg/utils.c | 2 +- - lib/dpkg/varbuf.c | 2 +- - lib/dpkg/varbuf.h | 2 +- - lib/dpkg/version.c | 2 +- - lib/dpkg/version.h | 2 +- - man/deb-old.5 | 2 +- - man/deb-substvars.5 | 2 +- - man/deb.5 | 2 +- - man/dpkg-deb.1 | 2 +- - man/dpkg-distaddfile.1 | 2 +- - man/dpkg-divert.1 | 2 +- - man/dpkg-genchanges.1 | 2 +- - man/dpkg-gencontrol.1 | 2 +- - man/dpkg-parsechangelog.1 | 2 +- - man/dpkg-shlibdeps.1 | 2 +- - man/dpkg-source.1 | 2 +- - man/dpkg-split.1 | 2 +- - man/dpkg.1 | 2 +- - man/po/de.po | 2 +- - man/po/fr.po | 4 ++-- - man/po/pl.po | 2 +- - man/po/ru.po | 2 +- - man/po/sv.po | 2 +- - po/ja.po | 2 +- - scripts/Dpkg/Vendor/Ubuntu.pm | 2 +- - scripts/Dpkg/Version.pm | 2 +- - scripts/dpkg-source.pl | 2 +- - src/archives.c | 2 +- - src/archives.h | 2 +- - src/cleanup.c | 2 +- - src/configure.c | 2 +- - src/depcon.c | 2 +- - src/divertdb.c | 2 +- - src/enquiry.c | 2 +- - src/errors.c | 2 +- - src/filesdb.c | 2 +- - src/filesdb.h | 2 +- - src/help.c | 2 +- - src/infodb-access.c | 2 +- - src/infodb-upgrade.c | 2 +- - src/main.c | 2 +- - src/main.h | 2 +- - src/packages.c | 2 +- - src/querycmd.c | 2 +- - src/remove.c | 2 +- - src/script.c | 2 +- - src/select.c | 2 +- - src/statdb.c | 2 +- - src/trigcmd.c | 2 +- - src/trigproc.c | 2 +- - src/unpack.c | 2 +- - src/update.c | 2 +- - utils/update-alternatives.c | 2 +- - 140 files changed, 143 insertions(+), 143 deletions(-) - -commit a243173bd78e50555ef98ab5af6451a44c84f3de -Author: Frans Spiesschaert -Date: Fri Oct 2 18:21:33 2015 +0200 - - po: Update Dutch programs translation - - Closes: #800513 - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/nl.po | 69 ++++++++++++-------------------------------------------- - 2 files changed, 16 insertions(+), 54 deletions(-) - -commit 81b7c4d9a6cf884b3b8062d4cd591c5aec91e8c1 -Author: Helge Kreutzmann -Date: Tue Oct 6 19:40:19 2015 +0200 - - Update German translation of manual pages - - Update to 2415t. - - Also include fixes noted during review on debian-l10n-german. - - debian/changelog | 3 ++ - man/po/de.po | 139 ++++++++++++++++++++++++++++--------------------------- - 2 files changed, 75 insertions(+), 67 deletions(-) - -commit 3f8099b21bbb934d03c340fef1925824465e0571 -Author: Guillem Jover -Date: Fri Oct 2 13:57:57 2015 +0200 - - scripts: Switch all find(1) command calls to File::Find - - The find(1) command has subtle behavior differences depending on the - implementation (for example BSD vs GNU), the perl module is more portable - and has a more consistent behavior, such as always canonicalizing the - pathnames. - - Closes: #800649 - - debian/changelog | 3 +++ - scripts/dpkg-scanpackages.pl | 28 ++++++++++++++-------------- - scripts/dpkg-scansources.pl | 15 ++++++++------- - 3 files changed, 25 insertions(+), 21 deletions(-) - -commit a1bb7029b2cd3507ee27434af10354f4fad0f331 -Author: Guillem Jover -Date: Tue Sep 29 02:35:49 2015 +0200 - - man: Clarify that the md5sum check on «dpkg --verify» - - Mention that it is performed on the file contents, and failures denote - changed content. - - Closes: #760248 - - debian/changelog | 2 ++ - man/dpkg.1 | 6 ++++-- - 2 files changed, 6 insertions(+), 2 deletions(-) - -commit 2be668a86abd464ebfba4257abaef09b57a63098 -Author: Guillem Jover -Date: Mon Sep 28 15:52:10 2015 +0200 - - man: Move target architecture description to the TERMS section - - People expect the terms to be described in the section of the same name, - instead of on some random command-line option. - - Closes: #799046 - - debian/changelog | 5 +++++ - man/dpkg-architecture.1 | 6 +++--- - 2 files changed, 8 insertions(+), 3 deletions(-) - -commit 856da9cf1198abd433124c75d74507bfbf5eae65 -Author: Mert Dirik -Date: Mon Sep 28 15:33:07 2015 +0200 - - po: Update Turkish programs translation - - Closes: #799875 - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/tr.po | 80 +++++++++++++------------------------------------------- - 2 files changed, 19 insertions(+), 62 deletions(-) - -commit f22ad4d12318c55b599d29ca46be9c137107a550 -Author: Helge Kreutzmann -Date: Tue Sep 22 19:50:49 2015 +0200 - - Update German scripts translation - - Update to 552t. - - Also includes various fixes found e.g. on debian-l10n-german - - debian/changelog | 3 +++ - scripts/po/de.po | 69 +++++++++++++++++++++++++++----------------------------- - 2 files changed, 36 insertions(+), 36 deletions(-) - -commit d85bfcff7315b627edc0fb623574afbe6491eb0c -Author: Kenshi Muto -Date: Mon Sep 21 18:31:10 2015 +0200 - - po: Update Japanese program translations - - Signed-off-by: Guillem Jover - - debian/changelog | 3 +- - po/ja.po | 246 +++++++++++++++++-------------------------------------- - 2 files changed, 76 insertions(+), 173 deletions(-) - -commit f47156235d5b46609963f99d6ba996c473433c94 -Author: Guillem Jover -Date: Mon Sep 21 07:49:16 2015 +0200 - - Bump version to 1.18.4 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit ef4ebe74db2d2e16f4758eb708ff97014720a7e6 (tag: 1.18.3) -Author: Guillem Jover -Date: Mon Sep 21 07:11:51 2015 +0200 - - Release 1.18.3 - - debian/changelog | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit cc61d0133e403cfdcfb6086bbaa55806319ecc11 -Author: Guillem Jover -Date: Mon Sep 21 07:17:31 2015 +0200 - - po: Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 20 ++-- - dselect/po/ca.po | 25 +++-- - dselect/po/cs.po | 25 +++-- - dselect/po/da.po | 25 +++-- - dselect/po/de.po | 25 +++-- - dselect/po/dselect.pot | 24 ++--- - dselect/po/el.po | 25 +++-- - dselect/po/es.po | 25 +++-- - dselect/po/et.po | 25 +++-- - dselect/po/eu.po | 25 +++-- - dselect/po/fr.po | 36 ++++--- - dselect/po/gl.po | 25 +++-- - dselect/po/hu.po | 20 ++-- - dselect/po/id.po | 25 +++-- - dselect/po/it.po | 25 +++-- - dselect/po/ja.po | 25 +++-- - dselect/po/ko.po | 25 +++-- - dselect/po/nb.po | 25 +++-- - dselect/po/nl.po | 25 +++-- - dselect/po/nn.po | 25 +++-- - dselect/po/pl.po | 25 +++-- - dselect/po/pt.po | 25 +++-- - dselect/po/pt_BR.po | 25 +++-- - dselect/po/ro.po | 25 +++-- - dselect/po/ru.po | 25 +++-- - dselect/po/sk.po | 25 +++-- - dselect/po/sv.po | 25 +++-- - dselect/po/tl.po | 25 +++-- - dselect/po/vi.po | 25 +++-- - dselect/po/zh_CN.po | 25 +++-- - dselect/po/zh_TW.po | 25 +++-- - man/po/de.po | 45 ++++---- - man/po/dpkg-man.pot | 56 ++++------ - man/po/es.po | 105 ++++++++++--------- - man/po/fr.po | 105 ++++++++++--------- - man/po/hu.po | 80 ++++++++------- - man/po/it.po | 111 +++++++++++--------- - man/po/ja.po | 105 ++++++++++--------- - man/po/pl.po | 105 ++++++++++--------- - man/po/pt_BR.po | 76 +++++++------- - man/po/ru.po | 80 ++++++++------- - man/po/sv.po | 105 ++++++++++--------- - man/po/zh_CN.po | 71 ++++++------- - po/ast.po | 131 +++++++++++++----------- - po/bs.po | 101 +++++++++--------- - po/ca.po | 259 +++++++++++++++++++++++++++++----------------- - po/cs.po | 127 ++++++++++++----------- - po/da.po | 127 ++++++++++++----------- - po/de.po | 129 ++++++++++++----------- - po/dpkg.pot | 101 +++++++++--------- - po/dz.po | 124 +++++++++++----------- - po/el.po | 126 ++++++++++++----------- - po/eo.po | 127 ++++++++++++----------- - po/es.po | 129 ++++++++++++----------- - po/et.po | 124 +++++++++++----------- - po/eu.po | 129 ++++++++++++----------- - po/fr.po | 265 ++++++++++++++++++++++++++++++++---------------- - po/gl.po | 126 ++++++++++++----------- - po/hu.po | 122 +++++++++++----------- - po/id.po | 139 +++++++++++++------------ - po/it.po | 129 ++++++++++++----------- - po/ja.po | 129 ++++++++++++----------- - po/km.po | 122 +++++++++++----------- - po/ko.po | 137 ++++++++++++++----------- - po/ku.po | 105 ++++++++++--------- - po/lt.po | 112 ++++++++++---------- - po/mr.po | 122 +++++++++++----------- - po/nb.po | 135 +++++++++++++----------- - po/ne.po | 122 +++++++++++----------- - po/nl.po | 131 +++++++++++++----------- - po/nn.po | 114 +++++++++++---------- - po/pa.po | 112 ++++++++++---------- - po/pl.po | 127 ++++++++++++----------- - po/pt.po | 133 +++++++++++++----------- - po/pt_BR.po | 124 +++++++++++----------- - po/ro.po | 135 +++++++++++++----------- - po/ru.po | 131 +++++++++++++----------- - po/sk.po | 131 +++++++++++++----------- - po/sv.po | 127 ++++++++++++----------- - po/th.po | 125 +++++++++++++---------- - po/tl.po | 116 +++++++++++---------- - po/tr.po | 131 +++++++++++++----------- - po/vi.po | 142 ++++++++++++++------------ - po/zh_CN.po | 125 +++++++++++++---------- - po/zh_TW.po | 125 +++++++++++++---------- - scripts/po/ca.po | 50 ++++++--- - scripts/po/de.po | 41 ++++---- - scripts/po/dpkg-dev.pot | 36 ++++--- - scripts/po/es.po | 50 ++++++--- - scripts/po/fr.po | 211 ++++++++++++++++++++++++++------------ - scripts/po/pl.po | 50 ++++++--- - scripts/po/ru.po | 50 ++++++--- - scripts/po/sv.po | 50 ++++++--- - 93 files changed, 4333 insertions(+), 3552 deletions(-) - -commit 6c07fabfd53228a5c51596f2f26c8872c141833a -Author: Trần Ngọc Quân -Date: Thu Sep 17 09:41:35 2015 +0700 - - po: Update Vietnamese programs translation - - Signed-off-by: Trần Ngọc Quân - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/vi.po | 25 +++++++++---------------- - 2 files changed, 10 insertions(+), 16 deletions(-) - -commit 176098fb7eb9279339f418ac6c11653ddbe5a859 -Author: Sven Joachim -Date: Thu Sep 17 17:31:29 2015 +0200 - - s-s-d: Do not set changegroup unconditionally - - Commit 3db7a6eb4fd16b4cea475009bd80be3a41ada014 would always set - changegroup in the --chuid option, even if no colon is given on the - commandline. - - [guillem@debian.org: - - Avoid an else from a fatal if. ] - - Signed-off-by: Guillem Jover - - utils/start-stop-daemon.c | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit d287060bb1a45f5de33eb27034a7d8b27b039dbb -Author: Guillem Jover -Date: Thu Sep 17 18:14:00 2015 +0200 - - scripts: Use error() and errormsg() instead of printing on STDERR directly - - This way any transformation done for error messages gets applied - consistently to all error output. - - scripts/Dpkg/Source/Package/V1.pm | 3 +-- - scripts/dpkg-checkbuilddeps.pl | 8 ++++---- - 2 files changed, 5 insertions(+), 6 deletions(-) - -commit 9a54c92f8b09bf2b267b34542ed907a6fa791e09 -Author: Guillem Jover -Date: Thu Sep 17 18:01:37 2015 +0200 - - Dpkg::Gettext: Add new function N_ - - debian/copyright | 1 + - scripts/Dpkg/Gettext.pm | 28 +++++++++++++++++++++++++--- - scripts/po/Makevars | 3 ++- - 3 files changed, 28 insertions(+), 4 deletions(-) - -commit a603506740df8e83d441c72f1de234b9ba709693 -Author: Guillem Jover -Date: Thu Sep 17 02:03:53 2015 +0200 - - dselect: Initialize all baselist member variables - - Warned-by: coverity - - dselect/baselist.cc | 31 +++++++++++++++++++++++++++++-- - 1 file changed, 29 insertions(+), 2 deletions(-) - -commit 9a75ba2a93f349bc74fd80068bc4abc5a44f728b -Author: Guillem Jover -Date: Thu Sep 17 02:03:32 2015 +0200 - - dselect: Move sigwinch baselist member variables into setupsigwinch() - - dselect/baselist.cc | 5 +++-- - dselect/dselect.h | 2 -- - 2 files changed, 3 insertions(+), 4 deletions(-) - -commit 21e982448e8dda1ac6c534303a8ba4f54b46127e -Author: Guillem Jover -Date: Thu Sep 17 02:00:14 2015 +0200 - - dselect: Refactor SIGWINCH signal blocking and unblocking - - This way we can move the sigset_t sigwinchset declaration into the - new sigwinch_mask() member function instead of having it as a member - variable. - - dselect/baselist.cc | 21 ++++++++++++++++++--- - dselect/dselect.h | 3 ++- - dselect/methlist.cc | 6 ++---- - dselect/pkglist.cc | 6 ++---- - 4 files changed, 24 insertions(+), 12 deletions(-) - -commit 908261815da543e2b9a4ec046e6859e68ea26431 -Author: Guillem Jover -Date: Wed Sep 16 02:14:31 2015 +0200 - - libdpkg: Do not try to release the triggers lock on dry-run - - We were installing a dummy cleanup handler, but removing it on some - error conditions when returning from trigdef_update_start(), but - trigdef_process_done() was expecting to always have a cleanup handler - to pop. - - Reported-by: David Kalnischkies - - debian/changelog | 2 ++ - lib/dpkg/trigdeferred.l | 12 ++++++------ - 2 files changed, 8 insertions(+), 6 deletions(-) - -commit f467eb0f53d3b78e8565790e8caf008b60abac66 -Author: Guillem Jover -Date: Tue Sep 15 15:28:39 2015 +0200 - - libdpkg: Fix inadvertent license change back from GPL2 to GPL2+ - - In commit b95907e6e0f3f25136fb2ebcc8d3489efb208dea, several functions - were refactored out from src/filesdb.c (with a GPL2+ license), into - lib/utils.c (with a GPL2 license), inadvertently making them change - license. - - Ian clarified that this was a mistake in: - - - - Signed-off-by: Ian Jackson - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - debian/copyright | 8 +------- - lib/dpkg/utils.c | 7 +++++-- - 3 files changed, 7 insertions(+), 9 deletions(-) - -commit b67c481e2e12b6239b1642e7e52fe29db7e94f28 -Author: Guillem Jover -Date: Tue Sep 15 15:33:54 2015 +0200 - - dselect: Switch multicd method license from GPL2 to GPL2+ - - All authors have agreed to the change: - - Heiko in - Martin in - Ian in - Raphaël in - Guillem with this commit. - - Signed-off-by: Heiko Schlittermann - Signed-off-by: Martin Schulze - Signed-off-by: Ian Jackson - Signed-off-by: Raphaël Hertzog - Signed-off-by: Guillem Jover - - debian/changelog | 2 ++ - debian/copyright | 10 +--------- - dselect/methods/multicd/install | 5 +++-- - dselect/methods/multicd/setup | 5 +++-- - dselect/methods/multicd/update | 5 +++-- - 5 files changed, 12 insertions(+), 15 deletions(-) - -commit c7413c2c4fd3db02bc6aa9c5513b8490faea63d4 -Author: Guillem Jover -Date: Tue Sep 15 20:59:50 2015 +0200 - - s-s-d: Remove now unused xstrdup() function - - Warned-by: gcc - - utils/start-stop-daemon.c | 11 ----------- - 1 file changed, 11 deletions(-) - -commit 571df9b2933bbd34c11ba4536875e8c3803e0342 -Author: Guillem Jover -Date: Tue Sep 15 20:56:36 2015 +0200 - - u-a: Do not try to free() a «const char *» - - The returned value is always allocated now, and the call sites are - respinsible for its release, so it should not have been a «const char *» - pointer, modify the call tree to make it «char *». - - Warned-by: gcc - - utils/update-alternatives.c | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit ae83a2d9838e3f6a4cfc4b49a94681537147142b -Author: Guillem Jover -Date: Tue Sep 15 23:21:26 2015 +0200 - - dpkg-shlibdeps: Move regex variable inside function - - The function is defined after its first call site, so the regex variable - is not found when compiling the code. - - scripts/dpkg-shlibdeps.pl | 25 +++++++++++++------------ - 1 file changed, 13 insertions(+), 12 deletions(-) - -commit b83c018366b00a804b34598234b7df1bcdeec832 -Author: Guillem Jover -Date: Tue Sep 15 21:52:42 2015 +0200 - - t: Filter out any environment variable starting with DEB_ in mk.t - - These might affect the test results, and make them fail. - - debian/changelog | 2 ++ - scripts/t/mk.t | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit be89151850c2cd592bd676810ebf2a3ea4122d3d -Author: Guillem Jover -Date: Wed Sep 16 13:34:40 2015 +0200 - - t: Separate perl-critic tests with blank lines to make them more readable - - t/critic/perlcriticrc | 41 ++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 40 insertions(+), 1 deletion(-) - -commit 2fe0977d0895a91b7a8f5a669dc9dde5277dc936 -Author: Guillem Jover -Date: Tue Sep 15 19:45:58 2015 +0200 - - t: Disable perl-critic RegularExpressions::ProhibitEnumeratedClasses - - We work primarily with ASCII, so we want to specify the exact characters - to match. - - t/critic/perlcriticrc | 3 +++ - 1 file changed, 3 insertions(+) - -commit 7af0e3ba84361d4df748e43b372e2abe2f3d9c11 -Author: Helge Kreutzmann -Date: Wed Sep 16 22:31:22 2015 +0200 - - Correct incorrect translation as spotted by Sven Joachim - - scripts/po/de.po | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 40d2c52132ff600a3bc74fb197b484670164ce55 -Author: Helge Kreutzmann -Date: Wed Sep 16 20:50:23 2015 +0200 - - Update German translation of manual pages - - Update to 2415t. - - debian/changelog | 3 ++ - man/po/de.po | 120 +++++++++++++++++++++++++++---------------------------- - 2 files changed, 63 insertions(+), 60 deletions(-) - -commit 0f5492abafa79b49f8f18a8873c359ce09162d00 -Author: Helge Kreutzmann -Date: Wed Sep 16 19:48:54 2015 +0200 - - Update German scripts translation - - Update to 553t. - - scripts/po/de.po | 21 +++++++++++++++++---- - 1 file changed, 17 insertions(+), 4 deletions(-) - -commit bc07306f4e975bcca1b4197a35341e928fef1c89 -Author: Guillem Jover -Date: Mon Sep 14 21:27:20 2015 +0200 - - s-s-d: Fix short-lived memory leak when parsing --chuid - - Introduced in commit 3db7a6eb4fd16b4cea475009bd80be3a41ada014. - - Warned-by: coverity - - utils/start-stop-daemon.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit de6b7323ff3929d70a849de28bb4606ab32360a5 -Author: Guillem Jover -Date: Mon Sep 14 21:22:30 2015 +0200 - - u-a: Fix memory leak in alternative_config_all() - - Warned-by: coverity - - utils/update-alternatives.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 244f260024836a0a9a04b1f42f4858d1ee142af7 -Author: Guillem Jover -Date: Tue Sep 15 02:42:49 2015 +0200 - - man: Mark each individual required field as such - - Do not use segregated sections for required and optional fields, they - are more difficult to organize this way. - - debian/changelog | 2 ++ - man/deb-control.5 | 12 +++++------- - man/deb-origin.5 | 5 ++--- - 3 files changed, 9 insertions(+), 10 deletions(-) - -commit bb24616fe84b225214469d925c3db573166924dd -Author: Guillem Jover -Date: Tue Sep 15 02:38:40 2015 +0200 - - man: Add missing dashes to package-list in deb-src-control(5) - - debian/changelog | 1 + - man/deb-src-control.5 | 6 +++--- - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit 9043cdef192332f3a0fc710731d3bf7e73aaa3aa -Author: Guillem Jover -Date: Mon Sep 14 16:37:07 2015 +0200 - - debian: Use --with-devlibdir to only switch libdpkg-dev to a multiarch dir - - The perl plugins and dselect methods need to use the non-multiarch - directory, or things break. We can use now the new option to only - install the C libdpkg files in a multiarch enabled path. - - The fix from commit 3ce3a7adeb8c815734a35b95aee96bacd1aafde4 was not - correct, as libdpkg.pc was not moved to the multiarch directory and - was making the build fail, because it needs to have a libdir matching - the directory where the library was installed. - - debian/changelog | 5 ++--- - debian/rules | 7 +------ - 2 files changed, 3 insertions(+), 9 deletions(-) - -commit eae0b17537596dc5589598c4724feb14c5d7e949 -Author: Guillem Jover -Date: Mon Sep 14 16:14:42 2015 +0200 - - build: Add a new --with-devlibdir configure option - - This will make it possible to use a different directory for the C libdpkg - files to the dselect methods and perl plugins directory. - - configure.ac | 2 ++ - debian/changelog | 2 ++ - lib/dpkg/Makefile.am | 4 ++-- - lib/dpkg/libdpkg.pc.in | 2 +- - 4 files changed, 7 insertions(+), 3 deletions(-) - -commit 23020a4da876727a0b1c412bf287cf80ba1cfc66 -Author: Guillem Jover -Date: Mon Sep 14 04:45:15 2015 +0200 - - perl: Split overlong regexes into multiline extended regexes - - This should make the regular expressions easier to read and understand, - and allows to add comments describing specific parts. - - Addresses RegularExpressions::RequireExtendedFormatting. - - Warned-by: perlcritic - - debian/changelog | 1 + - dselect/methods/Dselect/Ftp.pm | 11 ++++-- - scripts/Dpkg/Changelog/Debian.pm | 66 +++++++++++++++++++++++++++++----- - scripts/Dpkg/Changelog/Entry/Debian.pm | 35 +++++++++++++++--- - scripts/Dpkg/Shlibs/Objdump.pm | 15 ++++++-- - scripts/dpkg-shlibdeps.pl | 14 +++++++- - src/t/dpkg_divert.t | 12 +++++-- - t/critic.t | 1 + - t/critic/perlcriticrc | 7 ++-- - 9 files changed, 141 insertions(+), 21 deletions(-) - -commit bc7701399f90ec24fc54ca7d893d2088a188b4d8 -Author: Guillem Jover -Date: Mon Sep 14 03:48:48 2015 +0200 - - t: Fix coding style - - src/t/dpkg_divert.t | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e65aa3db04eb908c9507d5d356a95cedb890814d -Author: Guillem Jover -Date: Sun Sep 6 21:25:00 2015 +0200 - - dpkg-deb: Fix off-by-one write access on versionbuf variable - - Closes: #798324 - Warned-by: afl - Reported-by: Jacek Wielemborek - Stable-Candidate: 1.16.x 1.17.x - - debian/changelog | 2 ++ - dpkg-deb/extract.c | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 64acb4e4b98d7abe7436d83f0d64f0a3238fe5f3 -Author: Guillem Jover -Date: Tue Sep 1 19:04:57 2015 +0200 - - dpkg: Fix --verify with --root - - The code was not taking into account the root prefix when verifying - pathnames, which resulted in all files failing to verify. - - debian/changelog | 1 + - src/verify.c | 8 +++++++- - 2 files changed, 8 insertions(+), 1 deletion(-) - -commit 21f5898d846a1cd69bdc6849e2097168cde02fdf -Author: Guillem Jover -Date: Tue Aug 18 15:52:28 2015 +0200 - - Dpkg::Changelog::Entry::Debian: Catch bogus month names - - Check if the month is a valid abbreviated month name, with proper - capitalization, and check explicitly for unabbreviated month names, - otherwise the error message might be too confusing. - - debian/changelog | 2 ++ - scripts/Dpkg/Changelog/Entry/Debian.pm | 21 +++++++++++++++++++-- - 2 files changed, 21 insertions(+), 2 deletions(-) - -commit f2471e8f413d86b2f483c1fc73daac7967ab0b68 -Author: Guillem Jover -Date: Tue Aug 18 15:52:28 2015 +0200 - - Dpkg::Changelog::Entry::Debian: Do not abort on Time::Piece parse errors - - The Date::Parse str2time() function returns undef on parse errors, but - Time::Piece strptime() aborts, so to preserve the previous behavior we - need to trap any such errors, and handle them ourselves, as the caller - might want to warn instead. - - Closes: #795936 - - debian/changelog | 3 +++ - scripts/Dpkg/Changelog/Entry/Debian.pm | 8 +++++--- - 2 files changed, 8 insertions(+), 3 deletions(-) - -commit 98b4330b2cde21512a87a751553b48e2b83e5b55 -Author: Guillem Jover -Date: Mon Aug 31 05:07:18 2015 +0200 - - Dpkg::Source::Package::V2: Do not warn when removing an empty subdirectory - - When extracting a source package, do not warn if the pathname to remove - is an empty directory, just silently remove it, as it might be part of - a git repository, as a submodule for example. - - Closes: #796671 - - debian/changelog | 2 ++ - scripts/Dpkg/Source/Package/V2.pm | 4 ++++ - 2 files changed, 6 insertions(+) - -commit 90153db09cea93c94f7b1520e81814361cc5fcde -Author: Steven Chamberlain -Date: Mon Aug 31 04:40:53 2015 +0200 - - Add new kfreebsd-armhf support - - Closes: #796283 - Signed-off-by: Guillem Jover - - debian/changelog | 2 ++ - ostable | 1 + - triplettable | 1 + - 3 files changed, 4 insertions(+) - -commit 51f3204e3d8b66af121da86c3b885d95ee509164 -Author: Guillem Jover -Date: Sat Aug 8 02:49:15 2015 +0200 - - u-a: Remove subcall and surrounding code - - This function and macros are unused, now that all commands have been - reimplemented fully as built-ins. - - utils/update-alternatives.c | 51 --------------------------------------------- - 1 file changed, 51 deletions(-) - -commit 9e93806ab9d6f719ad24fc2567f5810ba69315d2 -Author: Guillem Jover -Date: Sat Aug 8 02:40:27 2015 +0200 - - u-a: Reimplement --set-selections as a built-in command - - Do not execute itself with --set or --auto for each alternative to - set a selection for, just handle them in-process. - - debian/changelog | 2 ++ - utils/update-alternatives.c | 22 ++++++++++++---------- - 2 files changed, 14 insertions(+), 10 deletions(-) - -commit c9c7a4e39babc7467c42d1c9808c83c05ed2e9bc -Author: Guillem Jover -Date: Sat Aug 8 01:57:37 2015 +0200 - - u-a: Reimplement --all as a fully built-in command - - Do not execute itself with --config for each alternative to configure, - just handle them all in-process. - - debian/changelog | 2 ++ - utils/update-alternatives.c | 39 +++++++++++++++++++++++++-------------- - 2 files changed, 27 insertions(+), 14 deletions(-) - -commit 0fd9fb9b031efc0241e0beca6ae66de1820cbc5b -Author: Guillem Jover -Date: Sat Sep 12 17:30:03 2015 +0200 - - u-a: Move selection functions after alternative_update() - - We will need to use functions defined further down the file, so let's - move these ones after alternative_update(). - - utils/update-alternatives.c | 246 ++++++++++++++++++++++---------------------- - 1 file changed, 123 insertions(+), 123 deletions(-) - -commit 3b839f916b5b7a209eab9acef50281ebd50b42fd -Author: Guillem Jover -Date: Fri Aug 7 19:13:01 2015 +0200 - - u-a: Refactor config, remove, set_manual and set_auto actions - - This simplifies the main() function, and will allow reusing some of - these new functions to avoid having to call itself. - - utils/update-alternatives.c | 136 +++++++++++++++++++++++++++++--------------- - 1 file changed, 89 insertions(+), 47 deletions(-) - -commit 73b937b90836e15a56e75bd86814e32b825ef9eb -Author: Guillem Jover -Date: Fri Aug 7 19:11:23 2015 +0200 - - u-a: Rename alternative_remove to alternative_remove_files - - We will use this name for the actual alternative remove action. - - utils/update-alternatives.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit e8fb0382021ccb2baf704a19653477250952a844 -Author: Guillem Jover -Date: Thu Dec 18 20:56:11 2014 +0100 - - u-a: Move current best alternative from the trail to the head - - No callers have been found in Debian parsing the best version of an - alternative. - - debian/changelog | 2 ++ - utils/update-alternatives.c | 11 +++++------ - 2 files changed, 7 insertions(+), 6 deletions(-) - -commit 55661248cc3028446b9e73eb17e41fa12aad2b54 -Author: Guillem Jover -Date: Thu Dec 18 20:55:24 2014 +0100 - - u-a: Print master and slave links on --display - - debian/changelog | 1 + - man/update-alternatives.1 | 1 + - utils/update-alternatives.c | 3 +++ - 3 files changed, 5 insertions(+) - -commit 93748e328ff3912d3503b323881a2df556d80fad -Author: Guillem Jover -Date: Fri Aug 7 03:35:57 2015 +0200 - - libdpkg: Do not fallback to strlen() when using strcspn() - - The strcspn() function always returns the requested length, there is no - need to fallback to strlen(). - - lib/dpkg/pkg-format.c | 4 ---- - lib/dpkg/pkg-show.c | 9 ++------- - 2 files changed, 2 insertions(+), 11 deletions(-) - -commit 7d493c3ce4c816ba2142f29066f26f6bc4b63b54 -Author: Guillem Jover -Date: Wed Apr 30 22:04:43 2014 +0200 - - libdpkg, dpkg-divert: Mark unimportant unlink() return code as unwanted - - Make it explicit that we do not care about the return code of these - unlink() calls. - - Warned-by: coverity - - lib/dpkg/cleanup.c | 2 +- - lib/dpkg/dbmodify.c | 2 +- - src/divertcmd.c | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 3db7a6eb4fd16b4cea475009bd80be3a41ada014 -Author: Guillem Jover -Date: Thu May 1 16:34:24 2014 +0200 - - s-s-d: Fix short-lived memory leaks - - As a side effect now a missing group after ‘:’ on --chuid is a fatal - error. - - Warned-by: coverity - - debian/changelog | 2 ++ - utils/start-stop-daemon.c | 43 ++++++++++++++++++++++++++++++------------- - 2 files changed, 32 insertions(+), 13 deletions(-) - -commit 3ce3a7adeb8c815734a35b95aee96bacd1aafde4 -Author: Guillem Jover -Date: Sun Aug 9 05:38:12 2015 +0200 - - debian: Do not change libdir for the entire dpkg - - This changes too many directories that are expected to be non-multiarch - aware. Instead perform the moving to the correct multiarch directories - in debian/rules. - - Closes: #794977 - - debian/changelog | 3 +++ - debian/dselect.install | 2 +- - debian/libdpkg-perl.install | 2 +- - debian/rules | 7 ++++++- - 4 files changed, 11 insertions(+), 3 deletions(-) - -commit 56a777da0bc20dd1c49564e2a97fc7fdfe93aa51 -Author: Guillem Jover -Date: Sun Aug 9 05:25:28 2015 +0200 - - debian: Use an intermediate variable to hold debian/tmp - - debian/rules | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 6b421f74021f21fb2dae97f3caacdf9e3c805b29 -Author: Guillem Jover -Date: Sun Aug 9 05:49:06 2015 +0200 - - debian: Remove unneeded --sourcedir options from dh_install calls - - With debhelper compatibility 7 and above, debian/tmp is used by default. - - debian/changelog | 2 ++ - debian/rules | 4 ++-- - 2 files changed, 4 insertions(+), 2 deletions(-) - -commit 87dfde5acfeb60f2b647902663c300068f85942d -Author: Sébastien Poher -Date: Fri Sep 11 17:03:12 2015 +0200 - - po: Update French translations - - Closes: #798369, #798370, #798371 - Signed-off-by: Guillem Jover - - debian/changelog | 5 + - dselect/po/fr.po | 96 ++++------- - po/fr.po | 247 +++++++++------------------ - scripts/po/fr.po | 495 ++++++++++++------------------------------------------- - 4 files changed, 210 insertions(+), 633 deletions(-) - -commit 2239f86b2249dedc457350af959367eb0258ada4 -Author: Sven Joachim -Date: Sun Aug 9 11:10:20 2015 +0200 - - German dpkg translation update - - Update to 1093t. - - debian/changelog | 1 + - po/de.po | 77 +++++++++++++------------------------------------------- - 2 files changed, 19 insertions(+), 59 deletions(-) - -commit c8f18f5e6e51dd6985d7e519b2e0fb2e1504d6a4 -Author: Helge Kreutzmann -Date: Thu Aug 6 20:33:16 2015 +0200 - - Update German scripts translation - - Update to 551t. - - debian/changelog | 3 +++ - scripts/po/de.po | 26 ++++++++++++++++---------- - 2 files changed, 19 insertions(+), 10 deletions(-) - -commit 629f06716634ce80997555b337c987e8e9191105 -Author: Guillem Jover -Date: Wed Aug 5 21:32:51 2015 +0200 - - doc: Fix typos for --predep-package option name - - Closes: #794688 - Reported-by: Sven Joachim - - debian/changelog | 4 +++- - man/dpkg.1 | 2 +- - man/po/de.po | 6 +++--- - src/main.c | 2 +- - 4 files changed, 8 insertions(+), 6 deletions(-) - -commit bec92eed801f0f3c36ea40d4a80ab84078889eb7 -Author: Guillem Jover -Date: Thu Aug 6 02:05:37 2015 +0200 - - scripts/t: Get the reference build flags from dpkg-buildflags.pl - - The build flags might change depending on the architecture, so instead of - hardcoding them, retrieve them from the source's tree dpkg-buildflags.pl. - - Closes: #794694 - - debian/changelog | 4 ++++ - scripts/t/mk.t | 4 ++++ - scripts/t/mk/buildflags.mk | 18 +++++++++--------- - 3 files changed, 17 insertions(+), 9 deletions(-) - -commit 84790a78dab74e4813cbdfdcaae1ca3ce13ee99e -Author: Guillem Jover -Date: Thu Aug 6 01:58:41 2015 +0200 - - scripts/t: Generalize get_arch_vars() into cmd_get_vars() - - scripts/t/mk.t | 19 +++++++++---------- - 1 file changed, 9 insertions(+), 10 deletions(-) - -commit afef8fbf76e4d87ea8ab824370507f5017a4818e -Author: Guillem Jover -Date: Wed Aug 5 21:27:41 2015 +0200 - - Dpkg::Changelog::Entry::Debian: Only warn on invalid week days - - Regression introduced in commit 7a71b4b78e8a81158c45073dee05b0d1cc46b71c. - - The previous implementation using Date::Parse ignored invalid week - days, and the new one using Time::Piece is strict, so we get fatal - errors. Validate the week day ourselves, emit a warning in case of - an invalid value, and ignore it when passing the value to strptime - from Time::Piece. - - Reported-by: Jakub Wilk - - debian/changelog | 6 ++++++ - scripts/Dpkg/Changelog/Entry/Debian.pm | 15 ++++++++++----- - 2 files changed, 16 insertions(+), 5 deletions(-) - -commit bacb47ef2cee950c9c167b9cb6a95ecd0a051634 -Author: Guillem Jover -Date: Thu Aug 6 03:20:54 2015 +0200 - - debian: Add changelog entry for previous commit - - debian/changelog | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 331b057e7bce80895be20062fd7673d5df2e32b0 -Author: Jordi Mallach -Date: Wed Aug 5 12:37:46 2015 +0200 - - Update Catalan translation. - - po/ca.po | 471 ++++++++++++++++++++++++++------------------------------------- - 1 file changed, 196 insertions(+), 275 deletions(-) - -commit 2563cb0d19ce9f6105691183b1ef16551dba9ccc -Author: Guillem Jover -Date: Wed Aug 5 03:11:05 2015 +0200 - - Bump version to 1.18.3 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 5459d330c73cdcfd1327bc93c0ebddc2da4a3a3a (tag: 1.18.2) -Author: Guillem Jover -Date: Mon Aug 3 15:41:05 2015 +0200 - - Release 1.18.2 - - debian/changelog | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit ddc5c0c9579d60c13474361933d12b248d2c6dff -Author: Guillem Jover -Date: Tue Aug 4 21:02:16 2015 +0200 - - po: Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 2 +- - dselect/po/ca.po | 2 +- - dselect/po/cs.po | 2 +- - dselect/po/da.po | 2 +- - dselect/po/de.po | 2 +- - dselect/po/dselect.pot | 4 +- - dselect/po/el.po | 2 +- - dselect/po/es.po | 2 +- - dselect/po/et.po | 2 +- - dselect/po/eu.po | 2 +- - dselect/po/fr.po | 2 +- - dselect/po/gl.po | 2 +- - dselect/po/hu.po | 2 +- - dselect/po/id.po | 2 +- - dselect/po/it.po | 2 +- - dselect/po/ja.po | 2 +- - dselect/po/ko.po | 2 +- - dselect/po/nb.po | 2 +- - dselect/po/nl.po | 2 +- - dselect/po/nn.po | 2 +- - dselect/po/pl.po | 2 +- - dselect/po/pt.po | 2 +- - dselect/po/pt_BR.po | 2 +- - dselect/po/ro.po | 2 +- - dselect/po/ru.po | 2 +- - dselect/po/sk.po | 2 +- - dselect/po/sv.po | 2 +- - dselect/po/tl.po | 2 +- - dselect/po/vi.po | 2 +- - dselect/po/zh_CN.po | 2 +- - dselect/po/zh_TW.po | 2 +- - man/po/de.po | 60 ++++---- - man/po/dpkg-man.pot | 255 ++++++++++++++++++++++++++++----- - man/po/es.po | 344 +++++++++++++++++++++++++++++++++++++-------- - man/po/fr.po | 367 ++++++++++++++++++++++++++++++++++++++++-------- - man/po/hu.po | 308 ++++++++++++++++++++++++++++++++-------- - man/po/it.po | 363 +++++++++++++++++++++++++++++++++++++++-------- - man/po/ja.po | 343 ++++++++++++++++++++++++++++++++++++-------- - man/po/pl.po | 344 +++++++++++++++++++++++++++++++++++++-------- - man/po/pt_BR.po | 308 ++++++++++++++++++++++++++++++++-------- - man/po/ru.po | 310 ++++++++++++++++++++++++++++++++-------- - man/po/sv.po | 365 +++++++++++++++++++++++++++++++++++++++-------- - man/po/zh_CN.po | 303 +++++++++++++++++++++++++++++++-------- - po/ast.po | 41 +++--- - po/bs.po | 21 +-- - po/ca.po | 79 ++++++++--- - po/cs.po | 79 ++++++++--- - po/da.po | 79 ++++++++--- - po/de.po | 81 ++++++++--- - po/dpkg.pot | 23 +-- - po/dz.po | 41 +++--- - po/el.po | 41 +++--- - po/eo.po | 79 ++++++++--- - po/es.po | 79 ++++++++--- - po/et.po | 43 +++--- - po/eu.po | 79 ++++++++--- - po/fr.po | 77 +++++++--- - po/gl.po | 41 +++--- - po/hu.po | 41 +++--- - po/id.po | 43 +++--- - po/it.po | 79 ++++++++--- - po/ja.po | 79 ++++++++--- - po/km.po | 43 +++--- - po/ko.po | 41 +++--- - po/ku.po | 21 +-- - po/lt.po | 41 +++--- - po/mr.po | 41 +++--- - po/nb.po | 41 +++--- - po/ne.po | 39 ++--- - po/nl.po | 79 ++++++++--- - po/nn.po | 271 ++++++++++++----------------------- - po/pa.po | 41 +++--- - po/pl.po | 81 ++++++++--- - po/pt.po | 79 ++++++++--- - po/pt_BR.po | 41 +++--- - po/ro.po | 41 +++--- - po/ru.po | 79 ++++++++--- - po/sk.po | 45 +++--- - po/sv.po | 79 ++++++++--- - po/th.po | 79 ++++++++--- - po/tl.po | 313 +++++++++++++++-------------------------- - po/tr.po | 79 ++++++++--- - po/vi.po | 97 +++++++++---- - po/zh_CN.po | 79 ++++++++--- - po/zh_TW.po | 47 ++++--- - scripts/po/ca.po | 46 ++++-- - scripts/po/de.po | 23 +-- - scripts/po/dpkg-dev.pot | 32 +++-- - scripts/po/es.po | 46 ++++-- - scripts/po/fr.po | 46 ++++-- - scripts/po/pl.po | 46 ++++-- - scripts/po/ru.po | 46 ++++-- - scripts/po/sv.po | 46 ++++-- - 93 files changed, 5135 insertions(+), 1852 deletions(-) - -commit 3b19e2209a125698dad25f6e16a2f0d0c976a990 -Author: Guillem Jover -Date: Tue Aug 4 21:52:23 2015 +0200 - - man: Fix formatting and grammar errors - - Reported-by: Helge Kreutzmann - - man/dpkg-buildpackage.1 | 4 ++-- - man/dpkg.1 | 4 ++-- - man/po/de.po | 14 +++++++------- - 3 files changed, 11 insertions(+), 11 deletions(-) - -commit c40e5458b70df36767f11828bb51cbba8ae4ebc8 -Author: Guillem Jover -Date: Tue Aug 4 19:45:27 2015 +0200 - - scripts/t: Delete DEB_VENDOR from the environment to get reliable results - - debian/changelog | 1 + - scripts/t/Dpkg_Vendor.t | 3 +++ - 2 files changed, 4 insertions(+) - -commit f9d80776cbb11fe6f07366ce0836df1d5f911456 -Author: Guillem Jover -Date: Tue Aug 4 19:20:27 2015 +0200 - - scripts/t: Add test cases for the makefile snippets - - debian/changelog | 1 + - scripts/Makefile.am | 9 ++++- - scripts/t/mk.t | 76 +++++++++++++++++++++++++++++++++++++++++++ - scripts/t/mk/architecture.mk | 30 +++++++++++++++++ - scripts/t/mk/buildflags.mk | 14 ++++++++ - scripts/t/mk/debian/changelog | 5 +++ - scripts/t/mk/pkg-info.mk | 9 +++++ - scripts/t/mk/vendor.mk | 5 +++ - 8 files changed, 148 insertions(+), 1 deletion(-) - -commit 8bc91e0955c99f48fbc177ba77d84a8d851cfa8c -Author: Guillem Jover -Date: Sun Aug 2 02:02:02 2015 +0200 - - Dpkg::Shlibs::Objdump: Support spaces in symbol names - - The ELF spec does not disallow symbols with embedded spaces, so we - should really be supporting those. This is required by Go shared - libraries. - - Closes: #785344 - Based-on-patch-by: Michael Hudson-Doyle - Signed-off-by: Guillem Jover - - debian/changelog | 3 + - scripts/Dpkg/Shlibs/Objdump.pm | 12 +-- - scripts/Makefile.am | 23 +++++- - scripts/t/Dpkg_Shlibs.t | 38 +++++++++- - scripts/t/Dpkg_Shlibs/.gitignore | 1 + - scripts/t/Dpkg_Shlibs/objdump.spacesyms | 124 +++++++++++++++++++++++++++++++ - scripts/t/Dpkg_Shlibs/spacesyms-c-gen.pl | 37 +++++++++ - scripts/t/Dpkg_Shlibs/spacesyms-o-map.pl | 25 +++++++ - scripts/t/Dpkg_Shlibs/spacesyms.map | 7 ++ - 9 files changed, 262 insertions(+), 8 deletions(-) - -commit 411de2793a8ab522fb68c4ecd13d310332ed8af9 -Author: Guillem Jover -Date: Sat Aug 1 23:05:17 2015 +0200 - - Dpkg::Deps: Make the dependency comparison deep - - We have to check the whole dependency tree, and not only compare the - first alternative from a Dpkg::Deps::Multiple. This allows sorting - them in a reproducible way. - - Closes: #792491 - Based-on-patch-by: Chris Lamb - Signed-off-by: Guillem Jover - - debian/changelog | 3 +++ - scripts/Dpkg/Deps.pm | 43 ++++++++++++++++++++++++------------------- - scripts/t/Dpkg_Deps.t | 4 ++-- - 3 files changed, 29 insertions(+), 21 deletions(-) - -commit 0ccd2f60fc794296e925ce5da242bc7aebefd0f8 -Author: Guillem Jover -Date: Sat Aug 1 23:00:30 2015 +0200 - - scripts: Use none instead of ah-hoc checks - - This simplifies the code, and fixes a false positive on perl critic - (ControlStructures::ProhibitUntilBlocks), due to the word "until" - appearing in the block. - - scripts/Dpkg/Changelog/Parse.pm | 7 ++----- - scripts/changelog/debian.pl | 11 +++++------ - 2 files changed, 7 insertions(+), 11 deletions(-) - -commit 2b5045c492fd4f1f0f6f3114e7b444014fe446c4 -Author: Guillem Jover -Date: Fri Jul 31 17:40:10 2015 +0200 - - dpkg-source: Add an optional essential=yes key/value to Package-List - - This makes this information available in the Sources package files, so - that when bootstrapping a new architecture all Essential:yes packages - are known in advance. - - Prompted-by: Helmut Grohne - - debian/changelog | 3 +++ - scripts/dpkg-source.pl | 4 ++++ - 2 files changed, 7 insertions(+) - -commit 14dff6e0c34443bcc0be402627549d891df4813b -Author: Guillem Jover -Date: Sat Aug 1 11:05:03 2015 +0200 - - libdpkg: Set used signals in test suite to their default action - - This fixes build failures when SIGINT, SIGTERM or SIGPIPE are set to - ignore the signals. - - debian/changelog | 3 +++ - lib/dpkg/t/t-subproc.c | 7 +++++++ - 2 files changed, 10 insertions(+) - -commit c59cbc409f4d4c3f3ffd899be9c97b5ad87d1412 -Author: Helge Kreutzmann -Date: Thu Jul 30 18:18:21 2015 +0200 - - Update German translation of manual pages - - Update to 2418t. - - man/po/de.po | 114 ++++++++++++++++++++++++++++++++++++++++++++--------------- - 1 file changed, 85 insertions(+), 29 deletions(-) - -commit 4cd20132a184035e267dfc275ca2cfbc3174b87d -Author: Helge Kreutzmann -Date: Thu Jul 30 17:56:57 2015 +0200 - - Update German scripts translation - - Update to 550t. - - scripts/po/de.po | 16 ++++++++++++---- - 1 file changed, 12 insertions(+), 4 deletions(-) - -commit dc505ca07a9037079299aca4aeabe513d514a32e -Author: Guillem Jover -Date: Thu Jul 30 05:38:28 2015 +0200 - - scripts/mk: Add an extra level of escaping for double evals - - Regression introduced in commit 486241a9d3521ed093be9a02b00f4d404dc39b35. - - Otherwise the values are not computed lazily, many of which are quite - expensive. Rename dpkg_late_eval to dpkg_lazy_eval so that the other - makefiles can be intermixed with the ones needing the extra level of - escaping. - - Closes: #793330 - - debian/changelog | 3 +++ - scripts/mk/architecture.mk | 4 ++-- - scripts/mk/buildflags.mk | 6 +++--- - 3 files changed, 8 insertions(+), 5 deletions(-) - -commit 3ba3e1619ce07aaddbe38782cab4554f5148d14d -Author: Guillem Jover -Date: Tue Jul 21 07:39:41 2015 +0200 - - debian: Mark libio-string-perl as - - This allows building the package without running the test suite, and - not requiring build dependencies specific to the test suite. Which - makes it easier to bootstrap an architecture. - - Prompted-by: Helmut Grohne - - debian/changelog | 1 + - debian/control | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 795c00ee8a2b322c6729a5cbfee8af326d6e3a7c -Author: Guillem Jover -Date: Sat Jun 27 03:13:56 2015 +0200 - - debian: Make the libdpkg-dev package Multi-Arch:same - - debian/changelog | 2 ++ - debian/control | 1 + - debian/dselect.install | 2 +- - debian/libdpkg-dev.install | 4 ++-- - debian/libdpkg-perl.install | 2 +- - debian/rules | 2 ++ - 6 files changed, 9 insertions(+), 4 deletions(-) - -commit 6703756a6c7610549a1f05d0e87cddac3fc563d5 -Author: Guillem Jover -Date: Sat Jun 27 03:09:26 2015 +0200 - - debian: Group all dpkg-architecture variables together - - debian/rules | 10 ++++------ - 1 file changed, 4 insertions(+), 6 deletions(-) - -commit 02e2060504f1c8dbbe5dec8211beaf945350c789 -Author: Guillem Jover -Date: Mon Jul 13 16:33:58 2015 +0200 - - Dpkg::Source::Archive: Future-proof tar invocations - - The function options should come before any other option. And at least - the --owner and --group options might become positional in the same way - --no-recursion did with tar > 1.28, according to upstream. Suffle - options around to make sure this does not cause any problems in the - future. - - debian/changelog | 3 +++ - scripts/Dpkg/Source/Archive.pm | 10 +++++----- - 2 files changed, 8 insertions(+), 5 deletions(-) - -commit fcfe4f3aa2f3cb7f8179d4f2fe6dd65e75f7bbdf -Author: Richard Purdie -Date: Mon Jul 13 16:29:09 2015 +0200 - - dpkg-deb: Move tar option --no-recursion before -T - - With tar > 1.28 the --no-recursion option is now positional, and needs - to be passed before the -T option, otherwise the tarball will end up - with duplicated entries. - - Stable-Candidate: 1.16.x 1.17.x - Signed-off-by: Richard Purdie - Signed-off-by: Guillem Jover - - debian/changelog | 4 ++++ - dpkg-deb/build.c | 2 +- - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit ca4f306f0dd8a3019360a3677e3306b629573956 -Author: Guillem Jover -Date: Mon Jun 22 00:18:46 2015 +0200 - - libdpkg: Replace FSF address by pointing to the gnu.org URL - - Use the URL, instead of the outdated FSF - address, which is way more stable, as the latter has changed several - times in the past. - - lib/dpkg/t/t-tarextract.c | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit 4970a0bfb40325d651b20f418a11ef82964a1d87 -Author: Guillem Jover -Date: Mon Jun 22 13:19:45 2015 +0200 - - libdpkg: Document functions with Doxygen markup - - lib/dpkg/path-remove.c | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -commit 8d09898b4fce5ad1409cf3bbdf502d1b8d7d774d -Author: Guillem Jover -Date: Tue Jun 16 01:33:43 2015 +0200 - - libdpkg: Only use the SHELL environment variable for interactive shells - - SHELL is the user preferred shell, but it does not guarantee a POSIX - shell. Use it only for interactive shells, and use «sh» otherwise. - - Closes: #788819 - Stable-Candidate: 1.16.x 1.17.x - - debian/changelog | 2 ++ - lib/dpkg/command.c | 14 ++++++++------ - man/dpkg.1 | 5 +++-- - 3 files changed, 13 insertions(+), 8 deletions(-) - -commit 777915108d9d36d022dc4fc4151a615fc95e5032 -Author: Guillem Jover -Date: Tue Jun 16 01:31:10 2015 +0200 - - libdpkg: Use CRC64 for xz integrity checks - - This is the default CRC used by the xz command-line tool, align with - it and switch from CRC32 to CRC64. It should provide slightly better - detection against damaged data, at a negligible speed difference. - - debian/changelog | 3 +++ - lib/dpkg/compress.c | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit bba1ceccf591850c47dfc5ec9883c6af9dab34f7 -Author: Guillem Jover -Date: Tue Jul 7 10:41:15 2015 +0200 - - libcompat: Use string_to_security_class() instead of literal SECCLASS values - - The header is deprecated, and warns to use - string_to_security_class() instead of macro values. - - debian/changelog | 3 +++ - lib/compat/selinux.c | 8 ++++++-- - 2 files changed, 9 insertions(+), 2 deletions(-) - -commit 02eabc99813dcee64ee5016f1e878c408b639328 -Author: Guillem Jover -Date: Wed Jul 29 19:19:18 2015 +0200 - - libcompat: Try to use NSIG when sys_siglist is defined - - We cannot compute the size of the array with sizeof when the only thing - we have is an extern declaration. Try to use NSIG, and fallback to 32 - items in case it is not defined. - - Prompted-by: Igor Pashev - - debian/changelog | 3 +++ - lib/compat/strsignal.c | 7 ++++++- - 2 files changed, 9 insertions(+), 1 deletion(-) - -commit 98b3341f5f46866208862ff40e4336ff1a7e1cd3 -Author: Guillem Jover -Date: Sun Jul 5 23:59:24 2015 +0200 - - dpkg-checkbuilddeps: Add support for ignoring built-in build dependencies - - There is currently no way to require that «Build-Essential: yes» - packages be installed, so on Debian-based systems we have to rely on - the build-essential metapackage, which is slightly wrong. - - In addition users that know what they are doing, might want to disable - only the implicit build dependencies and conflicts, but not the entire - dependency checks, and there was no way to do that. - - Add new «dpkg-buildpackage --ignore-builtin-builddeps» and - «dpkg-checkbuilddeps -I» options. - - Closes: #480638, #571671 - - debian/changelog | 3 +++ - man/dpkg-buildpackage.1 | 7 ++++++- - man/dpkg-checkbuilddeps.1 | 9 +++++++-- - scripts/dpkg-buildpackage.pl | 4 ++++ - scripts/dpkg-checkbuilddeps.pl | 9 +++++++-- - 5 files changed, 27 insertions(+), 5 deletions(-) - -commit 2d6bf271b4aff616a8dd591975b0c219e02d0ef5 -Author: Guillem Jover -Date: Thu Jul 2 05:01:35 2015 +0200 - - dpkg-checkbuilddeps: Move build-essential:native to a new vendor hook - - This package is distribution specific, and it does not belong in the - generic build dependency checker. - - debian/changelog | 2 ++ - scripts/Dpkg/Vendor/Debian.pm | 4 ++++ - scripts/Dpkg/Vendor/Default.pm | 16 ++++++++++++++++ - scripts/dpkg-checkbuilddeps.pl | 9 +++++++-- - 4 files changed, 29 insertions(+), 2 deletions(-) - -commit 1063e2e684a5e2fcc71608217c9171c9f2bdee0c -Author: Guillem Jover -Date: Mon Jun 29 21:14:19 2015 +0200 - - dpkg-gencontrol: Add the correct filename to debian/files - - When overriding the Package field, we have to take that into account - while generating the filename to add to debian/files, as the field - overrides happen after all field values have been computed. - - Reported-by: Niels Thykier - - debian/changelog | 3 +++ - scripts/dpkg-gencontrol.pl | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 89d9dd6870349fd3e103ae26ea072b80f2f46c84 -Author: Guillem Jover -Date: Wed Jul 1 05:20:00 2015 +0200 - - dpkg-gencontrol: Use $oppackage only to get a control file's package name - - The authoritative package name later on should come from the actual - fields. - - scripts/dpkg-gencontrol.pl | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit ec206658f9196eed04789d551d43651383e3fbc4 -Author: Guillem Jover -Date: Mon Jun 29 04:05:05 2015 +0200 - - dpkg-buildpackage: Add new -J option - - This option behaves in the same way as -j, except that it does not set - the MAKEFLAGS environment variable, and as such it is safer to use with - any package including those that are not parallel-build safe. - - debian/changelog | 1 + - man/dpkg-buildpackage.1 | 6 ++++++ - scripts/dpkg-buildpackage.pl | 16 ++++++++++++---- - 3 files changed, 19 insertions(+), 4 deletions(-) - -commit 6d6c0d9cb77e57a8e9cf5d09979006980ac53f57 -Author: Guillem Jover -Date: Thu Jul 30 06:37:22 2015 +0200 - - Dpkg::Changelog::Parse: Set a default filename in changelog_parse() - - Regression introduced in commit 43556e0a9f216d59b4bc1a0f4e6e10e9afea3f7d, - during a botched rebase. - - scripts/Dpkg/Changelog/Parse.pm | 1 + - 1 file changed, 1 insertion(+) - -commit 186b975683340d848b00d92c9352a3158a418eef -Author: Guillem Jover -Date: Thu Jul 30 06:18:09 2015 +0200 - - build: Add t/Dpkg_Changelog/date-format to test_data - - Missed in commit 7a71b4b78e8a81158c45073dee05b0d1cc46b71c. - - scripts/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit 9ce2e10f76760a817a0be70df25b0829127fe9e9 -Author: Helge Kreutzmann -Date: Wed Jul 29 20:44:26 2015 +0200 - - Update German scripts translation - - Update to 550t. - - debian/changelog | 3 +++ - scripts/po/de.po | 13 +++++++++---- - 2 files changed, 12 insertions(+), 4 deletions(-) - -commit 354bdeeee01d3faf8c19e13f7fcbd6ee5cc7b83a -Author: Guillem Jover -Date: Sun Jul 19 16:32:08 2015 +0200 - - Dpkg::Dist::Files: Allow colons (:) in added filenames - - Regression introduced in commit ab15fd24dd1a8207ab1463410338f24283989f7c. - - Packages can contain colons in their filenames if the upstream version - contains colons. - - Reported-by: Jakub Wilk - - debian/changelog | 3 +++ - scripts/Dpkg/Dist/Files.pm | 4 ++-- - scripts/t/Dpkg_Dist_Files.t | 42 ++++++++++++++++++++++++++---------------- - 3 files changed, 31 insertions(+), 18 deletions(-) - -commit 227b930b29ebe942992eb5c5f9563ac81be7ab47 -Author: Guillem Jover -Date: Thu Jul 2 04:14:11 2015 +0200 - - Dpkg::Vendor::Debian: Disable thread sanitizer when address is enabled - - These are mutually incompatible, prefer the address sanitizer when both - are enabled at the same time. - - debian/changelog | 3 +++ - scripts/Dpkg/Vendor/Debian.pm | 5 +++++ - 2 files changed, 8 insertions(+) - -commit a779ef95e8eef38b2cfc300d422aa54e900b4d64 -Author: Guillem Jover -Date: Thu Jul 9 01:54:18 2015 +0200 - - Dpkg::Source::Package::V2: Do not exclude pre-existing symlinks for debian/ - - This effectively reverts commit 867c88dadccff6e285c48dadccb61f9001b50d9b. - - There is no point in excluding pre-existing symlinks when unpacking the - packaging tarball, as GNU tar will make sure to unlink any symlink - before extracting an object replacing it. So there should be no danger - of escaping the directory. - - Closes: #790073, #791535 - - debian/changelog | 2 ++ - scripts/Dpkg/Source/Package/V2.pm | 14 +------------- - 2 files changed, 3 insertions(+), 13 deletions(-) - -commit 3f7960bca703219e89016af0d583288ffc928446 -Author: Guillem Jover -Date: Thu Jun 25 18:57:51 2015 +0200 - - Dpkg::Source::Package::V2: Make the BinaryFiles package self-contained - - Explicitly import File::Spec, to avoid relying on the other imports in - the same file. - - debian/changelog | 2 ++ - scripts/Dpkg/Source/Package/V2.pm | 1 + - 2 files changed, 3 insertions(+) - -commit 81b7b5c3435a571b82938d1179c77803ac88be76 -Author: Guillem Jover -Date: Thu Jun 25 19:00:20 2015 +0200 - - Dpkg::Source::Package::V2: Import make_path from File::Path - - Regression introduced in commit 5e59d94a17051b1185c591a1fc3eed00e3b01070. - - Closes: #789957 - - debian/changelog | 2 ++ - scripts/Dpkg/Source/Package/V2.pm | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 8c038a0891e758b3cbd399023ed7307ea7b6f6d7 -Author: Guillem Jover -Date: Tue Jul 21 02:36:15 2015 +0200 - - Dpkg::Control::FieldsCore: Allow the Maintainer field in CTRL_FILE_STATUS - - This field is part of the status field. - - debian/changelog | 1 + - scripts/Dpkg/Control/FieldsCore.pm | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 95d9b43f8ad87bcfc180bd3cd9631c1f7ea83569 -Author: Guillem Jover -Date: Mon Jun 22 13:15:03 2015 +0200 - - Dpkg::Control::HashCore: Remove trailing space before handling dot-separators - - Regression introduced in commit aea291e3db1ac0414dcf005a0a607e78bdd77a5e. - - Any spaces after the blank line dot-separator should be stripped before - handling the dot-separator, otherwise we get duplicated dots in field - contents. - - Closes: #789580 - Stable-Candidate: 1.16.x 1.17.x - - debian/changelog | 3 +++ - scripts/Dpkg/Control/HashCore.pm | 2 +- - scripts/t/Dpkg_Control.t | 2 ++ - scripts/t/Dpkg_Control/control-1 | 1 + - 4 files changed, 7 insertions(+), 1 deletion(-) - -commit 43556e0a9f216d59b4bc1a0f4e6e10e9afea3f7d -Author: Guillem Jover -Date: Wed Jul 1 08:00:05 2015 +0200 - - Dpkg::Changelog::Parse: Use a builtin parser when the input format is "debian" - - When the input format is "debian" (either forced or detected), just use - a builtin implementation instead of forking the external plugin, parsing - the changelog, outputting the result, and parsing that again. - - The external plugin can be used by forcing it through a new option to - changelog_parse(). - - debian/changelog | 3 ++ - scripts/Dpkg/Changelog/Parse.pm | 78 +++++++++++++++++++++++++++++++++++++++-- - 2 files changed, 79 insertions(+), 2 deletions(-) - -commit 0ac9c7b49920a795dee9ded28c1f54218926ce96 -Author: Guillem Jover -Date: Tue Jul 28 19:48:14 2015 +0200 - - Dpkg::Changelog::Parse: Remove intermediate variable $changelogfile - - scripts/Dpkg/Changelog/Parse.pm | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -commit c2c755d0924ef9aea32cd81ab7871fb511b2c2a5 -Author: Guillem Jover -Date: Sat Jul 25 06:26:25 2015 +0200 - - Dpkg::Changelog::Parse: Factor out _changelog_detect_format - - scripts/Dpkg/Changelog/Parse.pm | 39 ++++++++++++++++++++++++--------------- - 1 file changed, 24 insertions(+), 15 deletions(-) - -commit 06f6460c855992021c727faffc29e1c81ca5cd80 -Author: Guillem Jover -Date: Wed Jul 29 00:56:49 2015 +0200 - - Dpkg::Changelog::Parse: Move options setup to changelog_parse_plugin start - - scripts/Dpkg/Changelog/Parse.pm | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit 8c368c0005e7e26105f440be2b623d23b6bd7fcb -Author: Guillem Jover -Date: Wed Jul 1 08:00:05 2015 +0200 - - Dpkg::Changelog::Parse: Refactor changelog_parse into changelog_parse_plugin - - debian/changelog | 1 + - scripts/Dpkg/Changelog/Parse.pm | 34 +++++++++++++++++++++++++++++----- - 2 files changed, 30 insertions(+), 5 deletions(-) - -commit 99a71f73902004f96dcc672b0ee4321e1e074ecd -Author: Guillem Jover -Date: Wed Jul 1 08:00:05 2015 +0200 - - Dpkg::Changelog::Parse: Fix changelog_parse documentation - - Fix typos, grammar and style issues. - - debian/changelog | 1 + - scripts/Dpkg/Changelog/Parse.pm | 20 ++++++++++---------- - 2 files changed, 11 insertions(+), 10 deletions(-) - -commit 8f222426e6e9254150f09b579766a839c02910de -Author: Guillem Jover -Date: Sat Jul 11 01:08:43 2015 +0200 - - Dpkg::Changelog::Entry::Debian: Simplify distribution splitting - - Use «split(' ', $string)», instead of removing the heading whitespace - and then using «split(/\s+/, $string)». This should be faster too. - - debian/changelog | 1 + - scripts/Dpkg/Changelog/Entry/Debian.pm | 4 +--- - 2 files changed, 2 insertions(+), 3 deletions(-) - -commit 7a71b4b78e8a81158c45073dee05b0d1cc46b71c -Author: Guillem Jover -Date: Tue Jun 2 22:41:30 2015 +0200 - - Dpkg::Changelog::Entry::Debian: Use Time::Piece instead of Date::Parse - - The new module is in the perl core distribution, which reduces the build - and run-time dependencies, helping with architecture bootstrapping. - - Prompted-by: Helmut Grohne - - README | 1 - - debian/changelog | 3 +++ - debian/control | 4 ++-- - scripts/Dpkg/Changelog/Entry/Debian.pm | 10 ++++++++-- - scripts/t/Dpkg_Changelog.t | 12 ++++++++++-- - scripts/t/Dpkg_Changelog/date-format | 17 +++++++++++++++++ - 6 files changed, 40 insertions(+), 7 deletions(-) - -commit 9849eff1e45bcd0c341a6ffb8675874a478fad9b -Author: Guillem Jover -Date: Wed Jul 1 05:10:08 2015 +0200 - - Dpkg::Changelog::Entry::Debian: Remove non-functional timezone name support - - The Debian changelog trailer regex intended to support a timezone name - inside parenthesis, like this: - - -- Name Sat, 30 May 2015 03:18:43 +0200 (CEST) - - is bogus, and it only accepts one character. As in: - - -- Name Sat, 30 May 2015 03:18:43 +0200 (C) - - which while also "valid", as per RFC822, they are pretty much useless - as per RFC5322. The implementation has kept that part unchanged since - its inception in dpkg 1.3.0, 1996-08. - - So let's just drop it instead of fixing the regex, given that the - timezone name has never been accepted, many time-parsing functions - ignore it, it is redundant, declared obsolete by RFC5322 and Debian - policy dropped an explicit reference to it due to bug #569174. - - debian/changelog | 3 +++ - scripts/Dpkg/Changelog/Entry/Debian.pm | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit c84b88a553be23c4b1cb35c1e8fdba3299703204 -Author: Helge Kreutzmann -Date: Tue Jul 28 20:20:56 2015 +0200 - - Update German translation of manual pages - - Update to 2413t. - - man/po/de.po | 262 ++++++++++++++++++++++++++++++++++++++++++++++++++--------- - 1 file changed, 223 insertions(+), 39 deletions(-) - -commit 9f4d51f8a2d390af885f6926d68107681943f013 -Author: Guillem Jover -Date: Fri Jul 24 06:15:01 2015 +0200 - - Dpkg::Arch: Document and mark the module as public - - Expose only the functions that are stable and public, the reset should - be considered private for now. - - debian/changelog | 1 + - debian/control | 1 + - scripts/Dpkg/Arch.pm | 118 ++++++++++++++++++++++++++++++++++++++++++++++++++- - 3 files changed, 119 insertions(+), 1 deletion(-) - -commit 03727d83bade2f8c5b1b3c084814694129e0917a -Author: Guillem Jover -Date: Fri Jul 10 16:55:26 2015 +0200 - - Dpkg::Changelog: Fix POD syntax on verbatim paragraph - - debian/changelog | 1 + - scripts/Dpkg/Changelog.pm | 23 ++++++++++++----------- - 2 files changed, 13 insertions(+), 11 deletions(-) - -commit 43e7940b48d7ec0b9f56e87a38862ce3bc8e4238 -Author: Guillem Jover -Date: Sat Jul 25 06:08:53 2015 +0200 - - Dpkg: Say FUNCTIONS instead of METHODS when appropriate - - debian/changelog | 1 + - scripts/Dpkg/IPC.pm | 2 +- - scripts/Dpkg/Path.pm | 2 +- - 3 files changed, 3 insertions(+), 2 deletions(-) - -commit 604b44f89f6d4a80a7afae1885eba2f9b1b30e1d -Author: Guillem Jover -Date: Tue Jun 2 22:39:10 2015 +0200 - - Dpkg: Remove my keyword from POD function prototypes - - debian/changelog | 1 + - scripts/Dpkg/BuildEnv.pm | 4 ++-- - scripts/Dpkg/BuildFlags.pm | 4 ++-- - scripts/Dpkg/BuildOptions.pm | 2 +- - scripts/Dpkg/BuildProfiles.pm | 4 ++-- - scripts/Dpkg/Changelog.pm | 6 +++--- - scripts/Dpkg/Changelog/Entry.pm | 16 ++++++++-------- - scripts/Dpkg/Changelog/Entry/Debian.pm | 12 ++++++------ - scripts/Dpkg/Changelog/Parse.pm | 2 +- - scripts/Dpkg/Checksums.pm | 2 +- - scripts/Dpkg/Compression.pm | 8 ++++---- - scripts/Dpkg/Compression/FileHandle.pm | 6 +++--- - scripts/Dpkg/Compression/Process.pm | 6 +++--- - scripts/Dpkg/Conf.pm | 2 +- - scripts/Dpkg/Control.pm | 2 +- - scripts/Dpkg/Control/FieldsCore.pm | 2 +- - scripts/Dpkg/Control/HashCore.pm | 6 +++--- - scripts/Dpkg/Deps.pm | 10 +++++----- - scripts/Dpkg/Gettext.pm | 6 +++--- - scripts/Dpkg/IPC.pm | 2 +- - scripts/Dpkg/Index.pm | 14 +++++++------- - scripts/Dpkg/Path.pm | 10 +++++----- - scripts/Dpkg/Source/Package.pm | 4 ++-- - scripts/Dpkg/Substvars.pm | 2 +- - scripts/Dpkg/Version.pm | 10 +++++----- - 25 files changed, 72 insertions(+), 71 deletions(-) - -commit e2e40913fad1eb5d3155e1f93d75991ab933b73c -Author: Guillem Jover -Date: Tue Jul 28 05:57:29 2015 +0200 - - doc: Fix multiple typos - - Warned-by: spellintian - - ChangeLog.old | 24 ++++++++++++------------ - TODO | 4 ++-- - debian/changelog | 18 +++++++++--------- - dselect/po/zh_TW.po | 4 ++-- - scripts/Dpkg/Source/Package/V2.pm | 2 +- - scripts/dpkg-shlibdeps.pl | 2 +- - 6 files changed, 27 insertions(+), 27 deletions(-) - -commit 6b16edc08b4cf7253e3349fcd98142d5aee629a8 -Author: Guillem Jover -Date: Sun Jul 26 18:55:52 2015 +0200 - - man: Document multiarch triplet in dpkg-architecture(1) TERMS section - - Also make it a bit more clear by changing the “GNU system type” example - to use something else than i386, which is the only current difference - between these terms. - - debian/changelog | 1 + - man/dpkg-architecture.1 | 12 ++++++++++-- - 2 files changed, 11 insertions(+), 2 deletions(-) - -commit 1a2bd5d89332f4e6fcde0451a679f5f3b537a198 -Author: Guillem Jover -Date: Sun Jul 26 18:55:52 2015 +0200 - - man: Clarify that an architecture wildcard is a Debian thing - - debian/changelog | 2 ++ - man/dpkg-architecture.1 | 4 ++-- - 2 files changed, 4 insertions(+), 2 deletions(-) - -commit 609c9132d1ba404f9d5f956708714a3513b73a62 -Author: Guillem Jover -Date: Sun Jul 26 18:55:52 2015 +0200 - - man: Document abitable in dpkg-architecture(1) - - debian/changelog | 1 + - man/dpkg-architecture.1 | 3 +++ - 2 files changed, 4 insertions(+) - -commit 41925f2a449e61ae81820fd0a81072eeb4601bc1 -Author: Guillem Jover -Date: Sun Jul 26 03:43:59 2015 +0200 - - Document --yet-to-unpack, --predep-packages and --assert- commands - - Both in «dpkg --help» and dpkg(1). Mark them as supported. - - Prompted-by: Johannes Schauer - - debian/changelog | 2 ++ - man/dpkg.1 | 36 ++++++++++++++++++++++++++++++++++++ - src/main.c | 15 ++++++++------- - 3 files changed, 46 insertions(+), 7 deletions(-) - -commit 4c34663ee96ade8a3daad1e588691d6a0cfaeed5 -Author: Guillem Jover -Date: Sun Jul 26 03:36:34 2015 +0200 - - man: Add a missing colon to separate a --force option - - man/dpkg.1 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 08f4215663282ed07b249c412ccc613c4cfdf275 -Author: Guillem Jover -Date: Sun Jul 26 00:31:58 2015 +0200 - - man: Clarify when some features where added - - The version information was in a confusing place, move closer to the - added feature, and add missing version information. - - debian/changelog | 1 + - man/dpkg-buildflags.1 | 4 ++-- - man/dpkg-buildpackage.1 | 4 ++-- - man/dpkg.1 | 4 +++- - 4 files changed, 8 insertions(+), 5 deletions(-) - -commit 70657337fcec98fa52ad256ee57520d3d81a9c4a -Author: Guillem Jover -Date: Sun Jul 26 00:15:39 2015 +0200 - - man: Fix typo in dpkg-scanpackages(1) - - man/dpkg-scanpackages.1 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 648beca3fb751ca1fe0a5ff7a6bf5525e41a466e -Author: Guillem Jover -Date: Sun Jun 28 19:36:32 2015 +0200 - - man: Document DPKG_HOOK_ACTION also in ENVIRONMENT section - - debian/changelog | 1 + - man/dpkg.1 | 5 +++++ - 2 files changed, 6 insertions(+) - -commit e8fedc0a30b15959c772dee519e2c91ffb07cb92 -Author: Guillem Jover -Date: Tue Jun 9 04:36:34 2015 +0200 - - man: Use the feature area name in the subsection title - - Using something else is more confusing as it does not match with the - actual feature name. - - debian/changelog | 1 + - man/dpkg-buildflags.1 | 8 ++++---- - 2 files changed, 5 insertions(+), 4 deletions(-) - -commit c1bb547fc7a3714d3573cfddccb0356d52b469bd -Author: Chris Lamb -Date: Thu Jun 4 19:42:39 2015 +0200 - - man: Fix grammar in dpkg-architecture(1) - - Closes: #787616 - Signed-off-by: Guillem Jover - - debian/changelog | 3 +++ - man/dpkg-architecture.1 | 2 +- - man/po/de.po | 2 +- - man/po/dpkg-man.pot | 2 +- - man/po/es.po | 4 ++-- - man/po/fr.po | 2 +- - man/po/hu.po | 2 +- - man/po/it.po | 2 +- - man/po/ja.po | 4 ++-- - man/po/pl.po | 4 ++-- - man/po/pt_BR.po | 2 +- - man/po/ru.po | 2 +- - man/po/sv.po | 2 +- - man/po/zh_CN.po | 2 +- - 14 files changed, 19 insertions(+), 16 deletions(-) - -commit 42497e69ab8676301d223a05b7259dd93e0f33f6 -Author: Guillem Jover -Date: Fri Jun 26 16:33:41 2015 +0200 - - po: Revert bogus removal of fuzzy markers - - Regression introduced in commit de997dd555c2fd16418e90c54f06ac105eb7ed39. - This fixes the damage caused by msguntypot. - - Warned-by: i18nspector - - po/hu.po | 10 +++++----- - po/id.po | 4 ++-- - po/ko.po | 4 ++-- - 3 files changed, 9 insertions(+), 9 deletions(-) - -commit 180b9ee409be170f8adfd413d566794a7d11956e -Author: Guillem Jover -Date: Fri Jun 26 16:13:40 2015 +0200 - - po: Fix plural form translations for single plural languages - - Regression introduced in commit de997dd555c2fd16418e90c54f06ac105eb7ed39, - due to brokenness in msguntypot. - - Warned-by: i18nspector - Closes: #790025 - - debian/changelog | 3 +++ - po/hu.po | 23 +++++++---------------- - po/id.po | 29 ++++++++++------------------- - po/ja.po | 27 +++++++++------------------ - po/ko.po | 29 ++++++++++------------------- - po/th.po | 27 +++++++++------------------ - 6 files changed, 48 insertions(+), 90 deletions(-) - -commit 9bd1242502996b0858c782b7e23ea55827148a71 -Author: Frans Spiesschaert -Date: Thu Jun 25 17:47:41 2015 +0200 - - po: Update Dutch translations - - [guillem@debian.org: - - Do not translate «none» in dpkg-deb --help output. - - Remove surplus format specifier in a string. ] - - Closes: #789096, #789097 - Signed-off-by: Guillem Jover - - debian/changelog | 4 +- - dselect/po/nl.po | 97 +- - po/nl.po | 3988 +++++++++++++++++++++++++----------------------------- - 3 files changed, 1896 insertions(+), 2193 deletions(-) - -commit ebdacc3f1f58a5111bee73c615df81f62f1aa093 -Author: Mert Dirik -Date: Thu Jun 11 11:25:54 2015 +0200 - - po: Update Turkish programs translation - - Closes: #788211 - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/tr.po | 104 +++++++++++++++++++++++++++---------------------------- - 2 files changed, 52 insertions(+), 53 deletions(-) - -commit c2cfd39b9cebc94457514409c327d1ff6ebfc180 -Author: Zhou Mo -Date: Sun Jun 7 12:51:39 2015 +0000 - - po: Update Simplified Chinese programs translation - - Closes: #787986 - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/zh_CN.po | 14 ++++++-------- - 2 files changed, 7 insertions(+), 8 deletions(-) - -commit 8a1b9a26cf3d75873a360d4994183f54a3764f8e -Author: Trần Ngọc Quân -Date: Tue May 19 15:59:30 2015 +0700 - - po: Update Vietnamese programs translation - - Signed-off-by: Trần Ngọc Quân - Signed-off-by: Guillem Jover - - debian/changelog | 3 +++ - po/vi.po | 44 +++++++++++++++++++------------------------- - 2 files changed, 22 insertions(+), 25 deletions(-) - -commit d881246161b118a5de1575fafc71a60211470569 -Author: Helge Kreutzmann -Date: Sat May 30 12:47:30 2015 +0200 - - Update German translation of manual pages - - Update to 2389t. - - debian/changelog | 3 +++ - man/po/de.po | 34 +++++++--------------------------- - 2 files changed, 10 insertions(+), 27 deletions(-) - -commit 1b8c20ad2f817099015f9f286c7935e53fb56594 -Author: Guillem Jover -Date: Sat May 30 03:18:59 2015 +0200 - - Bump version to 1.18.2 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 4280417c17d1e85fc36ba558c3bbe6c8c1f034aa (tag: 1.18.1) -Author: Guillem Jover -Date: Fri May 29 19:44:23 2015 +0200 - - Release 1.18.1 - - debian/changelog | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 96ce5e6548f10a1950080ec2bec32cc1d46183b9 -Author: Guillem Jover -Date: Sat May 30 01:06:49 2015 +0200 - - po: Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 2 +- - dselect/po/ca.po | 2 +- - dselect/po/cs.po | 2 +- - dselect/po/da.po | 2 +- - dselect/po/de.po | 4 ++-- - dselect/po/dselect.pot | 4 ++-- - dselect/po/el.po | 2 +- - dselect/po/es.po | 2 +- - dselect/po/et.po | 2 +- - dselect/po/eu.po | 2 +- - dselect/po/fr.po | 2 +- - dselect/po/gl.po | 2 +- - dselect/po/hu.po | 2 +- - dselect/po/id.po | 2 +- - dselect/po/it.po | 2 +- - dselect/po/ja.po | 2 +- - dselect/po/ko.po | 2 +- - dselect/po/nb.po | 2 +- - dselect/po/nl.po | 2 +- - dselect/po/nn.po | 2 +- - dselect/po/pl.po | 2 +- - dselect/po/pt.po | 2 +- - dselect/po/pt_BR.po | 2 +- - dselect/po/ro.po | 2 +- - dselect/po/ru.po | 2 +- - dselect/po/sk.po | 2 +- - dselect/po/sv.po | 2 +- - dselect/po/tl.po | 2 +- - dselect/po/vi.po | 2 +- - dselect/po/zh_CN.po | 2 +- - dselect/po/zh_TW.po | 2 +- - man/po/de.po | 37 ++++++++++++++++++++++++++++--------- - man/po/dpkg-man.pot | 19 +++++++++---------- - man/po/es.po | 17 ++++++++--------- - man/po/fr.po | 17 ++++++++--------- - man/po/hu.po | 17 ++++++++--------- - man/po/it.po | 17 ++++++++--------- - man/po/ja.po | 17 ++++++++--------- - man/po/pl.po | 17 ++++++++--------- - man/po/pt_BR.po | 17 ++++++++--------- - man/po/ru.po | 17 ++++++++--------- - man/po/sv.po | 17 ++++++++--------- - man/po/zh_CN.po | 17 ++++++++--------- - po/ast.po | 14 +++++++++++++- - po/bs.po | 12 +++++++++++- - po/ca.po | 14 +++++++++++++- - po/cs.po | 14 +++++++++++++- - po/da.po | 14 +++++++++++++- - po/de.po | 14 +++++++++++++- - po/dpkg.pot | 14 ++++++++++++-- - po/dz.po | 14 +++++++++++++- - po/el.po | 14 +++++++++++++- - po/eo.po | 14 +++++++++++++- - po/es.po | 14 +++++++++++++- - po/et.po | 14 +++++++++++++- - po/eu.po | 14 +++++++++++++- - po/fr.po | 14 +++++++++++++- - po/gl.po | 14 +++++++++++++- - po/hu.po | 14 +++++++++++++- - po/id.po | 14 +++++++++++++- - po/it.po | 14 +++++++++++++- - po/ja.po | 14 +++++++++++++- - po/km.po | 14 +++++++++++++- - po/ko.po | 14 +++++++++++++- - po/ku.po | 12 +++++++++++- - po/lt.po | 14 +++++++++++++- - po/mr.po | 14 +++++++++++++- - po/nb.po | 14 +++++++++++++- - po/ne.po | 14 +++++++++++++- - po/nl.po | 14 +++++++++++++- - po/nn.po | 14 +++++++++++++- - po/pa.po | 12 +++++++++++- - po/pl.po | 14 +++++++++++++- - po/pt.po | 14 +++++++++++++- - po/pt_BR.po | 14 +++++++++++++- - po/ro.po | 14 +++++++++++++- - po/ru.po | 14 +++++++++++++- - po/sk.po | 14 +++++++++++++- - po/sv.po | 14 +++++++++++++- - po/th.po | 14 +++++++++++++- - po/tl.po | 14 +++++++++++++- - po/tr.po | 14 +++++++++++++- - po/vi.po | 14 +++++++++++++- - po/zh_CN.po | 14 +++++++++++++- - po/zh_TW.po | 14 +++++++++++++- - scripts/po/ca.po | 2 +- - scripts/po/de.po | 2 +- - scripts/po/dpkg-dev.pot | 4 ++-- - scripts/po/es.po | 2 +- - scripts/po/fr.po | 2 +- - scripts/po/pl.po | 2 +- - scripts/po/ru.po | 2 +- - scripts/po/sv.po | 2 +- - 93 files changed, 698 insertions(+), 194 deletions(-) - -commit 0ced7a67b687fd2a3f906c24739ae7d82d594cc5 -Author: Guillem Jover -Date: Thu May 28 00:22:31 2015 +0200 - - Revert "dpkg-gensymbols: Use the original template symbols file when diffing" - - This reverts commit 9251cc40db1793d01ad0c27408fb0f170c067772. - - There's too much information not being preserved in the symbols files to - be able to regenerate templates for them. Although the #PACKAGE# pattern - has been fixed, there is still comments, #include directives and symbols - order. Let's revert it and consider the request that prompted the change - requires too much work for too little gain. - - Closes: #785937, #786840 - - debian/changelog | 4 ++++ - scripts/dpkg-gensymbols.pl | 7 +------ - 2 files changed, 5 insertions(+), 6 deletions(-) - -commit 2ae3e07e436175b8424534539c63565bb70f67f2 -Author: Guillem Jover -Date: Mon May 25 06:00:54 2015 +0200 - - dpkg-deb: Set correct default compression value for control.tar.gz member - - Regression introduced in commit f1f9887b8f96965d6046857d12fda24c053c6d4b. - - The compressor independent way to denote the default value has been to - use -1, but that needs to be fixed up to the actual default value per - compressor, before the compressor specific setup. - - When using the gzip command-line tool this is a fatal error as it does - not recognize the argument «-c-1». When using the zlib shared library - this makes the code always default to the compression level 1, as ‘-’ - is ignored by gzdopen(). - - The current minimal fix is to call compressor_check_params() when - setting up the default control.tar compressor paramaters, although - that makes the API hard to use correctly. This will be improved in - the future. - - Closes: #786654 - - debian/changelog | 4 ++++ - dpkg-deb/build.c | 2 ++ - 2 files changed, 6 insertions(+) - -commit 0fc916a4a8cf43cf22abd720bd14d8ca355366ff -Author: Guillem Jover -Date: Wed May 27 19:31:51 2015 +0200 - - dpkg-shlibdeps: Reformat map/grep/keys usage to make it easier to read - - It was not clear with a quick visual scan if these were all part of the - same statement. - - scripts/dpkg-shlibdeps.pl | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 2a708a80d1849b615e83be4709c346ca3994da6a -Author: Guillem Jover -Date: Wed May 27 19:30:31 2015 +0200 - - dpkg-shlibdeps: Initialize $warnings with ORed constants instead of a literal - - This makes the assignment easier to understand. - - scripts/dpkg-shlibdeps.pl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d4ffe3118cc8132910e80bb90999032523c90212 -Author: Maximilian Schwerin -Date: Wed May 20 09:56:42 2015 +0200 - - dpkg-scansources: Sort output by package name and version - - This is useful if multiple versions of the same package are kept - together in the same repository. - - [guillem@debian.org: - - Minor code formatting fix. ] - - Signed-off-by: Guillem Jover - - debian/changelog | 2 ++ - scripts/dpkg-scansources.pl | 4 +++- - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit dbdb71563e75a96cee24955db4d9981be8f7f8e9 -Author: Maximilian Schwerin -Date: Wed May 20 09:56:41 2015 +0200 - - dpkg-scanpackages: Sort output by package name and version - - This is useful if multiple versions of the same package are kept - together in the same repository. - - Signed-off-by: Guillem Jover - - debian/changelog | 2 ++ - scripts/dpkg-scanpackages.pl | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit d54b2f1ce614d51b6c9d25e9bb6e94557564db5e -Author: Guillem Jover -Date: Fri May 29 20:37:09 2015 +0200 - - build: Use system libmd if available - - This fixes a build failure on at least FreeBSD, and possibly other - BSD systems, where the md5.h header provided by libmd maps the md5 - functions to namespaced ones, and then there is a mismatch between - the always included functions from libcompat and from libmd. - - configure.ac | 1 + - debian/changelog | 1 + - lib/compat/Makefile.am | 3 ++- - lib/dpkg/Makefile.am | 4 +++- - lib/dpkg/libdpkg.pc.in | 2 +- - m4/dpkg-libs.m4 | 16 +++++++++++++++- - 6 files changed, 23 insertions(+), 4 deletions(-) - -commit 07655bd782222b94b84dce2a4200a3a2c04c4d69 -Author: Guillem Jover -Date: Sat Mar 14 23:58:19 2015 +0100 - - build: Move PACKAGE_RELEASE definition from dpkg.h to configure.ac - - There's no need to expose this macro in the API header. More so when the - PACKAGE_VERSION macro is only defined in config.h which is not installed - by default on the system. - - configure.ac | 2 ++ - lib/dpkg/dpkg.h | 2 -- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit acf1c3f037184ae513fafe4c4adc43b2d57fc95d -Author: Guillem Jover -Date: Sat Mar 14 23:57:17 2015 +0100 - - libdpkg: Rename DPKG_VERSION_ARCH to PACKAGE_RELEASE - - This avoids confusing the project-wide macro with the DPKG_VERSION_ - namespaced ones. - - dpkg-deb/main.c | 2 +- - dpkg-split/main.c | 2 +- - dselect/main.cc | 4 ++-- - lib/dpkg/dpkg.h | 2 +- - src/divertcmd.c | 2 +- - src/main.c | 2 +- - src/querycmd.c | 2 +- - src/statcmd.c | 2 +- - src/trigcmd.c | 2 +- - 9 files changed, 10 insertions(+), 10 deletions(-) - -commit bf316c32edf2487d8b4b691ffb82fec368b92a2b -Author: Ian Jackson -Date: Sat Apr 18 19:47:54 2015 +0200 - - dpkg: Honor Conflicts/Breaks/Pre-Depends for packages in unpacked and half states - - Closes: #377860 - Signed-off-by: Guillem Jover - - debian/changelog | 2 ++ - src/depcon.c | 5 +++++ - 2 files changed, 7 insertions(+) - -commit 7366ce825ae2ab7feb73fe5458323fc79b8baa6f -Author: Guillem Jover -Date: Sat Apr 18 19:56:05 2015 +0200 - - dpkg: Sort PKG_STAT_ switch cases in descending order - - src/depcon.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 734381f8f57cdf78ebf7c62b58698b59ad96434f -Author: Guillem Jover -Date: Sun Feb 1 23:24:38 2015 +0100 - - dpkg-buildpackage: Make -j override any parallel option in DEB_BUILD_OPTIONS - - The commit a24fa4c525934922a6035470556051d50ad4da02 changed the - semantics in the opposite direction. Which does not make any sense - at all, and goes against any current practice. - - debian/changelog | 2 ++ - man/dpkg-buildpackage.1 | 5 ++--- - scripts/dpkg-buildpackage.pl | 1 - - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit c65e2c63e0735decb4b0a249f793e30df9848bfe -Author: Guillem Jover -Date: Sun Feb 1 23:24:38 2015 +0100 - - man: Remove spurious = from argless parallel option in dpkg-buildpackage - - debian/changelog | 2 ++ - man/dpkg-buildpackage.1 | 4 ++-- - 2 files changed, 4 insertions(+), 2 deletions(-) - -commit 8e8c7b7fdefa0087ceb2e1ed304124f348f790a1 -Author: Guillem Jover -Date: Fri May 22 07:58:47 2015 +0200 - - Dpkg::Shlibs::SymbolFile: Use map instead of foreach to initialize the hash - - scripts/Dpkg/Shlibs/SymbolFile.pm | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit b24e5502d6963a1efe0940b31ae6ffc0c9ac6584 -Author: Guillem Jover -Date: Wed May 27 20:56:56 2015 +0200 - - dpkg: Simplify sehandle handling - - Remove pointless dpkg_selabel_get_handle() function, rename - dpkg_sehandle to sehandle, and change dpkg_selabel_set_context() to - access the variable directly. - - src/selinux.c | 22 +++++++--------------- - 1 file changed, 7 insertions(+), 15 deletions(-) - -commit 2600dd55f20f2921b50a63803c22a2816ec07607 -Author: Guillem Jover -Date: Wed May 27 20:50:51 2015 +0200 - - dpkg: Set the SE Linux file context even without a file type in mode - - If the mode does not have a file type, for whatever reason, the - libselinux labelling code will try to match on the pathname, which - is better than no labelling at all. - - This should never happen in practice, but it is a safer assumption - and more future proof. - - debian/changelog | 1 + - src/selinux.c | 4 ---- - 2 files changed, 1 insertion(+), 4 deletions(-) - -commit 66cf80b20ae2a9ca5764dd1f7053afe1bf9597ed -Author: Guillem Jover -Date: Thu May 21 21:10:45 2015 +0200 - - dpkg: Fix setting the SE Linux context when a file has a statoverride - - We need to pass the file type in the mode so that the SE labelling - function does anything at all. - - Closes: #786435 - - debian/changelog | 2 ++ - src/archives.c | 18 ++++++++++-------- - src/statcmd.c | 10 ++++++---- - 3 files changed, 18 insertions(+), 12 deletions(-) - -commit c5b1985591f15294cd73229126490b35c29ce88d -Author: Guillem Jover -Date: Thu May 21 21:08:24 2015 +0200 - - libdpkg: Use ~S_IFMT instead of hardcoded 07777 literal in chmod() call - - lib/dpkg/file.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9163f5e583b4202f6119a7f645792e320a12c7fd -Author: Guillem Jover -Date: Thu May 21 20:10:37 2015 +0200 - - scripts, dselsect/methods: Switch from `` to operator qx() - - dselect/methods/Dselect/Ftp.pm | 4 ++-- - dselect/methods/ftp/install.pl | 8 ++++---- - dselect/methods/ftp/setup.pl | 6 +++--- - dselect/methods/ftp/update.pl | 2 +- - scripts/Dpkg/Arch.pm | 4 ++-- - scripts/Dpkg/Source/Package/V3/Git.pm | 2 +- - 6 files changed, 13 insertions(+), 13 deletions(-) - -commit cd8c1f2573064f81c56e3552fa5c84a321dd4db2 -Author: Guillem Jover -Date: Thu May 21 19:54:07 2015 +0200 - - Dpkg::Compression: Fix the current default compressor in the documentation - - debian/changelog | 2 ++ - scripts/Dpkg/Compression.pm | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 89c443f4d4bf27b8c1a57708b9fd83344d93bc65 -Author: Guillem Jover -Date: Wed May 20 21:32:11 2015 +0200 - - Dpkg::Shlibs::SymbolFile: Do not replace #PACKAGE# in template mode - - These markers get instantiated when generating the output files, - replacing them when generating a template is wrong. - - debian/changelog | 1 + - scripts/Dpkg/Shlibs/SymbolFile.pm | 12 +++++++++--- - 2 files changed, 10 insertions(+), 3 deletions(-) - -commit d633338e57d140b6273d11ef54a3f3823c229524 -Author: Guillem Jover -Date: Fri May 29 07:34:18 2015 +0200 - - Dpkg::BuildProfiles: Initialize $cache_profiles when setting them - - We should consider the value being cached when we set it manually. - - scripts/Dpkg/BuildProfiles.pm | 1 + - 1 file changed, 1 insertion(+) - -commit 79ad650071220b43e10338034be442f7b3eea567 -Author: Guillem Jover -Date: Wed May 20 14:49:56 2015 +0200 - - scripts: Use the state keyword - - This moves the variables closer to the block they are being used in. And - protects them from external access. - - debian/changelog | 1 + - scripts/Dpkg/Arch.pm | 49 +++++++++++++++++--------------- - scripts/Dpkg/Shlibs.pm | 3 +- - scripts/Dpkg/Shlibs/Objdump.pm | 63 +++++++++++++++++++++--------------------- - scripts/Dpkg/Vendor.pm | 5 ++-- - 5 files changed, 63 insertions(+), 58 deletions(-) - -commit e4baa20f727c041f7dba60c18fc434053f13fa98 -Author: Guillem Jover -Date: Wed May 20 14:47:11 2015 +0200 - - scripts: Use non-destructive substitutions inside map - - This avoids having to use a temporary variable, and makes the code more - clear. - - debian/changelog | 1 + - scripts/Dpkg/Source/Package/V1.pm | 2 +- - scripts/Dpkg/Source/Package/V2.pm | 6 +----- - 3 files changed, 3 insertions(+), 6 deletions(-) - -commit 8cb07a12ca16b099f368f78cd46ecec338e95367 -Author: Guillem Jover -Date: Wed May 20 14:45:34 2015 +0200 - - scripts: Add missing strict and warnings pragmas for submodules - - debian/changelog | 2 ++ - scripts/Dpkg/Control/HashCore.pm | 3 +++ - scripts/Dpkg/Shlibs/Objdump.pm | 3 +++ - 3 files changed, 8 insertions(+) - -commit 018dd2fd3bd73fe5218d6aef09e7bab54de652ca -Author: Guillem Jover -Date: Wed May 20 14:43:54 2015 +0200 - - doc: Bump minimal Perl version to 5.14.2 - - The current version in Debian oldstable (wheezy) is 5.14.2. - - doc/coding-style.txt | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 1086dec9c8f292789ada307a324f54e3a21c8769 -Author: Zhou Mo -Date: Wed May 27 19:29:09 2015 +0200 - - po: Update Simplified Chinese programs translation - - Closes: #786377 - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/zh_CN.po | 40 ++++++++++++++++++---------------------- - 2 files changed, 19 insertions(+), 22 deletions(-) - -commit 8365e0e1e53cde1f0b064ab65d50602dec1feff2 -Author: Sven Joachim -Date: Fri May 22 16:54:42 2015 +0200 - - German dselect translation update - - Update to 276t. - - debian/changelog | 3 ++ - dselect/po/de.po | 98 ++++++++++++++++++-------------------------------------- - 2 files changed, 35 insertions(+), 66 deletions(-) - -commit 438db7a31e074691e70e8ace7fff91631030624b -Author: Guillem Jover -Date: Mon Mar 16 23:00:05 2015 +0100 - - dpkg-deb, dpkg: Do not allow pathnames with embedded newlines - - None of the deb toolchain supports embedded newlines in filenames, we - could try to escape them but then we'd need to add support in other - tools to unescape these too, and this does not sem worth the trouble. - - Closes: #720761 - - debian/changelog | 2 ++ - dpkg-deb/build.c | 2 ++ - src/archives.c | 4 ++++ - 3 files changed, 8 insertions(+) - -commit 2739012645f59d15ec9bae8e519d7ae6624b504c -Author: Guillem Jover -Date: Mon May 18 23:24:30 2015 +0200 - - libdpkg: Cast c_isbits() c argument to unsigned char when indexing the array - - We need c to wrap around as an unsigned char when it is -1 (i.e. EOF). - - debian/changelog | 4 ++++ - lib/dpkg/c-ctype.c | 2 +- - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit d760ee8968b11715efb62047896ace32a8c40676 -Author: Guillem Jover -Date: Tue May 19 04:13:21 2015 +0200 - - debian: Fix typos in changelog - - Reported-by: Niels Thykier (variable typo) - - debian/changelog | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit ebe8a053e09bf0b1d9d28f7234f0f06aef91c11f -Author: Sven Joachim -Date: Mon May 18 21:07:08 2015 +0200 - - German dpkg translation update - - Update to 1091t. - - debian/changelog | 3 ++ - po/de.po | 125 +++++++++++++++++++++++-------------------------------- - 2 files changed, 54 insertions(+), 74 deletions(-) - -commit 841381f3e8c2360703974a5bcd1386762aaeaa53 -Author: Helge Kreutzmann -Date: Mon May 18 19:52:13 2015 +0200 - - Update German translation of manual pages - - Update to 2389t. - - debian/changelog | 3 ++- - man/po/de.po | 10 +++------- - 2 files changed, 5 insertions(+), 8 deletions(-) - -commit 9d21b34f2f6c0af2582a526da6f87ec3b89cde2c -Author: Guillem Jover -Date: Mon May 18 16:08:52 2015 +0200 - - Bump version to 1.18.1 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit d1ee0ce8b6c72b15bca23227434cd2fe9d82a476 (tag: 1.18.0) -Author: Guillem Jover -Date: Mon May 18 15:08:38 2015 +0200 - - Release 1.18.0 - - debian/changelog | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit 936050b34639aabb413f4a0d1b7ce95dd5205d16 -Author: Guillem Jover -Date: Mon May 18 15:26:19 2015 +0200 - - po: Regenerate .pot files and merge .po files with them - - man/po/de.po | 198 ++++++++++++++++++++------------------- - man/po/dpkg-man.pot | 157 +++++++++++++++++-------------- - man/po/es.po | 214 ++++++++++++++++++++++++++++-------------- - man/po/fr.po | 240 +++++++++++++++++++++++++++++++++-------------- - man/po/hu.po | 177 +++++++++++++++++++++-------------- - man/po/it.po | 241 ++++++++++++++++++++++++++++++++++-------------- - man/po/ja.po | 214 ++++++++++++++++++++++++++++-------------- - man/po/pl.po | 214 ++++++++++++++++++++++++++++-------------- - man/po/pt_BR.po | 157 +++++++++++++++++-------------- - man/po/ru.po | 174 ++++++++++++++++++++-------------- - man/po/sv.po | 240 +++++++++++++++++++++++++++++++++-------------- - man/po/zh_CN.po | 165 +++++++++++++++++++-------------- - po/ast.po | 31 +++++-- - po/bs.po | 15 +-- - po/ca.po | 31 +++++-- - po/cs.po | 34 ++++--- - po/da.po | 31 +++++-- - po/de.po | 31 +++++-- - po/dpkg.pot | 13 ++- - po/dz.po | 39 +++++--- - po/el.po | 36 +++++--- - po/eo.po | 31 +++++-- - po/es.po | 34 ++++--- - po/et.po | 34 ++++--- - po/eu.po | 31 +++++-- - po/fr.po | 43 ++++++--- - po/gl.po | 36 +++++--- - po/hu.po | 37 +++++--- - po/id.po | 31 +++++-- - po/it.po | 31 +++++-- - po/ja.po | 31 +++++-- - po/km.po | 37 +++++--- - po/ko.po | 31 +++++-- - po/ku.po | 23 +++-- - po/lt.po | 34 ++++--- - po/mr.po | 37 +++++--- - po/nb.po | 33 ++++--- - po/ne.po | 36 +++++--- - po/nl.po | 37 +++++--- - po/nn.po | 38 +++++--- - po/pa.po | 23 +++-- - po/pl.po | 31 +++++-- - po/pt.po | 33 ++++--- - po/pt_BR.po | 38 +++++--- - po/ro.po | 31 +++++-- - po/ru.po | 31 +++++-- - po/sk.po | 31 +++++-- - po/sv.po | 31 +++++-- - po/th.po | 31 +++++-- - po/tl.po | 38 +++++--- - po/tr.po | 35 +++++-- - po/vi.po | 34 +++++-- - po/zh_CN.po | 35 +++++-- - po/zh_TW.po | 31 +++++-- - scripts/po/ca.po | 118 +++++++++++++----------- - scripts/po/de.po | 31 +++---- - scripts/po/dpkg-dev.pot | 78 ++++++++-------- - scripts/po/es.po | 115 ++++++++++++----------- - scripts/po/fr.po | 116 ++++++++++++----------- - scripts/po/pl.po | 116 ++++++++++++----------- - scripts/po/ru.po | 110 +++++++++++----------- - scripts/po/sv.po | 116 ++++++++++++----------- - 62 files changed, 2890 insertions(+), 1660 deletions(-) - -commit d658a8ec1110c9b3b20987cd903a54f59801117f -Author: Guillem Jover -Date: Sun May 17 04:54:47 2015 +0200 - - libdpkg: Consider foreign packages ambiguous in need of arch-qualifier - - With cross-arch dependencies, foreign arch-qualified dependencies and - foreign packages become really ambiguous in error messages, but also - on the usual progress reporting. - - Arch-qualifying foreign packages should be backwards compatible, because - if a user had foreign packages installed on a pre-multiarch dpkg, then - that was already out of spec. And if they do now, it means they have - enabled multiarch. Keeping Multi-Arch:same packages always arch-qualified - still makes sense because those will not appear on a non-Multi-Arch - enabled distribution, and are required to distinguish which instance we - are referring to. - - debian/changelog | 1 + - lib/dpkg/pkg-show.c | 8 ++++---- - 2 files changed, 5 insertions(+), 4 deletions(-) - -commit 6289376d25637a55e468d154c8c4e78aa26f1f30 -Author: Guillem Jover -Date: Sun May 17 19:41:00 2015 +0200 - - dpkg: When upgrading, copy over the cached arch-qualified package name - - We need to make sure that the cached arch-qualified package name is - updated too, or we might end up with the wrong arch-qualified package - name on cross-upgrades. - - debian/changelog | 2 ++ - src/unpack.c | 1 + - 2 files changed, 3 insertions(+) - -commit 8f28c5172ce9c1a765222311afabbefb5a9bf1d5 -Author: Guillem Jover -Date: Sat Apr 18 21:36:29 2015 +0200 - - Dpkg::Shlibs: Reorder library directories - - The correct order is: - - «dpkg-shlibdeps -l» > ENV{LD_LIBRARY_PATHS} > cross-multiarch > - DEFAULT_LIBRARY_PATH > ld.so.conf > DEFAULT_MULTILIB_PATH - - This preserves the ld.so behavior, gives preference to the cross paths, - and preserves -l and ENV{LD_LIBRARY_PATHS} as the ones to override all - the rest. - - debian/changelog | 3 +++ - scripts/Dpkg/Shlibs.pm | 26 ++++++++++++++------------ - 2 files changed, 17 insertions(+), 12 deletions(-) - -commit 37b7e396bef84e73b9290c1e746e867bf7009850 -Author: Guillem Jover -Date: Fri May 15 17:05:04 2015 +0200 - - Dpkg::Shlibs: Remove ancient multilib paths - - The /emul/ia32-linux/lib and /emul/ia32-linux/usr/lib paths, inherited - from ia64, have long been unused, since Debian squeeze. It's about time - to get rid of them. - - debian/changelog | 1 + - scripts/Dpkg/Shlibs.pm | 3 +-- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 93da43460d292198c02c5f0a8b0bf4929c0dd915 -Author: Guillem Jover -Date: Fri May 15 02:41:44 2015 +0200 - - Dpkg::Shlibs: Do not add cross-root directories to default search list - - There's no reason to include these in the default search library list - anymore, as multiarch has superseded this usage for a long time, and no - package in Debian should be shipping libraries in those paths neither - other packages linking against those. Not including the paths avoids - polluting the search list. - - If a user outside Debian wants to use a cross-root layout, the - «dpkg-shlibdeps -l» option can be used to specify those. - - debian/changelog | 2 ++ - scripts/Dpkg/Shlibs.pm | 11 +---------- - 2 files changed, 3 insertions(+), 10 deletions(-) - -commit 7b52b5fa9d855ce1f3d78bd2795ccb40a22feda2 -Author: Guillem Jover -Date: Fri May 15 14:50:24 2015 +0200 - - Dpkg::Shlibs: Fix add_library_dir to initialize the library paths if needed - - We need to initialize the paths, otherwise a subsequent initialization - will discard any paths added with this function. - - Regression introduced in commit 96e0d5d129fd963b3ef254580985c54bb717b5af. - - scripts/Dpkg/Shlibs.pm | 3 +++ - scripts/t/Dpkg_Shlibs.t | 15 +++++++++++++-- - 2 files changed, 16 insertions(+), 2 deletions(-) - -commit 4c64976c089756201ecf6e0c60285f14a922764a -Author: Guillem Jover -Date: Sat May 16 06:41:55 2015 +0200 - - scripts/t: Remove unused use Data::Dumper - - scripts/t/Dpkg_Shlibs.t | 2 -- - 1 file changed, 2 deletions(-) - -commit 1ca7f6ff559a98215ce2e13fb8a8f4c4b42b28f9 -Author: Guillem Jover -Date: Sat May 16 06:38:31 2015 +0200 - - scripts/t: Swap is_deeply() got and expected arguments - - scripts/t/Dpkg_Shlibs.t | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 9470e136e954de5821428d4b18b50cb634a23a2d -Author: Guillem Jover -Date: Thu May 14 18:18:59 2015 +0200 - - scripts: Document dpkg version when module versions got bumped - - This has two purposes, first it will make it easier to know if the - module version needs to be bumped for the current development release, - and second it will make it easier for users to know how "old" that - module version is, and to which dpkg series and specific version it - corresponds to. - - debian/changelog | 1 + - scripts/Dpkg.pm | 4 ++-- - scripts/Dpkg/BuildFlags.pm | 8 ++++---- - scripts/Dpkg/BuildOptions.pm | 4 ++-- - scripts/Dpkg/BuildProfiles.pm | 2 +- - scripts/Dpkg/Changelog.pm | 2 +- - scripts/Dpkg/Changelog/Debian.pm | 2 +- - scripts/Dpkg/Changelog/Entry.pm | 2 +- - scripts/Dpkg/Changelog/Entry/Debian.pm | 4 ++-- - scripts/Dpkg/Changelog/Parse.pm | 2 +- - scripts/Dpkg/Checksums.pm | 6 +++--- - scripts/Dpkg/Compression.pm | 6 +++--- - scripts/Dpkg/Compression/FileHandle.pm | 4 ++-- - scripts/Dpkg/Compression/Process.pm | 2 +- - scripts/Dpkg/Conf.pm | 4 ++-- - scripts/Dpkg/Control.pm | 2 +- - scripts/Dpkg/Control/Changelog.pm | 2 +- - scripts/Dpkg/Control/Fields.pm | 2 +- - scripts/Dpkg/Control/FieldsCore.pm | 2 +- - scripts/Dpkg/Control/Hash.pm | 2 +- - scripts/Dpkg/Control/HashCore.pm | 4 ++-- - scripts/Dpkg/Control/Info.pm | 4 ++-- - scripts/Dpkg/Deps.pm | 12 ++++++------ - scripts/Dpkg/Exit.pm | 4 ++-- - scripts/Dpkg/Gettext.pm | 12 ++++-------- - scripts/Dpkg/IPC.pm | 6 +++--- - scripts/Dpkg/Index.pm | 2 +- - scripts/Dpkg/Interface/Storable.pm | 2 +- - scripts/Dpkg/Path.pm | 10 +++++----- - scripts/Dpkg/Source/Package.pm | 4 ++-- - scripts/Dpkg/Substvars.pm | 10 +++++----- - scripts/Dpkg/Vendor.pm | 4 ++-- - scripts/Dpkg/Version.pm | 4 ++-- - 33 files changed, 69 insertions(+), 72 deletions(-) - -commit 448faad0f04d7f56e5b708ff76213fe0f92c2ae2 -Author: Guillem Jover -Date: Thu May 14 17:19:03 2015 +0200 - - Dpkg::Dist::Files: Allow ~ in added filenames - - When we are constructing a .changes file we add the source artifacts - to the distribution manually, before loading the distribution list - from debian/files. - - We should allow ~ in the filename as that's a valid character in a - version number. - - Regression introduced in commit ab15fd24dd1a8207ab1463410338f24283989f7c. - - Reported-by: Niels Thykier - - scripts/Dpkg/Dist/Files.pm | 2 +- - scripts/t/Dpkg_Dist_Files.t | 29 ++++++++++++++++++++++++++++- - 2 files changed, 29 insertions(+), 2 deletions(-) - -commit 915151a10317220fcf7d3b821020c94808fad155 -Author: Guillem Jover -Date: Tue May 12 01:41:54 2015 +0200 - - scripts: Say METHODS instead of FUNCTIONS or OBJECT FOO in POD section titles - - debian/changelog | 1 + - scripts/Dpkg/BuildFlags.pm | 2 +- - scripts/Dpkg/BuildOptions.pm | 2 +- - scripts/Dpkg/Changelog.pm | 4 ++-- - scripts/Dpkg/Changelog/Debian.pm | 4 ++-- - scripts/Dpkg/Changelog/Entry.pm | 2 +- - scripts/Dpkg/Changelog/Entry/Debian.pm | 2 +- - scripts/Dpkg/Changelog/Parse.pm | 4 ++-- - scripts/Dpkg/Checksums.pm | 2 +- - scripts/Dpkg/Conf.pm | 2 +- - scripts/Dpkg/Control.pm | 2 +- - scripts/Dpkg/Control/Changelog.pm | 2 +- - scripts/Dpkg/Control/HashCore.pm | 2 +- - scripts/Dpkg/Control/Info.pm | 2 +- - scripts/Dpkg/Deps.pm | 2 +- - scripts/Dpkg/Index.pm | 2 +- - scripts/Dpkg/Source/Package.pm | 10 ++++++++-- - scripts/Dpkg/Vendor/Default.pm | 2 +- - scripts/Dpkg/Version.pm | 2 +- - 19 files changed, 29 insertions(+), 22 deletions(-) - -commit 32655cdb3a933bcafbc999fa156ed075938c176b -Author: Guillem Jover -Date: Tue May 12 00:59:39 2015 +0200 - - scripts/t: Reduce timeout from 5 to 1 in test case - - The invoked sleep is 10 seconds, so reducing the timeout to 1 second - should be safe, as this is all time bounded. This also speeds up the - test suite. - - debian/changelog | 1 + - scripts/t/Dpkg_IPC.t | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 8729c1bcfab023e864acf5c19ca97c6d1ea283a8 -Author: Guillem Jover -Date: Tue May 12 00:57:51 2015 +0200 - - scripts/t: Do not use a timeout when testing cat I/O - - While a 5 seconds timeout should be usually safe, it pretty much depends - on the system being fast enough, and not being under any other load. - - This also ties unrelated checks together, and unnecessarily slows down - the test suite. - - debian/changelog | 1 + - scripts/t/Dpkg_IPC.t | 5 ++--- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 5f5f7c3b90839005060ef58ea3e1abcf214b018f -Author: Guillem Jover -Date: Tue May 12 00:49:29 2015 +0200 - - Dpkg::IPC: Kill the process when reaching timeout in wait_child() - - If we reached the timeout while waiting for the process to terminate, - we should not leave the dangling process running astray. - - debian/changelog | 1 + - scripts/Dpkg/IPC.pm | 11 ++++++++--- - 2 files changed, 9 insertions(+), 3 deletions(-) - -commit bd290bf49f15246092d592c38b9f36366c1edbd1 -Author: Guillem Jover -Date: Mon May 11 17:44:34 2015 +0200 - - dselect: Remove outdated local copy of the Debian README.mirrors.txt file - - This file was a very outdated copy from before 2001, the user is better - served by downloading it once they are doing the setup, in case they use - Debian. There's no point in doing it ourselves, as the download methods - need a major revamp anyway. - - Closes: #784966 - - debian/changelog | 3 + - dselect/methods/Dselect/Ftp.pm | 11 +- - dselect/methods/Makefile.am | 1 - - dselect/methods/ftp/README.mirrors.txt | 259 --------------------------------- - 4 files changed, 7 insertions(+), 267 deletions(-) - -commit 2a2977862fe0dc0826e2fb0af4dad2a0c3f8c365 -Author: Niels Thykier -Date: Sat Apr 4 08:12:44 2015 +0200 - - libdpkg: Fix typo in Doxygen documentation - - Signed-off-by: Niels Thykier - Signed-off-by: Guillem Jover - - lib/dpkg/arch.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ee36bf55d5666f72e925737bc850ec20267d8220 -Author: Guillem Jover -Date: Wed Mar 25 19:32:30 2015 +0100 - - libdpkg: Mention (^Z) instead of char for the MSDOS end of file character - - Let's not use unneeded abbreviations, but in this case instead of just - expanding “char”, we'll say “(^Z)” like in the other error message - instance. - - debian/changelog | 1 + - lib/dpkg/parse.c | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 66ef975101966d528e479e749ff7529eaceac7e4 -Author: Guillem Jover -Date: Sat Mar 21 11:58:58 2015 +0100 - - libdpkg: Rename parse_EOF() to parse_at_eof() - - There's no actual reason to have EOF uppercased, just lowercase and have - the function be more descriptive. - - lib/dpkg/parse.c | 24 ++++++++++++------------ - lib/dpkg/parsedump.h | 2 +- - 2 files changed, 13 insertions(+), 13 deletions(-) - -commit 67090e4a5210b688ff24619590f28e7d63830479 -Author: Guillem Jover -Date: Fri Mar 20 22:59:55 2015 +0100 - - libdpkg: Rename filter symbols to digest - - This clarifies the current functionality of this set of symbols. - - lib/dpkg/buffer.c | 60 ++++++++++++++++++++++++++-------------------------- - lib/dpkg/buffer.h | 20 +++++++++--------- - lib/dpkg/libdpkg.map | 2 +- - 3 files changed, 41 insertions(+), 41 deletions(-) - -commit 5bcdaa5eac7178031e3cb6035df58a12a4a1fa2a -Author: Guillem Jover -Date: Thu Mar 19 13:51:22 2015 +0100 - - libdpkg: Handle libtool executables in progname unit test - - debian/changelog | 1 + - lib/dpkg/t/t-progname.c | 8 +++++++- - 2 files changed, 8 insertions(+), 1 deletion(-) - -commit df62aa18e2e0d0d67183199f57b761dba6e9c721 -Author: Guillem Jover -Date: Thu Mar 19 13:47:05 2015 +0100 - - libdpkg: Add missing dpkg_error functions to the map file - - lib/dpkg/libdpkg.map | 3 +++ - 1 file changed, 3 insertions(+) - -commit 20a5b3509e94c1a349657c2a9e656d5ddbe558b6 -Author: Guillem Jover -Date: Wed Mar 18 23:08:34 2015 +0100 - - dpkg-shlibdeps: Use Dpkg::Substvars instead of ad-hoc parsing the file - - scripts/dpkg-shlibdeps.pl | 33 +++++++++++++-------------------- - 1 file changed, 13 insertions(+), 20 deletions(-) - -commit 9aa0a60a2491caeed59af5fd760c064b3be3cc00 -Author: Guillem Jover -Date: Wed Mar 18 22:42:23 2015 +0100 - - Dpkg::Substvars: Add new filter() method - - debian/changelog | 1 + - scripts/Dpkg/Substvars.pm | 27 +++++++++++++++++++++++++-- - scripts/Makefile.am | 1 + - scripts/t/Dpkg_Substvars.t | 36 +++++++++++++++++++++++++++++++++++- - scripts/t/Dpkg_Substvars/substvars2 | 7 +++++++ - 5 files changed, 69 insertions(+), 3 deletions(-) - -commit a58dd78cb1667a26961f07ba80f0f2d676e41959 -Author: Guillem Jover -Date: Wed Mar 18 23:18:11 2015 +0100 - - Dpkg::Dist::Files: Add new filter() method - - scripts/Dpkg/Dist/Files.pm | 14 ++++++++++++++ - scripts/t/Dpkg_Dist_Files.t | 33 ++++++++++++++++++++++++++++++++- - 2 files changed, 46 insertions(+), 1 deletion(-) - -commit b9cec509388cb444b1acf4baa69c90a4ef9e9241 -Author: Guillem Jover -Date: Sun May 10 22:55:03 2015 +0200 - - Dpkg::Dist::Files: Add new reset() method - - scripts/Dpkg/Dist/Files.pm | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 5b62b3a0ff0692a111447e71581f2e4659e97595 -Author: Guillem Jover -Date: Wed Mar 18 23:24:34 2015 +0100 - - Dpkg::Conf: Improve filter function - - Use stub functions when the user does not provide them, to allow - filtering with a single grep(). - - scripts/Dpkg/Conf.pm | 13 +++++-------- - 1 file changed, 5 insertions(+), 8 deletions(-) - -commit f3deda236b2fe425a1d1ff79e8d894f7047fedaa -Author: Guillem Jover -Date: Wed May 13 23:23:27 2015 +0200 - - scripts/t: Add test cases for Dpkg::Checksums - - debian/changelog | 2 +- - scripts/Makefile.am | 3 + - scripts/t/Dpkg_Checksums.t | 99 +++++++++++++++++++++- - scripts/t/Dpkg_Checksums/data-1 | 1 + - scripts/t/Dpkg_Checksums/data-2 | 1 + - man/po/zh_CN.add => scripts/t/Dpkg_Checksums/empty | 0 - 6 files changed, 103 insertions(+), 3 deletions(-) - -commit b2567f003544ab36b8c7a04aa6cc76f481a9b5f7 -Author: Guillem Jover -Date: Wed May 13 17:47:06 2015 +0200 - - scripts/t: Remove note that Dpkg_Getopt.t needs actual test cases - - The module already has 100% code coverage. - - scripts/t/Dpkg_Getopt.t | 2 -- - 1 file changed, 2 deletions(-) - -commit 94340b6b3f02450373f97dba607eb2887f4b6628 -Author: Guillem Jover -Date: Wed May 13 17:33:35 2015 +0200 - - scripts/t: Add test cases for Dpkg::Conf - - debian/changelog | 1 + - scripts/Makefile.am | 1 + - scripts/t/Dpkg_Conf.t | 92 +++++++++++++++++++++++++++++++++++++++- - scripts/t/Dpkg_Conf/config-mixed | 23 ++++++++++ - 4 files changed, 115 insertions(+), 2 deletions(-) - -commit e2047c6fae9dec683013e814ece7b13a96cdce37 -Author: Guillem Jover -Date: Sun May 10 05:08:52 2015 +0200 - - Dpkg::Control::HashCore: Use proper quotes - - Reverts partial regression introduced with cherry pick in commit - aea291e3db1ac0414dcf005a0a607e78bdd77a5e. - - scripts/Dpkg/Control/HashCore.pm | 2 +- - scripts/po/de.po | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 369b8aa9127069f2569eb8ac27b50b42c3a141ac -Author: Guillem Jover -Date: Sun May 17 18:44:11 2015 +0200 - - man: Fix spelling error - - Regression introduced in commit 30d45ed5ccc3b9cf1f7cc745a1f293137ec958aa. - - Warned-by: lintian - - man/update-alternatives.1 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 696fdb1c68b4ee1ffcb83dbb30b8b761b5be2eef -Author: Mert Dirik -Date: Sun May 17 20:04:26 2015 +0200 - - po: Update Turkish programs translation - - Closes: #785096 - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/tr.po | 426 +++++++++++++++++++++++-------------------------------- - 2 files changed, 182 insertions(+), 245 deletions(-) - -commit 9b40bf6c311815cbbf49aa8e0bdc9bf786816f50 -Author: Helge Kreutzmann -Date: Sun May 10 05:50:14 2015 +0200 - - Update German translation of manual pages - - Update to 2389t. - - man/po/de.po | 151 ++++++++++------------------------------------------------- - 1 file changed, 24 insertions(+), 127 deletions(-) - -commit ac6d5f6bedc88fe5f50264818afb70a14dd5d3cc -Author: Helge Kreutzmann -Date: Sat May 9 18:49:04 2015 +0200 - - Update German translation of manual pages - - Update to 2370t18f1u. - - man/po/de.po | 1465 ++++++++++++++++++++++++++++++---------------------------- - 1 file changed, 756 insertions(+), 709 deletions(-) - -commit 7de08d413aed20cb1f2ad7c36a6396ba3bf7afd9 -Author: Helge Kreutzmann -Date: Sat May 9 13:27:32 2015 +0200 - - Update German scripts translation - - Update to 552t. - - scripts/po/de.po | 32 ++++++++++++++++++++++---------- - 1 file changed, 22 insertions(+), 10 deletions(-) - -commit 18e044bb6b6d776a0a10dc045c00fbe8441df593 -Author: Guillem Jover -Date: Fri May 8 06:27:35 2015 +0200 - - dpkg-genchanges: Remove intermediate @f variable - - scripts/dpkg-genchanges.pl | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 983e21eca2967b0c8e65f786ebd1b0e04ba52919 -Author: Guillem Jover -Date: Fri May 8 06:24:49 2015 +0200 - - dpkg-genchanges: Annotate any non-deb binaries with their package type - - Make it more generic, and annotate not just udebs with their package - type. - - debian/changelog | 2 ++ - scripts/dpkg-genchanges.pl | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 5bd832f53875e7ed40a5f303f877c28cafa2899d -Author: Guillem Jover -Date: Mon May 4 05:44:38 2015 +0200 - - dpkg-genchanges: Allow binary packages not found in debian/control - - We are already warning when a binary package is not found in - debian/control, there's no actual reason to then error out because they - do not have a section or priority in that debian/control file. - - debian/changelog | 2 ++ - scripts/dpkg-genchanges.pl | 6 ++++-- - 2 files changed, 6 insertions(+), 2 deletions(-) - -commit 401f09ecf4735e2df774b17a5a771f4a1e191ba9 -Author: Guillem Jover -Date: Mon May 4 05:44:38 2015 +0200 - - dpkg-genchanges: Merge two loops traversing the same keys - - scripts/dpkg-genchanges.pl | 2 -- - 1 file changed, 2 deletions(-) - -commit 61088cb90955feeeac9fb6564b4b8c5c845831a1 -Author: Guillem Jover -Date: Mon May 4 06:02:55 2015 +0200 - - dpkg-genchanges: Skip files based on the architecture from the filename - - Instead of using the architecture from the package in the debian/control - file, just use the one coming from the filename, as we rely too on the - package name from the filename to get to the architecture. - - debian/changelog | 1 + - scripts/dpkg-genchanges.pl | 5 +---- - 2 files changed, 2 insertions(+), 4 deletions(-) - -commit ddbf6f259a1c6fd07db7db4cf022cbf1cf1da669 -Author: Guillem Jover -Date: Mon May 4 09:28:03 2015 +0200 - - dpkg-genchanges: Use the checksums files list when building the Files field - - This should guarantee that the output order is always the same as the - other Checksum fields, even if debian/files entries change order. - - debian/changelog | 2 ++ - scripts/dpkg-genchanges.pl | 4 ++++ - 2 files changed, 6 insertions(+) - -commit e69de9edc7d30172be68e92c3fe1e61329d0431a -Author: Guillem Jover -Date: Tue May 5 00:08:04 2015 +0200 - - dpkg-genchanges: Fix error message on empty dsc file - - Pass the argument for the format string to the correct function call. - - debian/changelog | 1 + - scripts/dpkg-genchanges.pl | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit b36dc1c825378fbd96502336b0a5835ceb33f9ae -Author: Guillem Jover -Date: Tue Mar 24 23:57:35 2015 +0100 - - dpkg-genchanges: Fix perl warning when parsing BY-HAND file entries - - Cherry picked from commit 23e354ae1211a754fdafd6718e3e61398f6c1d37. - - Regression introduced in commit e1749d77a44ee1c82c2d047cf9be4b071554832d. - - Closes: #781074 - - debian/changelog | 2 ++ - scripts/dpkg-genchanges.pl | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 2c1bc6002ed100c29e1567683d75c36e58ea6f0c -Author: Guillem Jover -Date: Thu Apr 30 01:16:11 2015 +0200 - - dpkg-source: Remove stray whitespace in shebang - - Spotted-by: Justin F. Hallett - - scripts/dpkg-source.pl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ab15fd24dd1a8207ab1463410338f24283989f7c -Author: Guillem Jover -Date: Fri Mar 13 23:59:55 2015 +0100 - - Dpkg::Dist::Files: Parse filename on add_file() to initialize files values - - scripts/Dpkg/Dist/Files.pm | 15 ++++++--------- - scripts/t/Dpkg_Dist_Files.t | 16 +++++++++++++++- - 2 files changed, 21 insertions(+), 10 deletions(-) - -commit 715a507fc59c7cf679c7fedcd8f336697893ed27 -Author: Guillem Jover -Date: Fri Mar 13 23:59:55 2015 +0100 - - Dpkg::Dist::Files: Factor file parsing into a new member function - - scripts/Dpkg/Dist/Files.pm | 48 ++++++++++++++++++++++++++++++---------------- - 1 file changed, 31 insertions(+), 17 deletions(-) - -commit e974a079d91f1dcb0eb2b61fe3c825d714f299d6 -Author: Guillem Jover -Date: Mon Apr 27 15:11:21 2015 +0200 - - Dpkg::Dist::Files: Always sort the files list on output - - This guarantees the debian/files and anything parsing it via this module - get reproducible results regardless of things such as parallel builds. - - Reported-by: Jérémy Bobbio - - debian/changelog | 3 +++ - scripts/Dpkg/Dist/Files.pm | 14 +++----------- - scripts/t/Dpkg_Dist_Files.t | 18 ++++++++++-------- - 3 files changed, 16 insertions(+), 19 deletions(-) - -commit 1dc1c04ca808b0c9efc2c83eeb1de7a32f7b110f -Author: Guillem Jover -Date: Fri Apr 24 23:51:26 2015 +0200 - - dpkg-statoverride: Fix error messages on invalid uid/git/mode syntax errors - - When parsing command-line arguments we should not say that the error - comes from the statoverride file. - - debian/changelog | 2 ++ - src/statdb.c | 6 +++--- - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit db5c277534f955dc983bb81814df9ea08076c71e -Author: Helge Kreutzmann -Date: Wed May 6 14:39:14 2015 +0200 - - po: Update German man pages translation - - Signed-off-by: Guillem Jover - - man/po/de.po | 414 +++++++++++------------------------------------------------ - 1 file changed, 74 insertions(+), 340 deletions(-) - -commit 4503bec2779ba43e80fd605f8428e4af8669bf69 -Author: Trần Ngọc Quân -Date: Sun May 3 15:52:08 2015 +0700 - - po: Update Vietnamese programs translation - - Signed-off-by: Trần Ngọc Quân - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/vi.po | 324 +++++++++++++++++++++++++------------------------------ - 2 files changed, 147 insertions(+), 178 deletions(-) - -commit 2ffe6c3acf4cf0b79e6bf752bcaf2737a9e1e998 -Author: Zhou Mo -Date: Fri Apr 24 01:56:56 2015 +0200 - - po: Update Simplified Chinese programs translation - - Closes: #782326 - Signed-off-by: Guillem Jover - - debian/changelog | 3 ++ - po/zh_CN.po | 102 ++++++++++++++++++++++--------------------------------- - 2 files changed, 43 insertions(+), 62 deletions(-) - -commit 1e61694dcd22ac8b16b55325c31ccc4bcf312f1b -Author: Guillem Jover -Date: Mon May 4 05:41:44 2015 +0200 - - build: Allow running scripts from outside the source tree - - debian/rules | 2 +- - run-script | 12 +++++++++--- - 2 files changed, 10 insertions(+), 4 deletions(-) - -commit de6bbfc869da500094a584d95c8d584ae5f75dea -Author: Guillem Jover -Date: Thu Apr 23 18:54:18 2015 +0200 - - build: Pass -Wall to automake in AM_INIT_AUTOMAKE - - When we switched from the gnu to foreign flavor the warnings got more - lax, bring them up a notch. - - configure.ac | 2 +- - debian/changelog | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit a7caec3d1ac3b299f56c54dca206049f2fc5cf18 -Author: Guillem Jover -Date: Thu Apr 23 18:50:58 2015 +0200 - - build: Call AM_PROG_AR - - Even though we use libtool to link static libraries, it still requires - AM_PROG_AR to be called to detect the archiver to use. - - Warned-by: automake - - configure.ac | 1 + - debian/changelog | 1 + - 2 files changed, 2 insertions(+) - -commit 1efac5a7b353d3294f61e3e528c729f18dca459a -Author: Guillem Jover -Date: Thu Apr 23 18:43:17 2015 +0200 - - build: Pass CC to the test suite - - If the build system does not have gcc available, the Dpkg::Arch module - requires the CC environment variable to be set so that we can detect - the host system. - - check.am | 1 + - debian/changelog | 1 + - 2 files changed, 2 insertions(+) - -commit 4436eea426184745c8d882f43ab2bee150d2d4a9 -Author: Guillem Jover -Date: Thu Apr 23 18:38:33 2015 +0200 - - build: Use single suffix rules instead of non-portable %-pattern rules - - debian/changelog | 1 + - dselect/methods/Makefile.am | 4 +++- - scripts/Makefile.am | 6 ++++-- - 3 files changed, 8 insertions(+), 3 deletions(-) - -commit 454137cb3972d3365ee9b0e71cd97f32219e25be -Author: Roderich Schupp -Date: Fri Apr 24 01:47:29 2015 +0200 - - Dpkg::Control::Info: Do not print on undef filehandle in output() - - Closes: #781887 - Signed-off-by: Guillem Jover - - debian/changelog | 2 ++ - scripts/Dpkg/Control/Info.pm | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 7e85106707c5ddea3381bc985e0c916507915bcc -Author: Guillem Jover -Date: Tue Apr 21 17:18:15 2015 +0200 - - Dpkg::Control::Info: Allow not loading the file in the constuctor - - Accept an %opts argument for the constructor, and accept either passing - a filename option as undef, or a scalar undef. - - Closes: #782019 - - debian/changelog | 3 +++ - scripts/Dpkg/Control/Info.pm | 30 ++++++++++++++++++++++-------- - 2 files changed, 25 insertions(+), 8 deletions(-) - -commit 2a76ceda76f462cea6f50ac740ed95c343ec409e -Author: Guillem Jover -Date: Tue Apr 21 20:48:47 2015 +0200 - - Dpkg::Source::Patch: Pass PATCH_GET envvar instead of -g0 to patch - - For GNU patch the default value for -g is already 0, but that option is - not available in other systems, such as FreeBSD. Let's switch to use the - environment variable PATCH_GET, so that we make sure it gets set to a - known value, and so that we can stop using the unportable option. - - debian/changelog | 3 +++ - scripts/Dpkg/Source/Patch.pm | 8 ++++---- - scripts/Dpkg/Source/Quilt.pm | 4 ++-- - 3 files changed, 9 insertions(+), 6 deletions(-) - -commit aea291e3db1ac0414dcf005a0a607e78bdd77a5e -Author: Guillem Jover -Date: Thu Mar 19 22:51:46 2015 +0100 - - Dpkg::Control::HashCore: Fix OpenPGP Armor Header Line parsing - - Cherry picked from commit b4ccfe4982161b8beb44f1d0c98f791c4f238edd. - - We should only accept [\r\t ] as trailing whitespace, although RFC4880 - does not clarify what whitespace really maps to, we should really match - the GnuPG implementation anyway, as that is what we use to verify the - signatures. - - Fixes: CVE-2015-0840 - Reported-by: Jann Horn - - debian/changelog | 5 +++++ - scripts/Dpkg/Control/HashCore.pm | 21 ++++++++++-------- - scripts/Makefile.am | 1 + - scripts/t/Dpkg_Control.t | 5 ++++- - ...s-armor-spaces.dsc => bogus-armor-formfeed.dsc} | 25 +++++++++++----------- - 5 files changed, 35 insertions(+), 22 deletions(-) - -commit 60b2a4fa317f0b473043b13fff16c52a812ad800 -Author: Guillem Jover -Date: Tue Apr 21 18:38:15 2015 +0200 - - scripts/t: Skip test cases when there is no c++filt available - - In principle we require c++filt at run-time, but for now let's not fail - these tests on such systems. - - debian/changelog | 1 + - scripts/t/Dpkg_Shlibs.t | 9 +++++++++ - scripts/t/Dpkg_Shlibs_Cppfilt.t | 10 +++++++++- - 3 files changed, 19 insertions(+), 1 deletion(-) - -commit 349f9c3569cb978f1cc0e69ac00d573d99581a18 -Author: Guillem Jover -Date: Thu Apr 23 21:06:32 2015 +0200 - - s-s-d: Cleanup timespec_mul() - - utils/start-stop-daemon.c | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit 033b2950694fc3fa6d90dca34de1e4f8fa06c934 -Author: Guillem Jover -Date: Tue Apr 21 09:07:42 2015 +0200 - - s-s-d: Switch to use a monotonic clock if available - - Use clock_gettime(CLOCK_MONOTONIC) if available instead of - gettimeofday() which gets affected by abrupt system clock changes, and - might mess with the timeout calculations. - - Closes: #783014 - Suggested-by: Jose M Calhariz - - debian/changelog | 3 +++ - utils/start-stop-daemon.c | 7 +++++++ - 2 files changed, 10 insertions(+) - -commit 7131cdd1dacf12ba9735cc62f0d1691d60e8cc72 -Author: Guillem Jover -Date: Wed Apr 22 21:28:24 2015 +0200 - - s-s-d: Switch to use timespec instead of timeval - - Switch to use pselect() instead of select(). - - utils/start-stop-daemon.c | 76 +++++++++++++++++++++++++++++++++-------------- - 1 file changed, 53 insertions(+), 23 deletions(-) - -commit c8c665f47a7353aeb078460a296d51dbd2a6620f -Author: Guillem Jover -Date: Sun Mar 1 22:22:04 2015 +0100 - - s-s-d: Do not leak kvm descriptors - - Cherry picked from commit eaa073bc37901a6d8c46abc9fa5e7ec5551df04b. - - We should close the kvm instances after every operation, so not to leak - them, as they might exhaust the file descriptor pool, or leak into the - started process. - - Closes: #779467 - Based-on-patch-by: Jeff Epler - - debian/changelog | 2 ++ - utils/start-stop-daemon.c | 44 ++++++++++++++++++++++++++++++++++---------- - 2 files changed, 36 insertions(+), 10 deletions(-) - -commit e51c293832dd71645c7e2eff530e2a3bdca1b458 -Author: Helge Kreutzmann -Date: Thu Apr 30 21:04:58 2015 +0200 - - Update German translation of manual pages - - Update to 2320t67f1u. - - man/po/de.po | 99 ++++++++++-------------------------------------------------- - 1 file changed, 16 insertions(+), 83 deletions(-) - -commit 6a7d94d9fbccfbbf32b363fd9eacff266c349fbb -Author: Helge Kreutzmann -Date: Sat Apr 25 21:44:43 2015 +0200 - - Update German translation of manual pages - - Update to 2310t77f1u. - - man/po/de.po | 334 ++++++++++------------------------------------------------- - 1 file changed, 56 insertions(+), 278 deletions(-) - -commit f30d926803492c98e4baa9b32e7e2bae86d931bd -Author: Guillem Jover -Date: Tue Apr 21 07:34:40 2015 +0200 - - src/t: Fix dpkg-divert.t when skipping test due to missing /dev/full - - We need to restore the admindir permissions or the subsequent - non-skipped test will not pass. - - src/t/dpkg_divert.t | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit ff8419c7967af14bdc1d1aa629f7c355ae065817 -Author: Guillem Jover -Date: Tue Mar 17 22:26:05 2015 +0100 - - dpkg-gensymbols: Use an intermediate variable to keep the file label - - scripts/dpkg-gensymbols.pl | 12 +++++++++--- - 1 file changed, 9 insertions(+), 3 deletions(-) - -commit 9251cc40db1793d01ad0c27408fb0f170c067772 -Author: Guillem Jover -Date: Mon Mar 16 23:53:16 2015 +0100 - - dpkg-gensymbols: Use the original template symbols file when diffing - - We should not create a new template symbols file, because the output - might change (different sorting order for example) relative to the - original. - - Closes: #773718 - - debian/changelog | 4 ++++ - scripts/dpkg-gensymbols.pl | 9 ++++++++- - 2 files changed, 12 insertions(+), 1 deletion(-) - -commit 30caac9aa9e2559fc899caa88ae284b530ff524e -Author: Guillem Jover -Date: Tue Mar 17 22:25:32 2015 +0100 - - scripts: Move each statement into its own line - - scripts/Dpkg/Conf.pm | 3 ++- - scripts/Dpkg/Source/Package/V2.pm | 4 +++- - scripts/Dpkg/Source/Patch.pm | 2 +- - scripts/Dpkg/Substvars.pm | 4 +++- - scripts/dpkg-gensymbols.pl | 4 +++- - 5 files changed, 12 insertions(+), 5 deletions(-) - -commit c0e93b4815598b884eb68abd40601f0035022ef4 -Author: Guillem Jover -Date: Fri Apr 3 17:06:26 2015 +0200 - - libdpkg: Remove unused LIST_CHECKNODE_PART and LIST_CHECKNODE macros - - Instead of adding a missing “#include ” to the header file, - just remove the unused macros. - - Prompted-by: Niels Thykier - - lib/dpkg/dlist.h | 13 ------------- - 1 file changed, 13 deletions(-) - -commit 4d7f9ffbefde64ba28c6dc87a1c9a823cc7f56d7 -Author: Niels Thykier -Date: Fri Apr 3 16:16:00 2015 +0200 - - Remove some unnecessary includes of assert.h - - Signed-off-by: Niels Thykier - - dpkg-deb/extract.c | 1 - - dpkg-deb/main.c | 1 - - dpkg-split/main.c | 1 - - dpkg-split/queue.c | 1 - - lib/dpkg/ehandle.c | 1 - - lib/dpkg/log.c | 1 - - src/help.c | 1 - - 7 files changed, 7 deletions(-) - -commit 3a5e0d6cd99c92cfe7c22fb33c636bf15bcf4728 -Author: Guillem Jover -Date: Thu Mar 12 23:53:30 2015 +0100 - - dpkg: Use badusage() instead of ohshit() for command-line errors - - debian/changelog | 1 + - dpkg-deb/main.c | 4 ++-- - src/trigcmd.c | 8 ++++---- - 3 files changed, 7 insertions(+), 6 deletions(-) - -commit 6d987d5647075275f7261e1b7f9c7d157cfc40fb -Author: Guillem Jover -Date: Tue Apr 21 06:27:09 2015 +0200 - - scripts/t: Do not use system() string form - - This passes the arguments as a list, and stops ignoring stderr. - - scripts/t/Dpkg_Shlibs.t | 2 +- - scripts/t/merge_changelogs.t | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 1d01c619ff52e5d1ed44a3e2c95be7cd7fa48e90 -Author: Guillem Jover -Date: Tue Apr 21 05:34:06 2015 +0200 - - src/t: Fix dpkg-divert.t to work even w/o /dev/full - - The /dev/full device is not usually available outside of Linux, and we - should not rely on it. - - debian/changelog | 1 + - src/t/dpkg_divert.t | 10 ++++++++-- - 2 files changed, 9 insertions(+), 2 deletions(-) - -commit 16fd072481648412b413ecfa0b4efdb867dab10c -Author: Guillem Jover -Date: Tue Apr 21 05:34:06 2015 +0200 - - src/t: Fix dpkg-divert.t to work on BSD userland - - On FreeBSD «rm -rf» cannot traverse a directory with mode 000, so we - need to remove it beforehand. - - debian/changelog | 2 ++ - src/t/dpkg_divert.t | 2 ++ - 2 files changed, 4 insertions(+) - -commit 5843f277d94c8dc100440525e9d5b9c98836d58f -Author: Guillem Jover -Date: Tue Apr 21 05:33:09 2015 +0200 - - scripts/t: Fix typo - - scripts/t/Dpkg_Source_Patch.t | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 56ee0496fa49df716db16f8b948412714e2c7378 -Author: Guillem Jover -Date: Mon Apr 20 23:58:55 2015 +0200 - - Update amd64 GNU cpu regex in cputable to match amd64 too - - FreeBSD outputs amd64 as the cpu, so we need to match that in addition - to x86_64. - - cputable | 2 +- - debian/changelog | 2 ++ - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 63be043d93aa1a7979b8e0f4f638ecf8485eca03 -Author: Guillem Jover -Date: Sun Apr 19 17:18:50 2015 +0200 - - man: Clarify interaction between arch-qualifiers and Multi-Arch:foreign - - This should improve over commit 0fec5cfcf2cc07ea7ac3a20855ecef276d6e34c4. - - man/deb-control.5 | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -commit 93600b77bec6cb583b65fb817a2b13212c2d0b44 -Author: Guillem Jover -Date: Sun Apr 19 17:18:50 2015 +0200 - - man: Clarify implicit arch-qualifiers in Provides field - - This corrects the wording to match the implementation. The change in - commit 0fec5cfcf2cc07ea7ac3a20855ecef276d6e34c4 missed the fact that - Provides was bundled with the fields that get :any as an implicit - arch-qualifier. Split the Provides field description as it's different - enough from the other group to merit being described separately. - - man/deb-control.5 | 42 ++++++++++++++++++++++++++---------------- - 1 file changed, 26 insertions(+), 16 deletions(-) - -commit 0b27f55d8531c82cf78bdc17e0539548cf153828 -Author: Guillem Jover -Date: Thu Apr 2 04:57:03 2015 +0200 - - man: Document that apt might expect Packages.xz too - - debian/changelog | 1 + - man/dpkg-scanpackages.1 | 2 ++ - 2 files changed, 3 insertions(+) - -commit 30d45ed5ccc3b9cf1f7cc745a1f293137ec958aa -Author: Guillem Jover -Date: Thu Mar 26 23:58:43 2015 +0100 - - man: Remove unneeded u-a references from options descriptions - - debian/changelog | 1 + - man/update-alternatives.1 | 10 ++++------ - 2 files changed, 5 insertions(+), 6 deletions(-) - -commit 7beeb8d100a19f619d7a1173bf379dfd4513bbf7 -Author: Guillem Jover -Date: Sun Mar 22 23:49:19 2015 +0100 - - man: Clarify that dpkg-buildpackage -jN forces parallel builds - - This forces the parallel builds regardless of the packaging or upstream - build systems supporting them. - - Closes: #780866 - - debian/changelog | 2 ++ - man/dpkg-buildpackage.1 | 6 +++++- - 2 files changed, 7 insertions(+), 1 deletion(-) - -commit bdf093f58b51b5d5cdeb9fa8e941bc14190d6eac -Author: Guillem Jover -Date: Mon Mar 30 22:44:49 2015 +0200 - - debian: Rework installed documentation - - debian/changelog | 2 ++ - debian/dselect.docs | 1 - - debian/libdpkg-dev.docs | 1 - - debian/libdpkg-perl.docs | 1 + - 4 files changed, 3 insertions(+), 2 deletions(-) - -commit 094e49827757a7273e740985fe0c931c147be1b6 -Author: Guillem Jover -Date: Sun Mar 29 03:19:05 2015 +0200 - - debian: Get rid of backward compatibility pseudo-tags from bug reports - - All bug reports should have been renamed by now, there's no need to list - the old tags anymore. - - debian/changelog | 1 + - debian/usertags | 104 +++++++++++++++++++++++++++---------------------------- - 2 files changed, 52 insertions(+), 53 deletions(-) - -commit f85e380f63d1511df17dc24376e1b746369baf90 -Author: Guillem Jover -Date: Sat Mar 28 17:13:21 2015 +0100 - - debian: Update my copyright years - - debian/copyright | 2 +- - dpkg-deb/build.c | 2 +- - dpkg-deb/info.c | 1 + - dpkg-split/split.c | 2 +- - dselect/main.cc | 2 +- - dselect/methparse.cc | 1 + - dselect/pkgdisplay.cc | 1 + - get-version | 2 +- - lib/dpkg/command.h | 2 +- - lib/dpkg/compress.c | 2 +- - lib/dpkg/dpkg.h | 2 +- - lib/dpkg/error.c | 2 +- - lib/dpkg/error.h | 2 +- - lib/dpkg/fields.c | 2 +- - lib/dpkg/mlib.c | 1 + - lib/dpkg/namevalue.c | 2 +- - lib/dpkg/namevalue.h | 2 +- - lib/dpkg/options.c | 2 +- - lib/dpkg/parse.c | 2 +- - lib/dpkg/path-remove.c | 2 +- - lib/dpkg/path.h | 2 +- - lib/dpkg/pkg-format.c | 2 +- - lib/dpkg/pkg-namevalue.c | 2 +- - lib/dpkg/pkg-spec.c | 2 +- - lib/dpkg/tarfn.c | 2 +- - lib/dpkg/triglib.c | 2 +- - man/deb-control.5 | 2 +- - man/deb-src-control.5 | 2 +- - man/deb-symbols.5 | 1 + - man/deb-triggers.5 | 2 +- - man/deb-version.5 | 1 + - man/dpkg-architecture.1 | 2 +- - man/dpkg-buildflags.1 | 2 +- - man/dpkg-buildpackage.1 | 2 +- - man/dpkg-deb.1 | 2 +- - man/dpkg-divert.1 | 2 +- - man/dpkg-genchanges.1 | 2 +- - man/dpkg-gencontrol.1 | 2 +- - man/dpkg-gensymbols.1 | 2 +- - man/dpkg-maintscript-helper.1 | 2 +- - man/dpkg-name.1 | 2 +- - man/dpkg-parsechangelog.1 | 2 +- - man/dpkg-shlibdeps.1 | 2 +- - man/dpkg-source.1 | 2 +- - man/dpkg-statoverride.1 | 2 +- - man/dpkg-trigger.1 | 2 +- - man/dpkg.1 | 2 +- - man/dpkg.cfg.5 | 2 +- - man/dselect.1 | 2 +- - man/dselect.cfg.5 | 2 +- - man/start-stop-daemon.8 | 2 +- - man/update-alternatives.1 | 2 +- - scripts/Dpkg/Arch.pm | 2 +- - scripts/Dpkg/BuildOptions.pm | 1 + - scripts/Dpkg/Changelog/Debian.pm | 2 +- - scripts/Dpkg/Changelog/Parse.pm | 1 + - scripts/Dpkg/Control/HashCore.pm | 1 + - scripts/Dpkg/Control/Info.pm | 1 + - scripts/Dpkg/IPC.pm | 2 +- - scripts/Dpkg/Shlibs.pm | 1 + - scripts/Dpkg/Shlibs/Cppfilt.pm | 1 + - scripts/Dpkg/Source/Functions.pm | 2 ++ - scripts/Dpkg/Source/Package.pm | 1 + - scripts/Dpkg/Source/Package/V1.pm | 1 + - scripts/Dpkg/Source/Package/V2.pm | 2 +- - scripts/Dpkg/Source/Patch.pm | 1 + - scripts/Dpkg/Util.pm | 2 +- - scripts/Dpkg/Vendor/Debian.pm | 1 + - scripts/changelog/debian.pl | 2 +- - scripts/dpkg-checkbuilddeps.pl | 2 +- - scripts/dpkg-maintscript-helper.sh | 2 +- - scripts/dpkg-name.pl | 2 +- - scripts/dpkg-scansources.pl | 2 +- - src/archives.c | 2 +- - src/archives.h | 1 + - src/cleanup.c | 2 +- - src/configure.c | 2 +- - src/enquiry.c | 2 +- - src/help.c | 2 +- - src/main.c | 2 +- - src/main.h | 2 +- - src/remove.c | 2 +- - src/select.c | 2 +- - src/selinux.c | 2 +- - src/statcmd.c | 2 +- - src/unpack.c | 2 +- - src/verify.c | 2 +- - utils/update-alternatives.c | 2 +- - 88 files changed, 89 insertions(+), 70 deletions(-) - -commit dc1c7ec2dd5e401c708a29397c928db75a877133 -Author: Guillem Jover -Date: Sat Mar 28 17:12:21 2015 +0100 - - debian: Add missing public modules to dpkg-dev package description - - debian/changelog | 1 + - debian/control | 9 ++++++++- - 2 files changed, 9 insertions(+), 1 deletion(-) - -commit 493a4848d066476ebb009d68ff3f506cbeeaf884 -Author: Guillem Jover -Date: Fri Mar 27 23:02:35 2015 +0100 - - debian: Name each public-domain license with a different name - - debian/changelog | 1 + - debian/copyright | 4 ++-- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit d37c3c8c93f6f9345dac4cb08014e23f8bdd9a13 -Author: Guillem Jover -Date: Fri Mar 27 23:00:01 2015 +0100 - - debian: Switch to debhelper compatibility level 9 - - debian/changelog | 1 + - debian/compat | 2 +- - debian/control | 2 +- - 3 files changed, 3 insertions(+), 2 deletions(-) - -commit 8dfc4cd2e65b359e9e408d26b218add28d406f47 -Author: Helge Kreutzmann -Date: Sat Apr 18 18:41:35 2015 +0200 - - Update German translation of manual pages - - Update to 2270t117f1u. - - man/po/de.po | 878 +++++++++++------------------------------------------------ - 1 file changed, 162 insertions(+), 716 deletions(-) - -commit 5c8486359563fbe9844d278e2878018dd59613a4 -Author: Helge Kreutzmann -Date: Sat Apr 18 18:12:25 2015 +0200 - - Fix typo (missing space) - - man/dpkg-buildpackage.1 | 2 +- - man/po/es.po | 4 ++-- - man/po/fr.po | 4 ++-- - man/po/hu.po | 4 ++-- - man/po/it.po | 4 ++-- - man/po/ja.po | 4 ++-- - man/po/pl.po | 4 ++-- - man/po/pt_BR.po | 4 ++-- - man/po/ru.po | 4 ++-- - man/po/sv.po | 4 ++-- - man/po/zh_CN.po | 4 ++-- - 11 files changed, 21 insertions(+), 21 deletions(-) - -commit ea71ee3497d27f1c7f6642a0abb90bc08059bf9c -Author: Helge Kreutzmann -Date: Sun Apr 12 19:09:28 2015 +0200 - - Update German translation of manual pages - - Update to 2160t227f1u. - - man/po/de.add | 2 +- - man/po/de.po | 933 ++++++++++++---------------------------------------------- - 2 files changed, 193 insertions(+), 742 deletions(-) - -commit ae597c8f928ab88423d6e9bba7d3a484507e29a9 -Author: Helge Kreutzmann -Date: Sun Apr 12 07:06:54 2015 +0200 - - Update German scripts translation - - Update to 550t. - - scripts/po/de.po | 322 +++++++++++++++---------------------------------------- - 1 file changed, 88 insertions(+), 234 deletions(-) - -commit d3c86b4d290bcee0fc7d26ec0574f6856f9d2096 -Author: Guillem Jover -Date: Tue Mar 10 03:18:08 2015 +0100 - - po: Remove useless language and maintainer names from LINGUAS files - - The information should be kept in the .po files, having it here just - duplicates it and makes it more costly to keep it sync. - - dselect/po/LINGUAS | 65 +--------------------------------------- - po/LINGUAS | 87 +----------------------------------------------------- - scripts/po/LINGUAS | 19 +----------- - 3 files changed, 3 insertions(+), 168 deletions(-) - -commit 0b36380ef444360e59662f9e12778dc9d71a5ba3 -Author: Guillem Jover -Date: Thu Mar 5 21:26:16 2015 +0100 - - dpkg-name: Use Dpkg::Version instead of manually stripping the epoch - - scripts/dpkg-name.pl | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit 1f7907c2e9c6740b406919661185240cf9365cd5 -Author: Guillem Jover -Date: Wed Mar 4 04:17:13 2015 +0100 - - dpkg-scansources: Move main() into outer scope - - There's no point in the main() function, just move the code out of it, - to conform with the rest of the codebase. This also gets rid of the - $exit variable, which was serving not purpose at all, as the main() - function was always returning 0. - - scripts/dpkg-scansources.pl | 85 ++++++++++++++++++++------------------------- - 1 file changed, 38 insertions(+), 47 deletions(-) - -commit 6ec2138f61e47817fabf0806859449faf35d7f06 -Author: Guillem Jover -Date: Wed Mar 4 04:08:09 2015 +0100 - - dpkg-scansources: Handle parsed source control data just once - - Move all control data processing after having parsed it. Sort the - entries if necessary, and then print them. - - scripts/dpkg-scansources.pl | 28 +++++++++------------------- - 1 file changed, 9 insertions(+), 19 deletions(-) - -commit a2215c7dab34adced59dca6a6d9139e997b083d3 -Author: Guillem Jover -Date: Wed Mar 4 03:40:47 2015 +0100 - - dpkg-scanpackages: Create the dpkg-deb pipe using open instead of Dpkg::IPC - - scripts/dpkg-scanpackages.pl | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -commit 15c0c8429903ef08ada0fd735dc8140db45a59e3 -Author: Guillem Jover -Date: Wed Mar 4 03:26:26 2015 +0100 - - dpkg-shlibdeps: Say substvars instead of varlist in error messages - - debian/changelog | 1 + - scripts/dpkg-shlibdeps.pl | 5 +++-- - 2 files changed, 4 insertions(+), 2 deletions(-) - -commit d9de01ec25be9d4fe5a7d06fdcb8341d5960ecb0 -Author: Guillem Jover -Date: Tue Mar 3 23:46:09 2015 +0100 - - scripts: Pass a list to open() for commands instead of a string - - scripts/dpkg-scansources.pl | 2 +- - scripts/t/Dpkg_Compression.t | 3 ++- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit 208b323fd273463c5669f6ed68c1b11f673df0a3 -Author: Guillem Jover -Date: Tue Mar 3 23:23:20 2015 +0100 - - scripts: Change version() functions to never exit - - scripts/dpkg-checkbuilddeps.pl | 3 +-- - scripts/dpkg-scanpackages.pl | 3 +-- - scripts/dpkg-scansources.pl | 3 +-- - 3 files changed, 3 insertions(+), 6 deletions(-) - -commit 710252f8a4c5d89b2ad94d7c1171256cb87939ef -Author: Guillem Jover -Date: Tue Mar 3 23:12:52 2015 +0100 - - dpkg-scansources: Use syserr() instead of close_msg() - - Remove now unnecessary function. - - debian/changelog | 1 + - scripts/dpkg-scansources.pl | 8 +------- - 2 files changed, 2 insertions(+), 7 deletions(-) - -commit f2dad32eb544c69bc802c3180d675896545da8a5 -Author: Guillem Jover -Date: Mon Mar 2 03:10:37 2015 +0100 - - dpkg-scanpackages: Use a scalar variable instead of an IO::Handle - - scripts/dpkg-scanpackages.pl | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 5864c7885661f9332f2d7cf81fd0bc56a127fc97 -Author: Guillem Jover -Date: Mon Mar 2 03:16:00 2015 +0100 - - dpkg-scanpackages: Remove unused IO::File - - scripts/dpkg-scanpackages.pl | 1 - - 1 file changed, 1 deletion(-) - -commit 3ccceb8acb2f552df3392a0538438f3a433a0406 -Author: Guillem Jover -Date: Mon Mar 2 02:34:56 2015 +0100 - - Dpkg::Shlibs::Cppfilt: Remove unused IO::Handle - - scripts/Dpkg/Shlibs/Cppfilt.pm | 1 - - 1 file changed, 1 deletion(-) - -commit 303685d1ecbb3a933adf877850bdb1a75f21bfc0 -Author: Guillem Jover -Date: Sun Mar 1 15:33:07 2015 +0100 - - dpkg-scanpackages: Rework error handling on missing Package field - - scripts/dpkg-scanpackages.pl | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 00d4a39b2aed1b6c387d3da0d93a85c8141df23f -Author: Guillem Jover -Date: Sat Feb 28 23:59:23 2015 +0100 - - dpkg-scanpackages: Factor out deb processing into a new process_deb() function - - scripts/dpkg-scanpackages.pl | 124 +++++++++++++++++++++++-------------------- - 1 file changed, 65 insertions(+), 59 deletions(-) - -commit 869b66753c6b1530ef3ec7961810372b80b42397 -Author: Guillem Jover -Date: Sat Feb 28 23:45:25 2015 +0100 - - dpkg-scansources: Use proper constants instead of constant subs - - scripts/dpkg-scansources.pl | 15 ++++++++------- - 1 file changed, 8 insertions(+), 7 deletions(-) - -commit f027f743929abca7c1351c5f8150e10272072415 -Author: Guillem Jover -Date: Fri Apr 10 04:39:54 2015 +0200 - - dpkg-maintscript-helper: Fix logic in symlink argument check - - The check was inverted. - - Regression introduced in commit 4266c68bc4516d706544555026b00c5be759b24c. - - scripts/dpkg-maintscript-helper.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 24c37ae5a5c701ad54ae842031e1db3556f29875 -Author: Guillem Jover -Date: Wed Apr 8 06:13:34 2015 +0200 - - man: Use .TQ to separate different but related options in dpkg(1) - - debian/changelog | 1 + - man/dpkg.1 | 9 ++++++--- - 2 files changed, 7 insertions(+), 3 deletions(-) - -commit 0bb21c41598380bcf228a258368ac643c5b66cae -Author: Guillem Jover -Date: Wed Apr 8 06:04:58 2015 +0200 - - man: Use .IP and .br instead of .PP and .in +5 - - man/deb-triggers.5 | 28 ++++++++++------------------ - 1 file changed, 10 insertions(+), 18 deletions(-) - -commit 1c7fbcdb7ca2175658d0d8d6ec2b6ab2582bdc09 -Author: Guillem Jover -Date: Tue Apr 7 05:23:44 2015 +0200 - - man: Fix option values and pathname markup in dpkg-deb(1) - - debian/changelog | 1 + - man/dpkg-deb.1 | 29 +++++++++++++++-------------- - 2 files changed, 16 insertions(+), 14 deletions(-) - -commit 961545d6a5835ffe6f22266e8f7bf68f118efe5e -Author: Guillem Jover -Date: Tue Apr 7 05:17:35 2015 +0200 - - man: Say control-field-name instead of control-file-field in dpkg-deb(1) - - debian/changelog | 1 + - man/dpkg-deb.1 | 4 ++-- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit a786f2c8c8a669fe4b723f641ceb49df53a3d122 -Author: Guillem Jover -Date: Mon Apr 6 23:39:22 2015 +0200 - - man: Say archive instead of filename for dpkg-deb option in dpkg(1) - - debian/changelog | 1 + - man/dpkg.1 | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 023e0d4f2f98af7f9b1cbc3d905cd8cdc586c924 -Author: Guillem Jover -Date: Mon Apr 6 23:38:17 2015 +0200 - - man: Say output instead of display for dpkg-deb tar-file option - - debian/changelog | 1 + - man/dpkg.1 | 3 +-- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 9a15bba98030d93613f69cf145c060c658a5017a -Author: Guillem Jover -Date: Mon Apr 6 23:36:27 2015 +0200 - - man: Add missing period to a sentence in dselect(1) - - man/dselect.1 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 280274123fbadcd3051f997fd8bf57546fa2b18e -Author: Guillem Jover -Date: Mon Apr 6 23:34:41 2015 +0200 - - man: Mark dselect(1) color attributes in bold - - debian/changelog | 1 + - man/dselect.1 | 3 ++- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 786fc80f2d66b77915cead6155ec5cc464a10c6b -Author: Guillem Jover -Date: Mon Apr 6 23:32:49 2015 +0200 - - man: Lowercase warning and note admonitions in s-s-d(8) - - debian/changelog | 1 + - man/start-stop-daemon.8 | 4 ++-- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit de997dd555c2fd16418e90c54f06ac105eb7ed39 -Author: Guillem Jover -Date: Mon Apr 6 23:30:37 2015 +0200 - - po: Unfuzzy translations - - dselect/po/bs.po | 108 ++++++------ - dselect/po/ca.po | 108 ++++++------ - dselect/po/cs.po | 108 ++++++------ - dselect/po/da.po | 108 ++++++------ - dselect/po/de.po | 108 ++++++------ - dselect/po/dselect.pot | 108 ++++++------ - dselect/po/el.po | 108 ++++++------ - dselect/po/es.po | 108 ++++++------ - dselect/po/et.po | 108 ++++++------ - dselect/po/eu.po | 108 ++++++------ - dselect/po/fr.po | 108 ++++++------ - dselect/po/gl.po | 108 ++++++------ - dselect/po/hu.po | 108 ++++++------ - dselect/po/id.po | 108 ++++++------ - dselect/po/it.po | 108 ++++++------ - dselect/po/ja.po | 108 ++++++------ - dselect/po/ko.po | 108 ++++++------ - dselect/po/nb.po | 108 ++++++------ - dselect/po/nl.po | 108 ++++++------ - dselect/po/nn.po | 108 ++++++------ - dselect/po/pl.po | 108 ++++++------ - dselect/po/pt.po | 108 ++++++------ - dselect/po/pt_BR.po | 108 ++++++------ - dselect/po/ro.po | 108 ++++++------ - dselect/po/ru.po | 108 ++++++------ - dselect/po/sk.po | 108 ++++++------ - dselect/po/sv.po | 108 ++++++------ - dselect/po/tl.po | 108 ++++++------ - dselect/po/vi.po | 108 ++++++------ - dselect/po/zh_CN.po | 108 ++++++------ - dselect/po/zh_TW.po | 108 ++++++------ - po/ast.po | 418 ++++++++++++++++++++++---------------------- - po/bs.po | 417 ++++++++++++++++++++++---------------------- - po/ca.po | 417 ++++++++++++++++++++++---------------------- - po/cs.po | 417 ++++++++++++++++++++++---------------------- - po/da.po | 417 ++++++++++++++++++++++---------------------- - po/de.po | 420 ++++++++++++++++++++++---------------------- - po/dpkg.pot | 415 ++++++++++++++++++++++---------------------- - po/dz.po | 418 ++++++++++++++++++++++---------------------- - po/el.po | 418 ++++++++++++++++++++++---------------------- - po/eo.po | 417 ++++++++++++++++++++++---------------------- - po/es.po | 417 ++++++++++++++++++++++---------------------- - po/et.po | 418 ++++++++++++++++++++++---------------------- - po/eu.po | 417 ++++++++++++++++++++++---------------------- - po/fr.po | 417 ++++++++++++++++++++++---------------------- - po/gl.po | 418 ++++++++++++++++++++++---------------------- - po/hu.po | 453 ++++++++++++++++++++++++------------------------ - po/id.po | 452 +++++++++++++++++++++++------------------------ - po/it.po | 417 ++++++++++++++++++++++---------------------- - po/ja.po | 442 +++++++++++++++++++++++----------------------- - po/km.po | 418 ++++++++++++++++++++++---------------------- - po/ko.po | 452 +++++++++++++++++++++++------------------------ - po/ku.po | 418 ++++++++++++++++++++++---------------------- - po/lt.po | 418 ++++++++++++++++++++++---------------------- - po/mr.po | 418 ++++++++++++++++++++++---------------------- - po/nb.po | 418 ++++++++++++++++++++++---------------------- - po/ne.po | 418 ++++++++++++++++++++++---------------------- - po/nl.po | 418 ++++++++++++++++++++++---------------------- - po/nn.po | 418 ++++++++++++++++++++++---------------------- - po/pa.po | 418 ++++++++++++++++++++++---------------------- - po/pl.po | 417 ++++++++++++++++++++++---------------------- - po/pt.po | 417 ++++++++++++++++++++++---------------------- - po/pt_BR.po | 418 ++++++++++++++++++++++---------------------- - po/ro.po | 418 ++++++++++++++++++++++---------------------- - po/ru.po | 417 ++++++++++++++++++++++---------------------- - po/sk.po | 417 ++++++++++++++++++++++---------------------- - po/sv.po | 417 ++++++++++++++++++++++---------------------- - po/th.po | 442 +++++++++++++++++++++++----------------------- - po/tl.po | 418 ++++++++++++++++++++++---------------------- - po/tr.po | 417 ++++++++++++++++++++++---------------------- - po/vi.po | 442 +++++++++++++++++++++++----------------------- - po/zh_CN.po | 417 ++++++++++++++++++++++---------------------- - po/zh_TW.po | 417 ++++++++++++++++++++++---------------------- - scripts/po/ca.po | 94 +++++----- - scripts/po/de.po | 94 +++++----- - scripts/po/dpkg-dev.pot | 94 +++++----- - scripts/po/es.po | 94 +++++----- - scripts/po/fr.po | 94 +++++----- - scripts/po/pl.po | 96 +++++----- - scripts/po/ru.po | 96 +++++----- - scripts/po/sv.po | 94 +++++----- - 81 files changed, 10814 insertions(+), 11003 deletions(-) - -commit d465dca48fb9c7c03aedf6fd8f266d22085d2bec -Author: Guillem Jover -Date: Fri Feb 27 09:44:08 2015 +0100 - - Consistently use proper quotation marks all over the place - - That is "" or '', and not the unbalanced `' pair. - - TODO | 2 +- - debian/changelog | 2 + - debian/dpkg-dev.preinst | 2 +- - debian/dpkg.postinst | 2 +- - debian/dpkg.postrm | 2 +- - debian/dpkg.preinst | 2 +- - debian/dpkg.prerm | 2 +- - debian/dselect.preinst | 2 +- - dpkg-deb/build.c | 28 ++++++------ - dpkg-deb/extract.c | 7 +-- - dpkg-deb/info.c | 18 ++++---- - dpkg-deb/main.c | 6 +-- - dpkg-split/info.c | 44 +++++++++++-------- - dpkg-split/join.c | 8 ++-- - dpkg-split/main.c | 4 +- - dpkg-split/queue.c | 25 ++++++----- - dpkg-split/split.c | 4 +- - dselect/basecmds.cc | 4 +- - dselect/helpmsgs.cc | 66 ++++++++++++++--------------- - dselect/main.cc | 7 +-- - dselect/methlist.cc | 2 +- - dselect/methods/multicd/install | 2 +- - dselect/methparse.cc | 29 +++++++------ - dselect/pkginfo.cc | 2 +- - lib/dpkg/arch.c | 4 +- - lib/dpkg/atomic-file.c | 6 +-- - lib/dpkg/dbmodify.c | 19 +++++---- - lib/dpkg/dump.c | 2 +- - lib/dpkg/fields.c | 46 ++++++++++---------- - lib/dpkg/options.c | 8 ++-- - lib/dpkg/parse.c | 20 ++++----- - lib/dpkg/parsehelp.c | 2 +- - lib/dpkg/trigdeferred.l | 26 ++++++------ - lib/dpkg/triglib.c | 38 ++++++++--------- - lib/dpkg/utils.c | 6 +-- - scripts/Dpkg/Changelog/Entry/Debian.pm | 2 +- - scripts/Dpkg/Control/HashCore.pm | 2 +- - scripts/Dpkg/Source/Functions.pm | 2 +- - scripts/Dpkg/Source/Package.pm | 2 +- - scripts/Dpkg/Source/Package/V1.pm | 20 ++++----- - scripts/Dpkg/Source/Package/V2.pm | 15 ++++--- - scripts/Dpkg/Source/Package/V3/Bzr.pm | 10 ++--- - scripts/Dpkg/Source/Package/V3/Custom.pm | 2 +- - scripts/Dpkg/Source/Package/V3/Git.pm | 8 ++-- - scripts/Dpkg/Source/Package/V3/Native.pm | 6 +-- - scripts/Dpkg/Source/Package/V3/Quilt.pm | 2 +- - scripts/Dpkg/Source/Patch.pm | 29 +++++++------ - scripts/Dpkg/Source/Quilt.pm | 2 +- - scripts/Dpkg/Substvars.pm | 2 +- - scripts/Dpkg/Version.pm | 2 +- - scripts/dpkg-architecture.pl | 2 +- - scripts/dpkg-buildflags.pl | 2 +- - scripts/dpkg-distaddfile.pl | 2 +- - scripts/dpkg-genchanges.pl | 2 +- - scripts/dpkg-gencontrol.pl | 12 +++--- - scripts/dpkg-gensymbols.pl | 2 +- - scripts/dpkg-name.pl | 2 +- - scripts/dpkg-parsechangelog.pl | 2 +- - scripts/dpkg-scanpackages.pl | 2 +- - scripts/dpkg-scansources.pl | 2 +- - scripts/dpkg-shlibdeps.pl | 14 +++--- - scripts/dpkg-source.pl | 8 ++-- - scripts/dpkg-vendor.pl | 2 +- - src/archives.c | 73 ++++++++++++++++---------------- - src/cleanup.c | 9 ++-- - src/configure.c | 12 +++--- - src/divertcmd.c | 14 +++--- - src/divertdb.c | 2 +- - src/filesdb.c | 6 +-- - src/infodb-access.c | 2 +- - src/infodb-upgrade.c | 10 ++--- - src/main.c | 8 ++-- - src/packages.c | 2 +- - src/querycmd.c | 4 +- - src/remove.c | 12 +++--- - src/script.c | 12 +++--- - src/statcmd.c | 4 +- - src/trigcmd.c | 2 +- - src/unpack.c | 20 ++++----- - utils/update-alternatives.c | 12 +++--- - 80 files changed, 421 insertions(+), 392 deletions(-) - -commit 9929591b148577bec771400e003c820afcb9175d -Author: Guillem Jover -Date: Sat Feb 28 17:44:00 2015 +0100 - - Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 662 ++-- - dselect/po/ca.po | 709 ++-- - dselect/po/cs.po | 709 ++-- - dselect/po/da.po | 711 ++-- - dselect/po/de.po | 713 ++-- - dselect/po/dselect.pot | 621 ++-- - dselect/po/el.po | 693 ++-- - dselect/po/es.po | 709 ++-- - dselect/po/et.po | 693 ++-- - dselect/po/eu.po | 709 ++-- - dselect/po/fr.po | 709 ++-- - dselect/po/gl.po | 698 ++-- - dselect/po/hu.po | 673 ++-- - dselect/po/id.po | 698 ++-- - dselect/po/it.po | 698 ++-- - dselect/po/ja.po | 709 ++-- - dselect/po/ko.po | 698 ++-- - dselect/po/nb.po | 709 ++-- - dselect/po/nl.po | 709 ++-- - dselect/po/nn.po | 693 ++-- - dselect/po/pl.po | 709 ++-- - dselect/po/pt.po | 709 ++-- - dselect/po/pt_BR.po | 698 ++-- - dselect/po/ro.po | 698 ++-- - dselect/po/ru.po | 709 ++-- - dselect/po/sk.po | 709 ++-- - dselect/po/sv.po | 709 ++-- - dselect/po/tl.po | 693 ++-- - dselect/po/vi.po | 709 ++-- - dselect/po/zh_CN.po | 698 ++-- - dselect/po/zh_TW.po | 709 ++-- - man/po/de.po | 3491 ++++++++++++++----- - man/po/dpkg-man.pot | 6606 ++++++++++++++++++----------------- - man/po/es.po | 8023 +++++++++++++++++++++++++------------------ - man/po/fr.po | 8679 ++++++++++++++++++++++++++++------------------ - man/po/hu.po | 6942 +++++++++++++++++++------------------ - man/po/it.po | 8360 ++++++++++++++++++++++++++------------------ - man/po/ja.po | 8035 +++++++++++++++++++++++++------------------ - man/po/pl.po | 8033 +++++++++++++++++++++++++------------------ - man/po/pt_BR.po | 6803 +++++++++++++++++++----------------- - man/po/ru.po | 6925 +++++++++++++++++++------------------ - man/po/sv.po | 8751 +++++++++++++++++++++++++++++------------------ - man/po/zh_CN.po | 6908 ++++++++++++++++++++----------------- - po/ast.po | 2447 ++++++------- - po/bs.po | 2368 +++++++------ - po/ca.po | 2445 ++++++------- - po/cs.po | 2439 ++++++------- - po/da.po | 2441 ++++++------- - po/de.po | 2442 ++++++------- - po/dpkg.pot | 2348 +++++++------ - po/dz.po | 2430 ++++++------- - po/el.po | 2437 ++++++------- - po/eo.po | 2439 ++++++------- - po/es.po | 2443 ++++++------- - po/et.po | 2407 ++++++------- - po/eu.po | 2439 ++++++------- - po/fr.po | 2443 ++++++------- - po/gl.po | 2439 ++++++------- - po/hu.po | 2423 ++++++------- - po/id.po | 2436 ++++++------- - po/it.po | 2441 ++++++------- - po/ja.po | 2437 ++++++------- - po/km.po | 2430 ++++++------- - po/ko.po | 2436 ++++++------- - po/ku.po | 2370 +++++++------ - po/lt.po | 2423 ++++++------- - po/mr.po | 2430 ++++++------- - po/nb.po | 2444 ++++++------- - po/ne.po | 2430 ++++++------- - po/nl.po | 2430 ++++++------- - po/nn.po | 2420 ++++++------- - po/pa.po | 2389 +++++++------ - po/pl.po | 2439 ++++++------- - po/pt.po | 2439 ++++++------- - po/pt_BR.po | 2438 ++++++------- - po/ro.po | 2438 ++++++------- - po/ru.po | 2439 ++++++------- - po/sk.po | 2440 ++++++------- - po/sv.po | 2439 ++++++------- - po/th.po | 2439 ++++++------- - po/tl.po | 2420 ++++++------- - po/tr.po | 2443 ++++++------- - po/vi.po | 2441 ++++++------- - po/zh_CN.po | 2439 ++++++------- - po/zh_TW.po | 2439 ++++++------- - scripts/po/ca.po | 1836 +++++----- - scripts/po/de.po | 371 +- - scripts/po/dpkg-dev.pot | 1454 ++++---- - scripts/po/es.po | 1740 +++++----- - scripts/po/fr.po | 1822 +++++----- - scripts/po/pl.po | 1825 +++++----- - scripts/po/ru.po | 1826 +++++----- - scripts/po/sv.po | 1825 +++++----- - 93 files changed, 121007 insertions(+), 102960 deletions(-) - -commit e5f2ffb3c2bae264482e705d7db7c7f1066d3908 -Author: Guillem Jover -Date: Mon Mar 9 23:49:42 2015 +0100 - - man: Use various groff escape sequences for quoting characters - - debian/changelog | 1 + - man/deb-control.5 | 61 ++++++++++++++++++++--------------- - man/deb-old.5 | 2 +- - man/deb-origin.5 | 2 +- - man/deb-src-control.5 | 60 +++++++++++++++++++--------------- - man/deb-symbols.5 | 6 ++-- - man/deb-triggers.5 | 14 ++++---- - man/deb-version.5 | 14 ++++---- - man/deb.5 | 4 +-- - man/dpkg-buildflags.1 | 16 ++++----- - man/dpkg-deb.1 | 4 +-- - man/dpkg-divert.1 | 4 +-- - man/dpkg-gensymbols.1 | 13 ++++---- - man/dpkg-maintscript-helper.1 | 2 +- - man/dpkg-name.1 | 19 +++++------ - man/dpkg-parsechangelog.1 | 9 +++--- - man/dpkg-query.1 | 18 ++++++----- - man/dpkg-shlibdeps.1 | 10 +++--- - man/dpkg-source.1 | 75 +++++++++++++++++++++++-------------------- - man/dpkg-statoverride.1 | 10 +++--- - man/dpkg.1 | 47 ++++++++++++++------------- - man/dpkg.cfg.5 | 2 +- - man/dselect.1 | 63 +++++++++++++++++++----------------- - man/dselect.cfg.5 | 2 +- - man/start-stop-daemon.8 | 2 +- - man/update-alternatives.1 | 5 +-- - 26 files changed, 253 insertions(+), 212 deletions(-) - -commit f19ad168659fe39efdcc4ce53dc0eea1190f3a3e -Author: Guillem Jover -Date: Sun Mar 8 23:23:37 2015 +0100 - - man: Mark field names in bold - - debian/changelog | 1 + - man/deb-control.5 | 8 ++++---- - man/dpkg-scanpackages.1 | 2 +- - 3 files changed, 6 insertions(+), 5 deletions(-) - -commit 48f05b0655d38fae51a45cbfa3269c1bb1464d91 -Author: Guillem Jover -Date: Sun Mar 8 23:20:07 2015 +0100 - - man: Separate multi-line hanging tag paragraphs with .TQ - - debian/changelog | 1 + - man/deb-control.5 | 1 + - man/dpkg-buildflags.1 | 4 +++- - 3 files changed, 5 insertions(+), 1 deletion(-) - -commit 4c8db8e1b96b10fef1ef956ee33fe3bf531983cf -Author: Guillem Jover -Date: Sun Mar 8 23:18:12 2015 +0100 - - man: Mark some words and commands as non-hyphenable - - debian/changelog | 1 + - man/deb-control.5 | 6 +++--- - man/deb-src-control.5 | 2 +- - man/dpkg-architecture.1 | 12 ++++++------ - man/dpkg-buildflags.1 | 6 +++--- - man/dpkg-buildpackage.1 | 4 ++-- - 6 files changed, 16 insertions(+), 15 deletions(-) - -commit 2a49e06717f9e4e7884df6741c5a462e6d920285 -Author: Guillem Jover -Date: Sat Mar 7 23:56:39 2015 +0100 - - man: Document that dpkg performs sanity checks on PATH - - debian/changelog | 1 + - man/dpkg.1 | 5 +++++ - 2 files changed, 6 insertions(+) - -commit 329e09e34f91b9efab4718b0d5d98c6c0d445779 -Author: Guillem Jover -Date: Fri Mar 6 23:44:55 2015 +0100 - - man: Document in dpkg-buildflags(1) that DEB_VENDOR influences the execution - - debian/changelog | 1 + - man/dpkg-buildflags.1 | 6 ++++++ - 2 files changed, 7 insertions(+) - -commit 2c3253a0fb9579206377c4531a596f7a24104222 -Author: Guillem Jover -Date: Tue Apr 7 20:17:59 2015 +0200 - - debian: Group changelog entries per type of change - - This should help to easily see related changes, or skip entire sections - if the reader is not interested. - - debian/changelog | 167 ++++++++++++++++++++++++++++--------------------------- - 1 file changed, 86 insertions(+), 81 deletions(-) - -commit 4d0426565fb665f42812ded7256c543293fdc606 -Author: Guillem Jover -Date: Tue Apr 7 08:47:46 2015 +0200 - - libdpkg: Add path-remove.c to POTFILES - - Missed in commit f603dc5d087325ba52807ec55777de485bc87128. - - po/POTFILES.in | 1 + - 1 file changed, 1 insertion(+) - -commit 4c1b9c849df104452feba43faf68bc04b0b868c2 -Author: Guillem Jover -Date: Fri Feb 27 09:46:52 2015 +0100 - - man: Document that dpkg-source is sometimes better than dpkg-buildpackage -S - - Suggested-by: Johannes Schauer - - debian/changelog | 2 ++ - man/dpkg-buildpackage.1 | 3 +++ - 2 files changed, 5 insertions(+) - -commit 292a21f821680f4ee6e1bbbf9b31d965a2b9a19a -Author: Guillem Jover -Date: Fri Feb 27 00:55:20 2015 +0100 - - scripts: Move "(default)" annotations in --help output after option description - - debian/changelog | 2 ++ - scripts/dpkg-buildpackage.pl | 6 +++--- - scripts/dpkg-genchanges.pl | 2 +- - 3 files changed, 6 insertions(+), 4 deletions(-) - -commit 34e90e894f489f73f4df094367ba2dda2915ffcc -Author: Guillem Jover -Date: Thu Feb 26 23:30:02 2015 +0100 - - dpkg-buildpackage: Make dependency checks fatal for -S - - When we are doing a source-only build the dependency checks are required - to be able to safely call the clean target. If the user also specifies - -nc then the dependency checks will be omitted. - - debian/changelog | 1 + - scripts/dpkg-buildpackage.pl | 8 +------- - 2 files changed, 2 insertions(+), 7 deletions(-) - -commit d198a81b12addaacf6d726f3334dea48e4598f43 -Author: Guillem Jover -Date: Thu Feb 26 23:17:28 2015 +0100 - - dpkg-buildpackage: Disable dependency checks on -S -nc - - If we are only doing a source build and request not to clean, then - there's no need to check the build dependencies, as clean is the only - thing in a source-only build that requires them. - - debian/changelog | 1 + - scripts/dpkg-buildpackage.pl | 2 ++ - 2 files changed, 3 insertions(+) - -commit 770965969c0ec9edc91ab9cdada5c97b022809dd -Author: Guillem Jover -Date: Thu Apr 2 23:56:02 2015 +0200 - - dpkg: Add --ctrl-tarfile forwarding command for dpkg-deb - - debian/changelog | 1 + - man/dpkg.1 | 2 ++ - src/main.c | 6 ++++-- - 3 files changed, 7 insertions(+), 2 deletions(-) - -commit f79acb2abcecc8aa8e28ca85e149789aa98fc723 -Author: Guillem Jover -Date: Fri Feb 27 11:05:50 2015 +0100 - - man: Document that timestamps are reset for format 3.0 (quilt) too - - Prompted-by: Niko Tyni (in #759404) - - debian/changelog | 2 ++ - man/dpkg-source.1 | 4 ++++ - 2 files changed, 6 insertions(+) - -commit cd9def7469966513036a4db842d74112a2627703 -Author: Guillem Jover -Date: Tue Feb 24 23:47:06 2015 +0100 - - man: Document version when new features were introduced - - This should make it easier for people to know when it is safe to use - a feature, or if those features are available in older versions, for - example when backporting packages. - - debian/changelog | 1 + - man/deb-symbols.5 | 6 ++- - man/dpkg-architecture.1 | 5 ++- - man/dpkg-buildflags.1 | 7 ++-- - man/dpkg-buildpackage.1 | 71 +++++++++++++++++++++------------- - man/dpkg-checkbuilddeps.1 | 16 ++++---- - man/dpkg-deb.1 | 15 +++++--- - man/dpkg-divert.1 | 3 +- - man/dpkg-genchanges.1 | 19 +++++---- - man/dpkg-gencontrol.1 | 6 +-- - man/dpkg-query.1 | 11 ++++-- - man/dpkg-scanpackages.1 | 16 +++++--- - man/dpkg-scansources.1 | 12 ++++-- - man/dpkg-shlibdeps.1 | 22 +++++++---- - man/dpkg-source.1 | 98 ++++++++++++++++++++++++++++++----------------- - man/dpkg-trigger.1 | 4 +- - man/dpkg.1 | 72 ++++++++++++++++++++-------------- - man/start-stop-daemon.8 | 25 +++++++----- - man/update-alternatives.1 | 11 +++--- - 19 files changed, 258 insertions(+), 162 deletions(-) - -commit 9271979407212c5f7f28bb3b97b3dd9a34d1c1c5 -Author: Guillem Jover -Date: Wed Apr 1 20:46:58 2015 +0200 - - man: Properly terminate a bold marking in dpkg(1) - - debian/changelog | 1 + - man/dpkg.1 | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit d0cac1673a0f0c23d7e13de963ce9f3910a297fe -Author: Guillem Jover -Date: Thu Mar 5 23:59:04 2015 +0100 - - man: Place short options before long ones - - debian/changelog | 2 ++ - dselect/main.cc | 12 ++++++------ - man/dpkg-mergechangelogs.1 | 2 +- - man/dselect.1 | 2 +- - 4 files changed, 10 insertions(+), 8 deletions(-) - -commit ce65b8610bf1cee865d64e072f0a018b02d8dad0 -Author: Guillem Jover -Date: Fri Apr 3 04:12:59 2015 +0200 - - man: Mark --format values in bold - - debian/changelog | 1 + - man/dpkg-parsechangelog.1 | 4 ++-- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit 889fa8de40c5b4a5c55ab9496cbc95c32299bea2 -Author: Guillem Jover -Date: Fri Oct 10 14:48:40 2014 +0200 - - man: Move description of --all option as the first range option - - man/dpkg-parsechangelog.1 | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -commit f650c023943601bf6386a24ede9b409986e590e8 -Author: Guillem Jover -Date: Fri Oct 10 14:48:40 2014 +0200 - - man: Capitalize dpkg-parsechangelog option dscriptions - - debian/changelog | 1 + - man/dpkg-parsechangelog.1 | 14 +++++++------- - 2 files changed, 8 insertions(+), 7 deletions(-) - -commit c91c10793d4aa7279e487dd8525a2237b13b1303 -Author: Guillem Jover -Date: Sun Apr 5 06:40:06 2015 +0200 - - dselect: Document -? option - - debian/changelog | 1 + - dselect/main.cc | 4 ++-- - man/dselect.1 | 2 +- - 3 files changed, 4 insertions(+), 3 deletions(-) - -commit afdcbb5b2138b7cc8fb47edcb42c1fb11aa4ffc3 -Author: Guillem Jover -Date: Sun Apr 5 06:22:43 2015 +0200 - - dselect: Improve color-spec --help output - - debian/changelog | 1 + - dselect/main.cc | 23 ++++++++++++----------- - man/dselect.1 | 2 +- - 3 files changed, 14 insertions(+), 12 deletions(-) - -commit 99bc249f9f8ad94a3f11b0a57f2c261267f3c989 -Author: Guillem Jover -Date: Sun Apr 5 05:24:44 2015 +0200 - - dselect: Improve commands listing in --help output - - Print them before options and list them one on each line with a - description. - - debian/changelog | 2 ++ - dselect/main.cc | 9 +++++---- - 2 files changed, 7 insertions(+), 4 deletions(-) - -commit f602b6017b6c7ffe4f807f83c06ff46e673c7d2c -Author: Guillem Jover -Date: Sun Apr 5 06:08:23 2015 +0200 - - dselect: Say command instead of action - - debian/changelog | 1 + - dselect/main.cc | 4 ++-- - man/dselect.1 | 18 +++++++++--------- - 3 files changed, 12 insertions(+), 11 deletions(-) - -commit d96afaf15c1f4e343aad1af8dfc95c7bdaef5c48 -Author: Guillem Jover -Date: Fri Oct 10 14:48:40 2014 +0200 - - dpkg-parsechangelog: Rename changelogfile argument to changelog-file - - This makes the name consistent with all other instances in the code - base. - - debian/changelog | 1 + - scripts/changelog/debian.pl | 6 +++--- - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit 148c86fcdff45fbf97c114505d6f8039b52d7d94 -Author: Guillem Jover -Date: Fri Oct 10 14:48:40 2014 +0200 - - dpkg-parsechangelog: Normalize command-line parsing - - This allows them to accept «-ovalue», «-o value», «--option=value» and - «--option value», which are the common option formats people expect. - - Closes: #693951 - - debian/changelog | 3 ++ - man/dpkg-parsechangelog.1 | 24 +++++---- - scripts/changelog/debian.pl | 38 ++++++-------- - scripts/dpkg-parsechangelog.pl | 114 +++++++++++++++++++++-------------------- - 4 files changed, 94 insertions(+), 85 deletions(-) - -commit 767035bc168e2d85a52dd0ff499706f821053ec3 (nthykier/master) -Author: Helge Kreutzmann -Date: Wed Apr 1 18:31:01 2015 +0200 - - Update German translation of manual pages - - Update to 2376t. - - man/po/de.po | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- - 1 file changed, 89 insertions(+), 6 deletions(-) - -commit 996ead57b175935fdfcc524974082a50c52f7047 -Author: Guillem Jover -Date: Thu Feb 26 02:05:50 2015 +0100 - - debian: Fix typo in changelog - - debian/changelog | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 6edbe55eba1656cc0b29bf4bf40dd915b5c1d5a6 -Author: Guillem Jover -Date: Wed Feb 25 23:32:37 2015 +0100 - - build: Remove unused AC_CHECK_DECLS for strnlen - - This is not used since we moved away from the original strnlen.h header - in commit d73c292dab981991d73bb3678b0ee13f664c869a. - - configure.ac | 1 - - 1 file changed, 1 deletion(-) - -commit 30b1eb3d4e4b68f9da82f2bec098796386864376 -Author: Guillem Jover -Date: Wed Feb 4 18:46:12 2015 +0100 - - libcompat: Check that HAVE_DECL_SYS_SIGLIST is 0 instead of undefined - - Cherry picked from commit 4e872b317ef6d69d3daab1058ddfa7a8940a06a6. - - For declarations the autoconf test always defines the preprocessor - symbol to either 0 or 1, contrary to other tests where it's either - undefined or 1. - - Closes: #777044 - Based-on-patch-by: Alex Potapenko - - debian/changelog | 3 +++ - lib/compat/strsignal.c | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit caf11a34878e3f1ac7fe883be6c993e8fcef121a -Author: Guillem Jover -Date: Mon Feb 2 23:37:28 2015 +0100 - - dpkg-statoverride: Do not accept unknown user or group names on --add - - Cherry picked from commit 5c58085b746d234066ea94d386182cfc72c612ba. - - We should not allow adding user or group names to the database that do - not exist in the system passwd database, as the main dpkg program uses - strict parsing and will fail with an unrecoverable fatal error if it - cannot find a matching name for a uid/gid. - - Regression introduced in commit e4d6db177fad401ddc8432cf0e2c64e4fcf7bc0d, - where we went from too strict to too lax parsing. - - Closes: #775124 - - debian/changelog | 2 ++ - src/statcmd.c | 10 ++++------ - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit c005f4e35a4f91a250cb0108ab5644ce7e1d064c -Author: Guillem Jover -Date: Tue Oct 21 22:43:55 2014 +0200 - - Dpkg::Vendor::Debian: Add sanitize feature area - - This feature area includes the features “address”, “thread”, “leak” and - “undefined”, all disabled by default. - - Cloess: #760741 - - debian/changelog | 3 +++ - man/dpkg-buildflags.1 | 27 ++++++++++++++++++++-- - scripts/Dpkg/Vendor/Debian.pm | 52 +++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 80 insertions(+), 2 deletions(-) - -commit fd9a1ad6a1b94e2e739f74ef0e556d0eda99dcc7 -Author: Guillem Jover -Date: Sun Feb 22 21:02:16 2015 +0100 - - Dpkg::Gettext: Add support for context functions - - scripts/Dpkg/Gettext.pm | 18 ++++++++++++++++++ - 1 file changed, 18 insertions(+) - -commit e88280bba6f2fbb5504159757a64a03b5a5424af -Author: Guillem Jover -Date: Sat Feb 21 23:46:34 2015 +0100 - - Dpkg::Gettext: Add support for $DEFAULT_TEXT_DOMAIN - - This allows to get localized messages even when the program has called - textdomain() with a different value than the one used in the Dpkg perl - modules. It also allows the user to set a different default domain name. - - debian/changelog | 2 ++ - scripts/Dpkg/Gettext.pm | 39 ++++++++++++++++++++++++++++++++------- - 2 files changed, 34 insertions(+), 7 deletions(-) - -commit 596c09c45952cebdd34dcaa42e5f29d1938ae4d7 -Author: Mathias Behrle -Date: Wed Feb 25 13:47:46 2015 +0100 - - dpkg-maintscript-helper: Support moving a conffile not being shipped - - When the conffile stops being shipped, it might make sense to move it - somewhere else to preserve it. Do not fail if the new conffile does not - exist. - - Closes: #767003 - Signed-off-by: Guillem Jover - - debian/changelog | 2 ++ - scripts/dpkg-maintscript-helper.sh | 4 +++- - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 4266c68bc4516d706544555026b00c5be759b24c -Author: Guillem Jover -Date: Sat Feb 21 17:00:06 2015 +0100 - - dpkg-maintscript-helper: Handle symlinks and pathnames ending in slash - - For symlinks, error out as the argument is obviously bogus. For - pathnames just strip the trailing slash, as this is a common way to - name directories. - - Closes: #771752 - - debian/changelog | 2 ++ - scripts/dpkg-maintscript-helper.sh | 4 +++- - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 595395466b0820b8231bb4ef373b976e9bb8152a -Author: Guillem Jover -Date: Fri Feb 20 02:16:10 2015 +0100 - - dpkg: Rework oldconffsetflags() into pkg_conffiles_mark_old() - - Change the signature to take a pkginfo instead of a list of conffiles. - And turn the while loop into a for loop. - - src/help.c | 21 ++++++++++++++------- - src/main.h | 2 +- - src/remove.c | 2 +- - src/unpack.c | 4 ++-- - src/verify.c | 2 +- - 5 files changed, 19 insertions(+), 12 deletions(-) - -commit ce4f0311e6e7a7b5125c4e881a0f2d3a8e1eea45 -Author: Guillem Jover -Date: Sun Apr 6 06:03:24 2014 +0200 - - dpkg-split: Parse deb control file directly from stdin - - This reduces the dpkg-deb calls to just one instead of one per field. In - addition we also reduce the parsing and dumping to a single instance. - - dpkg-split/split.c | 54 ++++++++++++++++++++++-------------------------------- - 1 file changed, 22 insertions(+), 32 deletions(-) - -commit 02d0c3228bbbd12a19bea77816ded88f7dd5f78e -Author: Guillem Jover -Date: Wed Mar 25 18:51:07 2015 +0100 - - libdpkg: Export parsedb functions in the map file - - These will be used soon by the dpkg programs. - - lib/dpkg/libdpkg.map | 5 +++++ - 1 file changed, 5 insertions(+) - -commit d6aeb1f2b3352c17a182e1db9dcca62000cc9623 -Author: Guillem Jover -Date: Fri Feb 20 00:33:14 2015 +0100 - - dpkg-deb: Use path_remove_tree() instead of direcly calling «rm -rf» - - dpkg-deb/info.c | 16 +--------------- - 1 file changed, 1 insertion(+), 15 deletions(-) - -commit f603dc5d087325ba52807ec55777de485bc87128 -Author: Guillem Jover -Date: Thu Feb 19 23:50:14 2015 +0100 - - libdpkg: Move path removal functions to path-remove module - - lib/dpkg/Makefile.am | 1 + - lib/dpkg/libdpkg.map | 4 ++ - lib/dpkg/path-remove.c | 143 +++++++++++++++++++++++++++++++++++++++++++++++++ - lib/dpkg/path.h | 8 +++ - src/archives.c | 35 ------------ - src/archives.h | 2 - - src/cleanup.c | 1 + - src/help.c | 65 ---------------------- - src/main.h | 3 -- - src/remove.c | 1 + - 10 files changed, 158 insertions(+), 105 deletions(-) - -commit ca2eb8ec82fd6450ad283279b8ad16c6b13b3433 -Author: Guillem Jover -Date: Thu Feb 19 23:57:19 2015 +0100 - - libdpkg: Rename ensure_pathname_nonexisting() to path_remove_tree() - - src/archives.c | 8 ++++---- - src/help.c | 9 +++++---- - src/main.h | 2 +- - src/remove.c | 4 ++-- - src/unpack.c | 4 ++-- - 5 files changed, 14 insertions(+), 13 deletions(-) - -commit cd552708022da5924c4066e1d4e462a461532f40 -Author: Guillem Jover -Date: Thu Feb 26 00:07:05 2015 +0100 - - libdpkg: Fix trig_activate_start() calling sequence comment - - lib/dpkg/triglib.c | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit ee6ff7f97b55026a3d4a5baaa8611723b05347fa -Author: Guillem Jover -Date: Wed Feb 25 23:59:17 2015 +0100 - - libdpkg: Duplicate trig_activating_name just once in trig_activate_start() - - Instead of on each *_start() function. This should also avoid mistakes - like the ones fixed in commit c39373bdc04c83e33f92bf374236bf04a894ae93. - - lib/dpkg/triglib.c | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 5c2e744fa8c69435d20eec4d3dcfcd66798edc43 -Author: Guillem Jover -Date: Wed Feb 25 23:50:00 2015 +0100 - - libdpkg: Rename struct symlinkList to tar_symlink_entry - - lib/dpkg/tarfn.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 0d458827e376719a11f24c158fb4cc83f06be064 -Author: Helge Kreutzmann -Date: Tue Mar 31 20:59:31 2015 +0200 - - Update German scripts translation - - Update to 547t. - - debian/changelog | 3 + - scripts/po/de.po | 1386 ++++++++++++++++++++++++++---------------------------- - 2 files changed, 674 insertions(+), 715 deletions(-) - -commit 9df9fbbfe26328f2392ecfde1b4f0c427c728392 -Author: Guillem Jover -Date: Wed Feb 18 20:02:02 2015 +0100 - - dselect: Improve available state sorting order strings - - Switch to use terms that are more common in package managers, and as - such should be more familiar to new users. - - debian/changelog | 1 + - dselect/pkgdisplay.cc | 12 ++++++------ - 2 files changed, 7 insertions(+), 6 deletions(-) - -commit 5ff29d575f5910ce861d587e96f288b1464a476b -Author: Guillem Jover -Date: Wed Feb 18 20:03:37 2015 +0100 - - Dpkg::Source::Patch: Add missing preposition in error message - - debian/changelog | 1 + - scripts/Dpkg/Source/Patch.pm | 3 ++- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit d23fc91c07075c8fe4b4d8da2076619e14cc22a3 -Author: Guillem Jover -Date: Wed Feb 18 18:43:14 2015 +0100 - - dpkg-genchanges: Clarify changes description open error - - debian/changelog | 1 + - scripts/dpkg-genchanges.pl | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit c97cd956ed6f0dc69f72915d2f7dc7303fff0d88 -Author: Guillem Jover -Date: Tue Feb 17 03:41:05 2015 +0100 - - dpkg-scanpackages: Merge the same warning messages into a single line - - debian/changelog | 1 + - scripts/dpkg-scanpackages.pl | 15 +++++++-------- - 2 files changed, 8 insertions(+), 8 deletions(-) - -commit d195b23cffcf807a35125869c7989ee1542ef61d -Author: Guillem Jover -Date: Tue Feb 17 03:17:19 2015 +0100 - - Say directory instead of dir in output messages - - debian/changelog | 1 + - dselect/methods/multicd/setup | 4 ++-- - scripts/Dpkg/Source/Functions.pm | 2 +- - scripts/Dpkg/Source/Package/V1.pm | 4 ++-- - scripts/dpkg-gencontrol.pl | 2 +- - scripts/dpkg-gensymbols.pl | 2 +- - scripts/dpkg-name.pl | 4 ++-- - scripts/dpkg-scanpackages.pl | 2 +- - src/remove.c | 2 +- - 9 files changed, 12 insertions(+), 11 deletions(-) - -commit 19d98528e6dd7dd4d82f3d1d564f443382fd5f99 -Author: Guillem Jover -Date: Tue Feb 17 01:34:37 2015 +0100 - - Use "" instead of "return" or "enter" in input prompts - - This should make it more clear we are talking about the key and not - something else. - - debian/changelog | 1 + - dselect/methods/ftp/setup.pl | 2 +- - scripts/dpkg-buildpackage.pl | 2 +- - utils/update-alternatives.c | 2 +- - 4 files changed, 4 insertions(+), 3 deletions(-) - -commit 453132199086db399401668a2c572b32c9f71717 -Author: Guillem Jover -Date: Tue Feb 17 01:19:08 2015 +0100 - - Expand EOF and eof into "end of file" in error messages - - debian/changelog | 1 + - dselect/methparse.cc | 15 ++++++++++----- - lib/dpkg/parse.c | 16 ++++++---------- - lib/dpkg/utils.c | 2 +- - scripts/Dpkg/Changelog/Debian.pm | 7 ++++--- - scripts/Dpkg/Control/HashCore.pm | 2 +- - src/configure.c | 2 +- - src/main.c | 3 ++- - src/select.c | 6 ++++-- - src/t/dpkg_divert.t | 6 ++++-- - 10 files changed, 34 insertions(+), 26 deletions(-) - -commit c6d00a09743e4fa4d531a341f0113c43a2669972 -Author: Guillem Jover -Date: Mon Feb 16 23:58:39 2015 +0100 - - scripts: Uppercase field names in error messages - - debian/changelog | 1 + - scripts/Dpkg/Control/Info.pm | 2 +- - scripts/Dpkg/Source/Package.pm | 3 ++- - 3 files changed, 4 insertions(+), 2 deletions(-) - -commit d1ca4be7f80e040a325c653336b6182c0ec024ee -Author: Guillem Jover -Date: Mon Feb 16 23:57:51 2015 +0100 - - dpkg-name: Say package instead of it in warning message - - debian/changelog | 1 + - scripts/dpkg-name.pl | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit a609805efa566bbe02485566e65bbac2dbf666f4 -Author: Guillem Jover -Date: Mon Feb 16 23:54:27 2015 +0100 - - Dpkg::Changelog::Parse: Say execute instead of exec in error message - - debian/changelog | 2 ++ - scripts/Dpkg/Changelog/Parse.pm | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 2a6d9275c0bdd44f306adf816cfcec95204d0e54 -Author: Guillem Jover -Date: Sun Feb 15 23:58:34 2015 +0100 - - libdpkg: Simplify namevalue parsing code - - This removes the special fallback value from the name/value table, - so that we cannot accidentally parse it as a valid value. - - dselect/pkgdisplay.cc | 1 - - lib/dpkg/fields.c | 87 ++++++++++++++++++++++++++++++------------------ - lib/dpkg/namevalue.c | 8 ++--- - lib/dpkg/namevalue.h | 2 -- - lib/dpkg/pkg-namevalue.c | 1 - - 5 files changed, 56 insertions(+), 43 deletions(-) - -commit e512a2cbae3727d2ede9060944bb532d998b3c00 -Author: Guillem Jover -Date: Sat Feb 14 23:56:25 2015 +0100 - - dpkg: Use dpkg_error_print() instead of explicitly printing a dpkg_error - - src/enquiry.c | 10 ++-------- - 1 file changed, 2 insertions(+), 8 deletions(-) - -commit 7614571bb8ef84ca6e4b6de4b93a9bcc2ebbef73 -Author: Guillem Jover -Date: Sat Feb 14 23:55:08 2015 +0100 - - libdpkg: Add new dpkg_error_print() function - - lib/dpkg/error.c | 18 ++++++++++++++++++ - lib/dpkg/error.h | 3 +++ - lib/dpkg/libdpkg.map | 1 + - 3 files changed, 22 insertions(+) - -commit 24ee92a45643e428717b052b50e91d62029ad71f -Author: Guillem Jover -Date: Fri Dec 21 10:25:36 2012 +0100 - - libdpkg: Change m_vasprintf() to assume it is more prone to succeed - - lib/dpkg/mlib.c | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -commit 670e9d691f0ca4d8dd1c693a8cb47218404f76ac -Author: Guillem Jover -Date: Sun Dec 2 21:52:29 2012 +0100 - - libdpkg: Factor out new m_vasprintf() from m_asprintf() - - lib/dpkg/dpkg.h | 2 ++ - lib/dpkg/libdpkg.map | 1 + - lib/dpkg/mlib.c | 18 ++++++++++++++---- - 3 files changed, 17 insertions(+), 4 deletions(-) - -commit 6b4ff833d2f171da3740f00e90b0613db72a5601 -Author: Guillem Jover -Date: Fri Feb 13 04:22:58 2015 +0100 - - dpkg-query: Do not fail on -W and -l when multiple arguments match a package - - We should not short-circuit on first match for a package, as that - produces bogus errors when the following arguments do match those - packages as well, either because they are repeated or because they - are sub or super-patterns. - - Closes: #588505 - - debian/changelog | 2 ++ - src/querycmd.c | 27 +++++++++++++++++++-------- - 2 files changed, 21 insertions(+), 8 deletions(-) - -commit 8f3f34cf26325a4cd9e0f3f53aaa113632ff9077 -Author: Guillem Jover -Date: Fri Feb 13 04:36:19 2015 +0100 - - dpkg-query: Use pkg_array_foreach() instead of ad-hoc traversal - - src/querycmd.c | 22 ++++------------------ - 1 file changed, 4 insertions(+), 18 deletions(-) - -commit 55553c41c15ddcf93b3c3a7ee42feccff4366bb9 -Author: Guillem Jover -Date: Fri Feb 13 04:30:54 2015 +0100 - - libdpkg: Add new pkg_array_foreach() function - - lib/dpkg/libdpkg.map | 1 + - lib/dpkg/pkg-array.c | 25 ++++++++++++++++++++++++- - lib/dpkg/pkg-array.h | 6 +++++- - 3 files changed, 30 insertions(+), 2 deletions(-) - -commit 0cf46b6e677ef5f64d6543db9786ba892229f44e -Author: Guillem Jover -Date: Thu Feb 12 02:49:13 2015 +0100 - - debian: Only use stackprotectorstrong when building with gcc >= 4.9 - - This allows to build the package on old systems, such as Debian wheezy. - - debian/changelog | 1 + - debian/rules | 6 ++++++ - 2 files changed, 7 insertions(+) - -commit dd0f24f2edd15342fbd5fedbfd2c269c71406315 -Author: Guillem Jover -Date: Wed Mar 11 20:03:05 2015 +0100 - - scripts/t: Ignore stderr from «dpkg --compare-versions» if it does not fail - - Since commit ed4ce62868d2d03d87b24741cae4ace5a0d6056a, the command will - emit warnings when using the deprecated operators '<' and '>'. - - scripts/t/Dpkg_Version.t | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -commit 01abe8afb95f4bafb1f192fb3fe451a95cd2e3f8 -Author: Guillem Jover -Date: Sun Feb 15 23:18:31 2015 +0100 - - perl: Rework use and exporter declarations - - Place 'use' strict and warnings first, then Exporter 'our' declarations, - then Test module imports, then system module imports, then Dpkg module - imports, then 'use' parent and overload pragmas, separated by a blank - line for each block. - - Split each exported symbol declaration into its own line to ease - modifications. - - dselect/methods/Dselect/Ftp.pm | 17 +++++++++++++---- - scripts/Dpkg.pm | 17 +++++++++++++++-- - scripts/Dpkg/Arch.pm | 32 ++++++++++++++++++++++---------- - scripts/Dpkg/BuildProfiles.pm | 8 ++++++-- - scripts/Dpkg/Changelog/Debian.pm | 3 ++- - scripts/Dpkg/Changelog/Entry/Debian.pm | 15 ++++++++++----- - scripts/Dpkg/Changelog/Parse.pm | 8 +++++--- - scripts/Dpkg/Checksums.pm | 10 ++++++---- - scripts/Dpkg/Compression.pm | 25 +++++++++++++++---------- - scripts/Dpkg/Compression/FileHandle.pm | 6 +++--- - scripts/Dpkg/Control.pm | 21 +++++++++++++++------ - scripts/Dpkg/Control/Changelog.pm | 1 + - scripts/Dpkg/Control/Fields.pm | 3 +-- - scripts/Dpkg/Control/FieldsCore.pm | 29 ++++++++++++++++++++--------- - scripts/Dpkg/Control/Types.pm | 16 +++++++++++++--- - scripts/Dpkg/Deps.pm | 13 +++++++++---- - scripts/Dpkg/Dist/Files.pm | 4 ++-- - scripts/Dpkg/ErrorHandling.pm | 20 +++++++++++++++----- - scripts/Dpkg/Exit.pm | 7 +++++-- - scripts/Dpkg/File.pm | 9 ++++++--- - scripts/Dpkg/Getopt.pm | 4 +++- - scripts/Dpkg/Gettext.pm | 8 +++++++- - scripts/Dpkg/IPC.pm | 11 +++++++---- - scripts/Dpkg/Package.pm | 8 +++++--- - scripts/Dpkg/Path.pm | 16 +++++++++++----- - scripts/Dpkg/Shlibs.pm | 10 +++++++--- - scripts/Dpkg/Shlibs/Cppfilt.pm | 11 +++++++---- - scripts/Dpkg/Shlibs/Objdump.pm | 4 ++-- - scripts/Dpkg/Shlibs/Symbol.pm | 3 ++- - scripts/Dpkg/Source/Archive.pm | 10 +++++----- - scripts/Dpkg/Source/Functions.pm | 10 +++++++--- - scripts/Dpkg/Source/Package.pm | 19 ++++++++++--------- - scripts/Dpkg/Source/Package/V1.pm | 12 ++++++------ - scripts/Dpkg/Source/Package/V2.pm | 20 ++++++++++---------- - scripts/Dpkg/Source/Package/V3/Bzr.pm | 4 ++-- - scripts/Dpkg/Source/Package/V3/Custom.pm | 4 ++-- - scripts/Dpkg/Source/Package/V3/Git.pm | 4 ++-- - scripts/Dpkg/Source/Package/V3/Native.pm | 8 ++++---- - scripts/Dpkg/Source/Package/V3/Quilt.pm | 8 ++++---- - scripts/Dpkg/Source/Patch.pm | 10 +++++----- - scripts/Dpkg/Source/Quilt.pm | 12 ++++++------ - scripts/Dpkg/Substvars.pm | 6 +++--- - scripts/Dpkg/Util.pm | 9 +++++++-- - scripts/Dpkg/Vars.pm | 9 ++++++--- - scripts/Dpkg/Vendor.pm | 14 ++++++++++---- - scripts/Dpkg/Vendor/Debian.pm | 4 ++-- - scripts/Dpkg/Version.pm | 26 ++++++++++++++++++-------- - scripts/Test/Dpkg.pm | 4 +++- - scripts/dpkg-distaddfile.pl | 1 + - scripts/dpkg-genchanges.pl | 1 + - scripts/dpkg-mergechangelogs.pl | 6 +++--- - scripts/dpkg-source.pl | 8 ++++---- - scripts/t/Dpkg_Control.t | 1 + - scripts/t/Dpkg_Shlibs.t | 1 + - 54 files changed, 358 insertions(+), 192 deletions(-) - -commit 046ad868331a9f1581837404449b4320e6d09c36 -Author: Guillem Jover -Date: Thu Feb 12 01:34:14 2015 +0100 - - Dpkg::Gettext: Use parenthesis on carp call to tell perl it is a function - - Because we are using 'require' instead of 'use', perl does not know that - the symbol is a function instead of a bareword. - - scripts/Dpkg/Gettext.pm | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 19966da8950830948181ee707858384d3a11effb -Author: Guillem Jover -Date: Wed Feb 11 06:50:35 2015 +0100 - - dpkg-statoverride: Set the SE Linux context on --update - - When we update the file, we should apply the SE Linux context in the - same way we are doing while unpacking binary packages. - - Closes: #690361 - - debian/changelog | 1 + - src/Makefile.am | 5 +++++ - src/statcmd.c | 4 ++++ - 3 files changed, 10 insertions(+) - -commit ad959d4c7bced43649b1aefc30beadc06f93111a -Author: Guillem Jover -Date: Wed Feb 11 06:46:42 2015 +0100 - - dpkg: Move SE Linux support into a separate file - - This will allow to use the code in dpkg-statoverride, and unclutters - the tar handling code. - - po/POTFILES.in | 1 + - src/Makefile.am | 1 + - src/archives.c | 99 +--------------------------------------- - src/main.h | 6 +++ - src/selinux.c | 139 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 5 files changed, 148 insertions(+), 98 deletions(-) - -commit 18bfaa4e7588e5607be04c0f64842190d95008a4 -Author: Guillem Jover -Date: Thu Dec 4 19:05:43 2014 +0100 - - debian: Remove old trigger related Breaks/Conflicts from dpkg - - debian/changelog | 1 + - debian/control | 42 +----------------------------------------- - debian/dpkg.lintian-overrides | 2 -- - 3 files changed, 2 insertions(+), 43 deletions(-) - -commit 2a9111dd62bdfb6c07683db62d7f67c5eec45f73 -Author: Helge Kreutzmann -Date: Wed Feb 11 20:34:03 2015 +0100 - - Update German translation of manual pages - - Update to 2366t. - - man/po/de.po | 627 +++++++++++++++++++++++++++++++---------------------------- - 1 file changed, 327 insertions(+), 300 deletions(-) - -commit 10ff6c4fc598dbc9697c825a8c8e1bf25caa2fcb -Author: Raphaël Hertzog -Date: Wed Feb 11 08:33:21 2015 +0100 - - debian: drop myself from Uploaders - - debian/changelog | 3 +++ - debian/control | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 473bd89d5163c2e247f391cf470cae84deba323d -Author: Guillem Jover -Date: Wed Feb 4 22:52:17 2015 +0100 - - doc: Bump DOT_GRAPH_MAX_NODES from 50 to 100 - - This avoids doxygen truncating the graphs due to too many nodes, and - the accompanying warnings. - - doc/Doxyfile.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e1e109ad87dab86d155524f02417fc20e2874d59 -Author: Guillem Jover -Date: Wed Nov 26 21:37:07 2014 +0100 - - build: Map % back to : - - Although we do not have any epochs (and should never need one!), it - serves as an example script for others to use. - - get-version | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 57554c38e9a2208a4c0e004b67ceda98b7439fda -Author: Guillem Jover -Date: Wed Nov 26 21:37:07 2014 +0100 - - build: Use tr instead of sed to map _ to ~ - - get-version | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit eb06339d12cc9797db9a6c069ab3d287db2102aa -Author: Guillem Jover -Date: Sun Feb 1 23:04:18 2015 +0100 - - Dpkg::BuildOptions: Fix typo - - scripts/Dpkg/BuildOptions.pm | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 5e97e572b749e111ef9cf1b796e6af06846b0092 -Author: Guillem Jover -Date: Wed Nov 26 21:35:18 2014 +0100 - - Dpkg::Source::Package: Add ‘.mailmap’ to the default ignore lists - - debian/changelog | 1 + - scripts/Dpkg/Source/Package.pm | 3 ++- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit d3d8d778d7e00eceb0073123caf6ca718ae9e82c -Author: Guillem Jover -Date: Tue Dec 16 18:25:29 2014 +0100 - - dpkg-deb: Add support for reading the archive from standard input - - All commands reading archives support this, except for --raw-extract - that does not. - - Closes: #616614 - Based-on-patch-by: Johannes Schauer - - debian/changelog | 3 +++ - dpkg-deb/extract.c | 8 +++++++- - man/dpkg-deb.1 | 8 ++++++++ - 3 files changed, 18 insertions(+), 1 deletion(-) - -commit c3972f49f90ed4cc94421c4be5af523df7dd23c4 -Author: Guillem Jover -Date: Sat Feb 7 20:41:46 2015 +0100 - - dpkg-deb: Fix compressor subprocess name - - This has not been a gzip-only compressor for a long time, update the - code to reflect this. - - dpkg-deb/build.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit dfb3c1b8f54352b3db05494ff408d42ead808ef6 -Author: Guillem Jover -Date: Sat Feb 7 20:02:52 2015 +0100 - - dpkg-deb: Avoid an intermediate variable for the version string - - dpkg-deb/build.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit b7c8836813228c4d7517dde292df7bca835ab0bb -Author: Guillem Jover -Date: Mon Feb 9 19:54:18 2015 +0100 - - dpkg: Fix --audit to report missing and empty architecture fields - - The parser always converts the value from DPKG_ARCH_NONE to - DPKG_ARCH_EMPTY, so we will handle both here to avoid any such - problem in the future. - - Regression introduced in commit 0238c795df88925c6579f740c7681ade22e88625. - - debian/changelog | 2 ++ - src/enquiry.c | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 753374a4e1fbbd013127b5c8cb832c7014f479a1 -Author: Guillem Jover -Date: Mon Feb 9 19:41:23 2015 +0100 - - libdpkg: Clarify that pkg_spec error messages should print empty architectures - - The error message should print the passed package specifier, even if the - architecture qualifier was empty, otherwise it could seem confusing. So - state that we only want to handle the DPKG_ARCH_NONE case, and implicitly - ignore DPKG_ARCH_EMPTY. - - lib/dpkg/pkg-spec.c | 14 +++++++++++--- - 1 file changed, 11 insertions(+), 3 deletions(-) - -commit b008da395dc30c0e59530ed4370134582d90ec65 -Author: Guillem Jover -Date: Sat Feb 7 20:00:06 2015 +0100 - - dpkg-deb: Handle properly missing and empty architecture fields - - The parser always converts the value from DPKG_ARCH_NONE to - DPKG_ARCH_EMPTY, so we will handle both here to avoid any such problem - in the future. - - Regression introduced in commit 0238c795df88925c6579f740c7681ade22e88625. - - debian/changelog | 2 ++ - dpkg-deb/build.c | 7 ++++++- - 2 files changed, 8 insertions(+), 1 deletion(-) - -commit 462714edc7c2244a06ee2b9ccd33f4064b692378 -Author: Guillem Jover -Date: Fri Feb 6 21:18:55 2015 +0100 - - dpkg-deb: Factor out check_control_file() from check_control_area() - - dpkg-deb/build.c | 26 +++++++++++++++++++++----- - 1 file changed, 21 insertions(+), 5 deletions(-) - -commit 59c4fca8bf9dfe6b3e35432abb09e3243e022f00 -Author: Guillem Jover -Date: Fri Feb 6 21:18:55 2015 +0100 - - dpkg-deb: Rename check_new_pkg() to check_control_area() - - dpkg-deb/build.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 2aeff6e069580bae18b0e936b140cedbb7befa18 -Author: Guillem Jover -Date: Fri Nov 14 17:34:10 2014 +0100 - - dpkg-deb, libdpkg: Fix short-lived memory leaks - - Closes: #769515 - - debian/changelog | 1 + - dpkg-deb/build.c | 2 ++ - dpkg-deb/info.c | 2 ++ - lib/dpkg/compress.c | 4 ++++ - 4 files changed, 9 insertions(+) - -commit b284e7dc76923be937d6402536674e65a1e2eddb -Author: Guillem Jover -Date: Sun Feb 8 03:59:37 2015 +0100 - - dpkg-deb: Rename pkg_get_pathname() to gen_dest_pathname_from_pkg() - - dpkg-deb/build.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit cde1ec7b97ebda0c110ad9eaab331e0d160b2766 -Author: Guillem Jover -Date: Sat Jan 31 17:12:06 2015 +0100 - - dpkg-deb: Move destination pathname generation into a new function - - Always allocate the pathname, and return NULL in case we cannot generate - one, delegating it to the code that parses the control file. - - dpkg-deb/build.c | 72 ++++++++++++++++++++++++++++++++++++-------------------- - 1 file changed, 46 insertions(+), 26 deletions(-) - -commit 7720ab422764ce9d24977ad541dc7ed825d933be -Author: Guillem Jover -Date: Sun Feb 8 23:32:34 2015 +0100 - - libdpkg: Do not silently eat a standalone ‘-’ in the command-line parser - - A single dash is commonly used to refer to standard input, and having - to use ‘--’ to stop the parser is very cumbersome. Besides, there's no - reason a standalone ‘-’ should be silently ignored. - - debian/changelog | 1 + - lib/dpkg/options.c | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 76bfda78aacf06ca01b9b4b813689193b21910dc -Author: Guillem Jover -Date: Thu Nov 6 21:09:24 2014 +0100 - - libdpkg: Trim whitespace from the end of config file lines - - This will stop passing strange spaces to the option handlers, and avoids - an unintelligible error message about unbalanced quotes when using quoted - arguments. - - Ref: #762031 - Reported-by: Christoph Biedl - - debian/changelog | 2 ++ - lib/dpkg/options.c | 10 ++++++---- - 2 files changed, 8 insertions(+), 4 deletions(-) - -commit 279a55c16156f8f9a232481e732fe900c07ae7a9 -Author: Guillem Jover -Date: Sun Nov 9 00:21:52 2014 +0100 - - dpkg: Add comment describing pkg_istobe values - - src/main.h | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 68c4b0b5268614a0d6a710627e8e42f90b7208b1 -Author: Guillem Jover -Date: Fri Jan 30 02:58:28 2015 +0100 - - man: Move man pages from section 8 to 1 - - These programs were moved from …/sbin/ to …/bin/ but the man pages - did not follow suit. - - debian/changelog | 2 ++ - debian/dpkg.manpages | 6 +++--- - man/Makefile.am | 6 +++--- - man/{dpkg-divert.8 => dpkg-divert.1} | 4 ++-- - man/{dpkg-statoverride.8 => dpkg-statoverride.1} | 4 ++-- - man/po/po4a.cfg | 6 +++--- - man/{update-alternatives.8 => update-alternatives.1} | 4 ++-- - 7 files changed, 17 insertions(+), 15 deletions(-) - -commit 365de3ae4de86f84ed2f028344980a6a592d5b35 -Author: Tomas Pospisek -Date: Thu Jan 29 23:53:01 2015 +0100 - - man: Document the obsolete dpkg --compare-versions operators in dpkg(1) - - [guillem@debian.org: - - Tiny wording and formatting tweaks. ] - - Closes: #776551 - Signed-off-by: Guillem Jover - - debian/changelog | 3 +++ - man/dpkg.1 | 4 +++- - 2 files changed, 6 insertions(+), 1 deletion(-) - -commit ed4ce62868d2d03d87b24741cae4ace5a0d6056a -Author: Guillem Jover -Date: Thu Jan 29 23:50:10 2015 +0100 - - dpkg: Warn on obsolete '<' and '>' operators in --compare-versions - - These have very confusing semantics, and for the same reason that they - should be avoided in package control data, they should be avoided on - the command-line. Emit a warning for unsuspecting users that might get - trapped by these operators. - - debian/changelog | 1 + - src/enquiry.c | 9 +++++++-- - 2 files changed, 8 insertions(+), 2 deletions(-) - -commit ce37b28cac7e6608f68646071f8e8bea957af339 -Author: Guillem Jover -Date: Sun Feb 8 04:03:09 2015 +0100 - - debian: Fix changelog formatting - - debian/changelog | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit f183e4d39ffacc90d8a3db9be54cc8be9b00bb8d -Author: Helge Kreutzmann -Date: Thu Jan 29 22:36:57 2015 +0100 - - Update German translation of manual pages - - Update to 2364t. - - debian/changelog | 3 + - man/po/de.po | 5314 ++++++++++++++++++++++++++++-------------------------- - 2 files changed, 2736 insertions(+), 2581 deletions(-) - -commit ae736c6f93f507f7b1e00b002e26d8bfcd62f72c -Author: Guillem Jover -Date: Wed Jan 28 21:29:19 2015 +0100 - - libdpkg: Make virtinfos a static variable - - Warned-by: clang - - lib/dpkg/pkg-format.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 39dac7ef6dd31823075d43a202a1a4a5ac13b98d -Author: Guillem Jover -Date: Wed Jan 28 21:28:26 2015 +0100 - - libdpkg: Mark functions as DPKG_ATTR_NORET - - Warned-by: clang - - lib/dpkg/command.h | 2 +- - lib/dpkg/compress.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 23a058153c9cf0be2cb49b41cf9581c7ccf6ee50 -Author: Guillem Jover -Date: Tue Jan 27 19:21:44 2015 +0100 - - dpkg-genchanges: Use strftime() instead of unportable «date -R» - - The latter is not specified in POSIX, and is not widely portable. - - We have to temporarily set LC_TIME to 'C', to get the output specified - by RFC-2822. - - debian/changelog | 2 ++ - scripts/dpkg-genchanges.pl | 8 ++++---- - 2 files changed, 6 insertions(+), 4 deletions(-) - -commit 67d6106e54018059092db674787dc6a2994f1379 -Author: Guillem Jover -Date: Tue Jan 27 18:05:36 2015 +0100 - - dpkg: Fix indentation - - src/unpack.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 3010654eeed22f91c7dd018482b4c814042a4a6d -Author: Guillem Jover -Date: Tue Jan 27 18:05:19 2015 +0100 - - libcompat: Remove dangling blank line - - lib/compat/alphasort.c | 1 - - 1 file changed, 1 deletion(-) - -commit 8c5be590854ff613ed234dcc8d1d24d7ed638626 -Author: Guillem Jover -Date: Mon Jan 26 17:05:18 2015 +0100 - - libdpkg: Remove unneeded braces in if statement - - lib/dpkg/tarfn.c | 10 ++++------ - 1 file changed, 4 insertions(+), 6 deletions(-) - -commit dbafc0431b45fca65ee2a4b2fff40fed918d1d23 -Author: Guillem Jover -Date: Mon Jan 26 17:01:10 2015 +0100 - - libdpkg: Remove useless trailing ‘;’ in for (;;) block - - lib/dpkg/tarfn.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit e66be31b1e40cf2b147c5940b860c72a7e85d81a -Author: Guillem Jover -Date: Sat Jan 24 01:40:04 2015 +0100 - - build: Add new gcc 5 warnings - - Warn on features not present in ISO C99 but present in ISO C11, - on sizeof for an array argument, on switch keyword with bool - values, and logical not on the left handside of a comparison. - - m4/dpkg-compiler.m4 | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 4ec629eaee8edf37d06cfada82eb5d59001a200a -Author: Guillem Jover -Date: Wed Jan 28 19:04:11 2015 +0100 - - build: Check for -Wformat-security with -Wformat - - This flag does not work anymore in gcc 5 w/o also passing -Wformat. - - m4/dpkg-compiler.m4 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1cf30e78ad84c3f0808d3dae6587cca910c1171f -Author: Guillem Jover -Date: Thu Jan 22 02:39:29 2015 +0100 - - build: Make va_copy check cross-compilable - - We are only checking if the va_copy symbol is available, do not try to - run the test program. - - debian/changelog | 2 ++ - m4/dpkg-funcs.m4 | 31 ++++++++++++++----------------- - 2 files changed, 16 insertions(+), 17 deletions(-) - -commit 5294116c6d0f290fd13096d3b70904159078ecf3 -Author: Guillem Jover -Date: Thu Jan 22 02:09:07 2015 +0100 - - build: When cross-building assume a working snprintf on SUS >= v3 - - SUSv2 and earlier had conflicting semantics with the C99 snprintf() - ones. Because we expect a C99 environment, assume that if we are using - SUSv3 or newer then we have a working snprintf() implementation. - - debian/changelog | 2 ++ - m4/dpkg-funcs.m4 | 19 +++++++++++++++++-- - 2 files changed, 19 insertions(+), 2 deletions(-) - -commit 950be3fcbdf373d43dea6f5b18fcf3c61747fd33 -Author: Guillem Jover -Date: Thu Jan 22 00:36:18 2015 +0100 - - build: Rework DPKG_C_C99 macro to define HAVE_C_C99 just once - - Use the opportunity to fix the indentation. - - m4/dpkg-compiler.m4 | 53 ++++++++++++++++++++++++++++++----------------------- - 1 file changed, 30 insertions(+), 23 deletions(-) - -commit a4938a097f33f22ccaef453ba015898f89ecd508 -Author: Guillem Jover -Date: Tue Jan 20 13:58:36 2015 +0100 - - build: Use mv instead of «cp -p» - - There's no point in preserving the file metadata if we are going to - overwrite it from a shell redirection. - - scripts/Makefile.am | 4 ++-- - scripts/mk/Makefile.am | 3 ++- - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit 04725ad2b4b9077f4af5bc3781519c08cb6eb069 -Author: Guillem Jover -Date: Tue Jan 20 13:57:29 2015 +0100 - - build: Always pass -f to rm calls - - scripts/Makefile.am | 2 +- - scripts/mk/Makefile.am | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 9ed7d4d47b73ffe67e1f7d31f899a1dfd43d490b -Author: Guillem Jover -Date: Tue Jan 20 02:37:20 2015 +0100 - - dpkg-gencontrol: Rework Installed-Size field default value computation - - Switch from «du» to File::Find, and accumulate size usage per filesystem - object, on 1 KiB units. Use the actual size only for regular files and - symlinks, and just 1 KiB for any other filesystem object type. - - This guarantees a constant and reproducible size regardless of the - build system filesystem being used. - - Document how the value is computed, and that it is just a size - approximation. - - Closes: #650077 - - debian/changelog | 4 ++++ - man/deb-substvars.5 | 19 ++++++++++++------- - scripts/dpkg-gencontrol.pl | 43 ++++++++++++++++++++++--------------------- - 3 files changed, 38 insertions(+), 28 deletions(-) - -commit d5bbe517c05e6e3712636726a1bcf7b22c3fd17b -Author: Guillem Jover -Date: Tue Jan 20 02:19:04 2015 +0100 - - Dpkg::Checksums: Switch from using programs to Digest modules - - This was one cause for portability problems, as the checksum programs - have different names on different systems, they also have different - output. - - Obsolete the program property, now that we are not making using any of - those programs. - - debian/changelog | 2 ++ - scripts/Dpkg/Checksums.pm | 58 ++++++++++++++++++++++++++--------------------- - 2 files changed, 34 insertions(+), 26 deletions(-) - -commit b021f2d380679e57b75cce508a35087bf3c7a71f -Author: Guillem Jover -Date: Mon Jan 19 20:41:53 2015 +0100 - - build: Wrap file references in man page PO files - - debian/changelog | 1 + - man/Makefile.am | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 2ed75691a974b8456b26d83e984c56e6933f8331 -Author: Guillem Jover -Date: Sun Jan 18 21:12:37 2015 +0100 - - build: Bump gettext version to 0.19 - - This allows us to use the new --add-location option with the file - argument, which will remove a huge amount diff noise on source code - changes, while still retaining the useful origin of the string. - - README | 2 +- - configure.ac | 2 +- - debian/changelog | 3 +++ - debian/control | 2 +- - dselect/po/Makevars | 5 +++-- - man/Makefile.am | 1 + - po/Makevars | 5 +++-- - scripts/po/Makevars | 5 +++-- - 8 files changed, 16 insertions(+), 9 deletions(-) - -commit 106b0a0b3f818293cc5cb2bb567ec687a4254b33 -Author: Guillem Jover -Date: Sun Jan 18 02:07:01 2015 +0100 - - scripts: Remove unused «use Dpkg» - - scripts/Dpkg/Changelog.pm | 1 - - scripts/Dpkg/Checksums.pm | 1 - - scripts/Dpkg/Source/Package/V2.pm | 1 - - scripts/Dpkg/Source/Package/V3/Bzr.pm | 1 - - scripts/Dpkg/Source/Package/V3/Custom.pm | 1 - - scripts/Dpkg/Source/Package/V3/Git.pm | 1 - - scripts/Dpkg/Source/Package/V3/Native.pm | 1 - - scripts/Dpkg/Source/Package/V3/Quilt.pm | 1 - - scripts/Dpkg/Source/Patch.pm | 1 - - scripts/t/Dpkg_Vendor.t | 1 - - 10 files changed, 10 deletions(-) - -commit b815aaeb6f28ee7027ea2a1c66262efa17d706a6 -Author: Guillem Jover -Date: Tue Jan 13 14:20:04 2015 +0100 - - dpkg-shlibdeps: Use dpkg-query instead of dpkg for --search - - This has the effect of honoring the admindir passed as an environment - variable, as dpkg sets the variable unconditionally, but dpkg-query - does honor it. - - Closes: #775258 - - debian/changelog | 2 ++ - scripts/dpkg-shlibdeps.pl | 6 +++--- - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit 79076f9b6161fec2e048f03b3daaa5b81bb723ab -Author: Guillem Jover -Date: Tue Dec 2 00:06:02 2014 +0100 - - dpkg-scansources: Fix perl uninitialized value usage on missing Binary field - - debian/changelog | 2 ++ - scripts/dpkg-scansources.pl | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 5604301adaa4c10c455a560407a01898adf7af9e -Author: Guillem Jover -Date: Wed Jan 28 03:46:15 2015 +0100 - - Dpkg::IPC: Document function signatures - - debian/changelog | 1 + - scripts/Dpkg/IPC.pm | 4 ++-- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit f25418fe3ae04d1a8d439dd14c4ab411ef1770ac -Author: Guillem Jover -Date: Fri Jan 2 19:33:25 2015 +0100 - - Dpkg::Util: Update comment to mention new implementations from List::Util - - scripts/Dpkg/Util.pm | 3 +++ - 1 file changed, 3 insertions(+) - -commit 0c388b9842662ec332642ac7e1344cd2d48c2dc4 -Author: Guillem Jover -Date: Mon Dec 1 23:51:59 2014 +0100 - - Dpkg::Source::Package::V2: Use TMPDIR instead of manually setting DIR - - debian/changelog | 2 ++ - scripts/Dpkg/Source/Package/V2.pm | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 44915e38da1f4e5fc692f0e5e24c0dee620eb965 -Author: Guillem Jover -Date: Mon Dec 1 23:47:56 2014 +0100 - - Dpkg::Source::Patch: Enable sub-second timestamps with Time::HiRes - - We should have a recent enough Perl now. - - debian/changelog | 1 + - scripts/Dpkg/Source/Patch.pm | 3 +-- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 5e59d94a17051b1185c591a1fc3eed00e3b01070 -Author: Guillem Jover -Date: Mon Dec 1 22:11:29 2014 +0100 - - perl: Switch from legacy File::Path functions to new ones - - Use make_path() instead of mkpath(), and remove_tree() instead of - rmtree(). - - debian/changelog | 1 + - dselect/methods/ftp/install.pl | 8 ++++---- - scripts/Dpkg/Source/Package/V2.pm | 8 ++++---- - scripts/Dpkg/Source/Patch.pm | 4 ++-- - scripts/dpkg-name.pl | 4 ++-- - 5 files changed, 13 insertions(+), 12 deletions(-) - -commit 200e5fd6572ca67d2d26c2da0c53ded782626225 -Author: Helmut Grohne -Date: Sat Dec 6 01:36:25 2014 +0100 - - Dpkg::Shlibs: Prefer multiarch paths to multilib ones - - Match the ld.so path resolution logic, by preferring multiarch paths - over multilib or cross paths. - - [guillem@debian.org: - - Adapt to current code. ] - - Closes: #772184 - Signed-off-by: Guillem Jover - - debian/changelog | 2 ++ - scripts/Dpkg/Shlibs.pm | 6 +++--- - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit 99c025a516ea775187e6834f2f37246297f1a304 -Author: Guillem Jover -Date: Sun Nov 30 21:54:00 2014 +0100 - - Dpkg::Shlibs: Split multiarch cross-compilation libraries from toolchain ones - - Split them so that we can mark the toolchain cross-compilation libraries - as deprecated, and in the future possibly just hide them by default. - - scripts/Dpkg/Shlibs.pm | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -commit 845d011793a67c211a3ed93ea399a95fc331808b -Author: Guillem Jover -Date: Sun Nov 30 21:54:00 2014 +0100 - - Dpkg::Shlibs: Do not use an intermediate library path variable - - Assign directly to @librarypaths when adding the cross-compilation - library paths. - - scripts/Dpkg/Shlibs.pm | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 0a297195aa68c7e5a5066d80504bc6e18887f97d -Author: Guillem Jover -Date: Sun Nov 30 21:54:00 2014 +0100 - - Dpkg::Shlibs: Detangle deprecated multilib paths into their own variables - - This will allow in the future to hide these by default and avoid - polluting the default paths. - - scripts/Dpkg/Shlibs.pm | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 9a005b87fce1fa542d8d033a0eecdb0a0aff0334 -Author: Guillem Jover -Date: Sun Nov 30 21:37:22 2014 +0100 - - Dpkg::Shlibs: Remove support for GCC_TARGET environment variable - - This was a temporary workaround for very old gcc toolchains. - - See: #453267 - - debian/changelog | 2 ++ - scripts/Dpkg/Shlibs.pm | 4 ---- - 2 files changed, 2 insertions(+), 4 deletions(-) - -commit 96e0d5d129fd963b3ef254580985c54bb717b5af -Author: Guillem Jover -Date: Sun Nov 23 21:19:44 2014 +0100 - - Dpkg::Shlibs: Move @librarypaths setup into new setup_library_paths() function - - This avoids inflicting the cost of the setup on any code loading the - module. It also makes it easier to unit test the module. - - scripts/Dpkg/Shlibs.pm | 97 ++++++++++++++++++++++++++++---------------------- - 1 file changed, 55 insertions(+), 42 deletions(-) - -commit fe4bec2900e867f4fc68622dfe035aaced0b2359 -Author: Guillem Jover -Date: Mon Jan 12 21:17:38 2015 +0100 - - Dpkg::Shlibs: Rename reset_library_paths() to blank_library_paths() - - This will allow to initialize the library paths to be an empty array, - instead of just resetting it after the fact, which means the new name - will make more sense. - - scripts/Dpkg/Shlibs.pm | 10 +++++----- - scripts/t/Dpkg_Shlibs.t | 4 ++-- - 2 files changed, 7 insertions(+), 7 deletions(-) - -commit cc8dcb869da29be73f969ec972f24356b6c038ce -Author: Guillem Jover -Date: Sun Nov 23 21:19:44 2014 +0100 - - test: Remove unused @save_paths variable - - scripts/t/Dpkg_Shlibs.t | 1 - - 1 file changed, 1 deletion(-) - -commit ea1357d0f153c9a0534ea301f7d7ef2262343249 -Author: Guillem Jover -Date: Sat Nov 22 23:59:39 2014 +0100 - - Dpkg: Use shift instead of @_ on single argument unpacking - - scripts/Dpkg/Arch.pm | 16 ++++++++-------- - scripts/Dpkg/BuildEnv.pm | 4 ++-- - scripts/Dpkg/BuildFlags.pm | 23 +++++++++++++++-------- - scripts/Dpkg/BuildOptions.pm | 2 +- - scripts/Dpkg/Changelog.pm | 8 ++++---- - scripts/Dpkg/Changelog/Entry.pm | 8 ++++---- - scripts/Dpkg/Changelog/Entry/Debian.pm | 26 +++++++++++++------------- - scripts/Dpkg/Checksums.pm | 7 ++++--- - scripts/Dpkg/Compression.pm | 6 +++--- - scripts/Dpkg/Compression/FileHandle.pm | 6 +++--- - scripts/Dpkg/Compression/Process.pm | 4 ++-- - scripts/Dpkg/Conf.pm | 2 +- - scripts/Dpkg/Control.pm | 2 +- - scripts/Dpkg/Control/FieldsCore.pm | 2 +- - scripts/Dpkg/Control/HashCore.pm | 2 +- - scripts/Dpkg/Deps.pm | 8 ++++---- - scripts/Dpkg/Dist/Files.pm | 2 +- - scripts/Dpkg/File.pm | 2 +- - scripts/Dpkg/Index.pm | 4 ++-- - scripts/Dpkg/Interface/Storable.pm | 2 +- - scripts/Dpkg/Shlibs.pm | 2 +- - scripts/Dpkg/Shlibs/Objdump.pm | 10 +++++----- - scripts/Dpkg/Shlibs/Symbol.pm | 2 +- - scripts/Dpkg/Shlibs/SymbolFile.pm | 8 ++++---- - scripts/Dpkg/Source/Archive.pm | 3 ++- - scripts/Dpkg/Source/Functions.pm | 8 ++++---- - scripts/Dpkg/Source/Package.pm | 12 ++++++------ - scripts/Dpkg/Source/Package/V1.pm | 3 ++- - scripts/Dpkg/Source/Package/V2.pm | 12 ++++++------ - scripts/Dpkg/Source/Package/V3/Quilt.pm | 4 ++-- - scripts/Dpkg/Source/Patch.pm | 4 ++-- - scripts/Dpkg/Source/Quilt.pm | 24 ++++++++++++------------ - scripts/Dpkg/Substvars.pm | 2 +- - scripts/Dpkg/Vendor/Default.pm | 2 +- - scripts/Dpkg/Vendor/Ubuntu.pm | 2 +- - scripts/Dpkg/Version.pm | 4 ++-- - scripts/dpkg-architecture.pl | 2 +- - scripts/dpkg-buildpackage.pl | 6 +++--- - scripts/dpkg-name.pl | 6 +++--- - scripts/dpkg-source.pl | 2 +- - scripts/t/Dpkg_Compression.t | 2 +- - scripts/t/Dpkg_Control.t | 2 +- - scripts/t/Dpkg_Deps.t | 2 +- - 43 files changed, 135 insertions(+), 125 deletions(-) - -commit 609750150cdf265ff8ed7477613ea319399cb0ad -Author: Guillem Jover -Date: Tue Nov 18 22:05:53 2014 +0100 - - Dpkg::Arch: Refactor table loading into a common function - - The loading is always the same, the difference is just in the parsing - logic. - - scripts/Dpkg/Arch.pm | 74 ++++++++++++++++++---------------------------------- - 1 file changed, 25 insertions(+), 49 deletions(-) - -commit add97a770e54a9f691f7abacc6eb5be876027645 -Author: Guillem Jover -Date: Tue Nov 18 22:05:53 2014 +0100 - - Dpkg::Arch: Assume abitable is always present - - Switch the conditional loading of the abitable to expect it to always - exist, and bump libdpkg-perl depends on dpkg to 1.16.3, the version - introducing the file. - - This will allow some refactoring. - - debian/changelog | 2 ++ - debian/control | 2 +- - scripts/Dpkg/Arch.pm | 18 ++++++------------ - 3 files changed, 9 insertions(+), 13 deletions(-) - -commit 061c572fdade80049d96db839d60d89e7387f607 -Author: Guillem Jover -Date: Tue Nov 18 23:56:10 2014 +0100 - - test: Move use strict and warnings as the first directives - - scripts/t/Dpkg_Arch.t | 4 ++-- - scripts/t/Dpkg_BuildOptions.t | 1 + - scripts/t/Dpkg_Changelog.t | 1 + - scripts/t/Dpkg_Deps.t | 1 + - scripts/t/Dpkg_IPC.t | 1 + - scripts/t/Dpkg_Substvars.t | 4 ++-- - scripts/t/Dpkg_Version.t | 1 + - scripts/t/merge_changelogs.t | 3 ++- - src/t/dpkg_divert.t | 8 +++++--- - utils/t/update_alternatives.t | 12 +++++++----- - 10 files changed, 23 insertions(+), 13 deletions(-) - -commit 8d557d6c8ea6f370e00d13eaa6234b2ef2d800dc -Author: Guillem Jover -Date: Mon Nov 17 10:40:45 2014 +0100 - - test: Check perl code compilation, warnings and strictness - - Makefile.am | 8 ++++++++ - README | 1 + - debian/changelog | 2 ++ - t/{pod.t => strict.t} | 20 ++++++++++++++------ - 4 files changed, 25 insertions(+), 6 deletions(-) - -commit f38b214a69052741625e36e265f8b3e47959fa11 -Author: Guillem Jover -Date: Wed Jan 21 01:59:06 2015 +0100 - - test: Add new common Test::Dpkg module - - This will centralize common testsuite functions. - - README | 1 - - scripts/Makefile.am | 4 ++++ - scripts/{Dpkg/Getopt.pm => Test/Dpkg.pm} | 32 ++++++++++++++------------------ - t/critic.t | 8 ++------ - 4 files changed, 20 insertions(+), 25 deletions(-) - -commit ace4a0e8f7b6d468eb62f847734c4deeb616ec13 -Author: Guillem Jover -Date: Sun Sep 28 15:13:47 2014 +0200 - - test: Rename TAP test directories from test to t - - Makefile.am | 6 +++--- - configure.ac | 2 +- - lib/dpkg/Makefile.am | 2 +- - lib/dpkg/{test => t}/.gitignore | 0 - lib/dpkg/{test => t}/Makefile.am | 0 - lib/dpkg/{test => t}/t-ar.c | 0 - lib/dpkg/{test => t}/t-arch.c | 0 - lib/dpkg/{test => t}/t-buffer.c | 0 - lib/dpkg/{test => t}/t-c-ctype.c | 0 - lib/dpkg/{test => t}/t-command.c | 0 - lib/dpkg/{test => t}/t-deb-version.c | 0 - lib/dpkg/{test => t}/t-error.c | 0 - lib/dpkg/{test => t}/t-macros.c | 0 - lib/dpkg/{test => t}/t-mod-db.c | 0 - lib/dpkg/{test => t}/t-path.c | 0 - lib/dpkg/{test => t}/t-pkg-list.c | 0 - lib/dpkg/{test => t}/t-pkg-queue.c | 0 - lib/dpkg/{test => t}/t-pkginfo.c | 0 - lib/dpkg/{test => t}/t-progname.c | 0 - lib/dpkg/{test => t}/t-string.c | 0 - lib/dpkg/{test => t}/t-subproc.c | 0 - lib/dpkg/{test => t}/t-tar.t | 0 - lib/dpkg/{test => t}/t-tarextract.c | 0 - lib/dpkg/{test => t}/t-test-skip.c | 0 - lib/dpkg/{test => t}/t-test.c | 0 - lib/dpkg/{test => t}/t-trigger.c | 0 - lib/dpkg/{test => t}/t-varbuf.c | 0 - lib/dpkg/{test => t}/t-version.c | 0 - {test => t}/critic.t | 4 ++-- - {test => t}/critic/perlcriticrc | 0 - {test => t}/pod.t | 0 - 31 files changed, 7 insertions(+), 7 deletions(-) - -commit e0b76a5e48404babba62342a682a2b6c3ad79a08 -Author: Guillem Jover -Date: Tue Jan 27 20:01:18 2015 +0100 - - test: Fix perlcritic errors in t-tar.t - - Fixes ValuesAndExpressions::RequireQuotedHeredocTerminator and - ValuesAndExpressions::ProhibitInterpolationOfLiterals. - - lib/dpkg/test/t-tar.t | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 96ff574ed0269199d0f6caa98a65fb14a9486684 -Author: Guillem Jover -Date: Wed Jan 21 01:05:53 2015 +0100 - - build: Rename perl scripts to have a .pl extension - - This allows to easily replace the shebang at installation time to use - the system perl interpreter and will make it easier to analyze all - perl scripts in the source tree. - - Makefile.am | 4 ++-- - doc/{lcov-inject => lcov-inject.pl} | 2 +- - dselect/methods/Makefile.am | 27 +++++++++++++++++++++++---- - dselect/methods/ftp/.gitignore | 3 +++ - dselect/methods/ftp/{install => install.pl} | 0 - dselect/methods/ftp/{setup => setup.pl} | 0 - dselect/methods/ftp/{update => update.pl} | 0 - 7 files changed, 29 insertions(+), 7 deletions(-) - -commit d7676a0374c682a8291e3bc11cae549d14dce04b -Author: Guillem Jover -Date: Thu Nov 6 21:45:18 2014 +0100 - - Remove trailing newline from string literal in warning calls - - debian/changelog | 1 + - lib/dpkg/options.c | 2 +- - src/main.c | 2 +- - 3 files changed, 3 insertions(+), 2 deletions(-) - -commit 6e56dce4194d7a4de56c0a9111020e19e5963bf2 -Author: Guillem Jover -Date: Mon Dec 29 17:03:48 2014 +0100 - - scripts: Rename and deprecate _g function with g_ - - The old function name was inconsistent with the other gettext family - of short aliases which has already caused some code typos, and functions - starting with underscore are considered by convention private in Perl. - - debian/changelog | 1 + - scripts/Dpkg/Arch.pm | 12 ++-- - scripts/Dpkg/BuildFlags.pm | 6 +- - scripts/Dpkg/BuildOptions.pm | 2 +- - scripts/Dpkg/Changelog.pm | 40 +++++------ - scripts/Dpkg/Changelog/Debian.pm | 24 +++---- - scripts/Dpkg/Changelog/Entry/Debian.pm | 20 +++--- - scripts/Dpkg/Changelog/Parse.pm | 16 ++--- - scripts/Dpkg/Checksums.pm | 14 ++-- - scripts/Dpkg/Compression.pm | 4 +- - scripts/Dpkg/Compression/FileHandle.pm | 4 +- - scripts/Dpkg/Compression/Process.pm | 6 +- - scripts/Dpkg/Conf.pm | 4 +- - scripts/Dpkg/Control.pm | 20 +++--- - scripts/Dpkg/Control/FieldsCore.pm | 4 +- - scripts/Dpkg/Control/HashCore.pm | 22 +++---- - scripts/Dpkg/Control/Info.pm | 6 +- - scripts/Dpkg/Deps.pm | 4 +- - scripts/Dpkg/Dist/Files.pm | 4 +- - scripts/Dpkg/ErrorHandling.pm | 18 ++--- - scripts/Dpkg/File.pm | 6 +- - scripts/Dpkg/Gettext.pm | 27 ++++++-- - scripts/Dpkg/IPC.pm | 28 ++++---- - scripts/Dpkg/Interface/Storable.pm | 10 +-- - scripts/Dpkg/Package.pm | 6 +- - scripts/Dpkg/Shlibs.pm | 2 +- - scripts/Dpkg/Shlibs/Cppfilt.pm | 2 +- - scripts/Dpkg/Shlibs/Objdump.pm | 8 +-- - scripts/Dpkg/Shlibs/Symbol.pm | 4 +- - scripts/Dpkg/Shlibs/SymbolFile.pm | 10 +-- - scripts/Dpkg/Source/Archive.pm | 12 ++-- - scripts/Dpkg/Source/Functions.pm | 12 ++-- - scripts/Dpkg/Source/Package.pm | 44 ++++++------- - scripts/Dpkg/Source/Package/V1.pm | 84 +++++++++++------------ - scripts/Dpkg/Source/Package/V2.pm | 108 +++++++++++++++--------------- - scripts/Dpkg/Source/Package/V3/Bzr.pm | 32 ++++----- - scripts/Dpkg/Source/Package/V3/Custom.pm | 6 +- - scripts/Dpkg/Source/Package/V3/Git.pm | 36 +++++----- - scripts/Dpkg/Source/Package/V3/Native.pm | 18 ++--- - scripts/Dpkg/Source/Package/V3/Quilt.pm | 16 ++--- - scripts/Dpkg/Source/Patch.pm | 110 +++++++++++++++---------------- - scripts/Dpkg/Source/Quilt.pm | 42 ++++++------ - scripts/Dpkg/Substvars.pm | 10 +-- - scripts/Dpkg/Vars.pm | 4 +- - scripts/Dpkg/Vendor.pm | 2 +- - scripts/Dpkg/Vendor/Debian.pm | 6 +- - scripts/Dpkg/Vendor/Ubuntu.pm | 10 +-- - scripts/Dpkg/Version.pm | 12 ++-- - scripts/changelog/debian.pl | 12 ++-- - scripts/dpkg-architecture.pl | 24 +++---- - scripts/dpkg-buildflags.pl | 18 ++--- - scripts/dpkg-buildpackage.pl | 92 +++++++++++++------------- - scripts/dpkg-checkbuilddeps.pl | 18 ++--- - scripts/dpkg-distaddfile.pl | 18 ++--- - scripts/dpkg-genchanges.pl | 54 +++++++-------- - scripts/dpkg-gencontrol.pl | 60 ++++++++--------- - scripts/dpkg-gensymbols.pl | 42 ++++++------ - scripts/dpkg-mergechangelogs.pl | 16 ++--- - scripts/dpkg-name.pl | 38 +++++------ - scripts/dpkg-parsechangelog.pl | 14 ++-- - scripts/dpkg-scanpackages.pl | 48 +++++++------- - scripts/dpkg-scansources.pl | 22 +++---- - scripts/dpkg-shlibdeps.pl | 72 ++++++++++---------- - scripts/dpkg-source.pl | 78 +++++++++++----------- - scripts/dpkg-vendor.pl | 22 +++---- - scripts/po/Makevars | 2 +- - 66 files changed, 783 insertions(+), 765 deletions(-) - -commit 08ce938d42f01ebe939f8a527f7b02ec017d3cc7 -Author: Guillem Jover -Date: Mon Dec 29 12:34:42 2014 +0100 - - dpkg-gensymbols: Add support for arch-bits and arch-endian tags - - These allow to tag symbols as being only relevant on architectures with - specific bits or endianness. The current supported values are 32 and 64 - for arch-bits, and little and big for arch-endian. - - They can also be combined by using multiple tags on the same symbol. - - Closes: #630342 - - debian/changelog | 2 + - man/dpkg-gensymbols.1 | 39 +++++++++--- - scripts/Dpkg/Shlibs/Symbol.pm | 17 +++-- - scripts/Makefile.am | 10 ++- - scripts/t/Dpkg_Shlibs.t | 55 ++++++++++++++-- - scripts/t/Dpkg_Shlibs/basictags.c | 42 +++++++++++-- - scripts/t/Dpkg_Shlibs/basictags.symbols | 9 ++- - scripts/t/Dpkg_Shlibs/objdump.basictags-amd64 | 85 ++++++++++++++----------- - scripts/t/Dpkg_Shlibs/objdump.basictags-i386 | 90 +++++++++++++++------------ - scripts/t/Dpkg_Shlibs/objdump.basictags-mips | 84 +++++++++++++++++++++++++ - 10 files changed, 331 insertions(+), 102 deletions(-) - -commit 2edb74f777af3dbab2a7bdfc75ab60b8d70fa2a7 -Author: Guillem Jover -Date: Mon Dec 29 02:59:00 2014 +0100 - - Dpkg::Shlibs::Symbol: Use new debarch_is_concerned() instead of Dpkg::Deps - - Stop abusing the Dpkg::Deps object just to get the architecture - computation from it. - - scripts/Dpkg/Shlibs/Symbol.pm | 8 ++------ - 1 file changed, 2 insertions(+), 6 deletions(-) - -commit e5b233d01ae5914e492316fb2b6e1278a2a7541e -Author: Guillem Jover -Date: Mon Dec 29 02:59:00 2014 +0100 - - Dpkg::Arch: Add new debarch_is_concerned() - - Factor out from Dpkg::Deps::Simple::arch_is_concerned(). - - scripts/Dpkg/Arch.pm | 29 +++++++++++++++++++++++++++++ - scripts/Dpkg/Deps.pm | 25 ++----------------------- - 2 files changed, 31 insertions(+), 23 deletions(-) - -commit baccc432ff05e2c75328c9c3597b3b53bd3986e9 -Author: Guillem Jover -Date: Sun Dec 28 20:14:48 2014 +0100 - - libdpkg: Remove now unused cistype() functions - - These have a suboptimal license and implementation. Just get rid of - them. - - debian/copyright | 1 - - lib/dpkg/dpkg.h | 4 ---- - lib/dpkg/libdpkg.map | 1 - - lib/dpkg/utils.c | 23 ----------------------- - 4 files changed, 29 deletions(-) - -commit 45dcca46d83ea52d683afa4b486d9321148b46cf -Author: Guillem Jover -Date: Sun Dec 28 20:14:48 2014 +0100 - - Switch code to use the new C locale character type functions - - debian/changelog | 2 ++ - dpkg-deb/build.c | 4 ++-- - dpkg-deb/info.c | 4 ++-- - dpkg-split/info.c | 5 +++-- - dpkg-split/split.c | 10 +++++----- - dselect/baselist.cc | 5 +++-- - dselect/methparse.cc | 26 +++++++++++++++----------- - dselect/pkgtop.cc | 4 ++-- - lib/dpkg/arch.c | 6 +++--- - lib/dpkg/dbmodify.c | 5 +++-- - lib/dpkg/deb-version.c | 5 +++-- - lib/dpkg/fields.c | 49 ++++++++++++++++++++++++++++++++----------------- - lib/dpkg/options.c | 9 +++++---- - lib/dpkg/parse.c | 14 +++++++------- - lib/dpkg/parsehelp.c | 19 ++++++++++--------- - lib/dpkg/pkg-db.c | 7 +++++-- - lib/dpkg/string.c | 3 ++- - lib/dpkg/triglib.c | 9 +++++---- - lib/dpkg/version.c | 14 +++++++------- - src/main.c | 12 ++++++++---- - src/remove.c | 5 +++-- - src/select.c | 16 ++++++++++------ - src/unpack.c | 4 ++-- - 23 files changed, 139 insertions(+), 98 deletions(-) - -commit 8183122e10463954453d756f4a037f9ea3f1c5c5 -Author: Guillem Jover -Date: Sun Dec 28 19:55:54 2014 +0100 - - libdpkg: Add new pure ASCII C locale character type functions - - These do not get affected by the user locale, nor by the character - encodings. For dpkg control data, we always want to use ASCII. - - lib/dpkg/Makefile.am | 2 + - lib/dpkg/c-ctype.c | 186 ++++++++++++++++++++++++++++++++++++++++++++++ - lib/dpkg/c-ctype.h | 130 ++++++++++++++++++++++++++++++++ - lib/dpkg/libdpkg.map | 1 + - lib/dpkg/test/.gitignore | 1 + - lib/dpkg/test/Makefile.am | 1 + - lib/dpkg/test/t-c-ctype.c | 107 ++++++++++++++++++++++++++ - po/POTFILES.in | 1 + - 8 files changed, 429 insertions(+) - -commit 83e8c53c46f0e83ec25b4ecbdeaf9a1c13a4a1e3 -Author: Guillem Jover -Date: Sun Dec 28 19:49:50 2014 +0100 - - Remove unused includes - - dpkg-deb/extract.c | 1 - - dpkg-deb/main.c | 1 - - dselect/method.cc | 1 - - dselect/pkginfo.cc | 1 - - lib/dpkg/dump.c | 1 - - src/archives.c | 1 - - src/cleanup.c | 1 - - src/errors.c | 1 - - src/packages.c | 1 - - 9 files changed, 9 deletions(-) - -commit c73cbff5355b5a8f6856ce10c3a84910e36f177c -Author: Guillem Jover -Date: Sat Jan 17 16:37:10 2015 +0100 - - libdpkg: Add missing symbols to the version script - - Some of these where accidentally dropped, reinstate them for now. - - lib/dpkg/libdpkg.map | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit d8e6c56b20a1cbf1897f34db5f93d7aea0265a1d -Author: Guillem Jover -Date: Sat Jan 10 05:14:54 2015 +0100 - - libdpkg: Change m_calloc() signature to take also a nmemb argument - - We are using these on arrays, so we end up having to compute the total - size from the number of members and the member size. Just delegate the - computation to the underlaying call which should ideally also handle - overflows and similar. And we can always pass nmemb=1 from the call - sites if needed. - - lib/dpkg/dpkg.h | 2 +- - lib/dpkg/mlib.c | 4 ++-- - src/querycmd.c | 4 ++-- - 3 files changed, 5 insertions(+), 5 deletions(-) - -commit 9af7e8d0684103f683fe2a72eddf5459f0fa95a0 -Author: Guillem Jover -Date: Thu Jan 8 10:28:29 2015 +0100 - - debian: Document the postinst triggered invocation in the comment header - - debian/changelog | 2 ++ - debian/dpkg.postinst | 3 +++ - 2 files changed, 5 insertions(+) - -commit bf1e76621ddfb652b16616f6b481f09290fc2355 -Author: Guillem Jover -Date: Sat Jan 17 13:22:37 2015 +0100 - - man: Document dpkg-query --search behavior - - Add how the pattern is interpreted as a substring match, or as a literal - path lookup. And explain how some metacharacters behave. - - Closes: #775379 - - debian/changelog | 1 + - man/dpkg-query.1 | 16 +++++++++++++--- - 2 files changed, 14 insertions(+), 3 deletions(-) - -commit a70815c94ad9d1f6a649a203e3608a2566c1d972 -Author: Guillem Jover -Date: Sat Jan 17 21:00:14 2015 +0100 - - dpkg-query: Only trim trailing "/" and "/." from pathnames in --search - - We should not be trimming those characters from substring matches, or we - might get very confusing results. - - This was actually the intention behind commit - af9e264518c4cab8e70788d0724d362ef25534d6, but somehow failed at it. - - debian/changelog | 2 ++ - src/querycmd.c | 23 +++++++++-------------- - 2 files changed, 11 insertions(+), 14 deletions(-) - -commit 3802dd1144df87b637bbe8b8351f467fe49e4674 -Author: Guillem Jover -Date: Sat Jan 17 20:32:39 2015 +0100 - - man: Use “wildcard characters” instead of “wildchars” in dpkg-query(1) - - debian/changelog | 1 + - man/dpkg-query.1 | 4 ++-- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit 74d64b44768dbe4cf1a672f9ff982d160e5734e3 -Author: Guillem Jover -Date: Wed Dec 3 19:16:28 2014 +0100 - - man: Document that current feature areas only work on Debian and derivatives - - debian/changelog | 2 ++ - man/dpkg-buildflags.1 | 4 ++-- - 2 files changed, 4 insertions(+), 2 deletions(-) - -commit d8fc005f2ddd679530664290e21a7d8bd37c5b86 -Author: Guillem Jover -Date: Sun Nov 23 23:06:37 2014 +0100 - - man: Fix and update Arch substvar description in deb-substvars(5) - - debian/changelog | 1 + - man/deb-substvars.5 | 5 +++-- - 2 files changed, 4 insertions(+), 2 deletions(-) - -commit 9d70c7a6582b2d70dc7e520e31c459c5dd5b7fd2 -Author: Guillem Jover -Date: Fri Nov 21 22:45:18 2014 +0100 - - man: Improve dpkg-maintscript-helper pkgname argument documentation - - Clarify how the package name gets generated when empty or omitted, and - when it sould be arch-qualified or not depending on whether the package - is Multi-Arch:same. - - Closes: #776072 - - debian/changelog | 2 ++ - man/dpkg-maintscript-helper.1 | 12 ++++++++---- - 2 files changed, 10 insertions(+), 4 deletions(-) - -commit 188b3057315d3aa1d11044d98ddc828ab6358670 -Author: Guillem Jover -Date: Thu Dec 18 02:26:31 2014 +0100 - - man: Update dpkg --log documentation - - Add missing actions, and describe the startup messages. - - Closes: #773398 - - debian/changelog | 2 ++ - man/dpkg.1 | 7 ++++++- - 2 files changed, 8 insertions(+), 1 deletion(-) - -commit 971317da57f10432e38c9ea414001c0461c1ed24 -Author: Guillem Jover -Date: Mon Dec 15 21:27:14 2014 +0100 - - man: Add the version when dpkg-deb --raw-extract was added - - debian/changelog | 1 + - man/dpkg-deb.1 | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 453d6bfd6c39deb59b41c34d602f49065ba6f2cd -Author: Guillem Jover -Date: Mon Nov 10 19:55:31 2014 +0100 - - man: Document versioned Provides - - debian/changelog | 1 + - man/deb-control.5 | 3 ++- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 0fec5cfcf2cc07ea7ac3a20855ecef276d6e34c4 -Author: Guillem Jover -Date: Mon Nov 10 19:40:22 2014 +0100 - - man: Document arch-qualifiers for dependency fields - - Closes: #768842 - Reported-by: Johannes Schauer - - debian/changelog | 4 +++- - man/deb-control.5 | 21 ++++++++++++++++----- - man/deb-src-control.5 | 14 +++++++++++++- - 3 files changed, 32 insertions(+), 7 deletions(-) - -commit 84e5efe254400b5df570fd1a5e70aeedf8b0632d -Author: Peter Krefting -Date: Wed Jan 14 23:04:25 2015 +0100 - - Remove references to my @debian.org email address - - THANKS | 2 +- - dselect/po/LINGUAS | 2 +- - dselect/po/sv.po | 4 ++-- - man/po/sv.po | 4 ++-- - po/LINGUAS | 2 +- - po/sv.po | 4 ++-- - scripts/po/LINGUAS | 2 +- - scripts/po/sv.po | 4 ++-- - 8 files changed, 12 insertions(+), 12 deletions(-) - -commit ff261dbd5d08f25b4a7b90d5999602806c6c9919 -Author: Guillem Jover -Date: Tue Dec 9 23:53:18 2014 +0100 - - Bump version to 1.18.0 - - TODO | 2 +- - debian/changelog | 6 ++++++ - scripts/Dpkg.pm | 2 +- - 3 files changed, 8 insertions(+), 2 deletions(-) - -commit 84a3a0408e778454c7fb110d6556f05548d23fd7 (tag: 1.17.23) -Author: Guillem Jover -Date: Tue Dec 23 17:45:58 2014 +0100 - - Release 1.17.23 - - debian/changelog | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit c8da1924469f5a4de3709ec22ac43bf1c183af42 -Author: Guillem Jover -Date: Tue Dec 23 19:19:32 2014 +0100 - - Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 2 +- - dselect/po/ca.po | 8 +- - dselect/po/cs.po | 2 +- - dselect/po/da.po | 2 +- - dselect/po/de.po | 2 +- - dselect/po/dselect.pot | 4 +- - dselect/po/el.po | 2 +- - dselect/po/es.po | 26 ++-- - dselect/po/et.po | 2 +- - dselect/po/eu.po | 2 +- - dselect/po/fr.po | 2 +- - dselect/po/gl.po | 2 +- - dselect/po/hu.po | 2 +- - dselect/po/id.po | 2 +- - dselect/po/it.po | 2 +- - dselect/po/ja.po | 2 +- - dselect/po/ko.po | 2 +- - dselect/po/nb.po | 65 ++------ - dselect/po/nl.po | 2 +- - dselect/po/nn.po | 2 +- - dselect/po/pl.po | 2 +- - dselect/po/pt.po | 86 +++-------- - dselect/po/pt_BR.po | 2 +- - dselect/po/ro.po | 2 +- - dselect/po/ru.po | 2 +- - dselect/po/sk.po | 2 +- - dselect/po/sv.po | 2 +- - dselect/po/tl.po | 2 +- - dselect/po/vi.po | 2 +- - dselect/po/zh_CN.po | 2 +- - dselect/po/zh_TW.po | 2 +- - po/ast.po | 16 +- - po/bs.po | 16 +- - po/ca.po | 41 ++--- - po/cs.po | 16 +- - po/da.po | 16 +- - po/de.po | 16 +- - po/dpkg.pot | 18 +-- - po/dz.po | 16 +- - po/el.po | 16 +- - po/eo.po | 19 +-- - po/es.po | 142 +++++++++++------ - po/et.po | 16 +- - po/eu.po | 16 +- - po/fr.po | 19 +-- - po/gl.po | 16 +- - po/hu.po | 16 +- - po/id.po | 16 +- - po/it.po | 16 +- - po/ja.po | 16 +- - po/km.po | 16 +- - po/ko.po | 16 +- - po/ku.po | 16 +- - po/lt.po | 16 +- - po/mr.po | 16 +- - po/nb.po | 16 +- - po/ne.po | 16 +- - po/nl.po | 16 +- - po/nn.po | 16 +- - po/pa.po | 16 +- - po/pl.po | 16 +- - po/pt.po | 156 ++++++------------- - po/pt_BR.po | 16 +- - po/ro.po | 16 +- - po/ru.po | 16 +- - po/sk.po | 16 +- - po/sv.po | 20 +-- - po/th.po | 78 +++++----- - po/tl.po | 16 +- - po/tr.po | 16 +- - po/vi.po | 16 +- - po/zh_CN.po | 16 +- - po/zh_TW.po | 16 +- - scripts/po/ca.po | 401 +++++++++++++++++++++++++++++++----------------- - scripts/po/de.po | 2 +- - scripts/po/dpkg-dev.pot | 4 +- - scripts/po/es.po | 101 ++++++++---- - scripts/po/fr.po | 2 +- - scripts/po/pl.po | 2 +- - scripts/po/ru.po | 2 +- - scripts/po/sv.po | 2 +- - 81 files changed, 930 insertions(+), 864 deletions(-) - -commit 810f7b321048167747e9a320c7f0978d65f64074 -Author: Guillem Jover -Date: Thu Dec 11 23:50:37 2014 +0100 - - debian: Add versioned Breaks on packages creating trigger cycles - - There are two groups of packages, ones where the old version of the - packages produced trigger cycles as they were using awaiting trigger - directives, but are fixed now, which get a << versioned Breaks on the - fixed version. And packages that are still not fixed that get a <= - versioned Breaks on the broken version. - - debian/changelog | 4 ++++ - debian/control | 15 +++++++++++++++ - 2 files changed, 19 insertions(+) - -commit fa1cfce24dc7c0659cb16b4a6ff09f660e318731 -Author: Guillem Jover -Date: Sat Nov 29 15:56:15 2014 +0100 - - libdpkg, dpkg: Fix out-of-bounds read accesses - - Limit the buffer accesses to the size of the buffer being accessed. This - affects reads done when parsing field and trigger names, or checking the - package ownership of conffiles and directories. - - Use a new length member for struct fieldinfo and nickname to avoid - recomputing the same known length over and over again, but use strlen() - instead for arbitrary fields, conffiles and directories to avoid - increaseing the memory footprint too much. - - Reported-by: Joshua Rogers - - debian/changelog | 3 ++ - lib/dpkg/parse.c | 84 +++++++++++++++++++++++++-------------------------- - lib/dpkg/parsedump.h | 6 ++++ - lib/dpkg/pkg-format.c | 16 +++++----- - lib/dpkg/triglib.c | 4 +-- - src/help.c | 3 +- - 6 files changed, 63 insertions(+), 53 deletions(-) - -commit f58eee9edbfc876d92af50323e1492b676a705d4 -Author: Guillem Jover -Date: Fri Dec 5 09:41:00 2014 +0100 - - dpkg: Reset trigger cycle tracking on unsatisfied dependencies during trigproc - - If we are not going to process triggers due to an unsatisfied - dependency, we should reset the trigger cycle tracking information - so that we do not end up reporting bogus cycle errors. - - Closes: #771730 - - debian/changelog | 2 ++ - src/trigproc.c | 7 +++++++ - 2 files changed, 9 insertions(+) - -commit 2a7390d1108b221cc2fa34923f723caff9b0a2d1 -Author: Guillem Jover -Date: Sat Dec 6 00:11:14 2014 +0100 - - libdpkg: Skip tar extractor tests if tar is not GNU tar >= 1.27 - - This allows building on older systems. - - debian/changelog | 1 + - lib/dpkg/test/t-tar.t | 13 ++++++++++++- - 2 files changed, 13 insertions(+), 1 deletion(-) - -commit ad1f3e78510415b26fc27cedf6c0ab4ab4c463b0 -Author: Guillem Jover -Date: Fri Dec 5 23:29:03 2014 +0100 - - dselect: Use a matching group instead of ${^MATCH} in s/// - - It seems that this is not supported or does not work in perl 5.14.0, - although it should be since 5.10.0. Switch to a group matching to - allow using older perl version from stable. - - debian/changelog | 3 +++ - dselect/mkcurkeys.pl | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 085763c09419bfe6f238963a362d2dd47d62b974 -Author: Łukasz Dulny -Date: Mon Dec 22 22:31:58 2014 +0100 - - po: Update Polish dselect translation - - Signed-off-by: Guillem Jover - - dselect/po/pl.po | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 40aa4a8efc5f7f499be4f7a494897e70f2089b22 -Author: Theppitak Karoonboonyanan -Date: Sat Dec 13 23:17:40 2014 +0100 - - po: Update Thai programs translation - - Closes: #772965 - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/th.po | 239 ++++++++++++++++++------------------------------------- - 2 files changed, 80 insertions(+), 160 deletions(-) - -commit 6affd8b5ce898d81c68567e5f008bb0ecd8af5ea -Author: Guillem Jover -Date: Tue Dec 2 19:04:18 2014 +0100 - - po: Update Catalan translations - - debian/changelog | 3 + - dselect/po/ca.po | 197 +++---- - po/ca.po | 114 ++-- - scripts/po/ca.po | 1513 +++++++++++++++++++++++++++++++----------------------- - 4 files changed, 1008 insertions(+), 819 deletions(-) - -commit 231d3c11b5657cda7a11d424b9762f6dd4f7dd07 -Author: Felipe Castro -Date: Tue Dec 9 01:03:33 2014 +0100 - - po: Update Esperanto programs translation - - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/eo.po | 690 +++++++++++++++++-------------------------------------- - 2 files changed, 209 insertions(+), 482 deletions(-) - -commit 3291d8bb2f96d2a5d83f2aca602ef53d0438c0eb -Author: Hans Fredrik Nordhaug -Date: Sat Dec 6 09:28:59 2014 +0100 - - po: Update Norwegian Bokmål dselect translation - - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - dselect/po/nb.po | 61 ++++++++++++++++++++++---------------------------------- - 2 files changed, 25 insertions(+), 37 deletions(-) - -commit e38c125bd463fc98060a1f491487b1f9a6b13a66 -Author: Iñaki Larrañaga Murgoitio -Date: Wed Dec 3 10:55:11 2014 +0100 - - po: Update Basque programs translation - - Closes: #771893 - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/eu.po | 2404 ++++++++++++++++++++---------------------------------- - 2 files changed, 891 insertions(+), 1514 deletions(-) - -commit 700b2528940d3386ed1f737cbf80c5dadd12b469 -Author: Milo Casagrande -Date: Tue Dec 2 15:46:55 2014 +0100 - - po: Update Italian programs translation - - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/it.po | 66 +++++++++++++------------------------------------------- - 2 files changed, 16 insertions(+), 51 deletions(-) - -commit a2af3e6d3e1b4a51362611b96291ec87336b5ab0 -Author: Sébastien Poher -Date: Tue Dec 2 07:03:10 2014 +0100 - - po: Update French translations - - Signed-off-by: Guillem Jover - - debian/changelog | 2 ++ - man/po/fr.po | 11 +---------- - po/fr.po | 13 ++++--------- - 3 files changed, 7 insertions(+), 19 deletions(-) - -commit a7a0c9d66a3431b2475b158445fc2705ebc5b58e -Author: Trần Ngọc Quân -Date: Mon Dec 1 08:32:33 2014 +0700 - - po: Update Vietnamese dselect translation - - Signed-off-by: Trần Ngọc Quân - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - dselect/po/vi.po | 466 +++++++++++++++++++++++++------------------------------ - 2 files changed, 209 insertions(+), 258 deletions(-) - -commit 86a843c99a3370ed889fe24c2ca8b952af3b2a1b -Author: Beatrice Torracca -Date: Tue Dec 2 06:08:58 2014 +0100 - - po: Update Italian man pages translation - - [guillem@debian.org: - - Fix POD markup. ] - - Closes: #771673 - Signed-off-by: Guillem Jover - - debian/changelog | 3 + - man/po/it.po | 1923 +++++++++++++++++++++++++++++++----------------------- - 2 files changed, 1109 insertions(+), 817 deletions(-) - -commit 8c06cbc0f5eb0756c7f67070002d3f7dd1879932 -Author: Yuri Kozlov -Date: Tue Dec 2 06:04:28 2014 +0100 - - po: Update Russian translations - - Closes: #771682, #771691, #772841 - Signed-off-by: Guillem Jover - - debian/changelog | 3 + - dselect/po/ru.po | 78 ++---- - po/ru.po | 142 +++-------- - scripts/po/ru.po | 740 ++++++++++++++++++------------------------------------- - 4 files changed, 290 insertions(+), 673 deletions(-) - -commit 9bbfbdc2c51a5707da6b71dd8c93665ece10385b -Author: Zhou Mo -Date: Sun Nov 30 17:56:14 2014 +0100 - - po: Update Simplified Chinese programs translation - - Closes: #771264 - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/zh_CN.po | 200 +++++++++++++++++++++++++++---------------------------- - 2 files changed, 98 insertions(+), 103 deletions(-) - -commit 50f9eae2d048fa3a96d6e32138618e8b36f52cb9 -Author: Łukasz Dulny -Date: Sun Nov 30 17:49:42 2014 +0100 - - po: Update Polish translations - - Signed-off-by: Guillem Jover - - debian/changelog | 4 + - dselect/po/pl.po | 73 +---- - scripts/po/pl.po | 952 +++++++++++++++++++------------------------------------ - 3 files changed, 347 insertions(+), 682 deletions(-) - -commit 740adcbfe6fe5807ac986d980f69593ac8b33b1f -Author: Guillem Jover -Date: Thu Dec 4 23:47:40 2014 +0100 - - po: Revert spurious PO-Revision-Date changes - - The fixes in commit 2d1948951f6309ed4a287b4a2a9a2776040f3a04 for - Language-Team addresses did not update any string, revert the - PO-Revision-Date field update to be able to tell which translations - are stale. - - dselect/po/it.po | 2 +- - po/nl.po | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit af8faeebf27d347f948a73a356876af91c78f078 -Author: Guillem Jover -Date: Thu Dec 4 23:47:40 2014 +0100 - - po: Update Language-Team email addresses - - Several of these email addresses where blank, no longer valid, or the - mailing list rejected non-subscriber posts. Prefer lists in Debian - servers. - - dselect/po/id.po | 2 +- - dselect/po/sk.po | 2 +- - dselect/po/zh_CN.po | 2 +- - dselect/po/zh_TW.po | 2 +- - po/id.po | 2 +- - po/it.po | 2 +- - po/sk.po | 2 +- - po/tr.po | 2 +- - po/zh_TW.po | 2 +- - 9 files changed, 9 insertions(+), 9 deletions(-) - -commit a385487cb08c5c755fab75e57a22ad00a5e548f3 -Author: Javier Fernandez-Sanguino -Date: Tue Dec 2 20:30:20 2014 +0100 - - Update dselect translation to Spanish - - debian/changelog | 1 + - dselect/po/es.po | 88 ++++++++++++-------------------------------------------- - 2 files changed, 20 insertions(+), 69 deletions(-) - -commit 6f256bd13d10453bfdb693a3e0cdccaf8fb01e62 -Author: Javier Fernandez-Sanguino -Date: Tue Dec 2 20:25:30 2014 +0100 - - Fix errors in translation - - po/es.po | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 501edbfd6cfe5225dd553f92e1e8fe583c4bedd3 -Author: Javier Fernandez-Sanguino -Date: Tue Dec 2 20:24:32 2014 +0100 - - Partial update - - scripts/po/es.po | 315 +++++++++++++++++++++---------------------------------- - 1 file changed, 118 insertions(+), 197 deletions(-) - -commit 07cf5ca27c9a1ef0f90fb9e113bc3a413c0cb6ab -Author: Javier Fernandez-Sanguino -Date: Tue Dec 2 19:56:52 2014 +0100 - - Updated Spanish translation - - debian/changelog | 1 + - po/es.po | 711 ++++++++++++++++--------------------------------------- - 2 files changed, 206 insertions(+), 506 deletions(-) - -commit bc1442eeb69034949a1c4508cef0edc907fa2f80 -Author: Miguel Figueiredo -Date: Sun Nov 30 13:30:13 2014 +0000 - - Updated Portuguese translation - - debian/changelog | 1 + - dselect/po/pt.po | 96 ++++++++++++++++++++++---------------------------------- - 2 files changed, 38 insertions(+), 59 deletions(-) - -commit cceae4ee00d4e10c3fd9ebf8b03c3ad9eb506666 -Author: Miguel Figueiredo -Date: Sun Nov 30 11:59:03 2014 +0000 - - Updated Portuguese translation - - Update to 1090t - - debian/changelog | 1 + - po/pt.po | 118 ++++++++++++++++++++++++++----------------------------- - 2 files changed, 56 insertions(+), 63 deletions(-) - -commit 6803c52c5b086f833f427ffe20ecf0aa7b567fbc -Author: Peter Krefting -Date: Sun Nov 30 10:15:35 2014 +0100 - - Update Swedish translation - - po/sv.po: 1090t0f0u - - debian/changelog | 1 + - po/sv.po | 21 ++++++++------------- - 2 files changed, 9 insertions(+), 13 deletions(-) - -commit 6f1046517a187ae455b7c9e82d2dba0d9800320e -Author: Miroslav Kure -Date: Sat Nov 29 11:54:00 2014 +0100 - - po: Update Czech translation - - debian/changelog | 6 +++- - dselect/po/cs.po | 22 +++++------- - po/cs.po | 103 +++++++++---------------------------------------------- - 3 files changed, 30 insertions(+), 101 deletions(-) - -commit c7fbb47a14099d04da2243e8135340891de06a91 -Author: Guillem Jover -Date: Fri Nov 28 02:41:35 2014 +0100 - - Bump version to 1.17.23 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 384c3bd70cd0ef568716eef267a15d20fa3b2d2b (tag: 1.17.22) -Author: Guillem Jover -Date: Fri Nov 28 02:02:51 2014 +0100 - - Release 1.17.22 - - debian/changelog | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit 66a7ae62157c0246d74ec7f9f08a4564e7ce12d0 -Author: Trần Ngọc Quân -Date: Fri Nov 28 07:35:23 2014 +0700 - - po: Update Vietnamese programs translation - - Signed-off-by: Trần Ngọc Quân - Signed-off-by: Guillem Jover - - po/vi.po | 30 +++++++++++++----------------- - 1 file changed, 13 insertions(+), 17 deletions(-) - -commit 2d1948951f6309ed4a287b4a2a9a2776040f3a04 -Author: Guillem Jover -Date: Fri Nov 28 01:49:25 2014 +0100 - - po: Fix mailing list addresses - - These bounced in the call for translations. - - dselect/po/it.po | 4 ++-- - po/nl.po | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -commit 69fe02658332607dbf48fc6d73d21175871960ba -Author: Kenshi Muto -Date: Fri Nov 28 01:35:12 2014 +0100 - - po: Update Japanese translations - - Closes: #771255, #771256 - Signed-off-by: Guillem Jover - - debian/changelog | 2 + - dselect/po/ja.po | 72 ++----- - po/ja.po | 575 ++++++++++++++----------------------------------------- - 3 files changed, 160 insertions(+), 489 deletions(-) - -commit 4d7b094e8186c815b4a7865a43c56c0095c302a8 -Author: Frans Spiesschaert -Date: Fri Nov 28 01:09:47 2014 +0100 - - po: Update Dutch dselect translation - - Closes: #771237 - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - dselect/po/nl.po | 532 +++++++++++++++++++++++++------------------------------ - 2 files changed, 238 insertions(+), 295 deletions(-) - -commit 726a498d775feab41d6f23ab01fc9b8fe32459f0 -Author: Joe Dalton -Date: Fri Nov 28 00:59:20 2014 +0100 - - po: Update Danish translations - - Signed-off-by: Guillem Jover - - debian/changelog | 2 + - dselect/po/da.po | 233 ++++++++++++++++++++++--------------------------------- - po/da.po | 202 ++++++++--------------------------------------- - 3 files changed, 129 insertions(+), 308 deletions(-) - -commit 8da3a78b0cfa604e6d7ccc5bcb11680e24c901cf -Author: Mert Dirik -Date: Fri Nov 28 00:56:04 2014 +0100 - - po: Update Turkish programs translation - - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/tr.po | 54 +++++++++++++++++++----------------------------------- - 2 files changed, 20 insertions(+), 35 deletions(-) - -commit 8fd232ff8473763a90e74d755313e37b8f26bc0a -Author: Łukasz Dulny -Date: Fri Nov 28 00:50:14 2014 +0100 - - po: Update Polish programs translation - - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/pl.po | 143 +++++++++++++------------------------------------------ - 2 files changed, 34 insertions(+), 110 deletions(-) - -commit f411ec437d01ac9370332abee9b99843004e64ff -Author: Guillem Jover -Date: Thu Nov 27 17:59:43 2014 +0100 - - po: Update Catalan programs translation - - debian/changelog | 1 + - po/ca.po | 27 ++++++--------------------- - 2 files changed, 7 insertions(+), 21 deletions(-) - -commit 6a2ece23c4d8f56cc1bc0b42d9e340a77ef81fa4 -Author: Sven Joachim -Date: Thu Nov 27 17:21:55 2014 +0100 - - German dpkg translation update - - Update to 1090t. - - po/de.po | 15 +++++---------- - 1 file changed, 5 insertions(+), 10 deletions(-) - -commit fe163ddfd2d7c8c776655ddd833101c40c3b0389 -Author: Guillem Jover -Date: Wed Nov 26 20:00:48 2014 +0100 - - Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 2 +- - dselect/po/ca.po | 2 +- - dselect/po/cs.po | 2 +- - dselect/po/da.po | 2 +- - dselect/po/de.po | 2 +- - dselect/po/dselect.pot | 4 +- - dselect/po/el.po | 2 +- - dselect/po/es.po | 2 +- - dselect/po/et.po | 2 +- - dselect/po/eu.po | 2 +- - dselect/po/fr.po | 2 +- - dselect/po/gl.po | 2 +- - dselect/po/hu.po | 2 +- - dselect/po/id.po | 2 +- - dselect/po/it.po | 2 +- - dselect/po/ja.po | 2 +- - dselect/po/ko.po | 2 +- - dselect/po/nb.po | 2 +- - dselect/po/nl.po | 2 +- - dselect/po/nn.po | 2 +- - dselect/po/pl.po | 2 +- - dselect/po/pt.po | 2 +- - dselect/po/pt_BR.po | 2 +- - dselect/po/ro.po | 2 +- - dselect/po/ru.po | 2 +- - dselect/po/sk.po | 2 +- - dselect/po/sv.po | 2 +- - dselect/po/tl.po | 2 +- - dselect/po/vi.po | 2 +- - dselect/po/zh_CN.po | 2 +- - dselect/po/zh_TW.po | 2 +- - man/po/dpkg-man.pot | 8 +- - man/po/es.po | 6 +- - man/po/hu.po | 6 +- - man/po/it.po | 6 +- - man/po/ja.po | 6 +- - man/po/pl.po | 6 +- - man/po/pt_BR.po | 6 +- - man/po/ru.po | 6 +- - man/po/zh_CN.po | 1990 ++++++++++++++++++++++++----------------------- - po/ast.po | 306 ++++---- - po/bs.po | 299 +++---- - po/ca.po | 306 ++++---- - po/cs.po | 306 ++++---- - po/da.po | 306 ++++---- - po/de.po | 306 ++++---- - po/dpkg.pot | 301 +++---- - po/dz.po | 306 ++++---- - po/el.po | 306 ++++---- - po/eo.po | 306 ++++---- - po/es.po | 306 ++++---- - po/et.po | 306 ++++---- - po/eu.po | 306 ++++---- - po/fr.po | 318 ++++---- - po/gl.po | 306 ++++---- - po/hu.po | 306 ++++---- - po/id.po | 306 ++++---- - po/it.po | 306 ++++---- - po/ja.po | 306 ++++---- - po/km.po | 306 ++++---- - po/ko.po | 306 ++++---- - po/ku.po | 306 ++++---- - po/lt.po | 306 ++++---- - po/mr.po | 306 ++++---- - po/nb.po | 306 ++++---- - po/ne.po | 306 ++++---- - po/nl.po | 306 ++++---- - po/nn.po | 306 ++++---- - po/pa.po | 310 ++++---- - po/pl.po | 306 ++++---- - po/pt.po | 306 ++++---- - po/pt_BR.po | 306 ++++---- - po/ro.po | 306 ++++---- - po/ru.po | 306 ++++---- - po/sk.po | 306 ++++---- - po/sv.po | 310 ++++---- - po/th.po | 306 ++++---- - po/tl.po | 306 ++++---- - po/tr.po | 306 ++++---- - po/vi.po | 319 ++++---- - po/zh_CN.po | 327 ++++---- - po/zh_TW.po | 306 ++++---- - scripts/po/ca.po | 2 +- - scripts/po/de.po | 5 +- - scripts/po/dpkg-dev.pot | 4 +- - scripts/po/es.po | 2 +- - scripts/po/fr.po | 74 +- - scripts/po/pl.po | 2 +- - scripts/po/ru.po | 2 +- - scripts/po/sv.po | 2 +- - 90 files changed, 7955 insertions(+), 7136 deletions(-) - -commit 75a857d79d3d3a5cb8367bbd49d5e89bb94af0a1 -Author: Guillem Jover -Date: Fri Nov 14 18:35:32 2014 +0100 - - libdpkg: Register all pending triggers for deferred processing - - Trigger processing on the deferred stage is just opportunistic, but - we enqueue all currently pending triggers that might have been - activated on a previous unpack run, only when being called as - «dpkg --configure pkgname…». - - This is a mostly conformant workaround for frontends like apt that do - not correctly call «dpkg --configure -a» or «dpkg --triggers-only -a» - after their normal runs, and leave packages in triggers-pending and - triggers-awaited states. - - Closes: #766758 - - debian/changelog | 5 +++++ - src/main.h | 1 + - src/packages.c | 3 +++ - src/trigproc.c | 38 ++++++++++++++++++++++++++++++++++++++ - 4 files changed, 47 insertions(+) - -commit 54526e8773218199ef588c17509ec6fc5c044da7 -Author: Guillem Jover -Date: Thu Nov 13 23:49:15 2014 +0100 - - dpkg: Do not ignore trigger cycles for direct dependencies - - These are just normal trigger cycles, and as such should not be special - cased. And a strict reading of the triggers spec does not allow them - either. It might make sense to allow self-cycles, but avoiding cycles - from direct dependencies does not make much sense. - - debian/changelog | 2 ++ - src/packages.c | 18 ------------------ - 2 files changed, 2 insertions(+), 18 deletions(-) - -commit 9a9ba74915876449b1fe20d4b76ab759f7d09d86 -Author: Guillem Jover -Date: Thu Nov 13 12:10:42 2014 +0100 - - dpkg: Fail on trigger processing when it is required to progress - - Trigger processing is sometimes required and sometimes opportunistic. - When trying to make progress on the packages queue, we need to consider - it an error if the dependencies cannot be satisfied in this run. But if - we are running the deferred trigger processing, then we should not fail, - as that's just opportunistic. - - Closes: #768852 - - debian/changelog | 3 +++ - src/main.h | 9 ++++++++- - src/packages.c | 2 +- - src/trigproc.c | 20 +++++++++++++++++--- - src/unpack.c | 2 +- - 5 files changed, 30 insertions(+), 6 deletions(-) - -commit c4e109999d90e99199754e3e419ef90477b2a046 -Author: Guillem Jover -Date: Tue Nov 11 19:49:48 2014 +0100 - - dpkg: Restore multiple processing checks for packages and archives - - The notices about duplicate entries not being processed got suppressed - when the requeueing insertion protection got enabled. Add a new variable - to track when packages or archives have been processed more than once. - - Regression introduced in commit ce27f5dc0c3dc6ed7656d09784ea461407765d7d. - - debian/changelog | 2 ++ - src/filesdb.c | 1 + - src/main.h | 2 ++ - src/packages.c | 19 +++++++++++++------ - src/unpack.c | 2 +- - 5 files changed, 19 insertions(+), 7 deletions(-) - -commit b1c19bc87eb661f074e63a2aa5c8ac9e55e3fac4 -Author: Guillem Jover -Date: Wed Nov 12 10:17:08 2014 +0100 - - libdpkg, dpkg: Normalize tar entry uid and gid only in dpkg unpack - - The tar extractor should be independent from the current system, so that - testing it can be made reproducible. - - Move the preference over the system user and group names to the actual - dpkg unpack code. - - Regression introduced in commit f71e02c8e913884bfbf9d97b58ded4591b823cdb. - - Closes: #769211 - - debian/changelog | 2 ++ - lib/dpkg/tarfn.c | 37 +++++++++++++++++++++++++------------ - lib/dpkg/tarfn.h | 3 +++ - src/archives.c | 2 ++ - 4 files changed, 32 insertions(+), 12 deletions(-) - -commit bd3f720ca063c581ca5c446ba8bb9b3318d6dd3d -Author: Guillem Jover -Date: Wed Nov 12 00:57:55 2014 +0100 - - libdpkg: Fix fd_allocate_size() function to build on Mac OS X - - Add missing semicolons to fcntl() call, and rename fs_preallocate_setup() - call sites to fd_preallocate_setup() on Mac OS X codepath. - - Regression introduced in commit 87b0b20b86407baf1deb4e91b3fd839e01228ac8. - - Reported-by: Dominyk Tiller - - debian/changelog | 2 ++ - lib/dpkg/fdio.c | 8 ++++---- - 2 files changed, 6 insertions(+), 4 deletions(-) - -commit 611305ef0e85092cc24887e040c19e9e808dd633 -Author: Guillem Jover -Date: Tue Nov 11 17:37:04 2014 +0100 - - libdpkg: Do not match partial field names in control files - - There is currently no instance of any misspelled field names known to - dpkg in Debian. Only known field names are possibly affected. - - Regression introduced in commit 864e230e90de1cef94c81f10582e6d99717d593b. - - Closes: #769119 - - debian/changelog | 2 ++ - lib/dpkg/parse.c | 6 ++++-- - 2 files changed, 6 insertions(+), 2 deletions(-) - -commit 446f11df6302716c2a1f993761ee54ecb44d42bb -Author: Guillem Jover -Date: Fri Nov 7 20:49:26 2014 +0100 - - libdpkg: Escape package and architecture on control file parsing warning - - The package and architecture names are injected into a variable that is - used as a format string. Because these are user controlled, we need to - format-escape them so that they become inert. - - Regression introduced in commmit 3be2cf607868adb9a2c0e5af06f20168a072eeb6. - - Fixes: CVE-2014-8625 - Closes: #768485 - Reporteb-by: Joshua Rogers - - debian/changelog | 5 +++++ - lib/dpkg/parsehelp.c | 11 +++++++---- - 2 files changed, 12 insertions(+), 4 deletions(-) - -commit b89caa796ac54ca86db33c6b06e72a122975bf0e -Author: Guillem Jover -Date: Wed Nov 19 21:49:08 2014 +0100 - - debian: Add Breaks on man-db, fontconfig and readahead-fedora - - The old versions of these packages produced trigger cycles as they - were using awaiting trigger directives. - - Closes: #768599 - - debian/changelog | 2 ++ - debian/control | 4 ++++ - 2 files changed, 6 insertions(+) - -commit a213746672a3e12a8ef6b86ccf04594bf30e8fba -Author: Guillem Jover -Date: Sun Nov 9 00:51:42 2014 +0100 - - debian: Reintroduce u-a, dpkg-divert and dpkg-statoverride compat symlinks - - There are still packages using those paths, but the relevant lintian - check did not list any, so these got removed prematurely. - - Makefile.am | 1 + - TODO | 2 ++ - debian/changelog | 4 ++++ - debian/dpkg.links | 3 +++ - 4 files changed, 10 insertions(+) - -commit e04dd68c0a36e465a656a9e78830dcf28e455242 -Author: Guillem Jover -Date: Mon Nov 17 00:55:20 2014 +0100 - - man: Bump minimal version for dir_to_symlink and symlink_to_dir commands - - The minimal version for dir_to_symlink with all current features is - 1.17.13, and for symlink_to_dir is 1.17.14. But to make it simpler, - let's just say the latter. This also avoids unnecessary translator - work. - - Missed in commits 7fe9dcdd57c083180a7994957d1e5217d28e970a and - a92a3ac5056363e9c21c48187f6ff965481742f4. - - Closes: #769843 - - debian/changelog | 2 ++ - man/dpkg-maintscript-helper.1 | 4 ++-- - man/po/de.po | 10 +++++----- - man/po/fr.po | 10 +++++----- - man/po/sv.po | 10 +++++----- - 5 files changed, 19 insertions(+), 17 deletions(-) - -commit 2d3adc759c37bf73c12730c79b73dc26ca171c7d -Author: Guillem Jover -Date: Thu Nov 6 18:13:27 2014 +0100 - - man: Add when dpkg-deb --ctrl-tarfile got introduced - - Missed in commit 03c0873bd720a4f93db0cc4764fa98d3dbcadede. - - debian/changelog | 3 +++ - man/dpkg-deb.1 | 2 +- - man/po/de.po | 12 +++++++----- - man/po/dpkg-man.pot | 8 ++++---- - man/po/es.po | 8 ++++---- - man/po/fr.po | 12 ++++++------ - man/po/hu.po | 8 ++++---- - man/po/it.po | 8 ++++---- - man/po/ja.po | 8 ++++---- - man/po/pl.po | 8 ++++---- - man/po/pt_BR.po | 8 ++++---- - man/po/ru.po | 8 ++++---- - man/po/sv.po | 14 +++++++------- - 13 files changed, 56 insertions(+), 51 deletions(-) - -commit e05713d1c730233ef3190e2bc7d0d575bd326615 -Author: Zhou Mo -Date: Sat Nov 1 17:01:57 2014 +0100 - - po: Add new Simplified Chinese man pages translation - - [guillem@debian.org: - - Add build infrastructure. ] - - Closes: #767573 - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - man/po/po4a.cfg | 5 +- - man/po/zh_CN.add | 0 - man/po/{dpkg-man.pot => zh_CN.po} | 569 ++++++++++++++++++++++++++------------ - 4 files changed, 399 insertions(+), 176 deletions(-) - -commit ef41da3479b6c0d116b2e5492b82903c8a6c3432 -Author: Zhou Mo -Date: Fri Nov 21 22:42:11 2014 +0100 - - po: Update Simplified Chinese translation - - Closes: #770280 - Signed-off-by: Guillem Jover - - debian/changelog | 2 +- - po/zh_CN.po | 393 ++++++++++++++++++++++++++++--------------------------- - 2 files changed, 198 insertions(+), 197 deletions(-) - -commit b20bdcf93553ff4db4e95a56af02d3e2b7b7e2ef -Author: Sébastien Poher -Date: Thu Nov 6 17:51:35 2014 +0100 - - po: Update French translations - - Closes: #767918, #767934 - Signed-off-by: Guillem Jover - - debian/changelog | 3 +- - dselect/po/fr.po | 40 +++++---- - man/po/fr.po | 253 +++++++++++++++++++++++++++++++++++++------------------ - 3 files changed, 195 insertions(+), 101 deletions(-) - -commit c195722ccb13c5f669a001fc2aee0c84d11d39f3 -Author: Zhou Mo -Date: Fri Oct 31 21:30:51 2014 +0100 - - po: Update Simplified Chinese programs translation - - Closes: #766724 - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/zh_CN.po | 197 ++++++++++++++++++++++++++++--------------------------- - 2 files changed, 100 insertions(+), 98 deletions(-) - -commit 3efab5944128cee4f7151ec6de17865e3a6b41e3 -Author: Trần Ngọc Quân -Date: Sat Oct 25 13:47:12 2014 +0700 - - po: Update Vietnamese programs translation - - Signed-off-by: Trần Ngọc Quân - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/vi.po | 15 ++++++++------- - 2 files changed, 9 insertions(+), 7 deletions(-) - -commit 39491c823ff0a5e8e4c87749f00438ffdaee027d -Author: Helge Kreutzmann -Date: Fri Oct 31 19:16:57 2014 +0100 - - Add missing markup to fix build - - man/po/sv.po | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit aadff2b8ee0237297452585e01f5c6ba92f5f98a -Author: Peter Krefting -Date: Thu Oct 30 21:13:09 2014 +0100 - - dpkg-architecture: Fix typo in manual page - - man/dpkg-architecture.1 | 2 +- - man/po/de.po | 2 +- - man/po/dpkg-man.pot | 2 +- - man/po/es.po | 2 +- - man/po/fr.po | 2 +- - man/po/hu.po | 2 +- - man/po/it.po | 2 +- - man/po/ja.po | 2 +- - man/po/pl.po | 2 +- - man/po/pt_BR.po | 2 +- - man/po/ru.po | 2 +- - man/po/sv.po | 2 +- - 12 files changed, 12 insertions(+), 12 deletions(-) - -commit 8994131a323cb600234a83b391670c2998ae51c6 -Author: Peter Krefting -Date: Thu Oct 30 21:11:17 2014 +0100 - - Update Swedish translation - - man/po/sv.po: 2350t0f0u - - debian/changelog | 1 + - man/po/sv.po | 1235 +++++++++++++++++++----------------------------------- - 2 files changed, 437 insertions(+), 799 deletions(-) - -commit 3f1aeb438dfa3232b4fb3f7c677d273fd603c9d5 -Author: Peter Krefting -Date: Thu Oct 30 15:10:31 2014 +0100 - - Update Swedish translation - - po/sv.po: 1088t0f0u - dselect/po/sv.po: 27t0f0u - scripts/po/sv.po: 554t0f0u - - debian/changelog | 5 + - dselect/po/sv.po | 74 +++--------- - po/sv.po | 127 +++++--------------- - scripts/po/sv.po | 360 +++++++++++++++++-------------------------------------- - 4 files changed, 160 insertions(+), 406 deletions(-) - -commit 464a64c748201c906ed70123edf4832e53373081 -Author: Sébastien Poher -Date: Mon Oct 27 10:41:07 2014 -0400 - - Update French translation - - Signed-off-by: Raphaël Hertzog - - dselect/po/fr.po | 24 ++--- - man/po/fr.po | 322 ++++++++++++------------------------------------------- - po/fr.po | 41 +++---- - scripts/po/fr.po | 127 +++++++++------------- - 4 files changed, 138 insertions(+), 376 deletions(-) - -commit 88ef88c9b396ef36bb7d139e264389ab8d7ac126 -Author: Sébastien Poher -Date: Sun Oct 26 15:49:24 2014 -0400 - - Update French translation - - man/po/fr.po: 2306t41f3u - dselect/po/fr.po: 271t3f4u - scripts/po/fr.po: 541t8f5u - po/fr.po: 1084t4f - - Signed-off-by: Raphaël Hertzog - - debian/changelog | 3 + - dselect/po/fr.po | 62 +---- - man/po/fr.po | 796 ++++++++++++++++++++++--------------------------------- - po/fr.po | 127 +++------ - scripts/po/fr.po | 145 +++++----- - 5 files changed, 435 insertions(+), 698 deletions(-) - -commit e9ee490e3c0699ab32b9535860b882a209cb0325 -Author: Sven Joachim -Date: Sat Oct 25 21:44:47 2014 +0200 - - Revert "Sven closed #766311 in 9bd52bb4baf0e6f0e5afac2c00e85e75506077ed" - - This reverts commit 615a7ff35e2772f5a3f395a209e8230b12a72935. - - The bug got already closed in dpkg 1.17.21. - - debian/changelog | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ed381030c69ffe4bac8e0389176b3ca211b04afd -Author: Helge Kreutzmann -Date: Sat Oct 25 21:13:29 2014 +0200 - - Update German scripts translation - - Update to 554t. - - scripts/po/de.po | 33 ++++++++++----------------------- - 1 file changed, 10 insertions(+), 23 deletions(-) - -commit 615a7ff35e2772f5a3f395a209e8230b12a72935 -Author: Helge Kreutzmann -Date: Sat Oct 25 21:06:16 2014 +0200 - - Sven closed #766311 in 9bd52bb4baf0e6f0e5afac2c00e85e75506077ed - - debian/changelog | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit fb2d229038e0daf7184243f074b0e1cdad8d30e8 -Author: Helge Kreutzmann -Date: Sat Oct 25 20:57:53 2014 +0200 - - Update German translation of manual pages - - Update to 2339t. - - debian/changelog | 6 ++++ - man/po/de.po | 102 +++++++++++++++---------------------------------------- - 2 files changed, 34 insertions(+), 74 deletions(-) - -commit 3af65628b74d36952a8221c73fb194c90fe01eab -Author: Sven Joachim -Date: Sat Oct 25 10:24:27 2014 +0200 - - German dpkg translation update - - Update to 1088t. - - debian/changelog | 3 ++- - po/de.po | 18 ++++-------------- - 2 files changed, 6 insertions(+), 15 deletions(-) - -commit 2d77f3d9547f721f1ee5b985b2197b59cd8adc28 -Author: Guillem Jover -Date: Sat Oct 25 03:45:59 2014 +0200 - - Bump version to 1.17.22 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 6fc9e281551e0d851e38249679688bbabbad5c5f (tag: 1.17.21) -Author: Guillem Jover -Date: Sat Oct 25 02:24:41 2014 +0200 - - Release 1.17.21 - - debian/changelog | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit fc43f4610d42a36755900f00286fc5868614fd77 -Author: Guillem Jover -Date: Sat Oct 25 03:05:40 2014 +0200 - - Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 2 +- - dselect/po/ca.po | 2 +- - dselect/po/cs.po | 2 +- - dselect/po/da.po | 2 +- - dselect/po/de.po | 2 +- - dselect/po/dselect.pot | 4 +- - dselect/po/el.po | 2 +- - dselect/po/es.po | 2 +- - dselect/po/et.po | 2 +- - dselect/po/eu.po | 2 +- - dselect/po/fr.po | 2 +- - dselect/po/gl.po | 2 +- - dselect/po/hu.po | 2 +- - dselect/po/id.po | 2 +- - dselect/po/it.po | 2 +- - dselect/po/ja.po | 2 +- - dselect/po/ko.po | 2 +- - dselect/po/nb.po | 2 +- - dselect/po/nl.po | 2 +- - dselect/po/nn.po | 2 +- - dselect/po/pl.po | 2 +- - dselect/po/pt.po | 2 +- - dselect/po/pt_BR.po | 2 +- - dselect/po/ro.po | 2 +- - dselect/po/ru.po | 2 +- - dselect/po/sk.po | 2 +- - dselect/po/sv.po | 2 +- - dselect/po/tl.po | 2 +- - dselect/po/vi.po | 2 +- - dselect/po/zh_CN.po | 2 +- - dselect/po/zh_TW.po | 2 +- - man/po/de.po | 221 +++++++++++++++++++++++++++++++++--------------- - man/po/dpkg-man.pot | 192 ++++++++++++++++++++++++++--------------- - man/po/es.po | 221 +++++++++++++++++++++++++++++++++--------------- - man/po/fr.po | 219 ++++++++++++++++++++++++++++++++--------------- - man/po/hu.po | 194 +++++++++++++++++++++++++++--------------- - man/po/it.po | 209 ++++++++++++++++++++++++++++++--------------- - man/po/ja.po | 220 ++++++++++++++++++++++++++++++++--------------- - man/po/pl.po | 221 +++++++++++++++++++++++++++++++++--------------- - man/po/pt_BR.po | 194 +++++++++++++++++++++++++++--------------- - man/po/ru.po | 195 +++++++++++++++++++++++++++--------------- - man/po/sv.po | 217 ++++++++++++++++++++++++++++++++--------------- - po/ast.po | 52 +++++++----- - po/bs.po | 39 ++++----- - po/ca.po | 52 +++++++----- - po/cs.po | 52 +++++++----- - po/da.po | 52 +++++++----- - po/de.po | 52 +++++++----- - po/dpkg.pot | 41 ++++----- - po/dz.po | 61 ++++++++----- - po/el.po | 52 +++++++----- - po/eo.po | 52 +++++++----- - po/es.po | 52 +++++++----- - po/et.po | 39 ++++----- - po/eu.po | 52 +++++++----- - po/fr.po | 52 +++++++----- - po/gl.po | 52 +++++++----- - po/hu.po | 60 ++++++++----- - po/id.po | 52 +++++++----- - po/it.po | 52 +++++++----- - po/ja.po | 52 +++++++----- - po/km.po | 60 ++++++++----- - po/ko.po | 52 +++++++----- - po/ku.po | 39 ++++----- - po/lt.po | 39 ++++----- - po/mr.po | 49 ++++++----- - po/nb.po | 52 +++++++----- - po/ne.po | 62 +++++++++----- - po/nl.po | 60 ++++++++----- - po/nn.po | 39 ++++----- - po/pa.po | 60 ++++++++----- - po/pl.po | 52 +++++++----- - po/pt.po | 52 +++++++----- - po/pt_BR.po | 52 +++++++----- - po/ro.po | 52 +++++++----- - po/ru.po | 52 +++++++----- - po/sk.po | 52 +++++++----- - po/sv.po | 52 +++++++----- - po/th.po | 52 +++++++----- - po/tl.po | 39 ++++----- - po/tr.po | 52 +++++++----- - po/vi.po | 52 +++++++----- - po/zh_CN.po | 91 +++++++------------- - po/zh_TW.po | 52 +++++++----- - scripts/po/ca.po | 152 +++++++++++++++++---------------- - scripts/po/de.po | 152 +++++++++++++++++---------------- - scripts/po/dpkg-dev.pot | 154 +++++++++++++++++---------------- - scripts/po/es.po | 152 +++++++++++++++++---------------- - scripts/po/fr.po | 152 +++++++++++++++++---------------- - scripts/po/pl.po | 152 +++++++++++++++++---------------- - scripts/po/ru.po | 152 +++++++++++++++++---------------- - scripts/po/sv.po | 152 +++++++++++++++++---------------- - 92 files changed, 3540 insertions(+), 2227 deletions(-) - -commit d87a05a75c14ca42ea5545ca76ab24c3bbb297e8 -Author: Guillem Jover -Date: Sat Oct 25 02:26:36 2014 +0200 - - doc: Update features removal schedule - - - The -u, --udeb dpkg-scanpackages options got removed, state that. - - Remove the entry about obsolete fields, as these need to be preserved - for backward compatibility, they are part of the external interface - to be able to handle ancient binary packages. - - debian/changelog | 5 +++++ - doc/README.feature-removal-schedule | 11 +---------- - 2 files changed, 6 insertions(+), 10 deletions(-) - -commit 317083c11091dcd9e2b1a36677964aaaa0b53c1c -Author: Guillem Jover -Date: Fri Oct 24 15:18:11 2014 +0200 - - dpkg: Perform trigger cycle detection earlier or later depending on dependtry - - Do trigger cycle detection after dependency checks in dependtry <= 1, - and before dependency cycle breaking in dependtry > 1. This makes sure - to always catch trigger cycles, but still gives the opportunity to try - to process triggers for packages that are not yet ready in the first - dependtry, but which might be a bit later on, without wrongly detecting - avoidable and bogus trigger cycles. - - Closes: #766557 - - debian/changelog | 6 ++++++ - src/trigproc.c | 15 +++++++++++---- - 2 files changed, 17 insertions(+), 4 deletions(-) - -commit a67c4ccd2d72d01d3c0e5f9a152d685ef8d86a1d -Author: Guillem Jover -Date: Wed Oct 15 15:36:34 2014 +0200 - - dpkg: Add explicit await trigger directives and command-line options - - The current default of awaiting is really bad, because most packages - do not really require to be put in a triggers-awaited status. Also - maintainers tend to use it instead of the -noawait variant, making - trigger cycles more common. - - Changing the default behavior was not an option, as precisely doing - so would affect the packages that would break when not put in a - triggers-awaited status. - - Instead we'll add explicit await variants for the triggers, and - dpkg-trigger, and probably deprecate the implicit ones during the - 1.18.x cycle. Maybe, and only maybe it can be switched to be the - noawait variants in 1.19.x or 1.20.x, perhaps. - - debian/changelog | 4 ++++ - lib/dpkg/triglib.c | 14 ++++++++++++-- - man/deb-triggers.5 | 17 +++++++++++++++-- - man/dpkg-trigger.1 | 4 ++++ - src/trigcmd.c | 14 +++++++------- - 5 files changed, 42 insertions(+), 11 deletions(-) - -commit 0196624315bc4d0d9763caf586edab1106cc1da2 -Author: Guillem Jover -Date: Fri Oct 24 09:34:42 2014 +0200 - - dpkg-parsechangelog: Accept -S value in addition to -Svalue - - Instead of rewording the man page and the --help output, just accept - what is to be expected from the documentation. - - Closes: #766559 - - debian/changelog | 2 ++ - scripts/dpkg-parsechangelog.pl | 4 ++-- - 2 files changed, 4 insertions(+), 2 deletions(-) - -commit 5e4830d28fd7c8354a82b0b1c3a07d94946bee64 -Author: Guillem Jover -Date: Fri Oct 24 09:32:58 2014 +0200 - - dpkg-parsechangelog: Do not accept values bundled with long option names - - The parser was accepting things like «--count10», which is just broken. - Instead allow only «--count=10» in addition to «--count 10». - - debian/changelog | 3 +++ - scripts/dpkg-parsechangelog.pl | 8 ++------ - 2 files changed, 5 insertions(+), 6 deletions(-) - -commit 563ec9322ed2544bd18fb320e60d525496c8ea88 -Author: Guillem Jover -Date: Fri Oct 24 09:31:34 2014 +0200 - - dpkg-genchanges(1): Document -g and -G options - - Missed in commit e161b733cf23716f35328afcd6f0ac23dc4f8e03. - - Closes: #766568 - - debian/changelog | 1 + - man/dpkg-genchanges.1 | 12 ++++++++++-- - 2 files changed, 11 insertions(+), 2 deletions(-) - -commit f22d73c3d22194ffc85d7c56b0a084448636e82d -Author: Guillem Jover -Date: Fri Oct 24 02:47:04 2014 +0200 - - dpkg-source: Error out on obsolete Build-Profiles syntax - - Switch the warning into an error, and stop doing the backward - compatibility mapping now that only doxygen is using the obsolete - syntax. - - debian/changelog | 1 + - scripts/dpkg-source.pl | 11 +++-------- - 2 files changed, 4 insertions(+), 8 deletions(-) - -commit 9e26996fa45cd5fc1c5b92025fddf3cac5c7b1a5 -Author: Guillem Jover -Date: Sat Oct 25 00:41:20 2014 +0200 - - debian: Require patch >= 2.7 to get git-style diff support - - This guarantees that we get a reproducible behavior, as previous patch - versions did not support git-style diffs. - - debian/changelog | 4 ++++ - debian/control | 4 ++-- - 2 files changed, 6 insertions(+), 2 deletions(-) - -commit 853d6296c0a7afc290266cc56f5132adaa371c3a -Author: Zhou Mo -Date: Sat Oct 25 00:52:17 2014 +0200 - - po: Update Simplified Chinese program translations - - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/zh_CN.po | 137 ++++++++++++++++++++++++++----------------------------- - 2 files changed, 66 insertions(+), 72 deletions(-) - -commit d52c9520fb328d5e65d6109b847aa3e891c5cae7 -Author: Guillem Jover -Date: Fri Oct 24 02:46:44 2014 +0200 - - po: Update Catalan translations - - debian/changelog | 4 ++ - po/ca.po | 21 +++--- - scripts/po/ca.po | 192 +++++++++++++++++++------------------------------------ - 3 files changed, 76 insertions(+), 141 deletions(-) - -commit 9bd52bb4baf0e6f0e5afac2c00e85e75506077ed -Author: Sven Joachim -Date: Thu Oct 23 17:52:46 2014 +0200 - - German dpkg translation update - - Update to 1088t. - - debian/changelog | 3 ++- - po/de.po | 16 +++++++--------- - 2 files changed, 9 insertions(+), 10 deletions(-) - -commit e1558a226b101eaabf55e9e5f7c5943550a2e184 -Author: Guillem Jover -Date: Thu Oct 23 02:12:23 2014 +0200 - - Bump version to 1.17.21 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 824353a6a263b0a2a2bc424dbdb28c544a5ff624 (tag: 1.17.20) -Author: Guillem Jover -Date: Thu Oct 23 00:43:14 2014 +0200 - - Release 1.17.20 - - debian/changelog | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 4191c2cd8c955172df853658f8e5ddc1f5584ef8 -Author: Guillem Jover -Date: Thu Oct 23 01:06:46 2014 +0200 - - Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 2 +- - dselect/po/ca.po | 2 +- - dselect/po/cs.po | 2 +- - dselect/po/da.po | 2 +- - dselect/po/de.po | 2 +- - dselect/po/dselect.pot | 4 +- - dselect/po/el.po | 2 +- - dselect/po/es.po | 2 +- - dselect/po/et.po | 2 +- - dselect/po/eu.po | 2 +- - dselect/po/fr.po | 2 +- - dselect/po/gl.po | 2 +- - dselect/po/hu.po | 2 +- - dselect/po/id.po | 2 +- - dselect/po/it.po | 2 +- - dselect/po/ja.po | 2 +- - dselect/po/ko.po | 2 +- - dselect/po/nb.po | 2 +- - dselect/po/nl.po | 2 +- - dselect/po/nn.po | 2 +- - dselect/po/pl.po | 2 +- - dselect/po/pt.po | 2 +- - dselect/po/pt_BR.po | 2 +- - dselect/po/ro.po | 2 +- - dselect/po/ru.po | 2 +- - dselect/po/sk.po | 2 +- - dselect/po/sv.po | 2 +- - dselect/po/tl.po | 2 +- - dselect/po/vi.po | 2 +- - dselect/po/zh_CN.po | 2 +- - dselect/po/zh_TW.po | 2 +- - man/po/de.po | 6 +- - man/po/dpkg-man.pot | 6 +- - man/po/es.po | 6 +- - man/po/fr.po | 6 +- - man/po/hu.po | 4 +- - man/po/it.po | 6 +- - man/po/ja.po | 6 +- - man/po/pl.po | 6 +- - man/po/pt_BR.po | 4 +- - man/po/ru.po | 6 +- - man/po/sv.po | 6 +- - po/ast.po | 162 ++++++++++++++++++++++++---------------------- - po/bs.po | 161 ++++++++++++++++++++++++---------------------- - po/ca.po | 165 ++++++++++++++++++++++++----------------------- - po/cs.po | 165 ++++++++++++++++++++++++----------------------- - po/da.po | 165 ++++++++++++++++++++++++----------------------- - po/de.po | 165 ++++++++++++++++++++++++----------------------- - po/dpkg.pot | 163 +++++++++++++++++++++++----------------------- - po/dz.po | 161 ++++++++++++++++++++++++---------------------- - po/el.po | 161 ++++++++++++++++++++++++---------------------- - po/eo.po | 165 ++++++++++++++++++++++++----------------------- - po/es.po | 165 ++++++++++++++++++++++++----------------------- - po/et.po | 161 ++++++++++++++++++++++++---------------------- - po/eu.po | 162 ++++++++++++++++++++++++---------------------- - po/fr.po | 165 ++++++++++++++++++++++++----------------------- - po/gl.po | 161 ++++++++++++++++++++++++---------------------- - po/hu.po | 161 ++++++++++++++++++++++++---------------------- - po/id.po | 162 ++++++++++++++++++++++++---------------------- - po/it.po | 165 ++++++++++++++++++++++++----------------------- - po/ja.po | 165 ++++++++++++++++++++++++----------------------- - po/km.po | 161 ++++++++++++++++++++++++---------------------- - po/ko.po | 162 ++++++++++++++++++++++++---------------------- - po/ku.po | 161 ++++++++++++++++++++++++---------------------- - po/lt.po | 161 ++++++++++++++++++++++++---------------------- - po/mr.po | 161 ++++++++++++++++++++++++---------------------- - po/nb.po | 162 ++++++++++++++++++++++++---------------------- - po/ne.po | 161 ++++++++++++++++++++++++---------------------- - po/nl.po | 161 ++++++++++++++++++++++++---------------------- - po/nn.po | 161 ++++++++++++++++++++++++---------------------- - po/pa.po | 161 ++++++++++++++++++++++++---------------------- - po/pl.po | 165 ++++++++++++++++++++++++----------------------- - po/pt.po | 165 ++++++++++++++++++++++++----------------------- - po/pt_BR.po | 161 ++++++++++++++++++++++++---------------------- - po/ro.po | 162 ++++++++++++++++++++++++---------------------- - po/ru.po | 165 ++++++++++++++++++++++++----------------------- - po/sk.po | 165 ++++++++++++++++++++++++----------------------- - po/sv.po | 165 ++++++++++++++++++++++++----------------------- - po/th.po | 165 ++++++++++++++++++++++++----------------------- - po/tl.po | 161 ++++++++++++++++++++++++---------------------- - po/tr.po | 165 ++++++++++++++++++++++++----------------------- - po/vi.po | 168 +++++++++++++++++++++++++----------------------- - po/zh_CN.po | 168 +++++++++++++++++++++++++----------------------- - po/zh_TW.po | 165 ++++++++++++++++++++++++----------------------- - scripts/po/ca.po | 105 +++++++++++++++++------------- - scripts/po/de.po | 108 ++++++++++++++++++------------- - scripts/po/dpkg-dev.pot | 107 +++++++++++++++++------------- - scripts/po/es.po | 111 +++++++++++++++++++------------- - scripts/po/fr.po | 113 ++++++++++++++++++-------------- - scripts/po/pl.po | 111 +++++++++++++++++++------------- - scripts/po/ru.po | 114 +++++++++++++++++++------------- - scripts/po/sv.po | 108 ++++++++++++++++++------------- - 92 files changed, 4135 insertions(+), 3720 deletions(-) - -commit fe0982b81b6812af15ac6070e9f9fa67ea85e623 -Author: Guillem Jover -Date: Wed Oct 22 23:40:46 2014 +0200 - - dpkg(1): Reword description for installed status - - Prompted-by: #752123 - - debian/changelog | 1 + - man/dpkg.1 | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 26a5f85e7bd5cb974d23fef543d9a69caa3726bf -Author: Guillem Jover -Date: Wed Oct 22 19:01:51 2014 +0200 - - u-a: Inline alternative status description into translatable string - - This makes it possible to correctly translate the string. - - Required-by: #766311 - - debian/changelog | 2 ++ - utils/update-alternatives.c | 9 ++++++--- - 2 files changed, 8 insertions(+), 3 deletions(-) - -commit 2d5eb396c21b773b50fdd2bbe0cbce0bac1c94b6 -Author: Guillem Jover -Date: Wed Oct 22 14:59:36 2014 +0200 - - po: Unfuzzy strings - - scripts/po/ca.po | 2 +- - scripts/po/de.po | 4 ++-- - scripts/po/dpkg-dev.pot | 2 +- - scripts/po/es.po | 2 +- - scripts/po/fr.po | 2 +- - scripts/po/pl.po | 4 ++-- - scripts/po/ru.po | 4 ++-- - scripts/po/sv.po | 4 ++-- - 8 files changed, 12 insertions(+), 12 deletions(-) - -commit c5aa5d8e00d076a4ca4b35ab8f2a3eb082bb6cd5 -Author: Guillem Jover -Date: Tue Oct 14 20:05:54 2014 +0200 - - Dpkg::Source::Package::V2: Allow detached upstream signatures - - Upstream tarballs usually come with detached signatures, which would be - useful to have in the source package, as an additional check that could - be performed to verify its integrity and provenance. - - For now just allow the detached signatures to be listed in the file - fields in the source control file (.dsc). - - Closes: #759478 - Suggested-by: Daniel Kahn Gillmor - - debian/changelog | 3 +++ - scripts/Dpkg/Source/Package/V2.pm | 23 +++++++++++++++++++++-- - 2 files changed, 24 insertions(+), 2 deletions(-) - -commit 9ee62ecfc8937f24a82805a424564997042dd984 -Author: Guillem Jover -Date: Wed Oct 22 22:29:21 2014 +0200 - - dpkg: Make the initial dependtry be 1 instead of 0 - - This gets rid of an unused dependtry step, which got accidentally - introduced when the perl dpkg was rewritten in C, ages ago. - - debian/changelog | 3 +++ - src/packages.c | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit edeed5695089a283a0abffcf0044fc9bf1c3a0b8 -Author: Guillem Jover -Date: Wed Oct 22 14:04:30 2014 +0200 - - dpkg: Make sure to always switch to the next dependtry after no progress - - We might get into a situation where we are making no progress, and - dependencies_ok() is still telling us that we can make progress by - fixing some triggers awaited package, but if those packages require - a dependency cycle to be broken we will get stuck and not progress to - the next dependtry. - - Add an additional hard limit where we will jump dependtry, in case we - are not making any progress. This is a safety net that was removed when - triggers got introduced, but that only became active when adding the - dependency checks to trigproc(), although it was never future-proof. - - Regression introduced in commit 10440009b68f59eeed4cb1b56547e3cf356aa540 - and commit e121d882c92099d1f1aa9eedd0c0e90806a44efa. - - Closes: #766242, #766322 - - debian/changelog | 4 ++++ - src/packages.c | 10 +++++++++- - 2 files changed, 13 insertions(+), 1 deletion(-) - -commit e65a01f242a218828ec205467fb6203515fde48a -Author: Guillem Jover -Date: Wed Oct 22 14:03:56 2014 +0200 - - dpkg: Add a debug line for each package processed in the queue - - This gives a general overview of the current progress. - - src/packages.c | 3 +++ - 1 file changed, 3 insertions(+) - -commit ce27f5dc0c3dc6ed7656d09784ea461407765d7d -Author: Guillem Jover -Date: Tue Oct 21 23:18:26 2014 +0200 - - dpkg: Add a requeueing insertion protection for process_queue() - - We should not requeue packages already in the queue. Just protect it - in a similar way in how the deferred triggers queue is protected. In - the future these can be unified. - - debian/changelog | 3 +++ - src/filesdb.c | 1 + - src/main.h | 2 ++ - src/packages.c | 7 +++++++ - 4 files changed, 13 insertions(+) - -commit 2867df049d99250b59c3449669541e370182af43 -Author: Trần Ngọc Quân -Date: Wed Oct 22 15:24:58 2014 +0700 - - po: Update Vietnamese programs translation - - Signed-off-by: Trần Ngọc Quân - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/vi.po | 8 ++++---- - 2 files changed, 5 insertions(+), 4 deletions(-) - -commit 3f918d69c608ab87c7d0f12c8ad36ade1ed8c1e3 -Author: Zhou Mo -Date: Tue Oct 21 10:18:34 2014 +0200 - - po: Update Simplified Chinese program translations - - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/zh_CN.po | 15 +++++++++------ - 2 files changed, 10 insertions(+), 6 deletions(-) - -commit 8f86502b9d72f9a5f3c170ae22226295a30484d3 -Author: Guillem Jover -Date: Tue Oct 21 10:17:45 2014 +0200 - - debian: Correct Zhou Mo name - - .mailmap | 1 + - debian/changelog | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit ee77bc3b16a7f3feb0658193b00d07a57c8aa673 -Author: Sven Joachim -Date: Mon Oct 20 18:52:30 2014 +0200 - - German dpkg translation update - - Update to 1087t, thanks to Helge Kreutzmann for his suggestions. - - debian/changelog | 3 ++- - po/de.po | 17 ++++++++--------- - 2 files changed, 10 insertions(+), 10 deletions(-) - -commit c15691f73c83b9f453145b7b5e1f9d360720c6d6 -Author: Guillem Jover -Date: Mon Oct 20 16:06:42 2014 +0200 - - Bump version to 1.17.20 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 2846468164a5cb5e008409bc5288df30a31b05f6 (tag: 1.17.19) -Author: Guillem Jover -Date: Mon Oct 20 15:17:53 2014 +0200 - - Release 1.17.19 - - debian/changelog | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 63e09e806236dfe588407e951f5b8169756cc90b -Author: Guillem Jover -Date: Mon Oct 20 15:26:14 2014 +0200 - - Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 2 +- - dselect/po/ca.po | 2 +- - dselect/po/cs.po | 2 +- - dselect/po/da.po | 2 +- - dselect/po/de.po | 2 +- - dselect/po/dselect.pot | 4 +- - dselect/po/el.po | 2 +- - dselect/po/es.po | 2 +- - dselect/po/et.po | 2 +- - dselect/po/eu.po | 2 +- - dselect/po/fr.po | 2 +- - dselect/po/gl.po | 2 +- - dselect/po/hu.po | 2 +- - dselect/po/id.po | 2 +- - dselect/po/it.po | 2 +- - dselect/po/ja.po | 2 +- - dselect/po/ko.po | 2 +- - dselect/po/nb.po | 2 +- - dselect/po/nl.po | 2 +- - dselect/po/nn.po | 2 +- - dselect/po/pl.po | 2 +- - dselect/po/pt.po | 2 +- - dselect/po/pt_BR.po | 2 +- - dselect/po/ro.po | 2 +- - dselect/po/ru.po | 2 +- - dselect/po/sk.po | 2 +- - dselect/po/sv.po | 2 +- - dselect/po/tl.po | 2 +- - dselect/po/vi.po | 2 +- - dselect/po/zh_CN.po | 2 +- - dselect/po/zh_TW.po | 2 +- - man/po/de.po | 536 ++++++++++++++++++++++++++---------------------- - man/po/dpkg-man.pot | 442 ++++++++++++++++++++------------------- - man/po/es.po | 466 ++++++++++++++++++++++------------------- - man/po/fr.po | 476 +++++++++++++++++++++++------------------- - man/po/hu.po | 444 ++++++++++++++++++++------------------- - man/po/it.po | 476 +++++++++++++++++++++++------------------- - man/po/ja.po | 466 ++++++++++++++++++++++------------------- - man/po/pl.po | 466 ++++++++++++++++++++++------------------- - man/po/pt_BR.po | 444 ++++++++++++++++++++------------------- - man/po/ru.po | 444 ++++++++++++++++++++------------------- - man/po/sv.po | 476 +++++++++++++++++++++++------------------- - po/ast.po | 69 ++++--- - po/bs.po | 63 +++--- - po/ca.po | 69 ++++--- - po/cs.po | 68 +++--- - po/da.po | 68 +++--- - po/de.po | 68 +++--- - po/dpkg.pot | 65 +++--- - po/dz.po | 68 +++--- - po/el.po | 68 +++--- - po/eo.po | 68 +++--- - po/es.po | 69 ++++--- - po/et.po | 69 ++++--- - po/eu.po | 68 +++--- - po/fr.po | 68 +++--- - po/gl.po | 68 +++--- - po/hu.po | 68 +++--- - po/id.po | 69 ++++--- - po/it.po | 72 +++---- - po/ja.po | 68 +++--- - po/km.po | 68 +++--- - po/ko.po | 68 +++--- - po/ku.po | 68 +++--- - po/lt.po | 68 +++--- - po/mr.po | 68 +++--- - po/nb.po | 68 +++--- - po/ne.po | 68 +++--- - po/nl.po | 68 +++--- - po/nn.po | 68 +++--- - po/pa.po | 68 +++--- - po/pl.po | 68 +++--- - po/pt.po | 69 ++++--- - po/pt_BR.po | 69 ++++--- - po/ro.po | 68 +++--- - po/ru.po | 69 ++++--- - po/sk.po | 68 +++--- - po/sv.po | 68 +++--- - po/th.po | 68 +++--- - po/tl.po | 69 ++++--- - po/tr.po | 118 ++++------- - po/vi.po | 68 +++--- - po/zh_CN.po | 68 +++--- - po/zh_TW.po | 68 +++--- - scripts/po/ca.po | 2 +- - scripts/po/de.po | 37 +++- - scripts/po/dpkg-dev.pot | 4 +- - scripts/po/es.po | 2 +- - scripts/po/fr.po | 2 +- - scripts/po/pl.po | 2 +- - scripts/po/ru.po | 2 +- - scripts/po/sv.po | 2 +- - 92 files changed, 4490 insertions(+), 3674 deletions(-) - -commit d3264ed3251cda9083ba8c717926e3dfb97f1a9d -Author: Guillem Jover -Date: Sat Oct 18 04:49:33 2014 +0200 - - dpkg: Rework dependency problem debug and notices on trigproc() - - The dependencies_ok() function already prints adequate debugging - information, there's no point repeating it in the call site. - - Add also a notice() in case we end up forcing the dependency. - - debian/changelog | 1 + - src/trigproc.c | 18 +++++++----------- - 2 files changed, 8 insertions(+), 11 deletions(-) - -commit e121d882c92099d1f1aa9eedd0c0e90806a44efa -Author: Guillem Jover -Date: Wed Oct 15 15:30:28 2014 +0200 - - dpkg: Fix trigger dependency checks and cycle detection - - Break dependency cycles on dependtry > 1 in trigproc(), before calling - dependencies_ok(). But if we have a dependency cycle where a package A - awaits triggers and package P has them pending, and both depend on each - other, the dependency cycle breaking code is not smart enough to break - it at the correct place, as the relationship is directional. So we handle - it specially on deppossi_ok_found(), in case we are in the cycle breaking - dependtry. Otherwise we just defer it, but do not record that it can be - fixed by trigger processing, because we would get into an inifite loop. - - Move trigger cycle detection after dependency checks, so that it does - not detect bogus trigger cycles that would have been avoided simply by - the dependency checks and cycle breaking code. - - Regression introduced in commit 35c1c59cfad75d75b3d98974ad201f95d932adb6. - - Closes: #765434, #765668, #765734, #765781, #765789, #765952 - - debian/changelog | 3 +++ - src/packages.c | 18 ++++++++++++++++++ - src/trigproc.c | 10 +++++++--- - 3 files changed, 28 insertions(+), 3 deletions(-) - -commit 17630063debf3183b61bd82fddd2bed484e0c954 -Author: Guillem Jover -Date: Sun Oct 19 14:02:07 2014 +0200 - - dpkg: Reverse --verify-format logic to accept 'rpm' as valid - - Closes: #765907 - - debian/changelog | 2 ++ - src/main.h | 2 +- - src/verify.c | 6 +++--- - 3 files changed, 6 insertions(+), 4 deletions(-) - -commit 1f57f1f06c7fe1cbcdaa1242049b7b23aa9135aa -Author: Guillem Jover -Date: Sat Oct 18 23:17:56 2014 +0200 - - dpkg: Add invoke hooks for add-architecture and remove-architecture - - Prompted-by: Helmut Grohne - - debian/changelog | 2 ++ - man/dpkg.1 | 3 ++- - src/main.c | 2 ++ - 3 files changed, 6 insertions(+), 1 deletion(-) - -commit 6df7eb8f84400af6c0d38ead029c0257c890fdd4 -Author: Guillem Jover -Date: Fri Oct 17 14:36:17 2014 +0200 - - scripts/t: Enable and fix minimal :native arch-qualifier tests - - scripts/t/Dpkg_Deps.t | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 1c1823e0751f4aa47f16d97a3eaf854a4af414fe -Author: Guillem Jover -Date: Sun Oct 19 05:23:09 2014 +0200 - - s-s-d(8): Mention --pid and --ppid in the DESCRIPTION section - - debian/changelog | 1 + - man/start-stop-daemon.8 | 6 ++++-- - 2 files changed, 5 insertions(+), 2 deletions(-) - -commit d163f7f5c06261b7126856246be971e86580a1e9 -Author: Guillem Jover -Date: Thu Oct 16 22:34:35 2014 +0200 - - s-s-d: Add a new --remove-pidfile option - - This is the counter-option to --make-pidfile, so that programs that need - their pidfile created can use an option to remove them without needing - to do that manually. - - debian/changelog | 1 + - man/start-stop-daemon.8 | 11 ++++++++++- - utils/start-stop-daemon.c | 19 +++++++++++++++++++ - 3 files changed, 30 insertions(+), 1 deletion(-) - -commit af9a54d1f985a3c513adda9a44e4cc3bf7240ab3 -Author: lumin -Date: Sat Oct 18 23:30:21 2014 +0200 - - po: Update Simplified Chinese programs translation - - Closes: #765693 - - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/zh_CN.po | 2070 +++++++++++++++++++----------------------------------- - 2 files changed, 732 insertions(+), 1339 deletions(-) - -commit 4c1001ed39c0f1bad09e6a38585858fb373e8ef6 -Author: Milo Casagrande -Date: Sat Oct 18 04:53:58 2014 +0200 - - po: Update Italian programs translation - - Closes: #765748 - - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/it.po | 161 ++++++++++++++++++++----------------------------------- - 2 files changed, 58 insertions(+), 104 deletions(-) - -commit f7b328a12c21ed6d4d0bdc17bc45fb4545165bb3 -Author: Guillem Jover -Date: Mon Oct 13 21:03:14 2014 +0200 - - s-s-d: Create a pidfile even when not backgrounding ourselves - - Regression introduced in commit 29778da537e2ff1a0f032db33dde43413b7345ef. - - When the user asked us to create the pidfile, but _not_ to background - ourselves, we should still create the pidfile. - - This usage is somewhat dubious, as s-s-d has an option to background, - which is better in any way, as it will make sure to return error codes - in case the program cannot be started for whatever reason. But it's - still a regression. - - Closes: #765110 - - debian/changelog | 4 ++++ - utils/start-stop-daemon.c | 3 +++ - 2 files changed, 7 insertions(+) - -commit 1bc921f8c8bcad83158cd240da4ecb266d9dc62f -Author: Guillem Jover -Date: Mon Oct 13 11:17:22 2014 +0200 - - debian: Bump the Breaks on devscripts to 2.14.10 - - Due to the new dpkg-architecture command-line parsing strictness - introduced in 1.17.17. - - Closes: #764965 - - debian/changelog | 4 ++++ - debian/control | 2 +- - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit eaded13dba7476659441accdac1f663f475ab5b5 -Author: Mert Dirik -Date: Mon Oct 13 11:18:58 2014 +0200 - - po: Update Turkish programs translation - - Closes: #764942 - - Signed-off-by: Guillem Jover - - debian/changelog | 3 +++ - po/tr.po | 9 +++++---- - 2 files changed, 8 insertions(+), 4 deletions(-) - -commit 78a6aac2559648d1a0e0b4926e23aed67d8b81fb -Author: Helge Kreutzmann -Date: Mon Oct 13 21:10:07 2014 +0200 - - Update German scripts translation - - Update to 550t. - - debian/changelog | 3 ++ - scripts/po/de.po | 100 ++++++++++++++++++++++++------------------------------- - 2 files changed, 47 insertions(+), 56 deletions(-) - -commit 2bbe5ccc5ec29999524df1ec770d626a09313e9d -Author: Helge Kreutzmann -Date: Sun Oct 12 21:24:10 2014 +0200 - - Update German translation of manual pages - - Update to 2339t. - - debian/changelog | 3 +- - man/po/de.po | 677 +++++++++++++++++++------------------------------------ - 2 files changed, 233 insertions(+), 447 deletions(-) - -commit b83451ce4c75742daa219bfc81bdef95e413af0c -Author: Guillem Jover -Date: Sun Oct 12 16:42:10 2014 +0200 - - Bump version to 1.17.19 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 45a0a65b2ccf4c29bbf0ba95583a14f4c1bb2185 (tag: 1.17.18) -Author: Guillem Jover -Date: Sun Oct 12 15:47:49 2014 +0200 - - Release 1.17.18 - - debian/changelog | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 8f0122e0c439de1ee4521a9009427aa3704de521 -Author: Guillem Jover -Date: Sun Oct 12 15:16:41 2014 +0200 - - dpkg-shlibdeps: Handle empty minimum versions when initializing them - - If the minimum version is empty (which means it was 0), we cannot use it - to compare against the existing minimum version if that exists, and we - should not be overwritting that, either. - - Regression introduced in commit 51c55641fb6c66e149ea93c344cb788c68978c75. - - Closes: #764929 - - debian/changelog | 5 +++++ - scripts/dpkg-shlibdeps.pl | 2 +- - 2 files changed, 6 insertions(+), 1 deletion(-) - -commit 8f28a4db519461cf529616dd627a634e3a1fa56c -Author: Guillem Jover -Date: Sun Oct 12 15:40:10 2014 +0200 - - po: Update Catalan translations - - debian/changelog | 4 +++ - dselect/po/ca.po | 68 +++++++++---------------------------------- - po/ca.po | 88 ++++++++++---------------------------------------------- - 3 files changed, 32 insertions(+), 128 deletions(-) - -commit 06cee0299cfc821bfcd1ee2dd7c54ac75095ae37 -Author: Sven Joachim -Date: Sun Oct 12 09:11:55 2014 +0200 - - German dselect translation update - - Update to 278t. - - debian/changelog | 3 ++- - dselect/po/de.po | 24 +++++++++--------------- - 2 files changed, 11 insertions(+), 16 deletions(-) - -commit 0b3bf6654af546eece8d19a00859ea109e26a0b6 -Author: Guillem Jover -Date: Sun Oct 12 07:00:25 2014 +0200 - - Bump version to 1.17.18 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit fbfc2aa1c004aa9e6088f5c5e9a9bcb6abbea66a (tag: 1.17.17) -Author: Guillem Jover -Date: Sun Oct 12 04:59:36 2014 +0200 - - Release 1.17.17 - - debian/changelog | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 148d7edd0da215a7d93b92c89c7aaf035f9e4d4d -Author: Guillem Jover -Date: Sun Oct 12 05:37:50 2014 +0200 - - Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 32 +- - dselect/po/ca.po | 36 +- - dselect/po/cs.po | 36 +- - dselect/po/da.po | 36 +- - dselect/po/de.po | 36 +- - dselect/po/dselect.pot | 34 +- - dselect/po/el.po | 36 +- - dselect/po/es.po | 36 +- - dselect/po/et.po | 36 +- - dselect/po/eu.po | 36 +- - dselect/po/fr.po | 36 +- - dselect/po/gl.po | 36 +- - dselect/po/hu.po | 36 +- - dselect/po/id.po | 36 +- - dselect/po/it.po | 36 +- - dselect/po/ja.po | 36 +- - dselect/po/ko.po | 37 +- - dselect/po/nb.po | 36 +- - dselect/po/nl.po | 36 +- - dselect/po/nn.po | 36 +- - dselect/po/pl.po | 36 +- - dselect/po/pt.po | 36 +- - dselect/po/pt_BR.po | 36 +- - dselect/po/ro.po | 36 +- - dselect/po/ru.po | 36 +- - dselect/po/sk.po | 36 +- - dselect/po/sv.po | 36 +- - dselect/po/tl.po | 36 +- - dselect/po/vi.po | 36 +- - dselect/po/zh_CN.po | 36 +- - dselect/po/zh_TW.po | 36 +- - man/po/de.po | 688 +++++++++++++++++------------- - man/po/dpkg-man.pot | 566 ++++++++++++------------ - man/po/es.po | 677 ++++++++++++++++------------- - man/po/fr.po | 688 +++++++++++++++++------------- - man/po/hu.po | 631 ++++++++++++++------------- - man/po/it.po | 673 ++++++++++++++++------------- - man/po/ja.po | 675 ++++++++++++++++------------- - man/po/pl.po | 679 ++++++++++++++++------------- - man/po/pt_BR.po | 627 ++++++++++++++------------- - man/po/ru.po | 627 ++++++++++++++------------- - man/po/sv.po | 687 +++++++++++++++++------------- - po/ast.po | 28 +- - po/bs.po | 28 +- - po/ca.po | 28 +- - po/cs.po | 28 +- - po/da.po | 28 +- - po/de.po | 28 +- - po/dpkg.pot | 32 +- - po/dz.po | 28 +- - po/el.po | 28 +- - po/eo.po | 28 +- - po/es.po | 28 +- - po/et.po | 28 +- - po/eu.po | 28 +- - po/fr.po | 28 +- - po/gl.po | 28 +- - po/hu.po | 28 +- - po/id.po | 28 +- - po/it.po | 28 +- - po/ja.po | 28 +- - po/km.po | 28 +- - po/ko.po | 28 +- - po/ku.po | 28 +- - po/lt.po | 28 +- - po/mr.po | 28 +- - po/nb.po | 28 +- - po/ne.po | 28 +- - po/nl.po | 28 +- - po/nn.po | 28 +- - po/pa.po | 28 +- - po/pl.po | 28 +- - po/pt.po | 28 +- - po/pt_BR.po | 28 +- - po/ro.po | 28 +- - po/ru.po | 28 +- - po/sk.po | 28 +- - po/sv.po | 28 +- - po/th.po | 28 +- - po/tl.po | 28 +- - po/tr.po | 28 +- - po/vi.po | 28 +- - po/zh_CN.po | 28 +- - po/zh_TW.po | 28 +- - scripts/po/ca.po | 1045 +++++++++++++++++++++++---------------------- - scripts/po/de.po | 1085 +++++++++++++++++++++++++---------------------- - scripts/po/dpkg-dev.pot | 1044 +++++++++++++++++++++++---------------------- - scripts/po/es.po | 1040 ++++++++++++++++++++++++--------------------- - scripts/po/fr.po | 1068 ++++++++++++++++++++++++---------------------- - scripts/po/pl.po | 1032 +++++++++++++++++++++++--------------------- - scripts/po/ru.po | 1028 +++++++++++++++++++++++--------------------- - scripts/po/sv.po | 1026 +++++++++++++++++++++++--------------------- - 92 files changed, 10090 insertions(+), 7787 deletions(-) - -commit 9b08b531fd0dcaa0da2558929172ce21c2d312b9 -Author: Guillem Jover -Date: Sat Oct 11 22:13:12 2014 +0200 - - scripts: Document private modules as such in a CHANGES section - - This is to try to make sure, that even if documented, people will not - accidentally rely on private modules, that have not API stability - guarantees. - - debian/changelog | 1 + - scripts/Dpkg/BuildEnv.pm | 6 ++++++ - scripts/Dpkg/Control/Types.pm | 6 ++++++ - scripts/Dpkg/Vendor/Debian.pm | 8 ++++++++ - scripts/Dpkg/Vendor/Default.pm | 6 ++++++ - scripts/Dpkg/Vendor/Ubuntu.pm | 6 ++++++ - 6 files changed, 33 insertions(+) - -commit 916aa6d3bbfa0d0290f5ba74706f71a68f6da0cd -Author: Guillem Jover -Date: Sat Oct 11 16:17:12 2014 +0200 - - scripts: Remove EXPORTED from POD section titles - - These are clearly exported, otherwise they would not be documented. - - debian/changelog | 1 + - scripts/Dpkg/Checksums.pm | 2 +- - scripts/Dpkg/Compression.pm | 2 +- - 3 files changed, 3 insertions(+), 2 deletions(-) - -commit 8d886702ff54efcd19dcf674cb92ea125a4822ca -Author: Guillem Jover -Date: Sat Oct 11 15:58:15 2014 +0200 - - scripts: Document all public module versions in a CHANGES section - - This makes it clear what is the current version of the module, and that - it is a public interface. - - debian/changelog | 1 + - scripts/Dpkg/BuildFlags.pm | 4 ++++ - scripts/Dpkg/BuildOptions.pm | 4 ++++ - scripts/Dpkg/Changelog.pm | 6 ++++++ - scripts/Dpkg/Changelog/Debian.pm | 6 ++++++ - scripts/Dpkg/Changelog/Entry.pm | 6 ++++++ - scripts/Dpkg/Changelog/Entry/Debian.pm | 4 ++++ - scripts/Dpkg/Changelog/Parse.pm | 6 ++++++ - scripts/Dpkg/Checksums.pm | 4 ++++ - scripts/Dpkg/Compression.pm | 4 ++++ - scripts/Dpkg/Compression/FileHandle.pm | 4 ++++ - scripts/Dpkg/Compression/Process.pm | 6 ++++++ - scripts/Dpkg/Conf.pm | 4 ++++ - scripts/Dpkg/Control.pm | 6 ++++++ - scripts/Dpkg/Control/Changelog.pm | 6 ++++++ - scripts/Dpkg/Control/Fields.pm | 6 ++++++ - scripts/Dpkg/Control/FieldsCore.pm | 6 ++++++ - scripts/Dpkg/Control/Hash.pm | 6 ++++++ - scripts/Dpkg/Control/HashCore.pm | 4 ++++ - scripts/Dpkg/Control/Info.pm | 6 ++++++ - scripts/Dpkg/Deps.pm | 4 ++++ - scripts/Dpkg/Exit.pm | 4 ++++ - scripts/Dpkg/IPC.pm | 4 ++++ - scripts/Dpkg/Index.pm | 6 ++++++ - scripts/Dpkg/Interface/Storable.pm | 6 ++++++ - scripts/Dpkg/Path.pm | 4 ++++ - scripts/Dpkg/Source/Package.pm | 4 ++++ - scripts/Dpkg/Substvars.pm | 4 ++++ - scripts/Dpkg/Vendor.pm | 4 ++++ - scripts/Dpkg/Version.pm | 4 ++++ - 30 files changed, 143 insertions(+) - -commit 1b7cbd6176575f926526b380475e9f055121e01e -Author: Guillem Jover -Date: Fri Oct 10 00:50:26 2014 +0200 - - Dpkg::BuildProfiles: Mark the module as a public interface - - debian/changelog | 1 + - debian/control | 1 + - scripts/Dpkg/BuildProfiles.pm | 8 +++++++- - 3 files changed, 9 insertions(+), 1 deletion(-) - -commit 9faba94aeacc7f8a85a785d7cf1334cf340208fe -Author: Guillem Jover -Date: Sat Oct 11 21:37:37 2014 +0200 - - Dpkg::Gettext: Move exporter code close to the top - - scripts/Dpkg/Gettext.pm | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 726492a9c7e032ea37e4838b70994d7d7fe7c3b3 -Author: Guillem Jover -Date: Sat Oct 11 16:11:03 2014 +0200 - - Dpkg::Gettext: Document public module - - debian/changelog | 1 + - scripts/Dpkg/Gettext.pm | 39 +++++++++++++++++++++++++++++++++++++++ - 2 files changed, 40 insertions(+) - -commit 9a456ae165ff9d6f21a4d8581e3bce8c572bdb25 -Author: Guillem Jover -Date: Sat Oct 11 16:31:33 2014 +0200 - - Dpkg: Document public module - - debian/changelog | 1 + - debian/control | 1 + - scripts/Dpkg.pm | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 62 insertions(+) - -commit 98183cda83b5f1622e1c7a3189bca05f416f44d6 -Author: Guillem Jover -Date: Fri Oct 10 00:51:39 2014 +0200 - - debian: List Dpkg::Exit and Dpkg::Interface::Storable as public modules - - debian/changelog | 2 ++ - debian/control | 2 ++ - 2 files changed, 4 insertions(+) - -commit d54542f573336abe87676547f1b01cda5726c71e -Author: Guillem Jover -Date: Thu Oct 9 16:02:05 2014 +0200 - - scripts: Do not modify the topic variable values in list functions - - Fixes ControlStructures::ProhibitMutatingListFunctions. - - Warned-by: perlcritic - - debian/changelog | 1 + - scripts/Dpkg/Source/Package/V1.pm | 3 ++- - scripts/dpkg-shlibdeps.pl | 11 ++++++----- - test/critic.t | 1 + - test/critic/perlcriticrc | 3 +++ - 5 files changed, 13 insertions(+), 6 deletions(-) - -commit b4d79c218d72c4cae356c4dcbdd531d13913cea7 -Author: Guillem Jover -Date: Wed Oct 8 15:30:01 2014 +0200 - - scripts/t: Use nocheck instead of notest in build profile tests - - The name for the equivalent DEB_BUILD_OPTIONS value is nocheck, so avoid - possible confusion and spreading through cargo-culting. - - scripts/t/Dpkg_Deps.t | 42 +++++++++++++++++++++--------------------- - 1 file changed, 21 insertions(+), 21 deletions(-) - -commit e16a76d241f0c69e96bcfdc96b360cc7c82a9f48 -Author: Guillem Jover -Date: Sat Oct 11 05:45:24 2014 +0200 - - dpkg-buildpackage: Add support for host and target long flags - - These are passed through to dpkg-architecture if specified. - - This restores the ability to specify the target architecture when - building cross-compilers. - - Regression introduced in commit f29ed62d0c340869752c61d55a2df74159c31625. - - Reported-by: Helmut Grohne - - debian/changelog | 5 +++++ - man/dpkg-buildpackage.1 | 17 +++++++++++++---- - scripts/dpkg-buildpackage.pl | 43 +++++++++++++++++++++++++++++++++---------- - 3 files changed, 51 insertions(+), 14 deletions(-) - -commit b91283794a8ef658968cf555ca3b9a274ace46cd -Author: Guillem Jover -Date: Sat Oct 11 05:29:01 2014 +0200 - - dpkg-architecture: Add long command and option names for all short options - - debian/changelog | 1 + - man/dpkg-architecture.1 | 62 +++++++++++++------------ - scripts/dpkg-architecture.pl | 105 ++++++++++++++++++++++--------------------- - 3 files changed, 89 insertions(+), 79 deletions(-) - -commit a8e036317bc203372949315519ed9474fb504a16 -Author: Guillem Jover -Date: Fri Oct 10 14:48:40 2014 +0200 - - dpkg-architecture: Normalize ARGV parsing - - This allows to accept «-ovalue», «-o value», «--option=value» and - «--option value», which are the common option formats people expect. - - debian/changelog | 2 ++ - scripts/dpkg-architecture.pl | 67 ++++++++++++++++++++++++-------------------- - 2 files changed, 38 insertions(+), 31 deletions(-) - -commit 0a2a1af94495be0b8204f827abc09e20a11dd447 -Author: Guillem Jover -Date: Sat Oct 11 17:40:36 2014 +0200 - - dpkg-architecture: Use || instead of conditional to assign _ARCH variables - - scripts/dpkg-architecture.pl | 18 ++++-------------- - 1 file changed, 4 insertions(+), 14 deletions(-) - -commit 8509ed25cc643a93bfc8beaecfe2f4de7d584f9a -Author: Guillem Jover -Date: Sat Oct 11 17:28:28 2014 +0200 - - dpkg-architecture: Initialize DEB_TARGET_ARCH variable w/o DEB_HOST_ARCH - - Because the code did not state that the DEB_TARGET_ARCH requires the - DEB_HOST_ARCH variable to be set, it was getting undefined values. - - Just initialize to the host value w/o assuming it has already been set. - - debian/changelog | 2 ++ - scripts/dpkg-architecture.pl | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 6f1097093f9a0db8b0cebf77a567e222a854c86c -Author: Guillem Jover -Date: Fri Oct 10 05:38:01 2014 +0200 - - Dpkg::Getopt: New private module - - debian/changelog | 1 + - scripts/{t/Dpkg_Checksums.t => Dpkg/Getopt.pm} | 28 ++++++++++++++++++++------ - scripts/Makefile.am | 2 ++ - scripts/po/POTFILES.in | 1 + - scripts/t/{Dpkg_BuildEnv.t => Dpkg_Getopt.t} | 14 +++++++++++-- - 5 files changed, 38 insertions(+), 8 deletions(-) - -commit e68f081acd9f1c210d3464b0a5e2c732e1b5c025 -Author: Guillem Jover -Date: Mon Oct 6 19:28:23 2014 +0200 - - scripts/mk: Set DEB_TARGET_ variables from architecture.mk - - Missed in commit f29ed62d0c340869752c61d55a2df74159c31625. - - debian/changelog | 2 ++ - scripts/mk/architecture.mk | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 218d22c82fd2ec6d865fcbc1442873726f9b22d2 -Author: Johannes Schauer -Date: Fri Oct 10 17:55:54 2014 +0200 - - Dpkg::BuildProfiles: Allow multiple whitespace in get_build_profiles() - - This makes the DEB_BUILD_PROFILES environment variable parsing more lax. - - Signed-off-by: Guillem Jover - - debian/changelog | 4 ++++ - scripts/Dpkg/BuildProfiles.pm | 2 +- - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 51c55641fb6c66e149ea93c344cb788c68978c75 -Author: Jérémy Bobbio -Date: Fri Oct 10 17:15:13 2014 +0200 - - dpkg-shlibdeps: Initialize with correct minimum version from a symbols file - - When initializing the minimum version for a dependency, we have to use - the greater one from any SONAME present in that symbols file, because - the shared libraries might not have been available before that version - for example. - - This also guarantees a reproducible output, as the minimum version - selected is not dependant on the hash order. - - Closes: #764721 - - [guillem@debian.org: - - Reword debugging message. ] - - Signed-off-by: Guillem Jover - - debian/changelog | 3 +++ - scripts/dpkg-shlibdeps.pl | 10 +++------- - 2 files changed, 6 insertions(+), 7 deletions(-) - -commit f7dec25b625c5a917633329867f08c5378cadd78 -Author: Guillem Jover -Date: Mon Oct 6 16:44:11 2014 +0200 - - dpkg-genchanges: Add missing Dpkg::BuildProfiles imports - - Regression introduced in commit 61e228eb7b68b85529dc8e9c9c49ef7f51a797bb. - - Closes: #764216 - - Reported-by: Johannes Schauer - - debian/changelog | 3 +++ - scripts/dpkg-genchanges.pl | 3 ++- - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 216c509b1daee0e2a9e0e095c5e862cf16e181c0 -Author: Guillem Jover -Date: Fri Oct 10 13:54:16 2014 +0200 - - dpkg: Do not write the database when changing selections with --dry-run - - Closes: #764673 - - debian/changelog | 2 ++ - src/select.c | 17 +++++++++++++++-- - 2 files changed, 17 insertions(+), 2 deletions(-) - -commit 35c1c59cfad75d75b3d98974ad201f95d932adb6 -Author: Guillem Jover -Date: Sun May 27 19:43:55 2012 +0200 - - dpkg: Defer trigger processing if the packages do not fulfill dependencies - - The spec specified this behavior, but the code never abided by it. - Change it now that most of the packages with trigger cycles have been - switched to noawaiting triggers. The rest will make dpkg bail out on - upgrade. - - We might need to add appropriate versioned Breaks before the Debian - release to get a smoother distribution upgrade. - - Closes: #671711 - - debian/changelog | 2 ++ - src/trigproc.c | 23 +++++++++++++++++++++++ - 2 files changed, 25 insertions(+) - -commit 02405cbb877a14ad8441e1a312cb56720f20df47 -Author: Guillem Jover -Date: Fri Oct 10 19:43:08 2014 +0200 - - dselect: Mark for translation and improve sthfailed() strings - - debian/changelog | 1 + - dselect/method.cc | 14 +++++++------- - 2 files changed, 8 insertions(+), 7 deletions(-) - -commit 6669f360063b59bd0e4e70895947f6f370bcc3fc -Author: Guillem Jover -Date: Fri Oct 10 19:41:50 2014 +0200 - - dpkg: Mark for translation and unify "rm cleanup" string - - Use an already existing string to avoid introducing a new string for - translation. - - debian/changelog | 1 + - src/help.c | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit ae3faa43f7f425e8c4ce72bc3beef3c9e8703ae4 -Author: Guillem Jover -Date: Fri Oct 10 16:50:36 2014 +0200 - - doc, scripts: Fix typos in comments - - ChangeLog.old | 2 +- - debian/changelog | 1 + - scripts/dpkg-shlibdeps.pl | 10 +++++----- - scripts/t/merge_changelogs/ch-b | 2 +- - scripts/t/merge_changelogs/ch-merged | 2 +- - scripts/t/merge_changelogs/ch-merged-basic | 2 +- - scripts/t/merge_changelogs/ch-merged-pr | 2 +- - scripts/t/merge_changelogs/ch-merged-pr-basic | 2 +- - 8 files changed, 12 insertions(+), 11 deletions(-) - -commit 57dfc48c6cf40c0982eaabfc7a3c02b94f139221 -Author: Guillem Jover -Date: Sat Oct 11 20:13:33 2014 +0200 - - po: Sort POTFILES - - This makes it easier to see if files are missing. - - scripts/po/POTFILES.in | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit 7754e5f1dae24fad85171f2391dc82f4235fbfe1 -Author: Guillem Jover -Date: Sat Oct 11 20:11:39 2014 +0200 - - po: Add missing perl programs and modules to POTFILES - - debian/changelog | 4 ++++ - scripts/po/POTFILES.in | 3 +++ - 2 files changed, 7 insertions(+) - -commit 6f5610cc0eedbf0895de46130dffb96f77f7d367 -Author: Trần Ngọc Quân -Date: Mon Oct 6 09:16:43 2014 +0700 - - po: Update Vietnamese program translations - - - Update 2 new strings. - - Change meaning of stat. - - Signed-off-by: Trần Ngọc Quân - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/vi.po | 101 ++++++++++++++----------------------------------------- - 2 files changed, 27 insertions(+), 75 deletions(-) - -commit bc87a5df2f538281b82c31eea3cbcb08df5d893f -Author: Helge Kreutzmann -Date: Wed Oct 8 20:47:04 2014 +0200 - - Update German scripts translation - - Update to 545t1f1u. - - scripts/po/de.po | 34 ++++++++++++++-------------------- - 1 file changed, 14 insertions(+), 20 deletions(-) - -commit 55fe060f5c23ec489a95545eebfc32d25fe52b6c -Author: Helge Kreutzmann -Date: Mon Oct 6 21:17:12 2014 +0200 - - Update German scripts translation - - Update to 543t1f1u. - - debian/changelog | 3 ++ - scripts/po/de.po | 85 +++++++++++++++++++------------------------------------- - 2 files changed, 31 insertions(+), 57 deletions(-) - -commit 72993d7142f9b9feb72ceffd3ed2bc2a1d7890ac -Author: Sven Joachim -Date: Mon Oct 6 18:30:44 2014 +0200 - - German dpkg translation update - - Update to 1083t3u. - - debian/changelog | 3 ++- - po/de.po | 63 +++++++------------------------------------------------- - 2 files changed, 9 insertions(+), 57 deletions(-) - -commit 37dd6556a214c2cf0dc5f5069835fbe62d2e73ff -Author: Guillem Jover -Date: Mon Oct 6 13:47:14 2014 +0200 - - Bump version to 1.17.17 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit d344b6cf462f4b90a6bd2c5d777453fb3f68272e (tag: 1.17.16) -Author: Guillem Jover -Date: Mon Oct 6 13:29:24 2014 +0200 - - Release 1.17.16 - - debian/changelog | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0ccf9ad2298cf426c1a3fc741497d483b056e04c -Author: Guillem Jover -Date: Mon Oct 6 13:10:19 2014 +0200 - - libdpkg: Set umask to 0 when creating symlinks in test suite to normalize results - - POSIX specifies that symlinks have undefined permissions in their mode, - so their setting is system dependent. Linux does not honor the umask - for symlinks, other systems like Hurd or kFreeBSD do, which means we - get different results due to this. - - Regression introduced in commit f71e02c8e913884bfbf9d97b58ded4591b823cdb. - - Closes: #764171 - - debian/changelog | 5 +++++ - lib/dpkg/test/t-tar.t | 10 +++++++++- - 2 files changed, 14 insertions(+), 1 deletion(-) - -commit 09b0ee85aea1767a3f980be4fe7d77eabef6f549 -Author: Guillem Jover -Date: Mon Oct 6 13:04:21 2014 +0200 - - Dpkg::Source::Patch: Switch remaining topic to named variable in analyze() - - The loop in the function was expecting $line to be filled by its last - part, and by working on the topic variable it was not getting updated. - Switch all topic variable usages in that funtion so that we can restore - working source unpacking. - - Regression introduced in commmit 0d5e17af7391fb0d3a3c695dac40f8df41f8b11c. - - Closes: #764206 - - Addresses BuiltinFunctions::ProhibitUselessTopic. - - Warned-by: perlcritic - - debian/changelog | 3 +++ - scripts/Dpkg/Source/Patch.pm | 16 ++++++++-------- - 2 files changed, 11 insertions(+), 8 deletions(-) - -commit 9f5611d93395b216a0de8ec1af5726ac0ddd0924 -Author: Guillem Jover -Date: Mon Oct 6 03:42:44 2014 +0200 - - man: Set the copyright holder for the original code - - This is similar to commit a17d469cc3d5ccca9daa84f98fed3cc8e51e656d, - but this was just never assigned a proper copyright holder so it - defaulted to the FSF, which is not correct. - - configure.ac | 1 + - debian/changelog | 2 +- - man/Makefile.am | 1 + - 3 files changed, 3 insertions(+), 1 deletion(-) - -commit 5ed1d7ef8a526511e613c77363fc9da756039000 -Author: Guillem Jover -Date: Mon Oct 6 03:42:06 2014 +0200 - - po: Use the same name as the Maintainer field for the copyright holder - - dselect/po/Makevars | 2 +- - po/Makevars | 2 +- - scripts/po/Makevars | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 36eda4c1bc6bd1fb4797a1cde25e8595949c29fd -Author: Guillem Jover -Date: Mon Oct 6 03:37:28 2014 +0200 - - Bump version to 1.17.16 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 3bdb2496c6b7fdb7766d3a056d7815ba545ff247 (tag: 1.17.15) -Author: Guillem Jover -Date: Mon Oct 6 03:22:03 2014 +0200 - - Release 1.17.15 - - debian/changelog | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 50d95392fb8efc3f4691535350a6908838ad5a78 -Author: Guillem Jover -Date: Mon Oct 6 03:18:04 2014 +0200 - - libdpkg: Set umask to the expected value of 0022 in tar test case - - There's no guarantee the build system will have the same umask as any - other system. Make sure to set it to what we expect. - - debian/changelog | 2 ++ - lib/dpkg/test/t-tar.t | 3 +++ - 2 files changed, 5 insertions(+) - -commit 36f8d0019d9fbe3b2ce23a341887ebe33c94ca88 -Author: Aurelien Jarno -Date: Wed Oct 1 16:58:18 2014 +0200 - - dpkg-buildflags: Do not blacklist pie and stackprotector on mips/mipsel - - pie is blacklisted on mips and mipsel, according to the comments due - to #526961. This bug has been fixed more than 4 years ago, it's time - to reactivate pie support. - - Similarly strack-protector support has been added on mips and mipsel - in gcc 4.6 so we can now activate it too. - - Closes: #763672 - - Signed-off-by: Aurelien Jarno - Signed-off-by: Guillem Jover - - debian/changelog | 3 ++- - scripts/Dpkg/Vendor/Debian.pm | 8 ++++---- - 2 files changed, 6 insertions(+), 5 deletions(-) - -commit 2a250d64021800e6f2f58c87dbdc014fc10dcdb6 -Author: Guillem Jover -Date: Mon Oct 6 02:43:57 2014 +0200 - - Bump version to 1.17.15 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 0a8c971b020eded716a196a9a5d1cf083d42e882 (tag: 1.17.14) -Author: Guillem Jover -Date: Mon Oct 6 00:11:48 2014 +0200 - - Release 1.17.14 - - debian/changelog | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 1951e200bc4f65c584616f0a1f1e0c1f87d38ccc -Author: Guillem Jover -Date: Mon Oct 6 00:57:37 2014 +0200 - - Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 2 +- - dselect/po/ca.po | 2 +- - dselect/po/cs.po | 2 +- - dselect/po/da.po | 2 +- - dselect/po/de.po | 2 +- - dselect/po/dselect.pot | 6 +- - dselect/po/el.po | 2 +- - dselect/po/es.po | 2 +- - dselect/po/et.po | 2 +- - dselect/po/eu.po | 2 +- - dselect/po/fr.po | 2 +- - dselect/po/gl.po | 2 +- - dselect/po/hu.po | 2 +- - dselect/po/id.po | 2 +- - dselect/po/it.po | 2 +- - dselect/po/ja.po | 2 +- - dselect/po/ko.po | 2 +- - dselect/po/nb.po | 2 +- - dselect/po/nl.po | 2 +- - dselect/po/nn.po | 2 +- - dselect/po/pl.po | 2 +- - dselect/po/pt.po | 2 +- - dselect/po/pt_BR.po | 2 +- - dselect/po/ro.po | 2 +- - dselect/po/ru.po | 2 +- - dselect/po/sk.po | 2 +- - dselect/po/sv.po | 2 +- - dselect/po/tl.po | 2 +- - dselect/po/vi.po | 2 +- - dselect/po/zh_CN.po | 2 +- - dselect/po/zh_TW.po | 2 +- - man/po/de.po | 1944 +++++++++++++++++++++++++++++----------------- - man/po/dpkg-man.pot | 1566 ++++++++++++++++++++++--------------- - man/po/es.po | 1896 ++++++++++++++++++++++++++++----------------- - man/po/fr.po | 1954 +++++++++++++++++++++++++++++----------------- - man/po/hu.po | 1649 +++++++++++++++++++++++---------------- - man/po/it.po | 1811 +++++++++++++++++++++++++++---------------- - man/po/ja.po | 1891 ++++++++++++++++++++++++++++----------------- - man/po/pl.po | 1895 ++++++++++++++++++++++++++++----------------- - man/po/pt_BR.po | 1647 +++++++++++++++++++++++---------------- - man/po/ru.po | 1650 +++++++++++++++++++++++---------------- - man/po/sv.po | 1955 ++++++++++++++++++++++++++++++----------------- - po/ast.po | 636 ++++++++------- - po/bs.po | 620 ++++++++------- - po/ca.po | 691 +++++++++-------- - po/cs.po | 688 +++++++++-------- - po/da.po | 686 +++++++++-------- - po/de.po | 684 +++++++++-------- - po/dpkg.pot | 624 ++++++++------- - po/dz.po | 635 ++++++++------- - po/el.po | 635 ++++++++------- - po/eo.po | 650 ++++++++-------- - po/es.po | 652 ++++++++-------- - po/et.po | 631 ++++++++------- - po/eu.po | 636 ++++++++------- - po/fr.po | 688 +++++++++-------- - po/gl.po | 635 ++++++++------- - po/hu.po | 630 ++++++++------- - po/id.po | 634 ++++++++------- - po/it.po | 688 +++++++++-------- - po/ja.po | 648 ++++++++-------- - po/km.po | 628 ++++++++------- - po/ko.po | 634 ++++++++------- - po/ku.po | 624 ++++++++------- - po/lt.po | 632 ++++++++------- - po/mr.po | 628 ++++++++------- - po/nb.po | 636 ++++++++------- - po/ne.po | 633 ++++++++------- - po/nl.po | 635 ++++++++------- - po/nn.po | 747 +++++++++--------- - po/pa.po | 624 ++++++++------- - po/pl.po | 688 +++++++++-------- - po/pt.po | 686 +++++++++-------- - po/pt_BR.po | 635 ++++++++------- - po/ro.po | 636 ++++++++------- - po/ru.po | 686 +++++++++-------- - po/sk.po | 652 ++++++++-------- - po/sv.po | 688 +++++++++-------- - po/th.po | 646 ++++++++-------- - po/tl.po | 763 +++++++++--------- - po/tr.po | 688 +++++++++-------- - po/vi.po | 686 +++++++++-------- - po/zh_CN.po | 632 ++++++++------- - po/zh_TW.po | 648 ++++++++-------- - scripts/po/ca.po | 660 ++++++++-------- - scripts/po/de.po | 738 ++++++++++-------- - scripts/po/dpkg-dev.pot | 650 ++++++++-------- - scripts/po/es.po | 749 +++++++++--------- - scripts/po/fr.po | 754 +++++++++--------- - scripts/po/pl.po | 729 ++++++++++-------- - scripts/po/ru.po | 736 +++++++++--------- - scripts/po/sv.po | 730 ++++++++++-------- - 92 files changed, 29573 insertions(+), 23643 deletions(-) - -commit f71e02c8e913884bfbf9d97b58ded4591b823cdb -Author: Guillem Jover -Date: Wed Oct 1 05:02:43 2014 +0200 - - libdpkg: Add new tar extractor test cases - - Test the different supported tar formats, and verify that we can parse - them correctly. - - debian/changelog | 1 + - lib/dpkg/test/.gitignore | 2 + - lib/dpkg/test/Makefile.am | 22 ++++++- - lib/dpkg/test/t-tar.t | 141 +++++++++++++++++++++++++++++++++++++++++++ - lib/dpkg/test/t-tarextract.c | 125 ++++++++++++++++++++++++++++++++++++++ - 5 files changed, 288 insertions(+), 3 deletions(-) - -commit b59b7403a713f5f28ad16b61183197e4fba9a588 -Author: Guillem Jover -Date: Wed Oct 1 05:00:46 2014 +0200 - - libdpkg: Record user and group name in tar_entry - - This will allow tar extractors to get to that information too. - - lib/dpkg/tarfn.c | 23 +++++++++++++++++++++-- - 1 file changed, 21 insertions(+), 2 deletions(-) - -commit bc684d1e438855f3232f6bc73209e74e7f2589a7 -Author: Guillem Jover -Date: Wed Oct 1 05:00:46 2014 +0200 - - libdpkg: Make the uname and gname file_stat members non-const - - We need to allocate and free them. - - lib/dpkg/file.h | 4 ++-- - src/statcmd.c | 4 ++-- - src/statdb.c | 4 ++-- - 3 files changed, 6 insertions(+), 6 deletions(-) - -commit 67e532374a9562da5d94140b8a28a217d0372706 -Author: Guillem Jover -Date: Wed Oct 1 05:00:46 2014 +0200 - - libdpkg: Refactor tar_entry copying into tar_entry_copy() - - lib/dpkg/tarfn.c | 13 ++++++++++--- - 1 file changed, 10 insertions(+), 3 deletions(-) - -commit 4c406e07d26018896902d475b8a1c0e9f6474efc -Author: Guillem Jover -Date: Sun Sep 28 20:31:50 2014 +0200 - - libdpkg: Consider a hardlink tar entry as a regular file for mode values - - The hardlink gets converted into a regular file on extract, so use the - same mode as a regular file would have instead of 0. - - debian/changelog | 2 ++ - lib/dpkg/tarfn.c | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit a8c984c339753c07c41022588ebcd8a2c0af3aa1 -Author: Guillem Jover -Date: Sat Sep 27 04:54:42 2014 +0200 - - dpkg: Document optional -C argument in --help output - - Closes: #763000 - - debian/changelog | 1 + - src/main.c | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 3eab05ef9de9959c0e67f23d020ed1fa06b16d49 -Author: Guillem Jover -Date: Fri Sep 26 05:45:25 2014 +0200 - - dpkg: Double the filesdb hash table size to the closest 2^18 prime - - Times have changed, and it's common to have at least these many files. - This reduces the amount of collisions. Eventually we should switch to - dynamically growing hash tables. - - debian/changelog | 3 +++ - src/filesdb.c | 4 ++-- - 2 files changed, 5 insertions(+), 2 deletions(-) - -commit 67c4ac7e7a9c8a8c20d0796b5a58e8f4797c3d7b -Author: Guillem Jover -Date: Fri Sep 26 05:43:56 2014 +0200 - - dpkg: Switch the filesdb module to use the FNV hash function - - Use it instead of what seems to be a custom hash function. This seems - to reduce dispersion somewhat. - - As a side effect this fixes an integer overflow. - - Addresses: #760741 - - Warned-by: ASan - Reported-by: Bálint Réczey - - debian/changelog | 3 +++ - src/filesdb.c | 15 +++++---------- - 2 files changed, 8 insertions(+), 10 deletions(-) - -commit c8cd4cc0c17b43fec77595324f64e22dcc15f3e1 -Author: Guillem Jover -Date: Sat Sep 27 21:19:13 2014 +0200 - - libdpkg: Switch to the recommended FNV-1a variant - - This should give better dispersion. And the function is way way less - complex than the possible future MurmurHash3 or xxHash candidates. - - debian/changelog | 2 ++ - lib/dpkg/strhash.c | 4 ++-- - lib/dpkg/test/t-string.c | 34 +++++++++++++++++----------------- - 3 files changed, 21 insertions(+), 19 deletions(-) - -commit c342c6d0bb9c418743bdb27e2ec0e1601033f02b -Author: Guillem Jover -Date: Fri Sep 26 05:42:13 2014 +0200 - - libdpkg: Move the FNV hash function into a new strhash module - - This will allow using the hash function in other parts of the code. - The additional changes are: - - - Fix an incorrect value in a comment. - - Uppercase preprocessor macros. - - Add unit tests. - - debian/changelog | 1 + - lib/dpkg/Makefile.am | 1 + - lib/dpkg/libdpkg.map | 1 + - lib/dpkg/pkg-db.c | 23 +++------------------ - lib/dpkg/{glob.c => strhash.c} | 46 +++++++++++++++++++++--------------------- - lib/dpkg/string.h | 2 ++ - lib/dpkg/test/t-string.c | 27 ++++++++++++++++++++++++- - 7 files changed, 57 insertions(+), 44 deletions(-) - -commit a8b3ff906c1d01082c435ede40f6241529c9e409 -Author: Guillem Jover -Date: Fri Sep 26 05:42:13 2014 +0200 - - libdpkg: Add missing to dpkg/string.h needed for size_t and NULL - - This makes the header stand alone. - - lib/dpkg/string.h | 1 + - 1 file changed, 1 insertion(+) - -commit 9b9acf81bac908889d0db3631c53277329bafb80 -Author: Guillem Jover -Date: Fri Sep 26 01:21:56 2014 +0200 - - libdpkg: Fix off-by-one error in command argv size calculation - - We need a ghost byte for the terminating NUL character, so add it up - to the requested needed bytes. - - Closes: #760690 - - Warned-by: valgrind - Based-on-patch-by: Bálint Réczey - - debian/changelog | 2 ++ - lib/dpkg/command.c | 3 +++ - 2 files changed, 5 insertions(+) - -commit 183fcc5b4cbe9ca1d89011ef4b37cee1e2c8c856 -Author: Guillem Jover -Date: Thu Sep 25 21:05:08 2014 +0200 - - dpkg: Do not print pointers in debug output messages - - This does not give any meaningful information, besides the pointers - being equal or different. Print an actual file or package name instead. - - debian/changelog | 2 ++ - src/help.c | 4 ++-- - src/trigproc.c | 2 +- - 3 files changed, 5 insertions(+), 3 deletions(-) - -commit 8f3c317bf1b565b50e30b493f9c769ae1ad51c31 -Author: Guillem Jover -Date: Thu Oct 2 06:56:22 2014 +0200 - - dpkg-source: Rework command parsing and add --build and --extract aliases - - This uses the long command names w/o the -- to select the actions to - take, rewords some usage error messages to be more generic and - maintainable (by not listing each command supported), and add the long - aliases for the most common commands. - - debian/changelog | 1 + - man/dpkg-source.1 | 26 ++++++++++-------- - scripts/dpkg-source.pl | 73 +++++++++++++++++++++++++++----------------------- - 3 files changed, 55 insertions(+), 45 deletions(-) - -commit f88c908b5f058d592d87f89b58d9c0b7f34d8194 -Author: Guillem Jover -Date: Tue Sep 30 23:47:40 2014 +0200 - - scripts: Unpack arguments just once - - Addresses Subroutines::RequireArgUnpacking. - - Warned-by: perlcritic - - scripts/Dpkg/Changelog.pm | 3 +-- - scripts/Dpkg/Compression/Process.pm | 10 ++++++---- - scripts/Dpkg/Deps.pm | 4 ++-- - scripts/Dpkg/IPC.pm | 6 ++++-- - scripts/Dpkg/Shlibs/Symbol.pm | 10 +++------- - scripts/Dpkg/Shlibs/SymbolFile.pm | 3 +-- - 6 files changed, 17 insertions(+), 19 deletions(-) - -commit 4502f420bd22eab1634d5a9c710c79d58e13e76e -Author: Guillem Jover -Date: Tue Sep 30 21:25:40 2014 +0200 - - scripts: Unpack arguments instead of accessing @_ directly - - Addresses Subroutines::RequireArgUnpacking. - - Warned-by: perlcritic - - scripts/Dpkg/Compression.pm | 4 +++- - scripts/Dpkg/Control/FieldsCore.pm | 9 ++++++--- - scripts/Dpkg/Gettext.pm | 7 ++++--- - scripts/Dpkg/Shlibs/Symbol.pm | 28 +++++++++++++++++++++------- - scripts/Dpkg/Source/Package.pm | 5 ++--- - scripts/Dpkg/Source/Package/V3/Quilt.pm | 8 +++++--- - scripts/Dpkg/Version.pm | 4 +++- - scripts/dpkg-mergechangelogs.pl | 6 ++++-- - scripts/dpkg-source.pl | 4 +++- - 9 files changed, 51 insertions(+), 24 deletions(-) - -commit 386e46306f1f6dbb84296f9be1379de10b1cc535 -Author: Guillem Jover -Date: Thu Sep 25 18:42:49 2014 +0200 - - scripts/t: Make sure temporary files are always cleaned up - - If the test suite is interrupted or it fails in the middle, the - temporary files will not be unlinked. Switch to use the native - File::Temp support for removal. - - debian/changelog | 2 ++ - scripts/t/Dpkg_IPC.t | 7 ++----- - scripts/t/merge_changelogs.t | 9 ++++----- - 3 files changed, 8 insertions(+), 10 deletions(-) - -commit 49a77f01c54c422637dfdec6bf8a6d3203debc38 -Author: Guillem Jover -Date: Thu Sep 25 01:47:11 2014 +0200 - - dpkg-architecture: Say arch-wildcard instead of arch-alias in --help output - - The latter is an old name for the architecture wildcards. - - debian/changelog | 1 + - scripts/dpkg-architecture.pl | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 1987e8e3e18537aae6d259aca16f78a69b576527 -Author: Guillem Jover -Date: Thu Sep 25 01:44:32 2014 +0200 - - dpkg-architecture: Add architecture restriction options for -L - - This allows to select specific subsets of all valid known architectures, - matching by wildcard (-W), endianness (-E) or bits (-B). The restricting - options can be combined, or omitted altogether. - - Closes: #762635 - - debian/changelog | 4 ++++ - man/dpkg-architecture.1 | 14 ++++++++++++++ - scripts/dpkg-architecture.pl | 22 ++++++++++++++++++++-- - 3 files changed, 38 insertions(+), 2 deletions(-) - -commit ac00888ad6b66c913e99718816730c942056feef -Author: Guillem Jover -Date: Thu Sep 25 01:32:08 2014 +0200 - - dpkg-architecture: Move -L actual code close to the other commands - - We can do this now that the variables initialized are performed on - demand, so that we can request no variables at all. This makes the - code more consistent on when to act on the given commands. - - scripts/dpkg-architecture.pl | 15 ++++++--------- - 1 file changed, 6 insertions(+), 9 deletions(-) - -commit 175ba3203008090ff7206ee15598923d101439d9 -Author: Guillem Jover -Date: Wed Sep 24 14:40:15 2014 +0200 - - dpkg-scanpackages: Add a new --hash option to enable specific file checksums - - This allows to restrict the file checksums generated to the specified - comma-separated list. - - Requested-by: Thorsten Glaser - - debian/changelog | 2 ++ - man/dpkg-scanpackages.1 | 7 ++++++- - scripts/dpkg-scanpackages.pl | 12 ++++++++++++ - 3 files changed, 20 insertions(+), 1 deletion(-) - -commit e301741dc2464654c04798c5c09ebaaa5fbbd1e6 -Author: Guillem Jover -Date: Tue Sep 23 16:39:27 2014 +0200 - - dpkg-buildpackage: Do not pipe the files to sign to GnuPG - - When GnuPG uses the gpg-agent it is unable to detect the correct tty - configuration if stdin is a pipe instead of the current terminal. - - Copy the file to sign to a temporary directory and append to it a - newline, and pass that as an actual command-line argument. - - Closes: #762391 - - debian/changelog | 3 +++ - scripts/dpkg-buildpackage.pl | 28 ++++++++++++++++++---------- - 2 files changed, 21 insertions(+), 10 deletions(-) - -commit 8a54695dd467a25eac3d1df5f1aea7bdf73be7c2 -Author: Guillem Jover -Date: Sat Sep 20 09:55:49 2014 +0200 - - dpkg-deb: Remove arbitrary filename limit - - The limit was lifted when the code switched from a constant sized string - to a dynamic one via varbuf. - - debian/changelog | 2 ++ - dpkg-deb/build.c | 2 -- - dpkg-deb/dpkg-deb.h | 2 -- - 3 files changed, 2 insertions(+), 4 deletions(-) - -commit e9a73826b1a310ac34d2cfc1ab278e0f930f5dc6 -Author: Guillem Jover -Date: Sat Sep 20 02:14:09 2014 +0200 - - dpkg: Use varbuf_end_str() instead of varbuf_add_char() with explicit '\0' - - src/infodb-access.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit a1920c132369534dd18157dafa4758c44d555ddd -Author: Guillem Jover -Date: Sat Sep 20 02:05:19 2014 +0200 - - dpkg: Never try to remove the root directory or its backups - - It should never have backups around, and we should never try to remove - it as it can never be removed anyway. - - This also causes problems with setups where the root directory is - read-only with a read-write overlay or a symlink farm. - - Requested-by: sepero111@gmx.com - - debian/changelog | 3 +++ - src/remove.c | 24 ++++++++++++++---------- - src/unpack.c | 8 ++++++++ - 3 files changed, 25 insertions(+), 10 deletions(-) - -commit f524ee7c6d1d95fa83f263eee126bae27b148782 -Author: Guillem Jover -Date: Mon Sep 15 16:04:56 2014 +0200 - - dpkg: Normalize instdir by removing trailing '/' and '/.' - - This gets rid of several inconsistencies and doubled «/» in syscalls - and output messages. - - debian/changelog | 3 +++ - src/archives.c | 14 +++----------- - src/configure.c | 2 -- - src/main.c | 19 ++++++++++++++++--- - src/unpack.c | 1 - - 5 files changed, 22 insertions(+), 17 deletions(-) - -commit d2efd3e2702487f4f60ff8fc00f7a67ce42d0169 -Author: Guillem Jover -Date: Sat Sep 20 02:03:35 2014 +0200 - - dpkg: Use an intermediate variable for namenodetouse() return value - - src/unpack.c | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 98956c26a2d8039b8ec66231910fc9418329c09b -Author: Johannes Schauer -Date: Tue Aug 19 07:57:03 2014 +0200 - - scripts: Update restriction formula syntax - - - The restriction list parsing now reflects the changes at - which were agreed upon - in the bootstrap sprint 2014 in Paris. - - Restriction lists are now restriction formulas. - - Restriction formulas are given in disjunctive normal form expression: - pkg - - Removal of the implicit prefix/namespace mechanic. - - Since there can be more than one <> block, the regex in - parse_string() in Dpkg::Deps is now greedy. - - Construct the profiles entry of the Packages-List field by converting - the " " syntax into "bar,baz+blub". - - Include a temporary compatibility mapping for the old way to write - the Build-Profiles field in binary packages which can be removed once - all affected source packages have moved to the new syntax. - - Adjust testcases. - - Closes: #760158 - - [guillem@debian.org: - - Add a warning when using the old syntax in dpkg-source. - - Move comments before the regexes, not besides them in dpkg-source. - - Change from an xnor to == in evaluate_restriction_formula(). - - Move the Dpkg::Util import close to the other Dpkg imports. - - Add test cases for the new parse_build_profiles() behavior. ] - - Signed-off-by: Guillem Jover - - debian/changelog | 11 ++++++++++ - man/deb-src-control.5 | 17 ++++++++------ - man/dpkg-buildpackage.1 | 14 ++++++------ - man/dpkg-checkbuilddeps.1 | 7 +++--- - scripts/Dpkg/BuildProfiles.pm | 49 +++++++++++++++++++++-------------------- - scripts/Dpkg/Deps.pm | 13 ++++++----- - scripts/dpkg-source.pl | 27 +++++++++++++++++++++-- - scripts/t/Dpkg_BuildProfiles.t | 25 +++++++++++++++++---- - scripts/t/Dpkg_Deps.t | 50 ++++++++++++++++++++++++------------------ - 9 files changed, 139 insertions(+), 74 deletions(-) - -commit 61e228eb7b68b85529dc8e9c9c49ef7f51a797bb -Author: Guillem Jover -Date: Tue Aug 19 07:57:03 2014 +0200 - - dpkg-genchanges: Handle omitted packages due to build profiles - - Properly handle the absence of packages in DEBIAN/control depending - on build profiles, so that we do not emit bogus warnings anymore. - - Closes: #758191 - - Based-on-patch-by: Johannes Schauer - Signed-off-by: Guillem Jover - - debian/changelog | 2 ++ - scripts/Dpkg/BuildProfiles.pm | 42 +++++++++++++++++++++++++++++++++++++++++- - scripts/Dpkg/Deps.pm | 31 ++----------------------------- - scripts/dpkg-genchanges.pl | 12 ++++++++++-- - 4 files changed, 55 insertions(+), 32 deletions(-) - -commit 1eb338d799a3887f82a5181bfc667ba6c6892364 -Author: Guillem Jover -Date: Thu Oct 2 00:51:49 2014 +0200 - - Dpkg::BuildProfiles: Add new parse_build_profile() - - Use it everywhere instead of inline code. - - scripts/Dpkg/BuildProfiles.pm | 14 +++++++++++++- - scripts/Dpkg/Deps.pm | 3 ++- - scripts/t/Dpkg_BuildProfiles.t | 9 +++++++-- - 3 files changed, 22 insertions(+), 4 deletions(-) - -commit 13ae3fa02e85ec76cafad83e033365f43e6debe7 -Author: Guillem Jover -Date: Fri Sep 12 14:14:51 2014 +0200 - - Dpkg::Source::Package: Use a simple string match instead of a regex - - Addresses RegularExpressions::ProhibitFixedStringMatches. - - Warned-by: perlcritic - - scripts/Dpkg/Source/Package/V1.pm | 6 +++--- - scripts/Dpkg/Source/Package/V2.pm | 24 ++++++++++++------------ - scripts/Dpkg/Source/Package/V3/Quilt.pm | 4 ++-- - 3 files changed, 17 insertions(+), 17 deletions(-) - -commit 24df99399ba5b63dc354ff49ea8622a8ca1cd17d -Author: Guillem Jover -Date: Fri Sep 12 06:08:37 2014 +0200 - - perl: Use length instead of /^$/ to test for an empty string - - Addresses RegularExpressions::ProhibitFixedStringMatches. - - Warned-by: perlcritic - - dselect/methods/ftp/install | 4 ++-- - scripts/Dpkg/Conf.pm | 3 ++- - scripts/Dpkg/Control/HashCore.pm | 6 +++--- - scripts/Dpkg/Source/Package/V2.pm | 2 +- - scripts/Dpkg/Source/Patch.pm | 12 ++++++++---- - 5 files changed, 16 insertions(+), 11 deletions(-) - -commit e7ec307653c124fa6c2a68385beddbd2f3a4f091 -Author: Guillem Jover -Date: Thu Sep 11 23:47:52 2014 +0200 - - Dpkg::Arch: Map i786 to i386 for the multiarch pathname - - Missed in commit 7386defdaebf4746dc074a118bf7430cecf7a57f. - - debian/changelog | 1 + - scripts/Dpkg/Arch.pm | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 52230e6fe98fdd1b2de2651e95d4f7afb74c7fed -Author: Guillem Jover -Date: Thu Sep 11 20:55:36 2014 +0200 - - Dpkg::Source::Package::V2: Rename %origtar to %addonfile - - Make it clear that these are the addon tarballs. - - scripts/Dpkg/Source/Package/V2.pm | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 6821616fc62734abc60ab98ae7bc6b37db772457 -Author: Guillem Jover -Date: Thu Oct 2 06:03:00 2014 +0200 - - libdpkg: Add new SUBPROC_RETSIGNO to return the signal number - - This will allow to replace some ad-hoc code in debsig-verify. - - lib/dpkg/subproc.c | 2 ++ - lib/dpkg/subproc.h | 2 ++ - 2 files changed, 4 insertions(+) - -commit b097b5cf5dd032ccc6bc946d837da5d2c5baad6f -Author: Guillem Jover -Date: Thu Oct 2 06:01:09 2014 +0200 - - libdpkg: Also return an error code for unhandled subprocess status - - lib/dpkg/subproc.c | 3 +++ - 1 file changed, 3 insertions(+) - -commit b8a6ab4c5c88463bfe8ff1e13cddbf397c950c61 -Author: Guillem Jover -Date: Wed Oct 1 19:56:11 2014 +0200 - - libdpkg: Namespace and reword subproc flags - - dpkg-deb/extract.c | 2 +- - dpkg-split/split.c | 2 +- - dselect/method.cc | 2 +- - lib/dpkg/file.c | 2 +- - lib/dpkg/subproc.c | 14 +++++++------- - lib/dpkg/subproc.h | 22 +++++++++++++++------- - lib/dpkg/test/t-command.c | 2 +- - lib/dpkg/test/t-subproc.c | 13 +++++++------ - src/archives.c | 2 +- - src/configure.c | 4 ++-- - src/script.c | 2 +- - src/unpack.c | 6 +++--- - 12 files changed, 41 insertions(+), 32 deletions(-) - -commit cece29526d506b89b54cc80a6c400f9f58f36286 -Author: Guillem Jover -Date: Mon Apr 23 09:05:33 2012 +0200 - - libdpkg: Add new alias subproc_signals_restore() for pop_cleanup() - - This hides the fact that to restore the signals we are doing a - pop_cleanup(). - - dselect/method.cc | 2 +- - lib/dpkg/libdpkg.map | 1 + - lib/dpkg/subproc.c | 6 ++++++ - lib/dpkg/subproc.h | 1 + - src/script.c | 4 ++-- - 5 files changed, 11 insertions(+), 3 deletions(-) - -commit 054129e47776db138d367b16a3f1552426d1051d -Author: Guillem Jover -Date: Mon Apr 23 08:58:10 2012 +0200 - - libdpkg: Rename subproc_signals_setup() to subproc_signals_ignore() - - dselect/method.cc | 2 +- - lib/dpkg/libdpkg.map | 2 +- - lib/dpkg/subproc.c | 2 +- - lib/dpkg/subproc.h | 2 +- - src/script.c | 2 +- - 5 files changed, 5 insertions(+), 5 deletions(-) - -commit b6fda271b84fef4b24c5876cebe17511a0890264 -Author: Guillem Jover -Date: Mon Apr 23 08:55:35 2012 +0200 - - libdpkg: Refactor setting and resetting a single signal into new functions - - lib/dpkg/subproc.c | 34 ++++++++++++++++++++++++---------- - 1 file changed, 24 insertions(+), 10 deletions(-) - -commit 59427cc7a4b5289168a3b6a9598fe2c0eb6bf475 -Author: Guillem Jover -Date: Wed Sep 10 15:37:18 2014 +0200 - - libdpkg: Rename subproc_wait_check() to subproc_reap() - - dpkg-deb/build.c | 10 +++++----- - dpkg-deb/extract.c | 8 ++++---- - dpkg-deb/info.c | 2 +- - dpkg-split/split.c | 2 +- - dselect/method.cc | 2 +- - lib/dpkg/compress.c | 2 +- - lib/dpkg/file.c | 2 +- - lib/dpkg/libdpkg.map | 2 +- - lib/dpkg/subproc.c | 2 +- - lib/dpkg/subproc.h | 2 +- - lib/dpkg/test/t-command.c | 8 ++++---- - lib/dpkg/test/t-subproc.c | 12 ++++++------ - src/archives.c | 2 +- - src/configure.c | 4 ++-- - src/help.c | 2 +- - src/script.c | 2 +- - src/unpack.c | 8 ++++---- - 17 files changed, 36 insertions(+), 36 deletions(-) - -commit f7be86add268ad27c99c86a55fb2ad12d2fc8da7 -Author: Guillem Jover -Date: Wed Sep 10 15:34:22 2014 +0200 - - libdpkg: Make subproc_wait() and subproc_check() private - - lib/dpkg/libdpkg.map | 2 -- - lib/dpkg/subproc.c | 4 ++-- - lib/dpkg/subproc.h | 2 -- - 3 files changed, 2 insertions(+), 6 deletions(-) - -commit 398875d07d87fb65a4965ffbfe8b860f526a4ad8 -Author: Guillem Jover -Date: Wed Sep 10 15:31:41 2014 +0200 - - libdpkg, dpkg: Switch subproc_wait() calls to subproc_wait_check() - - Add a new PROCNOCHECK flag to disable the checks and to make both calls - equivalent. - - lib/dpkg/file.c | 2 +- - lib/dpkg/subproc.c | 9 +++++++-- - lib/dpkg/subproc.h | 1 + - src/configure.c | 4 ++-- - src/unpack.c | 2 +- - 5 files changed, 12 insertions(+), 6 deletions(-) - -commit 5c4fdbe903f5006eee3337a1b2c08c1cfe114191 -Author: Guillem Jover -Date: Wed Sep 10 12:56:16 2014 +0200 - - dpkg, dselect: Use subproc_wait_check() instead of ad-hoc code in call sites - - dselect/method.cc | 8 ++++---- - src/unpack.c | 6 +++--- - 2 files changed, 7 insertions(+), 7 deletions(-) - -commit a34bbbbc918c30a1f6bc403c62512d3c4afb3cbc -Author: Guillem Jover -Date: Wed Sep 10 12:28:42 2014 +0200 - - u-a(8): Fix prerm invocation arguments - - It is usually called in prerm's remove and deconfigure, not install. - - Closes: #761025 - - Reported-by: jre - - debian/changelog | 2 ++ - man/update-alternatives.8 | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 90c2e4c9e0231b15d4f93be120fcc01dd22ea82e -Author: Guillem Jover -Date: Sun Oct 5 01:48:52 2014 +0200 - - s-s-d: Do not fail when kvm_getprocs() cannot find any process - - Return NULL, and let the call sites return false themselves. This fixes - the code failing on retries when the process has disappeared. - - debian/changelog | 2 ++ - utils/start-stop-daemon.c | 10 +++++++++- - 2 files changed, 11 insertions(+), 1 deletion(-) - -commit 8fbe533b5b335ca08c0478687ea30a9a96f3fc6a -Author: Guillem Jover -Date: Fri Oct 3 04:52:04 2014 +0200 - - s-s-d: On kFreeBSD do not make kvm_openfiles() open /dev/mem - - We do not need that file, as we are not using any kvm_read(3) call, - either explicitly or implicitly. Everything is retrieved through - sysctl(2). - - libkvm from FreeBSD allows to pass /dev/null as the memory file to - denote that we do not need it. - - This will make s-s-d work again on jails which do not usually have - /dev/mem available. - - Reported-by: Steven Chamberlain - - debian/changelog | 3 +++ - utils/start-stop-daemon.c | 7 ++++++- - 2 files changed, 9 insertions(+), 1 deletion(-) - -commit c0817d3bcf59fa88c655c730a56285d52342aba4 -Author: Guillem Jover -Date: Tue May 6 07:22:50 2014 +0200 - - s-s-d: Refactor KVM code - - Create two new functions, ssd_kvm_open() and ssd_kvm_get_procs(). - - utils/start-stop-daemon.c | 83 +++++++++++++++++++++++++---------------------- - 1 file changed, 44 insertions(+), 39 deletions(-) - -commit 8f686fbeb1d3bc5ed2f4b3f5a5f79d17ab61c868 -Author: Christos Trochalakis -Date: Thu Oct 2 17:00:31 2014 +0200 - - s-s-d: Do not abort on --stop when only pid or ppid options are specified - - When running with «--stop» and only pid or ppid as matching options, - start-stop-daemon aborts with a "no match option" error. - - «pid» and «ppid» are proper matching options, so they should be enough - to proceed. - - Missed in commits 80de58344cb38ab085ca2c7808f4f7b3be1d2422 and - 3fabf94e0b5fe1bcdea26fecee1c87e74fab98b2. - - Closes: #763767 - - Signed-off-by: Guillem Jover - - debian/changelog | 2 ++ - utils/start-stop-daemon.c | 4 ++++ - 2 files changed, 6 insertions(+) - -commit e63048c680f151026237f2411e2bfebe2722f73d -Author: Guillem Jover -Date: Tue Sep 9 15:40:45 2014 +0200 - - s-s-d: Make sure the pidfile is always created with a 022 umask - - Although this got partially corrected with the fix for the background - and pidfile creation bug, it still migth happen that the parent had a - too restrictive umask. - - Closes: #760222 - - Reported-by: Will Conley - - debian/changelog | 2 ++ - utils/start-stop-daemon.c | 9 +++++---- - 2 files changed, 7 insertions(+), 4 deletions(-) - -commit 29778da537e2ff1a0f032db33dde43413b7345ef -Author: Guillem Jover -Date: Tue Sep 9 15:14:51 2014 +0200 - - s-s-d: Do not exit from first parent before the pidfile has been created - - When using the --background option combined with --make-pidfile, the - parent process might end up exiting before the child's pidfile has been - created, which might confuse service supervising programs. - - Fix the race condition by making the first parent wait for the second - one, so that it can safely create the pidfile if required. - - Closes: #686420 - - Based-on-patch-by: Nir Soffer - - debian/changelog | 3 +++ - utils/start-stop-daemon.c | 58 +++++++++++++++++++++++++++++++++++++++++++---- - 2 files changed, 56 insertions(+), 5 deletions(-) - -commit f27abd5a083c07bd367423f67cedf94b3d33b3f8 -Author: Guillem Jover -Date: Tue Sep 9 15:08:44 2014 +0200 - - s-s-d: Move write_pidfile() before daemonize() - - We'll be needing to call the former in the latter. - - utils/start-stop-daemon.c | 42 +++++++++++++++++++++--------------------- - 1 file changed, 21 insertions(+), 21 deletions(-) - -commit 877057869d5ae7cc3a0c7911ab905275b41d1d09 -Author: Guillem Jover -Date: Tue Sep 9 14:47:39 2014 +0200 - - s-s-d: Abort if the system or compatibility setsid() fails - - This requires to check the setpgid() return value in the setsid() - compatibility function. - - debian/changelog | 2 ++ - utils/start-stop-daemon.c | 7 +++++-- - 2 files changed, 7 insertions(+), 2 deletions(-) - -commit 1fab3f69a9c8991c3431a0cca3e49446f6a161e2 -Author: Guillem Jover -Date: Mon Sep 8 01:31:11 2014 +0200 - - arch: Remove lpia architecture support - - This architecture was a bad idea from the start, but was added - regardless to make life for the Ubuntu people easier. This mistake - will not be repeated again. Remove it to stop people thinking this - might somehow set a precedent. - - Ref: - - debian/changelog | 1 + - ostable | 1 - - triplettable | 1 - - 3 files changed, 1 insertion(+), 2 deletions(-) - -commit b851df1817ebaf60a95ae6478824c0e732890fc0 -Author: Guillem Jover -Date: Fri Sep 5 22:02:28 2014 +0200 - - libdpkg: Fix error message from buffer_copy() read and write function - - The buffer_read() and buffer_write() function error codes should have - higher precedence than a possible error from a truncated stream, otherwise - we will get confusing or just wrong error messages. - - Regression introduced in commit ded3dfed77b7fd268914e19e8081b43c9233cc05. - - Closes: #759498 - - debian/changelog | 3 +++ - lib/dpkg/buffer.c | 4 ++-- - 2 files changed, 5 insertions(+), 2 deletions(-) - -commit 8ac9b317f6fabdaf6c8fb723fe7063bb9f5414b5 -Author: Paul Wise -Date: Sat Sep 27 05:07:44 2014 +0200 - - Dpkg::Vendor::Debian: Add a timeless feature in the reproducible area - - This will add approproriate options to warn about __TIME__, __DATE__ and - __TIMESTAMP__ macros. - - Closes: #762683 - - Signed-off-by: Guillem Jover - - debian/changelog | 2 ++ - man/dpkg-buildflags.1 | 7 +++++++ - scripts/Dpkg/Vendor/Debian.pm | 6 ++++++ - 3 files changed, 15 insertions(+) - -commit 24ce14e24fd53887efcff43b66eaaf7ad1de7be4 -Author: Paul Wise -Date: Sat Sep 27 05:04:05 2014 +0200 - - Dpkg::Vendor::Debian: Add support for a reproducible feature area - - Signed-off-by: Guillem Jover - - debian/changelog | 2 ++ - man/dpkg-buildflags.1 | 9 +++++++-- - scripts/Dpkg/Vendor/Debian.pm | 17 +++++++++++++++++ - 3 files changed, 26 insertions(+), 2 deletions(-) - -commit 3885b21c26616dc79976f640769cf25be029ccf3 -Author: Guillem Jover -Date: Sat Sep 27 05:00:11 2014 +0200 - - Dpkg::Vendor::Debian: Fix comments wording - - scripts/Dpkg/Vendor/Debian.pm | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 60652d3854e28e64e68dbd589036bfc67b0ce058 -Author: Guillem Jover -Date: Fri Sep 26 18:50:38 2014 +0200 - - dpkg-buildflags: Honor feature area settings from DEB_BUILD_OPTIONS - - This allows users to specify build flags from specific area features. - These settings will be overridden by any subsequent settings from - DEB_BUILD_MAINT_OPTIONS, in the same way other build flags are affected, - so that the maintainer can disable specific things that might be broken. - - man/dpkg-buildflags.1 | 14 +++++++++----- - scripts/Dpkg/Vendor/Debian.pm | 22 +++++++++++++++------- - 2 files changed, 24 insertions(+), 12 deletions(-) - -commit 155d680222e349a2143f0d13e7addae23cf91a67 -Author: Guillem Jover -Date: Fri Sep 26 18:50:38 2014 +0200 - - scripts/mk: Pass DEB_BUILD_OPTIONS to dpkg-buildflags - - The build flags depend on options specified in DEB_BUILD_OPTIONS, - otherwise things like noopt do not work. - - debian/changelog | 2 ++ - scripts/mk/buildflags.mk | 1 + - 2 files changed, 3 insertions(+) - -commit 794c651d0933099ee684e95d08d5d799ead1a04b -Author: Guillem Jover -Date: Fri Sep 26 18:13:42 2014 +0200 - - dpkg-buildflags: Reverse exit logic to check for errors - - Instead of defaulting to exiting with an error, and bailing out on - successful operations, reverse the logic as there are fewer error - exit codepaths. This also reduces code nesting. - - scripts/dpkg-buildflags.pl | 36 +++++++++++++----------------------- - 1 file changed, 13 insertions(+), 23 deletions(-) - -commit 6775adf4af978a8fcd4fdafa955fff3970a047a0 -Author: Guillem Jover -Date: Fri Sep 26 17:30:58 2014 +0200 - - dpkg-buildflags: Fold list action handling with the other actions if block - - scripts/dpkg-buildflags.pl | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit f60868c4dae719b10a391063c3ae93e5f82f1d38 -Author: Guillem Jover -Date: Sun Sep 7 01:24:45 2014 +0200 - - dpkg-buildflags: Add a canary feature to the qa feature area - - This can be used to test the propagation of build flags by checking the - build logs for any omission. - - Closes: #628516 - - debian/changelog | 2 ++ - man/dpkg-buildflags.1 | 9 +++++++++ - scripts/Dpkg/Vendor/Debian.pm | 12 ++++++++++++ - 3 files changed, 23 insertions(+) - -commit 1f0936a4bf4b56af2c18af27ee78a0842e0e002c -Author: Guillem Jover -Date: Fri Sep 5 13:45:09 2014 +0200 - - dpkg-buildflags: Add a bug feature to the qa feature area - - This feature will enable fatal warnings for code that can pose - actual problems. - - Closes: #682659 - - debian/changelog | 2 ++ - man/dpkg-buildflags.1 | 4 ++++ - scripts/Dpkg/Vendor/Debian.pm | 10 ++++++++++ - 3 files changed, 16 insertions(+) - -commit 14904c35f056e5bef24275f3af0d295ad6a529e5 -Author: Guillem Jover -Date: Fri Sep 5 13:45:09 2014 +0200 - - dpkg-buildflags: Add a new qa feature area - - This will allow to add various Quality Assurance features that can be - used to avoid common errors. - - debian/changelog | 1 + - man/dpkg-buildflags.1 | 11 ++++++++--- - scripts/Dpkg/Vendor/Debian.pm | 17 +++++++++++++++++ - 3 files changed, 26 insertions(+), 3 deletions(-) - -commit 94597f68a82e55f193e8313781bd55356363e388 -Author: Guillem Jover -Date: Fri Sep 5 13:45:09 2014 +0200 - - Dpkg::Vendor::Debian: Prefix add_hardening_flags with _ to mark as private - - scripts/Dpkg/Vendor/Debian.pm | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit f905ed36cb5dcb3506c04fd4b38f36446418993b -Author: Guillem Jover -Date: Fri Sep 5 13:41:57 2014 +0200 - - dpkg-buildflags(1): Move generic feature area details to the section top - - These are valid for any future feature area, so share the information to - avoid having to repeat it on each subsection. - - debian/changelog | 1 + - man/dpkg-buildflags.1 | 28 +++++++++++++++------------- - 2 files changed, 16 insertions(+), 13 deletions(-) - -commit a92a3ac5056363e9c21c48187f6ff965481742f4 -Author: Guillem Jover -Date: Thu Sep 4 13:54:28 2014 +0200 - - dpkg-maintscript-helper: Add support for relative symlinks to symlink_to_dir - - Suggested-by: Don Armstrong - - debian/changelog | 2 ++ - man/dpkg-maintscript-helper.1 | 5 +++-- - scripts/dpkg-maintscript-helper.sh | 20 ++++++++++++++------ - 3 files changed, 19 insertions(+), 8 deletions(-) - -commit bf46f08e0f1d5999a0c1518ffa9931651e95931f -Author: Guillem Jover -Date: Thu Sep 4 13:48:01 2014 +0200 - - Dpkg::Deps: Add new deps_iterate() function - - Closes: #759747 - - Based-on-patch-by: Dima Kogan - - debian/changelog | 2 ++ - scripts/Dpkg/Deps.pm | 41 +++++++++++++++++++++++++++++++++++++++-- - scripts/t/Dpkg_Deps.t | 19 ++++++++++++++++++- - 3 files changed, 59 insertions(+), 3 deletions(-) - -commit 778367253dcba95e007a5024f6decbaeb974c665 -Author: Guillem Jover -Date: Mon Sep 1 17:14:58 2014 +0200 - - dpkg-maintscript-helper(1): Add a mention of packaging helpers support - - Mention that packaging helper might support dpkg-maintscript-helper - natively, and add an explicit reference to dh_installdeb(1), debhelper - being the most commonly used helper, w/o going into the actual details. - - Closes: #759754 - - debian/changelog | 3 +++ - man/dpkg-maintscript-helper.1 | 11 ++++++++++- - 2 files changed, 13 insertions(+), 1 deletion(-) - -commit 5cc36d8e80e38e8cb32d009695edce3cd1ae381a -Author: Guillem Jover -Date: Sat Aug 30 02:54:31 2014 +0200 - - Dpkg::Deps::KnownFacts: Add support for versioned Provides - - This got missed in commit 5bb02fe80e9f40dcad9703a72f67cf615ff217b5. - - debian/changelog | 2 ++ - scripts/Dpkg/Deps.pm | 16 +++++++++++----- - scripts/t/Dpkg_Deps.t | 35 ++++++++++++++++++++++++++++++++++- - 3 files changed, 47 insertions(+), 6 deletions(-) - -commit dc8ea230f2a49f29bc22fcba6a5f22429e3f6c91 -Author: Guillem Jover -Date: Sat Aug 30 02:54:11 2014 +0200 - - Dpkg::Deps: Emit a warning when using the obsolete check_package() function - - debian/changelog | 1 + - scripts/Dpkg/Deps.pm | 6 ++++++ - 2 files changed, 7 insertions(+) - -commit fe60460326c3e37d21bdb031d063b84780c82eba -Author: Guillem Jover -Date: Sat Aug 30 02:31:29 2014 +0200 - - perl: Do not use the topic variable unnecessarily - - Fixes BuiltinFunctions::ProhibitUselessTopic - and RegularExpressions::ProhibitUselessTopic. - - Warned-by: perlcritic - - scripts/Dpkg/Checksums.pm | 2 +- - scripts/Dpkg/Control/HashCore.pm | 8 ++++---- - scripts/Dpkg/Deps.pm | 2 +- - scripts/Dpkg/Shlibs/Objdump.pm | 2 +- - scripts/Dpkg/Shlibs/SymbolFile.pm | 4 ++-- - scripts/Dpkg/Source/Package/V2.pm | 6 +++--- - scripts/Dpkg/Source/Package/V3/Bzr.pm | 4 ++-- - scripts/Dpkg/Source/Quilt.pm | 4 ++-- - scripts/dpkg-buildpackage.pl | 2 +- - scripts/dpkg-gensymbols.pl | 2 +- - scripts/dpkg-scansources.pl | 2 +- - scripts/dpkg-shlibdeps.pl | 4 ++-- - test/critic.t | 2 ++ - 13 files changed, 23 insertions(+), 21 deletions(-) - -commit c6df3fdc4f57da160c5bb6877a7e9aea93cc2eb7 -Author: Guillem Jover -Date: Tue Sep 30 17:02:54 2014 +0200 - - dselect: Parse the system curses.h header instead of dselect-curses.h - - Regression introduced in commit 51926eebbba1f20c3bf994e7364512a1c63a25f2. - - Because our local header file that decides which curses header to - include also matches on curses.h, we've been processing that header all - this time, meaning we've defaulted to the builtin and override keys only. - - debian/changelog | 3 +++ - dselect/Makefile.am | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit b4e6a1c8bd4b37e2192797ceeac3001e4ed1c7f4 -Author: Guillem Jover -Date: Tue Sep 30 17:01:01 2014 +0200 - - dselect: Quote the FTP package name instead of trying to manually escape it - - dselect/methods/ftp/install | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -commit 0d5e17af7391fb0d3a3c695dac40f8df41f8b11c -Author: Guillem Jover -Date: Tue Sep 30 04:33:42 2014 +0200 - - scripts: Use named variables instead of using the topic variable - - Switch code that uses roughly more explicit instances of the topic - variable than implicit ones. - - Addresses BuiltinFunctions::ProhibitUselessTopic. - - Warned-by: perlcritic - - dselect/methods/ftp/install | 24 ++++++++++---------- - dselect/mkcurkeys.pl | 45 ++++++++++++++++++++----------------- - scripts/Dpkg/Arch.pm | 7 ++---- - scripts/Dpkg/Changelog.pm | 14 ++++++------ - scripts/Dpkg/Changelog/Parse.pm | 10 ++++----- - scripts/Dpkg/Compression/Process.pm | 6 ++--- - scripts/Dpkg/Control/HashCore.pm | 10 ++++----- - scripts/Dpkg/IPC.pm | 26 ++++++++++----------- - scripts/Dpkg/Shlibs/Cppfilt.pm | 16 ++++++------- - scripts/Dpkg/Source/Package.pm | 6 ++--- - scripts/Dpkg/Source/Package/V2.pm | 20 ++++++++--------- - scripts/Dpkg/Source/Patch.pm | 32 +++++++++++++++----------- - scripts/Dpkg/Source/Quilt.pm | 22 +++++++++++------- - scripts/dpkg-scanpackages.pl | 13 +++++------ - scripts/dpkg-shlibdeps.pl | 24 ++++++++++---------- - 15 files changed, 144 insertions(+), 131 deletions(-) - -commit f85c96ff672cfd9c1526a8387f088dbfc51df569 -Author: Guillem Jover -Date: Fri Aug 29 19:27:02 2014 +0200 - - dselect: Remove unnecessary handling of obsolete Package_Revision field - - This is automatically handled by «dpkg-deb --field» now that it uses - the libdpkg deb822 parser. - - debian/changelog | 2 ++ - dselect/methods/ftp/install | 1 - - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 2e5f5b658c7c7153d3131e7224d9c337c0be1164 -Author: Guillem Jover -Date: Fri Aug 29 19:17:09 2014 +0200 - - dpkg-deb: Stop warning on unknown arbitrary fields - - The rest of the tools, particularly the ones in dpkg-dev, do not emit - such warnings, so doing it when building the binary packages is a bit - pointless, and usually annoys maintainers or downstream developers who - end up disabling this code anyway. - - This might have served a purpose some time ago, to easily spot typos - in field names, but we do have other means to check for those now, - like more strict parsing in dpkg, which will warn or error on required - fields, or tools like lintian which do a thorough check on the produced - packages. - - debian/changelog | 1 + - dpkg-deb/build.c | 38 -------------------------------------- - man/deb-src-control.5 | 3 +-- - 3 files changed, 2 insertions(+), 40 deletions(-) - -commit 49e2e69055d5c42f2b9536468b51d30f18344bf9 -Author: Guillem Jover -Date: Wed Aug 27 13:49:17 2014 +0200 - - dpkg-genchanges: Fix order of Files field in generated .changes file - - Regression introduced in commit e1749d77a44ee1c82c2d047cf9be4b071554832d. - - As the code switched to use the list of files to be distributed instead - of the files with checksums, the order changed. Move the code around to - inject the source files first into the distributed files so that we - recover the old behavior, and make it consistent with the Checksums - fields. - - debian/changelog | 2 + - scripts/dpkg-genchanges.pl | 147 ++++++++++++++++++++++----------------------- - 2 files changed, 75 insertions(+), 74 deletions(-) - -commit 4c67c44847ad068bb24cc5d5f94f5f9e349c1d24 -Author: Guillem Jover -Date: Wed Aug 27 13:49:17 2014 +0200 - - dpkg-genchanges: Do not repeat dsc name in multiple places - - Use a single variable to track the name. Reduce the scope of the $dsc - variable. - - scripts/dpkg-genchanges.pl | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 7625c1359d479cff42d15aa5551cac23c1ac7ebb -Author: Guillem Jover -Date: Wed Aug 27 13:49:17 2014 +0200 - - dpkg-genchanges: Merge fallback Section and Priority value assignments - - This makes the code more clear, and will make sure to emit a warning - also when the fields have an explicit '-' value. - - debian/changelog | 2 ++ - scripts/dpkg-genchanges.pl | 26 ++++++++------------------ - 2 files changed, 10 insertions(+), 18 deletions(-) - -commit 13871b788efbd6dafc19a24b537229eef46a854c -Author: Guillem Jover -Date: Wed Aug 27 13:12:27 2014 +0200 - - dpkg-genchanges: Do not use an intermediate variable with the upload dir - - We only use it in one place, just inline the $uploadfilesdir variable - there. - - scripts/dpkg-genchanges.pl | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -commit e1666917ab7d28506b2f379d4e6af12cb015f072 -Author: Guillem Jover -Date: Wed Aug 27 13:10:37 2014 +0200 - - dpkg-genchanges: Use $include directly instead of convenience is_ functions - - These were testing for the wrong thing, by checking for the reverse. - Remove the unnecessary functions and check for what we actually want, - which should make the code more clear. - - scripts/dpkg-genchanges.pl | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -commit 1fa66ec98b8eb9c5305f2c58ce2f261ec3697c84 -Author: Guillem Jover -Date: Sun Sep 14 13:30:39 2014 +0200 - - scripts: Place Commands: before Options: in --help output - - debian/changelog | 2 ++ - scripts/dpkg-architecture.pl | 18 +++++++++--------- - scripts/dpkg-vendor.pl | 10 +++++----- - 3 files changed, 16 insertions(+), 14 deletions(-) - -commit 9c81361552de98c234c75fc6c26928e3eae7983e -Author: Guillem Jover -Date: Sun Sep 14 13:19:44 2014 +0200 - - dpkg-architecture: Clarify that -a, -t, -e and -i work with the host system - - Stating that these handle the “current” architecture makes no sense, and - it's not more clear. Just say clearly what they work with. - - debian/changelog | 1 + - man/dpkg-architecture.1 | 25 +++++++++++++------------ - scripts/dpkg-architecture.pl | 8 ++++---- - 3 files changed, 18 insertions(+), 16 deletions(-) - -commit f29ed62d0c340869752c61d55a2df74159c31625 -Author: Guillem Jover -Date: Sat Aug 23 18:25:07 2014 +0200 - - dpkg-architecture: Add support for target information - - This adds support for the DEB_TARGET_ family of variables, which denote - the machine the compiler should be building for. - - If the user did not specify them on the command line they will default - to the host architecture. - - debian/changelog | 4 ++++ - man/dpkg-architecture.1 | 31 +++++++++++++++++++++++- - scripts/dpkg-architecture.pl | 57 ++++++++++++++++++++++++++++++++++++++++++-- - 3 files changed, 89 insertions(+), 3 deletions(-) - -commit 17aaa7eeddc04cc2a133a3c56ed5650d3f90cbe3 -Author: Guillem Jover -Date: Thu Aug 28 11:59:25 2014 +0200 - - dpkg-architecture: Refactor check_arch_coherency() - - scripts/dpkg-architecture.pl | 57 +++++++++++++++++++++++++------------------- - 1 file changed, 33 insertions(+), 24 deletions(-) - -commit 03c0873bd720a4f93db0cc4764fa98d3dbcadede -Author: Guillem Jover -Date: Wed Aug 20 11:23:11 2014 +0200 - - dpkg-deb: Add new --ctrl-tarfile command - - This allows to easily extract the entire control member in tar format, - for further processing. - - debian/changelog | 1 + - dpkg-deb/dpkg-deb.h | 1 + - dpkg-deb/extract.c | 17 +++++++++++++++++ - dpkg-deb/main.c | 2 ++ - man/dpkg-deb.1 | 13 +++++++++++-- - 5 files changed, 32 insertions(+), 2 deletions(-) - -commit 81f0fdb71a029abdb4cb9d404c55ba5871cd3cf5 -Author: Guillem Jover -Date: Wed Aug 20 11:06:45 2014 +0200 - - dpkg-source: Fix perl warning when typing Ctrl-D on patch name prompt - - When prompting the user for a patch name, if they type Ctrl-D the - variable reading from STDIN will be initialized to undef, but we were - acting on it anyway. Catch that case. - - debian/changelog | 1 + - scripts/Dpkg/Source/Package/V2.pm | 4 +++- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 941f8c810fd050c91a18a6c7ead6b34c8d12ead3 -Author: Guillem Jover -Date: Sun Jun 1 01:31:33 2014 +0200 - - dpkg: Factor out deb_parse_conffiles() from process_archive() - - src/unpack.c | 177 ++++++++++++++++++++++++++++++++++------------------------- - 1 file changed, 103 insertions(+), 74 deletions(-) - -commit bbe34bf13e7d6fcbe9b5702e9826526160796771 -Author: Guillem Jover -Date: Sun Oct 5 05:04:12 2014 +0200 - - dpkg: Rename newconff_append() to filenamenode_queue_push() - - The function is not conffile specific, so let's make that clear. - Rename also the local variables to make sense in the new context. - - src/archives.c | 18 +++++++++--------- - src/main.h | 4 ++-- - src/unpack.c | 4 ++-- - 3 files changed, 13 insertions(+), 13 deletions(-) - -commit 43af9a7184ed1468e6479af41d6eb0f3a1abe5c4 -Author: Guillem Jover -Date: Sun Jun 1 01:24:03 2014 +0200 - - dpkg: Use struct filelist instead of two fileinlist to track newconffiles - - src/archives.c | 12 ++++++++---- - src/main.h | 7 +++++-- - src/unpack.c | 14 +++++++------- - 3 files changed, 20 insertions(+), 13 deletions(-) - -commit b67c9f74ce7a6343cd5b128afc68736965d2ba3a -Author: Guillem Jover -Date: Sun Jun 1 01:00:51 2014 +0200 - - dpkg: Add new struct filenamenode_queue - - src/filesdb.h | 7 +++++++ - 1 file changed, 7 insertions(+) - -commit 4c65eaf4a1e9692f48d680a366e2fa91cca0a116 -Author: Guillem Jover -Date: Sun Jun 1 01:11:19 2014 +0200 - - dpkg: Remove static from pointer variables - - These were supposedly static to cater to the push_cleanup() needs, - but as these are pointers they are unaffected by an unrolled stack. - - src/unpack.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 2db3d929026f2512dc4a1358a099bcd82b556beb -Author: Guillem Jover -Date: Sat May 31 21:31:22 2014 +0200 - - libdpkg: Rename pkg_db_iter_next_pkg() local variable r to pkg - - lib/dpkg/pkg-db.c | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -commit 9c68ece4293dcd844000a731edc20572c9240b5f -Author: Guillem Jover -Date: Fri Oct 3 20:01:43 2014 +0200 - - build: Split test_programs and test_scripts out of test_cases - - We do not need TEST_PREFIX anymore, as the prefixes are implicit for - each typo of test case. Use the build directory for compiled programs - and the source directory for scripts. - - Makefile.am | 4 ++-- - check.am | 11 +++++------ - lib/dpkg/test/Makefile.am | 4 +--- - scripts/Makefile.am | 4 ++-- - src/Makefile.am | 5 +++-- - utils/Makefile.am | 5 +++-- - 6 files changed, 16 insertions(+), 17 deletions(-) - -commit 9540bc984b08c5936c5aad2f1cab15f3b3560b84 -Author: Guillem Jover -Date: Thu Oct 2 05:00:46 2014 +0200 - - build: Fix compiler flag detection with non-GCC compilers - - We enable -Werror when checking the flags so that on compilers like - clang which just emit a warning on unknown warning options, instead - of erroring out, we get proper detection. - - We could just use stuff like -Werror=unknown-warning-option and - -Werror=unused-command-line-argument, but then we would need to detect - if those are available as they might make the compiler error out if - they are no supported. So just using the blanket -Werror, although more - broad, makes the code less complicated. - - debian/changelog | 1 + - m4/dpkg-compiler.m4 | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit e695dc22e239788db1cb5d9e2a5ab2578c225263 -Author: Guillem Jover -Date: Tue May 6 07:24:55 2014 +0200 - - build: Disable unused run-time type information for dselect - - The dselect codebase does not make use of RTTI (run-time type - information), so including support for it is a waste. - - debian/changelog | 1 + - dselect/Makefile.am | 2 ++ - 2 files changed, 3 insertions(+) - -commit 11e417e08ba07587c28e2073fab9d04df4d58bfe -Author: Guillem Jover -Date: Fri Oct 3 20:25:58 2014 +0200 - - debian: Bump Standards-Version to 3.9.6 (no changes needed) - - debian/changelog | 1 + - debian/control | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit e1846c60ac3e303b7f2a13e5b4a693e915f8ee0a -Author: Guillem Jover -Date: Tue Sep 23 21:12:40 2014 +0200 - - debian: Switch copyright to machine-readable format 1.0 - - And extensively update the information within. - - debian/changelog | 2 + - debian/copyright | 239 +++++++++++++++++++++++++++++++++++++++++-------------- - 2 files changed, 181 insertions(+), 60 deletions(-) - -commit a17d469cc3d5ccca9daa84f98fed3cc8e51e656d -Author: Guillem Jover -Date: Fri Oct 3 17:28:21 2014 +0200 - - po: The copyright holder for the original code is not SPI - - This was changed to not claim the copyright was assigned to the FSF, but - the new holder is not correct either. - - The claims in the translations are all probably wrong due to this, but - that might require asking the translators. - - debian/changelog | 1 + - dselect/po/Makevars | 2 +- - po/Makevars | 2 +- - scripts/po/Makevars | 2 +- - 4 files changed, 4 insertions(+), 3 deletions(-) - -commit bc54a48f0ac140b8fdf37401a8bc69446243e20b -Author: Guillem Jover -Date: Fri Oct 3 06:46:13 2014 +0200 - - po: Fix mismatched format string in Catalan translation - - Warned-by: i18nspector - - debian/changelog | 1 + - po/ca.po | 3 +-- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit c0536fef2860c0481c5fbb13c3b3d28e4cbaf59d -Author: Guillem Jover -Date: Wed Aug 20 11:15:35 2014 +0200 - - po: Fix '--' to '-' on translations for single character options - - debian/changelog | 3 +++ - po/cs.po | 4 ++-- - po/de.po | 2 +- - po/es.po | 4 ++-- - po/pl.po | 2 +- - po/sv.po | 4 ++-- - 6 files changed, 11 insertions(+), 8 deletions(-) - -commit f67b2b629959107238a8d596a2f3b049a835cbe1 -Author: Mert Dirik -Date: Fri Oct 3 06:34:45 2014 +0200 - - po: Add Turkish program translations - - Closes: #763825 - - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/LINGUAS | 3 + - po/{da.po => tr.po} | 3184 ++++++++++++++++++++++++++------------------------- - 3 files changed, 1611 insertions(+), 1577 deletions(-) - -commit 2ea951ed8f8e490bbf36a3be7917a97502c05a6e -Author: Łukasz Dulny -Date: Tue Sep 30 17:22:10 2014 +0200 - - po: Update Polish program translations - - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/pl.po | 592 ++++++++++++++++++------------------------------------- - 2 files changed, 188 insertions(+), 405 deletions(-) - -commit 8dd4210524139b357593e4f27d0fd1d7d8e240d6 -Author: Guillem Jover -Date: Thu Sep 4 13:19:04 2014 +0200 - - po: Fix Italian man page translations - - The translated strings for some dpkg-deb arguments were swapped. - - Closes: #759149 - - Reported-by: xor - - debian/changelog | 2 ++ - man/po/it.po | 6 +++--- - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit cb4d4423f4c890082af0bdd09fba92ba7386d479 -Author: Guillem Jover -Date: Mon Oct 6 00:26:25 2014 +0200 - - debian: Move changelog entry around - - debian/changelog | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit af33c5a14275e81f16c3fa49a3b45c620aedf17d -Author: Guillem Jover -Date: Fri Sep 26 01:14:46 2014 +0200 - - doc: Do not add timestamps to Doxygen output - - The API documentation is not shipped in any binary packages but it might - in the future. Given that it already contains the project version down - to a git commit if necessary and the Doxygen version, there's really no - need for the timestamp. - - doc/Doxyfile.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 271336835dd2b7874793086c65af1430e8530852 -Author: Guillem Jover -Date: Fri Sep 12 21:33:53 2014 +0200 - - doc: Update Doxygen configuration from version 1.8.8 - - This gets rid of some warnings due to deprecated options. - - doc/Doxyfile.in | 2348 +++++++++++++++++++++++++++++++++---------------------- - 1 file changed, 1405 insertions(+), 943 deletions(-) - -commit 3ea5ac4e6bd9a79414afa1a88cf9e1e1b12a0073 -Author: Miroslav Kure -Date: Sun Oct 5 06:19:04 2014 +0200 - - Czech translation update - - debian/changelog | 3 +++ - po/cs.po | 4 ++-- - 2 files changed, 5 insertions(+), 2 deletions(-) - -commit fa6b85bb66ebae0734aa908c4b24abeb180c67f8 -Author: Helge Kreutzmann -Date: Thu Sep 25 23:26:13 2014 +0200 - - Update German translation of manual pages - - Update to 2289t. - - man/po/de.po | 51 ++++++++++++++++++++++++++++++++++----------------- - 1 file changed, 34 insertions(+), 17 deletions(-) - -commit 205357f14cd1bb9d6ad2ca5fa6c916d6b9e2d17c -Author: Raphaël Hertzog -Date: Thu Sep 25 16:02:16 2014 +0200 - - deb-triggers(5): explain better why {interest,activate}-noawait should be favored - - Christoph Biedl asked me in #762031 to integrate more explanations why - the *-noawait directives should be preferred. - - debian/changelog | 4 ++++ - man/deb-triggers.5 | 9 ++++++++- - 2 files changed, 12 insertions(+), 1 deletion(-) - -commit 29422bfdb78282d3c8a64ebb586bd723d89ab0e4 -Author: Helge Kreutzmann -Date: Fri Aug 22 09:57:29 2014 +0200 - - Update German translation of manual pages - - Update to 2288t. - - debian/changelog | 3 +- - man/po/de.po | 130 +++++++++++++++++++++---------------------------------- - 2 files changed, 52 insertions(+), 81 deletions(-) - -commit 40cdb8236e2e739f9f1fd33f790a27e750e11855 -Author: Guillem Jover -Date: Tue Aug 19 20:33:41 2014 +0200 - - Bump version to 1.17.14 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 9f7937f78805ce4022236add3d76809f4071fd30 (tag: 1.17.13) -Author: Guillem Jover -Date: Sun Aug 17 15:35:34 2014 +0200 - - Release 1.17.13 - - debian/changelog | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit c5363f315832465082ca51e347c60e6c3d7762e5 -Author: Guillem Jover -Date: Sun Aug 17 15:56:45 2014 +0200 - - Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 2 +- - dselect/po/ca.po | 2 +- - dselect/po/cs.po | 2 +- - dselect/po/da.po | 2 +- - dselect/po/de.po | 4 +- - dselect/po/dselect.pot | 4 +- - dselect/po/el.po | 2 +- - dselect/po/es.po | 2 +- - dselect/po/et.po | 2 +- - dselect/po/eu.po | 2 +- - dselect/po/fr.po | 2 +- - dselect/po/gl.po | 2 +- - dselect/po/hu.po | 2 +- - dselect/po/id.po | 2 +- - dselect/po/it.po | 2 +- - dselect/po/ja.po | 2 +- - dselect/po/ko.po | 2 +- - dselect/po/nb.po | 2 +- - dselect/po/nl.po | 2 +- - dselect/po/nn.po | 2 +- - dselect/po/pl.po | 2 +- - dselect/po/pt.po | 2 +- - dselect/po/pt_BR.po | 2 +- - dselect/po/ro.po | 2 +- - dselect/po/ru.po | 2 +- - dselect/po/sk.po | 2 +- - dselect/po/sv.po | 2 +- - dselect/po/tl.po | 2 +- - dselect/po/vi.po | 2 +- - dselect/po/zh_CN.po | 2 +- - dselect/po/zh_TW.po | 2 +- - man/po/de.po | 659 +++++++++++++++++++++++------------------- - man/po/dpkg-man.pot | 567 +++++++++++++++++++----------------- - man/po/es.po | 624 ++++++++++++++++++++++------------------ - man/po/fr.po | 750 +++++++++++++++++++++++++++--------------------- - man/po/hu.po | 579 ++++++++++++++++++++----------------- - man/po/it.po | 635 ++++++++++++++++++++++------------------ - man/po/ja.po | 624 ++++++++++++++++++++++------------------ - man/po/pl.po | 629 ++++++++++++++++++++++------------------ - man/po/pt_BR.po | 596 ++++++++++++++++++++------------------ - man/po/ru.po | 601 ++++++++++++++++++++------------------ - man/po/sv.po | 634 ++++++++++++++++++++++------------------ - po/ast.po | 2 +- - po/bs.po | 2 +- - po/ca.po | 2 +- - po/cs.po | 17 +- - po/da.po | 2 +- - po/de.po | 2 +- - po/dpkg.pot | 6 +- - po/dz.po | 2 +- - po/el.po | 2 +- - po/eo.po | 2 +- - po/es.po | 2 +- - po/et.po | 2 +- - po/eu.po | 2 +- - po/fr.po | 2 +- - po/gl.po | 2 +- - po/hu.po | 2 +- - po/id.po | 2 +- - po/it.po | 2 +- - po/ja.po | 2 +- - po/km.po | 2 +- - po/ko.po | 2 +- - po/ku.po | 2 +- - po/lt.po | 2 +- - po/mr.po | 2 +- - po/nb.po | 2 +- - po/ne.po | 2 +- - po/nl.po | 2 +- - po/nn.po | 2 +- - po/pa.po | 2 +- - po/pl.po | 2 +- - po/pt.po | 2 +- - po/pt_BR.po | 2 +- - po/ro.po | 2 +- - po/ru.po | 2 +- - po/sk.po | 2 +- - po/sv.po | 2 +- - po/th.po | 2 +- - po/tl.po | 2 +- - po/vi.po | 11 +- - po/zh_CN.po | 2 +- - po/zh_TW.po | 2 +- - scripts/po/ca.po | 2 +- - scripts/po/de.po | 2 +- - scripts/po/dpkg-dev.pot | 4 +- - scripts/po/es.po | 2 +- - scripts/po/fr.po | 66 +++-- - scripts/po/pl.po | 2 +- - scripts/po/ru.po | 2 +- - scripts/po/sv.po | 2 +- - 91 files changed, 3936 insertions(+), 3220 deletions(-) - -commit d69cf19881732900ff964f1f10545b51e3de4282 -Author: Guillem Jover -Date: Sat Apr 5 05:25:46 2014 +0200 - - s-s-d: Switch GNU/kFreeBSD systems to use libkvm - - Use libkvm instead of relying on linprocfs, which is not the native - procfs on kFreeBSD, and it is usually not mounted as FreeBSD programs - do not expect it to be present. - - This stops making the code handle GNU/kFreeBSD as if it was a - Linux-based system. - - debian/changelog | 3 +++ - debian/control | 1 + - utils/start-stop-daemon.c | 4 ++-- - 3 files changed, 6 insertions(+), 2 deletions(-) - -commit 5fb63f2db08482d5d553105e4ed3055426aa3a87 -Author: Guillem Jover -Date: Sat Aug 16 13:18:34 2014 +0200 - - libcompat: Only test the strerror() if sys_errlist and sys_nerr are present - - These are deprecated symbols, and some systems which do have strerror() - do not have these variables, most notably GNU/Hurd. So do not try to test - the current implementation there as it will fail. - - Closes: #758199 - - configure.ac | 1 + - debian/changelog | 2 ++ - lib/compat/Makefile.am | 5 ++++- - lib/compat/strerror.c | 4 +++- - m4/dpkg-types.m4 | 16 ++++++++++++++++ - 5 files changed, 26 insertions(+), 2 deletions(-) - -commit 294cd0e0ec711d9578ae97f09a76eb045a7bf6b9 -Author: Guillem Jover -Date: Fri Aug 15 19:53:20 2014 +0200 - - scripts: Revert some unsafe //= usages back to ||= - - This reverts some of the unsafe assignments, as the variable might have - contained a value evaluating to false, and we are assigning non-false - values. - - This specifically fixes dpkg-source --commit and -b not working any - longer. - - Regression introduced in commit b0337f001bee1f3791cb87505b1330c9bf83e2be. - - Closes: #758426 - - Reported-by: Neil Williams - - debian/changelog | 3 +++ - scripts/Dpkg/Shlibs/Objdump.pm | 2 +- - scripts/Dpkg/Source/Package.pm | 2 +- - scripts/Dpkg/Source/Patch.pm | 4 ++-- - 4 files changed, 7 insertions(+), 4 deletions(-) - -commit 914e739cf4ecdcd7120fbb7f203a26c03cc30ba9 -Author: Guillem Jover -Date: Tue Aug 19 09:53:05 2014 +0200 - - dpkg-maintscript-helper: Fix symlink_to_dir to assure absolute pathnames - - We must ensure that the original symlink and symlink targets are - absolute pathnames. For the latter it is easier to make sure the - filesystem symlink target matches the argument passed, as we can - canonicalize the argument. - - debian/changelog | 2 ++ - man/dpkg-maintscript-helper.1 | 4 ++-- - scripts/dpkg-maintscript-helper.sh | 4 ++++ - 3 files changed, 8 insertions(+), 2 deletions(-) - -commit 7fe9dcdd57c083180a7994957d1e5217d28e970a -Author: Helmut Grohne -Date: Mon Aug 18 08:20:53 2014 +0200 - - dpkg-maintscript-helper: Fix dir_to_symlink to handle relative symlink targets - - When invoking dir_to_symlink, dpkg-maintscript-helper was assuming the - target to be absolute, but Debian policy 10.5 requires relative symlinks - in a few places. So it now works with relative targets. - - Signed-off-by: Helmut Grohne - Signed-off-by: Guillem Jover - - debian/changelog | 2 ++ - man/dpkg-maintscript-helper.1 | 7 ++++--- - scripts/dpkg-maintscript-helper.sh | 12 ++++++++++-- - 3 files changed, 16 insertions(+), 5 deletions(-) - -commit 78623bf34188a2f0f97b51da829abcee199b3f67 -Author: Guillem Jover -Date: Mon Aug 18 12:14:03 2014 +0200 - - dpkg-maintscript-helper(1): Remove duplicate “of the” - - debian/changelog | 1 + - man/dpkg-maintscript-helper.1 | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 244324044fb832901c1de6619ac0bf261a76abc5 -Author: Guillem Jover -Date: Sat Aug 16 12:25:11 2014 +0200 - - dpkg(1): Split --remove and --purge options - - This makes it easier to see at a glance the differences between the - options, and allows to more easily describe the specifics of each. - - This also clarifies on which package states each option can operate. - - Closes: #576338 - - debian/changelog | 2 ++ - man/dpkg.1 | 52 +++++++++++++++++++++++++++++++++++----------------- - 2 files changed, 37 insertions(+), 17 deletions(-) - -commit d3cbd092424b8a3e16ca9c4e4bcf068d93952382 -Author: Guillem Jover -Date: Fri Aug 15 22:20:30 2014 +0200 - - dpkg-query(1): Merge binary:Package descriptions - - debian/changelog | 2 ++ - man/dpkg-query.1 | 14 ++++++-------- - 2 files changed, 8 insertions(+), 8 deletions(-) - -commit db398ae92f4fd5f8147154ce2e0286d9e8009212 -Author: Sven Joachim -Date: Fri Aug 15 17:32:01 2014 +0200 - - German dselect translation update - - Update to 271t. - - debian/changelog | 1 + - dselect/po/de.po | 49 +++++++------------------------------------------ - 2 files changed, 8 insertions(+), 42 deletions(-) - -commit 4f73dc68e84c06008850e9fc44440517657a0d78 -Author: Romain Francoise -Date: Mon Aug 11 10:17:22 2014 +0200 - - dpkg-buildflags: Remove arch blacklist from stackprotectorstrong option - - As of gcc-defaults 1.130 all architectures have moved to GCC 4.9, so we - can remove the architecture blacklist for stackprotectorstrong. - - Signed-off-by: Guillem Jover - - debian/changelog | 2 ++ - scripts/Dpkg/Vendor/Debian.pm | 6 ------ - 2 files changed, 2 insertions(+), 6 deletions(-) - -commit 4ed6ea9d09853cd75c56439ce5aa76492c6bd542 -Author: Guillem Jover -Date: Fri Aug 15 15:43:56 2014 +0200 - - dpkg-deb: Remove unbalanced trailing single-quote in error message - - Reported-by: Trần Ngọc Quân - - debian/changelog | 4 ++++ - dpkg-deb/main.c | 2 +- - po/ast.po | 2 +- - po/bs.po | 2 +- - po/ca.po | 2 +- - po/cs.po | 2 +- - po/da.po | 2 +- - po/de.po | 2 +- - po/dz.po | 2 +- - po/el.po | 2 +- - po/eo.po | 4 ++-- - po/es.po | 2 +- - po/et.po | 2 +- - po/eu.po | 8 ++++---- - po/fr.po | 2 +- - po/gl.po | 2 +- - po/hu.po | 2 +- - po/id.po | 8 ++++---- - po/it.po | 2 +- - po/ja.po | 2 +- - po/km.po | 2 +- - po/ko.po | 4 ++-- - po/ku.po | 2 +- - po/lt.po | 2 +- - po/mr.po | 2 +- - po/nb.po | 8 ++++---- - po/ne.po | 2 +- - po/nl.po | 2 +- - po/nn.po | 2 +- - po/pa.po | 2 +- - po/pl.po | 2 +- - po/pt.po | 4 ++-- - po/pt_BR.po | 2 +- - po/ro.po | 4 ++-- - po/ru.po | 2 +- - po/sk.po | 2 +- - po/sv.po | 2 +- - po/th.po | 2 +- - po/tl.po | 2 +- - po/vi.po | 4 ++-- - po/zh_CN.po | 4 ++-- - po/zh_TW.po | 2 +- - 42 files changed, 60 insertions(+), 56 deletions(-) - -commit 59e6e1563a88f47d0011ee62bc3c7b763fb9ab4f -Author: Guillem Jover -Date: Fri Aug 15 15:26:53 2014 +0200 - - dpkg-shlibdeps: Do not unnecessarily interpolate strings - - This mostly reverts commit 2379a80fbdc49084894b448a49d6859486b92d02, - which would make the perlcritic test fail. - - scripts/dpkg-shlibdeps.pl | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 5e6fe1e575d397791e62dc20265c09e737e45a9f -Author: Trần Ngọc Quân -Date: Fri Aug 15 15:58:20 2014 +0200 - - Update Vietnamese program translations - - Signed-off-by: Trần Ngọc Quân - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/vi.po | 73 ++++++++++++++++++++++++++++---------------------------- - 2 files changed, 38 insertions(+), 36 deletions(-) - -commit cb750fdcf6bd8950ea4433e6f6af818419c1b1d5 -Author: Helge Kreutzmann -Date: Fri Aug 15 15:33:34 2014 +0200 - - Update German translation of manual pages - - Update to 2282t. - - debian/changelog | 1 + - man/po/de.po | 65 ++++++++++++++++++++++++++------------------------------ - 2 files changed, 31 insertions(+), 35 deletions(-) - -commit 2379a80fbdc49084894b448a49d6859486b92d02 -Author: Raphaël Hertzog -Date: Fri Aug 15 14:12:42 2014 +0200 - - dpkg-shlibdeps: fix error string embedding literal '\n' instead of the expected newline - - Update the translation strings accordingly. - - Error introduced in 7104dc16110603687b85c6e2b9a0170b17caab8c. - - scripts/dpkg-shlibdeps.pl | 8 ++++---- - scripts/po/ca.po | 6 +++--- - scripts/po/de.po | 10 +++++----- - scripts/po/dpkg-dev.pot | 4 ++-- - scripts/po/es.po | 6 +++--- - scripts/po/fr.po | 6 +++--- - scripts/po/pl.po | 6 +++--- - scripts/po/ru.po | 6 +++--- - scripts/po/sv.po | 6 +++--- - 9 files changed, 29 insertions(+), 29 deletions(-) - -commit f8b8f253c11fc257aaadbeca2c01a237c2ada503 -Author: Raphaël Hertzog -Date: Fri Aug 15 14:05:08 2014 +0200 - - Update French translation of scripts and manual pages - - debian/changelog | 5 +- - man/po/fr.po | 260 ++++++++++++-------------------------- - scripts/po/fr.po | 373 +++++++++++++++++-------------------------------------- - 3 files changed, 196 insertions(+), 442 deletions(-) - -commit 25cd13277bc627b4fccecb342d11c2cc1c752c8e -Author: Jean-Pierre Giraud -Date: Fri Aug 15 10:32:33 2014 +0200 - - Update French translation of manual pages - - debian/changelog | 3 + - man/po/fr.po | 3834 +++++++++++++++++++++--------------------------------- - 2 files changed, 1468 insertions(+), 2369 deletions(-) - -commit 4b72b02378c9a2d032123c9274494046c926d9b4 -Author: Miroslav Kure -Date: Fri Aug 15 11:30:25 2014 +0200 - - Czech dpkg/dselect translation update - - debian/changelog | 3 +- - dselect/po/cs.po | 46 +---- - po/cs.po | 621 +++++++++++++++++-------------------------------------- - 3 files changed, 201 insertions(+), 469 deletions(-) - -commit ecd5e8e7790e4c3ca7bb1b60fdc511733444d0bc -Author: Guillem Jover -Date: Fri Aug 15 04:38:34 2014 +0200 - - Bump version to 1.17.13 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 5fb7e7e63bf5f5fd323138d281f2ed5e1a83c0dd (tag: 1.17.12) -Author: Guillem Jover -Date: Fri Aug 15 03:30:46 2014 +0200 - - Release 1.17.12 - - debian/changelog | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit c707a59f4d003a9c4e6498ab5c8e9ffd4b0e6d21 -Author: Guillem Jover -Date: Fri Aug 15 03:59:49 2014 +0200 - - Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 212 +++++++++++++++++--------------- - dselect/po/ca.po | 244 ++++++++++++++++++++++--------------- - dselect/po/cs.po | 244 ++++++++++++++++++++++--------------- - dselect/po/da.po | 244 ++++++++++++++++++++++--------------- - dselect/po/de.po | 250 +++++++++++++++++++++---------------- - dselect/po/dselect.pot | 210 +++++++++++++++++--------------- - dselect/po/el.po | 212 +++++++++++++++++--------------- - dselect/po/es.po | 246 ++++++++++++++++++++++--------------- - dselect/po/et.po | 263 ++++++++++++++++++++++++--------------- - dselect/po/eu.po | 244 ++++++++++++++++++++++--------------- - dselect/po/fr.po | 244 ++++++++++++++++++++++--------------- - dselect/po/gl.po | 244 ++++++++++++++++++++++--------------- - dselect/po/hu.po | 212 +++++++++++++++++--------------- - dselect/po/id.po | 212 +++++++++++++++++--------------- - dselect/po/it.po | 212 +++++++++++++++++--------------- - dselect/po/ja.po | 244 ++++++++++++++++++++++--------------- - dselect/po/ko.po | 244 ++++++++++++++++++++++--------------- - dselect/po/nb.po | 244 ++++++++++++++++++++++--------------- - dselect/po/nl.po | 244 ++++++++++++++++++++++--------------- - dselect/po/nn.po | 212 +++++++++++++++++--------------- - dselect/po/pl.po | 244 ++++++++++++++++++++++--------------- - dselect/po/pt.po | 244 ++++++++++++++++++++++--------------- - dselect/po/pt_BR.po | 244 ++++++++++++++++++++++--------------- - dselect/po/ro.po | 244 ++++++++++++++++++++++--------------- - dselect/po/ru.po | 244 ++++++++++++++++++++++--------------- - dselect/po/sk.po | 244 ++++++++++++++++++++++--------------- - dselect/po/sv.po | 244 ++++++++++++++++++++++--------------- - dselect/po/tl.po | 212 +++++++++++++++++--------------- - dselect/po/vi.po | 212 +++++++++++++++++--------------- - dselect/po/zh_CN.po | 212 +++++++++++++++++--------------- - dselect/po/zh_TW.po | 244 ++++++++++++++++++++++--------------- - man/po/de.po | 318 ++++++++++++++++++++++++++++++++---------------- - man/po/dpkg-man.pot | 212 ++++++++++++++++++++++---------- - man/po/es.po | 280 +++++++++++++++++++++++++++++------------- - man/po/fr.po | 280 +++++++++++++++++++++++++++++------------- - man/po/hu.po | 220 +++++++++++++++++++++++---------- - man/po/it.po | 282 +++++++++++++++++++++++++++++------------- - man/po/ja.po | 280 +++++++++++++++++++++++++++++------------- - man/po/pl.po | 280 +++++++++++++++++++++++++++++------------- - man/po/pt_BR.po | 219 +++++++++++++++++++++++---------- - man/po/ru.po | 221 +++++++++++++++++++++++---------- - man/po/sv.po | 280 +++++++++++++++++++++++++++++------------- - po/ast.po | 2 +- - po/bs.po | 2 +- - po/ca.po | 2 +- - po/cs.po | 2 +- - po/da.po | 2 +- - po/de.po | 2 +- - po/dpkg.pot | 4 +- - po/dz.po | 2 +- - po/el.po | 2 +- - po/eo.po | 2 +- - po/es.po | 2 +- - po/et.po | 2 +- - po/eu.po | 2 +- - po/fr.po | 2 +- - po/gl.po | 2 +- - po/hu.po | 2 +- - po/id.po | 2 +- - po/it.po | 2 +- - po/ja.po | 2 +- - po/km.po | 2 +- - po/ko.po | 2 +- - po/ku.po | 2 +- - po/lt.po | 2 +- - po/mr.po | 2 +- - po/nb.po | 2 +- - po/ne.po | 2 +- - po/nl.po | 2 +- - po/nn.po | 2 +- - po/pa.po | 2 +- - po/pl.po | 2 +- - po/pt.po | 2 +- - po/pt_BR.po | 2 +- - po/ro.po | 2 +- - po/ru.po | 2 +- - po/sk.po | 2 +- - po/sv.po | 2 +- - po/th.po | 2 +- - po/tl.po | 2 +- - po/vi.po | 2 +- - po/zh_CN.po | 2 +- - po/zh_TW.po | 2 +- - scripts/po/ca.po | 142 +++++++++++---------- - scripts/po/de.po | 150 +++++++++++------------ - scripts/po/dpkg-dev.pot | 144 +++++++++++----------- - scripts/po/es.po | 142 +++++++++++---------- - scripts/po/fr.po | 142 +++++++++++---------- - scripts/po/pl.po | 142 +++++++++++---------- - scripts/po/ru.po | 142 +++++++++++---------- - scripts/po/sv.po | 142 +++++++++++---------- - 91 files changed, 6772 insertions(+), 4599 deletions(-) - -commit ee66f6753c34b573432d07af4caeaa9b9e180466 -Author: Guillem Jover -Date: Fri Aug 15 02:32:39 2014 +0200 - - scripts: Allow specifying the same build type option multiple times - - For backwards compatibility allow the same exact option, as it seems - such invocations are found in the wild in scripts and similar. - - Closes: #757795 - - debian/changelog | 3 +++ - scripts/dpkg-buildpackage.pl | 2 +- - scripts/dpkg-genchanges.pl | 2 +- - 3 files changed, 5 insertions(+), 2 deletions(-) - -commit 010bac3aaa682ee61afd25f430ed803f1f423f24 -Author: Guillem Jover -Date: Fri Aug 15 02:32:15 2014 +0200 - - scripts: Refactor build type setting into a new set_build_type function - - scripts/dpkg-buildpackage.pl | 37 ++++++++++++++++--------------------- - scripts/dpkg-genchanges.pl | 33 +++++++++++++++------------------ - 2 files changed, 31 insertions(+), 39 deletions(-) - -commit b572af443f15c6578fbfa3ad049d5d8c231bdf5b -Author: Guillem Jover -Date: Wed Aug 13 09:36:19 2014 +0200 - - scripts: Use length instead of defined when checking environment variables - - In these cases we are not interested if the variables are defined, but - if they have actual content. - - debian/changelog | 2 ++ - scripts/Dpkg/BuildFlags.pm | 4 ++-- - scripts/Dpkg/Source/Package.pm | 2 +- - scripts/Dpkg/Vendor/Ubuntu.pm | 2 +- - scripts/dpkg-architecture.pl | 2 +- - 5 files changed, 7 insertions(+), 5 deletions(-) - -commit 3f0c739bff65e6167cc91626fa77145247560fda -Author: Jan Blunck -Date: Wed Aug 13 18:02:48 2014 +0200 - - Dpkg::Source::Archive: Use tar --format=gnu when creating archives - - Explicitly instruct Dpkg::Source::Archive to use the gnu format when - creating archives. Some versions of tar (specifically on openSUSE >= 12.2) - have a different default tar format. This change makes the archive - creation more consistent. - - Signed-off-by: Jan Blunck - Signed-off-by: Guillem Jover - - debian/changelog | 3 +++ - scripts/Dpkg/Source/Archive.pm | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 8394f02bd4feac7bcb3607fcc25beb879031c5bc -Author: Guillem Jover -Date: Sun Aug 10 20:29:47 2014 +0200 - - Dpkg::Vendor::Debian: Refactor common compiler flags into intermediate variables - - scripts/Dpkg/Vendor/Debian.pm | 39 +++++++++++++++++++++------------------ - 1 file changed, 21 insertions(+), 18 deletions(-) - -commit f20bb6d7403d85da1994f5cec74af937ef535b80 -Author: Guillem Jover -Date: Mon Aug 11 20:40:10 2014 +0200 - - s-s-d: Remove wasteful strlen() comparison before strcmp() - - utils/start-stop-daemon.c | 2 -- - 1 file changed, 2 deletions(-) - -commit d3d2ba1dd39ae02c92efafd4d4541d33665e48fb -Author: Guillem Jover -Date: Wed Aug 13 09:34:41 2014 +0200 - - libdpkg: Set close-on-exec for the debug output - - This fixes a file descriptor leak on dselect subprocesses. - - debian/changelog | 1 + - dselect/main.cc | 2 +- - lib/dpkg/debug.c | 6 +++++- - lib/dpkg/debug.h | 2 +- - 4 files changed, 8 insertions(+), 3 deletions(-) - -commit 76650b3c3ed1245db69073cdafdf1c35c8aa2eac -Author: Guillem Jover -Date: Wed Aug 13 09:32:44 2014 +0200 - - libdpkg: Set the appropriate report buffer for the debug output - - Do so centrally in the debug_set_output() function instead of on the - call sites. - - dselect/main.cc | 1 - - lib/dpkg/debug.c | 2 ++ - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit b13e29d6875a316be2139875eea4d35b3790849e -Author: Guillem Jover -Date: Mon Aug 11 15:59:41 2014 +0200 - - dselect: Add new architecture columns to package list view - - The new columns, shown by default, can be turned off with the new ‘A’ - key, or bound to another key via the new “archdisplay” keybinding. - - debian/changelog | 3 +++ - dselect/helpmsgs.cc | 2 +- - dselect/pkgcmds.cc | 25 +++++++++++++++++++++++++ - dselect/pkgdisplay.cc | 17 +++++++++++++++++ - dselect/pkgkeys.cc | 2 ++ - dselect/pkglist.cc | 2 ++ - dselect/pkglist.h | 4 ++++ - dselect/pkgtop.cc | 18 ++++++++++++++++++ - man/dselect.1 | 19 +++++++++++-------- - 9 files changed, 83 insertions(+), 9 deletions(-) - -commit ced655387fa38215c61d3df5478cd4228c04b92a -Author: Guillem Jover -Date: Tue Mar 20 09:39:42 2012 +0100 - - dselect: Rework columns code - - Add a new struct to hold each column data, and helper functions to - handle it, so that we can easily add new columns w/o needing to have - to manually track the current and previous column width and similar. - - debian/changelog | 1 + - dselect/baselist.cc | 40 +++++++++++++++++ - dselect/dselect.h | 16 +++++++ - dselect/methlist.cc | 23 +++++----- - dselect/method.h | 5 ++- - dselect/pkgdisplay.cc | 53 +++++++++------------- - dselect/pkglist.h | 16 ++++--- - dselect/pkgtop.cc | 122 ++++++++++++++++++++++++-------------------------- - 8 files changed, 161 insertions(+), 115 deletions(-) - -commit 271d88e37cfd30147157acd79bcbc9d5f51ecfe7 -Author: Guillem Jover -Date: Sun Aug 10 20:29:10 2014 +0200 - - dselect(1): Fix formatting of last paragraphs inside --color description - - debian/changelog | 1 + - man/dselect.1 | 4 ++-- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit 7c446c5df19cd8ab41563154014a2a96b203662a -Author: Guillem Jover -Date: Sun Aug 10 20:28:22 2014 +0200 - - dpkg-query(1): Describe virtual fields - - Add short description to each virtual field, and mention the version - they got introduced in dpkg. - - debian/changelog | 3 +++ - man/dpkg-query.1 | 46 ++++++++++++++++++++++++++++++++++------------ - 2 files changed, 37 insertions(+), 12 deletions(-) - -commit 464ebf59ed3b91684e01255c4070f3eb7ea63af9 -Author: Guillem Jover -Date: Sun Aug 10 03:37:06 2014 +0200 - - libcompat: Only build the compatibility selinux code if requested - - If we are not using libselinux, then we cannot build the selinux - compatibility code as it requires the library. Also fixes build failures - on non-Linux systems, where the library is not available. - - Closes: #757637 - - debian/changelog | 5 +++++ - lib/compat/Makefile.am | 7 ++++++- - m4/dpkg-libs.m4 | 5 +++-- - 3 files changed, 14 insertions(+), 3 deletions(-) - -commit 1878855c4a3eaa5a544c81e24b5a990d6139ff7b -Author: Helge Kreutzmann -Date: Sun Aug 10 17:59:01 2014 +0200 - - Update German translation of manual pages - - Update to 2268t. - - debian/changelog | 3 ++ - man/po/de.po | 150 +++++++++++++++---------------------------------------- - 2 files changed, 43 insertions(+), 110 deletions(-) - -commit f5570454c6ce871085eadc9a211ec15518fb7922 -Author: Helge Kreutzmann -Date: Sun Aug 10 17:18:31 2014 +0200 - - Update German scripts translation - - Update to 545t. - - debian/changelog | 3 + - scripts/po/de.po | 208 ++++++++++++------------------------------------------- - 2 files changed, 47 insertions(+), 164 deletions(-) - -commit 37eac9a01af064feb6b26b2b04dcdace8530ae02 -Author: Sven Joachim -Date: Sun Aug 10 08:28:33 2014 +0200 - - German dpkg translation update - - Update to 1085t3u. - - debian/changelog | 3 ++- - po/de.po | 29 ++++++++++------------------- - 2 files changed, 12 insertions(+), 20 deletions(-) - -commit 619e91702c720cc1b1254570e17f1a02b113535c -Author: Guillem Jover -Date: Sun Aug 10 03:02:09 2014 +0200 - - Bump version to 1.17.12 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 23b8f2a3e2650b78c4448ba437afb20f04850674 (tag: 1.17.11) -Author: Guillem Jover -Date: Sat Aug 9 17:16:36 2014 +0200 - - Release 1.17.11 - - debian/changelog | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 208a117a76c736daf7bcadee8a60e8cefa9b5202 -Author: Guillem Jover -Date: Sat Aug 9 17:15:47 2014 +0200 - - Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 12 +- - dselect/po/ca.po | 12 +- - dselect/po/cs.po | 12 +- - dselect/po/da.po | 12 +- - dselect/po/de.po | 12 +- - dselect/po/dselect.pot | 14 +- - dselect/po/el.po | 12 +- - dselect/po/es.po | 12 +- - dselect/po/et.po | 12 +- - dselect/po/eu.po | 12 +- - dselect/po/fr.po | 12 +- - dselect/po/gl.po | 12 +- - dselect/po/hu.po | 12 +- - dselect/po/id.po | 12 +- - dselect/po/it.po | 12 +- - dselect/po/ja.po | 12 +- - dselect/po/ko.po | 12 +- - dselect/po/nb.po | 12 +- - dselect/po/nl.po | 12 +- - dselect/po/nn.po | 12 +- - dselect/po/pl.po | 12 +- - dselect/po/pt.po | 12 +- - dselect/po/pt_BR.po | 12 +- - dselect/po/ro.po | 12 +- - dselect/po/ru.po | 12 +- - dselect/po/sk.po | 12 +- - dselect/po/sv.po | 12 +- - dselect/po/tl.po | 12 +- - dselect/po/vi.po | 12 +- - dselect/po/zh_CN.po | 12 +- - dselect/po/zh_TW.po | 12 +- - man/po/de.po | 993 +++++++++++++++++------------- - man/po/dpkg-man.pot | 889 ++++++++++++++------------- - man/po/es.po | 947 ++++++++++++++++------------- - man/po/fr.po | 946 ++++++++++++++++------------- - man/po/hu.po | 899 +++++++++++++++------------- - man/po/it.po | 948 ++++++++++++++++------------- - man/po/ja.po | 945 ++++++++++++++++------------- - man/po/pl.po | 947 ++++++++++++++++------------- - man/po/pt_BR.po | 899 +++++++++++++++------------- - man/po/ru.po | 899 +++++++++++++++------------- - man/po/sv.po | 1084 +++++++++++++++++++-------------- - po/ast.po | 498 +++++++-------- - po/bs.po | 475 ++++++++------- - po/ca.po | 500 ++++++++-------- - po/cs.po | 500 ++++++++-------- - po/da.po | 512 ++++++++-------- - po/de.po | 500 ++++++++-------- - po/dpkg.pot | 477 ++++++++------- - po/dz.po | 496 +++++++-------- - po/el.po | 496 +++++++-------- - po/eo.po | 500 ++++++++-------- - po/es.po | 500 ++++++++-------- - po/et.po | 494 ++++++++------- - po/eu.po | 497 +++++++-------- - po/fr.po | 607 +++++++++---------- - po/gl.po | 496 +++++++-------- - po/hu.po | 496 +++++++-------- - po/id.po | 497 +++++++-------- - po/it.po | 500 ++++++++-------- - po/ja.po | 500 ++++++++-------- - po/km.po | 496 +++++++-------- - po/ko.po | 497 +++++++-------- - po/ku.po | 480 ++++++++------- - po/lt.po | 496 +++++++-------- - po/mr.po | 496 +++++++-------- - po/nb.po | 497 +++++++-------- - po/ne.po | 496 +++++++-------- - po/nl.po | 496 +++++++-------- - po/nn.po | 495 +++++++-------- - po/pa.po | 484 +++++++-------- - po/pl.po | 500 ++++++++-------- - po/pt.po | 1531 +++++++++++++++++++++-------------------------- - po/pt_BR.po | 496 +++++++-------- - po/ro.po | 497 +++++++-------- - po/ru.po | 502 ++++++++-------- - po/sk.po | 500 ++++++++-------- - po/sv.po | 504 ++++++++-------- - po/th.po | 500 ++++++++-------- - po/tl.po | 495 +++++++-------- - po/vi.po | 500 ++++++++-------- - po/zh_CN.po | 497 +++++++-------- - po/zh_TW.po | 500 ++++++++-------- - scripts/po/ca.po | 647 ++++++++++---------- - scripts/po/de.po | 793 ++++++++++++++---------- - scripts/po/dpkg-dev.pot | 635 ++++++++++---------- - scripts/po/es.po | 731 ++++++++++++---------- - scripts/po/fr.po | 795 ++++++++++++++---------- - scripts/po/pl.po | 729 ++++++++++++---------- - scripts/po/ru.po | 731 ++++++++++++---------- - scripts/po/sv.po | 789 ++++++++++++++---------- - 91 files changed, 20077 insertions(+), 18039 deletions(-) - -commit d6838f2dca3da5a9eb8615002a1e7fef7766b81b -Author: Guillem Jover -Date: Thu Aug 7 01:17:50 2014 +0200 - - dpkg: Fix --add-architecture and --remove-architecture to take one argument - - These commands take exactly one argument, check that and error out. - - Closes: #757254 - - debian/changelog | 2 ++ - src/main.c | 8 ++++---- - 2 files changed, 6 insertions(+), 4 deletions(-) - -commit e161b733cf23716f35328afcd6f0ac23dc4f8e03 -Author: Guillem Jover -Date: Tue Aug 5 12:42:04 2014 +0200 - - scripts: Add -g and -G options for source plus arch-indep/specific builds - - These were the last two combinations missing, just add them to let the - user have full control over the build ouput. - - Closes: #756975 - - debian/changelog | 2 ++ - man/dpkg-buildpackage.1 | 16 +++++++++++++--- - scripts/dpkg-buildpackage.pl | 20 +++++++++++++++++++- - scripts/dpkg-genchanges.pl | 20 ++++++++++++++++++-- - 4 files changed, 52 insertions(+), 6 deletions(-) - -commit 0a0d2970536741905e4a6197cd4450dac0a1188a -Author: Guillem Jover -Date: Tue Aug 5 12:42:04 2014 +0200 - - dpkg-genchanges: Correctly filter host arch from the Architecture field - - We should also filter the host arch in the same way we filter the all - arch when the build type excludes these packages, otherwise we get - incongruent .changes files. - - debian/changelog | 4 ++++ - scripts/dpkg-genchanges.pl | 2 ++ - 2 files changed, 6 insertions(+) - -commit c781f4c98830e7254a634cd11ab83eb53db12733 -Author: Guillem Jover -Date: Fri Aug 8 12:12:51 2014 +0200 - - scripts: Only allow one build type option - - For dpkg-genchanges and dpkg-buildpackage, specifying more than one - build type option seems rather confusing, as depending on the - combination it can either fail, or make the last option win. And it - will get even more confusing when adding the remaining options to - cover all build type combinations. Just be consistent about this - and fail hard when specifying conflicting build types. - - debian/changelog | 1 + - scripts/dpkg-buildpackage.pl | 14 +++++++------- - scripts/dpkg-genchanges.pl | 9 +++++---- - 3 files changed, 13 insertions(+), 11 deletions(-) - -commit eb0b88adf42e02e1a05261a116dd9e9860282039 -Author: Guillem Jover -Date: Mon Aug 4 18:19:07 2014 +0200 - - dpkg-buildpackage: Move checkbuilddeps and target settings out of the options loop - - scripts/dpkg-buildpackage.pl | 27 +++++++++++++++------------ - 1 file changed, 15 insertions(+), 12 deletions(-) - -commit 175ca02107648317dfd1439bee7a633c182ce2ca -Author: Guillem Jover -Date: Tue Jan 14 19:35:10 2014 +0100 - - scripts: Unify build options description in --help output - - debian/changelog | 2 ++ - scripts/dpkg-buildpackage.pl | 10 +++++----- - scripts/dpkg-genchanges.pl | 12 ++++++------ - 3 files changed, 13 insertions(+), 11 deletions(-) - -commit acc2f23ea5a1c04c72a5e9dfc71831110f720471 -Author: Guillem Jover -Date: Tue Dec 17 05:39:15 2013 +0100 - - dpkg-genchanges: Only print build type once - - If -B or -A are specified multiple times, there will be multiple - confusing messages stating what will supposedly be including, one - for each option appearence. Just merge the messages with the other - build type description. While at it, reword the binary-only upload - message to be consistent with the new merged ones. - - debian/changelog | 3 +++ - scripts/dpkg-genchanges.pl | 10 +++++++--- - 2 files changed, 10 insertions(+), 3 deletions(-) - -commit 801e49c9081db764215f3821cbc791912dc131e1 -Author: Guillem Jover -Date: Tue Aug 5 10:45:19 2014 +0200 - - dpkg-gencontrol: Emit a warning when using the deprecated -is/-ip options - - Let users know these are without effect. - - debian/changelog | 2 ++ - scripts/dpkg-gencontrol.pl | 4 ++-- - 2 files changed, 4 insertions(+), 2 deletions(-) - -commit b15f3541b36feed5efe864e7e39a429bb21dee71 -Author: Guillem Jover -Date: Tue Aug 5 10:16:00 2014 +0200 - - dpkg-buildpackage: Ignore DEB_CHECK_COMMAND if the command is not found - - This is an environment setting, that might percolate to chroots and - similar, so it is not wise to fail hard in case the command is not - found, contrary to when it is passed on the command line. Just ignore - the setting in that case. - - debian/changelog | 1 + - scripts/dpkg-buildpackage.pl | 2 ++ - 2 files changed, 3 insertions(+) - -commit 0c8a23acb4332026eb4c043651906eada2f7ce2b -Author: Guillem Jover -Date: Tue Aug 5 10:06:50 2014 +0200 - - Dpkg::Path: Change find_command() to handle an empty or undef argument - - This makes some call sites more natural. - - debian/changelog | 1 + - scripts/Dpkg/Path.pm | 11 ++++++++--- - scripts/Dpkg/Source/Package/V2.pm | 2 +- - 3 files changed, 10 insertions(+), 4 deletions(-) - -commit 95103016f248a4d81ca0b410768313c0e1f1871f -Author: Guillem Jover -Date: Thu Jul 31 14:35:06 2014 +0200 - - Dpkg::Source::Archive: Delete the current compressor SIGPIPE disposition - - With some archives, the tar process will terminate prematurely if it - finds trailing zeros, but the compressor will try to keep feeding it - with data, although the other end of the pipe will now be gone. We - handle this already by ignoring processes terminated by SIGPIPE, but - if the process is ignoring SIGPIPE it might get terminated due to the - error from the write(2) call, which we are not handling. Reset the - SIGPIPE disposition to its default setting. - - Closes: #756526 - - debian/changelog | 2 ++ - scripts/Dpkg/Source/Archive.pm | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 379a071c368b3aaef914a8bb1478fdf511ed7370 -Author: Guillem Jover -Date: Thu Jul 31 14:34:00 2014 +0200 - - Dpkg::Compression::FileHandle: Add %opts to ensure_open() member - - This options will be passed down the the (un)compressor spawn()'s - call. - - debian/changelog | 1 + - scripts/Dpkg/Compression/FileHandle.pm | 33 +++++++++++++++++++++++---------- - 2 files changed, 24 insertions(+), 10 deletions(-) - -commit 747ec69e691cd7adeac3f573c348834042e82ee0 -Author: Guillem Jover -Date: Thu Jul 31 13:50:04 2014 +0200 - - Dpkg::IPC: Add support for sig and delete_sig spawn() options - - debian/changelog | 1 + - scripts/Dpkg/IPC.pm | 36 +++++++++++++++++++++++++++++++++++- - 2 files changed, 36 insertions(+), 1 deletion(-) - -commit 7104dc16110603687b85c6e2b9a0170b17caab8c -Author: Sylvestre Ledru -Date: Mon Jul 28 05:33:22 2014 +0200 - - dpkg-shlibdeps: Add a hint to the error on no dependency information found - - Suggest in the output to check if the library is actually packaged. - - [guillem@debian.org: - - Line-wrap to 80 columns. - - Slight rewording. ] - - Closes: #756230 - - Signed-off-by: Guillem Jover - - debian/changelog | 3 +++ - scripts/dpkg-shlibdeps.pl | 4 +++- - 2 files changed, 6 insertions(+), 1 deletion(-) - -commit 43c945efdf244e9124d916e3a4e028a557ed8e3c -Author: Guillem Jover -Date: Mon Jul 28 02:54:26 2014 +0200 - - Dpkg::Control::HashCore: Say OpenPGP instead of PGP in comments and errors - - When we meant the standard (and not the tool) we should have been saying - OpenPGP. - - debian/changelog | 2 ++ - scripts/Dpkg/Control/HashCore.pm | 16 ++++++++-------- - 2 files changed, 10 insertions(+), 8 deletions(-) - -commit 53ab15cf80df8727026cee31cb8dc7899f2488e8 -Author: Guillem Jover -Date: Mon Jul 28 05:26:05 2014 +0200 - - scripts: Use // instead of || where appropriate - - Replace only safe usages, i.e. those that fallback on initialization - values that evaluate to false anyway. Or when the API is explicit about - the variable being undefined. - - scripts/Dpkg/Arch.pm | 2 +- - scripts/Dpkg/Changelog.pm | 22 +++++++++++----------- - scripts/Dpkg/Changelog/Entry.pm | 2 +- - scripts/Dpkg/Compression/FileHandle.pm | 2 +- - scripts/Dpkg/Deps.pm | 4 ++-- - scripts/Dpkg/Package.pm | 2 +- - scripts/Dpkg/Shlibs/Objdump.pm | 2 +- - scripts/Dpkg/Shlibs/Symbol.pm | 4 ++-- - scripts/Dpkg/Source/Patch.pm | 4 ++-- - scripts/Dpkg/Vendor/Ubuntu.pm | 2 +- - scripts/dpkg-checkbuilddeps.pl | 2 +- - scripts/dpkg-genchanges.pl | 2 +- - 12 files changed, 25 insertions(+), 25 deletions(-) - -commit b0337f001bee1f3791cb87505b1330c9bf83e2be -Author: Guillem Jover -Date: Sun Jul 27 20:07:32 2014 +0200 - - scripts: Use //= instead of ||= when appropriate - - Replace only safe usages, i.e. those that fallback on initialization - values that evaluate to false anyway. Or when the API is explicit about - the variable being undefined. - - scripts/Dpkg/Compression/Process.pm | 2 +- - scripts/Dpkg/IPC.pm | 4 ++-- - scripts/Dpkg/Shlibs/Objdump.pm | 2 +- - scripts/Dpkg/Source/Archive.pm | 8 ++++---- - scripts/Dpkg/Source/Package.pm | 4 ++-- - scripts/Dpkg/Source/Package/V1.pm | 8 ++++---- - scripts/Dpkg/Source/Patch.pm | 10 +++++----- - scripts/Dpkg/Substvars.pm | 2 +- - scripts/changelog/debian.pl | 4 ++-- - scripts/dpkg-buildpackage.pl | 2 +- - scripts/dpkg-genchanges.pl | 2 +- - 11 files changed, 24 insertions(+), 24 deletions(-) - -commit 543ac69d2470e39f6b95a59b82fee116bc1b90d7 -Author: Guillem Jover -Date: Sun Jul 27 19:49:58 2014 +0200 - - scripts: Use //= instead of explicit defined or exists checks - - scripts/Dpkg/BuildOptions.pm | 2 +- - scripts/Dpkg/Changelog/Parse.pm | 4 +--- - scripts/Dpkg/Checksums.pm | 4 ++-- - scripts/Dpkg/Deps.pm | 26 ++++++++++++-------------- - scripts/Dpkg/Index.pm | 7 +++---- - scripts/Dpkg/Shlibs/Symbol.pm | 9 ++++----- - scripts/Dpkg/Shlibs/SymbolFile.pm | 10 ++++------ - scripts/Dpkg/Source/Package.pm | 14 +++++--------- - scripts/Dpkg/Source/Package/V2.pm | 30 ++++++++++-------------------- - scripts/Dpkg/Source/Package/V3/Quilt.pm | 6 ++---- - scripts/Dpkg/Source/Patch.pm | 12 ++++++------ - scripts/Dpkg/Substvars.pm | 6 +++--- - scripts/dpkg-shlibdeps.pl | 12 ++++-------- - 13 files changed, 57 insertions(+), 85 deletions(-) - -commit 0efb836c42e264dfe60cc1db9d605ef608be5524 -Author: Guillem Jover -Date: Sun Jul 27 19:18:30 2014 +0200 - - Dpkg::Substvars: Warn on usage of deprecated Source-Version substvar - - debian/changelog | 1 + - scripts/Dpkg/Substvars.pm | 8 +++++++- - 2 files changed, 8 insertions(+), 1 deletion(-) - -commit cdaa15c594f66b853649c70569610e5614080979 -Author: Guillem Jover -Date: Sun Jul 27 16:16:11 2014 +0200 - - scripts: Mark Format and Installed-Size as automatic substvars - - debian/changelog | 2 ++ - scripts/dpkg-genchanges.pl | 2 +- - scripts/dpkg-gencontrol.pl | 4 ++-- - 3 files changed, 5 insertions(+), 3 deletions(-) - -commit de546f66a7fe7f35fb87fb1abb66a98ff4487ae9 -Author: Guillem Jover -Date: Sun Jul 27 16:11:28 2014 +0200 - - Dpkg::Substvars: Add automatic variable tracking - - This makes the code more clear and does not require to explicitly list - the variables on output. - - debian/changelog | 2 ++ - scripts/Dpkg/Control/HashCore.pm | 2 +- - scripts/Dpkg/Substvars.pm | 28 +++++++++++++++++++++++----- - 3 files changed, 26 insertions(+), 6 deletions(-) - -commit b1737a26c9a33f1bab3e886a66055fe7c30156ad -Author: Guillem Jover -Date: Sun Jul 27 15:28:34 2014 +0200 - - Dpkg::Substvars: Switch used tracking from a counter to a bitfield - - This will allow to easily add other variable attributes, and not have - to care about one hash per attribute per variable. - - scripts/Dpkg/Substvars.pm | 48 ++++++++++++++++++++++++++++++----------------- - 1 file changed, 31 insertions(+), 17 deletions(-) - -commit 1da1f62fb9fb4553d68e70745c435aaf158457bd -Author: Guillem Jover -Date: Sun Jul 27 15:52:50 2014 +0200 - - Dpkg::Substvars: Move upstream version computation into a temporary variable - - scripts/Dpkg/Substvars.pm | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 0b9d10267cc204f693633909edb8a128cded89aa -Author: Guillem Jover -Date: Sun Jul 27 15:26:41 2014 +0200 - - Dpkg::Substvars: Add missing trailing dot - - scripts/Dpkg/Substvars.pm | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 66bc1cdd7f2397c6982cb0079895f44a0ba006b4 -Author: Guillem Jover -Date: Mon Jul 21 02:00:09 2014 +0200 - - libdpkg: Remove unused pkglibdir variable from libdpkg.pc.in - - The replaceable string @pkglibdir@ has possibly never been instantiated - from configure, but as the variable is unused, let's just remove it. - - Warned-by: lintian - - debian/changelog | 1 + - lib/dpkg/libdpkg.pc.in | 1 - - 2 files changed, 1 insertion(+), 1 deletion(-) - -commit 7386defdaebf4746dc074a118bf7430cecf7a57f -Author: Guillem Jover -Date: Fri Aug 8 20:52:10 2014 +0200 - - Update i386 architecture GNU cpu regex in cputable to match i786 too - - cputable | 2 +- - debian/changelog | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 4b9c267a21500b3d2f7bafe7d2af6100ffa8d2a9 -Author: Guillem Jover -Date: Fri Aug 8 20:20:40 2014 +0200 - - Bump the i386 architecture GNU triplet to i586-linux-gnu - - This matches the change in gcc. Somewhat reluctantly, as i386 wants to - be its unique snowflake and use a GNU triplet not matching its baseline. - This will cause problems when cross-building and using unmatched - combinations of dpkg-dev and gcc. - - Closes: #751363 - - cputable | 2 +- - debian/changelog | 5 +++++ - debian/rules | 2 +- - 3 files changed, 7 insertions(+), 2 deletions(-) - -commit fd8934117860821c3a5ddb11c51eb86b25ad97c0 -Author: Jae Junh -Date: Mon Jul 21 00:55:40 2014 +0200 - - Add powerpcel support to cputable - - Signed-off-by: Guillem Jover - - cputable | 1 + - debian/changelog | 1 + - 2 files changed, 2 insertions(+) - -commit 65ad0315beecce0c76b8fc6316ceb969b1ab9179 -Author: Guillem Jover -Date: Mon Jul 21 00:47:15 2014 +0200 - - dpkg-source: Print the correct removed binary filename with --include-removal - - When removing a binary file and using --include-removal, we get a bogus - error message about including a pathname relative to /dev/null in - debian/source/include-binaries. - - Closes: #755166 - - debian/changelog | 2 ++ - scripts/Dpkg/Source/Package/V2.pm | 15 ++++++++------- - scripts/Dpkg/Source/Patch.pm | 28 +++++++++++++++------------- - 3 files changed, 25 insertions(+), 20 deletions(-) - -commit 87b0b20b86407baf1deb4e91b3fd839e01228ac8 -Author: Guillem Jover -Date: Tue Jul 15 21:00:52 2014 +0200 - - dpkg: Try to preallocate the disk size for extracted files - - This might help in avoiding filesystem fragmentation, and possibly - improve performance on some filesystems. - - We use the system specific methods if available, and only use - posix_fallocate() if nothing else is available, because on some systems - its semantics are counter to what we want to obtain here, as the libc - library will fallback to manually writing '\0' to each block to force - the preallocation, instead of just failing and leaving the application - to do so if desired. - - configure.ac | 5 +++- - debian/changelog | 3 +++ - lib/dpkg/fdio.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - lib/dpkg/fdio.h | 3 +++ - lib/dpkg/libdpkg.map | 1 + - src/archives.c | 5 ++++ - 6 files changed, 91 insertions(+), 1 deletion(-) - -commit 101e5beaf233e3df0eef71a88e005d79633b19bf -Author: Guillem Jover -Date: Sat Jul 12 14:12:10 2014 +0200 - - Dpkg::Source::Quilt: Clarify error message when patches fail to apply - - There are other reasons besides patches with no fuzz, mention that the - patch could be malformed too, to make the error message less confusing. - - debian/changelog | 3 +++ - scripts/Dpkg/Source/Quilt.pm | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit b047237d3bf1519541de2043ab7bd01e1cad7121 -Author: Guillem Jover -Date: Sat Jul 12 03:36:32 2014 +0200 - - dpkg-source: Add --format an --ignore-bad-version to --help output - - debian/changelog | 1 + - scripts/dpkg-source.pl | 4 +++- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit f2b5b096ca0bd8bde4ffff60800ad1e8d69ec71d -Author: Guillem Jover -Date: Fri Jul 11 13:41:12 2014 +0200 - - dpkg-source(1): Mark the “and” between the filenames as regular format - - debian/changelog | 1 + - man/dpkg-source.1 | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit f5cf71edffe4a63c54ef4fc4eddd924382229c5d -Author: Guillem Jover -Date: Sun Aug 3 21:33:34 2014 +0200 - - dpkg-buildpackage(1): Improve man page - - Mark DEB_CHECK_COMMAND as bold. Add final item for done hook in the - actions sequence. Mention that -nc does not apply either when -F is - specified. Mention that the --FOO-option options can be used multiple - times. Fix a typo in the BUGS section. - - debian/changelog | 6 ++++++ - man/dpkg-buildpackage.1 | 11 ++++++++--- - 2 files changed, 14 insertions(+), 3 deletions(-) - -commit 07a39b75cc81bacee9f011b0c628821226ae262c -Author: Guillem Jover -Date: Fri Aug 8 21:41:15 2014 +0200 - - dpkg(1): Move the explanation of functional checks to the --verify command - - It makes more sense to have it in the --verify command description than - on the --verify-format one. - - Closes: #747264 - - debian/changelog | 2 ++ - man/dpkg.1 | 8 ++++++-- - 2 files changed, 8 insertions(+), 2 deletions(-) - -commit 30b1fef6064ac64584ff2701965f5118d0fd3be0 -Author: Guillem Jover -Date: Fri Jul 11 13:39:06 2014 +0200 - - dpkg-scanpackages: Spell nocheck option in wait_child() correctly - - Spotted-by: James McCoy (in devscripts) - - debian/changelog | 2 ++ - scripts/dpkg-scanpackages.pl | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit db3c4abdd24fe4c444c575f0b412ae2bbd013c1d -Author: Guillem Jover -Date: Sat Jul 5 20:54:21 2014 +0200 - - dpkg-source: Automatically add the Testsuite field - - This is a comma-separated field. The only currently known value for the - field is autopkgtest, which requires the debian/tests/control file to - be present, even if empty, otherwise it is a deb822-style file. - - Existing and unknown values will be preserved, and autopkgtest will be - appended. If the autopkgtest value is present but there is no - debian/tests/control file, then the value will be removed and a warning - emitted. - - debian/changelog | 1 + - scripts/dpkg-source.pl | 19 +++++++++++++++++++ - 2 files changed, 20 insertions(+) - -commit ec3bd7eac1f0170fa279ef7ee9297018e7bcb5a8 -Author: Guillem Jover -Date: Sat Jul 5 19:27:58 2014 +0200 - - Dpkg::Vendor::Debian: Split feature area option parsing into a function - - scripts/Dpkg/Vendor/Debian.pm | 45 +++++++++++++++++++++++++------------------ - 1 file changed, 26 insertions(+), 19 deletions(-) - -commit 1592301d59f92164c8e45871ee9c34f27dab1eca -Author: Guillem Jover -Date: Tue Jul 1 17:19:32 2014 +0200 - - Dpkg::Source::Patch: Add comment about ignoring the Index: pseudo-header - - scripts/Dpkg/Source/Patch.pm | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 8aecb71520112b8e3ce168b1addc84a95bbc4ce5 -Author: Guillem Jover -Date: Tue Jul 1 03:57:44 2014 +0200 - - libdpkg: Add db:Status-Want, db:Status-Status and db:Status-Eflag fields - - These are virtual fields for the database Status field, which will allow - easier access to the specific status values. - - debian/changelog | 2 ++ - lib/dpkg/pkg-format.c | 36 ++++++++++++++++++++++++++++++++++++ - man/dpkg-query.1 | 3 +++ - 3 files changed, 41 insertions(+) - -commit 767d782ac8caa482182be6a319ab20bc935f0de6 -Author: Guillem Jover -Date: Tue Jul 1 03:56:55 2014 +0200 - - libdpkg: Use varbuf used member instead of strlen() over the buffer - - lib/dpkg/pkg-format.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 589602c7802ab927d7f3e4ed026601d9ca701012 -Author: Guillem Jover -Date: Tue Jul 1 03:55:37 2014 +0200 - - dpkg-deb: Use parsedb() instead of an ad-hoc deb822 parser - - This makes sure any field fixup and sanity check is performed on - the input, and gets reflected on the output. - - debian/changelog | 3 ++ - dpkg-deb/dpkg-deb.h | 1 - - dpkg-deb/info.c | 82 ++++++++++++++++++++--------------------------------- - 3 files changed, 33 insertions(+), 53 deletions(-) - -commit bdfc98f46c81b56b895e436e3652b553fa106ce9 -Author: Guillem Jover -Date: Tue Jul 1 02:40:11 2014 +0200 - - libdpkg: Add new varbuf_add_arbfield() - - lib/dpkg/dump.c | 18 ++++++++++++++---- - lib/dpkg/libdpkg.map | 1 + - lib/dpkg/parsedump.h | 4 ++++ - 3 files changed, 19 insertions(+), 4 deletions(-) - -commit 78c18f294df6956eac2bba8af31a26cfc1f24381 -Author: Guillem Jover -Date: Sun Jun 29 03:14:27 2014 +0200 - - libdpkg: Refactor field search functions - - lib/dpkg/dpkg-db.h | 6 ++++++ - lib/dpkg/parsehelp.c | 24 ++++++++++++++++++++++++ - lib/dpkg/pkg-format.c | 28 +++++++--------------------- - 3 files changed, 37 insertions(+), 21 deletions(-) - -commit f7e10180d3ead4f3187ab48557d8aee3bd85ea4a -Author: Guillem Jover -Date: Sat Jun 28 18:38:48 2014 +0200 - - dpkg-buildflags: Add support for new hardening flag stackprotectorstrong - - This flag is now part of the default set on Debian and derivatives, but - it will fallback to stackprotector when the former is not functional or - disabled by the user. - - Based-on-patch-by: Romain Francoise - - debian/changelog | 4 ++++ - man/dpkg-buildflags.1 | 18 ++++++++++++++++-- - scripts/Dpkg/Vendor/Debian.pm | 22 +++++++++++++++++++++- - 3 files changed, 41 insertions(+), 3 deletions(-) - -commit 67ef2fc226847c8e36a1c75d7b34df8c538480f7 -Author: Guillem Jover -Date: Fri Jun 20 01:10:06 2014 +0200 - - dpkg: On removal check Depends and Pre-Depends for unpacked packages - - Ignoring those dependencies for packages in unpacked and half-configured - states does not improve their progress towards an installed state, it - actually degrades it. - - debian/changelog | 2 ++ - src/remove.c | 4 +--- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 5bb02fe80e9f40dcad9703a72f67cf615ff217b5 -Author: Guillem Jover -Date: Thu Sep 13 21:34:43 2012 +0200 - - Add versioned Provides support - - - Add a new dpkg --assert-versioned-provides command. - - Packages can provide a specific version, “virtual (= 1.0)” which will - be honored, previously it would just be accepted when parsing. - - Non-versioned virtual packages will not satisfy versioned dependencies. - - Versioned virtual packages will satisfy non-versioned dependencies. - - This commit is very slightly based on the code reverted in commit - 7df7d53a57b9913f4a20b2c9dcd554a2d88ff9f3, which was mostly skeletal. - - Closes: #7330, #24934, #112131, #134582, #180316 - - Based-on-patch-by: Ben Collins - - debian/changelog | 8 +++++ - dselect/pkgdepcon.cc | 9 ++--- - dselect/pkgsublist.cc | 6 ++-- - lib/dpkg/depcon.c | 40 +++++++++++++++++++++ - lib/dpkg/dpkg-db.h | 4 +++ - src/depcon.c | 15 ++++---- - src/enquiry.c | 12 +++++-- - src/main.c | 3 +- - src/main.h | 2 ++ - src/packages.c | 97 ++++++++++++++++++++++++++++++++------------------- - 10 files changed, 145 insertions(+), 51 deletions(-) - -commit 840d33bf1de3c65a54f87658b24be7f3e338b14c -Author: Guillem Jover -Date: Thu Jun 19 11:28:12 2014 +0200 - - dpkg: Do not write to the available file when unpacking binary packages - - This information is not useful as dpkg has never recorded the archive - path, so it has never been truly available for re-installation anyway. - - Only write to it if recording the information from the binary package - to the available file via --record-avail. - - debian/changelog | 3 +++ - src/archives.c | 16 +++++++++++----- - 2 files changed, 14 insertions(+), 5 deletions(-) - -commit e4d6db177fad401ddc8432cf0e2c64e4fcf7bc0d -Author: Guillem Jover -Date: Thu Aug 12 03:26:05 2010 +0200 - - dpkg-statoverride: Do not abort when user and group names are unknown - - When parsing the statoverride database from dpkg-statoverride do - not consider it an error and refuse to operate at all if the user - or group names are not known to the system, just preserve them. - - Closes: #563307 - - debian/changelog | 3 +++ - lib/dpkg/file.h | 5 +++++ - src/archives.c | 2 +- - src/filesdb.h | 7 ++++++- - src/statcmd.c | 14 +++++++++++++- - src/statdb.c | 32 +++++++++++++++++++++++++------- - 6 files changed, 53 insertions(+), 10 deletions(-) - -commit b1f5d2251758c16678c1095b4d2c6be02c42f982 -Author: Adam Conrad -Date: Mon Jun 9 20:15:37 2014 +0200 - - Dpkg::Vendor::Debian: Do not disable stack-protector on arm64 - - The toolchain supports it now on arm64. - - Closes: #751032 - - Signed-off-by: Guillem Jover - - debian/changelog | 3 +++ - scripts/Dpkg/Vendor/Debian.pm | 4 ++-- - 2 files changed, 5 insertions(+), 2 deletions(-) - -commit 92ab1bb69c3f251a2811015d94d1933b3b39e43a -Author: Guillem Jover -Date: Mon Jun 9 19:38:05 2014 +0200 - - libdpkg: Fix file triggers/Unincorp descriptor leak on subprocesses - - Regression introduced in commit 10440009b68f59eeed4cb1b56547e3cf356aa540, - with the initial triggers implementation. - - Closes: #751021 - - debian/changelog | 3 +++ - lib/dpkg/trigdeferred.l | 4 ++++ - 2 files changed, 7 insertions(+) - -commit 73bc422dee4accae89e800d50cb79068e77a7c31 -Author: Fredrik Fornwall -Date: Thu Jun 19 01:40:37 2014 +0200 - - Replace obsolete with - - The standard location instead of is the - preferred one since a long time (Changelog.old mentions this change - being made in 1996). - - This patch fixes the two occurrences that have slipped through, making - the includes consistent with other files in dpkg as well as fixing - compiling on e.g. Android which lacks . - - Closes: #752036 - - Signed-off-by: Guillem Jover - - debian/changelog | 2 ++ - lib/dpkg/trigdeferred.l | 3 ++- - src/trigproc.c | 2 +- - 3 files changed, 5 insertions(+), 2 deletions(-) - -commit 586439a2fbba72d474f2c621cfa8cadde04bf9bb -Author: Guillem Jover -Date: Sat Jun 7 15:44:40 2014 +0200 - - dpkg: Use filenamenodeflags enum instead of wrongly using fnnflags - - src/filesdb-hash.c | 2 +- - src/filesdb.c | 2 +- - src/filesdb.h | 4 ++-- - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit 3ffc86f96b84794a238881631acb3c4947e3c082 -Author: Guillem Jover -Date: Sun Jun 8 01:59:25 2014 +0200 - - libcompat: Add a setexecfilecon() function out from dpkg code - - This is now a fallback implementation in case libselinux is too old. - - debian/changelog | 1 + - lib/compat/Makefile.am | 5 ++++ - lib/compat/compat.h | 4 +++ - lib/compat/selinux.c | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++ - m4/dpkg-libs.m4 | 2 ++ - src/script.c | 48 +----------------------------- - 6 files changed, 94 insertions(+), 47 deletions(-) - -commit 5362b6e879ee26323d8257e474d4c94a2b242592 -Author: Guillem Jover -Date: Tue Nov 20 18:05:02 2012 +0100 - - dpkg: Use SELinux setexecfilecon() if available instead of ad-hoc code - - There's no point in duplicating all this code in dpkg, when this is - provided now by libselinux. - - debian/changelog | 1 + - m4/dpkg-libs.m4 | 4 ++++ - src/script.c | 4 ++++ - 3 files changed, 9 insertions(+) - -commit f1cdf4ad022189d3e840543bc2e854c67903b40b -Author: Guillem Jover -Date: Mon Jun 9 15:39:37 2014 +0200 - - dselect: Mark new and delete operators with new throw and noexcept macros - - Warned-by: clang++ - - dselect/main.cc | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -commit 633159444e2f0c8fe1e167aff56d70601168610a -Author: Guillem Jover -Date: Mon Jun 9 15:39:37 2014 +0200 - - libdpkg: Add DPKG_ATTR_THROW and DPKG_ATTR_NOEXCEPT macros - - lib/dpkg/macros.h | 8 ++++++++ - 1 file changed, 8 insertions(+) - -commit 75a93afbe53d6d2554ed87abeb794a75373156fd -Author: Guillem Jover -Date: Sat Jun 7 12:41:23 2014 +0200 - - libcompat: Do not run qsort over the scandir list if it is NULL - - Warned-by: coverity - - debian/changelog | 1 + - lib/compat/scandir.c | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 66c070b9b83ca500d2038252240540bc70edd922 -Author: Guillem Jover -Date: Sat Jun 7 12:26:39 2014 +0200 - - libcompat: Mark compat functions with attribute printf and vprintf - - We duplicate these macros here too so that we can quiesce some warnings - when building the compatibility code. - - lib/compat/compat.h | 20 ++++++++++++++++---- - 1 file changed, 16 insertions(+), 4 deletions(-) - -commit 338374a655d6d8ca97196cc6bca80109d955b278 -Author: Guillem Jover -Date: Sat Jun 7 12:26:39 2014 +0200 - - libdpkg: Move __func__ and nullptr definitions to libcompat - - These are really compatibility macros for systems w/o the required - compiler support. - - We need to duplicate the logic for LIBCOMPAT_GCC_VERSION, but for now - we will keep that and DPKG_GCC_VERSION to avoid having to make compat.h - a public header. - - lib/compat/compat.h | 21 +++++++++++++++++++++ - lib/dpkg/macros.h | 13 ------------- - 2 files changed, 21 insertions(+), 13 deletions(-) - -commit f45bc2de515013c983ee9e8f6898bd3119832fc1 -Author: Guillem Jover -Date: Sat Jun 7 12:26:32 2014 +0200 - - libcompat: Make the library testable - - This will allow us to guarantee the compatibility implementations at - least build, and can eventually be tested. - - debian/changelog | 2 ++ - lib/compat/Makefile.am | 15 ++++++++++- - lib/compat/alphasort.c | 2 ++ - lib/compat/asprintf.c | 2 ++ - lib/compat/compat.h | 69 +++++++++++++++++++++++++++++++++++++------------- - lib/compat/scandir.c | 2 ++ - lib/compat/snprintf.c | 3 ++- - lib/compat/strerror.c | 4 +++ - lib/compat/strndup.c | 3 +-- - lib/compat/strsignal.c | 2 ++ - lib/compat/unsetenv.c | 2 ++ - lib/compat/vasprintf.c | 2 ++ - lib/compat/vsnprintf.c | 2 ++ - 13 files changed, 88 insertions(+), 22 deletions(-) - -commit 5a7ed8dcb798baec356e48466ec4c5fa4754103e -Author: Guillem Jover -Date: Mon Jun 9 02:05:38 2014 +0200 - - build: Refactor compiler option checks into a new function - - m4/dpkg-compiler.m4 | 155 ++++++++++++++++++++++++++-------------------------- - 1 file changed, 77 insertions(+), 78 deletions(-) - -commit a499612664a4047ecb0dca533038701f7691f489 -Author: Guillem Jover -Date: Sat Aug 9 00:54:13 2014 +0200 - - Update some dpkg git URLs to the new and newer (cgit switch) scheme - - README | 2 +- - debian/changelog | 1 + - debian/control | 2 +- - man/deb-src-control.5 | 4 ++-- - man/po/de.po | 8 ++++---- - man/po/dpkg-man.pot | 4 ++-- - man/po/es.po | 8 ++++---- - man/po/fr.po | 8 ++++---- - man/po/hu.po | 4 ++-- - man/po/it.po | 8 ++++---- - man/po/ja.po | 8 ++++---- - man/po/pl.po | 8 ++++---- - man/po/pt_BR.po | 4 ++-- - man/po/ru.po | 4 ++-- - man/po/sv.po | 8 ++++---- - 15 files changed, 41 insertions(+), 40 deletions(-) - -commit 5904dc92b16a9dcadba1c3d35ea3d3ff1baf2e63 -Author: Guillem Jover -Date: Sat Jul 12 03:16:08 2014 +0200 - - Use https:// URLs instead of http:// when possible (round two) - - Switch more URLs, now that these services have had SSL enabled. - - README | 2 +- - TODO | 2 +- - debian/changelog | 5 ++++- - debian/control | 2 +- - dselect/methods/ftp/README.mirrors.txt | 2 +- - dselect/po/es.po | 6 +++--- - man/deb-origin.5 | 2 +- - man/deb-src-control.5 | 2 +- - man/dselect.1 | 2 +- - man/po/de.po | 12 ++++++------ - man/po/dpkg-man.pot | 6 +++--- - man/po/es.po | 18 +++++++++--------- - man/po/fr.po | 12 ++++++------ - man/po/hu.po | 6 +++--- - man/po/it.po | 12 ++++++------ - man/po/ja.po | 12 ++++++------ - man/po/pl.po | 12 ++++++------ - man/po/pt_BR.po | 6 +++--- - man/po/ru.po | 6 +++--- - man/po/sv.po | 12 ++++++------ - po/es.po | 6 +++--- - scripts/Dpkg/Changelog/Debian.pm | 2 +- - scripts/Dpkg/Source/Package/V2.pm | 2 +- - scripts/Dpkg/Vendor.pm | 2 +- - scripts/Dpkg/Vendor/Debian.pm | 2 +- - scripts/po/es.po | 6 +++--- - scripts/t/origins/debian | 2 +- - 27 files changed, 82 insertions(+), 79 deletions(-) - -commit 9c66baec36b4d65e31e8122eac2baf2203def945 -Author: Guillem Jover -Date: Mon Jul 28 05:04:15 2014 +0200 - - Fix Spanish translation of dpkg-query -l header - - The uppercase letter hints got wrongly translated, and they were not - matching the actual printed letters in the package columns output. - - Closes: #756209 - - debian/changelog | 1 + - po/es.po | 10 +++++----- - 2 files changed, 6 insertions(+), 5 deletions(-) - -commit bb4ce52fcd386d080791ab2cf1e239675042f3db -Author: Miguel Figueiredo -Date: Sun Aug 3 20:09:51 2014 +0200 - - Update Portuguese programs translation - - Closes: #756920 - - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/pt.po | 1348 ++++++++++++++++++++++++++---------------------------- - 2 files changed, 658 insertions(+), 691 deletions(-) - -commit d72c13b336ca62fe03ead86dc20a9c1d2e7a1e3b -Author: Joe Dalton -Date: Mon Jul 7 22:49:19 2014 +0200 - - Update Danish program translations - - [guillem@debian.org: - - Fix format string. - - Remove spurious trailing dot. ] - - Closes: #754127 - - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/da.po | 530 ++++++++++++++++--------------------------------------- - 2 files changed, 156 insertions(+), 375 deletions(-) - -commit f7ecbfe89f9f8a8a3f410573047ff706327e77f2 -Author: Jean-Baka Domelevo Entfellner -Date: Fri Aug 8 10:49:23 2014 +0200 - - Update French program translations. - - With the help of Julien Patriarca. - - Reviewed-by: Raphaël Hertzog - - debian/changelog | 1 + - po/fr.po | 1986 ++++++++---------------------------------------------- - 2 files changed, 264 insertions(+), 1723 deletions(-) - -commit 2a3bccdefc1ed77b653377f4276542890096e0e5 -Author: Peter Krefting -Date: Sat Jun 14 21:00:35 2014 +0100 - - Update Swedish translation - - man/po/sv.po: 2258t0f0u - po/sv.po: 1090t0f0u - scripts/po/sv.po: 542t0f0u - - debian/changelog | 9 + - man/po/sv.po | 518 ++++++++++++++++++++----------------------------------- - po/sv.po | 65 ++----- - scripts/po/sv.po | 49 ++---- - 4 files changed, 224 insertions(+), 417 deletions(-) - -commit 4006ec7c774a2c866dce6abf8e661a11cbc50fdd -Author: Guillem Jover -Date: Thu Jun 5 20:49:38 2014 +0200 - - Bump version to 1.17.11 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit e0d235697883fc71720e831a2cf53c987b2f121e (tag: 1.17.10) -Author: Guillem Jover -Date: Thu Jun 5 13:40:24 2014 +0200 - - Release 1.17.10 - - debian/changelog | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 0d306fa1a499401a3a0939d5fe47a30bbd827e3d -Author: Guillem Jover -Date: Thu Jun 5 13:53:56 2014 +0200 - - Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 58 +-- - dselect/po/ca.po | 58 +-- - dselect/po/cs.po | 58 +-- - dselect/po/da.po | 58 +-- - dselect/po/de.po | 58 +-- - dselect/po/dselect.pot | 60 +-- - dselect/po/el.po | 58 +-- - dselect/po/es.po | 58 +-- - dselect/po/et.po | 58 +-- - dselect/po/eu.po | 58 +-- - dselect/po/fr.po | 58 +-- - dselect/po/gl.po | 58 +-- - dselect/po/hu.po | 58 +-- - dselect/po/id.po | 58 +-- - dselect/po/it.po | 58 +-- - dselect/po/ja.po | 58 +-- - dselect/po/ko.po | 58 +-- - dselect/po/nb.po | 58 +-- - dselect/po/nl.po | 58 +-- - dselect/po/nn.po | 58 +-- - dselect/po/pl.po | 58 +-- - dselect/po/pt.po | 58 +-- - dselect/po/pt_BR.po | 58 +-- - dselect/po/ro.po | 58 +-- - dselect/po/ru.po | 58 +-- - dselect/po/sk.po | 58 +-- - dselect/po/sv.po | 58 +-- - dselect/po/tl.po | 58 +-- - dselect/po/vi.po | 58 +-- - dselect/po/zh_CN.po | 58 +-- - dselect/po/zh_TW.po | 58 +-- - man/po/dpkg-man.pot | 1045 +++++++++++++++++++++++-------------------- - man/po/es.po | 1098 +++++++++++++++++++++++++-------------------- - man/po/fr.po | 1098 +++++++++++++++++++++++++-------------------- - man/po/hu.po | 1074 ++++++++++++++++++++++++-------------------- - man/po/it.po | 1134 ++++++++++++++++++++++++++-------------------- - man/po/ja.po | 1098 +++++++++++++++++++++++++-------------------- - man/po/pl.po | 1101 +++++++++++++++++++++++++-------------------- - man/po/pt_BR.po | 1083 ++++++++++++++++++++++++-------------------- - man/po/ru.po | 1083 ++++++++++++++++++++++++-------------------- - man/po/sv.po | 1140 +++++++++++++++++++++++++++-------------------- - po/ast.po | 1002 ++++++++++++++++++++--------------------- - po/bs.po | 986 ++++++++++++++++++++-------------------- - po/ca.po | 992 ++++++++++++++++++++--------------------- - po/cs.po | 992 ++++++++++++++++++++--------------------- - po/da.po | 992 ++++++++++++++++++++--------------------- - po/de.po | 992 ++++++++++++++++++++--------------------- - po/dpkg.pot | 988 ++++++++++++++++++++-------------------- - po/dz.po | 998 ++++++++++++++++++++--------------------- - po/el.po | 1002 ++++++++++++++++++++--------------------- - po/eo.po | 992 ++++++++++++++++++++--------------------- - po/es.po | 992 ++++++++++++++++++++--------------------- - po/et.po | 998 ++++++++++++++++++++--------------------- - po/eu.po | 998 ++++++++++++++++++++--------------------- - po/fr.po | 992 ++++++++++++++++++++--------------------- - po/gl.po | 1000 ++++++++++++++++++++--------------------- - po/hu.po | 998 ++++++++++++++++++++--------------------- - po/id.po | 1000 ++++++++++++++++++++--------------------- - po/it.po | 991 ++++++++++++++++++++-------------------- - po/ja.po | 994 ++++++++++++++++++++--------------------- - po/km.po | 998 ++++++++++++++++++++--------------------- - po/ko.po | 1002 ++++++++++++++++++++--------------------- - po/ku.po | 992 ++++++++++++++++++++--------------------- - po/lt.po | 998 ++++++++++++++++++++--------------------- - po/mr.po | 998 ++++++++++++++++++++--------------------- - po/nb.po | 1000 ++++++++++++++++++++--------------------- - po/ne.po | 1000 ++++++++++++++++++++--------------------- - po/nl.po | 1000 ++++++++++++++++++++--------------------- - po/nn.po | 1000 ++++++++++++++++++++--------------------- - po/pa.po | 992 ++++++++++++++++++++--------------------- - po/pl.po | 994 ++++++++++++++++++++--------------------- - po/pt.po | 992 ++++++++++++++++++++--------------------- - po/pt_BR.po | 998 ++++++++++++++++++++--------------------- - po/ro.po | 1000 ++++++++++++++++++++--------------------- - po/ru.po | 992 ++++++++++++++++++++--------------------- - po/sk.po | 992 ++++++++++++++++++++--------------------- - po/sv.po | 992 ++++++++++++++++++++--------------------- - po/th.po | 992 ++++++++++++++++++++--------------------- - po/tl.po | 1002 ++++++++++++++++++++--------------------- - po/vi.po | 992 ++++++++++++++++++++--------------------- - po/zh_CN.po | 998 ++++++++++++++++++++--------------------- - po/zh_TW.po | 992 ++++++++++++++++++++--------------------- - scripts/po/ca.po | 242 +++++----- - scripts/po/de.po | 4 +- - scripts/po/dpkg-dev.pot | 241 +++++----- - scripts/po/es.po | 262 ++++++----- - scripts/po/fr.po | 262 ++++++----- - scripts/po/pl.po | 262 ++++++----- - scripts/po/ru.po | 262 ++++++----- - scripts/po/sv.po | 262 ++++++----- - 90 files changed, 28410 insertions(+), 26956 deletions(-) - -commit bb2fe22738675a5a92d65aad03efcc73efd3a368 -Author: Guillem Jover -Date: Thu May 22 00:47:05 2014 +0200 - - scripts: Add test case for patch disabling hunks - - This does not pose any security issue, as the hunk parser is strict, and - will reject a patch if it considers that the hunk marker is not present. - - debian/changelog | 1 + - scripts/Makefile.am | 1 + - scripts/t/Dpkg_Source_Patch.t | 5 ++++- - scripts/t/Dpkg_Source_Patch/ghost-hunk.patch | 7 +++++++ - 4 files changed, 13 insertions(+), 1 deletion(-) - -commit 5348cbc981a65c3c9b05bb4d13553bda930c2d78 -Author: Guillem Jover -Date: Fri May 2 01:41:18 2014 +0200 - - Dpkg::Source::Patch: Fix patch header parsing to avoid directory traversals - - The code parsing the patches was not taking into account that patches - w/ partial or no pathname headers are still valid patches, and that - they can specify the pathname in the Index: pseudo-header or in a - single «+++ » pathname header, which allows doing directory traversal - when unpacking source packages. - - The first vector is due to how the Index: pseudo-header is handled by - patch. Its value gets used (on non-POSIX mode) only when both «+++ » - and «--- » pathname headers do not provide a pathname, by either having - an empty pathname or by the header being completely absent. The minimal - fix for this is to just consider that we've parsed the header when we - see a hunk header marker «@@ -». This is CVE-2014-3865 and #749183. - - The other vector is due to patches with only a «+++ » pathname header, - which get skipped by the parser as it only checks for «--- » pathname - header lines. The minimal fix for this is to also check for «+++ » when - parsing the patch header. This is CVE-2014-3864 and #746498. - - The first issue is a superset of the second, and its fix is sufficient - and covers and fixes too the second vector, as the «@@ -» marker is - mandatory for a patch to be valid. - - An unspecified directory traversal vulnerability was initially reported - in #746498 by Javier Serrano Polo , and while no - information had been provided, I independently found #749183 and what - was supposed to be #746498, which was later on published. - - Fixes: CVE-2014-3864, CVE-2014-3865 - Closes: #746498, #749183 - - debian/changelog | 7 +++++++ - scripts/Dpkg/Source/Patch.pm | 2 +- - scripts/Makefile.am | 4 ++++ - scripts/t/Dpkg_Source_Patch.t | 16 +++++++++++++++- - scripts/t/Dpkg_Source_Patch/index-+++.patch | 4 ++++ - scripts/t/Dpkg_Source_Patch/index-alone.patch | 3 +++ - scripts/t/Dpkg_Source_Patch/index-inert.patch | 8 ++++++++ - scripts/t/Dpkg_Source_Patch/partial.patch | 3 +++ - 8 files changed, 45 insertions(+), 2 deletions(-) - -commit dbb9cc36ae606bc5cbdb81baae02b9067913d143 -Author: Guillem Jover -Date: Fri May 2 00:09:43 2014 +0200 - - scripts: Add test cases for C-style encoded pathnames in patches - - This covers the directory traversal issues from CVE-2014-0471 and - CVE-2014-3127. - - debian/changelog | 1 + - scripts/Makefile.am | 1 + - scripts/t/Dpkg_Source_Patch.t | 30 ++++++++++++++++++++++++++++-- - scripts/t/Dpkg_Source_Patch/c-style.patch | 4 ++++ - 4 files changed, 34 insertions(+), 2 deletions(-) - -commit 82f803592c55e5505f8d8e66ed6b011f03a6ba45 -Author: Guillem Jover -Date: Wed Jun 4 20:25:16 2014 +0200 - - debian: Update changelog entry for #746306 bug fix (CVE-2014-0471) - - Add attribution for the reporter, and a reference to the newly assigned - CVE-2014-3127. - - debian/changelog | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 5eecc35eaf9075d72541d3f5ddd7b7fb6d33b8de -Author: Guillem Jover -Date: Wed Jun 4 09:21:07 2014 +0200 - - s-s-d: Add DragonFlyBSD support - - Closes: #734452 - - Based-on-patch-by: Hleb Valoshka <375gnu@gmail.com> - - debian/changelog | 2 ++ - utils/start-stop-daemon.c | 13 +++++++++++++ - 2 files changed, 15 insertions(+) - -commit 03a46a0abffc5379847bbe067eae9633b97e9a64 -Author: Hleb Valoshka <375gnu@gmail.com> -Date: Wed Jun 4 08:51:26 2014 +0200 - - Add support for DragonFlyBSD to ostable and triplettable - - Signed-off-by: Guillem Jover - - debian/changelog | 2 ++ - ostable | 1 + - triplettable | 1 + - 3 files changed, 4 insertions(+) - -commit 397448b7486b14ce3d844743c71e277a0b086141 -Author: Guillem Jover -Date: Thu Jun 5 20:04:19 2014 +0200 - - Dpkg::Control::HashCore: Only skip actual empty first line field values - - Regression introduced in commit c2ee90f92ab6c915db774403414b2ea70c967c3e. - - We need to check if the value is empty, not if it's false. Add a - regression test. - - scripts/Dpkg/Control/HashCore.pm | 2 +- - scripts/t/Dpkg_Control.t | 4 +++- - scripts/t/Dpkg_Control/control-1 | 1 + - 3 files changed, 5 insertions(+), 2 deletions(-) - -commit 37b310bad3ba96ce14a9a81875e4130d06b8968b -Author: Helge Kreutzmann -Date: Wed Jun 4 20:44:45 2014 +0200 - - Update German translation of manual pages - - Update to 2258t. - - man/po/de.po | 566 ++++++++++++++++++++++++++++++++--------------------------- - 1 file changed, 312 insertions(+), 254 deletions(-) - -commit ddde22c33c712d40ab26a76e0b08515ef69b45d2 -Author: Helge Kreutzmann -Date: Wed Jun 4 20:33:29 2014 +0200 - - Update German scripts translation - - Update to 542t. - - scripts/po/de.po | 96 +++++++++++++++++++++++++++++--------------------------- - 1 file changed, 50 insertions(+), 46 deletions(-) - -commit 63b138afa6ca41ff33c3a282187bd2de1826c489 -Author: Guillem Jover -Date: Mon Jun 2 06:37:29 2014 +0200 - - libdpkg: Uppercase and namespace pkgstatus enum values - - dselect/pkgcmds.cc | 10 ++++---- - dselect/pkgdepcon.cc | 16 ++++++------ - dselect/pkglist.cc | 36 +++++++++++++------------- - lib/dpkg/dbmodify.c | 6 ++--- - lib/dpkg/dpkg-db.h | 16 ++++++------ - lib/dpkg/dump.c | 30 +++++++++++----------- - lib/dpkg/parse.c | 41 +++++++++++++++--------------- - lib/dpkg/pkg-db.c | 2 +- - lib/dpkg/pkg-namevalue.c | 16 ++++++------ - lib/dpkg/pkg.c | 8 +++--- - lib/dpkg/test/t-pkginfo.c | 38 ++++++++++++++-------------- - lib/dpkg/triglib.c | 14 +++++------ - lib/dpkg/trignote.c | 6 ++--- - src/archives.c | 14 +++++------ - src/cleanup.c | 10 ++++---- - src/configure.c | 25 +++++++++--------- - src/depcon.c | 61 +++++++++++++++++++++++--------------------- - src/enquiry.c | 38 ++++++++++++++++------------ - src/filesdb.c | 6 ++--- - src/help.c | 16 ++++++------ - src/infodb-upgrade.c | 2 +- - src/main.c | 2 +- - src/packages.c | 39 +++++++++++++++-------------- - src/querycmd.c | 15 +++++------ - src/remove.c | 31 ++++++++++++----------- - src/script.c | 10 ++++---- - src/select.c | 3 ++- - src/trigproc.c | 26 +++++++++---------- - src/unpack.c | 64 ++++++++++++++++++++++++----------------------- - src/verify.c | 2 +- - 30 files changed, 311 insertions(+), 292 deletions(-) - -commit 8fc618ad8e8df6efbcd52c5d96500f65e9c1b8db -Author: Guillem Jover -Date: Mon Jun 2 01:00:25 2014 +0200 - - libdpkg: Uppercase and namespace pkgpriority enum values - - dpkg-deb/build.c | 2 +- - dselect/pkgcmds.cc | 4 ++-- - dselect/pkglist.cc | 14 +++++++------- - dselect/pkglist.h | 3 ++- - dselect/pkgtop.cc | 10 +++++----- - lib/dpkg/dpkg-db.h | 16 ++++++++-------- - lib/dpkg/dump.c | 4 ++-- - lib/dpkg/fields.c | 2 +- - lib/dpkg/parse.c | 6 +++--- - lib/dpkg/pkg-namevalue.c | 14 +++++++------- - lib/dpkg/pkg-show.c | 2 +- - lib/dpkg/pkg.c | 2 +- - src/querycmd.c | 2 +- - 13 files changed, 41 insertions(+), 40 deletions(-) - -commit 224d0246bb59e5066de6693a18bf8654dafa135d -Author: Guillem Jover -Date: Mon Jun 2 00:52:37 2014 +0200 - - libdpkg: Uppercase and namespace pkgeflag enum values - - dselect/pkgdepcon.cc | 4 ++-- - lib/dpkg/dpkg-db.h | 4 ++-- - lib/dpkg/dump.c | 2 +- - lib/dpkg/parse.c | 4 ++-- - lib/dpkg/pkg-namevalue.c | 4 ++-- - lib/dpkg/pkg.c | 6 +++--- - lib/dpkg/test/t-pkginfo.c | 12 ++++++------ - src/archives.c | 4 ++-- - src/cleanup.c | 14 +++++++------- - src/configure.c | 2 +- - src/enquiry.c | 4 ++-- - src/remove.c | 2 +- - src/unpack.c | 4 ++-- - 13 files changed, 33 insertions(+), 33 deletions(-) - -commit 2240b13459eb24c653a0c1d88987076cfaaf19ef -Author: Guillem Jover -Date: Mon Jun 2 00:48:45 2014 +0200 - - libdpkg: Uppercase and namespace pkgwant enum values - - dselect/pkgcmds.cc | 28 ++++++++++++++-------------- - dselect/pkgdepcon.cc | 14 +++++++------- - dselect/pkglist.cc | 12 ++++++------ - lib/dpkg/dpkg-db.h | 12 ++++++------ - lib/dpkg/dump.c | 2 +- - lib/dpkg/parse.c | 12 ++++++------ - lib/dpkg/pkg-namevalue.c | 10 +++++----- - lib/dpkg/pkg.c | 4 ++-- - lib/dpkg/test/t-pkginfo.c | 4 ++-- - src/archives.c | 5 +++-- - src/enquiry.c | 4 ++-- - src/errors.c | 3 ++- - src/packages.c | 8 ++++---- - src/querycmd.c | 2 +- - src/remove.c | 14 +++++++------- - src/select.c | 5 +++-- - src/unpack.c | 4 ++-- - 17 files changed, 73 insertions(+), 70 deletions(-) - -commit befc7844fd6273c56405f0714af3ea4eab44dcf1 -Author: Guillem Jover -Date: Mon Jun 2 00:38:57 2014 +0200 - - libdpkg: Uppercase and namespace pkgmultiarch enum values - - lib/dpkg/depcon.c | 4 ++-- - lib/dpkg/dpkg-db.h | 8 ++++---- - lib/dpkg/parse.c | 16 ++++++++-------- - lib/dpkg/pkg-namevalue.c | 8 ++++---- - lib/dpkg/pkg-show.c | 2 +- - lib/dpkg/pkg.c | 4 ++-- - src/archives.c | 6 +++--- - src/infodb-access.c | 2 +- - src/infodb-format.c | 2 +- - src/infodb-upgrade.c | 2 +- - src/unpack.c | 8 ++++---- - 11 files changed, 31 insertions(+), 31 deletions(-) - -commit 132e2b9266aae80a207720127c1f96c5719aec43 -Author: Guillem Jover -Date: Wed May 28 01:28:21 2014 +0200 - - dpkg: Uppercase and namespace color cycle enum values - - The current names are way too generic, and prone to collide with actual - color variables or similar. - - src/depcon.c | 8 ++++---- - src/filesdb.c | 2 +- - src/main.h | 6 +++--- - 3 files changed, 8 insertions(+), 8 deletions(-) - -commit f29cb1dbe37379680189f88c1bd0517ecfe1c34c -Author: Guillem Jover -Date: Wed May 28 01:27:07 2014 +0200 - - libdpkg: Uppercase and reword pkg_spec_flags enum values - - lib/dpkg/pkg-spec.c | 20 ++++++++++---------- - lib/dpkg/pkg-spec.h | 8 ++++---- - src/querycmd.c | 4 ++-- - src/select.c | 2 +- - 4 files changed, 17 insertions(+), 17 deletions(-) - -commit d504365c196426bb9475c4a3b82f5abadfcabbc9 -Author: Guillem Jover -Date: Wed May 28 01:25:58 2014 +0200 - - dpkg-divert: Uppercase file_stat enum values - - src/divertcmd.c | 26 +++++++++++++------------- - 1 file changed, 13 insertions(+), 13 deletions(-) - -commit cb6a7683285dd7af9074cce1c6503a61d65feff1 -Author: Guillem Jover -Date: Wed May 28 01:24:22 2014 +0200 - - dpkg: Uppercase pkg_infodb_format enum values - - src/infodb-access.c | 4 ++-- - src/infodb-format.c | 12 ++++++------ - src/infodb-upgrade.c | 4 ++-- - src/infodb.h | 10 +++++----- - 4 files changed, 15 insertions(+), 15 deletions(-) - -commit 2c1c66b8bd3399505c52e2e393b768e05b622818 -Author: Guillem Jover -Date: Wed May 28 01:21:56 2014 +0200 - - dpkg: Uppercase and namespace filesdb_load_status enum and values - - src/filesdb.c | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit 3fc4c7daf22817ae42c586d3c34d39b1be3ab252 -Author: Guillem Jover -Date: Wed May 28 01:20:34 2014 +0200 - - dpkg: Uppercase, namespace and reword istobe enum type and values - - src/archives.c | 15 ++++++++------- - src/configure.c | 4 ++-- - src/depcon.c | 56 +++++++++++++++++++++++++++++++------------------------- - src/enquiry.c | 13 +++++++------ - src/filesdb.c | 3 ++- - src/help.c | 4 ++-- - src/main.h | 14 +++++++------- - src/packages.c | 23 +++++++++++++++-------- - src/remove.c | 11 ++++++----- - src/unpack.c | 12 ++++++------ - 10 files changed, 86 insertions(+), 69 deletions(-) - -commit 8db1203bde0dd87a12633b999abe5840095fe60c -Author: Guillem Jover -Date: Wed May 28 01:17:51 2014 +0200 - - dpkg: Uppercase conffopt enum values and split words with underscore - - Also rename userrmd to USER_DEL. - - src/configure.c | 92 ++++++++++++++++++++++++++++----------------------------- - 1 file changed, 46 insertions(+), 46 deletions(-) - -commit 9251c6e31b96a784db2f53784c921ec206efd8a3 -Author: Guillem Jover -Date: Wed May 28 01:18:19 2014 +0200 - - libdpkg: Uppercase trig_options enum values - - lib/dpkg/triglib.c | 20 ++++++++++---------- - lib/dpkg/triglib.h | 5 +++-- - 2 files changed, 13 insertions(+), 12 deletions(-) - -commit b22d8a95e38e187cf0e4e870cb892b42cca57ebd -Author: Guillem Jover -Date: Wed May 28 00:57:51 2014 +0200 - - libdpkg: Uppercase trigdef enum values and separate words with underscores - - lib/dpkg/trigdeferred.h | 27 ++++++++++++++------------- - lib/dpkg/trigdeferred.l | 29 +++++++++++++++-------------- - lib/dpkg/triglib.c | 22 +++++++++++----------- - src/trigcmd.c | 18 +++++++++--------- - 4 files changed, 49 insertions(+), 47 deletions(-) - -commit 8d49206ec2887e0c726efea4dafe874211fbc045 -Author: Guillem Jover -Date: Wed May 28 01:30:30 2014 +0200 - - dpkg: Uppercase found_status enum values - - src/packages.c | 46 +++++++++++++++++++++++----------------------- - 1 file changed, 23 insertions(+), 23 deletions(-) - -commit b9bb0fa75fceafbba983dfdc221274c9f0991abf -Author: Guillem Jover -Date: Wed May 28 00:56:09 2014 +0200 - - dpkg: Uppercase dep_check enum values - - src/configure.c | 6 +++--- - src/main.h | 6 +++--- - src/packages.c | 16 ++++++++-------- - src/remove.c | 14 +++++++------- - 4 files changed, 21 insertions(+), 21 deletions(-) - -commit 72ba255678a0f4b940a7cc9d3f71d716077e9758 -Author: Guillem Jover -Date: Wed May 28 00:55:29 2014 +0200 - - dpkg-split: Uppercase and reword discard_which enum values - - Use the more meaningful DISCARD_PART_ prefix instead of the cryptic and - now confusing DS_ one (previously coming from the discardsome() function). - - dpkg-split/queue.c | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -commit a89ceee852b90de13977026701e818feaf06afc5 -Author: Guillem Jover -Date: Wed May 28 00:54:51 2014 +0200 - - u-a: Uppercase altdb_flags enum values - - utils/update-alternatives.c | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -commit 91e2cc2b7434a101dde71f3725d358b4ccbfda66 -Author: Guillem Jover -Date: Wed May 28 00:54:35 2014 +0200 - - u-a: Uppercase opcode enum values - - utils/update-alternatives.c | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -commit 1052bbc02aac04c4d45a2d6b87d0ed538af840d7 -Author: Guillem Jover -Date: Wed May 28 00:54:14 2014 +0200 - - s-s-d: Uppercase status_code enum values - - utils/start-stop-daemon.c | 44 ++++++++++++++++++++++---------------------- - 1 file changed, 22 insertions(+), 22 deletions(-) - -commit 1dda27ffd3d162280d5e7d09fa1f1d214f4c775e -Author: Guillem Jover -Date: Wed May 28 00:53:08 2014 +0200 - - s-s-d: Uppercase action_code enum values - - utils/start-stop-daemon.c | 34 +++++++++++++++++----------------- - 1 file changed, 17 insertions(+), 17 deletions(-) - -commit 670c99fbcd993f1e3a8236bd38ac664f8b5658dd -Author: Guillem Jover -Date: Wed May 28 00:51:46 2014 +0200 - - libdpkg: Uppercase and expand atomic_file_flags enum values - - lib/dpkg/atomic-file.c | 4 ++-- - lib/dpkg/atomic-file.h | 4 ++-- - lib/dpkg/dump.c | 2 +- - src/divertcmd.c | 2 +- - src/statcmd.c | 4 ++-- - 5 files changed, 8 insertions(+), 8 deletions(-) - -commit 0bac29bc7ceb5e8eb7816a61720dc7ae1e4fe693 -Author: Guillem Jover -Date: Wed May 28 00:51:01 2014 +0200 - - libdpkg: Uppercase dpkg_relation enum values - - dselect/pkgdepcon.cc | 2 +- - dselect/pkgsublist.cc | 14 +++++++------- - lib/dpkg/dump.c | 12 ++++++------ - lib/dpkg/fields.c | 16 ++++++++-------- - lib/dpkg/test/t-version.c | 34 +++++++++++++++++----------------- - lib/dpkg/version.c | 15 ++++++++------- - lib/dpkg/version.h | 14 +++++++------- - src/depcon.c | 6 +++--- - src/enquiry.c | 4 ++-- - src/packages.c | 8 ++++---- - src/unpack.c | 2 +- - 11 files changed, 64 insertions(+), 63 deletions(-) - -commit d3d70a975903a567c799b3f05f2cc4521a497dbf -Author: Guillem Jover -Date: Wed May 28 00:49:11 2014 +0200 - - libdpkg: Uppercase and namespace dpkg_arch_type enum values - - dpkg-deb/build.c | 2 +- - lib/dpkg/arch.c | 51 +++++++++++++++++++++++---------------------- - lib/dpkg/arch.h | 18 ++++++++-------- - lib/dpkg/depcon.c | 11 +++++----- - lib/dpkg/dump.c | 4 ++-- - lib/dpkg/fields.c | 8 ++++---- - lib/dpkg/parse.c | 16 ++++++++------- - lib/dpkg/pkg-db.c | 8 ++++---- - lib/dpkg/pkg-show.c | 6 +++--- - lib/dpkg/pkg-spec.c | 15 +++++++------- - lib/dpkg/pkg.c | 6 +++--- - lib/dpkg/test/t-arch.c | 56 +++++++++++++++++++++++++------------------------- - src/divertcmd.c | 4 ++-- - src/enquiry.c | 10 ++++----- - src/main.c | 8 ++++---- - src/unpack.c | 11 +++++----- - 16 files changed, 120 insertions(+), 114 deletions(-) - -commit 90d16af0604d35ca7d90921f5d59d685d3f2c560 -Author: Guillem Jover -Date: Wed May 28 00:39:13 2014 +0200 - - libdpkg: Uppercase tar related enum values - - lib/dpkg/tarfn.c | 52 +++++++++++++++++++++++------------------------ - lib/dpkg/tarfn.h | 30 +++++++++++++-------------- - src/archives.c | 62 ++++++++++++++++++++++++++++---------------------------- - src/filters.c | 6 +++--- - 4 files changed, 75 insertions(+), 75 deletions(-) - -commit 1c12ad9cfde5d73a952e64f977a2b96b8aea1f02 -Author: Guillem Jover -Date: Wed May 28 00:38:22 2014 +0200 - - libdpkg: Uppercase handler_type enum values - - lib/dpkg/ehandle.c | 13 +++++++------ - 1 file changed, 7 insertions(+), 6 deletions(-) - -commit eb3c2635f919fdde7b0d65b5db8eded9a428a9a1 -Author: Guillem Jover -Date: Wed May 28 00:38:14 2014 +0200 - - libdpkg: Uppercase compressor enum values - - dpkg-deb/build.c | 6 +++--- - dpkg-deb/extract.c | 12 +++++------ - dpkg-deb/main.c | 18 ++++++++-------- - lib/dpkg/compress.c | 62 ++++++++++++++++++++++++++--------------------------- - lib/dpkg/compress.h | 28 ++++++++++++------------ - m4/dpkg-build.m4 | 2 +- - 6 files changed, 64 insertions(+), 64 deletions(-) - -commit 3031836bd08090a6998d121056e4617d073b3194 -Author: Guillem Jover -Date: Wed Jun 4 00:19:21 2014 +0200 - - build: Uppercase enum in C99 test code - - m4/dpkg-compiler.m4 | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 6f5b608a28fbd67e1aa913897203b058dfa66abb -Author: Guillem Jover -Date: Wed May 28 00:36:52 2014 +0200 - - doc: Uppercase enum values in C coding style - - doc/coding-style.txt | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit c7ad73d0a95ed527e1efe013b97cf849f3af55e9 -Author: Guillem Jover -Date: Mon Jun 2 00:32:45 2014 +0200 - - Move enum definitions out of structs - - This untangles the types, and makes it possible to use functions that - use such enums as arguments from C++ code, as otherwise the enum would - need to be declared within the struct namespace. - - dselect/pkgcmds.cc | 63 +++++++++++++++++++++++---------------- - dselect/pkgdepcon.cc | 35 +++++++++++----------- - dselect/pkglist.cc | 65 ++++++++++++++++++++-------------------- - dselect/pkglist.h | 19 ++++++------ - dselect/pkgsublist.cc | 5 +++- - dselect/pkgtop.cc | 11 +++---- - lib/dpkg/dpkg-db.h | 82 ++++++++++++++++++++++++++++++--------------------- - lib/dpkg/error.h | 14 +++++---- - lib/dpkg/pkg-spec.h | 22 +++++++------- - src/filesdb.h | 42 +++++++++++++------------- - src/main.h | 24 ++++++++++----- - 11 files changed, 216 insertions(+), 166 deletions(-) - -commit dc2edadf0bcb624eafbcd16c92aae7691180f7a4 -Author: Guillem Jover -Date: Mon Jun 2 14:48:12 2014 +0200 - - dpkg: Give names to anonymous public enums inside structs - - This will help once we move them out of the structs. - - src/filesdb.h | 4 ++-- - src/main.h | 3 ++- - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit cd852844bc2471834da1b5cba980ec2c62f717ee -Author: Guillem Jover -Date: Tue May 27 01:39:33 2014 +0200 - - Replace non-breaking spaces with ASCII spaces - - ChangeLog.old | 2 +- - scripts/Dpkg/Source/Patch.pm | 2 +- - scripts/dpkg-shlibdeps.pl | 4 ++-- - 3 files changed, 4 insertions(+), 4 deletions(-) - -commit e6c1af78ae46aa989dcc16f90694f4bd15a1bc3e -Author: Guillem Jover -Date: Fri May 23 07:01:32 2014 +0200 - - dpkg: Add support for per-package --audit - - This allows to check for specific issues with a requested package. - - debian/changelog | 1 + - man/dpkg.1 | 5 +++-- - src/enquiry.c | 38 ++++++++++++++++++++++++++++---------- - 3 files changed, 32 insertions(+), 12 deletions(-) - -commit c52a62fdf86b571f75c903523da5f5ea8bdb3c13 -Author: Guillem Jover -Date: Fri May 23 07:01:32 2014 +0200 - - libdpkg: Add new pkg_array_init_from_names() function - - lib/dpkg/libdpkg.map | 1 + - lib/dpkg/pkg-array.c | 26 +++++++++++++++++++++++++- - lib/dpkg/pkg-array.h | 6 +++++- - 3 files changed, 31 insertions(+), 2 deletions(-) - -commit 07255ee8bfbef08b76f41842c63f9bd3f6dd9788 -Author: Guillem Jover -Date: Fri May 23 07:01:32 2014 +0200 - - libdpkg: Refactor dpkg_options_parse_pkgname() - - lib/dpkg/Makefile.am | 1 + - lib/dpkg/libdpkg.map | 1 + - lib/dpkg/options-parsers.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++ - lib/dpkg/options.h | 5 +++++ - po/POTFILES.in | 1 + - src/main.c | 8 +------ - src/packages.c | 8 +------ - src/querycmd.c | 30 +++++--------------------- - src/verify.c | 11 ++-------- - 9 files changed, 70 insertions(+), 48 deletions(-) - -commit 25d6273c1ac34c2a63cb23358983fa2462a4f152 -Author: Guillem Jover -Date: Tue May 27 15:39:54 2014 +0200 - - dpkg: Use badusage() on illegal package names in --ignore-depends - - debian/changelog | 2 ++ - src/main.c | 6 +++--- - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit b064e530891b7a193b717f848759663cd4a14e7e -Author: Guillem Jover -Date: Fri May 23 07:52:51 2014 +0200 - - dpkg: Rename audit variables to more generic names - - The checks are not about bad package status information anymore, update - variable names to match reality. - - src/enquiry.c | 55 ++++++++++++++++++++++++++++--------------------------- - 1 file changed, 28 insertions(+), 27 deletions(-) - -commit 4efe5c9a025829e89b070f8689f5d8ca40d5e398 -Author: Guillem Jover -Date: Fri May 23 07:12:19 2014 +0200 - - dpkg(1): Document what --audit does nowadays - - The checks performed now are more than just checking for partially - installed packages. - - debian/changelog | 2 ++ - man/dpkg.1 | 9 +++++---- - 2 files changed, 7 insertions(+), 4 deletions(-) - -commit 5aa87f8bbd898081f5426ed4317c84a1b1ba7188 -Author: Guillem Jover -Date: Wed May 21 13:45:46 2014 +0200 - - deb(5): Add media type information - - Add current, just approved new media type and the previous now deprecated - ones for reference. - - debian/changelog | 1 + - man/deb.5 | 11 +++++++++-- - 2 files changed, 10 insertions(+), 2 deletions(-) - -commit 9e639d62c018ffe1d74b8c072732835acbc8852b -Author: Guillem Jover -Date: Sat May 31 10:31:56 2014 +0200 - - libdpkg: Add new pkg_priority_name() function - - lib/dpkg/dpkg-db.h | 2 ++ - lib/dpkg/dump.c | 4 +--- - lib/dpkg/libdpkg.map | 1 + - lib/dpkg/pkg-show.c | 16 ++++++++++++++++ - 4 files changed, 20 insertions(+), 3 deletions(-) - -commit f078b51a7d1a73716f322fcd3814fc025aa9d2cd -Author: Guillem Jover -Date: Mon May 19 12:56:04 2014 +0200 - - libdpkg, dpkg: Use new status to names mapping functions - - This gets rid of the need to export the statusinfos and wantinfos - variables from libdpkg. - - lib/dpkg/dbmodify.c | 5 +++-- - lib/dpkg/dump.c | 8 ++++---- - lib/dpkg/libdpkg.map | 2 -- - lib/dpkg/parse.c | 6 +++--- - src/archives.c | 4 ++-- - src/configure.c | 6 +++--- - src/packages.c | 3 ++- - src/select.c | 4 ++-- - src/trigproc.c | 4 ++-- - 9 files changed, 21 insertions(+), 21 deletions(-) - -commit 6f82877d87f7ef637b12cc8e2614bea58f3f081d -Author: Guillem Jover -Date: Mon May 19 09:20:16 2014 +0200 - - libdpkg: Add status to name mapping functions - - lib/dpkg/dpkg-db.h | 6 +++++- - lib/dpkg/libdpkg.map | 3 +++ - lib/dpkg/pkg-show.c | 41 ++++++++++++++++++++++++++++++++++++++++- - 3 files changed, 48 insertions(+), 2 deletions(-) - -commit 8e2f4a98e014cf86483c55ea1bc0a7e0133ea8e6 -Author: Guillem Jover -Date: Mon May 19 09:19:30 2014 +0200 - - libdpkg: Move package name/value mappings to a new pkg-namevalue module - - This will allow other modules to use the tables, which are pretty much - independent from any code, w/o pulling in the whole parsing code. - - lib/dpkg/Makefile.am | 1 + - lib/dpkg/parsehelp.c | 52 -------------------------------- - lib/dpkg/pkg-namevalue.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 79 insertions(+), 52 deletions(-) - -commit f2ea976c0ae897d3ac640eb0c16a21249d2537bc -Author: Guillem Jover -Date: Mon Jun 2 14:28:59 2014 +0200 - - Dpkg::Source::Package::V2: Do not assume sensible-editor is present - - This command is very Debian specific, fallback to try to use - VISUAL, EDITOR or vi if the previous are either unset or not found. - - debian/changelog | 3 +++ - scripts/Dpkg/Source/Package/V2.pm | 12 ++++++++++-- - 2 files changed, 13 insertions(+), 2 deletions(-) - -commit c2ee90f92ab6c915db774403414b2ea70c967c3e -Author: Guillem Jover -Date: Fri May 23 15:49:01 2014 +0200 - - Dpkg::Control::HashCore: Do not emit trailing space on field empty first line - - This spurious space is unnecessary and takes a non-insignificant amount - of disk space on archive index files for example. - - Update dpkg-dev Breaks on devscripts to version << 2.14.4, as previous - versions of debchange expect a trailing space from dpkg-parsechangelog - output. - - Closes: #749044 - - Based-on-patch-by: Johannes Schauer - - debian/changelog | 4 ++++ - debian/control | 2 +- - scripts/Dpkg/Control/HashCore.pm | 15 +++++++++------ - scripts/t/Dpkg_Changelog.t | 8 ++++---- - scripts/t/Dpkg_Control.t | 2 +- - 5 files changed, 19 insertions(+), 12 deletions(-) - -commit 7ed4d813007158b956e493eb35b3645c96113e55 -Author: Guillem Jover -Date: Sun May 18 13:41:50 2014 +0200 - - debian: Quiesce tar warnings in cron job by redirecting stderr to /dev/null - - It seems that --warning=none does not completely quiesce GNU tar - (see #749307), so unfortunately we have to end up using more drastic - measures, by ignoring all of stderr for now. - - Closes: #748544 - - debian/changelog | 2 ++ - debian/dpkg.cron.daily | 6 ++++-- - 2 files changed, 6 insertions(+), 2 deletions(-) - -commit 012dbf88a913f562b4ab7901103a9549cdd4c8f6 -Author: Guillem Jover -Date: Mon Jun 2 00:48:23 2014 +0200 - - Update Catalan program translation - - debian/changelog | 1 + - po/ca.po | 640 +++++++++++++++++-------------------------------------- - 2 files changed, 194 insertions(+), 447 deletions(-) - -commit f051931a7b6aaa943ff75b2d275f25bc42a5b4e4 -Author: Milo Casagrande -Date: Sun Jun 1 19:24:21 2014 +0200 - - Update Italian program translation - - [guillem@debian.org: - - Move package version (%s) besides package name %s. - - Update missed translation. - - Replace a ; with a :. - - Fix few typos. ] - - Closes: #750105 - - Signed-off-by: Guillem Jover - - debian/changelog | 3 + - po/it.po | 612 ++++++++++++++++--------------------------------------- - 2 files changed, 178 insertions(+), 437 deletions(-) - -commit 6922608f5dcb0bbe9d6772a2e6b7cd58d1d5441a -Author: Helge Kreutzmann -Date: Sat May 17 17:34:57 2014 +0200 - - Update German translation of manual pages - - Update to 2251t. - - man/po/de.po | 744 ++++++++++++++++++++++++++++++++--------------------------- - 1 file changed, 410 insertions(+), 334 deletions(-) - -commit a9efe1746ac427b0db8997413b13cf1105093c1c -Author: Helge Kreutzmann -Date: Sat May 17 15:42:17 2014 +0200 - - Update German scripts translation - - Update to 541t. - - debian/changelog | 3 +++ - 1 file changed, 3 insertions(+) - -commit 2b14470363c1d411411c5b03735b75650ae572f7 -Author: Helge Kreutzmann -Date: Sat May 17 15:40:59 2014 +0200 - - Update German scripts translation - - Update to 541t. - - scripts/po/de.po | 162 ++++++++++++++++++++++++++++--------------------------- - 1 file changed, 82 insertions(+), 80 deletions(-) - -commit 432295ab9dfced6ab98159b3442f50c69c0dea89 -Author: Guillem Jover -Date: Wed May 14 04:16:57 2014 +0200 - - Dpkg::Source::Quilt: Refactor register() and unregister() methods - - Refactor the code out from Dpkg::Source::Package::V3::Quilt into two new - methods that take care of registering and unregistering a patch from the - series and applied_patches in-core and on-disk lists. - - scripts/Dpkg/Source/Package/V3/Quilt.pm | 60 +--------------------------- - scripts/Dpkg/Source/Quilt.pm | 69 +++++++++++++++++++++++++++++++++ - 2 files changed, 71 insertions(+), 58 deletions(-) - -commit 6b153d07845ebcc98b195d47d07638b21c43db29 -Author: Guillem Jover -Date: Sat May 17 03:34:04 2014 +0200 - - Dpkg::Source::Package::V3::Quilt: Handle series files with no final newline - - Do not mangle the series files when the last line is missing a newline, - by loading and saving the file with the added patch. This is quite ugly - in general, but fixes the immediate problem. The code will be getting a - general overhaul in due time. - - Closes: #584233 - - debian/changelog | 2 ++ - scripts/Dpkg/Source/Package/V3/Quilt.pm | 9 +++++++-- - 2 files changed, 9 insertions(+), 2 deletions(-) - -commit d8ec10fa65cee0fe67cf557bd48f18ac2442a5f6 -Author: Guillem Jover -Date: Sat May 17 03:33:04 2014 +0200 - - Dpkg::Source::Package::V3::Quilt: Refactor _load_file() - - scripts/Dpkg/Source/Package/V3/Quilt.pm | 16 ++++++++++++---- - 1 file changed, 12 insertions(+), 4 deletions(-) - -commit f2722da230af8b5581ebc208f68e6d2ccf6de3b6 -Author: Guillem Jover -Date: Wed May 14 04:00:41 2014 +0200 - - Dpkg::Source::Quilt: Rename write_db() to save_db() - - This is the normal counterpart to load actions. - - scripts/Dpkg/Source/Package/V3/Quilt.pm | 2 +- - scripts/Dpkg/Source/Quilt.pm | 8 ++++---- - 2 files changed, 5 insertions(+), 5 deletions(-) - -commit 4f333e1c25e3316f895c82eda3689f6d8a074900 -Author: Guillem Jover -Date: Wed May 14 03:56:51 2014 +0200 - - Dpkg::Source::Quilt: Refactor write_patch_list() - - scripts/Dpkg/Source/Quilt.pm | 17 +++++++++++------ - 1 file changed, 11 insertions(+), 6 deletions(-) - -commit 286ba89fa57931688d2950d9c10f49dc1226f310 -Author: Guillem Jover -Date: Sat May 17 01:14:32 2014 +0200 - - Dpkg::Source::Quilt: Add minimal test case - - debian/changelog | 1 + - scripts/Makefile.am | 1 + - scripts/t/Dpkg_Source_Quilt.t | 13 ++++++++++++- - scripts/t/Dpkg_Source_Quilt/parse/debian/patches/series | 9 +++++++++ - 4 files changed, 23 insertions(+), 1 deletion(-) - -commit c87941de954281a8aa66d032c85657f64bfe4dce -Author: Guillem Jover -Date: Thu May 15 04:08:44 2014 +0200 - - Dpkg::Deps::Multiple: Add profile_is_concerned() and reduce_profiles() methods - - These got missed in commit 7662e0937bb064a0754d12605d80a96a17e2aadf. - - The current dpkg code is not using those methods, but external programs - might need them. - - debian/changelog | 3 +++ - scripts/Dpkg/Deps.pm | 30 +++++++++++++++++++++++++++++- - scripts/t/Dpkg_Deps.t | 19 ++++++++++++++++++- - 3 files changed, 50 insertions(+), 2 deletions(-) - -commit f89c20f1fa074a46e9c3da9e5efa15bbfc56949d -Author: Guillem Jover -Date: Thu May 15 04:07:59 2014 +0200 - - Dpkg::Deps: Add test cases for OR relationships - - debian/changelog | 1 + - scripts/t/Dpkg_Deps.t | 9 +++++---- - 2 files changed, 6 insertions(+), 4 deletions(-) - -commit a5b5f737990633e52fc9eea7684f9884bec6924b -Author: Guillem Jover -Date: Thu May 15 06:22:33 2014 +0200 - - Dpkg: Update and fix CHANGES POD sections - - Do not use actual POD =item, just normal paragraphs. Split items in - different paragraphs. Sort versions in decreasing order. Document - missing changes in public interfaces. Qualify methods with the - variable. - - debian/changelog | 1 + - scripts/Dpkg/BuildFlags.pm | 20 ++++++++++---------- - scripts/Dpkg/Changelog/Entry/Debian.pm | 1 + - scripts/Dpkg/Conf.pm | 6 ++++++ - scripts/Dpkg/Control/HashCore.pm | 2 +- - scripts/Dpkg/Deps.pm | 22 +++++++--------------- - scripts/Dpkg/Exit.pm | 1 + - scripts/Dpkg/Substvars.pm | 15 +++++++++++++++ - 8 files changed, 42 insertions(+), 26 deletions(-) - -commit ad75cd9bdfb0a6322425206ab70882ad7d832125 -Author: Guillem Jover -Date: Thu May 15 06:26:22 2014 +0200 - - Dpkg::Deps: Bump VERSION to 1.03 - - This was missed in commit e8950d7e2d4a58f96c74782825e2edf7ceb583ca. - - debian/changelog | 1 + - scripts/Dpkg/Deps.pm | 6 +++++- - 2 files changed, 6 insertions(+), 1 deletion(-) - -commit 6e5a46ad3d085e9a187deb30934a22e6d618d9b7 -Author: Guillem Jover -Date: Thu May 15 06:09:50 2014 +0200 - - Dpkg::Path: Bump VERSION to 1.03 - - This was missed in commit eb4bb268ab954748d015626a216f46f632f2371a. - - debian/changelog | 2 ++ - scripts/Dpkg/Path.pm | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit a4e5d3da5d67cc485f124d7348b09cd539d91104 -Author: Guillem Jover -Date: Wed May 14 02:53:55 2014 +0200 - - dpkg-buildpackage: Add support for automatic parallel jobs selection - - This adds support to automatically set the number of jobs to be used by - the build process to match the number of online processors, with the new - -j argument «auto». - - It will try to infer the number of processors from getconf(1), but the - system might not support the configuration variable, in which case it - will fallback to not having any limit when passing the -j option to - make. - - debian/changelog | 2 ++ - man/dpkg-buildpackage.1 | 11 ++++++++--- - scripts/dpkg-buildpackage.pl | 9 ++++++++- - 3 files changed, 18 insertions(+), 4 deletions(-) - -commit aa9b18df5af6abacc40914aabccd765be74f7a4c -Author: Guillem Jover -Date: Tue May 13 23:57:59 2014 +0200 - - dpkg-buildpackage(1): Document that the -j argument is optional - - This was clear from the --help output, but not from the man page. - - debian/changelog | 1 + - man/dpkg-buildpackage.1 | 16 +++++++++------- - 2 files changed, 10 insertions(+), 7 deletions(-) - -commit 789d2428488f481cef86661d445175ea8316be4f -Author: Guillem Jover -Date: Wed May 14 04:40:35 2014 +0200 - - dpkg-gensymbols(1): Improve symbols file maintenance documentation - - Add notes about checking for backwards compatibility. - - Closes: #746973 - - Based-on-patch-by: "Bernhard R. Link" - - debian/changelog | 3 +++ - man/dpkg-gensymbols.1 | 17 +++++++++++++++-- - 2 files changed, 18 insertions(+), 2 deletions(-) - -commit 1e214262bb68c4c966fde9fbdbd671d781b9833e -Author: Guillem Jover -Date: Thu May 8 18:23:51 2014 +0200 - - dpkg-deb(1): Mention deprecation of bzip2 and lzma compressors - - debian/changelog | 1 + - man/dpkg-deb.1 | 4 ++-- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit dad5ea1f6ebee41a47317a6e5df14fbcb3f2da5c -Author: Guillem Jover -Date: Thu May 8 18:20:34 2014 +0200 - - deb(5): Change control.tar.gz reference to simply control.tar - - debian/changelog | 1 + - man/deb.5 | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 6c6c62aaa1d83743672f4bd9f45bbda2bd8a85a3 -Author: Guillem Jover -Date: Mon May 5 06:31:37 2014 +0200 - - deb-src-control(5): Expand Vcs-* into each supported field - - This makes it easier to search for the fields in the man page. - - debian/changelog | 2 ++ - man/deb-src-control.5 | 16 +++++++++++++++- - 2 files changed, 17 insertions(+), 1 deletion(-) - -commit 0acc2cce961ad687ac5c64e8690c11eeec72dde2 -Author: Guillem Jover -Date: Mon May 12 20:24:41 2014 +0200 - - man: Remove spurious trailing space from msgstr - - This makes po4a emit a warning. - - man/po/de.po | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 46d7b70a2ddf31ca51aa768c37cb08b17e3890f3 -Author: Guillem Jover -Date: Tue May 6 01:32:17 2014 +0200 - - man: Attempt to clarify and improve wording of some strange constructs - - Reported-by: Helge Kreutzmann - - debian/changelog | 3 +++ - man/dpkg-maintscript-helper.1 | 4 ++-- - man/dpkg-query.1 | 8 ++++---- - man/dpkg.1 | 10 +++++----- - 4 files changed, 14 insertions(+), 11 deletions(-) - -commit a5b58e2c07de26c65e0f3d098cb5a7fc462984e1 -Author: Helge Kreutzmann -Date: Tue May 6 01:32:17 2014 +0200 - - man: Fix typo - - Signed-off-by: Guillem Jover - - man/dpkg-maintscript-helper.1 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1e5163809eff116ff1b34956562e1f6ec0bbf370 -Author: Guillem Jover -Date: Tue May 6 01:33:17 2014 +0200 - - perl: Fix unused capture groups false positives - - These are false positives, as when there's no match perl will leave - the subpattern variables untouched. We'll just use the opportunity to - unconfuse perlcritic, making some of those variable usages more clear - by using intermediate variables. - - Fixes RegularExpressions::ProhibitUnusedCapture. - - Warned-by: perlcritic - - dselect/methods/ftp/install | 4 ++-- - scripts/Dpkg/Control/HashCore.pm | 11 ++++++----- - scripts/Dpkg/Shlibs/Objdump.pm | 6 ++++-- - scripts/dpkg-buildpackage.pl | 9 ++++++--- - scripts/dpkg-shlibdeps.pl | 3 ++- - test/critic.t | 1 + - 6 files changed, 21 insertions(+), 13 deletions(-) - -commit 395f6ced94938c72927575e8d5b40305da321799 -Author: Guillem Jover -Date: Thu Jan 3 03:46:39 2013 +0100 - - scripts: Switch unused capturing groups to non-capturing ones - - These have better runtime performance, not that it matters in many of - the instances here though. - - Addresses RegularExpressions::ProhibitUnusedCapture. - - Warned-by: perlcritic - - scripts/Dpkg/Changelog/Debian.pm | 14 +++++++------- - scripts/Dpkg/Source/Package/V3/Bzr.pm | 2 +- - scripts/Dpkg/Source/Patch.pm | 2 +- - scripts/Dpkg/Source/Quilt.pm | 2 +- - scripts/Dpkg/Vendor/Debian.pm | 8 ++++---- - scripts/dpkg-architecture.pl | 2 +- - scripts/dpkg-buildflags.pl | 2 +- - scripts/dpkg-buildpackage.pl | 8 ++++---- - scripts/dpkg-distaddfile.pl | 2 +- - scripts/dpkg-genchanges.pl | 6 +++--- - scripts/dpkg-gencontrol.pl | 2 +- - scripts/dpkg-gensymbols.pl | 2 +- - scripts/dpkg-parsechangelog.pl | 2 +- - scripts/dpkg-shlibdeps.pl | 2 +- - scripts/dpkg-source.pl | 6 +++--- - scripts/dpkg-vendor.pl | 2 +- - 16 files changed, 32 insertions(+), 32 deletions(-) - -commit 600a530a9031341ff76b9764843c3d7a5dc1fd2f -Author: Guillem Jover -Date: Mon May 5 03:17:41 2014 +0200 - - scripts: Use character classes instead of single character alternations - - Fixes RegularExpressions::ProhibitSingleCharAlternation. - - Warned-by: perlcritic - - scripts/Dpkg/Changelog/Debian.pm | 6 +++--- - scripts/Dpkg/Deps.pm | 2 +- - test/critic.t | 1 + - 3 files changed, 5 insertions(+), 4 deletions(-) - -commit fa48a94434acf00681259bbe8f7acb0efad76153 -Author: Guillem Jover -Date: Sun May 4 16:25:21 2014 +0200 - - scripts: Add template test cases for most modules - - This at least tests if the module in question can be use'ed correctly, - and gives a more realistic code coverage report. - - The remaining modules should be covered by one of their parents. - - debian/changelog | 1 + - scripts/Makefile.am | 17 +++++++++++++++++ - scripts/t/{Dpkg_Changelog_Ubuntu.t => Dpkg_BuildEnv.t} | 12 +++++++++--- - .../t/{Dpkg_Changelog_Ubuntu.t => Dpkg_BuildFlags.t} | 12 +++++++++--- - .../t/{Dpkg_Changelog_Ubuntu.t => Dpkg_BuildProfiles.t} | 12 +++++++++--- - scripts/t/{Dpkg_Changelog_Ubuntu.t => Dpkg_Checksums.t} | 12 +++++++++--- - scripts/t/{Dpkg_Changelog_Ubuntu.t => Dpkg_Conf.t} | 12 +++++++++--- - .../t/{Dpkg_Changelog_Ubuntu.t => Dpkg_ErrorHandling.t} | 12 +++++++++--- - scripts/t/{Dpkg_Changelog_Ubuntu.t => Dpkg_Exit.t} | 12 +++++++++--- - scripts/t/{Dpkg_Changelog_Ubuntu.t => Dpkg_File.t} | 12 +++++++++--- - scripts/t/{Dpkg_Changelog_Ubuntu.t => Dpkg_Gettext.t} | 12 +++++++++--- - scripts/t/{Dpkg_Changelog_Ubuntu.t => Dpkg_Index.t} | 12 +++++++++--- - ...pkg_Changelog_Ubuntu.t => Dpkg_Interface_Storable.t} | 12 +++++++++--- - .../{Dpkg_Changelog_Ubuntu.t => Dpkg_Source_Archive.t} | 12 +++++++++--- - ...{Dpkg_Changelog_Ubuntu.t => Dpkg_Source_Functions.t} | 12 +++++++++--- - .../{Dpkg_Changelog_Ubuntu.t => Dpkg_Source_Package.t} | 12 +++++++++--- - .../t/{Dpkg_Changelog_Ubuntu.t => Dpkg_Source_Patch.t} | 12 +++++++++--- - .../t/{Dpkg_Changelog_Ubuntu.t => Dpkg_Source_Quilt.t} | 12 +++++++++--- - scripts/t/{Dpkg_Changelog_Ubuntu.t => Dpkg_Vars.t} | 12 +++++++++--- - 19 files changed, 171 insertions(+), 51 deletions(-) - -commit 79a6978160ccf752d058786ab8fb61ad7fa1646a -Author: Guillem Jover -Date: Fri Apr 4 21:59:10 2014 +0200 - - perl: Do not use global match variables - - Fixes Variables::ProhibitMatchVars. - - Warned-by: perlcritic - - debian/changelog | 1 + - dselect/methods/disk/setup | 6 +++--- - dselect/methods/multicd/setup | 6 +++--- - dselect/mkcurkeys.pl | 12 ++++++------ - scripts/Dpkg/Changelog/Entry/Debian.pm | 4 ++-- - scripts/Dpkg/Package.pm | 4 ++-- - scripts/Dpkg/Vendor/Ubuntu.pm | 4 ++-- - scripts/dpkg-architecture.pl | 20 ++++++++++---------- - scripts/dpkg-distaddfile.pl | 4 ++-- - scripts/dpkg-gencontrol.pl | 32 ++++++++++++++++---------------- - scripts/dpkg-gensymbols.pl | 4 ++-- - test/critic.t | 1 + - 12 files changed, 50 insertions(+), 48 deletions(-) - -commit 0e5d6ee28bd2bbb542405b8d1e7de5a6ecf47c1d -Author: Guillem Jover -Date: Thu Jan 3 02:30:23 2013 +0100 - - test: Add labels to Test::More tests - - Fixes TestingAndDebugging::RequireTestLabels. - - Warned-by: perlcritic - - scripts/t/Dpkg_Changelog.t | 4 ++-- - scripts/t/Dpkg_IPC.t | 6 +++--- - scripts/t/Dpkg_Package.t | 10 +++++----- - scripts/t/Dpkg_Shlibs.t | 10 ++++++---- - src/t/dpkg_divert.t | 8 ++++---- - test/critic.t | 1 + - 6 files changed, 21 insertions(+), 18 deletions(-) - -commit a987464f0548427c88e0f1f9d59b71c79419fd82 -Author: Guillem Jover -Date: Thu May 8 19:05:58 2014 +0200 - - dpkg-maintscript-helper: Print only once that we are moving a conffile - - Move the printing to the final phase, and skip the intermediate message - that we are moving the file aside for later processing. This information - is redundant and really unnecessary. It also does not match the other - actions in the script. - - Closes: #747370 - - debian/changelog | 2 ++ - scripts/dpkg-maintscript-helper.sh | 5 ++--- - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit abe3bb7c5b14502156973e0f060cd3234b2e7cc4 -Author: Guillem Jover -Date: Tue Apr 22 08:24:44 2014 +0200 - - dpkg-buildpackage: Move code inside s///eg into a function - - By using a closure, we makes the code more clear. - - scripts/dpkg-buildpackage.pl | 14 ++++++++++++-- - 1 file changed, 12 insertions(+), 2 deletions(-) - -commit 93b30facbec3336e5a35f0825dd565650cc25a6e -Author: Guillem Jover -Date: Sun May 11 05:28:43 2014 +0200 - - dpkg-architecture: Move -L argument to the Commands --help output section - - The -L argument is not an option, it's a full blown command. - - debian/changelog | 1 + - scripts/dpkg-architecture.pl | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit cdff05813bc4447012174b87033560d938384803 -Author: Guillem Jover -Date: Wed Apr 30 21:48:23 2014 +0200 - - dpkg: Switch an assert() on a volatile variable to an internerr() - - The assert() has a side-effect as the variable is volatile, switch it - to an internerr() so that we always get the same result regardless of - the build settings, NDEBUG in this case. - - Warned-by: coverity - - src/packages.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit b766dca91159da611c6340dea347f4ef00159768 -Author: Guillem Jover -Date: Wed May 14 04:27:31 2014 +0200 - - s-s-d: Cope with bogus OpenVZ kernels that prepend the " (deleted)" marker - - There are OpenVZ Linux kernels that instead of appending, prepend the - deleted marker, making the exec check fail to match. Add a workaround - so that those systems do not get affected. - - This will still be affecting any other userland tool that checks the - /proc/PID/exe symlink, and might end up helping this behaviour to get - entrenched, but better this than the getting strange system failures. - - Closes: #731530 - - debian/changelog | 3 +++ - utils/start-stop-daemon.c | 16 ++++++++++++---- - 2 files changed, 15 insertions(+), 4 deletions(-) - -commit c312296f675c345b9213e349934f43d4a2f316a0 -Author: Guillem Jover -Date: Wed Apr 30 22:17:33 2014 +0200 - - u-a: Switch from alternative_has_choice() to checking if fs is NULL - - We are performing the same search twice, let's just reuse the fs pointer - to decide if we have found the choice. - - This was confusing coverity, and making it think that - alternative_has_broken_slave() could get fs with a NULL value. - - Warned-by: coverity - - utils/update-alternatives.c | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit 96d58c81919e45bad12fbe9ab4b7a295743f2614 -Author: Guillem Jover -Date: Sat May 3 03:48:01 2014 +0200 - - u-a: Fix TOCTOU race in rename_mv() - - This does not have any security implications, but it makes the code - more robust. - - Warned-by: coverity - - debian/changelog | 1 + - utils/update-alternatives.c | 22 +++++++++------------- - 2 files changed, 10 insertions(+), 13 deletions(-) - -commit ec7488184f4065911171d22a3fafd60155dd7cc3 -Author: Guillem Jover -Date: Sat May 3 03:39:02 2014 +0200 - - u-a: Fix TOCTOU race when loading an alternative - - This does not have any security implications, but it makes the code - more robust. - - Warned-by: coverity - - debian/changelog | 2 ++ - utils/update-alternatives.c | 21 ++++++++++----------- - 2 files changed, 12 insertions(+), 11 deletions(-) - -commit 4f8369c744c345f99baa6145ce7eef48fe078928 -Author: Guillem Jover -Date: Sat May 3 03:59:54 2014 +0200 - - libdpkg: Fix TOCTOU race in triggers database loading - - This is not security sensitive. - - Warned-by: coverity - - debian/changelog | 1 + - lib/dpkg/trigdeferred.l | 27 +++++++++++++-------------- - 2 files changed, 14 insertions(+), 14 deletions(-) - -commit d8f78de9b0431470673409f9bffaa7fcffca7c49 -Author: Guillem Jover -Date: Thu May 1 04:04:42 2014 +0200 - - libdpkg: Improve branch coverage for string module - - debian/changelog | 2 ++ - lib/dpkg/test/t-string.c | 23 ++++++++++++++++------- - 2 files changed, 18 insertions(+), 7 deletions(-) - -commit ded3dfed77b7fd268914e19e8081b43c9233cc05 -Author: Guillem Jover -Date: Wed Apr 30 22:32:15 2014 +0200 - - libdpkg: Fix memory leaks in buffer_copy() on error conditions - - Check for errors from subfunctions and break out of the loop to be able - to release resources. Check also for unexpected EOF only after freeing - resources, so that we don't end up leaking them. - - Warned-by: coverity - - debian/changelog | 1 + - lib/dpkg/buffer.c | 12 +++++++----- - 2 files changed, 8 insertions(+), 5 deletions(-) - -commit 9274fe071004f02dcd64eba5f40b342e40bc2fd1 -Author: Guillem Jover -Date: Sun May 11 08:11:22 2014 +0200 - - libdpkg: Swap deb name and member name in dpkg_ar_member_get_size() - - Otherwise we might perform an out of bounds buffer read access in the - error output on bogus member sizes. - - debian/changelog | 2 ++ - lib/dpkg/ar.c | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit df4f36e172b43bdb2336ba5a2747da439f1fc09d -Author: Guillem Jover -Date: Thu May 15 08:37:15 2014 +0200 - - libdpkg: Make dpkg_locales_init() a public symbol - - lib/dpkg/libdpkg.map | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 4149d109d6eb75ec256c9f940d3f5e867b5e6524 -Author: Guillem Jover -Date: Mon May 12 20:23:26 2014 +0200 - - libdpkg: Add missing dpkg_program_ symbols to the version script - - lib/dpkg/libdpkg.map | 4 ++++ - 1 file changed, 4 insertions(+) - -commit 42f8e27790df66a088f21f357c449be0dc6a40a5 -Author: Guillem Jover -Date: Thu May 1 03:44:33 2014 +0200 - - dselect: Fix word wrapping logic - - The switch from integer literal to boolean literals botched one of the - assignments, which was turned from 1 to false, fix that now, and stop - turning parts of the code path dead. - - Regression introduced in commit cf21cccb98bdb31a84bbe1aa1217c712b47aedd2. - - Warned-by: coverity - - debian/changelog | 1 + - dselect/baselist.cc | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 93a8d7423561f90559a00a760945e529a5e6e414 -Author: Guillem Jover -Date: Mon May 12 07:33:56 2014 +0200 - - build: Switch to use libtool for the static libraries - - This makes it possible to embed libcompat inside libdpkg, so that the - static library that we ship is self contained with the required - compatibility code, specifically the MD5 functions. - - This also prepares the build system for when we start building a - shared library, although it disables it by default. - - Closes: #746122 - - .gitignore | 4 ++++ - README | 1 + - configure.ac | 8 +++++++- - debian/changelog | 5 +++++ - dpkg-deb/Makefile.am | 3 +-- - dpkg-split/Makefile.am | 3 +-- - dselect/Makefile.am | 3 +-- - lib/compat/Makefile.am | 30 +++++++++++++++--------------- - lib/dpkg/Makefile.am | 19 +++++++++++++++++-- - lib/dpkg/test/Makefile.am | 3 +-- - m4/dpkg-build.m4 | 11 ++++++++++- - m4/dpkg-linker.m4 | 20 ++++++++++++++++++++ - src/Makefile.am | 3 +-- - utils/Makefile.am | 4 ++-- - 14 files changed, 86 insertions(+), 31 deletions(-) - -commit 3fb93b089cd890aadc043c79c7926682b23392bf -Author: Guillem Jover -Date: Sun May 4 19:56:53 2014 +0200 - - build: Fix lcov-inject to consider different coverage percentages - - The current code was not taking into account the different coverage - ranges, with their different colors, and different images for the - completion bar. Refactor the code into functions, while we are at it. - - doc/lcov-inject | 61 ++++++++++++++++++++++++++++++++++++++++++--------------- - 1 file changed, 45 insertions(+), 16 deletions(-) - -commit acd884519b4c4aae38ef37e26fe14cbffe2b4f78 -Author: Guillem Jover -Date: Thu May 1 21:44:10 2014 +0200 - - build: Do not use lcov-inject first argument as target directory - - All arguments are files to modify. - - doc/lcov-inject | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit b75d9bce9d03acbfd80ffd3eefafabcfbc07c454 -Author: Raphaël Hertzog -Date: Tue May 6 10:25:53 2014 +0200 - - dpkg-source: unpack additional tarballs in a deterministic order - - Reported-by: Samuel Bronson - Closes: #747148 - - debian/changelog | 4 ++++ - scripts/Dpkg/Source/Package/V2.pm | 2 +- - 2 files changed, 5 insertions(+), 1 deletion(-) - -commit 3fd7a23c09505bd4cd54b8439219d6a2fd0610d8 (pu/dselect-method-sh-to-perl) -Author: Helge Kreutzmann -Date: Wed Apr 30 21:06:59 2014 +0200 - - Update German translation of manual pages - - Update to 2243t. - - debian/changelog | 3 +- - man/po/de.po | 89 ++++++++++++++++++++++++++++---------------------------- - 2 files changed, 46 insertions(+), 46 deletions(-) - -commit 9c356290ddb3d9d807899bb951c02e4c19b853c1 -Author: Guillem Jover -Date: Wed Apr 30 08:56:43 2014 +0200 - - Bump version to 1.17.10 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 8c0c62688da4faa66acad269532ebbe6d50bd95f (tag: 1.17.9) -Author: Guillem Jover -Date: Wed Apr 30 05:46:12 2014 +0200 - - Release 1.17.9 - - debian/changelog | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 1759ec117f0eb067677010ee7f6d27784e5fadd1 -Author: Guillem Jover -Date: Wed Apr 30 05:55:24 2014 +0200 - - Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 26 +++--- - dselect/po/ca.po | 26 +++--- - dselect/po/cs.po | 26 +++--- - dselect/po/da.po | 26 +++--- - dselect/po/de.po | 26 +++--- - dselect/po/dselect.pot | 28 +++--- - dselect/po/el.po | 26 +++--- - dselect/po/es.po | 26 +++--- - dselect/po/et.po | 26 +++--- - dselect/po/eu.po | 26 +++--- - dselect/po/fr.po | 26 +++--- - dselect/po/gl.po | 26 +++--- - dselect/po/hu.po | 26 +++--- - dselect/po/id.po | 26 +++--- - dselect/po/it.po | 26 +++--- - dselect/po/ja.po | 26 +++--- - dselect/po/ko.po | 26 +++--- - dselect/po/nb.po | 26 +++--- - dselect/po/nl.po | 26 +++--- - dselect/po/nn.po | 26 +++--- - dselect/po/pl.po | 26 +++--- - dselect/po/pt.po | 26 +++--- - dselect/po/pt_BR.po | 26 +++--- - dselect/po/ro.po | 26 +++--- - dselect/po/ru.po | 26 +++--- - dselect/po/sk.po | 26 +++--- - dselect/po/sv.po | 26 +++--- - dselect/po/tl.po | 26 +++--- - dselect/po/vi.po | 26 +++--- - dselect/po/zh_CN.po | 26 +++--- - dselect/po/zh_TW.po | 26 +++--- - man/po/dpkg-man.pot | 4 +- - po/ast.po | 222 +++++++++++++++++++++++------------------------ - po/bs.po | 222 +++++++++++++++++++++++------------------------ - po/ca.po | 222 +++++++++++++++++++++++------------------------ - po/cs.po | 222 +++++++++++++++++++++++------------------------ - po/da.po | 222 +++++++++++++++++++++++------------------------ - po/de.po | 222 +++++++++++++++++++++++------------------------ - po/dpkg.pot | 224 ++++++++++++++++++++++++------------------------ - po/dz.po | 222 +++++++++++++++++++++++------------------------ - po/el.po | 222 +++++++++++++++++++++++------------------------ - po/eo.po | 222 +++++++++++++++++++++++------------------------ - po/es.po | 222 +++++++++++++++++++++++------------------------ - po/et.po | 222 +++++++++++++++++++++++------------------------ - po/eu.po | 222 +++++++++++++++++++++++------------------------ - po/fr.po | 222 +++++++++++++++++++++++------------------------ - po/gl.po | 222 +++++++++++++++++++++++------------------------ - po/hu.po | 222 +++++++++++++++++++++++------------------------ - po/id.po | 222 +++++++++++++++++++++++------------------------ - po/it.po | 222 +++++++++++++++++++++++------------------------ - po/ja.po | 222 +++++++++++++++++++++++------------------------ - po/km.po | 222 +++++++++++++++++++++++------------------------ - po/ko.po | 222 +++++++++++++++++++++++------------------------ - po/ku.po | 222 +++++++++++++++++++++++------------------------ - po/lt.po | 222 +++++++++++++++++++++++------------------------ - po/mr.po | 222 +++++++++++++++++++++++------------------------ - po/nb.po | 222 +++++++++++++++++++++++------------------------ - po/ne.po | 222 +++++++++++++++++++++++------------------------ - po/nl.po | 222 +++++++++++++++++++++++------------------------ - po/nn.po | 222 +++++++++++++++++++++++------------------------ - po/pa.po | 222 +++++++++++++++++++++++------------------------ - po/pl.po | 222 +++++++++++++++++++++++------------------------ - po/pt.po | 222 +++++++++++++++++++++++------------------------ - po/pt_BR.po | 222 +++++++++++++++++++++++------------------------ - po/ro.po | 222 +++++++++++++++++++++++------------------------ - po/ru.po | 222 +++++++++++++++++++++++------------------------ - po/sk.po | 222 +++++++++++++++++++++++------------------------ - po/sv.po | 222 +++++++++++++++++++++++------------------------ - po/th.po | 222 +++++++++++++++++++++++------------------------ - po/tl.po | 222 +++++++++++++++++++++++------------------------ - po/vi.po | 222 +++++++++++++++++++++++------------------------ - po/zh_CN.po | 222 +++++++++++++++++++++++------------------------ - po/zh_TW.po | 222 +++++++++++++++++++++++------------------------ - scripts/po/ca.po | 72 ++++++++-------- - scripts/po/de.po | 77 +++++++++-------- - scripts/po/dpkg-dev.pot | 69 +++++++-------- - scripts/po/es.po | 74 ++++++++-------- - scripts/po/fr.po | 74 ++++++++-------- - scripts/po/pl.po | 73 ++++++++-------- - scripts/po/ru.po | 73 ++++++++-------- - scripts/po/sv.po | 73 ++++++++-------- - 81 files changed, 5247 insertions(+), 5254 deletions(-) - -commit 5daf50d5e45aece8b2acf5688f234cca49bc33c7 -Author: Guillem Jover -Date: Wed Apr 30 05:40:33 2014 +0200 - - build: Make test suite errors fatal again - - We need to check in the aggregated results if any test had any problem, - and die accordingly. - - Regression introduced in commit 34b26c7db232b300991df5fb6f52707b381df28f. - - Closes: #746331 - - check.am | 3 ++- - debian/changelog | 1 + - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 8cd7aa2c68ed1648cd517c4e724eab8f1b6eebdc -Author: Guillem Jover -Date: Wed Apr 30 05:35:39 2014 +0200 - - libdpkg: Mark the command_get_pager() tests on a tty as TODO - - The build daemon environment does not expose a controlling terminal. - Mark these as possibly failing and as such non-fatal. - - debian/changelog | 2 ++ - lib/dpkg/test/t-command.c | 18 ++++++++++-------- - 2 files changed, 12 insertions(+), 8 deletions(-) - -commit 00e2aadcdc9d86655963df13068afd85eca2ed83 -Author: Guillem Jover -Date: Mon Apr 28 22:15:58 2014 +0200 - - s-s-d: Fix off-by-one stack buffer overrun on GNU/Linux and GNU/kFreeBSD - - This might happen if the executable pathname is longer than - _POSIX_PATH_MAX. Although this should not have security implications - as the buffer is surrounded by two arrays (so those catch accesses - even if the stack grows up or down), and we are compiling with - -fstack-protector anyway. - - We just need to always leave room for the final NUL character. - - Warned-by: coverity - - debian/changelog | 5 +++++ - utils/start-stop-daemon.c | 4 ++-- - 2 files changed, 7 insertions(+), 2 deletions(-) - -commit 2579acce1f6add74150790e806d859c3f3f8d362 -Author: Guillem Jover -Date: Mon Apr 28 22:07:29 2014 +0200 - - u-a: Fix memory leaks in alternative_parse_fileset() - - Free prio_str and master_file. - - Warned-by: coverity - - debian/changelog | 1 + - utils/update-alternatives.c | 4 ++++ - 2 files changed, 5 insertions(+) - -commit 00e3728ddb52b98d20d2f4ee789f9d55898b1781 -Author: Guillem Jover -Date: Tue Apr 29 03:12:21 2014 +0200 - - dselect: Assign desc->desc instead of checking if desc is not nullptr - - If we've not found any description we end up in the sentinel entry that - contains nullptr for desc->action and desc->desc, but definitely not - nullptr for desc. Just assigning desc->desc will do the right thing. - - Warned-by: coverity - - dselect/bindings.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3df20bdb86cb217ee55c12c8f2277f3af787bf71 -Author: Guillem Jover -Date: Mon Apr 28 21:44:17 2014 +0200 - - dselect: Fix memory leak in set_color() - - Warned-by: coverity - - debian/changelog | 1 + - dselect/main.cc | 2 ++ - 2 files changed, 3 insertions(+) - -commit a94d04a1927a28987f3163e707c651d4b4350a73 -Author: Guillem Jover -Date: Mon Apr 28 21:34:53 2014 +0200 - - dselect: Do not leak keybindings from describenext() - - The code affected is currently unused. - - Warned-by: coverity - - debian/changelog | 1 + - dselect/baselist.cc | 1 + - 2 files changed, 2 insertions(+) - -commit 3c05293dac0e485b8042cbdef82f3369fb751595 -Author: Guillem Jover -Date: Mon Apr 28 21:20:16 2014 +0200 - - dpkg-split: Fix short lived memory leaks in mksplit() - - Warned-by: coverity - - debian/changelog | 1 + - dpkg-split/split.c | 4 ++++ - 2 files changed, 5 insertions(+) - -commit dd0ec1036fb5fdf8b0462edf357d72d491b3c8aa -Author: Guillem Jover -Date: Tue Apr 29 03:02:08 2014 +0200 - - dpkg: Annotate case statements that fall through with a comment - - Be explicit, so that code readers or static analyzers do not get - confused. - - Warned-by: coverity - - src/configure.c | 1 + - src/packages.c | 1 + - 2 files changed, 2 insertions(+) - -commit b6788715227adb30ba41b5a049d1cbfb9e3ff1d7 -Author: Guillem Jover -Date: Mon Apr 28 21:54:52 2014 +0200 - - dpkg: Do not leak the filepackages_iterator in dir_is_used_by_others() - - Warned-by: coverity - - debian/changelog | 2 ++ - src/help.c | 1 + - 2 files changed, 3 insertions(+) - -commit 055717db09c9b6de7bf3cd9e12fd579d8002e565 -Author: Guillem Jover -Date: Mon Apr 28 20:48:14 2014 +0200 - - libdpkg: Do not leak long tar names on bogus tar archives - - Make sure we free the long names, in case of a bogus or truncated - tar archive with long entries not followed by a normal entry. - - Warned-by: coverity - - debian/changelog | 1 + - lib/dpkg/tarfn.c | 4 ++++ - 2 files changed, 5 insertions(+) - -commit 99e299736daf81e9ffcf9d40cdc5085748c6dfbe -Author: Guillem Jover -Date: Tue Apr 29 06:36:44 2014 +0200 - - libcompat: Make sure P_tmpdir is always defined - - This will guarantee the macro constant is always defined, which allows - us to remove an equivalent code branch, which in normal conditions is - dead code. - - As a side effect this unconfuses static code analyzers like cppcheck or - coverity. - - configure.ac | 1 + - lib/compat/compat.h | 4 ++++ - lib/dpkg/path.c | 4 ---- - 3 files changed, 5 insertions(+), 4 deletions(-) - -commit 6f2a7a736c0c2873c3415c1cd1eb8b5c7c42c4b5 -Author: Guillem Jover -Date: Tue Apr 29 14:51:54 2014 +0200 - - debian: Switch alternative database backups from xz to gzip - - Switch the alternatives database backups from xz to gzip, as the latter - is Essential and we can rely on it being always present, using xz here - is not worth the trouble, disk space savings, or possible additional - dependencies. - - Closes: #746354 - - debian/changelog | 1 + - debian/dpkg.cron.daily | 14 +++++++++++++- - 2 files changed, 14 insertions(+), 1 deletion(-) - -commit a12eb58959d0a10584a428f4a3103a49204c410f -Author: Guillem Jover -Date: Wed Apr 30 02:28:45 2014 +0200 - - Dpkg::Source::Patch: Outright reject C-style filenames in patches - - Because patch only started recognizing C-style filenames in diffs - in version 2.7, it's not safe to assume one behaviour or the other, - as the system might or might not have a recent enough version, or - a GNU patch program at all. There's also no reason we should be - supporting this kind of strange encoded filenames in patches, when - we have not done so up to now. - - Let's just ban these types of diffs and be done with it. - - Fixes: CVE-2014-0471 - Closes: #746306 - - debian/changelog | 4 ++++ - scripts/Dpkg/Source/Patch.pm | 32 +------------------------------- - 2 files changed, 5 insertions(+), 31 deletions(-) - -commit 1c7de0bd723f701ac4e38579ac2e92e65fb98f11 -Author: Steve Petruzzello -Date: Wed Apr 30 03:19:10 2014 +0200 - - Update French scripts translation - - Closes: #746350 - - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - scripts/po/fr.po | 653 +++++++++++++++++++------------------------------------ - 2 files changed, 225 insertions(+), 429 deletions(-) - -commit f2b80a0c3d3224525e12210ae8f4cb6bf38352d7 -Author: Helge Kreutzmann -Date: Tue Apr 29 21:35:41 2014 +0200 - - Fix debian/changelog formatting - - debian/changelog | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9260ba126c7f27e45e414fa84e3657413f378d87 -Author: Helge Kreutzmann -Date: Tue Apr 29 21:34:34 2014 +0200 - - Update German translation of manual pages - - Update to 2234t4f5u. - - debian/changelog | 5 +- - man/po/de.po | 195 ++++++++++++++----------------------------------------- - 2 files changed, 51 insertions(+), 149 deletions(-) - -commit 56d84eb9549fe6b31355d6eb6bdc70aad774929c -Author: Helge Kreutzmann -Date: Mon Apr 28 21:07:42 2014 +0200 - - Update German scripts translation - - Update to 541t. - - debian/changelog | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 9caa9005a50fed01881409833fcddd3292f0ae11 -Author: Helge Kreutzmann -Date: Mon Apr 28 19:57:26 2014 +0200 - - Update German scripts translation - - Update to 541t. - - scripts/po/de.po | 21 +++++++++------------ - 1 file changed, 9 insertions(+), 12 deletions(-) - -commit 7dc7e3244230ceb6731f66baa74a70029a878a28 -Author: Guillem Jover -Date: Mon Apr 28 15:41:58 2014 +0200 - - Bump version to 1.17.9 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit c9feb7a20b04f9fd05fe8c268b31dee4f5f7c11d (tag: 1.17.8) -Author: Guillem Jover -Date: Mon Apr 28 13:33:26 2014 +0200 - - Release 1.17.8 - - debian/changelog | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 98b7dea7bfef4bab01d9377f19767860f4ca0d06 -Author: Guillem Jover -Date: Mon Apr 28 14:55:28 2014 +0200 - - Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 2 +- - dselect/po/ca.po | 2 +- - dselect/po/cs.po | 2 +- - dselect/po/da.po | 2 +- - dselect/po/de.po | 2 +- - dselect/po/dselect.pot | 4 +- - dselect/po/el.po | 2 +- - dselect/po/es.po | 2 +- - dselect/po/et.po | 2 +- - dselect/po/eu.po | 2 +- - dselect/po/fr.po | 2 +- - dselect/po/gl.po | 2 +- - dselect/po/hu.po | 2 +- - dselect/po/id.po | 2 +- - dselect/po/it.po | 2 +- - dselect/po/ja.po | 2 +- - dselect/po/ko.po | 2 +- - dselect/po/nb.po | 2 +- - dselect/po/nl.po | 2 +- - dselect/po/nn.po | 2 +- - dselect/po/pl.po | 2 +- - dselect/po/pt.po | 2 +- - dselect/po/pt_BR.po | 2 +- - dselect/po/ro.po | 2 +- - dselect/po/ru.po | 2 +- - dselect/po/sk.po | 2 +- - dselect/po/sv.po | 2 +- - dselect/po/tl.po | 2 +- - dselect/po/vi.po | 2 +- - dselect/po/zh_CN.po | 2 +- - dselect/po/zh_TW.po | 2 +- - man/po/de.po | 1187 ++++++++++++++++++++++++++--------------------- - man/po/dpkg-man.pot | 1087 +++++++++++++++++++++++-------------------- - man/po/es.po | 1150 ++++++++++++++++++++++++--------------------- - man/po/fr.po | 1150 ++++++++++++++++++++++++--------------------- - man/po/hu.po | 1100 +++++++++++++++++++++++-------------------- - man/po/it.po | 1134 +++++++++++++++++++++++--------------------- - man/po/ja.po | 1150 ++++++++++++++++++++++++--------------------- - man/po/pl.po | 1150 ++++++++++++++++++++++++--------------------- - man/po/pt_BR.po | 1097 +++++++++++++++++++++++-------------------- - man/po/ru.po | 1099 +++++++++++++++++++++++-------------------- - man/po/sv.po | 1179 +++++++++++++++++++++++++--------------------- - po/ast.po | 24 +- - po/bs.po | 24 +- - po/ca.po | 24 +- - po/cs.po | 24 +- - po/da.po | 24 +- - po/de.po | 2 +- - po/dpkg.pot | 26 +- - po/dz.po | 24 +- - po/el.po | 24 +- - po/eo.po | 24 +- - po/es.po | 24 +- - po/et.po | 24 +- - po/eu.po | 24 +- - po/fr.po | 24 +- - po/gl.po | 24 +- - po/hu.po | 24 +- - po/id.po | 24 +- - po/it.po | 24 +- - po/ja.po | 24 +- - po/km.po | 24 +- - po/ko.po | 24 +- - po/ku.po | 24 +- - po/lt.po | 24 +- - po/mr.po | 24 +- - po/nb.po | 24 +- - po/ne.po | 24 +- - po/nl.po | 24 +- - po/nn.po | 24 +- - po/pa.po | 24 +- - po/pl.po | 24 +- - po/pt.po | 24 +- - po/pt_BR.po | 24 +- - po/ro.po | 24 +- - po/ru.po | 2 +- - po/sk.po | 24 +- - po/sv.po | 24 +- - po/th.po | 24 +- - po/tl.po | 24 +- - po/vi.po | 63 +-- - po/zh_CN.po | 24 +- - po/zh_TW.po | 24 +- - scripts/po/ca.po | 68 +-- - scripts/po/de.po | 73 +-- - scripts/po/dpkg-dev.pot | 70 +-- - scripts/po/es.po | 70 +-- - scripts/po/fr.po | 70 +-- - scripts/po/pl.po | 70 +-- - scripts/po/ru.po | 70 +-- - scripts/po/sv.po | 73 +-- - 91 files changed, 7595 insertions(+), 6497 deletions(-) - -commit a82651188476841d190c58693f95827d61959b51 -Author: Guillem Jover -Date: Tue Apr 15 08:15:44 2014 +0200 - - Dpkg::Source::Patch: Correctly parse C-style diff filenames - - We need to strip the surrounding quotes, and unescape any escape - sequence, so that we check the same files that the patch program will - be using, otherwise a malicious package could overpass those checks, - and perform directory traversal attacks on source package unpacking. - - Fixes: CVE-2014-0471 - - Reported-by: Jakub Wilk - - debian/changelog | 3 +++ - scripts/Dpkg/Source/Patch.pm | 59 ++++++++++++++++++++++++++++++++++++-------- - 2 files changed, 52 insertions(+), 10 deletions(-) - -commit d4dfad8cff69c245516abc570d0bba1f614c1443 -Author: Guillem Jover -Date: Mon Apr 28 06:24:46 2014 +0200 - - build: Enable failed test case reporting from the TAP::Harness - - Set the «failures» argument for the harness, so that we can get the - failing test case entries, particularly important for the C test suite, - as perl will not report a line number for those. - - check.am | 1 + - debian/changelog | 2 ++ - 2 files changed, 3 insertions(+) - -commit b029a83ea643d1b0893dd6946604d10dd11eff4e -Author: Guillem Jover -Date: Sun Apr 27 04:51:08 2014 +0200 - - build: Use the perl TAP::Harness for the C test suite - - The automake TAP driver only appeared once the parallel test runner - allowed custom drivers after 1.11, which we were not requesting in - the AM_INIT_AUTOMAKE call. - - But simply requesting a later version is not good enough, as Debian - stable (wheezy) is still only shipping automake 1.11. Instead just switch - to use the perl TAP::Harness infrastructure for the C test suite too. - - Regression introduced in commit d9833ac0b6b66e9dfaff272f6d0a25373bfff091. - - configure.ac | 1 - - debian/changelog | 3 +++ - lib/dpkg/test/Makefile.am | 7 +++++-- - 3 files changed, 8 insertions(+), 3 deletions(-) - -commit 1f73ec4ecbac379558ffbef60f827782826b9539 -Author: Guillem Jover -Date: Mon Apr 28 14:11:48 2014 +0200 - - build: Add new TEST_PREFIX variable to control test case execution paths - - This is required as the perl test cases are in srcdir, but C based test - cases are going to be in builddir. - - check.am | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -commit 34b26c7db232b300991df5fb6f52707b381df28f -Author: Guillem Jover -Date: Mon Apr 28 06:24:46 2014 +0200 - - build: Switch test runner from Test::Harness to TAP::Harness - - The latter is the recommended module for new code, the former being just - a compatibility wrapper around it. And it will allow to set more detailed - options for the harness that are not exposed through the Test::Harness - wrapper. - - We use a make variable instead of inlining the perl code in the make - recipe due to the way make escapes backslashes inside single-quotes - in recipes, which disturbs the semantics of the perl code. - - check.am | 14 ++++++++++---- - debian/changelog | 1 + - 2 files changed, 11 insertions(+), 4 deletions(-) - -commit 15c4eb9f7223dcc309b46ba89b2b3081e2f9a2a7 -Author: Guillem Jover -Date: Mon Apr 28 13:02:15 2014 +0200 - - dpkg(1): Improve wording for --verify and --verify-format - - Closes: #733057 - - debian/changelog | 2 ++ - man/dpkg.1 | 22 +++++++++++++--------- - 2 files changed, 15 insertions(+), 9 deletions(-) - -commit deeb5efc57607b02703d145a1a74bba502cbc0e6 -Author: Guillem Jover -Date: Mon Apr 28 07:32:55 2014 +0200 - - dpkg-maintscript-helper: Document environment requirements for supports - - Closes: #739634 - - debian/changelog | 2 ++ - man/dpkg-maintscript-helper.1 | 9 ++++++++- - 2 files changed, 10 insertions(+), 1 deletion(-) - -commit 2408a8d606ac5463070abe892c750050e4e44019 -Author: Trần Ngọc Quân -Date: Mon Apr 28 09:15:52 2014 +0700 - - Update and review Vietnamese program translations - - Signed-off-by: Trần Ngọc Quân - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/vi.po | 58 ++++++++++++++++++++++++++++---------------------------- - 2 files changed, 30 insertions(+), 29 deletions(-) - -commit a5046e81f3b7bbfa252253b54f186c65cbe3cdf0 -Author: Sven Joachim -Date: Sun Apr 27 14:42:02 2014 +0200 - - German dpkg translation update - - Update to 1088t2u. - - debian/changelog | 1 + - po/de.po | 86 ++++++++++++++++---------------------------------------- - 2 files changed, 25 insertions(+), 62 deletions(-) - -commit 151d6965f8807101f86aceddebd2262e241c6c8b -Author: Yuri Kozlov -Date: Sun Apr 27 02:51:37 2014 +0200 - - Update Russian program translations - - Closes: #745869 - - Signed-off-by: Guillem Jover - - debian/changelog | 4 + - po/ru.po | 584 ++++++++++++++++++------------------------------------- - 2 files changed, 189 insertions(+), 399 deletions(-) - -commit 85a8d37cc4d02a405785aded7ef911bcd326ac22 -Author: Guillem Jover -Date: Tue Apr 22 10:37:37 2014 +0200 - - libcompat: Fix comparison between signed and unsigned in strsignal() - - lib/compat/strsignal.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit d73c292dab981991d73bb3678b0ee13f664c869a -Author: Guillem Jover -Date: Thu Apr 24 16:18:06 2014 +0200 - - libcompat: Declare strnlen() prototype in compat.h - - Remove now unused strnlen.h header. - - lib/compat/Makefile.am | 2 +- - lib/compat/compat.h | 6 ++++-- - lib/compat/strnlen.c | 2 +- - lib/compat/strnlen.h | 32 -------------------------------- - 4 files changed, 6 insertions(+), 36 deletions(-) - -commit efc8feeb9a995a3cfa97a6428921e4c6820a48ce -Author: Guillem Jover -Date: Tue Apr 22 10:10:17 2014 +0200 - - libdpkg: Add missing header - - These are currently shadowed by the inclusion from - . - - lib/dpkg/error.c | 1 + - lib/dpkg/namevalue.c | 1 + - lib/dpkg/trignote.c | 2 ++ - lib/dpkg/varbuf.h | 1 + - 4 files changed, 5 insertions(+) - -commit 5a20d9d36d7db0a17def3515c0da7de4e03906a1 -Author: Guillem Jover -Date: Sat Apr 26 15:32:04 2014 +0200 - - libdpkg: Add test cases for str_is_set() and str_is_unset() - - lib/dpkg/test/t-string.c | 17 ++++++++++++++++- - 1 file changed, 16 insertions(+), 1 deletion(-) - -commit d3df3e21d58249722fcfe63aaa47fad0878a680d -Author: Guillem Jover -Date: Sat Apr 26 03:15:16 2014 +0200 - - libdpkg: Add test cases for dpkg_error functions - - lib/dpkg/test/.gitignore | 1 + - lib/dpkg/test/Makefile.am | 1 + - lib/dpkg/test/t-error.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 84 insertions(+) - -commit c2fbf5fc71f92553fbeebcedbe80d0d61b70db24 -Author: Guillem Jover -Date: Sat Apr 26 03:12:56 2014 +0200 - - libdpkg: Use new DPKG_VERSION_OBJECT instead of local version macro - - Use the new macro instead of the local one with a generic and - ambiguous name. - - lib/dpkg/test/t-version.c | 71 +++++++++++++++++++++++------------------------ - 1 file changed, 34 insertions(+), 37 deletions(-) - -commit ef88152dc868f3ea7962448bd729e70c4ca08ff6 -Author: Guillem Jover -Date: Sat Apr 26 03:12:56 2014 +0200 - - libdpkg: Add new DPKG_VERSION_OBJECT macro - - lib/dpkg/version.h | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit e231f923b771285f20bfc8825e8cfe179ab97847 -Author: Guillem Jover -Date: Sat Apr 26 03:11:59 2014 +0200 - - libdpkg: Move test_warn() and test_error() to dpkg/test.h - - These are generic test macros that can be reused by other test cases. - - lib/dpkg/test.h | 12 ++++++++++++ - lib/dpkg/test/t-version.c | 11 ----------- - 2 files changed, 12 insertions(+), 11 deletions(-) - -commit 1a27a761f5630b845ad0155760294e448b417517 -Author: Guillem Jover -Date: Sat Apr 26 15:39:46 2014 +0200 - - libdpkg: Handle space-only strings when parsing versions - - Consider these empty strings too. - - debian/changelog | 1 + - lib/dpkg/parsehelp.c | 7 ++++--- - lib/dpkg/test/t-version.c | 4 +++- - 3 files changed, 8 insertions(+), 4 deletions(-) - -commit cb9a0d64081b5aa3741c78556f83a86eb16c3df6 -Author: Guillem Jover -Date: Fri Apr 25 20:11:18 2014 +0200 - - libdpkg: Add test cases for parseversion() branch coverage - - lib/dpkg/test/t-version.c | 19 ++++++++++++++++++- - 1 file changed, 18 insertions(+), 1 deletion(-) - -commit 095464713625ed3e499ab1a0c146905fbb79786c -Author: Guillem Jover -Date: Thu Apr 24 03:05:12 2014 +0200 - - libdpkg: Add test cases for dpkg_ar_member_is_illegal() - - lib/dpkg/test/t-ar.c | 15 ++++++++++++++- - 1 file changed, 14 insertions(+), 1 deletion(-) - -commit fceb4381db95c250598498fae7eb4e785b7c6d10 -Author: Guillem Jover -Date: Thu Apr 24 02:53:21 2014 +0200 - - libdpkg: Add test cases for unmatched str_match_end() - - lib/dpkg/test/t-string.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit f1db062ae39da54475fe29122fddf61c9b8bd721 -Author: Guillem Jover -Date: Thu Apr 24 02:52:56 2014 +0200 - - libdpkg: Add test cases for growing command argv - - lib/dpkg/test/t-command.c | 24 +++++++++++++++++++++++- - 1 file changed, 23 insertions(+), 1 deletion(-) - -commit a666682166c712b8b434b009206e658d99c5627c -Author: Guillem Jover -Date: Thu Apr 24 02:37:11 2014 +0200 - - libdpkg: Add test cases for command_get_pager() - - lib/dpkg/test/t-command.c | 41 ++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 40 insertions(+), 1 deletion(-) - -commit f7b96f72e5f495858ba1afb1221f580aa9ba7a73 -Author: Guillem Jover -Date: Thu Apr 24 02:18:39 2014 +0200 - - libdpkg: Add test cases for dpkg_arch_describe() - - debian/changelog | 1 + - lib/dpkg/test/t-arch.c | 24 +++++++++++++++++++++++- - 2 files changed, 24 insertions(+), 1 deletion(-) - -commit 3c1044570cb188dd7d32245a27e4c944db97baf9 -Author: Guillem Jover -Date: Thu Apr 24 03:36:39 2014 +0200 - - Dpkg::Vendor: Add test cases for get_vendor_dir() - - scripts/t/Dpkg_Vendor.t | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -commit b253ce5a1c7741dd46929fddab69c5a27677c888 -Author: Guillem Jover -Date: Thu Apr 24 03:36:18 2014 +0200 - - Dpkg::Deps: Add test cases for deps_concat() - - scripts/t/Dpkg_Deps.t | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -commit 757999904994ce29b4e13615d3c6b1502e85d84a -Author: Guillem Jover -Date: Thu Apr 24 03:22:57 2014 +0200 - - Dpkg::Dist:Files: Add test cases for get_file() - - debian/changelog | 2 ++ - scripts/t/Dpkg_Dist_Files.t | 14 +++++++++++--- - 2 files changed, 13 insertions(+), 3 deletions(-) - -commit f87633813519bcce2f7ef0f573a55d436382a6e8 -Author: Guillem Jover -Date: Fri Apr 25 03:26:55 2014 +0200 - - build: Add project version to the C code coverage report - - Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 165921053e1a4f74290849843588dda4ab099116 -Author: Guillem Jover -Date: Fri Apr 25 03:25:10 2014 +0200 - - build: Stop using a local lcov-prolog template - - Newer lcov versions already produce UTF-8 encoded output, so there's no - need to use our local html prolog. - - Ref: #590562 - - Makefile.am | 2 -- - doc/lcov-prolog | 8 -------- - 2 files changed, 10 deletions(-) - -commit ef1e51a9a2ec51a6a5e603bfeae84c10b9cf53c9 -Author: Guillem Jover -Date: Fri Apr 25 03:19:53 2014 +0200 - - build: Remove top_builddir value from Perl coverage report - - Do not expose the builddir in the html output. - - scripts/Makefile.am | 3 +++ - 1 file changed, 3 insertions(+) - -commit 8dcb3372f43444dd08095ec55c0e82bf84974719 -Author: Guillem Jover -Date: Fri Apr 25 03:16:38 2014 +0200 - - build: Inject a Perl coverage index entry into the lcov report - - Add correct summary values, create a percentage bar, and remove the - lcov-epilog template, which was being inserted in every and each - generated lcov html file, not just the indices. - - The injection should be considered fragile, as it depends on the input - report not changing its structure. But this is no worse than using the - local prolog and epilog html templates. - - Makefile.am | 11 +++++++-- - doc/lcov-epilog | 8 ------- - doc/lcov-inject | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 79 insertions(+), 10 deletions(-) - -commit 54c36750fefd670885d161716b08f2cf1a662e61 -Author: Guillem Jover -Date: Fri Apr 25 01:31:44 2014 +0200 - - build: Enable back lcov branch coverage - - This got disabled by default starting with lcov 1.10, enable it back - to get the full coverage report. - - Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit abf7e757c1fc9c8e12fd1b4546ddc7ff64f394cb -Author: Guillem Jover -Date: Fri Apr 25 01:30:37 2014 +0200 - - build: Use LCOV_OPTS in all lcov related invocations - - Switch from --checksum to --rc geninfo_checksum=1 so that it can be - passed to all commands, even the ones that do not recognize --checksum. - - Makefile.am | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit 3d42412b38d52baf48f07c18b616b2ff51cddbce -Author: Guillem Jover -Date: Fri Apr 25 01:19:29 2014 +0200 - - build: Use --coverage instead of -fprofile-arcs and -ftest-coverage - - Noticed while investigating the lack of branch coverage. It appears the - option is supported for a very long time, at least since gcc 4.1.x. - - m4/dpkg-coverage.m4 | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit a1e0856703533fa3bb8f0647006714aba5c89df7 -Author: Guillem Jover -Date: Thu Apr 24 15:21:24 2014 +0200 - - build: Add descriptive titles before each coverage section - - Makefile.am | 5 +++++ - 1 file changed, 5 insertions(+) - -commit 25774c03fa79abff8af94b3f42cec5ffb34a969e -Author: Guillem Jover -Date: Thu Apr 24 15:20:35 2014 +0200 - - build: Generate a C code coverage text report on stdout - - Print a text report to stdout, like with the Perl coverage. - - Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -commit c8ea9114c5ad1b48ae1f326c826dc0be32817a25 -Author: Guillem Jover -Date: Thu Apr 24 15:18:52 2014 +0200 - - build: Use 'rm -f' instead of implicit GNU make RM variable - - Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 4bd80e698556dd74365706141537e3893d77659d -Author: Guillem Jover -Date: Sat Apr 26 17:07:18 2014 +0200 - - debian: Do not emit tar warnings from dpkg cron file - - Ref: #745592, #745651 - - debian/changelog | 2 +- - debian/dpkg.cron.daily | 5 +++-- - 2 files changed, 4 insertions(+), 3 deletions(-) - -commit fa18a297ad65d6e6eca196c7086292642203eeca -Author: Guillem Jover -Date: Sat Apr 26 17:05:58 2014 +0200 - - debian: Use a variable to track the alternatives database name - - debian/dpkg.cron.daily | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit 08a4313ff5334f8c64379315b2a301531b267c60 -Author: Guillem Jover -Date: Wed Apr 23 11:46:32 2014 +0200 - - debian: Do not backup nonexistent database files - - The arch database only exists if the user has more than one architecture - configured. - - Closes: #745592, #745651 - - debian/changelog | 3 ++- - debian/dpkg.cron.daily | 1 + - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 3b5ef6a7dc6ba1571e3acdc19e872e73c8c8c225 -Author: Guillem Jover -Date: Mon Apr 21 17:59:33 2014 +0200 - - Bump version to 1.17.8 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 3ee521be308cd0e2fe6d9d49f38d3a78d925080e (tag: 1.17.7) -Author: Guillem Jover -Date: Mon Apr 21 05:04:11 2014 +0200 - - Release 1.17.7 - - debian/changelog | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -commit 31601c1e6289b423fa9dd53fc05e39805f6c646e -Author: Guillem Jover -Date: Fri Apr 4 23:51:01 2014 +0200 - - Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 2 +- - dselect/po/ca.po | 2 +- - dselect/po/cs.po | 2 +- - dselect/po/da.po | 2 +- - dselect/po/de.po | 2 +- - dselect/po/dselect.pot | 4 +- - dselect/po/el.po | 2 +- - dselect/po/es.po | 2 +- - dselect/po/et.po | 2 +- - dselect/po/eu.po | 2 +- - dselect/po/fr.po | 2 +- - dselect/po/gl.po | 2 +- - dselect/po/hu.po | 2 +- - dselect/po/id.po | 2 +- - dselect/po/it.po | 2 +- - dselect/po/ja.po | 2 +- - dselect/po/ko.po | 2 +- - dselect/po/nb.po | 2 +- - dselect/po/nl.po | 2 +- - dselect/po/nn.po | 2 +- - dselect/po/pl.po | 2 +- - dselect/po/pt.po | 2 +- - dselect/po/pt_BR.po | 2 +- - dselect/po/ro.po | 2 +- - dselect/po/ru.po | 2 +- - dselect/po/sk.po | 2 +- - dselect/po/sv.po | 2 +- - dselect/po/tl.po | 2 +- - dselect/po/vi.po | 2 +- - dselect/po/zh_CN.po | 2 +- - dselect/po/zh_TW.po | 2 +- - man/po/de.po | 1368 +++++++++++++++++++++++++--------------------- - man/po/dpkg-man.pot | 1144 ++++++++++++++++++++------------------- - man/po/es.po | 1240 ++++++++++++++++++++++-------------------- - man/po/fr.po | 1240 ++++++++++++++++++++++-------------------- - man/po/hu.po | 1185 +++++++++++++++++++++------------------- - man/po/it.po | 1238 +++++++++++++++++++++++------------------- - man/po/ja.po | 1238 ++++++++++++++++++++++-------------------- - man/po/pl.po | 1238 ++++++++++++++++++++++-------------------- - man/po/pt_BR.po | 1181 +++++++++++++++++++++------------------- - man/po/ru.po | 1193 +++++++++++++++++++++------------------- - man/po/sv.po | 1378 ++++++++++++++++++++++++++--------------------- - po/ast.po | 220 ++++---- - po/bs.po | 216 ++++---- - po/ca.po | 223 ++++---- - po/cs.po | 223 ++++---- - po/da.po | 223 ++++---- - po/de.po | 261 +++++---- - po/dpkg.pot | 218 ++++---- - po/dz.po | 220 ++++---- - po/el.po | 220 ++++---- - po/eo.po | 223 ++++---- - po/es.po | 223 ++++---- - po/et.po | 220 ++++---- - po/eu.po | 220 ++++---- - po/fr.po | 224 ++++---- - po/gl.po | 220 ++++---- - po/hu.po | 220 ++++---- - po/id.po | 220 ++++---- - po/it.po | 225 ++++---- - po/ja.po | 223 ++++---- - po/km.po | 220 ++++---- - po/ko.po | 220 ++++---- - po/ku.po | 219 ++++---- - po/lt.po | 219 ++++---- - po/mr.po | 220 ++++---- - po/nb.po | 220 ++++---- - po/ne.po | 220 ++++---- - po/nl.po | 220 ++++---- - po/nn.po | 220 ++++---- - po/pa.po | 219 ++++---- - po/pl.po | 223 ++++---- - po/pt.po | 223 ++++---- - po/pt_BR.po | 222 ++++---- - po/ro.po | 220 ++++---- - po/ru.po | 223 ++++---- - po/sk.po | 223 ++++---- - po/sv.po | 265 +++++---- - po/th.po | 261 +++++---- - po/tl.po | 220 ++++---- - po/vi.po | 261 +++++---- - po/zh_CN.po | 220 ++++---- - po/zh_TW.po | 223 ++++---- - scripts/po/ca.po | 675 ++++++++++++----------- - scripts/po/de.po | 666 ++++++++++++----------- - scripts/po/dpkg-dev.pot | 641 +++++++++++----------- - scripts/po/es.po | 676 ++++++++++++----------- - scripts/po/fr.po | 681 ++++++++++++----------- - scripts/po/pl.po | 670 ++++++++++++----------- - scripts/po/ru.po | 670 ++++++++++++----------- - scripts/po/sv.po | 666 ++++++++++++----------- - 91 files changed, 14902 insertions(+), 13373 deletions(-) - -commit f32d4b924e1ed4b6ae0c59cd28ed91029da64d20 -Author: Guillem Jover -Date: Sun Apr 13 16:22:39 2014 +0200 - - debian: Be verbose on make check errors by printing the test suite log - - debian/changelog | 1 + - debian/rules | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit b89a125dbc0fa5d1672a140489dcc8ea7db6af00 -Author: Andreas Beckmann -Date: Sun Feb 16 23:52:10 2014 +0100 - - debian: Add Conflicts against obsolete packages using install-info in their prerm - - These packages have been removed after they were released with lenny - or squeeze, but they may survive dist-upgrades to wheezy and jessie. - - Since their prerm uses install-info they cannot be removed any longer - after installing dpkg 1.17.x and there is no upgrade path to a fixed - package version. So use Conflicts, because these packages need to be - removed (with their prerm) before a dpkg that would disallow to - subsequently remove them is upgraded. Breaks would only at most - request to deconfigure them. - - All Conflicts have the form PACKAGE (<< VERSION). If the source package - still exists, the VERSION that dropped the problematic PACKAGE was used. - Otherwise the next possible maintainer upload VERSION that could - reintroduce PACKAGE into sid was used. - - [guillem@debian.org: - - Replace Breaks with Conflicts. - - Update lintian-overrides. ] - - Closes: #735159 - - Signed-off-by: Guillem Jover - - debian/changelog | 3 +++ - debian/control | 20 ++++++++++++++++++++ - debian/dpkg.lintian-overrides | 2 ++ - 3 files changed, 25 insertions(+) - -commit c531799acff35a3605c1481028812f40b574355c -Author: Guillem Jover -Date: Sun Mar 30 05:20:44 2014 +0200 - - debian: Backup all databases with user percolated data - - We want to backup all databases that have possible user data, in case - something went wrong, or one of the databases got lost or similar. - - debian/changelog | 1 + - debian/dpkg.cron.daily | 30 +++++++++++++++++++++++++----- - 2 files changed, 26 insertions(+), 5 deletions(-) - -commit 14ba15362deea88bb1a4e571bf28e2f79dfb9aad -Author: Guillem Jover -Date: Sat Apr 5 17:03:18 2014 +0200 - - dpkg-deb: Use --no-unquote when using -T to avoid mangling filenames - - We get the filenames from find(1), so we should not be letting tar - mangle them, or it might create unexpected results. - - Closes: #743687 - - Reported-by: Niels Thykier - - debian/changelog | 2 ++ - dpkg-deb/build.c | 3 ++- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 9c049f43b8597ae6241f52aceee0647a4b2c79f3 -Author: Guillem Jover -Date: Mon Jan 13 01:48:28 2014 +0100 - - dpkg-deb: Deprecate compressing .deb files with bzip2 - - This compressor has been superseded by xz when it comes to compression - ratio, and in cases where higher compatibility or raw speed is desired - gzip is still the better option. - - Issue a warning for now for the -Zbzip2 option value, the support for - that value will get disabled at a later point. - - debian/changelog | 5 +++++ - doc/README.feature-removal-schedule | 11 +++++++++++ - dpkg-deb/main.c | 2 ++ - 3 files changed, 18 insertions(+) - -commit 15e690628d282badc1a7dd5ecf27012c5f9fefa9 -Author: Guillem Jover -Date: Wed Apr 9 08:14:52 2014 +0200 - - dpkg: On --verify error out on not-installed packages - - This makes the behaviour of this command consistent with other commands - taking package names as arguments. - - debian/changelog | 1 + - src/verify.c | 10 +++++++++- - 2 files changed, 10 insertions(+), 1 deletion(-) - -commit 97f282bc09a32d95df9596a1c6c4165c5ca4db52 -Author: Guillem Jover -Date: Thu Mar 27 20:08:13 2014 +0100 - - dpkg: Add support for loading Packages-files from pipes or stdin - - This allows loading Packages files in --update-avail and --merge-avail - from pipes, or stdin if the argument is omitted or is ‘-’. - - Closes: #357093, #367297 - - debian/changelog | 3 +++ - man/dpkg.1 | 12 +++++++++--- - src/main.c | 4 ++-- - src/update.c | 10 +++++++--- - 4 files changed, 21 insertions(+), 8 deletions(-) - -commit a26fce6a81fbe2804e9fc28de172e9a6c69d1679 -Author: Guillem Jover -Date: Thu Mar 27 20:08:13 2014 +0100 - - libdpkg: Add support for interpreting filename '-' as stdin - - Add a new flag so that the caller can request this new interpretation - explicitly w/o needing to change the semantics of the filename for the - normal case. - - lib/dpkg/dpkg-db.h | 2 ++ - lib/dpkg/parse.c | 4 ++++ - 2 files changed, 6 insertions(+) - -commit dcc9d6d7f4dd06e79b601b453570b124e1285bfe -Author: Guillem Jover -Date: Thu Mar 27 19:52:22 2014 +0100 - - libdpkg: Allow loading deb822 package stanzas from a pipe - - lib/dpkg/parse.c | 20 +++++++++++++++++--- - 1 file changed, 17 insertions(+), 3 deletions(-) - -commit 97e6268256a62927e85bf3a137fc22a111753d87 -Author: Guillem Jover -Date: Thu Mar 27 19:19:28 2014 +0100 - - libdpkg: Refactor parsedb_load() out from parsedb_open() - - And move the call to parsedb() to detangle the opening operation from - the loading one. - - lib/dpkg/parse.c | 21 +++++++++++++++------ - lib/dpkg/parsedump.h | 2 ++ - 2 files changed, 17 insertions(+), 6 deletions(-) - -commit 7d98d267c8d276e78fb2cf8a315780c7ddebb620 -Author: Guillem Jover -Date: Thu Mar 27 19:19:28 2014 +0100 - - libdpkg: Refactor parsedb_parse() out from parsedb() - - lib/dpkg/parse.c | 39 +++++++++++++++++++++++++++------------ - lib/dpkg/parsedump.h | 2 ++ - 2 files changed, 29 insertions(+), 12 deletions(-) - -commit 509b759c93deca71e8709e5d8f82514820f3d9c1 -Author: Guillem Jover -Date: Mon Apr 21 02:39:49 2014 +0200 - - libdpkg: Move parsedb descriptor closure to parsedb_close() - - Add a new parsedb flag to track if we need to close the file descriptor. - - lib/dpkg/dpkg-db.h | 2 ++ - lib/dpkg/parse.c | 14 ++++++++------ - 2 files changed, 10 insertions(+), 6 deletions(-) - -commit ef11a50ff851781a05bb49adf1d34a11192ab64e -Author: Guillem Jover -Date: Thu Mar 27 19:38:40 2014 +0100 - - libdpkg: Refactor parsedb_new() out from parsedb_open() - - lib/dpkg/parse.c | 23 ++++++++++++++++++----- - lib/dpkg/parsedump.h | 2 ++ - 2 files changed, 20 insertions(+), 5 deletions(-) - -commit a0225b5d8acbd553074373f1b90da631f35bee1a -Author: Guillem Jover -Date: Thu Mar 27 19:38:40 2014 +0100 - - libdpkg: Rename parse_close() to parsedb_close() - - lib/dpkg/parse.c | 6 +++--- - lib/dpkg/parsedump.h | 3 ++- - 2 files changed, 5 insertions(+), 4 deletions(-) - -commit 584dffcc0e9f85782ddecca6b24e5b5ac82d3361 -Author: Guillem Jover -Date: Mon Apr 21 03:50:31 2014 +0200 - - libdpkg: Rename parse_open() to parsedb_open() - - lib/dpkg/parse.c | 4 ++-- - lib/dpkg/parsedump.h | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit 880d5ba027ba13d91697838f4cc2151b866b840b -Author: Guillem Jover -Date: Tue Apr 8 00:47:22 2014 +0200 - - libdpkg: Move parser fd into parsedb_state - - This removes a function static variable, as it is now allocated inside a - structure in the heap, so push_cleanup will always be able to access it, - and makes parsedb() a bit more reentrable and easier to refactor. - - lib/dpkg/parse.c | 13 +++++++------ - lib/dpkg/parsedump.h | 1 + - 2 files changed, 8 insertions(+), 6 deletions(-) - -commit 16405d6edf30d9169f73e11a0a7d797aa7c5de20 -Author: Guillem Jover -Date: Tue Apr 8 00:43:33 2014 +0200 - - libdpkg: Allocate parsedb_state on the heap - - lib/dpkg/parse.c | 34 +++++++++++++++++++--------------- - lib/dpkg/parsedump.h | 4 ++-- - 2 files changed, 21 insertions(+), 17 deletions(-) - -commit 97ffe228c96b815a2dc3a689b70b6827d0cb255b -Author: Guillem Jover -Date: Mon Feb 24 06:00:01 2014 +0100 - - dpkg-split, dpkg: Use new str_match_end() function instead of ad-hoc code - - dpkg-split/split.c | 18 +++++++----------- - src/packages.c | 12 +++++------- - 2 files changed, 12 insertions(+), 18 deletions(-) - -commit 9933a758c0a8c40dc7977e3d0c101c70d511aee3 -Author: Guillem Jover -Date: Mon Feb 24 06:00:01 2014 +0100 - - libdpkg: Add new str_match_end() function - - lib/dpkg/libdpkg.map | 1 + - lib/dpkg/string.c | 23 ++++++++++++++++++++++- - lib/dpkg/string.h | 4 +++- - lib/dpkg/test/t-string.c | 13 +++++++++++-- - 4 files changed, 37 insertions(+), 4 deletions(-) - -commit 4e6079bb6756db9567c44079706df4e0abf0a46a -Author: Guillem Jover -Date: Mon Jan 27 04:21:25 2014 +0100 - - libdpkg: Add new struct dpkg_ar_member to handle in-core ar headers - - lib/dpkg/ar.c | 37 ++++++++++++++++++++++++++++--------- - lib/dpkg/ar.h | 16 +++++++++++++++- - 2 files changed, 43 insertions(+), 10 deletions(-) - -commit d9833ac0b6b66e9dfaff272f6d0a25373bfff091 -Author: Guillem Jover -Date: Wed Feb 19 21:40:03 2014 +0100 - - libdpkg: Switch test suite to use TAP - - This has the following benefits. It stops using assert() for the test - framework, it prints a more descriptive message, it performs all test - cases even if one fails. It allows to skip specific cases, or mark as - todo. - - This also switches the build system to use the automake TAP driver. - - configure.ac | 1 + - debian/changelog | 1 + - lib/dpkg/test.h | 64 ++++++++++++++++++---- - lib/dpkg/test/.gitignore | 1 + - lib/dpkg/test/Makefile.am | 2 + - lib/dpkg/test/t-ar.c | 2 + - lib/dpkg/test/t-arch.c | 2 + - lib/dpkg/test/t-buffer.c | 2 + - lib/dpkg/test/t-command.c | 2 + - lib/dpkg/test/t-deb-version.c | 2 + - lib/dpkg/test/t-macros.c | 2 + - lib/dpkg/test/t-mod-db.c | 2 + - lib/dpkg/test/t-path.c | 2 + - lib/dpkg/test/t-pkg-list.c | 2 + - lib/dpkg/test/t-pkg-queue.c | 2 + - lib/dpkg/test/t-pkginfo.c | 2 + - lib/dpkg/test/t-progname.c | 2 + - lib/dpkg/test/t-string.c | 2 + - lib/dpkg/test/t-subproc.c | 5 +- - lib/{compat/unsetenv.c => dpkg/test/t-test-skip.c} | 23 +++----- - lib/dpkg/test/t-test.c | 18 +++++- - lib/dpkg/test/t-trigger.c | 2 + - lib/dpkg/test/t-varbuf.c | 2 + - lib/dpkg/test/t-version.c | 2 + - 24 files changed, 121 insertions(+), 26 deletions(-) - -commit 75e991baaeb1d27dd81c1366573b4e765bd49d9e -Author: Guillem Jover -Date: Wed Apr 9 03:49:56 2014 +0200 - - libdpkg: Use new test_alloc() macro to test memory allocations - - Use this instead of normal pass/fail macros, as it will test_bail() - on errors, exiting with a proper exit code. - - debian/changelog | 1 + - lib/dpkg/test.h | 16 ++++++++++++++++ - lib/dpkg/test/t-arch.c | 2 +- - lib/dpkg/test/t-buffer.c | 3 +-- - lib/dpkg/test/t-path.c | 17 ++++++----------- - lib/dpkg/test/t-pkg-list.c | 14 +++++++------- - lib/dpkg/test/t-version.c | 4 ++-- - 7 files changed, 34 insertions(+), 23 deletions(-) - -commit c0ee47fb7540063935020177a842801b79286ed7 -Author: Guillem Jover -Date: Wed Feb 19 21:40:03 2014 +0100 - - libdpkg: Add new test_bail() macro - - lib/dpkg/test.h | 7 +++++++ - 1 file changed, 7 insertions(+) - -commit 01c11fcafd5b48f3a3f2c8fc2e84f0d53336711f -Author: Guillem Jover -Date: Wed Apr 9 06:35:00 2014 +0200 - - libdpkg: Test command_exec() exit code - - Do not expect the test program to just fail. - - debian/changelog | 1 + - lib/dpkg/test/t-command.c | 4 +++- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit c008407f8f6373a28694ea4c45cc75cfef9438f0 -Author: Guillem Jover -Date: Wed Feb 19 21:40:03 2014 +0100 - - libdpkg: Do not unnecessarily shut up stdout in t-subproc - - The only problematic output comes from stderr. - - debian/changelog | 2 ++ - lib/dpkg/test/t-subproc.c | 3 +-- - 2 files changed, 3 insertions(+), 2 deletions(-) - -commit 07413972ae2ff9fafc08d862e4ed05985f182a5f -Author: Guillem Jover -Date: Wed Apr 9 20:28:48 2014 +0200 - - libdpkg, dpkg-deb: Fix compound literal usage with C99 compilers - - We cannot portably assign a compound literal to a static variable, - as the expression is not constant. GCC accepts these for backwards - compatibility in its C89 mode, but not in its C99 mode. - - debian/changelog | 2 ++ - dpkg-deb/main.c | 4 ++-- - lib/dpkg/deb-version.h | 10 ++++++++-- - lib/dpkg/pkg-queue.h | 10 ++++++++-- - 4 files changed, 20 insertions(+), 6 deletions(-) - -commit 639786e29c72baf6b1f0b2ca1cada34df54d8dff -Author: Guillem Jover -Date: Wed Apr 9 20:14:22 2014 +0200 - - build: Test for required compound literals - - And clarify the comment on the designated initializers. - - debian/changelog | 1 + - doc/coding-style.txt | 3 ++- - m4/dpkg-compiler.m4 | 6 +++++- - 3 files changed, 8 insertions(+), 2 deletions(-) - -commit 09d43d4f21f6b70c0c1aff2711a1503d7ecf8a35 -Author: Guillem Jover -Date: Wed Feb 12 05:14:35 2014 +0100 - - build: Set TAR variable at build time instead of hardcoding it - - This allows for non-GNU systems to use another value for their GNU tar, - which usually is either gnutar or gtar. - - configure.ac | 3 ++- - debian/changelog | 3 +++ - lib/dpkg/dpkg.h | 1 - - m4/dpkg-progs.m4 | 10 ++++++++++ - 4 files changed, 15 insertions(+), 2 deletions(-) - -commit e07b0622e82ecac1131dd0f1443b19555fc53f44 -Author: Guillem Jover -Date: Thu Apr 3 08:36:23 2014 +0200 - - build: Do not link s-s-d against libihash and libshouldbeinlibc on GNU/Hurd - - These libraries are not used now, and the linking is unnecessary and - superfluous. - - The libps interfaces used to expose or required the caller to use - functions from those other libraries long time ago, not anymore though. - - debian/changelog | 2 ++ - m4/dpkg-libs.m4 | 2 -- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 3fabf94e0b5fe1bcdea26fecee1c87e74fab98b2 -Author: Guillem Jover -Date: Wed Mar 26 17:26:26 2014 +0100 - - s-s-d: Add a new --ppid matching option - - This allows to check for processes with a specific parent PID. - - Suggested-by: Alex Mestiashvili - - debian/changelog | 2 + - man/start-stop-daemon.8 | 8 +++- - utils/start-stop-daemon.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++- - 3 files changed, 99 insertions(+), 4 deletions(-) - -commit 861e165c26d2f62e658d95aedd2746ce0c7445e2 -Author: Guillem Jover -Date: Sun Apr 20 04:30:23 2014 +0200 - - s-s-d: Detect system specific headers at configure time - - Instead of hardcoding their usage depending on system macros. - - configure.ac | 5 +++-- - debian/changelog | 2 ++ - utils/start-stop-daemon.c | 31 ++++++++++++++++--------------- - 3 files changed, 21 insertions(+), 17 deletions(-) - -commit eb2981da25b8d68036406e135b891b91139a2601 -Author: Guillem Jover -Date: Sun Apr 20 04:30:23 2014 +0200 - - s-s-d: Move Hurd specific headers after all standard headers - - utils/start-stop-daemon.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -commit d12071e4aa2b2e137a3a1ab76408b4d68ab67181 -Author: Guillem Jover -Date: Sat Apr 5 07:44:02 2014 +0200 - - s-s-d: Fix OpenBSD KVM code to use current kinfo_proc layout - - debian/changelog | 1 + - utils/start-stop-daemon.c | 6 ++++++ - 2 files changed, 7 insertions(+) - -commit 8d708158339cd0503580a810814b97e48926a3d4 -Author: Guillem Jover -Date: Sat Apr 5 06:51:33 2014 +0200 - - s-s-d: Add a native FreeBSD pid_is_exec() method - - Use the KERN_PROC_PATHNAME sysctl interface to retrieve the process - pathname. This will allow to stop requiring the linprocfs fileystem - which is not the native procfs and is not usually mounted by default - anyway. - - This still has the problem that the pathname cannot be retrieved when - the inode has been unlinked, in the same way as when accessing the - /proc//exe symlink from linprocfs. - - debian/changelog | 4 ++++ - utils/start-stop-daemon.c | 26 ++++++++++++++++++++++++++ - 2 files changed, 30 insertions(+) - -commit 559895751cb775e47e2f6466de10a55a5ee7587c -Author: Guillem Jover -Date: Sat Apr 5 05:24:22 2014 +0200 - - s-s-d: Fix FreeBSD KVM code to use current kinfo_proc layout - - debian/changelog | 1 + - utils/start-stop-daemon.c | 16 ++++++++++++++++ - 2 files changed, 17 insertions(+) - -commit 02901d4027d0ac49a8a1f88e954da61ea3f625d2 -Author: Guillem Jover -Date: Sat Apr 5 05:24:22 2014 +0200 - - s-s-d: Add a generic KVM implementation for do_procinit() - - This uses the traditional BSD kinfo_proc layout. - - debian/changelog | 2 ++ - utils/start-stop-daemon.c | 29 +++++++++++++++++++++++++++-- - 2 files changed, 29 insertions(+), 2 deletions(-) - -commit cc05292a2d745fd2798153b423663dd673b0dcba -Author: Guillem Jover -Date: Fri Apr 18 19:55:26 2014 +0200 - - s-s-d: Remove unnecessary pointer reference and dereference dance - - utils/start-stop-daemon.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 7a1b2fb6872d3d2641704d9d08ed0f99757774db -Author: Guillem Jover -Date: Wed Mar 26 20:35:04 2014 +0100 - - s-s-d: Use symbolic names for option codes - - utils/start-stop-daemon.c | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -commit 51e4a23b56464da01481969d141aa5a41ad3b2ef -Author: Guillem Jover -Date: Wed Mar 26 17:21:36 2014 +0100 - - s-s-d: Refactor Linux comm retrieval and switch to use /proc/PID/status - - This trades parsing ambiguities due to process names with ‘)’ for ones - with embedded ‘\n’. But it should be more robust and future proof in - general, and allows to retrieve any field by name, which makes the code - more clear and reusable. - - debian/changelog | 3 +++ - utils/start-stop-daemon.c | 56 +++++++++++++++++++++++++++++++++-------------- - 2 files changed, 42 insertions(+), 17 deletions(-) - -commit d3611d0d83151f0405506419111bc9cc4066af68 -Author: Guillem Jover -Date: Sun Apr 13 06:56:44 2014 +0200 - - dpkg-buildflags: Add support for FCFLAGS, OBJCFLAGS and OBJCXXFLAGS - - Add default values in Debian and derivatives for these flags. - - Distinguish FFLAGS from FCFLAGS by mentioning that the former is for the - Fortran 77 compiler and the latter for the Fortran 9x compiler. - - Closes: #744326 - - debian/changelog | 2 ++ - man/dpkg-buildflags.1 | 20 ++++++++++++++++---- - scripts/Dpkg/BuildFlags.pm | 9 +++++++++ - scripts/Dpkg/Vendor/Debian.pm | 8 ++++++++ - scripts/Dpkg/Vendor/Ubuntu.pm | 3 ++- - scripts/mk/buildflags.mk | 8 ++++++-- - 6 files changed, 43 insertions(+), 7 deletions(-) - -commit d82f11f1e7205183b19cf3983a2ce90d980119ad -Author: Guillem Jover -Date: Fri Apr 18 07:45:43 2014 +0200 - - dpkg-buildflags(1): Add missing flags affected by hardening options - - debian/changelog | 1 + - man/dpkg-buildflags.1 | 8 +++++--- - 2 files changed, 6 insertions(+), 3 deletions(-) - -commit 163d44a7bd33397ab3b4c68f0b74db59553a3fb7 -Author: Christian Svensson -Date: Mon Jan 27 00:15:46 2014 +0100 - - Add OpenRISC or1k support to cputable - - Closes: #736717 - - Signed-off-by: Guillem Jover - - cputable | 1 + - debian/changelog | 2 ++ - 2 files changed, 3 insertions(+) - -commit bbaa8eabaf0826b6213ea568c7ba3f884d352957 -Author: Adam Conrad -Date: Wed Feb 12 04:41:16 2014 +0100 - - Dpkg::Vendor::Ubuntu: Update ppc64el build flags support - - Ubuntu never ended up shipping a ppc64 architecture, instead they have - a ppc64el one, so switch to that. And honor the noopt DEB_BUILD_OPTIONS - flag. - - Closes: #738691 - - Signed-off-by: Guillem Jover - - debian/changelog | 3 +++ - scripts/Dpkg/Vendor/Ubuntu.pm | 10 ++++++---- - 2 files changed, 9 insertions(+), 4 deletions(-) - -commit a580499ac5fa4e1e7feee69d08dfd044d790a275 -Author: Guillem Jover -Date: Wed Apr 2 16:11:19 2014 +0200 - - Dpkg::Vendor: Try to load Vendor modules from the parent vendors - - If there's no available module for the requested vendor, try loading - a Parent until one is found, or we fallback to Default. - - Closes: #735978 - - debian/changelog | 3 +++ - scripts/Dpkg/Vendor.pm | 21 ++++++++++++++------- - scripts/Makefile.am | 2 ++ - test/pod.t => scripts/t/Dpkg_Vendor.t | 21 +++++++++++---------- - scripts/t/origins/gnewsense | 4 ++++ - 5 files changed, 34 insertions(+), 17 deletions(-) - -commit 82d38b898e5d3ca243460f705c949c14a16a7c8a -Author: Guillem Jover -Date: Wed Apr 2 16:09:06 2014 +0200 - - Dpkg::Vendor: Cache vendor info Control::Hash objects - - Avoid parsing again the current vendor file on each hook invocation, - by caching the parsed object into a hash. - - debian/changelog | 2 ++ - scripts/Dpkg/Vendor.pm | 4 ++++ - 2 files changed, 6 insertions(+) - -commit 86aabea72688567586adc472b502e06ebc28b1c2 -Author: Guillem Jover -Date: Mon Mar 24 23:04:43 2014 +0100 - - dpkg-buildpackage: Do not interpret the dsc filename as a regex - - This only affects generated .changes files, when signing a .dsc file - with metacharacters in its filename. - - Closes: #742535 - - debian/changelog | 2 ++ - scripts/dpkg-buildpackage.pl | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 03dc67940a1bcdfba6732e257fe1f35f59aea8f6 -Author: Guillem Jover -Date: Thu Apr 3 06:08:45 2014 +0200 - - dpkg-source: Add arch and profile information to Package-List field - - Add two new optional values to the Packages-List field, with - architecture and build-profiles information. These values have the - form «name=value1,value2», and might appear in any order after the - mandatory values. - - This allows to run bootstrapping analysis over the Sources package - indices. - - Requested-by: Johannes Schauer - Suggested-by: Raphaël Hertzog - - debian/changelog | 4 ++++ - scripts/Dpkg/Control/FieldsCore.pm | 4 ++++ - scripts/dpkg-source.pl | 11 ++++++++++- - 3 files changed, 18 insertions(+), 1 deletion(-) - -commit b916e61f0feb8eb37d9f00bbd4066c4f1b53babe -Author: Guillem Jover -Date: Fri Mar 28 03:13:52 2014 +0100 - - dpkg-source: Add a new extraction --ignore-bad-version option - - This allows to extract ancient source packages with broken versions, - that used to be accepted at some point in time by dpkg-source. - - Closes: #740883 - - debian/changelog | 2 ++ - man/dpkg-source.1 | 5 +++++ - scripts/Dpkg/Source/Package.pm | 8 +++++++- - scripts/Dpkg/Source/Package/V1.pm | 4 ++++ - scripts/Dpkg/Source/Package/V2.pm | 5 +++++ - 5 files changed, 23 insertions(+), 1 deletion(-) - -commit 5175cc7164d1d853375bc4eb59042aa68fcc63f7 -Author: Moritz Muehlenhoff -Date: Sun Feb 9 03:02:46 2014 +0100 - - dpkg-source: Improve warning message when ignoring file removals - - Hint at the --include-removal option in the warning to direct the user - to it. - - Closes: #738310 - - Signed-off-by: Guillem Jover - - debian/changelog | 3 +++ - scripts/Dpkg/Source/Patch.pm | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 9947ec14e51ed738ac1447f788b659fadff3bef2 -Author: Guillem Jover -Date: Tue Jan 28 01:13:51 2014 +0100 - - dpkg-genchanges: Clarify error message on binary builds w/o binaries - - Only load the files list file if it exists, so that we can check if - there's any binary file being distributed. - - When all binary packages are for different architectures than the - requested one, and no additional files have been shipped for - distribution (via dpkg-distaddfile), we should error out early and - with a better and more clear error, than just "no files list file found". - - Closes: #726520 - - debian/changelog | 2 ++ - scripts/dpkg-genchanges.pl | 7 ++++++- - 2 files changed, 8 insertions(+), 1 deletion(-) - -commit e1749d77a44ee1c82c2d047cf9be4b071554832d -Author: Guillem Jover -Date: Sat Feb 1 01:48:31 2014 +0100 - - scripts: Use new Dpkg::Dist::Files module instead of ad-hoc code - - scripts/dpkg-distaddfile.pl | 24 +++++--------- - scripts/dpkg-genchanges.pl | 77 +++++++++++++++++---------------------------- - scripts/dpkg-gencontrol.pl | 36 +++++++++------------ - 3 files changed, 51 insertions(+), 86 deletions(-) - -commit b777140be7b5f542b821f8a0f1cec74ee8330f12 -Author: Guillem Jover -Date: Sat Feb 1 01:48:31 2014 +0100 - - dpkg-genchanges: Only track attributes for distributed files - - scripts/dpkg-genchanges.pl | 11 ++++++----- - 1 file changed, 6 insertions(+), 5 deletions(-) - -commit 51db7754d5dbfc4efe1cf205427a37be4c0f46ec -Author: Guillem Jover -Date: Tue Jan 28 01:40:34 2014 +0100 - - dpkg-gencontrol: Remove unused %p2ver variable - - scripts/dpkg-genchanges.pl | 2 -- - 1 file changed, 2 deletions(-) - -commit 06be16451a0840a4769963f559c45367c7b24db4 -Author: Guillem Jover -Date: Tue Jan 28 01:36:38 2014 +0100 - - dpkg-genchanges: Remove unnecessary %pa2f variable - - The first warning never triggers, as it's using %p2f with a key for - %pa2f. And the other warning, just uses the %pa2f hash to retrieve a - list of package names, already kept in %p2f. - - scripts/dpkg-genchanges.pl | 14 ++++---------- - 1 file changed, 4 insertions(+), 10 deletions(-) - -commit 545662b03074278d9b0d009b673e9702c4ea82d0 -Author: Guillem Jover -Date: Tue Jan 28 01:31:12 2014 +0100 - - dpkg-gencontrol: Split substvars pass from actual printing - - This will allow to switch the code to use a new Dpkg::Dist::Files - module. - - scripts/dpkg-gencontrol.pl | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -commit 31f280b1d73f8a76fe7ca0d58a45b41508d2a751 -Author: Guillem Jover -Date: Tue Jan 28 01:31:12 2014 +0100 - - dpkg-gencontrol: Move setting of fallback $forcefilename before locking - - scripts/dpkg-gencontrol.pl | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -commit be7da07bbc26cf9b799fa6425b60025ab0e91956 -Author: Guillem Jover -Date: Tue Jan 28 01:08:01 2014 +0100 - - Dpkg::Dist::Files: New perl module - - scripts/Dpkg/Dist/Files.pm | 141 +++++++++++++++++++++++++++++++++ - scripts/Makefile.am | 3 + - scripts/po/POTFILES.in | 1 + - scripts/t/Dpkg_Dist_Files.t | 95 ++++++++++++++++++++++ - scripts/t/Dpkg_Dist_Files/files-byhand | 5 ++ - 5 files changed, 245 insertions(+) - -commit 1469ab6fc964ffd7f83e4e842ad4cf89a48328e5 -Author: Guillem Jover -Date: Wed Apr 2 03:59:47 2014 +0200 - - Dpkg::Deps: Do not generate perl warnings on undef versions in deps_compare() - - Ref: #737731 - - debian/changelog | 2 ++ - scripts/Dpkg/Deps.pm | 6 ++++-- - scripts/t/Dpkg_Deps.t | 6 +++++- - 3 files changed, 11 insertions(+), 3 deletions(-) - -commit c018d4712353cf6d6571e46ff71445e5f33af354 -Author: Guillem Jover -Date: Mon Jan 27 00:20:51 2014 +0100 - - Dpkg::Control::HashCore: Document is_pgp_signed as a public option - - Closes: #735975 - - debian/changelog | 2 ++ - scripts/Dpkg/Control/HashCore.pm | 7 +++++++ - 2 files changed, 9 insertions(+) - -commit 74e7ba89e0478355cf929e6abde534992bc13342 -Author: Guillem Jover -Date: Sun Jan 26 22:44:44 2014 +0100 - - dpkg-checkbuilddeps: Split check_line into build_depends and build_conflicts - - The functions have less in common than what it looks like. Splitting the - functions actually reduces the line count. - - scripts/dpkg-checkbuilddeps.pl | 48 ++++++++++++++++-------------------------- - 1 file changed, 18 insertions(+), 30 deletions(-) - -commit 93a41e1bd09c6eef0383eb67df5a77a28b69ec55 -Author: Guillem Jover -Date: Wed Feb 26 03:43:04 2014 +0100 - - dpkg-checkbuilddeps: Move deps_parse() error checking just after the calls - - scripts/dpkg-checkbuilddeps.pl | 17 ++++++++--------- - 1 file changed, 8 insertions(+), 9 deletions(-) - -commit 5639796e64843778a55e3e918a9d980bc3c6371d -Author: Guillem Jover -Date: Sun Jan 26 22:48:05 2014 +0100 - - dpkg-checkbuilddeps: Fix bogus message on dependency parse errors - - Force deps_parse() return code into a scalar, so that the empty list - does not get interpolated and ignored. Use the opportunity to reduce - nesting. - - Closes: #736778 - - debian/changelog | 2 ++ - scripts/dpkg-checkbuilddeps.pl | 18 ++++++++++-------- - 2 files changed, 12 insertions(+), 8 deletions(-) - -commit 78b91af405e5fb918ee8cdfc71856539a5f526a8 -Author: Guillem Jover -Date: Sun Mar 30 18:28:15 2014 +0200 - - dpkg-parsechangelog: Do not generate perl warnings on nonexistent fields - - debian/changelog | 2 ++ - scripts/dpkg-parsechangelog.pl | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit 47732d7563e18f14c2e04784852dd9a837b41701 -Author: Guillem Jover -Date: Thu Apr 10 01:54:51 2014 +0200 - - test: Remove sequence number prefixes from test case filenames - - This stops the madness of having to invent sequence numbers to be able - to order the test suite run. Instead we now honour the order of the - arguments passed to the runner. - - Makefile.am | 6 +- - debian/changelog | 1 + - scripts/Makefile.am | 170 ++++++++++----------- - .../200_Dpkg_Shlibs/ld.so.conf.d/inf_recurse.conf | 1 - - .../t/200_Dpkg_Shlibs/ld.so.conf.d/recursive.conf | 1 - - scripts/t/{110_Dpkg_Arch.t => Dpkg_Arch.t} | 0 - ...300_Dpkg_BuildOptions.t => Dpkg_BuildOptions.t} | 0 - .../t/{600_Dpkg_Changelog.t => Dpkg_Changelog.t} | 2 +- - .../{600_Dpkg_Changelog => Dpkg_Changelog}/countme | 0 - .../{600_Dpkg_Changelog => Dpkg_Changelog}/fields | 0 - .../misplaced-tz | 0 - .../regressions | 0 - .../{600_Dpkg_Changelog => Dpkg_Changelog}/shadow | 0 - ..._Changelog_Ubuntu.t => Dpkg_Changelog_Ubuntu.t} | 2 +- - .../{850_Dpkg_Compression.t => Dpkg_Compression.t} | 2 +- - scripts/t/{700_Dpkg_Control.t => Dpkg_Control.t} | 2 +- - .../bogus-armor-double.dsc | 0 - .../bogus-armor-inline.dsc | 0 - .../bogus-armor-nested.dsc | 0 - .../bogus-armor-no-sig.dsc | 0 - .../bogus-armor-spaces.dsc | 0 - .../bogus-armor-trail.dsc | 0 - .../bogus-unsigned.dsc | 0 - .../t/{700_Dpkg_Control => Dpkg_Control}/control-1 | 0 - scripts/t/{400_Dpkg_Deps.t => Dpkg_Deps.t} | 0 - scripts/t/{800_Dpkg_IPC.t => Dpkg_IPC.t} | 0 - scripts/t/{150_Dpkg_Package.t => Dpkg_Package.t} | 0 - scripts/t/{500_Dpkg_Path.t => Dpkg_Path.t} | 2 +- - scripts/t/{200_Dpkg_Shlibs.t => Dpkg_Shlibs.t} | 4 +- - .../t/{200_Dpkg_Shlibs => Dpkg_Shlibs}/basictags.c | 0 - .../basictags.symbols | 0 - .../t/{200_Dpkg_Shlibs => Dpkg_Shlibs}/ld.so.conf | 2 +- - .../t/Dpkg_Shlibs/ld.so.conf.d/inf_recurse.conf | 1 + - .../ld.so.conf.d/normal.conf | 0 - scripts/t/Dpkg_Shlibs/ld.so.conf.d/recursive.conf | 1 + - .../{200_Dpkg_Shlibs => Dpkg_Shlibs}/ld.so.conf_2 | 0 - .../objdump.basictags-amd64 | 2 +- - .../objdump.basictags-i386 | 2 +- - .../objdump.blacklisted | 0 - .../objdump.dbd-pg | 0 - .../objdump.glib-ia64 | 0 - .../objdump.libc6-2.3 | 0 - .../objdump.libc6-2.6 | 0 - .../t/{200_Dpkg_Shlibs => Dpkg_Shlibs}/objdump.ls | 0 - .../objdump.patterns | 2 +- - .../{200_Dpkg_Shlibs => Dpkg_Shlibs}/objdump.space | 0 - .../{200_Dpkg_Shlibs => Dpkg_Shlibs}/patterns.cpp | 0 - .../{200_Dpkg_Shlibs => Dpkg_Shlibs}/patterns.map | 0 - .../patterns.symbols | 0 - .../symbols.blacklist-filter | 0 - .../symbols.blacklist-groups | 0 - .../symbols.blacklist-ignore | 0 - .../symbols.blacklisted | 0 - .../symbols.fake-1 | 0 - .../symbols.fake-2 | 0 - .../symbols.fake-3 | 0 - .../symbols.include-1 | 0 - .../symbols.include-2 | 0 - .../symbols.include-3 | 0 - ...Dpkg_Shlibs_Cppfilt.t => Dpkg_Shlibs_Cppfilt.t} | 0 - .../t/{750_Dpkg_Substvars.t => Dpkg_Substvars.t} | 6 +- - .../substvars1 | 0 - scripts/t/{550_Dpkg_Util.t => Dpkg_Util.t} | 0 - scripts/t/{100_Dpkg_Version.t => Dpkg_Version.t} | 0 - .../{910_merge_changelogs.t => merge_changelogs.t} | 2 +- - .../ch-a | 0 - .../ch-b | 0 - .../ch-badver-a | 0 - .../ch-badver-b | 0 - .../ch-badver-merged | 0 - .../ch-badver-old | 0 - .../ch-merged | 0 - .../ch-merged-basic | 0 - .../ch-merged-pr | 0 - .../ch-merged-pr-basic | 0 - .../ch-old | 0 - src/Makefile.am | 2 +- - src/t/{100_dpkg_divert.t => dpkg_divert.t} | 2 +- - test/{100_critic.t => critic.t} | 2 +- - test/{100_critic => critic}/perlcriticrc | 0 - test/{000_pod.t => pod.t} | 0 - utils/Makefile.am | 2 +- - ...update_alternatives.t => update_alternatives.t} | 2 +- - 83 files changed, 111 insertions(+), 110 deletions(-) - -commit f6bb010cb94173ef851fffc255c1e5b2a3e23753 -Author: Guillem Jover -Date: Sun Apr 20 05:10:00 2014 +0200 - - build: Rename Makecheck.am to just check.am - - The original name was confusing with Makefile.am, let's be more clear. - - Makefile.am | 2 +- - Makecheck.am => check.am | 0 - scripts/Makefile.am | 2 +- - src/Makefile.am | 2 +- - utils/Makefile.am | 2 +- - 5 files changed, 4 insertions(+), 4 deletions(-) - -commit fb728db6fa8eca35534dd7f0be85124392a57e8d -Author: Guillem Jover -Date: Sun Apr 20 05:00:38 2014 +0200 - - build: Enable colors for Test::Harness - - This enables colors in runner ouput, although it does not seem to do - much anyway. - - Makecheck.am | 2 +- - debian/changelog | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 2695fca526f8685fca67f5f3d6a95810297a6d44 -Author: Guillem Jover -Date: Sun Apr 20 05:00:38 2014 +0200 - - build: Use Test::Harness instead of ExtUtils::Command::MM - - This stops using the "internal use only" module ExtUtils::Command::MM, - and preserves the order of the modules as passed on the command line, - which allows us to remove the sequence number prefixes. - - Makecheck.am | 3 ++- - debian/changelog | 2 ++ - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit f18b4447aed248f2154e68eb4810c20a2021d6ee -Author: Guillem Jover -Date: Wed Apr 2 03:57:17 2014 +0200 - - scripts: Use // operator instead of defined and ternary operator - - scripts/Dpkg/Deps.pm | 4 ++-- - scripts/Dpkg/Shlibs/Objdump.pm | 4 ++-- - scripts/Dpkg/Shlibs/Symbol.pm | 2 +- - scripts/dpkg-gensymbols.pl | 2 +- - scripts/dpkg-scanpackages.pl | 2 +- - scripts/dpkg-shlibdeps.pl | 2 +- - 6 files changed, 8 insertions(+), 8 deletions(-) - -commit 82e5f76256237dc9407c8f532befe94307d6d724 -Author: Guillem Jover -Date: Mon Mar 31 07:36:22 2014 +0200 - - scripts: Add a space after comma - - scripts/Dpkg/Changelog.pm | 2 +- - scripts/Dpkg/Source/Functions.pm | 2 +- - scripts/dpkg-genchanges.pl | 6 +++--- - scripts/dpkg-scanpackages.pl | 2 +- - scripts/dpkg-shlibdeps.pl | 2 +- - scripts/dpkg-source.pl | 2 +- - scripts/t/200_Dpkg_Shlibs.t | 2 +- - scripts/t/750_Dpkg_Substvars.t | 4 ++-- - 8 files changed, 11 insertions(+), 11 deletions(-) - -commit 76923e8e32be9188cf6236fa1d1e70c280964ceb -Author: Guillem Jover -Date: Sun Mar 30 20:42:56 2014 +0200 - - scripts: Add a space after flow control statements - - scripts/Dpkg/Changelog/Entry/Debian.pm | 2 +- - scripts/Dpkg/Changelog/Parse.pm | 2 +- - scripts/Dpkg/Shlibs/SymbolFile.pm | 3 ++- - scripts/Dpkg/Source/Package.pm | 2 +- - scripts/Dpkg/Source/Patch.pm | 4 ++-- - scripts/Dpkg/Vendor/Ubuntu.pm | 2 +- - scripts/dpkg-gensymbols.pl | 2 +- - scripts/dpkg-scansources.pl | 2 +- - 8 files changed, 10 insertions(+), 9 deletions(-) - -commit 7e7156bee2e03e6f5103b330c615387919faa94d -Author: Guillem Jover -Date: Sun Mar 30 21:20:22 2014 +0200 - - scripts: Localize $_ in functions with while (<$fh>) style loops - - This way we make sure we don't affect the $_ value for the caller, - in case it was being used. - - debian/changelog | 1 + - scripts/Dpkg/BuildFlags.pm | 2 ++ - scripts/Dpkg/Changelog/Debian.pm | 1 + - scripts/Dpkg/Changelog/Parse.pm | 2 ++ - scripts/Dpkg/Conf.pm | 2 ++ - scripts/Dpkg/Control/HashCore.pm | 1 + - scripts/Dpkg/Shlibs.pm | 2 ++ - scripts/Dpkg/Shlibs/Objdump.pm | 2 ++ - scripts/Dpkg/Source/Package/V3/Bzr.pm | 2 ++ - scripts/Dpkg/Source/Package/V3/Git.pm | 4 +++- - scripts/Dpkg/Source/Patch.pm | 2 ++ - scripts/Dpkg/Substvars.pm | 2 ++ - 12 files changed, 22 insertions(+), 1 deletion(-) - -commit ca5c1088f961a3ddd728f4681a7b8018be9bff53 -Author: Richard Levitte -Date: Fri Feb 14 13:47:37 2014 +0100 - - dpkg-maintscript-helper: Use exit instead of return to exit a subshell - - Closes: #738957 - - Signed-off-by: Guillem Jover - - debian/changelog | 2 ++ - scripts/dpkg-maintscript-helper.sh | 4 ++-- - 2 files changed, 4 insertions(+), 2 deletions(-) - -commit f4998f84369dcf7dabc5a478537426b2ce23c1d7 -Author: Guillem Jover -Date: Tue Apr 1 04:56:37 2014 +0200 - - dpkg-maintscript-helper(1): Improve symlink<->directory switch information - - Document that downgrades are not supported, and clarify how to set - prior-version. - - Closes: #739388 - - debian/changelog | 2 ++ - man/dpkg-maintscript-helper.1 | 21 +++++++++++++-------- - 2 files changed, 15 insertions(+), 8 deletions(-) - -commit c62fede80a0b78a34ac39097b0776d649a0aa9af -Author: Guillem Jover -Date: Fri Mar 28 02:55:52 2014 +0100 - - dpkg-source(1): Fix indentation of "Extract options (with -x)" title - - debian/changelog | 1 + - man/dpkg-source.1 | 1 + - 2 files changed, 2 insertions(+) - -commit 9f13845ac19b6eeeaa3891cae1a2e15b5190f671 -Author: Guillem Jover -Date: Wed Apr 2 05:59:55 2014 +0200 - - dpkg-query(1): Document the --control-path life expectancy - - There's still at least one scenario that can only be covered by - --control-path, and as long as that's the case the command will - not get removed. - - Ref: #699647 - - debian/changelog | 1 + - doc/README.feature-removal-schedule | 4 +++- - man/dpkg-query.1 | 11 +++++++++-- - 3 files changed, 13 insertions(+), 3 deletions(-) - -commit 4657c0db7944ff652b77a0fbf7988ff641d6bfb1 -Author: Guillem Jover -Date: Sat Feb 1 01:51:31 2014 +0100 - - dpkg-buildpackage(1): Clarify --check-option description - - Reported-by: Helge Kreutzmann - - debian/changelog | 1 + - man/dpkg-buildpackage.1 | 3 ++- - 2 files changed, 3 insertions(+), 1 deletion(-) - -commit acbe5dd19140b01632b46b0329c1b5c0e4e5d09c -Author: Guillem Jover -Date: Sat Feb 1 01:49:33 2014 +0100 - - dpkg-buildpackage(1): Add missing "hook" after postclean description - - Reported-by: Helge Kreutzmann - - man/dpkg-buildpackage.1 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 3fc6e13a4f894ef7d9a96633f56fede6f43a0511 -Author: Guillem Jover -Date: Sat Feb 1 01:53:27 2014 +0100 - - deb-control(5): Clarify Multi-Arch: no field omission - - Reported-by: Helge Kreutzmann - - debian/changelog | 1 + - man/deb-control.5 | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -commit 62935e85ec6f2691837a9c2401807f7d9059cb7b -Author: Guillem Jover -Date: Wed Apr 2 06:09:06 2014 +0200 - - deb-symbols(5): Document that the main-dependency-template is always used - - The main-dependency-template always gets added, and might end up being - combined with the template pointed by id-of-dependency-template if that - is present. - - Closes: #737731 - - debian/changelog | 5 +++++ - man/deb-symbols.5 | 3 ++- - 2 files changed, 7 insertions(+), 1 deletion(-) - -commit 6a1e52d6d68da64bdc2be24277a2d8288912cb82 -Author: Theppitak Karoonboonyanan -Date: Fri Apr 18 07:34:19 2014 +0200 - - Update Thai program translation - - Closes: #745032 - - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/th.po | 508 ++++++++++++++++--------------------------------------- - 2 files changed, 145 insertions(+), 364 deletions(-) - -commit e0a9b2601d82d033cbcef6b0717f36671f6eacb5 -Author: Beatrice Torracca -Date: Wed Mar 26 17:15:22 2014 +0100 - - Update Italian man page translation - - [guillem@debian.org: - - Replace logical NOT with NON. - - Add missing spaces. ] - - Closes: #742449 - - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - man/po/it.po | 1541 +++++++++++++++++++++++------------------------------- - 2 files changed, 651 insertions(+), 891 deletions(-) - -commit 6c5721b05bf84b82f3afe9491e2d649c63169acd -Author: Trần Ngọc Quân -Date: Mon Feb 10 08:50:06 2014 +0700 - - Update and review Vietnamese program translation - - Signed-off-by: Trần Ngọc Quân - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/vi.po | 64 ++++++++++++++++---------------------------------------- - 2 files changed, 19 insertions(+), 46 deletions(-) - -commit db9051cc21519459b7552f5d04d2465386d0b772 -Author: Игорь Пашев -Date: Sat Feb 1 23:13:32 2014 +0400 - - Typo in Swedish translation - - Hi, Peter! - - Your patch [1] causes FTBFS: - - Discard ru/update-alternatives.8 (11 of 138 strings; only 7.97% - translated; need 80%). - dpkg-buildpackage.1:59: (po4a::man) - Unknown '<' or '>' sequence. Faulty message: K?r haken - och anropar \fBdebian/rules\fP \fIbyggm?l\fP, d?refter k?rs - haken \fBbinary\fP f?ljt av \fBfakeroot debian/rules\fP - \fIbin?rm?l\fP (s?vida inte - ett bygge av enbart k?llkod har valts med \fB\-S\fP). - Observera att \fIbyggm?l\fP - och \fIbin?rm?l\fP ?r ett av \fBbuild\fP och - \fBbinary\fP (standardval, eller om - \fB\-b\fP anges), \fBbuild\-arch\fP och - \fBbinary\-arch\fP (om \fB\-B\fP anges) eller - \fBbuild\-indep\fP och \fBbinary\-indep\fP (om \fB\-A\fP anges). - - make[3]: *** [man.stamp] Error 88 - - A fix: - - man/po/sv.po | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c27a16f99657a0618c3e33c51f92e28b71fd6a44 -Author: Peter Krefting -Date: Wed Jan 29 10:57:09 2014 +0100 - - Update Swedish translation - - po/sv.po: 1088t0f0u. - man/po/sv.po: 229t0f0u. - scripts/po/sv.po: 546t0f0u. - - debian/changelog | 3 + - man/po/sv.po | 385 +++++++++++++++++++++++-------------------------------- - po/sv.po | 49 ++----- - scripts/po/sv.po | 74 ++--------- - 4 files changed, 189 insertions(+), 322 deletions(-) - -commit 20d8518b28941231ad71917079da8f5bdaeca8b1 -Author: Raphaël Hertzog -Date: Mon Jan 20 11:16:12 2014 +0100 - - Fix build failure due bad syntax in German's man page translation - - man/po/de.po | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 2ab29f5450ac1c3693753be83a2343543e9bee04 -Author: Helge Kreutzmann -Date: Fri Jan 17 21:44:11 2014 +0100 - - Update German translation of manual pages - - Update to 2228t0f1u. - - debian/changelog | 3 + - man/po/de.po | 220 ++++++++++++++++++++----------------------------------- - 2 files changed, 81 insertions(+), 142 deletions(-) - -commit 29c92ffdc6d5833a14dcab907e439296e28fcbc0 -Author: Sven Joachim -Date: Fri Jan 17 18:27:23 2014 +0100 - - German dpkg translation update - - Update to 1086t2u. - - debian/changelog | 3 +++ - po/de.po | 54 +++++++++++++++--------------------------------------- - 2 files changed, 18 insertions(+), 39 deletions(-) - -commit 69bc8eb17199f1aeae4ec9a3ea6a6142639a471c -Author: Helge Kreutzmann -Date: Fri Jan 17 14:07:18 2014 +0100 - - Update German scripts translation - - Update to 546t. - - debian/changelog | 3 ++- - scripts/po/de.po | 76 +++++++++++--------------------------------------------- - 2 files changed, 17 insertions(+), 62 deletions(-) - -commit 1e059955df241caf1a6dcb8ecb47fe72d1641f8c -Author: Raphaël Hertzog -Date: Thu Jan 16 09:14:01 2014 +0100 - - dpkg-buildpackage(1): Drop duplicate word “calls” - - man/dpkg-buildpackage.1 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit ca3e9ea4a3d218f1605757355ee88ca1572d5bb2 -Author: Guillem Jover -Date: Wed Jan 15 19:11:41 2014 +0100 - - Dpkg::Compression::FileHandle: Use croak instead of error on programming errors - - scripts/Dpkg/Compression/FileHandle.pm | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - -commit 8f7135323abb5707c6e93284929c60ed667d99c6 -Author: Guillem Jover -Date: Wed Jan 15 19:03:13 2014 +0100 - - Bump version to 1.17.7 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit 4d60c8934f1db37ed64188d3549a44c26de5f63b (tag: 1.17.6) -Author: Guillem Jover -Date: Wed Jan 15 05:30:01 2014 +0100 - - Release 1.17.6 - - debian/changelog | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 8bfbf3b8eda02383ac3d178b7a97654c7b979679 -Author: Guillem Jover -Date: Wed Jan 15 05:29:12 2014 +0100 - - Regenerate .pot files and merge .po files with them - - dselect/po/bs.po | 14 +- - dselect/po/ca.po | 14 +- - dselect/po/cs.po | 14 +- - dselect/po/da.po | 14 +- - dselect/po/de.po | 14 +- - dselect/po/dselect.pot | 16 +- - dselect/po/el.po | 14 +- - dselect/po/es.po | 14 +- - dselect/po/et.po | 14 +- - dselect/po/eu.po | 14 +- - dselect/po/fr.po | 14 +- - dselect/po/gl.po | 14 +- - dselect/po/hu.po | 14 +- - dselect/po/id.po | 14 +- - dselect/po/it.po | 14 +- - dselect/po/ja.po | 14 +- - dselect/po/ko.po | 14 +- - dselect/po/nb.po | 14 +- - dselect/po/nl.po | 14 +- - dselect/po/nn.po | 14 +- - dselect/po/pl.po | 14 +- - dselect/po/pt.po | 14 +- - dselect/po/pt_BR.po | 14 +- - dselect/po/ro.po | 14 +- - dselect/po/ru.po | 14 +- - dselect/po/sk.po | 14 +- - dselect/po/sv.po | 14 +- - dselect/po/tl.po | 14 +- - dselect/po/vi.po | 14 +- - dselect/po/zh_CN.po | 14 +- - dselect/po/zh_TW.po | 14 +- - man/po/de.po | 746 ++++++++++++++++++++++----------- - man/po/dpkg-man.pot | 803 ++++++++++++++++++++++------------- - man/po/es.po | 951 ++++++++++++++++++++++++++++-------------- - man/po/fr.po | 954 ++++++++++++++++++++++++++++-------------- - man/po/hu.po | 824 +++++++++++++++++++++++------------- - man/po/it.po | 936 +++++++++++++++++++++++++++-------------- - man/po/ja.po | 951 ++++++++++++++++++++++++++++-------------- - man/po/pl.po | 954 ++++++++++++++++++++++++++++-------------- - man/po/pt_BR.po | 822 +++++++++++++++++++++++------------- - man/po/ru.po | 829 ++++++++++++++++++++++++------------- - man/po/sv.po | 1058 +++++++++++++++++++++++++++++++---------------- - po/ast.po | 624 ++++++++++++++-------------- - po/bs.po | 614 +++++++++++++-------------- - po/ca.po | 623 ++++++++++++++-------------- - po/cs.po | 624 ++++++++++++++-------------- - po/da.po | 623 ++++++++++++++-------------- - po/de.po | 651 +++++++++++++++-------------- - po/dpkg.pot | 615 +++++++++++++-------------- - po/dz.po | 622 ++++++++++++++-------------- - po/el.po | 623 ++++++++++++++-------------- - po/eo.po | 620 +++++++++++++-------------- - po/es.po | 627 ++++++++++++++-------------- - po/et.po | 621 ++++++++++++++-------------- - po/eu.po | 623 ++++++++++++++-------------- - po/fr.po | 623 ++++++++++++++-------------- - po/gl.po | 623 ++++++++++++++-------------- - po/hu.po | 619 +++++++++++++-------------- - po/id.po | 620 +++++++++++++-------------- - po/it.po | 624 ++++++++++++++-------------- - po/ja.po | 646 +++++++++++++++-------------- - po/km.po | 621 ++++++++++++++-------------- - po/ko.po | 620 +++++++++++++-------------- - po/ku.po | 617 +++++++++++++-------------- - po/lt.po | 621 ++++++++++++++-------------- - po/mr.po | 617 +++++++++++++-------------- - po/nb.po | 623 ++++++++++++++-------------- - po/ne.po | 619 +++++++++++++-------------- - po/nl.po | 622 ++++++++++++++-------------- - po/nn.po | 622 ++++++++++++++-------------- - po/pa.po | 617 +++++++++++++-------------- - po/pl.po | 624 ++++++++++++++-------------- - po/pt.po | 622 ++++++++++++++-------------- - po/pt_BR.po | 623 ++++++++++++++-------------- - po/ro.po | 623 ++++++++++++++-------------- - po/ru.po | 622 ++++++++++++++-------------- - po/sk.po | 623 ++++++++++++++-------------- - po/sv.po | 617 ++++++++++++++------------- - po/th.po | 618 +++++++++++++-------------- - po/tl.po | 621 ++++++++++++++-------------- - po/vi.po | 672 +++++++++++++++--------------- - po/zh_CN.po | 618 +++++++++++++-------------- - po/zh_TW.po | 618 +++++++++++++-------------- - scripts/po/ca.po | 525 ++++++++++++----------- - scripts/po/de.po | 468 ++++++++++++--------- - scripts/po/dpkg-dev.pot | 501 +++++++++++----------- - scripts/po/es.po | 526 ++++++++++++----------- - scripts/po/fr.po | 526 ++++++++++++----------- - scripts/po/pl.po | 526 ++++++++++++----------- - scripts/po/ru.po | 526 ++++++++++++----------- - scripts/po/sv.po | 468 ++++++++++++--------- - 91 files changed, 21870 insertions(+), 18025 deletions(-) - -commit 6e1afb26a5c4a27eb19643835c3ba2131670ae96 -Author: Guillem Jover -Date: Wed Jan 15 05:16:11 2014 +0100 - - po: Add P_() and C_() to dselect xgettext keywords - - Make sure these will not get missed in case dselect happens to start - using them. - - dselect/po/Makevars | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -commit 0bbcd70316a3aee370fd9f6fce37bd8fb712ac43 -Author: Guillem Jover -Date: Wed Jan 15 05:01:06 2014 +0100 - - po: Reset default xgettext keywords - - The convention in the project is to use the short aliases for actual - literal translatable strings, and the long names when using variables - or similar. - - dselect/po/Makevars | 2 +- - po/Makevars | 2 +- - scripts/po/Makevars | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit ac1a0024c65506efb900bbb2a5a872b5145d4c74 -Author: Guillem Jover -Date: Wed Jan 15 05:13:04 2014 +0100 - - po: Set the encoding of all xgettext input files to UTF-8 - - dselect/po/Makevars | 2 +- - scripts/po/Makevars | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 09abbe14148540b53332f7b85747bc698919e67b -Author: Guillem Jover -Date: Wed Jan 15 05:08:56 2014 +0100 - - scripts: Use P_() instead of ngettext() - - scripts/Dpkg/IPC.pm | 6 +++--- - scripts/dpkg-gencontrol.pl | 6 +++--- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit 8c00027021ef8777e914acb638999f94b3ce98c1 -Author: Guillem Jover -Date: Sun Jan 12 05:29:29 2014 +0100 - - dpkg-maintscript-helper: Allow missing prior-version for dir/symlink switches - - Closes: #733980 - - debian/changelog | 2 ++ - scripts/dpkg-maintscript-helper.sh | 2 -- - 2 files changed, 2 insertions(+), 2 deletions(-) - -commit 0b583bfec3e4aadf4cf6a5aec226f31dfe04e5c4 -Author: Guillem Jover -Date: Fri Jan 10 19:12:09 2014 +0100 - - dpkg: Fix file descriptor leaks in diversions and statoverride databases - - Regression introduced in commit ab56d08abe274182c0cab03425610ae61a074eff, - while too eagerly removing fclose() calls. - - Closes: #734783 - - debian/changelog | 2 ++ - src/divertdb.c | 6 +++--- - src/statdb.c | 6 +++--- - 3 files changed, 8 insertions(+), 6 deletions(-) - -commit a1c7f96a044198f6a3e067b5598868a6c67920b4 -Author: Guillem Jover -Date: Tue Jan 7 20:31:30 2014 +0100 - - dpkg-deb: Align long options in --help ouput - - dpkg-deb/main.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -commit 5dd25afbfa71b37eeaaa7f1577f51263d2a2d45c -Author: Guillem Jover -Date: Tue Jan 7 04:33:17 2014 +0100 - - dpkg-deb: Allow to use the same compression for control.tar as data.tar - - Add a new --uniform-compression, that allows to use the same compression - parameters on the control.tar member as for the data.tar member. - - This is a transitional need, once a dpkg-deb supporting other control.tar - compressions is widely deployed, ideally on stable distribution releases, - then the default could possibly get switched. - - debian/changelog | 2 ++ - dpkg-deb/build.c | 21 ++++++++++++--------- - dpkg-deb/dpkg-deb.h | 1 + - dpkg-deb/main.c | 10 ++++++++++ - man/dpkg-deb.1 | 7 +++++++ - 5 files changed, 32 insertions(+), 9 deletions(-) - -commit c17be3cbfc58e5b54ae1d5ae4714460d7ae2e15c -Author: Guillem Jover -Date: Tue Jan 7 04:00:47 2014 +0100 - - dpkg-deb: Accept other compressions for control.tar .deb member - - This includes no compression (control.tar) or xz compression - (control.tar.xz). - - There's really no point allowing the deprecated lzma, or the inferior - bzip2 at this time, when gzip and xz are superior in either speed or - compression ratio. - - debian/changelog | 2 ++ - dpkg-deb/build.c | 6 +++++- - dpkg-deb/dpkg-deb.h | 2 +- - dpkg-deb/extract.c | 13 +++++++++++-- - man/deb.5 | 7 +++++-- - 5 files changed, 24 insertions(+), 6 deletions(-) - -commit e7e052b462e794165411aa12b36324a66dcb6700 -Author: Guillem Jover -Date: Tue Jan 7 04:33:17 2014 +0100 - - dpkg-deb: Use default gzip compression level instead of hardcoding it - - Use the global default, instead of setting it explicitly in the code. - - dpkg-deb/build.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 517b54aff9bdb67768c109829cbd3631021bbddc -Author: Guillem Jover -Date: Mon Jan 13 01:38:16 2014 +0100 - - libdpkg: Add new compressor_get_name() function - - lib/dpkg/compress.c | 6 ++++++ - lib/dpkg/compress.h | 1 + - lib/dpkg/libdpkg.map | 1 + - 3 files changed, 8 insertions(+) - -commit f1f9887b8f96965d6046857d12fda24c053c6d4b -Author: Guillem Jover -Date: Mon Jul 29 23:59:53 2013 +0200 - - libdpkg: Fixup the compressor parameters during check instead of filter - - This makes sure the compressor parameters are corrected for cases like - gzip with compression level 0, which requires to switch the parameters - before we get the compressor extension, otherwise we'll produce binary - packages not compliant with the deb(5) spec, even if they can be - unpacked by dpkg-deb itself (as zlib does not have a problem considering - uncompressed data a valid gzip file). - - Closes: #718295 - - debian/changelog | 3 +++ - lib/dpkg/compress.c | 22 +++++++++++----------- - 2 files changed, 14 insertions(+), 11 deletions(-) - -commit 00b3f28b54806d814bd65ff59c978507d84e5b6c -Author: Guillem Jover -Date: Sat Jan 4 01:19:30 2014 +0100 - - dpkg-query: Ignore same packages when computing screen width as when printing - - The code was handling a different set of packages when filtering them - for printing as when using them to decide on the global column screen - width. - - Closes: #734114 - - debian/changelog | 2 ++ - src/querycmd.c | 29 ++++++++++++++++++++++++++--- - 2 files changed, 28 insertions(+), 3 deletions(-) - -commit 62019c2756e4560f930fcce0a413971b450f24e9 -Author: Guillem Jover -Date: Sun Dec 29 20:47:57 2013 +0100 - - dpkg-source: Change default source package compressor for new formats to xz - - This does not affect V1.0, which only supports gzip compression. - - debian/changelog | 1 + - man/dpkg-source.1 | 4 ++-- - scripts/Dpkg/Compression.pm | 2 +- - scripts/Dpkg/Source/Package.pm | 2 +- - 4 files changed, 5 insertions(+), 4 deletions(-) - -commit 583ee7f304c91fe314a70ca82a55a6c53825609e -Author: Guillem Jover -Date: Sun Dec 29 20:42:23 2013 +0100 - - dpkg-source: Set default compression options in source format specific modules - - This paves the way to be able to set package format specific defaults, - and fixes a problem with the default compression level on “3.0 (native)” - packages, as it was being set in dpkg-source but not reset when the - compressor was changed. - - Closes: #733326 - - debian/changelog | 3 +++ - scripts/Dpkg/Source/Package.pm | 7 +++++++ - scripts/Dpkg/Source/Package/V1.pm | 5 +++++ - scripts/dpkg-source.pl | 5 ----- - 4 files changed, 15 insertions(+), 5 deletions(-) - -commit f6b8ce21bec490e6348fccbcb0086bf3909516b7 -Author: Guillem Jover -Date: Sun Dec 29 20:39:22 2013 +0100 - - Dpkg::Source::Package: Always pass compression_level explicitly - - When creating a Dpkg::Source::Archive or a Dpkg::Source::Patch, always - be explicit about the compression level instead of relying on the global - default level. - - scripts/Dpkg/Source/Package/V1.pm | 3 ++- - scripts/Dpkg/Source/Package/V2.pm | 6 ++++-- - 2 files changed, 6 insertions(+), 3 deletions(-) - -commit 6fd63dea78a1b340c1a9eec5fcdfc87961a427ca -Author: Guillem Jover -Date: Sun Dec 29 20:37:46 2013 +0100 - - Dpkg::Index: Do not require unused Dpkg::Compression::FileHandle - - scripts/Dpkg/Index.pm | 1 - - 1 file changed, 1 deletion(-) - -commit c77ecff725cea34acc1bf21d05385ee416cd1681 -Author: Guillem Jover -Date: Mon Jan 13 02:00:43 2014 +0100 - - Dpkg::Source::Package::V3::Quilt: Clarify missing revision error - - Closes: #719348, #733746 - - debian/changelog | 2 ++ - scripts/Dpkg/Source/Package/V3/Quilt.pm | 3 ++- - 2 files changed, 4 insertions(+), 1 deletion(-) - -commit 3e625372f43daf4b51219629bed9b1bd437c23f0 -Author: Guillem Jover -Date: Sat Jan 4 16:20:17 2014 +0100 - - Dpkg::Control::FieldsCore: Add support for Testsuite source field - - This field is used to specify what type of test suite is present - in the source package. The values within are comma separated. - - debian/changelog | 1 + - scripts/Dpkg/Control/FieldsCore.pm | 6 +++++- - 2 files changed, 6 insertions(+), 1 deletion(-) - -commit f1084f41e1d697fae5e1f0f105cd566d9eff0c7b -Author: Guillem Jover -Date: Fri Dec 13 06:14:18 2013 +0100 - - dpkg-buildpackage: Add shell hooks support - - This adds new --hook- options where is currently - one of: - - init preclean source build binary changes postclean check sign done - - that will execute the specified shell snippet with the following format - subsitutions applied: - - %% A single % character. - %a If the action is being performed (0 or 1). - %p The source package name. - %v The source package version. - %s The source package version w/o the epoch. - %u The upstream version. - - This implementation is based and compatible with the debuild code in - devscripts 2.13.9. - - Closes: #476221 - - debian/changelog | 2 + - man/dpkg-buildpackage.1 | 88 ++++++++++++++++++++++++++++++++------------ - scripts/dpkg-buildpackage.pl | 61 ++++++++++++++++++++++++++++++ - 3 files changed, 128 insertions(+), 23 deletions(-) - -commit 4132e360be869109032351c002fa25add2bb6ccc -Author: Guillem Jover -Date: Fri Dec 13 06:14:18 2013 +0100 - - dpkg-buildpackage: Use Dpkg::Version instead of ad-hoc parsing - - Use the as_string() method to get a string with the epoch stripped, - instead of stripping it manually. And pass the created object to - version_check() to avoid doing the conversion twice. - - scripts/dpkg-buildpackage.pl | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -commit 2a9e9e5e6a8d86bc9b0eeffbc84affc8271d76f1 -Author: Guillem Jover -Date: Wed Dec 25 22:55:48 2013 +0100 - - dpkg-buildpackage: Ignore DEB_CHECK_COMMAND on DEB_BUILD_OPTIONS nocheck - - man/dpkg-buildpackage.1 | 4 ++++ - scripts/dpkg-buildpackage.pl | 7 ++++++- - 2 files changed, 10 insertions(+), 1 deletion(-) - -commit cd1cdfa01d2328b81ae0307ef024e15d6a0e309d -Author: Guillem Jover -Date: Wed Dec 25 22:29:57 2013 +0100 - - dpkg-buildpackage: Recompute checksum hashes for dsc file after signing - - Missed in commit 31b73ef0056b6c94a257ba3f1fb111b5aed3aa4e. - - scripts/dpkg-buildpackage.pl | 22 ++++++++++++++++++++-- - 1 file changed, 20 insertions(+), 2 deletions(-) - -commit 6222e8f015b7054411fc18e8a053e48253294a74 -Author: Guillem Jover -Date: Mon Dec 23 03:55:08 2013 +0100 - - dpkg-buildpackage: Use Dpkg::Control to parse .changes file - - This removes a custom parser, replaced by the proper Dpkg::Control - type, which reduces code and will make it easier to handle updates - in the checksums after signing has happened. - - scripts/dpkg-buildpackage.pl | 26 +++++++------------------- - 1 file changed, 7 insertions(+), 19 deletions(-) - -commit 51b9177f1b981526ed917b380496960373240915 -Author: Guillem Jover -Date: Sat Jan 11 03:09:30 2014 +0100 - - Dpkg::Checksums: Allow updating checksums without erroring out - - debian/changelog | 1 + - scripts/Dpkg/Checksums.pm | 34 ++++++++++++++++++++++++---------- - 2 files changed, 25 insertions(+), 10 deletions(-) - -commit fdc9a1b07c49d0f123c4541db151fcb6f08f2137 -Author: Guillem Jover -Date: Sat Dec 21 02:25:29 2013 +0100 - - Dpkg::Shlibs::SymbolFile: Add support for Ignore-Blacklist-Groups field - - The currently available groups are aeabi and gomp. - - Closes: #694524 - - debian/changelog | 2 + - man/deb-symbols.5 | 18 +++-- - scripts/Dpkg/Shlibs/SymbolFile.pm | 15 ++-- - scripts/Makefile.am | 5 ++ - scripts/t/200_Dpkg_Shlibs.t | 83 +++++++++++++++++++++- - scripts/t/200_Dpkg_Shlibs/objdump.blacklisted | 15 ++++ - scripts/t/200_Dpkg_Shlibs/symbols.blacklist-filter | 3 + - scripts/t/200_Dpkg_Shlibs/symbols.blacklist-groups | 4 ++ - scripts/t/200_Dpkg_Shlibs/symbols.blacklist-ignore | 3 + - scripts/t/200_Dpkg_Shlibs/symbols.blacklisted | 4 ++ - 10 files changed, 143 insertions(+), 9 deletions(-) - -commit 42ccdd6ab9356c0faa072eb4e20f107aeaa8e3b7 -Author: Guillem Jover -Date: Thu Dec 19 04:59:16 2013 +0100 - - Dpkg::Shlibs::SymbolFile: Blacklist GOMP critical section symbols - - Closes: #708033 - - debian/changelog | 1 + - scripts/Dpkg/Shlibs/SymbolFile.pm | 4 ++++ - 2 files changed, 5 insertions(+) - -commit 942f05dd85a3aa534fa15c811289251f60b27b97 -Author: Guillem Jover -Date: Thu Dec 19 04:56:43 2013 +0100 - - Dpkg::Shlibs::SymbolFile: Turn ARM Embedded ABI blacklist into a regex - - The ARM Embedded ABI spec, states that symbols prefixed with __aeabi_ - can appear in output objects, and are implementation specific, just - ignore them all, instead of trying to keep up with the GNU toolchain. - Not to mention that other toolchains might generate different symbols. - - debian/changelog | 3 +++ - scripts/Dpkg/Shlibs/SymbolFile.pm | 13 ++++--------- - 2 files changed, 7 insertions(+), 9 deletions(-) - -commit e4b5732b99aca6a7cbe63cef1630a715f3809b19 -Author: Guillem Jover -Date: Thu Dec 19 04:56:43 2013 +0100 - - Dpkg::Shlibs::SymbolFile: Switch blacklist check into a function - - This will allow to easily add pattern matches for whole namespaced - blacklists. - - scripts/Dpkg/Shlibs/SymbolFile.pm | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -commit c9dd5ddbc9d8bde13184f1987a7019e2c59ee94f -Author: Peter Chang -Date: Wed Dec 18 17:14:07 2013 -0800 - - libdpkg: Use makedev(3) rather than ad-hoc computations - - The current code does not support large major/minor device numbers, by - using the system's makedev(3) we'll be able to use those. This affects - at least Linux, NetBSD and OpenBSD based systems. In case the function - is not available (such as in Mac OS X), we'll fallback to the compat - implementation with the same current limitations. - - Signed-off-by: Peter Chang - Signed-off-by: Guillem Jover - - debian/changelog | 4 ++++ - lib/dpkg/tarfn.c | 4 ++-- - 2 files changed, 6 insertions(+), 2 deletions(-) - -commit 35177204e6ac755787c8340e2da16df51b2f6e3a -Author: Guillem Jover -Date: Thu Dec 19 03:43:46 2013 +0100 - - libcompat: Add new makedev(3) fallback function - - configure.ac | 1 + - lib/compat/compat.h | 4 ++++ - 2 files changed, 5 insertions(+) - -commit 1c2b693e0b9de39dd27e715ae538f87a93ad3adc -Author: Guillem Jover -Date: Tue Dec 17 23:07:42 2013 +0100 - - Rename return code variables from r to rc - - dselect/pkgdepcon.cc | 32 ++++++++++++++++++-------------- - dselect/pkglist.cc | 6 +++--- - lib/dpkg/version.c | 22 +++++++++++----------- - src/archives.c | 26 ++++++++++++++------------ - src/configure.c | 6 +++--- - src/enquiry.c | 10 +++++----- - src/remove.c | 9 +++++---- - src/script.c | 22 +++++++++++----------- - src/unpack.c | 6 +++--- - utils/start-stop-daemon.c | 6 +++--- - utils/update-alternatives.c | 8 +++++--- - 11 files changed, 81 insertions(+), 72 deletions(-) - -commit d6341c151bc3e585170d231af9ef7db4f606ef46 -Author: Guillem Jover -Date: Tue Dec 17 17:53:56 2013 +0100 - - Use dead_pid instead of r as variable name for waitpid() return value - - lib/dpkg/subproc.c | 6 +++--- - utils/update-alternatives.c | 6 +++--- - 2 files changed, 6 insertions(+), 6 deletions(-) - -commit 931bb3cc2763fc8cb99e085a53f00b8598463642 -Author: Guillem Jover -Date: Tue Dec 17 17:48:34 2013 +0100 - - dselect: Do not reuse variable r in packagelist::checksearch() - - Use a different variable with a more meaningful name instead. - - dselect/pkglist.cc | 19 ++++++++++--------- - 1 file changed, 10 insertions(+), 9 deletions(-) - -commit 4eca28c8bca02672b9c6c7d317c74611778ffe24 -Author: Guillem Jover -Date: Tue Dec 17 17:20:02 2013 +0100 - - Give better names to variables in malloc replacement functions - - lib/dpkg/mlib.c | 16 ++++++++++------ - utils/update-alternatives.c | 8 ++++---- - 2 files changed, 14 insertions(+), 10 deletions(-) - -commit c58d29a9ef5e8700f9003ae48c6e1667e3298d66 -Author: Guillem Jover -Date: Tue Dec 17 05:41:55 2013 +0100 - - dpkg-buildpackage: Fix quoting in describe_build regexes - - Some of the current strings do not escape the dots correctly which means - they will end up as regex metacharacters, matching any character instead - of just a literal dot. - - scripts/dpkg-buildpackage.pl | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -commit 88d27a75336a16a50b8d92f970cc16af486a9e63 -Author: Guillem Jover -Date: Tue Jan 14 19:10:17 2014 +0100 - - dpkg-buildpackage: Correctly hyphenate build-only and source-only - - debian/changelog | 2 ++ - scripts/dpkg-buildpackage.pl | 12 ++++++------ - 2 files changed, 8 insertions(+), 6 deletions(-) - -commit 42b8c07dd3784d7862fe50f1a6203896ef3dbce2 -Author: Guillem Jover -Date: Sat Dec 21 01:19:30 2013 +0100 - - dpkg-gensymbols(1): Fix a typo - - man/dpkg-gensymbols.1 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit c4ce860fdea16610e0c065cb265a24048a04c17c -Author: Guillem Jover -Date: Fri Dec 20 06:45:11 2013 +0100 - - man: Add mention of Multi-Arch: no value - - This is the default value when it gets ommitted, mention it out of - completeness. - - Closes: #732648 - - debian/changelog | 1 + - man/deb-control.5 | 8 +++++--- - man/deb-src-control.5 | 4 ++-- - 3 files changed, 8 insertions(+), 5 deletions(-) - -commit e5e1a096e996884958e2af72144674bae55a654e -Author: Trần Ngọc Quân -Date: Wed Jan 1 15:00:10 2014 +0700 - - Update Vietnamese programs translation - - [guillem@debian.org: - - Fix closing double quote. ] - - Signed-off-by: Trần Ngọc Quân - Signed-off-by: Guillem Jover - - debian/changelog | 1 + - po/vi.po | 88 ++++++++++++++++++++++++-------------------------------- - 2 files changed, 39 insertions(+), 50 deletions(-) - -commit f5888e5f2bd3bbfb07b67ee67ad2e988ee0c4a76 -Author: Guillem Jover -Date: Fri Jan 10 04:42:17 2014 +0100 - - po: Remove wrong FSF copyright notice in Vietnamese translations - - All translators that have ever worked in the Vietnamese translations: - - Phan Vinh Thinh , 2005. - Clytie Siddall , 2006-2010. - Trần Ngọc Quân , 2012-2013. - - have never assigned their copyright to the FSF, they just signed the - copyright disclaimer: - - - - as such the FSF copyright notice is wrong, let's just remove it. - - dselect/po/vi.po | 1 - - po/vi.po | 1 - - 2 files changed, 2 deletions(-) - -commit 0d64781faa5b2571dd4fc95696696c895cf0daf7 -Author: Helge Kreutzmann -Date: Mon Jan 13 10:42:48 2014 +0100 - - Fix a translation bug - - man/po/de.add | 2 +- - man/po/de.po | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -commit b987fed5edc5f6a3aef612ed87b82cfdfe68ef3f -Author: Peter Krefting -Date: Sun Jan 12 22:10:53 2014 +0100 - - Update Swedish translation - - man/po/sv.po: 2193t0f0u. - - debian/changelog | 1 + - man/po/sv.po | 2300 ++++++++++++++++-------------------------------------- - 2 files changed, 691 insertions(+), 1610 deletions(-) - -commit 6a44b5d948c2cc58e4bfacc5ac55b7202c4eed8e -Author: Peter Krefting -Date: Fri Jan 10 15:39:54 2014 +0100 - - Update Swedish translation - - po/sv.po: 1087t0f0. - scripts/po/sv.po: 544t0f0u + a typo fix. - - debian/changelog | 4 + - po/sv.po | 591 +++++++++++++++++-------------------------------------- - scripts/po/sv.po | 556 ++++++++++++++++++--------------------------------- - 3 files changed, 376 insertions(+), 775 deletions(-) - -commit 1b015cc3e205517803d64622577d6eb5bb77a517 -Author: Helge Kreutzmann -Date: Sat Dec 21 22:05:23 2013 +0100 - - Update German translation of manual pages - - Update to 2203t. - - man/po/de.po | 509 ++++++++++++++++++++++++++++++++++------------------------- - 1 file changed, 297 insertions(+), 212 deletions(-) - -commit 1ee0a74568fcbaebf24c5d66265c78e35a7e0a7b -Author: Helge Kreutzmann -Date: Wed Dec 18 20:47:54 2013 +0100 - - Update German scripts translation - - Update to 544t. - - scripts/po/de.po | 200 ++++++++++++++++++++++++++++++------------------------- - 1 file changed, 109 insertions(+), 91 deletions(-) - -commit 80de58344cb38ab085ca2c7808f4f7b3be1d2422 -Author: Guillem Jover -Date: Sat Dec 14 05:34:27 2013 +0100 - - s-s-d: Add new --pid option - - This option is useful when the user knows the pid of the process to act - on, and wants to use some of the features from s-s-d, w/o needing to - create a fake pid file. - - Closes: #253265 - - debian/changelog | 1 + - man/start-stop-daemon.8 | 8 ++++++-- - utils/start-stop-daemon.c | 34 +++++++++++++++++++++++++++++++--- - 3 files changed, 38 insertions(+), 5 deletions(-) - -commit 6547d58028cacee0fc25d2bfa05d558104ba2fce -Author: Guillem Jover -Date: Sat Dec 14 04:56:07 2013 +0100 - - doc: Clear DOT_FONTNAME - - doxygen now produces a warning, let's use the default instead. - - doc/Doxyfile.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 93d22496db5a86c723b209b5899349b7ce285b7f -Author: Guillem Jover -Date: Sat Dec 14 04:53:57 2013 +0100 - - libdpkg: Fix JavaDoc string - - lib/dpkg/strwide.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 4ab4758e01571f7dd8a0e6878149783128bb9e2c -Author: Guillem Jover -Date: Sat Dec 14 03:52:20 2013 +0100 - - dpkg-deb, dpkg: Unify and clarify conffile name length error message - - Clarify the error message, by stating it's either too long or missing a - final newline, and unify it to be the same on both dpkg-deb and dpkg. - - Closes: #108196 - - debian/changelog | 2 ++ - dpkg-deb/build.c | 2 +- - src/unpack.c | 4 ++-- - 3 files changed, 5 insertions(+), 3 deletions(-) - -commit a363181bda0e752130176542fb259e5a5bab24d1 -Author: Guillem Jover -Date: Sat Dec 14 03:52:20 2013 +0100 - - dpkg-deb: Change conffile name length warning into an error - - Such packages will not be accepted by dpkg at install time anyway, so - catch this early on, and don't let it through. - - debian/changelog | 2 ++ - dpkg-deb/build.c | 12 +++--------- - 2 files changed, 5 insertions(+), 9 deletions(-) - -commit 6e0998adc4ec377aedd264674f0b186c08278cde -Author: Guillem Jover -Date: Sat Dec 14 03:25:31 2013 +0100 - - dpkg: Fix debug string to use proper quotes - - src/enquiry.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 9eb6a41a9f48f18127bf5a993fdf52c2fc35d25f -Author: Guillem Jover -Date: Sat Dec 14 03:12:56 2013 +0100 - - dpkg-deb: Remove trailing newlines from warning message - - Update and unfuzzy translation strings. - - debian/changelog | 1 + - dpkg-deb/build.c | 4 ++-- - po/ast.po | 10 ++++------ - po/ca.po | 8 ++++---- - po/cs.po | 10 +++++----- - po/da.po | 8 ++++---- - po/de.po | 8 ++++---- - po/dz.po | 8 ++++---- - po/el.po | 10 ++++------ - po/eo.po | 8 ++++---- - po/es.po | 8 ++++---- - po/eu.po | 8 ++++---- - po/fr.po | 8 ++++---- - po/gl.po | 8 ++++---- - po/hu.po | 8 ++++---- - po/id.po | 6 +++--- - po/it.po | 8 ++++---- - po/ja.po | 6 +++--- - po/ko.po | 6 +++--- - po/lt.po | 8 ++++---- - po/mr.po | 10 ++++------ - po/nb.po | 8 ++++---- - po/ne.po | 8 ++++---- - po/nl.po | 10 ++++------ - po/nn.po | 8 ++++---- - po/pl.po | 10 +++++----- - po/pt.po | 8 ++++---- - po/pt_BR.po | 8 ++++---- - po/ro.po | 10 +++++----- - po/ru.po | 10 +++++----- - po/sk.po | 10 +++++----- - po/sv.po | 8 ++++---- - po/th.po | 6 +++--- - po/tl.po | 10 ++++------ - po/vi.po | 6 +++--- - po/zh_CN.po | 6 +++--- - po/zh_TW.po | 6 +++--- - 37 files changed, 141 insertions(+), 150 deletions(-) - -commit ff2114bd522d72488d82824ccc5c4d96997c062b -Author: Guillem Jover -Date: Mon Dec 16 06:29:05 2013 +0100 - - dpkg-buildpackage: Detect missing sign-command before starting the build - - While a failure in signing the resulting built artifacts is something - that can be easily recovered from, by just signing them again, it's - better if we just catch this beforehand. - - debian/changelog | 2 ++ - scripts/dpkg-buildpackage.pl | 9 ++++++--- - 2 files changed, 8 insertions(+), 3 deletions(-) - -commit be3bb946cea90bc68fa480c580b33a99cb19906d -Author: Guillem Jover -Date: Mon Dec 16 06:19:40 2013 +0100 - - dpkg-buildpackage: Detect missing gain-root-command even if running as root - - Give a proper error message instead of a failed to execute the command - message later on. - - debian/changelog | 2 ++ - scripts/dpkg-buildpackage.pl | 16 ++++++++-------- - 2 files changed, 10 insertions(+), 8 deletions(-) - -commit 941d93ff3c086bda22b62bd4bb69f5ae4c9654ec -Author: Guillem Jover -Date: Sat Dec 14 17:54:40 2013 +0100 - - dpkg-buildpackage: Assign directly from DEB_SIGN_KEYID environment - - The conditional checks on the environment variable are useless here, as - the current value does not need to be preserved. - - scripts/dpkg-buildpackage.pl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -commit 1cef5694e585b5b89dd74470b5eef5e88da3f4ff -Author: Guillem Jover -Date: Fri Dec 13 05:41:30 2013 +0100 - - dpkg-buildpackage: Add new --check-command and --check-option options - - Call the checker command on the .changes file before signing anything. - Use the new DEB_CHECK_COMMAND environment variable as the default - --check-command value. The command will usually be lintian. - - debian/changelog | 3 +++ - man/dpkg-buildpackage.1 | 16 ++++++++++++++++ - scripts/dpkg-buildpackage.pl | 18 ++++++++++++++++++ - 3 files changed, 37 insertions(+) - -commit 17f1adad045b8e6b67aac185f0286a2f044b0723 -Author: Guillem Jover -Date: Fri Dec 13 04:33:00 2013 +0100 - - dpkg-buildpackage: Refactor $srcmsg generation into a new function - - Change fileomitted() to take a $files argument, instead of using the - global variable. - - scripts/dpkg-buildpackage.pl | 58 +++++++++++++++++++++++++------------------- - 1 file changed, 33 insertions(+), 25 deletions(-) - -commit c85eeed49f0032f2af3f8838b4af4348d0d77d5a -Author: Guillem Jover -Date: Sat Dec 14 18:35:41 2013 +0100 - - dpkg-buildpackage: Remove redundant $srcmsg assignment - - The setting is always overwritten, and is a duplicate of the fallback if - case. - - scripts/dpkg-buildpackage.pl | 1 - - 1 file changed, 1 deletion(-) - -commit 53baff1c11704c0b8e73754d750572a01848eb89 -Author: Guillem Jover -Date: Fri Dec 13 05:13:23 2013 +0100 - - dpkg-buildpackage(1): Split dpkg-source --after-build step from item list - - This action and the final clean are unrelated, split them. - - man/dpkg-buildpackage.1 | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -commit ac582d0e26ea9c04b579d0af3b6fbc705bd55e98 -Author: Guillem Jover -Date: Sat Dec 14 16:29:36 2013 +0100 - - dpkg-buildpackage: Change subcommand option array settings to post-conditions - - scripts/dpkg-buildpackage.pl | 12 +++++------- - 1 file changed, 5 insertions(+), 7 deletions(-) - -commit 0eb6d80f9797bd1b68b76c7b736deb1591054efb -Author: Guillem Jover -Date: Sat Dec 14 16:25:22 2013 +0100 - - dpkg-buildpackage: Split variable declarations - - scripts/dpkg-buildpackage.pl | 18 +++++++++++++----- - 1 file changed, 13 insertions(+), 5 deletions(-) - -commit db46f385deea56d628cad0c0b0f4f91b174de8fd -Author: Guillem Jover -Date: Sat Dec 14 16:19:58 2013 +0100 - - dpkg-buildpackage: Pack source version related variables with similar ones - - scripts/dpkg-buildpackage.pl | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -commit c2674f7007c9b7b70a7c54a9c9583fe17d62140a -Author: Guillem Jover -Date: Mon Dec 16 06:32:44 2013 +0100 - - dpkg-buildpackage: Move sign-command setup just after gain-root-command - - This will allow performing more thorough checks on the value, before - printing any build progress. - - scripts/dpkg-buildpackage.pl | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -commit 2ce819ef2d9d10b5ae8a57f8cfe9839feca1f28d -Author: Guillem Jover -Date: Sat Dec 14 16:11:50 2013 +0100 - - dpkg-buildpackage: Adapt $signsource value wrt whether source is built - - Instead of checking if we are actually building any source at all, - just fold the check into the $signsource value at setup time. - - scripts/dpkg-buildpackage.pl | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -commit 31b73ef0056b6c94a257ba3f1fb111b5aed3aa4e -Author: Guillem Jover -Date: Fri Dec 13 05:11:12 2013 +0100 - - dpkg-buildpackage: Move and pack signing logic at the end of the build - - This packs all signing in a single place, so that additional checks can - be performed before any signing is done. - - debian/changelog | 3 +++ - man/dpkg-buildpackage.1 | 12 +++++------- - scripts/dpkg-buildpackage.pl | 37 +++++++++++++++---------------------- - 3 files changed, 23 insertions(+), 29 deletions(-) - -commit 76ff150dd4046c5849d4fcdd26c1bb115268afc7 -Author: Guillem Jover -Date: Mon Dec 16 05:43:30 2013 +0100 - - scripts: Use croak instead of internerr on programming errors in programs - - Although these are programs (not modules), we'll use croak here too, as - there's no point in reintroducing the internerr function which got axed - in commit 8c314d6c4cee9b2c5acf078958243fb72af4e3d2, because croak does a - way better job here too. - - scripts/dpkg-buildpackage.pl | 3 ++- - scripts/dpkg-genchanges.pl | 5 +++-- - 2 files changed, 5 insertions(+), 3 deletions(-) - -commit f29cb2788da719a858fd2dbbcec72d0944787d4c -Author: Guillem Jover -Date: Mon Dec 16 05:37:42 2013 +0100 - - scripts: Cleanup build_opt() handling - - - Rename binary_opt() to build_opt() in dpkg-genchanges, and change - it to handle -S. - - Remove function prototype. - - Expand the ternary operator in build_opt() into a if/elsif/else - statement. - - Use build_opt() instead of hardcoding '-S' all over the place. - - scripts/dpkg-buildpackage.pl | 31 ++++++++++++++++++++----------- - scripts/dpkg-genchanges.pl | 28 +++++++++++++++++++--------- - 2 files changed, 39 insertions(+), 20 deletions(-) - -commit 7221318f4743d47a76c090ce914a1befd6b558d9 -Author: Guillem Jover -Date: Mon Dec 16 05:01:33 2013 +0100 - - dpkg-buildpackage: Check explicitly for desired build type on action decisions - - scripts/dpkg-buildpackage.pl | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -commit 00007d21d8e29e11e23115de5f8923e3bb805b74 -Author: Guillem Jover -Date: Sat Dec 14 23:22:09 2013 +0100 - - dpkg-genchanges: Unify $include constant naming with dpkg-buildpackage - - scripts/dpkg-genchanges.pl | 49 +++++++++++++++++++++++----------------------- - 1 file changed, 25 insertions(+), 24 deletions(-) - -commit 60f8e9e525f6bb8f56a417dba0492594212f15df -Author: Guillem Jover -Date: Fri Dec 13 04:15:11 2013 +0100 - - dpkg-buildpackage: Rename $usepause to $signpause - - scripts/dpkg-buildpackage.pl | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -commit b8b7a4813922b5cbdcb26d941de1e091958c89a5 -Author: Helge Kreutzmann -Date: Sat Dec 14 21:07:57 2013 +0100 - - Update German translation of manual pages - - Update to 2193t. - - debian/changelog | 3 +++ - man/po/de.po | 78 +++++++++++++++++--------------------------------------- - 2 files changed, 27 insertions(+), 54 deletions(-) - -commit f88c5e9f7b6d2edae3ef16fbce13fdfeaf1f763c -Author: Helge Kreutzmann -Date: Sat Dec 14 20:49:19 2013 +0100 - - Update German scripts translation - - Update to 542t. - - debian/changelog | 3 ++- - scripts/po/de.po | 39 +++------------------------------------ - 2 files changed, 5 insertions(+), 37 deletions(-) - -commit ac1424ed67473877012a7ded5c8a6bc5f71c6dd2 -Author: Guillem Jover -Date: Thu Dec 12 09:00:15 2013 +0100 - - Bump version to 1.17.6 - - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) - -commit a365cc920906434e72ced7bdc4d505d317675674 (tag: 1.17.5) +commit a365cc920906434e72ced7bdc4d505d317675674 Author: Guillem Jover Date: Thu Dec 12 08:29:50 2013 +0100 @@ -20005,7 +228,7 @@ debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) -commit d9d254481e5ae5f62889195a309bf563fd2851ac (tag: 1.17.4) +commit d9d254481e5ae5f62889195a309bf563fd2851ac Author: Guillem Jover Date: Sat Dec 7 07:35:00 2013 +0100 @@ -20668,7 +891,7 @@ debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) -commit dddaeb2e58c1b310c2b7d7ed064b33eae16380a6 (tag: 1.17.3) +commit dddaeb2e58c1b310c2b7d7ed064b33eae16380a6 Author: Guillem Jover Date: Thu Dec 5 10:19:50 2013 +0100 @@ -20803,7 +1026,7 @@ debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) -commit 55c90333c5e7faecb4c1f9b726a39ac8f5bb58b7 (tag: 1.17.2) +commit 55c90333c5e7faecb4c1f9b726a39ac8f5bb58b7 Author: Guillem Jover Date: Thu Dec 5 04:56:47 2013 +0100 @@ -21888,20 +2111,20 @@ Switch all program to use the new function instead of open-coding it. - dpkg-deb/main.c | 5 +---- - dpkg-split/main.c | 5 +---- - dselect/main.cc | 5 +---- - lib/dpkg/Makefile.am | 2 +- - lib/dpkg/{program.h => i18n.c} | 31 +++++++++++-------------------- - lib/dpkg/i18n.h | 2 ++ - lib/dpkg/libdpkg.map | 2 ++ - po/POTFILES.in | 1 + - src/divertcmd.c | 5 +---- - src/main.c | 5 +---- - src/querycmd.c | 5 +---- - src/statcmd.c | 5 +---- - src/trigcmd.c | 5 +---- - 13 files changed, 25 insertions(+), 53 deletions(-) + dpkg-deb/main.c | 5 +---- + dpkg-split/main.c | 5 +---- + dselect/main.cc | 5 +---- + lib/dpkg/Makefile.am | 2 +- + lib/dpkg/{i18n.h => i18n.c} | 41 ++++++++++++----------------------------- + lib/dpkg/i18n.h | 2 ++ + lib/dpkg/libdpkg.map | 2 ++ + po/POTFILES.in | 1 + + src/divertcmd.c | 5 +---- + src/main.c | 5 +---- + src/querycmd.c | 5 +---- + src/statcmd.c | 5 +---- + src/trigcmd.c | 5 +---- + 13 files changed, 26 insertions(+), 62 deletions(-) commit 62841baecfc474fd1bf61ae8ee75a636ccf8f909 Author: Helge Kreutzmann @@ -22796,19 +3019,19 @@ These will perform any necessary action when starting and exiting a dpkg-based program. - dpkg-deb/main.c | 6 ++-- - dpkg-split/main.c | 7 ++--- - dselect/main.cc | 4 +-- - lib/dpkg/Makefile.am | 2 ++ - lib/dpkg/dpkg.h | 13 +-------- - lib/dpkg/{cleanup.c => program.c} | 60 +++++++++++++++----------------------- - lib/dpkg/{progname.h => program.h} | 14 ++++----- - src/divertcmd.c | 7 ++--- - src/main.c | 7 ++--- - src/querycmd.c | 6 ++-- - src/statcmd.c | 6 ++-- - src/trigcmd.c | 7 ++--- - 12 files changed, 51 insertions(+), 88 deletions(-) + dpkg-deb/main.c | 6 ++---- + dpkg-split/main.c | 7 ++----- + dselect/main.cc | 4 ++-- + lib/dpkg/Makefile.am | 2 ++ + lib/dpkg/dpkg.h | 13 +----------- + lib/dpkg/program.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++ + lib/dpkg/program.h | 41 +++++++++++++++++++++++++++++++++++++ + src/divertcmd.c | 7 +++---- + src/main.c | 7 ++----- + src/querycmd.c | 6 ++---- + src/statcmd.c | 6 ++---- + src/trigcmd.c | 7 ++----- + 12 files changed, 118 insertions(+), 45 deletions(-) commit 50c1cb4d6e8b4c3ee739646f9df05992b806ea5e Author: Guillem Jover @@ -23500,7 +3723,7 @@ debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) -commit 48b8451ce4d0d52aa221774e04978cd27846ee48 (tag: 1.17.1) +commit 48b8451ce4d0d52aa221774e04978cd27846ee48 Author: Guillem Jover Date: Sun Jul 28 14:44:54 2013 +0200 @@ -23625,7 +3848,7 @@ debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) -commit 0a6abec3007e5521dc1c379964a272780cad8a04 (tag: 1.17.0) +commit 0a6abec3007e5521dc1c379964a272780cad8a04 Author: Guillem Jover Date: Fri Jul 26 23:55:04 2013 +0200 @@ -23960,12 +4183,12 @@ Signed-off-by: Guillem Jover - debian/changelog | 3 + - man/.gitignore | 1 + - man/po/{pt_BR.add => it.add} | 1 - - man/po/{ru.po => it.po} | 7119 ++++++++++++++++++++++++------------------ - man/po/po4a.cfg | 3 +- - 5 files changed, 4034 insertions(+), 3093 deletions(-) + debian/changelog | 3 + + man/.gitignore | 1 + + man/po/it.add | 1 + + man/po/it.po | 17821 +++++++++++++++++++++++++++++++++++++++++++++++++++++ + man/po/po4a.cfg | 3 +- + 5 files changed, 17828 insertions(+), 1 deletion(-) commit babd1c3a37f2e4de4f5d0644e9f39982faa9a6cf Author: TAKAHASHI Motonobu @@ -24196,10 +4419,10 @@ List::MoreUtils, as that is not a core module and we want to avoid the additional dependency. - scripts/Dpkg/{Package.pm => Util.pm} | 39 ++++++++++++++++++----------- - scripts/Makefile.am | 2 ++ - test/000_pod.t => scripts/t/550_Dpkg_Util.t | 26 +++++++++++-------- - 3 files changed, 42 insertions(+), 25 deletions(-) + scripts/Dpkg/Util.pm | 51 +++++++++++++++++++++++++++++++++++++++++++++++ + scripts/Makefile.am | 2 ++ + scripts/t/550_Dpkg_Util.t | 38 +++++++++++++++++++++++++++++++++++ + 3 files changed, 91 insertions(+) commit 9581f11d5efb591cd95baeae38054ab37d30df8c Author: Guillem Jover @@ -28104,7 +8327,7 @@ scripts/Dpkg.pm | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) -commit 0a1af42295d04b46cdb48eb11996dbb1b3e8111f (tag: 1.16.10) +commit 0a1af42295d04b46cdb48eb11996dbb1b3e8111f Author: Guillem Jover Date: Fri Mar 8 04:42:06 2013 +0100 @@ -28252,12 +8475,12 @@ signed block, as otherwise a syntax error due to duplicate field is triggered. - debian/changelog | 1 + - scripts/Dpkg/Control/Hash.pm | 4 +++- - scripts/Makefile.am | 1 + - scripts/t/700_Dpkg_Control.t | 5 ++++- - .../{bogus-armor-nested.dsc => bogus-armor-inline.dsc} | 14 ++++---------- - 5 files changed, 13 insertions(+), 12 deletions(-) + debian/changelog | 1 + + scripts/Dpkg/Control/Hash.pm | 4 +++- + scripts/Makefile.am | 1 + + scripts/t/700_Dpkg_Control.t | 5 ++++- + scripts/t/700_Dpkg_Control/bogus-armor-inline.dsc | 9 +++++++++ + 5 files changed, 18 insertions(+), 2 deletions(-) commit b08f7a8306f872b077af4040ebeab8853faaf0cd Author: Guillem Jover @@ -28454,7 +8677,7 @@ po/es.po | 1940 +++++++++++++++++++++----------------------------------------- 1 file changed, 662 insertions(+), 1278 deletions(-) -commit 5de3f2176ccfe28688f8f825c54936767660d039 (tag: 1.16.9) +commit 5de3f2176ccfe28688f8f825c54936767660d039 Author: Guillem Jover Date: Sat Oct 20 06:04:58 2012 +0200 @@ -29539,7 +9762,7 @@ debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) -commit 6bcd5ee20874f28e1c026a7cbebc09491246ac1d (tag: 1.16.8) +commit 6bcd5ee20874f28e1c026a7cbebc09491246ac1d Author: Guillem Jover Date: Sat Jul 21 02:11:40 2012 +0200 @@ -29819,7 +10042,7 @@ debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) -commit 1bb15619ffc305dc46ec63d0861e93884cadc4c8 (tag: 1.16.7) +commit 1bb15619ffc305dc46ec63d0861e93884cadc4c8 Author: Raphaël Hertzog Date: Mon Jul 2 21:16:54 2012 +0200 @@ -30175,7 +10398,7 @@ debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) -commit 9954497af19336cb46f56762cb8ef24027b441ca (tag: 1.16.6) +commit 9954497af19336cb46f56762cb8ef24027b441ca Author: Guillem Jover Date: Sat Jun 30 21:45:26 2012 +0200 @@ -30295,7 +10518,7 @@ scripts/po/de.po | 486 +++++++++---------------------------------------------- 2 files changed, 75 insertions(+), 414 deletions(-) -commit 1665fe4c73e4f02d1572569ce7cf971e322fe1fc (reproducible/sid, origin/sid, sid) +commit 1665fe4c73e4f02d1572569ce7cf971e322fe1fc Author: Raphaël Hertzog Date: Sat Jun 30 09:38:17 2012 +0200 @@ -30307,7 +10530,7 @@ scripts/dpkg-buildflags.pl | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) -commit d902cddef2e4474b0bf70ef5add81a71cdc34636 (buxy/pu/master) +commit d902cddef2e4474b0bf70ef5add81a71cdc34636 Author: Guillem Jover Date: Sat Jun 30 07:06:01 2012 +0200 @@ -30316,7 +10539,7 @@ debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) -commit b2e974771c21c120d11f9c0b4ba5a6f0197f9398 (tag: 1.16.5) +commit b2e974771c21c120d11f9c0b4ba5a6f0197f9398 Author: Guillem Jover Date: Sat Jun 30 04:29:08 2012 +0200 @@ -30766,14 +10989,14 @@ libdpkg: Move warning functions to a new report module - lib/dpkg/Makefile.am | 2 ++ - lib/dpkg/dpkg.h | 1 + - lib/dpkg/ehandle.c | 28 ------------------------ - lib/dpkg/ehandle.h | 4 ---- - lib/dpkg/{cleanup.c => report.c} | 46 +++++++++++++++++++--------------------- - lib/dpkg/{dir.h => report.h} | 25 +++++++++++----------- - po/POTFILES.in | 1 + - 7 files changed, 39 insertions(+), 68 deletions(-) + lib/dpkg/Makefile.am | 2 ++ + lib/dpkg/dpkg.h | 1 + + lib/dpkg/ehandle.c | 28 ------------------------- + lib/dpkg/ehandle.h | 4 ---- + lib/dpkg/report.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++ + lib/dpkg/report.h | 45 +++++++++++++++++++++++++++++++++++++++ + po/POTFILES.in | 1 + + 7 files changed, 108 insertions(+), 32 deletions(-) commit 27e75257edb3bf98b83b421f4f5d03e8d8da9856 Author: Guillem Jover @@ -31263,7 +11486,7 @@ Conflicts: debian/changelog -commit 34b3f86bb97b58aaac881fd545808188ab33aafd (tag: 1.16.4.3, hadrons/sid) +commit 34b3f86bb97b58aaac881fd545808188ab33aafd Author: Guillem Jover Date: Sun Jun 17 10:56:24 2012 +0200 @@ -31373,7 +11596,7 @@ Conflicts: debian/changelog -commit fb2172feed24b10e394a270d6f7facba5c97e53a (tag: 1.16.4.2) +commit fb2172feed24b10e394a270d6f7facba5c97e53a Author: Guillem Jover Date: Sat Jun 9 16:16:29 2012 +0200 @@ -31409,7 +11632,7 @@ Conflicts: debian/changelog -commit 5e8a4ccb795c0dcff9e9ec44b908ded2484012bd (tag: 1.16.4.1) +commit 5e8a4ccb795c0dcff9e9ec44b908ded2484012bd Author: Guillem Jover Date: Fri Jun 8 23:17:20 2012 +0200 @@ -31459,7 +11682,7 @@ debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) -commit 4fcde1b7afc88a7d847dda0b337693733f5e6e66 (tag: 1.16.4) +commit 4fcde1b7afc88a7d847dda0b337693733f5e6e66 Author: Guillem Jover Date: Thu Jun 7 23:46:32 2012 +0200 @@ -31778,13 +12001,13 @@ Move libfile-fcntllock-perl dependency from dpkg-dev to libdpkg-perl. - debian/changelog | 2 ++ - debian/control | 4 ++-- - scripts/{Dpkg.pm => Dpkg/File.pm} | 26 ++++++++++++++++---------- - scripts/Makefile.am | 1 + - scripts/dpkg-distaddfile.pl | 6 ++---- - scripts/dpkg-gencontrol.pl | 6 ++---- - 6 files changed, 25 insertions(+), 20 deletions(-) + debian/changelog | 2 ++ + debian/control | 4 ++-- + scripts/Dpkg/File.pm | 39 +++++++++++++++++++++++++++++++++++++++ + scripts/Makefile.am | 1 + + scripts/dpkg-distaddfile.pl | 6 ++---- + scripts/dpkg-gencontrol.pl | 6 ++---- + 6 files changed, 48 insertions(+), 10 deletions(-) commit 14e63102e2a962a171e3e781f71d14ca0437ed23 Author: Guillem Jover @@ -32118,11 +12341,11 @@ This includes a public function to validate package names. - scripts/{Dpkg.pm => Dpkg/Package.pm} | 29 +++++++++++++++++++---------- - scripts/Makefile.am | 2 ++ - scripts/po/POTFILES.in | 1 + - scripts/t/{000_pod.t => 150_Dpkg_Package.t} | 15 ++++++++++----- - 4 files changed, 32 insertions(+), 15 deletions(-) + scripts/Dpkg/Package.pm | 42 ++++++++++++++++++++++++++++++++++++++++++ + scripts/Makefile.am | 2 ++ + scripts/po/POTFILES.in | 1 + + scripts/t/150_Dpkg_Package.t | 29 +++++++++++++++++++++++++++++ + 4 files changed, 74 insertions(+) commit bb486d9e2630ec77b798f1730bd7603df69c9013 Author: Guillem Jover @@ -32766,7 +12989,7 @@ debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) -commit b9a009d61792c711dbd440b7cc3004d1b02569ed (tag: 1.16.3) +commit b9a009d61792c711dbd440b7cc3004d1b02569ed Author: Guillem Jover Date: Fri Apr 27 10:10:43 2012 +0200 @@ -33658,14 +13881,14 @@ libdpkg: New deb format version module - lib/dpkg/Makefile.am | 2 + - lib/dpkg/deb-version.c | 58 ++++++++++++++++++++++++++++ - lib/dpkg/{progname.h => deb-version.h} | 24 +++++------- - lib/dpkg/test/.gitignore | 1 + - lib/dpkg/test/Makefile.am | 1 + - lib/dpkg/test/t-deb-version.c | 69 ++++++++++++++++++++++++++++++++++ - po/POTFILES.in | 1 + - 7 files changed, 142 insertions(+), 14 deletions(-) + lib/dpkg/Makefile.am | 2 ++ + lib/dpkg/deb-version.c | 58 ++++++++++++++++++++++++++++++++++++ + lib/dpkg/deb-version.h | 37 +++++++++++++++++++++++ + lib/dpkg/test/.gitignore | 1 + + lib/dpkg/test/Makefile.am | 1 + + lib/dpkg/test/t-deb-version.c | 69 +++++++++++++++++++++++++++++++++++++++++++ + po/POTFILES.in | 1 + + 7 files changed, 169 insertions(+) commit 33cccfc40ec4e199df77d8b9a835898e80fb3bfb Author: Guillem Jover @@ -33899,7 +14122,7 @@ man/po/fr.po | 259 ++++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 178 insertions(+), 81 deletions(-) -commit 45fe25ed19dbd04bb42dfb5d7043570fe0e1417c (buxy/test-build) +commit 45fe25ed19dbd04bb42dfb5d7043570fe0e1417c Author: Raphaël Hertzog Date: Sun Apr 1 14:37:31 2012 +0200 @@ -34520,7 +14743,7 @@ debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) -commit ec47fffa942e98dac325a257aa61fc9277fff77f (tag: 1.16.2) +commit ec47fffa942e98dac325a257aa61fc9277fff77f Author: Guillem Jover Date: Mon Mar 19 07:27:54 2012 +0100 @@ -36370,10 +16593,10 @@ libdpkg: Add minimal triggers test case for trig_name_is_illegal() - lib/dpkg/test/.gitignore | 1 + - lib/dpkg/test/Makefile.am | 1 + - lib/dpkg/test/{t-mod-db.c => t-trigger.c} | 44 +++++++++++++------------------ - 3 files changed, 20 insertions(+), 26 deletions(-) + lib/dpkg/test/.gitignore | 1 + + lib/dpkg/test/Makefile.am | 1 + + lib/dpkg/test/t-trigger.c | 48 +++++++++++++++++++++++++++++++++++++++++++++++ + 3 files changed, 50 insertions(+) commit 66aad043c37faba49617a91a1070e3fba142b3a5 Author: Guillem Jover @@ -37333,13 +17556,13 @@ libdpkg: New atomic file module - lib/dpkg/Makefile.am | 2 + - lib/dpkg/atomic-file.c | 124 ++++++++++++++++++++++++++++++++++++ - lib/dpkg/{error.h => atomic-file.h} | 41 ++++++------ - lib/dpkg/dpkg-db.h | 2 + - lib/dpkg/libdpkg.map | 8 +++ - po/POTFILES.in | 1 + - 6 files changed, 159 insertions(+), 19 deletions(-) + lib/dpkg/Makefile.am | 2 + + lib/dpkg/atomic-file.c | 124 +++++++++++++++++++++++++++++++++++++++++++++++++ + lib/dpkg/atomic-file.h | 52 +++++++++++++++++++++ + lib/dpkg/dpkg-db.h | 2 + + lib/dpkg/libdpkg.map | 8 ++++ + po/POTFILES.in | 1 + + 6 files changed, 189 insertions(+) commit 4ceaa71d42fb5a16560c4b2c069f1d6a51d03a9b Author: Guillem Jover @@ -38081,7 +18304,7 @@ Conflicts: scripts/mk/architecture.mk -commit 0d03dd4a12e4f860baf36b46f0dc890a4079d26a (tag: 1.16.1.2) +commit 0d03dd4a12e4f860baf36b46f0dc890a4079d26a Author: Raphaël Hertzog Date: Fri Nov 25 11:20:03 2011 +0100 @@ -38602,11 +18825,11 @@ libcompat: Add new strndup() - configure.ac | 2 +- - lib/compat/Makefile.am | 4 ++++ - lib/compat/compat.h | 7 +++++++ - lib/compat/{unsetenv.c => strndup.c} | 28 +++++++++++++++++----------- - 4 files changed, 29 insertions(+), 12 deletions(-) + configure.ac | 2 +- + lib/compat/Makefile.am | 4 ++++ + lib/compat/compat.h | 7 +++++++ + lib/compat/strndup.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ + 4 files changed, 57 insertions(+), 1 deletion(-) commit ec35d763c042bb13b466734375b720009dbc6692 Author: Helge Kreutzmann @@ -38930,11 +19153,11 @@ libdpkg: Move versionsatisfied() into a new depcon module - lib/dpkg/Makefile.am | 1 + - dselect/curkeys.cc => lib/dpkg/depcon.c | 17 +++++++++-------- - lib/dpkg/dpkg-db.h | 5 ++++- - lib/dpkg/vercmp.c | 6 ------ - 4 files changed, 14 insertions(+), 15 deletions(-) + lib/dpkg/Makefile.am | 1 + + lib/dpkg/depcon.c | 32 ++++++++++++++++++++++++++++++++ + lib/dpkg/dpkg-db.h | 5 ++++- + lib/dpkg/vercmp.c | 6 ------ + 4 files changed, 37 insertions(+), 7 deletions(-) commit 32f3e81f3bfdc5906298612c10837a0a537ab7a6 Author: Guillem Jover @@ -39048,11 +19271,11 @@ dpkg: Move match_node functions into a new file-match module - src/Makefile.am | 1 + - lib/dpkg/glob.c => src/file-match.c | 35 +++++++++++++++++------------------ - src/{infodb.h => file-match.h} | 25 +++++++++++++------------ - src/processarc.c | 28 +--------------------------- - 4 files changed, 32 insertions(+), 57 deletions(-) + src/Makefile.am | 1 + + src/file-match.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ + src/file-match.h | 35 +++++++++++++++++++++++++++++++++++ + src/processarc.c | 28 +--------------------------- + 4 files changed, 86 insertions(+), 27 deletions(-) commit 9235d163efbe224c11dc95e30c44c54aef2802f1 Author: Guillem Jover @@ -39287,15 +19510,15 @@ Signed-off-by: Guillem Jover - lib/dpkg/Makefile.am | 2 + - lib/dpkg/arch.c | 174 +++++++++++++++++++++++++++++++++++++++ - lib/dpkg/{namevalue.h => arch.h} | 38 +++++---- - lib/dpkg/libdpkg.Versions | 7 ++ - lib/dpkg/pkg-db.c | 3 + - lib/dpkg/test/.gitignore | 1 + - lib/dpkg/test/Makefile.am | 1 + - lib/dpkg/test/t-arch.c | 134 ++++++++++++++++++++++++++++++ - 8 files changed, 344 insertions(+), 16 deletions(-) + lib/dpkg/Makefile.am | 2 + + lib/dpkg/arch.c | 174 ++++++++++++++++++++++++++++++++++++++++++++++ + lib/dpkg/arch.h | 51 ++++++++++++++ + lib/dpkg/libdpkg.Versions | 7 ++ + lib/dpkg/pkg-db.c | 3 + + lib/dpkg/test/.gitignore | 1 + + lib/dpkg/test/Makefile.am | 1 + + lib/dpkg/test/t-arch.c | 134 +++++++++++++++++++++++++++++++++++ + 8 files changed, 373 insertions(+) commit e215e2795f47feec839025972ac56e647ab04822 Author: Guillem Jover @@ -39512,7 +19735,7 @@ Merge commit '1.16.1.1' -commit 9babd2d62709dd694c74fd716543c5561e169038 (tag: 1.16.1.1) +commit 9babd2d62709dd694c74fd716543c5561e169038 Author: Guillem Jover Date: Fri Oct 14 07:08:40 2011 +0200 @@ -40183,7 +20406,7 @@ man/po/de.po | 14 ++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) -commit 437f8b53910c0b59df6182fc23a1485f8638c745 (tag: 1.16.1) +commit 437f8b53910c0b59df6182fc23a1485f8638c745 Author: Guillem Jover Date: Fri Sep 23 06:00:18 2011 +0200 @@ -40600,10 +20823,10 @@ responsible for the outcome, including just forwarding the error to its own caller. - lib/dpkg/Makefile.am | 2 + - lib/dpkg/error.c | 93 ++++++++++++++++++++++++++++++++++++++++ - lib/dpkg/{progname.h => error.h} | 28 +++++++++--- - 3 files changed, 117 insertions(+), 6 deletions(-) + lib/dpkg/Makefile.am | 2 ++ + lib/dpkg/error.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++ + lib/dpkg/error.h | 49 +++++++++++++++++++++++++++ + 3 files changed, 144 insertions(+) commit 07a8f6d882c019ed039442237c53d8333dc9c4a5 Author: Guillem Jover @@ -40658,12 +20881,12 @@ libdpkg: Add new mod-db, progname and subproc modules test cases - lib/dpkg/test/.gitignore | 3 + - lib/dpkg/test/Makefile.am | 6 +- - lib/dpkg/test/{t-pkginfo.c => t-mod-db.c} | 35 ++++++----- - lib/dpkg/test/{t-pkginfo.c => t-progname.c} | 31 +++++----- - lib/dpkg/test/t-subproc.c | 91 +++++++++++++++++++++++++++++ - 5 files changed, 132 insertions(+), 34 deletions(-) + lib/dpkg/test/.gitignore | 3 ++ + lib/dpkg/test/Makefile.am | 6 ++- + lib/dpkg/test/t-mod-db.c | 56 ++++++++++++++++++++++++++++ + lib/dpkg/test/t-progname.c | 46 +++++++++++++++++++++++ + lib/dpkg/test/t-subproc.c | 91 ++++++++++++++++++++++++++++++++++++++++++++++ + 5 files changed, 201 insertions(+), 1 deletion(-) commit 7e26acd008d38f6d56c26e6a595430636ea40211 Author: Guillem Jover @@ -40962,12 +21185,12 @@ This detangles the function from the triglib module, avoiding dpkg-trigger to pull it, and reducing its size. - debian/changelog | 2 ++ - lib/dpkg/Makefile.am | 1 + - lib/dpkg/triglib.c | 16 ---------------- - lib/dpkg/{test/t-macros.c => trigname.c} | 31 +++++++++++++++++-------------- - po/POTFILES.in | 1 + - 5 files changed, 21 insertions(+), 30 deletions(-) + debian/changelog | 2 ++ + lib/dpkg/Makefile.am | 1 + + lib/dpkg/triglib.c | 16 ---------------- + lib/dpkg/trigname.c | 42 ++++++++++++++++++++++++++++++++++++++++++ + po/POTFILES.in | 1 + + 5 files changed, 46 insertions(+), 16 deletions(-) commit 8ed2e04c2b1bfa247e34da01c0e84612ce7dc84b Author: Guillem Jover @@ -43349,13 +23572,13 @@ libdpkg: Add new progname module handling functions - configure.ac | 3 +- - lib/dpkg/Makefile.am | 2 + - lib/dpkg/libdpkg.Versions | 4 ++ - lib/dpkg/progname.c | 83 ++++++++++++++++++++++++++++++++++++++++++ - lib/dpkg/{dir.h => progname.h} | 17 ++++----- - m4/dpkg-funcs.m4 | 23 ++++++++++++ - 6 files changed, 121 insertions(+), 11 deletions(-) + configure.ac | 3 +- + lib/dpkg/Makefile.am | 2 ++ + lib/dpkg/libdpkg.Versions | 4 +++ + lib/dpkg/progname.c | 83 +++++++++++++++++++++++++++++++++++++++++++++++ + lib/dpkg/progname.h | 33 +++++++++++++++++++ + m4/dpkg-funcs.m4 | 23 +++++++++++++ + 6 files changed, 147 insertions(+), 1 deletion(-) commit cd92cc77e5103b31ce15b746bd71095b859ac08b Author: Guillem Jover @@ -44577,7 +24800,7 @@ Conflicts: debian/changelog -commit bd1d6cd247f8e5eb7f2465c0d686cba363c64a57 (tag: 1.16.0.3) +commit bd1d6cd247f8e5eb7f2465c0d686cba363c64a57 Author: Guillem Jover Date: Wed May 4 10:01:44 2011 +0200 @@ -44719,11 +24942,11 @@ libdpkg: Move version module declarations to a new version.h - lib/dpkg/Makefile.am | 3 ++- - lib/dpkg/dpkg-db.h | 8 +------- - lib/dpkg/version.c | 2 +- - lib/dpkg/{dir.h => version.h} | 22 ++++++++++++---------- - 4 files changed, 16 insertions(+), 19 deletions(-) + lib/dpkg/Makefile.am | 3 ++- + lib/dpkg/dpkg-db.h | 8 +------- + lib/dpkg/version.c | 2 +- + lib/dpkg/{version.c => version.h} | 30 ++++++++++++++++++------------ + 4 files changed, 22 insertions(+), 21 deletions(-) commit 6de064f083117ed6944d629baf7b543818edcf30 Author: Guillem Jover @@ -45205,7 +25428,7 @@ Merge commit '1.16.0.2' -commit 0bfd81b977ed0a3d4fca1c21e9f4e65c92c3fe9e (tag: 1.16.0.2) +commit 0bfd81b977ed0a3d4fca1c21e9f4e65c92c3fe9e Author: Guillem Jover Date: Sat Apr 16 00:17:10 2011 +0200 @@ -45318,7 +25541,7 @@ Conflicts: debian/changelog -commit fe69ae4874919314c7f0757bb155bae38e7f211b (tag: 1.16.0.1) +commit fe69ae4874919314c7f0757bb155bae38e7f211b Author: Guillem Jover Date: Tue Apr 5 07:29:24 2011 +0200 @@ -45470,7 +25693,7 @@ debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) -commit d3686b5552f28a357d678b453a869b9d10f1ac4f (tag: 1.16.0) +commit d3686b5552f28a357d678b453a869b9d10f1ac4f Author: Guillem Jover Date: Fri Apr 1 23:57:06 2011 +0200 @@ -46670,10 +26893,10 @@ libdpkg: Move blankversion() to new version module - lib/dpkg/Makefile.am | 3 ++- - lib/dpkg/database.c | 5 ----- - dselect/curkeys.cc => lib/dpkg/version.c | 17 +++++++++-------- - 3 files changed, 11 insertions(+), 14 deletions(-) + lib/dpkg/Makefile.am | 3 ++- + lib/dpkg/database.c | 5 ----- + lib/dpkg/version.c | 32 ++++++++++++++++++++++++++++++++ + 3 files changed, 34 insertions(+), 6 deletions(-) commit 943de6c0e09760af1f8ad8c1e364fc4bcfbb1418 Author: Guillem Jover @@ -47301,12 +27524,12 @@ dpkg: Refactor infodb file existence check into new pkg_infodb_has_file() - src/Makefile.am | 1 + - src/depcon.c | 10 ++----- - lib/dpkg/cleanup.c => src/infodb.c | 55 +++++++++++++++---------------------- - lib/dpkg/pkg-show.h => src/infodb.h | 19 ++++++------- - src/remove.c | 18 ++---------- - 5 files changed, 36 insertions(+), 67 deletions(-) + src/Makefile.am | 1 + + src/depcon.c | 10 +++------- + src/infodb.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ + src/infodb.h | 30 ++++++++++++++++++++++++++++++ + src/remove.c | 18 ++---------------- + 5 files changed, 86 insertions(+), 23 deletions(-) commit ae3500585ce59833e7b3094e1615fa273d7b8527 Author: Guillem Jover @@ -47842,15 +28065,15 @@ Move and generalize debug API from dpkg to libdpkg - lib/dpkg/Makefile.am | 2 ++ - lib/dpkg/debug.c | 84 ++++++++++++++++++++++++++++++++++++++++++++ - lib/dpkg/{file.h => debug.h} | 49 +++++++++++++------------- - lib/dpkg/libdpkg.Versions | 5 +++ - src/depcon.c | 2 +- - src/help.c | 13 +------ - src/main.c | 6 ++-- - src/main.h | 19 +--------- - 8 files changed, 123 insertions(+), 57 deletions(-) + lib/dpkg/Makefile.am | 2 ++ + lib/dpkg/debug.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++ + lib/dpkg/debug.h | 54 ++++++++++++++++++++++++++++++ + lib/dpkg/libdpkg.Versions | 5 +++ + src/depcon.c | 2 +- + src/help.c | 13 +------- + src/main.c | 6 ++-- + src/main.h | 19 +---------- + 8 files changed, 152 insertions(+), 33 deletions(-) commit 469c5fa91e12fdded4e4c6f7131a965e889d5b18 Author: Guillem Jover @@ -48227,7 +28450,7 @@ debian/usertags | 81 ++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 49 insertions(+), 32 deletions(-) -commit 5f52c08852c672e48ca67ccddb17c83c8d1f9fe8 (tag: 1.15.8.10) +commit 5f52c08852c672e48ca67ccddb17c83c8d1f9fe8 Author: Guillem Jover Date: Sun Jan 30 20:29:05 2011 +0100 @@ -48258,7 +28481,7 @@ Merge commit '1.15.8.9' -commit 6bdf65bafdc6b25ffd1cae27b6860d84e56823a1 (tag: 1.15.8.9) +commit 6bdf65bafdc6b25ffd1cae27b6860d84e56823a1 Author: Raphaël Hertzog Date: Fri Jan 28 08:21:19 2011 +0100 @@ -49148,11 +29371,11 @@ libdpkg: Add new fdio API - lib/dpkg/Makefile.am | 2 ++ - lib/dpkg/fdio.c | 77 ++++++++++++++++++++++++++++++++++++++++++++++ - lib/dpkg/{pkg.h => fdio.h} | 19 ++++++------ - lib/dpkg/libdpkg.Versions | 2 ++ - 4 files changed, 91 insertions(+), 9 deletions(-) + lib/dpkg/Makefile.am | 2 ++ + lib/dpkg/fdio.c | 77 +++++++++++++++++++++++++++++++++++++++++++++++ + lib/dpkg/fdio.h | 35 +++++++++++++++++++++ + lib/dpkg/libdpkg.Versions | 2 ++ + 4 files changed, 116 insertions(+) commit 5cb9ffc5f9b53691d23ca8e8347eccfa8f130071 Author: Guillem Jover @@ -49722,7 +29945,7 @@ Merge commit '1.15.8.8' -commit 1d872bf8ed2a7976c901aff20bf2bd6c20660f65 (tag: 1.15.8.8) +commit 1d872bf8ed2a7976c901aff20bf2bd6c20660f65 Author: Raphaël Hertzog Date: Thu Jan 6 21:04:53 2011 +0100 @@ -49803,7 +30026,7 @@ scripts/po/es.po src/archives.c -commit 8edabd23157612c5b9dab88983b34166ea6fb902 (tag: 1.15.8.7) +commit 8edabd23157612c5b9dab88983b34166ea6fb902 Author: Guillem Jover Date: Mon Dec 20 02:26:36 2010 +0100 @@ -50424,7 +30647,7 @@ m4/dpkg-funcs.m4 man/dpkg.1 -commit 81aacd4b0a84df492d0ba33110537efb6fef836d (tag: 1.15.8.6) +commit 81aacd4b0a84df492d0ba33110537efb6fef836d Author: Guillem Jover Date: Thu Nov 25 07:11:02 2010 +0100 @@ -51556,11 +31779,11 @@ libdpkg: Add new namevalue_find_by_name function - lib/dpkg/Makefile.am | 1 + - lib/dpkg/libdpkg.Versions | 3 +++ - lib/dpkg/{dir.h => namevalue.c} | 27 ++++++++++++++------------- - lib/dpkg/namevalue.h | 5 ++++- - 4 files changed, 22 insertions(+), 14 deletions(-) + lib/dpkg/Makefile.am | 1 + + lib/dpkg/libdpkg.Versions | 3 +++ + lib/dpkg/{namevalue.h => namevalue.c} | 32 +++++++++++++++----------------- + lib/dpkg/namevalue.h | 5 ++++- + 4 files changed, 23 insertions(+), 18 deletions(-) commit 8c234c5698645a759f6153fd1be4d7b90059bb88 Author: Guillem Jover @@ -51568,11 +31791,11 @@ libdpkg: Move namevalue declarations to its own header file - lib/dpkg/Makefile.am | 1 + - lib/dpkg/dpkg-db.h | 5 +---- - lib/dpkg/{test/t-macros.c => namevalue.h} | 32 +++++++++++++++---------------- - lib/dpkg/parsehelp.c | 3 --- - 4 files changed, 18 insertions(+), 23 deletions(-) + lib/dpkg/Makefile.am | 1 + + lib/dpkg/dpkg-db.h | 5 +---- + lib/dpkg/namevalue.h | 40 ++++++++++++++++++++++++++++++++++++++++ + lib/dpkg/parsehelp.c | 3 --- + 4 files changed, 42 insertions(+), 7 deletions(-) commit b89373e169cf0d90c3143eeac0bded1a5d9e9c5c Author: Guillem Jover @@ -52649,7 +32872,7 @@ man/po/fr.po | 356 +++++++++++++++++++++++++++-------------------------------- 1 file changed, 160 insertions(+), 196 deletions(-) -commit f3a8a022f1a2edc5ff8d0e92ffc3e48e84be8b39 (tag: 1.15.8.5) +commit f3a8a022f1a2edc5ff8d0e92ffc3e48e84be8b39 Author: Guillem Jover Date: Tue Sep 14 01:26:55 2010 +0200 @@ -53611,7 +33834,7 @@ debian/changelog scripts/po/de.po -commit 2499850fd03395b37ce77cc84976656767056674 (tag: 1.15.8.4) +commit 2499850fd03395b37ce77cc84976656767056674 Author: Guillem Jover Date: Fri Aug 13 05:21:31 2010 +0200 @@ -53914,7 +34137,7 @@ Conflicts: debian/changelog -commit 624aa0fadb9daf2757563197fa376b8223d11f2d (tag: 1.15.8.3) +commit 624aa0fadb9daf2757563197fa376b8223d11f2d Author: Guillem Jover Date: Mon Aug 2 10:38:28 2010 +0200 @@ -53968,7 +34191,7 @@ Conflicts: debian/changelog -commit 4aed1d728958584769d469540e9ae6103e13d424 (tag: 1.15.8.2) +commit 4aed1d728958584769d469540e9ae6103e13d424 Author: Guillem Jover Date: Sat Jul 31 04:20:18 2010 +0200 @@ -54035,7 +34258,7 @@ lib/compat/scandir.c | 1 + 2 files changed, 4 insertions(+) -commit 44c36ad22adc8234a15bbfcf68a7bedf959443e5 (tag: 1.15.8.1) +commit 44c36ad22adc8234a15bbfcf68a7bedf959443e5 Author: Raphaël Hertzog Date: Thu Jul 29 21:18:39 2010 +0200 @@ -54100,7 +34323,7 @@ debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) -commit 189dcd07b4cd62159fb0a28db79249d86c91fb1b (tag: 1.15.8) +commit 189dcd07b4cd62159fb0a28db79249d86c91fb1b Author: Guillem Jover Date: Thu Jul 29 09:39:30 2010 +0200 @@ -54901,14 +35124,14 @@ Move pkg-show module to libdpkg - lib/dpkg/Makefile.am | 2 ++ - {src => lib/dpkg}/pkg-show.c | 5 ++--- - lib/dpkg/{pkg.h => pkg-show.h} | 15 +++++++-------- - src/Makefile.am | 2 -- - src/enquiry.c | 1 + - src/main.h | 2 -- - src/query.c | 1 + - 7 files changed, 13 insertions(+), 15 deletions(-) + lib/dpkg/Makefile.am | 2 ++ + {src => lib/dpkg}/pkg-show.c | 5 ++--- + src/pkg-show.c => lib/dpkg/pkg-show.h | 33 ++++++++------------------------- + src/Makefile.am | 2 -- + src/enquiry.c | 1 + + src/main.h | 2 -- + src/query.c | 1 + + 7 files changed, 14 insertions(+), 32 deletions(-) commit b4efb601b445580a3a46ce873eec3a80893dd08f Author: Guillem Jover @@ -55214,10 +35437,10 @@ Initial Spanish scripts translation - debian/changelog | 3 + - scripts/po/LINGUAS | 3 + - scripts/po/{pl.po => es.po} | 2215 +++++++++++++++++++++---------------------- - 3 files changed, 1088 insertions(+), 1133 deletions(-) + debian/changelog | 3 + + scripts/po/LINGUAS | 3 + + scripts/po/es.po | 3579 ++++++++++++++++++++++++++++++++++++++++++++++++++++ + 3 files changed, 3585 insertions(+) commit 3a544f8c59b3f9e46f9cfc624edbaaaa5b81d92a Author: Guillem Jover @@ -56123,14 +36346,14 @@ Signed-off-by: Martin Pitt Signed-off-by: Guillem Jover - debian/changelog | 4 ++ - man/dpkg.1 | 37 +++++++++++++- - src/Makefile.am | 1 + - src/archives.c | 8 +++ - src/filters.c | 128 ++++++++++++++++++++++++++++++++++++++++++++++ - src/{glob.h => filters.h} | 23 ++++----- - src/main.c | 15 +++++- - 7 files changed, 202 insertions(+), 14 deletions(-) + debian/changelog | 4 ++ + man/dpkg.1 | 37 +++++++++++++++- + src/Makefile.am | 1 + + src/archives.c | 8 ++++ + src/filters.c | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ + src/filters.h | 37 ++++++++++++++++ + src/main.c | 15 ++++++- + 7 files changed, 228 insertions(+), 2 deletions(-) commit 0969a91ef9e645700556947b3a2afd2237e4a26a Author: Guillem Jover @@ -56221,12 +36444,12 @@ Provide compatibility code whenever the system does not. - configure.ac | 2 +- - lib/compat/Makefile.am | 4 ++++ - lib/compat/{snprintf.c => asprintf.c} | 21 ++++++++--------- - lib/compat/compat.h | 7 ++++++ - lib/compat/{snprintf.c => vasprintf.c} | 42 ++++++++++++++++++++++++---------- - 5 files changed, 51 insertions(+), 25 deletions(-) + configure.ac | 2 +- + lib/compat/Makefile.am | 4 ++++ + lib/compat/asprintf.c | 38 ++++++++++++++++++++++++++++++++ + lib/compat/compat.h | 7 ++++++ + lib/compat/vasprintf.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++ + 5 files changed, 109 insertions(+), 1 deletion(-) commit 85c60fecfe245b542ceea503994fef0347f2e51b Author: Omar Campagne @@ -56314,11 +36537,11 @@ Refactor glob functions into its own module - src/Makefile.am | 1 + - lib/dpkg/pkg-list.c => src/glob.c | 35 +++++++++++++---------------------- - lib/dpkg/pkg.h => src/glob.h | 18 +++++++++++------- - src/statcmd.c | 29 +---------------------------- - 4 files changed, 26 insertions(+), 57 deletions(-) + src/Makefile.am | 1 + + src/glob.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ + src/glob.h | 38 ++++++++++++++++++++++++++++++++++++++ + src/statcmd.c | 29 +---------------------------- + 4 files changed, 91 insertions(+), 28 deletions(-) commit 77daf2187b0a0c44cf40b93a3886ddcd00a8190d Author: Guillem Jover @@ -56754,16 +36977,16 @@ run 600_Dpkg_Changelog.t a second time with DEB_VENDOR set, to avoid duplicating lots of code. See the discussion in #536066 for background. - debian/changelog | 2 ++ - scripts/Dpkg/Vendor.pm | 5 ++++- - scripts/Makefile.am | 2 ++ - scripts/t/600_Dpkg_Changelog.t | 18 +++++++++++++++--- - scripts/t/600_Dpkg_Changelog/fields | 2 ++ - scripts/t/{000_pod.t => 600_Dpkg_Changelog_Ubuntu.t} | 11 ++++------- - scripts/t/origins/debian | 3 +++ - scripts/t/origins/default | 1 + - scripts/t/origins/ubuntu | 4 ++++ - 9 files changed, 37 insertions(+), 11 deletions(-) + debian/changelog | 2 ++ + scripts/Dpkg/Vendor.pm | 5 ++++- + scripts/Makefile.am | 2 ++ + scripts/t/600_Dpkg_Changelog.t | 18 +++++++++++++++--- + scripts/t/600_Dpkg_Changelog/fields | 2 ++ + scripts/t/600_Dpkg_Changelog_Ubuntu.t | 21 +++++++++++++++++++++ + scripts/t/origins/debian | 3 +++ + scripts/t/origins/default | 1 + + scripts/t/origins/ubuntu | 4 ++++ + 9 files changed, 54 insertions(+), 4 deletions(-) commit d02ed9451e83309dcc795370661c910e0bd75e8e Author: Helge Kreutzmann @@ -57007,7 +37230,7 @@ Conflicts: debian/changelog -commit 24f375fd275e29209d94fcd3f2485443d71428e5 (tag: 1.15.7.2) +commit 24f375fd275e29209d94fcd3f2485443d71428e5 Author: Guillem Jover Date: Wed May 19 06:31:31 2010 +0200 @@ -57535,7 +37758,7 @@ Merge commit '1.15.7.1' -commit d97034aa68097c85cdf85895182614e82f24b97f (tag: 1.15.7.1) +commit d97034aa68097c85cdf85895182614e82f24b97f Author: Raphaël Hertzog Date: Thu Apr 22 08:05:39 2010 +0200 @@ -57597,7 +37820,7 @@ debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) -commit a3a9417a081f19773e9527698e3de73e187d0542 (tag: 1.15.7) +commit a3a9417a081f19773e9527698e3de73e187d0542 Author: Guillem Jover Date: Wed Apr 21 04:06:35 2010 +0200 @@ -58178,15 +38401,15 @@ level while still allowing customizations by users who recompile the source packages. - debian/changelog | 5 ++ - debian/dpkg-dev.install | 2 + - man/Makefile.am | 1 + - man/dpkg-buildflags.1 | 116 +++++++++++++++++++++++++ - man/po/po4a.cfg | 5 ++ - scripts/Makefile.am | 2 + - scripts/{dpkg-vendor.pl => dpkg-buildflags.pl} | 75 +++++++--------- - scripts/po/POTFILES.in | 1 + - 8 files changed, 165 insertions(+), 42 deletions(-) + debian/changelog | 5 ++ + debian/dpkg-dev.install | 2 + + man/Makefile.am | 1 + + man/dpkg-buildflags.1 | 116 +++++++++++++++++++++++++++++++++++++++++++++ + man/po/po4a.cfg | 5 ++ + scripts/Makefile.am | 2 + + scripts/dpkg-buildflags.pl | 105 ++++++++++++++++++++++++++++++++++++++++ + scripts/po/POTFILES.in | 1 + + 8 files changed, 237 insertions(+) commit 4c1743cb6ec8478fc099201a7811caa0d892ebaa Author: Raphaël Hertzog @@ -58486,7 +38709,7 @@ dselect/po/fr.po | 16 ++++++---------- 2 files changed, 7 insertions(+), 10 deletions(-) -commit a06c587571c1926a6af4176dac9f5066175db45c (tag: 1.15.6.1) +commit a06c587571c1926a6af4176dac9f5066175db45c Author: Guillem Jover Date: Wed Mar 24 13:56:47 2010 +0100 @@ -58801,7 +39024,7 @@ debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) -commit cba7601879c20e23d2320dfdc7bd71b0a857d3e8 (tag: 1.15.6) +commit cba7601879c20e23d2320dfdc7bd71b0a857d3e8 Author: Guillem Jover Date: Fri Mar 12 00:15:54 2010 +0100 @@ -58947,20 +39170,20 @@ Base-on-patch-by: Jean-Baptiste Lallement - debian/changelog | 4 ++ - dpkg-split/queue.c | 2 + - lib/dpkg/Makefile.am | 2 + - lib/dpkg/dbmodify.c | 8 +++ - lib/dpkg/dir.c | 124 +++++++++++++++++++++++++++++++++++++++++++++++ - lib/dpkg/{ar.h => dir.h} | 17 ++++--- - lib/dpkg/dump.c | 5 ++ - lib/dpkg/trigdeferred.l | 3 ++ - lib/dpkg/triglib.c | 5 ++ - src/filesdb.c | 3 ++ - src/processarc.c | 17 +++++++ - src/remove.c | 5 ++ - src/statcmd.c | 3 ++ - 13 files changed, 191 insertions(+), 7 deletions(-) + debian/changelog | 4 ++ + dpkg-split/queue.c | 2 + + lib/dpkg/Makefile.am | 2 + + lib/dpkg/dbmodify.c | 8 ++++ + lib/dpkg/dir.c | 124 ++++++++++++++++++++++++++++++++++++++++++++++++ + lib/dpkg/dir.h | 37 +++++++++++++++ + lib/dpkg/dump.c | 5 ++ + lib/dpkg/trigdeferred.l | 3 ++ + lib/dpkg/triglib.c | 5 ++ + src/filesdb.c | 3 ++ + src/processarc.c | 17 +++++++ + src/remove.c | 5 ++ + src/statcmd.c | 3 ++ + 13 files changed, 218 insertions(+) commit ab9482eb45e27a0b0c058a2662b28b7d3642173d Author: Guillem Jover @@ -59756,15 +39979,15 @@ Clarify the status of the API in README.api. - debian/.gitignore | 1 + - debian/changelog | 1 + - debian/control | 39 ++++++++++++++++++++++++-- - debian/dpkg-dev.install | 4 --- - debian/{libdpkg-dev.docs => libdpkg-perl.docs} | 1 - - debian/libdpkg-perl.install | 4 +++ - debian/libdpkg-perl.lintian-overrides | 2 ++ - doc/README.api | 18 ++++++++---- - 8 files changed, 57 insertions(+), 13 deletions(-) + debian/.gitignore | 1 + + debian/changelog | 1 + + debian/control | 39 ++++++++++++++++++++++++++++++++--- + debian/dpkg-dev.install | 4 ---- + debian/libdpkg-perl.docs | 4 ++++ + debian/libdpkg-perl.install | 4 ++++ + debian/libdpkg-perl.lintian-overrides | 2 ++ + doc/README.api | 18 +++++++++++----- + 8 files changed, 61 insertions(+), 12 deletions(-) commit 0934601905ea4546a874a6558f7a2a2552cd62f1 Author: Raphaël Hertzog @@ -59930,18 +40153,18 @@ resort to building dpkg from source and using the headers and the static library from the source tree. - Makefile.am | 3 ++ - configure.ac | 1 + - debian/.gitignore | 1 + - debian/changelog | 2 + - debian/control | 12 ++++++ - debian/{dpkg.docs => libdpkg-dev.docs} | 2 - - debian/libdpkg-dev.install | 3 ++ - debian/libdpkg-dev.lintian-overrides | 2 + - lib/dpkg/.gitignore | 1 + - lib/dpkg/Makefile.am | 69 +++++++++++++++++++++++----------- - lib/dpkg/libdpkg.pc.in | 12 ++++++ - 11 files changed, 84 insertions(+), 24 deletions(-) + Makefile.am | 3 ++ + configure.ac | 1 + + debian/.gitignore | 1 + + debian/changelog | 2 ++ + debian/control | 12 +++++++ + debian/libdpkg-dev.docs | 5 +++ + debian/libdpkg-dev.install | 3 ++ + debian/libdpkg-dev.lintian-overrides | 2 ++ + lib/dpkg/.gitignore | 1 + + lib/dpkg/Makefile.am | 69 ++++++++++++++++++++++++------------ + lib/dpkg/libdpkg.pc.in | 12 +++++++ + 11 files changed, 89 insertions(+), 22 deletions(-) commit c406ca71c4fa7b8b49a240f33a36b69decfcc3c9 Author: Guillem Jover @@ -60267,14 +40490,14 @@ libdpkg: Add a new pkg-queue module - lib/dpkg/Makefile.am | 1 + - lib/dpkg/pkg-queue.c | 90 ++++++++++++++++++++++++++++++++ - lib/dpkg/{ar.h => pkg-queue.h} | 32 ++++++++---- - lib/dpkg/test/.gitignore | 1 + - lib/dpkg/test/Makefile.am | 4 +- - lib/dpkg/test/t-pkg-queue.c | 115 +++++++++++++++++++++++++++++++++++++++++ - po/POTFILES.in | 1 + - 7 files changed, 232 insertions(+), 12 deletions(-) + lib/dpkg/Makefile.am | 1 + + lib/dpkg/pkg-queue.c | 90 ++++++++++++++++++++++++++++++++++ + lib/dpkg/pkg-queue.h | 47 ++++++++++++++++++ + lib/dpkg/test/.gitignore | 1 + + lib/dpkg/test/Makefile.am | 4 +- + lib/dpkg/test/t-pkg-queue.c | 115 ++++++++++++++++++++++++++++++++++++++++++++ + po/POTFILES.in | 1 + + 7 files changed, 258 insertions(+), 1 deletion(-) commit fcf328f4d1cbe613b6c9c57b33dabbffb28cbdf0 Author: Guillem Jover @@ -60500,10 +40723,10 @@ lib/dpkg/Makefile.am | 2 +- lib/dpkg/dpkg-db.h | 9 --------- lib/dpkg/{showpkg.c => pkg-format.c} | 3 ++- - lib/dpkg/{file.h => pkg-format.h} | 22 ++++++++++++---------- + lib/dpkg/pkg-format.h | 38 ++++++++++++++++++++++++++++++++++++ po/POTFILES.in | 2 +- src/query.c | 1 + - 7 files changed, 18 insertions(+), 22 deletions(-) + 7 files changed, 44 insertions(+), 12 deletions(-) commit 51323231082c34fe87771502593aae50e601ea04 Author: Guillem Jover @@ -62235,14 +42458,14 @@ For now include a dpkg_ar_normalize_name() function to fix up the ar_name member in an ar_hdr structure. - lib/dpkg/Makefile.am | 1 + - lib/dpkg/{myopt-util.c => ar.c} | 31 +++++++++++++------------------ - lib/dpkg/{string.h => ar.h} | 19 +++++++++++-------- - lib/dpkg/test/.gitignore | 1 + - lib/dpkg/test/Makefile.am | 2 ++ - lib/dpkg/test/{t-pkginfo.c => t-ar.c} | 27 +++++++++++++-------------- - po/POTFILES.in | 1 + - 7 files changed, 42 insertions(+), 40 deletions(-) + lib/dpkg/Makefile.am | 1 + + lib/dpkg/ar.c | 39 +++++++++++++++++++++++++++++++++++++++ + lib/dpkg/ar.h | 37 +++++++++++++++++++++++++++++++++++++ + lib/dpkg/test/.gitignore | 1 + + lib/dpkg/test/Makefile.am | 2 ++ + lib/dpkg/test/t-ar.c | 42 ++++++++++++++++++++++++++++++++++++++++++ + po/POTFILES.in | 1 + + 7 files changed, 123 insertions(+) commit 3fe6efee7d7e385ed6e30223a4f93fadca1ca095 Author: Guillem Jover @@ -63018,7 +43241,7 @@ Merge branch 'sid' -commit d55c5d39b684c9f08f8f612f5553de5ea409b625 (tag: 1.15.5.6) +commit d55c5d39b684c9f08f8f612f5553de5ea409b625 Author: Raphaël Hertzog Date: Fri Jan 8 17:58:11 2010 +0100 @@ -63114,7 +43337,7 @@ debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -commit a9d4a03cfb15bac0084821d63a9a01e916c2f81b (buxy/master) +commit a9d4a03cfb15bac0084821d63a9a01e916c2f81b Author: Helge Kreutzmann Date: Sun Jan 3 16:52:15 2010 +0100 @@ -63543,7 +43766,7 @@ Conflicts: debian/changelog -commit 57636efa71bef220006d8d51f56fb83d5b590f27 (tag: 1.15.5.5) +commit 57636efa71bef220006d8d51f56fb83d5b590f27 Author: Guillem Jover Date: Tue Dec 22 09:50:12 2009 +0100 @@ -63867,7 +44090,7 @@ Merge branch 'sid' -commit f9481448433dbe0e9866586f87bc8bc21e435427 (tag: 1.15.5.4) +commit f9481448433dbe0e9866586f87bc8bc21e435427 Author: Raphaël Hertzog Date: Mon Dec 7 09:25:21 2009 +0100 @@ -64099,7 +44322,7 @@ man/po/fr.po | 52 ++++++++++++++++++++++++++-------------------------- 2 files changed, 28 insertions(+), 26 deletions(-) -commit b6a2926a1670d28583ad38c43981fb2f425057de (tag: 1.15.5.3) +commit b6a2926a1670d28583ad38c43981fb2f425057de Author: Guillem Jover Date: Fri Nov 27 19:23:48 2009 +0100 @@ -64738,7 +44961,7 @@ scripts/po/sv.po | 10 ++++---- 2 files changed, 42 insertions(+), 40 deletions(-) -commit a71228d1f682566ba4dfbfd59f92bb5d3f2dd10d (tag: 1.15.5.2) +commit a71228d1f682566ba4dfbfd59f92bb5d3f2dd10d Author: Raphaël Hertzog Date: Wed Nov 18 11:55:52 2009 +0100 @@ -64812,7 +45035,7 @@ debian/control | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) -commit dc57a7701902cfb488e5b2d8b856c0f73f01753d (tag: 1.15.5.1) +commit dc57a7701902cfb488e5b2d8b856c0f73f01753d Author: Guillem Jover Date: Tue Nov 17 16:42:11 2009 +0100 @@ -64841,7 +45064,7 @@ lib/dpkg/test/t-string.c | 4 ++-- 4 files changed, 14 insertions(+), 6 deletions(-) -commit a0e6a6d395b0e152c28a11407ed0f24991cbe5f2 (tag: 1.15.5) +commit a0e6a6d395b0e152c28a11407ed0f24991cbe5f2 Author: Guillem Jover Date: Tue Nov 17 10:18:08 2009 +0100 @@ -67043,7 +47266,7 @@ po/fr.po | 137 +++++++++++++++++++++++-------------------------------- 2 files changed, 59 insertions(+), 79 deletions(-) -commit 3700faf371edb7b6939cf21d144fefbaf9bbdd5b (tag: 1.15.4.1) +commit 3700faf371edb7b6939cf21d144fefbaf9bbdd5b Author: Guillem Jover Date: Mon Oct 19 15:16:52 2009 +0200 @@ -67475,11 +47698,11 @@ Signed-off-by: Guillem Jover - lib/dpkg/Makefile.am | 1 + - lib/dpkg/{cleanup.c => file.c} | 48 +++++++++++++++++------------------------- - lib/dpkg/{i18n.h => file.h} | 17 ++++++++------- - src/configure.c | 28 ++---------------------- - 4 files changed, 31 insertions(+), 63 deletions(-) + lib/dpkg/Makefile.am | 1 + + lib/dpkg/file.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++ + lib/dpkg/file.h | 37 ++++++++++++++++++++++++++++++++++++ + src/configure.c | 28 ++------------------------- + 4 files changed, 93 insertions(+), 26 deletions(-) commit f38ab16ec1b15b7326b7a52b39567fa18f806b54 Author: Guillem Jover @@ -67650,14 +47873,14 @@ libdpkg: Move pkg_sorter code to a new pkg module - lib/dpkg/Makefile.am | 1 + - lib/dpkg/pkg-array.c | 9 --------- - lib/dpkg/pkg-array.h | 3 +-- - lib/dpkg/{pkg-list.h => pkg.c} | 28 ++++++++++++---------------- - lib/dpkg/{i18n.h => pkg.h} | 17 ++++++++--------- - po/POTFILES.in | 1 + - src/main.h | 5 ----- - 7 files changed, 23 insertions(+), 41 deletions(-) + lib/dpkg/Makefile.am | 1 + + lib/dpkg/pkg-array.c | 9 --------- + lib/dpkg/pkg-array.h | 3 +-- + lib/dpkg/{pkg-array.h => pkg.c} | 30 ++++++++++++------------------ + lib/dpkg/{pkg-array.h => pkg.h} | 22 ++++++---------------- + po/POTFILES.in | 1 + + src/main.h | 5 ----- + 7 files changed, 21 insertions(+), 50 deletions(-) commit 2510971730a3a4c0f033884dc0bc5c6a82a9f5fb Author: Guillem Jover @@ -67809,15 +48032,15 @@ debian/copyright | 2 + debian/dpkg.docs | 1 + dselect/methods/Makefile.am | 14 +- - dselect/methods/multicd/README.multicd | 131 ++++++++++++ + dselect/methods/multicd/README.multicd | 131 ++++++ dselect/methods/multicd/desc.multi_cd | 3 + - dselect/methods/multicd/desc.multi_mount | 12 ++ - dselect/methods/multicd/desc.multi_nfs | 12 ++ - dselect/methods/multicd/install | 294 +++++++++++++++++++++++++++ + dselect/methods/multicd/desc.multi_mount | 12 + + dselect/methods/multicd/desc.multi_nfs | 12 + + dselect/methods/multicd/install | 294 ++++++++++++++ dselect/methods/multicd/names | 3 + - dselect/methods/{disk => multicd}/setup | 330 +++++++++++++++++++------------ - dselect/methods/{disk => multicd}/update | 52 +++-- - 13 files changed, 719 insertions(+), 141 deletions(-) + dselect/methods/multicd/setup | 663 +++++++++++++++++++++++++++++++ + dselect/methods/multicd/update | 116 ++++++ + 13 files changed, 1253 insertions(+), 4 deletions(-) commit 5ed64b297e3f9ce9490372abc9b269126e2bd0a4 Author: Raphaël Hertzog @@ -68529,12 +48752,12 @@ libdpkg: Add new buffer_hash and buffer_md5 functions - lib/dpkg/buffer.c | 13 +++++++++++++ - lib/dpkg/buffer.h | 4 ++++ - lib/dpkg/test/.gitignore | 1 + - lib/dpkg/test/Makefile.am | 2 ++ - lib/dpkg/test/{t-pkginfo.c => t-buffer.c} | 24 +++++++++++++----------- - 5 files changed, 33 insertions(+), 11 deletions(-) + lib/dpkg/buffer.c | 13 +++++++++++++ + lib/dpkg/buffer.h | 4 ++++ + lib/dpkg/test/.gitignore | 1 + + lib/dpkg/test/Makefile.am | 2 ++ + lib/dpkg/test/t-buffer.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ + 5 files changed, 66 insertions(+) commit 8c84d22f662e61664b3619117c5c4eabd6b704d8 Author: Guillem Jover @@ -69122,10 +49345,10 @@ A new functions to construct and free a list and prepend to a list. - lib/dpkg/Makefile.am | 1 + - lib/dpkg/{pkg-array.h => pkg-list.c} | 46 ++++++++++++++++++++++++------------ - lib/dpkg/{pkg-array.h => pkg-list.h} | 22 ++++++++--------- - 3 files changed, 42 insertions(+), 27 deletions(-) + lib/dpkg/Makefile.am | 1 + + lib/dpkg/pkg-list.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++ + lib/dpkg/pkg-list.h | 43 ++++++++++++++++++++++++++++++++++++ + 3 files changed, 105 insertions(+) commit 8b73de55151677444cfc4745e501b8dd0992374d Author: Guillem Jover @@ -69397,7 +49620,7 @@ debian/changelog | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) -commit 9eb319a57bffa28f77ec6b7eef7ff5c68e2304e5 (tag: 1.15.4) +commit 9eb319a57bffa28f77ec6b7eef7ff5c68e2304e5 Author: Guillem Jover Date: Sun Sep 6 09:18:39 2009 +0200 @@ -70884,23 +51107,23 @@ Make the dependencies on other modules explicit, and avoid clutter by not including unneeded stuff. - dpkg-deb/build.c | 2 +- - dselect/method.cc | 2 +- - lib/dpkg/Makefile.am | 7 +++---- - lib/dpkg/fields.c | 2 +- - lib/dpkg/parsehelp.c | 2 +- - lib/dpkg/path.c | 2 +- - lib/dpkg/{dpkg-priv.h => path.h} | 21 +++++---------------- - lib/dpkg/string.c | 2 +- - lib/dpkg/{i18n.h => string.h} | 14 ++++++-------- - lib/dpkg/subproc.c | 2 +- - lib/dpkg/{i18n.h => subproc.h} | 15 +++++++-------- - lib/dpkg/test/t-path.c | 2 +- - lib/dpkg/test/t-string.c | 2 +- - src/filesdb.c | 2 +- - src/help.c | 3 ++- - src/query.c | 2 +- - 16 files changed, 34 insertions(+), 48 deletions(-) + dpkg-deb/build.c | 2 +- + dselect/method.cc | 2 +- + lib/dpkg/Makefile.am | 7 +++---- + lib/dpkg/fields.c | 2 +- + lib/dpkg/parsehelp.c | 2 +- + lib/dpkg/path.c | 2 +- + lib/dpkg/{dpkg-priv.h => path.h} | 21 +++++---------------- + lib/dpkg/string.c | 2 +- + lib/dpkg/{string.c => string.h} | 26 ++++++++------------------ + lib/dpkg/subproc.c | 2 +- + lib/dpkg/{dpkg-priv.h => subproc.h} | 23 ++++------------------- + lib/dpkg/test/t-path.c | 2 +- + lib/dpkg/test/t-string.c | 2 +- + src/filesdb.c | 2 +- + src/help.c | 3 ++- + src/query.c | 2 +- + 16 files changed, 33 insertions(+), 69 deletions(-) commit 7fa96f351b61259f741bcd952beb9468f0c7516c Author: Guillem Jover @@ -71639,7 +51862,7 @@ po/de.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -commit 30f797c7c1fa1bac2388e47d1c28302804a9c53b (tag: 1.15.3.1) +commit 30f797c7c1fa1bac2388e47d1c28302804a9c53b Author: Guillem Jover Date: Wed Jul 8 11:26:55 2009 +0200 @@ -72047,7 +52270,7 @@ debian/changelog | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) -commit 16199a8951e656bf3ef2fda67cb554a26fad785d (tag: 1.15.3) +commit 16199a8951e656bf3ef2fda67cb554a26fad785d Author: Guillem Jover Date: Sat Jun 27 19:07:16 2009 +0200 @@ -73192,7 +53415,7 @@ debian/changelog | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) -commit f4ab87b29a4abfe372395d66679d526e888d3559 (tag: 1.15.2) +commit f4ab87b29a4abfe372395d66679d526e888d3559 Author: Guillem Jover Date: Tue May 26 01:02:00 2009 +0200 @@ -73518,7 +53741,7 @@ debian/changelog | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) -commit 588381c24ec54f97ad980618778df19ac86ffc10 (tag: 1.15.1) +commit 588381c24ec54f97ad980618778df19ac86ffc10 Author: Guillem Jover Date: Thu May 21 06:53:44 2009 +0200 @@ -74482,14 +54705,14 @@ detected at configure time. This way we can also cleanly detect the path needed by mkcurkeys.pl w/o duplicating the selection logic. - TODO | 1 - - debian/changelog | 1 + - dselect/Makefile.am | 6 ++-- - lib/test/t-pkginfo.c => dselect/dselect-curses.h | 38 +++++++++++------------- - dselect/dselect.h | 3 +- - dselect/main.cc | 6 ++++ - m4/libs.m4 | 2 ++ - 7 files changed, 31 insertions(+), 26 deletions(-) + TODO | 1 - + debian/changelog | 1 + + dselect/Makefile.am | 6 ++++-- + dselect/dselect-curses.h | 40 ++++++++++++++++++++++++++++++++++++++++ + dselect/dselect.h | 3 +-- + dselect/main.cc | 6 ++++++ + m4/libs.m4 | 2 ++ + 7 files changed, 54 insertions(+), 5 deletions(-) commit f8ff44b68dbec2457bd3dbe0e9c891f73534f7b2 Author: Guillem Jover @@ -74555,9 +54778,9 @@ Closes: #523023 - debian/changelog | 1 + - po/{lt.po => eo.po} | 2969 ++++++++++++++++++++++++++------------------------- - 2 files changed, 1511 insertions(+), 1459 deletions(-) + debian/changelog | 1 + + po/eo.po | 5870 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 5871 insertions(+) commit c40bbd831c32b257001bbe6f5d88df16ea20bb07 Author: Helge Kreutzmann @@ -75203,9 +55426,9 @@ Closes: #519478 - debian/changelog | 3 + - po/{gl.po => ast.po} | 3200 ++++++++++++++++++++++++++------------------------ - 2 files changed, 1677 insertions(+), 1526 deletions(-) + debian/changelog | 3 + + po/ast.po | 6509 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 6512 insertions(+) commit 6e9f17ba8fa0ae75aee08579d08ba3fae8175869 Author: Raphael Hertzog @@ -75594,12 +55817,12 @@ Create a new pkg_array structure, and two new functions to initialize from the db, and to sort the array. - src/Makefile.am | 4 +-- - src/pkg-array.c | 29 ++++++++++++++++ - lib/progress.h => src/pkg-array.h | 26 ++++++--------- - src/query.c | 69 +++++++++++++++------------------------ - src/select.c | 27 +++++---------- - 5 files changed, 76 insertions(+), 79 deletions(-) + src/Makefile.am | 4 +-- + src/pkg-array.c | 29 +++++++++++++++++ + src/{pkg-array.c => pkg-array.h} | 27 ++++++++-------- + src/query.c | 69 +++++++++++++++------------------------- + src/select.c | 27 ++++++---------- + 5 files changed, 80 insertions(+), 76 deletions(-) commit 2c0667d06a38c3a31ab43b79a979f29e5fcf0cf3 Author: Guillem Jover diff -Nru dpkg-1.18.4ubuntu1/ChangeLog.old dpkg-1.17.5ubuntu5/ChangeLog.old --- dpkg-1.18.4ubuntu1/ChangeLog.old 2015-11-26 23:53:36.000000000 +0000 +++ dpkg-1.17.5ubuntu5/ChangeLog.old 2013-12-10 06:14:22.000000000 +0000 @@ -2074,14 +2074,14 @@ 2008-08-15 Guillem Jover * lib/dbmodify.c (modstatdb_note): Do not call modstatdb_note_core if - cstatus does not allow writing. Move the core functionality to ... + cstatus does not allow writting. Move the core functionallity to ... (modstatdb_note_core): ... here. New function. * src/help.c (post_postinst_tasks_core): Do not call trig_incorporate if running under --no-act. * src/trigproc.c (trigproc): Do not call maintainer_script_postinst if running under --no-act. (trig_transitional_activate): Do not call trig_file_interests_save - if cstatus does not allow writing. + if cstatus does not allow writting. 2008-08-15 Guillem Jover @@ -2672,7 +2672,7 @@ (dependencies_ok): Handle packages which can be fixed by means of processing their triggers. * src/processarc.c (process_archive): Ensure file triggers intersts. - Activate trigger package processing. Parse package triggers control + Activate trigger package processsing. Parse package triggers control file before reading the conffiles. Treat trigger statuses the same way as installed. Activate trigger package processing for the package being deconfigured and for conflictors. Parse package control file @@ -3760,7 +3760,7 @@ IO::String. * scripts/Dpkg/Changelog/Debian.pm (parse): Accept input in - configuration item 'inhandle'. Allow overriding the name of the + configuration item 'inhandle'. Allow to override the name of the file (used for reporting) with configuration item 'reportfile'. * scripts/Dpkg/Changelog.pm (init): Call parse if 'inhandle' is given. @@ -3869,7 +3869,7 @@ 2008-01-13 Frank Lichtenheld - * scripts/Dpkg/Fields.pm (dump): Allow omitting the + * scripts/Dpkg/Fields.pm (dump): Allow to omit the filehandle argument. If the function is called in non-void context, also remove the printed string to the caller. Together this avoids having to fiddle @@ -4605,7 +4605,7 @@ tree even if that package doesn't contain an shlibs file. Then don't complain about missing dependency information if the lib is in the same package than the binary. Also ignore it if the library is - not versioned and can't have an shlibs file. + not versionned and can't have an shlibs file. * scripts/Dpkg/Path.pm (guess_pkg_root_dir) (check_files_are_the_same): New helper functions. @@ -6956,14 +6956,14 @@ 2006-05-10 Frank Lichtenheld * man/C/dpkg-deb.1: Mention the --show-format option also - separately, not just in the description of --show. + seperatly, not just in the description of --show. Point the reader to the explanation of --show-format in dpkg-query.1 to avoid having to duplicate it. 2006-05-10 Frank Lichtenheld * man/C/dpkg-deb.1: Mention the --show-format option also - separately, not just in the description of --show. + seperatly, not just in the description of --show. Point the reader to the explanation of --show-format in dpkg-query.1 to avoid having to duplicate it. @@ -7056,7 +7056,7 @@ 2006-04-29 Justin Pryzby - * src/filesdb.c: Fix a typo. + * src/filesdb.c: Fix a typo (unexecpted -> unexpected). 2006-04-21 Guillem Jover @@ -9600,7 +9600,7 @@ * man/ja/Makefile.in: Move dpkg-scanpackages and dpkg-scansources manpages to section 1. * man/ja/dpkg-scanpackages.8: Renamed to dpkg-scanpackages.1, adjusted - reference to dpkg-scansources. + refence to dpkg-scansources. * man/ja/dpkg-scansources.8: Renamed to dpkg-scansources.1, adjusted reference to dpkg-scanpackages. * man/ja/dselect.8: Adjusted references to dpkg-scanpackages. @@ -9743,7 +9743,7 @@ Fri May 7 00:04:28 BST 2004 Scott James Remnant - * lib/parsehelp.c, scripts/dpkg-source.pl, scripts/cl-debian.pl: Remove + * lib/parsehelp.c, scripts/dpkg-source.pl, scripts/cl-debian.pl: Remove restriction that package names be at least two characters long. Thu May 6 23:57:52 BST 2004 Andrew Shugg @@ -9864,7 +9864,7 @@ Sun Apr 25 16:59:09 BST 2004 Scott James Remnant - * configure.in: Add Norwegian Nynorsk and Portuguese linguas. + * configure.in: Add Norwegian Nynorsk and Portugese linguas. Sun Apr 25 12:27:38 CEST 2004 Tollef Fog Heen @@ -13031,7 +13031,7 @@ Thu Dec 21 01:22:22 CST 2000 Adam Heath - * lib/mlib.c: Handle EINTR on reading and writing in buffer_copy. + * lib/mlib.c: Handle EINTR on reading and writting in buffer_copy. Thu Dec 21 06:58:21 CET 2000 peter karlsson @@ -14278,7 +14278,7 @@ target in debian/rules (po/ doesn't use it) * Add function to libdpkg that dpkg can call to make sure it's compiled version matches that of the library. If it fails, - complain loudly, but proceed anyway. + complain loudly, but allow to proceed * Make dpkg check for uid 0 requirement, before checking the path since not being root, is probably the reason that the PATH is borked in the first place diff -Nru dpkg-1.18.4ubuntu1/check.am dpkg-1.17.5ubuntu5/check.am --- dpkg-1.18.4ubuntu1/check.am 2015-11-26 23:53:36.000000000 +0000 +++ dpkg-1.17.5ubuntu5/check.am 1970-01-01 00:00:00.000000000 +0000 @@ -1,38 +0,0 @@ -# Variables to be defined: -# -# TEST_VERBOSE - set to 0 (default) or 1 to control test suite verbosity -# TEST_ENV_VARS - environment variables to be set for the test suite -# TEST_COVERAGE - set to the perl module in charge of getting test coverage -# test_tmpdir - test suite temporary directory -# test_scripts - list of test case scripts -# test_programs - list of test case programs -# test_data - list of test data files - -TEST_VERBOSE ?= 0 - -TEST_RUNNER = '\ - my $$harness = TAP::Harness->new({ \ - lib => [ "$(top_srcdir)/scripts", "$(top_srcdir)/dselect/methods" ], \ - color => 1, \ - verbosity => $(TEST_VERBOSE), \ - failures => 1, \ - }); \ - my $$aggregate = $$harness->runtests(@ARGV); \ - die "FAIL: test suite has errors\n" if $$aggregate->has_errors;' - -check-clean: - [ -z "$(test_tmpdir)" ] || rm -fr $(test_tmpdir) - -check-local: $(test_data) $(test_programs) $(test_scripts) - [ -z "$(test_tmpdir)" ] || $(MKDIR_P) $(test_tmpdir) - PATH="$(abs_top_builddir)/src:$(abs_top_builddir)/scripts:$(abs_top_builddir)/utils:$(PATH)" \ - LC_ALL=C \ - $(TEST_ENV_VARS) \ - srcdir=$(srcdir) builddir=$(builddir) \ - CC=$(CC) \ - PERL_DL_NONLAZY=1 \ - PERL5LIB=$(abs_top_srcdir)/scripts:$(abs_top_srcdir)/dselect/methods \ - PERL5OPT=$(TEST_COVERAGE) \ - $(PERL) -MTAP::Harness -e $(TEST_RUNNER) \ - $(addprefix $(builddir)/,$(test_programs)) \ - $(addprefix $(srcdir)/,$(test_scripts)) diff -Nru dpkg-1.18.4ubuntu1/config.h.in dpkg-1.17.5ubuntu5/config.h.in --- dpkg-1.18.4ubuntu1/config.h.in 2015-12-25 12:48:05.000000000 +0000 +++ dpkg-1.17.5ubuntu5/config.h.in 2013-12-12 07:46:30.000000000 +0000 @@ -12,9 +12,6 @@ /* Set this to the canonical dpkg system name. */ #undef ARCHITECTURE_OS -/* Define to YES if building devel docs. */ -#undef BUILD_DEVEL_DOCS - /* Define to 1 if dselect is compiled. */ #undef BUILD_DSELECT @@ -61,36 +58,17 @@ */ #undef HAVE_DCGETTEXT -/* Define to 1 if you have the declaration of `sys_errlist', and to 0 if you - don't. */ -#undef HAVE_DECL_SYS_ERRLIST - -/* Define to 1 if you have the declaration of `sys_nerr', and to 0 if you +/* Define to 1 if you have the declaration of `strnlen', and to 0 if you don't. */ -#undef HAVE_DECL_SYS_NERR +#undef HAVE_DECL_STRNLEN /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you don't. */ #undef HAVE_DECL_SYS_SIGLIST -/* Define to 1 if you have the header file. */ -#undef HAVE_DLFCN_H - /* Define to 1 if you have the header file. */ #undef HAVE_ERROR_H -/* Define to 1 if you have the header file. */ -#undef HAVE_ERR_H - -/* Define to 1 if you have the `fallocate' function. */ -#undef HAVE_FALLOCATE - -/* Define to 1 if 'F_ALLOCSP64' is declared in */ -#undef HAVE_F_ALLOCSP64 - -/* Define to 1 if 'F_PREALLOCATE' is declared in */ -#undef HAVE_F_PREALLOCATE - /* Define to 1 if you have the `getdtablesize' function. */ #undef HAVE_GETDTABLESIZE @@ -136,15 +114,6 @@ /* Define to 1 if you have the `lutimes' function. */ #undef HAVE_LUTIMES -/* xz multithreaded compression support */ -#undef HAVE_LZMA_MT - -/* Define to 1 if 'makedev' is declared in */ -#undef HAVE_MAKEDEV - -/* Define to 1 if you have the header file. */ -#undef HAVE_MD5_H - /* Define to 1 if you have the `memcpy' function. */ #undef HAVE_MEMCPY @@ -181,21 +150,12 @@ /* Define to 1 if you have the `posix_fadvise' function. */ #undef HAVE_POSIX_FADVISE -/* Define to 1 if you have the `posix_fallocate' function. */ -#undef HAVE_POSIX_FALLOCATE - /* Define to 1 if you have program_invocation_short_name */ #undef HAVE_PROGRAM_INVOCATION_SHORT_NAME -/* Define to 1 if 'P_tmpdir' is declared in */ -#undef HAVE_P_TMPDIR - /* Define to 1 if you have the `scandir' function. */ #undef HAVE_SCANDIR -/* Define to 1 if SELinux setexecfilecon is present */ -#undef HAVE_SETEXECFILECON - /* Define to 1 if you have the `setsid' function. */ #undef HAVE_SETSID @@ -229,30 +189,15 @@ /* Define to 1 if you have the `strtoimax' function. */ #undef HAVE_STRTOIMAX -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_PARAM_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_PROC_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_PSTAT_H - /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SYSCALL_H -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_SYSCTL_H - /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_USER_H - /* Define to 1 if you have the header file. */ #undef HAVE_TERM_H @@ -277,10 +222,6 @@ /* Acknowledge the volatility of the API. */ #undef LIBDPKG_VOLATILE_API -/* Define to the sub-directory in which libtool stores uninstalled libraries. - */ -#undef LT_OBJDIR - /* Name of package */ #undef PACKAGE @@ -290,9 +231,6 @@ /* Define to the full name of this package. */ #undef PACKAGE_NAME -/* Define the project release information, version and architecture */ -#undef PACKAGE_RELEASE - /* Define to the full name and version of this package. */ #undef PACKAGE_STRING @@ -314,9 +252,6 @@ /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS -/* GNU tar program */ -#undef TAR - /* Use unreliable mmap support */ #undef USE_MMAP diff -Nru dpkg-1.18.4ubuntu1/configure dpkg-1.17.5ubuntu5/configure --- dpkg-1.18.4ubuntu1/configure 2015-12-25 12:48:04.000000000 +0000 +++ dpkg-1.17.5ubuntu5/configure 2013-12-12 07:46:29.000000000 +0000 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for dpkg 1.18.4. +# Generated by GNU Autoconf 2.69 for dpkg 1.17.5. # # Report bugs to . # @@ -198,15 +198,7 @@ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 -test \$(( 1 + 1 )) = 2 || exit 1 - - test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( - ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' - ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO - ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO - PATH=/empty FPATH=/empty; export PATH FPATH - test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ - || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" +test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else @@ -564,8 +556,6 @@ # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" -SHELL=${CONFIG_SHELL-/bin/sh} - test -n "$DJDIR" || exec 7<&0 &1 @@ -590,8 +580,8 @@ # Identity of this package. PACKAGE_NAME='dpkg' PACKAGE_TARNAME='dpkg' -PACKAGE_VERSION='1.18.4' -PACKAGE_STRING='dpkg 1.18.4' +PACKAGE_VERSION='1.17.5' +PACKAGE_STRING='dpkg 1.17.5' PACKAGE_BUGREPORT='debian-dpkg@lists.debian.org' PACKAGE_URL='' @@ -661,15 +651,9 @@ HAVE_GETOPT_TRUE HAVE_C99_SNPRINTF_FALSE HAVE_C99_SNPRINTF_TRUE -HAVE_SYS_ERRLIST_FALSE -HAVE_SYS_ERRLIST_TRUE SSD_LIBS CURSES_LIBS USE_UNICODE -HAVE_SETEXECFILECON_FALSE -HAVE_SETEXECFILECON_TRUE -WITH_SELINUX_FALSE -WITH_SELINUX_TRUE SELINUX_LIBS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH @@ -677,9 +661,6 @@ LIBLZMA_LIBS BZ2_LIBS ZLIB_LIBS -HAVE_LIBMD_MD5_FALSE -HAVE_LIBMD_MD5_TRUE -MD_LIBS PERL_COVER PERL_COVERAGE LCOV_GENHTML @@ -696,49 +677,25 @@ PO4A HAVE_DOT DOXYGEN +RANLIB LEXLIB LEX_OUTPUT_ROOT LEX -CXXCPP am__fastdepCXX_FALSE am__fastdepCXX_TRUE CXXDEPMODE ac_ct_CXX CXXFLAGS CXX -TAR logdir admindir pkgconfdir -devlibdir BUILD_UPDATE_ALTERNATIVES_FALSE BUILD_UPDATE_ALTERNATIVES_TRUE BUILD_START_STOP_DAEMON_FALSE BUILD_START_STOP_DAEMON_TRUE BUILD_DSELECT_FALSE BUILD_DSELECT_TRUE -HAVE_LINKER_VERSION_SCRIPT_FALSE -HAVE_LINKER_VERSION_SCRIPT_TRUE -BUILD_SHARED_FALSE -BUILD_SHARED_TRUE -OTOOL64 -OTOOL -LIPO -NMEDIT -DSYMUTIL -MANIFEST_TOOL -RANLIB -DLLTOOL -OBJDUMP -LN_S -NM -ac_ct_DUMPBIN -DUMPBIN -LD -FGREP -LIBTOOL -ac_ct_AR -AR POSUB LTLIBINTL LIBINTL @@ -764,7 +721,6 @@ MSGFMT GETTEXT_MACRO_VERSION USE_NLS -SED AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V @@ -812,7 +768,6 @@ LDFLAGS CFLAGS CC -PACKAGE_COPYRIGHT_HOLDER target_alias host_alias build_alias @@ -832,7 +787,6 @@ docdir oldincludedir includedir -runstatedir localstatedir sharedstatedir sysconfdir @@ -862,17 +816,9 @@ enable_rpath with_libiconv_prefix with_libintl_prefix -enable_shared -enable_static -with_pic -enable_fast_install -with_sysroot -enable_libtool_lock enable_dselect enable_start_stop_daemon enable_update_alternatives -enable_devel_docs -with_devlibdir with_pkgconfdir with_admindir with_logdir @@ -898,14 +844,11 @@ LIBS CPPFLAGS CPP -TAR CXX CXXFLAGS CCC -CXXCPP PERL PERL_LIBDIR -MD_LIBS ZLIB_LIBS BZ2_LIBS LIBLZMA_LIBS @@ -953,7 +896,6 @@ sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' -runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' @@ -1206,15 +1148,6 @@ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; - -runstatedir | --runstatedir | --runstatedi | --runstated \ - | --runstate | --runstat | --runsta | --runst | --runs \ - | --run | --ru | --r) - ac_prev=runstatedir ;; - -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ - | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ - | --run=* | --ru=* | --r=*) - runstatedir=$ac_optarg ;; - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ @@ -1352,7 +1285,7 @@ for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir runstatedir + libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. @@ -1465,7 +1398,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures dpkg 1.18.4 to adapt to many kinds of systems. +\`configure' configures dpkg 1.17.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1505,7 +1438,6 @@ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] @@ -1536,7 +1468,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of dpkg 1.18.4:";; + short | recursive ) echo "Configuration of dpkg 1.17.5:";; esac cat <<\_ACEOF @@ -1552,17 +1484,11 @@ --disable-silent-rules verbose build output (undo: "make V=0") --disable-nls do not use Native Language Support --disable-rpath do not hardcode runtime library paths - --enable-shared[=PKGS] build shared libraries [default=no] - --enable-static[=PKGS] build static libraries [default=yes] - --enable-fast-install[=PKGS] - optimize for fast installation [default=yes] - --disable-libtool-lock avoid locking (might break parallel builds) --disable-dselect do not build or use dselect --disable-start-stop-daemon do not build or use start-stop-daemon --disable-update-alternatives do not build or use update-alternatives - --disable-devel-docs build release docs --enable-coverage whether to enable code coverage --disable-largefile omit support for large files --disable-unicode do not use Unicode (wide chars) support @@ -1582,12 +1508,6 @@ --without-libiconv-prefix don't search for libiconv in includedir and libdir --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib --without-libintl-prefix don't search for libintl in includedir and libdir - --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use - both] - --with-gnu-ld assume the C compiler uses GNU ld [default=no] - --with-sysroot=DIR Search for dependent libraries within DIR - (or the compiler's sysroot if not specified). - --with-devlibdir=DIR dpkg development library directory [LIBDIR] --with-pkgconfdir=DIR dpkg configuration directory [SYSCONFDIR/dpkg] --with-admindir=DIR dpkg database directory [LOCALSTATEDIR/lib/dpkg] --with-logdir=DIR system logging directory [LOCALSTATEDIR/log] @@ -1608,13 +1528,10 @@ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor - TAR GNU tar program CXX C++ compiler command CXXFLAGS C++ compiler flags - CXXCPP C++ preprocessor PERL Perl interpreter PERL_LIBDIR Perl library directory - MD_LIBS linker flags for md library ZLIB_LIBS linker flags for zlib library BZ2_LIBS linker flags for bz2 library LIBLZMA_LIBS @@ -1695,7 +1612,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -dpkg configure 1.18.4 +dpkg configure 1.17.5 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1994,73 +1911,6 @@ } # ac_fn_c_try_link -# ac_fn_c_check_func LINENO FUNC VAR -# ---------------------------------- -# Tests whether FUNC exists, setting the cache variable VAR accordingly -ac_fn_c_check_func () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -/* Define $2 to an innocuous variant, in case declares $2. - For example, HP-UX 11i declares gettimeofday. */ -#define $2 innocuous_$2 - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $2 - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char $2 (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_$2 || defined __stub___$2 -choke me -#endif - -int -main () -{ -return $2 (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_func - # ac_fn_cxx_try_compile LINENO # ---------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. @@ -2099,89 +1949,6 @@ } # ac_fn_cxx_try_compile -# ac_fn_cxx_try_cpp LINENO -# ------------------------ -# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -ac_fn_cxx_try_cpp () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } > conftest.i && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_cxx_try_cpp - -# ac_fn_cxx_try_link LINENO -# ------------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. -ac_fn_cxx_try_link () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - test -x conftest$ac_exeext - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information - # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would - # interfere with the next link command; also delete a directory that is - # left behind by Apple's compiler. We do this before executing the actions. - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_cxx_try_link - # ac_fn_c_check_type LINENO TYPE VAR INCLUDES # ------------------------------------------- # Tests whether TYPE exists after having included INCLUDES, setting cache @@ -2464,11 +2231,78 @@ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_decl + +# ac_fn_c_check_func LINENO FUNC VAR +# ---------------------------------- +# Tests whether FUNC exists, setting the cache variable VAR accordingly +ac_fn_c_check_func () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case declares $2. + For example, HP-UX 11i declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main () +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_func cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by dpkg $as_me 1.18.4, which was +It was created by dpkg $as_me 1.17.5, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2817,8 +2651,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -PACKAGE_COPYRIGHT_HOLDER='Dpkg Developers' - ac_aux_dir= @@ -2851,8 +2683,8 @@ -# Expand $ac_aux_dir to an absolute path. -am_aux_dir=`cd "$ac_aux_dir" && pwd` +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -4162,7 +3994,7 @@ -am__api_version='1.15' +am__api_version='1.14' # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or @@ -4351,7 +4183,7 @@ $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi -if test x"${install_sh+set}" != xset; then +if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; @@ -4708,7 +4540,7 @@ # Define the identity of the package. PACKAGE='dpkg' - VERSION='1.18.4' + VERSION='1.17.5' cat >>confdefs.h <<_ACEOF @@ -4742,8 +4574,8 @@ # mkdir_p='$(MKDIR_P)' -# We need awk for the "check" target (and possibly the TAP driver). The -# system "awk" is bad on some platforms. +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' @@ -4928,7 +4760,6 @@ as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 fi fi - # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; @@ -4969,82 +4800,6 @@ AM_BACKSLASH='\' -# Do not unconditionally use the following macro, as Debian jessie does not -# have a recent enough gettext. - -# We cannot remove the following macro due to backwards compatibility reasons. -# In the future when the gettext version is bumped, we have to set the above -# macro unconditionally to the minimal version, and set the below to 0.19.6, -# the first version introducing the AM_GNU_GETTEXT_REQUIRE_VERSION macro. - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 -$as_echo_n "checking for a sed that does not truncate output... " >&6; } -if ${ac_cv_path_SED+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ - for ac_i in 1 2 3 4 5 6 7; do - ac_script="$ac_script$as_nl$ac_script" - done - echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed - { ac_script=; unset ac_script;} - if test -z "$SED"; then - ac_path_SED_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_SED" || continue -# Check for GNU ac_path_SED and select it if it is found. - # Check for GNU $ac_path_SED -case `"$ac_path_SED" --version 2>&1` in -*GNU*) - ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo '' >> "conftest.nl" - "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_SED_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_SED="$ac_path_SED" - ac_path_SED_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_SED_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_SED"; then - as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 - fi -else - ac_cv_path_SED=$SED -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 -$as_echo "$ac_cv_path_SED" >&6; } - SED="$ac_cv_path_SED" - rm -f conftest.sed { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 @@ -5062,7 +4817,7 @@ - GETTEXT_MACRO_VERSION=0.19 + GETTEXT_MACRO_VERSION=0.18 @@ -6384,42 +6139,36 @@ if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi - am_cv_func_iconv_works=no - for ac_iconv_const in '' 'const'; do - if test "$cross_compiling" = yes; then : - case "$host_os" in - aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; - *) am_cv_func_iconv_works="guessing yes" ;; - esac -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + if test "$cross_compiling" = yes; then : + + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include - -#ifndef ICONV_CONST -# define ICONV_CONST $ac_iconv_const -#endif - -int -main () +int main () { -int result = 0; + int result = 0; /* Test against AIX 5.1 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { - static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ + static const char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; - ICONV_CONST char *inptr = input; + const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, - &inptr, &inbytesleft, + (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 1; @@ -6432,14 +6181,14 @@ iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); if (cd_ascii_to_88591 != (iconv_t)(-1)) { - static ICONV_CONST char input[] = "\263"; + static const char input[] = "\263"; char buf[10]; - ICONV_CONST char *inptr = input; + const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_ascii_to_88591, - &inptr, &inbytesleft, + (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 2; @@ -6451,14 +6200,14 @@ iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { - static ICONV_CONST char input[] = "\304"; + static const char input[] = "\304"; static char buf[2] = { (char)0xDE, (char)0xAD }; - ICONV_CONST char *inptr = input; + const char *inptr = input; size_t inbytesleft = 1; char *outptr = buf; size_t outbytesleft = 1; size_t res = iconv (cd_88591_to_utf8, - &inptr, &inbytesleft, + (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) result |= 4; @@ -6471,14 +6220,14 @@ iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { - static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; - ICONV_CONST char *inptr = input; + const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_88591_to_utf8, - &inptr, &inbytesleft, + (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) result |= 8; @@ -6498,20 +6247,17 @@ && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) result |= 16; return result; - - ; - return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : am_cv_func_iconv_works=yes +else + am_cv_func_iconv_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi - test "$am_cv_func_iconv_works" = no || break - done LIBS="$am_save_LIBS" fi @@ -7197,624 +6943,247 @@ fi -# Shared libraries are disabled on purpose, currently there is no ABI stability -# guarantee, and it will be broken at will. The infrastructure is in place just -# to be able to test that its future activation will work. -if test -n "$ac_tool_prefix"; then - for ac_prog in ar lib "link -lib" - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AR"; then - ac_cv_prog_AR="$AR" # Let the user override the test. +# Allow compilation without optional programs + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build dselect" >&5 +$as_echo_n "checking whether to build dselect... " >&6; } + # Check whether --enable-dselect was given. +if test "${enable_dselect+set}" = set; then : + enableval=$enable_dselect; build_dselect=$enable_dselect else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AR="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS + build_dselect=yes fi -fi -AR=$ac_cv_prog_AR -if test -n "$AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -$as_echo "$AR" >&6; } + + if test "x$build_dselect" = "xyes"; then + BUILD_DSELECT_TRUE= + BUILD_DSELECT_FALSE='#' else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + BUILD_DSELECT_TRUE='#' + BUILD_DSELECT_FALSE= fi + if test "x$build_dselect" = "xyes"; then : + + +$as_echo "#define BUILD_DSELECT 1" >>confdefs.h - test -n "$AR" && break - done -fi -if test -z "$AR"; then - ac_ct_AR=$AR - for ac_prog in ar lib "link -lib" -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AR"; then - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_AR="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS -fi -fi -ac_ct_AR=$ac_cv_prog_ac_ct_AR -if test -n "$ac_ct_AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -$as_echo "$ac_ct_AR" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi + $as_echo "#define BUILD_DSELECT 0" >>confdefs.h - test -n "$ac_ct_AR" && break -done - if test "x$ac_ct_AR" = x; then - AR="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - AR=$ac_ct_AR - fi fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_dselect" >&5 +$as_echo "$build_dselect" >&6; } -: ${AR=ar} -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 -$as_echo_n "checking the archiver ($AR) interface... " >&6; } -if ${am_cv_ar_interface+:} false; then : - $as_echo_n "(cached) " >&6 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build start-stop-daemon" >&5 +$as_echo_n "checking whether to build start-stop-daemon... " >&6; } + # Check whether --enable-start-stop-daemon was given. +if test "${enable_start_stop_daemon+set}" = set; then : + enableval=$enable_start_stop_daemon; build_start_stop_daemon=$enable_start_stop_daemon else - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - am_cv_ar_interface=ar - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -int some_variable = 0; -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' - { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 - (eval $am_ar_try) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - if test "$ac_status" -eq 0; then - am_cv_ar_interface=ar - else - am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' - { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 - (eval $am_ar_try) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - if test "$ac_status" -eq 0; then - am_cv_ar_interface=lib - else - am_cv_ar_interface=unknown - fi - fi - rm -f conftest.lib libconftest.a + build_start_stop_daemon=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu + if test "x$build_start_stop_daemon" = "xyes"; then + BUILD_START_STOP_DAEMON_TRUE= + BUILD_START_STOP_DAEMON_FALSE='#' +else + BUILD_START_STOP_DAEMON_TRUE='#' + BUILD_START_STOP_DAEMON_FALSE= fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 -$as_echo "$am_cv_ar_interface" >&6; } -case $am_cv_ar_interface in -ar) - ;; -lib) - # Microsoft lib, so override with the ar-lib wrapper script. - # FIXME: It is wrong to rewrite AR. - # But if we don't then we get into trouble of one sort or another. - # A longer-term fix would be to have automake use am__AR in this case, - # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something - # similar. - AR="$am_aux_dir/ar-lib $AR" - ;; -unknown) - as_fn_error $? "could not determine $AR interface" "$LINENO" 5 - ;; -esac + if test "x$build_start_stop_daemon" = "xyes"; then : -case `pwd` in - *\ * | *\ *) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 -$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; -esac +$as_echo "#define BUILD_START_STOP_DAEMON 1" >>confdefs.h -macro_version='2.4.2' -macro_revision='1.3337' +else + $as_echo "#define BUILD_START_STOP_DAEMON 0" >>confdefs.h +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_start_stop_daemon" >&5 +$as_echo "$build_start_stop_daemon" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build update-alternatives" >&5 +$as_echo_n "checking whether to build update-alternatives... " >&6; } + # Check whether --enable-update-alternatives was given. +if test "${enable_update_alternatives+set}" = set; then : + enableval=$enable_update_alternatives; build_update_alternatives=$enable_update_alternatives +else + build_update_alternatives=yes +fi + if test "x$build_update_alternatives" = "xyes"; then + BUILD_UPDATE_ALTERNATIVES_TRUE= + BUILD_UPDATE_ALTERNATIVES_FALSE='#' +else + BUILD_UPDATE_ALTERNATIVES_TRUE='#' + BUILD_UPDATE_ALTERNATIVES_FALSE= +fi + if test "x$build_update_alternatives" = "xyes"; then : +$as_echo "#define BUILD_UPDATE_ALTERNATIVES 1" >>confdefs.h +else -ltmain="$ac_aux_dir/ltmain.sh" + $as_echo "#define BUILD_UPDATE_ALTERNATIVES 0" >>confdefs.h -# Backslashify metacharacters that are still active within -# double-quoted strings. -sed_quote_subst='s/\(["`$\\]\)/\\\1/g' -# Same as above, but do not quote variable references. -double_quote_subst='s/\(["`\\]\)/\\\1/g' +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_update_alternatives" >&5 +$as_echo "$build_update_alternatives" >&6; } -# 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 delay expansion of an escaped single quote. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' +# Allow alternate directories -# Sed substitution to avoid accidental globbing in evaled expressions -no_glob_subst='s/\*/\\\*/g' + pkgconfdir="${sysconfdir}/${PACKAGE_NAME}" -ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO -ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO +# Check whether --with-pkgconfdir was given. +if test "${with_pkgconfdir+set}" = set; then : + withval=$with_pkgconfdir; case $with_pkgconfdir in #( + "") : + as_fn_error $? "invalid pkgconfdir specified" "$LINENO" 5 ;; #( + *) : + pkgconfdir="$with_pkgconfdir" ;; +esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 -$as_echo_n "checking how to print strings... " >&6; } -# Test print first, because it will be a builtin if present. -if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ - test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then - ECHO='print -r --' -elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then - ECHO='printf %s\n' -else - # Use this function as a fallback that always works. - func_fallback_echo () - { - eval 'cat <<_LTECHO_EOF -$1 -_LTECHO_EOF' - } - ECHO='func_fallback_echo' fi -# func_echo_all arg... -# Invoke $ECHO with all args, space-separated. -func_echo_all () -{ - $ECHO "" -} -case "$ECHO" in - printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 -$as_echo "printf" >&6; } ;; - print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 -$as_echo "print -r" >&6; } ;; - *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 -$as_echo "cat" >&6; } ;; + { $as_echo "$as_me:${as_lineno-$LINENO}: using directory pkgconfdir = '$pkgconfdir'" >&5 +$as_echo "$as_me: using directory pkgconfdir = '$pkgconfdir'" >&6;} + + + admindir="${localstatedir}/lib/${PACKAGE_NAME}" + +# Check whether --with-admindir was given. +if test "${with_admindir+set}" = set; then : + withval=$with_admindir; case $with_admindir in #( + "") : + as_fn_error $? "invalid admindir specified" "$LINENO" 5 ;; #( + *) : + admindir="$with_admindir" ;; esac +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: using directory admindir = '$admindir'" >&5 +$as_echo "$as_me: using directory admindir = '$admindir'" >&6;} + + + logdir="${localstatedir}/log" +# Check whether --with-logdir was given. +if test "${with_logdir+set}" = set; then : + withval=$with_logdir; case $with_logdir in #( + "") : + as_fn_error $? "invalid logdir specified" "$LINENO" 5 ;; #( + *) : + logdir="$with_logdir" ;; +esac +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: using directory logdir = '$logdir'" >&5 +$as_echo "$as_me: using directory logdir = '$logdir'" >&6;} +# Set default dpkg-deb compressor +# Check whether --with-dpkg-deb-compressor was given. +if test "${with_dpkg_deb_compressor+set}" = set; then : + withval=$with_dpkg_deb_compressor; with_dpkg_deb_compressor=$withval +else + with_dpkg_deb_compressor=xz +fi + case $with_dpkg_deb_compressor in #( + gzip|xz|bzip2) : + : ;; #( + *) : + as_fn_error $? "unsupported default compressor $with_dpkg_deb_compressor" "$LINENO" 5 ;; +esac +cat >>confdefs.h <<_ACEOF +#define DPKG_DEB_DEFAULT_COMPRESSOR compressor_type_${with_dpkg_deb_compressor} +_ACEOF + { $as_echo "$as_me:${as_lineno-$LINENO}: using default dpkg-deb compressor = $with_dpkg_deb_compressor" >&5 +$as_echo "$as_me: using default dpkg-deb compressor = $with_dpkg_deb_compressor" >&6;} -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 -$as_echo_n "checking for a sed that does not truncate output... " >&6; } -if ${ac_cv_path_SED+:} false; then : +# Checks for programs. +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else - ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ - for ac_i in 1 2 3 4 5 6 7; do - ac_script="$ac_script$as_nl$ac_script" - done - echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed - { ac_script=; unset ac_script;} - if test -z "$SED"; then - ac_path_SED_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_SED" || continue -# Check for GNU ac_path_SED and select it if it is found. - # Check for GNU $ac_path_SED -case `"$ac_path_SED" --version 2>&1` in -*GNU*) - ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo '' >> "conftest.nl" - "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_SED_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_SED="$ac_path_SED" - ac_path_SED_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_SED_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_SED"; then - as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 fi -else - ac_cv_path_SED=$SED -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 -$as_echo "$ac_cv_path_SED" >&6; } - SED="$ac_cv_path_SED" - rm -f conftest.sed - -test -z "$SED" && SED=sed -Xsed="$SED -e 1s/^X//" - - - - - - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 -$as_echo_n "checking for fgrep... " >&6; } -if ${ac_cv_path_FGREP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 - then ac_cv_path_FGREP="$GREP -F" - else - if test -z "$FGREP"; then - ac_path_FGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in fgrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_FGREP" || continue -# Check for GNU ac_path_FGREP and select it if it is found. - # Check for GNU $ac_path_FGREP -case `"$ac_path_FGREP" --version 2>&1` in -*GNU*) - ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'FGREP' >> "conftest.nl" - "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_FGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_FGREP="$ac_path_FGREP" - ac_path_FGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_FGREP_found && break 3 - done - done +done done IFS=$as_save_IFS - if test -z "$ac_cv_path_FGREP"; then - as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_FGREP=$FGREP -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 -$as_echo "$ac_cv_path_FGREP" >&6; } - FGREP="$ac_cv_path_FGREP" - - -test -z "$GREP" && GREP=grep - - - - - - - - - - - - - - - - - - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then : - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else - with_gnu_ld=no -fi - -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 -$as_echo_n "checking for ld used by $CC... " >&6; } - 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 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } -fi -if ${lt_cv_path_LD+:} false; then : - $as_echo_n "(cached) " >&6 -else - 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 variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &5 -$as_echo "$LD" >&6; } +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi -test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if ${lt_cv_prog_gnu_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else - # I'd rather use --version here, but apparently some GNU lds only accept -v. -case `$LD -v 2>&1 &5 -$as_echo "$lt_cv_prog_gnu_ld" >&6; } -with_gnu_ld=$lt_cv_prog_gnu_ld - - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 -$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } -if ${lt_cv_path_NM+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" -else - lt_nm_to_check="${ac_tool_prefix}nm" - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then - lt_nm_to_check="$lt_nm_to_check nm" - fi - for lt_tmp_nm in $lt_nm_to_check; do - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - tmp_nm="$ac_dir/$lt_tmp_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" - done - : ${lt_cv_path_NM=no} fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 -$as_echo "$lt_cv_path_NM" >&6; } -if test "$lt_cv_path_NM" != "no"; then - NM="$lt_cv_path_NM" -else - # Didn't find any BSD compatible name lister, look for dumpbin. - if test -n "$DUMPBIN"; then : - # Let the user override the test. - else - if test -n "$ac_tool_prefix"; then - for ac_prog in dumpbin "link -dump" - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_DUMPBIN+:} false; then : +if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else - if test -n "$DUMPBIN"; then - ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -7823,7 +7192,7 @@ test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" + ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -7833,32 +7202,41 @@ fi fi -DUMPBIN=$ac_cv_prog_DUMPBIN -if test -n "$DUMPBIN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 -$as_echo "$DUMPBIN" >&6; } +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi - - test -n "$DUMPBIN" && break - done + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" fi -if test -z "$DUMPBIN"; then - ac_ct_DUMPBIN=$DUMPBIN - for ac_prog in dumpbin "link -dump" -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else - if test -n "$ac_ct_DUMPBIN"; then - ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -7867,7 +7245,7 @@ test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" + ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -7877,413 +7255,87 @@ fi fi -ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN -if test -n "$ac_ct_DUMPBIN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 -$as_echo "$ac_ct_DUMPBIN" >&6; } +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi - test -n "$ac_ct_DUMPBIN" && break -done - - if test "x$ac_ct_DUMPBIN" = x; then - DUMPBIN=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - DUMPBIN=$ac_ct_DUMPBIN - fi -fi - - case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in - *COFF*) - DUMPBIN="$DUMPBIN -symbols" - ;; - *) - DUMPBIN=: - ;; - esac - fi - - if test "$DUMPBIN" != ":"; then - NM="$DUMPBIN" fi fi -test -z "$NM" && NM=nm - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 -$as_echo_n "checking the name lister ($NM) interface... " >&6; } -if ${lt_cv_nm_interface+:} false; then : +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else - lt_cv_nm_interface="BSD nm" - echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) - (eval "$ac_compile" 2>conftest.err) - cat conftest.err >&5 - (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) - (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) - cat conftest.err >&5 - (eval echo "\"\$as_me:$LINENO: output\"" >&5) - cat conftest.out >&5 - if $GREP 'External.*some_variable' conftest.out > /dev/null; then - lt_cv_nm_interface="MS dumpbin" - fi - rm -f conftest* -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 -$as_echo "$lt_cv_nm_interface" >&6; } - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 -$as_echo_n "checking whether ln -s works... " >&6; } -LN_S=$as_ln_s -if test "$LN_S" = "ln -s"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 -$as_echo "no, using $LN_S" >&6; } -fi - -# find the maximum length of command line arguments -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 -$as_echo_n "checking the maximum length of command line arguments... " >&6; } -if ${lt_cv_sys_max_cmd_len+:} false; then : - $as_echo_n "(cached) " >&6 -else - 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* | cegcc*) - # 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; - ;; - - mint*) - # On MiNT this can take a long time and run out of memory. - 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; - ;; - - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) - # This has been around since 386BSD, at least. Likely further. - if test -x /sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` - elif test -x /usr/sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` - else - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs - fi - # And add a safety zone - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - ;; - - interix*) - # We know the value 262144 and hardcode it with a safety zone (like BSD) - lt_cv_sys_max_cmd_len=196608 - ;; - - os2*) - # The test takes a long time on OS/2. - lt_cv_sys_max_cmd_len=8192 - ;; - - osf*) - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not - # nice to cause kernel panics so lets avoid the loop below. - # First set a reasonable default. - lt_cv_sys_max_cmd_len=16384 - # - if test -x /sbin/sysconfig; then - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in - *1*) lt_cv_sys_max_cmd_len=-1 ;; - esac - fi - ;; - sco3.2v5*) - lt_cv_sys_max_cmd_len=102400 - ;; - sysv5* | sco5v6* | sysv4.2uw2*) - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` - if test -n "$kargmax"; then - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` - else - lt_cv_sys_max_cmd_len=32768 - fi - ;; - *) - lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` - if test -n "$lt_cv_sys_max_cmd_len" && \ - test undefined != "$lt_cv_sys_max_cmd_len"; then - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - else - # Make teststring a little bigger before we do anything with it. - # a 1K string should be a reasonable start. - for i in 1 2 3 4 5 6 7 8 ; do - teststring=$teststring$teststring - done - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} - # 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"`env echo "$teststring$teststring" 2>/dev/null` \ - = "X$teststring$teststring"; } >/dev/null 2>&1 && - test $i != 17 # 1/2 MB should be enough - do - i=`expr $i + 1` - teststring=$teststring$teststring - done - # Only check the string length outside the loop. - lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` - 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` - fi - ;; - esac - -fi + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS -if test -n $lt_cv_sys_max_cmd_len ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 -$as_echo "$lt_cv_sys_max_cmd_len" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 -$as_echo "none" >&6; } +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi fi -max_cmd_len=$lt_cv_sys_max_cmd_len - - - - - - -: ${CP="cp -f"} -: ${MV="mv -f"} -: ${RM="rm -f"} - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 -$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } -# Try some XSI features -xsi_shell=no -( _lt_dummy="a/b/c" - test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ - = c,a/b,b/c, \ - && eval 'test $(( 1 + 1 )) -eq 2 \ - && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ - && xsi_shell=yes -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 -$as_echo "$xsi_shell" >&6; } - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 -$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } -lt_shell_append=no -( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ - >/dev/null 2>&1 \ - && lt_shell_append=yes -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 -$as_echo "$lt_shell_append" >&6; } - - -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - lt_unset=unset -else - lt_unset=false fi - - - - - -# test EBCDIC or ASCII -case `echo X|tr X '\101'` in - A) # ASCII based system - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr - lt_SP2NL='tr \040 \012' - lt_NL2SP='tr \015\012 \040\040' - ;; - *) # EBCDIC based system - lt_SP2NL='tr \100 \n' - lt_NL2SP='tr \r\n \100\100' - ;; -esac - - - - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 -$as_echo_n "checking how to convert $build file names to $host format... " >&6; } -if ${lt_cv_to_host_file_cmd+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $host in - *-*-mingw* ) - case $build in - *-*-mingw* ) # actually msys - lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 - ;; - *-*-cygwin* ) - lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 - ;; - * ) # otherwise, assume *nix - lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 - ;; - esac - ;; - *-*-cygwin* ) - case $build in - *-*-mingw* ) # actually msys - lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin - ;; - *-*-cygwin* ) - lt_cv_to_host_file_cmd=func_convert_file_noop - ;; - * ) # otherwise, assume *nix - lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin - ;; - esac - ;; - * ) # unhandled hosts (and "normal" native builds) - lt_cv_to_host_file_cmd=func_convert_file_noop - ;; -esac - fi - -to_host_file_cmd=$lt_cv_to_host_file_cmd -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 -$as_echo "$lt_cv_to_host_file_cmd" >&6; } - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 -$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } -if ${lt_cv_to_tool_file_cmd+:} false; then : - $as_echo_n "(cached) " >&6 +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } else - #assume ordinary cross tools, or native build. -lt_cv_to_tool_file_cmd=func_convert_file_noop -case $host in - *-*-mingw* ) - case $build in - *-*-mingw* ) # actually msys - lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 - ;; - esac - ;; -esac - + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi -to_tool_file_cmd=$lt_cv_to_tool_file_cmd -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 -$as_echo "$lt_cv_to_tool_file_cmd" >&6; } - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 -$as_echo_n "checking for $LD option to reload object files... " >&6; } -if ${lt_cv_ld_reload_flag+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_ld_reload_flag='-r' fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 -$as_echo "$lt_cv_ld_reload_flag" >&6; } -reload_flag=$lt_cv_ld_reload_flag -case $reload_flag in -"" | " "*) ;; -*) reload_flag=" $reload_flag" ;; -esac -reload_cmds='$LD$reload_flag -o $output$reload_objs' -case $host_os in - cygwin* | mingw* | pw32* | cegcc*) - if test "$GCC" != yes; then - reload_cmds=false - fi - ;; - darwin*) - if test "$GCC" = yes; then - reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' - else - reload_cmds='$LD$reload_flag -o $output$reload_objs' - fi - ;; -esac - - - - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. -set dummy ${ac_tool_prefix}objdump; ac_word=$2 +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_OBJDUMP+:} false; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else - if test -n "$OBJDUMP"; then - ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -8292,7 +7344,7 @@ test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -8302,28 +7354,32 @@ fi fi -OBJDUMP=$ac_cv_prog_OBJDUMP -if test -n "$OBJDUMP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 -$as_echo "$OBJDUMP" >&6; } +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi + test -n "$CC" && break + done fi -if test -z "$ac_cv_prog_OBJDUMP"; then - ac_ct_OBJDUMP=$OBJDUMP - # Extract the first word of "objdump", so it can be a program name with args. -set dummy objdump; ac_word=$2 +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : +if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else - if test -n "$ac_ct_OBJDUMP"; then - ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -8332,7 +7388,7 @@ test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_OBJDUMP="objdump" + ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -8342,17 +7398,21 @@ fi fi -ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP -if test -n "$ac_ct_OBJDUMP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 -$as_echo "$ac_ct_OBJDUMP" >&6; } +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi - if test "x$ac_ct_OBJDUMP" = x; then - OBJDUMP="false" + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" else case $cross_compiling:$ac_tool_warned in yes:) @@ -8360,415 +7420,476 @@ $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac - OBJDUMP=$ac_ct_OBJDUMP + CC=$ac_ct_CC fi -else - OBJDUMP="$ac_cv_prog_OBJDUMP" fi -test -z "$OBJDUMP" && OBJDUMP=objdump - - - - - +fi +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 -$as_echo_n "checking how to recognize dependent libraries... " >&6; } -if ${lt_cv_deplibs_check_method+:} false; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else - lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_deplibs_check_method='unknown' -# Need to set the preceding variable on all platforms that support -# interlibrary dependencies. -# 'none' -- dependencies not supported. -# `unknown' -- same as none, but documents that we really don't know. -# 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. -# 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given extended regex. -# If you have `file' or equivalent on your system and you're not sure -# whether `pass_all' will *always* work, you probably want this one. - -case $host_os in -aix[4-9]*) - lt_cv_deplibs_check_method=pass_all - ;; - -beos*) - lt_cv_deplibs_check_method=pass_all - ;; - -bsdi[45]*) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=/shlib/libc.so - ;; - -cygwin*) - # func_win32_libid is a shell function defined in ltmain.sh - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' - ;; + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -mingw* | pw32*) - # Base MSYS/MinGW do not provide the 'file' command needed by - # func_win32_libid shell function, so use a weaker test based on 'objdump', - # unless we find 'file', for example because we are cross-compiling. - # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. - if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' - else - # Keep this pattern in sync with the one in func_win32_libid. - lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' - lt_cv_file_magic_cmd='$OBJDUMP -f' - fi - ;; +int +main () +{ +#ifndef __GNUC__ + choke me +#endif -cegcc*) - # use the weaker test based on 'objdump'. See mingw*. - lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - ;; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu -darwin* | rhapsody*) - lt_cv_deplibs_check_method=pass_all - ;; +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -freebsd* | dragonfly*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /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|DragonFly)/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 - ;; +int +main () +{ -haiku*) - lt_cv_deplibs_check_method=pass_all - ;; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -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])(-bit)?( [LM]SB)? 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 - ;; +int +main () +{ -interix[3-9]*) - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' - ;; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : -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 - ;; +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -# This must be glibc/ELF. -linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) - lt_cv_deplibs_check_method=pass_all - ;; +int +main () +{ -netbsd* | netbsdelf*-gnu) - 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)$' + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" else - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' + CFLAGS="-g" 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=pass_all - ;; - -openbsd*) - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' +else + if test "$GCC" = yes; then + CFLAGS="-O2" else - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + CFLAGS= fi - ;; - -osf3* | osf4* | osf5*) - lt_cv_deplibs_check_method=pass_all - ;; - -rdos*) - lt_cv_deplibs_check_method=pass_all - ;; - -solaris*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +struct stat; +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} -sysv4 | sysv4.3*) - 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 - ;; - pc) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; -tpf*) - lt_cv_deplibs_check_method=pass_all - ;; -esac +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 -$as_echo "$lt_cv_deplibs_check_method" >&6; } +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC -file_magic_glob= -want_nocaseglob=no -if test "$build" = "$host"; then - case $host_os in - mingw* | pw32*) - if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then - want_nocaseglob=yes - else - file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` - fi - ;; - esac fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : -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 - - - - - +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } +if ${am_cv_prog_cc_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int +main () +{ + ; + return 0; +} +_ACEOF + # Make sure it works both with $CC and with simple cc. + # Following AC_PROG_CC_C_O, we do the test twice because some + # compilers refuse to overwrite an existing .o file with -o, + # though they will create one. + am_cv_prog_cc_c_o=yes + for am_i in 1 2; do + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } \ + && test -f conftest2.$ac_objext; then + : OK + else + am_cv_prog_cc_c_o=no + break + fi + done + rm -f core conftest* + unset am_i +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 +$as_echo "$am_cv_prog_cc_c_o" >&6; } +if test "$am_cv_prog_cc_c_o" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports C99 features" >&5 +$as_echo_n "checking whether $CC supports C99 features... " >&6; } +if ${dpkg_cv_c99+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +/* Variadic macro arguments. */ +#define variadic_macro(foo, ...) printf(foo, __VA_ARGS__) +int +main () +{ + int rc; + /* Compound initializers. */ + struct { int a, b; } foo = { .a = 1, .b = 2 }; + /* Trailing comma in enum. */ + enum { first, second, } quux; + /* Boolean type. */ + bool bar = false; + /* Specific size type. */ + uint32_t baz = 0; + size_t size = SIZE_MAX; + intmax_t imax = INTMAX_MAX; + /* Format modifiers. */ + rc = printf("%jd", imax); + if (rc == 3) + return 1; + rc = printf("%zu", size); + if (rc == 3) + return 1; + /* Magic __func__ variable. */ + printf("%s", __func__); -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. -set dummy ${ac_tool_prefix}dlltool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_DLLTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$DLLTOOL"; then - ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + dpkg_cv_c99=yes else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi + dpkg_cv_c99=no fi -DLLTOOL=$ac_cv_prog_DLLTOOL -if test -n "$DLLTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 -$as_echo "$DLLTOOL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_c99" >&5 +$as_echo "$dpkg_cv_c99" >&6; } +if test "x$dpkg_cv_c99" = "xyes"; then : +$as_echo "#define HAVE_C99 1" >>confdefs.h -fi -if test -z "$ac_cv_prog_DLLTOOL"; then - ac_ct_DLLTOOL=$DLLTOOL - # Extract the first word of "dlltool", so it can be a program name with args. -set dummy dlltool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_DLLTOOL"; then - ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_DLLTOOL="dlltool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL -if test -n "$ac_ct_DLLTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 -$as_echo "$ac_ct_DLLTOOL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_DLLTOOL" = x; then - DLLTOOL="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - DLLTOOL=$ac_ct_DLLTOOL - fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept C99 features" >&5 +$as_echo_n "checking for $CC option to accept C99 features... " >&6; } +if ${dpkg_cv_c99_arg+:} false; then : + $as_echo_n "(cached) " >&6 else - DLLTOOL="$ac_cv_prog_DLLTOOL" -fi + dpkg_cv_c99_arg=none + dpkg_save_CC="$CC" + for arg in "-std=gnu99" "-std=c99" "-c99" "-AC99" \ + "-xc99=all" "-qlanglvl=extc99"; do + CC="$dpkg_save_CC $arg" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -test -z "$DLLTOOL" && DLLTOOL=dlltool +#include +#include +#include +/* Variadic macro arguments. */ +#define variadic_macro(foo, ...) printf(foo, __VA_ARGS__) +int +main () +{ + int rc; + /* Compound initializers. */ + struct { int a, b; } foo = { .a = 1, .b = 2 }; + /* Trailing comma in enum. */ + enum { first, second, } quux; + /* Boolean type. */ + bool bar = false; + /* Specific size type. */ + uint32_t baz = 0; + size_t size = SIZE_MAX; + intmax_t imax = INTMAX_MAX; + /* Format modifiers. */ + rc = printf("%jd", imax); + if (rc == 3) + return 1; + rc = printf("%zu", size); + if (rc == 3) + return 1; + /* Magic __func__ variable. */ + printf("%s", __func__); -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 -$as_echo_n "checking how to associate runtime and link libraries... " >&6; } -if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : - $as_echo_n "(cached) " >&6 + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + dpkg_arg_worked=yes else - lt_cv_sharedlib_from_linklib_cmd='unknown' - -case $host_os in -cygwin* | mingw* | pw32* | cegcc*) - # two different shell functions defined in ltmain.sh - # decide which to use based on capabilities of $DLLTOOL - case `$DLLTOOL --help 2>&1` in - *--identify-strict*) - lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib - ;; - *) - lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback - ;; - esac - ;; -*) - # fallback: assume linklib IS sharedlib - lt_cv_sharedlib_from_linklib_cmd="$ECHO" - ;; -esac - + dpkg_arg_worked=no fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 -$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } -sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd -test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO - - - - - +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CC="$dpkg_save_CC" + if test "x$dpkg_arg_worked" = "xyes"; then : + dpkg_cv_c99_arg="$arg"; break +fi + done +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_c99_arg" >&5 +$as_echo "$dpkg_cv_c99_arg" >&6; } + if test "x$dpkg_cv_c99_arg" != "xnone"; then : + CC="$CC $dpkg_cv_c99_arg" + $as_echo "#define HAVE_C99 1" >>confdefs.h -if test -n "$ac_tool_prefix"; then - for ac_prog in ar +else + as_fn_error $? "unsupported required C99 extensions" "$LINENO" 5 +fi +fi +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +if test -z "$CXX"; then + if test -n "$CCC"; then + CXX=$CCC + else + if test -n "$ac_tool_prefix"; then + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AR+:} false; then : +if ${ac_cv_prog_CXX+:} false; then : $as_echo_n "(cached) " >&6 else - if test -n "$AR"; then - ac_cv_prog_AR="$AR" # Let the user override the test. + if test -n "$CXX"; then + ac_cv_prog_CXX="$CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -8777,7 +7898,7 @@ test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AR="$ac_tool_prefix$ac_prog" + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -8787,32 +7908,32 @@ fi fi -AR=$ac_cv_prog_AR -if test -n "$AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -$as_echo "$AR" >&6; } +CXX=$ac_cv_prog_CXX +if test -n "$CXX"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 +$as_echo "$CXX" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi - test -n "$AR" && break + test -n "$CXX" && break done fi -if test -z "$AR"; then - ac_ct_AR=$AR - for ac_prog in ar +if test -z "$CXX"; then + ac_ct_CXX=$CXX + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AR+:} false; then : +if ${ac_cv_prog_ac_ct_CXX+:} false; then : $as_echo_n "(cached) " >&6 else - if test -n "$ac_ct_AR"; then - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. + if test -n "$ac_ct_CXX"; then + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -8821,7 +7942,7 @@ test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_AR="$ac_prog" + ac_cv_prog_ac_ct_CXX="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -8831,21 +7952,21 @@ fi fi -ac_ct_AR=$ac_cv_prog_ac_ct_AR -if test -n "$ac_ct_AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -$as_echo "$ac_ct_AR" >&6; } +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX +if test -n "$ac_ct_CXX"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 +$as_echo "$ac_ct_CXX" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi - test -n "$ac_ct_AR" && break + test -n "$ac_ct_CXX" && break done - if test "x$ac_ct_AR" = x; then - AR="false" + if test "x$ac_ct_CXX" = x; then + CXX="g++" else case $cross_compiling:$ac_tool_warned in yes:) @@ -8853,11041 +7974,420 @@ $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac - AR=$ac_ct_AR + CXX=$ac_ct_CXX fi fi -: ${AR=ar} -: ${AR_FLAGS=cru} - - - - - - - - - - + fi +fi +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 -$as_echo_n "checking for archiver @FILE support... " >&6; } -if ${lt_cv_ar_at_file+:} false; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 +$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } +if ${ac_cv_cxx_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else - lt_cv_ar_at_file=no - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { +#ifndef __GNUC__ + choke me +#endif ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - echo conftest.$ac_objext > conftest.lst - lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' - { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 - (eval $lt_ar_try) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - if test "$ac_status" -eq 0; then - # Ensure the archiver fails upon bogus file names. - rm -f conftest.$ac_objext libconftest.a - { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 - (eval $lt_ar_try) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - if test "$ac_status" -ne 0; then - lt_cv_ar_at_file=@ - fi - fi - rm -f conftest.* libconftest.a - +if ac_fn_cxx_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 -$as_echo "$lt_cv_ar_at_file" >&6; } - -if test "x$lt_cv_ar_at_file" = xno; then - archiver_list_spec= +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GXX=yes else - archiver_list_spec=$lt_cv_ar_at_file + GXX= fi +ac_test_CXXFLAGS=${CXXFLAGS+set} +ac_save_CXXFLAGS=$CXXFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 +$as_echo_n "checking whether $CXX accepts -g... " >&6; } +if ${ac_cv_prog_cxx_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_cxx_werror_flag=$ac_cxx_werror_flag + ac_cxx_werror_flag=yes + ac_cv_prog_cxx_g=no + CXXFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int +main () +{ + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + ac_cv_prog_cxx_g=yes +else + CXXFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int +main () +{ + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi + ac_cxx_werror_flag=$ac_save_cxx_werror_flag + CXXFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int +main () +{ + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + ac_cv_prog_cxx_g=yes fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cxx_werror_flag=$ac_save_cxx_werror_flag fi - - if test "x$ac_ct_STRIP" = x; then - STRIP=":" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 +$as_echo "$ac_cv_prog_cxx_g" >&6; } +if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS=$ac_save_CXXFLAGS +elif test $ac_cv_prog_cxx_g = yes; then + if test "$GXX" = yes; then + CXXFLAGS="-g -O2" else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - STRIP=$ac_ct_STRIP + CXXFLAGS="-g" fi else - STRIP="$ac_cv_prog_STRIP" + if test "$GXX" = yes; then + CXXFLAGS="-O2" + else + CXXFLAGS= + fi fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu -test -z "$STRIP" && STRIP=: - +depcc="$CXX" am_compiler_list= +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CXX_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + am_cv_CXX_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_RANLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -RANLIB=$ac_cv_prog_RANLIB -if test -n "$RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -$as_echo "$RANLIB" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_RANLIB"; then - ac_ct_RANLIB=$RANLIB - # Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_RANLIB"; then - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_RANLIB="ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB -if test -n "$ac_ct_RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -$as_echo "$ac_ct_RANLIB" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_RANLIB" = x; then - RANLIB=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - RANLIB=$ac_ct_RANLIB - fi -else - RANLIB="$ac_cv_prog_RANLIB" -fi - -test -z "$RANLIB" && RANLIB=: - - - - - - -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= - -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" - ;; - *) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" -fi - -case $host_os in - darwin*) - lock_old_archive_extraction=yes ;; - *) - lock_old_archive_extraction=no ;; -esac - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - - -# Check for command to grab the raw symbol name followed by C symbol from nm. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 -$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } -if ${lt_cv_sys_global_symbol_pipe+:} false; then : - $as_echo_n "(cached) " >&6 -else - -# 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]*\)' - -# Define system-specific variables. -case $host_os in -aix*) - symcode='[BCDT]' - ;; -cygwin* | mingw* | pw32* | cegcc*) - symcode='[ABCDGISTW]' - ;; -hpux*) - if test "$host_cpu" = ia64; then - symcode='[ABCDEGRST]' - fi - ;; -irix* | nonstopux*) - symcode='[BCDEGRST]' - ;; -osf*) - symcode='[BCDEGQRST]' - ;; -solaris*) - symcode='[BDRT]' - ;; -sco3.2v5*) - symcode='[DT]' - ;; -sysv4.2uw2*) - symcode='[DT]' - ;; -sysv5* | sco5v6* | unixware* | OpenUNIX*) - symcode='[ABDT]' - ;; -sysv4) - symcode='[DFNSTU]' - ;; -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 - -# Transform an extracted symbol line into a proper C declaration. -# Some systems (esp. on ia64) link data and code symbols differently, -# so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \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\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" - -# 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 - -# Try without a prefix underscore, then with it. -for ac_symprfx in "" "_"; do - - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. - symxfrm="\\1 $ac_symprfx\\2 \\2" - - # Write the raw and C identifiers. - if test "$lt_cv_nm_interface" = "MS dumpbin"; then - # Fake it for dumpbin and say T for any non-static function - # and D for any global variable. - # Also find C++ and __fastcall symbols from MSVC++, - # which start with @ or ?. - lt_cv_sys_global_symbol_pipe="$AWK '"\ -" {last_section=section; section=\$ 3};"\ -" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ -" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ -" \$ 0!~/External *\|/{next};"\ -" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ -" {if(hide[section]) next};"\ -" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ -" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ -" s[1]~/^[@?]/{print s[1], s[1]; next};"\ -" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ -" ' prfx=^$ac_symprfx" - else - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" - fi - lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" - - # Check to see that the pipe works correctly. - pipe_works=no - - rm -f conftest* - cat > conftest.$ac_ext <<_LT_EOF -#ifdef __cplusplus -extern "C" { -#endif -char nm_test_var; -void nm_test_func(void); -void nm_test_func(void){} -#ifdef __cplusplus -} -#endif -int main(){nm_test_var='a';nm_test_func();return(0);} -_LT_EOF - - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - # Now try to grab the symbols. - nlist=conftest.nm - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 - (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" + # We check with '-c' and '-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. + if test "x$enable_dependency_tracking" = xyes; then + continue else - rm -f "$nlist"T + break fi + ;; + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CXX_dependencies_compiler_type=$depmode + break + fi + fi + done - # 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 <<_LT_EOF > conftest.$ac_ext -/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ -#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) -/* DATA imports from DLLs on WIN32 con't be const, because runtime - relocations are performed -- see ld's documentation on pseudo-relocs. */ -# define LT_DLSYM_CONST -#elif defined(__osf__) -/* This system does not cope well with relocations in const data. */ -# define LT_DLSYM_CONST -#else -# define LT_DLSYM_CONST const -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -_LT_EOF - # Now generate the symbol file. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' - - cat <<_LT_EOF >> conftest.$ac_ext - -/* The mapping between symbol names and symbols. */ -LT_DLSYM_CONST struct { - const char *name; - void *address; -} -lt__PROGRAM__LTX_preloaded_symbols[] = -{ - { "@PROGRAM@", (void *) 0 }, -_LT_EOF - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext - cat <<\_LT_EOF >> conftest.$ac_ext - {0, (void *) 0} -}; - -/* This works around a problem in FreeBSD linker */ -#ifdef FREEBSD_WORKAROUND -static const void *lt_preloaded_setup() { - return lt__PROGRAM__LTX_preloaded_symbols; -} -#endif - -#ifdef __cplusplus -} -#endif -_LT_EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - lt_globsym_save_LIBS=$LIBS - lt_globsym_save_CFLAGS=$CFLAGS - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 - (eval $ac_link) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && test -s conftest${ac_exeext}; then - pipe_works=yes - fi - LIBS=$lt_globsym_save_LIBS - CFLAGS=$lt_globsym_save_CFLAGS - else - echo "cannot find nm_test_func in $nlist" >&5 - fi - else - echo "cannot find nm_test_var in $nlist" >&5 - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 - fi - else - echo "$progname: failed program was:" >&5 - cat conftest.$ac_ext >&5 - fi - rm -rf 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 - -fi - -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 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 -$as_echo "failed" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -$as_echo "ok" >&6; } -fi - -# Response file support. -if test "$lt_cv_nm_interface" = "MS dumpbin"; then - nm_file_list_spec='@' -elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then - nm_file_list_spec='@' -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 -$as_echo_n "checking for sysroot... " >&6; } - -# Check whether --with-sysroot was given. -if test "${with_sysroot+set}" = set; then : - withval=$with_sysroot; -else - with_sysroot=no -fi - - -lt_sysroot= -case ${with_sysroot} in #( - yes) - if test "$GCC" = yes; then - lt_sysroot=`$CC --print-sysroot 2>/dev/null` - fi - ;; #( - /*) - lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` - ;; #( - no|'') - ;; #( - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 -$as_echo "${with_sysroot}" >&6; } - as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 - ;; -esac - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 -$as_echo "${lt_sysroot:-no}" >&6; } - - - - - -# Check whether --enable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then : - enableval=$enable_libtool_lock; -fi - -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 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; 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 '$LINENO' "configure"' > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; 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-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ -s390*-*linux*|s390*-*tpf*|sparc*-*linux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - case `/usr/bin/file conftest.o` in - *32-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_i386_fbsd" - ;; - x86_64-*linux*) - case `/usr/bin/file conftest.o` in - *x86-64*) - LD="${LD-ld} -m elf32_x86_64" - ;; - *) - LD="${LD-ld} -m elf_i386" - ;; - esac - ;; - powerpc64le-*) - LD="${LD-ld} -m elf32lppclinux" - ;; - powerpc64-*) - 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-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_x86_64_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_x86_64" - ;; - powerpcle-*) - LD="${LD-ld} -m elf64lppc" - ;; - powerpc-*) - LD="${LD-ld} -m elf64ppc" - ;; - s390*-*linux*|s390*-*tpf*) - 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" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 -$as_echo_n "checking whether the C compiler needs -belf... " >&6; } -if ${lt_cv_cc_needs_belf+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - lt_cv_cc_needs_belf=yes -else - lt_cv_cc_needs_belf=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 -$as_echo "$lt_cv_cc_needs_belf" >&6; } - 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 - ;; -*-*solaris*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - case `/usr/bin/file conftest.o` in - *64-bit*) - case $lt_cv_prog_gnu_ld in - yes*) - case $host in - i?86-*-solaris*) - LD="${LD-ld} -m elf_x86_64" - ;; - sparc*-*-solaris*) - LD="${LD-ld} -m elf64_sparc" - ;; - esac - # GNU ld 2.21 introduced _sol2 emulations. Use them if available. - if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then - LD="${LD-ld}_sol2" - fi - ;; - *) - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then - LD="${LD-ld} -64" - fi - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; -esac - -need_locks="$enable_libtool_lock" - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. -set dummy ${ac_tool_prefix}mt; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$MANIFEST_TOOL"; then - ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL -if test -n "$MANIFEST_TOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 -$as_echo "$MANIFEST_TOOL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_MANIFEST_TOOL"; then - ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL - # Extract the first word of "mt", so it can be a program name with args. -set dummy mt; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_MANIFEST_TOOL"; then - ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL -if test -n "$ac_ct_MANIFEST_TOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 -$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_MANIFEST_TOOL" = x; then - MANIFEST_TOOL=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL - fi -else - MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" -fi - -test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 -$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } -if ${lt_cv_path_mainfest_tool+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_path_mainfest_tool=no - echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 - $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out - cat conftest.err >&5 - if $GREP 'Manifest Tool' conftest.out > /dev/null; then - lt_cv_path_mainfest_tool=yes - fi - rm -f conftest* -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 -$as_echo "$lt_cv_path_mainfest_tool" >&6; } -if test "x$lt_cv_path_mainfest_tool" != xyes; then - MANIFEST_TOOL=: -fi - - - - - - - case $host_os in - rhapsody* | darwin*) - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. -set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_DSYMUTIL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$DSYMUTIL"; then - ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -DSYMUTIL=$ac_cv_prog_DSYMUTIL -if test -n "$DSYMUTIL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 -$as_echo "$DSYMUTIL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_DSYMUTIL"; then - ac_ct_DSYMUTIL=$DSYMUTIL - # Extract the first word of "dsymutil", so it can be a program name with args. -set dummy dsymutil; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_DSYMUTIL"; then - ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL -if test -n "$ac_ct_DSYMUTIL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 -$as_echo "$ac_ct_DSYMUTIL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_DSYMUTIL" = x; then - DSYMUTIL=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - DSYMUTIL=$ac_ct_DSYMUTIL - fi -else - DSYMUTIL="$ac_cv_prog_DSYMUTIL" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. -set dummy ${ac_tool_prefix}nmedit; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_NMEDIT+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$NMEDIT"; then - ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -NMEDIT=$ac_cv_prog_NMEDIT -if test -n "$NMEDIT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 -$as_echo "$NMEDIT" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_NMEDIT"; then - ac_ct_NMEDIT=$NMEDIT - # Extract the first word of "nmedit", so it can be a program name with args. -set dummy nmedit; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_NMEDIT"; then - ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_NMEDIT="nmedit" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT -if test -n "$ac_ct_NMEDIT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 -$as_echo "$ac_ct_NMEDIT" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_NMEDIT" = x; then - NMEDIT=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - NMEDIT=$ac_ct_NMEDIT - fi -else - NMEDIT="$ac_cv_prog_NMEDIT" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. -set dummy ${ac_tool_prefix}lipo; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_LIPO+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$LIPO"; then - ac_cv_prog_LIPO="$LIPO" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_LIPO="${ac_tool_prefix}lipo" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -LIPO=$ac_cv_prog_LIPO -if test -n "$LIPO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 -$as_echo "$LIPO" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_LIPO"; then - ac_ct_LIPO=$LIPO - # Extract the first word of "lipo", so it can be a program name with args. -set dummy lipo; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_LIPO+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_LIPO"; then - ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_LIPO="lipo" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO -if test -n "$ac_ct_LIPO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 -$as_echo "$ac_ct_LIPO" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_LIPO" = x; then - LIPO=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - LIPO=$ac_ct_LIPO - fi -else - LIPO="$ac_cv_prog_LIPO" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. -set dummy ${ac_tool_prefix}otool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_OTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$OTOOL"; then - ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_OTOOL="${ac_tool_prefix}otool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -OTOOL=$ac_cv_prog_OTOOL -if test -n "$OTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 -$as_echo "$OTOOL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_OTOOL"; then - ac_ct_OTOOL=$OTOOL - # Extract the first word of "otool", so it can be a program name with args. -set dummy otool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_OTOOL"; then - ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_OTOOL="otool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL -if test -n "$ac_ct_OTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 -$as_echo "$ac_ct_OTOOL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_OTOOL" = x; then - OTOOL=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - OTOOL=$ac_ct_OTOOL - fi -else - OTOOL="$ac_cv_prog_OTOOL" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. -set dummy ${ac_tool_prefix}otool64; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_OTOOL64+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$OTOOL64"; then - ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -OTOOL64=$ac_cv_prog_OTOOL64 -if test -n "$OTOOL64"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 -$as_echo "$OTOOL64" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_OTOOL64"; then - ac_ct_OTOOL64=$OTOOL64 - # Extract the first word of "otool64", so it can be a program name with args. -set dummy otool64; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_OTOOL64"; then - ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_OTOOL64="otool64" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 -if test -n "$ac_ct_OTOOL64"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 -$as_echo "$ac_ct_OTOOL64" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_OTOOL64" = x; then - OTOOL64=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - OTOOL64=$ac_ct_OTOOL64 - fi -else - OTOOL64="$ac_cv_prog_OTOOL64" -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 -$as_echo_n "checking for -single_module linker flag... " >&6; } -if ${lt_cv_apple_cc_single_mod+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_apple_cc_single_mod=no - if test -z "${LT_MULTI_MODULE}"; then - # By default we will add the -single_module flag. You can override - # by either setting the environment variable LT_MULTI_MODULE - # non-empty at configure time, or by adding -multi_module to the - # link flags. - rm -rf libconftest.dylib* - echo "int foo(void){return 1;}" > conftest.c - echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ --dynamiclib -Wl,-single_module conftest.c" >&5 - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ - -dynamiclib -Wl,-single_module conftest.c 2>conftest.err - _lt_result=$? - # If there is a non-empty error log, and "single_module" - # appears in it, assume the flag caused a linker warning - if test -s conftest.err && $GREP single_module conftest.err; then - cat conftest.err >&5 - # Otherwise, if the output was created with a 0 exit code from - # the compiler, it worked. - elif test -f libconftest.dylib && test $_lt_result -eq 0; then - lt_cv_apple_cc_single_mod=yes - else - cat conftest.err >&5 - fi - rm -rf libconftest.dylib* - rm -f conftest.* - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 -$as_echo "$lt_cv_apple_cc_single_mod" >&6; } - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 -$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } -if ${lt_cv_ld_exported_symbols_list+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_ld_exported_symbols_list=no - save_LDFLAGS=$LDFLAGS - echo "_main" > conftest.sym - LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - lt_cv_ld_exported_symbols_list=yes -else - lt_cv_ld_exported_symbols_list=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 -$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 -$as_echo_n "checking for -force_load linker flag... " >&6; } -if ${lt_cv_ld_force_load+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_ld_force_load=no - cat > conftest.c << _LT_EOF -int forced_loaded() { return 2;} -_LT_EOF - echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 - $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 - echo "$AR cru libconftest.a conftest.o" >&5 - $AR cru libconftest.a conftest.o 2>&5 - echo "$RANLIB libconftest.a" >&5 - $RANLIB libconftest.a 2>&5 - cat > conftest.c << _LT_EOF -int main() { return 0;} -_LT_EOF - echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 - $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err - _lt_result=$? - if test -s conftest.err && $GREP force_load conftest.err; then - cat conftest.err >&5 - elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then - lt_cv_ld_force_load=yes - else - cat conftest.err >&5 - fi - rm -f conftest.err libconftest.a conftest conftest.c - rm -rf conftest.dSYM - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 -$as_echo "$lt_cv_ld_force_load" >&6; } - case $host_os in - rhapsody* | darwin1.[012]) - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; - darwin1.*) - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; - darwin*) # darwin 5.x on - # if running on 10.5 or later, the deployment target defaults - # to the OS version, if on x86, and 10.4, the deployment - # target defaults to 10.4. Don't you love it? - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in - 10.0,*86*-darwin8*|10.0,*-darwin[91]*) - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; - 10.[012]*) - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; - 10.*) - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; - esac - ;; - esac - if test "$lt_cv_apple_cc_single_mod" = "yes"; then - _lt_dar_single_mod='$single_module' - fi - if test "$lt_cv_ld_exported_symbols_list" = "yes"; then - _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' - else - _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' - fi - if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then - _lt_dsymutil='~$DSYMUTIL $lib || :' - else - _lt_dsymutil= - fi - ;; - esac - -for ac_header in dlfcn.h -do : - ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default -" -if test "x$ac_cv_header_dlfcn_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_DLFCN_H 1 -_ACEOF - -fi - -done - - - - - -# Set options -# Check whether --enable-shared was given. -if test "${enable_shared+set}" = set; then : - enableval=$enable_shared; 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 -else - enable_shared=no -fi - - - - - - - - - - - enable_dlopen=no - - - enable_win32_dll=no - - - - # Check whether --enable-static was given. -if test "${enable_static+set}" = set; then : - enableval=$enable_static; 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 -else - enable_static=yes -fi - - - - - - - - - - -# Check whether --with-pic was given. -if test "${with_pic+set}" = set; then : - withval=$with_pic; lt_p=${PACKAGE-default} - case $withval in - yes|no) pic_mode=$withval ;; - *) - pic_mode=default - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for lt_pkg in $withval; do - IFS="$lt_save_ifs" - if test "X$lt_pkg" = "X$lt_p"; then - pic_mode=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac -else - pic_mode=default -fi - - -test -z "$pic_mode" && pic_mode=default - - - - - - - - # Check whether --enable-fast-install was given. -if test "${enable_fast_install+set}" = set; then : - enableval=$enable_fast_install; 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 -else - enable_fast_install=yes -fi - - - - - - - - - - - -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS="$ltmain" - -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -test -z "$LN_S" && LN_S="ln -s" - - - - - - - - - - - - - - -if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 -$as_echo_n "checking for objdir... " >&6; } -if ${lt_cv_objdir+:} false; then : - $as_echo_n "(cached) " >&6 -else - 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 -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 -$as_echo "$lt_cv_objdir" >&6; } -objdir=$lt_cv_objdir - - - - - -cat >>confdefs.h <<_ACEOF -#define LT_OBJDIR "$lt_cv_objdir/" -_ACEOF - - - - -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 - -# Global variables: -ofile=libtool -can_build_shared=yes - -# All known linkers require a `.a' archive for static linking (except MSVC, -# which needs '.lib'). -libext=a - -with_gnu_ld="$lt_cv_prog_gnu_ld" - -old_CC="$CC" -old_CFLAGS="$CFLAGS" - -# Set sane defaults for various variables -test -z "$CC" && CC=cc -test -z "$LTCC" && LTCC=$CC -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS -test -z "$LD" && LD=ld -test -z "$ac_objext" && ac_objext=o - -for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` - - -# Only perform the check for file, if the check method requires it -test -z "$MAGIC_CMD" && MAGIC_CMD=file -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 -$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } -if ${lt_cv_path_MAGIC_CMD+:} false; then : - $as_echo_n "(cached) " >&6 -else - 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 - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/${ac_tool_prefix}file; then - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" - 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 <<_LT_EOF 1>&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 - -_LT_EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -$as_echo "$MAGIC_CMD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - - - -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 -$as_echo_n "checking for file... " >&6; } -if ${lt_cv_path_MAGIC_CMD+:} false; then : - $as_echo_n "(cached) " >&6 -else - 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 - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/file; then - lt_cv_path_MAGIC_CMD="$ac_dir/file" - 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 <<_LT_EOF 1>&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 - -_LT_EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -$as_echo "$MAGIC_CMD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - else - MAGIC_CMD=: - fi -fi - - fi - ;; -esac - -# Use C for the default configuration in the libtool script - -lt_save_CC="$CC" -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -# Source file extension for C test sources. -ac_ext=c - -# Object file extension for compiled C test sources. -objext=o -objext=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(){return(0);}' - - - - - - - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - -# Save the default compiler, since it gets overwritten when the other -# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. -compiler_DEFAULT=$CC - -# save warnings/boilerplate of simple test code -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$RM conftest* - -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$RM -r conftest* - - -## 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... -if test -n "$compiler"; then - -lt_prog_compiler_no_builtin_flag= - -if test "$GCC" = yes; then - case $cc_basename in - nvcc*) - lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; - *) - lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; - esac - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } -if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_rtti_exceptions=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="-fno-rtti -fno-exceptions" - # 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}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - 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 other than the usual output. - $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_rtti_exceptions=yes - fi - fi - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 -$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } - -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then - lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" -else - : -fi - -fi - - - - - - - lt_prog_compiler_wl= -lt_prog_compiler_pic= -lt_prog_compiler_static= - - - if test "$GCC" = yes; then - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_static='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static='-Bstatic' - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - lt_prog_compiler_pic='-fPIC' - ;; - m68k) - # 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_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' - ;; - esac - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - - mingw* | cygwin* | pw32* | os2* | cegcc*) - # 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). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - lt_prog_compiler_pic='-DDLL_EXPORT' - ;; - - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_prog_compiler_pic='-fno-common' - ;; - - haiku*) - # PIC is the default for Haiku. - # The "-static" flag exists, but is broken. - lt_prog_compiler_static= - ;; - - hpux*) - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag - # sets the default TLS model and affects inlining. - case $host_cpu in - hppa*64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic='-fPIC' - ;; - esac - ;; - - interix[3-9]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - - msdosdjgpp*) - # Just because we use GCC doesn't mean we suddenly get shared libraries - # on systems that don't support them. - lt_prog_compiler_can_build_shared=no - enable_shared=no - ;; - - *nto* | *qnx*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - lt_prog_compiler_pic='-fPIC -shared' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - lt_prog_compiler_pic=-Kconform_pic - fi - ;; - - *) - lt_prog_compiler_pic='-fPIC' - ;; - esac - - case $cc_basename in - nvcc*) # Cuda Compiler Driver 2.2 - lt_prog_compiler_wl='-Xlinker ' - if test -n "$lt_prog_compiler_pic"; then - lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" - fi - ;; - esac - else - # PORTME Check for flag to pass linker flags through the system compiler. - case $host_os in - aix*) - lt_prog_compiler_wl='-Wl,' - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static='-Bstatic' - else - lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' - fi - ;; - - mingw* | cygwin* | pw32* | os2* | cegcc*) - # 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_prog_compiler_pic='-DDLL_EXPORT' - ;; - - hpux9* | hpux10* | hpux11*) - lt_prog_compiler_wl='-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_prog_compiler_pic='+Z' - ;; - esac - # Is there a better lt_prog_compiler_static that works with the bundled CC? - lt_prog_compiler_static='${wl}-a ${wl}archive' - ;; - - irix5* | irix6* | nonstopux*) - lt_prog_compiler_wl='-Wl,' - # PIC (with -KPIC) is the default. - lt_prog_compiler_static='-non_shared' - ;; - - linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) - case $cc_basename in - # old Intel for x86_64 which still supported -KPIC. - ecc*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-static' - ;; - # icc used to be incompatible with GCC. - # ICC 10 doesn't accept -KPIC any more. - icc* | ifort*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-fPIC' - lt_prog_compiler_static='-static' - ;; - # Lahey Fortran 8.1. - lf95*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='--shared' - lt_prog_compiler_static='--static' - ;; - nagfor*) - # NAG Fortran compiler - lt_prog_compiler_wl='-Wl,-Wl,,' - lt_prog_compiler_pic='-PIC' - lt_prog_compiler_static='-Bstatic' - ;; - pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-fpic' - lt_prog_compiler_static='-Bstatic' - ;; - ccc*) - lt_prog_compiler_wl='-Wl,' - # All Alpha code is PIC. - lt_prog_compiler_static='-non_shared' - ;; - xl* | bgxl* | bgf* | mpixl*) - # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-qpic' - lt_prog_compiler_static='-qstaticlink' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='' - ;; - *Sun\ F* | *Sun*Fortran*) - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='-Qoption ld ' - ;; - *Sun\ C*) - # Sun C 5.9 - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='-Wl,' - ;; - *Intel*\ [CF]*Compiler*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-fPIC' - lt_prog_compiler_static='-static' - ;; - *Portland\ Group*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-fpic' - lt_prog_compiler_static='-Bstatic' - ;; - esac - ;; - esac - ;; - - newsos6) - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - - *nto* | *qnx*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - lt_prog_compiler_pic='-fPIC -shared' - ;; - - osf3* | osf4* | osf5*) - lt_prog_compiler_wl='-Wl,' - # All OSF/1 code is PIC. - lt_prog_compiler_static='-non_shared' - ;; - - rdos*) - lt_prog_compiler_static='-non_shared' - ;; - - solaris*) - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - case $cc_basename in - f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) - lt_prog_compiler_wl='-Qoption ld ';; - *) - lt_prog_compiler_wl='-Wl,';; - esac - ;; - - sunos4*) - lt_prog_compiler_wl='-Qoption ld ' - lt_prog_compiler_pic='-PIC' - lt_prog_compiler_static='-Bstatic' - ;; - - sysv4 | sysv4.2uw2* | sysv4.3*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - - sysv4*MP*) - if test -d /usr/nec ;then - lt_prog_compiler_pic='-Kconform_pic' - lt_prog_compiler_static='-Bstatic' - fi - ;; - - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - - unicos*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_can_build_shared=no - ;; - - uts4*) - lt_prog_compiler_pic='-pic' - lt_prog_compiler_static='-Bstatic' - ;; - - *) - lt_prog_compiler_can_build_shared=no - ;; - esac - fi - -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - lt_prog_compiler_pic= - ;; - *) - lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" - ;; -esac - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } -if ${lt_cv_prog_compiler_pic+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_pic=$lt_prog_compiler_pic -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 -$as_echo "$lt_cv_prog_compiler_pic" >&6; } -lt_prog_compiler_pic=$lt_cv_prog_compiler_pic - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$lt_prog_compiler_pic"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } -if ${lt_cv_prog_compiler_pic_works+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_pic_works=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$lt_prog_compiler_pic -DPIC" - # 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}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - 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 other than the usual output. - $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_pic_works=yes - fi - fi - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 -$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } - -if test x"$lt_cv_prog_compiler_pic_works" = xyes; then - case $lt_prog_compiler_pic in - "" | " "*) ;; - *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; - esac -else - lt_prog_compiler_pic= - lt_prog_compiler_can_build_shared=no -fi - -fi - - - - - - - - - - - -# -# Check to make sure the static flag actually works. -# -wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if ${lt_cv_prog_compiler_static_works+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_tmp_static_flag" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker 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>&5 - $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_static_works=yes - fi - else - lt_cv_prog_compiler_static_works=yes - fi - fi - $RM -r conftest* - LDFLAGS="$save_LDFLAGS" - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 -$as_echo "$lt_cv_prog_compiler_static_works" >&6; } - -if test x"$lt_cv_prog_compiler_static_works" = xyes; then - : -else - lt_prog_compiler_static= -fi - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if ${lt_cv_prog_compiler_c_o+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_c_o=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$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}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - 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 - $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o=yes - fi - fi - chmod u+w . 2>&5 - $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 .. - $RM -r conftest - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 -$as_echo "$lt_cv_prog_compiler_c_o" >&6; } - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if ${lt_cv_prog_compiler_c_o+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_c_o=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$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}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - 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 - $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o=yes - fi - fi - chmod u+w . 2>&5 - $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 .. - $RM -r conftest - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 -$as_echo "$lt_cv_prog_compiler_c_o" >&6; } - - - - -hard_links="nottested" -if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 -$as_echo_n "checking if we can lock with hard links... " >&6; } - 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 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 -$as_echo "$hard_links" >&6; } - if test "$hard_links" = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} - need_locks=warn - fi -else - need_locks=no -fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } - - runpath_var= - allow_undefined_flag= - always_export_symbols=no - archive_cmds= - archive_expsym_cmds= - compiler_needs_object=no - enable_shared_with_static_runtimes=no - export_dynamic_flag_spec= - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - hardcode_automatic=no - hardcode_direct=no - hardcode_direct_absolute=no - hardcode_libdir_flag_spec= - hardcode_libdir_separator= - hardcode_minus_L=no - hardcode_shlibpath_var=unsupported - inherit_rpath=no - link_all_deplibs=unknown - module_cmds= - module_expsym_cmds= - old_archive_from_new_cmds= - old_archive_from_expsyms_cmds= - thread_safe_flag_spec= - whole_archive_flag_spec= - # include_expsyms should be a list of space-separated symbols to be *always* - # included in the symbol list - include_expsyms= - # 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'. - exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' - # 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. - # Exclude shared library initialization/finalization symbols. - extract_expsyms_cmds= - - case $host_os in - cygwin* | mingw* | pw32* | cegcc*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no - fi - ;; - interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) - with_gnu_ld=yes - ;; - openbsd*) - with_gnu_ld=no - ;; - linux* | k*bsd*-gnu | gnu*) - link_all_deplibs=no - ;; - esac - - ld_shlibs=yes - - # On some targets, GNU ld is compatible enough with the native linker - # that we're better off using the native interface for both. - lt_use_gnu_ld_interface=no - if test "$with_gnu_ld" = yes; then - case $host_os in - aix*) - # The AIX port of GNU ld has always aspired to compatibility - # with the native linker. However, as the warning in the GNU ld - # block says, versions before 2.19.5* couldn't really create working - # shared libraries, regardless of the interface used. - case `$LD -v 2>&1` in - *\ \(GNU\ Binutils\)\ 2.19.5*) ;; - *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; - *\ \(GNU\ Binutils\)\ [3-9]*) ;; - *) - lt_use_gnu_ld_interface=yes - ;; - esac - ;; - *) - lt_use_gnu_ld_interface=yes - ;; - esac - fi - - if test "$lt_use_gnu_ld_interface" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - - # Set some defaults for GNU ld with shared library support. These - # are reset later if shared libraries are not supported. Putting them - # here allows them to be overridden if necessary. - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - export_dynamic_flag_spec='${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 - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec= - fi - supports_anon_versioning=no - case `$LD -v 2>&1` in - *GNU\ gold*) supports_anon_versioning=yes ;; - *\ [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 - - # See if GNU ld supports shared libraries. - case $host_os in - aix[3-9]*) - # On AIX/PPC, the GNU linker is very broken - if test "$host_cpu" != ia64; then - ld_shlibs=no - cat <<_LT_EOF 1>&2 - -*** Warning: the GNU linker, at least up to release 2.19, 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 install binutils -*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. -*** You will then need to restart the configuration process. - -_LT_EOF - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='' - ;; - m68k) - archive_cmds='$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)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - ;; - esac - ;; - - beos*) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs=no - fi - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - export_dynamic_flag_spec='${wl}--export-all-symbols' - allow_undefined_flag=unsupported - always_export_symbols=no - enable_shared_with_static_runtimes=yes - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' - exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - archive_expsym_cmds='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}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - ld_shlibs=no - fi - ;; - - haiku*) - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - link_all_deplibs=yes - ;; - - interix[3-9]*) - hardcode_direct=no - hardcode_shlibpath_var=no - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - - gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) - tmp_diet=no - if test "$host_os" = linux-dietlibc; then - case $cc_basename in - diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) - esac - fi - if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ - && test "$tmp_diet" = no - then - tmp_addflag=' $pic_flag' - tmp_sharedflag='-shared' - case $cc_basename,$host_cpu in - pgcc*) # Portland Group C compiler - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag' - ;; - pgf77* | pgf90* | pgf95* | pgfortran*) - # Portland Group f77 and f90 compilers - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag -Mnomain' ;; - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 - tmp_addflag=' -i_dynamic' ;; - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; - lf95*) # Lahey Fortran 8.1 - whole_archive_flag_spec= - tmp_sharedflag='--shared' ;; - xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) - tmp_sharedflag='-qmkshrobj' - tmp_addflag= ;; - nvcc*) # Cuda Compiler Driver 2.2 - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' - compiler_needs_object=yes - ;; - esac - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) # Sun C 5.9 - whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' - compiler_needs_object=yes - tmp_sharedflag='-G' ;; - *Sun\ F*) # Sun Fortran 8.3 - tmp_sharedflag='-G' ;; - esac - archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - - if test "x$supports_anon_versioning" = xyes; then - archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - - case $cc_basename in - xlf* | bgf* | bgxlf* | mpixlf*) - # IBM XL Fortran 10.1 on PPC cannot create shared libs itself - whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' - if test "x$supports_anon_versioning" = xyes; then - archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' - fi - ;; - esac - else - ld_shlibs=no - fi - ;; - - netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; - - solaris*) - if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <<_LT_EOF 1>&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. - -_LT_EOF - elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) - case `$LD -v 2>&1` in - *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) - ld_shlibs=no - cat <<_LT_EOF 1>&2 - -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not -*** reliably create shared libraries on SCO systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - ;; - *) - # For security reasons, it is highly recommended that you always - # use absolute paths for naming shared libraries, and exclude the - # DT_RUNPATH tag from executables and libraries. But doing so - # requires that you compile everything twice, which is a pain. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac - ;; - - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - *) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac - - if test "$ld_shlibs" = no; then - runpath_var= - hardcode_libdir_flag_spec= - export_dynamic_flag_spec= - whole_archive_flag_spec= - fi - else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$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. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported - fi - ;; - - aix[4-9]*) - 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 - # Also, AIX nm treats weak defined symbols like other global - # defined symbols, whereas GNU nm marks them as "W". - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - else - export_symbols_cmds='$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].*|aix[5-9]*) - 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. - - archive_cmds='' - hardcode_direct=yes - hardcode_direct_absolute=yes - hardcode_libdir_separator=':' - link_all_deplibs=yes - file_list_spec='${wl}-f,' - - 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 - : - else - # We have old collect2 - hardcode_direct=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 - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - link_all_deplibs=no - 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 - - export_dynamic_flag_spec='${wl}-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - always_export_symbols=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. - allow_undefined_flag='-berok' - # Determine the default libpath from the value encoded in an - # empty executable. - if test "${lt_cv_aix_libpath+set}" = set; then - aix_libpath=$lt_cv_aix_libpath -else - if ${lt_cv_aix_libpath_+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - - lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\([^ ]*\) *$/\1/ - p - } - }' - lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - # Check for a 64-bit object if we didn't find anything. - if test -z "$lt_cv_aix_libpath_"; then - lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - fi -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test -z "$lt_cv_aix_libpath_"; then - lt_cv_aix_libpath_="/usr/lib:/lib" - fi - -fi - - aix_libpath=$lt_cv_aix_libpath_ -fi - - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" - archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an - # empty executable. - if test "${lt_cv_aix_libpath+set}" = set; then - aix_libpath=$lt_cv_aix_libpath -else - if ${lt_cv_aix_libpath_+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - - lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\([^ ]*\) *$/\1/ - p - } - }' - lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - # Check for a 64-bit object if we didn't find anything. - if test -z "$lt_cv_aix_libpath_"; then - lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - fi -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test -z "$lt_cv_aix_libpath_"; then - lt_cv_aix_libpath_="/usr/lib:/lib" - fi - -fi - - aix_libpath=$lt_cv_aix_libpath_ -fi - - hardcode_libdir_flag_spec='${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. - no_undefined_flag=' ${wl}-bernotok' - allow_undefined_flag=' ${wl}-berok' - if test "$with_gnu_ld" = yes; then - # We only use this code for GNU lds that support --whole-archive. - whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' - else - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec='$convenience' - fi - archive_cmds_need_lc=yes - # This is similar to how AIX traditionally builds its shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='' - ;; - m68k) - archive_cmds='$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)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - ;; - esac - ;; - - bsdi[45]*) - export_dynamic_flag_spec=-rdynamic - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # 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. - case $cc_basename in - cl*) - # Native MSVC - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - always_export_symbols=yes - file_list_spec='@' - # 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. - archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' - archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; - else - sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; - fi~ - $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ - linknames=' - # The linker will not automatically build a static lib if we build a DLL. - # _LT_TAGVAR(old_archive_from_new_cmds, )='true' - enable_shared_with_static_runtimes=yes - exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' - # Don't use ranlib - old_postinstall_cmds='chmod 644 $oldlib' - postlink_cmds='lt_outputfile="@OUTPUT@"~ - lt_tool_outputfile="@TOOL_OUTPUT@"~ - case $lt_outputfile in - *.exe|*.EXE) ;; - *) - lt_outputfile="$lt_outputfile.exe" - lt_tool_outputfile="$lt_tool_outputfile.exe" - ;; - esac~ - if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then - $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; - $RM "$lt_outputfile.manifest"; - fi' - ;; - *) - # Assume MSVC wrapper - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=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. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' - enable_shared_with_static_runtimes=yes - ;; - esac - ;; - - darwin* | rhapsody*) - - - archive_cmds_need_lc=no - hardcode_direct=no - hardcode_automatic=yes - hardcode_shlibpath_var=unsupported - if test "$lt_cv_ld_force_load" = "yes"; then - whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' - - else - whole_archive_flag_spec='' - fi - link_all_deplibs=yes - allow_undefined_flag="$_lt_dar_allow_undefined" - case $cc_basename in - ifort*) _lt_dar_can_shared=yes ;; - *) _lt_dar_can_shared=$GCC ;; - esac - if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=func_echo_all - archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" - module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" - archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" - module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" - - else - ld_shlibs=no - fi - - ;; - - dgux*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=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*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2.*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; - - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | dragonfly*) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - hpux9*) - if test "$GCC" = yes; then - archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - archive_cmds='$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 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - export_dynamic_flag_spec='${wl}-E' - ;; - - hpux10*) - if test "$GCC" = yes && test "$with_gnu_ld" = no; then - archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' - fi - if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - hardcode_direct_absolute=yes - export_dynamic_flag_spec='${wl}-E' - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - fi - ;; - - hpux11*) - if test "$GCC" = yes && test "$with_gnu_ld" = no; then - case $host_cpu in - hppa*64*) - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - else - case $host_cpu in - hppa*64*) - archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - - # Older versions of the 11.00 compiler do not understand -b yet - # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 -$as_echo_n "checking if $CC understands -b... " >&6; } -if ${lt_cv_prog_compiler__b+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler__b=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -b" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker 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>&5 - $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler__b=yes - fi - else - lt_cv_prog_compiler__b=yes - fi - fi - $RM -r conftest* - LDFLAGS="$save_LDFLAGS" - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 -$as_echo "$lt_cv_prog_compiler__b" >&6; } - -if test x"$lt_cv_prog_compiler__b" = xyes; then - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' -else - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' -fi - - ;; - esac - fi - if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - - case $host_cpu in - hppa*64*|ia64*) - hardcode_direct=no - hardcode_shlibpath_var=no - ;; - *) - hardcode_direct=yes - hardcode_direct_absolute=yes - export_dynamic_flag_spec='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - ;; - esac - fi - ;; - - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - # Try to use the -exported_symbol ld option, if it does not - # work, assume that -exports_file does not work either and - # implicitly export all symbols. - # This should be the same for all languages, so no per-tag cache variable. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 -$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } -if ${lt_cv_irix_exported_symbol+:} false; then : - $as_echo_n "(cached) " >&6 -else - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -int foo (void) { return 0; } -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - lt_cv_irix_exported_symbol=yes -else - lt_cv_irix_exported_symbol=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 -$as_echo "$lt_cv_irix_exported_symbol" >&6; } - if test "$lt_cv_irix_exported_symbol" = yes; then - archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' - fi - else - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' - fi - archive_cmds_need_lc='no' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - inherit_rpath=yes - link_all_deplibs=yes - ;; - - netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; - - *nto* | *qnx*) - ;; - - openbsd*) - if test -f /usr/libexec/ld.so; then - hardcode_direct=yes - hardcode_shlibpath_var=no - hardcode_direct_absolute=yes - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case $host_os in - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac - fi - else - ld_shlibs=no - fi - ;; - - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$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' - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; - - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' - fi - archive_cmds_need_lc='no' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; - - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ - $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' - - # Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' - fi - archive_cmds_need_lc='no' - hardcode_libdir_separator=: - ;; - - solaris*) - no_undefined_flag=' -z defs' - if test "$GCC" = yes; then - wlarc='${wl}' - archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' - else - case `$CC -V 2>&1` in - *"Compilers 5.0"*) - wlarc='' - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='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' - ;; - *) - wlarc='${wl}' - archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' - ;; - esac - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_shlibpath_var=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. GCC discards it without `$wl', - # but is careful enough not to reorder. - # Supported since Solaris 2.6 (maybe 2.5.1?) - if test "$GCC" = yes; then - whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - else - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' - fi - ;; - esac - link_all_deplibs=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. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec='-L$libdir' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; - - sysv4) - case $host_vendor in - sni) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds='$CC -r -o $output$reload_objs' - hardcode_direct=no - ;; - motorola) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; - - sysv4.3*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - export_dynamic_flag_spec='-Bexport' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs=yes - fi - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) - no_undefined_flag='${wl}-z,text' - archive_cmds_need_lc=no - hardcode_shlibpath_var=no - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - no_undefined_flag='${wl}-z,text' - allow_undefined_flag='${wl}-z,nodefs' - archive_cmds_need_lc=no - hardcode_shlibpath_var=no - hardcode_libdir_flag_spec='${wl}-R,$libdir' - hardcode_libdir_separator=':' - link_all_deplibs=yes - export_dynamic_flag_spec='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - uts4*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; - - *) - ld_shlibs=no - ;; - esac - - if test x$host_vendor = xsni; then - case $host in - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - export_dynamic_flag_spec='${wl}-Blargedynsym' - ;; - esac - fi - fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 -$as_echo "$ld_shlibs" >&6; } -test "$ld_shlibs" = no && can_build_shared=no - -with_gnu_ld=$with_gnu_ld - - - - - - - - - - - - - - - -# -# Do we need to explicitly link libc? -# -case "x$archive_cmds_need_lc" in -x|xyes) - # Assume -lc should be added - archive_cmds_need_lc=yes - - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds 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. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 -$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } -if ${lt_cv_archive_cmds_need_lc+:} false; then : - $as_echo_n "(cached) " >&6 -else - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl - pic_flag=$lt_prog_compiler_pic - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 - (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - then - lt_cv_archive_cmds_need_lc=no - else - lt_cv_archive_cmds_need_lc=yes - fi - allow_undefined_flag=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 -$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } - archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc - ;; - esac - fi - ;; -esac - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 -$as_echo_n "checking dynamic linker characteristics... " >&6; } - -if test "$GCC" = yes; then - case $host_os in - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; - *) lt_awk_arg="/^libraries:/" ;; - esac - case $host_os in - mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; - *) lt_sed_strip_eq="s,=/,/,g" ;; - esac - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` - case $lt_search_path_spec in - *\;*) - # 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. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` - ;; - *) - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` - ;; - esac - # Ok, now we have the path, separated by spaces, we can step through it - # and add multilib dir if necessary. - lt_tmp_lt_search_path_spec= - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` - for lt_sys_path in $lt_search_path_spec; do - if test -d "$lt_sys_path/$lt_multi_os_dir"; then - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" - else - test -d "$lt_sys_path" && \ - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" - fi - done - lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' -BEGIN {RS=" "; FS="/|\n";} { - lt_foo=""; - lt_count=0; - for (lt_i = NF; lt_i > 0; lt_i--) { - if ($lt_i != "" && $lt_i != ".") { - if ($lt_i == "..") { - lt_count++; - } else { - if (lt_count == 0) { - lt_foo="/" $lt_i lt_foo; - } else { - lt_count--; - } - } - } - } - if (lt_foo != "") { lt_freq[lt_foo]++; } - if (lt_freq[lt_foo] == 1) { print lt_foo; } -}'` - # AWK program above erroneously prepends '/' to C:/dos/paths - # for these hosts. - case $host_os in - mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ - $SED 's,/\([A-Za-z]:\),\1,g'` ;; - esac - sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` -else - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -fi -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" -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 # correct to gnu/linux during the next big refactor - 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' - ;; - -aix[4-9]*) - version_type=linux # correct to gnu/linux during the next big refactor - 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*) - case $host_cpu in - powerpc) - # Since July 2007 AmigaOS4 officially supports .so libraries. - # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - ;; - m68k) - 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=`func_echo_all "$lib" | $SED '\''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' - ;; - esac - ;; - -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[45]*) - version_type=linux # correct to gnu/linux during the next big refactor - 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* | cegcc*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$cc_basename in - yes,*) - # gcc - 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~ - chmod a+x \$dldir/$dlname~ - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; - fi' - 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="$sys_lib_search_path_spec /usr/lib/w32api" - ;; - mingw* | cegcc*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - ;; - 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 - dynamic_linker='Win32 ld.exe' - ;; - - *,cl*) - # Native MSVC - libname_spec='$name' - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - library_names_spec='${libname}.dll.lib' - - case $build_os in - mingw*) - sys_lib_search_path_spec= - lt_save_ifs=$IFS - IFS=';' - for lt_path in $LIB - do - IFS=$lt_save_ifs - # Let DOS variable expansion print the short 8.3 style file name. - lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` - sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" - done - IFS=$lt_save_ifs - # Convert to MSYS style. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` - ;; - cygwin*) - # Convert to unix form, then to dos form, then back to unix form - # but this time dos style (no spaces!) so that the unix form looks - # like /cygdrive/c/PROGRA~1:/cygdr... - sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` - sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` - sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - ;; - *) - sys_lib_search_path_spec="$LIB" - if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH. - 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 - # FIXME: find the short name or the path components, as spaces are - # common. (e.g. "Program Files" -> "PROGRA~1") - ;; - esac - - # 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 - dynamic_linker='Win32 link.exe' - ;; - - *) - # Assume MSVC wrapper - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' - dynamic_linker='Win32 ld.exe' - ;; - esac - # 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}${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`' - - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux # correct to gnu/linux during the next big refactor - 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 - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[23].*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - 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 - ;; - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -haiku*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - dynamic_linker="$host_os runtime_loader" - 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=LIBRARY_PATH - shlibpath_overrides_runpath=yes - sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' - 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' - # or fails outright, so override atomically: - install_override_mode=555 - ;; - -interix[3-9]*) - version_type=linux # correct to gnu/linux during the next big refactor - 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' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux # correct to gnu/linux during the next big refactor - 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 glibc/ELF. -linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) - version_type=linux # correct to gnu/linux during the next big refactor - 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 - - # Some binutils ld are patched to set DT_RUNPATH - if ${lt_cv_shlibpath_overrides_runpath+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_shlibpath_overrides_runpath=no - save_LDFLAGS=$LDFLAGS - save_libdir=$libdir - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : - lt_cv_shlibpath_overrides_runpath=yes -fi -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir - -fi - - shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath - - # 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 - - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $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' - ;; - -netbsdelf*-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='NetBSD ld.elf_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 # correct to gnu/linux during the next big refactor - 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=qnx - 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='ldqnx.so' - ;; - -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - 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" - ;; - -rdos*) - dynamic_linker=no - ;; - -solaris*) - version_type=linux # correct to gnu/linux during the next big refactor - 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.3*) - version_type=linux # correct to gnu/linux during the next big refactor - 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 - 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 # correct to gnu/linux during the next big refactor - 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 - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -tpf*) - # TPF is a cross-target only. Preferred cross-host = GNU/Linux. - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -uts4*) - version_type=linux # correct to gnu/linux during the next big refactor - 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 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 -$as_echo "$dynamic_linker" >&6; } -test "$dynamic_linker" = 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 - -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then - sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" -fi -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then - sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 -$as_echo_n "checking how to hardcode library paths into programs... " >&6; } -hardcode_action= -if test -n "$hardcode_libdir_flag_spec" || - test -n "$runpath_var" || - test "X$hardcode_automatic" = "Xyes" ; then - - # We can hardcode non-existent directories. - if test "$hardcode_direct" != 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_TAGVAR(hardcode_shlibpath_var, )" != no && - test "$hardcode_minus_L" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action=unsupported -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 -$as_echo "$hardcode_action" >&6; } - -if test "$hardcode_action" = relink || - test "$inherit_rpath" = yes; 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 - - - - - - - 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* | cegcc*) - 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 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if ${ac_cv_lib_dl_dlopen+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_dl_dlopen=yes -else - ac_cv_lib_dl_dlopen=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = xyes; then : - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -else - - lt_cv_dlopen="dyld" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - -fi - - ;; - - *) - ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" -if test "x$ac_cv_func_shl_load" = xyes; then : - lt_cv_dlopen="shl_load" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 -$as_echo_n "checking for shl_load in -ldld... " >&6; } -if ${ac_cv_lib_dld_shl_load+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char shl_load (); -int -main () -{ -return shl_load (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_dld_shl_load=yes -else - ac_cv_lib_dld_shl_load=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 -$as_echo "$ac_cv_lib_dld_shl_load" >&6; } -if test "x$ac_cv_lib_dld_shl_load" = xyes; then : - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" -else - ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" -if test "x$ac_cv_func_dlopen" = xyes; then : - lt_cv_dlopen="dlopen" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if ${ac_cv_lib_dl_dlopen+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_dl_dlopen=yes -else - ac_cv_lib_dl_dlopen=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = xyes; then : - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 -$as_echo_n "checking for dlopen in -lsvld... " >&6; } -if ${ac_cv_lib_svld_dlopen+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsvld $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_svld_dlopen=yes -else - ac_cv_lib_svld_dlopen=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 -$as_echo "$ac_cv_lib_svld_dlopen" >&6; } -if test "x$ac_cv_lib_svld_dlopen" = xyes; then : - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 -$as_echo_n "checking for dld_link in -ldld... " >&6; } -if ${ac_cv_lib_dld_dld_link+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dld_link (); -int -main () -{ -return dld_link (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_dld_dld_link=yes -else - ac_cv_lib_dld_dld_link=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 -$as_echo "$ac_cv_lib_dld_dld_link" >&6; } -if test "x$ac_cv_lib_dld_dld_link" = xyes; then : - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" -fi - - -fi - - -fi - - -fi - - -fi - - -fi - - ;; - 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" - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" - - save_LIBS="$LIBS" - LIBS="$lt_cv_dlopen_libs $LIBS" - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 -$as_echo_n "checking whether a program can dlopen itself... " >&6; } -if ${lt_cv_dlopen_self+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - lt_cv_dlopen_self=cross -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF -#line $LINENO "configure" -#include "confdefs.h" - -#if HAVE_DLFCN_H -#include -#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 - -/* When -fvisbility=hidden is used, assume the code has been annotated - correspondingly for the symbols needed. */ -#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) -int fnord () __attribute__((visibility("default"))); -#endif - -int fnord () { return 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; - else puts (dlerror ()); - } - /* dlclose (self); */ - } - else - puts (dlerror ()); - - return status; -} -_LT_EOF - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 - (eval $ac_link) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&5 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; - x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; - esac - else : - # compilation failed - lt_cv_dlopen_self=no - fi -fi -rm -fr conftest* - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 -$as_echo "$lt_cv_dlopen_self" >&6; } - - if test "x$lt_cv_dlopen_self" = xyes; then - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 -$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } -if ${lt_cv_dlopen_self_static+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - lt_cv_dlopen_self_static=cross -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF -#line $LINENO "configure" -#include "confdefs.h" - -#if HAVE_DLFCN_H -#include -#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 - -/* When -fvisbility=hidden is used, assume the code has been annotated - correspondingly for the symbols needed. */ -#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) -int fnord () __attribute__((visibility("default"))); -#endif - -int fnord () { return 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; - else puts (dlerror ()); - } - /* dlclose (self); */ - } - else - puts (dlerror ()); - - return status; -} -_LT_EOF - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 - (eval $ac_link) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&5 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; - x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; - esac - else : - # compilation failed - lt_cv_dlopen_self_static=no - fi -fi -rm -fr conftest* - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 -$as_echo "$lt_cv_dlopen_self_static" >&6; } - 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 - - - - - - - - - - - - - - - - - -striplib= -old_striplib= -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 -$as_echo_n "checking whether stripping libraries is possible... " >&6; } -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" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -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" - old_striplib="$STRIP -S" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - fi - ;; - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - ;; - esac -fi - - - - - - - - - - - - - # Report which library types will actually be built - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 -$as_echo_n "checking if libtool supports shared libraries... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 -$as_echo "$can_build_shared" >&6; } - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 -$as_echo_n "checking whether to build shared libraries... " >&6; } - 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 - ;; - - aix[4-9]*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; - esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 -$as_echo "$enable_shared" >&6; } - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 -$as_echo_n "checking whether to build static libraries... " >&6; } - # Make sure either enable_shared or enable_static is yes. - test "$enable_shared" = yes || enable_static=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 -$as_echo "$enable_static" >&6; } - - - - -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -CC="$lt_save_CC" - - - - - - - - - - - - - - - - ac_config_commands="$ac_config_commands libtool" - - - - -# Only expand once: - - - - - if test "$enable_shared" = "yes" && test -z "$DPKG_DEVEL_MODE"; then : - as_fn_error $? "building libdpkg as a shared library is not supported" "$LINENO" 5 -fi - if test "$enable_shared" = "yes"; then - BUILD_SHARED_TRUE= - BUILD_SHARED_FALSE='#' -else - BUILD_SHARED_TRUE='#' - BUILD_SHARED_FALSE= -fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --version-script linker flag" >&5 -$as_echo_n "checking for --version-script linker flag... " >&6; } -if ${dpkg_cv_version_script+:} false; then : - $as_echo_n "(cached) " >&6 -else - echo "{ global: symbol; local: *; };" >conftest.map - save_LDFLAGS=$LDFLAGS - LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - dpkg_cv_version_script=yes -else - dpkg_cv_version_script=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" - rm -f conftest.map - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_version_script" >&5 -$as_echo "$dpkg_cv_version_script" >&6; } - if test "x$dpkg_cv_version_script" = "xyes"; then - HAVE_LINKER_VERSION_SCRIPT_TRUE= - HAVE_LINKER_VERSION_SCRIPT_FALSE='#' -else - HAVE_LINKER_VERSION_SCRIPT_TRUE='#' - HAVE_LINKER_VERSION_SCRIPT_FALSE= -fi - - - -# Allow compilation without optional programs - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build dselect" >&5 -$as_echo_n "checking whether to build dselect... " >&6; } - # Check whether --enable-dselect was given. -if test "${enable_dselect+set}" = set; then : - enableval=$enable_dselect; build_dselect=$enable_dselect -else - build_dselect=yes - -fi - - if test "x$build_dselect" = "xyes"; then - BUILD_DSELECT_TRUE= - BUILD_DSELECT_FALSE='#' -else - BUILD_DSELECT_TRUE='#' - BUILD_DSELECT_FALSE= -fi - - if test "x$build_dselect" = "xyes"; then : - - -$as_echo "#define BUILD_DSELECT 1" >>confdefs.h - - -else - - $as_echo "#define BUILD_DSELECT 0" >>confdefs.h - - -fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_dselect" >&5 -$as_echo "$build_dselect" >&6; } - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build start-stop-daemon" >&5 -$as_echo_n "checking whether to build start-stop-daemon... " >&6; } - # Check whether --enable-start-stop-daemon was given. -if test "${enable_start_stop_daemon+set}" = set; then : - enableval=$enable_start_stop_daemon; build_start_stop_daemon=$enable_start_stop_daemon -else - build_start_stop_daemon=yes - -fi - - if test "x$build_start_stop_daemon" = "xyes"; then - BUILD_START_STOP_DAEMON_TRUE= - BUILD_START_STOP_DAEMON_FALSE='#' -else - BUILD_START_STOP_DAEMON_TRUE='#' - BUILD_START_STOP_DAEMON_FALSE= -fi - - if test "x$build_start_stop_daemon" = "xyes"; then : - - -$as_echo "#define BUILD_START_STOP_DAEMON 1" >>confdefs.h - - -else - - $as_echo "#define BUILD_START_STOP_DAEMON 0" >>confdefs.h - - -fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_start_stop_daemon" >&5 -$as_echo "$build_start_stop_daemon" >&6; } - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build update-alternatives" >&5 -$as_echo_n "checking whether to build update-alternatives... " >&6; } - # Check whether --enable-update-alternatives was given. -if test "${enable_update_alternatives+set}" = set; then : - enableval=$enable_update_alternatives; build_update_alternatives=$enable_update_alternatives -else - build_update_alternatives=yes - -fi - - if test "x$build_update_alternatives" = "xyes"; then - BUILD_UPDATE_ALTERNATIVES_TRUE= - BUILD_UPDATE_ALTERNATIVES_FALSE='#' -else - BUILD_UPDATE_ALTERNATIVES_TRUE='#' - BUILD_UPDATE_ALTERNATIVES_FALSE= -fi - - if test "x$build_update_alternatives" = "xyes"; then : - - -$as_echo "#define BUILD_UPDATE_ALTERNATIVES 1" >>confdefs.h - - -else - - $as_echo "#define BUILD_UPDATE_ALTERNATIVES 0" >>confdefs.h - - -fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_update_alternatives" >&5 -$as_echo "$build_update_alternatives" >&6; } - - - - # Check whether --enable-devel-docs was given. -if test "${enable_devel_docs+set}" = set; then : - enableval=$enable_devel_docs; build_devel_docs=$enable_devel_docs -else - build_devel_docs=yes - -fi - - if test "x$build_devel_docs" = "xyes"; then : - - -$as_echo "#define BUILD_DEVEL_DOCS YES" >>confdefs.h - - -else - - $as_echo "#define BUILD_DEVEL_DOCS NO" >>confdefs.h - - -fi - - -# Allow alternate directories - - devlibdir="${libdir}" - -# Check whether --with-devlibdir was given. -if test "${with_devlibdir+set}" = set; then : - withval=$with_devlibdir; case $with_devlibdir in #( - "") : - as_fn_error $? "invalid devlibdir specified" "$LINENO" 5 ;; #( - *) : - devlibdir="$with_devlibdir" ;; -esac - -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: using directory devlibdir = '$devlibdir'" >&5 -$as_echo "$as_me: using directory devlibdir = '$devlibdir'" >&6;} - - - pkgconfdir="${sysconfdir}/${PACKAGE_NAME}" - -# Check whether --with-pkgconfdir was given. -if test "${with_pkgconfdir+set}" = set; then : - withval=$with_pkgconfdir; case $with_pkgconfdir in #( - "") : - as_fn_error $? "invalid pkgconfdir specified" "$LINENO" 5 ;; #( - *) : - pkgconfdir="$with_pkgconfdir" ;; -esac - -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: using directory pkgconfdir = '$pkgconfdir'" >&5 -$as_echo "$as_me: using directory pkgconfdir = '$pkgconfdir'" >&6;} - - - admindir="${localstatedir}/lib/${PACKAGE_NAME}" - -# Check whether --with-admindir was given. -if test "${with_admindir+set}" = set; then : - withval=$with_admindir; case $with_admindir in #( - "") : - as_fn_error $? "invalid admindir specified" "$LINENO" 5 ;; #( - *) : - admindir="$with_admindir" ;; -esac - -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: using directory admindir = '$admindir'" >&5 -$as_echo "$as_me: using directory admindir = '$admindir'" >&6;} - - - logdir="${localstatedir}/log" - -# Check whether --with-logdir was given. -if test "${with_logdir+set}" = set; then : - withval=$with_logdir; case $with_logdir in #( - "") : - as_fn_error $? "invalid logdir specified" "$LINENO" 5 ;; #( - *) : - logdir="$with_logdir" ;; -esac - -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: using directory logdir = '$logdir'" >&5 -$as_echo "$as_me: using directory logdir = '$logdir'" >&6;} - - -# Set default dpkg-deb values - - -# Check whether --with-dpkg-deb-compressor was given. -if test "${with_dpkg_deb_compressor+set}" = set; then : - withval=$with_dpkg_deb_compressor; with_dpkg_deb_compressor=$withval -else - with_dpkg_deb_compressor=xz -fi - - case $with_dpkg_deb_compressor in #( - gzip|xz|bzip2) : - : ;; #( - *) : - as_fn_error $? "unsupported default compressor $with_dpkg_deb_compressor" "$LINENO" 5 ;; -esac - -cat >>confdefs.h <<_ACEOF -#define DPKG_DEB_DEFAULT_COMPRESSOR COMPRESSOR_TYPE_`$as_echo "${with_dpkg_deb_compressor}" | $as_tr_cpp` -_ACEOF - - { $as_echo "$as_me:${as_lineno-$LINENO}: using default dpkg-deb compressor = $with_dpkg_deb_compressor" >&5 -$as_echo "$as_me: using default dpkg-deb compressor = $with_dpkg_deb_compressor" >&6;} - - - -for ac_prog in gnutar gtar tar -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_TAR+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$TAR"; then - ac_cv_prog_TAR="$TAR" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_TAR="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -TAR=$ac_cv_prog_TAR -if test -n "$TAR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5 -$as_echo "$TAR" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$TAR" && break -done -test -n "$TAR" || TAR="tar" - - -cat >>confdefs.h <<_ACEOF -#define TAR "$TAR" -_ACEOF - - - -# Checks for programs. -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "no acceptable C compiler found in \$PATH -See \`config.log' for more details" "$LINENO" 5; } - -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if ${ac_cv_c_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -fi -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if ${ac_cv_prog_cc_g+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -else - CFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if ${ac_cv_prog_cc_c89+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -struct stat; -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_c89=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" != xno; then : - -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 -$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } -if ${am_cv_prog_cc_c_o+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF - # Make sure it works both with $CC and with simple cc. - # Following AC_PROG_CC_C_O, we do the test twice because some - # compilers refuse to overwrite an existing .o file with -o, - # though they will create one. - am_cv_prog_cc_c_o=yes - for am_i in 1 2; do - if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 - ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } \ - && test -f conftest2.$ac_objext; then - : OK - else - am_cv_prog_cc_c_o=no - break - fi - done - rm -f core conftest* - unset am_i -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 -$as_echo "$am_cv_prog_cc_c_o" >&6; } -if test "$am_cv_prog_cc_c_o" != yes; then - # Losing compiler, so override with the script. - # FIXME: It is wrong to rewrite CC. - # But if we don't then we get into trouble of one sort or another. - # A longer-term fix would be to have automake use am__CC in this case, - # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" - CC="$am_aux_dir/compile $CC" -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports C99 features" >&5 -$as_echo_n "checking whether $CC supports C99 features... " >&6; } -if ${dpkg_cv_c99+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#include -#include - -/* Variadic macro arguments. */ -#define variadic_macro(foo, ...) printf(foo, __VA_ARGS__) - -int -main () -{ - - int rc; - - /* Designated initializers. */ - struct { int a, b; } foo = { .a = 1, .b = 2 }; - - /* Compound literals. */ - struct point { int x, y; } p = (struct point){ .x = 0, .y = 1 }; - p = (struct point){ .x = 2, .y = 4 }; - - /* Trailing comma in enum. */ - enum { FIRST, SECOND, } quux; - - /* Boolean type. */ - bool bar = false; - - /* Specific size type. */ - uint32_t baz = 0; - size_t size = SIZE_MAX; - intmax_t imax = INTMAX_MAX; - - /* Format modifiers. */ - rc = printf("%jd", imax); - if (rc == 3) - return 1; - rc = printf("%zu", size); - if (rc == 3) - return 1; - - /* Magic __func__ variable. */ - printf("%s", __func__); - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_c99=yes -else - dpkg_cv_c99=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_c99" >&5 -$as_echo "$dpkg_cv_c99" >&6; } - if test "x$dpkg_cv_c99" != "xyes"; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept C99 features" >&5 -$as_echo_n "checking for $CC option to accept C99 features... " >&6; } -if ${dpkg_cv_c99_arg+:} false; then : - $as_echo_n "(cached) " >&6 -else - - dpkg_cv_c99_arg=none - dpkg_save_CC="$CC" - for arg in "-std=gnu99" "-std=c99" "-c99" "-AC99" "-xc99=all" \ - "-qlanglvl=extc99"; do - CC="$dpkg_save_CC $arg" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#include -#include - -/* Variadic macro arguments. */ -#define variadic_macro(foo, ...) printf(foo, __VA_ARGS__) - -int -main () -{ - - int rc; - - /* Designated initializers. */ - struct { int a, b; } foo = { .a = 1, .b = 2 }; - - /* Compound literals. */ - struct point { int x, y; } p = (struct point){ .x = 0, .y = 1 }; - p = (struct point){ .x = 2, .y = 4 }; - - /* Trailing comma in enum. */ - enum { FIRST, SECOND, } quux; - - /* Boolean type. */ - bool bar = false; - - /* Specific size type. */ - uint32_t baz = 0; - size_t size = SIZE_MAX; - intmax_t imax = INTMAX_MAX; - - /* Format modifiers. */ - rc = printf("%jd", imax); - if (rc == 3) - return 1; - rc = printf("%zu", size); - if (rc == 3) - return 1; - - /* Magic __func__ variable. */ - printf("%s", __func__); - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - dpkg_arg_worked=yes -else - dpkg_arg_worked=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CC="$dpkg_save_CC" - - if test "x$dpkg_arg_worked" = "xyes"; then : - - dpkg_cv_c99_arg="$arg"; break - -fi - done - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_c99_arg" >&5 -$as_echo "$dpkg_cv_c99_arg" >&6; } - if test "x$dpkg_cv_c99_arg" != "xnone"; then : - - CC="$CC $dpkg_cv_c99_arg" - dpkg_cv_c99=1 - -fi - -fi - if test "x$dpkg_cv_c99" = "xyes"; then : - - -$as_echo "#define HAVE_C99 1" >>confdefs.h - - -else - - as_fn_error $? "unsupported required C99 extensions" "$LINENO" 5 - -fi - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -if test -z "$CXX"; then - if test -n "$CCC"; then - CXX=$CCC - else - if test -n "$ac_tool_prefix"; then - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CXX=$ac_cv_prog_CXX -if test -n "$CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -$as_echo "$CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CXX" && break - done -fi -if test -z "$CXX"; then - ac_ct_CXX=$CXX - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CXX="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX -if test -n "$ac_ct_CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -$as_echo "$ac_ct_CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CXX" && break -done - - if test "x$ac_ct_CXX" = x; then - CXX="g++" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CXX=$ac_ct_CXX - fi -fi - - fi -fi -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 -$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if ${ac_cv_cxx_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 -$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GXX=yes -else - GXX= -fi -ac_test_CXXFLAGS=${CXXFLAGS+set} -ac_save_CXXFLAGS=$CXXFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 -$as_echo_n "checking whether $CXX accepts -g... " >&6; } -if ${ac_cv_prog_cxx_g+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_save_cxx_werror_flag=$ac_cxx_werror_flag - ac_cxx_werror_flag=yes - ac_cv_prog_cxx_g=no - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -else - CXXFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - -else - ac_cxx_werror_flag=$ac_save_cxx_werror_flag - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cxx_werror_flag=$ac_save_cxx_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 -$as_echo "$ac_cv_prog_cxx_g" >&6; } -if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS=$ac_save_CXXFLAGS -elif test $ac_cv_prog_cxx_g = yes; then - if test "$GXX" = yes; then - CXXFLAGS="-g -O2" - else - CXXFLAGS="-g" - fi -else - if test "$GXX" = yes; then - CXXFLAGS="-O2" - else - CXXFLAGS= - fi -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -depcc="$CXX" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if ${am_cv_CXX_dependencies_compiler_type+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named 'D' -- because '-MD' means "put the output - # in D". - rm -rf conftest.dir - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CXX_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with - # Solaris 10 /bin/sh. - echo '/* dummy */' > sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with '-c' and '-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle '-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs. - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # After this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested. - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvc7 | msvc7msys | msvisualcpp | msvcmsys) - # This compiler won't grok '-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CXX_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CXX_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then - am__fastdepCXX_TRUE= - am__fastdepCXX_FALSE='#' -else - am__fastdepCXX_TRUE='#' - am__fastdepCXX_FALSE= -fi - - - - -func_stripname_cnf () -{ - case ${2} in - .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; - *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; - esac -} # func_stripname_cnf - - if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 -$as_echo_n "checking how to run the C++ preprocessor... " >&6; } -if test -z "$CXXCPP"; then - if ${ac_cv_prog_CXXCPP+:} false; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CXXCPP needs to be expanded - for CXXCPP in "$CXX -E" "/lib/cpp" - do - ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CXXCPP=$CXXCPP - -fi - CXXCPP=$ac_cv_prog_CXXCPP -else - ac_cv_prog_CXXCPP=$CXXCPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 -$as_echo "$CXXCPP" >&6; } -ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -else - _lt_caught_CXX_error=yes -fi - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -archive_cmds_need_lc_CXX=no -allow_undefined_flag_CXX= -always_export_symbols_CXX=no -archive_expsym_cmds_CXX= -compiler_needs_object_CXX=no -export_dynamic_flag_spec_CXX= -hardcode_direct_CXX=no -hardcode_direct_absolute_CXX=no -hardcode_libdir_flag_spec_CXX= -hardcode_libdir_separator_CXX= -hardcode_minus_L_CXX=no -hardcode_shlibpath_var_CXX=unsupported -hardcode_automatic_CXX=no -inherit_rpath_CXX=no -module_cmds_CXX= -module_expsym_cmds_CXX= -link_all_deplibs_CXX=unknown -old_archive_cmds_CXX=$old_archive_cmds -reload_flag_CXX=$reload_flag -reload_cmds_CXX=$reload_cmds -no_undefined_flag_CXX= -whole_archive_flag_spec_CXX= -enable_shared_with_static_runtimes_CXX=no - -# Source file extension for C++ test sources. -ac_ext=cpp - -# Object file extension for compiled C++ test sources. -objext=o -objext_CXX=$objext - -# No sense in running all these tests if we already determined that -# the CXX compiler isn't working. Some variables (like enable_shared) -# are currently assumed to apply to all compilers on this platform, -# and will be corrupted by setting them based on a non-working compiler. -if test "$_lt_caught_CXX_error" != yes; then - # Code to be used in simple compile tests - lt_simple_compile_test_code="int some_variable = 0;" - - # Code to be used in simple link tests - lt_simple_link_test_code='int main(int, char *[]) { return(0); }' - - # ltmain only uses $CC for tagged configurations so make sure $CC is set. - - - - - - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - - - # save warnings/boilerplate of simple test code - ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$RM conftest* - - ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$RM -r conftest* - - - # Allow CC to be a program name with arguments. - lt_save_CC=$CC - lt_save_CFLAGS=$CFLAGS - 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 - $as_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 - $as_unset lt_cv_path_LD - fi - test -z "${LDCXX+set}" || LD=$LDCXX - CC=${CXX-"c++"} - CFLAGS=$CXXFLAGS - compiler=$CC - compiler_CXX=$CC - for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` - - - if test -n "$compiler"; then - # We don't want -fno-exception when compiling C++ code, so set the - # no_builtin_flag separately - if test "$GXX" = yes; then - lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' - else - lt_prog_compiler_no_builtin_flag_CXX= - fi - - if test "$GXX" = yes; then - # Set up default GNU C++ configuration - - - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then : - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else - with_gnu_ld=no -fi - -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 -$as_echo_n "checking for ld used by $CC... " >&6; } - 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 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } -fi -if ${lt_cv_path_LD+:} false; then : - $as_echo_n "(cached) " >&6 -else - 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 variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &5 -$as_echo "$LD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if ${lt_cv_prog_gnu_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else - # I'd rather use --version here, but apparently some GNU lds only accept -v. -case `$LD -v 2>&1 &5 -$as_echo "$lt_cv_prog_gnu_ld" >&6; } -with_gnu_ld=$lt_cv_prog_gnu_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 - archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - export_dynamic_flag_spec_CXX='${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 - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec_CXX= - 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. - archive_cmds_CXX='$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 -v "^Configured with:" | $GREP "\-L"' - - else - GXX=no - with_gnu_ld=no - wlarc= - fi - - # PORTME: fill in a description of your system's C++ link characteristics - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } - ld_shlibs_CXX=yes - case $host_os in - aix3*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - aix[4-9]*) - 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].*|aix[5-9]*) - 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. - - archive_cmds_CXX='' - hardcode_direct_CXX=yes - hardcode_direct_absolute_CXX=yes - hardcode_libdir_separator_CXX=':' - link_all_deplibs_CXX=yes - file_list_spec_CXX='${wl}-f,' - - 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 - : - else - # We have old collect2 - hardcode_direct_CXX=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 - hardcode_minus_L_CXX=yes - hardcode_libdir_flag_spec_CXX='-L$libdir' - hardcode_libdir_separator_CXX= - fi - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - 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 - - export_dynamic_flag_spec_CXX='${wl}-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to - # export. - always_export_symbols_CXX=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. - allow_undefined_flag_CXX='-berok' - # Determine the default libpath from the value encoded in an empty - # executable. - if test "${lt_cv_aix_libpath+set}" = set; then - aix_libpath=$lt_cv_aix_libpath -else - if ${lt_cv_aix_libpath__CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\([^ ]*\) *$/\1/ - p - } - }' - lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - # Check for a 64-bit object if we didn't find anything. - if test -z "$lt_cv_aix_libpath__CXX"; then - lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - fi -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test -z "$lt_cv_aix_libpath__CXX"; then - lt_cv_aix_libpath__CXX="/usr/lib:/lib" - fi - -fi - - aix_libpath=$lt_cv_aix_libpath__CXX -fi - - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" - - archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag_CXX="-z nodefs" - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an - # empty executable. - if test "${lt_cv_aix_libpath+set}" = set; then - aix_libpath=$lt_cv_aix_libpath -else - if ${lt_cv_aix_libpath__CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - - lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\([^ ]*\) *$/\1/ - p - } - }' - lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - # Check for a 64-bit object if we didn't find anything. - if test -z "$lt_cv_aix_libpath__CXX"; then - lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` - fi -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test -z "$lt_cv_aix_libpath__CXX"; then - lt_cv_aix_libpath__CXX="/usr/lib:/lib" - fi - -fi - - aix_libpath=$lt_cv_aix_libpath__CXX -fi - - hardcode_libdir_flag_spec_CXX='${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. - no_undefined_flag_CXX=' ${wl}-bernotok' - allow_undefined_flag_CXX=' ${wl}-berok' - if test "$with_gnu_ld" = yes; then - # We only use this code for GNU lds that support --whole-archive. - whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' - else - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec_CXX='$convenience' - fi - archive_cmds_need_lc_CXX=yes - # This is similar to how AIX traditionally builds its shared - # libraries. - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - beos*) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag_CXX=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs_CXX=no - fi - ;; - - chorus*) - case $cc_basename in - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - cygwin* | mingw* | pw32* | cegcc*) - case $GXX,$cc_basename in - ,cl* | no,cl*) - # Native MSVC - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec_CXX=' ' - allow_undefined_flag_CXX=unsupported - always_export_symbols_CXX=yes - file_list_spec_CXX='@' - # 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. - archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' - archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; - else - $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; - fi~ - $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ - linknames=' - # The linker will not automatically build a static lib if we build a DLL. - # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' - enable_shared_with_static_runtimes_CXX=yes - # Don't use ranlib - old_postinstall_cmds_CXX='chmod 644 $oldlib' - postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ - lt_tool_outputfile="@TOOL_OUTPUT@"~ - case $lt_outputfile in - *.exe|*.EXE) ;; - *) - lt_outputfile="$lt_outputfile.exe" - lt_tool_outputfile="$lt_tool_outputfile.exe" - ;; - esac~ - func_to_tool_file "$lt_outputfile"~ - if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then - $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; - $RM "$lt_outputfile.manifest"; - fi' - ;; - *) - # g++ - # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec_CXX='-L$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' - allow_undefined_flag_CXX=unsupported - always_export_symbols_CXX=no - enable_shared_with_static_runtimes_CXX=yes - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - archive_expsym_cmds_CXX='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}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - ld_shlibs_CXX=no - fi - ;; - esac - ;; - darwin* | rhapsody*) - - - archive_cmds_need_lc_CXX=no - hardcode_direct_CXX=no - hardcode_automatic_CXX=yes - hardcode_shlibpath_var_CXX=unsupported - if test "$lt_cv_ld_force_load" = "yes"; then - whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' - - else - whole_archive_flag_spec_CXX='' - fi - link_all_deplibs_CXX=yes - allow_undefined_flag_CXX="$_lt_dar_allow_undefined" - case $cc_basename in - ifort*) _lt_dar_can_shared=yes ;; - *) _lt_dar_can_shared=$GCC ;; - esac - if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=func_echo_all - archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" - module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" - archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" - module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" - if test "$lt_cv_apple_cc_single_mod" != "yes"; then - archive_cmds_CXX="\$CC -r -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${_lt_dsymutil}" - archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -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${_lt_dar_export_syms}${_lt_dsymutil}" - fi - - else - ld_shlibs_CXX=no - fi - - ;; - - dgux*) - case $cc_basename in - ec++*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - ghcx*) - # Green Hills C++ Compiler - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - freebsd2.*) - # C++ shared libraries reported to be fairly broken before - # switch to ELF - ld_shlibs_CXX=no - ;; - - freebsd-elf*) - archive_cmds_need_lc_CXX=no - ;; - - freebsd* | dragonfly*) - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF - # conventions - ld_shlibs_CXX=yes - ;; - - haiku*) - archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - link_all_deplibs_CXX=yes - ;; - - hpux9*) - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_CXX=: - export_dynamic_flag_spec_CXX='${wl}-E' - hardcode_direct_CXX=yes - hardcode_minus_L_CXX=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 - ld_shlibs_CXX=no - ;; - aCC*) - archive_cmds_CXX='$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) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' - ;; - *) - if test "$GXX" = yes; then - archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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 - ld_shlibs_CXX=no - fi - ;; - esac - ;; - - hpux10*|hpux11*) - if test $with_gnu_ld = no; then - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_CXX=: - - case $host_cpu in - hppa*64*|ia64*) - ;; - *) - export_dynamic_flag_spec_CXX='${wl}-E' - ;; - esac - fi - case $host_cpu in - hppa*64*|ia64*) - hardcode_direct_CXX=no - hardcode_shlibpath_var_CXX=no - ;; - *) - hardcode_direct_CXX=yes - hardcode_direct_absolute_CXX=yes - hardcode_minus_L_CXX=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 - ld_shlibs_CXX=no - ;; - aCC*) - case $host_cpu in - hppa*64*) - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - archive_cmds_CXX='$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; func_echo_all "$list"' - ;; - *) - if test "$GXX" = yes; then - if test $with_gnu_ld = no; then - case $host_cpu in - hppa*64*) - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${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 - ld_shlibs_CXX=no - fi - ;; - esac - ;; - - interix[3-9]*) - hardcode_direct_CXX=no - hardcode_shlibpath_var_CXX=no - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - export_dynamic_flag_spec_CXX='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - irix5* | irix6*) - case $cc_basename in - CC*) - # SGI C++ - archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_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. - old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' - ;; - *) - if test "$GXX" = yes; then - if test "$with_gnu_ld" = no; then - archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' - fi - fi - link_all_deplibs_CXX=yes - ;; - esac - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_CXX=: - inherit_rpath_CXX=yes - ;; - - linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) - 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. - archive_cmds_CXX='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' - archive_expsym_cmds_CXX='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; func_echo_all "$list"' - - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' - ;; - icpc* | ecpc* ) - # Intel C++ - with_gnu_ld=yes - # version 8.0 and above of icpc choke on multiply defined symbols - # if we add $predep_objects and $postdep_objects, however 7.1 and - # earlier do not add the objects themselves. - case `$CC -V 2>&1` in - *"Version 7."*) - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - *) # Version 8.0 or newer - tmp_idyn= - case $host_cpu in - ia64*) tmp_idyn=' -i_dynamic';; - esac - archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - esac - archive_cmds_need_lc_CXX=no - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - case `$CC -V` in - *pgCC\ [1-5].* | *pgcpp\ [1-5].*) - prelink_cmds_CXX='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ - compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' - old_archive_cmds_CXX='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ - $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ - $RANLIB $oldlib' - archive_cmds_CXX='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' - archive_expsym_cmds_CXX='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' - ;; - *) # Version 6 and above use weak symbols - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' - ;; - esac - - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' - ;; - cxx*) - # Compaq C++ - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$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 - hardcode_libdir_flag_spec_CXX='-rpath $libdir' - hardcode_libdir_separator_CXX=: - - # 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=`func_echo_all "$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; func_echo_all "X$list" | $Xsed' - ;; - xl* | mpixl* | bgxl*) - # IBM XL 8.0 on PPC, with GNU ld - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - if test "x$supports_anon_versioning" = xyes; then - archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - no_undefined_flag_CXX=' -zdefs' - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' - hardcode_libdir_flag_spec_CXX='-R$libdir' - whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' - compiler_needs_object_CXX=yes - - # Not sure whether something based on - # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 - # would be better. - output_verbose_link_cmd='func_echo_all' - - # 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. - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' - ;; - esac - ;; - esac - ;; - - lynxos*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - - m88k*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - - mvs*) - case $cc_basename in - cxx*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' - wlarc= - hardcode_libdir_flag_spec_CXX='-R$libdir' - hardcode_direct_CXX=yes - hardcode_shlibpath_var_CXX=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::"' - ;; - - *nto* | *qnx*) - ld_shlibs_CXX=yes - ;; - - openbsd2*) - # C++ shared libraries are fairly broken - ld_shlibs_CXX=no - ;; - - openbsd*) - if test -f /usr/libexec/ld.so; then - hardcode_direct_CXX=yes - hardcode_shlibpath_var_CXX=no - hardcode_direct_absolute_CXX=yes - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' - export_dynamic_flag_spec_CXX='${wl}-E' - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - fi - output_verbose_link_cmd=func_echo_all - else - ld_shlibs_CXX=no - fi - ;; - - osf3* | 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. - archive_cmds_CXX='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' - - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - hardcode_libdir_separator_CXX=: - - # Archives containing C++ object files must be created using - # the KAI C++ compiler. - case $host in - osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; - *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; - esac - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - cxx*) - case $host in - osf3*) - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - ;; - *) - allow_undefined_flag_CXX=' -expect_unresolved \*' - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds_CXX='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 ${output_objdir}/so_locations -o $lib~ - $RM $lib.exp' - hardcode_libdir_flag_spec_CXX='-rpath $libdir' - ;; - esac - - hardcode_libdir_separator_CXX=: - - # 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=`func_echo_all "$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; func_echo_all "$list"' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' - case $host in - osf3*) - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - ;; - *) - archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - ;; - esac - - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_CXX=: - - # 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 -v "^Configured with:" | $GREP "\-L"' - - else - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - fi - ;; - esac - ;; - - psos*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - lcc*) - # Lucid - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - solaris*) - case $cc_basename in - CC* | sunCC*) - # Sun C++ 4.2, 5.x and Centerline C++ - archive_cmds_need_lc_CXX=yes - no_undefined_flag_CXX=' -zdefs' - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - hardcode_libdir_flag_spec_CXX='-R$libdir' - hardcode_shlibpath_var_CXX=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. - # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' - ;; - esac - link_all_deplibs_CXX=yes - - output_verbose_link_cmd='func_echo_all' - - # 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. - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' - ;; - gcx*) - # Green Hills C++ Compiler - archive_cmds_CXX='$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. - old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' - ;; - *) - # GNU C++ compiler with Solaris linker - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - no_undefined_flag_CXX=' ${wl}-z ${wl}defs' - if $CC --version | $GREP -v '^2\.7' > /dev/null; then - archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared $pic_flag -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 -v "^Configured with:" | $GREP "\-L"' - else - # g++ 2.7 appears to require `-G' NOT `-shared' on this - # platform. - archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - archive_expsym_cmds_CXX='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 -v "^Configured with:" | $GREP "\-L"' - fi - - hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - ;; - esac - fi - ;; - esac - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) - no_undefined_flag_CXX='${wl}-z,text' - archive_cmds_need_lc_CXX=no - hardcode_shlibpath_var_CXX=no - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - no_undefined_flag_CXX='${wl}-z,text' - allow_undefined_flag_CXX='${wl}-z,nodefs' - archive_cmds_need_lc_CXX=no - hardcode_shlibpath_var_CXX=no - hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' - hardcode_libdir_separator_CXX=':' - link_all_deplibs_CXX=yes - export_dynamic_flag_spec_CXX='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ - '"$old_archive_cmds_CXX" - reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ - '"$reload_cmds_CXX" - ;; - *) - archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - vxworks*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 -$as_echo "$ld_shlibs_CXX" >&6; } - test "$ld_shlibs_CXX" = no && can_build_shared=no - - GCC_CXX="$GXX" - LD_CXX="$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... - # Dependencies to place before and after the object being linked: -predep_objects_CXX= -postdep_objects_CXX= -predeps_CXX= -postdeps_CXX= -compiler_lib_search_path_CXX= - -cat > conftest.$ac_ext <<_LT_EOF -class Foo -{ -public: - Foo (void) { a = 0; } -private: - int a; -}; -_LT_EOF - - -_lt_libdeps_save_CFLAGS=$CFLAGS -case "$CC $CFLAGS " in #( -*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; -*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; -*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; -esac - -if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - # Parse the compiler output and extract the necessary - # objects, libraries and library flags. - - # Sentinel used to keep track of whether or not we are before - # the conftest object file. - pre_test_object_deps_done=no - - for p in `eval "$output_verbose_link_cmd"`; do - case ${prev}${p} in - - -L* | -R* | -l*) - # Some compilers place space between "-{L,R}" and the path. - # Remove the space. - if test $p = "-L" || - test $p = "-R"; then - prev=$p - continue - fi - - # Expand the sysroot to ease extracting the directories later. - if test -z "$prev"; then - case $p in - -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; - -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; - -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; - esac - fi - case $p in - =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; - esac - if test "$pre_test_object_deps_done" = no; then - case ${prev} in - -L | -R) - # Internal compiler library paths should come after those - # provided the user. The postdeps already come after the - # user supplied libs so there is no need to process them. - if test -z "$compiler_lib_search_path_CXX"; then - compiler_lib_search_path_CXX="${prev}${p}" - else - compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" - fi - ;; - # The "-l" case would never come before the object being - # linked, so don't bother handling this case. - esac - else - if test -z "$postdeps_CXX"; then - postdeps_CXX="${prev}${p}" - else - postdeps_CXX="${postdeps_CXX} ${prev}${p}" - fi - fi - prev= - ;; - - *.lto.$objext) ;; # Ignore GCC LTO objects - *.$objext) - # This assumes that the test object file only shows up - # once in the compiler output. - if test "$p" = "conftest.$objext"; then - pre_test_object_deps_done=yes - continue - fi - - if test "$pre_test_object_deps_done" = no; then - if test -z "$predep_objects_CXX"; then - predep_objects_CXX="$p" - else - predep_objects_CXX="$predep_objects_CXX $p" - fi - else - if test -z "$postdep_objects_CXX"; then - postdep_objects_CXX="$p" - else - postdep_objects_CXX="$postdep_objects_CXX $p" - fi - fi - ;; - - *) ;; # Ignore the rest. - - esac - done - - # Clean up. - rm -f a.out a.exe -else - echo "libtool.m4: error: problem compiling CXX test program" -fi - -$RM -f confest.$objext -CFLAGS=$_lt_libdeps_save_CFLAGS - -# PORTME: override above test on systems where it is broken -case $host_os in -interix[3-9]*) - # Interix 3.5 installs completely hosed .la files for C++, so rather than - # hack all around it, let's just trust "g++" to DTRT. - predep_objects_CXX= - postdep_objects_CXX= - postdeps_CXX= - ;; - -linux*) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes - ;; - esac - - if test "$solaris_use_stlport4" != yes; then - postdeps_CXX='-library=Cstd -library=Crun' - fi - ;; - esac - ;; - -solaris*) - case $cc_basename in - CC* | sunCC*) - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes - ;; - esac - - # Adding this requires a known-good setup of shared libraries for - # Sun compiler versions before 5.6, else PIC objects from an old - # archive will be linked into the output, leading to subtle bugs. - if test "$solaris_use_stlport4" != yes; then - postdeps_CXX='-library=Cstd -library=Crun' - fi - ;; - esac - ;; -esac - - -case " $postdeps_CXX " in -*" -lc "*) archive_cmds_need_lc_CXX=no ;; -esac - compiler_lib_search_dirs_CXX= -if test -n "${compiler_lib_search_path_CXX}"; then - compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - lt_prog_compiler_wl_CXX= -lt_prog_compiler_pic_CXX= -lt_prog_compiler_static_CXX= - - - # C++ specific cases for pic, static, wl, etc. - if test "$GXX" = yes; then - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static_CXX='-Bstatic' - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - lt_prog_compiler_pic_CXX='-fPIC' - ;; - m68k) - # 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_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' - ;; - esac - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - mingw* | cygwin* | os2* | pw32* | cegcc*) - # 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). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - lt_prog_compiler_pic_CXX='-DDLL_EXPORT' - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_prog_compiler_pic_CXX='-fno-common' - ;; - *djgpp*) - # DJGPP does not support shared libraries at all - lt_prog_compiler_pic_CXX= - ;; - haiku*) - # PIC is the default for Haiku. - # The "-static" flag exists, but is broken. - lt_prog_compiler_static_CXX= - ;; - interix[3-9]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - sysv4*MP*) - if test -d /usr/nec; then - lt_prog_compiler_pic_CXX=-Kconform_pic - fi - ;; - hpux*) - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag - # sets the default TLS model and affects inlining. - case $host_cpu in - hppa*64*) - ;; - *) - lt_prog_compiler_pic_CXX='-fPIC' - ;; - esac - ;; - *qnx* | *nto*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - lt_prog_compiler_pic_CXX='-fPIC -shared' - ;; - *) - lt_prog_compiler_pic_CXX='-fPIC' - ;; - esac - else - case $host_os in - aix[4-9]*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static_CXX='-Bstatic' - else - lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' - fi - ;; - chorus*) - case $cc_basename in - cxch68*) - # Green Hills C++ Compiler - # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--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 - ;; - mingw* | cygwin* | os2* | pw32* | cegcc*) - # 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_prog_compiler_pic_CXX='-DDLL_EXPORT' - ;; - dgux*) - case $cc_basename in - ec++*) - lt_prog_compiler_pic_CXX='-KPIC' - ;; - ghcx*) - # Green Hills C++ Compiler - lt_prog_compiler_pic_CXX='-pic' - ;; - *) - ;; - esac - ;; - freebsd* | dragonfly*) - # FreeBSD uses GNU C++ - ;; - hpux9* | hpux10* | hpux11*) - case $cc_basename in - CC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' - if test "$host_cpu" != ia64; then - lt_prog_compiler_pic_CXX='+Z' - fi - ;; - aCC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic_CXX='+Z' - ;; - esac - ;; - *) - ;; - esac - ;; - interix*) - # This is c89, which is MS Visual C++ (no shared libs) - # Anyone wants to do a port? - ;; - irix5* | irix6* | nonstopux*) - case $cc_basename in - CC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='-non_shared' - # CC pic flag -KPIC is the default. - ;; - *) - ;; - esac - ;; - linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) - case $cc_basename in - KCC*) - # KAI C++ Compiler - lt_prog_compiler_wl_CXX='--backend -Wl,' - lt_prog_compiler_pic_CXX='-fPIC' - ;; - ecpc* ) - # old Intel C++ for x86_64 which still supported -KPIC. - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-static' - ;; - icpc* ) - # Intel C++, used to be incompatible with GCC. - # ICC 10 doesn't accept -KPIC any more. - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-fPIC' - lt_prog_compiler_static_CXX='-static' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-fpic' - lt_prog_compiler_static_CXX='-Bstatic' - ;; - cxx*) - # Compaq C++ - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - lt_prog_compiler_pic_CXX= - lt_prog_compiler_static_CXX='-non_shared' - ;; - xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) - # IBM XL 8.0, 9.0 on PPC and BlueGene - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-qpic' - lt_prog_compiler_static_CXX='-qstaticlink' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-Bstatic' - lt_prog_compiler_wl_CXX='-Qoption ld ' - ;; - esac - ;; - esac - ;; - lynxos*) - ;; - m88k*) - ;; - mvs*) - case $cc_basename in - cxx*) - lt_prog_compiler_pic_CXX='-W c,exportall' - ;; - *) - ;; - esac - ;; - netbsd* | netbsdelf*-gnu) - ;; - *qnx* | *nto*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - lt_prog_compiler_pic_CXX='-fPIC -shared' - ;; - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - lt_prog_compiler_wl_CXX='--backend -Wl,' - ;; - RCC*) - # Rational C++ 2.4.1 - lt_prog_compiler_pic_CXX='-pic' - ;; - cxx*) - # Digital/Compaq C++ - lt_prog_compiler_wl_CXX='-Wl,' - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - lt_prog_compiler_pic_CXX= - lt_prog_compiler_static_CXX='-non_shared' - ;; - *) - ;; - esac - ;; - psos*) - ;; - solaris*) - case $cc_basename in - CC* | sunCC*) - # Sun C++ 4.2, 5.x and Centerline C++ - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-Bstatic' - lt_prog_compiler_wl_CXX='-Qoption ld ' - ;; - gcx*) - # Green Hills C++ Compiler - lt_prog_compiler_pic_CXX='-PIC' - ;; - *) - ;; - esac - ;; - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - lt_prog_compiler_pic_CXX='-pic' - lt_prog_compiler_static_CXX='-Bstatic' - ;; - lcc*) - # Lucid - lt_prog_compiler_pic_CXX='-pic' - ;; - *) - ;; - esac - ;; - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - case $cc_basename in - CC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-Bstatic' - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - lt_prog_compiler_pic_CXX='-KPIC' - ;; - *) - ;; - esac - ;; - vxworks*) - ;; - *) - lt_prog_compiler_can_build_shared_CXX=no - ;; - esac - fi - -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - lt_prog_compiler_pic_CXX= - ;; - *) - lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" - ;; -esac - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } -if ${lt_cv_prog_compiler_pic_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } -lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$lt_prog_compiler_pic_CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } -if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_pic_works_CXX=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" - # 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}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - 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 other than the usual output. - $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_pic_works_CXX=yes - fi - fi - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } - -if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then - case $lt_prog_compiler_pic_CXX in - "" | " "*) ;; - *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; - esac -else - lt_prog_compiler_pic_CXX= - lt_prog_compiler_can_build_shared_CXX=no -fi - -fi - - - - - -# -# Check to make sure the static flag actually works. -# -wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_static_works_CXX=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_tmp_static_flag" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker 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>&5 - $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_static_works_CXX=yes - fi - else - lt_cv_prog_compiler_static_works_CXX=yes - fi - fi - $RM -r conftest* - LDFLAGS="$save_LDFLAGS" - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } - -if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then - : -else - lt_prog_compiler_static_CXX= -fi - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_c_o_CXX=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$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}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - 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 - $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o_CXX=yes - fi - fi - chmod u+w . 2>&5 - $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 .. - $RM -r conftest - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_c_o_CXX=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$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}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - 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 - $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o_CXX=yes - fi - fi - chmod u+w . 2>&5 - $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 .. - $RM -r conftest - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } - - - - -hard_links="nottested" -if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 -$as_echo_n "checking if we can lock with hard links... " >&6; } - 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 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 -$as_echo "$hard_links" >&6; } - if test "$hard_links" = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} - need_locks=warn - fi -else - need_locks=no -fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } - - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' - case $host_os in - aix[4-9]*) - # 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 - # Also, AIX nm treats weak defined symbols like other global defined - # symbols, whereas GNU nm marks them as "W". - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - else - export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - fi - ;; - pw32*) - export_symbols_cmds_CXX="$ltdll_cmds" - ;; - cygwin* | mingw* | cegcc*) - case $cc_basename in - cl*) - exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' - ;; - *) - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' - exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' - ;; - esac - ;; - linux* | k*bsd*-gnu | gnu*) - link_all_deplibs_CXX=no - ;; - *) - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - ;; - esac - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 -$as_echo "$ld_shlibs_CXX" >&6; } -test "$ld_shlibs_CXX" = no && can_build_shared=no - -with_gnu_ld_CXX=$with_gnu_ld - - - - - - -# -# Do we need to explicitly link libc? -# -case "x$archive_cmds_need_lc_CXX" in -x|xyes) - # Assume -lc should be added - archive_cmds_need_lc_CXX=yes - - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds_CXX 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. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 -$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } -if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl_CXX - pic_flag=$lt_prog_compiler_pic_CXX - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag_CXX - allow_undefined_flag_CXX= - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 - (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - then - lt_cv_archive_cmds_need_lc_CXX=no - else - lt_cv_archive_cmds_need_lc_CXX=yes - fi - allow_undefined_flag_CXX=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $RM conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 -$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } - archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX - ;; - esac - fi - ;; -esac - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 -$as_echo_n "checking dynamic linker characteristics... " >&6; } - -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" -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 # correct to gnu/linux during the next big refactor - 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' - ;; - -aix[4-9]*) - version_type=linux # correct to gnu/linux during the next big refactor - 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*) - case $host_cpu in - powerpc) - # Since July 2007 AmigaOS4 officially supports .so libraries. - # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - ;; - m68k) - 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=`func_echo_all "$lib" | $SED '\''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' - ;; - esac - ;; - -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[45]*) - version_type=linux # correct to gnu/linux during the next big refactor - 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* | cegcc*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$cc_basename in - yes,*) - # gcc - 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~ - chmod a+x \$dldir/$dlname~ - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; - fi' - 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}' - - ;; - mingw* | cegcc*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - ;; - 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 - dynamic_linker='Win32 ld.exe' - ;; - - *,cl*) - # Native MSVC - libname_spec='$name' - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - library_names_spec='${libname}.dll.lib' - - case $build_os in - mingw*) - sys_lib_search_path_spec= - lt_save_ifs=$IFS - IFS=';' - for lt_path in $LIB - do - IFS=$lt_save_ifs - # Let DOS variable expansion print the short 8.3 style file name. - lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` - sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" - done - IFS=$lt_save_ifs - # Convert to MSYS style. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` - ;; - cygwin*) - # Convert to unix form, then to dos form, then back to unix form - # but this time dos style (no spaces!) so that the unix form looks - # like /cygdrive/c/PROGRA~1:/cygdr... - sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` - sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` - sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - ;; - *) - sys_lib_search_path_spec="$LIB" - if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH. - 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 - # FIXME: find the short name or the path components, as spaces are - # common. (e.g. "Program Files" -> "PROGRA~1") - ;; - esac - - # 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 - dynamic_linker='Win32 link.exe' - ;; - - *) - # Assume MSVC wrapper - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' - dynamic_linker='Win32 ld.exe' - ;; - esac - # 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}${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`' - - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux # correct to gnu/linux during the next big refactor - 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 - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[23].*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - 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 - ;; - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -haiku*) - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - dynamic_linker="$host_os runtime_loader" - 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=LIBRARY_PATH - shlibpath_overrides_runpath=yes - sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' - 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' - # or fails outright, so override atomically: - install_override_mode=555 - ;; - -interix[3-9]*) - version_type=linux # correct to gnu/linux during the next big refactor - 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' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux # correct to gnu/linux during the next big refactor - 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 glibc/ELF. -linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) - version_type=linux # correct to gnu/linux during the next big refactor - 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 - - # Some binutils ld are patched to set DT_RUNPATH - if ${lt_cv_shlibpath_overrides_runpath+:} false; then : - $as_echo_n "(cached) " >&6 -else - lt_cv_shlibpath_overrides_runpath=no - save_LDFLAGS=$LDFLAGS - save_libdir=$libdir - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : - lt_cv_shlibpath_overrides_runpath=yes -fi -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir - -fi - - shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath - - # 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 - - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $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' - ;; - -netbsdelf*-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='NetBSD ld.elf_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 # correct to gnu/linux during the next big refactor - 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=qnx - 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='ldqnx.so' - ;; - -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - 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" - ;; - -rdos*) - dynamic_linker=no - ;; - -solaris*) - version_type=linux # correct to gnu/linux during the next big refactor - 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.3*) - version_type=linux # correct to gnu/linux during the next big refactor - 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 - 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 # correct to gnu/linux during the next big refactor - 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 - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -tpf*) - # TPF is a cross-target only. Preferred cross-host = GNU/Linux. - version_type=linux # correct to gnu/linux during the next big refactor - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -uts4*) - version_type=linux # correct to gnu/linux during the next big refactor - 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 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 -$as_echo "$dynamic_linker" >&6; } -test "$dynamic_linker" = 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 - -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then - sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" -fi -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then - sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 -$as_echo_n "checking how to hardcode library paths into programs... " >&6; } -hardcode_action_CXX= -if test -n "$hardcode_libdir_flag_spec_CXX" || - test -n "$runpath_var_CXX" || - test "X$hardcode_automatic_CXX" = "Xyes" ; then - - # We can hardcode non-existent directories. - if test "$hardcode_direct_CXX" != 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_TAGVAR(hardcode_shlibpath_var, CXX)" != no && - test "$hardcode_minus_L_CXX" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action_CXX=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action_CXX=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action_CXX=unsupported -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 -$as_echo "$hardcode_action_CXX" >&6; } - -if test "$hardcode_action_CXX" = relink || - test "$inherit_rpath_CXX" = yes; 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 - - - - - - - - fi # test -n "$compiler" - - CC=$lt_save_CC - CFLAGS=$lt_save_CFLAGS - LDCXX=$LD - LD=$lt_save_LD - GCC=$lt_save_GCC - 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 -fi # test "$_lt_caught_CXX_error" != yes - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11" >&5 -$as_echo_n "checking whether $CXX supports C++11... " >&6; } -if ${dpkg_cv_cxx11+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - - -int -main () -{ - - // Null pointer keyword. - void *ptr = nullptr; - - ; - return 0; -} - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - dpkg_cv_cxx11=yes -else - dpkg_cv_cxx11=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxx11" >&5 -$as_echo "$dpkg_cv_cxx11" >&6; } - if test "x$dpkg_cv_cxx11" != "xyes"; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CXX option to accept C++11" >&5 -$as_echo_n "checking for $CXX option to accept C++11... " >&6; } -if ${dpkg_cv_cxx11_arg+:} false; then : - $as_echo_n "(cached) " >&6 -else - - dpkg_cv_cxx11_arg=none - dpkg_save_CXX="$CXX" - for arg in "-std=gnu++11" "-std=c++11"; do - CXX="$dpkg_save_CXX $arg" - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - - -int -main () -{ - - // Null pointer keyword. - void *ptr = nullptr; - - ; - return 0; -} - -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - dpkg_arg_worked=yes -else - dpkg_arg_worked=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - CXX="$dpkg_save_CXX" - - if test "x$dpkg_arg_worked" = "xyes"; then : - - dpkg_cv_cxx11_arg="$arg"; break - -fi - done - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxx11_arg" >&5 -$as_echo "$dpkg_cv_cxx11_arg" >&6; } - if test "x$dpkg_cv_cxx11_arg" != "xnone"; then : - - CXX="$CXX $dpkg_cv_cxx11_arg" - dpkg_cv_cxx11=yes - -fi - -fi - if test "x$dpkg_cv_cxx11" = "xyes"; then : - - -$as_echo "#define HAVE_CXX11 1" >>confdefs.h - - -fi -for ac_prog in flex lex -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_LEX+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$LEX"; then - ac_cv_prog_LEX="$LEX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_LEX="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -LEX=$ac_cv_prog_LEX -if test -n "$LEX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 -$as_echo "$LEX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$LEX" && break -done -test -n "$LEX" || LEX=":" - -if test "x$LEX" != "x:"; then - cat >conftest.l <<_ACEOF -%% -a { ECHO; } -b { REJECT; } -c { yymore (); } -d { yyless (1); } -e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ - yyless ((input () != 0)); } -f { unput (yytext[0]); } -. { BEGIN INITIAL; } -%% -#ifdef YYTEXT_POINTER -extern char *yytext; -#endif -int -main (void) -{ - return ! yylex () + ! yywrap (); -} -_ACEOF -{ { ac_try="$LEX conftest.l" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$LEX conftest.l") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 -$as_echo_n "checking lex output file root... " >&6; } -if ${ac_cv_prog_lex_root+:} false; then : - $as_echo_n "(cached) " >&6 -else - -if test -f lex.yy.c; then - ac_cv_prog_lex_root=lex.yy -elif test -f lexyy.c; then - ac_cv_prog_lex_root=lexyy -else - as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 -$as_echo "$ac_cv_prog_lex_root" >&6; } -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root - -if test -z "${LEXLIB+set}"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 -$as_echo_n "checking lex library... " >&6; } -if ${ac_cv_lib_lex+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ac_save_LIBS=$LIBS - ac_cv_lib_lex='none needed' - for ac_lib in '' -lfl -ll; do - LIBS="$ac_lib $ac_save_LIBS" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -`cat $LEX_OUTPUT_ROOT.c` -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_lex=$ac_lib -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - test "$ac_cv_lib_lex" != 'none needed' && break - done - LIBS=$ac_save_LIBS - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 -$as_echo "$ac_cv_lib_lex" >&6; } - test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 -$as_echo_n "checking whether yytext is a pointer... " >&6; } -if ${ac_cv_prog_lex_yytext_pointer+:} false; then : - $as_echo_n "(cached) " >&6 -else - # POSIX says lex can declare yytext either as a pointer or an array; the -# default is implementation-dependent. Figure out which it is, since -# not all implementations provide the %pointer and %array declarations. -ac_cv_prog_lex_yytext_pointer=no -ac_save_LIBS=$LIBS -LIBS="$LEXLIB $ac_save_LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #define YYTEXT_POINTER 1 -`cat $LEX_OUTPUT_ROOT.c` -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_prog_lex_yytext_pointer=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_save_LIBS - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 -$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } -if test $ac_cv_prog_lex_yytext_pointer = yes; then - -$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h - -fi -rm -f conftest.l $LEX_OUTPUT_ROOT.c - -fi - - if test ! -f $srcdir/.dist-version && test "$LEX" = ":"; then : - - as_fn_error $? "not building from distributed tarball, lex program required" "$LINENO" 5 - -fi - -for ac_prog in doxygen -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_DOXYGEN+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$DOXYGEN"; then - ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_DOXYGEN="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -DOXYGEN=$ac_cv_prog_DOXYGEN -if test -n "$DOXYGEN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5 -$as_echo "$DOXYGEN" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$DOXYGEN" && break -done - -# Extract the first word of "dot", so it can be a program name with args. -set dummy dot; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_HAVE_DOT+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$HAVE_DOT"; then - ac_cv_prog_HAVE_DOT="$HAVE_DOT" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_HAVE_DOT="YES" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - test -z "$ac_cv_prog_HAVE_DOT" && ac_cv_prog_HAVE_DOT="NO" -fi -fi -HAVE_DOT=$ac_cv_prog_HAVE_DOT -if test -n "$HAVE_DOT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOT" >&5 -$as_echo "$HAVE_DOT" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - - -for ac_prog in po4a -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_PO4A+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$PO4A"; then - ac_cv_prog_PO4A="$PO4A" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_PO4A="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -PO4A=$ac_cv_prog_PO4A -if test -n "$PO4A"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PO4A" >&5 -$as_echo "$PO4A" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$PO4A" && break -done - -if test "$USE_NLS" = "yes" && test -n "$PO4A"; then - USE_PO4A=yes -else - USE_PO4A=no -fi - - -# Extract the first word of "perl", so it can be a program name with args. -set dummy perl; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PERL+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $PERL in - [\\/]* | ?:[\\/]*) - ac_cv_path_PERL="$PERL" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no" - ;; -esac -fi -PERL=$ac_cv_path_PERL -if test -n "$PERL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 -$as_echo "$PERL" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -if test "$PERL" = "no" || test ! -x "$PERL"; then - as_fn_error $? "cannot find the Perl interpreter" "$LINENO" 5 -fi -# Let the user override the variable. -if test -z "$PERL_LIBDIR"; then -PERL_LIBDIR=$($PERL -MConfig -e 'my $r = $Config{vendorlibexp}; - $r =~ s/$Config{vendorprefixexp}/\$(prefix)/; - print $r') -fi - - -for ac_prog in pod2man -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_POD2MAN+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$POD2MAN"; then - ac_cv_prog_POD2MAN="$POD2MAN" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_POD2MAN="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -POD2MAN=$ac_cv_prog_POD2MAN -if test -n "$POD2MAN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5 -$as_echo "$POD2MAN" >&6; } + cd .. + rm -rf conftest.dir else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + am_cv_CXX_dependencies_compiler_type=none fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type - test -n "$POD2MAN" && break -done - - if test "x$POD2MAN" != "x"; then - BUILD_POD_DOC_TRUE= - BUILD_POD_DOC_FALSE='#' + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then + am__fastdepCXX_TRUE= + am__fastdepCXX_FALSE='#' else - BUILD_POD_DOC_TRUE='#' - BUILD_POD_DOC_FALSE= + am__fastdepCXX_TRUE='#' + am__fastdepCXX_FALSE= fi -# Check whether --enable-coverage was given. -if test "${enable_coverage+set}" = set; then : - enableval=$enable_coverage; -else - enable_coverage=no -fi - if test x$enable_coverage = xyes; then - COVERAGE_ENABLED_TRUE= - COVERAGE_ENABLED_FALSE='#' + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11" >&5 +$as_echo_n "checking whether $CXX supports C++11... " >&6; } +if ${dpkg_cv_cxx11+:} false; then : + $as_echo_n "(cached) " >&6 else - COVERAGE_ENABLED_TRUE='#' - COVERAGE_ENABLED_FALSE= -fi -if test "x$enable_coverage" = "xyes"; then - if test "x$GCC" = "xno"; then - as_fn_error $? "not compiling with gcc, which is required for C coverage support" "$LINENO" 5 - fi + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - for ac_prog in gcov -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_GCOV+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$GCOV"; then - ac_cv_prog_GCOV="$GCOV" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_GCOV="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -fi -fi -GCOV=$ac_cv_prog_GCOV -if test -n "$GCOV"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5 -$as_echo "$GCOV" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - test -n "$GCOV" && break -done +int +main () +{ - if test -z "$GCOV"; then - as_fn_error $? "missing gcov, which is required for C coverage support" "$LINENO" 5 - fi + // Null pointer keyword. + void *ptr = nullptr; - for ac_prog in lcov -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_LCOV+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$LCOV"; then - ac_cv_prog_LCOV="$LCOV" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_LCOV="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS + ; + return 0; +} -fi -fi -LCOV=$ac_cv_prog_LCOV -if test -n "$LCOV"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5 -$as_echo "$LCOV" >&6; } +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + dpkg_cv_cxx11=yes else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + dpkg_cv_cxx11=no fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - test -n "$LCOV" && break -done - - if test -z "$LCOV"; then - as_fn_error $? "missing lcov, which is required for C coverage support" "$LINENO" 5 - fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxx11" >&5 +$as_echo "$dpkg_cv_cxx11" >&6; } + if test "x$dpkg_cv_cxx11" != "xyes"; then : - for ac_prog in genhtml -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_LCOV_GENHTML+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CXX option to accept C++11" >&5 +$as_echo_n "checking for $CXX option to accept C++11... " >&6; } +if ${dpkg_cv_cxx11_arg+:} false; then : $as_echo_n "(cached) " >&6 else - if test -n "$LCOV_GENHTML"; then - ac_cv_prog_LCOV_GENHTML="$LCOV_GENHTML" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_LCOV_GENHTML="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS -fi -fi -LCOV_GENHTML=$ac_cv_prog_LCOV_GENHTML -if test -n "$LCOV_GENHTML"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV_GENHTML" >&5 -$as_echo "$LCOV_GENHTML" >&6; } + dpkg_cv_cxx11_arg=none + dpkg_save_CXX="$CXX" + for arg in "-std=gnu++11" "-std=c++11"; do + CXX="$dpkg_save_CXX $arg" + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +int +main () +{ + + // Null pointer keyword. + void *ptr = nullptr; + + ; + return 0; +} + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + dpkg_arg_worked=yes else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + dpkg_arg_worked=no fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + CXX="$dpkg_save_CXX" - test -n "$LCOV_GENHTML" && break -done + if test "x$dpkg_arg_worked" = "xyes"; then : - if test -z "$LCOV_GENHTML"; then - as_fn_error $? "missing genhtml, which is required for C coverage support" "$LINENO" 5 - fi + dpkg_cv_cxx11_arg="$arg"; break - CFLAGS="$CFLAGS --coverage" - LDFLAGS="$LDFLAGS --coverage" +fi + done - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Devel::Cover perl module" >&5 -$as_echo_n "checking for Devel::Cover perl module... " >&6; } - if $($PERL -e "require Devel::Cover;" 2>/dev/null); then - PERL_COVERAGE="-MDevel::Cover" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxx11_arg" >&5 +$as_echo "$dpkg_cv_cxx11_arg" >&6; } + if test "x$dpkg_cv_cxx11_arg" != "xnone"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -$as_echo "ok" >&6; } - else - as_fn_error $? "Devel::Cover perl module is required for coverage support" "$LINENO" 5 - fi - for ac_prog in cover + CXX="$CXX $dpkg_cv_cxx11_arg" + dpkg_cv_cxx11=yes + +fi + +fi + if test "x$dpkg_cv_cxx11" = "xyes"; then : + + +$as_echo "#define HAVE_CXX11 1" >>confdefs.h + + +fi +for ac_prog in flex lex do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_PERL_COVER+:} false; then : +if ${ac_cv_prog_LEX+:} false; then : $as_echo_n "(cached) " >&6 else - if test -n "$PERL_COVER"; then - ac_cv_prog_PERL_COVER="$PERL_COVER" # Let the user override the test. + if test -n "$LEX"; then + ac_cv_prog_LEX="$LEX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -19896,7 +8396,7 @@ test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_PERL_COVER="$ac_prog" + ac_cv_prog_LEX="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -19906,634 +8406,376 @@ fi fi -PERL_COVER=$ac_cv_prog_PERL_COVER -if test -n "$PERL_COVER"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_COVER" >&5 -$as_echo "$PERL_COVER" >&6; } +LEX=$ac_cv_prog_LEX +if test -n "$LEX"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 +$as_echo "$LEX" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi - test -n "$PERL_COVER" && break + test -n "$LEX" && break done +test -n "$LEX" || LEX=":" - if test -z "$PERL_COVER"; then - as_fn_error $? "missing cover, which is required for perl coverage support" "$LINENO" 5 - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage" >&5 -$as_echo_n "checking whether to build with code coverage... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_coverage" >&5 -$as_echo "$enable_coverage" >&6; } - - -# Checks for operating system services and capabilities. -# Check whether --enable-largefile was given. -if test "${enable_largefile+set}" = set; then : - enableval=$enable_largefile; -fi - -if test "$enable_largefile" != no; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 -$as_echo_n "checking for special C compiler options needed for large files... " >&6; } -if ${ac_cv_sys_largefile_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_sys_largefile_CC=no - if test "$GCC" != yes; then - ac_save_CC=$CC - while :; do - # IRIX 6.2 and later do not support large files by default, - # so use the C compiler's -n32 option if that helps. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, - since some C++ compilers masquerading as C compilers - incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; -int -main () -{ - - ; - return 0; -} -_ACEOF - if ac_fn_c_try_compile "$LINENO"; then : - break -fi -rm -f core conftest.err conftest.$ac_objext - CC="$CC -n32" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_sys_largefile_CC=' -n32'; break -fi -rm -f core conftest.err conftest.$ac_objext - break - done - CC=$ac_save_CC - rm -f conftest.$ac_ext - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 -$as_echo "$ac_cv_sys_largefile_CC" >&6; } - if test "$ac_cv_sys_largefile_CC" != no; then - CC=$CC$ac_cv_sys_largefile_CC - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 -$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } -if ${ac_cv_sys_file_offset_bits+:} false; then : - $as_echo_n "(cached) " >&6 -else - while :; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, - since some C++ compilers masquerading as C compilers - incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_sys_file_offset_bits=no; break -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#define _FILE_OFFSET_BITS 64 -#include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, - since some C++ compilers masquerading as C compilers - incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; +if test "x$LEX" != "x:"; then + cat >conftest.l <<_ACEOF +%% +a { ECHO; } +b { REJECT; } +c { yymore (); } +d { yyless (1); } +e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ + yyless ((input () != 0)); } +f { unput (yytext[0]); } +. { BEGIN INITIAL; } +%% +#ifdef YYTEXT_POINTER +extern char *yytext; +#endif int -main () +main (void) { - - ; - return 0; + return ! yylex () + ! yywrap (); } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_sys_file_offset_bits=64; break -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cv_sys_file_offset_bits=unknown - break -done -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 -$as_echo "$ac_cv_sys_file_offset_bits" >&6; } -case $ac_cv_sys_file_offset_bits in #( - no | unknown) ;; - *) -cat >>confdefs.h <<_ACEOF -#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits -_ACEOF -;; +{ { ac_try="$LEX conftest.l" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; esac -rm -rf conftest* - if test $ac_cv_sys_file_offset_bits = unknown; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 -$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } -if ${ac_cv_sys_large_files+:} false; then : +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$LEX conftest.l") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 +$as_echo_n "checking lex output file root... " >&6; } +if ${ac_cv_prog_lex_root+:} false; then : $as_echo_n "(cached) " >&6 else - while :; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, - since some C++ compilers masquerading as C compilers - incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_sys_large_files=no; break -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#define _LARGE_FILES 1 -#include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, - since some C++ compilers masquerading as C compilers - incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_sys_large_files=1; break -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cv_sys_large_files=unknown - break -done -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 -$as_echo "$ac_cv_sys_large_files" >&6; } -case $ac_cv_sys_large_files in #( - no | unknown) ;; - *) -cat >>confdefs.h <<_ACEOF -#define _LARGE_FILES $ac_cv_sys_large_files -_ACEOF -;; -esac -rm -rf conftest* - fi - +if test -f lex.yy.c; then + ac_cv_prog_lex_root=lex.yy +elif test -f lexyy.c; then + ac_cv_prog_lex_root=lexyy +else + as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 +$as_echo "$ac_cv_prog_lex_root" >&6; } +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root - -# Checks for libraries. - - - for ac_header in md5.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "md5.h" "ac_cv_header_md5_h" "$ac_includes_default" -if test "x$ac_cv_header_md5_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_MD5_H 1 -_ACEOF - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5Init in -lmd" >&5 -$as_echo_n "checking for MD5Init in -lmd... " >&6; } -if ${ac_cv_lib_md_MD5Init+:} false; then : +if test -z "${LEXLIB+set}"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 +$as_echo_n "checking lex library... " >&6; } +if ${ac_cv_lib_lex+:} false; then : $as_echo_n "(cached) " >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lmd $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char MD5Init (); -int -main () -{ -return MD5Init (); - ; - return 0; -} + ac_save_LIBS=$LIBS + ac_cv_lib_lex='none needed' + for ac_lib in '' -lfl -ll; do + LIBS="$ac_lib $ac_save_LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +`cat $LEX_OUTPUT_ROOT.c` _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_md_MD5Init=yes -else - ac_cv_lib_md_MD5Init=no + ac_cv_lib_lex=$ac_lib fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_md_MD5Init" >&5 -$as_echo "$ac_cv_lib_md_MD5Init" >&6; } -if test "x$ac_cv_lib_md_MD5Init" = xyes; then : - have_libmd=yes -else - - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "md5 digest not found in libmd -See \`config.log' for more details" "$LINENO" 5; } - -fi - - -fi - -done + test "$ac_cv_lib_lex" != 'none needed' && break + done + LIBS=$ac_save_LIBS - if test "x$have_libmd" = "xyes"; then : - MD_LIBS="-lmd" fi - if test "x$ac_cv_lib_md_MD5Init" = "xyes"; then - HAVE_LIBMD_MD5_TRUE= - HAVE_LIBMD_MD5_FALSE='#' -else - HAVE_LIBMD_MD5_TRUE='#' - HAVE_LIBMD_MD5_FALSE= +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 +$as_echo "$ac_cv_lib_lex" >&6; } + test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex fi - - - - -# Check whether --with-zlib was given. -if test "${with_zlib+set}" = set; then : - withval=$with_zlib; -fi - - if test "x$with_zlib" != "xno"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzdopen in -lz" >&5 -$as_echo_n "checking for gzdopen in -lz... " >&6; } -if ${ac_cv_lib_z_gzdopen+:} false; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 +$as_echo_n "checking whether yytext is a pointer... " >&6; } +if ${ac_cv_prog_lex_yytext_pointer+:} false; then : $as_echo_n "(cached) " >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lz $LIBS" + # POSIX says lex can declare yytext either as a pointer or an array; the +# default is implementation-dependent. Figure out which it is, since +# not all implementations provide the %pointer and %array declarations. +ac_cv_prog_lex_yytext_pointer=no +ac_save_LIBS=$LIBS +LIBS="$LEXLIB $ac_save_LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char gzdopen (); -int -main () -{ -return gzdopen (); - ; - return 0; -} + #define YYTEXT_POINTER 1 +`cat $LEX_OUTPUT_ROOT.c` _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_z_gzdopen=yes -else - ac_cv_lib_z_gzdopen=no + ac_cv_prog_lex_yytext_pointer=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzdopen" >&5 -$as_echo "$ac_cv_lib_z_gzdopen" >&6; } -if test "x$ac_cv_lib_z_gzdopen" = xyes; then : - - -$as_echo "#define WITH_ZLIB 1" >>confdefs.h - - if test "x$with_zlib" = "xstatic"; then - dpkg_zlib_libs="-Wl,-Bstatic -lz -Wl,-Bdynamic" - else - dpkg_zlib_libs="-lz" - fi - ZLIB_LIBS="${ZLIB_LIBS:+$ZLIB_LIBS }$dpkg_zlib_libs" - with_zlib="yes" - -else - - if test -n "$with_zlib"; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "zlib library not found -See \`config.log' for more details" "$LINENO" 5; } - fi +LIBS=$ac_save_LIBS fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 +$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } +if test $ac_cv_prog_lex_yytext_pointer = yes; then - - ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" -if test "x$ac_cv_header_zlib_h" = xyes; then : - -else - - if test -n "$with_zlib"; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "zlib header not found -See \`config.log' for more details" "$LINENO" 5; } - fi +$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h fi +rm -f conftest.l $LEX_OUTPUT_ROOT.c +fi - fi - - - - + if test ! -f $srcdir/.dist-version && test "$LEX" = ":"; then : + as_fn_error $? "not building from distributed tarball, lex program required" "$LINENO" 5 -# Check whether --with-bz2 was given. -if test "${with_bz2+set}" = set; then : - withval=$with_bz2; fi - if test "x$with_bz2" != "xno"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzdopen in -lbz2" >&5 -$as_echo_n "checking for BZ2_bzdopen in -lbz2... " >&6; } -if ${ac_cv_lib_bz2_BZ2_bzdopen+:} false; then : +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lbz2 $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char BZ2_bzdopen (); -int -main () -{ -return BZ2_bzdopen (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_bz2_BZ2_bzdopen=yes + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else - ac_cv_lib_bz2_BZ2_bzdopen=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzdopen" >&5 -$as_echo "$ac_cv_lib_bz2_BZ2_bzdopen" >&6; } -if test "x$ac_cv_lib_bz2_BZ2_bzdopen" = xyes; then : - - -$as_echo "#define WITH_BZ2 1" >>confdefs.h +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi - if test "x$with_bz2" = "xstatic"; then - dpkg_bz2_libs="-Wl,-Bstatic -lbz2 -Wl,-Bdynamic" - else - dpkg_bz2_libs="-lbz2" - fi - BZ2_LIBS="${BZ2_LIBS:+$BZ2_LIBS }$dpkg_bz2_libs" - with_bz2="yes" +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 else - - if test -n "$with_bz2"; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "bz2 library not found -See \`config.log' for more details" "$LINENO" 5; } - fi + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS fi - - - ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default" -if test "x$ac_cv_header_bzlib_h" = xyes; then : - +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } else - - if test -n "$with_bz2"; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "bz2 header not found -See \`config.log' for more details" "$LINENO" 5; } - fi - + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi - + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB fi - - - - - - -# Check whether --with-liblzma was given. -if test "${with_liblzma+set}" = set; then : - withval=$with_liblzma; +else + RANLIB="$ac_cv_prog_RANLIB" fi - if test "x$with_liblzma" != "xno"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_alone_decoder in -llzma" >&5 -$as_echo_n "checking for lzma_alone_decoder in -llzma... " >&6; } -if ${ac_cv_lib_lzma_lzma_alone_decoder+:} false; then : +for ac_prog in doxygen +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DOXYGEN+:} false; then : $as_echo_n "(cached) " >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-llzma $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char lzma_alone_decoder (); -int -main () -{ -return lzma_alone_decoder (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_lzma_lzma_alone_decoder=yes + if test -n "$DOXYGEN"; then + ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test. else - ac_cv_lib_lzma_lzma_alone_decoder=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_DOXYGEN="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_alone_decoder" >&5 -$as_echo "$ac_cv_lib_lzma_lzma_alone_decoder" >&6; } -if test "x$ac_cv_lib_lzma_lzma_alone_decoder" = xyes; then : - - -$as_echo "#define WITH_LIBLZMA 1" >>confdefs.h - - if test "x$with_liblzma" = "xstatic"; then - dpkg_liblzma_libs="-Wl,-Bstatic -llzma -Wl,-Bdynamic" - else - dpkg_liblzma_libs="-llzma" - fi - LIBLZMA_LIBS="${LIBLZMA_LIBS:+$LIBLZMA_LIBS }$dpkg_liblzma_libs" - with_liblzma="yes" - +DOXYGEN=$ac_cv_prog_DOXYGEN +if test -n "$DOXYGEN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5 +$as_echo "$DOXYGEN" >&6; } else - - if test -n "$with_liblzma"; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "liblzma library not found -See \`config.log' for more details" "$LINENO" 5; } - fi - + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi - ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default" -if test "x$ac_cv_header_lzma_h" = xyes; then : + test -n "$DOXYGEN" && break +done +# Extract the first word of "dot", so it can be a program name with args. +set dummy dot; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_HAVE_DOT+:} false; then : + $as_echo_n "(cached) " >&6 else + if test -n "$HAVE_DOT"; then + ac_cv_prog_HAVE_DOT="$HAVE_DOT" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_HAVE_DOT="YES" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS - if test -n "$with_liblzma"; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "liblzma header not found -See \`config.log' for more details" "$LINENO" 5; } - fi - + test -z "$ac_cv_prog_HAVE_DOT" && ac_cv_prog_HAVE_DOT="NO" +fi +fi +HAVE_DOT=$ac_cv_prog_HAVE_DOT +if test -n "$HAVE_DOT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOT" >&5 +$as_echo "$HAVE_DOT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_stream_encoder_mt in -llzma" >&5 -$as_echo_n "checking for lzma_stream_encoder_mt in -llzma... " >&6; } -if ${ac_cv_lib_lzma_lzma_stream_encoder_mt+:} false; then : + +for ac_prog in po4a +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_PO4A+:} false; then : $as_echo_n "(cached) " >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-llzma $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char lzma_stream_encoder_mt (); -int -main () -{ -return lzma_stream_encoder_mt (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_lzma_lzma_stream_encoder_mt=yes + if test -n "$PO4A"; then + ac_cv_prog_PO4A="$PO4A" # Let the user override the test. else - ac_cv_lib_lzma_lzma_stream_encoder_mt=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_PO4A="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_stream_encoder_mt" >&5 -$as_echo "$ac_cv_lib_lzma_lzma_stream_encoder_mt" >&6; } -if test "x$ac_cv_lib_lzma_lzma_stream_encoder_mt" = xyes; then : - -$as_echo "#define HAVE_LZMA_MT 1" >>confdefs.h - +PO4A=$ac_cv_prog_PO4A +if test -n "$PO4A"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PO4A" >&5 +$as_echo "$PO4A" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi + test -n "$PO4A" && break +done +if test "$USE_NLS" = "yes" && test -n "$PO4A"; then + USE_PO4A=yes +else + USE_PO4A=no +fi - - - - -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. -set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +# Extract the first word of "perl", so it can be a program name with args. +set dummy perl; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PKG_CONFIG+:} false; then : +if ${ac_cv_path_PERL+:} false; then : $as_echo_n "(cached) " >&6 else - case $PKG_CONFIG in + case $PERL in [\\/]* | ?:[\\/]*) - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ac_cv_path_PERL="$PERL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -20543,7 +8785,7 @@ test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -20551,42 +8793,51 @@ done IFS=$as_save_IFS + test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no" ;; esac fi -PKG_CONFIG=$ac_cv_path_PKG_CONFIG -if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } +PERL=$ac_cv_path_PERL +if test -n "$PERL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 +$as_echo "$PERL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi +if test "$PERL" = "no" || test ! -x "$PERL"; then + as_fn_error $? "cannot find the Perl interpreter" "$LINENO" 5 fi -if test -z "$ac_cv_path_PKG_CONFIG"; then - ac_pt_PKG_CONFIG=$PKG_CONFIG - # Extract the first word of "pkg-config", so it can be a program name with args. -set dummy pkg-config; ac_word=$2 +# Let the user override the variable. +if test -z "$PERL_LIBDIR"; then +PERL_LIBDIR=$($PERL -MConfig -e 'my $r = $Config{vendorlibexp}; + $r =~ s/$Config{vendorprefixexp}/\$(prefix)/; + print $r') +fi + + +for ac_prog in pod2man +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : +if ${ac_cv_prog_POD2MAN+:} false; then : $as_echo_n "(cached) " >&6 else - case $ac_pt_PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + if test -n "$POD2MAN"; then + ac_cv_prog_POD2MAN="$POD2MAN" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + ac_cv_prog_POD2MAN="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -20594,422 +8845,475 @@ done IFS=$as_save_IFS - ;; -esac fi -ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG -if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -$as_echo "$ac_pt_PKG_CONFIG" >&6; } +fi +POD2MAN=$ac_cv_prog_POD2MAN +if test -n "$POD2MAN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5 +$as_echo "$POD2MAN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi - if test "x$ac_pt_PKG_CONFIG" = x; then - PKG_CONFIG="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - PKG_CONFIG=$ac_pt_PKG_CONFIG - fi -else - PKG_CONFIG="$ac_cv_path_PKG_CONFIG" -fi - -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=0.9.0 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - PKG_CONFIG="" - fi -fi + test -n "$POD2MAN" && break +done + if test "x$POD2MAN" != "x"; then + BUILD_POD_DOC_TRUE= + BUILD_POD_DOC_FALSE='#' +else + BUILD_POD_DOC_TRUE='#' + BUILD_POD_DOC_FALSE= +fi -# Check whether --with-selinux was given. -if test "${with_selinux+set}" = set; then : - withval=$with_selinux; -fi -if test "x$with_selinux" != "xno"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_selinux_enabled in -lselinux" >&5 -$as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; } -if ${ac_cv_lib_selinux_is_selinux_enabled+:} false; then : - $as_echo_n "(cached) " >&6 +# Check whether --enable-coverage was given. +if test "${enable_coverage+set}" = set; then : + enableval=$enable_coverage; else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lselinux $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ + enable_coverage=no +fi -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char is_selinux_enabled (); -int -main () -{ -return is_selinux_enabled (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_selinux_is_selinux_enabled=yes + if test x$enable_coverage = xyes; then + COVERAGE_ENABLED_TRUE= + COVERAGE_ENABLED_FALSE='#' else - ac_cv_lib_selinux_is_selinux_enabled=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS + COVERAGE_ENABLED_TRUE='#' + COVERAGE_ENABLED_FALSE= fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5 -$as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; } -if test "x$ac_cv_lib_selinux_is_selinux_enabled" = xyes; then : - -$as_echo "#define WITH_SELINUX 1" >>confdefs.h - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5 - ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - if test "x$with_selinux" = "xstatic"; then - dpkg_selinux_libs="-Wl,-Bstatic "$($PKG_CONFIG --static --libs libselinux)" -Wl,-Bdynamic" - else - dpkg_selinux_libs=$($PKG_CONFIG --libs libselinux) - fi +if test "x$enable_coverage" = "xyes"; then + if test "x$GCC" = "xno"; then + as_fn_error $? "not compiling with gcc, which is required for C coverage support" "$LINENO" 5 + fi + for ac_prog in gcov +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_GCOV+:} false; then : + $as_echo_n "(cached) " >&6 else - - if test "x$with_selinux" = "xstatic"; then - dpkg_selinux_libs="-Wl,-Bstatic -lselinux -lsepol -Wl,-Bdynamic" - else - dpkg_selinux_libs="-lselinux" - fi + if test -n "$GCOV"; then + ac_cv_prog_GCOV="$GCOV" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_GCOV="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS fi - SELINUX_LIBS="${SELINUX_LIBS:+$SELINUX_LIBS }$dpkg_selinux_libs" - with_selinux="yes" +fi +GCOV=$ac_cv_prog_GCOV +if test -n "$GCOV"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5 +$as_echo "$GCOV" >&6; } else - if test -n "$with_selinux"; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "selinux library not found -See \`config.log' for more details" "$LINENO" 5; } - fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setexecfilecon in -lselinux" >&5 -$as_echo_n "checking for setexecfilecon in -lselinux... " >&6; } -if ${ac_cv_lib_selinux_setexecfilecon+:} false; then : + + test -n "$GCOV" && break +done + + if test -z "$GCOV"; then + as_fn_error $? "missing gcov, which is required for C coverage support" "$LINENO" 5 + fi + + for ac_prog in lcov +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_LCOV+:} false; then : $as_echo_n "(cached) " >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lselinux $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char setexecfilecon (); -int -main () -{ -return setexecfilecon (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_selinux_setexecfilecon=yes + if test -n "$LCOV"; then + ac_cv_prog_LCOV="$LCOV" # Let the user override the test. else - ac_cv_lib_selinux_setexecfilecon=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_LCOV="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_setexecfilecon" >&5 -$as_echo "$ac_cv_lib_selinux_setexecfilecon" >&6; } -if test "x$ac_cv_lib_selinux_setexecfilecon" = xyes; then : - -$as_echo "#define HAVE_SETEXECFILECON 1" >>confdefs.h - - +LCOV=$ac_cv_prog_LCOV +if test -n "$LCOV"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5 +$as_echo "$LCOV" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi - ac_fn_c_check_header_mongrel "$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default" -if test "x$ac_cv_header_selinux_selinux_h" = xyes; then : + test -n "$LCOV" && break +done -else - if test -n "$with_selinux"; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "selinux header not found -See \`config.log' for more details" "$LINENO" 5; } - fi -fi + if test -z "$LCOV"; then + as_fn_error $? "missing lcov, which is required for C coverage support" "$LINENO" 5 + fi + for ac_prog in genhtml +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_LCOV_GENHTML+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$LCOV_GENHTML"; then + ac_cv_prog_LCOV_GENHTML="$LCOV_GENHTML" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_LCOV_GENHTML="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS fi - if test "x$with_selinux" = "xyes"; then - WITH_SELINUX_TRUE= - WITH_SELINUX_FALSE='#' -else - WITH_SELINUX_TRUE='#' - WITH_SELINUX_FALSE= fi - - if test "x$ac_cv_lib_selinux_setexecfilecon" = "xyes"; then - HAVE_SETEXECFILECON_TRUE= - HAVE_SETEXECFILECON_FALSE='#' +LCOV_GENHTML=$ac_cv_prog_LCOV_GENHTML +if test -n "$LCOV_GENHTML"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV_GENHTML" >&5 +$as_echo "$LCOV_GENHTML" >&6; } else - HAVE_SETEXECFILECON_TRUE='#' - HAVE_SETEXECFILECON_FALSE= + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi -if test "x$build_dselect" = "xyes"; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Unicode is requested" >&5 -$as_echo_n "checking whether Unicode is requested... " >&6; } - # Check whether --enable-unicode was given. -if test "${enable_unicode+set}" = set; then : - enableval=$enable_unicode; USE_UNICODE=$enableval -else - USE_UNICODE=yes -fi + test -n "$LCOV_GENHTML" && break +done - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_UNICODE" >&5 -$as_echo "$USE_UNICODE" >&6; } + if test -z "$LCOV_GENHTML"; then + as_fn_error $? "missing genhtml, which is required for C coverage support" "$LINENO" 5 + fi + CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage" + LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Devel::Cover perl module" >&5 +$as_echo_n "checking for Devel::Cover perl module... " >&6; } + if $($PERL -e "require Devel::Cover;" 2>/dev/null); then + PERL_COVERAGE="-MDevel::Cover" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +$as_echo "ok" >&6; } + else + as_fn_error $? "Devel::Cover perl module is required for coverage support" "$LINENO" 5 + fi + for ac_prog in cover +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_PERL_COVER+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$PERL_COVER"; then + ac_cv_prog_PERL_COVER="$PERL_COVER" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_PERL_COVER="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS -for ac_header in ncurses/ncurses.h ncurses.h curses.h ncurses/term.h term.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - have_curses_header=yes fi +fi +PERL_COVER=$ac_cv_prog_PERL_COVER +if test -n "$PERL_COVER"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_COVER" >&5 +$as_echo "$PERL_COVER" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + test -n "$PERL_COVER" && break done -if test "x$USE_UNICODE" = "xyes"; then - for ac_header in ncursesw/ncurses.h ncursesw/term.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - have_curses_header=yes + if test -z "$PERL_COVER"; then + as_fn_error $? "missing cover, which is required for perl coverage support" "$LINENO" 5 + fi fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage" >&5 +$as_echo_n "checking whether to build with code coverage... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_coverage" >&5 +$as_echo "$enable_coverage" >&6; } -done - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncursesw" >&5 -$as_echo_n "checking for initscr in -lncursesw... " >&6; } -if ${ac_cv_lib_ncursesw_initscr+:} false; then : +# Checks for operating system services and capabilities. +# Check whether --enable-largefile was given. +if test "${enable_largefile+set}" = set; then : + enableval=$enable_largefile; +fi + +if test "$enable_largefile" != no; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 +$as_echo_n "checking for special C compiler options needed for large files... " >&6; } +if ${ac_cv_sys_largefile_CC+:} false; then : $as_echo_n "(cached) " >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lncursesw $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext + ac_cv_sys_largefile_CC=no + if test "$GCC" != yes; then + ac_save_CC=$CC + while :; do + # IRIX 6.2 and later do not support large files by default, + # so use the C compiler's -n32 option if that helps. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char initscr (); +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; int main () { -return initscr (); + ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_ncursesw_initscr=yes -else - ac_cv_lib_ncursesw_initscr=no + if ac_fn_c_try_compile "$LINENO"; then : + break fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +rm -f core conftest.err conftest.$ac_objext + CC="$CC -n32" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_largefile_CC=' -n32'; break fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_initscr" >&5 -$as_echo "$ac_cv_lib_ncursesw_initscr" >&6; } -if test "x$ac_cv_lib_ncursesw_initscr" = xyes; then : - CURSES_LIBS="${CURSES_LIBS:+$CURSES_LIBS }-lncursesw" -else +rm -f core conftest.err conftest.$ac_objext + break + done + CC=$ac_save_CC + rm -f conftest.$ac_ext + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 +$as_echo "$ac_cv_sys_largefile_CC" >&6; } + if test "$ac_cv_sys_largefile_CC" != no; then + CC=$CC$ac_cv_sys_largefile_CC + fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5 -$as_echo_n "checking for initscr in -lncurses... " >&6; } -if ${ac_cv_lib_ncurses_initscr+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 +$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } +if ${ac_cv_sys_file_offset_bits+:} false; then : $as_echo_n "(cached) " >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lncurses $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=no; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char initscr (); +#define _FILE_OFFSET_BITS 64 +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; int main () { -return initscr (); + ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_ncurses_initscr=yes -else - ac_cv_lib_ncurses_initscr=no +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=64; break fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_file_offset_bits=unknown + break +done fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5 -$as_echo "$ac_cv_lib_ncurses_initscr" >&6; } -if test "x$ac_cv_lib_ncurses_initscr" = xyes; then : - CURSES_LIBS="${CURSES_LIBS:+$CURSES_LIBS }-lncurses" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcurses" >&5 -$as_echo_n "checking for initscr in -lcurses... " >&6; } -if ${ac_cv_lib_curses_initscr+:} false; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 +$as_echo "$ac_cv_sys_file_offset_bits" >&6; } +case $ac_cv_sys_file_offset_bits in #( + no | unknown) ;; + *) +cat >>confdefs.h <<_ACEOF +#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits +_ACEOF +;; +esac +rm -rf conftest* + if test $ac_cv_sys_file_offset_bits = unknown; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 +$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } +if ${ac_cv_sys_large_files+:} false; then : $as_echo_n "(cached) " >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lcurses $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char initscr (); +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; int main () { -return initscr (); + ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_curses_initscr=yes -else - ac_cv_lib_curses_initscr=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_initscr" >&5 -$as_echo "$ac_cv_lib_curses_initscr" >&6; } -if test "x$ac_cv_lib_curses_initscr" = xyes; then : - CURSES_LIBS="${CURSES_LIBS:+$CURSES_LIBS }-lcurses" -else - as_fn_error $? "no curses library found" "$LINENO" 5 -fi - -fi - +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=no; break fi - -else - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5 -$as_echo_n "checking for initscr in -lncurses... " >&6; } -if ${ac_cv_lib_ncurses_initscr+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lncurses $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char initscr (); +#define _LARGE_FILES 1 +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; int main () { -return initscr (); + ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_ncurses_initscr=yes -else - ac_cv_lib_ncurses_initscr=no +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=1; break fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_large_files=unknown + break +done fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5 -$as_echo "$ac_cv_lib_ncurses_initscr" >&6; } -if test "x$ac_cv_lib_ncurses_initscr" = xyes; then : - CURSES_LIBS="${CURSES_LIBS:+$CURSES_LIBS }-lncurses" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcurses" >&5 -$as_echo_n "checking for initscr in -lcurses... " >&6; } -if ${ac_cv_lib_curses_initscr+:} false; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 +$as_echo "$ac_cv_sys_large_files" >&6; } +case $ac_cv_sys_large_files in #( + no | unknown) ;; + *) +cat >>confdefs.h <<_ACEOF +#define _LARGE_FILES $ac_cv_sys_large_files +_ACEOF +;; +esac +rm -rf conftest* + fi + + +fi + + +# Checks for libraries. + + + + +# Check whether --with-zlib was given. +if test "${with_zlib+set}" = set; then : + withval=$with_zlib; +fi + + if test "x$with_zlib" != "xno"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzdopen in -lz" >&5 +$as_echo_n "checking for gzdopen in -lz... " >&6; } +if ${ac_cv_lib_z_gzdopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lcurses $LIBS" +LIBS="-lz $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -21019,51 +9323,86 @@ #ifdef __cplusplus extern "C" #endif -char initscr (); +char gzdopen (); int main () { -return initscr (); +return gzdopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_curses_initscr=yes + ac_cv_lib_z_gzdopen=yes else - ac_cv_lib_curses_initscr=no + ac_cv_lib_z_gzdopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_initscr" >&5 -$as_echo "$ac_cv_lib_curses_initscr" >&6; } -if test "x$ac_cv_lib_curses_initscr" = xyes; then : - CURSES_LIBS="${CURSES_LIBS:+$CURSES_LIBS }-lcurses" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzdopen" >&5 +$as_echo "$ac_cv_lib_z_gzdopen" >&6; } +if test "x$ac_cv_lib_z_gzdopen" = xyes; then : + + +$as_echo "#define WITH_ZLIB 1" >>confdefs.h + + if test "x$with_zlib" = "xstatic"; then + dpkg_zlib_libs="-Wl,-Bstatic -lz -Wl,-Bdynamic" + else + dpkg_zlib_libs="-lz" + fi + ZLIB_LIBS="${ZLIB_LIBS:+$ZLIB_LIBS }$dpkg_zlib_libs" + with_zlib="yes" + else - as_fn_error $? "no curses library found" "$LINENO" 5 -fi -fi + if test -n "$with_zlib"; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "zlib library not found +See \`config.log' for more details" "$LINENO" 5; } + fi fi -if test "x$have_curses_header" != "xyes"; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + + + ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" +if test "x$ac_cv_header_zlib_h" = xyes; then : + +else + + if test -n "$with_zlib"; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "curses header not found +as_fn_error $? "zlib header not found See \`config.log' for more details" "$LINENO" 5; } + fi + fi + + fi + + + + + + +# Check whether --with-bz2 was given. +if test "${with_bz2+set}" = set; then : + withval=$with_bz2; fi -if test "x$build_start_stop_daemon" = "xyes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for proc_stat_list_create in -lps" >&5 -$as_echo_n "checking for proc_stat_list_create in -lps... " >&6; } -if ${ac_cv_lib_ps_proc_stat_list_create+:} false; then : + + if test "x$with_bz2" != "xno"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzdopen in -lbz2" >&5 +$as_echo_n "checking for BZ2_bzdopen in -lbz2... " >&6; } +if ${ac_cv_lib_bz2_BZ2_bzdopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lps $LIBS" +LIBS="-lbz2 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -21073,37 +9412,86 @@ #ifdef __cplusplus extern "C" #endif -char proc_stat_list_create (); +char BZ2_bzdopen (); int main () { -return proc_stat_list_create (); +return BZ2_bzdopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_ps_proc_stat_list_create=yes + ac_cv_lib_bz2_BZ2_bzdopen=yes else - ac_cv_lib_ps_proc_stat_list_create=no + ac_cv_lib_bz2_BZ2_bzdopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ps_proc_stat_list_create" >&5 -$as_echo "$ac_cv_lib_ps_proc_stat_list_create" >&6; } -if test "x$ac_cv_lib_ps_proc_stat_list_create" = xyes; then : - SSD_LIBS="${SSD_LIBS:+$SSD_LIBS }-lps" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzdopen" >&5 +$as_echo "$ac_cv_lib_bz2_BZ2_bzdopen" >&6; } +if test "x$ac_cv_lib_bz2_BZ2_bzdopen" = xyes; then : + + +$as_echo "#define WITH_BZ2 1" >>confdefs.h + + if test "x$with_bz2" = "xstatic"; then + dpkg_bz2_libs="-Wl,-Bstatic -lbz2 -Wl,-Bdynamic" + else + dpkg_bz2_libs="-lbz2" + fi + BZ2_LIBS="${BZ2_LIBS:+$BZ2_LIBS }$dpkg_bz2_libs" + with_bz2="yes" + +else + + if test -n "$with_bz2"; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "bz2 library not found +See \`config.log' for more details" "$LINENO" 5; } + fi + fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_openfiles in -lkvm" >&5 -$as_echo_n "checking for kvm_openfiles in -lkvm... " >&6; } -if ${ac_cv_lib_kvm_kvm_openfiles+:} false; then : + + ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default" +if test "x$ac_cv_header_bzlib_h" = xyes; then : + +else + + if test -n "$with_bz2"; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "bz2 header not found +See \`config.log' for more details" "$LINENO" 5; } + fi + +fi + + + fi + + + + + + +# Check whether --with-liblzma was given. +if test "${with_liblzma+set}" = set; then : + withval=$with_liblzma; +fi + + if test "x$with_liblzma" != "xno"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_alone_decoder in -llzma" >&5 +$as_echo_n "checking for lzma_alone_decoder in -llzma... " >&6; } +if ${ac_cv_lib_lzma_lzma_alone_decoder+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lkvm $LIBS" +LIBS="-llzma $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -21113,1546 +9501,1835 @@ #ifdef __cplusplus extern "C" #endif -char kvm_openfiles (); +char lzma_alone_decoder (); int main () { -return kvm_openfiles (); +return lzma_alone_decoder (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_kvm_kvm_openfiles=yes + ac_cv_lib_lzma_lzma_alone_decoder=yes else - ac_cv_lib_kvm_kvm_openfiles=no + ac_cv_lib_lzma_lzma_alone_decoder=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_openfiles" >&5 -$as_echo "$ac_cv_lib_kvm_kvm_openfiles" >&6; } -if test "x$ac_cv_lib_kvm_kvm_openfiles" = xyes; then : - SSD_LIBS="${SSD_LIBS:+$SSD_LIBS }-lkvm" -fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_alone_decoder" >&5 +$as_echo "$ac_cv_lib_lzma_lzma_alone_decoder" >&6; } +if test "x$ac_cv_lib_lzma_lzma_alone_decoder" = xyes; then : -fi +$as_echo "#define WITH_LIBLZMA 1" >>confdefs.h + + if test "x$with_liblzma" = "xstatic"; then + dpkg_liblzma_libs="-Wl,-Bstatic -llzma -Wl,-Bdynamic" + else + dpkg_liblzma_libs="-llzma" + fi + LIBLZMA_LIBS="${LIBLZMA_LIBS:+$LIBLZMA_LIBS }$dpkg_liblzma_libs" + with_liblzma="yes" -# Checks for header files. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if ${ac_cv_header_stdc+:} false; then : - $as_echo_n "(cached) " >&6 else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#include -#include -int -main () -{ + if test -n "$with_liblzma"; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "liblzma library not found +See \`config.log' for more details" "$LINENO" 5; } + fi - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_header_stdc=yes -else - ac_cv_header_stdc=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then : + ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default" +if test "x$ac_cv_header_lzma_h" = xyes; then : else - ac_cv_header_stdc=no -fi -rm -f conftest* + + if test -n "$with_liblzma"; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "liblzma header not found +See \`config.log' for more details" "$LINENO" 5; } + fi fi -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then : + fi + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 else - ac_cv_header_stdc=no -fi -rm -f conftest* + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + ;; +esac fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then : - : +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } else - ac_cv_header_stdc=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=0.9.0 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then -$as_echo "#define STDC_HEADERS 1" >>confdefs.h -fi -for ac_header in stddef.h error.h err.h locale.h libintl.h kvm.h \ - sys/param.h sys/sysctl.h sys/syscall.h sys/user.h \ - sys/proc.h sys/pstat.h linux/fiemap.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF +# Check whether --with-selinux was given. +if test "${with_selinux+set}" = set; then : + withval=$with_selinux; fi -done - - -# Checks for typedefs, structures, and compiler characteristics. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 -$as_echo_n "checking whether byte ordering is bigendian... " >&6; } -if ${ac_cv_c_bigendian+:} false; then : +if test "x$with_selinux" != "xno"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_selinux_enabled in -lselinux" >&5 +$as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; } +if ${ac_cv_lib_selinux_is_selinux_enabled+:} false; then : $as_echo_n "(cached) " >&6 else - ac_cv_c_bigendian=unknown - # See if we're dealing with a universal compiler. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifndef __APPLE_CC__ - not a universal capable compiler - #endif - typedef int dummy; - -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - - # Check for potential -arch flags. It is not universal unless - # there are at least two -arch flags with different values. - ac_arch= - ac_prev= - for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do - if test -n "$ac_prev"; then - case $ac_word in - i?86 | x86_64 | ppc | ppc64) - if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then - ac_arch=$ac_word - else - ac_cv_c_bigendian=universal - break - fi - ;; - esac - ac_prev= - elif test "x$ac_word" = "x-arch"; then - ac_prev=arch - fi - done -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - if test $ac_cv_c_bigendian = unknown; then - # See if sys/param.h defines the BYTE_ORDER macro. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include - -int -main () -{ -#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ - && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ - && LITTLE_ENDIAN) - bogus endian macros - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - # It does; now see whether it defined to BIG_ENDIAN or not. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + ac_check_lib_save_LIBS=$LIBS +LIBS="-lselinux $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #include +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char is_selinux_enabled (); int main () { -#if BYTE_ORDER != BIG_ENDIAN - not big endian - #endif - +return is_selinux_enabled (); ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_c_bigendian=yes +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_selinux_is_selinux_enabled=yes else - ac_cv_c_bigendian=no + ac_cv_lib_selinux_is_selinux_enabled=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - if test $ac_cv_c_bigendian = unknown; then - # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -int -main () -{ -#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) - bogus endian macros - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - # It does; now see whether it defined to _BIG_ENDIAN or not. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -int -main () -{ -#ifndef _BIG_ENDIAN - not big endian - #endif +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5 +$as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; } +if test "x$ac_cv_lib_selinux_is_selinux_enabled" = xyes; then : - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_c_bigendian=yes -else - ac_cv_c_bigendian=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - if test $ac_cv_c_bigendian = unknown; then - # Compile a test program. - if test "$cross_compiling" = yes; then : - # Try to guess by grepping values from an object file. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -short int ascii_mm[] = - { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; - short int ascii_ii[] = - { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; - int use_ascii (int i) { - return ascii_mm[i] + ascii_ii[i]; - } - short int ebcdic_ii[] = - { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; - short int ebcdic_mm[] = - { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; - int use_ebcdic (int i) { - return ebcdic_mm[i] + ebcdic_ii[i]; - } - extern int foo; +$as_echo "#define WITH_SELINUX 1" >>confdefs.h + + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + + if test "x$with_selinux" = "xstatic"; then + dpkg_selinux_libs="-Wl,-Bstatic "$($PKG_CONFIG --static --libs libselinux)" -Wl,-Bdynamic" + else + dpkg_selinux_libs=$($PKG_CONFIG --libs libselinux) + fi + +else + + if test "x$with_selinux" = "xstatic"; then + dpkg_selinux_libs="-Wl,-Bstatic -lselinux -lsepol -Wl,-Bdynamic" + else + dpkg_selinux_libs="-lselinux" + fi -int -main () -{ -return use_ascii (foo) == use_ebcdic (foo); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then - ac_cv_c_bigendian=yes - fi - if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then - if test "$ac_cv_c_bigendian" = unknown; then - ac_cv_c_bigendian=no - else - # finding both strings is unlikely to happen, but who knows? - ac_cv_c_bigendian=unknown - fi - fi fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + SELINUX_LIBS="${SELINUX_LIBS:+$SELINUX_LIBS }$dpkg_selinux_libs" + with_selinux="yes" else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ + if test -n "$with_selinux"; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "selinux library not found +See \`config.log' for more details" "$LINENO" 5; } + fi +fi - /* Are we little or big endian? From Harbison&Steele. */ - union - { - long int l; - char c[sizeof (long int)]; - } u; - u.l = 1; - return u.c[sizeof (long int) - 1] == 1; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - ac_cv_c_bigendian=no + ac_fn_c_check_header_mongrel "$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default" +if test "x$ac_cv_header_selinux_selinux_h" = xyes; then : + else - ac_cv_c_bigendian=yes + if test -n "$with_selinux"; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "selinux header not found +See \`config.log' for more details" "$LINENO" 5; } + fi fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + + fi - fi +if test "x$build_dselect" = "xyes"; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Unicode is requested" >&5 +$as_echo_n "checking whether Unicode is requested... " >&6; } + # Check whether --enable-unicode was given. +if test "${enable_unicode+set}" = set; then : + enableval=$enable_unicode; USE_UNICODE=$enableval +else + USE_UNICODE=yes fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 -$as_echo "$ac_cv_c_bigendian" >&6; } - case $ac_cv_c_bigendian in #( - yes) - $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h -;; #( - no) - ;; #( - universal) -$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_UNICODE" >&5 +$as_echo "$USE_UNICODE" >&6; } - ;; #( - *) - as_fn_error $? "unknown endianness - presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; - esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 -$as_echo_n "checking for an ANSI C-conforming const... " >&6; } -if ${ac_cv_c_const+:} false; then : + + +for ac_header in ncurses/ncurses.h ncurses.h curses.h ncurses/term.h term.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + have_curses_header=yes +fi + +done + +if test "x$USE_UNICODE" = "xyes"; then + for ac_header in ncursesw/ncurses.h ncursesw/term.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + have_curses_header=yes +fi + +done + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncursesw" >&5 +$as_echo_n "checking for initscr in -lncursesw... " >&6; } +if ${ac_cv_lib_ncursesw_initscr+:} false; then : $as_echo_n "(cached) " >&6 else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + ac_check_lib_save_LIBS=$LIBS +LIBS="-lncursesw $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char initscr (); int main () { - -#ifndef __cplusplus - /* Ultrix mips cc rejects this sort of thing. */ - typedef int charset[2]; - const charset cs = { 0, 0 }; - /* SunOS 4.1.1 cc rejects this. */ - char const *const *pcpcc; - char **ppc; - /* NEC SVR4.0.2 mips cc rejects this. */ - struct point {int x, y;}; - static struct point const zero = {0,0}; - /* AIX XL C 1.02.0.0 rejects this. - It does not let you subtract one const X* pointer from another in - an arm of an if-expression whose if-part is not a constant - expression */ - const char *g = "string"; - pcpcc = &g + (g ? g-g : 0); - /* HPUX 7.0 cc rejects these. */ - ++pcpcc; - ppc = (char**) pcpcc; - pcpcc = (char const *const *) ppc; - { /* SCO 3.2v4 cc rejects this sort of thing. */ - char tx; - char *t = &tx; - char const *s = 0 ? (char *) 0 : (char const *) 0; - - *t++ = 0; - if (s) return 0; - } - { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ - int x[] = {25, 17}; - const int *foo = &x[0]; - ++foo; - } - { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ - typedef const int *iptr; - iptr p = 0; - ++p; - } - { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ - struct s { int j; const int *ap[3]; } bx; - struct s *b = &bx; b->j = 5; - } - { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ - const int foo = 10; - if (!foo) return 0; - } - return !cs[0] && !zero.x; -#endif - +return initscr (); ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_c_const=yes +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_ncursesw_initscr=yes else - ac_cv_c_const=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_lib_ncursesw_initscr=no fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 -$as_echo "$ac_cv_c_const" >&6; } -if test $ac_cv_c_const = no; then - -$as_echo "#define const /**/" >>confdefs.h - +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_initscr" >&5 +$as_echo "$ac_cv_lib_ncursesw_initscr" >&6; } +if test "x$ac_cv_lib_ncursesw_initscr" = xyes; then : + CURSES_LIBS="${CURSES_LIBS:+$CURSES_LIBS }-lncursesw" +else -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 -$as_echo_n "checking for inline... " >&6; } -if ${ac_cv_c_inline+:} false; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5 +$as_echo_n "checking for initscr in -lncurses... " >&6; } +if ${ac_cv_lib_ncurses_initscr+:} false; then : $as_echo_n "(cached) " >&6 else - ac_cv_c_inline=no -for ac_kw in inline __inline__ __inline; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + ac_check_lib_save_LIBS=$LIBS +LIBS="-lncurses $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#ifndef __cplusplus -typedef int foo_t; -static $ac_kw foo_t static_foo () {return 0; } -$ac_kw foo_t foo () {return 0; } -#endif -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_c_inline=$ac_kw -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - test "$ac_cv_c_inline" != no && break -done - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 -$as_echo "$ac_cv_c_inline" >&6; } - -case $ac_cv_c_inline in - inline | yes) ;; - *) - case $ac_cv_c_inline in - no) ac_val=;; - *) ac_val=$ac_cv_c_inline;; - esac - cat >>confdefs.h <<_ACEOF -#ifndef __cplusplus -#define inline $ac_val +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" #endif +char initscr (); +int +main () +{ +return initscr (); + ; + return 0; +} _ACEOF - ;; -esac - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 -$as_echo_n "checking for working volatile... " >&6; } -if ${ac_cv_c_volatile+:} false; then : +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_ncurses_initscr=yes +else + ac_cv_lib_ncurses_initscr=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5 +$as_echo "$ac_cv_lib_ncurses_initscr" >&6; } +if test "x$ac_cv_lib_ncurses_initscr" = xyes; then : + CURSES_LIBS="${CURSES_LIBS:+$CURSES_LIBS }-lncurses" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcurses" >&5 +$as_echo_n "checking for initscr in -lcurses... " >&6; } +if ${ac_cv_lib_curses_initscr+:} false; then : $as_echo_n "(cached) " >&6 else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + ac_check_lib_save_LIBS=$LIBS +LIBS="-lcurses $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char initscr (); int main () { - -volatile int x; -int * volatile y = (int *) 0; -return !x && !y; +return initscr (); ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_c_volatile=yes +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_curses_initscr=yes else - ac_cv_c_volatile=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_lib_curses_initscr=no fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 -$as_echo "$ac_cv_c_volatile" >&6; } -if test $ac_cv_c_volatile = no; then - -$as_echo "#define volatile /**/" >>confdefs.h - +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS fi - -ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" -if test "x$ac_cv_type_mode_t" = xyes; then : - +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_initscr" >&5 +$as_echo "$ac_cv_lib_curses_initscr" >&6; } +if test "x$ac_cv_lib_curses_initscr" = xyes; then : + CURSES_LIBS="${CURSES_LIBS:+$CURSES_LIBS }-lcurses" else - -cat >>confdefs.h <<_ACEOF -#define mode_t int -_ACEOF - + as_fn_error $? "no curses library found" "$LINENO" 5 fi -ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" -if test "x$ac_cv_type_pid_t" = xyes; then : - -else - -cat >>confdefs.h <<_ACEOF -#define pid_t int -_ACEOF - fi -ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" -if test "x$ac_cv_type_size_t" = xyes; then : - -else - -cat >>confdefs.h <<_ACEOF -#define size_t unsigned int -_ACEOF - fi - - - ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default" -if test "x$ac_cv_type_u_int8_t" = xyes; then : - else -cat >>confdefs.h <<_ACEOF -#define u_int8_t uint8_t -_ACEOF - -fi - - - - ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default" -if test "x$ac_cv_type_u_int16_t" = xyes; then : - +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5 +$as_echo_n "checking for initscr in -lncurses... " >&6; } +if ${ac_cv_lib_ncurses_initscr+:} false; then : + $as_echo_n "(cached) " >&6 else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lncurses $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -cat >>confdefs.h <<_ACEOF -#define u_int16_t uint16_t +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char initscr (); +int +main () +{ +return initscr (); + ; + return 0; +} _ACEOF - -fi - - - - ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default" -if test "x$ac_cv_type_u_int32_t" = xyes; then : - +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_ncurses_initscr=yes else - -cat >>confdefs.h <<_ACEOF -#define u_int32_t uint32_t -_ACEOF - + ac_cv_lib_ncurses_initscr=no fi - - - - ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default" -if test "x$ac_cv_type_u_int64_t" = xyes; then : - +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5 +$as_echo "$ac_cv_lib_ncurses_initscr" >&6; } +if test "x$ac_cv_lib_ncurses_initscr" = xyes; then : + CURSES_LIBS="${CURSES_LIBS:+$CURSES_LIBS }-lncurses" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcurses" >&5 +$as_echo_n "checking for initscr in -lcurses... " >&6; } +if ${ac_cv_lib_curses_initscr+:} false; then : + $as_echo_n "(cached) " >&6 else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lcurses $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -cat >>confdefs.h <<_ACEOF -#define u_int64_t uint64_t +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char initscr (); +int +main () +{ +return initscr (); + ; + return 0; +} _ACEOF - +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_curses_initscr=yes +else + ac_cv_lib_curses_initscr=no fi - - - -ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" -if test "x$ac_cv_type_ptrdiff_t" = xyes; then : - +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_initscr" >&5 +$as_echo "$ac_cv_lib_curses_initscr" >&6; } +if test "x$ac_cv_lib_curses_initscr" = xyes; then : + CURSES_LIBS="${CURSES_LIBS:+$CURSES_LIBS }-lcurses" else + as_fn_error $? "no curses library found" "$LINENO" 5 +fi -cat >>confdefs.h <<_ACEOF -#define ptrdiff_t int -_ACEOF +fi fi +if test "x$have_curses_header" != "xyes"; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "curses header not found +See \`config.log' for more details" "$LINENO" 5; } +fi -# The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5 -$as_echo_n "checking size of unsigned int... " >&6; } -if ${ac_cv_sizeof_unsigned_int+:} false; then : +fi +if test "x$build_start_stop_daemon" = "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ihash_create in -lihash" >&5 +$as_echo_n "checking for ihash_create in -lihash... " >&6; } +if ${ac_cv_lib_ihash_ihash_create+:} false; then : $as_echo_n "(cached) " >&6 else - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then : + ac_check_lib_save_LIBS=$LIBS +LIBS="-lihash $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char ihash_create (); +int +main () +{ +return ihash_create (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_ihash_ihash_create=yes else - if test "$ac_cv_type_unsigned_int" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (unsigned int) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_unsigned_int=0 - fi + ac_cv_lib_ihash_ihash_create=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS fi - +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ihash_ihash_create" >&5 +$as_echo "$ac_cv_lib_ihash_ihash_create" >&6; } +if test "x$ac_cv_lib_ihash_ihash_create" = xyes; then : + SSD_LIBS="${SSD_LIBS:+$SSD_LIBS }-lihash" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5 -$as_echo "$ac_cv_sizeof_unsigned_int" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int -_ACEOF - -# The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5 -$as_echo_n "checking size of unsigned long... " >&6; } -if ${ac_cv_sizeof_unsigned_long+:} false; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for proc_stat_list_create in -lps" >&5 +$as_echo_n "checking for proc_stat_list_create in -lps... " >&6; } +if ${ac_cv_lib_ps_proc_stat_list_create+:} false; then : $as_echo_n "(cached) " >&6 else - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then : + ac_check_lib_save_LIBS=$LIBS +LIBS="-lps $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char proc_stat_list_create (); +int +main () +{ +return proc_stat_list_create (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_ps_proc_stat_list_create=yes else - if test "$ac_cv_type_unsigned_long" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (unsigned long) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_unsigned_long=0 - fi + ac_cv_lib_ps_proc_stat_list_create=no fi - +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5 -$as_echo "$ac_cv_sizeof_unsigned_long" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long -_ACEOF - - -for ac_header in unistd.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" -if test "x$ac_cv_header_unistd_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_UNISTD_H 1 -_ACEOF - +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ps_proc_stat_list_create" >&5 +$as_echo "$ac_cv_lib_ps_proc_stat_list_create" >&6; } +if test "x$ac_cv_lib_ps_proc_stat_list_create" = xyes; then : + SSD_LIBS="${SSD_LIBS:+$SSD_LIBS }-lps" fi -done - -ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "#include -/* NetBSD declares sys_siglist in unistd.h. */ -#if HAVE_UNISTD_H -# include -#endif - -" -if test "x$ac_cv_have_decl_sys_siglist" = xyes; then : - ac_have_decl=1 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmt_past_time in -lshouldbeinlibc" >&5 +$as_echo_n "checking for fmt_past_time in -lshouldbeinlibc... " >&6; } +if ${ac_cv_lib_shouldbeinlibc_fmt_past_time+:} false; then : + $as_echo_n "(cached) " >&6 else - ac_have_decl=0 -fi + ac_check_lib_save_LIBS=$LIBS +LIBS="-lshouldbeinlibc $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_SYS_SIGLIST $ac_have_decl +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char fmt_past_time (); +int +main () +{ +return fmt_past_time (); + ; + return 0; +} _ACEOF - - - ac_fn_c_check_decl "$LINENO" "sys_errlist" "ac_cv_have_decl_sys_errlist" " -#include -/* glibc declares sys_errlist in stdio.h. */ -#include - -" -if test "x$ac_cv_have_decl_sys_errlist" = xyes; then : - ac_have_decl=1 +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_shouldbeinlibc_fmt_past_time=yes else - ac_have_decl=0 + ac_cv_lib_shouldbeinlibc_fmt_past_time=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shouldbeinlibc_fmt_past_time" >&5 +$as_echo "$ac_cv_lib_shouldbeinlibc_fmt_past_time" >&6; } +if test "x$ac_cv_lib_shouldbeinlibc_fmt_past_time" = xyes; then : + SSD_LIBS="${SSD_LIBS:+$SSD_LIBS }-lshouldbeinlibc" fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_SYS_ERRLIST $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "sys_nerr" "ac_cv_have_decl_sys_nerr" " -#include -/* glibc declares sys_errlist in stdio.h. */ -#include - -" -if test "x$ac_cv_have_decl_sys_nerr" = xyes; then : - ac_have_decl=1 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_openfiles in -lkvm" >&5 +$as_echo_n "checking for kvm_openfiles in -lkvm... " >&6; } +if ${ac_cv_lib_kvm_kvm_openfiles+:} false; then : + $as_echo_n "(cached) " >&6 else - ac_have_decl=0 -fi + ac_check_lib_save_LIBS=$LIBS +LIBS="-lkvm $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_SYS_NERR $ac_have_decl +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char kvm_openfiles (); +int +main () +{ +return kvm_openfiles (); + ; + return 0; +} _ACEOF - - if test "x$ac_cv_have_decl_sys_errlist" = "xyes" && \ - test "x$ac_cv_have_decl_sys_nerr" = "xyes"; then - HAVE_SYS_ERRLIST_TRUE= - HAVE_SYS_ERRLIST_FALSE='#' +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_kvm_kvm_openfiles=yes else - HAVE_SYS_ERRLIST_TRUE='#' - HAVE_SYS_ERRLIST_FALSE= + ac_cv_lib_kvm_kvm_openfiles=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_openfiles" >&5 +$as_echo "$ac_cv_lib_kvm_kvm_openfiles" >&6; } +if test "x$ac_cv_lib_kvm_kvm_openfiles" = xyes; then : + SSD_LIBS="${SSD_LIBS:+$SSD_LIBS }-lkvm" fi +fi -# Checks for library functions. - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 -$as_echo_n "checking for va_copy... " >&6; } -if ${dpkg_cv_va_copy+:} false; then : +# Checks for header files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include #include +#include +#include + int main () { -va_list v1, v2; -va_copy(v1, v2); - - ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_va_copy=yes + ac_cv_header_stdc=yes else - dpkg_cv_va_copy=no - + ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_va_copy" >&5 -$as_echo "$dpkg_cv_va_copy" >&6; } - if test "x$dpkg_cv_va_copy" = "xyes"; then : - - -$as_echo "#define HAVE_VA_COPY 1" >>confdefs.h - - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C99 snprintf functions" >&5 -$as_echo_n "checking for C99 snprintf functions... " >&6; } -if ${dpkg_cv_c99_snprintf+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - dpkg_cv_c99_snprintf=maybe -else +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - -#include -#include #include -int test_vsnprintf(const char *fmt, ...) -{ - int n; - va_list args; - va_start(args, fmt); - n = vsnprintf(NULL, 0, fmt, args); - va_end(args); - - return n; -} -int main() -{ - int n; +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : - n = snprintf(NULL, 0, "format %s %d", "string", 10); - if (n != strlen("format string 10")) - return 1; +else + ac_cv_header_stdc=no +fi +rm -f conftest* - n = test_vsnprintf("format %s %d", "string", 10); - if (n != strlen("format string 10")) - return 1; +fi - return 0; -} +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include _ACEOF -if ac_fn_c_try_run "$LINENO"; then : - dpkg_cv_c99_snprintf=yes -else - dpkg_cv_c99_snprintf=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no fi +rm -f conftest* +fi - if test "x$dpkg_cv_c99_snprintf" = "xmaybe"; then : +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - -#define _GNU_SOURCE 1 -#include -#if !defined(_XOPEN_VERSION) || _XOPEN_VERSION < 600 -#error "snprintf() has conflicting semantics with C99 on SUSv2 and earlier" +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif - +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_c99_snprintf=yes -else - dpkg_cv_c99_snprintf=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +if ac_fn_c_try_run "$LINENO"; then : +else + ac_cv_header_stdc=no fi - +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_c99_snprintf" >&5 -$as_echo "$dpkg_cv_c99_snprintf" >&6; } -if test "x$dpkg_cv_c99_snprintf" = "xyes"; then : - -$as_echo "#define HAVE_C99_SNPRINTF 1" >>confdefs.h fi - if test "x$dpkg_cv_c99_snprintf" = "xyes"; then - HAVE_C99_SNPRINTF_TRUE= - HAVE_C99_SNPRINTF_FALSE='#' -else - HAVE_C99_SNPRINTF_TRUE='#' - HAVE_C99_SNPRINTF_FALSE= fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then - - - ac_fn_c_check_decl "$LINENO" "offsetof" "ac_cv_have_decl_offsetof" "#include -" -if test "x$ac_cv_have_decl_offsetof" = xyes; then : - -$as_echo "#define HAVE_OFFSETOF 1" >>confdefs.h +$as_echo "#define STDC_HEADERS 1" >>confdefs.h fi - - - ac_fn_c_check_decl "$LINENO" "makedev" "ac_cv_have_decl_makedev" "#include -" -if test "x$ac_cv_have_decl_makedev" = xyes; then : - -$as_echo "#define HAVE_MAKEDEV 1" >>confdefs.h +for ac_header in stddef.h error.h locale.h libintl.h kvm.h \ + sys/syscall.h linux/fiemap.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF fi +done - ac_fn_c_check_decl "$LINENO" "WCOREDUMP" "ac_cv_have_decl_WCOREDUMP" "#include -" -if test "x$ac_cv_have_decl_WCOREDUMP" = xyes; then : +# Checks for typedefs, structures, and compiler characteristics. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 +$as_echo_n "checking whether byte ordering is bigendian... " >&6; } +if ${ac_cv_c_bigendian+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_bigendian=unknown + # See if we're dealing with a universal compiler. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __APPLE_CC__ + not a universal capable compiler + #endif + typedef int dummy; -$as_echo "#define HAVE_WCOREDUMP 1" >>confdefs.h +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + # Check for potential -arch flags. It is not universal unless + # there are at least two -arch flags with different values. + ac_arch= + ac_prev= + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do + if test -n "$ac_prev"; then + case $ac_word in + i?86 | x86_64 | ppc | ppc64) + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then + ac_arch=$ac_word + else + ac_cv_c_bigendian=universal + break + fi + ;; + esac + ac_prev= + elif test "x$ac_word" = "x-arch"; then + ac_prev=arch + fi + done fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test $ac_cv_c_bigendian = unknown; then + # See if sys/param.h defines the BYTE_ORDER macro. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include +int +main () +{ +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ + && LITTLE_ENDIAN) + bogus endian macros + #endif + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + # It does; now see whether it defined to BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include - ac_fn_c_check_decl "$LINENO" "TIOCNOTTY" "ac_cv_have_decl_TIOCNOTTY" "#include -" -if test "x$ac_cv_have_decl_TIOCNOTTY" = xyes; then : - -$as_echo "#define HAVE_TIOCNOTTY 1" >>confdefs.h +int +main () +{ +#if BYTE_ORDER != BIG_ENDIAN + not big endian + #endif + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no fi - - - - ac_fn_c_check_decl "$LINENO" "O_NOFOLLOW" "ac_cv_have_decl_O_NOFOLLOW" "#include -" -if test "x$ac_cv_have_decl_O_NOFOLLOW" = xyes; then : - -$as_echo "#define HAVE_O_NOFOLLOW 1" >>confdefs.h - +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) + bogus endian macros + #endif + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + # It does; now see whether it defined to _BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include - ac_fn_c_check_decl "$LINENO" "F_ALLOCSP64" "ac_cv_have_decl_F_ALLOCSP64" "#include -" -if test "x$ac_cv_have_decl_F_ALLOCSP64" = xyes; then : - -$as_echo "#define HAVE_F_ALLOCSP64 1" >>confdefs.h +int +main () +{ +#ifndef _BIG_ENDIAN + not big endian + #endif + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no fi - - - - ac_fn_c_check_decl "$LINENO" "F_PREALLOCATE" "ac_cv_have_decl_F_PREALLOCATE" "#include -" -if test "x$ac_cv_have_decl_F_PREALLOCATE" = xyes; then : - -$as_echo "#define HAVE_F_PREALLOCATE 1" >>confdefs.h - +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # Compile a test program. + if test "$cross_compiling" = yes; then : + # Try to guess by grepping values from an object file. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +short int ascii_mm[] = + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; + short int ascii_ii[] = + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; + int use_ascii (int i) { + return ascii_mm[i] + ascii_ii[i]; + } + short int ebcdic_ii[] = + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; + short int ebcdic_mm[] = + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; + int use_ebcdic (int i) { + return ebcdic_mm[i] + ebcdic_ii[i]; + } + extern int foo; - - - ac_fn_c_check_decl "$LINENO" "P_tmpdir" "ac_cv_have_decl_P_tmpdir" "#include -" -if test "x$ac_cv_have_decl_P_tmpdir" = xyes; then : - -$as_echo "#define HAVE_P_TMPDIR 1" >>confdefs.h - +int +main () +{ +return use_ascii (foo) == use_ebcdic (foo); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then + ac_cv_c_bigendian=yes + fi + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then + if test "$ac_cv_c_bigendian" = unknown; then + ac_cv_c_bigendian=no + else + # finding both strings is unlikely to happen, but who knows? + ac_cv_c_bigendian=unknown + fi + fi fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for program_invocation_short_name" >&5 -$as_echo_n "checking for program_invocation_short_name... " >&6; } +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +$ac_includes_default int main () { -const char *p = program_invocation_short_name; + + /* Are we little or big endian? From Harbison&Steele. */ + union + { + long int l; + char c[sizeof (long int)]; + } u; + u.l = 1; + return u.c[sizeof (long int) - 1] == 1; + ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - -$as_echo "#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_c_bigendian=no else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + ac_cv_c_bigendian=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __progname" >&5 -$as_echo_n "checking for __progname... " >&6; } + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 +$as_echo "$ac_cv_c_bigendian" >&6; } + case $ac_cv_c_bigendian in #( + yes) + $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h +;; #( + no) + ;; #( + universal) + +$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h + + ;; #( + *) + as_fn_error $? "unknown endianness + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; + esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 +$as_echo_n "checking for an ANSI C-conforming const... " >&6; } +if ${ac_cv_c_const+:} false; then : + $as_echo_n "(cached) " >&6 +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { -extern char *__progname; - const char *p = __progname; + +#ifndef __cplusplus + /* Ultrix mips cc rejects this sort of thing. */ + typedef int charset[2]; + const charset cs = { 0, 0 }; + /* SunOS 4.1.1 cc rejects this. */ + char const *const *pcpcc; + char **ppc; + /* NEC SVR4.0.2 mips cc rejects this. */ + struct point {int x, y;}; + static struct point const zero = {0,0}; + /* AIX XL C 1.02.0.0 rejects this. + It does not let you subtract one const X* pointer from another in + an arm of an if-expression whose if-part is not a constant + expression */ + const char *g = "string"; + pcpcc = &g + (g ? g-g : 0); + /* HPUX 7.0 cc rejects these. */ + ++pcpcc; + ppc = (char**) pcpcc; + pcpcc = (char const *const *) ppc; + { /* SCO 3.2v4 cc rejects this sort of thing. */ + char tx; + char *t = &tx; + char const *s = 0 ? (char *) 0 : (char const *) 0; + + *t++ = 0; + if (s) return 0; + } + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ + int x[] = {25, 17}; + const int *foo = &x[0]; + ++foo; + } + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ + typedef const int *iptr; + iptr p = 0; + ++p; + } + { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ + struct s { int j; const int *ap[3]; } bx; + struct s *b = &bx; b->j = 5; + } + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ + const int foo = 10; + if (!foo) return 0; + } + return !cs[0] && !zero.x; +#endif + ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - -$as_echo "#define HAVE___PROGNAME 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_const=yes else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + ac_cv_c_const=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - - - for ac_func in getopt getopt_long obstack_free \ - strnlen strndup strerror strsignal asprintf \ - scandir alphasort unsetenv -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -done +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 +$as_echo "$ac_cv_c_const" >&6; } +if test $ac_cv_c_const = no; then +$as_echo "#define const /**/" >>confdefs.h - if test "x$ac_cv_func_getopt" = "xyes"; then - HAVE_GETOPT_TRUE= - HAVE_GETOPT_FALSE='#' -else - HAVE_GETOPT_TRUE='#' - HAVE_GETOPT_FALSE= fi - - if test "x$ac_cv_func_getopt_long" = "xyes"; then - HAVE_GETOPT_LONG_TRUE= - HAVE_GETOPT_LONG_FALSE='#' +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 +$as_echo_n "checking for inline... " >&6; } +if ${ac_cv_c_inline+:} false; then : + $as_echo_n "(cached) " >&6 else - HAVE_GETOPT_LONG_TRUE='#' - HAVE_GETOPT_LONG_FALSE= -fi - + ac_cv_c_inline=no +for ac_kw in inline __inline__ __inline; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __cplusplus +typedef int foo_t; +static $ac_kw foo_t static_foo () {return 0; } +$ac_kw foo_t foo () {return 0; } +#endif - if test "x$ac_cv_func_obstack_free" = "xyes"; then - HAVE_OBSTACK_FREE_TRUE= - HAVE_OBSTACK_FREE_FALSE='#' -else - HAVE_OBSTACK_FREE_TRUE='#' - HAVE_OBSTACK_FREE_FALSE= +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_inline=$ac_kw fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test "$ac_cv_c_inline" != no && break +done - - if test "x$ac_cv_func_strnlen" = "xyes"; then - HAVE_STRNLEN_TRUE= - HAVE_STRNLEN_FALSE='#' -else - HAVE_STRNLEN_TRUE='#' - HAVE_STRNLEN_FALSE= fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 +$as_echo "$ac_cv_c_inline" >&6; } +case $ac_cv_c_inline in + inline | yes) ;; + *) + case $ac_cv_c_inline in + no) ac_val=;; + *) ac_val=$ac_cv_c_inline;; + esac + cat >>confdefs.h <<_ACEOF +#ifndef __cplusplus +#define inline $ac_val +#endif +_ACEOF + ;; +esac - if test "x$ac_cv_func_strndup" = "xyes"; then - HAVE_STRNDUP_TRUE= - HAVE_STRNDUP_FALSE='#' +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 +$as_echo_n "checking for working volatile... " >&6; } +if ${ac_cv_c_volatile+:} false; then : + $as_echo_n "(cached) " >&6 else - HAVE_STRNDUP_TRUE='#' - HAVE_STRNDUP_FALSE= -fi + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int +main () +{ - if test "x$ac_cv_func_strerror" = "xyes"; then - HAVE_STRERROR_TRUE= - HAVE_STRERROR_FALSE='#' +volatile int x; +int * volatile y = (int *) 0; +return !x && !y; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_volatile=yes else - HAVE_STRERROR_TRUE='#' - HAVE_STRERROR_FALSE= + ac_cv_c_volatile=no fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 +$as_echo "$ac_cv_c_volatile" >&6; } +if test $ac_cv_c_volatile = no; then +$as_echo "#define volatile /**/" >>confdefs.h - if test "x$ac_cv_func_strsignal" = "xyes"; then - HAVE_STRSIGNAL_TRUE= - HAVE_STRSIGNAL_FALSE='#' -else - HAVE_STRSIGNAL_TRUE='#' - HAVE_STRSIGNAL_FALSE= fi +ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" +if test "x$ac_cv_type_mode_t" = xyes; then : - if test "x$ac_cv_func_asprintf" = "xyes"; then - HAVE_ASPRINTF_TRUE= - HAVE_ASPRINTF_FALSE='#' else - HAVE_ASPRINTF_TRUE='#' - HAVE_ASPRINTF_FALSE= -fi +cat >>confdefs.h <<_ACEOF +#define mode_t int +_ACEOF - if test "x$ac_cv_func_scandir" = "xyes"; then - HAVE_SCANDIR_TRUE= - HAVE_SCANDIR_FALSE='#' -else - HAVE_SCANDIR_TRUE='#' - HAVE_SCANDIR_FALSE= fi +ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" +if test "x$ac_cv_type_pid_t" = xyes; then : - if test "x$ac_cv_func_alphasort" = "xyes"; then - HAVE_ALPHASORT_TRUE= - HAVE_ALPHASORT_FALSE='#' else - HAVE_ALPHASORT_TRUE='#' - HAVE_ALPHASORT_FALSE= + +cat >>confdefs.h <<_ACEOF +#define pid_t int +_ACEOF + fi +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" +if test "x$ac_cv_type_size_t" = xyes; then : - if test "x$ac_cv_func_unsetenv" = "xyes"; then - HAVE_UNSETENV_TRUE= - HAVE_UNSETENV_FALSE='#' else - HAVE_UNSETENV_TRUE='#' - HAVE_UNSETENV_FALSE= + +cat >>confdefs.h <<_ACEOF +#define size_t unsigned int +_ACEOF + fi -for ac_func in memcpy lchown -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF + ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default" +if test "x$ac_cv_type_u_int8_t" = xyes; then : else - as_fn_error $? "missing required function" "$LINENO" 5 -fi -done -for ac_func in strtoimax isascii setsid getdtablesize \ - getprogname getexecname lutimes \ - fallocate posix_fallocate posix_fadvise -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +cat >>confdefs.h <<_ACEOF +#define u_int8_t uint8_t _ACEOF fi -done - # Check whether --enable-mmap was given. -if test "${enable_mmap+set}" = set; then : - enableval=$enable_mmap; -else - enable_mmap=no -fi - + ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default" +if test "x$ac_cv_type_u_int16_t" = xyes; then : - if test "x$enable_mmap" = "xyes"; then : +else - for ac_func in mmap -do : - ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" -if test "x$ac_cv_func_mmap" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_MMAP 1 +cat >>confdefs.h <<_ACEOF +#define u_int16_t uint16_t _ACEOF fi -done -$as_echo "#define USE_MMAP 1" >>confdefs.h + ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default" +if test "x$ac_cv_type_u_int32_t" = xyes; then : -fi +else +cat >>confdefs.h <<_ACEOF +#define u_int32_t uint32_t +_ACEOF -# Checks for the build machinery. +fi -$as_echo "#define LIBDPKG_VOLATILE_API 1" >>confdefs.h - # Check whether --enable-compiler-warnings was given. -if test "${enable_compiler_warnings+set}" = set; then : - enableval=$enable_compiler_warnings; + ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default" +if test "x$ac_cv_type_u_int64_t" = xyes; then : + else - enable_compiler_warnings=yes + +cat >>confdefs.h <<_ACEOF +#define u_int64_t uint64_t +_ACEOF fi - if test "x$enable_compiler_warnings" = "xyes"; then +ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" +if test "x$ac_cv_type_ptrdiff_t" = xyes; then : + +else + +cat >>confdefs.h <<_ACEOF +#define ptrdiff_t int +_ACEOF + +fi +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5 +$as_echo_n "checking size of unsigned int... " >&6; } +if ${ac_cv_sizeof_unsigned_int+:} false; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then : +else + if test "$ac_cv_type_unsigned_int" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (unsigned int) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_unsigned_int=0 + fi +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5 +$as_echo "$ac_cv_sizeof_unsigned_int" >&6; } +cat >>confdefs.h <<_ACEOF +#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int +_ACEOF - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wall" >&5 -$as_echo_n "checking whether $CC accepts -Wall... " >&6; } -if ${dpkg_cv_cflags__Wall+:} false; then : +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5 +$as_echo_n "checking size of unsigned long... " >&6; } +if ${ac_cv_sizeof_unsigned_long+:} false; then : $as_echo_n "(cached) " >&6 else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then : - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wall -Werror" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ +else + if test "$ac_cv_type_unsigned_long" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (unsigned long) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_unsigned_long=0 + fi +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5 +$as_echo "$ac_cv_sizeof_unsigned_long" >&6; } -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cflags__Wall=yes +cat >>confdefs.h <<_ACEOF +#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long +_ACEOF -else - dpkg_cv_cflags__Wall=no +for ac_header in unistd.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" +if test "x$ac_cv_header_unistd_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_UNISTD_H 1 +_ACEOF fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wall" >&5 -$as_echo "$dpkg_cv_cflags__Wall" >&6; } - if test "x$dpkg_cv_cflags__Wall" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wall" -fi +done +ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "#include +/* NetBSD declares sys_siglist in unistd.h. */ +#if HAVE_UNISTD_H +# include +#endif +" +if test "x$ac_cv_have_decl_sys_siglist" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_SYS_SIGLIST $ac_have_decl +_ACEOF +# Checks for library functions. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 +$as_echo_n "checking for va_copy... " >&6; } +if ${dpkg_cv_va_copy+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + dpkg_cv_va_copy=no +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int main() +{ +va_list v1, v2; +va_copy (v1, v2); +exit (0); +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + dpkg_cv_va_copy=yes +else + dpkg_cv_va_copy=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_va_copy" >&5 +$as_echo "$dpkg_cv_va_copy" >&6; } +if test "x$dpkg_cv_va_copy" = "xyes"; then : +$as_echo "#define HAVE_VA_COPY 1" >>confdefs.h +fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wextra" >&5 -$as_echo_n "checking whether $CC accepts -Wextra... " >&6; } -if ${dpkg_cv_cflags__Wextra+:} false; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C99 snprintf functions" >&5 +$as_echo_n "checking for C99 snprintf functions... " >&6; } +if ${dpkg_cv_c99_snprintf+:} false; then : $as_echo_n "(cached) " >&6 else - - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wextra -Werror" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + if test "$cross_compiling" = yes; then : + dpkg_cv_c99_snprintf=no +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include +#include +#include +int test_vsnprintf(const char *fmt, ...) +{ + int n; + va_list args; + + va_start(args, fmt); + n = vsnprintf(NULL, 0, fmt, args); + va_end(args); + + return n; +} +int main() +{ + int n; + n = snprintf(NULL, 0, "format %s %d", "string", 10); + if (n != strlen("format string 10")) + return 1; -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : + n = test_vsnprintf("format %s %d", "string", 10); + if (n != strlen("format string 10")) + return 1; - dpkg_cv_cflags__Wextra=yes + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + dpkg_cv_c99_snprintf=yes else - - dpkg_cv_cflags__Wextra=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS - + dpkg_cv_c99_snprintf=no fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wextra" >&5 -$as_echo "$dpkg_cv_cflags__Wextra" >&6; } - if test "x$dpkg_cv_cflags__Wextra" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wextra" +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_c99_snprintf" >&5 +$as_echo "$dpkg_cv_c99_snprintf" >&6; } +if test "x$dpkg_cv_c99_snprintf" = "xyes"; then : +$as_echo "#define HAVE_C99_SNPRINTF 1" >>confdefs.h +fi + if test "x$dpkg_cv_c99_snprintf" = "xyes"; then + HAVE_C99_SNPRINTF_TRUE= + HAVE_C99_SNPRINTF_FALSE='#' +else + HAVE_C99_SNPRINTF_TRUE='#' + HAVE_C99_SNPRINTF_FALSE= +fi + ac_fn_c_check_decl "$LINENO" "offsetof" "ac_cv_have_decl_offsetof" "#include +" +if test "x$ac_cv_have_decl_offsetof" = xyes; then : +$as_echo "#define HAVE_OFFSETOF 1" >>confdefs.h +fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wno-unused-parameter" >&5 -$as_echo_n "checking whether $CC accepts -Wno-unused-parameter... " >&6; } -if ${dpkg_cv_cflags__Wno_unused_parameter+:} false; then : - $as_echo_n "(cached) " >&6 -else - - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wno-unused-parameter -Werror" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ + ac_fn_c_check_decl "$LINENO" "WCOREDUMP" "ac_cv_have_decl_WCOREDUMP" "#include +" +if test "x$ac_cv_have_decl_WCOREDUMP" = xyes; then : +$as_echo "#define HAVE_WCOREDUMP 1" >>confdefs.h -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +fi - dpkg_cv_cflags__Wno_unused_parameter=yes -else - dpkg_cv_cflags__Wno_unused_parameter=no + ac_fn_c_check_decl "$LINENO" "TIOCNOTTY" "ac_cv_have_decl_TIOCNOTTY" "#include +" +if test "x$ac_cv_have_decl_TIOCNOTTY" = xyes; then : -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS +$as_echo "#define HAVE_TIOCNOTTY 1" >>confdefs.h fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wno_unused_parameter" >&5 -$as_echo "$dpkg_cv_cflags__Wno_unused_parameter" >&6; } - if test "x$dpkg_cv_cflags__Wno_unused_parameter" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wno-unused-parameter" -fi + ac_fn_c_check_decl "$LINENO" "O_NOFOLLOW" "ac_cv_have_decl_O_NOFOLLOW" "#include +" +if test "x$ac_cv_have_decl_O_NOFOLLOW" = xyes; then : +$as_echo "#define HAVE_O_NOFOLLOW 1" >>confdefs.h +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for program_invocation_short_name" >&5 +$as_echo_n "checking for program_invocation_short_name... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +const char *p = program_invocation_short_name; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : +$as_echo "#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wno-missing-field-initializers" >&5 -$as_echo_n "checking whether $CC accepts -Wno-missing-field-initializers... " >&6; } -if ${dpkg_cv_cflags__Wno_missing_field_initializers+:} false; then : - $as_echo_n "(cached) " >&6 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wno-missing-field-initializers -Werror" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __progname" >&5 +$as_echo_n "checking for __progname... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - - +int +main () +{ +extern char *__progname; + const char *p = __progname; + ; + return 0; +} _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_link "$LINENO"; then : - dpkg_cv_cflags__Wno_missing_field_initializers=yes +$as_echo "#define HAVE___PROGNAME 1" >>confdefs.h + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - - dpkg_cv_cflags__Wno_missing_field_initializers=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wno_missing_field_initializers" >&5 -$as_echo "$dpkg_cv_cflags__Wno_missing_field_initializers" >&6; } - if test "x$dpkg_cv_cflags__Wno_missing_field_initializers" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wno-missing-field-initializers" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + for ac_func in getopt getopt_long obstack_free \ + strnlen strndup strerror strsignal asprintf \ + scandir alphasort unsetenv +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF +fi +done - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wmissing-declarations" >&5 -$as_echo_n "checking whether $CC accepts -Wmissing-declarations... " >&6; } -if ${dpkg_cv_cflags__Wmissing_declarations+:} false; then : - $as_echo_n "(cached) " >&6 + if test "x$ac_cv_func_getopt" = "xyes"; then + HAVE_GETOPT_TRUE= + HAVE_GETOPT_FALSE='#' else - - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wmissing-declarations -Werror" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - + HAVE_GETOPT_TRUE='#' + HAVE_GETOPT_FALSE= +fi -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : + if test "x$ac_cv_func_getopt_long" = "xyes"; then + HAVE_GETOPT_LONG_TRUE= + HAVE_GETOPT_LONG_FALSE='#' +else + HAVE_GETOPT_LONG_TRUE='#' + HAVE_GETOPT_LONG_FALSE= +fi - dpkg_cv_cflags__Wmissing_declarations=yes + if test "x$ac_cv_func_obstack_free" = "xyes"; then + HAVE_OBSTACK_FREE_TRUE= + HAVE_OBSTACK_FREE_FALSE='#' else + HAVE_OBSTACK_FREE_TRUE='#' + HAVE_OBSTACK_FREE_FALSE= +fi - dpkg_cv_cflags__Wmissing_declarations=no + if test "x$ac_cv_func_strnlen" = "xyes"; then + HAVE_STRNLEN_TRUE= + HAVE_STRNLEN_FALSE='#' +else + HAVE_STRNLEN_TRUE='#' + HAVE_STRNLEN_FALSE= fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wmissing_declarations" >&5 -$as_echo "$dpkg_cv_cflags__Wmissing_declarations" >&6; } - if test "x$dpkg_cv_cflags__Wmissing_declarations" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wmissing-declarations" + + if test "x$ac_cv_func_strndup" = "xyes"; then + HAVE_STRNDUP_TRUE= + HAVE_STRNDUP_FALSE='#' +else + HAVE_STRNDUP_TRUE='#' + HAVE_STRNDUP_FALSE= fi + if test "x$ac_cv_func_strerror" = "xyes"; then + HAVE_STRERROR_TRUE= + HAVE_STRERROR_FALSE='#' +else + HAVE_STRERROR_TRUE='#' + HAVE_STRERROR_FALSE= +fi + if test "x$ac_cv_func_strsignal" = "xyes"; then + HAVE_STRSIGNAL_TRUE= + HAVE_STRSIGNAL_FALSE='#' +else + HAVE_STRSIGNAL_TRUE='#' + HAVE_STRSIGNAL_FALSE= +fi + if test "x$ac_cv_func_asprintf" = "xyes"; then + HAVE_ASPRINTF_TRUE= + HAVE_ASPRINTF_FALSE='#' +else + HAVE_ASPRINTF_TRUE='#' + HAVE_ASPRINTF_FALSE= +fi + if test "x$ac_cv_func_scandir" = "xyes"; then + HAVE_SCANDIR_TRUE= + HAVE_SCANDIR_FALSE='#' +else + HAVE_SCANDIR_TRUE='#' + HAVE_SCANDIR_FALSE= +fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wmissing-format-attribute" >&5 -$as_echo_n "checking whether $CC accepts -Wmissing-format-attribute... " >&6; } -if ${dpkg_cv_cflags__Wmissing_format_attribute+:} false; then : - $as_echo_n "(cached) " >&6 + if test "x$ac_cv_func_alphasort" = "xyes"; then + HAVE_ALPHASORT_TRUE= + HAVE_ALPHASORT_FALSE='#' else - - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wmissing-format-attribute -Werror" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ + HAVE_ALPHASORT_TRUE='#' + HAVE_ALPHASORT_FALSE= +fi + if test "x$ac_cv_func_unsetenv" = "xyes"; then + HAVE_UNSETENV_TRUE= + HAVE_UNSETENV_FALSE='#' +else + HAVE_UNSETENV_TRUE='#' + HAVE_UNSETENV_FALSE= +fi -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cflags__Wmissing_format_attribute=yes +ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default" +if test "x$ac_cv_have_decl_strnlen" = xyes; then : + ac_have_decl=1 else - - dpkg_cv_cflags__Wmissing_format_attribute=no - + ac_have_decl=0 fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRNLEN $ac_have_decl +_ACEOF +if test $ac_have_decl = 1; then : + #include fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wmissing_format_attribute" >&5 -$as_echo "$dpkg_cv_cflags__Wmissing_format_attribute" >&6; } - if test "x$dpkg_cv_cflags__Wmissing_format_attribute" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wmissing-format-attribute" -fi - - - +for ac_func in memcpy lchown +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF +else + as_fn_error $? "missing required function" "$LINENO" 5 +fi +done +for ac_func in strtoimax isascii setsid getdtablesize \ + getprogname getexecname lutimes posix_fadvise +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF +fi +done - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wformat -Wformat-security" >&5 -$as_echo_n "checking whether $CC accepts -Wformat -Wformat-security... " >&6; } -if ${dpkg_cv_cflags__Wformat__Wformat_security+:} false; then : - $as_echo_n "(cached) " >&6 + # Check whether --enable-mmap was given. +if test "${enable_mmap+set}" = set; then : + enableval=$enable_mmap; else - - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wformat -Wformat-security -Werror" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ + enable_mmap=no +fi + if test "x$enable_mmap" = "xyes"; then : + for ac_func in mmap +do : + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" +if test "x$ac_cv_func_mmap" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_MMAP 1 _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cflags__Wformat__Wformat_security=yes +fi +done -else - dpkg_cv_cflags__Wformat__Wformat_security=no +$as_echo "#define USE_MMAP 1" >>confdefs.h -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wformat__Wformat_security" >&5 -$as_echo "$dpkg_cv_cflags__Wformat__Wformat_security" >&6; } - if test "x$dpkg_cv_cflags__Wformat__Wformat_security" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wformat -Wformat-security" -fi - +# Checks for the build machinery. +$as_echo "#define LIBDPKG_VOLATILE_API 1" >>confdefs.h +# Check whether --enable-compiler-warnings was given. +if test "${enable_compiler_warnings+set}" = set; then : + enableval=$enable_compiler_warnings; +else + enable_compiler_warnings=yes +fi +if test "x$enable_compiler_warnings" = "xyes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wsizeof-array-argument" >&5 -$as_echo_n "checking whether $CC accepts -Wsizeof-array-argument... " >&6; } -if ${dpkg_cv_cflags__Wsizeof_array_argument+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wall" >&5 +$as_echo_n "checking whether $CC accepts -Wall... " >&6; } +if ${dpkg_cv_cflag__Wall+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wsizeof-array-argument -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Wall" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -22661,63 +11338,75 @@ _ACEOF if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cflags__Wsizeof_array_argument=yes + dpkg_cv_cflag__Wall=yes else - dpkg_cv_cflags__Wsizeof_array_argument=no + dpkg_cv_cflag__Wall=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$dpkg_save_CFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wsizeof_array_argument" >&5 -$as_echo "$dpkg_cv_cflags__Wsizeof_array_argument" >&6; } - if test "x$dpkg_cv_cflags__Wsizeof_array_argument" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wsizeof-array-argument" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Wall" >&5 +$as_echo "$dpkg_cv_cflag__Wall" >&6; } + if test "x$dpkg_cv_cflag__Wall" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Wall" fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wpointer-arith" >&5 -$as_echo_n "checking whether $CC accepts -Wpointer-arith... " >&6; } -if ${dpkg_cv_cflags__Wpointer_arith+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wall" >&5 +$as_echo_n "checking whether $CXX accepts -Wall... " >&6; } +if ${dpkg_cv_cxxflag__Wall+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wpointer-arith -Werror" + dpkg_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="-Wall" + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO"; then : - dpkg_cv_cflags__Wpointer_arith=yes + dpkg_cv_cxxflag__Wall=yes else - dpkg_cv_cflags__Wpointer_arith=no + dpkg_cv_cxxflag__Wall=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CXXFLAGS="$dpkg_save_CXXFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wpointer_arith" >&5 -$as_echo "$dpkg_cv_cflags__Wpointer_arith" >&6; } - if test "x$dpkg_cv_cflags__Wpointer_arith" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wpointer-arith" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflag__Wall" >&5 +$as_echo "$dpkg_cv_cxxflag__Wall" >&6; } + if test "x$dpkg_cv_cxxflag__Wall" = xyes; then : + CXXWARNFLAGS="$CXXWARNFLAGS -Wall" fi @@ -22725,18 +11414,20 @@ - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wlogical-op" >&5 -$as_echo_n "checking whether $CC accepts -Wlogical-op... " >&6; } -if ${dpkg_cv_cflags__Wlogical_op+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wextra" >&5 +$as_echo_n "checking whether $CC accepts -Wextra... " >&6; } +if ${dpkg_cv_cflag__Wextra+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wlogical-op -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Wextra" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -22745,63 +11436,75 @@ _ACEOF if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cflags__Wlogical_op=yes + dpkg_cv_cflag__Wextra=yes else - dpkg_cv_cflags__Wlogical_op=no + dpkg_cv_cflag__Wextra=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$dpkg_save_CFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wlogical_op" >&5 -$as_echo "$dpkg_cv_cflags__Wlogical_op" >&6; } - if test "x$dpkg_cv_cflags__Wlogical_op" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wlogical-op" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Wextra" >&5 +$as_echo "$dpkg_cv_cflag__Wextra" >&6; } + if test "x$dpkg_cv_cflag__Wextra" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Wextra" fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wlogical-not-parentheses" >&5 -$as_echo_n "checking whether $CC accepts -Wlogical-not-parentheses... " >&6; } -if ${dpkg_cv_cflags__Wlogical_not_parentheses+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wextra" >&5 +$as_echo_n "checking whether $CXX accepts -Wextra... " >&6; } +if ${dpkg_cv_cxxflag__Wextra+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wlogical-not-parentheses -Werror" + dpkg_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="-Wextra" + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO"; then : - dpkg_cv_cflags__Wlogical_not_parentheses=yes + dpkg_cv_cxxflag__Wextra=yes else - dpkg_cv_cflags__Wlogical_not_parentheses=no + dpkg_cv_cxxflag__Wextra=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CXXFLAGS="$dpkg_save_CXXFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wlogical_not_parentheses" >&5 -$as_echo "$dpkg_cv_cflags__Wlogical_not_parentheses" >&6; } - if test "x$dpkg_cv_cflags__Wlogical_not_parentheses" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wlogical-not-parentheses" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflag__Wextra" >&5 +$as_echo "$dpkg_cv_cxxflag__Wextra" >&6; } + if test "x$dpkg_cv_cxxflag__Wextra" = xyes; then : + CXXWARNFLAGS="$CXXWARNFLAGS -Wextra" fi @@ -22809,18 +11512,20 @@ - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wswitch-bool" >&5 -$as_echo_n "checking whether $CC accepts -Wswitch-bool... " >&6; } -if ${dpkg_cv_cflags__Wswitch_bool+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wno-unused-parameter" >&5 +$as_echo_n "checking whether $CC accepts -Wno-unused-parameter... " >&6; } +if ${dpkg_cv_cflag__Wno_unused_parameter+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wswitch-bool -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Wno-unused-parameter" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -22829,63 +11534,75 @@ _ACEOF if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cflags__Wswitch_bool=yes + dpkg_cv_cflag__Wno_unused_parameter=yes else - dpkg_cv_cflags__Wswitch_bool=no + dpkg_cv_cflag__Wno_unused_parameter=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$dpkg_save_CFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wswitch_bool" >&5 -$as_echo "$dpkg_cv_cflags__Wswitch_bool" >&6; } - if test "x$dpkg_cv_cflags__Wswitch_bool" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wswitch-bool" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Wno_unused_parameter" >&5 +$as_echo "$dpkg_cv_cflag__Wno_unused_parameter" >&6; } + if test "x$dpkg_cv_cflag__Wno_unused_parameter" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Wno-unused-parameter" fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wvla" >&5 -$as_echo_n "checking whether $CC accepts -Wvla... " >&6; } -if ${dpkg_cv_cflags__Wvla+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wno-unused-parameter" >&5 +$as_echo_n "checking whether $CXX accepts -Wno-unused-parameter... " >&6; } +if ${dpkg_cv_cxxflag__Wno_unused_parameter+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wvla -Werror" + dpkg_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="-Wno-unused-parameter" + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO"; then : - dpkg_cv_cflags__Wvla=yes + dpkg_cv_cxxflag__Wno_unused_parameter=yes else - dpkg_cv_cflags__Wvla=no + dpkg_cv_cxxflag__Wno_unused_parameter=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CXXFLAGS="$dpkg_save_CXXFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wvla" >&5 -$as_echo "$dpkg_cv_cflags__Wvla" >&6; } - if test "x$dpkg_cv_cflags__Wvla" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wvla" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflag__Wno_unused_parameter" >&5 +$as_echo "$dpkg_cv_cxxflag__Wno_unused_parameter" >&6; } + if test "x$dpkg_cv_cxxflag__Wno_unused_parameter" = xyes; then : + CXXWARNFLAGS="$CXXWARNFLAGS -Wno-unused-parameter" fi @@ -22893,18 +11610,20 @@ - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Winit-self" >&5 -$as_echo_n "checking whether $CC accepts -Winit-self... " >&6; } -if ${dpkg_cv_cflags__Winit_self+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wno-missing-field-initializers" >&5 +$as_echo_n "checking whether $CC accepts -Wno-missing-field-initializers... " >&6; } +if ${dpkg_cv_cflag__Wno_missing_field_initializers+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Winit-self -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Wno-missing-field-initializers" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -22913,63 +11632,75 @@ _ACEOF if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cflags__Winit_self=yes + dpkg_cv_cflag__Wno_missing_field_initializers=yes else - dpkg_cv_cflags__Winit_self=no + dpkg_cv_cflag__Wno_missing_field_initializers=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$dpkg_save_CFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Winit_self" >&5 -$as_echo "$dpkg_cv_cflags__Winit_self" >&6; } - if test "x$dpkg_cv_cflags__Winit_self" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Winit-self" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Wno_missing_field_initializers" >&5 +$as_echo "$dpkg_cv_cflag__Wno_missing_field_initializers" >&6; } + if test "x$dpkg_cv_cflag__Wno_missing_field_initializers" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Wno-missing-field-initializers" fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wwrite-strings" >&5 -$as_echo_n "checking whether $CC accepts -Wwrite-strings... " >&6; } -if ${dpkg_cv_cflags__Wwrite_strings+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wno-missing-field-initializers" >&5 +$as_echo_n "checking whether $CXX accepts -Wno-missing-field-initializers... " >&6; } +if ${dpkg_cv_cxxflag__Wno_missing_field_initializers+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wwrite-strings -Werror" + dpkg_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="-Wno-missing-field-initializers" + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO"; then : - dpkg_cv_cflags__Wwrite_strings=yes + dpkg_cv_cxxflag__Wno_missing_field_initializers=yes else - dpkg_cv_cflags__Wwrite_strings=no + dpkg_cv_cxxflag__Wno_missing_field_initializers=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CXXFLAGS="$dpkg_save_CXXFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wwrite_strings" >&5 -$as_echo "$dpkg_cv_cflags__Wwrite_strings" >&6; } - if test "x$dpkg_cv_cflags__Wwrite_strings" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wwrite-strings" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflag__Wno_missing_field_initializers" >&5 +$as_echo "$dpkg_cv_cxxflag__Wno_missing_field_initializers" >&6; } + if test "x$dpkg_cv_cxxflag__Wno_missing_field_initializers" = xyes; then : + CXXWARNFLAGS="$CXXWARNFLAGS -Wno-missing-field-initializers" fi @@ -22977,18 +11708,20 @@ - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wcast-align" >&5 -$as_echo_n "checking whether $CC accepts -Wcast-align... " >&6; } -if ${dpkg_cv_cflags__Wcast_align+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wmissing-declarations" >&5 +$as_echo_n "checking whether $CC accepts -Wmissing-declarations... " >&6; } +if ${dpkg_cv_cflag__Wmissing_declarations+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wcast-align -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Wmissing-declarations" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -22997,63 +11730,75 @@ _ACEOF if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cflags__Wcast_align=yes + dpkg_cv_cflag__Wmissing_declarations=yes else - dpkg_cv_cflags__Wcast_align=no + dpkg_cv_cflag__Wmissing_declarations=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$dpkg_save_CFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wcast_align" >&5 -$as_echo "$dpkg_cv_cflags__Wcast_align" >&6; } - if test "x$dpkg_cv_cflags__Wcast_align" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wcast-align" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Wmissing_declarations" >&5 +$as_echo "$dpkg_cv_cflag__Wmissing_declarations" >&6; } + if test "x$dpkg_cv_cflag__Wmissing_declarations" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Wmissing-declarations" fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wshadow" >&5 -$as_echo_n "checking whether $CC accepts -Wshadow... " >&6; } -if ${dpkg_cv_cflags__Wshadow+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wmissing-declarations" >&5 +$as_echo_n "checking whether $CXX accepts -Wmissing-declarations... " >&6; } +if ${dpkg_cv_cxxflag__Wmissing_declarations+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wshadow -Werror" + dpkg_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="-Wmissing-declarations" + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO"; then : - dpkg_cv_cflags__Wshadow=yes + dpkg_cv_cxxflag__Wmissing_declarations=yes else - dpkg_cv_cflags__Wshadow=no + dpkg_cv_cxxflag__Wmissing_declarations=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS + CXXFLAGS="$dpkg_save_CXXFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wshadow" >&5 -$as_echo "$dpkg_cv_cflags__Wshadow" >&6; } - if test "x$dpkg_cv_cflags__Wshadow" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wshadow" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflag__Wmissing_declarations" >&5 +$as_echo "$dpkg_cv_cxxflag__Wmissing_declarations" >&6; } + if test "x$dpkg_cv_cxxflag__Wmissing_declarations" = xyes; then : + CXXWARNFLAGS="$CXXWARNFLAGS -Wmissing-declarations" fi @@ -23061,20 +11806,20 @@ - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wdeclaration-after-statement" >&5 -$as_echo_n "checking whether $CC accepts -Wdeclaration-after-statement... " >&6; } -if ${dpkg_cv_cflags__Wdeclaration_after_statement+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wmissing-format-attribute" >&5 +$as_echo_n "checking whether $CC accepts -Wmissing-format-attribute... " >&6; } +if ${dpkg_cv_cflag__Wmissing_format_attribute+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wdeclaration-after-statement -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Wmissing-format-attribute" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23083,63 +11828,75 @@ _ACEOF if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cflags__Wdeclaration_after_statement=yes + dpkg_cv_cflag__Wmissing_format_attribute=yes else - dpkg_cv_cflags__Wdeclaration_after_statement=no + dpkg_cv_cflag__Wmissing_format_attribute=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$dpkg_save_CFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wdeclaration_after_statement" >&5 -$as_echo "$dpkg_cv_cflags__Wdeclaration_after_statement" >&6; } - if test "x$dpkg_cv_cflags__Wdeclaration_after_statement" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wdeclaration-after-statement" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Wmissing_format_attribute" >&5 +$as_echo "$dpkg_cv_cflag__Wmissing_format_attribute" >&6; } + if test "x$dpkg_cv_cflag__Wmissing_format_attribute" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Wmissing-format-attribute" fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wnested-externs" >&5 -$as_echo_n "checking whether $CC accepts -Wnested-externs... " >&6; } -if ${dpkg_cv_cflags__Wnested_externs+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wmissing-format-attribute" >&5 +$as_echo_n "checking whether $CXX accepts -Wmissing-format-attribute... " >&6; } +if ${dpkg_cv_cxxflag__Wmissing_format_attribute+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wnested-externs -Werror" + dpkg_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="-Wmissing-format-attribute" + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO"; then : - dpkg_cv_cflags__Wnested_externs=yes + dpkg_cv_cxxflag__Wmissing_format_attribute=yes else - dpkg_cv_cflags__Wnested_externs=no + dpkg_cv_cxxflag__Wmissing_format_attribute=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CXXFLAGS="$dpkg_save_CXXFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wnested_externs" >&5 -$as_echo "$dpkg_cv_cflags__Wnested_externs" >&6; } - if test "x$dpkg_cv_cflags__Wnested_externs" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wnested-externs" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflag__Wmissing_format_attribute" >&5 +$as_echo "$dpkg_cv_cxxflag__Wmissing_format_attribute" >&6; } + if test "x$dpkg_cv_cxxflag__Wmissing_format_attribute" = xyes; then : + CXXWARNFLAGS="$CXXWARNFLAGS -Wmissing-format-attribute" fi @@ -23147,18 +11904,20 @@ - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wbad-function-cast" >&5 -$as_echo_n "checking whether $CC accepts -Wbad-function-cast... " >&6; } -if ${dpkg_cv_cflags__Wbad_function_cast+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wformat-security" >&5 +$as_echo_n "checking whether $CC accepts -Wformat-security... " >&6; } +if ${dpkg_cv_cflag__Wformat_security+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wbad-function-cast -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Wformat-security" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23167,63 +11926,75 @@ _ACEOF if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cflags__Wbad_function_cast=yes + dpkg_cv_cflag__Wformat_security=yes else - dpkg_cv_cflags__Wbad_function_cast=no + dpkg_cv_cflag__Wformat_security=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$dpkg_save_CFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wbad_function_cast" >&5 -$as_echo "$dpkg_cv_cflags__Wbad_function_cast" >&6; } - if test "x$dpkg_cv_cflags__Wbad_function_cast" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wbad-function-cast" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Wformat_security" >&5 +$as_echo "$dpkg_cv_cflag__Wformat_security" >&6; } + if test "x$dpkg_cv_cflag__Wformat_security" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Wformat-security" fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wstrict-prototypes" >&5 -$as_echo_n "checking whether $CC accepts -Wstrict-prototypes... " >&6; } -if ${dpkg_cv_cflags__Wstrict_prototypes+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wformat-security" >&5 +$as_echo_n "checking whether $CXX accepts -Wformat-security... " >&6; } +if ${dpkg_cv_cxxflag__Wformat_security+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wstrict-prototypes -Werror" + dpkg_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="-Wformat-security" + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO"; then : - dpkg_cv_cflags__Wstrict_prototypes=yes + dpkg_cv_cxxflag__Wformat_security=yes else - dpkg_cv_cflags__Wstrict_prototypes=no + dpkg_cv_cxxflag__Wformat_security=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CXXFLAGS="$dpkg_save_CXXFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wstrict_prototypes" >&5 -$as_echo "$dpkg_cv_cflags__Wstrict_prototypes" >&6; } - if test "x$dpkg_cv_cflags__Wstrict_prototypes" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wstrict-prototypes" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflag__Wformat_security" >&5 +$as_echo "$dpkg_cv_cxxflag__Wformat_security" >&6; } + if test "x$dpkg_cv_cxxflag__Wformat_security" = xyes; then : + CXXWARNFLAGS="$CXXWARNFLAGS -Wformat-security" fi @@ -23231,18 +12002,20 @@ - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wmissing-prototypes" >&5 -$as_echo_n "checking whether $CC accepts -Wmissing-prototypes... " >&6; } -if ${dpkg_cv_cflags__Wmissing_prototypes+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wpointer-arith" >&5 +$as_echo_n "checking whether $CC accepts -Wpointer-arith... " >&6; } +if ${dpkg_cv_cflag__Wpointer_arith+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wmissing-prototypes -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Wpointer-arith" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23251,63 +12024,75 @@ _ACEOF if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cflags__Wmissing_prototypes=yes + dpkg_cv_cflag__Wpointer_arith=yes else - dpkg_cv_cflags__Wmissing_prototypes=no + dpkg_cv_cflag__Wpointer_arith=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$dpkg_save_CFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wmissing_prototypes" >&5 -$as_echo "$dpkg_cv_cflags__Wmissing_prototypes" >&6; } - if test "x$dpkg_cv_cflags__Wmissing_prototypes" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wmissing-prototypes" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Wpointer_arith" >&5 +$as_echo "$dpkg_cv_cflag__Wpointer_arith" >&6; } + if test "x$dpkg_cv_cflag__Wpointer_arith" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Wpointer-arith" fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wold-style-definition" >&5 -$as_echo_n "checking whether $CC accepts -Wold-style-definition... " >&6; } -if ${dpkg_cv_cflags__Wold_style_definition+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wpointer-arith" >&5 +$as_echo_n "checking whether $CXX accepts -Wpointer-arith... " >&6; } +if ${dpkg_cv_cxxflag__Wpointer_arith+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wold-style-definition -Werror" + dpkg_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="-Wpointer-arith" + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO"; then : - dpkg_cv_cflags__Wold_style_definition=yes + dpkg_cv_cxxflag__Wpointer_arith=yes else - dpkg_cv_cflags__Wold_style_definition=no + dpkg_cv_cxxflag__Wpointer_arith=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CXXFLAGS="$dpkg_save_CXXFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wold_style_definition" >&5 -$as_echo "$dpkg_cv_cflags__Wold_style_definition" >&6; } - if test "x$dpkg_cv_cflags__Wold_style_definition" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wold-style-definition" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflag__Wpointer_arith" >&5 +$as_echo "$dpkg_cv_cxxflag__Wpointer_arith" >&6; } + if test "x$dpkg_cv_cxxflag__Wpointer_arith" = xyes; then : + CXXWARNFLAGS="$CXXWARNFLAGS -Wpointer-arith" fi @@ -23315,18 +12100,20 @@ - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wc99-c11-compat" >&5 -$as_echo_n "checking whether $CC accepts -Wc99-c11-compat... " >&6; } -if ${dpkg_cv_cflags__Wc99_c11_compat+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wlogical-op" >&5 +$as_echo_n "checking whether $CC accepts -Wlogical-op... " >&6; } +if ${dpkg_cv_cflag__Wlogical_op+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Wc99-c11-compat -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Wlogical-op" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23335,49 +12122,46 @@ _ACEOF if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cflags__Wc99_c11_compat=yes + dpkg_cv_cflag__Wlogical_op=yes else - dpkg_cv_cflags__Wc99_c11_compat=no + dpkg_cv_cflag__Wlogical_op=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$dpkg_save_CFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$dpkg_save_CFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wc99_c11_compat" >&5 -$as_echo "$dpkg_cv_cflags__Wc99_c11_compat" >&6; } - if test "x$dpkg_cv_cflags__Wc99_c11_compat" = xyes; then : - as_fn_append COMPILER_CFLAGS " -Wc99-c11-compat" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Wlogical_op" >&5 +$as_echo "$dpkg_cv_cflag__Wlogical_op" >&6; } + if test "x$dpkg_cv_cflag__Wlogical_op" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Wlogical-op" fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wlogical-op" >&5 +$as_echo_n "checking whether $CXX accepts -Wlogical-op... " >&6; } +if ${dpkg_cv_cxxflag__Wlogical_op+:} false; then : + $as_echo_n "(cached) " >&6 +else + + dpkg_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="-Wlogical-op" ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wall" >&5 -$as_echo_n "checking whether $CXX accepts -Wall... " >&6; } -if ${dpkg_cv_cxxflags__Wall+:} false; then : - $as_echo_n "(cached) " >&6 -else - - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Wall -Werror" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23386,21 +12170,27 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - dpkg_cv_cxxflags__Wall=yes + dpkg_cv_cxxflag__Wlogical_op=yes else - dpkg_cv_cxxflags__Wall=no + dpkg_cv_cxxflag__Wlogical_op=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CXXFLAGS="$dpkg_save_CXXFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wall" >&5 -$as_echo "$dpkg_cv_cxxflags__Wall" >&6; } - if test "x$dpkg_cv_cxxflags__Wall" = xyes; then : - as_fn_append COMPILER_CXXFLAGS " -Wall" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflag__Wlogical_op" >&5 +$as_echo "$dpkg_cv_cxxflag__Wlogical_op" >&6; } + if test "x$dpkg_cv_cxxflag__Wlogical_op" = xyes; then : + CXXWARNFLAGS="$CXXWARNFLAGS -Wlogical-op" fi @@ -23408,60 +12198,68 @@ - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wextra" >&5 -$as_echo_n "checking whether $CXX accepts -Wextra... " >&6; } -if ${dpkg_cv_cxxflags__Wextra+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wvla" >&5 +$as_echo_n "checking whether $CC accepts -Wvla... " >&6; } +if ${dpkg_cv_cflag__Wvla+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Wextra -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Wvla" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cxxflags__Wextra=yes + dpkg_cv_cflag__Wvla=yes else - dpkg_cv_cxxflags__Wextra=no + dpkg_cv_cflag__Wvla=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$dpkg_save_CFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wextra" >&5 -$as_echo "$dpkg_cv_cxxflags__Wextra" >&6; } - if test "x$dpkg_cv_cxxflags__Wextra" = xyes; then : - as_fn_append COMPILER_CXXFLAGS " -Wextra" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Wvla" >&5 +$as_echo "$dpkg_cv_cflag__Wvla" >&6; } + if test "x$dpkg_cv_cflag__Wvla" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Wvla" fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wno-unused-parameter" >&5 -$as_echo_n "checking whether $CXX accepts -Wno-unused-parameter... " >&6; } -if ${dpkg_cv_cxxflags__Wno_unused_parameter+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wvla" >&5 +$as_echo_n "checking whether $CXX accepts -Wvla... " >&6; } +if ${dpkg_cv_cxxflag__Wvla+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Wno-unused-parameter -Werror" + dpkg_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="-Wvla" + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23470,21 +12268,27 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - dpkg_cv_cxxflags__Wno_unused_parameter=yes + dpkg_cv_cxxflag__Wvla=yes else - dpkg_cv_cxxflags__Wno_unused_parameter=no + dpkg_cv_cxxflag__Wvla=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CXXFLAGS="$dpkg_save_CXXFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wno_unused_parameter" >&5 -$as_echo "$dpkg_cv_cxxflags__Wno_unused_parameter" >&6; } - if test "x$dpkg_cv_cxxflags__Wno_unused_parameter" = xyes; then : - as_fn_append COMPILER_CXXFLAGS " -Wno-unused-parameter" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflag__Wvla" >&5 +$as_echo "$dpkg_cv_cxxflag__Wvla" >&6; } + if test "x$dpkg_cv_cxxflag__Wvla" = xyes; then : + CXXWARNFLAGS="$CXXWARNFLAGS -Wvla" fi @@ -23492,60 +12296,68 @@ - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wno-missing-field-initializers" >&5 -$as_echo_n "checking whether $CXX accepts -Wno-missing-field-initializers... " >&6; } -if ${dpkg_cv_cxxflags__Wno_missing_field_initializers+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Winit-self" >&5 +$as_echo_n "checking whether $CC accepts -Winit-self... " >&6; } +if ${dpkg_cv_cflag__Winit_self+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Wno-missing-field-initializers -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Winit-self" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cxxflags__Wno_missing_field_initializers=yes + dpkg_cv_cflag__Winit_self=yes else - dpkg_cv_cxxflags__Wno_missing_field_initializers=no + dpkg_cv_cflag__Winit_self=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$dpkg_save_CFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wno_missing_field_initializers" >&5 -$as_echo "$dpkg_cv_cxxflags__Wno_missing_field_initializers" >&6; } - if test "x$dpkg_cv_cxxflags__Wno_missing_field_initializers" = xyes; then : - as_fn_append COMPILER_CXXFLAGS " -Wno-missing-field-initializers" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Winit_self" >&5 +$as_echo "$dpkg_cv_cflag__Winit_self" >&6; } + if test "x$dpkg_cv_cflag__Winit_self" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Winit-self" fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wmissing-declarations" >&5 -$as_echo_n "checking whether $CXX accepts -Wmissing-declarations... " >&6; } -if ${dpkg_cv_cxxflags__Wmissing_declarations+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Winit-self" >&5 +$as_echo_n "checking whether $CXX accepts -Winit-self... " >&6; } +if ${dpkg_cv_cxxflag__Winit_self+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Wmissing-declarations -Werror" + dpkg_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="-Winit-self" + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23554,21 +12366,27 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - dpkg_cv_cxxflags__Wmissing_declarations=yes + dpkg_cv_cxxflag__Winit_self=yes else - dpkg_cv_cxxflags__Wmissing_declarations=no + dpkg_cv_cxxflag__Winit_self=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CXXFLAGS="$dpkg_save_CXXFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wmissing_declarations" >&5 -$as_echo "$dpkg_cv_cxxflags__Wmissing_declarations" >&6; } - if test "x$dpkg_cv_cxxflags__Wmissing_declarations" = xyes; then : - as_fn_append COMPILER_CXXFLAGS " -Wmissing-declarations" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflag__Winit_self" >&5 +$as_echo "$dpkg_cv_cxxflag__Winit_self" >&6; } + if test "x$dpkg_cv_cxxflag__Winit_self" = xyes; then : + CXXWARNFLAGS="$CXXWARNFLAGS -Winit-self" fi @@ -23576,60 +12394,68 @@ - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wmissing-format-attribute" >&5 -$as_echo_n "checking whether $CXX accepts -Wmissing-format-attribute... " >&6; } -if ${dpkg_cv_cxxflags__Wmissing_format_attribute+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wwrite-strings" >&5 +$as_echo_n "checking whether $CC accepts -Wwrite-strings... " >&6; } +if ${dpkg_cv_cflag__Wwrite_strings+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Wmissing-format-attribute -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Wwrite-strings" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cxxflags__Wmissing_format_attribute=yes + dpkg_cv_cflag__Wwrite_strings=yes else - dpkg_cv_cxxflags__Wmissing_format_attribute=no + dpkg_cv_cflag__Wwrite_strings=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$dpkg_save_CFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wmissing_format_attribute" >&5 -$as_echo "$dpkg_cv_cxxflags__Wmissing_format_attribute" >&6; } - if test "x$dpkg_cv_cxxflags__Wmissing_format_attribute" = xyes; then : - as_fn_append COMPILER_CXXFLAGS " -Wmissing-format-attribute" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Wwrite_strings" >&5 +$as_echo "$dpkg_cv_cflag__Wwrite_strings" >&6; } + if test "x$dpkg_cv_cflag__Wwrite_strings" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Wwrite-strings" fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wformat -Wformat-security" >&5 -$as_echo_n "checking whether $CXX accepts -Wformat -Wformat-security... " >&6; } -if ${dpkg_cv_cxxflags__Wformat__Wformat_security+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wwrite-strings" >&5 +$as_echo_n "checking whether $CXX accepts -Wwrite-strings... " >&6; } +if ${dpkg_cv_cxxflag__Wwrite_strings+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Wformat -Wformat-security -Werror" + dpkg_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="-Wwrite-strings" + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23638,21 +12464,27 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - dpkg_cv_cxxflags__Wformat__Wformat_security=yes + dpkg_cv_cxxflag__Wwrite_strings=yes else - dpkg_cv_cxxflags__Wformat__Wformat_security=no + dpkg_cv_cxxflag__Wwrite_strings=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CXXFLAGS="$dpkg_save_CXXFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wformat__Wformat_security" >&5 -$as_echo "$dpkg_cv_cxxflags__Wformat__Wformat_security" >&6; } - if test "x$dpkg_cv_cxxflags__Wformat__Wformat_security" = xyes; then : - as_fn_append COMPILER_CXXFLAGS " -Wformat -Wformat-security" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflag__Wwrite_strings" >&5 +$as_echo "$dpkg_cv_cxxflag__Wwrite_strings" >&6; } + if test "x$dpkg_cv_cxxflag__Wwrite_strings" = xyes; then : + CXXWARNFLAGS="$CXXWARNFLAGS -Wwrite-strings" fi @@ -23660,60 +12492,68 @@ - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wsizeof-array-argument" >&5 -$as_echo_n "checking whether $CXX accepts -Wsizeof-array-argument... " >&6; } -if ${dpkg_cv_cxxflags__Wsizeof_array_argument+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wcast-align" >&5 +$as_echo_n "checking whether $CC accepts -Wcast-align... " >&6; } +if ${dpkg_cv_cflag__Wcast_align+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Wsizeof-array-argument -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Wcast-align" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cxxflags__Wsizeof_array_argument=yes + dpkg_cv_cflag__Wcast_align=yes else - dpkg_cv_cxxflags__Wsizeof_array_argument=no + dpkg_cv_cflag__Wcast_align=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$dpkg_save_CFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wsizeof_array_argument" >&5 -$as_echo "$dpkg_cv_cxxflags__Wsizeof_array_argument" >&6; } - if test "x$dpkg_cv_cxxflags__Wsizeof_array_argument" = xyes; then : - as_fn_append COMPILER_CXXFLAGS " -Wsizeof-array-argument" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Wcast_align" >&5 +$as_echo "$dpkg_cv_cflag__Wcast_align" >&6; } + if test "x$dpkg_cv_cflag__Wcast_align" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Wcast-align" fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wpointer-arith" >&5 -$as_echo_n "checking whether $CXX accepts -Wpointer-arith... " >&6; } -if ${dpkg_cv_cxxflags__Wpointer_arith+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wcast-align" >&5 +$as_echo_n "checking whether $CXX accepts -Wcast-align... " >&6; } +if ${dpkg_cv_cxxflag__Wcast_align+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Wpointer-arith -Werror" + dpkg_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="-Wcast-align" + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23722,21 +12562,27 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - dpkg_cv_cxxflags__Wpointer_arith=yes + dpkg_cv_cxxflag__Wcast_align=yes else - dpkg_cv_cxxflags__Wpointer_arith=no + dpkg_cv_cxxflag__Wcast_align=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CXXFLAGS="$dpkg_save_CXXFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wpointer_arith" >&5 -$as_echo "$dpkg_cv_cxxflags__Wpointer_arith" >&6; } - if test "x$dpkg_cv_cxxflags__Wpointer_arith" = xyes; then : - as_fn_append COMPILER_CXXFLAGS " -Wpointer-arith" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflag__Wcast_align" >&5 +$as_echo "$dpkg_cv_cxxflag__Wcast_align" >&6; } + if test "x$dpkg_cv_cxxflag__Wcast_align" = xyes; then : + CXXWARNFLAGS="$CXXWARNFLAGS -Wcast-align" fi @@ -23744,60 +12590,68 @@ - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wlogical-op" >&5 -$as_echo_n "checking whether $CXX accepts -Wlogical-op... " >&6; } -if ${dpkg_cv_cxxflags__Wlogical_op+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wshadow" >&5 +$as_echo_n "checking whether $CC accepts -Wshadow... " >&6; } +if ${dpkg_cv_cflag__Wshadow+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Wlogical-op -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Wshadow" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cxxflags__Wlogical_op=yes + dpkg_cv_cflag__Wshadow=yes else - dpkg_cv_cxxflags__Wlogical_op=no + dpkg_cv_cflag__Wshadow=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$dpkg_save_CFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wlogical_op" >&5 -$as_echo "$dpkg_cv_cxxflags__Wlogical_op" >&6; } - if test "x$dpkg_cv_cxxflags__Wlogical_op" = xyes; then : - as_fn_append COMPILER_CXXFLAGS " -Wlogical-op" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Wshadow" >&5 +$as_echo "$dpkg_cv_cflag__Wshadow" >&6; } + if test "x$dpkg_cv_cflag__Wshadow" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Wshadow" fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wlogical-not-parentheses" >&5 -$as_echo_n "checking whether $CXX accepts -Wlogical-not-parentheses... " >&6; } -if ${dpkg_cv_cxxflags__Wlogical_not_parentheses+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wshadow" >&5 +$as_echo_n "checking whether $CXX accepts -Wshadow... " >&6; } +if ${dpkg_cv_cxxflag__Wshadow+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Wlogical-not-parentheses -Werror" + dpkg_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="-Wshadow" + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23806,21 +12660,27 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - dpkg_cv_cxxflags__Wlogical_not_parentheses=yes + dpkg_cv_cxxflag__Wshadow=yes else - dpkg_cv_cxxflags__Wlogical_not_parentheses=no + dpkg_cv_cxxflag__Wshadow=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CXXFLAGS="$dpkg_save_CXXFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wlogical_not_parentheses" >&5 -$as_echo "$dpkg_cv_cxxflags__Wlogical_not_parentheses" >&6; } - if test "x$dpkg_cv_cxxflags__Wlogical_not_parentheses" = xyes; then : - as_fn_append COMPILER_CXXFLAGS " -Wlogical-not-parentheses" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflag__Wshadow" >&5 +$as_echo "$dpkg_cv_cxxflag__Wshadow" >&6; } + if test "x$dpkg_cv_cxxflag__Wshadow" = xyes; then : + CXXWARNFLAGS="$CXXWARNFLAGS -Wshadow" fi @@ -23828,272 +12688,309 @@ - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wswitch-bool" >&5 -$as_echo_n "checking whether $CXX accepts -Wswitch-bool... " >&6; } -if ${dpkg_cv_cxxflags__Wswitch_bool+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wdeclaration-after-statement" >&5 +$as_echo_n "checking whether $CC accepts -Wdeclaration-after-statement... " >&6; } +if ${dpkg_cv_cflag__Wdeclaration_after_statement+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Wswitch-bool -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Wdeclaration-after-statement" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cxxflags__Wswitch_bool=yes + dpkg_cv_cflag__Wdeclaration_after_statement=yes else - dpkg_cv_cxxflags__Wswitch_bool=no + dpkg_cv_cflag__Wdeclaration_after_statement=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$dpkg_save_CFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wswitch_bool" >&5 -$as_echo "$dpkg_cv_cxxflags__Wswitch_bool" >&6; } - if test "x$dpkg_cv_cxxflags__Wswitch_bool" = xyes; then : - as_fn_append COMPILER_CXXFLAGS " -Wswitch-bool" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Wdeclaration_after_statement" >&5 +$as_echo "$dpkg_cv_cflag__Wdeclaration_after_statement" >&6; } + if test "x$dpkg_cv_cflag__Wdeclaration_after_statement" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Wdeclaration-after-statement" fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wvla" >&5 -$as_echo_n "checking whether $CXX accepts -Wvla... " >&6; } -if ${dpkg_cv_cxxflags__Wvla+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wnested-externs" >&5 +$as_echo_n "checking whether $CC accepts -Wnested-externs... " >&6; } +if ${dpkg_cv_cflag__Wnested_externs+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Wvla -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Wnested-externs" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cxxflags__Wvla=yes + dpkg_cv_cflag__Wnested_externs=yes else - dpkg_cv_cxxflags__Wvla=no + dpkg_cv_cflag__Wnested_externs=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$dpkg_save_CFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wvla" >&5 -$as_echo "$dpkg_cv_cxxflags__Wvla" >&6; } - if test "x$dpkg_cv_cxxflags__Wvla" = xyes; then : - as_fn_append COMPILER_CXXFLAGS " -Wvla" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Wnested_externs" >&5 +$as_echo "$dpkg_cv_cflag__Wnested_externs" >&6; } + if test "x$dpkg_cv_cflag__Wnested_externs" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Wnested-externs" fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Winit-self" >&5 -$as_echo_n "checking whether $CXX accepts -Winit-self... " >&6; } -if ${dpkg_cv_cxxflags__Winit_self+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wbad-function-cast" >&5 +$as_echo_n "checking whether $CC accepts -Wbad-function-cast... " >&6; } +if ${dpkg_cv_cflag__Wbad_function_cast+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Winit-self -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Wbad-function-cast" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cxxflags__Winit_self=yes + dpkg_cv_cflag__Wbad_function_cast=yes else - dpkg_cv_cxxflags__Winit_self=no + dpkg_cv_cflag__Wbad_function_cast=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$dpkg_save_CFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Winit_self" >&5 -$as_echo "$dpkg_cv_cxxflags__Winit_self" >&6; } - if test "x$dpkg_cv_cxxflags__Winit_self" = xyes; then : - as_fn_append COMPILER_CXXFLAGS " -Winit-self" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Wbad_function_cast" >&5 +$as_echo "$dpkg_cv_cflag__Wbad_function_cast" >&6; } + if test "x$dpkg_cv_cflag__Wbad_function_cast" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Wbad-function-cast" fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wwrite-strings" >&5 -$as_echo_n "checking whether $CXX accepts -Wwrite-strings... " >&6; } -if ${dpkg_cv_cxxflags__Wwrite_strings+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wstrict-prototypes" >&5 +$as_echo_n "checking whether $CC accepts -Wstrict-prototypes... " >&6; } +if ${dpkg_cv_cflag__Wstrict_prototypes+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Wwrite-strings -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Wstrict-prototypes" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cxxflags__Wwrite_strings=yes + dpkg_cv_cflag__Wstrict_prototypes=yes else - dpkg_cv_cxxflags__Wwrite_strings=no + dpkg_cv_cflag__Wstrict_prototypes=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$dpkg_save_CFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wwrite_strings" >&5 -$as_echo "$dpkg_cv_cxxflags__Wwrite_strings" >&6; } - if test "x$dpkg_cv_cxxflags__Wwrite_strings" = xyes; then : - as_fn_append COMPILER_CXXFLAGS " -Wwrite-strings" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Wstrict_prototypes" >&5 +$as_echo "$dpkg_cv_cflag__Wstrict_prototypes" >&6; } + if test "x$dpkg_cv_cflag__Wstrict_prototypes" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Wstrict-prototypes" fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wcast-align" >&5 -$as_echo_n "checking whether $CXX accepts -Wcast-align... " >&6; } -if ${dpkg_cv_cxxflags__Wcast_align+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wmissing-prototypes" >&5 +$as_echo_n "checking whether $CC accepts -Wmissing-prototypes... " >&6; } +if ${dpkg_cv_cflag__Wmissing_prototypes+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Wcast-align -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Wmissing-prototypes" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cxxflags__Wcast_align=yes + dpkg_cv_cflag__Wmissing_prototypes=yes else - dpkg_cv_cxxflags__Wcast_align=no + dpkg_cv_cflag__Wmissing_prototypes=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wcast_align" >&5 -$as_echo "$dpkg_cv_cxxflags__Wcast_align" >&6; } - if test "x$dpkg_cv_cxxflags__Wcast_align" = xyes; then : - as_fn_append COMPILER_CXXFLAGS " -Wcast-align" -fi - - - - + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + CFLAGS="$dpkg_save_CFLAGS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Wmissing_prototypes" >&5 +$as_echo "$dpkg_cv_cflag__Wmissing_prototypes" >&6; } + if test "x$dpkg_cv_cflag__Wmissing_prototypes" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Wmissing-prototypes" +fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wshadow" >&5 -$as_echo_n "checking whether $CXX accepts -Wshadow... " >&6; } -if ${dpkg_cv_cxxflags__Wshadow+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wold-style-definition" >&5 +$as_echo_n "checking whether $CC accepts -Wold-style-definition... " >&6; } +if ${dpkg_cv_cflag__Wold_style_definition+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Wshadow -Werror" + dpkg_save_CFLAGS="$CFLAGS" + CFLAGS="-Wold-style-definition" + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO"; then : - dpkg_cv_cxxflags__Wshadow=yes + dpkg_cv_cflag__Wold_style_definition=yes else - dpkg_cv_cxxflags__Wshadow=no + dpkg_cv_cflag__Wold_style_definition=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$dpkg_save_CFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wshadow" >&5 -$as_echo "$dpkg_cv_cxxflags__Wshadow" >&6; } - if test "x$dpkg_cv_cxxflags__Wshadow" = xyes; then : - as_fn_append COMPILER_CXXFLAGS " -Wshadow" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflag__Wold_style_definition" >&5 +$as_echo "$dpkg_cv_cflag__Wold_style_definition" >&6; } + if test "x$dpkg_cv_cflag__Wold_style_definition" = xyes; then : + CWARNFLAGS="$CWARNFLAGS -Wold-style-definition" fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wc++11-compat" >&5 $as_echo_n "checking whether $CXX accepts -Wc++11-compat... " >&6; } -if ${dpkg_cv_cxxflags__Wcpp11_compat+:} false; then : +if ${dpkg_cv_cxxflag__Wcpp11_compat+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Wc++11-compat -Werror" + dpkg_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="-Wc++11-compat" + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -24102,42 +12999,48 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - dpkg_cv_cxxflags__Wcpp11_compat=yes + dpkg_cv_cxxflag__Wcpp11_compat=yes else - dpkg_cv_cxxflags__Wcpp11_compat=no + dpkg_cv_cxxflag__Wcpp11_compat=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CXXFLAGS="$dpkg_save_CXXFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wcpp11_compat" >&5 -$as_echo "$dpkg_cv_cxxflags__Wcpp11_compat" >&6; } - if test "x$dpkg_cv_cxxflags__Wcpp11_compat" = xyes; then : - as_fn_append COMPILER_CXXFLAGS " -Wc++11-compat" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflag__Wcpp11_compat" >&5 +$as_echo "$dpkg_cv_cxxflag__Wcpp11_compat" >&6; } + if test "x$dpkg_cv_cxxflag__Wcpp11_compat" = xyes; then : + CXXWARNFLAGS="$CXXWARNFLAGS -Wc++11-compat" fi - if test "x$dpkg_cv_cxx11" = "xyes"; then : - - - - - - + if test "x$dpkg_cv_cxx11" = "xyes"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wzero-as-null-pointer-constant" >&5 $as_echo_n "checking whether $CXX accepts -Wzero-as-null-pointer-constant... " >&6; } -if ${dpkg_cv_cxxflags__Wzero_as_null_pointer_constant+:} false; then : +if ${dpkg_cv_cxxflag__Wzero_as_null_pointer_constant+:} false; then : $as_echo_n "(cached) " >&6 else - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Wzero-as-null-pointer-constant -Werror" + dpkg_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="-Wzero-as-null-pointer-constant" + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -24146,38 +13049,36 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - dpkg_cv_cxxflags__Wzero_as_null_pointer_constant=yes + dpkg_cv_cxxflag__Wzero_as_null_pointer_constant=yes else - dpkg_cv_cxxflags__Wzero_as_null_pointer_constant=no + dpkg_cv_cxxflag__Wzero_as_null_pointer_constant=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CXXFLAGS="$dpkg_save_CXXFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wzero_as_null_pointer_constant" >&5 -$as_echo "$dpkg_cv_cxxflags__Wzero_as_null_pointer_constant" >&6; } - if test "x$dpkg_cv_cxxflags__Wzero_as_null_pointer_constant" = xyes; then : - as_fn_append COMPILER_CXXFLAGS " -Wzero-as-null-pointer-constant" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflag__Wzero_as_null_pointer_constant" >&5 +$as_echo "$dpkg_cv_cxxflag__Wzero_as_null_pointer_constant" >&6; } + if test "x$dpkg_cv_cxxflag__Wzero_as_null_pointer_constant" = xyes; then : + CXXWARNFLAGS="$CXXWARNFLAGS -Wzero-as-null-pointer-constant" fi fi - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - CFLAGS="$COMPILER_CFLAGS $CFLAGS" - CXXFLAGS="$COMPILER_CXXFLAGS $CXXFLAGS" - fi + CFLAGS="$CWARNFLAGS $CFLAGS" + CXXFLAGS="$CXXWARNFLAGS $CXXFLAGS" +fi # Check whether --enable-compiler-optimisations was given. if test "${enable_compiler_optimisations+set}" = set; then : @@ -24271,10 +13172,7 @@ -$as_echo "#define PACKAGE_RELEASE PACKAGE_VERSION \" (\" ARCHITECTURE \")\"" >>confdefs.h - - -ac_config_files="$ac_config_files Makefile dpkg-deb/Makefile dpkg-split/Makefile dselect/Makefile dselect/methods/Makefile dselect/po/Makefile.in lib/Makefile lib/compat/Makefile lib/dpkg/Makefile lib/dpkg/libdpkg.pc lib/dpkg/t/Makefile doc/Doxyfile man/Makefile po/Makefile.in scripts/Makefile scripts/mk/Makefile scripts/po/Makefile.in src/Makefile utils/Makefile" +ac_config_files="$ac_config_files Makefile dpkg-deb/Makefile dpkg-split/Makefile dselect/Makefile dselect/methods/Makefile dselect/po/Makefile.in lib/Makefile lib/compat/Makefile lib/dpkg/Makefile lib/dpkg/libdpkg.pc lib/dpkg/test/Makefile doc/Doxyfile man/Makefile po/Makefile.in scripts/Makefile scripts/mk/Makefile scripts/po/Makefile.in src/Makefile utils/Makefile" ac_config_headers="$ac_config_headers config.h" @@ -24411,14 +13309,6 @@ am__EXEEXT_FALSE= fi -if test -z "${BUILD_SHARED_TRUE}" && test -z "${BUILD_SHARED_FALSE}"; then - as_fn_error $? "conditional \"BUILD_SHARED\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_LINKER_VERSION_SCRIPT_TRUE}" && test -z "${HAVE_LINKER_VERSION_SCRIPT_FALSE}"; then - as_fn_error $? "conditional \"HAVE_LINKER_VERSION_SCRIPT\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi if test -z "${BUILD_DSELECT_TRUE}" && test -z "${BUILD_DSELECT_FALSE}"; then as_fn_error $? "conditional \"BUILD_DSELECT\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -24443,23 +13333,7 @@ as_fn_error $? "conditional \"COVERAGE_ENABLED\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -if test -z "${HAVE_LIBMD_MD5_TRUE}" && test -z "${HAVE_LIBMD_MD5_FALSE}"; then - as_fn_error $? "conditional \"HAVE_LIBMD_MD5\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${WITH_SELINUX_TRUE}" && test -z "${WITH_SELINUX_FALSE}"; then - as_fn_error $? "conditional \"WITH_SELINUX\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_SETEXECFILECON_TRUE}" && test -z "${HAVE_SETEXECFILECON_FALSE}"; then - as_fn_error $? "conditional \"HAVE_SETEXECFILECON\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${HAVE_SYS_ERRLIST_TRUE}" && test -z "${HAVE_SYS_ERRLIST_FALSE}"; then - as_fn_error $? "conditional \"HAVE_SYS_ERRLIST\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi if test -z "${HAVE_C99_SNPRINTF_TRUE}" && test -z "${HAVE_C99_SNPRINTF_FALSE}"; then as_fn_error $? "conditional \"HAVE_C99_SNPRINTF\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -24905,7 +13779,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by dpkg $as_me 1.18.4, which was +This file was extended by dpkg $as_me 1.17.5, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -24971,7 +13845,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -dpkg config.status 1.18.4 +dpkg config.status 1.17.5 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -25099,381 +13973,6 @@ LINGUAS="${LINGUAS-%UNSET%}" - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -sed_quote_subst='$sed_quote_subst' -double_quote_subst='$double_quote_subst' -delay_variable_subst='$delay_variable_subst' -macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' -macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' -enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' -enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' -pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' -enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' -SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' -ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' -PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' -host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' -host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' -host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' -build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' -build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' -build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' -SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' -Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' -GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' -EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' -FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' -LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' -NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' -LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' -max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' -ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' -exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' -lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' -lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' -lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' -lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' -lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' -reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' -reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' -OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' -deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' -file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' -file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' -want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' -DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' -sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' -AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' -AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' -archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' -STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' -RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' -old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' -old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' -old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' -lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' -CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' -CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' -compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' -GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' -nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' -lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' -objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' -MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' -lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' -lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' -lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' -lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' -lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' -need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' -MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' -DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' -NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' -LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' -OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' -OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' -libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' -shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' -extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' -archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' -enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' -export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' -whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' -compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' -old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' -old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' -archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' -archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' -module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' -module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' -with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' -allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' -no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' -hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' -hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' -hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' -hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' -hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' -hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' -inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' -link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' -always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' -export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' -exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' -include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' -prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' -postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' -file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' -variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' -need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' -need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' -version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' -runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' -shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' -shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' -libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' -library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' -soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' -install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' -postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' -postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' -finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' -finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' -hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' -sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' -sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' -hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' -enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' -enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' -enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' -old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' -striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' -compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' -predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' -postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' -predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' -postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' -compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' -LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' -reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' -reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' -old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' -compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' -GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' -lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' -lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' -lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' -lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' -lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' -archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' -enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' -export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' -whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' -compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' -old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' -old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' -archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' -archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' -module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' -module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' -with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' -allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' -no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' -hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' -hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' -hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' -hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' -hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' -hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' -inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' -link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' -always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' -export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' -exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' -include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' -prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' -postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' -file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' -hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' -compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' -predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' -postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' -predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' -postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' -compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' - -LTCC='$LTCC' -LTCFLAGS='$LTCFLAGS' -compiler='$compiler_DEFAULT' - -# A function that is used when there is no print builtin or printf. -func_fallback_echo () -{ - eval 'cat <<_LTECHO_EOF -\$1 -_LTECHO_EOF' -} - -# Quote evaled strings. -for var in SHELL \ -ECHO \ -PATH_SEPARATOR \ -SED \ -GREP \ -EGREP \ -FGREP \ -LD \ -NM \ -LN_S \ -lt_SP2NL \ -lt_NL2SP \ -reload_flag \ -OBJDUMP \ -deplibs_check_method \ -file_magic_cmd \ -file_magic_glob \ -want_nocaseglob \ -DLLTOOL \ -sharedlib_from_linklib_cmd \ -AR \ -AR_FLAGS \ -archiver_list_spec \ -STRIP \ -RANLIB \ -CC \ -CFLAGS \ -compiler \ -lt_cv_sys_global_symbol_pipe \ -lt_cv_sys_global_symbol_to_cdecl \ -lt_cv_sys_global_symbol_to_c_name_address \ -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ -nm_file_list_spec \ -lt_prog_compiler_no_builtin_flag \ -lt_prog_compiler_pic \ -lt_prog_compiler_wl \ -lt_prog_compiler_static \ -lt_cv_prog_compiler_c_o \ -need_locks \ -MANIFEST_TOOL \ -DSYMUTIL \ -NMEDIT \ -LIPO \ -OTOOL \ -OTOOL64 \ -shrext_cmds \ -export_dynamic_flag_spec \ -whole_archive_flag_spec \ -compiler_needs_object \ -with_gnu_ld \ -allow_undefined_flag \ -no_undefined_flag \ -hardcode_libdir_flag_spec \ -hardcode_libdir_separator \ -exclude_expsyms \ -include_expsyms \ -file_list_spec \ -variables_saved_for_relink \ -libname_spec \ -library_names_spec \ -soname_spec \ -install_override_mode \ -finish_eval \ -old_striplib \ -striplib \ -compiler_lib_search_dirs \ -predep_objects \ -postdep_objects \ -predeps \ -postdeps \ -compiler_lib_search_path \ -LD_CXX \ -reload_flag_CXX \ -compiler_CXX \ -lt_prog_compiler_no_builtin_flag_CXX \ -lt_prog_compiler_pic_CXX \ -lt_prog_compiler_wl_CXX \ -lt_prog_compiler_static_CXX \ -lt_cv_prog_compiler_c_o_CXX \ -export_dynamic_flag_spec_CXX \ -whole_archive_flag_spec_CXX \ -compiler_needs_object_CXX \ -with_gnu_ld_CXX \ -allow_undefined_flag_CXX \ -no_undefined_flag_CXX \ -hardcode_libdir_flag_spec_CXX \ -hardcode_libdir_separator_CXX \ -exclude_expsyms_CXX \ -include_expsyms_CXX \ -file_list_spec_CXX \ -compiler_lib_search_dirs_CXX \ -predep_objects_CXX \ -postdep_objects_CXX \ -predeps_CXX \ -postdeps_CXX \ -compiler_lib_search_path_CXX; do - case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in - *[\\\\\\\`\\"\\\$]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" - ;; - *) - eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" - ;; - esac -done - -# Double-quote double-evaled strings. -for var in reload_cmds \ -old_postinstall_cmds \ -old_postuninstall_cmds \ -old_archive_cmds \ -extract_expsyms_cmds \ -old_archive_from_new_cmds \ -old_archive_from_expsyms_cmds \ -archive_cmds \ -archive_expsym_cmds \ -module_cmds \ -module_expsym_cmds \ -export_symbols_cmds \ -prelink_cmds \ -postlink_cmds \ -postinstall_cmds \ -postuninstall_cmds \ -finish_cmds \ -sys_lib_search_path_spec \ -sys_lib_dlsearch_path_spec \ -reload_cmds_CXX \ -old_archive_cmds_CXX \ -old_archive_from_new_cmds_CXX \ -old_archive_from_expsyms_cmds_CXX \ -archive_cmds_CXX \ -archive_expsym_cmds_CXX \ -module_cmds_CXX \ -module_expsym_cmds_CXX \ -export_symbols_cmds_CXX \ -prelink_cmds_CXX \ -postlink_cmds_CXX; do - case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in - *[\\\\\\\`\\"\\\$]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" - ;; - *) - eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" - ;; - esac -done - -ac_aux_dir='$ac_aux_dir' -xsi_shell='$xsi_shell' -lt_shell_append='$lt_shell_append' - -# See if we are running on zsh, and set the options which allow our -# commands through without removal of \ escapes INIT. -if test -n "\${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST -fi - - - PACKAGE='$PACKAGE' - VERSION='$VERSION' - TIMESTAMP='$TIMESTAMP' - RM='$RM' - ofile='$ofile' - - - - - - _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 @@ -25484,7 +13983,6 @@ case $ac_config_target in "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; - "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "dpkg-deb/Makefile") CONFIG_FILES="$CONFIG_FILES dpkg-deb/Makefile" ;; "dpkg-split/Makefile") CONFIG_FILES="$CONFIG_FILES dpkg-split/Makefile" ;; @@ -25495,7 +13993,7 @@ "lib/compat/Makefile") CONFIG_FILES="$CONFIG_FILES lib/compat/Makefile" ;; "lib/dpkg/Makefile") CONFIG_FILES="$CONFIG_FILES lib/dpkg/Makefile" ;; "lib/dpkg/libdpkg.pc") CONFIG_FILES="$CONFIG_FILES lib/dpkg/libdpkg.pc" ;; - "lib/dpkg/t/Makefile") CONFIG_FILES="$CONFIG_FILES lib/dpkg/t/Makefile" ;; + "lib/dpkg/test/Makefile") CONFIG_FILES="$CONFIG_FILES lib/dpkg/test/Makefile" ;; "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;; "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; @@ -26307,803 +14805,6 @@ ;; esac done ;; - "libtool":C) - - # See if we are running on zsh, and set the options which allow our - # commands through without removal of \ escapes. - if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST - fi - - cfgfile="${ofile}T" - trap "$RM \"$cfgfile\"; exit 1" 1 2 15 - $RM "$cfgfile" - - cat <<_LT_EOF >> "$cfgfile" -#! $SHELL - -# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007, 2008, 2009, 2010, 2011 Free Software -# Foundation, Inc. -# Written by Gordon Matzigkeit, 1996 -# -# This file is part of GNU Libtool. -# -# GNU Libtool 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. -# -# As a special exception to the GNU General Public License, -# if you distribute this file as part of a program or library that -# is built using GNU Libtool, you may include this file under the -# same distribution terms that you use for the rest of that program. -# -# GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy -# can be downloaded from http://www.gnu.org/licenses/gpl.html, or -# obtained by writing to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -# The names of the tagged configurations supported by this script. -available_tags="CXX " - -# ### BEGIN LIBTOOL CONFIG - -# Which release of libtool.m4 was used? -macro_version=$macro_version -macro_revision=$macro_revision - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# What type of objects to build. -pic_mode=$pic_mode - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# An echo program that protects backslashes. -ECHO=$lt_ECHO - -# The PATH separator for the build system. -PATH_SEPARATOR=$lt_PATH_SEPARATOR - -# The host system. -host_alias=$host_alias -host=$host -host_os=$host_os - -# The build system. -build_alias=$build_alias -build=$build -build_os=$build_os - -# 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 1s/^X//" - -# A grep program that handles long lines. -GREP=$lt_GREP - -# An ERE matcher. -EGREP=$lt_EGREP - -# A literal string matcher. -FGREP=$lt_FGREP - -# A BSD- or MS-compatible name lister. -NM=$lt_NM - -# Whether we need soft or hard links. -LN_S=$lt_LN_S - -# What is the maximum length of a command? -max_cmd_len=$max_cmd_len - -# Object file suffix (normally "o"). -objext=$ac_objext - -# Executable file suffix (normally ""). -exeext=$exeext - -# whether the shell understands "unset". -lt_unset=$lt_unset - -# turn spaces into newlines. -SP2NL=$lt_lt_SP2NL - -# turn newlines into spaces. -NL2SP=$lt_lt_NL2SP - -# convert \$build file names to \$host format. -to_host_file_cmd=$lt_cv_to_host_file_cmd - -# convert \$build files to toolchain format. -to_tool_file_cmd=$lt_cv_to_tool_file_cmd - -# An object symbol dumper. -OBJDUMP=$lt_OBJDUMP - -# 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 - -# How to find potential files when deplibs_check_method = "file_magic". -file_magic_glob=$lt_file_magic_glob - -# Find potential files using nocaseglob when deplibs_check_method = "file_magic". -want_nocaseglob=$lt_want_nocaseglob - -# DLL creation program. -DLLTOOL=$lt_DLLTOOL - -# Command to associate shared and link libraries. -sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd - -# The archiver. -AR=$lt_AR - -# Flags to create an archive. -AR_FLAGS=$lt_AR_FLAGS - -# How to feed a file listing to the archiver. -archiver_list_spec=$lt_archiver_list_spec - -# A symbol stripping program. -STRIP=$lt_STRIP - -# Commands used to install an old-style archive. -RANLIB=$lt_RANLIB -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds - -# Whether to use a lock for old archive extraction. -lock_old_archive_extraction=$lock_old_archive_extraction - -# A C compiler. -LTCC=$lt_CC - -# LTCC compiler flags. -LTCFLAGS=$lt_CFLAGS - -# 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 - -# Transform the output of nm in a C name address pair when lib prefix is needed. -global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix - -# Specify filename containing input files for \$NM. -nm_file_list_spec=$lt_nm_file_list_spec - -# The root where to search for dependent libraries,and in which our libraries should be installed. -lt_sysroot=$lt_sysroot - -# The name of the directory that contains temporary libtool files. -objdir=$objdir - -# Used to examine libraries when file_magic_cmd begins with "file". -MAGIC_CMD=$MAGIC_CMD - -# Must we lock files when doing compilation? -need_locks=$lt_need_locks - -# Manifest tool. -MANIFEST_TOOL=$lt_MANIFEST_TOOL - -# Tool to manipulate archived DWARF debug symbol files on Mac OS X. -DSYMUTIL=$lt_DSYMUTIL - -# Tool to change global to local symbols on Mac OS X. -NMEDIT=$lt_NMEDIT - -# Tool to manipulate fat objects and archives on Mac OS X. -LIPO=$lt_LIPO - -# ldd/readelf like tool for Mach-O binaries on Mac OS X. -OTOOL=$lt_OTOOL - -# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. -OTOOL64=$lt_OTOOL64 - -# Old archive suffix (normally "a"). -libext=$libext - -# Shared library suffix (normally ".so"). -shrext_cmds=$lt_shrext_cmds - -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds - -# Variables whose values should be saved in libtool wrapper scripts and -# restored at link time. -variables_saved_for_relink=$lt_variables_saved_for_relink - -# 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 - -# Library versioning type. -version_type=$version_type - -# Shared library runtime path variable. -runpath_var=$runpath_var - -# Shared library path variable. -shlibpath_var=$shlibpath_var - -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath - -# 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 - -# Permission mode override for installation of shared libraries. -install_override_mode=$lt_install_override_mode - -# Command to use after installation of a shared archive. -postinstall_cmds=$lt_postinstall_cmds - -# Command to use after uninstallation of a shared archive. -postuninstall_cmds=$lt_postuninstall_cmds - -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds - -# As "finish_cmds", except a single script fragment to be evaled but -# not shown. -finish_eval=$lt_finish_eval - -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs - -# 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 - -# 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 - -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib - - -# The linker used to build libraries. -LD=$lt_LD - -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds - -# Commands used to build an old-style archive. -old_archive_cmds=$lt_old_archive_cmds - -# A language specific compiler. -CC=$lt_compiler - -# Is the compiler the GNU compiler? -with_gcc=$GCC - -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag - -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic - -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl - -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_lt_prog_compiler_static - -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_lt_cv_prog_compiler_c_o - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$archive_cmds_need_lc - -# Whether or not to disallow shared libs when runtime libs are static. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes - -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec - -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec - -# Whether the compiler copes with passing no objects directly. -compiler_needs_object=$lt_compiler_needs_object - -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds - -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds - -# Commands used to build a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds - -# Commands used to build a loadable module if different from building -# a shared archive. -module_cmds=$lt_module_cmds -module_expsym_cmds=$lt_module_expsym_cmds - -# Whether we are building with GNU ld or not. -with_gnu_ld=$lt_with_gnu_ld - -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag - -# Flag that enforces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec - -# Whether we need a single "-rpath" flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator - -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -# DIR into the resulting binary. -hardcode_direct=$hardcode_direct - -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -# DIR into the resulting binary and the resulting library dependency is -# "absolute",i.e impossible to change by setting \${shlibpath_var} if the -# library is relocated. -hardcode_direct_absolute=$hardcode_direct_absolute - -# Set to "yes" if using the -LDIR flag during linking hardcodes DIR -# into the resulting binary. -hardcode_minus_L=$hardcode_minus_L - -# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR -# into the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var - -# 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=$hardcode_automatic - -# Set to yes if linker adds runtime paths of dependent libraries -# to runtime path list. -inherit_rpath=$inherit_rpath - -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs - -# Set to "yes" if exported symbols are required. -always_export_symbols=$always_export_symbols - -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds - -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms - -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms - -# Commands necessary for linking programs (against libraries) with templates. -prelink_cmds=$lt_prelink_cmds - -# Commands necessary for finishing linking programs. -postlink_cmds=$lt_postlink_cmds - -# Specify filename containing input files. -file_list_spec=$lt_file_list_spec - -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action - -# The directories searched by this compiler when creating a shared library. -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs - -# Dependencies to place before and after the objects being linked to -# create a shared library. -predep_objects=$lt_predep_objects -postdep_objects=$lt_postdep_objects -predeps=$lt_predeps -postdeps=$lt_postdeps - -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path - -# ### END LIBTOOL CONFIG - -_LT_EOF - - case $host_os in - aix3*) - cat <<\_LT_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 -_LT_EOF - ;; - esac - - -ltmain="$ac_aux_dir/ltmain.sh" - - - # 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) - - if test x"$xsi_shell" = xyes; then - sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ -func_dirname ()\ -{\ -\ case ${1} in\ -\ */*) func_dirname_result="${1%/*}${2}" ;;\ -\ * ) func_dirname_result="${3}" ;;\ -\ esac\ -} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_basename ()$/,/^} # func_basename /c\ -func_basename ()\ -{\ -\ func_basename_result="${1##*/}"\ -} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ -func_dirname_and_basename ()\ -{\ -\ case ${1} in\ -\ */*) func_dirname_result="${1%/*}${2}" ;;\ -\ * ) func_dirname_result="${3}" ;;\ -\ esac\ -\ func_basename_result="${1##*/}"\ -} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ -func_stripname ()\ -{\ -\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ -\ # positional parameters, so assign one to ordinary parameter first.\ -\ func_stripname_result=${3}\ -\ func_stripname_result=${func_stripname_result#"${1}"}\ -\ func_stripname_result=${func_stripname_result%"${2}"}\ -} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ -func_split_long_opt ()\ -{\ -\ func_split_long_opt_name=${1%%=*}\ -\ func_split_long_opt_arg=${1#*=}\ -} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ -func_split_short_opt ()\ -{\ -\ func_split_short_opt_arg=${1#??}\ -\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ -} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ -func_lo2o ()\ -{\ -\ case ${1} in\ -\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ -\ *) func_lo2o_result=${1} ;;\ -\ esac\ -} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_xform ()$/,/^} # func_xform /c\ -func_xform ()\ -{\ - func_xform_result=${1%.*}.lo\ -} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_arith ()$/,/^} # func_arith /c\ -func_arith ()\ -{\ - func_arith_result=$(( $* ))\ -} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_len ()$/,/^} # func_len /c\ -func_len ()\ -{\ - func_len_result=${#1}\ -} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - -fi - -if test x"$lt_shell_append" = xyes; then - sed -e '/^func_append ()$/,/^} # func_append /c\ -func_append ()\ -{\ - eval "${1}+=\\${2}"\ -} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ -func_append_quoted ()\ -{\ -\ func_quote_for_eval "${2}"\ -\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ -} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -test 0 -eq $? || _lt_function_replace_fail=: - - - # Save a `func_append' function call where possible by direct use of '+=' - sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") - test 0 -eq $? || _lt_function_replace_fail=: -else - # Save a `func_append' function call even when '+=' is not available - sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ - && mv -f "$cfgfile.tmp" "$cfgfile" \ - || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") - test 0 -eq $? || _lt_function_replace_fail=: -fi - -if test x"$_lt_function_replace_fail" = x":"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 -$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} -fi - - - mv -f "$cfgfile" "$ofile" || - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") - chmod +x "$ofile" - - - cat <<_LT_EOF >> "$ofile" - -# ### BEGIN LIBTOOL TAG CONFIG: CXX - -# The linker used to build libraries. -LD=$lt_LD_CXX - -# How to create reloadable object files. -reload_flag=$lt_reload_flag_CXX -reload_cmds=$lt_reload_cmds_CXX - -# Commands used to build an old-style archive. -old_archive_cmds=$lt_old_archive_cmds_CXX - -# A language specific compiler. -CC=$lt_compiler_CXX - -# Is the compiler the GNU compiler? -with_gcc=$GCC_CXX - -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX - -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic_CXX - -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl_CXX - -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_lt_prog_compiler_static_CXX - -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$archive_cmds_need_lc_CXX - -# Whether or not to disallow shared libs when runtime libs are static. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX - -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX - -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX - -# Whether the compiler copes with passing no objects directly. -compiler_needs_object=$lt_compiler_needs_object_CXX - -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX - -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX - -# Commands used to build a shared archive. -archive_cmds=$lt_archive_cmds_CXX -archive_expsym_cmds=$lt_archive_expsym_cmds_CXX - -# Commands used to build a loadable module if different from building -# a shared archive. -module_cmds=$lt_module_cmds_CXX -module_expsym_cmds=$lt_module_expsym_cmds_CXX - -# Whether we are building with GNU ld or not. -with_gnu_ld=$lt_with_gnu_ld_CXX - -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag_CXX - -# Flag that enforces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag_CXX - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX - -# Whether we need a single "-rpath" flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX - -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -# DIR into the resulting binary. -hardcode_direct=$hardcode_direct_CXX - -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -# DIR into the resulting binary and the resulting library dependency is -# "absolute",i.e impossible to change by setting \${shlibpath_var} if the -# library is relocated. -hardcode_direct_absolute=$hardcode_direct_absolute_CXX - -# Set to "yes" if using the -LDIR flag during linking hardcodes DIR -# into the resulting binary. -hardcode_minus_L=$hardcode_minus_L_CXX - -# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR -# into the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX - -# 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=$hardcode_automatic_CXX - -# Set to yes if linker adds runtime paths of dependent libraries -# to runtime path list. -inherit_rpath=$inherit_rpath_CXX - -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs_CXX - -# Set to "yes" if exported symbols are required. -always_export_symbols=$always_export_symbols_CXX - -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds_CXX - -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms_CXX - -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms_CXX - -# Commands necessary for linking programs (against libraries) with templates. -prelink_cmds=$lt_prelink_cmds_CXX - -# Commands necessary for finishing linking programs. -postlink_cmds=$lt_postlink_cmds_CXX - -# Specify filename containing input files. -file_list_spec=$lt_file_list_spec_CXX - -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action_CXX - -# The directories searched by this compiler when creating a shared library. -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX - -# Dependencies to place before and after the objects being linked to -# create a shared library. -predep_objects=$lt_predep_objects_CXX -postdep_objects=$lt_postdep_objects_CXX -predeps=$lt_predeps_CXX -postdeps=$lt_postdeps_CXX - -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX - -# ### END LIBTOOL TAG CONFIG: CXX -_LT_EOF - - ;; esac done # for ac_tag diff -Nru dpkg-1.18.4ubuntu1/configure.ac dpkg-1.17.5ubuntu5/configure.ac --- dpkg-1.18.4ubuntu1/configure.ac 2015-12-19 19:15:34.000000000 +0000 +++ dpkg-1.17.5ubuntu5/configure.ac 2013-12-10 06:14:22.000000000 +0000 @@ -4,47 +4,26 @@ AC_PREREQ(2.60) AC_INIT([dpkg], m4_esyscmd([./get-version]), [debian-dpkg@lists.debian.org]) -AC_SUBST([PACKAGE_COPYRIGHT_HOLDER], ['Dpkg Developers']) AC_CONFIG_SRCDIR([lib/dpkg/dpkg.h]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_AUX_DIR([build-aux]) AC_USE_SYSTEM_EXTENSIONS -AM_INIT_AUTOMAKE([1.11 -Wall foreign nostdinc no-dist-gzip dist-xz]) +AM_INIT_AUTOMAKE([1.11 foreign nostdinc no-dist-gzip dist-xz]) AM_SILENT_RULES([yes]) -# Do not unconditionally use the following macro, as Debian jessie does not -# have a recent enough gettext. -m4_ifdef([AM_GNU_GETTEXT_REQUIRE_VERSION], - [AM_GNU_GETTEXT_REQUIRE_VERSION([0.19])]) -# We cannot remove the following macro due to backwards compatibility reasons. -# In the future when the gettext version is bumped, we have to set the above -# macro unconditionally to the minimal version, and set the below to 0.19.6, -# the first version introducing the AM_GNU_GETTEXT_REQUIRE_VERSION macro. -AM_GNU_GETTEXT_VERSION([0.19]) +AM_GNU_GETTEXT_VERSION([0.18.2]) AM_GNU_GETTEXT([external]) DPKG_DIST_CHECK([test "$GMSGFMT" = ":" && test "$USE_NLS" = "yes"], [gettext required when NLS support enabled]) -# Shared libraries are disabled on purpose, currently there is no ABI stability -# guarantee, and it will be broken at will. The infrastructure is in place just -# to be able to test that its future activation will work. -AM_PROG_AR -LT_INIT([disable-shared]) -DPKG_BUILD_SHARED_LIBS -DPKG_LINKER_VERSION_SCRIPT - # Allow compilation without optional programs DPKG_BUILD_PROG([dselect]) DPKG_BUILD_PROG([start-stop-daemon]) DPKG_BUILD_PROG([update-alternatives]) -DPKG_BUILD_DEVEL_DOCS - # Allow alternate directories -DPKG_WITH_DIR([devlibdir], [${libdir}], - [dpkg development library directory [LIBDIR]]) DPKG_WITH_DIR([pkgconfdir], [${sysconfdir}/${PACKAGE_NAME}], [dpkg configuration directory [SYSCONFDIR/dpkg]]) DPKG_WITH_DIR([admindir], [${localstatedir}/lib/${PACKAGE_NAME}], @@ -52,9 +31,8 @@ DPKG_WITH_DIR([logdir], [${localstatedir}/log], [system logging directory [LOCALSTATEDIR/log]]) -# Set default dpkg-deb values +# Set default dpkg-deb compressor DPKG_DEB_COMPRESSOR([xz]) -DPKG_DEB_PROG_TAR # Checks for programs. AC_PROG_CC @@ -63,6 +41,7 @@ DPKG_CXX_CXX11 AC_PROG_LEX DPKG_DIST_CHECK([test "$LEX" = ":"], [lex program required]) +AC_PROG_RANLIB AC_CHECK_PROGS([DOXYGEN], [doxygen]) AC_CHECK_PROG([HAVE_DOT], [dot], [YES], [NO]) DPKG_PROG_PO4A @@ -74,7 +53,6 @@ AC_SYS_LARGEFILE # Checks for libraries. -DPKG_LIB_MD DPKG_LIB_ZLIB DPKG_LIB_BZ2 DPKG_LIB_LZMA @@ -88,9 +66,8 @@ # Checks for header files. AC_HEADER_STDC -AC_CHECK_HEADERS([stddef.h error.h err.h locale.h libintl.h kvm.h \ - sys/param.h sys/sysctl.h sys/syscall.h sys/user.h \ - sys/proc.h sys/pstat.h linux/fiemap.h]) +AC_CHECK_HEADERS([stddef.h error.h locale.h libintl.h kvm.h \ + sys/syscall.h linux/fiemap.h]) # Checks for typedefs, structures, and compiler characteristics. AC_C_BIGENDIAN @@ -105,28 +82,23 @@ AC_CHECK_SIZEOF([unsigned int]) AC_CHECK_SIZEOF([unsigned long]) DPKG_DECL_SYS_SIGLIST -DPKG_DECL_SYS_ERRLIST # Checks for library functions. DPKG_FUNC_VA_COPY DPKG_FUNC_C99_SNPRINTF DPKG_CHECK_DECL([offsetof], [stddef.h]) -DPKG_CHECK_DECL([makedev], [sys/types.h]) DPKG_CHECK_DECL([WCOREDUMP], [sys/wait.h]) DPKG_CHECK_DECL([TIOCNOTTY], [sys/ioctl.h]) DPKG_CHECK_DECL([O_NOFOLLOW], [fcntl.h]) -DPKG_CHECK_DECL([F_ALLOCSP64], [fcntl.h]) -DPKG_CHECK_DECL([F_PREALLOCATE], [fcntl.h]) -DPKG_CHECK_DECL([P_tmpdir], [stdio.h]) DPKG_CHECK_PROGNAME DPKG_CHECK_COMPAT_FUNCS([getopt getopt_long obstack_free \ strnlen strndup strerror strsignal asprintf \ scandir alphasort unsetenv]) +AC_CHECK_DECLS([strnlen], [[#include ]]) AC_CHECK_FUNCS([memcpy lchown], [], [AC_MSG_ERROR([missing required function])]) AC_CHECK_FUNCS([strtoimax isascii setsid getdtablesize \ - getprogname getexecname lutimes \ - fallocate posix_fallocate posix_fadvise]) + getprogname getexecname lutimes posix_fadvise]) DPKG_MMAP @@ -136,8 +108,6 @@ DPKG_COMPILER_OPTIMISATIONS DPKG_LINKER_OPTIMISATIONS DPKG_ARCHITECTURE -AC_DEFINE([PACKAGE_RELEASE], [PACKAGE_VERSION " (" ARCHITECTURE ")"], - [Define the project release information, version and architecture]) AC_CONFIG_FILES([ Makefile dpkg-deb/Makefile @@ -149,7 +119,7 @@ lib/compat/Makefile lib/dpkg/Makefile lib/dpkg/libdpkg.pc - lib/dpkg/t/Makefile + lib/dpkg/test/Makefile doc/Doxyfile man/Makefile po/Makefile.in diff -Nru dpkg-1.18.4ubuntu1/cputable dpkg-1.17.5ubuntu5/cputable --- dpkg-1.18.4ubuntu1/cputable 2015-12-25 03:53:50.000000000 +0000 +++ dpkg-1.17.5ubuntu5/cputable 2013-11-04 03:14:37.000000000 +0000 @@ -14,10 +14,10 @@ # Column 5 is the endianness (byte ordering in numbers) # # -i386 i586 (i[34567]86|pentium) 32 little +i386 i486 (i[3456]86|pentium) 32 little ia64 ia64 ia64 64 little alpha alpha alpha.* 64 little -amd64 x86_64 (amd64|x86_64) 64 little +amd64 x86_64 x86_64 64 little armeb armeb arm.*b 32 big arm arm arm.* 32 little arm64 aarch64 aarch64 64 little @@ -29,10 +29,7 @@ mipsel mipsel mipsel 32 little mips64 mips64 mips64 64 big mips64el mips64el mips64el 64 little -nios2 nios2 nios2 32 little -or1k or1k or1k 32 big powerpc powerpc (powerpc|ppc) 32 big -powerpcel powerpcle powerpcle 32 little ppc64 powerpc64 (powerpc|ppc)64 64 big ppc64el powerpc64le powerpc64le 64 little s390 s390 s390 32 big diff -Nru dpkg-1.18.4ubuntu1/debian/changelog dpkg-1.17.5ubuntu5/debian/changelog --- dpkg-1.18.4ubuntu1/debian/changelog 2016-01-12 21:33:35.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/changelog 2014-03-07 10:48:35.000000000 +0000 @@ -1,1857 +1,3 @@ -dpkg (1.18.4ubuntu1) xenial; urgency=medium - - * Merge from Debian testing; remaining changes in the Ubuntu delta: - - Change native source version/format mismatch errors into warnings - until the dust settles on Debian bug 737634 about override options. - - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level - tools can get untranslated dpkg terminal log messages while at the - same time having translated debconf prompts. - - Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib. - - Map unqualified package names of multiarch-same packages to the native - arch instead of throwing an error, so that we don't break on upgrade - when there are unqualified names stored in the dpkg trigger database. - - Apply a workaround from mvo to consider ^rc packages as multiarch, - during the dpkg consistency checks. (see LP: 1015567 and 1057367). - - Carry over Breaks/Conflicts for triggers/upgrades until post-16.04. - - -- Adam Conrad Tue, 12 Jan 2016 14:24:21 -0700 - -dpkg (1.18.4) unstable; urgency=medium - - [ Guillem Jover ] - * Switch dpkg-scansources and dpkg-scanpackages to use File::Find instead - of find(1), as the former is more portable with more consistent behavior, - and always canonicalizes the pathnames. Closes: #800649 - * Initialize Config-Version also for packages previously in triggers-pending - state, otherwise we end up not passing the previously configured version - to «postinst configure», which might consider this a first install instead - of an upgrade. Closes: #801156 - * Fix memory leaks in «dpkg --verify» and dpkg infodb format upgrade logic. - * Merge all update-alternatives action handling into a single if-else-if - block, to unify the code an allow a future switch into a shared library. - * Perform any necessary cleanups on normal exit from dpkg-divert --add and - --remove commands. - * Make dpkg-architecture warning on non-matching GNU system type compiler - agnostic. - * Add ‘.gitreview’ to the default dpkg-source ignore lists. - * Add support for DPKG_MAINTSCRIPT_DEBUG environment variable to dpkg. - * Fix dpkg-checkbuilddeps exit code to be 1 instead of a random error value - on unsatisfied dependencies. Regression introduced in dpkg 1.18.3. - * Fix an off-by-one write access in dpkg-deb when parsing the old format - .deb control member size. Thanks to Hanno Böck . - Fixes CVE-2015-0860. - * Fix an off-by-one read access in dpkg-deb when parsing ar member names. - Thanks to Hanno Böck . - * Add experimental multithreaded xz compression support in libdpkg, which - requires xz >= 5.2.0. - * Fix physical file offset comparison in dpkg. Closes: #808912 - Thanks to Yuri Gribov . - * Fix usage of dpkg-architecture -s after other action options. - Reported by Niels Thykier . - * Add NIOS2 support to cputable. Thanks to Marek Vasut . - * On Debian and derivatives enable timeless build flag feature by default. - Thanks to Paul Wise . Closes: #805872 - * Perl modules: - - Add support for Build-Essential field. Closes: #806315 - * Test suite: - - Improve perl code test coverage. - * Build system: - - Set PERL5LIB globally for the test suite to the local modules directory, - to avoid using the system modules. Regression introduced in dpkg 1.17.8. - Reported by Jérémy Bobbio . Closes: #801329 - - Use absolute buildir pathnames in PATH variable for the test suite. - - Descend into scripts directory when cleaning up code coverage files. - - Add new configure option --disable-devel-docs to select the kind of docs - to generate, default for now is development documentation. - - Try to use AM_GNU_GETTEXT_REQUIRE_VERSION to benefit from the latest - installed gettext version, while guaranteeing a minimal required version. - * Packaging: - - Add missing Build-Depends for restriction formula support. - * Documentation: - - Move description for “target architecture” from the dpkg-architecture(1) - ‘-A’ option to the TERMS section. Closes: #799046 - - Clarify that the md5sum check on «dpkg --verify» is performed on the - file contents, and failures denote changed content. Closes: #760248 - - Document that dpkg-buildpacakge -nc -S implies -d. - - Clarify role of Build-Depends in deb-src-control(5). - Prompted by Johannes Schauer . - - Document supported feature areas. - - Clarify in dpkg-query(1) when binary:Package gets arch-qualified. - Closes: #801958 - - Add a subsection separating external from internal environment variables - in dpkg(1). - - [ Updated programs translations ] - * Dutch (Frans Spiesschaert). Closes: #800513 - * Japanese (Kenshi Muto). Closes: #799432 - * Turkish (Mert Dirik). Closes: #799875 - - [ Updated scripts translations ] - * German (Helge Kreutzmann). - - [ Updated manpages translations ] - * German (Helge Kreutzmann, Julian R). Closes: #807156 - - -- Guillem Jover Fri, 25 Dec 2015 13:20:26 +0100 - -dpkg (1.18.3ubuntu1) xenial; urgency=medium - - * Merge from Debian testing; remaining changes in the Ubuntu delta: - - Change native source version/format mismatch errors into warnings - until the dust settles on Debian bug 737634 about override options. - - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level - tools can get untranslated dpkg terminal log messages while at the - same time having translated debconf prompts. - - Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib. - - Map unqualified package names of multiarch-same packages to the native - arch instead of throwing an error, so that we don't break on upgrade - when there are unqualified names stored in the dpkg trigger database. - - Apply a workaround from mvo to consider ^rc packages as multiarch, - during the dpkg consistency checks. (see LP: 1015567 and 1057367). - - Carry over Breaks/Conflicts for triggers/upgrades until post-16.04. - - -- Adam Conrad Fri, 23 Oct 2015 16:20:32 +0100 - -dpkg (1.18.3) unstable; urgency=medium - - [ Guillem Jover ] - * Fix short-lived memory leaks in start-stop-daemon. As a side effect now - a missing group after ‘:’ on --chuid is a fatal error. - * Print the master and slave links in «update-alternatives --display». - * Print the current best alternative in the head instead of the trail - in «update-alternatives --display», with a two space indentation. - * Reimplement «update-alternatives --all» as a fully built-in command - instead of executing itself with --config per subtask. - * Reimplement «update-alternatives --set-selections» as a fully built-in - command instead of executing itself with --set or --auto per subtask. - * Add kfreebsd-armhf support to ostable and triplettable. Closes: #796283 - Thanks to Steven Chamberlain . - * Fix «dpkg --verify» with --root. - * Fix an off-by-one write access in dpkg-deb when parsing the .deb magic. - Reported by Jacek Wielemborek . Closes: #798324 - * Split overlong perl regexes into multiline extended regexes. - * Switch dselect multicd method license from GPL2 to GPL2+, with consent - from all its authors. - * Fix inadvertent license change for lib/dpkg/utils.c from GPL2 to GPL2+. - * Fix segfault when using «dpkg --no-act» with a synthetic --admindir. - Reported by David Kalnischkies . - * Perl modules: - - Only warn on invalid week days instead of aborting in - Dpkg::Changelog::Entry::Debian. Regression introduced in dpkg 1.18.2. - Reported by Jakub Wilk . - - Do not warn when removing an empty subdirectory on source package - extraction in Dpkg::Source::Package::V2. Closes: #796671 - - Do not abort on parse errors from Time::Piece->strptime() for the - changelog trailer date, just queue them so that the caller can decide - if they should be warnings or actual errors. Closes: #795936 - - Validate the changelog trailer date, and catch and warn or error on - bogus month names, such as unknown or unabbreviated ones. - * Test suite: - - Get the reference build flags from dpkg-buildflags.pl, instead of - hardcoding them, which might not match depending on the architecture. - Closes: #794694 - - Delete any environment variable starting with DEB_ in mk.t that might - affect the test results. - * Build system: - - Add a new --with-devlibdir configure option for the C libdpkg library. - * Packaging: - - Remove unneeded --sourcedir options from dh_install calls. - - Use the new --with-devlibdir configure option to only switch libdpkg-dev - files to the multi-arch directory. Closes: #794977 - * Documentation: - - Fix typos for --predep-package option name. Closes: #794688 - - Add missing dashes to package-list in deb-src-control(5). - - Mark each individual required field as such, instead of using segregated - sections. - - [ Updated programs translations ] - * Catalan (Jordi Mallach). - * French (Sébastien Poher). Closes: #798371 - * German (Sven Joachim). - * Vietnamese (Trần Ngọc Quân). - - [ Updated dselect translations ] - * French (Sébastien Poher). Closes: #798370 - - [ Updated scripts translations ] - * French (Sébastien Poher). Closes: #798369 - * German (Helge Kreutzmann). - - [ Updated manpages translations ] - * German (Helge Kreutzmann). - - -- Guillem Jover Mon, 21 Sep 2015 07:11:42 +0200 - -dpkg (1.18.2ubuntu5) wily; urgency=medium - - * Pull packaging changes from 1.18.3 to fix libdir issues (LP: #1504761) - * Fix an off-by-one write access in dpkg-deb when parsing the deb magic. - * Fix a segfault when using «dpkg --no-act» with a synthetic --admindir. - - -- Adam Conrad Sat, 17 Oct 2015 12:47:12 -0600 - -dpkg (1.18.2ubuntu4) wily; urgency=medium - - * Add a Breaks on software-center (<< 13.10-0ubuntu9~) for trigger loops. - - -- Adam Conrad Fri, 11 Sep 2015 11:11:01 -0600 - -dpkg (1.18.2ubuntu3) wily; urgency=medium - - * Cherrypick fix from git to be less strict about week day parsing. - * Extend the above to also be less strict about month name parsing. - - -- Adam Conrad Wed, 26 Aug 2015 16:39:42 -0600 - -dpkg (1.18.2ubuntu2) wily; urgency=medium - - * Add a Breaks on dbus (<< 1.8.12-1ubuntu6~) to avoid the noawait trigger. - - -- Adam Conrad Tue, 18 Aug 2015 13:51:02 -0600 - -dpkg (1.18.2ubuntu1) wily; urgency=medium - - * Merge with Debian unstable, bringing in a whole host of new bugfixes. - - -- Adam Conrad Thu, 13 Aug 2015 02:05:42 -0600 - -dpkg (1.18.2) unstable; urgency=low - - [ Guillem Jover ] - * Fix plural form translations for single plural languages. Closes: #790025 - * Add new dpkg-buildpackage -J option, which is a safe version of -j. - * Fix dpkg-gencontrol to add correct binary filename to debian/files, - even when overriding the Package field value with the -D option. - Reported by Niels Thykier . - * Move the implicit build-essential:native Build-Depends from - dpkg-checkbuilddeps to a new vendor hook, as it is Debian-specific. - * Add support for ignoring built-in build dependencies and conflicts - with the new «dpkg-buildpackage --ignore-builtin-builddeps» and - «dpkg-checkbuilddeps -I» options. Closes: #480638, #571671 - * When sys_siglist is defined in the system, try to use NSIG as we cannot - compute the array size with sizeof(). If NSIG is missing fallback to 32 - items. Prompted by Igor Pashev . - * Use string_to_security_class() instead of a literal SECCLASS value in - the setexecfilecon() libcompat function, as is now - deprecated. - * Switch libdpkg xz compressor to use CRC64 for integrity checks, to match - the default on the command-line tool, which should provide slightly better - detection against damaged data, at a negligible speed difference. - * Only use the SHELL environment variable for interactive shells. - Closes: #788819 - * Move tar option --no-recursion before -T in dpkg-deb. With tar > 1.28 the - --no-recursion option is now positional, and needs to be passed before - the -T option, otherwise the tarball will end up with duplicated entries. - Thanks to Richard Purdie . - * Add an extra level of escaping for double $(evals) in architecture.mk - and buildflags.mk, so that the variables are computed lazily again. - Regression introduced in dpkg 1.16.2. Closes: #793330 - * Add binary packages Essential information to Package-List field in the - .dsc file, as optional essential=yes entries. This allows precomputing - the pseudo-essential set before starting an architecture bootstrap. - * Perl modules: - - Remove non-functional timezone name support from - Dpkg::Changelog::Entry::Debian. - - Use Time::Piece (part of the perl core distribution) instead of - Date::Parse in Dpkg::Changelog::Entry::Debian. This reduces the build - and run-time dependencies, and helps architecture bootstrapping. - - Simplify distribution splitting in Dpkg::Changelog::Entry::Debian. - - Add new function changelog_parse_plugin() in Dpkg::Changelog::Parse. - - Add new function changelog_parse_debian() in Dpkg::Changelog::Parse, and - use it in changelog_parse() instead of the external plugin parser when - the input format is “debian”. This significantly speeds up the parsing. - - Remove trailing space before handling blank line dot-separator in - Dpkg::Control::HashCore. Regression introduced in dpkg 1.18.0. - Reported by Jakub Wilk . Closes: #789580 - - Allow the Maintainer field in CTRL_FILE_STATUS. - - Import make_path from File::Path in Dpkg::Source::Package::V2. - Regression introduced in dpkg 1.18.0. Closes: #789957 - - Make the BinaryFiles subpackage self-contained by explicitly importing - File::Spec in Dpkg::Source::Package::V2. - - Do not exclude pre-existing symlinks when unpacking the debian/ tarball - in Dpkg::Source::Package::V2. Closes: #790073, #791535 - - Disable the thread sanitizer when the address sanitizer is enabled - in Dpkg::Vendor::Debian as these are mutually incompatible, and make - sanitize=+all not work at all. - - Allow colons (:) in added filenames in Dpkg::Dist::Files, which can be - present when the upstream version contains colons. Regression introduced - in dpkg 1.18.0. Reported by Jakub Wilk . - - Future-proof tar invocations in Dpkg::Source::Archive for options that - might become positional in the future, and by always placing function - options first. - - Make the dependency comparison deep by comparing not only the first - dependency alternative, to get them sorted in a reproducible way. - Based on a patch by Chris Lamb . Closes: #792491 - - Support spaces in symbol names in Dpkg::Shlibs::Objdump. This is - required by Go shared libraries. Closes: #785344 - Based on a patch by Michael Hudson-Doyle . - * Test suite: - - Set SIGINT, SIGTERM and SIGPIPE to their default actions to get - deterministic behavior. - - Add test cases for the makefile snippets. - - Delete DEB_VENDOR from the environment to get reliable results. - * Packaging: - - Make the libdpkg-dev package Multi-Arch:same. - - Mark libio-string-perl as . - * Documentation: - - Fix grammar in dpkg-architecture(1). - Thanks to Chris Lamb . Closes: #787616 - - Use the feature area name in the dpkg-buildflags(1) subsection title. - - Document DPKG_HOOK_ACTION also in dpkg(1) ENVIRONMENT section. - - Clarify when some features where added in man pages. - - Document --yet-to-unpack, --predep-package and all --assert- - commands as supported in both «dpkg --help» and dpkg(1). - - Document abitable in dpkg-architecture(1). - - Clarify that an architecture wildcard is a Debian thing in - dpkg-architecture(1). - - Document multiarch triplet in dpkg-architecture(1) TERMS section. - - Remove “my” keyword from Dpkg perl modules function prototypes. - - Say FUNCTIONS instead of METHODS for Dpkg modules when appropriate. - - Fix POD syntax inside verbatim paragraph in Dpkg::Changelog. - - Document and mark Dpkg::Arch as a public module. - - Fix Dpkg::Changelog::Parse::changelog_parse documentation. - - [ Updated programs translations ] - * Dutch (Frans Spiesschaert). Closes: #789097 - * Simplified Chinese (Zhou Mo). Closes: #787986 - * Turkish (Mert Dirik). Closes: #788211 - * Vietnamese (Trần Ngọc Quân). - - [ Updated manpages translations ] - * German (Helge Kreutzmann). - - [ Updated dselect translations ] - * Dutch (Frans Spiesschaert). Closes: #789096 - - [ Updated scripts translations ] - * German (Helge Kreutzmann). - - -- Guillem Jover Mon, 03 Aug 2015 15:40:21 +0200 - -dpkg (1.18.1ubuntu1) wily; urgency=medium - - * Merge from Debian testing; remaining changes in the Ubuntu delta: - - Change native source version/format mismatch errors into warnings - until the dust settles on Debian bug 737634 about override options. - - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level - tools can get untranslated dpkg terminal log messages while at the - same time having translated debconf prompts. - - Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib. - - Map unqualified package names of multiarch-same packages to the native - arch instead of throwing an error, so that we don't break on upgrade - when there are unqualified names stored in the dpkg trigger database. - - Apply a workaround from mvo to consider ^rc packages as multiarch, - during the dpkg consistency checks. (see LP: 1015567 and 1057367). - * Carry over Breaks/Conflicts for triggers/upgrades until post-16.04. - - -- Adam Conrad Mon, 27 Jul 2015 15:45:43 -0600 - -dpkg (1.18.1) unstable; urgency=low - - [ Guillem Jover ] - * Cast c_isbits() c argument to an unsigned char when indexing the array. - This fixes build failures on armel, armhf, ppc64el and s390x. - * Do not allow pathnames with embedded newlines in dpkg-deb and dpkg. - Closes: #720761 - * Fix setting the SE Linux context when a file has a statoverride. - Closes: #786435 - * Set the SE Linux file context even when the file mode has no file type. - * Make dpkg-buildpackage -j override any parallel option specified in - DEB_BUILD_OPTIONS. Regression introduced in dpkg 1.14.15. - * Honor Pre-Depends, Conflicts and Breaks for packages in unpacked and - half states. Thanks to Ian Jackson . Closes: #377860 - * Fix build failure on FreeBSD by actually using libmd if available. - * Sort dpkg-scanpackages output by package name and version. - Thanks to Maximilian Schwerin . - * Sort dpkg-scansources output by package name and version. - Thanks to Maximilian Schwerin . - * Set the correct default compression value in dpkg-deb for control.tar.gz - member. This meant using compression level 1 when using the zlib shared - library to compress the control.tar member, and always failing when using - the gzip command. Regression introduced in dpkg 1.17.6. Closes: #786654 - * Use the generated template file instead of the original one when looking - for changes in dpkg-gensymbols. There's too much information not being - preserved in the symbols files to be able to regenerate templates for - them. Closes: #785937, #786840 - * Perl modules: - - Add missing strict and warnings pragmas for submodules. - - Use non-destructive substitutions inside map. - - Use the state keyword to simplify the code. - - Do not replace #PACKAGE# in template mode in Dpkg::Shlibs::SymbolFile. - * Documentation: - - Update current default source compressor from gzip to xz. - - Remove spurious ‘=’ from parallel DEB_BUILD_OPTIONS without arguments - in dpkg-buildpackage(1). - - [ Updated programs translations ] - * German (Sven Joachim). - * Simplified Chinese (Zhou Mo). Closes: #786377 - - [ Updated manpages translations ] - * German (Helge Kreutzmann). - - [ Updated dselect translations ] - * German (Sven Joachim). - - -- Guillem Jover Sat, 30 May 2015 03:00:21 +0200 - -dpkg (1.18.0) unstable; urgency=low - - [ Guillem Jover ] - * Only trim trailing “/” and “/.” from «dpkg-query --search» arguments if - they are a pathname, and not a pattern or a substring match. - * Switch C/C++ code to use a new set of C locale character type functions - independent of the current locale. - * Add support for arch-bits and arch-endian dpkg-gensymbols tags. - Closes: #630342 - * Switch perl code from legacy File::Path functions to new ones. - * Fix perl uninitialized value usage in dpkg-scansources when the Binary - field is missing. - * Use dpkg-query instead of dpkg for --search in dpkg-shlibdeps so that - the subprocesses get the correct admindir. Closes: #775258 - * Rework the Installed-Size field default value computation to make it - reproducible regardless of the build system filesystem, and document - how the value is computed and that it is just an approximation. - Closes: #650077 - * Use strftime() instead of «date -R» in dpkg-genchanges, as the latter - is not specified by POSIX and is not widely portable. - * Warn on obsolete '<' and '>' operators in dpkg --compare-versions. - * Trim end of line whitespace from dpkg and dselect config file parsers. - Reported by Christoph Biedl . - * Do not silently eat a standalone ‘-’ in the libdpkg command-line parser. - * Fix short-lived memory leaks in dpkg-deb and libdpkg. Closes: #769515 - * Fix «dpkg-deb -b» filename generation when the package does not contain - an Architecture field. Regression introduced in dpkg 1.16.2. - * Fix «dpkg --audit» to report missing and empty architecture fields. - Regression introduced in dpkg 1.16.2. - * Add support to dpkg-deb for reading the archive from standard input, - except for --raw-extract which does not yet support it. Closes: #616614 - Based on a patch by Johannes Schauer . - * Add ‘.mailmap’ to the default dpkg-source ignore lists. - * Set the SE Linux context on «dpkg-statoverride --update». Closes: #690361 - * Do not fail on dpkg-query -W and -l when multiple arguments match the - same package. Closes: #588505 - * Change dpkg-maintscript-helper to handle symlinks and pathnames ending in - slash. For the former error out, for the latter strip it. Closes: #771752 - * Support moving a conffile not being shipped anymore. Closes: #767003 - Thanks to Mathias Behrle . - * Add a new dpkg-buildflags sanitize feature area: - - Add new “address”, “thread”, “leak” and “undefined” features, all - disabled by default. Closes: #760741 - * Do not accept unknown user or group names on «dpkg-statoverride --add». - Regression introduced in dpkg 1.17.11. Closes: #775124 - * Normalize dpkg-parsechangelog command-line parsing, so that «-ovalue», - «-o value», «--option=value» and «--option value» will all be accepted. - Closes: #693951 - * Add dpkg --ctrl-tarfile forwarding command for dpkg-deb. - * Disable dependency checks on dpkg-buildpackage -S -nc. - * Make dependency checks fatal for dpkg-buildpackage -S. - * Update amd64 GNU cpu regex in cputable to match amd64 too, in addition - to x86_64. This is required for FreeBSD. - * Use badusage() instead of ohshit() for command-line errors. - * Use the original template symbols file when diffing in dpkg-gensymbols. - We should not create a new template symbols file, because the output - might change (different sorting order for example) relative to the - original. Closes: #773718 - * Do not leak kvm descriptors in start-stop-daemon on GNU/kFreeBSD systems. - Based on a patch by Jeff Epler . Closes: #779467 - * Switch start-stop-daemon to use a monotonic clock if available. This - makes the timeout checks resilient to abrupt system clock changes. - Suggested by Jose M Calhariz . Closes: #783014 - * Fix perl warning in dpkg-genchanges when parsing BY-HAND file entries. - Regression introduced in dpkg 1.17.7. Closes: #781074 - * Use the checksums files list order when building the Files field to match - the other Checksum fields in dpkg-genchanges. - * Skip files based on the architecture from the filename in dpkg-genchanges. - * Allow binary packages not found in debian/control in dpkg-genchanges, - which could allow injecting debug .debs for example. - * Annotate any non-deb binary descriptions (not just udebs) with their - package type in dpkg-genchanges. - * Remove outdated local copy of the Debian README.mirrors.txt file from - dselect ftp access method, and print a message pointing to the current - URL instead. Closes: #784966 - * Cleanup default dpkg-shlibdeps shared library directory search list: - - Do not add cross-root directories (// and /usr//). - - Remove ancient multilib /emul/ia32-linux/ paths. - - Reorder directory precedence to: - «dpkg-shlibdeps -l» > ENV{LD_LIBRARY_PATHS} > cross-multiarch > - DEFAULT_LIBRARY_PATH > ld.so.conf > DEFAULT_MULTILIB_PATH - * When upgrading, copy over the cached arch-qualified package name. This - fixes wrong output when cross-grading. - * Consider foreign packages ambiguous in need of an arch-qualifier. - * Perl modules: - - Rename and deprecate Dpkg::Gettext _g function with new g_. - - Assume in Dpkg::Arch that the abitable is always present, and bump - libdpkg-perl Depends on dpkg to 1.16.3, the version introducing the file. - - Remove support for GCC_TARGET environment variable from Dpkg::Shlibs. - This was a temporary workaround for very old gcc toolchains. See #453267. - - Prefer multiarch paths to multilib ones in Dpkg::Shlibs. - Thanks to Helmut Grohne . Closes: #772184 - - Enable sub-second timestamps in Dpkg::Source::Patch by using Time::HiRes. - - Use TMPDIR instead of manually setting DIR on tempfile() call in - Dpkg::Source::Package::V2. - - Switch Dpkg::Checksums from using checksum programs to the more portable - Digest modules. Obsolete the 'program' property, and add a 'name' one. - - Add support for $DEFAULT_TEXT_DOMAIN to Dpkg::Gettext, so that the Dpkg - perl modules can always produce localized messages. - - Fix OpenPGP Armor Header Line parsing in Dpkg::Control::Hash. We should - only accept [\r\t ] as trailing whitespace, although RFC4880 does not - clarify what whitespace really maps to, we should really match the GnuPG - implementation anyway, as that's what we use to verify the signatures. - Reported by Jann Horn . Fixes CVE-2015-0840. - - Pass PATCH_GET environment variable instead of -g0 to the patch command - in Dpkg::Source::Patch. This allows using non-GNU patch programs, like - FreeBSD's patch. - - Accept an %opts argument for the Dpkg::Control::Info constructor, and - accept either passing a filename option as undef, or a scalar undef. - Closes: #782019 - - Do not print on undef filehandle in Dpkg::Control::Info output(). - Thanks to Roderich Schupp . Closes: #781887 - - Always sort the Dpkg::Dist::Files files list on output, instead of - preserving the insertion order, which is not reproducible with parallel - builds. Reported by Jérémy Bobbio . - - Add new filter() method to Dpkg::Substvars. - - Kill the process when reaching timeout in Dpkg::IPC::wait_child(). - * Test suite: - - Check perl code compilation, warnings and strictness. - - Fix dpkg-divert unit test to work on BSD «rm -rf» that cannot traverse - directories with mode 000. - - Fix dpkg-divert unit test to work when there is no /dev/full. - - Skip test cases when there is no c++filt available. - - Add test cases for Dpkg::Conf and Dpkg::Checksums. - - Handle libtool executables in progname unit test. - - Do not use a timeout when testing cat I/O, speeds up test suite by 5s. - - Reduce timeout test from 5 seconds to 1, to speed up test suite by 4s. - * Build system: - - Bump gettext version to 0.19: - + Use --add-location=file in msgmerge and xgettext commands. - + Use --porefs=noline for po4a command. - - Wrap file references in man page PO files with po4a --porefs=wrap. - - Fix support for cross-building dpkg: - + Assume a working C99 snprintf on SUS >= v3. - + Do not try to run the va_copy configure check, just check that the - symbol is available. - - Check that HAVE_DECL_SYS_SIGLIST is 0 instead of undefined, to fix a - build failure on uclibc based systems. Closes: #777044 - Based on a patch by Alex Potapenko . - - Use single suffix rules instead of non-portable %-pattern rules. - - Pass CC to the test suite, so that we can use a non-gcc compiler. - - Call AM_PROG_AR to detect the correct system archiver to use. - - Pass -Wall to automake in AM_INIT_AUTOMAKE, not implied by foreign. - * Packaging: - - Remove old trigger related Breaks and Conflicts from dpkg. - - Only use stackprotectorstrong when building dpkg with gcc >= 4.9. - - Switch to debhelper compatibility level 9. - - Name each public-domain license with a different name. - - Add missing public modules to dpkg-dev package description. - - Get rid of backward compatibility pseudo-tags from bug reports. - - Install doc/README.feature-removal-schedule only on affected packages - and debian/usertags everywhere. - * Documentation: - - Document arch-qualifiers for dependency fields in deb-control(5) and - deb-src-control(5). Reported by Johannes Schauer . - Closes: #768842 - - Document versioned Provides in deb-control(5). - - Document the version when dpkg-deb --raw-extract got introduced. - - Document dpkg --log format, add missing actions and describe the startup - messages. Closes: #773398 - - Document when and how the dpkg-maintscript-helper package name argument - is or should be arch-qualified. Closes: #776072 - - Fix and update Arch substvar description in deb-substvars(5). - - Document that current build flag feature areas only work on Debian and - derivatives in dpkg-buildflags(1). - - Use “wildcard characters” instead of “wildchars” in dpkg-query(1). - - Document dpkg-query --search behavior in man page. Closes: #775379 - - Document postinst “triggered” argument in debian/dpkg.postinst comment - header. - - Document Dpkg::IPC function signatures. - - Document the obsolete --compare-versions '<' and '>' operators in the - dpkg(1) man page. Thanks to Tomas Pospisek . - Closes: #776551 - - Move dpkg-divert, dpkg-statoverride and update-alternatives man pages - from section 8 to 1, to match their installation path. - - Capitalize dpkg-parsechangelog(1) option descriptions. - - Mark dpkg-parsechangelog(1) --format values in bold. - - Place short options before long ones in dpkg-mergechangelogs(1) and - dselect(1) man pages. - - Properly terminate a bold marking in dpkg(1). - - Document in man pages the dpkg version when new features were introduced. - - Document that timestamps are reset for files patched with source format - “3.0 (quilt)” too. - - Document in dpkg-buildpackage(1) that using dpkg-source is sometimes - better than -S. Suggested by Johannes Schauer . - - Document dselect -? option. - - Document in dpkg-buildflags(1) that DEB_VENDOR influences the execution. - - Document that dpkg performs sanity checks on PATH. - - Mark some words and commands as non-hyphenable in man pages. - - Separate multi-line hanging tag paragraphs with .TQ in man pages. - - Mark field names in bold in man pages. - - Use various groff escape sequences for quoting characters. - - Lowercase warning and note admonitions in start-stop-daemon(8). - - Mark dselect(1) color attributes in bold. - - Say output instead of display for dpkg-deb tar-file option in dpkg(1). - - Say archive instead of filename for dpkg-deb option in dpkg(1). - - Say control-field-name instead of control-file-field in dpkg-deb(1). - - Fix option values and pathname markup in dpkg-deb(1). - - Use .TQ to separate different but related options in dpkg(1). - - Clarify that dpkg-buildpackage -jN forces parallel builds, regardless of - the packaging or upstream build systems supporting them. Closes: #780866 - - Remove unneeded update-alternatives references from options descriptions. - - Document that apt might expect Packages.xz too in dpkg-scanpackages(1). - - Say METHODS instead of FUNCTIONS or OBJECT FOO in POD section titles. - - Document dpkg version when perl module versions got bumped. - * Output message fixes and improvements: - - Remove trailing newline from string literal in warning calls. - - Say “execute” instead of “exec” in Dpkg::Changelog::Parse error message. - - Say “package” instead of “it” in dpkg-name warning message. - - Uppercase field names in error messages. - - Expand EOF and eof into “end of file” in error messages. - - Use “” instead of “return” or “enter” in input prompts. - - Say directory instead of dir in output messages. - - Merge the same dpkg-scanpackages warning messages into a single line. - - Clarify dpkg-genchanges changes description open error. - - Add missing preposition in Dpkg::Source::Patch error message. - - Improve available state sorting order strings in dselect panel. - - Say “changelog-file” instead of “changelogfile” in --help output. - - Say “command” instead of “action” for dselect. - - Improve commands listing in «dselect --help» output, by printing them - before options and listing them one on each line with a description. - - Improve dselect color-spec --help output. - - Move "(default)" annotations in scripts --help output after option - description. - - Consistently use proper quotation marks ("" or '', and not the - unbalanced `' pair) all over the place. - - Use syserr() instead of an ad-hoc error message in dpkg-scansources. - - Say substvars instead of varlist in dpkg-shlibdeps error messages. - - Fix error messages on invalid uid/git/mode command-line syntax errors - in dpkg-statoverride, to not say they are from the statoverride file. - - Fix error message on empty dsc file in dpkg-genchanges. - - Mention “(^Z)” instead of “char” for the MSDOS end of file character. - - [ Raphaël Hertzog ] - * Drop myself from Uploaders. - - [ Updated programs translations ] - * Simplified Chinese (Zhou Mo). Closes: #782326 - * Turkish (Mert Dirik). Closes: #785096 - * Vietnamese (Trần Ngọc Quân). - - [ Updated scripts translations ] - * German (Helge Kreutzmann). - - [ Updated manpages translations ] - * German (Helge Kreutzmann). - - -- Guillem Jover Mon, 18 May 2015 15:08:31 +0200 - -dpkg (1.17.25ubuntu1) vivid; urgency=medium - - * Merge with Debian, pulling in the upstream fix for CVE-2015-0840, - a couple of updated translations, and several trivial bug fixes. - - -- Adam Conrad Fri, 10 Apr 2015 21:36:44 -0600 - -dpkg (1.17.25) unstable; urgency=medium - - [ Guillem Jover ] - * Do not leak kvm descriptors in start-stop-daemon on GNU/kFreeBSD systems. - Based on a patch by Jeff Epler . Closes: #779467 - * Fix OpenPGP Armor Header Line parsing in Dpkg::Control::Hash. We should - only accept [\r\t ] as trailing whitespace, although RFC4880 does not - clarify what whitespace really maps to, we should really match the GnuPG - implementation anyway, as that's what we use to verify the signatures. - Reported by Jann Horn . Fixes CVE-2015-0840. - * Use correct versions in Conflicts for removed packages. Closes: #776984 - * Use backports friendly versions in Breaks/Conflicts. - Reported by Thorsten Glaser . - * Fix perl warning in dpkg-genchanges when parsing BY-HAND file entries. - Regression introduced in dpkg 1.17.7. Closes: #781074 - - [ Updated programs translations ] - * Dutch (Frans Spiesschaert). Closes: #779953 - * Hungarian (Úr Balázs). - - -- Guillem Jover Thu, 09 Apr 2015 23:40:47 +0200 - -dpkg (1.17.24ubuntu2) vivid; urgency=medium - - * SECURITY UPDATE: OpenPGP Armor Header Line parsing issue - - scripts/Dpkg/Control/HashCore.pm: adjust whitespace parsing. - - scripts/Makefile.*, scripts/t/Dpkg_Control.t, - scripts/t/Dpkg_Control/bogus-armor-formfeed.dsc: added tests. - - Patch thanks to Guillem Jover - - CVE-2015-0840 - - -- Marc Deslauriers Thu, 09 Apr 2015 11:41:14 -0400 - -dpkg (1.17.24ubuntu1) vivid; urgency=medium - - * Merge with Debian unstable, which pulls in bugfixes, and disables - dependency checks on trigger processing, quieting trigger cycles. - - -- Adam Conrad Fri, 20 Mar 2015 22:21:07 -0600 - -dpkg (1.17.24) unstable; urgency=low - - [ Guillem Jover ] - * Add missing versioned Breaks on packages creating trigger cycles. - Namely debian-security-support, doc-base, gitweb, grace, install-info, - libapache2-mod-php5, libapache2-mod-php5filter, php5-fpm and xine-ui. - Closes: #774794 - * Switch versioned Breaks for trigger cycles from <= to << relations (with - the necessary version adjustments). - * Add Conflicts for removed packages expecting dpkg to ship install-info. - Namely octave3.2-info, octave3.0-info and polgen-doc. Closes: #776984 - * Do not accept unknown user or group names on «dpkg-statoverride --add». - Regression introduced in dpkg 1.17.11. Closes: #775124 - * Check that HAVE_DECL_SYS_SIGLIST is 0 instead of undefined, to fix a - build failure on uclibc based systems. Closes: #777044 - Based on a patch by Alex Potapenko . - * Disable dependency checks on trigger processing. There are still trigger - cycles showing up this close to the Debian release, which are hard to - detect automatically as they are caused by maintainer script actions. - Requested by Niels Thykier (Debian Release Manager). - - [ Raphaël Hertzog ] - * Drop myself from Uploaders. - - [ Updated programs translations ] - * All complete languages (shadow package). - * Thai (Theppitak Karoonboonyanan). - - [ Updated manpages translations ] - * German (Helge Kreutzmann). - - -- Guillem Jover Sun, 22 Feb 2015 22:54:51 +0100 - -dpkg (1.17.23ubuntu1) vivid; urgency=medium - - * Merge from Debian unstable. Remaining changes: - - Change native source version/format mismatch errors into warnings - until the dust settles on Debian bug 737634 about override options. - - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level - tools can get untranslated dpkg terminal log messages while at the - same time having translated debconf prompts. - - Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib. - - Map unqualified package names of multiarch-same packages to the native - arch instead of throwing an error, so that we don't break on upgrade - when there are unqualified names stored in the dpkg trigger database. - - Apply a workaround from mvo to consider ^rc packages as multiarch, - during the dpkg consistency checks. (see LP: 1015567 and 1057367). - - Bump fontconfig Breaks to match Ubuntu version; can be reverted after - vivid ships, as the Debian Breaks version was higher than trusty's. - - Add ureadahead to the long list of trigger-related Breaks as well. - * Remove multiarch upgrade code from postinst, which is no longer needed. - - -- Adam Conrad Fri, 05 Dec 2014 10:52:37 -0700 - -dpkg (1.17.23) unstable; urgency=low - - [ Guillem Jover ] - * Use a matching group instead of ${^MATCH} in s/// in dselect build script. - * Skip tar extractor tests if tar is not GNU tar >= 1.27. - * Reset the trigger cycle tracking on unsatisfied dependencies during - trigger processing. Closes: #771730 - * Fix out-of-bounds buffer read accesses when parsing field and trigger - names or checking package ownership of conffiles and directories. - Reported by Joshua Rogers . - * Add versioned Breaks on packages creating trigger cycles. Namely auctex, - apt-cudf, ccache, cups, distcc, fusionforge-plugin-mediawiki, gap-core, - gxine, hoogle, icecc, libjs-protoaculous, mcollective, pypy, wordpress - and xfonts-traditional. - - [ Updated programs translations ] - * Basque (Iñaki Larrañaga Murgoitio). Closes: #771893 - * Catalan (Guillem Jover). - * Czech (Miroslav Kure). - * Esperanto (Felipe Castro). - * French (Sébastien Poher). - * Italian (Milo Casagrande). - * Portuguese (Miguel Figueiredo). - * Russian (Yuri Kozlov). Closes: #771691 - * Simplified Chinese (Zhou Mo). Closes: #771264 - * Spanish (Javier Fernández-Sanguino) - * Swedish (Peter Krefting). - * Thai (Theppitak Karoonboonyanan). Closes: #772965 - - [ Updated scripts translations ] - * Catalan (Guillem Jover). - * Polish (Łukasz Dulny). - * Russian (Yuri Kozlov). Closes: #772841 - - [ Updated manpages translations ] - * French (Sébastien Poher). - * Italian (Beatrice Torracca). Closes: #771673 - - [ Updated dselect translations ] - * Catalan (Guillem Jover). - * Czech (Miroslav Kure). - * Norwegian Bokmål (Hans Fredrik Nordhaug). - * Polish (Łukasz Dulny). - * Portuguese (Miguel Figueiredo). - * Russian (Yuri Kozlov). Closes: #771682 - * Spanish (Javier Fernández-Sanguino) - * Vietnamese (Trần Ngọc Quân). - - -- Guillem Jover Tue, 23 Dec 2014 17:45:44 +0100 - -dpkg (1.17.22) unstable; urgency=low - - [ Guillem Jover ] - * Add version introducing --ctrl-tarfile in dpkg-deb(1) man page. - * Bump minimal version for dir_to_symlink and symlink_to_dir commands - to 1.17.14 in dpkg-maintscript-helper(1) man page. Closes: #769843 - * Reintroduce update-alternatives, dpkg-divert and dpkg-statoverride - compatibility symlinks under /usr/sbin/. There are still packages - using those paths, but the relevant lintian check did not list any, - so this got removed prematurely. - * Add Breaks on old man-db, fontconfig and readahead-fedora packages using - awaiting triggers, as they produce trigger cycles. Closes: #768599 - * Escape package and architecture names on control file parsing warning, - as those get injected into a variable that is used as a format string, - and they come from the package fields, which are under user control. - Regression introduced in dpkg 1.16.0. Fixes CVE-2014-8625. Closes: #768485 - Reported by Joshua Rogers . - * Do not match partial field names in control files. Closes: #769119 - Regression introduced in dpkg 1.10. - * Fix build on Mac OS X. Regression introduced in dpkg 1.17.11. - Reported by Dominyk Tiller . - * Normalize tar entry uid and gid from the current system only in dpkg - unpack. Regression introduced in dpkg 1.17.14. Closes: #769211 - * Restore multiple processing instances check for packages and archives - specified on the command-line. Regression introduced in dpkg 1.17.20. - * Fail on trigger processing when it is required to progress. Trigger - processing is sometimes required and sometimes opportunistic, and we - should only fail on the former but ignore the latter. Closes: #768852 - * Do not ignore trigger cycles for direct dependencies, these are just - normal trigger cycles, and as such should not be special cased. - * Register all pending triggers for deferred processing when being called - as «dpkg --configure pkgname…». This is a mostly conformant workaround - for frontends like apt that do not correctly call «dpkg --configure -a» - or «dpkg --triggers-only -a» after their normal runs, and leave packages - in triggers-pending and triggers-awaited states. Closes: #766758 - - [ Updated programs translations ] - * Catalan (Guillem Jover). - * Danish (Joe Dalton). - * French (Sébastien Poher). - * German (Sven Joachim). - * Japanese (Kenshi Muto). Closes: #771255 - * Polish (Łukasz Dulny). - * Simplified Chinese (Zhou Mo). Closes: #766724, #770280 - * Swedish (Peter Krefting). - * Turkish (Mert Dirik). - * Vietnamese (Trần Ngọc Quân) - - [ Updated scripts translations ] - * French (Sébastien Poher). - * German (Helge Kreutzmann). - * Swedish (Peter Krefting). - - [ Updated manpages translations ] - * French (Sébastien Poher). Closes: #767934 - * German (Helge Kreutzmann). Closes: #752123 - * Simplified Chinese (Zhou Mo). Closes: #767573 - * Swedish (Peter Krefting). - - [ Updated dselect translations ] - * Danish (Joe Dalton). - * Dutch (Frans Spiesschaert). Closes: #771237 - * French (Sébastien Poher). Closes: #767918 - * Japanese (Kenshi Muto). Closes: #771256 - * Swedish (Peter Krefting). - - -- Guillem Jover Fri, 28 Nov 2014 02:02:34 +0100 - -dpkg (1.17.21ubuntu2) vivid; urgency=medium - - * Cherry-pick from Debian (LP: #1394893) - + Add Breaks on old man-db, fontconfig and readahead-fedora packages using - awaiting triggers, as they produce trigger cycles. Closes: #768599 - * Modify the above to specify the version of fontconfig that included this - change in Ubuntu, and to add ureadahead. - - -- Iain Lane Mon, 08 Dec 2014 12:09:15 +0000 - -dpkg (1.17.21ubuntu1) vivid; urgency=low - - * Merge from Debian unstable. Remaining changes: - - Change native source version/format mismatch errors into warnings - until the dust settles on Debian bug 737634 about override options. - - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level - tools can get untranslated dpkg terminal log messages while at the - same time having translated debconf prompts. - - Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib. - - Map unqualified package names of multiarch-same packages to the native - arch instead of throwing an error, so that we don't break on upgrade - when there are unqualified names stored in the dpkg trigger database. - - Add logic to the postinst to `dpkg --add-architecture i386' on new - installs on amd64, mimicking our previous behaviour with the conffile. - - Apply a workaround from mvo to consider ^rc packages as multiarch, - during the dpkg consistency checks. (see LP: 1015567 and 1057367). - * drop po/pot delta that was generated by MoM - * run touch configure configure.ac build-aux/* to ensure that timestamps - match and automake is not invoked again - - -- Michael Vogt Wed, 29 Oct 2014 10:07:32 +0100 - -dpkg (1.17.21) unstable; urgency=low - - [ Guillem Jover ] - * Get consistent git-style diff support, by adding (>= 2.7) to the dpkg-dev - patch Depends, and a Breaks patch (<< 2.7) to libdpkg-perl. - * Error out on obsolete Build-Profiles field syntax. - * Document -g and -G options in dpkg-genchanges(1). Closes: #766568 - * Do not accept values bundled with long options in dpkg-parsechangelog. - The parser was accepting things like «--count10», which is just broken. - Instead allow only «--count=10» in addition to «--count 10». - * Accept «-S value» in addition to «-Svalue» in dpkg-parsechangelog. - Closes: #766559 - * Add support for new interest-await and activate-await trigger directives. - And a new --await option to dpkg-trigger. This might allow possibly - switching the default meaning after a transition period no shorter than - two minor versions, so in 1.19.x or 1.20.x. Perhaps. - * Do trigger cycle detection after dependency checks in dependtry <= 1, - and before dependency cycle breaking in dependtry > 1. This makes sure - to always catch trigger cycles, but still gives the opportunity to try - to process triggers for packages that are not yet ready in the first - dependtry, but which might be a bit later on, without wrongly detecting - avoidable and bogus trigger cycles. Closes: #766557 - * Update features removal schedule: - - The -u, --udeb dpkg-scanpackages options got removed, state that. - - Remove the entry about obsolete fields, as these need to be preserved - for backward compatibility, they are part of the external interface to - be able to handle ancient binary packages. - - [ Updated programs translations ] - * Catalan (Guillem Jover). - * German (Sven Joachim). Closes: #766311 - * Simplified Chinese (Zhou Mo). - - [ Updated scripts translations ] - * Catalan (Guillem Jover). - - -- Guillem Jover Sat, 25 Oct 2014 02:21:43 +0200 - -dpkg (1.17.20) unstable; urgency=low - - [ Guillem Jover ] - * Add a requeueing insertion protection for process_queue(). - * Make sure to always switch to the next dependtry after we have made no - progress for a while. Regression stemming from non future proof changes - introduced with the initial triggers implementation in dpkg 1.14.17 - combined with changes in dpkg 1.17.19. Closes: #766242, #766322 - * Make the initial dependtry be 1 instead of 0. This gets rid of an unused - dependtry step, which got accidentally introduced when the perl dpkg was - rewritten in C, ages ago. - * Allow detached upstream signatures for upstream orig.tar files in the - .dsc file. Suggested by Daniel Kahn Gillmor . - Closes: #759478 - * Inline alternative status description into translatable string in - update-alternatives. Required-by: #766311 - * Reword description for installed status in dpkg(1) man page. - - [ Updated programs translations ] - * German (Sven Joachim). - * Simplified Chinese (Zhou Mo). - * Vietnamese (Trần Ngọc Quân). - - -- Guillem Jover Thu, 23 Oct 2014 00:43:05 +0200 - -dpkg (1.17.19) unstable; urgency=low - - [ Guillem Jover ] - * Bump the Breaks on devscripts to 2.14.10 due to the new dpkg-architecture - command-line parsing strictness introduced in 1.17.17. Closes: #764965 - * Create pidfiles even when start-stop-daemon is not asked to background - the process itself. Although a bit of a dubious usage, because any error - before executing the program will not be properly reported to the caller. - Regression introduced in dpkg 1.17.14. Closes: #765110 - * Add new --remove-pidfile option to start-stop-daemon. - * Mention --pid and --ppid in start-stop-daemon(8) man page DESCRIPTION. - * Add invoke hooks for dpkg --add-architecture and --remove-architecture. - Prompted by Helmut Grohne . - * Reverse --verify-format logic to actually accept 'rpm' as valid. - Closes: #765907 - * Fix trigger dependency checks and cycle detection. - Regression introduced in dpkg 1.17.17. - Closes: #765434, #765668, #765734, #765781, #765789, #765952 - * Rework dependency problem debug and notice output on trigger processing. - - [ Updated programs translations ] - * Italian (Milo Casagrande): Closes: #765748 - * Turkish (Mert Dirik). Closes: #764942 - * Simplified Chinese (Zhou Mo). Closes: #765693 - - [ Updated scripts translations ] - * German (Helge Kreutzmann). - - [ Updated manpages translations ] - * German (Helge Kreutzmann). - - -- Guillem Jover Mon, 20 Oct 2014 15:17:49 +0200 - -dpkg (1.17.18) unstable; urgency=low - - [ Guillem Jover ] - * Handle empty minimum versions when initializing dependency versions, - as the code is mapping the minimum version 0 to '' to avoid outputting - useless versions. Regression introduced in dpkg 1.17.17. Closes: #764929 - - [ Updated programs translations ] - * Catalan (Guillem Jover). - - [ Updated dselect translations ] - * Catalan (Guillem Jover). - * German (Sven Joachim). - - -- Guillem Jover Sun, 12 Oct 2014 15:47:44 +0200 - -dpkg (1.17.17) unstable; urgency=low - - [ Guillem Jover ] - * Add dpkg-vendor, Dpkg/File.pm and Dpkg/Util.pm to the list of files with - translatable strings, so that they can be translated. - * Fix some typos for versioned and mentioned in comments and changelogs. - * Mark for translation and unify "rm cleanup" string in dpkg. - * Mark for translation and improve dselect method handling error messages. - * Defer trigger processing if the package does not fulfill dependencies. - Closes: #671711 - * Do not write to the database when changing selections with --dry-run. - Closes: #764673 - * Add missing imports from Dpkg::BuildProfiles in dpkg-genchanges. - Regression introduced in dpkg 1.17.14. Closes: #764216 - Reported by Johannes Schauer . - * Initialize dependencies with the correct minimum version from a symbols - file with multiple SONAMEs in dpkg-shlibdeps. - Thanks to Jérémy Bobbio . Closes: #764721 - * Perl modules: - - Allow multiple whitespace in Dpkg::BuildProfiles::get_build_profiles() - when parsing the DEB_BUILD_PROFILES environment variable. - Thanks to Johannes Schauer . - - New Dpkg::Getopt private module. - - Document public module Dpkg. - - Document public module Dpkg::Gettext. - - Mark Dpkg::BuildProfiles as a public module. - - Document all public module versions in a CHANGES section. - - Remove EXPORTED from POD section titles. - - Document private modules as such in a CHANGES section. - * Set the DEB_TARGET_* dpkg-architecture variables from architecture.mk. - Missed in dpkg 1.17.14. - * Initialize DEB_TARGET_ARCH variable without requiring DEB_HOST_ARCH, - which is not being set at all when querying for DEB_TARGET_ variables. - * Normalize dpkg-architecture command-line parsing, so that «--option=value» - «--option value», «-ovalue» and «-o value» will all be accepted. - * Add long option names for all dpkg-architecture short options. - * Add support for --host-arch, --host-type, --target-arch and --target-type - long options in dpkg-buildpackage. These will get passed through to - dpkg-architecture. This restores the ability to specify the target - architecture when building cross-compilers. Regression introduced in - dpkg 1.17.14. Reported by Helmut Grohne . - * Do not modify the topic variable values in list functions in perl code. - * List Dpkg::Exit and Dpkg::Interface::Storable as public modules in - libdpkg-perl package description. - - [ Updated programs translations ] - * German (Sven Joachim). - * Vietnamese (Trần Ngọc Quân). - - [ Updated scripts translations ] - * German (Helge Kreutzmann). - - -- Guillem Jover Sun, 12 Oct 2014 04:59:09 +0200 - -dpkg (1.17.16) unstable; urgency=low - - * Set the copyright holder in the po4a calls for man pages. - * Switch remaining topic to named variable in Dpkg::Source::Patch:analyze(), - otherwise the loop was expecting values in one variable but storing them - in another. Regression introduced in dpkg 1.17.14. Closes: #764206 - * Set umask to 0 when creating symlinks in tar test case, to normalize - results. POSIX specifies that symlinks have undefined permissions in - their mode, so their setting is system dependent. Linux does not honor - the umask for symlinks, other systems like Hurd or kFreeBSD do. - Regression introduced in dpkg 1.17.14. Closes: #764171 - - -- Guillem Jover Mon, 06 Oct 2014 13:29:17 +0200 - -dpkg (1.17.15) unstable; urgency=low - - * Do not blacklist pie and stackprotector build flags on mips/mipsel. - Thanks to Aurelien Jarno . Closes: #763672 - * Fix build failures due to mismatched umask in libdpkg tar test case. - Set it to a known value of 0022. - - -- Guillem Jover Mon, 06 Oct 2014 03:21:58 +0200 - -dpkg (1.17.14) unstable; urgency=low - - [ Guillem Jover ] - * Fix '--' to '-' on translations for single character options. - * Correct the copyright holder in the gettext Makevars files. - * Switch debian/copyright to machine-readable format 1.0, and extensively - update the information within. - * Bump Standards-Version to 3.9.6 (no changes needed). - * Disable unused run-time type information for dselect. - * Fix compiler flag detection with non-GCC compilers in the build system. - * Fix perl warning on dpkg-source when typing Ctrl-D on patch name prompt. - * Add new dpkg-deb --ctrl-tarfile command. - * dpkg-architecture: - - Add support for target system information via the new DEB_TARGET_ family - of variables, and new -A and -T options to override defaulting to the - host system. - - Clarify that -a, -t, -e and -i work with the host system. - * Place 'Commands:' before 'Options:' sections on --help output in - dpkg-architecture and dpkg-vendor. - * Always warn in dpkg-genchanges on missing Section or Priority value, - either empty or '-'. - * Fix order of Files field on generated .changes file in dpkg-genchanges. - Regression introduced in dpkg 1.17.7. - * Stop warning on unknown arbitrary fields from dpkg-deb. - * Remove unnecessary handling of obsolete Package_Revision field in dselect - ftp method. - * Fix the build system to parse the system curses.h header instead of - dselect-curses.h, to not just default on the builtin and override keys - for dselect key bindings support. Regression introduced in dpkg 1.15.1. - * Emit a warning when using the obsolete Dpkg::Deps check_package() function. - * Add support for versioned Provides to Dpkg::Deps::KnownFacts, missed in - dpkg 1.17.11. - * Man pages: - - Add a mention of packaging helpers support in dpkg-maintscript-helper(1). - Closes: #759754 - - Move dpkg-buildflags(1) generic feature area details to the section top. - - Fix prerm invocation arguments in update-alternatives(8). - Reported by jre . Closes: #761025 - * Add new deps_iterate() function to Dpkg::Deps. Closes: #759747 - Based on a patch by Dima Kogan . - * Add support for relative symlinks to dpkg-maintscript-helper symlink_to_dir - command. Suggested by Don Armstrong . - * Add a new dpkg-buildflags qa feature area: - - Add a new bug feature, disabled by default, which will enable fatal - warnings for code that can pose actual problems. Closes: #682659 - - Add a new canary feature, disabled by default, which will allow tracking - build flags propagation. Closes: #628516 - * Pass DEB_BUILD_OPTIONS to dpkg-buildflags in buildflags.mk, required to - get noopt to work at all, for example. - * Add a new dpkg-buildflags reproducible feature area: - - Add a new timeless feature, disabled by default, which will add - «-Wdate-time» to CPPFLAGS. - Thanks to Paul Wise . Closes: #762683 - * Fix error message from buffer_copy() read and write functions. This - affects error messages from partial or broken .deb packages for example. - Regression introduced in dpkg 1.17.10. Closes: #759498 - * Remove lpia architecture support. - * Improvements and portability fixes to start-stop-daemon: - - Abort if the system or compatibility setsid() fails. - - Do not exit from the first parent before the pidfile has been created, - when using --background and --make-pidfile, to avoid the race condition. - Based on a patch by Nir Soffer . Closes: #686420 - - Make sure the pidfile is always created with a 022 umask. - Reported by Will Conley . Closes: #760222 - - Do not abort on --stop when only --pid or --ppid options are specified. - Thanks to Christos Trochalakis . Closes: #763767 - - On kFreeBSD systems do not unnecessarily make kvm_openfiles() open - /dev/mem. This causes issues on FreeBSD jails for example. - Reported by Steven Chamberlain . - - On systems using libkvm, do not fail when kvm_getprocs() cannot find - any process. - * Map i786 to i386 also for the multiarch pathname in dpkg-architecture. - * Handle omitted binary packages due to build profiles in dpkg-genchanges. - Based on a patch by Johannes Schauer . Closes: #758191 - * Update restriction formula syntax for build profiles: - - Restriction lists are now restriction formulas. - - Restriction formulas are given in disjunctive normal form expression: - - - Removal of the implicit prefix/namespace mechanic. - - Construct the profiles entry of the Packages-List field by converting - the " " syntax into "bar,baz+blub". - - Include a temporary compatibility mapping with the old way to write - the Build-Profiles field in binary packages which can be removed once - all affected source packages have moved to the new syntax. - Thanks to Johannes Schauer . Closes: #760158 - * Normalize instdir in dpkg by removing trailing «/» and «/.». This gets - rid of several inconsistencies and doubled «/» in syscalls and output - messages. - * Never try to remove the root directory or its backups. There's no point in - it, and makes life more difficult for a read-only root with a read-write - overlay or a symlink farm. Requested by sepero111@gmx.com. - * Remove arbitrary filename limit from dpkg-deb, which was lifted some - time ago when the code switched to a dynamic string via varbuf. - * Do not pipe the files to sign from dpkg-buildpackage to GnuPG. When GnuPG - uses the gpg-agent it is unable to detect the correct tty configuration - if stdin is a pipe instead of the current terminal. Closes: #762391 - * Add a new --hash option to enable generating only specific file checksums - in dpkg-scanpackages. Requested by Thorsten Glaser . - * Add architecture restriction options for dpkg-architecture -L. This allows - selecting specific subsets of all valid known architectures, matching by - wildcard (-W), endianness (-E) or bits (-B). The restricting options can - be combined, or omitted altogether. Closes: #762635 - * Say arch-wildcard instead of arch-alias in dpkg-architecture --help output. - * Test suite: - - Do not leave temporary files behind on failure or when interrupted. - - Add basic unit tests for the FNV hashing function. - - Add unit tests for the libdpkg tar extractor. - * Add --build and --extract command aliases to dpkg-source. - * Print file or package names instead of pointers in dpkg debug output, - to make it more meaningful and reproducible. - * Fix off-by-one error in libdpkg command argv size calculation. - Based on a patch by Bálint Réczey . Closes: #760690 - * Switch the libdpkg string hashing function from FNV-1 to the recommended - FNV-1a variant. - * Switch the dpkg files database string hashing function from what appears - to be a custom hash function to the libdpkg FNV-1a implementation. As a - side effect this fixes an integer overflow. Addresses: #760741 - * Double the dpkg files database hash table size to the closest 2^18 prime. - Times have changed, and it's common to have at least these many files. - This reduces the amount of collisions. - * Document optional dpkg -C argument in --help output. Closes: #763000 - * Consider a hardlink tar entry as a regular file for mode values, i.e. - assign to it S_IFREG instead of 0. - - [ Raphaël Hertzog ] - * Explain better in deb-triggers(5) why interest/activate-noawait should be - favored. - - [ Updated programs translations ] - * Catalan (Guillem Jover): Fix mismatched format string. - * Czech (Miroslav Kure). - * Polish (Łukasz Dulny). - * Turkish (Mert Dirik). Closes: #763825 - - [ Updated manpages translations ] - * German (Helge Kreutzmann). - * Italian (Guillem Jover): Swap order of some dpkg-deb arguments. - Thanks to xor . Closes: #759149 - - -- Guillem Jover Mon, 06 Oct 2014 00:11:08 +0200 - -dpkg (1.17.13ubuntu1) utopic; urgency=medium - - * Merge from Debian unstable. Remaining changes: - - Allow -fstack-protector on arm64 now that GCC and glibc support it. - - Change native source version/format mismatch errors into warnings - until the dust settles on Debian bug 737634 about override options. - - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level - tools can get untranslated dpkg terminal log messages while at the - same time having translated debconf prompts. - - Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib. - - Map unqualified package names of multiarch-same packages to the native - arch instead of throwing an error, so that we don't break on upgrade - when there are unqualified names stored in the dpkg trigger database. - - Add logic to the postinst to `dpkg --add-architecture i386' on new - installs on amd64, mimicking our previous behaviour with the conffile. - - Apply a workaround from mvo to consider ^rc packages as multiarch, - during the dpkg consistency checks. (see LP: 1015567 and 1057367). - - -- Adam Conrad Thu, 21 Aug 2014 12:35:23 -0600 - -dpkg (1.17.13) unstable; urgency=low - - [ Guillem Jover ] - * Remove unbalanced trailing single-quote in dpkg-deb error message. - Reported by Trần Ngọc Quân . - * Remove architecture blacklist from hardening build flag option - stackprotectorstrong. Thanks to Romain Francoise . - * Documentation: - - Merge binary:Package descriptions in dpkg-query(1). - - Split --remove and --purge options in dpkg(1). This also clarifies on - which package states each option can operate. Closes: #576338 - - Remove duplicate “of the” in dpkg-maintscript-helper(1). - * Fix dpkg-maintscript-helper dir_to_symlink to handle relative symlink - targets. Thanks to Helmut Grohne . - * Fix dpkg-maintscript-helper symlink_to_dir to assure absolute pathnames - arguments. - * Fix dpkg-source not detecting modified files during --commit or -b. - Regression introduced in dpkg 1.17.11. Closes: #758426 - Reported by Neil Williams . - * Only test the strerror() compatible code if sys_errlist and sys_nerr - are present. This fixes a build failure on GNU/Hurd. Closes: #758199 - * Switch start-stop-daemon on GNU/kFreeBSD systems to use libkvm, instead - of relying on linprocfs which is not the native procfs on kFreeBSD, and it - is usually not mounted as FreeBSD programs do not expect it to be present. - - [ Updated programs translations ] - * Czech (Miroslav Kure). - * German (Sven Joachim). - * Vietnamese (Trần Ngọc Quân). - - [ Updated manpages translations ] - * French (Jean-Pierre Giraud, Vincent Thomas, Raphaël Hertzog). - - [ Updated scripts translations ] - * French (Raphaël Hertzog). - * German (Helge Kreutzmann). - - -- Guillem Jover Tue, 19 Aug 2014 20:14:45 +0200 - -dpkg (1.17.12ubuntu1) utopic; urgency=medium - - * Merge with Debian; remaining changes: - - Change native source version/format mismatch errors into warnings - until the dust settles on Debian bug 737634 about override options. - - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level - tools can get untranslated dpkg terminal log messages while at the - same time having translated debconf prompts. - - Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib. - - Map unqualified package names of multiarch-same packages to the native - arch instead of throwing an error, so that we don't break on upgrade - when there are unqualified names stored in the dpkg trigger database. - - Add logic to the postinst to `dpkg --add-architecture i386' on new - installs on amd64, mimicking our previous behaviour with the conffile. - - Apply a workaround from mvo to consider ^rc packages as multiarch, - during the dpkg consistency checks. (see LP: 1015567 and 1057367). - - -- Matthias Klose Sun, 17 Aug 2014 13:14:31 +0200 - -dpkg (1.17.12) unstable; urgency=low - - [ Guillem Jover ] - * Only build the compatibility selinux code if libselinux is available or - the user requested it. Also fixes build failures on non-Linux systems. - Closes: #757637 - * Documentation: - - Add a short description to each virtual field in dpkg-query(1), and - mention the version they got introduced in dpkg. - - Fix formatting of last paragraphs inside dselect(1) --color description. - * Rework dselect columns code, to make it easier to maintain and read. - * Add new architecture columns to dselect package list view. The new - columns, shown by default, can be turned off with the new ‘A’ key, - or bound to another key via the new “archdisplay” keybinding. - * Fix a descriptor leak on dselect subprocesses when --debug is used. - * Use «tar --format=gnu» when creating source archives. This makes sure we - get a deterministic output format, regardless of what tar defaults to. - Thanks to Jan Blunck .. - * Use perl's length instead of defined when checking some environment - variables, if we require them to have content. - * Allow specifying the same build type option multiple times in - dpkg-buildpackage and dpkg-genchanges. There seems to be scripts with - such invocations in the wild. Closes: #757795 - - [ Updated programs translations ] - * German (Sven Joachim). - - [ Updated scripts translations ] - * German (Helge Kreutzmann). - - [ Updated manpages translations ] - * German (Helge Kreutzmann). - - -- Guillem Jover Fri, 15 Aug 2014 03:30:39 +0200 - -dpkg (1.17.11) unstable; urgency=low - - [ Guillem Jover ] - * Switch URLs in docs and code comments from http:// to https:// if the - latter is available (round two). This includes the quilt patch header - templates, and examples in man pages. - * Update some dpkg git URLs to the new and newer (cgit switch) scheme. - * Changes to libcompat: - - Make the library testable. - - Do not run qsort() over the scandir() list if it is NULL. - - Add a setexecfilecon() compatibility function out from dpkg code. - * Use SELinux setexecfilecon() if available in dpkg instead of ad-hoc code. - * Replace obsolete with , which fixes compilation on - Android. Thanks to Fredrik Fornwall . Closes: #752036 - * Fix file triggers/Unincorp descriptor leak on subprocesses. Regression - introduced with the initial triggers implementation in dpkg 1.14.17. - Closes: #751021 - * Do not disable the stack-protector build flags on arm64 in Debian and - derivatives, the toolchain supports them now. - Thanks to Adam Conrad . Closes: #751032 - * When parsing the statoverride database from dpkg-statoverride do not - consider it an error and refuse to operate at all if the user or group - names are not known to the system, just preserve them. Closes: #563307 - * Do not write to the available file when unpacking binary packages. This - information is not useful as dpkg has never recorded the archive path, - so it has never been truly available for re-installation anyway. - * Add versioned Provides support: - - Add a new dpkg --assert-versioned-provides command. - - Packages can provide a specific version, “virtual (= 1.0)” which will - be honored, previously it would just be accepted when parsing. - - Non-versioned virtual packages will not satisfy versioned dependencies. - - Versioned virtual packages will satisfy non-versioned dependencies. - Based on skeletal code by Ben Collins . - Closes: #7330, #24934, #112131, #134582, #180316 - * On removal check Depends and Pre-Depends for packages in unpacked and - half-configured states too. - * Add support for new hardening build flag stackprotectorstrong in Debian - and derivatives, enabled by default. It will fallback to stackprotector - when the former is not functional or disabled by the user. - Thanks to Romain Francoise . - * Change «dpkg-deb --field» code to use the libdpkg deb822 parser instead - of an ad-hoc one. This makes sure any field fixup and sanity check is - performed on the input, and gets reflected on the output. - * Add new dpkg-query virtual fields db:Status-Want, db:Status-Status and - db:Status-Eflag to allow fine-grained access to the Status values. - * Automatically add the Testsuite field in dpkg-source to the .dsc file. - * Spell nocheck option in dpkg-scanpackages wait_child() call correctly. - Spotted by James McCoy (in devscripts). - * Move the explanation of functional checks from --verify-format to the - --verify command in the dpkg(1) man page. Closes: #747264 - * Improve dpkg-buildpackage(1) man page: - - Mark DEB_CHECK_COMMAND environment variable in bold. - - Add final item for done hook in the actions sequence. - - Mention that -nc does not apply either when -F is specified. - - Mention that the --FOO-option options can be used multiple times. - - Fix a typo in the BUGS section. - * Mark the “and” between the filenames as regular format in dpkg-source(1). - * Add --format and --ignore-bad-version to dpkg-source --help output. - * Clarify error message in Dpkg::Source::Quilt when patches fail to apply, - to note that the patch might be malformed (besides not accepting patches - with fuzz). - * Try to preallocate the disk size for extracted files on unpack. This - might help in avoiding filesystem fragmentation, and possibly improve - performance on some filesystems. - * Print the correct removed binary filename when building a source package - with dpkg-source --include-removal. Closes: #755166 - * Add powerpcel support to cputable. Thanks to Jae Junh . - * Bump the i386 architecture GNU triplet to i586-linux-gnu to match the - change in gcc. Somewhat reluctantly, as i386 wants to be its unique - snowflake and use a GNU triplet not matching its baseline. This will - cause problems when cross-building and using unmatched combinations of - dpkg-dev and gcc. Closes: #751363 - * Update i386 architecture GNU cpu regex in cputable to match i786 too. - * Remove unused pkglibdir variable from libdpkg.pc.in. - * Perl modules: - - Add new set_as_auto() method to Dpkg::Substvars. - - Add support for sig and delete_sig spawn() options in Dpkg::IPC. - - Add %opts to ensure_open() member in Dpkg::Compression::FileHandle. - - Change find_command() to handle an empty or undef argument in Dpkg:Path. - * Mark Format and Installed-Size as automatic substvars in dpkg-genchanges - and dpkg-gencontrol respectively. - * Warn on usage of deprecated Source-Version substvar. - * Say OpenPGP instead of PGP when referring to the standard on code comments - and output messages. - * Add a hint to the “no dependency information found” error message in - dpkg-shlibdeps, to check if the library is actually packaged. - Thanks to Sylvestre Ledru . Closes: #756230 - * Delete the current compressor SIGPIPE disposition in Dpkg::Source::Archive, - which fixes ignoring SIGPIPE from the calling process. Closes: #756526 - * Ignore DEB_CHECK_COMMAND in dpkg-buildpackage if the command is not found. - * Emit a warning when using the deprecated -is/-ip/-isp/-ips options in - dpkg-gencontrol. - * Only print build type once in dpkg-genchanges, instead of once for each - specified -A or -B option and then yet another time for the general build - type description. - * Unify build options description in --help output for dpkg-buildpackage - and dpkg-genchanges. - * Only allow one build type option in dpkg-genchanges and dpkg-buildpackage. - * Correctly filter the host architecture on the Architecture field in the - generated .changes file from dpkg-genchanges, when the debian/files - contains arch-specific packages but dpkg-genchanges was called with - one of the build types excluding them. - * Add new -g and -G options to dpkg-genchanges and dpkg-buildpackage for - source plus arch-indep/specific builds. Closes: #756975 - * Fix dpkg --add-architecture and --remove-architecture to check that they - get exactly one argument. Closes: #757254 - - [ Updated programs translations ] - * Danish (Joe Dalton). Closes: #754127 - * French (Jean-Baka Domelevo Entfellner, Julien Patriarca). - * Portuguese (Miguel Figueiredo). Closes: #756920 - * Spanish (Guillem Jover): Fix «dpkg-query -l» header. Closes: #756209 - * Swedish (Peter Krefting). - - [ Updated scripts translations ] - * Swedish (Peter Krefting). - - [ Updated manpages translations ] - * Swedish (Peter Krefting). - - -- Guillem Jover Sat, 09 Aug 2014 17:16:27 +0200 - -dpkg (1.17.10ubuntu1) utopic; urgency=medium - - * Merge from Debian unstable. Remaining changes: - - Allow -fstack-protector on arm64 now that GCC and glibc support it. - - Change native source version/format mismatch errors into warnings - until the dust settles on Debian bug 737634 about override options. - - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level - tools can get untranslated dpkg terminal log messages while at the - same time having translated debconf prompts. - - Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib. - - Map unqualified package names of multiarch-same packages to the native - arch instead of throwing an error, so that we don't break on upgrade - when there are unqualified names stored in the dpkg trigger database. - - Add logic to the postinst to `dpkg --add-architecture i386' on new - installs on amd64, mimicking our previous behaviour with the conffile. - - Apply a workaround from mvo to consider ^rc packages as multiarch, - during the dpkg consistency checks. (see LP: 1015567 and 1057367). - - -- Adam Conrad Mon, 09 Jun 2014 12:18:09 -0600 - -dpkg (1.17.10) unstable; urgency=medium - - [ Guillem Jover ] - * Use libtool to build the static libraries, which makes it possible to - embed libcompat inside libdpkg, as required by some external programs - linking against the latter. Closes: #746122 - * Fix word wrapping logic in dselect. Regression introduced in dpkg 1.17.3. - * Fix possible out of bounds buffer read access in the error output on - bogus ar member sizes. - * Fix memory leaks in buffer_copy() on error conditions. - * Test suite: - - Improve C code coverage. - - Add template test cases for most perl modules. - - Add test cases for Dpkg::Deps OR relationships. - - Add minimal test case for Dpkg::Source::Quilt. - - Add test cases for Dpkg::Source::Patch CVE-2014-0471 and CVE-2014-3127. - - Add test case for patch disabling hunks; not security sensitive. - * Fix non-security sensitive TOCTOU race in triggers database loading. - * Fix non-security sensitive TOCTOU race in update-alternative alternative - database loading. - * Fix non-security sensitive TOCTOU race in update-alternative rename code. - * Add a workaround to start-stop-daemon for bogus OpenVZ Linux kernels that - prepend, instead of appending, the " (deleted)" marker in /proc/PID/exe. - Closes: #731530 - * Move dpkg-architecture -L argument to the Commands --help output section. - * Make dpkg-maintscript-helper print only once that we are moving a - conffile, and not on every interim state transition. Closes: #747370 - * Do not use global match variables in perl code. - * Man pages: - - Attempt to clarify and improve wording of some strange or confused - constructs. Reported by Helge Kreutzmann. - - Expand Vcs-* field names into each supported field name in - deb-src-control(5) to make it easier to search for them. - - Change control.tar.gz reference to simply control.tar in deb(5). - - Document in dpkg-deb(1) -Z option that bzip2 and lzma are deprecated. - - Add notes in dpkg-gensymbols(1) about symbol backward-compatibility. - Based on a patch by Bernhard R. Link . - Closes: #746973 - - Document that dpkg-buildpackage(1) -j argument is optional. - - Add current and deprecated media types to deb(5). - - Document in dpkg(1) that --audit now does more than just searching for - partially installed packages. - * Add support for automatic parallel job selection in dpkg-buildpackage, - matching currently active processors, when using -jauto. Closes: #748012 - * Perl modules: - - Bump $VERSION for Dpkg::Patch, missed in 1.16.1. - - Bump $VERSION for Dpkg::Deps, missed in 1.17.0. - - Update and fix CHANGES POD sections for public modules. - - Add missing Dpkg::Deps::Multiple profile_is_concerned() and - reduce_profiles() methods, inherited by Dpkg::Deps::Union, - Dpkg::Deps::AND and Dpkg::Deps::OR. - * Do not mangle quilt series files with a missing newline on the last line. - Closes: #584233 - * Quiesce tar warnings in cron job by redirecting stderr to /dev/null, as - it seems --warning=none does not work correctly. Closes: #748544 - * Do not emit a trailing space from Dpkg::Control::Hash on a field's empty - first line. Bump dpkg-dev Breaks on devscripts to 2.14.4, as previous - versions expect a trailing space from dpkg-parsechangelog output. - Based on a patch by Johannes Schauer . Closes: #749044 - * Do not assume that sensible-editor is present on «dpkg-source --commit», - as that command is very Debian specific. Fallback to try VISUAL, EDITOR, - or vi, if the previous commands are either unset or not found. - * Use badusage() instead of ohshit() on dpkg --ignore-depends argument - parsing errors. - * Add per package dpkg --audit support. - * Add support for DragonFlyBSD to ostable and triplettable. - Thanks to Hleb Valoshka <375gnu@gmail.com>. - * Add support for DragonFlyBSD to start-stop-daemon. Closes: #734452 - Based on a patch by Hleb Valoshka <375gnu@gmail.com>. - * Correctly parse patch headers in Dpkg::Source::Patch, to avoid directory - traversal attempts from hostile source packages when unpacking them. - Reported by Javier Serrano Polo as an unspecified - directory traversal; meanwhile also independently found by me both - #749183 and what was supposed to be #746498, which was later on published - and ended up being just a subset of the other non-reported issue. - Fixes CVE-2014-3864 and CVE-2014-3865. Closes: #746498, #749183 - - [ Updated programs translations ] - * Catalan (Guillem Jover). - * Italian (Milo Casagrande). Closes: #750105 - - [ Updated scripts translations ] - * German (Helge Kreutzmann). - - [ Updated manpages translations ] - * German (Helge Kreutzmann). - - [ Raphaël Hertzog ] - * Let dpkg-source unpack additional tarballs in a deterministic order. - Thanks to Samuel Bronson for the report. Closes: #747148 - - -- Guillem Jover Thu, 05 Jun 2014 20:18:04 +0200 - -dpkg (1.17.9ubuntu1) utopic; urgency=medium - - * Merge with Debian unstable, fixing the testsuite's failure to fail. - - -- Adam Conrad Wed, 30 Apr 2014 08:24:27 -0600 - -dpkg (1.17.9) unstable; urgency=high - - [ Guillem Jover ] - * Do not allow patch files with C-style encoded filenames. Closes: #746306 - Fixes CVE-2014-3127 and unconditionally fixes CVE-2014-0471. - Reported by Javier Serrano Polo . - * Switch alternative database backups from xz to gzip. Closes: #746354 - * Do not leak long tar names on bogus or truncated archives. - * Do not leak the filepackages iterator when a directory is used by other - packages. - * Fix short lived memory leaks in «dpkg-split --split». - * Fix memory leak in unused Keybindings screen in dselect. - * Do not leak color string on «dselect --color». - * Fix memory leaks when parsing alternatives. - * Fix off-by-one stack buffer overrun in start-stop-daemon on GNU/Linux and - GNU/kFreeBSD if the executable pathname is longer than _POSIX_PATH_MAX. - Although this should not have security implications as the buffer is - surrounded by two arrays (so those catch accesses even if the stack - grows up or down), and we are compiling with -fstack-protector anyway. - * Mark the command_get_pager() tests on a tty as TODO for now, so that - we do not get failures on build daemons. - * Make test suite errors abort the build again. Closes: #746331 - - [ Updated scripts translations ] - * French (Steve Petruzzello). Closes: #746350 - * German (Helge Kreutzmann). - - [ Updated manpages translations ] - * German (Helge Kreutzmann). - - -- Guillem Jover Wed, 30 Apr 2014 05:45:20 +0200 - -dpkg (1.17.8ubuntu1) utopic; urgency=medium - - * Merge with Debian unstable to bring in several bugfixes, including - the hostile patch unpack directory traversal fix for CVE-2014-0471 - - -- Adam Conrad Mon, 28 Apr 2014 21:16:49 -0600 - -dpkg (1.17.8) unstable; urgency=high - - [ Guillem Jover ] - * Do not backup nonexistent database files from the cron.daily file. - And stop emitting tar warnings. Closes: #745592, #745651 - * Test suite: - - Improve Perl code coverage. - - Improve C code coverage. - * Handle space-only strings when parsing versions in libdpkg. - * Document the environment requirements for the dpkg-maintscript-helper - supports command in the man page. Closes: #739634 - * Improve wording for «dpkg --verify» and --verify-format in the man page. - Closes: #733057 - * Switch test runner from Test::Harness to TAP::Harness. - * Use the perl TAP::Harness for the C test suite instead of the automake - tap-driver, to avoid requiring automake >= 1.12, currently not present - in stable. - * Enable failed test case reporting from the TAP::Harness, so that we get - more meaningful reports on failure from the C test suite. - * Correctly parse C-style diff filenames in Dpkg::Source::Patch, to avoid - directory traversal attempts from hostile source packages when unpacking - them. Reported by Jakub Wilk . Fixes CVE-2014-0471. - - [ Updated programs translations ] - * German (Sven Joachim). - * Russian (Yuri Kozlov). Closes: #745869 - * Vietnamese (Trần Ngọc Quân). - - -- Guillem Jover Mon, 28 Apr 2014 13:33:11 +0200 - -dpkg (1.17.7ubuntu1) utopic; urgency=medium - - * Merge from Debian unstable. Remaining changes: - - Allow -fstack-protector on arm64 now that GCC and glibc support it. - - Change native source version/format mismatch errors into warnings - until the dust settles on Debian bug 737634 about override options. - - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level - tools can get untranslated dpkg terminal log messages while at the - same time having translated debconf prompts. - - Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib. - - Map unqualified package names of multiarch-same packages to the native - arch instead of throwing an error, so that we don't break on upgrade - when there are unqualified names stored in the dpkg trigger database. - - Add logic to the postinst to `dpkg --add-architecture i386' on new - installs on amd64, mimicking our previous behaviour with the conffile. - - Apply a workaround from mvo to consider RC packages as multiarch, - during the dpkg consistency checks. (see LP: 1015567 and 1057367). - * Drop obsolete migration code and guards from pre-trusty dpkg versions. - - -- Adam Conrad Mon, 21 Apr 2014 18:14:10 -0600 - -dpkg (1.17.7) unstable; urgency=low - - [ Guillem Jover ] - * Documentation: - - Mention in deb-symbols(5), that the “main-dependency-template” is - always used. Closes: #737731 - - Clarify in deb-control(5) «Multi-Arch: no» field omission. - - Clarify in dpkg-buildpackage(1) --check-option description. - - Document dpkg-query --control-path life expectancy. See: #699647 - - Fix indentation of “Extract options (with -x)” title in dpkg-source(1). - - Improve symlink <-> directory switch information in - dpkg-maintscript-helper(1). Closes: #739388 - - Add missing flags affected by hardening options to dpkg-buildflags(1). - * Use exit instead of return to exit a subshell in dpkg-maintscript-helper. - Thanks to Richard Levitte . Closes: #738957 - * Localize $_ in Perl functions with while (<$fh>) style loops. - * Perl test suite cleanup: - - Switch test suite runner from ExtUtils::Command::MM to Test::Harness. - - Enable colors in test suite runner. - - Remove sequence number prefixes from test case filenames. - * Do not generate perl warnings on nonexistent fields with - «dpkg-parsechangelog --show». - * Fix bogus message on dependency parse errors in dpkg-checkbuilddeps. - Closes: #736778 - * Document is_pgp_signed as a public Dpkg::Control::Hash option. - Closes: #735975 - * Do not generate perl warnings on undef versions in - Dpkg::Deps::deps_compare(). See: #737731 - * Clarify dpkg-genchanges error message on binary builds without any binary - artifact built. Closes: #726520 - * Improve dpkg-source warning message when ignoring file removals, - by adding a hint about the --include-removal option. - Thanks to Moritz Muehlenhoff . Closes: #738310 - * Add a new dpkg-source extraction --ignore-bad-version option. - Closes: #740883 - * Add Architecture and Build-Profiles information to Package-List field, - as optional name=value1,value2 entries, with names «arch» and «profile». - Use the now recognized field Build-Profiles from binary stanzas in the - source control file to fill the «profile» value. - * Do not interpret the .dsc filename as a regex when recomputing the - md5sum for the .changes file after signing the .dsc. Closes: #742535 - * Cache vendor info Control::Hash objects in Dpkg::Vendor::get_vendor_info() - when parsing the vendor file on each hook invocation. - * If the vendor does not have a Dpkg::Vendor module, try loading a module - from the parent vendors, before falling back to Dpkg::Vendor::Default. - Closes: #735978 - * Set Ubuntu build flags for ppc64el instead of ppc64, as Ubuntu never ended - up shipping a ppc64 architecture. Also honor noopt DEB_BUILD_OPTIONS flag. - Thanks to Adam Conrad . Closes: #736717 - * Add support for FCFLAGS, OBJCFLAGS and OBJCXXFLAGS build flags. - Closes: #744326 - * Improvements and portability fixes to start-stop-daemon: - - When using the Linux procfs switch to use /proc/PID/status instead of - /proc/PID/stat to read the process name. - - Add a generic KVM-based implementation to initialize the entire - process list. - - Fix FreeBSD KVM code to use current kinfo_proc layout. - - Add a native FreeBSD pid_is_exec() method, which is more reliable than - the KVM-based one, and means neither linprocfs nor procfs are required - on such system anymore. Note that GNU/kFreeBSD is still using Linux - procfs code (which ends up using linprocfs). - - Fix OpenBSD KVM code to use current kinfo_proc layout. - - Detect system specific headers at configure time instead of hardcoding - their usage depending on system macros. - - Add a new --ppid matching option to check for parent PID. - Suggested by Alex Mestiashvili . - - On GNU/Hurd do not link unnecessarily against libshouldbeinlibc and - libihash. - * Set TAR preprocessor variable at build time instead of hardcoding it. - This will allow non-GNU systems to easily use another value for their - GNU tar, which is usually either gnutar or gtar. - * Require compound literals support in the compiler at configure time. - * Fix compound literals usage with compilers in C99 mode, by not assigning - them to static variables. - * Test suite cleanup: - - Do not unnecessarily shut up stdout in t-subproc. - - Test command_exec() exit code. - - Test allocations with new test_alloc() instead of pass/fail macros. - - Switch C test suite to use TAP. - * Add support for Packages-files in dpkg --update-avail and --merge-avail - from pipes, or standard input if the argument is omitted or is ‘-’. - Closes: #357093, #367297 - * Error out on not-installed packages passed to «dpkg --verify». - * Deprecate compressing .deb files with bzip2, by making dpkg-deb issue a - warning, as the compressor has been superseded by xz when it comes to - compression ratio, and in cases where higher compatibility or raw speed - is desired gzip is still the better option. Although unpacking will be - kept being supported to handle existing bzip2 compressed .deb files. - * Use GNU tar's --no-unquote when using -T in dpkg-deb to avoid mangling - filenames. Reported by Niels Thykier . Closes: #743687 - * Backup all databases with user data, not just the status database. - * Add Conflicts to dpkg against packages using install-info that were - removed after lenny or squeeze, but may have survived upgrades to wheezy. - Thanks to Andreas Beckmann . Closes: #735159 - * Be verbose on «make check» errors by printing the test suite log. - - [ Updated dpkg translations ] - * German (Sven Joachim). - * Swedish (Peter Krefting). - * Thai (Theppitak Karoonboonyanan). Closes: #745032 - * Vietnamese (Trần Ngọc Quân). - - [ Updated scripts translations ] - * German (Helge Kreutzmann). - * Swedish (Peter Krefting). - - [ Updated manpages translations ] - * German (Helge Kreutzmann). - * Italian (Beatrice Torracca). Closes: #742449 - * Swedish (Peter Krefting). - - -- Guillem Jover Mon, 21 Apr 2014 05:03:52 +0200 - -dpkg (1.17.6) unstable; urgency=low - - [ Guillem Jover ] - * Move signing in dpkg-buildpackage to the end of the build. - * Add new --check-command and --check-option options to dpkg-buildpackage, - and DEB_CHECK_COMMAND environment variable as a default value, to - specify a package checker to use before the signing process. - * Detect a missing gain-root-command even if dpkg-buildpackage is running - as root. - * Detect a missing sign-command in dpkg-buildpackage, before starting the - build, to avoid a failure at the end of the process. - * Remove trailing newlines from dpkg-deb warning message. - * Change dpkg-deb conffile name length warning into an error, as dpkg will - reject those packages at install time anyway. - * Unify and clarify dpkg-deb and dpkg conffile name length error message. - Closes: #108196 - * Add new start-stop-daemon --pid option. Closes: #253265 - * Mention Multi-Arch: no value in man pages. Closes: #732648 - * Correctly hyphenate binary-only and source-only in dpkg-buildpackage - output messages. - * Use makedev(3) when extracting .deb archives rather than ad-hoc - computations, to be able to support large major/minor device numbers, - supported on at least Linux, NetBSD and OpenBSD based systems. - Thanks to Peter Chang . - * Turn the ARM Embedded ABI symbols blacklist into a regex, to stop having - to keep up with the GNU toolchain, or other toolchains emitting different - symbols. - * Blacklist GOMP critical section symbols. Closes: #708033 - * Add support for Ignore-Blacklist-Groups field in symbols files, with the - two available group values aeabi and gomp. Closes: #694524 - * Allow updating checksums in Dpkg::Checksums without erroring out. - * Add shell hooks support to dpkg-buildpackage, based on the debuild - implementation in devscripts 2.13.9. Closes: #476221 - * Add support for Testsuite source field. - * Clarify error message about missing revision in non-native source package. - Closes: #719348, #733746 - * Set default compression options in source format specific modules instead - of dpkg-source. This makes sure the correct compression level is set, even - for “3.0 (native)” packages with non-default compressors. Closes: #733326 - * Change default source package compressor for new formats (>= 2.0) to xz. - * Ignore the same packages in «dpkg-query --list» when computing the - column width as when printing the entries. Closes: #734114 - * Do not produce .deb archives with uncompressed gzip members on - «dpkg-deb -Zgzip -z0», instead create them as non-compressed members, - as if -Znone had been passed, as documented. Closes: #718295 - * Add support for .deb archives with a control member not compressed - (control.tar) or compressed with xz (control.tar.xz). - * Add support for creating uniformly compressed .deb archive members, - with the new dpkg-deb option --uniform-compression. - * Fix file descriptor leaks in diversions and statoverride databases. - Closes: #734783 - * Allow missing prior-version argument in dpkg-maintscript-helper - dir_to_symlink and symlink_to_dir commands. Closes: #733980 - - [ Updated dpkg translations ] - * Swedish (Peter Krefting). - * Vietnamese (Trần Ngọc Quân). - - [ Updated scripts translations ] - * German (Helge Kreutzmann). - * Swedish (Peter Krefting). - - [ Updated manpages translations ] - * German (Helge Kreutzmann). - * Swedish (Peter Krefting). - - -- Guillem Jover Wed, 15 Jan 2014 05:29:45 +0100 - dpkg (1.17.5ubuntu5) trusty; urgency=medium * Allow -fstack-protector on arm64 now that GCC and glibc support it. @@ -2094,7 +240,7 @@ * Add experimental build profiles support: - Add support for build-time restrictions in dependencies. - Add support for DEB_BUILD_PROFILES environment variable. - - Add new option -P to dpkg-buildpackage and dpkg-checkbuilddeps. + - Add new option -P to dpkg-buildpackage and dpkg-checbuilddeps. - Add new Built-For-Profiles output field in .deb and .changes files. Based on a patch by Patrick "P. J." McDermott , Wookey and Johannes Schauer . @@ -3492,7 +1638,7 @@ directives. * dpkg-buildflags(1): make it clear that DEB_*_(SET|APPEND) environment variables are meant for users and should not be used by packages. - * update-alternatives: do not allow reusing a slave link in another + * update-alternatives: do not allow to reuse a slave link in another slave alternative. Closes: #631547 * Improve dpkg-source's logic to identify ignored files. Closes: #632168 * Fix a small typo in dpkg-source(1). Closes: #632937 @@ -5549,12 +3695,12 @@ that are merged into a SymbolFile. Closes: #533181 * Add new tag "ignore-blacklist" to force-include symbols which are normally blacklisted. This can be useful for libgcc to include symbols - that the toolchain allows being shared but that are often static (and + that the toolchain allows to be shared but that are often static (and hence are blacklisted for this reason). Closes: #533642 * In dpkg-source, explicitly pass --keyring ~/.gnupg/trustedkeys.gpg to gpgv as it does not use it if other --keyring parameters are given. Closes: #530769 - * In dpkg-vendor, allow using dashes instead of spaces in vendor + * In dpkg-vendor, allow to use dashes instead of spaces in vendor filenames. Closes: #532222 * Skip dpkg-genchanges' warning about lower version numbers for backports (recognized by ~bpo or ~vola in their version number). Closes: #525115 @@ -5728,7 +3874,7 @@ time. Closes: #525835 * Let dpkg-buildpackage add the missing execute right on debian/rules if needed. Display a warning when it happens. Closes: #499088 - * Allow combining -nc and -S in dpkg-buildpackage but display a warning + * Allow to combine -nc and -S in dpkg-buildpackage but display a warning saying that it's not advised. Closes: #304404 * Let dpkg-buildpackage error out with subprocerr() when dpkg-checkbuilddeps is interrupted/killed by a signal. Closes: #498734 @@ -6480,7 +4626,7 @@ Thanks to Justin B Rye for the review and corrections. Closes: #484002 * When dpkg-divert does renames do no check the target file if the source does not exist and the rename is thus being disabled. This also allows - removing bogus diversions. Closes: #476973, #469033 + to remove bogus diversions. Closes: #476973, #469033 * Properly close triggers 'File' file, so it does not get leaked to children. [ Raphaël Hertzog ] @@ -7585,7 +5731,7 @@ [ Frank Lichtenheld ] * Add $(MAKE) check to build target - * Allow using other compressions than gzip on dpkg-source -b + * Allow to use other compressions than gzip on dpkg-source -b (NOTE: this will result in a Format: 2.0 source package!). Closes: #382673 * Various small fixes to the manpages suggested by Helge Kreutzmann. @@ -9483,7 +7629,7 @@ - Create $(docdir) even when --without-sgml-doc is passed so the ChangeLog can be installed. Closes: #137719. - Stop hardcoding the list of manual page languages in debian/rules, - so we include Spanish, Russian and Brazilian Portuguese. Closes: #245994. + so we include Spanish, Russian and Brazilian Portugese. Closes: #245994. - Quote LDFLAGS in debian/rules to allow multiple options. Closes: #230242. * Documentation: @@ -9572,7 +7718,7 @@ * Add a note about diverting shared libraries to the dpkg-divert manpage. Closes: #214699. * Updated Translations: - - Brazilian Portuguese (Andre Luis Lopes). Closes: #237864. + - Brazilian Portugese (Andre Luis Lopes). Closes: #237864. - Catalan (Jordi Mallach). - Danish (Claus Hindsgaul). Closes: #237624. - Dutch (Pieter-Paul Spiertz, Bart Cornelis, Erwin). diff -Nru dpkg-1.18.4ubuntu1/debian/compat dpkg-1.17.5ubuntu5/debian/compat --- dpkg-1.18.4ubuntu1/debian/compat 2015-11-26 23:53:36.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/compat 2013-06-13 02:58:17.000000000 +0000 @@ -1 +1 @@ -9 +7 diff -Nru dpkg-1.18.4ubuntu1/debian/control dpkg-1.17.5ubuntu5/debian/control --- dpkg-1.18.4ubuntu1/debian/control 2016-01-12 21:24:14.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/control 2014-01-16 23:01:36.000000000 +0000 @@ -3,27 +3,24 @@ Priority: required Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Dpkg Developers -Uploaders: Guillem Jover +Uploaders: Guillem Jover , Raphaël Hertzog Origin: debian Bugs: debbugs://bugs.debian.org Homepage: https://wiki.debian.org/Teams/Dpkg -Vcs-Browser: https://anonscm.debian.org/cgit/dpkg/dpkg.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=dpkg/dpkg.git Vcs-Git: git://anonscm.debian.org/dpkg/dpkg.git -Standards-Version: 3.9.6 -Build-Depends: dpkg-dev (>= 1.17.14), debhelper (>= 9.20141010), - pkg-config, flex, - gettext (>= 0.19), po4a (>= 0.41), +Standards-Version: 3.9.5 +Build-Depends: debhelper (>= 7), pkg-config, flex, + gettext (>= 0.18), po4a (>= 0.41), zlib1g-dev, libbz2-dev, liblzma-dev, libselinux1-dev (>= 1.28-4) [linux-any], - libkvm-dev [kfreebsd-any], libncursesw5-dev, - libio-string-perl + libtimedate-perl, libio-string-perl Package: libdpkg-dev Section: libdevel Priority: optional Architecture: any -Multi-Arch: same Depends: zlib1g-dev, liblzma-dev, libbz2-dev, ${misc:Depends} Description: Debian package management static library This package provides the header files and static library necessary to @@ -39,64 +36,7 @@ Pre-Depends: ${shlibs:Depends}, tar (>= 1.23) Depends: ${misc:Depends} Breaks: dpkg-dev (<< 1.15.8), libdpkg-perl (<< 1.15.8), -# These cause trigger cycles due to using awaiting trigger directives. - apt-cudf (<< 3.3~beta1-3~), - auctex (<< 11.87-3+deb8u1~), - ccache (<< 3.1.10-1~), - cups (<< 1.7.5-10~), - dbus (<< 1.8.12-1ubuntu6~), - debian-security-support (<< 2014.10.26~), - distcc (<< 3.1-6.1~), - doc-base (<< 0.10.5~), - fontconfig (<< 2.11.1-0ubuntu5~), - fusionforge-plugin-mediawiki (<< 5.3.2+20141104-3~), - gap-core (<< 4r7p5-2~), - gitweb (<< 1:2.1.4-2.1~), - grace (<< 1:5.1.24-3~), - gxine (<< 0.5.908-3.1~), - hoogle (<< 4.2.33-4~), - icecc (<< 1.0.1-2~), - install-info (<< 5.1.dfsg.1-3~), - libapache2-mod-php5 (<< 5.6.4+dfsg-3~), - libapache2-mod-php5filter (<< 5.6.4+dfsg-3~), - libjs-protoaculous (<< 5~), - man-db (<< 2.6.3-6~), - mcollective (<< 2.6.0+dfsg-2.1~), - php5-fpm (<< 5.6.4+dfsg-3~), - pypy (<< 2.4.0+dfsg-3~), - readahead-fedora (<< 2:1.5.6-5.2~), - software-center (<< 13.10-0ubuntu9~), - ureadahead (<< 0.100.0-17~), - wordpress (<< 4.1+dfsg-1~), - xfonts-traditional (<< 1.7~), - xine-ui (<< 0.99.9-1.2~), -# These do not support triggers. - apt (<< 0.7.7~), aptitude (<< 0.4.7-1~) -Conflicts: -# The following Conflicts against removed packages using install-info -# in their prerm script can be removed in jessie+1. -# These packages have been removed after squeeze: - ggz-docs (<< 0.0.14.1-2~), glame (<< 2.0.1-6~), gtalk (<< 0.99.10-16~), - libalogg-dev (<< 1.3.7-2~), r6rs-doc (<< 1.0-2~), ulog-acctd (<< 0.4.3-3~), - octave3.2-info (<< 3.2.4-12+rm), -# These non-free packages have been removed after squeeze: - cpp-4.1-doc (<< 4.1.2.nf2-4~), gcc-4.1-doc (<< 4.1.2.nf2-4~), - gcj-4.1-doc (<< 4.1.2.nf2-4~), gfortran-4.1-doc (<< 4.1.2.nf2-4~), - gnat-4.1-doc (<< 4.1.2.nf2-4~), cpp-4.2-doc (<< 4.2.4.nf1-4~), - gcc-4.2-doc (<< 4.2.4.nf1-4~), gcj-4.2-doc (<< 4.2.4.nf1-4~), - gfortran-4.2-doc (<< 4.2.4.nf1-4~), gnat-4.2-doc (<< 4.2.4.nf1-4~), -# These packages have been removed after lenny: - ada-reference-manual (<< 20021112web-4~), asn1-mode (<< 2.7-7~), - bogosort (<< 0.4.2-3~), cl-yacc (<< 0.3-3~), libgtk1.2-doc (<< 1.2.10-19~), - libnettle-dev (<< 2~), liborbit-dev (<< 0.5.17-12~), - libreadline5-dev (<< 5.2-8~), - librep-doc (<< 0.90~), mmucl (<< 1.5.2-3~), nxml-mode (<< 20041004-9~), - octave3.0-info (<< 1:3.0.5-7+rm), - serveez-doc (<< 0.1.5-3~), slat (<< 2.0-6~), - texlive-base-bin-doc (<< 2007.dfsg.2-9~), ttcn-el (<< 0.6.9-2~), - xconq-doc (<< 7.4.1-5~), zenirc (<< 2.112.dfsg-1~), -# These non-free packages have been removed after lenny: - polgen-doc (<< 1.3-3+rm) + apt (<< 0.7.7), aptitude (<< 0.4.7-1) Suggests: apt Replaces: manpages-it (<< 2.80-4) Description: Debian package management system @@ -111,11 +51,11 @@ Architecture: all Multi-Arch: foreign Depends: libdpkg-perl (= ${source:Version}), bzip2, xz-utils, - patch (>= 2.7), make, binutils, base-files (>= 5.0.0), ${misc:Depends} + patch, make, binutils, base-files (>= 5.0.0), ${misc:Depends} Recommends: gcc | c-compiler, build-essential, fakeroot, gnupg | gnupg2, gpgv | gpgv2, libalgorithm-merge-perl Suggests: debian-keyring -Breaks: dpkg-cross (<< 2.0.0), devscripts (<< 2.14.10) +Breaks: dpkg-cross (<< 2.0.0), devscripts (<< 2.10.26) Replaces: manpages-it (<< 2.80-4) Description: Debian package development tools This package provides the development tools (including dpkg-source) @@ -129,43 +69,31 @@ Priority: optional Architecture: all Multi-Arch: foreign -Depends: dpkg (>= 1.16.3), perl, ${misc:Depends} +Depends: dpkg (>= 1.15.8), perl, libtimedate-perl, ${misc:Depends} Recommends: libfile-fcntllock-perl, bzip2, xz-utils Suggests: debian-keyring, gnupg | gnupg2, gpgv | gpgv2, gcc | c-compiler, binutils, patch -Breaks: dpkg-dev (<< 1.15.6), patch (<< 2.7) +Breaks: dpkg-dev (<< 1.15.6) Replaces: dpkg (<< 1.15.8), dpkg-dev (<< 1.15.6) Description: Dpkg perl modules This package provides the perl modules used by the scripts in dpkg-dev. They cover a wide range of functionality. Among them there are the following public modules: . - - Dpkg: core variables - - Dpkg::Arch: architecture handling functions - Dpkg::BuildFlags: set, modify and query compilation build flags - Dpkg::BuildOptions: parse and manipulate DEB_BUILD_OPTIONS - - Dpkg::BuildProfile: parse and manipulate build profiles - - Dpkg::Changelog: parse changelogs - - Dpkg::Changelog::Entry: represents a changelog entry - - Dpkg::Changelog::Parse: generic changelog parser for dpkg-parsechangelog + - Dpkg::Changelog: parse Debian changelogs - Dpkg::Checksums: generate and parse checksums - - Dpkg::Compression: simple database of available compression methods - Dpkg::Compression::Process: wrapper around compression tools - Dpkg::Compression::FileHandle: transparently (de)compress files - Dpkg::Conf: parse dpkg configuration files - Dpkg::Control: parse and manipulate Debian control information (.dsc, .changes, Packages/Sources entries, etc.) - - Dpkg::Control::Changelog: represent fields output by dpkg-parsechangelog - - Dpkg::Control::Fields: manage (list of known) control fields - - Dpkg::Control::Hash: parse and manipulate a block of RFC822-like fields - - Dpkg::Control::Info: parse files like debian/control - Dpkg::Deps: parse and manipulate dependencies - - Dpkg::Exit: push, pop and run exit handlers - Dpkg::Gettext: wrapper around Locale::gettext - Dpkg::IPC: spawn sub-processes and feed/retrieve data - Dpkg::Index: collections of Dpkg::Control (Packages/Sources files for example) - - Dpkg::Interface::Storable: base object serializer - Dpkg::Path: common path handling functions - Dpkg::Source::Package: extract Debian source packages - Dpkg::Substvars: substitute variables in strings diff -Nru dpkg-1.18.4ubuntu1/debian/copyright dpkg-1.17.5ubuntu5/debian/copyright --- dpkg-1.18.4ubuntu1/debian/copyright 2015-12-25 03:54:39.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/copyright 2013-11-04 03:14:38.000000000 +0000 @@ -1,165 +1,60 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: dpkg +This is Debian's package maintenance system. -Files: * -Copyright: - Copyright © 1994 Ian Murdock - Copyright © 1994 Matt Welsh - Copyright © 1994 Carl Streeter - Copyright © 1994-1999, 2008 Ian Jackson - Copyright © 1995 Bruce Perens - Copyright © 1995-1996 Erick Branderhorst - Copyright © 1996 Michael Shields - Copyright © 1996 Klee Dienes - Copyright © 1996 Kim-Minh Kaplan - Copyright © 1996-1998 Miquel van Smoorenburg - Copyright © 1997-1998 Charles Briscoe-Smith - Copyright © 1997-1998 Juho Vuori - Copyright © 1998 Koichi Sekido - Copyright © 1998 Jim Van Zandt - Copyright © 1998 Juan Cespedes - Copyright © 1998 Nils Rennebarth - Copyright © 1998 Heiko Schlittermann - Copyright © 1998-1999, 2001, 2003, 2006 Martin Schulze - Copyright © 1999 Roderick Shertler - Copyright © 1999 Ben Collins - Copyright © 1999 Richard Kettlewell - Copyright © 1999-2001 Marcus Brinkmann - Copyright © 1999-2002 Wichert Akkerman - Copyright © 2001, 2007, 2010 Joey Hess - Copyright © 2004-2005, 2007-2008, 2010 Canonical Ltd. - Copyright © 2004-2005 Scott James Remnant - Copyright © 2006-2008 Frank Lichtenheld - Copyright © 2006-2015 Guillem Jover - Copyright © 2007-2012 Raphaël Hertzog - Copyright © 2007 Nicolas François - Copyright © 2007 Don Armstrong - Copyright © 2007 Colin Watson - Copyright © 2007, 2008 Tollef Fog Heen - Copyright © 2008 Zack Weinberg - Copyright © 2008 Pierre Habouzit - Copyright © 2009 Romain Francoise - Copyright © 2009-2010 Modestas Vainius - Copyright © 2009-2011 Kees Cook -License: GPL-2+ - -Files: - lib/compat/getopt* - lib/compat/gettext.h - lib/compat/obstack.* - lib/compat/strnlen.c -Copyright: - Copyright © 1987-2006 Free Software Foundation, Inc. -License: GPL-2+ - -Files: - dselect/methods/Dselect/Ftp.pm - dselect/methods/ftp/* -Copyright: - Copyright © 1996 Andy Guy - Copyright © 1998 Martin Schulze - Copyright © 1999-2001, 2005-2006, 2009 Raphaël Hertzog -License: GPL-2 - -Files: - scripts/Dpkg/Gettext.pm -Copyright: - Copyright © 2000 Joey Hess - Copyright © 2007, 2009-2010, 2012-2015 Guillem Jover -License: BSD-2-clause - -Files: - utils/start-stop-daemon.c -Copyright: - Copyright © 1999 Marek Michalkiewicz - Copyright © 1999 Christian Schwarz - Copyright © 1999 Klee Dienes - Copyright © 1999 Ben Collins - Copyright © 1999-2002 Wichert Akkerman - Copyright © 2000-2003 Adam Heath - Copyright © 2001 Sontri Tomo Huynh - Copyright © 2001 Andreas Schuldei - Copyright © 2001 Ian Jackson - Copyright © 2004-2005 Scott James Remnant - Copyright © 2006-2014 Guillem Jover - Copyright © 2008 Samuel Thibault - Copyright © 2008 Andreas Påhlsson - Copyright © 2009 Chris Coulson - Copyright © 2012 Carsten Hey - Copyright © 2014 Nir Soffer -License: public-domain-s-s-d - Written by Marek Michalkiewicz , - public domain. Based conceptually on start-stop-daemon.pl, by Ian - Jackson . May be used and distributed - freely for any purpose. Changes by Christian Schwarz - , to make output conform to the Debian - Console Message Standard, also placed in public domain. Minor - changes by Klee Dienes , also placed in the Public - Domain. - . - Changes by Ben Collins , added --chuid, --background - and --make-pidfile options, placed in public domain as well. - -Files: lib/compat/md5.* -Copyright: - Copyright © 1993 Colin Plumb -License: public-domain-md5 - This code implements the MD5 message-digest algorithm. - The algorithm is due to Ron Rivest. This code was - written by Colin Plumb in 1993, no copyright is claimed. - This code is in the public domain; do with it what you wish. - . - Equivalent code is available from RSA Data Security, Inc. - This code has been tested against that, and is equivalent, - except that you don't need to include two pages of legalese - with every copy. - -License: GPL-2+ - 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. - . - On Debian systems, the complete text of the GNU General Public License - can be found in ‘/usr/share/common-licenses/GPL-2’ or in the dpkg source - as the file ‘COPYING’. - -License: GPL-2 - This is free software; you can redistribute it and/or modify - it under the terms of version 2 of the GNU General Public - License version 2 as published by the Free Software Foundation. - . - This is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - . - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -License: BSD-2-clause - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - . - THIS SOFTWARE IS PROVIDED BY AUTHORS AND CONTRIBUTORS ``AS IS'' AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE - FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - SUCH DAMAGE. +Copyright © 2009-2010 Modestas Vainius +Copyright © 2009 Romain Francoise +Copyright © 2008 Zack Weinberg +Copyright © 2007 Colin Watson +Copyright © 2007 Don Armstrong +Copyright © 2007 Nicolas François +Copyright © 2007-2010 Raphaël Hertzog +Copyright © 2006-2010 Guillem Jover +Copyright © 2006-2008 Frank Lichtenheld +Copyright © 2004-2005 Scott James Remnant +Copyright © 2004-2005, 2007-2008 Canonical Ltd. +Copyright © 2001,2007 Joey Hess +Copyright © 1999-2002 Wichert Akkerman +Copyright © 1999-2001 Marcus Brinkmann +Copyright © 1999 Richard Kettlewell +Copyright © 1999 Ben Collins +Copyright © 1999 Roderick Shertler +Copyright © 1998-1999 Martin Schulze +Copyright © 1998 Heiko Schlittermann +Copyright © 1998 Nils Rennebarth +Copyright © 1998 Juan Cespedes +Copyright © 1998 Jim Van Zandt +Copyright © 1998 Koichi Sekido +Copyright © 1997-1998 Juho Vuori +Copyright © 1997-1998 Charles Briscoe-Smith +Copyright © 1996-1998 Miquel van Smoorenburg +Copyright © 1996 Kim-Minh Kaplan +Copyright © 1996 Klee Dienes +Copyright © 1996 Michael Shields +Copyright © 1995-1996 Erick Branderhorst +Copyright © 1995 Bruce Perens +Copyright © 1994-1999 Ian Jackson +Copyright © 1994 Carl Streeter +Copyright © 1994 Matt Welsh +Copyright © 1994 Ian Murdock + +Includes public domain MD5 code: + lib/compat/md5.c and lib/compat/md5.h originally written by Colin Plumb, + +Includes code from ‘getopt’ and ‘gettext’: + Copyright © 1984-2002 Free Software Foundation, Inc. + + +License: + +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. + +On Debian systems, the complete text of the GNU General Public License +can be found in ‘/usr/share/common-licenses/GPL-2’ or in the dpkg source +as the file ‘COPYING’. diff -Nru dpkg-1.18.4ubuntu1/debian/dpkg.cron.daily dpkg-1.17.5ubuntu5/debian/dpkg.cron.daily --- dpkg-1.18.4ubuntu1/debian/dpkg.cron.daily 2015-11-26 23:51:59.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/dpkg.cron.daily 2013-06-13 02:58:17.000000000 +0000 @@ -1,47 +1,10 @@ #!/bin/sh -dbdir=/var/lib/dpkg - -# Backup the 7 last versions of dpkg databases containing user data. +# Backup the 7 last versions of dpkg's status file if cd /var/backups ; then - # We backup all relevant database files if any has changed, so that - # the rotation number always contains an internally consistent set. - dbchanged=no - dbfiles="arch status diversions statoverride" - for db in $dbfiles ; do - if ! cmp -s dpkg.${db}.0 $dbdir/$db ; then - dbchanged=yes - break; - fi - done - if [ "$dbchanged" = "yes" ] ; then - for db in $dbfiles ; do - [ -e $dbdir/$db ] || continue - cp -p $dbdir/$db dpkg.$db - savelog -c 7 dpkg.$db >/dev/null - done - fi - - # The alternatives database is independent from the dpkg database. - dbalt=alternatives - - # Switch the alternatives database backups from xz to gzip, as the latter - # is Essential and we can rely on it being always present, using xz here - # is not worth the trouble, disk space savings, or possible additional - # dependencies. - for dbseq in `seq 1 6` ; do - dbfile=${dbalt}.tar.${dbseq} - [ -e "${dbfile}.xz" ] || continue - unxz ${dbfile}.xz - gzip -9 $dbfile - done - - # XXX: Ideally we'd use --warning=none instead of discarding stderr, but - # as of GNU tar 1.27.1, it does not seem to work reliably (see #749307). - if ! test -e ${dbalt}.tar.0 || - ! tar -df ${dbalt}.tar.0 -C $dbdir $dbalt >/dev/null 2>&1 ; - then - tar -cf ${dbalt}.tar -C $dbdir $dbalt >/dev/null 2>&1 - savelog -c 7 ${dbalt}.tar >/dev/null + if ! cmp -s dpkg.status.0 /var/lib/dpkg/status ; then + cp -p /var/lib/dpkg/status dpkg.status + savelog -c 7 dpkg.status >/dev/null fi fi + diff -Nru dpkg-1.18.4ubuntu1/debian/dpkg-dev.preinst dpkg-1.17.5ubuntu5/debian/dpkg-dev.preinst --- dpkg-1.18.4ubuntu1/debian/dpkg-dev.preinst 2015-11-26 23:53:36.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/dpkg-dev.preinst 2013-11-04 03:14:38.000000000 +0000 @@ -35,7 +35,7 @@ *) - echo "$0 called with unknown argument '$1'" 1>&2 + echo "$0 called with unknown argument \`$1'" 1>&2 exit 1 ;; esac diff -Nru dpkg-1.18.4ubuntu1/debian/dpkg.links dpkg-1.17.5ubuntu5/debian/dpkg.links --- dpkg-1.18.4ubuntu1/debian/dpkg.links 2015-09-16 12:50:15.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/dpkg.links 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -usr/bin/dpkg-divert usr/sbin/dpkg-divert -usr/bin/dpkg-statoverride usr/sbin/dpkg-statoverride -usr/bin/update-alternatives usr/sbin/update-alternatives diff -Nru dpkg-1.18.4ubuntu1/debian/dpkg.manpages dpkg-1.17.5ubuntu5/debian/dpkg.manpages --- dpkg-1.18.4ubuntu1/debian/dpkg.manpages 2015-11-26 23:53:36.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/dpkg.manpages 2013-06-13 02:58:17.000000000 +0000 @@ -1,11 +1,11 @@ debian/tmp/usr/share/man/*/dpkg-deb.1 -debian/tmp/usr/share/man/*/dpkg-divert.1 +debian/tmp/usr/share/man/*/dpkg-divert.8 debian/tmp/usr/share/man/*/dpkg-maintscript-helper.1 debian/tmp/usr/share/man/*/dpkg-query.1 debian/tmp/usr/share/man/*/dpkg-split.1 -debian/tmp/usr/share/man/*/dpkg-statoverride.1 +debian/tmp/usr/share/man/*/dpkg-statoverride.8 debian/tmp/usr/share/man/*/dpkg-trigger.1 debian/tmp/usr/share/man/*/dpkg.cfg.5 debian/tmp/usr/share/man/*/dpkg.1 debian/tmp/usr/share/man/*/start-stop-daemon.8 -debian/tmp/usr/share/man/*/update-alternatives.1 +debian/tmp/usr/share/man/*/update-alternatives.8 diff -Nru dpkg-1.18.4ubuntu1/debian/dpkg.postinst dpkg-1.17.5ubuntu5/debian/dpkg.postinst --- dpkg-1.18.4ubuntu1/debian/dpkg.postinst 2015-11-26 23:53:36.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/dpkg.postinst 2014-01-16 23:01:36.000000000 +0000 @@ -4,9 +4,6 @@ # After the package was installed: # configure # -# After the package was triggered: -# triggered … -# # # If prerm fails during upgrade or fails on failed upgrade: # abort-upgrade @@ -68,6 +65,34 @@ chown root:root $logfile 2>/dev/null || chown 0:0 $logfile } +new_installs_multiarch() +{ + if [ "$DPKG_MAINTSCRIPT_ARCH" = "amd64" ]; then + dpkg --add-architecture i386 + fi +} + +migrate_multiarch_conffile() +{ + ADD_ARCHES="" + for i in /etc/dpkg/dpkg.cfg $(run-parts --list /etc/dpkg/dpkg.cfg.d); do + ADD_ARCHES="$ADD_ARCHES $(awk '/^foreign-architecture/ {print $2}' $i)" + sed -i -e 's/^foreign-architecture/# foreign-architecture/' $i + done + if [ -f /etc/dpkg/dpkg.cfg.d/multiarch.dpkg-remove ]; then + ADD_ARCHES="$ADD_ARCHES $(awk '/^foreign-architecture/ {print $2}' \ + /etc/dpkg/dpkg.cfg.d/multiarch.dpkg-remove)" + rm -f /etc/dpkg/dpkg.cfg.d/multiarch.dpkg-remove + elif [ -f /etc/dpkg/dpkg.cfg.d/multiarch.dpkg-backup ]; then + ADD_ARCHES="$ADD_ARCHES $(awk '/^foreign-architecture/ {print $2}' \ + /etc/dpkg/dpkg.cfg.d/multiarch.dpkg-backup)" + mv /etc/dpkg/dpkg.cfg.d/multiarch.dpkg-backup \ + /etc/dpkg/dpkg.cfg.d/multiarch.dpkg-bak + fi + for i in $ADD_ARCHES; do + dpkg --add-architecture $i + done +} case "$1" in configure) @@ -76,13 +101,21 @@ move_info_directory remove_info_symlink + + if dpkg --compare-versions "$2" lt 1.16.0.3ubuntu4; then + new_installs_multiarch + fi + + if dpkg --compare-versions "$2" lt 1.16.3; then + migrate_multiarch_conffile + fi ;; abort-upgrade|abort-deconfigure|abort-remove) ;; *) - echo "$0 called with unknown argument '$1'" 1>&2 + echo "$0 called with unknown argument \`$1'" 1>&2 exit 1 ;; esac diff -Nru dpkg-1.18.4ubuntu1/debian/dpkg.postrm dpkg-1.17.5ubuntu5/debian/dpkg.postrm --- dpkg-1.18.4ubuntu1/debian/dpkg.postrm 2015-11-26 23:53:36.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/dpkg.postrm 2014-01-16 23:01:36.000000000 +0000 @@ -46,27 +46,49 @@ rm -f $pkgadmindir/format } +restore_multiarch_conffile() +{ + if [ -f /etc/dpkg/dpkg.cfg.d/multiarch.dpkg-backup ]; then + mv /etc/dpkg/dpkg.cfg.d/multiarch.dpkg-backup /etc/dpkg/dpkg.cfg.d/multiarch + elif [ -f /etc/dpkg/dpkg.cfg.d/multiarch.dpkg-remove ]; then + mv /etc/dpkg/dpkg.cfg.d/multiarch.dpkg-remove /etc/dpkg/dpkg.cfg.d/multiarch + fi +} + +remove_multiarch_conffile() +{ + rm -f /etc/dpkg/dpkg.cfg.d/multiarch.dpkg-bak +} + case "$1" in remove) ;; purge) remove_logfile + remove_multiarch_conffile ;; upgrade) # Downgrade the multiarch db to a “monoarch” db layout - if dpkg --compare-versions "$2" lt 1.16.2; then + if dpkg --compare-versions "$2" lt 1.16.0~; then cleanup_multiarch_infodb fi ;; - failed-upgrade|disappear|abort-install|abort-upgrade) + failed-upgrade|disappear|abort-install) + ;; + + abort-upgrade) + # Restore old multiarch conffile that we moved + if dpkg --compare-versions "$2" lt 1.16.3; then + restore_multiarch_conffile + fi ;; *) - echo "$0 called with unknown argument '$1'" 1>&2 + echo "$0 called with unknown argument \`$1'" 1>&2 exit 1 ;; esac diff -Nru dpkg-1.18.4ubuntu1/debian/dpkg.preinst dpkg-1.17.5ubuntu5/debian/dpkg.preinst --- dpkg-1.18.4ubuntu1/debian/dpkg.preinst 2015-11-26 23:53:36.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/dpkg.preinst 2014-01-16 23:01:36.000000000 +0000 @@ -28,6 +28,18 @@ fi } +rename_multiarch_conffile() +{ + if [ -f /etc/dpkg/dpkg.cfg.d/multiarch ]; then + multiarch_md5="e018c53338191b34f943e2b38e160d1a /etc/dpkg/dpkg.cfg.d/multiarch" + if echo "$multiarch_md5" | md5sum -c >/dev/null 2>&1; then + mv /etc/dpkg/dpkg.cfg.d/multiarch /etc/dpkg/dpkg.cfg.d/multiarch.dpkg-remove + else + mv /etc/dpkg/dpkg.cfg.d/multiarch /etc/dpkg/dpkg.cfg.d/multiarch.dpkg-backup + fi + fi +} + kill_bad_alternatives () { local IFS="" admindir=${DPKG_ADMINDIR:-/var/lib/dpkg} @@ -67,6 +79,10 @@ kill_bad_alternatives fi + if dpkg --compare-versions "$2" lt 1.16.3; then + rename_multiarch_conffile + fi + case "$2" in # Upgrade from pre-conffile dpkg.cfg 1.9.21 | 1.10.* ) @@ -80,7 +96,7 @@ *) - echo "$0 called with unknown argument '$1'" 1>&2 + echo "$0 called with unknown argument \`$1'" 1>&2 exit 1 ;; esac diff -Nru dpkg-1.18.4ubuntu1/debian/dpkg.prerm dpkg-1.17.5ubuntu5/debian/dpkg.prerm --- dpkg-1.18.4ubuntu1/debian/dpkg.prerm 2015-11-26 23:53:36.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/dpkg.prerm 2014-01-16 23:01:36.000000000 +0000 @@ -147,7 +147,7 @@ ensure_no_triggers_noawait fi # Downgrade the multiarch db to a “monoarch” db layout - if dpkg --compare-versions "$2" lt 1.16.2; then + if dpkg --compare-versions "$2" lt 1.16.0~; then downgrade_multiarch_infodb fi ;; @@ -156,7 +156,7 @@ ;; *) - echo "$0 called with unknown argument '$1'" 1>&2 + echo "$0 called with unknown argument \`$1'" 1>&2 exit 1 ;; esac diff -Nru dpkg-1.18.4ubuntu1/debian/dselect.docs dpkg-1.17.5ubuntu5/debian/dselect.docs --- dpkg-1.18.4ubuntu1/debian/dselect.docs 2015-11-26 23:53:36.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/dselect.docs 2013-06-13 02:58:17.000000000 +0000 @@ -1,4 +1,5 @@ AUTHORS THANKS debian/usertags +doc/README.feature-removal-schedule dselect/methods/multicd/README.multicd diff -Nru dpkg-1.18.4ubuntu1/debian/dselect.install dpkg-1.17.5ubuntu5/debian/dselect.install --- dpkg-1.18.4ubuntu1/debian/dselect.install 2015-11-26 23:53:36.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/dselect.install 2013-11-04 03:14:38.000000000 +0000 @@ -2,7 +2,7 @@ etc/dpkg/dselect.cfg.d usr/bin/dselect -usr/lib/dpkg/methods usr/lib/dpkg +usr/lib/dpkg/methods usr/share/locale/*/LC_MESSAGES/dselect.mo usr/share/perl5/Dselect var/lib/dpkg/methods diff -Nru dpkg-1.18.4ubuntu1/debian/dselect.preinst dpkg-1.17.5ubuntu5/debian/dselect.preinst --- dpkg-1.18.4ubuntu1/debian/dselect.preinst 2015-11-26 23:53:36.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/dselect.preinst 2013-11-04 03:14:38.000000000 +0000 @@ -35,7 +35,7 @@ *) - echo "$0 called with unknown argument '$1'" 1>&2 + echo "$0 called with unknown argument \`$1'" 1>&2 exit 1 ;; esac diff -Nru dpkg-1.18.4ubuntu1/debian/libdpkg-dev.docs dpkg-1.17.5ubuntu5/debian/libdpkg-dev.docs --- dpkg-1.18.4ubuntu1/debian/libdpkg-dev.docs 2015-11-26 23:53:36.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/libdpkg-dev.docs 2013-06-13 02:58:17.000000000 +0000 @@ -2,3 +2,4 @@ THANKS debian/usertags doc/README.api +doc/README.feature-removal-schedule diff -Nru dpkg-1.18.4ubuntu1/debian/libdpkg-dev.install dpkg-1.17.5ubuntu5/debian/libdpkg-dev.install --- dpkg-1.18.4ubuntu1/debian/libdpkg-dev.install 2015-11-26 23:53:36.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/libdpkg-dev.install 2013-06-13 02:58:17.000000000 +0000 @@ -1,3 +1,3 @@ usr/include/dpkg/*.h -usr/lib/*/pkgconfig/libdpkg.pc -usr/lib/*/libdpkg.a +usr/lib/pkgconfig/libdpkg.pc +usr/lib/libdpkg.a diff -Nru dpkg-1.18.4ubuntu1/debian/libdpkg-perl.docs dpkg-1.17.5ubuntu5/debian/libdpkg-perl.docs --- dpkg-1.18.4ubuntu1/debian/libdpkg-perl.docs 2015-11-26 23:53:36.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/libdpkg-perl.docs 2013-06-13 02:58:17.000000000 +0000 @@ -1,5 +1,4 @@ AUTHORS THANKS -debian/usertags doc/README.api doc/README.feature-removal-schedule diff -Nru dpkg-1.18.4ubuntu1/debian/libdpkg-perl.install dpkg-1.17.5ubuntu5/debian/libdpkg-perl.install --- dpkg-1.18.4ubuntu1/debian/libdpkg-perl.install 2015-11-26 23:53:36.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/libdpkg-perl.install 2013-06-13 02:58:17.000000000 +0000 @@ -1,4 +1,4 @@ -usr/lib/dpkg/parsechangelog usr/lib/dpkg +usr/lib/dpkg/parsechangelog usr/share/locale/*/LC_MESSAGES/dpkg-dev.mo usr/share/man/man3/Dpkg*.3 usr/share/perl5/Dpkg* diff -Nru dpkg-1.18.4ubuntu1/debian/rules dpkg-1.17.5ubuntu5/debian/rules --- dpkg-1.18.4ubuntu1/debian/rules 2015-11-26 23:53:36.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/rules 2013-11-09 04:36:37.000000000 +0000 @@ -5,31 +5,26 @@ WFLAGS := -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -# XXX: Stack Protector Strong is only available in gcc >= 4.9 -cc_version = $(shell $(CC) -dumpversion 2>/dev/null) -cc_version_lt = $(shell dpkg --compare-versions "$(cc_version)" lt-nl "$(1)" && echo yes) -hardening_old = DEB_BUILD_MAINT_OPTIONS="hardening=-stackprotectorstrong" - # Use the in-tree dpkg-buildflags dpkg_buildflags = \ - $(if $(call cc_version_lt,4.9),$(hardening_old)) \ DEB_CFLAGS_MAINT_APPEND="$(WFLAGS)" \ DEB_CXXFLAGS_MAINT_APPEND="$(WFLAGS)" \ - $(CURDIR)/run-script perl scripts/dpkg-buildflags.pl + $(CURDIR)/run-script perl $(CURDIR)/scripts/dpkg-buildflags.pl -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) -DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -# Support cross-compiling. ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) confflags += --build=$(DEB_HOST_GNU_TYPE) else confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) endif -# Do not enable everything on all platforms. +# Don't enable everything on all platforms +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) + ifeq ($(DEB_HOST_ARCH_OS),linux) confflags += --with-selinux endif @@ -37,8 +32,6 @@ confflags += --disable-silent-rules endif -D := $(CURDIR)/debian/tmp - # Create configure script if necessary, automake handles rebuilding it. configure: dh_testdir @@ -58,7 +51,6 @@ --sysconfdir=/etc \ --sbindir=/sbin \ --localstatedir=/var \ - --with-devlibdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ --with-zlib \ --with-liblzma \ --with-bz2 @@ -74,7 +66,7 @@ dh_testdir ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) - cd build-tree && $(MAKE) VERBOSE=1 check + cd build-tree && $(MAKE) check endif # Install the package underneath debian/tmp @@ -84,13 +76,13 @@ dh_prep dh_installdirs - cd build-tree && $(MAKE) DESTDIR=$(D) install + cd build-tree && $(MAKE) DESTDIR="$(CURDIR)/debian/tmp" install ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes)) # Ubuntu's «i386» architecture is built for i686 (the Debian default - # is i586). + # is i486). sed -ri 's/^(i386[[:space:]]+)[^[:space:]]+/\1i686/' \ - $(D)/usr/share/dpkg/cputable + $(CURDIR)/debian/tmp/usr/share/dpkg/cputable endif define dpkg-installmanl10n @@ -104,7 +96,7 @@ binary-arch: install dh_testdir -a dh_testroot -a - dh_install -a + dh_install --sourcedir=debian/tmp -a dh_installcron -a dh_installlogrotate -a dh_installchangelogs -a ChangeLog* @@ -130,7 +122,7 @@ binary-indep: install dh_testdir -i dh_testroot -i - dh_install -i + dh_install --sourcedir=debian/tmp -i dh_installcron -i dh_installchangelogs -i ChangeLog* dh_installdocs -i diff -Nru dpkg-1.18.4ubuntu1/debian/usertags dpkg-1.17.5ubuntu5/debian/usertags --- dpkg-1.18.4ubuntu1/debian/usertags 2015-11-26 23:53:36.000000000 +0000 +++ dpkg-1.17.5ubuntu5/debian/usertags 2013-11-04 03:14:38.000000000 +0000 @@ -7,38 +7,40 @@ User: dpkg@packages.debian.org Usertags: -These are the currently used usertags: +Those are the currently used usertags (and the matchings against the old +“pseudo-tags”, which were encoded in the bug title): Generic tags ============ -usertag description -------- ----------- +usertag pseudo-tag description +------- ---------- ----------- -assert Errors caused by assert(). -segfault Errors that cause segmentation faults. -conffile Issues with configuration file handling. -symlink Issues related to symlink handling. -depends Issues with dependency relationship handling. -maint-script Errors related to maintainer scripts. -db Issues handling the database. -file-metadata File metadata tracking (perm, acl, cap, hash). -trivial Bug should be trivial to fix. -perf Performance problems. -new-field Request for new control file fields. -new-option Request for new command line option. -deb-format Changes to the binary (.deb) format. -dsc-format Changes to the source (.dsc) format. -arch Updates to ‘cputable’, ‘ostable’ and porting patches. -vendor Vendor support and needed modifications. -build Project build system issues. -i18n Conversion to the UTF-8 encoding. -i18n Internationalization problems. -l10n New or updated translations and bugs affecting - translation. Include the language code in the tag, - e.g. [INTL:cy_GB]. -doc Documentation bugs, including --help, program output - and manpages. +assert [ASSERT] Errors caused by assert(). +segfault [SEGFAULT] Errors that cause segmentation faults. +conffile [CONFFILE] Issues with configuration file handling. +symlink Issues related to symlink handling. +depends [DEPENDS] Issues with dependency relationship handling. +maint-script Errors related to maintainer scripts. +db Issues handling the database. +file-metadata File metadata tracking (perm, acl, cap, hash). +trivial [TRIVIAL] Bug should be trivial to fix. +perf [PERF] Performance problems. +new-field Request for new control file fields. +new-option Request for new command line option. +deb-format Changes to the binary (.deb) format. +dsc-format Changes to the source (.dsc) format. +arch [ARCH] Updates to ‘cputable’, ‘ostable’ and porting + patches. +vendor Vendor support and needed modifications. +build Project build system issues. +i18n [UTF-8] Conversion to the UTF-8 encoding. +i18n [INTL] Internationalization problems. +l10n [INTL] New or updated translations and bugs affecting + translation. Include the language code in the + tag, e.g. [INTL:cy_GB]. +doc [DOC] Documentation bugs, including --help, program + output and manpages. Being considered tags ===================== @@ -52,35 +54,35 @@ Program tags ============ -usertag description -------- ----------- +usertag pseudo-tag description +------- ---------- ----------- -dpkg -dpkg-architecture +dpkg [DPKG] +dpkg-architecture [DPKG-ARCHITECTURE] dpkg-buildflags -dpkg-buildpackage -dpkg-checkbuilddeps -dpkg-deb -dpkg-distaddfile -dpkg-divert -dpkg-genchanges -dpkg-gencontrol -dpkg-gensymbols +dpkg-buildpackage [DPKG-BUILDPACKAGE] +dpkg-checkbuilddeps [DPKG-CHECKBUILDDEPS] +dpkg-deb [DPKG-DEB] +dpkg-distaddfile [DPKG-DISTADDFILE] +dpkg-divert [DPKG-DIVERT] +dpkg-genchanges [DPKG-GENCHANGES] +dpkg-gencontrol [DPKG-GENCONTROL] +dpkg-gensymbols [DPKG-GENCSYMBOLS] dpkg-maintscript-helper dpkg-mergechangelogs -dpkg-name -dpkg-parsechangelog -dpkg-query -dpkg-scanpackages -dpkg-scansources -dpkg-shlibdeps -dpkg-source -dpkg-split -dpkg-statoverride +dpkg-name [DPKG-NAME] +dpkg-parsechangelog [DPKG-PARSECHANGELOG] +dpkg-query [DPKG-QUERY] +dpkg-scanpackages [DPKG-SCANPACKAGES] +dpkg-scansources [DPKG-SCANSOURCES] +dpkg-shlibdeps [DPKG-SHLIBDEPS] +dpkg-source [DPKG-SOURCE] +dpkg-split [DPKG-SPLIT] +dpkg-statoverride [DPKG-STATOVERRIDE] dpkg-trigger dpkg-vendor -s-s-d start-stop-daemon -u-a update-alternatives +s-s-d [S-S-D] start-stop-daemon +u-a [U-A] update-alternatives Current categories ================== diff -Nru dpkg-1.18.4ubuntu1/.dist-version dpkg-1.17.5ubuntu5/.dist-version --- dpkg-1.18.4ubuntu1/.dist-version 2015-12-25 12:49:47.000000000 +0000 +++ dpkg-1.17.5ubuntu5/.dist-version 2013-12-12 07:47:34.000000000 +0000 @@ -1 +1 @@ -1.18.4 +1.17.5 diff -Nru dpkg-1.18.4ubuntu1/doc/coding-style.txt dpkg-1.17.5ubuntu5/doc/coding-style.txt --- dpkg-1.18.4ubuntu1/doc/coding-style.txt 2015-11-26 23:53:36.000000000 +0000 +++ dpkg-1.17.5ubuntu5/doc/coding-style.txt 2013-12-10 06:14:22.000000000 +0000 @@ -6,8 +6,7 @@ The code base assumes C89 plus the following C99 extensions: - * Designated initializers. - * Compound literals. + * Named initializers. * Trailing comma in enum. * Variadic macros. * Working bool type in . @@ -73,9 +72,9 @@ */ enum value_list { /** Value doing foo. */ - VALUE_A, + value_a, /** Value doing bar. */ - VALUE_B, + value_b, }; /** @@ -207,7 +206,7 @@ foo(); -Dpkg Perl coding style 2015-05-20 +Dpkg Perl coding style 2013-01-04 ====================== General @@ -244,7 +243,7 @@ We don't want to impose a too-recent Perl version, so only use features supported by the Perl version that is currently in Debian oldstable when -possible. Currently that means Perl 5.14.2. +possible. Currently that means Perl 5.10.0. Object methods ~~~~~~~~~~~~~~ diff -Nru dpkg-1.18.4ubuntu1/doc/Doxyfile.in dpkg-1.17.5ubuntu5/doc/Doxyfile.in --- dpkg-1.18.4ubuntu1/doc/Doxyfile.in 2015-12-12 20:56:24.000000000 +0000 +++ dpkg-1.17.5ubuntu5/doc/Doxyfile.in 2013-12-05 19:52:08.000000000 +0000 @@ -1,129 +1,112 @@ -# Doxyfile 1.8.9.1 +# Doxyfile 1.8.4 # This file describes the settings to be used by the documentation system # doxygen (www.doxygen.org) for a project. # -# All text after a double hash (##) is considered a comment and is placed in -# front of the TAG it is preceding. -# -# All text after a single hash (#) is considered a comment and will be ignored. +# All text after a double hash (##) is considered a comment and is placed +# in front of the TAG it is preceding . +# All text after a hash (#) is considered a comment and will be ignored. # The format is: -# TAG = value [value, ...] -# For lists, items can also be appended using: -# TAG += value [value, ...] -# Values that contain spaces should be placed between quotes (\" \"). +# TAG = value [value, ...] +# For lists items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (" "). #--------------------------------------------------------------------------- # Project related configuration options #--------------------------------------------------------------------------- # This tag specifies the encoding used for all characters in the config file -# that follow. The default is UTF-8 which is also the encoding used for all text -# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv -# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv -# for the list of possible encodings. -# The default value is: UTF-8. +# that follow. The default is UTF-8 which is also the encoding used for all +# text before the first occurrence of this tag. Doxygen uses libiconv (or the +# iconv built into libc) for the transcoding. See +# http://www.gnu.org/software/libiconv for the list of possible encodings. DOXYFILE_ENCODING = UTF-8 -# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by -# double-quotes, unless you are using Doxywizard) that should identify the -# project for which the documentation is generated. This name is used in the -# title of most generated pages and in a few other places. -# The default value is: My Project. +# The PROJECT_NAME tag is a single word (or sequence of words) that should +# identify the project. Note that if you do not use Doxywizard you need +# to put quotes around the project name if it contains spaces. PROJECT_NAME = @PACKAGE@ -# The PROJECT_NUMBER tag can be used to enter a project or revision number. This -# could be handy for archiving the generated documentation or if some version -# control system is used. +# The PROJECT_NUMBER tag can be used to enter a project or revision number. +# This could be handy for archiving the generated documentation or +# if some version control system is used. PROJECT_NUMBER = @VERSION@ # Using the PROJECT_BRIEF tag one can provide an optional one line description -# for a project that appears at the top of each page and should give viewer a -# quick idea about the purpose of the project. Keep the description short. +# for a project that appears at the top of each page and should give viewer +# a quick idea about the purpose of the project. Keep the description short. PROJECT_BRIEF = -# With the PROJECT_LOGO tag one can specify a logo or an icon that is included -# in the documentation. The maximum height of the logo should not exceed 55 -# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy -# the logo to the output directory. +# With the PROJECT_LOGO tag one can specify an logo or icon that is +# included in the documentation. The maximum height of the logo should not +# exceed 55 pixels and the maximum width should not exceed 200 pixels. +# Doxygen will copy the logo to the output directory. PROJECT_LOGO = -# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path -# into which the generated documentation will be written. If a relative path is -# entered, it will be relative to the location where doxygen was started. If -# left blank the current directory will be used. +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) +# base path where the generated documentation will be put. +# If a relative path is entered, it will be relative to the location +# where doxygen was started. If left blank the current directory will be used. OUTPUT_DIRECTORY = doc/ -# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- -# directories (in 2 levels) under the output directory of each output format and -# will distribute the generated files over these directories. Enabling this -# option can be useful when feeding doxygen a huge amount of source files, where -# putting all generated files in the same directory would otherwise causes -# performance problems for the file system. -# The default value is: NO. +# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create +# 4096 sub-directories (in 2 levels) under the output directory of each output +# format and will distribute the generated files over these directories. +# Enabling this option can be useful when feeding doxygen a huge amount of +# source files, where putting all generated files in the same directory would +# otherwise cause performance problems for the file system. CREATE_SUBDIRS = NO -# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII -# characters to appear in the names of generated files. If set to NO, non-ASCII -# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode -# U+3044. -# The default value is: NO. - -ALLOW_UNICODE_NAMES = NO - # The OUTPUT_LANGUAGE tag is used to specify the language in which all # documentation generated by doxygen is written. Doxygen will use this # information to generate all constant output in the proper language. -# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese, -# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States), -# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian, -# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages), -# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian, -# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian, -# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish, -# Ukrainian and Vietnamese. -# The default value is: English. +# The default language is English, other supported languages are: +# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, +# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German, +# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English +# messages), Korean, Korean-en, Latvian, Lithuanian, Norwegian, Macedonian, +# Persian, Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, +# Slovak, Slovene, Spanish, Swedish, Ukrainian, and Vietnamese. OUTPUT_LANGUAGE = English -# If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member -# descriptions after the members that are listed in the file and class -# documentation (similar to Javadoc). Set to NO to disable this. -# The default value is: YES. +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will +# include brief member descriptions after the members that are listed in +# the file and class documentation (similar to JavaDoc). +# Set to NO to disable this. BRIEF_MEMBER_DESC = YES -# If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief -# description of a member or function before the detailed description -# -# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend +# the brief description of a member or function before the detailed description. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the # brief descriptions will be completely suppressed. -# The default value is: YES. REPEAT_BRIEF = YES -# This tag implements a quasi-intelligent brief description abbreviator that is -# used to form the text in various listings. Each string in this list, if found -# as the leading text of the brief description, will be stripped from the text -# and the result, after processing the whole list, is used as the annotated -# text. Otherwise, the brief description is used as-is. If left blank, the -# following values are used ($name is automatically replaced with the name of -# the entity):The $name class, The $name widget, The $name file, is, provides, -# specifies, contains, represents, a, an and the. +# This tag implements a quasi-intelligent brief description abbreviator +# that is used to form the text in various listings. Each string +# in this list, if found as the leading text of the brief description, will be +# stripped from the text and the result after processing the whole list, is +# used as the annotated text. Otherwise, the brief description is used as-is. +# If left blank, the following values are used ("$name" is automatically +# replaced with the name of the entity): "The $name class" "The $name widget" +# "The $name file" "is" "provides" "specifies" "contains" +# "represents" "a" "an" "the" ABBREVIATE_BRIEF = # If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then -# doxygen will generate a detailed section even if there is only a brief +# Doxygen will generate a detailed section even if there is only a brief # description. -# The default value is: NO. ALWAYS_DETAILED_SEC = NO @@ -131,269 +114,231 @@ # inherited members of a class in the documentation of that class as if those # members were ordinary class members. Constructors, destructors and assignment # operators of the base classes will not be shown. -# The default value is: NO. INLINE_INHERITED_MEMB = NO -# If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path -# before files name in the file list and in the header files. If set to NO the -# shortest path that makes the file name unique will be used -# The default value is: YES. +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full +# path before files name in the file list and in the header files. If set +# to NO the shortest path that makes the file name unique will be used. FULL_PATH_NAMES = YES -# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path. -# Stripping is only done if one of the specified strings matches the left-hand -# part of the path. The tag can be used to show relative paths in the file list. -# If left blank the directory from which doxygen is run is used as the path to -# strip. -# -# Note that you can specify absolute paths here, but also relative paths, which -# will be relative from the directory where doxygen is started. -# This tag requires that the tag FULL_PATH_NAMES is set to YES. +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag +# can be used to strip a user-defined part of the path. Stripping is +# only done if one of the specified strings matches the left-hand part of +# the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the +# path to strip. Note that you specify absolute paths here, but also +# relative paths, which will be relative from the directory where doxygen is +# started. STRIP_FROM_PATH = -# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the -# path mentioned in the documentation of a class, which tells the reader which -# header file to include in order to use a class. If left blank only the name of -# the header file containing the class definition is used. Otherwise one should -# specify the list of include paths that are normally passed to the compiler -# using the -I flag. +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of +# the path mentioned in the documentation of a class, which tells +# the reader which header file to include in order to use a class. +# If left blank only the name of the header file containing the class +# definition is used. Otherwise one should specify the include paths that +# are normally passed to the compiler using the -I flag. STRIP_FROM_INC_PATH = -# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but -# less readable) file names. This can be useful is your file systems doesn't -# support long names like on DOS, Mac, or CD-ROM. -# The default value is: NO. +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter +# (but less readable) file names. This can be useful if your file system +# doesn't support long names like on DOS, Mac, or CD-ROM. SHORT_NAMES = NO -# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the -# first line (until the first dot) of a Javadoc-style comment as the brief -# description. If set to NO, the Javadoc-style will behave just like regular Qt- -# style comments (thus requiring an explicit @brief command for a brief -# description.) -# The default value is: NO. +# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen +# will interpret the first line (until the first dot) of a JavaDoc-style +# comment as the brief description. If set to NO, the JavaDoc +# comments will behave just like regular Qt-style comments +# (thus requiring an explicit @brief command for a brief description.) JAVADOC_AUTOBRIEF = YES -# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first -# line (until the first dot) of a Qt-style comment as the brief description. If -# set to NO, the Qt-style will behave just like regular Qt-style comments (thus -# requiring an explicit \brief command for a brief description.) -# The default value is: NO. +# If the QT_AUTOBRIEF tag is set to YES then Doxygen will +# interpret the first line (until the first dot) of a Qt-style +# comment as the brief description. If set to NO, the comments +# will behave just like regular Qt-style comments (thus requiring +# an explicit \brief command for a brief description.) QT_AUTOBRIEF = NO -# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a -# multi-line C++ special comment block (i.e. a block of //! or /// comments) as -# a brief description. This used to be the default behavior. The new default is -# to treat a multi-line C++ comment block as a detailed description. Set this -# tag to YES if you prefer the old behavior instead. -# -# Note that setting this tag to YES also means that rational rose comments are -# not recognized any more. -# The default value is: NO. +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen +# treat a multi-line C++ special comment block (i.e. a block of //! or /// +# comments) as a brief description. This used to be the default behaviour. +# The new default is to treat a multi-line C++ comment block as a detailed +# description. Set this tag to YES if you prefer the old behaviour instead. MULTILINE_CPP_IS_BRIEF = NO -# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the -# documentation from any documented member that it re-implements. -# The default value is: YES. +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented +# member inherits the documentation from any documented member that it +# re-implements. INHERIT_DOCS = YES -# If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new -# page for each member. If set to NO, the documentation of a member will be part -# of the file/class/namespace that contains it. -# The default value is: NO. +# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce +# a new page for each member. If set to NO, the documentation of a member will +# be part of the file/class/namespace that contains it. SEPARATE_MEMBER_PAGES = NO -# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen -# uses this value to replace tabs by spaces in code fragments. -# Minimum value: 1, maximum value: 16, default value: 4. +# The TAB_SIZE tag can be used to set the number of spaces in a tab. +# Doxygen uses this value to replace tabs by spaces in code fragments. TAB_SIZE = 8 -# This tag can be used to specify a number of aliases that act as commands in -# the documentation. An alias has the form: -# name=value -# For example adding -# "sideeffect=@par Side Effects:\n" -# will allow you to put the command \sideeffect (or @sideeffect) in the -# documentation, which will result in a user-defined paragraph with heading -# "Side Effects:". You can put \n's in the value part of an alias to insert -# newlines. +# This tag can be used to specify a number of aliases that acts +# as commands in the documentation. An alias has the form "name=value". +# For example adding "sideeffect=\par Side Effects:\n" will allow you to +# put the command \sideeffect (or @sideeffect) in the documentation, which +# will result in a user-defined paragraph with heading "Side Effects:". +# You can put \n's in the value part of an alias to insert newlines. ALIASES = # This tag can be used to specify a number of word-keyword mappings (TCL only). -# A mapping has the form "name=value". For example adding "class=itcl::class" -# will allow you to use the command class in the itcl::class meaning. +# A mapping has the form "name=value". For example adding +# "class=itcl::class" will allow you to use the command class in the +# itcl::class meaning. TCL_SUBST = -# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources -# only. Doxygen will then generate output that is more tailored for C. For -# instance, some of the names that are used will be different. The list of all -# members will be omitted, etc. -# The default value is: NO. +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C +# sources only. Doxygen will then generate output that is more tailored for C. +# For instance, some of the names that are used will be different. The list +# of all members will be omitted, etc. OPTIMIZE_OUTPUT_FOR_C = YES -# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or -# Python sources only. Doxygen will then generate output that is more tailored -# for that language. For instance, namespaces will be presented as packages, -# qualified scopes will look different, etc. -# The default value is: NO. +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java +# sources only. Doxygen will then generate output that is more tailored for +# Java. For instance, namespaces will be presented as packages, qualified +# scopes will look different, etc. OPTIMIZE_OUTPUT_JAVA = NO # Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran -# sources. Doxygen will then generate output that is tailored for Fortran. -# The default value is: NO. +# sources only. Doxygen will then generate output that is more tailored for +# Fortran. OPTIMIZE_FOR_FORTRAN = NO # Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL -# sources. Doxygen will then generate output that is tailored for VHDL. -# The default value is: NO. +# sources. Doxygen will then generate output that is tailored for +# VHDL. OPTIMIZE_OUTPUT_VHDL = NO # Doxygen selects the parser to use depending on the extension of the files it # parses. With this tag you can assign which parser to use for a given # extension. Doxygen has a built-in mapping, but you can override or extend it -# using this tag. The format is ext=language, where ext is a file extension, and -# language is one of the parsers supported by doxygen: IDL, Java, Javascript, -# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran: -# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran: -# Fortran. In the later case the parser tries to guess whether the code is fixed -# or free formatted code, this is the default for Fortran type files), VHDL. For -# instance to make doxygen treat .inc files as Fortran files (default is PHP), -# and .f files as C (default is Fortran), use: inc=Fortran f=C. -# -# Note: For files without extension you can use no_extension as a placeholder. -# -# Note that for custom extensions you also need to set FILE_PATTERNS otherwise -# the files are not read by doxygen. +# using this tag. The format is ext=language, where ext is a file extension, +# and language is one of the parsers supported by doxygen: IDL, Java, +# Javascript, CSharp, C, C++, D, PHP, Objective-C, Python, Fortran, VHDL, C, +# C++. For instance to make doxygen treat .inc files as Fortran files (default +# is PHP), and .f files as C (default is Fortran), use: inc=Fortran f=C. Note +# that for custom extensions you also need to set FILE_PATTERNS otherwise the +# files are not read by doxygen. EXTENSION_MAPPING = l=C -# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments -# according to the Markdown format, which allows for more readable +# If MARKDOWN_SUPPORT is enabled (the default) then doxygen pre-processes all +# comments according to the Markdown format, which allows for more readable # documentation. See http://daringfireball.net/projects/markdown/ for details. -# The output of markdown processing is further processed by doxygen, so you can -# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in -# case of backward compatibilities issues. -# The default value is: YES. +# The output of markdown processing is further processed by doxygen, so you +# can mix doxygen, HTML, and XML commands with Markdown formatting. +# Disable only in case of backward compatibilities issues. MARKDOWN_SUPPORT = YES # When enabled doxygen tries to link words that correspond to documented # classes, or namespaces to their corresponding documentation. Such a link can -# be prevented in individual cases by putting a % sign in front of the word or -# globally by setting AUTOLINK_SUPPORT to NO. -# The default value is: YES. +# be prevented in individual cases by by putting a % sign in front of the word +# or globally by setting AUTOLINK_SUPPORT to NO. AUTOLINK_SUPPORT = YES # If you use STL classes (i.e. std::string, std::vector, etc.) but do not want -# to include (a tag file for) the STL sources as input, then you should set this -# tag to YES in order to let doxygen match functions declarations and -# definitions whose arguments contain STL classes (e.g. func(std::string); -# versus func(std::string) {}). This also make the inheritance and collaboration +# to include (a tag file for) the STL sources as input, then you should +# set this tag to YES in order to let doxygen match functions declarations and +# definitions whose arguments contain STL classes (e.g. func(std::string); v.s. +# func(std::string) {}). This also makes the inheritance and collaboration # diagrams that involve STL classes more complete and accurate. -# The default value is: NO. BUILTIN_STL_SUPPORT = NO # If you use Microsoft's C++/CLI language, you should set this option to YES to # enable parsing support. -# The default value is: NO. CPP_CLI_SUPPORT = NO -# Set the SIP_SUPPORT tag to YES if your project consists of sip (see: -# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen -# will parse them like normal C++ but will assume all classes use public instead -# of private inheritance when no explicit protection keyword is present. -# The default value is: NO. +# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. +# Doxygen will parse them like normal C++ but will assume all classes use public +# instead of private inheritance when no explicit protection keyword is present. SIP_SUPPORT = NO # For Microsoft's IDL there are propget and propput attributes to indicate -# getter and setter methods for a property. Setting this option to YES will make -# doxygen to replace the get and set methods by a property in the documentation. -# This will only work if the methods are indeed getting or setting a simple -# type. If this is not the case, or you want to show the methods anyway, you -# should set this option to NO. -# The default value is: YES. +# getter and setter methods for a property. Setting this option to YES (the +# default) will make doxygen replace the get and set methods by a property in +# the documentation. This will only work if the methods are indeed getting or +# setting a simple type. If this is not the case, or you want to show the +# methods anyway, you should set this option to NO. IDL_PROPERTY_SUPPORT = YES # If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES then doxygen will reuse the documentation of the first +# tag is set to YES, then doxygen will reuse the documentation of the first # member in the group (if any) for the other members of the group. By default # all members of a group must be documented explicitly. -# The default value is: NO. DISTRIBUTE_GROUP_DOC = NO -# Set the SUBGROUPING tag to YES to allow class member groups of the same type -# (for instance a group of public functions) to be put as a subgroup of that -# type (e.g. under the Public Functions section). Set it to NO to prevent -# subgrouping. Alternatively, this can be done per class using the -# \nosubgrouping command. -# The default value is: YES. +# Set the SUBGROUPING tag to YES (the default) to allow class member groups of +# the same type (for instance a group of public functions) to be put as a +# subgroup of that type (e.g. under the Public Functions section). Set it to +# NO to prevent subgrouping. Alternatively, this can be done per class using +# the \nosubgrouping command. SUBGROUPING = YES -# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions -# are shown inside the group in which they are included (e.g. using \ingroup) -# instead of on a separate page (for HTML and Man pages) or section (for LaTeX -# and RTF). -# -# Note that this feature does not work in combination with -# SEPARATE_MEMBER_PAGES. -# The default value is: NO. +# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and +# unions are shown inside the group in which they are included (e.g. using +# @ingroup) instead of on a separate page (for HTML and Man pages) or +# section (for LaTeX and RTF). INLINE_GROUPED_CLASSES = NO -# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions -# with only public data fields or simple typedef fields will be shown inline in -# the documentation of the scope in which they are defined (i.e. file, +# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and +# unions with only public data fields or simple typedef fields will be shown +# inline in the documentation of the scope in which they are defined (i.e. file, # namespace, or group documentation), provided this scope is documented. If set -# to NO, structs, classes, and unions are shown on a separate page (for HTML and -# Man pages) or section (for LaTeX and RTF). -# The default value is: NO. +# to NO (the default), structs, classes, and unions are shown on a separate +# page (for HTML and Man pages) or section (for LaTeX and RTF). INLINE_SIMPLE_STRUCTS = NO -# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or -# enum is documented as struct, union, or enum with the name of the typedef. So +# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum +# is documented as struct, union, or enum with the name of the typedef. So # typedef struct TypeS {} TypeT, will appear in the documentation as a struct # with name TypeT. When disabled the typedef will appear as a member of a file, -# namespace, or class. And the struct will be named TypeS. This can typically be -# useful for C code in case the coding convention dictates that all compound +# namespace, or class. And the struct will be named TypeS. This can typically +# be useful for C code in case the coding convention dictates that all compound # types are typedef'ed and only the typedef is referenced, never the tag name. -# The default value is: NO. TYPEDEF_HIDES_STRUCT = NO # The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This -# cache is used to resolve symbols given their name and scope. Since this can be -# an expensive process and often the same symbol appears multiple times in the -# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small -# doxygen will become slower. If the cache is too large, memory is wasted. The -# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range -# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536 -# symbols. At the end of a run doxygen will report the cache usage and suggest -# the optimal cache size from a speed point of view. -# Minimum value: 0, maximum value: 9, default value: 0. +# cache is used to resolve symbols given their name and scope. Since this can +# be an expensive process and often the same symbol appear multiple times in +# the code, doxygen keeps a cache of pre-resolved symbols. If the cache is too +# small doxygen will become slower. If the cache is too large, memory is wasted. +# The cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid +# range is 0..9, the default is 0, corresponding to a cache size of 2^16 = 65536 +# symbols. LOOKUP_CACHE_SIZE = 0 @@ -401,362 +346,313 @@ # Build related configuration options #--------------------------------------------------------------------------- -# If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in -# documentation are documented, even if no documentation was available. Private -# class members and static file members will be hidden unless the -# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES. -# Note: This will also disable the warnings about undocumented members that are -# normally produced when WARNINGS is set to YES. -# The default value is: NO. - -EXTRACT_ALL = @BUILD_DEVEL_DOCS@ - -# If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will -# be included in the documentation. -# The default value is: NO. +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. +# Private class members and static file members will be hidden unless +# the EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES + +EXTRACT_ALL = YES + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class +# will be included in the documentation. EXTRACT_PRIVATE = NO -# If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal +# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal # scope will be included in the documentation. -# The default value is: NO. EXTRACT_PACKAGE = NO -# If the EXTRACT_STATIC tag is set to YES, all static members of a file will be -# included in the documentation. -# The default value is: NO. +# If the EXTRACT_STATIC tag is set to YES all static members of a file +# will be included in the documentation. EXTRACT_STATIC = NO -# If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined -# locally in source files will be included in the documentation. If set to NO, -# only classes defined in header files are included. Does not have any effect -# for Java sources. -# The default value is: YES. +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) +# defined locally in source files will be included in the documentation. +# If set to NO only classes defined in header files are included. EXTRACT_LOCAL_CLASSES = YES -# This flag is only useful for Objective-C code. If set to YES, local methods, -# which are defined in the implementation section but not in the interface are -# included in the documentation. If set to NO, only methods in the interface are -# included. -# The default value is: NO. +# This flag is only useful for Objective-C code. When set to YES local +# methods, which are defined in the implementation section but not in +# the interface are included in the documentation. +# If set to NO (the default) only methods in the interface are included. EXTRACT_LOCAL_METHODS = NO # If this flag is set to YES, the members of anonymous namespaces will be # extracted and appear in the documentation as a namespace called -# 'anonymous_namespace{file}', where file will be replaced with the base name of -# the file that contains the anonymous namespace. By default anonymous namespace -# are hidden. -# The default value is: NO. +# 'anonymous_namespace{file}', where file will be replaced with the base +# name of the file that contains the anonymous namespace. By default +# anonymous namespaces are hidden. EXTRACT_ANON_NSPACES = NO -# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all -# undocumented members inside documented classes or files. If set to NO these -# members will be included in the various overviews, but no documentation -# section is generated. This option has no effect if EXTRACT_ALL is enabled. -# The default value is: NO. +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all +# undocumented members of documented classes, files or namespaces. +# If set to NO (the default) these members will be included in the +# various overviews, but no documentation section is generated. +# This option has no effect if EXTRACT_ALL is enabled. HIDE_UNDOC_MEMBERS = NO -# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all -# undocumented classes that are normally visible in the class hierarchy. If set -# to NO, these classes will be included in the various overviews. This option -# has no effect if EXTRACT_ALL is enabled. -# The default value is: NO. +# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. +# If set to NO (the default) these classes will be included in the various +# overviews. This option has no effect if EXTRACT_ALL is enabled. HIDE_UNDOC_CLASSES = NO -# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend -# (class|struct|union) declarations. If set to NO, these declarations will be -# included in the documentation. -# The default value is: NO. +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all +# friend (class|struct|union) declarations. +# If set to NO (the default) these declarations will be included in the +# documentation. HIDE_FRIEND_COMPOUNDS = NO -# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any -# documentation blocks found inside the body of a function. If set to NO, these -# blocks will be appended to the function's detailed documentation block. -# The default value is: NO. +# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any +# documentation blocks found inside the body of a function. +# If set to NO (the default) these blocks will be appended to the +# function's detailed documentation block. HIDE_IN_BODY_DOCS = NO -# The INTERNAL_DOCS tag determines if documentation that is typed after a -# \internal command is included. If the tag is set to NO then the documentation -# will be excluded. Set it to YES to include the internal documentation. -# The default value is: NO. +# The INTERNAL_DOCS tag determines if documentation +# that is typed after a \internal command is included. If the tag is set +# to NO (the default) then the documentation will be excluded. +# Set it to YES to include the internal documentation. INTERNAL_DOCS = NO -# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file -# names in lower-case letters. If set to YES, upper-case letters are also +# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate +# file names in lower-case letters. If set to YES upper-case letters are also # allowed. This is useful if you have classes or files whose names only differ # in case and if your file system supports case sensitive file names. Windows # and Mac users are advised to set this option to NO. -# The default value is: system dependent. CASE_SENSE_NAMES = YES -# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with -# their full class and namespace scopes in the documentation. If set to YES, the -# scope will be hidden. -# The default value is: NO. +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen +# will show members with their full class and namespace scopes in the +# documentation. If set to YES the scope will be hidden. HIDE_SCOPE_NAMES = NO -# If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will -# append additional text to a page's title, such as Class Reference. If set to -# YES the compound reference will be hidden. -# The default value is: NO. - -HIDE_COMPOUND_REFERENCE= NO - -# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of -# the files that are included by a file in the documentation of that file. -# The default value is: YES. +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen +# will put a list of the files that are included by a file in the documentation +# of that file. SHOW_INCLUDE_FILES = YES -# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each -# grouped member an include statement to the documentation, telling the reader -# which file to include in order to use the member. -# The default value is: NO. - -SHOW_GROUPED_MEMB_INC = NO - -# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include -# files with double quotes in the documentation rather than with sharp brackets. -# The default value is: NO. +# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen +# will list include files with double quotes in the documentation +# rather than with sharp brackets. FORCE_LOCAL_INCLUDES = NO -# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the -# documentation for inline members. -# The default value is: YES. +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] +# is inserted in the documentation for inline members. INLINE_INFO = YES -# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the -# (detailed) documentation of file and class members alphabetically by member -# name. If set to NO, the members will appear in declaration order. -# The default value is: YES. +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen +# will sort the (detailed) documentation of file and class members +# alphabetically by member name. If set to NO the members will appear in +# declaration order. SORT_MEMBER_DOCS = YES -# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief -# descriptions of file, namespace and class members alphabetically by member -# name. If set to NO, the members will appear in declaration order. Note that -# this will also influence the order of the classes in the class list. -# The default value is: NO. +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the +# brief documentation of file, namespace and class members alphabetically +# by member name. If set to NO (the default) the members will appear in +# declaration order. SORT_BRIEF_DOCS = NO -# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the -# (brief and detailed) documentation of class members so that constructors and -# destructors are listed first. If set to NO the constructors will appear in the -# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS. -# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief -# member documentation. -# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting -# detailed member documentation. -# The default value is: NO. +# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen +# will sort the (brief and detailed) documentation of class members so that +# constructors and destructors are listed first. If set to NO (the default) +# the constructors will appear in the respective orders defined by +# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS. +# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO +# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO. SORT_MEMBERS_CTORS_1ST = NO -# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy -# of group names into alphabetical order. If set to NO the group names will -# appear in their defined order. -# The default value is: NO. +# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the +# hierarchy of group names into alphabetical order. If set to NO (the default) +# the group names will appear in their defined order. SORT_GROUP_NAMES = NO -# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by -# fully-qualified names, including namespaces. If set to NO, the class list will -# be sorted only by class name, not including the namespace part. +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be +# sorted by fully-qualified names, including namespaces. If set to +# NO (the default), the class list will be sorted only by class name, +# not including the namespace part. # Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. -# Note: This option applies only to the class list, not to the alphabetical -# list. -# The default value is: NO. +# Note: This option applies only to the class list, not to the +# alphabetical list. SORT_BY_SCOPE_NAME = NO -# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper -# type resolution of all parameters of a function it will reject a match between -# the prototype and the implementation of a member function even if there is -# only one candidate or it is obvious which candidate to choose by doing a -# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still -# accept a match between prototype and implementation in such cases. -# The default value is: NO. +# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to +# do proper type resolution of all parameters of a function it will reject a +# match between the prototype and the implementation of a member function even +# if there is only one candidate or it is obvious which candidate to choose +# by doing a simple string match. By disabling STRICT_PROTO_MATCHING doxygen +# will still accept a match between prototype and implementation in such cases. STRICT_PROTO_MATCHING = NO -# The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo -# list. This list is created by putting \todo commands in the documentation. -# The default value is: YES. +# The GENERATE_TODOLIST tag can be used to enable (YES) or +# disable (NO) the todo list. This list is created by putting \todo +# commands in the documentation. GENERATE_TODOLIST = YES -# The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test -# list. This list is created by putting \test commands in the documentation. -# The default value is: YES. +# The GENERATE_TESTLIST tag can be used to enable (YES) or +# disable (NO) the test list. This list is created by putting \test +# commands in the documentation. GENERATE_TESTLIST = YES -# The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug -# list. This list is created by putting \bug commands in the documentation. -# The default value is: YES. +# The GENERATE_BUGLIST tag can be used to enable (YES) or +# disable (NO) the bug list. This list is created by putting \bug +# commands in the documentation. GENERATE_BUGLIST = YES -# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO) -# the deprecated list. This list is created by putting \deprecated commands in -# the documentation. -# The default value is: YES. +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or +# disable (NO) the deprecated list. This list is created by putting +# \deprecated commands in the documentation. GENERATE_DEPRECATEDLIST= YES -# The ENABLED_SECTIONS tag can be used to enable conditional documentation -# sections, marked by \if ... \endif and \cond -# ... \endcond blocks. +# The ENABLED_SECTIONS tag can be used to enable conditional +# documentation sections, marked by \if section-label ... \endif +# and \cond section-label ... \endcond blocks. ENABLED_SECTIONS = -# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the -# initial value of a variable or macro / define can have for it to appear in the -# documentation. If the initializer consists of more lines than specified here -# it will be hidden. Use a value of 0 to hide initializers completely. The -# appearance of the value of individual variables and macros / defines can be -# controlled using \showinitializer or \hideinitializer command in the -# documentation regardless of this setting. -# Minimum value: 0, maximum value: 10000, default value: 30. +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines +# the initial value of a variable or macro consists of for it to appear in +# the documentation. If the initializer consists of more lines than specified +# here it will be hidden. Use a value of 0 to hide initializers completely. +# The appearance of the initializer of individual variables and macros in the +# documentation can be controlled using \showinitializer or \hideinitializer +# command in the documentation regardless of this setting. MAX_INITIALIZER_LINES = 30 -# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at -# the bottom of the documentation of classes and structs. If set to YES, the +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated +# at the bottom of the documentation of classes and structs. If set to YES the # list will mention the files that were used to generate the documentation. -# The default value is: YES. SHOW_USED_FILES = YES -# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This -# will remove the Files entry from the Quick Index and from the Folder Tree View -# (if specified). -# The default value is: YES. +# Set the SHOW_FILES tag to NO to disable the generation of the Files page. +# This will remove the Files entry from the Quick Index and from the +# Folder Tree View (if specified). The default is YES. SHOW_FILES = YES -# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces -# page. This will remove the Namespaces entry from the Quick Index and from the -# Folder Tree View (if specified). -# The default value is: YES. +# Set the SHOW_NAMESPACES tag to NO to disable the generation of the +# Namespaces page. +# This will remove the Namespaces entry from the Quick Index +# and from the Folder Tree View (if specified). The default is YES. SHOW_NAMESPACES = YES # The FILE_VERSION_FILTER tag can be used to specify a program or script that # doxygen should invoke to get the current version for each file (typically from # the version control system). Doxygen will invoke the program by executing (via -# popen()) the command command input-file, where command is the value of the -# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided -# by doxygen. Whatever the program writes to standard output is used as the file -# version. For an example see the documentation. +# popen()) the command , where is the value of +# the FILE_VERSION_FILTER tag, and is the name of an input file +# provided by doxygen. Whatever the program writes to standard output +# is used as the file version. See the manual for examples. FILE_VERSION_FILTER = "git log -n 1 --pretty=format:%h --" # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed # by doxygen. The layout file controls the global structure of the generated # output files in an output format independent way. To create the layout file -# that represents doxygen's defaults, run doxygen with the -l option. You can -# optionally specify a file name after the option, if omitted DoxygenLayout.xml -# will be used as the name of the layout file. -# -# Note that if you run doxygen from a directory containing a file called -# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE -# tag is left empty. +# that represents doxygen's defaults, run doxygen with the -l option. +# You can optionally specify a file name after the option, if omitted +# DoxygenLayout.xml will be used as the name of the layout file. LAYOUT_FILE = -# The CITE_BIB_FILES tag can be used to specify one or more bib files containing -# the reference definitions. This must be a list of .bib files. The .bib -# extension is automatically appended if omitted. This requires the bibtex tool -# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info. -# For LaTeX the style of the bibliography can be controlled using -# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the -# search path. See also \cite for info how to create references. +# The CITE_BIB_FILES tag can be used to specify one or more bib files +# containing the references data. This must be a list of .bib files. The +# .bib extension is automatically appended if omitted. Using this command +# requires the bibtex tool to be installed. See also +# http://en.wikipedia.org/wiki/BibTeX for more info. For LaTeX the style +# of the bibliography can be controlled using LATEX_BIB_STYLE. To use this +# feature you need bibtex and perl available in the search path. Do not use +# file names with spaces, bibtex cannot handle them. CITE_BIB_FILES = #--------------------------------------------------------------------------- -# Configuration options related to warning and progress messages +# configuration options related to warning and progress messages #--------------------------------------------------------------------------- -# The QUIET tag can be used to turn on/off the messages that are generated to -# standard output by doxygen. If QUIET is set to YES this implies that the -# messages are off. -# The default value is: NO. +# The QUIET tag can be used to turn on/off the messages that are generated +# by doxygen. Possible values are YES and NO. If left blank NO is used. QUIET = YES # The WARNINGS tag can be used to turn on/off the warning messages that are -# generated to standard error (stderr) by doxygen. If WARNINGS is set to YES -# this implies that the warnings are on. -# -# Tip: Turn warnings on while writing the documentation. -# The default value is: YES. +# generated by doxygen. Possible values are YES and NO. If left blank +# NO is used. WARNINGS = YES -# If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate -# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag -# will automatically be disabled. -# The default value is: YES. +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will +# automatically be disabled. WARN_IF_UNDOCUMENTED = YES -# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for -# potential errors in the documentation, such as not documenting some parameters -# in a documented function, or documenting parameters that don't exist or using -# markup commands wrongly. -# The default value is: YES. +# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some +# parameters in a documented function, or documenting parameters that +# don't exist or using markup commands wrongly. WARN_IF_DOC_ERROR = YES -# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that -# are documented, but have no documentation for their parameters or return -# value. If set to NO, doxygen will only warn about wrong or incomplete -# parameter documentation, but not about the absence of documentation. -# The default value is: NO. +# The WARN_NO_PARAMDOC option can be enabled to get warnings for +# functions that are documented, but have no documentation for their parameters +# or return value. If set to NO (the default) doxygen will only warn about +# wrong or incomplete parameter documentation, but not about the absence of +# documentation. WARN_NO_PARAMDOC = NO -# The WARN_FORMAT tag determines the format of the warning messages that doxygen -# can produce. The string should contain the $file, $line, and $text tags, which -# will be replaced by the file and line number from which the warning originated -# and the warning text. Optionally the format may contain $version, which will -# be replaced by the version of the file (if it could be obtained via -# FILE_VERSION_FILTER) -# The default value is: $file:$line: $text. +# The WARN_FORMAT tag determines the format of the warning messages that +# doxygen can produce. The string should contain the $file, $line, and $text +# tags, which will be replaced by the file and line number from which the +# warning originated and the warning text. Optionally the format may contain +# $version, which will be replaced by the version of the file (if it could +# be obtained via FILE_VERSION_FILTER) WARN_FORMAT = "$file:$line: $text" -# The WARN_LOGFILE tag can be used to specify a file to which warning and error -# messages should be written. If left blank the output is written to standard -# error (stderr). +# The WARN_LOGFILE tag can be used to specify a file to which warning +# and error messages should be written. If left blank the output is written +# to stderr. WARN_LOGFILE = #--------------------------------------------------------------------------- -# Configuration options related to the input files +# configuration options related to the input files #--------------------------------------------------------------------------- -# The INPUT tag is used to specify the files and/or directories that contain -# documented source files. You may enter file names like myfile.cpp or -# directories like /usr/src/myproject. Separate the files or directories with -# spaces. -# Note: If this tag is empty the current directory is searched. +# The INPUT tag can be used to specify the files and/or directories that contain +# documented source files. You may enter file names like "myfile.cpp" or +# directories like "/usr/src/myproject". Separate the files or directories +# with spaces. INPUT = lib/dpkg \ dpkg-deb \ @@ -765,36 +661,33 @@ utils # This tag can be used to specify the character encoding of the source files -# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses -# libiconv (or the iconv built into libc) for the transcoding. See the libiconv -# documentation (see: http://www.gnu.org/software/libiconv) for the list of -# possible encodings. -# The default value is: UTF-8. +# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is +# also the default input encoding. Doxygen uses libiconv (or the iconv built +# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for +# the list of possible encodings. INPUT_ENCODING = UTF-8 # If the value of the INPUT tag contains directories, you can use the -# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and -# *.h) to filter out the source-files in the directories. If left blank the -# following patterns are tested:*.c, *.cc, *.cxx, *.cpp, *.c++, *.java, *.ii, -# *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp, -# *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown, -# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf, -# *.qsf, *.as and *.js. +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank the following patterns are tested: +# *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh +# *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py +# *.f90 *.f *.for *.vhd *.vhdl FILE_PATTERNS = *.c \ *.h -# The RECURSIVE tag can be used to specify whether or not subdirectories should -# be searched for input files as well. -# The default value is: NO. +# The RECURSIVE tag can be used to turn specify whether or not subdirectories +# should be searched for input files as well. Possible values are YES and NO. +# If left blank NO is used. RECURSIVE = YES # The EXCLUDE tag can be used to specify files and/or directories that should be # excluded from the INPUT source files. This way you can easily exclude a # subdirectory from a directory tree whose root is specified with the INPUT tag. -# # Note that relative paths are relative to the directory from which doxygen is # run. @@ -803,67 +696,58 @@ # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded # from the input. -# The default value is: NO. EXCLUDE_SYMLINKS = NO # If the value of the INPUT tag contains directories, you can use the # EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude -# certain files from those directories. -# -# Note that the wildcards are matched against the file with absolute path, so to -# exclude all test directories for example use the pattern */test/* +# certain files from those directories. Note that the wildcards are matched +# against the file with absolute path, so to exclude all test directories +# for example use the pattern */test/* -EXCLUDE_PATTERNS = */t/* +EXCLUDE_PATTERNS = */test/* # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names # (namespaces, classes, functions, etc.) that should be excluded from the # output. The symbol name can be a fully qualified name, a word, or if the # wildcard * is used, a substring. Examples: ANamespace, AClass, # AClass::ANamespace, ANamespace::*Test -# -# Note that the wildcards are matched against the file with absolute path, so to -# exclude all test directories use the pattern */test/* EXCLUDE_SYMBOLS = -# The EXAMPLE_PATH tag can be used to specify one or more files or directories -# that contain example code fragments that are included (see the \include -# command). +# The EXAMPLE_PATH tag can be used to specify one or more files or +# directories that contain example code fragments that are included (see +# the \include command). EXAMPLE_PATH = # If the value of the EXAMPLE_PATH tag contains directories, you can use the -# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and -# *.h) to filter out the source-files in the directories. If left blank all -# files are included. +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank all files are included. EXAMPLE_PATTERNS = # If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be -# searched for input files to be used with the \include or \dontinclude commands -# irrespective of the value of the RECURSIVE tag. -# The default value is: NO. +# searched for input files to be used with the \include or \dontinclude +# commands irrespective of the value of the RECURSIVE tag. +# Possible values are YES and NO. If left blank NO is used. EXAMPLE_RECURSIVE = NO -# The IMAGE_PATH tag can be used to specify one or more files or directories -# that contain images that are to be included in the documentation (see the -# \image command). +# The IMAGE_PATH tag can be used to specify one or more files or +# directories that contain image that are included in the documentation (see +# the \image command). IMAGE_PATH = # The INPUT_FILTER tag can be used to specify a program that doxygen should # invoke to filter for each input file. Doxygen will invoke the filter program -# by executing (via popen()) the command: -# -# -# -# where is the value of the INPUT_FILTER tag, and is the -# name of an input file. Doxygen will then use the output that the filter -# program writes to standard output. If FILTER_PATTERNS is specified, this tag -# will be ignored. -# +# by executing (via popen()) the command , where +# is the value of the INPUT_FILTER tag, and is the name of an +# input file. Doxygen will then use the output that the filter program writes +# to standard output. +# If FILTER_PATTERNS is specified, this tag will be ignored. # Note that the filter must not add or remove lines; it is applied before the # code is scanned, but not when the output code is generated. If lines are added # or removed, the anchors will not be placed correctly. @@ -871,243 +755,172 @@ INPUT_FILTER = # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern -# basis. Doxygen will compare the file name with each pattern and apply the -# filter if there is a match. The filters are a list of the form: pattern=filter -# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how -# filters are used. If the FILTER_PATTERNS tag is empty or if none of the -# patterns match the file name, INPUT_FILTER is applied. +# basis. +# Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. +# The filters are a list of the form: +# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further +# info on how filters are used. If FILTER_PATTERNS is empty or if +# non of the patterns match the file name, INPUT_FILTER is applied. FILTER_PATTERNS = # If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER) will also be used to filter the input files that are used for -# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES). -# The default value is: NO. +# INPUT_FILTER) will be used to filter the input files when producing source +# files to browse (i.e. when SOURCE_BROWSER is set to YES). FILTER_SOURCE_FILES = NO # The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file -# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and -# it is also possible to disable source filtering for a specific pattern using -# *.ext= (so without naming a filter). -# This tag requires that the tag FILTER_SOURCE_FILES is set to YES. +# pattern. A pattern will override the setting for FILTER_PATTERN (if any) +# and it is also possible to disable source filtering for a specific pattern +# using *.ext= (so without naming a filter). This option only has effect when +# FILTER_SOURCE_FILES is enabled. FILTER_SOURCE_PATTERNS = -# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that +# If the USE_MD_FILE_AS_MAINPAGE tag refers to the name of a markdown file that # is part of the input, its contents will be placed on the main page # (index.html). This can be useful if you have a project on for instance GitHub -# and want to reuse the introduction page also for the doxygen output. +# and want reuse the introduction page also for the doxygen output. USE_MDFILE_AS_MAINPAGE = #--------------------------------------------------------------------------- -# Configuration options related to source browsing +# configuration options related to source browsing #--------------------------------------------------------------------------- -# If the SOURCE_BROWSER tag is set to YES then a list of source files will be -# generated. Documented entities will be cross-referenced with these sources. -# -# Note: To get rid of all source code in the generated output, make sure that -# also VERBATIM_HEADERS is set to NO. -# The default value is: NO. +# If the SOURCE_BROWSER tag is set to YES then a list of source files will +# be generated. Documented entities will be cross-referenced with these sources. +# Note: To get rid of all source code in the generated output, make sure also +# VERBATIM_HEADERS is set to NO. SOURCE_BROWSER = NO -# Setting the INLINE_SOURCES tag to YES will include the body of functions, -# classes and enums directly into the documentation. -# The default value is: NO. +# Setting the INLINE_SOURCES tag to YES will include the body +# of functions and classes directly in the documentation. INLINE_SOURCES = NO -# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any -# special comment blocks from generated source code fragments. Normal C, C++ and -# Fortran comments will always remain visible. -# The default value is: YES. +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct +# doxygen to hide any special comment blocks from generated source code +# fragments. Normal C, C++ and Fortran comments will always remain visible. STRIP_CODE_COMMENTS = YES -# If the REFERENCED_BY_RELATION tag is set to YES then for each documented -# function all documented functions referencing it will be listed. -# The default value is: NO. - -REFERENCED_BY_RELATION = @BUILD_DEVEL_DOCS@ - -# If the REFERENCES_RELATION tag is set to YES then for each documented function -# all documented entities called/used by that function will be listed. -# The default value is: NO. - -REFERENCES_RELATION = @BUILD_DEVEL_DOCS@ - -# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set -# to YES then the hyperlinks from functions in REFERENCES_RELATION and -# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will -# link to the documentation. -# The default value is: YES. +# If the REFERENCED_BY_RELATION tag is set to YES +# then for each documented function all documented +# functions referencing it will be listed. + +REFERENCED_BY_RELATION = YES + +# If the REFERENCES_RELATION tag is set to YES +# then for each documented function all documented entities +# called/used by that function will be listed. + +REFERENCES_RELATION = YES + +# If the REFERENCES_LINK_SOURCE tag is set to YES (the default) +# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from +# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will +# link to the source code. +# Otherwise they will link to the documentation. REFERENCES_LINK_SOURCE = YES -# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the -# source code will show a tooltip with additional information such as prototype, -# brief description and links to the definition and documentation. Since this -# will make the HTML file larger and loading of large files a bit slower, you -# can opt to disable this feature. -# The default value is: YES. -# This tag requires that the tag SOURCE_BROWSER is set to YES. - -SOURCE_TOOLTIPS = YES - -# If the USE_HTAGS tag is set to YES then the references to source code will -# point to the HTML generated by the htags(1) tool instead of doxygen built-in -# source browser. The htags tool is part of GNU's global source tagging system -# (see http://www.gnu.org/software/global/global.html). You will need version -# 4.8.6 or higher. -# -# To use it do the following: -# - Install the latest version of global -# - Enable SOURCE_BROWSER and USE_HTAGS in the config file -# - Make sure the INPUT points to the root of the source tree -# - Run doxygen as normal -# -# Doxygen will invoke htags (and that will in turn invoke gtags), so these -# tools must be available from the command line (i.e. in the search path). -# -# The result: instead of the source browser generated by doxygen, the links to -# source code will now point to the output of htags. -# The default value is: NO. -# This tag requires that the tag SOURCE_BROWSER is set to YES. +# If the USE_HTAGS tag is set to YES then the references to source code +# will point to the HTML generated by the htags(1) tool instead of doxygen +# built-in source browser. The htags tool is part of GNU's global source +# tagging system (see http://www.gnu.org/software/global/global.html). You +# will need version 4.8.6 or higher. USE_HTAGS = NO -# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a -# verbatim copy of the header file for each class for which an include is -# specified. Set to NO to disable this. -# See also: Section \class. -# The default value is: YES. +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen +# will generate a verbatim copy of the header file for each class for +# which an include is specified. Set to NO to disable this. VERBATIM_HEADERS = YES -# If the CLANG_ASSISTED_PARSING tag is set to YES then doxygen will use the -# clang parser (see: http://clang.llvm.org/) for more accurate parsing at the -# cost of reduced performance. This can be particularly helpful with template -# rich C++ code for which doxygen's built-in parser lacks the necessary type -# information. -# Note: The availability of this option depends on whether or not doxygen was -# compiled with the --with-libclang option. -# The default value is: NO. - -CLANG_ASSISTED_PARSING = NO - -# If clang assisted parsing is enabled you can provide the compiler with command -# line options that you would normally use when invoking the compiler. Note that -# the include paths will already be set by doxygen for the files and directories -# specified with INPUT and INCLUDE_PATH. -# This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES. - -CLANG_OPTIONS = - #--------------------------------------------------------------------------- -# Configuration options related to the alphabetical class index +# configuration options related to the alphabetical class index #--------------------------------------------------------------------------- -# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all -# compounds will be generated. Enable this if the project contains a lot of -# classes, structs, unions or interfaces. -# The default value is: YES. +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index +# of all compounds will be generated. Enable this if the project +# contains a lot of classes, structs, unions or interfaces. ALPHABETICAL_INDEX = NO -# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in -# which the alphabetical index list will be split. -# Minimum value: 1, maximum value: 20, default value: 5. -# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns +# in which this list will be split (can be a number in the range [1..20]) COLS_IN_ALPHA_INDEX = 5 -# In case all classes in a project start with a common prefix, all classes will -# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag -# can be used to specify a prefix (or a list of prefixes) that should be ignored -# while generating the index headers. -# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. +# In case all classes in a project start with a common prefix, all +# classes will be put under the same header in the alphabetical index. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that +# should be ignored while generating the index headers. IGNORE_PREFIX = #--------------------------------------------------------------------------- -# Configuration options related to the HTML output +# configuration options related to the HTML output #--------------------------------------------------------------------------- -# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output -# The default value is: YES. +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will +# generate HTML output. GENERATE_HTML = YES -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a -# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of -# it. -# The default directory is: html. -# This tag requires that the tag GENERATE_HTML is set to YES. +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `html' will be used as the default path. HTML_OUTPUT = html -# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each -# generated HTML page (for example: .htm, .php, .asp). -# The default value is: .html. -# This tag requires that the tag GENERATE_HTML is set to YES. +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for +# each generated HTML page (for example: .htm,.php,.asp). If it is left blank +# doxygen will generate files with .html extension. HTML_FILE_EXTENSION = .html -# The HTML_HEADER tag can be used to specify a user-defined HTML header file for -# each generated HTML page. If the tag is left blank doxygen will generate a -# standard header. -# -# To get valid HTML the header file that includes any scripts and style sheets -# that doxygen needs, which is dependent on the configuration options used (e.g. -# the setting GENERATE_TREEVIEW). It is highly recommended to start with a -# default header using -# doxygen -w html new_header.html new_footer.html new_stylesheet.css -# YourConfigFile -# and then modify the file new_header.html. See also section "Doxygen usage" -# for information on how to generate the default header that doxygen normally -# uses. -# Note: The header is subject to change so you typically have to regenerate the -# default header when upgrading to a newer version of doxygen. For a description -# of the possible markers and block names see the documentation. -# This tag requires that the tag GENERATE_HTML is set to YES. +# The HTML_HEADER tag can be used to specify a personal HTML header for +# each generated HTML page. If it is left blank doxygen will generate a +# standard header. Note that when using a custom header you are responsible +# for the proper inclusion of any scripts and style sheets that doxygen +# needs, which is dependent on the configuration options used. +# It is advised to generate a default header using "doxygen -w html +# header.html footer.html stylesheet.css YourConfigFile" and then modify +# that header. Note that the header is subject to change so you typically +# have to redo this when upgrading to a newer version of doxygen or when +# changing the value of configuration settings such as GENERATE_TREEVIEW! HTML_HEADER = -# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each -# generated HTML page. If the tag is left blank doxygen will generate a standard -# footer. See HTML_HEADER for more information on how to generate a default -# footer and what special commands can be used inside the footer. See also -# section "Doxygen usage" for information on how to generate the default footer -# that doxygen normally uses. -# This tag requires that the tag GENERATE_HTML is set to YES. +# The HTML_FOOTER tag can be used to specify a personal HTML footer for +# each generated HTML page. If it is left blank doxygen will generate a +# standard footer. HTML_FOOTER = -# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style -# sheet that is used by each HTML page. It can be used to fine-tune the look of -# the HTML output. If left blank doxygen will generate a default style sheet. -# See also section "Doxygen usage" for information on how to generate the style -# sheet that doxygen normally uses. -# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as -# it is more robust and this tag (HTML_STYLESHEET) will in the future become -# obsolete. -# This tag requires that the tag GENERATE_HTML is set to YES. +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading +# style sheet that is used by each HTML page. It can be used to +# fine-tune the look of the HTML output. If left blank doxygen will +# generate a default style sheet. Note that it is recommended to use +# HTML_EXTRA_STYLESHEET instead of this one, as it is more robust and this +# tag will in the future become obsolete. HTML_STYLESHEET = -# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined -# cascading style sheets that are included after the standard style sheets -# created by doxygen. Using this option one can overrule certain style aspects. -# This is preferred over using HTML_STYLESHEET since it does not replace the -# standard style sheet and is therefore more robust against future updates. -# Doxygen will copy the style sheet files to the output directory. -# Note: The order of the extra style sheet files is of importance (e.g. the last -# style sheet in the list overrules the setting of the previous ones in the -# list). For an example see the documentation. -# This tag requires that the tag GENERATE_HTML is set to YES. +# The HTML_EXTRA_STYLESHEET tag can be used to specify an additional +# user-defined cascading style sheet that is included after the standard +# style sheets created by doxygen. Using this option one can overrule +# certain style aspects. This is preferred over using HTML_STYLESHEET +# since it does not replace the standard style sheet and is therefor more +# robust against future updates. Doxygen will copy the style sheet file to +# the output directory. HTML_EXTRA_STYLESHEET = @@ -1115,836 +928,632 @@ # other source files which should be copied to the HTML output directory. Note # that these files will be copied to the base HTML output directory. Use the # $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these -# files. In the HTML_STYLESHEET file, use the file name only. Also note that the -# files will be copied as-is; there are no commands or markers available. -# This tag requires that the tag GENERATE_HTML is set to YES. +# files. In the HTML_STYLESHEET file, use the file name only. Also note that +# the files will be copied as-is; there are no commands or markers available. HTML_EXTRA_FILES = -# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen -# will adjust the colors in the style sheet and background images according to -# this color. Hue is specified as an angle on a colorwheel, see -# http://en.wikipedia.org/wiki/Hue for more information. For instance the value -# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300 -# purple, and 360 is red again. -# Minimum value: 0, maximum value: 359, default value: 220. -# This tag requires that the tag GENERATE_HTML is set to YES. +# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. +# Doxygen will adjust the colors in the style sheet and background images +# according to this color. Hue is specified as an angle on a colorwheel, +# see http://en.wikipedia.org/wiki/Hue for more information. +# For instance the value 0 represents red, 60 is yellow, 120 is green, +# 180 is cyan, 240 is blue, 300 purple, and 360 is red again. +# The allowed range is 0 to 359. HTML_COLORSTYLE_HUE = 220 -# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors -# in the HTML output. For a value of 0 the output will use grayscales only. A -# value of 255 will produce the most vivid colors. -# Minimum value: 0, maximum value: 255, default value: 100. -# This tag requires that the tag GENERATE_HTML is set to YES. +# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of +# the colors in the HTML output. For a value of 0 the output will use +# grayscales only. A value of 255 will produce the most vivid colors. HTML_COLORSTYLE_SAT = 100 -# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the -# luminance component of the colors in the HTML output. Values below 100 -# gradually make the output lighter, whereas values above 100 make the output -# darker. The value divided by 100 is the actual gamma applied, so 80 represents -# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not -# change the gamma. -# Minimum value: 40, maximum value: 240, default value: 80. -# This tag requires that the tag GENERATE_HTML is set to YES. +# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to +# the luminance component of the colors in the HTML output. Values below +# 100 gradually make the output lighter, whereas values above 100 make +# the output darker. The value divided by 100 is the actual gamma applied, +# so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2, +# and 100 does not change the gamma. HTML_COLORSTYLE_GAMMA = 80 # If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML -# page will contain the date and time when the page was generated. Setting this -# to YES can help to show when doxygen was last run and thus if the -# documentation is up to date. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. +# page will contain the date and time when the page was generated. Setting +# this to NO can help when comparing the output of multiple runs. -HTML_TIMESTAMP = NO +HTML_TIMESTAMP = YES # If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML # documentation will contain sections that can be hidden and shown after the # page has loaded. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. HTML_DYNAMIC_SECTIONS = NO -# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries -# shown in the various tree structured indices initially; the user can expand -# and collapse entries dynamically later on. Doxygen will expand the tree to -# such a level that at most the specified number of entries are visible (unless -# a fully collapsed tree already exceeds this amount). So setting the number of -# entries 1 will produce a full collapsed tree by default. 0 is a special value -# representing an infinite number of entries and will result in a full expanded -# tree by default. -# Minimum value: 0, maximum value: 9999, default value: 100. -# This tag requires that the tag GENERATE_HTML is set to YES. +# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of +# entries shown in the various tree structured indices initially; the user +# can expand and collapse entries dynamically later on. Doxygen will expand +# the tree to such a level that at most the specified number of entries are +# visible (unless a fully collapsed tree already exceeds this amount). +# So setting the number of entries 1 will produce a full collapsed tree by +# default. 0 is a special value representing an infinite number of entries +# and will result in a full expanded tree by default. HTML_INDEX_NUM_ENTRIES = 100 -# If the GENERATE_DOCSET tag is set to YES, additional index files will be -# generated that can be used as input for Apple's Xcode 3 integrated development -# environment (see: http://developer.apple.com/tools/xcode/), introduced with -# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a -# Makefile in the HTML output directory. Running make will produce the docset in -# that directory and running make install will install the docset in -# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at -# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html +# If the GENERATE_DOCSET tag is set to YES, additional index files +# will be generated that can be used as input for Apple's Xcode 3 +# integrated development environment, introduced with OSX 10.5 (Leopard). +# To create a documentation set, doxygen will generate a Makefile in the +# HTML output directory. Running make will produce the docset in that +# directory and running "make install" will install the docset in +# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find +# it at startup. +# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html # for more information. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. GENERATE_DOCSET = NO -# This tag determines the name of the docset feed. A documentation feed provides -# an umbrella under which multiple documentation sets from a single provider -# (such as a company or product suite) can be grouped. -# The default value is: Doxygen generated docs. -# This tag requires that the tag GENERATE_DOCSET is set to YES. +# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the +# feed. A documentation feed provides an umbrella under which multiple +# documentation sets from a single provider (such as a company or product suite) +# can be grouped. DOCSET_FEEDNAME = "Doxygen generated docs" -# This tag specifies a string that should uniquely identify the documentation -# set bundle. This should be a reverse domain-name style string, e.g. -# com.mycompany.MyDocSet. Doxygen will append .docset to the name. -# The default value is: org.doxygen.Project. -# This tag requires that the tag GENERATE_DOCSET is set to YES. +# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that +# should uniquely identify the documentation set bundle. This should be a +# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen +# will append .docset to the name. DOCSET_BUNDLE_ID = org.doxygen.Project -# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify -# the documentation publisher. This should be a reverse domain-name style -# string, e.g. com.mycompany.MyDocSet.documentation. -# The default value is: org.doxygen.Publisher. -# This tag requires that the tag GENERATE_DOCSET is set to YES. +# When GENERATE_PUBLISHER_ID tag specifies a string that should uniquely +# identify the documentation publisher. This should be a reverse domain-name +# style string, e.g. com.mycompany.MyDocSet.documentation. DOCSET_PUBLISHER_ID = org.doxygen.Publisher -# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher. -# The default value is: Publisher. -# This tag requires that the tag GENERATE_DOCSET is set to YES. +# The GENERATE_PUBLISHER_NAME tag identifies the documentation publisher. DOCSET_PUBLISHER_NAME = Publisher -# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three -# additional HTML index files: index.hhp, index.hhc, and index.hhk. The -# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop -# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on -# Windows. -# -# The HTML Help Workshop contains a compiler that can convert all HTML output -# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML -# files are now used as the Windows 98 help format, and will replace the old -# Windows help format (.hlp) on all Windows platforms in the future. Compressed -# HTML files also contain an index, a table of contents, and you can search for -# words in the documentation. The HTML workshop also contains a viewer for -# compressed HTML files. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. +# If the GENERATE_HTMLHELP tag is set to YES, additional index files +# will be generated that can be used as input for tools like the +# Microsoft HTML help workshop to generate a compiled HTML help file (.chm) +# of the generated HTML documentation. GENERATE_HTMLHELP = NO -# The CHM_FILE tag can be used to specify the file name of the resulting .chm -# file. You can add a path in front of the file if the result should not be +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can +# be used to specify the file name of the resulting .chm file. You +# can add a path in front of the file if the result should not be # written to the html output directory. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. CHM_FILE = -# The HHC_LOCATION tag can be used to specify the location (absolute path -# including file name) of the HTML help compiler (hhc.exe). If non-empty, -# doxygen will try to run the HTML help compiler on the generated index.hhp. -# The file has to be specified with full path. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. +# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can +# be used to specify the location (absolute path including file name) of +# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run +# the HTML help compiler on the generated index.hhp. HHC_LOCATION = -# The GENERATE_CHI flag controls if a separate .chi index file is generated -# (YES) or that it should be included in the master .chm file (NO). -# The default value is: NO. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. +# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag +# controls if a separate .chi index file is generated (YES) or that +# it should be included in the master .chm file (NO). GENERATE_CHI = NO -# The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc) -# and project file content. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING +# is used to encode HtmlHelp index (hhk), content (hhc) and project file +# content. CHM_INDEX_ENCODING = -# The BINARY_TOC flag controls whether a binary table of contents is generated -# (YES) or a normal table of contents (NO) in the .chm file. Furthermore it -# enables the Previous and Next buttons. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. +# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag +# controls whether a binary table of contents is generated (YES) or a +# normal table of contents (NO) in the .chm file. BINARY_TOC = NO -# The TOC_EXPAND flag can be set to YES to add extra items for group members to -# the table of contents of the HTML help documentation and to the tree view. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. +# The TOC_EXPAND flag can be set to YES to add extra items for group members +# to the contents of the HTML help documentation and to the tree view. TOC_EXPAND = NO # If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and -# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that -# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help -# (.qch) of the generated HTML documentation. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. +# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated +# that can be used as input for Qt's qhelpgenerator to generate a +# Qt Compressed Help (.qch) of the generated HTML documentation. GENERATE_QHP = NO -# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify -# the file name of the resulting .qch file. The path specified is relative to -# the HTML output folder. -# This tag requires that the tag GENERATE_QHP is set to YES. +# If the QHG_LOCATION tag is specified, the QCH_FILE tag can +# be used to specify the file name of the resulting .qch file. +# The path specified is relative to the HTML output folder. QCH_FILE = -# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help -# Project output. For more information please see Qt Help Project / Namespace -# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace). -# The default value is: org.doxygen.Project. -# This tag requires that the tag GENERATE_QHP is set to YES. +# The QHP_NAMESPACE tag specifies the namespace to use when generating +# Qt Help Project output. For more information please see +# http://doc.trolltech.com/qthelpproject.html#namespace QHP_NAMESPACE = -# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt -# Help Project output. For more information please see Qt Help Project / Virtual -# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual- -# folders). -# The default value is: doc. -# This tag requires that the tag GENERATE_QHP is set to YES. +# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating +# Qt Help Project output. For more information please see +# http://doc.trolltech.com/qthelpproject.html#virtual-folders QHP_VIRTUAL_FOLDER = doc -# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom -# filter to add. For more information please see Qt Help Project / Custom -# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- -# filters). -# This tag requires that the tag GENERATE_QHP is set to YES. +# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to +# add. For more information please see +# http://doc.trolltech.com/qthelpproject.html#custom-filters QHP_CUST_FILTER_NAME = -# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the -# custom filter to add. For more information please see Qt Help Project / Custom -# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- -# filters). -# This tag requires that the tag GENERATE_QHP is set to YES. +# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the +# custom filter to add. For more information please see +# +# Qt Help Project / Custom Filters. QHP_CUST_FILTER_ATTRS = # The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this -# project's filter section matches. Qt Help Project / Filter Attributes (see: -# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes). -# This tag requires that the tag GENERATE_QHP is set to YES. +# project's +# filter section matches. +# +# Qt Help Project / Filter Attributes. QHP_SECT_FILTER_ATTRS = -# The QHG_LOCATION tag can be used to specify the location of Qt's -# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the -# generated .qhp file. -# This tag requires that the tag GENERATE_QHP is set to YES. +# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can +# be used to specify the location of Qt's qhelpgenerator. +# If non-empty doxygen will try to run qhelpgenerator on the generated +# .qhp file. QHG_LOCATION = -# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be -# generated, together with the HTML files, they form an Eclipse help plugin. To -# install this plugin and make it available under the help contents menu in -# Eclipse, the contents of the directory containing the HTML and XML files needs -# to be copied into the plugins directory of eclipse. The name of the directory -# within the plugins directory should be the same as the ECLIPSE_DOC_ID value. -# After copying Eclipse needs to be restarted before the help appears. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. +# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files +# will be generated, which together with the HTML files, form an Eclipse help +# plugin. To install this plugin and make it available under the help contents +# menu in Eclipse, the contents of the directory containing the HTML and XML +# files needs to be copied into the plugins directory of eclipse. The name of +# the directory within the plugins directory should be the same as +# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before +# the help appears. GENERATE_ECLIPSEHELP = NO -# A unique identifier for the Eclipse help plugin. When installing the plugin -# the directory name containing the HTML and XML files should also have this -# name. Each documentation set should have its own identifier. -# The default value is: org.doxygen.Project. -# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES. +# A unique identifier for the eclipse help plugin. When installing the plugin +# the directory name containing the HTML and XML files should also have +# this name. ECLIPSE_DOC_ID = org.doxygen.Project -# If you want full control over the layout of the generated HTML pages it might -# be necessary to disable the index and replace it with your own. The -# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top -# of each HTML page. A value of NO enables the index and the value YES disables -# it. Since the tabs in the index contain the same information as the navigation -# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. +# The DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) +# at top of each HTML page. The value NO (the default) enables the index and +# the value YES disables it. Since the tabs have the same information as the +# navigation tree you can set this option to NO if you already set +# GENERATE_TREEVIEW to YES. DISABLE_INDEX = NO # The GENERATE_TREEVIEW tag is used to specify whether a tree-like index -# structure should be generated to display hierarchical information. If the tag -# value is set to YES, a side panel will be generated containing a tree-like -# index structure (just like the one that is generated for HTML Help). For this -# to work a browser that supports JavaScript, DHTML, CSS and frames is required -# (i.e. any modern browser). Windows users are probably better off using the -# HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can -# further fine-tune the look of the index. As an example, the default style -# sheet generated by doxygen has an example that shows how to put an image at -# the root of the tree instead of the PROJECT_NAME. Since the tree basically has -# the same information as the tab index, you could consider setting -# DISABLE_INDEX to YES when enabling this option. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. +# structure should be generated to display hierarchical information. +# If the tag value is set to YES, a side panel will be generated +# containing a tree-like index structure (just like the one that +# is generated for HTML Help). For this to work a browser that supports +# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser). +# Windows users are probably better off using the HTML help feature. +# Since the tree basically has the same information as the tab index you +# could consider to set DISABLE_INDEX to NO when enabling this option. GENERATE_TREEVIEW = NO -# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that -# doxygen will group on one line in the generated HTML documentation. -# -# Note that a value of 0 will completely suppress the enum values from appearing -# in the overview section. -# Minimum value: 0, maximum value: 20, default value: 4. -# This tag requires that the tag GENERATE_HTML is set to YES. +# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values +# (range [0,1..20]) that doxygen will group on one line in the generated HTML +# documentation. Note that a value of 0 will completely suppress the enum +# values from appearing in the overview section. ENUM_VALUES_PER_LINE = 4 -# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used -# to set the initial width (in pixels) of the frame in which the tree is shown. -# Minimum value: 0, maximum value: 1500, default value: 250. -# This tag requires that the tag GENERATE_HTML is set to YES. +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be +# used to set the initial width (in pixels) of the frame in which the tree +# is shown. TREEVIEW_WIDTH = 250 -# If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to -# external symbols imported via tag files in a separate window. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. +# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open +# links to external symbols imported via tag files in a separate window. EXT_LINKS_IN_WINDOW = NO -# Use this tag to change the font size of LaTeX formulas included as images in -# the HTML documentation. When you change the font size after a successful -# doxygen run you need to manually remove any form_*.png images from the HTML -# output directory to force them to be regenerated. -# Minimum value: 8, maximum value: 50, default value: 10. -# This tag requires that the tag GENERATE_HTML is set to YES. +# Use this tag to change the font size of Latex formulas included +# as images in the HTML documentation. The default is 10. Note that +# when you change the font size after a successful doxygen run you need +# to manually remove any form_*.png images from the HTML output directory +# to force them to be regenerated. FORMULA_FONTSIZE = 10 # Use the FORMULA_TRANPARENT tag to determine whether or not the images -# generated for formulas are transparent PNGs. Transparent PNGs are not -# supported properly for IE 6.0, but are supported on all modern browsers. -# -# Note that when changing this option you need to delete any form_*.png files in -# the HTML output directory before the changes have effect. -# The default value is: YES. -# This tag requires that the tag GENERATE_HTML is set to YES. +# generated for formulas are transparent PNGs. Transparent PNGs are +# not supported properly for IE 6.0, but are supported on all modern browsers. +# Note that when changing this option you need to delete any form_*.png files +# in the HTML output before the changes have effect. FORMULA_TRANSPARENT = YES -# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see -# http://www.mathjax.org) which uses client side Javascript for the rendering -# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX -# installed or if you want to formulas look prettier in the HTML output. When -# enabled you may also need to install MathJax separately and configure the path -# to it using the MATHJAX_RELPATH option. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. +# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax +# (see http://www.mathjax.org) which uses client side Javascript for the +# rendering instead of using prerendered bitmaps. Use this if you do not +# have LaTeX installed or if you want to formulas look prettier in the HTML +# output. When enabled you may also need to install MathJax separately and +# configure the path to it using the MATHJAX_RELPATH option. USE_MATHJAX = NO # When MathJax is enabled you can set the default output format to be used for -# the MathJax output. See the MathJax site (see: -# http://docs.mathjax.org/en/latest/output.html) for more details. -# Possible values are: HTML-CSS (which is slower, but has the best -# compatibility), NativeMML (i.e. MathML) and SVG. -# The default value is: HTML-CSS. -# This tag requires that the tag USE_MATHJAX is set to YES. +# the MathJax output. Supported types are HTML-CSS, NativeMML (i.e. MathML) and +# SVG. The default value is HTML-CSS, which is slower, but has the best +# compatibility. MATHJAX_FORMAT = HTML-CSS -# When MathJax is enabled you need to specify the location relative to the HTML -# output directory using the MATHJAX_RELPATH option. The destination directory -# should contain the MathJax.js script. For instance, if the mathjax directory -# is located at the same level as the HTML output directory, then -# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax -# Content Delivery Network so you can quickly see the result without installing -# MathJax. However, it is strongly recommended to install a local copy of -# MathJax from http://www.mathjax.org before deployment. -# The default value is: http://cdn.mathjax.org/mathjax/latest. -# This tag requires that the tag USE_MATHJAX is set to YES. +# When MathJax is enabled you need to specify the location relative to the +# HTML output directory using the MATHJAX_RELPATH option. The destination +# directory should contain the MathJax.js script. For instance, if the mathjax +# directory is located at the same level as the HTML output directory, then +# MATHJAX_RELPATH should be ../mathjax. The default value points to +# the MathJax Content Delivery Network so you can quickly see the result without +# installing MathJax. +# However, it is strongly recommended to install a local +# copy of MathJax from http://www.mathjax.org before deployment. MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest -# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax -# extension names that should be enabled during MathJax rendering. For example -# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols -# This tag requires that the tag USE_MATHJAX is set to YES. +# The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension +# names that should be enabled during MathJax rendering. MATHJAX_EXTENSIONS = -# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces -# of code that will be used on startup of the MathJax code. See the MathJax site -# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an -# example see the documentation. -# This tag requires that the tag USE_MATHJAX is set to YES. +# The MATHJAX_CODEFILE tag can be used to specify a file with javascript +# pieces of code that will be used on startup of the MathJax code. MATHJAX_CODEFILE = -# When the SEARCHENGINE tag is enabled doxygen will generate a search box for -# the HTML output. The underlying search engine uses javascript and DHTML and -# should work on any modern browser. Note that when using HTML help -# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET) -# there is already a search function so this one should typically be disabled. -# For large projects the javascript based search engine can be slow, then -# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to -# search using the keyboard; to jump to the search box use + S -# (what the is depends on the OS and browser, but it is typically -# , /