Diff for /rpl/modules/motif/definitions.sh between versions 1.2 and 1.3

version 1.2, 2017/07/05 13:53:40 version 1.3, 2017/07/10 14:47:59
Line 16  $2/rplawk/rplawk 'BEGIN { c = 0; } \ Line 16  $2/rplawk/rplawk 'BEGIN { c = 0; } \
         $3/lib/Xm/XmStrDefs.h >> $1/variables.h          $3/lib/Xm/XmStrDefs.h >> $1/variables.h
   
 echo "#define Xm_widgets_classes(value, arg) \\" >> $1/variables.h  echo "#define Xm_widgets_classes(value, arg) \\" >> $1/variables.h
   cpp -E /usr/include/X11/Shell.h | sed 's/;/ /g' | \
           $2/rplawk/rplawk '/^[\t ]+WidgetClass.*WidgetClass[\t ]*$/ \
           { printf("if (strcmp(\"%s\", value) == 0) \\\
           { arg = %s; } else \\\n", $2, $2); } ' >> $1/variables.h
 cpp -E $3/lib/Xm/XmAll.h | sed 's/;/ /g' | \  cpp -E $3/lib/Xm/XmAll.h | sed 's/;/ /g' | \
         $2/rplawk/rplawk '/^extern WidgetClass xm/ \          $2/rplawk/rplawk '/^extern WidgetClass xm/ \
         { printf("if (strcmp(\"%s\", value) == 0) \\\          { printf("if (strcmp(\"%s\", value) == 0) \\\
         { arg = %s; } else \\\n", $3, $3); } \          { arg = %s; } else \\\n", $3, $3); } \
         END { printf("{ executionError(\"Class not found\"); } \\\          END { printf("{ executionError(\"Class not found\"); } \\\
         while(0)\n"); }' >> $1/variables.h          while(0)\n"); }' >> $1/variables.h
   
 exit 0  exit 0

Removed from v.1.2  
changed lines
  Added in v.1.3


CVSweb interface <joel.bertrand@systella.fr>