title: GDB configure script cant find expat, is there a way to specify where to find it?
body: <p>OS: CentOS 7
  GDB-7.11</p>
  
  <p>I need GDB-7.11 because there is finally support for thread names to appear in the debugger on a remote debug session. I can not get the thread names to show up, however and I believe it is because when I run GDB I am getting the following:</p>
  
  <pre><code>warning: Can not parse XML target description; XML support was disabled at compile time
  </code></pre>
  
  <p>if i use: yum whatprovides libexpat</p>
  
  <pre><code>[root@localhost lib64]# yum whatprovides libexpat
  Loaded plugins: auto-update-debuginfo, fastestmirror, langpacks, nvidia
  Loading mirror speeds from cached hostfile
   * base: mirror.fdcservers.net
   * elrepo: ord.mirror.rackspace.com
   * epel: mirror.steadfast.net
   * epel-debuginfo: mirror.steadfast.net
   * extras: chicago.gaminghost.co
   * ius: ord.mirror.rackspace.com
   * ius-debuginfo: ord.mirror.rackspace.com
   * updates: mirror.sesp.northwestern.edu
  expat-2.1.0-8.el7.i686 : An XML parser library
  Repo        : base
  Matched from:
  Provides    : libexpat.so.1
  </code></pre>
  
  <p>it is clearly there, located in /usr/lib64</p>
  
  <p>when i run ./configure --with-read-line --with-libexpat</p>
  
  <pre><code>.
  .
  .
  checking whether to use expat... auto
  checking for libexpat... (cached) no
  configure: WARNING: expat is missing or unusable; some features may be unavailable.
  .
  .
  .
  </code></pre>
  
  <p>so again, the question is, why can GDB's configure script not find it; it seems to find everything else...?</p>