Skip to content
  • Michel Dänzer's avatar
    Fix handling of configure option --with-xorg-conf-dir · aa8a3fa2
    Michel Dänzer authored and Michel Dänzer's avatar Michel Dänzer committed
    
    
    There were two problems:
    
    I accidentally changed the variable name in the AC_ARG_WITH stanza from
    configdir to xorgconfigdir, so specifying --with-xorg-conf-dir wouldn't
    work correctly. Fix this back to configdir.
    
    If neither --with-xorg-conf-dir nor --prefix is specified on the command
    line, the $prefix variable doesn't contain "/usr/local" (the default
    prefix) yet at this point but "NONE". So make install would attempt to
    install 10-amdgpu.conf in ${DESTDIR}NONE/share/X11/xorg.conf.d/ . Fix
    this by leaving ${prefix} verbatim in the default value, to be resolved
    by make.
    
    Also print the configdir value along with the values of other similar
    configuration variables.
    
    Reported-by: default avatarTimo Aaltonen <tjaalton@debian.org>
    Reviewed-by: default avatarJulien Cristau <jcristau@debian.org>
    aa8a3fa2