Changeset bb162a43ebf5edd437b854ed437c5cf0e131a2cd

Show
Ignore:
Timestamp:
01/20/06 19:50:48 (3 years ago)
Author:
Christophe Mutricy <xtophe@videolan.org>
git-committer:
Christophe Mutricy <xtophe@videolan.org> 1137783048 +0000
git-parent:

[5565716b9cf59cf2b6c9bc5250954361ca784465]

git-author:
Christophe Mutricy <xtophe@videolan.org> 1137783048 +0000
Message:

Fix X includes detection.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • configure.ac

    r12bcc29 rbb162a4  
    741741dnl Find where are the X headers and libraries 
    742742AC_PATH_X() 
     743 
     744dnl The rest of configure doesn't work if x_includes is null. 
     745dnl Cleaner way to do it welcomes 
     746if test -z ${x_includes} ;then 
     747    x_includes="/usr/includes" 
     748fi 
    743749 
    744750dnl it seems that autoconf do the pkg-config detection only for the first PKG_CHECK_MODULES in the configure.ac ( which is logical) but in our case it is nested in a if so it was not working if you're not on linux or have disable hal.