Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#5 unintialized support_format variable in configure

v1.0.2
closed-fixed
nobody
configure (1)
5
2014-04-06
2014-03-28
J G Miller
No

xstow version 1.0.1

In configure.ac a rule is defined

 if test $support_format -gt 0 ; then
   support_format=yes
 else
   support_format=no
 fi

and so this is present in the configure script

 if test $support_format -gt 0

But support_format is never intialized (tested on Linux Mint 16 i686 and Debian 7.4 armv7l) and thus on running configure the following error is displayed because Bourne shell or Bash is trying to do test on an unset bariable and thus on a non numeric value.

 checking create merge-info?... enabled
 /usr/src/build/xstow-1.0.1/configure: line 6038: test: -gt: unary operator expected
 configure: creating ./config.status

Discussion

    • Group: v1.0 (example) --> v1.0.2
     
  • Fixed in svn.

     
    • status: open --> closed-fixed